📄 vm_common_defs.h
字号:
#ifndef _VM_COMMON_DEFS_H_
#define _VM_COMMON_DEFS_H_
# ifdef __cplusplus
extern "C" {
# endif
#define VERSION 1
# ifdef __cplusplus
}
# endif
#define MAX_NUM_VOS 32
#define MAX_NUM_VOLS 16
#define EOB_CODE 1
#define EOB_CODE_LENGTH 32
#define MB_trace_thres 8193
#define EXTENDED_PAR 0xF
#define SESSION_START_CODE 0x01B0
#define SESSION_END_CODE 0x01B1
#define VO_START_CODE 0x8
#define VO_START_CODE_LENGTH 27
#define VO_HEADER_LENGTH 32
#define SOL_START_CODE 0x01be
#define SOL_START_CODE_LENGTH 32
#define VOL_START_CODE 0x12
#define VOL_START_CODE_LENGTH 28
#define VOP_START_CODE 0x1B6
#define VOP_START_CODE_LENGTH 32
#define GROUP_START_CODE 0x01B3
#define GROUP_START_CODE_LENGTH 32
#define VOP_ID_CODE_LENGTH 5
#define VOP_TEMP_REF_CODE_LENGTH 16
#define USER_DATA_START_CODE 0x01B2
#define USER_DATA_START_CODE_LENGTH 32
#define START_CODE_PREFIX 0x01
#define START_CODE_PREFIX_LENGTH 24
#define SHORT_VIDEO_START_MARKER 0x20
#define SHORT_VIDEO_START_MARKER_LENGTH 22
#define SHORT_VIDEO_END_MARKER 0x3F
#define GOB_RESYNC_MARKER 0x01
#define GOB_RESYNC_MARKER_LENGTH 17
#define DC_MARKER 438273
#define DC_MARKER_LENGTH 19
#define MOTION_MARKER_COMB 126977
#define MOTION_MARKER_COMB_LENGTH 17
#define MOTION_MARKER_SEP 81921
#define MOTION_MARKER_SEP_LENGTH 17
#define RESYNC_MARKER 1
#define RESYNC_MARKER_LENGTH 17
#define SPRITE_NOT_USED 0
#define STATIC_SPRITE 1
#define GMC_SPRITE 2
#define MB_SIZE 16
#define RECTANGULAR 0
#define BINARY 1
#define BINARY_SHAPE_ONLY 2
#define GREY_SCALE 3
#define MODE_INTRA 0
#define MODE_INTER 1
#define MODE_INTRA_Q 2
#define MODE_INTER_Q 3
#define MODE_INTER4V 4
#define MODE_GMC 5
#define MODE_GMC_Q 6
#define MBM_INTRA 0
#define MBM_INTER16 1
#define MBM_SPRITE 3
#define MBM_INTER8 4
#define MBM_TRANSPARENT 2
#define MBM_OUT 5
#define MBM_SKIPPED 6
#define MBM_OPAQUE 7
#define MBM_BOUNDARY 8
#define MBM_FIELD00 9
#define MBM_FIELD01 10
#define MBM_FIELD10 11
#define MBM_FIELD11 12
#define MBM_B_MODE 0x07
#define MBM_B_FWDFRM 0
#define MBM_B_BAKFRM 1
#define MBM_B_AVEFRM 2
#define MBM_B_DIRECT 3
#define MBM_B_FWDFLD 5
#define MBM_B_BAKFLD 6
#define MBM_B_AVEFLD 7
#define MBM_B_REFFLDS 0xF0
#define MBM_B_FWDTOP 0x10
#define MBM_B_FWDBOT 0x20
#define MBM_B_BAKTOP 0x40
#define MBM_B_BAKBOT 0x80
#define BINARY_ALPHA 255
#define BINARY_SHAPE 1
#define ARB_SHAPE 1
#define NO_SHAPE_EFFECTS 0
#define REVERSE_VLC 1
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -