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-23 15:10:41 +0200 |
commit | 314c086a859cffeb53ad4e227d77f42f6301a9b9 (patch) | |
tree | ba08450bc730deb290380316e9d2507f69a165ff /libavdevice/decklink_common.h | |
parent | 981c4caed32df4a801608d72bb9d0243390a2e1a (diff) | |
download | ffmpeg-314c086a859cffeb53ad4e227d77f42f6301a9b9.tar.gz |
avcodec/pamenc: 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 'libavdevice/decklink_common.h')
0 files changed, 0 insertions, 0 deletions