Home
last modified time | relevance | path

Searched refs:filter_length (Results 1 – 23 of 23) sorted by relevance

/third_party/pulseaudio/src/pulsecore/ffmpeg/
Dresample2.c60 int filter_length; member
186 c->filter_length= FFMAX((int)ceil(filter_size/factor), 1); in av_resample_init()
187 c->filter_bank= av_mallocz(c->filter_length*(phase_count+1)*sizeof(FELEM)); in av_resample_init()
188 …av_build_filter(c->filter_bank, factor, c->filter_length, phase_count, 1<<FILTER_SHIFT, WINDOW_TYP… in av_resample_init()
189 …memcpy(&c->filter_bank[c->filter_length*phase_count+1], c->filter_bank, (c->filter_length-1)*sizeo… in av_resample_init()
190 c->filter_bank[c->filter_length*phase_count]= c->filter_bank[c->filter_length - 1]; in av_resample_init()
194 c->index= -phase_count*((c->filter_length-1)/2); in av_resample_init()
218 if(compensation_distance == 0 && c->filter_length == 1 && c->phase_shift==0){ in av_resample()
233 FELEM *filter= c->filter_bank + c->filter_length*(index & c->phase_mask); in av_resample()
238 for(i=0; i<c->filter_length; i++) in av_resample()
[all …]
Davcodec.h68 struct AVResampleContext *av_resample_init(int out_rate, int in_rate, int filter_length, int log2_p…
/third_party/ffmpeg/libswresample/
Dresample.c295 int filter_length = FFMAX((int)ceil(filter_size/factor), 1); in resample_init() local
297 if (filter_length > 1) in resample_init()
298 filter_length = FFALIGN(filter_length, 2); in resample_init()
311 || c->filter_length != filter_length || c->format != format in resample_init()
346 c->filter_length = filter_length; in resample_init()
347 c->filter_alloc = FFALIGN(c->filter_length, 8); in resample_init()
354 …if (build_filter(c, (void*)c->filter_bank, factor, c->filter_length, c->filter_alloc, phase_count,… in resample_init()
371 c->index= -phase_count*((c->filter_length-1)/2); in resample_init()
399 ret = build_filter(c, new_filter_bank, c->factor, c->filter_length, c->filter_alloc, in rebuild_filter_bank_with_compensation()
465 if (c->filter_length == 1 && c->phase_count == 1) { in multiple_resample()
[all …]
Dresample_template.c110 for (i = 0; i + 1 < c->filter_length; i+=2) { in RENAME()
114 if (i < c->filter_length) in RENAME()
167 for (i = 0; i < c->filter_length; i++) { in RENAME()
Dresample.h33 int filter_length; member
/third_party/ffmpeg/libavcodec/
Dcelp_filters.c62 int filter_length, int stop_on_overflow, in ff_celp_lp_synthesis_filter() argument
69 for (i = 1; i <= filter_length; i++) in ff_celp_lp_synthesis_filter()
86 int filter_length) in ff_celp_lp_synthesis_filterf() argument
93 for (i = 1; i <= filter_length; i++) in ff_celp_lp_synthesis_filterf()
108 av_assert2((filter_length&1)==0 && filter_length>=4); in ff_celp_lp_synthesis_filterf()
139 for (i = 5; i < filter_length; i += 2) { in ff_celp_lp_synthesis_filterf()
193 for (i = 1; i <= filter_length; i++) in ff_celp_lp_synthesis_filterf()
201 int filter_length) in ff_celp_lp_zero_synthesis_filterf() argument
207 for (i = 1; i <= filter_length; i++) in ff_celp_lp_zero_synthesis_filterf()
Dcelp_filters.h47 int filter_length);
67 int filter_length);
127 int filter_length, int stop_on_overflow,
148 int filter_length);
167 int filter_length);
Dacelp_filters.c46 int frac_pos, int filter_length, int length) in ff_acelp_interpolate() argument
56 for (i = 0; i < filter_length;) { in ff_acelp_interpolate()
80 int frac_pos, int filter_length, int length) in ff_acelp_interpolatef() argument
88 for (i = 0; i < filter_length;) { in ff_acelp_interpolatef()
Dacelp_filters.h34 int frac_pos, int filter_length, int length);
88 int frac_pos, int filter_length, int length);
95 int frac_pos, int filter_length, int length);
Dralf.c59 int filter_length; ///< length of the filter for the current channel data member
239 ctx->filter_length = ctx->filter_params - (ctx->filter_bits << 6) - 1; in decode_channel()
263 for (i = 0; i < ctx->filter_length; i++) { in decode_channel()
324 int flen = FFMIN(ctx->filter_length, i); in apply_lpc()
/third_party/ffmpeg/libswresample/arm/
Dresample.S28 subs r3, #4 @ filter_length -= 4
29 bgt 1b @ loop until filter_length
44 subs r3, #8 @ filter_length -= 8
45 bgt 1b @ loop until filter_length
57 subs r3, #4 @ filter_length -= 4
58 bgt 1b @ loop until filter_length
71 subs r3, #8 @ filter_length -= 8
72 bgt 1b @ loop until filter_length
Dresample_init.c48 int x4_aligned_filter_length = c->filter_length & ~3; \
49 int x8_aligned_filter_length = c->filter_length & ~7; \
71 for (; i < c->filter_length; i++) { \
/third_party/ffmpeg/libavresample/
Dresample_template.c73 c->filter_length * (index & c->phase_mask); in SET_TYPE()
76 for (i = 0; i < c->filter_length; i++) { in SET_TYPE()
78 v2 += src[sample_index + i] * (FELEM2)filter[i + c->filter_length]; in SET_TYPE()
95 c->filter_length * (index & c->phase_mask); in SET_TYPE()
97 for (i = 0; i < c->filter_length; i++) in SET_TYPE()
Dresample.c72 int tap_count = c->filter_length; in build_filter()
146 c->filter_length = FFMAX((int)ceil(avr->filter_size / factor), 1); in ff_audio_resample_init()
179 c->filter_bank = av_mallocz(c->filter_length * (phase_count + 1) * felem_size); in ff_audio_resample_init()
186 memcpy(&c->filter_bank[(c->filter_length * phase_count + 1) * felem_size], in ff_audio_resample_init()
187 c->filter_bank, (c->filter_length - 1) * felem_size); in ff_audio_resample_init()
188 memcpy(&c->filter_bank[c->filter_length * phase_count * felem_size], in ff_audio_resample_init()
189 &c->filter_bank[(c->filter_length - 1) * felem_size], felem_size); in ff_audio_resample_init()
197 c->padding_size = (c->filter_length - 1) / 2; in ff_audio_resample_init()
295 if (sample_index + c->filter_length > src_size) in resample()
339 c->filter_length == 1 && in ff_audio_resample()
Dresample.h32 int filter_length; member
/third_party/ffmpeg/libavcodec/mips/
Dcelp_filters_mips.c65 int filter_length) in ff_celp_lp_synthesis_filterf_mips() argument
119 for (i = 5; i <= filter_length; i += 2) { in ff_celp_lp_synthesis_filterf_mips()
182 for (i = 1; i <= filter_length; i++) { in ff_celp_lp_synthesis_filterf_mips()
204 int filter_length) in ff_celp_lp_zero_synthesis_filterf_mips() argument
222 i = filter_length; in ff_celp_lp_zero_synthesis_filterf_mips()
Dacelp_filters_mips.c63 int frac_pos, int filter_length, int length) in ff_acelp_interpolatef_mips() argument
81 for (i = 0; i < filter_length;i++) { in ff_acelp_interpolatef_mips()
/third_party/ffmpeg/libswresample/aarch64/
Dresample_init.c48 int x4_aligned_filter_length = c->filter_length & ~3; \
49 int x8_aligned_filter_length = c->filter_length & ~7; \
71 for (; i < c->filter_length; i++) { \
/third_party/gstreamer/gstplugins_bad/ext/openmpt/
Dgstopenmptdec.c265 openmpt_dec->filter_length = DEFAULT_FILTER_LENGTH; in gst_openmpt_dec_init()
336 openmpt_dec->filter_length = g_value_get_int (value); in gst_openmpt_dec_set_property()
340 openmpt_dec->filter_length); in gst_openmpt_dec_set_property()
398 g_value_set_int (value, openmpt_dec->filter_length); in gst_openmpt_dec_get_property()
649 openmpt_dec->filter_length); in gst_openmpt_dec_load_from_buffer()
Dgstopenmptdec.h58 gint master_gain, stereo_separation, filter_length, volume_ramping; member
/third_party/ffmpeg/libavresample/aarch64/
Dresample_init.c31 AV_CHECK_OFFSET(struct ResampleContext, filter_length, FILTER_LENGTH);
/third_party/ffmpeg/libavresample/arm/
Dresample_init.c33 AV_CHECK_OFFSET(struct ResampleContext, filter_length, FILTER_LENGTH);
/third_party/ffmpeg/libswresample/x86/
Dresample.asm34 .filter_length: resd 1 label
313 mov min_filter_len_x4d, [ctxq+ResampleContext.filter_length]
374 mov min_filter_length_x4d, [ctxq+ResampleContext.filter_length]