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:04 +0200 |
commit | a3f02388f169c6513c4f242a1cb4b507711eded7 (patch) | |
tree | 56161f83ce33b371c6b05b7913edb620f29026d2 /libavcodec/speedhq.c | |
parent | a043dcbe65efbc07d6f83b5822b99377035039a1 (diff) | |
download | ffmpeg-a3f02388f169c6513c4f242a1cb4b507711eded7.tar.gz |
avcodec/yuv4enc: 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 'libavcodec/speedhq.c')
0 files changed, 0 insertions, 0 deletions