Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Arpad Panyik via ffmpeg-devel <ffmpeg-devel@ffmpeg.org>
To: ffmpeg-devel@ffmpeg.org
Cc: nd@arm.com, Arpad Panyik <Arpad.Panyik@arm.com>
Subject: [FFmpeg-devel] [PATCH 0/3] swscale: refactor and optimize xyz12Torgb48
Date: Wed, 26 Nov 2025 15:26:10 +0000
Message-ID: <3szisuzpznn3w7sizkcf4zthigieqmqoqet4ghewysie53v5dp@7lzmeqgw4idb> (raw)

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

             reply	other threads:[~2025-11-26 15:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-26 15:26 Arpad Panyik via ffmpeg-devel [this message]
2025-11-26 16:07 ` [FFmpeg-devel] " Martin Storsjö via ffmpeg-devel

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=3szisuzpznn3w7sizkcf4zthigieqmqoqet4ghewysie53v5dp@7lzmeqgw4idb \
    --to=ffmpeg-devel@ffmpeg.org \
    --cc=Arpad.Panyik@arm.com \
    --cc=nd@arm.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