mbox series

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

Message ID 20220512153428.251357-1-leo.izen@gmail.com
Headers show
Series JPEG XL Colorspace Fixes | expand

Message

Leo Izen May 12, 2022, 3:34 p.m. UTC
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(-)