h264_types.h
来自「自己在wince的环境下做的一移动数字电视驱动」· C头文件 代码 · 共 54 行
H
54 行
#ifndef __H264_TYPES_COMMON_H__
#define __H264_TYPES_COMMON_H__
// ---------------------------------------------------
// types
// ---------------------------------------------------
#ifdef __arm
#define uint unsigned int
#define uchar unsigned char
#define ushort unsigned short
#define UINT unsigned int
#define UCHAR unsigned char
#else
typedef unsigned int uint;
typedef unsigned char uchar;
typedef unsigned short ushort;
typedef unsigned int UINT;
typedef unsigned char UCHAR;
#endif
#ifdef __GNUC__
#include <stdint.h>
#else
# ifdef __arm
#define int32_t int
#define uint32_t unsigned int
#define int16_t short
#define uint16_t unsigned short
#define uint8_t unsigned char
#define int8_t signed char
# else
typedef int int32_t;
typedef unsigned int uint32_t;
typedef short int16_t;
typedef unsigned short uint16_t;
typedef unsigned char uint8_t;
typedef signed char int8_t;
# endif
#endif
#ifdef __arm
#define INLINE __inline
#define _INLINE __inline
#define ALIGN(n) __align(n)
#else
#define INLINE __inline
#define _INLINE __inline
#define ALIGN(n)
#endif
#endif //__H264_TYPES_COMMON_H__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?