FFmpeg
Loading...
Searching...
No Matches
parser_internal.h File Reference
#include <stdint.h>
#include "libavutil/macros.h"
#include "avcodec.h"

Go to the source code of this file.

Data Structures

struct  FFCodecParser
 

Macros

#define EIGTH_ARG(a, b, c, d, e, f, g, h, ...)
 
#define NO_FAIL
 
#define CHECK_FOR_TOO_MANY_IDS(...)
 
#define FF_MSVC_EXPAND(...)
 
#define FIRST_SEVEN2(a, b, c, d, e, f, g, ...)
 
#define FIRST_SEVEN(...)
 
#define TIMES_SEVEN(a)
 
#define PARSER_CODEC_LIST(...)
 

Functions

static const FFCodecParserffcodecparser (const AVCodecParser *parser)
 

Macro Definition Documentation

◆ EIGTH_ARG

#define EIGTH_ARG ( a,
b,
c,
d,
e,
f,
g,
h,
... )
Value:

Definition at line 43 of file parser_internal.h.

◆ NO_FAIL

#define NO_FAIL

Definition at line 44 of file parser_internal.h.

◆ CHECK_FOR_TOO_MANY_IDS

#define CHECK_FOR_TOO_MANY_IDS ( ...)
Value:
AV_JOIN(EIGTH_ARG(__VA_ARGS__, NO, NO, NO, NO, NO, NO, NO, NO), _FAIL)
#define AV_JOIN(a, b)
Definition macros.h:70
#define EIGTH_ARG(a, b, c, d, e, f, g, h,...)

Definition at line 46 of file parser_internal.h.

◆ FF_MSVC_EXPAND

#define FF_MSVC_EXPAND ( ...)
Value:
__VA_ARGS__

Definition at line 49 of file parser_internal.h.

◆ FIRST_SEVEN2

#define FIRST_SEVEN2 ( a,
b,
c,
d,
e,
f,
g,
... )
Value:
a,b,c,d,e,f,g
#define f(width, name)
Definition cbs_vp8.c:236
int a
#define b
Definition input.c:43
const char * g
Definition vf_curves.c:128
static double c[64]

Definition at line 50 of file parser_internal.h.

◆ FIRST_SEVEN

#define FIRST_SEVEN ( ...)
Value:
#define FF_MSVC_EXPAND(...)
#define FIRST_SEVEN2(a, b, c, d, e, f, g,...)

Definition at line 51 of file parser_internal.h.

◆ TIMES_SEVEN

#define TIMES_SEVEN ( a)
Value:
a,a,a,a,a,a,a

Definition at line 52 of file parser_internal.h.

◆ PARSER_CODEC_LIST

#define PARSER_CODEC_LIST ( ...)
Value:
CHECK_FOR_TOO_MANY_IDS(__VA_ARGS__) \
.p.codec_ids = { FIRST_SEVEN(__VA_ARGS__, TIMES_SEVEN(AV_CODEC_ID_NONE)) }
@ AV_CODEC_ID_NONE
Definition codec_id.h:48
#define TIMES_SEVEN(a)
#define FIRST_SEVEN(...)
#define CHECK_FOR_TOO_MANY_IDS(...)

Definition at line 54 of file parser_internal.h.

Function Documentation

◆ ffcodecparser()

static const FFCodecParser * ffcodecparser ( const AVCodecParser * parser)
inlinestatic

Definition at line 38 of file parser_internal.h.

Referenced by av_parser_close(), av_parser_init(), and av_parser_parse2().