[FFmpeg-devel] [PATCH v2 14/17] swscale/lut3d: add 3DLUT dispatch system

Michael Niedermayer michael at niedermayer.cc
Thu Dec 19 20:31:08 EET 2024


Hi

On Mon, Dec 16, 2024 at 12:17:35PM +0100, Niklas Haas wrote:
> From: Niklas Haas <git at haasn.dev>
> 
> This is a lightweight wrapper around the underlying color management system,
> whose job it is merely to manage the 3DLUT state and apply them to the frame
> data. This is where we might add platform-specific optimizations in the future.
> 
> I also plan on adding support for more pixel formats in the future. In
> particular, we could support YUV or XYZ input formats directly using only
> negligible additional code in the 3DLUT setup functions. This would eliminate
> the major source of slowdown, which is currently the roundtrip to RGBA64.
> ---
>  libswscale/Makefile |   1 +
>  libswscale/lut3d.c  | 290 ++++++++++++++++++++++++++++++++++++++++++++
>  libswscale/lut3d.h  |  98 +++++++++++++++
>  3 files changed, 389 insertions(+)
>  create mode 100644 libswscale/lut3d.c
>  create mode 100644 libswscale/lut3d.h

should be ok

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In fact, the RIAA has been known to suggest that students drop out
of college or go to community college in order to be able to afford
settlements. -- The RIAA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241219/c41e55a5/attachment.sig>


More information about the ffmpeg-devel mailing list