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
..
aic
amv
ast
2021-01-01 14:33:12 +01:00
2021-01-01 14:33:12 +01:00
crc
dpx
2022-03-17 13:04:44 -03:00
2022-01-10 16:04:19 +01:00
2022-03-25 18:18:44 +01:00
2022-03-14 17:43:12 +01:00
2022-03-16 21:03:37 +01:00
2022-03-16 21:03:37 +01:00
2022-03-18 10:25:13 +01:00
2022-03-18 10:25:13 +01:00
2022-01-04 12:08:18 +01:00
imf
2021-12-31 17:26:01 +10:00
jv
lfg
2021-02-24 17:16:46 +01:00
m4v
md5
2020-12-10 09:53:52 +01:00
2021-08-24 12:22:36 -03:00
2021-08-24 12:22:36 -03:00
opt
2022-03-15 09:42:29 -03:00
ptx
rl2
sha
smc
2020-12-10 10:07:09 +01:00
tea
thp
vb
vp4
vp5
vp7
w64
yop