mbox series

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

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

Message

Leo Izen May 9, 2022, 1:43 p.m. UTC
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(-)