Home
last modified time | relevance | path

Searched refs:nb_ch (Results 1 - 3 of 3) sorted by relevance

/third_party/ffmpeg/libavfilter/
H A Daf_amerge.c43 int nb_ch; /**< number of channels for the input */ member
79 int i, ret, overlap = 0, nb_ch = 0; in query_formats() local
94 s->in[i].nb_ch = FF_LAYOUT2COUNT(inlayout[i]); in query_formats()
95 if (s->in[i].nb_ch) { in query_formats()
98 s->in[i].nb_ch = inlayout[i]->nb_channels; in query_formats()
104 nb_ch += s->in[i].nb_ch; in query_formats()
106 if (nb_ch > SWR_CH_MAX) { in query_formats()
114 for (i = 0; i < nb_ch; i++) in query_formats()
116 av_channel_layout_default(&outlayout, nb_ch); in query_formats()
196 int i, c, nb_ch = 0; copy_samples() local
[all...]
H A Daf_join.c249 int nb_ch; member
256 (chl->nb_ch - idx - 1) * sizeof(*chl->ch)); in channel_list_pop()
257 chl->nb_ch--; in channel_list_pop()
267 for (int i = 0; i < chl->nb_ch; i++) in channel_list_pop_ch()
293 if (inputs[i].nb_ch) { in guess_map_any()
319 iu->nb_ch = chl->nb_channels; in join_config_output()
320 iu->ch = av_malloc_array(iu->nb_ch, sizeof(*iu->ch)); in join_config_output()
326 for (int ch_idx = 0; ch_idx < iu->nb_ch; ch_idx++) { in join_config_output()
331 iu->nb_ch = 0; in join_config_output()
426 if (inputs_unused[i].nb_ch in join_config_output()
[all...]
/third_party/ffmpeg/libavutil/tests/
H A Daudio_fifo.c31 const int nb_ch; member
41 {.format = AV_SAMPLE_FMT_U8 , .nb_ch = 1, .data_planes = {data_U8 , }, .nb_samples_pch = 12},
42 {.format = AV_SAMPLE_FMT_U8P , .nb_ch = 2, .data_planes = {data_U8 , data_U8 +6, }, .nb_samples_pch = 6 },
43 {.format = AV_SAMPLE_FMT_S16 , .nb_ch = 1, .data_planes = {data_S16, }, .nb_samples_pch = 12},
44 {.format = AV_SAMPLE_FMT_S16P , .nb_ch = 2, .data_planes = {data_S16, data_S16+6, }, .nb_samples_pch = 6 },
45 {.format = AV_SAMPLE_FMT_FLT , .nb_ch = 1, .data_planes = {data_FLT, }, .nb_samples_pch = 12},
46 {.format = AV_SAMPLE_FMT_FLTP , .nb_ch = 2, .data_planes = {data_FLT, data_FLT+6, }, .nb_samples_pch = 6 }
69 ? test_sample->nb_ch : 1; in print_audio_bytes()
71 : nb_samples * byte_offset * test_sample->nb_ch; in print_audio_bytes()
131 AVAudioFifo *afifo = av_audio_fifo_alloc(test_sample->format, test_sample->nb_ch, in test_function()
[all...]

Completed in 4 milliseconds