mpeg_defs.h
上传用户:super_houu
上传日期:2008-09-21
资源大小:4099k
文件大小:1k
- #ifndef _MPEG_DEFS_H
- #define _MPEG_DEFS_H
- #include "Includesysdefs.h"
- #define PICTURE_START_CODE 0x100L
- #define SLICE_MIN_START 0x101L
- #define SLICE_MAX_START 0x1AFL
- #define USER_START_CODE 0x1B2L
- #define SEQ_START_CODE 0x1B3L
- #define EXT_START_CODE 0x1B5L
- #define SEQ_END_CODE 0x1B7L
- #define GOP_START_CODE 0x1B8L
- #define ISO_END_CODE 0x1B9L
- #define PACK_START_CODE 0x1BAL
- #define SYSTEM_START_CODE 0x1BBL
- /* extension start code IDs */
- #define SEQ_ID 1
- #define CODING_ID 8
- /* chroma_format */
- #define CHROMA420 1
- /* picture structure */
- #define TOP_FIELD 1
- #define BOTTOM_FIELD 2
- #define FRAME_PICTURE 3
- /* macroblock type */
- typedef enum
- {
- MB_INTRA =1,
- MB_QUANT =16
- }MB_TYPE;
- #endif