Searched refs:out_ch_layout (Results 1 – 8 of 8) sorted by relevance
/third_party/ffmpeg/libswresample/ |
D | rematrix.c | 127 int64_t unaccounted, in_ch_layout, out_ch_layout; in swr_build_matrix() local 132 out_ch_layout = clean_layout(log_context, out_ch_layout_param); in swr_build_matrix() 134 if( out_ch_layout == AV_CH_LAYOUT_STEREO_DOWNMIX in swr_build_matrix() 137 out_ch_layout = AV_CH_LAYOUT_STEREO; in swr_build_matrix() 140 && (out_ch_layout & AV_CH_LAYOUT_STEREO_DOWNMIX) == 0 in swr_build_matrix() 145 out_ch_layout != AV_CH_LAYOUT_22POINT2) { in swr_build_matrix() 160 if(!sane_layout(out_ch_layout)){ in swr_build_matrix() 167 if(in_ch_layout & out_ch_layout & (1ULL<<i)) in swr_build_matrix() 171 unaccounted= in_ch_layout & ~out_ch_layout; in swr_build_matrix() 178 if((out_ch_layout & AV_CH_LAYOUT_STEREO) == AV_CH_LAYOUT_STEREO){ in swr_build_matrix() [all …]
|
D | swresample.c | 60 … int64_t out_ch_layout, enum AVSampleFormat out_sample_fmt, int out_sample_rate, in swr_alloc_set_opts() argument 69 if (av_opt_set_int(s, "ocl", out_ch_layout, 0) < 0) in swr_alloc_set_opts() 180 s->out_ch_layout = s->user_out_ch_layout; in swr_init() 191 if(av_get_channel_layout_nb_channels(s->out_ch_layout) > SWR_CH_MAX) { in swr_init() 192 …V_LOG_WARNING, "Output channel layout 0x%"PRIx64" is invalid or unsupported.\n", s->out_ch_layout); in swr_init() 193 s->out_ch_layout = 0; in swr_init() 216 if(!s->out_ch_layout) in swr_init() 217 s->out_ch_layout= av_get_default_channel_layout(s->out.ch_count); in swr_init() 219 s->rematrix= s->out_ch_layout !=s->in_ch_layout || s->rematrix_volume!=1.0 || in swr_init() 298 s->out.ch_count= av_get_channel_layout_nb_channels(s->out_ch_layout); in swr_init() [all …]
|
D | rematrix_template.c | 91 …if( s->out_ch_layout == AV_CH_LAYOUT_STEREO && (s->in_ch_layout == AV_CH_LAYOUT_5POINT1 || s->in… in RENAME() 97 if( s->out_ch_layout == AV_CH_LAYOUT_STEREO && s->in_ch_layout == AV_CH_LAYOUT_7POINT1 in RENAME()
|
D | swresample.h | 251 … int64_t out_ch_layout, enum AVSampleFormat out_sample_fmt, int out_sample_rate,
|
D | swresample_frame.c | 68 if (s->out_ch_layout != out->channel_layout || in config_changed()
|
D | swresample_internal.h | 103 int64_t out_ch_layout; ///< output channel layout member
|
/third_party/ffmpeg/libswresample/tests/ |
D | swresample.c | 227 uint64_t in_ch_layout, out_ch_layout; in main() local 285 … out_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() 297 out_ch_count= av_get_channel_layout_nb_channels(out_ch_layout); in main() 299 …t_channel_layout_string(out_layout_string, sizeof(out_layout_string), out_ch_count, out_ch_layout); in main() 304 forw_ctx = swr_alloc_set_opts(forw_ctx, out_ch_layout, out_sample_fmt, out_sample_rate, in main() 308 out_ch_layout, out_sample_fmt, out_sample_rate, in main()
|
/third_party/ffmpeg/libavresample/tests/ |
D | avresample.c | 206 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()
|