Home
last modified time | relevance | path

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

12

/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Daudio-channel-mixer.c63 gint out_channels; member
109 gint in_channels, GstAudioChannelPosition * in_position, gint out_channels, in gst_audio_channel_mixer_fill_identical() argument
117 for (co = 0; co < out_channels; co++) { in gst_audio_channel_mixer_fill_identical()
139 GstAudioChannelPosition * in_position, gint out_channels, in gst_audio_channel_mixer_fill_compatible() argument
181 for (n = 0; n < out_channels; n++) { in gst_audio_channel_mixer_fill_compatible()
369 GstAudioChannelPosition * in_position, gint out_channels, in gst_audio_channel_mixer_fill_others() argument
399 gst_audio_channel_mixer_detect_pos (out_channels, out_position, in gst_audio_channel_mixer_fill_others()
570 gint out_channels) in gst_audio_channel_mixer_fill_normalize() argument
575 for (j = 0; j < out_channels; j++) { in gst_audio_channel_mixer_fill_normalize()
590 for (j = 0; j < out_channels; j++) { in gst_audio_channel_mixer_fill_normalize()
[all …]
Daudio-channel-mixer.h54 gint out_channels,
61 gint out_channels,
Daudio-converter.c763 check_mix_matrix (guint in_channels, guint out_channels, const GValue * value) in check_mix_matrix() argument
771 if (gst_value_array_get_size (value) != out_channels) { in check_mix_matrix()
772 GST_ERROR ("Invalid mix matrix size, should be %d", out_channels); in check_mix_matrix()
776 for (j = 0; j < out_channels; j++) { in check_mix_matrix()
802 mix_matrix_from_g_value (guint in_channels, guint out_channels, in mix_matrix_from_g_value() argument
809 matrix[i] = g_new (gfloat, out_channels); in mix_matrix_from_g_value()
811 for (j = 0; j < out_channels; j++) { in mix_matrix_from_g_value()
/third_party/ffmpeg/libavresample/
Daudio_mix.c40 int out_channels; member
63 int out_channels, int ptr_align, int samples_align, in ff_audio_mix_set_func() argument
68 (out_channels == am->out_matrix_channels || out_channels == 0)) { in ff_audio_mix_set_func()
81 if (out_channels) in ff_audio_mix_set_func()
83 in_channels, out_channels); in ff_audio_mix_set_func()
87 } else if (out_channels) { in ff_audio_mix_set_func()
89 out_channels); in ff_audio_mix_set_func()
335 am->out_channels); in mix_function_init()
364 am->out_channels = avr->out_channels; in ff_audio_mix_alloc()
373 double *matrix_dbl = av_mallocz(avr->out_channels * avr->in_channels * in ff_audio_mix_alloc()
[all …]
Dutils.c52 avr->out_channels = av_get_channel_layout_nb_channels(avr->out_channel_layout); in avresample_open()
53 if (avr->out_channels <= 0 || avr->out_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()
108 !ff_sample_fmt_is_planar(avr->out_sample_fmt, avr->out_channels)) { in avresample_open()
117 !ff_sample_fmt_is_planar(avr->out_sample_fmt, avr->out_channels); in avresample_open()
177 avr->in_buffer = ff_audio_data_alloc(FFMAX(avr->in_channels, avr->out_channels), in avresample_open()
186 avr->resample_out_buffer = ff_audio_data_alloc(avr->out_channels, in avresample_open()
195 avr->out_buffer = ff_audio_data_alloc(avr->out_channels, 0, in avresample_open()
[all …]
Daudio_mix_matrix.c97 int in_channels, out_channels; in avresample_build_matrix() local
106 out_channels = av_get_channel_layout_nb_channels(out_layout); in avresample_build_matrix()
108 memset(matrix_out, 0, out_channels * stride * sizeof(*matrix_out)); in avresample_build_matrix()
113 if (!out_layout || out_channels > AVRESAMPLE_MAX_CHANNELS) in avresample_build_matrix()
273 for (out_i = i = 0; out_i < out_channels && i < 64; i++) { in avresample_build_matrix()
288 for (i = 0; i < out_channels; i++) in avresample_build_matrix()
Daudio_mix.h56 int out_channels, int ptr_align, int samples_align,
Dinternal.h78 int out_channels; /**< number of output channels */ member
/third_party/gstreamer/gstplugins_bad/gst/audiomixmatrix/
Dgstaudiomixmatrix.c229 self->out_channels = 0; in gst_audio_mix_matrix_init()
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()
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()
302 self->out_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()
315 g_return_if_fail (gst_value_array_get_size (value) == self->out_channels); in gst_audio_mix_matrix_set_property()
316 for (out = 0; out < self->out_channels; out++) { in gst_audio_mix_matrix_set_property()
356 g_value_set_uint (value, self->out_channels); in gst_audio_mix_matrix_get_property()
[all …]
Dgstaudiomixmatrix.h57 guint out_channels; member
/third_party/pulseaudio/src/tests/
Dcpu-remap-test.c203 unsigned out_channels, in setup_remap_channels() argument
210 m->o_ss.channels = out_channels; in setup_remap_channels()
213 for (o = 0; o < out_channels; o++) { in setup_remap_channels()
220 for (o = 0; o < out_channels; o++) { in setup_remap_channels()
273 unsigned out_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()
290 unsigned out_channels, in remap_init2_test_channels() argument
298 setup_remap_channels(&remap_orig, f, in_channels, out_channels, rearrange); in remap_init2_test_channels()
303 setup_remap_channels(&remap_func, f, in_channels, out_channels, rearrange); in remap_init2_test_channels()
/third_party/ffmpeg/tools/python/
Dconvert_from_tensorflow.py177 out_channels = ktensor.tensor_shape.dim[3].size
179 kernel = kernel.reshape(filter_height, filter_width, in_channels, out_channels)
183 …], dilation, padding, self.conv_activations[activation], in_channels, out_channels, filter_height,…
228 out_channels = ktensor.tensor_shape.dim[1].size
229 if in_channels * out_channels == 1:
233 kernel = kernel.reshape(in_channels, out_channels)
236 …elf.op2code[node.op], self.conv_activations[activation], in_channels, out_channels, has_bias], dty…
272 out_channels = ktensor.tensor_shape.dim[3].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/libavcodec/
Dac3dec.c1425 downmix_output = s->channels != s->out_channels && in decode_audio_block()
1427 s->fbw_channels == s->out_channels); in decode_audio_block()
1441 s->out_channels, s->fbw_channels, 256); in decode_audio_block()
1444 s->out_channels, s->fbw_channels, 256); in decode_audio_block()
1450 s->out_channels, s->fbw_channels, 256); in decode_audio_block()
1456 s->out_channels, s->fbw_channels, 128); in decode_audio_block()
1459 do_imdct(s, s->out_channels, offset); in decode_audio_block()
1587 if (!err || (s->channels && s->out_channels != s->channels)) { in ac3_decode_frame()
1588 s->out_channels = s->channels; in ac3_decode_frame()
1594 s->out_channels = 1; in ac3_decode_frame()
[all …]
Dac3dsp.c312 if (c->in_channels != in_ch || c->out_channels != out_ch) { in ff_ac3dsp_downmix_fixed()
314 c->out_channels = out_ch; in ff_ac3dsp_downmix_fixed()
339 if (c->in_channels != in_ch || c->out_channels != out_ch) { in ff_ac3dsp_downmix()
343 c->out_channels = out_ch; in ff_ac3dsp_downmix()
379 c->out_channels = 0; in ff_ac3dsp_init()
Dac3dsp.h102 int out_channels; member
Dac3dec.h171 int out_channels; ///< number of output channels member
/third_party/ffmpeg/libavresample/tests/
Davresample.c207 int out_channels; in main() local
278 out_channels = av_get_channel_layout_nb_channels(out_ch_layout); in main()
284 in_channels, out_channels, in_rate, out_rate); in main()
287 out_buf, out_channels, in main()
/third_party/ffmpeg/libavcodec/x86/
Dac3dsp_downmix.asm39 %assign out_channels %2
40 %assign stereo out_channels - 1
43 %assign matrix_elements in_channels * out_channels
Dac3dsp_init.c96 if (c->out_channels == 1) \ in DOWNMIX_FUNCS()
/third_party/gstreamer/gstplugins_base/gst/audiomixer/
Dgstaudiointerleave.c821 gint out_width, in_bpf, out_bpf, out_channels, channel; in gst_audio_interleave_aggregate_one_buffer() local
832 out_channels = GST_AUDIO_INFO_CHANNELS (&srcpad->info); in gst_audio_interleave_aggregate_one_buffer()
837 " from offset %u", num_frames, pad->channel, out_channels, in gst_audio_interleave_aggregate_one_buffer()
849 self->func (outdata, inmap.data + (in_offset * in_bpf), out_channels, in gst_audio_interleave_aggregate_one_buffer()
/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
252 out_channels = klass->lv2.out_group.ports->len; in gst_lv2_filter_type_class_add_pad_templates()
263 "channels", G_TYPE_INT, out_channels, in gst_lv2_filter_type_class_add_pad_templates()
/third_party/ffmpeg/libavresample/x86/
Daudio_mix.asm237 %assign out_channels %2
238 %assign stereo out_channels - 1
246 %assign matrix_elements in_channels * out_channels
/third_party/ffmpeg/libavfilter/
Davfiltergraph.c954 int out_channels = av_get_channel_layout_nb_channels(out_chlayout); in swap_channel_layouts_on_filter() local
955 int count_diff = out_channels - in_channels; in swap_channel_layouts_on_filter()
967 out_channels = FF_LAYOUT2COUNT(out_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/skia/third_party/externals/oboe/apps/OboeTester/docs/
DAutomatedTesting.md65 --ei out_channels {samples} // number of output channels, default is 2
93 --ei out_channels 2
/third_party/mindspore/patches/
D0006-remove-lite-expression-fix-double-loadso.patch615 … // < Splits filter into groups, `in_channels` and `out_channels` must be
616 … // divisible by `group`. If the group is equal to `in_channels` and `out_channels`,

12