aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/tx.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-25 01:43:26 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-05-23 14:41:28 +0200
commit398822a70edf860cd47514e34e15c80c2dfca584 (patch)
treec7a5ee741c672b1cfd1625939c4ec7984f249e7b /libavutil/tx.h
parent044daa7c450b132f4f5cdecb738089b3dd7db3f7 (diff)
downloadffmpeg-398822a70edf860cd47514e34e15c80c2dfca584.tar.gz
avcodec/libcodec2: 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. Reviewed-by: James Almer <jamrial@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/tx.h')
0 files changed, 0 insertions, 0 deletions