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

◆ AVS2_ISSQH

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

Definition at line 28 of file avs2dec.c.

◆ AVS2_ISEND

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

Definition at line 29 of file avs2dec.c.

◆ AVS2_ISPIC

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

Definition at line 30 of file avs2dec.c.

◆ AVS2_ISUNIT

#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.

◆ AVS2_ISPROFILE

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

Definition at line 32 of file avs2dec.c.

Function Documentation

◆ avs2_probe()

static int avs2_probe ( const AVProbeData p)
static

Definition at line 34 of file avs2dec.c.