Mercurial > libavcodec.hg
comparison sipr.c @ 12024:fdafbcef52f5 libavcodec
Fix grammar errors in documentation
author | mru |
---|---|
date | Wed, 30 Jun 2010 15:38:06 +0000 |
parents | 8b6f3d3b55cb |
children | 1921e24d5886 |
comparison
equal
deleted
inserted
replaced
12023:c7455450364d | 12024:fdafbcef52f5 |
---|---|
182 for (i = pitch_lag_int; i < SUBFR_SIZE; i++) | 182 for (i = pitch_lag_int; i < SUBFR_SIZE; i++) |
183 fixed_vector[i] += beta * fixed_vector[i - pitch_lag_int]; | 183 fixed_vector[i] += beta * fixed_vector[i - pitch_lag_int]; |
184 } | 184 } |
185 | 185 |
186 /** | 186 /** |
187 * Extracts decoding parameters from the input bitstream. | 187 * Extract decoding parameters from the input bitstream. |
188 * @param parms parameters structure | 188 * @param parms parameters structure |
189 * @param pgb pointer to initialized GetBitContext structure | 189 * @param pgb pointer to initialized GetBitContext structure |
190 */ | 190 */ |
191 static void decode_parameters(SiprParameters* parms, GetBitContext *pgb, | 191 static void decode_parameters(SiprParameters* parms, GetBitContext *pgb, |
192 const SiprModeParam *p) | 192 const SiprModeParam *p) |
252 t += t0; | 252 t += t0; |
253 } | 253 } |
254 } | 254 } |
255 | 255 |
256 /** | 256 /** |
257 * Evaluates the adaptive impulse response. | 257 * Evaluate the adaptive impulse response. |
258 */ | 258 */ |
259 static void eval_ir(const float *Az, int pitch_lag, float *freq, | 259 static void eval_ir(const float *Az, int pitch_lag, float *freq, |
260 float pitch_sharp_factor) | 260 float pitch_sharp_factor) |
261 { | 261 { |
262 float tmp1[SUBFR_SIZE+1], tmp2[LP_FILTER_ORDER+1]; | 262 float tmp1[SUBFR_SIZE+1], tmp2[LP_FILTER_ORDER+1]; |
274 | 274 |
275 pitch_sharpening(pitch_lag, pitch_sharp_factor, freq); | 275 pitch_sharpening(pitch_lag, pitch_sharp_factor, freq); |
276 } | 276 } |
277 | 277 |
278 /** | 278 /** |
279 * Evaluates the convolution of a vector with a sparse vector. | 279 * Evaluate the convolution of a vector with a sparse vector. |
280 */ | 280 */ |
281 static void convolute_with_sparse(float *out, const AMRFixed *pulses, | 281 static void convolute_with_sparse(float *out, const AMRFixed *pulses, |
282 const float *shape, int length) | 282 const float *shape, int length) |
283 { | 283 { |
284 int i, j; | 284 int i, j; |