FFmpeg
Macros | Enumerations | Variables
avs2.h File Reference
#include "libavutil/rational.h"

Go to the source code of this file.

Macros

#define AVS2_SLICE_MAX_START_CODE   0x000001AF
 
#define AVS2_ISPIC(x)   ((x) == AVS2_INTRA_PIC_START_CODE || (x) == AVS2_INTER_PIC_START_CODE)
 
#define AVS2_ISUNIT(x)   ((x) == AVS2_SEQ_START_CODE || AVS2_ISPIC(x))
 

Enumerations

enum  {
  AVS2_SEQ_START_CODE = 0xB0, AVS2_SEQ_END_CODE = 0xB1, AVS2_USER_DATA_START_CODE = 0xB2, AVS2_INTRA_PIC_START_CODE = 0xB3,
  AVS2_EXTENSION_START_CODE = 0xB5, AVS2_INTER_PIC_START_CODE = 0xB6
}
 
enum  AVS2Profile { AVS2_PROFILE_MAIN_PIC = 0x12, AVS2_PROFILE_MAIN = 0x20, AVS2_PROFILE_MAIN10 = 0x22 }
 

Variables

const AVRational ff_avs2_frame_rate_tab [16]
 

Macro Definition Documentation

◆ AVS2_SLICE_MAX_START_CODE

#define AVS2_SLICE_MAX_START_CODE   0x000001AF

Definition at line 28 of file avs2.h.

◆ AVS2_ISPIC

#define AVS2_ISPIC (   x)    ((x) == AVS2_INTRA_PIC_START_CODE || (x) == AVS2_INTER_PIC_START_CODE)

Definition at line 40 of file avs2.h.

◆ AVS2_ISUNIT

#define AVS2_ISUNIT (   x)    ((x) == AVS2_SEQ_START_CODE || AVS2_ISPIC(x))

Definition at line 41 of file avs2.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
AVS2_SEQ_START_CODE 
AVS2_SEQ_END_CODE 
AVS2_USER_DATA_START_CODE 
AVS2_INTRA_PIC_START_CODE 
AVS2_EXTENSION_START_CODE 
AVS2_INTER_PIC_START_CODE 

Definition at line 30 of file avs2.h.

◆ AVS2Profile

Enumerator
AVS2_PROFILE_MAIN_PIC 
AVS2_PROFILE_MAIN 
AVS2_PROFILE_MAIN10 

Definition at line 43 of file avs2.h.

Variable Documentation

◆ ff_avs2_frame_rate_tab

const AVRational ff_avs2_frame_rate_tab[16]

Definition at line 25 of file avs2.c.

Referenced by davs2_dump_frames(), and parse_avs2_seq_header().