aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/cyuv.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2010-12-15 21:12:28 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2010-12-15 21:12:28 +0000
commit171bc51c9b319e3b2b2736c511af72acf27763a9 (patch)
tree422a95144842ff6af0a86372217af631b250f26d /libavcodec/cyuv.c
parentbbd8f5477d29ae0d22ad0a8711d95299e009ec36 (diff)
downloadffmpeg-171bc51c9b319e3b2b2736c511af72acf27763a9.tar.gz
Allocate bap and bap1 buffers using av_malloc().
This reduces the memory footprint when using less than 6 channels. Modify bit allocation to swap the 2 buffers instead of using memcpy() and use per-block pointers for bap. This is slightly faster (0.3%) in function cbr_bit_allocation(). Originally committed as revision 26023 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/cyuv.c')
0 files changed, 0 insertions, 0 deletions