comparison ac3enc.c @ 4197:bbe0bc387a19 libavcodec

revert bad checkin
author mru
date Tue, 14 Nov 2006 03:18:09 +0000
parents fbac0859753d
children 1b447031a8b8
comparison
equal deleted inserted replaced
4196:fbac0859753d 4197:bbe0bc387a19
117 return a; 117 return a;
118 } 118 }
119 119
120 /* AC3 bit allocation. The algorithm is the one described in the AC3 120 /* AC3 bit allocation. The algorithm is the one described in the AC3
121 spec. */ 121 spec. */
122 static
123 void ac3_parametric_bit_allocation(AC3BitAllocParameters *s, uint8_t *bap, 122 void ac3_parametric_bit_allocation(AC3BitAllocParameters *s, uint8_t *bap,
124 int8_t *exp, int start, int end, 123 int8_t *exp, int start, int end,
125 int snroffset, int fgain, int is_lfe, 124 int snroffset, int fgain, int is_lfe,
126 int deltbae,int deltnseg, 125 int deltbae,int deltnseg,
127 uint8_t *deltoffst, uint8_t *deltlen, uint8_t *deltba) 126 uint8_t *deltoffst, uint8_t *deltlen, uint8_t *deltba)
793 } 792 }
794 #endif 793 #endif
795 return 0; 794 return 0;
796 } 795 }
797 796
798 static void ac3_common_init(void) 797 void ac3_common_init(void)
799 { 798 {
800 int i, j, k, l, v; 799 int i, j, k, l, v;
801 /* compute bndtab and masktab from bandsz */ 800 /* compute bndtab and masktab from bandsz */
802 k = 0; 801 k = 0;
803 l = 0; 802 l = 0;