1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef __RGA_TYPE_H__ 3 #define __RGA_TYPE_H__ 4 5 6 #ifdef __cplusplus 7 #if __cplusplus 8 } 9 #endif 10 #endif /* __cplusplus */ 11 12 typedef unsigned int UWORD32; 13 typedef unsigned int uint32; 14 typedef unsigned int RK_U32; 15 16 typedef unsigned short UWORD16; 17 typedef unsigned short RK_U16; 18 19 typedef unsigned char UBYTE; 20 typedef unsigned char RK_U8; 21 22 typedef int WORD32; 23 typedef int RK_S32; 24 25 typedef short WORD16; 26 typedef short RK_S16; 27 28 typedef char BYTE; 29 typedef char RK_S8; 30 31 32 #ifndef NULL 33 #define NULL 0L 34 #endif 35 36 #ifndef TRUE 37 #define TRUE 1L 38 #endif 39 40 41 #ifdef __cplusplus 42 #if __cplusplus 43 } 44 #endif 45 #endif /* __cplusplus */ 46 47 48 #endif /* __RGA_TYPR_H__ */ 49 50