aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/celp_math.c
diff options
context:
space:
mode:
authorJeremy Wu <jrwu@google.com>2023-04-25 06:09:52 +0000
committerLynne <dev@lynne.ee>2023-06-04 03:36:10 +0200
commitb92af7b64e7acd015aea3ae1da2228c5a7e677bf (patch)
treee6a0f579e41f53aa784a466bf4a726bd346137a0 /libavcodec/celp_math.c
parent378fb4028294bcf27df09d145a1f6ab1d014924e (diff)
downloadffmpeg-b92af7b64e7acd015aea3ae1da2228c5a7e677bf.tar.gz
avcodec/aacenc: add strict bit rate control option
In certain use cases, controlling the maximum frame size is critical. An example is when transmitting AAC packets over Bluetooth A2DP. While the spec allows the packets to be fragmented (but UNRECOMMENDED), in practice most headsets do not recognize nor reassemble such packets. In this patch, we allow setting `bit_rate_tolerance` to 0 to indicate that the specified bit rate should be treated as an upper bound up to frame level. Signed-off-by: Jeremy Wu <jrwu@chromium.org>
Diffstat (limited to 'libavcodec/celp_math.c')
0 files changed, 0 insertions, 0 deletions