Andreas Rheinhardt
a489b6a8e3
avcodec/cfhdenc: Fix leaks on allocation errors
...
The CineForm HD encoder attempts to allocate several buffers in its init
function; yet if only some of these allocations succeed, the
successfully allocated buffers leak. This is fixed by setting the
FF_CODEC_CAP_INIT_CLEANUP flag.
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
2020-09-14 15:11:27 +02:00
Paul B Mahol
9f702fc8f4
avcodec: extend CFHD description
2020-08-14 10:52:28 +02:00
Paul B Mahol
3f58dbca72
avcodec/cfhdenc: mark filter as always inline
2020-08-11 10:01:05 +02:00
Paul B Mahol
ba0825626a
avcodec/cfhdenc: optimize writting of small runcodes
2020-08-11 10:01:05 +02:00
Paul B Mahol
16b79f3d3a
avcodec/cfhdenc: improve quality vs size ratio
2020-08-11 10:01:04 +02:00
Paul B Mahol
14b84a2e99
avcodec/cfhdenc: free alpha buffer on closing
2020-08-08 19:59:06 +02:00
Paul B Mahol
0a8742a1e6
avcodec/cfhdenc: add gbrap12 pixel format support
2020-08-08 19:40:34 +02:00
Paul B Mahol
8d48e8d251
avcodec/cfhdenc: compand coefficients
...
Also use -quality private option and add more modes.
2020-08-08 12:05:39 +02:00
Paul B Mahol
a96506f017
avcodec/cfhdenc: also write FrameNumber tag
2020-08-08 12:03:43 +02:00
Paul B Mahol
d2b9cb1132
avcodec/cfhdenc: fix setting default compression level
2020-08-03 22:22:08 +02:00
Paul B Mahol
65516b2cd0
avcodec/cfhdenc: extend quantization table
...
Should give better quality.
2020-08-03 22:22:08 +02:00
Paul B Mahol
b4ae780693
avcodec/cfhdenc: fix PrescaleTable for YUV422P10
2020-08-03 19:34:23 +02:00
Paul B Mahol
4e27817629
avcodec: add CFHD encoder
2020-08-02 09:33:24 +02:00