FFmpeg
Macros | Functions
davs2.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 ISSQH(x)   ((x) == 0xB0 )
 
#define ISEND(x)   ((x) == 0xB1 )
 
#define ISPIC(x)   ((x) == 0xB3 || (x) == 0xB6)
 
#define ISUNIT(x)   ( ISSQH(x) || ISEND(x) || (x) == 0xB2 || ISPIC(x) || (x) == 0xB5 || (x) == 0xB7 )
 
#define ISAVS2(x)   ((x) == 0x20 || (x) == 0x22 || (x) == 0x30 || (x) == 0x32 )
 

Functions

static int avs2_probe (const AVProbeData *p)
 

Macro Definition Documentation

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

Definition at line 28 of file davs2.c.

Referenced by avs2_probe().

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

Definition at line 29 of file davs2.c.

Referenced by avs2_probe().

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

Definition at line 30 of file davs2.c.

Referenced by avs2_probe().

#define ISUNIT (   x)    ( ISSQH(x) || ISEND(x) || (x) == 0xB2 || ISPIC(x) || (x) == 0xB5 || (x) == 0xB7 )

Definition at line 31 of file davs2.c.

Referenced by avs2_probe().

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

Definition at line 32 of file davs2.c.

Referenced by avs2_probe().

Function Documentation

static int avs2_probe ( const AVProbeData p)
static

Definition at line 34 of file davs2.c.