FFmpeg
Loading...
Searching...
No Matches
AVFilterChannelLayouts Struct Reference

A list of supported channel layouts. More...

#include <formats.h>

Data Fields

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

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

◆ channel_layouts

AVChannelLayout* AVFilterChannelLayouts::channel_layouts

◆ nb_channel_layouts

int AVFilterChannelLayouts::nb_channel_layouts

◆ all_layouts

char AVFilterChannelLayouts::all_layouts

◆ all_counts

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_formats_check_channel_layouts(), pick_format(), and reduce_formats_on_filter().

◆ refcount

unsigned AVFilterChannelLayouts::refcount

number of references to this list

Definition at line 91 of file formats.h.

Referenced by query_formats().

◆ refs

struct AVFilterChannelLayouts*** AVFilterChannelLayouts::refs

references to this list

Definition at line 92 of file formats.h.


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