Lines Matching refs:channel
46 // The channel orderings for each layout as specified by FFmpeg. Each value
47 // represents the index of each channel in each layout. Values of -1 mean the
48 // channel at that index is not used for that layout. For example, the left side
49 // surround sound channel in FFmpeg's 5.1 layout is in the 5th position (because
160 // Converts a channel count into a channel layout.
180 DVLOG(1) << "Unsupported channel count: " << channels;
185 int ChannelOrder(ChannelLayout layout, Channels channel) {
187 DCHECK_LT(static_cast<size_t>(channel), arraysize(kChannelOrderings[0]));
188 return kChannelOrderings[layout][channel];
256 NOTREACHED() << "Invalid channel layout provided: " << layout;