[FFmpeg-devel] [PATCH 09/17] swscale: add ICC intent enum and option

Michael Niedermayer michael at niedermayer.cc
Thu Dec 5 20:35:34 EET 2024


On Thu, Dec 05, 2024 at 12:30:18PM +0100, Niklas Haas wrote:
> From: Niklas Haas <git at haasn.dev>
> 
> This setting can be used to infuence the type of tone and gamut mapping used
> internally when color space conversions are required. As discussed at VDD'24,
> the default was set to relative colorimetric clipping, which is approximately
> associative, surjective and idempotent. As such, it roundtrips well, although
> it is strictly speaking not associative on out-of-gamut colors.
> ---
>  doc/APIchanges       |  3 +++
>  doc/filters.texi     | 30 ++++++++++++++++++++++++++++++
>  libswscale/graph.c   | 11 ++++++-----
>  libswscale/options.c |  6 ++++++
>  libswscale/swscale.h | 13 +++++++++++++
>  libswscale/version.h |  2 +-
>  6 files changed, 59 insertions(+), 6 deletions(-)

breaks build

CC	libswscale/alphablend.o
In file included from ./libavutil/internal.h:39,
                 from ./libavutil/common.h:50,
                 from ./libavutil/avutil.h:301,
                 from libswscale/swscale.h:33,
                 from libswscale/swscale_internal.h:28,
                 from libswscale/alphablend.c:21:
libswscale/swscale_internal.h:684:1: error: static assertion failed: "yuv2rgb_y_offset must be updated in x86 asm"
  684 | static_assert(offsetof(SwsInternal, yuv2rgb_y_offset) == 40332,
      | ^~~~~~~~~~~~~
make: *** [ffbuild/common.mak:81: libswscale/alphablend.o] Error 1

thx

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

Nations do behave wisely once they have exhausted all other alternatives. 
-- Abba Eban
-------------- 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/20241205/9d7fd570/attachment.sig>


More information about the ffmpeg-devel mailing list