h263decmacro.h

来自「DM643上采集视频信号」· C头文件 代码 · 共 44 行

H
44
字号
/**************************************************************************************
*		Project:      h263 Decode Source File			             **
*										     **
*		filename:     h263decMacro.h					     **
*		description:  define some macros that decode process uses    **
*       author:       U.Shinegun             **
*       date:         May,2006
***************************************************************************************/
#define PSC        1
#define PSC_LENGTH 17
#define SE_CODE    31

/* picture types */
#define PCT_INTRA                       0
#define PCT_INTER                       1
#define PCT_IPB                         2
#define PCT_B                           3
#define PCT_EI                          4
#define PCT_EP                          5
#define PCT_PB                          6

/* source formats */
#define SF_SQCIF                        1 /* 001 */
#define SF_QCIF                         2 /* 010 */
#define SF_CIF                          3 /* 011 */
#define SF_4CIF                         4 /* 100 */
#define SF_16CIF                        5 /* 101 */
#define SF_CUSTOM                       6 /* 110 */
#define EXTENDED_PTYPE                  7 /* 111 */

/* the MB type */
#define MODE_INTER                      0
#define MODE_INTER_Q                    1
#define MODE_INTER4V                    2
#define MODE_INTRA                      3
#define MODE_INTRA_Q                    4
#define MODE_INTER4V_Q                  5

#define mmin(a, b)  ((a) < (b)? (a) : (b))
#define mmax(a, b)  ((a) > (b)? (a) : (b))

/* for get mcbpc */
#define ESCAPE                         7167

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?