24 #ifndef AVCODEC_SIPR_H 25 #define AVCODEC_SIPR_H 31 #define LP_FILTER_ORDER_16k 16 32 #define L_SUBFR_16k 80 36 #define LSFQ_DIFF_MIN (0.0125 * M_PI) 38 #define LP_FILTER_ORDER 10 41 #define L_INTERPOL (LP_FILTER_ORDER + 1) 46 #define SUBFRAME_COUNT_16k 2 79 float energy_history[4];
80 float highpass_filt_mem[2];
96 double lsp_history_16k[16];
struct SiprContext SiprContext
int gp_index[5]
adaptive-codebook gain indexes
int pitch_delay[5]
pitch delay
#define SUBFR_SIZE
Subframe size for all modes except 16k.
memory handling functions
#define DECLARE_ALIGNED(n, t, v)
#define L_INTERPOL
Number of past samples needed for excitation interpolation.
static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
int16_t fc_indexes[5][10]
fixed-codebook indexes
typedef void(RENAME(mix_any_func_type))
main external API structure.
const char const char * params
int gc_index[5]
fixed-codebook gain indexes
void ff_sipr_decode_frame_16k(SiprContext *ctx, SiprParameters *params, float *out_data)
#define LP_FILTER_ORDER_16k
int ma_pred_switch
switched moving average predictor
const float ff_pow_0_5[16]
struct SiprParameters SiprParameters
void ff_sipr_init_16k(SiprContext *ctx)