diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-04-25 01:43:26 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-05-05 14:17:03 +0200 |
commit | 5cb64caadfdf6ecb3d63489a27d5b1d2e2992b8d (patch) | |
tree | 7a3d962fa839eba32b8ca1da3ef547b4c8d2a1db /libavformat/rawdec.h | |
parent | 0788069cb1cf95b8858f9315ffe9cd4e1916eef1 (diff) | |
download | ffmpeg-5cb64caadfdf6ecb3d63489a27d5b1d2e2992b8d.tar.gz |
avcodec/r210enc: Avoid copying packet data, allow user-supplied buffers
When the packet size is known in advance like here, one can avoid
an intermediate buffer for the packet data by using
ff_get_encode_buffer() and also set AV_CODEC_CAP_DR1 at the same time.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/rawdec.h')
0 files changed, 0 insertions, 0 deletions