diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2008-06-07 22:29:54 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2008-06-07 22:29:54 +0000 |
commit | 687671f03b3df1376479c7a2f880b5fc5634772e (patch) | |
tree | d476556494e88bb610f8359f6c02adc2b94dc42c /libavcodec/ac3.h | |
parent | 30cc3ac20e1e6cd434bc776932b0897d8a999b0e (diff) | |
download | ffmpeg-687671f03b3df1376479c7a2f880b5fc5634772e.tar.gz |
pass bap table to ff_ac3_bit_alloc_calc_bap()
Originally committed as revision 13694 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3.h')
-rw-r--r-- | libavcodec/ac3.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/ac3.h b/libavcodec/ac3.h index abe40a5617..2eae0ea8cc 100644 --- a/libavcodec/ac3.h +++ b/libavcodec/ac3.h @@ -168,10 +168,12 @@ void ff_ac3_bit_alloc_calc_mask(AC3BitAllocParameters *s, int16_t *band_psd, * @param[in] end ending bin location * @param[in] snr_offset SNR adjustment * @param[in] floor noise floor + * @param[in] bap_tab look-up table for bit allocation pointers * @param[out] bap bit allocation pointers */ void ff_ac3_bit_alloc_calc_bap(int16_t *mask, int16_t *psd, int start, int end, - int snr_offset, int floor, uint8_t *bap); + int snr_offset, int floor, + const uint8_t *bap_tab, uint8_t *bap); void ac3_parametric_bit_allocation(AC3BitAllocParameters *s, uint8_t *bap, int8_t *exp, int start, int end, |