Mercurial > mplayer.hg
comparison liba52/bit_allocate.c @ 18721:722ac20fac5f
sync with liba52 0.7.4, patch by Emanuele Giaquinta >emanuele.giaquinta ! gmail * com<
part 2: cosmetic changes
author | rathann |
---|---|
date | Thu, 15 Jun 2006 22:59:40 +0000 |
parents | 4bad7f00556e |
children |
comparison
equal
deleted
inserted
replaced
18720:4bad7f00556e | 18721:722ac20fac5f |
---|---|
120 mask = (mask > 0) ? 0 : ((-mask) >> 5); \ | 120 mask = (mask > 0) ? 0 : ((-mask) >> 5); \ |
121 mask -= floor; \ | 121 mask -= floor; \ |
122 } while (0) | 122 } while (0) |
123 | 123 |
124 void a52_bit_allocate (a52_state_t * state, ba_t * ba, int bndstart, | 124 void a52_bit_allocate (a52_state_t * state, ba_t * ba, int bndstart, |
125 int start, int end, int fastleak, int slowleak, | 125 int start, int end, int fastleak, int slowleak, |
126 expbap_t * expbap) | 126 expbap_t * expbap) |
127 { | 127 { |
128 static int slowgain[4] = {0x540, 0x4d8, 0x478, 0x410}; | 128 static int slowgain[4] = {0x540, 0x4d8, 0x478, 0x410}; |
129 static int dbpbtab[4] = {0xc00, 0x500, 0x300, 0x100}; | 129 static int dbpbtab[4] = {0xc00, 0x500, 0x300, 0x100}; |
130 static int floortab[8] = {0x910, 0x950, 0x990, 0x9d0, | 130 static int floortab[8] = {0x910, 0x950, 0x990, 0x9d0, |