* [FFmpeg-devel] [PATCH 0/3] swscale: refactor and optimize xyz12Torgb48
@ 2025-11-26 15:26 Arpad Panyik via ffmpeg-devel
2025-11-26 16:07 ` [FFmpeg-devel] " Martin Storsjö via ffmpeg-devel
0 siblings, 1 reply; 2+ messages in thread
From: Arpad Panyik via ffmpeg-devel @ 2025-11-26 15:26 UTC (permalink / raw)
To: ffmpeg-devel; +Cc: nd, Arpad Panyik
Hi,
This series prepares and optimizes the xyz12Torgb48 path in swscale.
Patch 1 refactors the XYZ/RGB state into a ColorXform struct and adds a
per-context xyz12Torgb48 hook with no functional changes.
Patch 2 adds checkasm coverage for the xyz12Torgb48le path.
Patch 3 introduces an AArch64 Neon implementation for the little-endian
xyz12 -> rgb48 conversion.
Comments welcome.
Arpad
Arpad Panyik (3):
swscale: Refactor XYZ+RGB state and add xyz12Torgb48 hook
checkasm: Add xyz12Torgb48le test
swscale: Add AArch64 Neon path for xyz12Torgb48 LE
libswscale/aarch64/Makefile | 1 +
libswscale/aarch64/swscale.c | 23 +
libswscale/aarch64/xyz2rgb_neon.S | 709 ++++++++++++++++++++++++++++++
libswscale/graph.c | 3 +-
libswscale/swscale.c | 89 ++--
libswscale/swscale_internal.h | 26 +-
libswscale/swscale_unscaled.c | 2 +
libswscale/utils.c | 33 +-
tests/checkasm/Makefile | 1 +
tests/checkasm/checkasm.c | 1 +
tests/checkasm/checkasm.h | 1 +
tests/checkasm/sw_xyz2rgb.c | 112 +++++
12 files changed, 936 insertions(+), 65 deletions(-)
create mode 100644 libswscale/aarch64/xyz2rgb_neon.S
create mode 100644 tests/checkasm/sw_xyz2rgb.c
Signed-off-by: Arpad Panyik <Arpad.Panyik@arm.com>
--
2.43.0
_______________________________________________
ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org
To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org
^ permalink raw reply [flat|nested] 2+ messages in thread
* [FFmpeg-devel] Re: [PATCH 0/3] swscale: refactor and optimize xyz12Torgb48
2025-11-26 15:26 [FFmpeg-devel] [PATCH 0/3] swscale: refactor and optimize xyz12Torgb48 Arpad Panyik via ffmpeg-devel
@ 2025-11-26 16:07 ` Martin Storsjö via ffmpeg-devel
0 siblings, 0 replies; 2+ messages in thread
From: Martin Storsjö via ffmpeg-devel @ 2025-11-26 16:07 UTC (permalink / raw)
To: Arpad Panyik via ffmpeg-devel; +Cc: nd, Arpad Panyik, Martin Storsjö
Hi Arpad!
On Wed, 26 Nov 2025, Arpad Panyik via ffmpeg-devel wrote:
> This series prepares and optimizes the xyz12Torgb48 path in swscale.
>
> Patch 1 refactors the XYZ/RGB state into a ColorXform struct and adds a
> per-context xyz12Torgb48 hook with no functional changes.
>
> Patch 2 adds checkasm coverage for the xyz12Torgb48le path.
>
> Patch 3 introduces an AArch64 Neon implementation for the little-endian
> xyz12 -> rgb48 conversion.
>
> Comments welcome.
Can you sign up at https://code.ffmpeg.org and post this as a PR against
https://code.ffmpeg.org/ffmpeg/ffmpeg, for easier review and tracking of
the change?
// Martin
_______________________________________________
ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org
To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-11-26 16:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-26 15:26 [FFmpeg-devel] [PATCH 0/3] swscale: refactor and optimize xyz12Torgb48 Arpad Panyik via ffmpeg-devel
2025-11-26 16:07 ` [FFmpeg-devel] " Martin Storsjö via ffmpeg-devel
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