Mercurial > libavcodec.hg
comparison ra144.c @ 6967:c3446faee506 libavcodec
Yet more variable renaming
author | vitor |
---|---|
date | Sun, 01 Jun 2008 13:30:15 +0000 |
parents | 9eee8f8ff9e6 |
children | 50dd3a733f43 |
comparison
equal
deleted
inserted
replaced
6966:9eee8f8ff9e6 | 6967:c3446faee506 |
---|---|
204 return res; | 204 return res; |
205 } | 205 } |
206 | 206 |
207 /* do quarter-block output */ | 207 /* do quarter-block output */ |
208 static void do_output_subblock(RA144Context *ractx, | 208 static void do_output_subblock(RA144Context *ractx, |
209 const uint16_t *gsp, unsigned int gval, | 209 const uint16_t *lpc_coefs, unsigned int gval, |
210 int16_t *output_buffer, GetBitContext *gb) | 210 int16_t *output_buffer, GetBitContext *gb) |
211 { | 211 { |
212 uint16_t buffer_a[40]; | 212 uint16_t buffer_a[40]; |
213 uint16_t *block; | 213 uint16_t *block; |
214 int cba_idx = get_bits(gb, 7); // index of the adaptive CB, 0 if none | 214 int cba_idx = get_bits(gb, 7); // index of the adaptive CB, 0 if none |
234 block = ractx->adapt_cb + BUFFERSIZE - BLOCKSIZE; | 234 block = ractx->adapt_cb + BUFFERSIZE - BLOCKSIZE; |
235 | 235 |
236 add_wav(gain, cba_idx, m, buffer_a, etable1[cb1_idx], etable2[cb2_idx], | 236 add_wav(gain, cba_idx, m, buffer_a, etable1[cb1_idx], etable2[cb2_idx], |
237 block); | 237 block); |
238 | 238 |
239 final(gsp, block, output_buffer, ractx->buffer, BLOCKSIZE); | 239 final(lpc_coefs, block, output_buffer, ractx->buffer, BLOCKSIZE); |
240 } | 240 } |
241 | 241 |
242 static int dec1(int16_t *decsp, const int *data, const int *inp, int f) | 242 static int dec1(int16_t *decsp, const int *data, const int *inp, int f) |
243 { | 243 { |
244 int i; | 244 int i; |