diff options
author | Daniil Cherednik <dan.cherednik@gmail.com> | 2017-05-11 21:12:07 +0000 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2017-05-16 11:22:07 +0100 |
commit | 9c4e69b8eac8955ce65df2fba2addaeefe81784f (patch) | |
tree | cba18e4b80e98999dda396d3c57e5a0b9d07d065 /libavcodec/avcodec.h | |
parent | 8e7e74df93d18c903164a67c861a428bd4244cb1 (diff) | |
download | ffmpeg-9c4e69b8eac8955ce65df2fba2addaeefe81784f.tar.gz |
avcodec/dcaenc: Do not abort process in case of bitrate deficit
Old behaviour - abort if at least one subband has 1bit quantizer
and consumed_bits still greater than frame_bits size. It was
a bit strange - we still could reduce bits consumption by reducing
SNR for other subbands. Same strange logic with upper threshold -
stop bits allocation if at least one subband reach 26bits.
New behaviour - if consumed_bits greater than frame_bits and all
subbands has 1 bit quantizer we restart bits allocation and allow
zero subbands.
Diffstat (limited to 'libavcodec/avcodec.h')
0 files changed, 0 insertions, 0 deletions