FFmpeg
Macros | Functions
avs2dec.c File Reference
#include "avformat.h"
#include "rawdec.h"
#include "libavcodec/internal.h"
#include "libavutil/intreadwrite.h"

Go to the source code of this file.

Macros

#define AVS2_ISSQH(x)   ((x) == 0xB0)
 
#define AVS2_ISEND(x)   ((x) == 0xB1)
 
#define AVS2_ISPIC(x)   ((x) == 0xB3 || (x) == 0xB6)
 
#define AVS2_ISUNIT(x)   (AVS2_ISSQH(x) || AVS2_ISEND(x) || (x) == 0xB2 || AVS2_ISPIC(x) || (x) == 0xB5 || (x) == 0xB7)
 
#define AVS2_ISPROFILE(x)   ((x) == 0x20 || (x) == 0x22 || (x) == 0x30 || (x) == 0x32)
 

Functions

static int avs2_probe (const AVProbeData *p)
 

Macro Definition Documentation

#define AVS2_ISSQH (   x)    ((x) == 0xB0)

Definition at line 28 of file avs2dec.c.

Referenced by avs2_probe().

#define AVS2_ISEND (   x)    ((x) == 0xB1)

Definition at line 29 of file avs2dec.c.

Referenced by avs2_probe().

#define AVS2_ISPIC (   x)    ((x) == 0xB3 || (x) == 0xB6)

Definition at line 30 of file avs2dec.c.

Referenced by avs2_probe().

#define AVS2_ISUNIT (   x)    (AVS2_ISSQH(x) || AVS2_ISEND(x) || (x) == 0xB2 || AVS2_ISPIC(x) || (x) == 0xB5 || (x) == 0xB7)

Definition at line 31 of file avs2dec.c.

Referenced by avs2_probe().

#define AVS2_ISPROFILE (   x)    ((x) == 0x20 || (x) == 0x22 || (x) == 0x30 || (x) == 0x32)

Definition at line 32 of file avs2dec.c.

Referenced by avs2_probe().

Function Documentation

static int avs2_probe ( const AVProbeData p)
static

Definition at line 34 of file avs2dec.c.