📄 h264_types.h
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -