Lines Matching defs:out_layout
87 int avresample_build_matrix(uint64_t in_layout, uint64_t out_layout,
99 if ((out_layout & AV_CH_LAYOUT_STEREO_DOWNMIX) == AV_CH_LAYOUT_STEREO_DOWNMIX) {
100 out_layout = AV_CH_LAYOUT_STEREO;
103 unaccounted = in_layout & ~out_layout;
106 out_channels = av_get_channel_layout_nb_channels(out_layout);
113 if (!out_layout || out_channels > AVRESAMPLE_MAX_CHANNELS)
117 if (!sane_layout(in_layout) || !sane_layout(out_layout))
122 if (in_layout & out_layout & (1ULL << i))
128 if ((out_layout & AV_CH_LAYOUT_STEREO) == AV_CH_LAYOUT_STEREO) {
141 if (out_layout & AV_CH_FRONT_CENTER) {
152 if (out_layout & AV_CH_BACK_LEFT) {
155 } else if (out_layout & AV_CH_SIDE_LEFT) {
158 } else if (out_layout & AV_CH_FRONT_LEFT) {
172 } else if (out_layout & AV_CH_FRONT_CENTER) {
179 if (out_layout & AV_CH_BACK_CENTER) {
182 } else if (out_layout & AV_CH_SIDE_LEFT) {
192 } else if (out_layout & AV_CH_FRONT_LEFT) {
207 } else if (out_layout & AV_CH_FRONT_CENTER) {
215 if (out_layout & AV_CH_BACK_LEFT) {
225 } else if (out_layout & AV_CH_BACK_CENTER) {
228 } else if (out_layout & AV_CH_FRONT_LEFT) {
243 } else if (out_layout & AV_CH_FRONT_CENTER) {
251 if (out_layout & AV_CH_FRONT_LEFT) {
254 } else if (out_layout & AV_CH_FRONT_CENTER) {
262 if (out_layout & AV_CH_FRONT_CENTER) {
264 } else if (out_layout & AV_CH_FRONT_LEFT) {
282 if (out_layout & (1ULL << i))