aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ac3enc_opts_template.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2016-06-05 17:18:04 +0100
committerMark Thompson <sw@jkqxz.net>2016-06-26 19:40:56 +0100
commit8a62d2c28fbacd1ae20c35887a1eecba2be14371 (patch)
tree1465cd0ae306bafae84b617f0bb908ec4be74184 /libavcodec/ac3enc_opts_template.c
parentbd31c61cf94d01dbe1051cf65874e7b2c0ac5454 (diff)
downloadffmpeg-8a62d2c28fbacd1ae20c35887a1eecba2be14371.tar.gz
vaapi_encode: Maintain a pool of bitstream output buffers
Previously we would allocate a new one for every frame. This instead maintains an AVBufferPool of them to use as-needed. Also makes the maximum size of an output buffer adapt to the frame size - the fixed upper bound was a bit too easy to hit when encoding large pictures at high quality.
Diffstat (limited to 'libavcodec/ac3enc_opts_template.c')
0 files changed, 0 insertions, 0 deletions