|
FFmpeg
|
#include <inttypes.h>#include <stdio.h>#include <string.h>#include "libavutil/bprint.h"#include "libavutil/channel_layout.h"#include "libavutil/error.h"#include "libavutil/macros.h"#include "libavutil/mem.h"Go to the source code of this file.
Macros | |
| #define | BPRINT_ARGS1(bp, ...) |
| #define | BPRINT_ARGS0(bp, ...) |
| #define | ORD_ARGS1(str, size, ...) |
| #define | ORD_ARGS0(str, size, ...) |
| #define | CMP_BPRINT_AND_NONBPRINT(bp, func_name, ARG_ORDER, ...) |
| #define | CHANNEL_NAME(x) |
| #define | CHANNEL_DESCRIPTION(x) |
| #define | CHANNEL_FROM_STRING(x) |
| #define | CHANNEL_LAYOUT_FROM_MASK(x) |
| #define | CHANNEL_LAYOUT_FROM_STRING(x) |
| #define | CHANNEL_LAYOUT_CHANNEL_FROM_INDEX(l, x) |
| #define | CHANNEL_LAYOUT_SUBSET(l, xstr, x) |
| #define | CHANNEL_LAYOUT_INDEX_FROM_CHANNEL(l, x) |
| #define | CHANNEL_LAYOUT_CHANNEL_FROM_STRING(l, x) |
| #define | CHANNEL_LAYOUT_INDEX_FROM_STRING(l, x) |
Functions | |
| static void | channel_name (AVBPrint *bp, enum AVChannel channel) |
| static void | channel_description (AVBPrint *bp, enum AVChannel channel) |
| static void | channel_layout_from_mask (AVChannelLayout *layout, AVBPrint *bp, uint64_t channel_layout) |
| static void | channel_layout_from_string (AVChannelLayout *layout, AVBPrint *bp, const char *channel_layout) |
| static void | describe_type (AVBPrint *bp, AVChannelLayout *layout) |
| static const char * | channel_layout_retype (AVChannelLayout *layout, AVBPrint *bp, const char *channel_layout) |
| int | main (void) |
Variables | |
| static const char * | channel_order_names [] = {"UNSPEC", "NATIVE", "CUSTOM", "AMBI"} |
| #define BPRINT_ARGS1 | ( | bp, | |
| ... ) |
Definition at line 31 of file channel_layout.c.
| #define BPRINT_ARGS0 | ( | bp, | |
| ... ) |
Definition at line 32 of file channel_layout.c.
| #define ORD_ARGS1 | ( | str, | |
| size, | |||
| ... ) |
Definition at line 33 of file channel_layout.c.
| #define ORD_ARGS0 | ( | str, | |
| size, | |||
| ... ) |
Definition at line 34 of file channel_layout.c.
| #define CMP_BPRINT_AND_NONBPRINT | ( | bp, | |
| func_name, | |||
| ARG_ORDER, | |||
| ... ) |
Definition at line 37 of file channel_layout.c.
Referenced by channel_description(), channel_layout_from_mask(), channel_layout_from_string(), and channel_name().
| #define CHANNEL_NAME | ( | x | ) |
Definition at line 163 of file channel_layout.c.
Referenced by main().
| #define CHANNEL_DESCRIPTION | ( | x | ) |
Definition at line 167 of file channel_layout.c.
Referenced by main().
| #define CHANNEL_FROM_STRING | ( | x | ) |
Definition at line 171 of file channel_layout.c.
Referenced by main().
| #define CHANNEL_LAYOUT_FROM_MASK | ( | x | ) |
Definition at line 174 of file channel_layout.c.
Referenced by main().
| #define CHANNEL_LAYOUT_FROM_STRING | ( | x | ) |
Definition at line 177 of file channel_layout.c.
Referenced by main().
| #define CHANNEL_LAYOUT_CHANNEL_FROM_INDEX | ( | l, | |
| x ) |
Definition at line 181 of file channel_layout.c.
Referenced by main().
| #define CHANNEL_LAYOUT_SUBSET | ( | l, | |
| xstr, | |||
| x ) |
Definition at line 187 of file channel_layout.c.
Referenced by main().
| #define CHANNEL_LAYOUT_INDEX_FROM_CHANNEL | ( | l, | |
| x ) |
Definition at line 191 of file channel_layout.c.
Referenced by main().
| #define CHANNEL_LAYOUT_CHANNEL_FROM_STRING | ( | l, | |
| x ) |
Definition at line 197 of file channel_layout.c.
Referenced by main().
| #define CHANNEL_LAYOUT_INDEX_FROM_STRING | ( | l, | |
| x ) |
Definition at line 203 of file channel_layout.c.
Referenced by main().
|
static |
Definition at line 80 of file channel_layout.c.
|
static |
Definition at line 86 of file channel_layout.c.
|
static |
Definition at line 92 of file channel_layout.c.
|
static |
Definition at line 104 of file channel_layout.c.
|
static |
Definition at line 118 of file channel_layout.c.
Referenced by channel_layout_retype().
|
static |
Definition at line 129 of file channel_layout.c.
Referenced by main().
| int main | ( | void | ) |
Definition at line 209 of file channel_layout.c.
|
static |
Definition at line 116 of file channel_layout.c.
Referenced by channel_layout_retype(), and describe_type().