Go to the documentation of this file.
19 #ifndef AVFILTER_FORMATS_H
20 #define AVFILTER_FORMATS_H
103 #define FF_COUNT2LAYOUT(c) (0x8000000000000000ULL | (c))
109 #define FF_LAYOUT2COUNT(l) (((l) & 0x8000000000000000ULL) ? \
110 (int)((l) & 0x7FFFFFFF) : 0)
160 #if LIBAVFILTER_VERSION_MAJOR < 8
240 #define FF_PIX_FMT_FLAG_SW_FLAT_SUB (1 << 24)
A list of supported channel layouts.
enum MovChannelLayoutTag * layouts
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf type
struct AVFilterChannelLayouts *** refs
references to this list
uint64_t * channel_layouts
list of channel layouts
char all_layouts
accept any known channel layout
char all_counts
accept any channel layout or count
The reader does not expect b to be semantically here and if the code is changed by maybe adding a a division or other the signedness will almost certainly be mistaken To avoid this confusion a new type was SUINT is the C unsigned type but it holds a signed int to use the same example SUINT a
#define av_warn_unused_result
static int ref[MAX_W *MAX_W]
int nb_channel_layouts
number of channel layouts
unsigned refcount
number of references to this list