[FFmpeg-devel] [PATCH v2 12/17] swscale/csputils: add internal colorspace math helpers

Michael Niedermayer michael at niedermayer.cc
Thu Dec 19 20:17:52 EET 2024


Hi

On Mon, Dec 16, 2024 at 12:17:33PM +0100, Niklas Haas wrote:
> From: Niklas Haas <git at haasn.dev>
> 
> Logic is, for the most part, a straight port of similar logic in
> liplacebo's colorspace.c, with some general edits and refactors.
> ---
>  libswscale/Makefile   |   1 +
>  libswscale/csputils.c | 418 ++++++++++++++++++++++++++++++++++++++++++
>  libswscale/csputils.h | 114 ++++++++++++
>  3 files changed, 533 insertions(+)
>  create mode 100644 libswscale/csputils.c
>  create mode 100644 libswscale/csputils.h

should be ok.
I wonder if this couldnt all be done using fix point integers making
it all bitexact though

thx

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

Democracy is the form of government in which you can choose your dictator
-------------- 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/8d292d71/attachment.sig>


More information about the ffmpeg-devel mailing list