Home
last modified time | relevance | path

Searched refs:out_layout (Results 1 - 8 of 8) sorted by relevance

/third_party/ffmpeg/libavresample/
H A Daudio_mix_matrix.c87 int avresample_build_matrix(uint64_t in_layout, uint64_t out_layout, in avresample_build_matrix() argument
99 if ((out_layout & AV_CH_LAYOUT_STEREO_DOWNMIX) == AV_CH_LAYOUT_STEREO_DOWNMIX) { in avresample_build_matrix()
100 out_layout = AV_CH_LAYOUT_STEREO; in avresample_build_matrix()
103 unaccounted = in_layout & ~out_layout; in avresample_build_matrix()
106 out_channels = av_get_channel_layout_nb_channels(out_layout); in avresample_build_matrix()
113 if (!out_layout || out_channels > AVRESAMPLE_MAX_CHANNELS) in avresample_build_matrix()
117 if (!sane_layout(in_layout) || !sane_layout(out_layout)) in avresample_build_matrix()
122 if (in_layout & out_layout & (1ULL << i)) in avresample_build_matrix()
128 if ((out_layout & AV_CH_LAYOUT_STEREO) == AV_CH_LAYOUT_STEREO) { in avresample_build_matrix()
141 if (out_layout in avresample_build_matrix()
[all...]
H A Davresample.h271 * @param out_layout output channel layout
286 int avresample_build_matrix(uint64_t in_layout, uint64_t out_layout,
H A Daudio_mix.c38 uint64_t out_layout; member
362 am->out_layout = avr->out_channel_layout; in ff_audio_mix_alloc()
723 am->out_channels, am->out_layout); in ff_audio_mix_set_matrix()
/third_party/ffmpeg/libavfilter/
H A Daf_aresample.c68 AVChannelLayout out_layout = { 0 }; in query_formats() local
114 av_opt_get_chlayout(aresample->swr, "ochl", 0, &out_layout); in query_formats()
115 if (av_channel_layout_check(&out_layout)) { in query_formats()
116 const AVChannelLayout layout_list[] = { out_layout, { 0 } }; in query_formats()
120 av_channel_layout_uninit(&out_layout); in query_formats()
132 AVChannelLayout out_layout = { 0 }; in config_output() local
149 av_opt_get_chlayout(aresample->swr, "ochl", 0, &out_layout); in config_output()
154 av_assert0(!av_channel_layout_compare(&outlink->ch_layout, &out_layout)); in config_output()
157 av_channel_layout_uninit(&out_layout); in config_output()
H A Daf_virtualbass.c53 AVFilterChannelLayouts *in_layout = NULL, *out_layout = NULL; in query_formats() local
61 (ret = ff_add_channel_layout (&out_layout, &(AVChannelLayout)AV_CHANNEL_LAYOUT_2POINT1)) < 0 || in query_formats()
62 (ret = ff_channel_layouts_ref(out_layout, &ctx->outputs[0]->incfg.channel_layouts)) < 0) in query_formats()
H A Daf_dialoguenhance.c70 AVFilterChannelLayouts *in_layout = NULL, *out_layout = NULL; in query_formats() local
77 (ret = ff_add_channel_layout (&out_layout , &(AVChannelLayout)AV_CHANNEL_LAYOUT_SURROUND)) < 0 || in query_formats()
78 (ret = ff_channel_layouts_ref(out_layout, &ctx->outputs[0]->incfg.channel_layouts)) < 0) in query_formats()
/third_party/ffmpeg/libswresample/
H A Dswresample.h411 * @param out_layout output channel layout
428 int swr_build_matrix(uint64_t in_layout, uint64_t out_layout,
444 * @param out_layout output channel layout
459 int swr_build_matrix2(const AVChannelLayout *in_layout, const AVChannelLayout *out_layout,
H A Drematrix.c168 av_cold int swr_build_matrix2(const AVChannelLayout *in_layout, const AVChannelLayout *out_layout, in swr_build_matrix2() argument
182 ret |= clean_layout(&out_ch_layout, out_layout, log_context); in swr_build_matrix2()

Completed in 7 milliseconds