From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 510004C539 for ; Sun, 9 Mar 2025 16:12:11 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id ADC6568E5ED; Sun, 9 Mar 2025 18:12:06 +0200 (EET) Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 9F5E668D224 for ; Sun, 9 Mar 2025 18:11:59 +0200 (EET) Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-5498d2a8b89so3480125e87.1 for ; Sun, 09 Mar 2025 09:11:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=martin-st.20230601.gappssmtp.com; s=20230601; t=1741536719; x=1742141519; darn=ffmpeg.org; h=mime-version:references:message-id:in-reply-to:subject:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=C+rWHmqPVEuoDd0vQSuju127vKQhaigCatXp9zUe56s=; b=gMfV0Bhz6+3CjuDkdMpUfQwIreul9rihDhEXgxIvoD29vGyOzFAtiMzKne4xzpWT6t UEpT4KPJaflqgNpedqmCa6tK61qRCzk8E53zioRNBaBOyg19H18aj2o6+VUcT8ZITBXv QgfknPHDxiDuToi/MfhMK7yPUARI8Hd5gNQQjSq44fKtba/04zIJ6mYibIL0s7zKrV2F qpZKmtZjrzjFLd4umSBtlxBS6MKgM6Cz+O3CJFCI+W8aVxphvFd9ltKQ6X50//nsZQ6v HyIy3J14c1+k90SoNdrcxblfzhEm8+2oki/QoX+pSv/s+K+HkY4KGHArKDMXBBAcZVuW KgXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741536719; x=1742141519; h=mime-version:references:message-id:in-reply-to:subject:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=C+rWHmqPVEuoDd0vQSuju127vKQhaigCatXp9zUe56s=; b=f/o/jUKDMNkbXrhkMHOlklNzjIA4quWIhXWjumUc16NWvUxYHIky32JY+epGzh0js2 sNBgnb5hCuLZwvbyHGdUivqcp2Af1pgWz+lQx92/aczDYz5YPIN7Z5STnaqR6CeAoXko G9g3gvBj7p0jYRtUcM02jvVi3gJaoKe59u6g7FE5XUOmzIEUE/OpWelQMnSU89njuZBr oiWV08Bk70WOZ3eKXYqxo4XRrATJkBIGYUf5fBoA3D4Kum4REXNjOiSG+9rHeir8e+et bj3hqjapv7+1FF2SSnnUL5M/7Ts96cdhfW8miJ1rgc1xlxS0jU8asEdiyyUvNeWtBQnv 8Odw== X-Gm-Message-State: AOJu0Yy7w6bCi2OFw+Vl78kXFWLlqJgM2k4iejDPQUIgYHad/tUBwWci 9MoHwgSh1EvCoBqoa5fYHcn/gMViG9Nfr5Jxj3AvVHM3jqF2Cm2gRzfFUTmRSV3QiPiJF9sNBJu VOg== X-Gm-Gg: ASbGnct7FC+4Jmd6DBEHLNNoiB6ajKF6fHGUk7uF7ZYml6u50UqgWFfXCz1s2L1q2HR THKNn4VqDJhwgZ+zU9hbOHRcHbZp+ZFmKpRg/9ihwyKR+iY7CDPgorhsoxlA5adDJ5TnX4kbj5r iWvV2ZBciOAFIbgTBcde4rsuD1d0oGXJzGxPQevr/+Wh9yxdy3XuiJdbrMGCxuWGPkeKpFZjqev GTb6QMfMYPsovJdZyqHAdS0KKhhKBFIxZi/q/8cIIGAUM1Hyv5T5FbsSTJ+09cFEsu+6NQpVnB4 7Y1vZs4RzknPMBfYEEw902OmsA4PE0ucGCTaZYO0+JPcrXU4vcrmENrVdSMSA9CmBlrL5pFiHiK JMv/myupMD7TaMOe2H4+pS1qUtgorI1x2iDKE+lQJ X-Google-Smtp-Source: AGHT+IF8pvb0i7AjNdASTPUc9O9Uw4SoFAqOjKDT/sKcuaRdgyvl+BmdhId6R4dOWEASBOmnJ9oi0g== X-Received: by 2002:a05:6512:281b:b0:548:91f6:4328 with SMTP id 2adb3069b0e04-54990e5e041mr4096050e87.15.1741536718320; Sun, 09 Mar 2025 09:11:58 -0700 (PDT) Received: from tunnel335574-pt.tunnel.tserv24.sto1.ipv6.he.net (tunnel335574-pt.tunnel.tserv24.sto1.ipv6.he.net. [2001:470:27:11::2]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5498b1bc204sm1153125e87.176.2025.03.09.09.11.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Mar 2025 09:11:57 -0700 (PDT) Date: Sun, 9 Mar 2025 18:11:54 +0200 (EET) From: =?ISO-8859-15?Q?Martin_Storsj=F6?= To: FFmpeg development discussions and patches In-Reply-To: <20250308235342.GB669161@haasn.xyz> Message-ID: <518838a-a82c-c585-c1f6-80d17197edc5@martin.st> References: <20250308235342.GB669161@haasn.xyz> MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [RFC] New swscale internal design prototype X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On Sat, 8 Mar 2025, Niklas Haas wrote: > What are the thoughts on the float-first approach? In general, for modern architectures, relying on floats probably is reasonable. (On architectures that aren't of quite as widespread interest, it might not be so clear cut though.) However with the benchmark example you provided a couple of weeks ago, we concluded that even on x86 on modern HW, floats were faster than int16 only in one case: When using Clang, not GCC, and when compiling with -mavx2, not without it. In all the other cases, int16 was faster than float. After doing those benchmarks, my understanding was that you concluded that we probably need to keep int16 based codepaths still, then. Did something fundamental come up since we did these benchmarks that changed your conclusion? // Martin _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".