?? mpeg1def.h
字號:
/* Copyright 1996, ESS Technology, Inc. *//* SCCSID @(#)mpeg1def.h 1.10 12/9/97 *//* * Renamed from version 1.6 of mpeg1defs.h */#ifndef _MPEG1DEFS_H_#define _MPEG1DEFS_H_/* to differentiate from mpeg2 */#include "common.h"/************************************************************ * limits definition ************************************************************//* Video decode limits, double for videoCD2.0 */#define MAX_HORIZ_SZ_E2 (704>>2)#define MAX_HORIZ_SZ_E0 (352>>2)#define MAX_VERT_SZ_E2 576#define MAX_VERT_SZ_E0 288/* prefix: mpeg1/MPEG1 */#define MPEG1_DSTART_QUANT (2268+ADJUST_4_LINE)/************************************************************ * start code definition * also used as HuffState in mpeg1vid.c ************************************************************//* * Following defintions are the last byte of MPEG start codes and stream * IDs. In the actual bit stream, each start code/stream ID is a 32b * value. The top 3 bytes are 000001h */#define MPEG_PIC_SC 0x00 /* Picture start code */#define MPEG_SLICE_SC 0x01 /* Slice start code (01-AF) */#define MPEG_UD_SC 0xb2 /* User data start code */#define MPEG_SEQ_SC 0xb3 /* Sequence header code */#define MPEG_EXT_SC 0xb5 /* Extension start code */#define MPEG_SEQ_EC 0xb7 /* Sequence end code */#define MPEG_GOP_SC 0xb8 /* Group start code */#define MPEG_PACK_SC 0xba /* Pack start code */#define MPEG_RESV_SC 0xbc /* Reserved stream start code */#define MPEG_PVT1_SC 0xbd /* Private stream 1 start code */#define MPEG_PAD_SC 0xbe /* Padding stream start code */#define MPEG_PVT2_SC 0xbf /* Private stream 2 start code */#define MPEG_MIN_SLICE_SC 0x01 /* Min. slice start code */#define MPEG_MAX_SLICE_SC 0xaf /* Max. slice start code */#define MPEG_MIN_PKT_ID 0xbc /* Min. stream ID code */#define MPEG_MAX_PKT_ID 0xff /* Max. stream ID code *//************************************************************ * vcx_status: bit representation ************************************************************/#define vs_see_b9 0x1#define vs_see_b7 0x2 /* Found sequence end code */#define vs_play 0x4#define vs_init 0x8#define vs_seek 0x10#define vs_pause 0x20#endif /* _MPEG1DEFS_H_ */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -