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 <[email protected]>
-- 
2.43.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to