diff ac3.h @ 7017:60fd9ae9540e libavcodec

pass bap table to ff_ac3_bit_alloc_calc_bap()
author jbr
date Sat, 07 Jun 2008 22:29:54 +0000
parents 4156c54aedba
children 1a93d3bbe3ee
line wrap: on
line diff
--- a/ac3.h	Sat Jun 07 22:29:45 2008 +0000
+++ b/ac3.h	Sat Jun 07 22:29:54 2008 +0000
@@ -168,10 +168,12 @@
  * @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,