FFmpeg
Data Fields
AVFilterFormatsConfig Struct Reference

Lists of formats / etc. More...

#include <avfilter.h>

Data Fields

AVFilterFormatsformats
 List of supported formats (pixel or sample). More...
 
AVFilterFormatssamplerates
 Lists of supported sample rates, only for audio. More...
 
AVFilterChannelLayoutschannel_layouts
 Lists of supported channel layouts, only for audio. More...
 
AVFilterFormatscolor_spaces
 Lists of supported YUV color metadata, only for YUV video. More...
 
AVFilterFormatscolor_ranges
 AVColorRange. More...
 

Detailed Description

Lists of formats / etc.

supported by an end of a link.

This structure is directly part of AVFilterLink, in two copies: one for the source filter, one for the destination filter.

These lists are used for negotiating the format to actually be used, which will be loaded into the format and channel_layout members of AVFilterLink, when chosen.

Definition at line 111 of file avfilter.h.

Field Documentation

◆ formats

AVFilterFormats* AVFilterFormatsConfig::formats

List of supported formats (pixel or sample).

Definition at line 116 of file avfilter.h.

Referenced by filter_link_check_formats(), movie_query_formats(), print_formats_internal(), query_formats(), and swap_sample_fmts_on_filter().

◆ samplerates

AVFilterFormats* AVFilterFormatsConfig::samplerates

Lists of supported sample rates, only for audio.

Definition at line 121 of file avfilter.h.

Referenced by filter_link_check_formats(), movie_query_formats(), query_formats(), and swap_samplerates_on_filter().

◆ channel_layouts

AVFilterChannelLayouts* AVFilterFormatsConfig::channel_layouts

Lists of supported channel layouts, only for audio.

Definition at line 126 of file avfilter.h.

Referenced by filter_link_check_formats(), movie_query_formats(), print_formats_internal(), query_formats(), reduce_formats_on_filter(), and swap_channel_layouts_on_filter().

◆ color_spaces

AVFilterFormats* AVFilterFormatsConfig::color_spaces

Lists of supported YUV color metadata, only for YUV video.

AVColorSpace

Definition at line 131 of file avfilter.h.

Referenced by filter_link_check_formats(), movie_query_formats(), and query_formats().

◆ color_ranges

AVFilterFormats* AVFilterFormatsConfig::color_ranges

AVColorRange.

Definition at line 132 of file avfilter.h.

Referenced by filter_link_check_formats(), movie_query_formats(), and query_formats().


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