/third_party/ffmpeg/libavresample/ |
H A D | audio_mix.c | 40 int out_channels; member 63 int out_channels, int ptr_align, int samples_align, in ff_audio_mix_set_func() 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 in ff_audio_mix_alloc() 61 ff_audio_mix_set_func(AudioMix *am, enum AVSampleFormat fmt, enum AVMixCoeffType coeff_type, int in_channels, int out_channels, int ptr_align, int samples_align, const char *descr, void *mix_func) ff_audio_mix_set_func() argument [all...] |
H A D | utils.c | 52 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() 640 int in_channels, out_channels, i, o; avresample_get_matrix() local 669 int in_channels, out_channels, i, o; avresample_set_matrix() local [all...] |
H A D | audio_mix_matrix.c | 97 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()
|
H A D | audio_mix.h | 48 * @param out_channels number of output channels, or 0 for any number of channels 56 int out_channels, int ptr_align, int samples_align,
|
H A D | internal.h | 78 int out_channels; /**< number of output channels */ member
|
/third_party/pulseaudio/src/tests/ |
H A D | cpu-remap-test.c | 203 unsigned out_channels, in setup_remap_channels() 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() 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() 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, rearrang in remap_init2_test_channels() 199 setup_remap_channels( pa_remap_t *m, pa_sample_format_t f, unsigned in_channels, unsigned out_channels, bool rearrange) setup_remap_channels() argument 268 remap_init_test_channels( pa_init_remap_func_t init_func, pa_init_remap_func_t orig_init_func, pa_sample_format_t f, unsigned in_channels, unsigned out_channels, bool rearrange) remap_init_test_channels() argument 287 remap_init2_test_channels( pa_sample_format_t f, unsigned in_channels, unsigned out_channels, bool rearrange) remap_init2_test_channels() argument [all...] |
/third_party/ffmpeg/libavresample/tests/ |
H A D | avresample.c | 207 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/ |
H A D | ac3dec.c | 1442 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 in ac3_decode_frame() [all...] |
H A D | ac3dsp.c | 320 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()
|
H A D | ac3dsp.h | 102 int out_channels; member
|
H A D | ac3dec.h | 171 int out_channels; ///< number of output channels member
|
/third_party/ffmpeg/tools/python/ |
H A D | convert_from_tensorflow.py | 178 out_channels = ktensor.tensor_shape.dim[3].size 180 kernel = kernel.reshape(filter_height, filter_width, in_channels, out_channels) 184 np.array([self.op2code[node.op], dilation, padding, self.conv_activations[activation], in_channels, out_channels, filter_height, has_bias], dtype=np.uint32).tofile(f) 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 np.array([self.op2code[node.op], self.conv_activations[activation], in_channels, out_channels, has_bias], dtype=np.uint32).tofile(f) 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/x86/ |
H A D | ac3dsp_downmix.asm | 39 %assign out_channels %2 40 %assign stereo out_channels - 1 43 %assign matrix_elements in_channels * out_channels
|
H A D | ac3dsp_init.c | 76 if (c->out_channels == 1) \ in DOWNMIX_FUNCS()
|
/third_party/ffmpeg/libavresample/x86/ |
H A D | audio_mix.asm | 237 %assign out_channels %2 238 %assign stereo out_channels - 1 246 %assign matrix_elements in_channels * out_channels
|
/third_party/ffmpeg/libavfilter/ |
H A D | avfiltergraph.c | 897 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()
|