Home
last modified time | relevance | path

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

/third_party/ffmpeg/libswresample/
Drematrix.c127 int64_t unaccounted, in_ch_layout, out_ch_layout; in swr_build_matrix() local
131 in_ch_layout = clean_layout(log_context, in_ch_layout_param); in swr_build_matrix()
135 && (in_ch_layout & AV_CH_LAYOUT_STEREO_DOWNMIX) == 0 in swr_build_matrix()
139 if( in_ch_layout == AV_CH_LAYOUT_STEREO_DOWNMIX in swr_build_matrix()
142 in_ch_layout = AV_CH_LAYOUT_STEREO; in swr_build_matrix()
144 if (in_ch_layout == AV_CH_LAYOUT_22POINT2 && in swr_build_matrix()
146 in_ch_layout = (AV_CH_LAYOUT_7POINT1_WIDE_BACK|AV_CH_BACK_CENTER); in swr_build_matrix()
147 av_get_channel_layout_string(buf, sizeof(buf), -1, in_ch_layout); in swr_build_matrix()
154 if(!sane_layout(in_ch_layout)){ in swr_build_matrix()
167 if(in_ch_layout & out_ch_layout & (1ULL<<i)) in swr_build_matrix()
[all …]
Dswresample.c61 … int64_t in_ch_layout, enum AVSampleFormat in_sample_fmt, int in_sample_rate, in swr_alloc_set_opts() argument
78 if (av_opt_set_int(s, "icl", in_ch_layout, 0) < 0) in swr_alloc_set_opts()
179 s-> in_ch_layout = s-> user_in_ch_layout; in swr_init()
186 if(av_get_channel_layout_nb_channels(s-> in_ch_layout) > SWR_CH_MAX) { in swr_init()
187 …AV_LOG_WARNING, "Input channel layout 0x%"PRIx64" is invalid or unsupported.\n", s-> in_ch_layout); in swr_init()
188 s->in_ch_layout = 0; in swr_init()
209 …if(s->used_ch_count && s-> in_ch_layout && s->used_ch_count != av_get_channel_layout_nb_channels(s… in swr_init()
211 s-> in_ch_layout= 0; in swr_init()
214 if(!s-> in_ch_layout) in swr_init()
215 s-> in_ch_layout= av_get_default_channel_layout(s->used_ch_count); in swr_init()
[all …]
Drematrix_template.c91 … s->out_ch_layout == AV_CH_LAYOUT_STEREO && (s->in_ch_layout == AV_CH_LAYOUT_5POINT1 || s->in_ch_… in RENAME()
97 if( s->out_ch_layout == AV_CH_LAYOUT_STEREO && s->in_ch_layout == AV_CH_LAYOUT_7POINT1 in RENAME()
Dswresample.h252 … int64_t in_ch_layout, enum AVSampleFormat in_sample_fmt, int in_sample_rate,
Dswresample_frame.c60 if (s->in_ch_layout != in->channel_layout || in config_changed()
Dswresample_internal.h102 int64_t in_ch_layout; ///< input channel layout member
/third_party/ffmpeg/libswresample/tests/
Dswresample.c227 uint64_t in_ch_layout, out_ch_layout; in main() local
284in_ch_layout = layouts[vector % FF_ARRAY_ELEMS(layouts)]; vector /= FF_ARRAY_ELEMS(layouts); in main()
292 if(out_sample_rate != in_sample_rate || in_ch_layout != out_ch_layout) in main()
296 in_ch_count= av_get_channel_layout_nb_channels(in_ch_layout); in main()
298 …t_channel_layout_string( in_layout_string, sizeof( in_layout_string), in_ch_count, in_ch_layout); in main()
305 in_ch_layout, in_sample_fmt, in_sample_rate, in main()
307 …backw_ctx = swr_alloc_set_opts(backw_ctx, in_ch_layout, in_sample_fmt, in_sample_rate, in main()
/third_party/ffmpeg/libavresample/tests/
Davresample.c202 uint64_t in_ch_layout; in main() local
260 in_ch_layout = layouts[k]; in main()
261 in_channels = av_get_channel_layout_nb_channels(in_ch_layout); in main()
294 av_opt_set_int(s, "in_channel_layout", in_ch_layout, 0); in main()