Home
last modified time | relevance | path

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

/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/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.py178 out_channels = ktensor.tensor_shape.dim[3].size
180 kernel = kernel.reshape(filter_height, filter_width, in_channels, out_channels)
184 …], dilation, padding, self.conv_activations[activation], in_channels, out_channels, filter_height,…
229 out_channels = ktensor.tensor_shape.dim[1].size
230 if in_channels * out_channels == 1:
234 kernel = kernel.reshape(in_channels, out_channels)
237 …elf.op2code[node.op], self.conv_activations[activation], in_channels, out_channels, has_bias], dty…
273 out_channels = ktensor.tensor_shape.dim[3].size
274 if filter_height * filter_width * in_channels * out_channels == 1:
278 kernel = kernel.reshape(filter_height, filter_width, in_channels, out_channels)
[all …]
/third_party/ffmpeg/libavcodec/
Dac3dsp.c320 if (c->in_channels != in_ch || c->out_channels != out_ch) { in ff_ac3dsp_downmix_fixed()
322 c->out_channels = out_ch; in ff_ac3dsp_downmix_fixed()
347 if (c->in_channels != in_ch || c->out_channels != out_ch) { in ff_ac3dsp_downmix()
351 c->out_channels = out_ch; in ff_ac3dsp_downmix()
388 c->out_channels = 0; in ff_ac3dsp_init()
Dac3dec.c1442 downmix_output = s->channels != s->out_channels && in decode_audio_block()
1444 s->fbw_channels == s->out_channels); in decode_audio_block()
1458 s->out_channels, s->fbw_channels, 256); in decode_audio_block()
1461 s->out_channels, s->fbw_channels, 256); in decode_audio_block()
1467 s->out_channels, s->fbw_channels, 256); in decode_audio_block()
1473 s->out_channels, s->fbw_channels, 128); in decode_audio_block()
1476 do_imdct(s, s->out_channels, offset); in decode_audio_block()
1604 if (!err || (s->channels && s->out_channels != s->channels)) { in ac3_decode_frame()
1605 s->out_channels = s->channels; in ac3_decode_frame()
1611 s->out_channels = 1; in ac3_decode_frame()
[all …]
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.c76 if (c->out_channels == 1) \ in DOWNMIX_FUNCS()
/third_party/ffmpeg/libavfilter/
Davfiltergraph.c897 int out_channels; in swap_channel_layouts_on_filter() local
905 out_channels = out_chlayout.nb_channels; in swap_channel_layouts_on_filter()
906 count_diff = out_channels - in_channels; in swap_channel_layouts_on_filter()
915 out_channels = FF_LAYOUT2COUNT(&out_chlayout); in swap_channel_layouts_on_filter()
916 score -= 10000 + FFABS(out_channels - in_channels) + in swap_channel_layouts_on_filter()
917 (in_channels > out_channels ? 10000 : 0); in swap_channel_layouts_on_filter()
/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/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`,