Go to the source code of this file.
◆ CHANNEL_NAME
#define CHANNEL_NAME |
( |
|
x | ) |
|
◆ CHANNEL_DESCRIPTION
#define CHANNEL_DESCRIPTION |
( |
|
x | ) |
|
Value:
av_channel_description_bprint(&bp, x);
Definition at line 27 of file channel_layout.c.
◆ CHANNEL_LAYOUT_FROM_MASK
#define CHANNEL_LAYOUT_FROM_MASK |
( |
|
x | ) |
|
Value:
av_bprint_clear(&bp); \
av_channel_layout_describe_bprint(&
layout, &bp);
\
Definition at line 31 of file channel_layout.c.
◆ CHANNEL_LAYOUT_FROM_STRING
#define CHANNEL_LAYOUT_FROM_STRING |
( |
|
x | ) |
|
Value:
av_bprint_clear(&bp); \
av_channel_layout_describe_bprint(&
layout, &bp);
\
Definition at line 40 of file channel_layout.c.
◆ CHANNEL_LAYOUT_CHANNEL_FROM_INDEX
#define CHANNEL_LAYOUT_CHANNEL_FROM_INDEX |
( |
|
x | ) |
|
◆ CHANNEL_LAYOUT_SUBSET
◆ CHANNEL_LAYOUT_INDEX_FROM_CHANNEL
#define CHANNEL_LAYOUT_INDEX_FROM_CHANNEL |
( |
|
x | ) |
|
◆ CHANNEL_LAYOUT_CHANNEL_FROM_STRING
#define CHANNEL_LAYOUT_CHANNEL_FROM_STRING |
( |
|
x | ) |
|
◆ CHANNEL_LAYOUT_INDEX_FROM_STRING
#define CHANNEL_LAYOUT_INDEX_FROM_STRING |
( |
|
x | ) |
|
◆ main()
enum AVChannel av_channel_layout_channel_from_index(const AVChannelLayout *channel_layout, unsigned int idx)
Get the channel with the given index in a channel layout.
FF_ENABLE_DEPRECATION_WARNINGS int av_channel_layout_from_mask(AVChannelLayout *channel_layout, uint64_t mask)
Initialize a native channel layout from a bitmask indicating which channels are present.
int av_channel_layout_index_from_string(const AVChannelLayout *channel_layout, const char *str)
Get the index in a channel layout of a channel described by the given string.
Filter the word “frame” indicates either a video frame or a group of audio as stored in an AVFrame structure Format for each input and each output the list of supported formats For video that means pixel format For audio that means channel layout
int av_channel_layout_from_string(AVChannelLayout *channel_layout, const char *str)
Initialize a channel layout from a given string description.
int av_channel_layout_check(const AVChannelLayout *channel_layout)
Check whether a channel layout is valid, i.e.
void av_bprintf(AVBPrint *buf, const char *fmt,...)
enum AVChannel av_channel_layout_channel_from_string(const AVChannelLayout *channel_layout, const char *str)
Get a channel described by the given string.
int av_channel_layout_index_from_channel(const AVChannelLayout *channel_layout, enum AVChannel channel)
Get the index of a given channel in a channel layout.
void av_bprint_clear(AVBPrint *buf)
Reset the string to "" but keep internal allocated data.
void av_channel_layout_uninit(AVChannelLayout *channel_layout)
Free any allocated data in the channel layout and reset the channel count to 0.