Mercurial > libavcodec.hg
comparison ra144.c @ 6907:8b0db8b07a21 libavcodec
cosmetics: typo fixes
author | diego |
---|---|
date | Tue, 27 May 2008 10:51:23 +0000 |
parents | b6e110c575ff |
children | 73e24dad276b |
comparison
equal
deleted
inserted
replaced
6906:86e3dce7f723 | 6907:8b0db8b07a21 |
---|---|
39 unsigned int *lpc_coef; //< LPC coefficients | 39 unsigned int *lpc_coef; //< LPC coefficients |
40 unsigned int *lpc_refl_old; //< previous frame LPC reflection coefs | 40 unsigned int *lpc_refl_old; //< previous frame LPC reflection coefs |
41 unsigned int *lpc_coef_old; //< previous frame LPC coefficients | 41 unsigned int *lpc_coef_old; //< previous frame LPC coefficients |
42 | 42 |
43 unsigned int buffer[5]; | 43 unsigned int buffer[5]; |
44 uint16_t adapt_cb[148]; //< Adaptative codebook | 44 uint16_t adapt_cb[148]; //< adaptive codebook |
45 } RA144Context; | 45 } RA144Context; |
46 | 46 |
47 static int ra144_decode_init(AVCodecContext * avctx) | 47 static int ra144_decode_init(AVCodecContext * avctx) |
48 { | 48 { |
49 RA144Context *ractx = avctx->priv_data; | 49 RA144Context *ractx = avctx->priv_data; |
206 const uint16_t *gsp, unsigned int gval, | 206 const uint16_t *gsp, unsigned int gval, |
207 int16_t *output_buffer, GetBitContext *gb) | 207 int16_t *output_buffer, GetBitContext *gb) |
208 { | 208 { |
209 uint16_t buffer_a[40]; | 209 uint16_t buffer_a[40]; |
210 uint16_t *block; | 210 uint16_t *block; |
211 int cba_idx = get_bits(gb, 7); // Index of the adaptative CB. 0 if none. | 211 int cba_idx = get_bits(gb, 7); // index of the adaptive CB, 0 if none |
212 int gain = get_bits(gb, 8); | 212 int gain = get_bits(gb, 8); |
213 int cb1_idx = get_bits(gb, 7); | 213 int cb1_idx = get_bits(gb, 7); |
214 int cb2_idx = get_bits(gb, 7); | 214 int cb2_idx = get_bits(gb, 7); |
215 int m[3]; | 215 int m[3]; |
216 | 216 |