mbox series

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

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

Message

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