From: "Martin Storsjö" <martin@martin.st>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Cc: Zhao Zhili <zhilizhao@tencent.com>
Subject: Re: [FFmpeg-devel] [PATCH v4 3/3] swscale/aarch64: Add argb/abgr to yuv
Date: Mon, 24 Jun 2024 16:10:55 +0300 (EEST)
Message-ID: <d8625ee8-df21-281-27ca-9b12d6faab6a@martin.st> (raw)
In-Reply-To: <tencent_8AE41646CD06201A4DA5CFD2D55B27363807@qq.com>
On Mon, 24 Jun 2024, Zhao Zhili wrote:
> From: Zhao Zhili <zhilizhao@tencent.com>
>
> Test on Apple M1 with kperf:
> : -O3 : -O3 -fno-vectorize
> abgr_to_uv_8_c : 19.4 : 26.1
> abgr_to_uv_8_neon : 29.9 : 51.1
> abgr_to_uv_128_c : 146.4 : 558.9
> abgr_to_uv_128_neon : 85.1 : 83.4
> abgr_to_uv_1080_c : 1162.6 : 4786.4
> abgr_to_uv_1080_neon : 819.6 : 826.6
> abgr_to_uv_1920_c : 2063.6 : 8492.1
> abgr_to_uv_1920_neon : 1435.1 : 1447.1
> abgr_to_uv_half_8_c : 16.4 : 11.4
> abgr_to_uv_half_8_neon : 35.6 : 20.4
> abgr_to_uv_half_128_c : 108.6 : 359.4
> abgr_to_uv_half_128_neon : 75.4 : 42.6
> abgr_to_uv_half_1080_c : 883.4 : 2885.6
> abgr_to_uv_half_1080_neon : 460.6 : 481.1
> abgr_to_uv_half_1920_c : 1553.6 : 5106.9
> abgr_to_uv_half_1920_neon : 817.6 : 820.4
> abgr_to_y_8_c : 6.1 : 26.4
> abgr_to_y_8_neon : 40.6 : 6.4
> abgr_to_y_128_c : 99.9 : 390.1
> abgr_to_y_128_neon : 67.4 : 55.9
> abgr_to_y_1080_c : 735.9 : 3170.4
> abgr_to_y_1080_neon : 534.6 : 536.6
> abgr_to_y_1920_c : 1279.4 : 6016.4
> abgr_to_y_1920_neon : 932.6 : 927.6
> ---
> libswscale/aarch64/input.S | 86 +++++++++++++++++++++++++++---------
> libswscale/aarch64/swscale.c | 17 +++++++
> 2 files changed, 82 insertions(+), 21 deletions(-)
This patchset looks ok to me (but wait a little bit in case someone else
has further opinions on it).
// 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".
next prev parent reply other threads:[~2024-06-24 13:11 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20240624113701.94616-1-quinkblack@foxmail.com>
2024-06-24 11:37 ` [FFmpeg-devel] [PATCH v3 2/3] swscale/aarch64: Add bgra/rgba " Zhao Zhili
2024-06-24 11:55 ` Martin Storsjö
2024-06-24 13:02 ` [FFmpeg-devel] [PATCH v4 1/3] swscale/aarch64: Add bgr24 " Zhao Zhili
[not found] ` <20240624130213.71634-1-quinkblack@foxmail.com>
2024-06-24 13:02 ` [FFmpeg-devel] [PATCH v4 2/3] swscale/aarch64: Add bgra/rgba " Zhao Zhili
2024-06-24 13:02 ` [FFmpeg-devel] [PATCH v4 3/3] swscale/aarch64: Add argb/abgr " Zhao Zhili
2024-06-24 13:10 ` Martin Storsjö [this message]
2024-06-24 13:04 ` [FFmpeg-devel] [PATCH v3 2/3] swscale/aarch64: Add bgra/rgba " Zhao Zhili
2024-06-24 11:37 ` [FFmpeg-devel] [PATCH v3 3/3] swscale/aarch64: Add argb/abgr " Zhao Zhili
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d8625ee8-df21-281-27ca-9b12d6faab6a@martin.st \
--to=martin@martin.st \
--cc=ffmpeg-devel@ffmpeg.org \
--cc=zhilizhao@tencent.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
This inbox may be cloned and mirrored by anyone:
git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
ffmpegdev@gitmailbox.com
public-inbox-index ffmpegdev
Example config snippet for mirrors.
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git