Lines Matching defs:layout
23 * audio channel layout utility functions
170 AVChannelLayout layout;
211 int64_t layout;
216 return channel_layout_map[i].layout.u.mask;
231 layout = strtoll(name, &end, 0);
233 return FFMAX(layout, 0);
241 int64_t layout = 0, layout_single;
248 layout |= layout_single;
250 return layout;
257 uint64_t layout = av_get_channel_layout(name);
259 if (layout) {
260 *channel_layout = layout;
261 *nb_channels = av_get_channel_layout_nb_channels(layout);
284 if (nb_channels == channel_layout_map[i].layout.nb_channels &&
285 channel_layout == channel_layout_map[i].layout.u.mask) {
326 if (nb_channels == channel_layout_map[i].layout.nb_channels)
327 return channel_layout_map[i].layout.u.mask;
377 int av_get_standard_channel_layout(unsigned index, uint64_t *layout,
382 if (layout) *layout = channel_layout_map[index].layout.u.mask;
412 /* channel layout names */
415 *channel_layout = channel_layout_map[i].layout;
502 native = 0; // Not a native layout, use a custom one
525 native = 0; // Not a native layout, use a custom one
528 native = 0; // Not a native layout, use a custom one
546 /* custom layout of channel names */
603 /* channel layout mask */
651 * If the layout is n-th order standard-order ambisonic, with optional
694 * If the custom layout is n-th order standard-order ambisonic, with optional
738 if (channel_layout->u.mask == channel_layout_map[i].layout.u.mask) {
964 if (nb_channels == channel_layout_map[i].layout.nb_channels) {
965 *ch_layout = channel_layout_map[i].layout;
979 ch_layout = &channel_layout_map[i].layout;