#include <inttypes.h>
#include "avcodec.h"
#include "celp_filters.h"
Go to the source code of this file.
Functions | |
void | ff_celp_convolve_circ (int16_t *fc_out, const int16_t *fc_in, const int16_t *filter, int len) |
Circularly convolve fixed vector with a phase dispersion impulse response filter (D.6.2 of G.729 and 6.1.5 of AMR). | |
int | ff_celp_lp_synthesis_filter (int16_t *out, const int16_t *filter_coeffs, const int16_t *in, int buffer_length, int filter_length, int stop_on_overflow, int rounder) |
LP synthesis filter. | |
void | ff_celp_lp_synthesis_filterf (float *out, const float *filter_coeffs, const float *in, int buffer_length, int filter_length) |
LP synthesis filter. |
void ff_celp_convolve_circ | ( | int16_t * | fc_out, | |
const int16_t * | fc_in, | |||
const int16_t * | filter, | |||
int | len | |||
) |
Circularly convolve fixed vector with a phase dispersion impulse response filter (D.6.2 of G.729 and 6.1.5 of AMR).
fc_out | vector with filter applied | |
fc_in | source vector | |
filter | phase filter coefficients |
Definition at line 28 of file celp_filters.c.
int ff_celp_lp_synthesis_filter | ( | int16_t * | out, | |
const int16_t * | filter_coeffs, | |||
const int16_t * | in, | |||
int | buffer_length, | |||
int | filter_length, | |||
int | stop_on_overflow, | |||
int | rounder | |||
) |
LP synthesis filter.
out | [out] pointer to output buffer | |
filter_coeffs | filter coefficients (-0x8000 <= (3.12) < 0x8000) | |
in | input signal | |
buffer_length | amount of data to process | |
filter_length | filter length (10 for 10th order LP filter) | |
stop_on_overflow | 1 - return immediately if overflow occurs 0 - ignore overflows | |
rounder | the amount to add for rounding (usually 0x800 or 0xfff) |
Definition at line 53 of file celp_filters.c.
Referenced by do_output_subblock().
void ff_celp_lp_synthesis_filterf | ( | float * | out, | |
const float * | filter_coeffs, | |||
const float * | in, | |||
int | buffer_length, | |||
int | filter_length | |||
) |
LP synthesis filter.
out | [out] pointer to output buffer
| |
filter_coeffs | filter coefficients. | |
in | input signal | |
buffer_length | amount of data to process | |
filter_length | filter length (10 for 10th order LP filter) |
Definition at line 88 of file celp_filters.c.
Referenced by decode(), and qcelp_decode_frame().