Home
last modified time | relevance | path

Searched refs:in_channels (Results 1 – 25 of 28) sorted by relevance

12

/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Daudio-channel-mixer.c62 gint in_channels; member
88 for (i = 0; i < mix->in_channels; i++) in gst_audio_channel_mixer_free()
93 for (i = 0; i < mix->in_channels; i++) in gst_audio_channel_mixer_free()
109 gint in_channels, GstAudioChannelPosition * in_position, gint out_channels, in gst_audio_channel_mixer_fill_identical() argument
119 for (ci = 0; ci < in_channels; ci++) { in gst_audio_channel_mixer_fill_identical()
138 gst_audio_channel_mixer_fill_compatible (gfloat ** matrix, gint in_channels, in gst_audio_channel_mixer_fill_compatible() argument
173 for (n = 0; n < in_channels; n++) { in gst_audio_channel_mixer_fill_compatible()
368 gst_audio_channel_mixer_fill_others (gfloat ** matrix, gint in_channels, in gst_audio_channel_mixer_fill_others() argument
395 gst_audio_channel_mixer_detect_pos (in_channels, in_position, in gst_audio_channel_mixer_fill_others()
569 gst_audio_channel_mixer_fill_normalize (gfloat ** matrix, gint in_channels, in gst_audio_channel_mixer_fill_normalize() argument
[all …]
Daudio-channel-mixer.h52 gint in_channels,
60 gint in_channels,
Daudio-converter.c763 check_mix_matrix (guint in_channels, guint out_channels, const GValue * value) in check_mix_matrix() argument
779 if (gst_value_array_get_size (row) != in_channels) { in check_mix_matrix()
780 GST_ERROR ("Invalid mix matrix row size, should be %d", in_channels); in check_mix_matrix()
784 for (i = 0; i < in_channels; i++) { in check_mix_matrix()
802 mix_matrix_from_g_value (guint in_channels, guint out_channels, in mix_matrix_from_g_value() argument
806 gfloat **matrix = g_new (gfloat *, in_channels); in mix_matrix_from_g_value()
808 for (i = 0; i < in_channels; i++) in mix_matrix_from_g_value()
814 for (i = 0; i < in_channels; i++) { in mix_matrix_from_g_value()
/third_party/ffmpeg/libavresample/
Dutils.c46 avr->in_channels = av_get_channel_layout_nb_channels(avr->in_channel_layout); in avresample_open()
47 if (avr->in_channels <= 0 || avr->in_channels > AVRESAMPLE_MAX_CHANNELS) { in avresample_open()
58 avr->resample_channels = FFMIN(avr->in_channels, avr->out_channels); in avresample_open()
59 avr->downmix_needed = avr->in_channels > avr->out_channels; in avresample_open()
60 avr->upmix_needed = avr->out_channels > avr->in_channels || in avresample_open()
147 for (ch = 0; ch < avr->in_channels; ch++) in avresample_open()
154 for (ch = 0; ch < avr->in_channels; ch++) in avresample_open()
161 for (ch = 0; ch < avr->in_channels; ch++) in avresample_open()
167 for (ch = 0; ch < avr->in_channels; ch++) in avresample_open()
177 avr->in_buffer = ff_audio_data_alloc(FFMAX(avr->in_channels, avr->out_channels), in avresample_open()
[all …]
Daudio_mix.c39 int in_channels; member
62 enum AVMixCoeffType coeff_type, int in_channels, in ff_audio_mix_set_func() argument
67 ( in_channels == am->in_matrix_channels || in_channels == 0) && in ff_audio_mix_set_func()
80 if (in_channels) { in ff_audio_mix_set_func()
83 in_channels, out_channels); in ff_audio_mix_set_func()
86 in_channels); in ff_audio_mix_set_func()
334 coeff_type_names[am->coeff_type], am->in_channels, in mix_function_init()
363 am->in_channels = avr->in_channels; in ff_audio_mix_alloc()
368 ret = ff_audio_mix_set_matrix(am, avr->mix_matrix, avr->in_channels); in ff_audio_mix_alloc()
373 double *matrix_dbl = av_mallocz(avr->out_channels * avr->in_channels * in ff_audio_mix_alloc()
[all …]
Daudio_mix_matrix.c97 int in_channels, out_channels; in avresample_build_matrix() local
105 in_channels = av_get_channel_layout_nb_channels( in_layout); in avresample_build_matrix()
111 if (!in_layout || in_channels > AVRESAMPLE_MAX_CHANNELS) in avresample_build_matrix()
275 for (out_j = j = 0; out_j < in_channels && j < 64; j++) { in avresample_build_matrix()
289 for (j = 0; j < in_channels; j++) in avresample_build_matrix()
Daudio_mix.h55 enum AVMixCoeffType coeff_type, int in_channels,
Dinternal.h77 int in_channels; /**< number of input channels */ member
/third_party/gstreamer/gstplugins_bad/gst/audiomixmatrix/
Dgstaudiomixmatrix.c228 self->in_channels = 0; in gst_audio_mix_matrix_init()
256 self->shift_bytes = 32 - 16 - 1 - ceil (log (self->in_channels) / log (2)); in gst_audio_mix_matrix_convert_s16_matrix()
261 g_new (gint32, self->in_channels * self->out_channels); in gst_audio_mix_matrix_convert_s16_matrix()
262 for (i = 0; i < self->in_channels * self->out_channels; i++) { in gst_audio_mix_matrix_convert_s16_matrix()
274 self->shift_bytes = 64 - 32 - 1 - (gint) (log (self->in_channels) / log (2)); in gst_audio_mix_matrix_convert_s32_matrix()
279 g_new (gint64, self->in_channels * self->out_channels); in gst_audio_mix_matrix_convert_s32_matrix()
280 for (i = 0; i < self->in_channels * self->out_channels; i++) { in gst_audio_mix_matrix_convert_s32_matrix()
295 self->in_channels = g_value_get_uint (value); in gst_audio_mix_matrix_set_property()
313 self->matrix = g_new (gdouble, self->in_channels * self->out_channels); in gst_audio_mix_matrix_set_property()
318 g_return_if_fail (gst_value_array_get_size (row) == self->in_channels); in gst_audio_mix_matrix_set_property()
[all …]
Dgstaudiomixmatrix.h56 guint in_channels; member
/third_party/ffmpeg/libavcodec/x86/
Dac3dsp_downmix.asm38 %assign in_channels %1
43 %assign matrix_elements in_channels * out_channels
60 cglobal ac3_downmix_%1_to_%2, 3,in_channels+1,total_mmregs,0-matrix_elements_stack*mmsize, src0, sr…
73 %rep in_channels
86 %rep in_channels
87 %if in_channels + %%i >= matrix_elements_mm
89 CAT_XDEFINE mx_1_, %%i, [rsp+(in_channels+%%i-matrix_elements_mm)*mmsize]
101 %rep in_channels
122 %rep (in_channels - 1)
143 %rep (in_channels - 1)
Dac3dsp_init.c94 if (ch == c->in_channels) { \ in DOWNMIX_FUNCS()
/third_party/pulseaudio/src/tests/
Dcpu-remap-test.c202 unsigned in_channels, in setup_remap_channels() argument
209 m->i_ss.channels = in_channels; in setup_remap_channels()
214 for (i = 0; i < in_channels; i++) { in setup_remap_channels()
221 for (i = 0; i < in_channels; i++) { in setup_remap_channels()
222 m->map_table_f[o][i] = 1.0f / in_channels; in setup_remap_channels()
223 m->map_table_i[o][i] = 0x10000 / in_channels; in setup_remap_channels()
272 unsigned in_channels, in remap_init_test_channels() argument
278 setup_remap_channels(&remap_orig, f, in_channels, out_channels, rearrange); in remap_init_test_channels()
281 setup_remap_channels(&remap_func, f, in_channels, out_channels, rearrange); in remap_init_test_channels()
289 unsigned in_channels, in remap_init2_test_channels() argument
[all …]
/third_party/ffmpeg/libavresample/x86/
Daudio_mix.asm236 %assign in_channels %1
246 %assign matrix_elements in_channels * out_channels
272 %if ARCH_X86_32 && in_channels >= 7
276 cglobal mix_%1_to_%2_%3_flt, 3,in_channels+2,needed_mmregs+matrix_elements_mm, needed_stack_size, s…
279 %if matrix_elements_stack > 0 && ARCH_X86_32 && in_channels >= 7
296 %rep in_channels
309 %rep in_channels
310 %if in_channels + %%i >= matrix_elements_mm
312 CAT_XDEFINE mx_1_, %%i, [rsp+(in_channels+%%i-matrix_elements_mm)*mmsize]
324 %rep in_channels
[all …]
/third_party/ffmpeg/libavresample/tests/
Davresample.c203 int in_channels; in main() local
261 in_channels = av_get_channel_layout_nb_channels(in_ch_layout); in main()
266 in_channels, in_rate * 6, in main()
272 audiogen(&rnd, (void **)in_data, in_fmt, in_channels, in_rate, in_rate * 6); in main()
284 in_channels, out_channels, in_rate, out_rate); in main()
/third_party/ffmpeg/tools/python/
Dconvert_from_tensorflow.py176 in_channels = ktensor.tensor_shape.dim[2].size
179 kernel = kernel.reshape(filter_height, filter_width, in_channels, out_channels)
183 …p2code[node.op], dilation, padding, self.conv_activations[activation], in_channels, out_channels, …
227 in_channels = ktensor.tensor_shape.dim[0].size
229 if in_channels * out_channels == 1:
233 kernel = kernel.reshape(in_channels, out_channels)
236 …np.array([self.op2code[node.op], self.conv_activations[activation], in_channels, out_channels, has…
271 in_channels = ktensor.tensor_shape.dim[2].size
273 if filter_height * filter_width * in_channels * out_channels == 1:
277 kernel = kernel.reshape(filter_height, filter_width, in_channels, out_channels)
[all …]
/third_party/ffmpeg/libavfilter/
Daf_headphone.c152 const int in_channels = in->channels; in headphone_convolute() local
161 for (l = 0; l < in_channels; l++) { in headphone_convolute()
169 for (l = 0; l < in_channels; l++) { in headphone_convolute()
173 for (l = 0; l < in_channels; cur_ir += air_len, l++) { in headphone_convolute()
199 src += in_channels; in headphone_convolute()
221 const int in_channels = in->channels; in headphone_fast_convolute() local
250 for (i = 0; i < in_channels; i++) { in headphone_fast_convolute()
253 dst[2 * j] += src[i + j * in_channels] * s->gain_lfe; in headphone_fast_convolute()
264 fft_in[j].re = src[j * in_channels + i]; in headphone_fast_convolute()
Daf_sofalizer.c358 const int in_channels = s->n_conv; /* number of input channels */ in sofalizer_convolute() local
371 for (l = 0; l < in_channels; l++) { in sofalizer_convolute()
381 for (l = 0; l < in_channels; l++) { in sofalizer_convolute()
388 for (l = 0; l < in_channels; l++) { in sofalizer_convolute()
395 for (l = 0; l < in_channels; l++) { in sofalizer_convolute()
431 src += in_channels; in sofalizer_convolute()
454 const int in_channels = s->n_conv; /* number of input channels */ in sofalizer_fast_convolute() local
500 dst[2 * j] += src[i + j * in_channels] * s->gain_lfe; in sofalizer_fast_convolute()
522 fft_in[j].re = src[j * in_channels + i]; in sofalizer_fast_convolute()
Davfiltergraph.c953 int in_channels = av_get_channel_layout_nb_channels(in_chlayout); in swap_channel_layouts_on_filter() local
955 int count_diff = out_channels - in_channels; in swap_channel_layouts_on_filter()
965 in_channels = FF_LAYOUT2COUNT(in_chlayout); in swap_channel_layouts_on_filter()
968 score -= 10000 + FFABS(out_channels - in_channels) + in swap_channel_layouts_on_filter()
969 (in_channels > out_channels ? 10000 : 0); in swap_channel_layouts_on_filter()
/third_party/ffmpeg/libavcodec/
Dac3dsp.c312 if (c->in_channels != in_ch || c->out_channels != out_ch) { in ff_ac3dsp_downmix_fixed()
313 c->in_channels = in_ch; in ff_ac3dsp_downmix_fixed()
339 if (c->in_channels != in_ch || c->out_channels != out_ch) { in ff_ac3dsp_downmix()
342 c->in_channels = in_ch; in ff_ac3dsp_downmix()
378 c->in_channels = 0; in ff_ac3dsp_init()
Dac3dsp.h103 int in_channels; member
/third_party/gstreamer/gstplugins_bad/ext/fdkaac/
Dgstfdkaacenc.c266 gint in_channels = GST_AUDIO_INFO_CHANNELS (info); in gst_fdkaacenc_set_format() local
272 gst_audio_channel_positions_to_mask (in_positions, in_channels, FALSE, in gst_fdkaacenc_set_format()
280 if (channels != in_channels) in gst_fdkaacenc_set_format()
/third_party/gstreamer/gstplugins_bad/ext/lv2/
Dgstlv2filter.c248 gint in_channels = 1, out_channels = 1; in gst_lv2_filter_type_class_add_pad_templates() local
250 in_channels = klass->lv2.in_group.ports->len; in gst_lv2_filter_type_class_add_pad_templates()
257 "channels", G_TYPE_INT, in_channels, in gst_lv2_filter_type_class_add_pad_templates()
/third_party/skia/third_party/externals/oboe/apps/OboeTester/docs/
DAutomatedTesting.md64 --ei in_channels {samples} // number of input channels, default is 2
92 --ei in_channels 2 \
/third_party/alsa-lib/src/pcm/
Dpcm_ladspa.c615 unsigned int in_channels; in snd_pcm_ladspa_allocate_instances() local
621 in_channels = ladspa->channels > 0 ? ladspa->channels : in snd_pcm_ladspa_allocate_instances()
631 count = in_channels; in snd_pcm_ladspa_allocate_instances()

12