csi_dsp_types.h 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. /********************************************************************************************
  2. ************************************************************************************************/
  3. #ifndef _CSI_DSP_TYPES_H_
  4. #define _CSI_DSP_TYPES_H_
  5. #define _DL_DEBUG_
  6. #undef bool
  7. #define bool char
  8. #define TBOOL char
  9. #define TTRUE 1
  10. #define TFALSE 0
  11. #undef true
  12. #define true 1
  13. #undef false
  14. #define false 0
  15. #ifndef NULL
  16. #define NULL 0
  17. #endif
  18. #ifndef null
  19. #define null 0
  20. #endif
  21. typedef void TVOID;
  22. typedef char TINT8;
  23. typedef char int8;
  24. typedef unsigned char TUINT8;
  25. typedef unsigned char uint8;
  26. typedef char TCHAR;
  27. typedef signed short TINT16;
  28. typedef unsigned short TUINT16;
  29. typedef signed short TSHORT;
  30. typedef unsigned short TUSHORT;
  31. typedef signed int TINT;
  32. typedef unsigned int TUINT;
  33. typedef signed int TINT32;
  34. typedef signed int int32;
  35. typedef unsigned int TUINT32;
  36. typedef unsigned int uint32;
  37. typedef signed long TLONG;
  38. typedef unsigned long TULONG;
  39. typedef signed long long TLONGLONG;
  40. typedef unsigned long long TULONGLONG;
  41. typedef float TFLOAT;
  42. typedef TUINT8 DMA_MEM_T;
  43. typedef void* T_PTR;
  44. /*****************************************************************************************
  45. definition
  46. *****************************************************************************************/
  47. /*****************************************************************************************
  48. enum
  49. *****************************************************************************************/
  50. //typedef enum _VPU_MSG_ENUM_ {
  51. // VPU_MSG_SUCEED = 0,
  52. // VPU_MSG_ERR_PARAMETER,
  53. // VPU_MSG_ADL_WR_RING_OVERFLOW,
  54. // //
  55. // VPU_MSG_MAX,
  56. //} VPU_MSG_ENUM;
  57. //
  58. ///*****************************************************************************************
  59. // structure
  60. //*****************************************************************************************/
  61. //typedef struct _vpu_size_ {
  62. // TUINT32 width; /* pixel */
  63. // TUINT32 height; /* pixel */
  64. // TUINT32 stride; /* byte */
  65. //}VPU_SIZE;
  66. //
  67. //typedef struct _vpu_roi_ {
  68. // TUINT32 width;
  69. // TUINT32 height;
  70. // TUINT32 stride;
  71. //}VPU_ROI;
  72. //
  73. //typedef struct _vpu_imgsize_ {
  74. // TUINT32 width; /* pixel */
  75. // TUINT32 height; /* pixel */
  76. //}VPU_IMGSIZE;
  77. //
  78. //typedef struct _vpu_offset_ {
  79. // TUINT32 x;
  80. // TUINT32 y;
  81. //}VPU_OFFSET;
  82. ////
  83. //
  84. //typedef void* TM_OBJ;
  85. //
  86. //typedef struct _tm_size_ {
  87. // TUINT32 width; /* pixel */
  88. // TUINT32 height; /* pixel */
  89. // TUINT32 stride; /* byte */
  90. //}TM_SIZE;
  91. //
  92. //typedef struct _tm_roi_ {
  93. // TUINT32 width;
  94. // TUINT32 height;
  95. // TUINT32 stride;
  96. //}TM_ROI;
  97. //
  98. //typedef struct _tm_imgsize_ {
  99. // TUINT32 width; /* pixel */
  100. // TUINT32 height; /* pixel */
  101. //}TM_IMGSIZE;
  102. //
  103. //typedef struct _tm_offset_ {
  104. // TUINT32 x;
  105. // TUINT32 y;
  106. //}TM_OFFSET;
  107. ///*****************************************************************************************
  108. // callback function
  109. //*****************************************************************************************/
  110. //typedef TBOOL (*CBF_NOTIFY)(TVOID* user, TINT32 const msg);
  111. //typedef TBOOL (*CBF_DATA)(TVOID* user, TINT32 const msg);
  112. //
  113. #endif // _DL_TYPES_H_