Home
last modified time | relevance | path

Searched refs:filter_coeffs (Results 1 – 10 of 10) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dcelp_filters.c60 int ff_celp_lp_synthesis_filter(int16_t *out, const int16_t *filter_coeffs, in ff_celp_lp_synthesis_filter() argument
70 sum -= (unsigned)(filter_coeffs[i-1] * out[n-i]); in ff_celp_lp_synthesis_filter()
84 void ff_celp_lp_synthesis_filterf(float *out, const float *filter_coeffs, in ff_celp_lp_synthesis_filterf() argument
94 out[n] -= filter_coeffs[i-1] * out[n-i]; in ff_celp_lp_synthesis_filterf()
101 a = filter_coeffs[0]; in ff_celp_lp_synthesis_filterf()
102 b = filter_coeffs[1]; in ff_celp_lp_synthesis_filterf()
103 c = filter_coeffs[2]; in ff_celp_lp_synthesis_filterf()
104 b -= filter_coeffs[0] * filter_coeffs[0]; in ff_celp_lp_synthesis_filterf()
105 c -= filter_coeffs[1] * filter_coeffs[0]; in ff_celp_lp_synthesis_filterf()
106 c -= filter_coeffs[0] * b; in ff_celp_lp_synthesis_filterf()
[all …]
Dcelp_filters.h45 void (*celp_lp_synthesis_filterf)(float *out, const float *filter_coeffs,
65 void (*celp_lp_zero_synthesis_filterf)(float *out, const float *filter_coeffs,
125 int ff_celp_lp_synthesis_filter(int16_t *out, const int16_t *filter_coeffs,
146 void ff_celp_lp_synthesis_filterf(float *out, const float *filter_coeffs,
165 void ff_celp_lp_zero_synthesis_filterf(float *out, const float *filter_coeffs,
Dacelp_filters.c45 const int16_t* filter_coeffs, int precision, in ff_acelp_interpolate() argument
67 v += in[n + i] * filter_coeffs[idx + frac_pos]; in ff_acelp_interpolate()
70 v += in[n - i] * filter_coeffs[idx - frac_pos]; in ff_acelp_interpolate()
79 const float *filter_coeffs, int precision, in ff_acelp_interpolatef() argument
89 v += in[n + i] * filter_coeffs[idx + frac_pos]; in ff_acelp_interpolatef()
92 v += in[n - i] * filter_coeffs[idx - frac_pos]; in ff_acelp_interpolatef()
Dacelp_filters.h33 const float *filter_coeffs, int precision,
87 const int16_t* filter_coeffs, int precision,
94 const float *filter_coeffs, int precision,
Dralf.c45 VLC filter_coeffs[10][11]; member
117 ff_free_vlc(&ctx->sets[i].filter_coeffs[j][k]); in decode_close()
183 ret = init_ralf_vlc(&ctx->sets[i].filter_coeffs[j][k], in decode_init()
259 VLC *vlc = set->filter_coeffs[ctx->filter_bits] + 5; in decode_channel()
Dg729postfilter.c86 static void residual_filter(int16_t* out, const int16_t* filter_coeffs, const int16_t* in, in residual_filter() argument
94 sum += filter_coeffs[i] * in[n - i - 1]; in residual_filter()
Devrcdec.c504 static void synthesis_filter(const float *in, const float *filter_coeffs, in synthesis_filter() argument
512 samples[i] -= filter_coeffs[j] * memory[j]; in synthesis_filter()
515 samples[i] -= filter_coeffs[0] * memory[0]; in synthesis_filter()
Dwmalosslessdec.c803 int16_t *filter_coeffs = s->acfilter_coeffs; in revert_acfilter() local
813 pred += (uint32_t)filter_coeffs[j] * prevvalues[j - i]; in revert_acfilter()
815 pred += (uint32_t)s->channel_residues[ich][i - j - 1] * filter_coeffs[j]; in revert_acfilter()
823 pred += (uint32_t)s->channel_residues[ich][i - j - 1] * filter_coeffs[j]; in revert_acfilter()
/third_party/ffmpeg/libavcodec/mips/
Dcelp_filters_mips.c63 const float *filter_coeffs, in ff_celp_lp_synthesis_filterf_mips() argument
75 a = filter_coeffs[0]; in ff_celp_lp_synthesis_filterf_mips()
76 b = filter_coeffs[1]; in ff_celp_lp_synthesis_filterf_mips()
77 c = filter_coeffs[2]; in ff_celp_lp_synthesis_filterf_mips()
78 b -= filter_coeffs[0] * filter_coeffs[0]; in ff_celp_lp_synthesis_filterf_mips()
79 c -= filter_coeffs[1] * filter_coeffs[0]; in ff_celp_lp_synthesis_filterf_mips()
80 c -= filter_coeffs[0] * b; in ff_celp_lp_synthesis_filterf_mips()
87 p_filter_coeffs = filter_coeffs; in ff_celp_lp_synthesis_filterf_mips()
115 [filter_coeffs]"r"(filter_coeffs) in ff_celp_lp_synthesis_filterf_mips()
179 p_filter_coeffs = filter_coeffs; in ff_celp_lp_synthesis_filterf_mips()
[all …]
Dacelp_filters_mips.c62 const float *filter_coeffs, int precision, in ff_acelp_interpolatef_mips() argument
77 const float *p_filter_coeffs_p = &filter_coeffs[frac_pos]; in ff_acelp_interpolatef_mips()
78 const float *p_filter_coeffs_m = filter_coeffs + fc_offset; in ff_acelp_interpolatef_mips()