[FFmpeg-devel] [PATCH v6 0/2] JPEG XL Colorspace Fixes

Leo Izen leo.izen at gmail.com
Mon May 9 16:43:53 EEST 2022


At this point I no longer consider this patchset to be "WIP" so feel free
to take a look without another version arriving unless I receive some
requested changes.

Changes:
v6:
- some cosmetic changes
- check the AVFrame metadata if AVCodecContext's is missing
v5:
- fix attaching ICCP even if an enum can
  accurately describe the colorspace
v4:
- fix a typo. bluh
v3:
- some cosmetic changes
- properly handle P3 spaces
- properly handle PQ transfer
v2:
- avoid misusing AVMasteringDisplayMetadata
- ignore custom primaries in header (very rare without iccp)

Leo Izen (2):
  avcodec/libjxldec: properly tag output colorspace
  avcodec/libjxlenc: properly read input colorspace

 libavcodec/libjxldec.c | 113 ++++++++++++++++++++++++++++++++++---
 libavcodec/libjxlenc.c | 124 +++++++++++++++++++++++++++++++----------
 2 files changed, 199 insertions(+), 38 deletions(-)

-- 
2.36.0



More information about the ffmpeg-devel mailing list