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

Leo Izen leo.izen at gmail.com
Wed May 4 15:36:10 EEST 2022


Add proper colorspace handling and tagging to the libjxl
decoder and encoder wrappers.

Changes
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 |  91 ++++++++++++++++++++++++++++-
 libavcodec/libjxlenc.c | 128 ++++++++++++++++++++++++++++++-----------
 2 files changed, 184 insertions(+), 35 deletions(-)

-- 
2.36.0



More information about the ffmpeg-devel mailing list