📄 typedef.h
字号:
/* set tabstop=4 */
/********************************************************************************
* *
* Copyright(C) 2002 Penta-Micro *
* *
* ALL RIGHT RESERVED *
* *
* This software is the property of Penta-Micro and is furnished under *
* license by Penta-Micro. This software may be used only in accordance *
* with the terms of said license. This copyright notice may not be *
* removed, modified or obliterated without the prior written permission *
* of Penta-Micro. *
* *
* This software may not be copyed, transmitted, provided to or otherwise *
* made available to any other person, company, corporation or other entity *
* except as specified in the terms of said license. *
* *
* No right, title, ownership or other interest in the software is hereby *
* granted or transferred. *
* *
* The information contained herein is subject to change without notice and *
* should not be construed as a commitment by Penta-Micro. *
* *
********************************************************************************
MODULE NAME: TYPEDEF.H
REVISION HISTORY:
Date Ver Name Description
---------- --- --------------------- -----------------------------------------
06/28/2004 2.0 CheulBeck(whitefe) Created
...............................................................................
DESCRIPTION:
This Module contains definitions for variable type.
...............................................................................
*/
#ifndef _TYPEDEF_H_
#define _TYPEDEF_H_
/** ************************************************************************* **
** includes
** ************************************************************************* **/
/** ************************************************************************* **
** defines
** ************************************************************************* **/
#define ON TRUE
#define OFF FALSE
/** ************************************************************************* **
** typedefs
** ************************************************************************* **/
typedef unsigned char UNS8; /* 8-bit */
typedef unsigned short UNS16; /* 16-bit */
typedef unsigned int UNS32; /* 32-bit */
typedef char S8; /* 8-bit */
typedef short S16; /* 16-bit */
typedef int S32; /* 32-bit */
typedef enum {
FALSE,
TRUE
} BOOL;
typedef enum {
FAILURE,
SUCCESS,
ENDING,
PASS
} RETURN;
typedef enum {
MODE_0,
MODE_1
} OPTION;
typedef enum {
DT_SYSTEM = 1,
DT_VIDEO,
DT_AUDIO
} DATA_TYPE;
typedef enum {
I_PICTURE = 1,
P_PICTURE,
B_PICTURE
} PICTURE_TYPE;
typedef enum {
NTSC,
PAL
} VIDEO_MODE;
typedef enum {
D1,
CIF
} VIDEO_SIZE;
/** ************************************************************************* **
** function prototypes
** ************************************************************************* **/
#endif //_TYPEDEF_H_
/* end of typedef.h */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -