Mercurial > libavcodec.hg
comparison ra144.c @ 7133:6a25c2867e2f libavcodec
More cosmetics
author | vitor |
---|---|
date | Tue, 24 Jun 2008 21:30:09 +0000 |
parents | 22788bf6502a |
children | 1238746e1301 |
comparison
equal
deleted
inserted
replaced
7132:22788bf6502a | 7133:6a25c2867e2f |
---|---|
200 | 200 |
201 res >>= (b + 10); | 201 res >>= (b + 10); |
202 return res; | 202 return res; |
203 } | 203 } |
204 | 204 |
205 static void do_output_subblock(RA144Context *ractx, | 205 static void do_output_subblock(RA144Context *ractx, const uint16_t *lpc_coefs, |
206 const uint16_t *lpc_coefs, int gval, | 206 int gval, GetBitContext *gb) |
207 GetBitContext *gb) | |
208 { | 207 { |
209 uint16_t buffer_a[40]; | 208 uint16_t buffer_a[40]; |
210 uint16_t *block; | 209 uint16_t *block; |
211 int cba_idx = get_bits(gb, 7); // index of the adaptive CB, 0 if none | 210 int cba_idx = get_bits(gb, 7); // index of the adaptive CB, 0 if none |
212 int gain = get_bits(gb, 8); | 211 int gain = get_bits(gb, 8); |