Home
last modified time | relevance | path

Searched refs:out_ch_layout (Results 1 – 8 of 8) sorted by relevance

/third_party/ffmpeg/libswresample/
Drematrix.c154 AVChannelLayout in_ch_layout = { 0 }, out_ch_layout = { 0 }; in swr_build_matrix() local
158 ret |= av_channel_layout_from_mask(&out_ch_layout, out_ch_layout_param); in swr_build_matrix()
162 return swr_build_matrix2(&in_ch_layout, &out_ch_layout, center_mix_level, surround_mix_level, in swr_build_matrix()
175 AVChannelLayout in_ch_layout = { 0 }, out_ch_layout = { 0 }; in swr_build_matrix2() local
182 ret |= clean_layout(&out_ch_layout, out_layout, log_context); in swr_build_matrix2()
186 …if( !av_channel_layout_compare(&out_ch_layout, &(AVChannelLayout)AV_CHANNEL_LAYOUT_STEREO_DOWNMI… in swr_build_matrix2()
189 av_channel_layout_uninit(&out_ch_layout); in swr_build_matrix2()
190 out_ch_layout = (AVChannelLayout)AV_CHANNEL_LAYOUT_STEREO; in swr_build_matrix2()
193 && !av_channel_layout_subset(&out_ch_layout, AV_CH_LAYOUT_STEREO_DOWNMIX) in swr_build_matrix2()
199 av_channel_layout_compare(&out_ch_layout, &(AVChannelLayout)AV_CHANNEL_LAYOUT_22POINT2)) { in swr_build_matrix2()
[all …]
Dswresample.c42 … int64_t out_ch_layout, enum AVSampleFormat out_sample_fmt, int out_sample_rate, in swr_alloc_set_opts() argument
51 if (av_opt_set_int(s, "ocl", out_ch_layout, 0) < 0) in swr_alloc_set_opts()
86 … AVChannelLayout *out_ch_layout, enum AVSampleFormat out_sample_fmt, int out_sample_rate, in swr_alloc_set_opts2() argument
100 if ((ret = av_opt_set_chlayout(s, "ochl", out_ch_layout, 0)) < 0) in swr_alloc_set_opts2()
163 av_channel_layout_uninit(&s->out_ch_layout); in clear_context()
236 av_channel_layout_uninit(&s->out_ch_layout); in swr_init()
238 av_channel_layout_from_mask(&s->out_ch_layout, s->user_out_ch_layout); in swr_init()
240 s->out_ch_layout.order = AV_CHANNEL_ORDER_UNSPEC; in swr_init()
241 s->out_ch_layout.nb_channels = s->user_out_ch_count; in swr_init()
244 av_channel_layout_copy(&s->out_ch_layout, &s->user_out_chlayout); in swr_init()
[all …]
Dswresample.h261 … int64_t out_ch_layout, enum AVSampleFormat out_sample_fmt, int out_sample_rate,
289 … AVChannelLayout *out_ch_layout, enum AVSampleFormat out_sample_fmt, int out_sample_rate,
Drematrix_template.c91 if ( !av_channel_layout_compare(&s->out_ch_layout, &(AVChannelLayout)AV_CHANNEL_LAYOUT_STEREO) in RENAME()
99 if ( !av_channel_layout_compare(&s->out_ch_layout, &(AVChannelLayout)AV_CHANNEL_LAYOUT_STEREO) in RENAME()
Dswresample_frame.c121 if (av_channel_layout_compare(&s->out_ch_layout, &ch_layout) || in config_changed()
Dswresample_internal.h103 AVChannelLayout out_ch_layout; ///< output channel layout member
/third_party/ffmpeg/libswresample/tests/
Dswresample.c227 AVChannelLayout in_ch_layout = { 0 }, out_ch_layout = { 0 }; in main() local
285 …av_channel_layout_copy(&out_ch_layout, &layouts[vector % FF_ARRAY_ELEMS(layouts)]); vector /= FF_A… in main()
292 … if(out_sample_rate != in_sample_rate || av_channel_layout_compare(&in_ch_layout, &out_ch_layout)) in main()
297 out_ch_count= out_ch_layout.nb_channels; in main()
299 av_channel_layout_describe(&out_ch_layout, out_layout_string, sizeof(out_layout_string)); in main()
304 if (swr_alloc_set_opts2(&forw_ctx, &out_ch_layout, out_sample_fmt, out_sample_rate, in main()
311 &out_ch_layout, out_sample_fmt, out_sample_rate, in main()
/third_party/ffmpeg/libavresample/tests/
Davresample.c206 uint64_t out_ch_layout; in main() local
277 out_ch_layout = layouts[l]; in main()
278 out_channels = av_get_channel_layout_nb_channels(out_ch_layout); in main()
297 av_opt_set_int(s, "out_channel_layout", out_ch_layout, 0); in main()