VLC 4.0.0-dev
Loading...
Searching...
No Matches
fourcc_gen.c File Reference
Include dependency graph for fourcc_gen.c:

Data Structures

struct  vlc_rational_t
 
struct  staticentry_t
 
struct  entry
 

Macros

#define VLC_API
 
#define VLC_USED
 
#define VLC_FOURCC(a, b, c, d)   { a, b, c, d }
 
#define A(sfcc)   E(sfcc, NULL)
 
#define B(fcc, dsc)   { true, fcc, dsc }
 
#define E(sfcc, dsc)   { false, sfcc, dsc }
 
#define p(t)
 

Typedefs

typedef uint32_t vlc_fourcc_t
 

Functions

static int cmp_entry (const void *a, const void *b)
 
static void process_list (const char *name, const staticentry_t *list, size_t n)
 
int main (void)
 

Macro Definition Documentation

◆ A

#define A (   sfcc)    E(sfcc, NULL)

◆ B

#define B (   fcc,
  dsc 
)    { true, fcc, dsc }

◆ E

#define E (   sfcc,
  dsc 
)    { false, sfcc, dsc }

◆ p

#define p (   t)
Value:
process_list(#t, p_list_##t, \
sizeof (p_list_##t) / sizeof ((p_list_##t)[0]))
static void process_list(const char *name, const staticentry_t *list, size_t n)
Definition fourcc_gen.c:67

◆ VLC_API

#define VLC_API

◆ VLC_FOURCC

#define VLC_FOURCC (   a,
  b,
  c,
 
)    { a, b, c, d }

◆ VLC_USED

#define VLC_USED

Typedef Documentation

◆ vlc_fourcc_t

typedef uint32_t vlc_fourcc_t

Function Documentation

◆ cmp_entry()

static int cmp_entry ( const void *  a,
const void *  b 
)
static

References entry::alias, and entry::fourcc.

Referenced by process_list().

◆ main()

int main ( void  )

References p.

◆ process_list()

static void process_list ( const char *  name,
const staticentry_t list,
size_t  n 
)
static