107 snprintf(buf, buf_size,
"%d channels", nb_channels);
108 if (channel_layout) {
111 for (i = 0, ch = 0; i < 64; i++) {
112 if ((channel_layout & (UINT64_C(1) << i))) {
129 uint64_t x = channel_layout;
130 for (count = 0; x; count++)
#define AV_CH_LAYOUT_7POINT1
#define AV_CH_LAYOUT_4POINT0
#define FF_ARRAY_ELEMS(a)
#define AV_CH_LAYOUT_STEREO
#define AV_CH_LAYOUT_5POINT0
static const char * get_channel_name(int channel_id)
audio conversion routines
#define AV_CH_LAYOUT_5POINT1
static const char *const channel_names[]
int av_get_channel_layout_nb_channels(uint64_t channel_layout)
Return the number of channels in the channel layout.
#define AV_CH_LAYOUT_QUAD
size_t av_strlcpy(char *dst, const char *src, size_t size)
Copy the string src to dst, but no more than size - 1 bytes, and null-terminate dst.
#define AV_CH_LAYOUT_STEREO_DOWNMIX
#define AV_CH_LAYOUT_5POINT1_BACK
static const struct @91 channel_layout_map[]
#define AV_CH_LAYOUT_5POINT0_BACK
size_t av_strlcat(char *dst, const char *src, size_t size)
Append the string src to the string dst, but to a total length of no more than size - 1 bytes...
#define AV_CH_LAYOUT_7POINT1_WIDE
uint64_t av_get_channel_layout(const char *name)
Return a channel layout id that matches name, 0 if no match.
#define AV_CH_LAYOUT_MONO
void av_get_channel_layout_string(char *buf, int buf_size, int nb_channels, uint64_t channel_layout)
Return a description of a channel layout.