FFmpeg
|
Go to the source code of this file.
Data Structures | |
struct | AVChannelCustom |
An AVChannelCustom defines a single channel within a custom order layout. More... | |
struct | AVChannelLayout |
An AVChannelLayout holds information about the channel layout of audio data. More... | |
Functions | |
int | av_channel_name (char *buf, size_t buf_size, enum AVChannel channel) |
Get a human readable string in an abbreviated form describing a given channel. More... | |
void | av_channel_name_bprint (struct AVBPrint *bp, enum AVChannel channel_id) |
bprint variant of av_channel_name(). More... | |
int | av_channel_description (char *buf, size_t buf_size, enum AVChannel channel) |
Get a human readable string describing a given channel. More... | |
void | av_channel_description_bprint (struct AVBPrint *bp, enum AVChannel channel_id) |
bprint variant of av_channel_description(). More... | |
enum AVChannel | av_channel_from_string (const char *name) |
This is the inverse function of av_channel_name(). More... | |
int | av_channel_layout_custom_init (AVChannelLayout *channel_layout, int nb_channels) |
Initialize a custom channel layout with the specified number of channels. More... | |
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. More... | |
int | av_channel_layout_from_string (AVChannelLayout *channel_layout, const char *str) |
Initialize a channel layout from a given string description. More... | |
void | av_channel_layout_default (AVChannelLayout *ch_layout, int nb_channels) |
Get the default channel layout for a given number of channels. More... | |
const AVChannelLayout * | av_channel_layout_standard (void **opaque) |
Iterate over all standard channel layouts. More... | |
void | av_channel_layout_uninit (AVChannelLayout *channel_layout) |
Free any allocated data in the channel layout and reset the channel count to 0. More... | |
int | av_channel_layout_copy (AVChannelLayout *dst, const AVChannelLayout *src) |
Make a copy of a channel layout. More... | |
int | av_channel_layout_describe (const AVChannelLayout *channel_layout, char *buf, size_t buf_size) |
Get a human-readable string describing the channel layout properties. More... | |
int | av_channel_layout_describe_bprint (const AVChannelLayout *channel_layout, struct AVBPrint *bp) |
bprint variant of av_channel_layout_describe(). More... | |
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. More... | |
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. More... | |
int | av_channel_layout_index_from_string (const AVChannelLayout *channel_layout, const char *name) |
Get the index in a channel layout of a channel described by the given string. More... | |
enum AVChannel | av_channel_layout_channel_from_string (const AVChannelLayout *channel_layout, const char *name) |
Get a channel described by the given string. More... | |
uint64_t | av_channel_layout_subset (const AVChannelLayout *channel_layout, uint64_t mask) |
Find out what channels from a given set are present in a channel layout, without regard for their positions. More... | |
int | av_channel_layout_check (const AVChannelLayout *channel_layout) |
Check whether a channel layout is valid, i.e. More... | |
int | av_channel_layout_compare (const AVChannelLayout *chl, const AVChannelLayout *chl1) |
Check whether two channel layouts are semantically the same, i.e. More... | |
int | av_channel_layout_ambisonic_order (const AVChannelLayout *channel_layout) |
Return the order if the layout is n-th order standard-order ambisonic. More... | |
int | av_channel_layout_retype (AVChannelLayout *channel_layout, enum AVChannelOrder order, int flags) |
Change the AVChannelOrder of a channel layout. More... | |
Public libavutil channel layout APIs header.
Definition in file channel_layout.h.