aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/film_grain_params.c
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-05 14:17:03 +0200
commit8eef32d394bef6a320c2ecdaf7d6fc03359d766e (patch)
tree64f435b8133da694ec88f2a9b202e1f64d90ee7e /libavutil/film_grain_params.c
parent184a8852f1c4a3c592fa0a4e1dcb253d6456cbe8 (diff)
downloadffmpeg-8eef32d394bef6a320c2ecdaf7d6fc03359d766e.tar.gz
avcodec/ra144enc: 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 'libavutil/film_grain_params.c')
0 files changed, 0 insertions, 0 deletions