aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/tx_template.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-04-30 01:57:13 +0200
committerRick Kern <kernrj@gmail.com>2021-05-06 00:29:36 -0400
commit7539a01bb0ea24998e1aa87706edf9785ddd3ac6 (patch)
treec0d99242c5647034774d342bdbbb2412a2a91fea /libavutil/tx_template.c
parente10d75610c62fcc42ad8931a09abc73ee82caf82 (diff)
downloadffmpeg-7539a01bb0ea24998e1aa87706edf9785ddd3ac6.tar.gz
avcodec/videotoolboxenc: Avoid copying data, allow user-supplied buffers
Here the packet size is known before allocating the packet because the encoder provides said information (and works with internal buffers itself), so one use this information to avoid the implicit use of another intermediate buffer for the packet data; and by switching to ff_get_encode_buffer() one can also allow user-supplied buffers. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Signed-off-by: Rick Kern <kernrj@gmail.com>
Diffstat (limited to 'libavutil/tx_template.c')
0 files changed, 0 insertions, 0 deletions