AVFilterChannelLayouts Struct Reference

A list of supported channel layouts. More...

#include <formats.h>

Collaboration diagram for AVFilterChannelLayouts:
Collaboration graph

Data Fields

uint64_t * channel_layouts
 list of channel layouts More...
 
int nb_channel_layouts
 number of channel layouts More...
 
char all_layouts
 accept any known channel layout More...
 
char all_counts
 accept any channel layout or count More...
 
unsigned refcount
 number of references to this list More...
 
struct AVFilterChannelLayouts *** refs
 references to this list More...
 

Detailed Description

A list of supported channel layouts.

The list works the same as AVFilterFormats, except for the following differences:

  • A list with all_layouts = 1 means all channel layouts with a known disposition; nb_channel_layouts must then be 0.
  • A list with all_counts = 1 means all channel counts, with a known or unknown disposition; nb_channel_layouts must then be 0 and all_layouts 1.
  • The list must not contain a layout with a known disposition and a channel count with unknown disposition with the same number of channels (e.g. AV_CH_LAYOUT_STEREO and FF_COUNT2LAYOUT(2).

Definition at line 85 of file formats.h.

Field Documentation

char AVFilterChannelLayouts::all_counts

accept any channel layout or count

Definition at line 89 of file formats.h.

Referenced by ff_all_channel_counts(), ff_merge_channel_layouts(), reduce_formats_on_filter(), and sanitize_channel_layouts().

char AVFilterChannelLayouts::all_layouts
uint64_t* AVFilterChannelLayouts::channel_layouts

list of channel layouts

Definition at line 86 of file formats.h.

Referenced by ff_merge_channel_layouts(), pick_format(), query_formats(), reduce_formats_on_filter(), and swap_channel_layouts_on_filter().

int AVFilterChannelLayouts::nb_channel_layouts
unsigned AVFilterChannelLayouts::refcount

number of references to this list

Definition at line 91 of file formats.h.

struct AVFilterChannelLayouts*** AVFilterChannelLayouts::refs

references to this list

Definition at line 92 of file formats.h.

Referenced by ff_merge_channel_layouts().


The documentation for this struct was generated from the following file: