ffmpeg/tests/ref
Niklas Haas e254af3154 avcodec/mjpegenc: support writing ICC profiles
This is mostly straightforward. The major complication is that, as a
result of the 16-bit chunk size limitation, ICC profiles may need to be
split up into multiple chunks.

We also need to make sure to allocate enough extra space in the packet
to fit the ICC profile, so modify both mpegvideo_enc.c and ljpegenc.c to
take into account this extra overhead, failing cleanly if necessary.

Also add a FATE transcode test to ensure that the ICC profile gets
written (and read) correctly. Note that this ICC profile is smaller than
64 kB, so this doesn't test the APP2 chunk re-arranging code at all.

Signed-off-by: Niklas Haas <git@haasn.dev>
2022-04-11 17:29:57 +02:00
..
acodec avformat/argo_asf: pass name through as metadata 2021-10-15 23:40:15 +10:00
fate avcodec/mjpegenc: support writing ICC profiles 2022-04-11 17:29:57 +02:00
lavf avformat/mxfenc: allow more bits for variable part in uuid generation 2022-03-16 21:37:53 +01:00
lavf-fate avformat/matroskaenc: Don't waste bytes on Video element length fields 2022-01-19 11:50:27 +01:00
pixfmt
seek avformat/matroskaenc: Don't waste bytes on Video element length fields 2022-01-19 11:50:27 +01:00
vsynth
vsynth1
vsynth_lena