Joe Verbout
/
main
opencv on mbed
Embed:
(wiki syntax)
Show/hide line numbers
interface.h
00001 #ifndef _HAL_INTERFACE_HPP_INCLUDED_ 00002 #define _HAL_INTERFACE_HPP_INCLUDED_ 00003 00004 //! @addtogroup core_hal_interface 00005 //! @{ 00006 00007 #define CV_HAL_ERROR_OK 0 00008 #define CV_HAL_ERROR_NOT_IMPLEMENTED 1 00009 #define CV_HAL_ERROR_UNKNOWN -1 00010 00011 #define CV_HAL_CMP_EQ 0 00012 #define CV_HAL_CMP_GT 1 00013 #define CV_HAL_CMP_GE 2 00014 #define CV_HAL_CMP_LT 3 00015 #define CV_HAL_CMP_LE 4 00016 #define CV_HAL_CMP_NE 5 00017 00018 #ifdef __cplusplus 00019 #include <cstddef> 00020 #else 00021 #include <stddef.h> 00022 #endif 00023 00024 /* primitive types */ 00025 /* 00026 schar - signed 1 byte integer 00027 uchar - unsigned 1 byte integer 00028 short - signed 2 byte integer 00029 ushort - unsigned 2 byte integer 00030 int - signed 4 byte integer 00031 uint - unsigned 4 byte integer 00032 int64 - signed 8 byte integer 00033 uint64 - unsigned 8 byte integer 00034 */ 00035 00036 #if !defined _MSC_VER && !defined __BORLANDC__ 00037 # if defined __cplusplus && __cplusplus >= 201103L && !defined __APPLE__ 00038 # include <cstdint> 00039 typedef std::uint32_t uint; 00040 # else 00041 # include <stdint.h> 00042 typedef uint32_t uint; 00043 # endif 00044 #else 00045 typedef unsigned uint; 00046 #endif 00047 00048 typedef signed char schar; 00049 00050 #ifndef __IPL_H__ 00051 typedef unsigned char uchar; 00052 typedef unsigned short ushort; 00053 #endif 00054 00055 #if defined _MSC_VER || defined __BORLANDC__ 00056 typedef __int64 int64; 00057 typedef unsigned __int64 uint64; 00058 # define CV_BIG_INT(n) n##I64 00059 # define CV_BIG_UINT(n) n##UI64 00060 #else 00061 typedef int64_t int64; 00062 typedef uint64_t uint64; 00063 # define CV_BIG_INT(n) n##LL 00064 # define CV_BIG_UINT(n) n##ULL 00065 #endif 00066 00067 //! @} 00068 00069 #endif 00070
Generated on Tue Jul 12 2022 16:42:38 by 1.7.2