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

Leo Izen leo.izen at gmail.com
Thu May 12 18:34:26 EEST 2022


Changes:
v7:
changes requested by haasn:
- avoid attaching ICCP for now, with followup once lcms2 enters avutil
- make gamma transfer slightly more tolerant
others:
- refactor some conversions into separate functions for cleaner code
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 | 128 +++++++++++++++++++++++++++++++++++------
 libavcodec/libjxlenc.c | 128 ++++++++++++++++++++++++++++++-----------
 2 files changed, 205 insertions(+), 51 deletions(-)

-- 
2.36.1



More information about the ffmpeg-devel mailing list