File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,11 @@ class ERR(_Enum):
114114 NO_DBL = _Enum_Type (401 )
115115 NO_GFX = _Enum_Type (402 )
116116
117+ # 500-599 Errors specific to the heterogeneous API
118+ LOAD_LIB = _Enum_Type (501 )
119+ LOAD_SYM = _Enum_Type (502 )
120+ ARR_BKND_MISMATCH = _Enum_Type (503 )
121+
117122 # 900-999 Errors from upstream libraries and runtimes
118123 INTERNAL = _Enum_Type (998 )
119124 UNKNOWN = _Enum_Type (999 )
@@ -132,6 +137,8 @@ class Dtype(_Enum):
132137 u8 = _Enum_Type (7 )
133138 s64 = _Enum_Type (8 )
134139 u64 = _Enum_Type (9 )
140+ s16 = _Enum_Type (10 )
141+ u16 = _Enum_Type (11 )
135142
136143class Source (_Enum ):
137144 """
@@ -350,3 +357,19 @@ class IMAGE_FORMAT(_Enum):
350357 EXR = _Enum_Type (29 )
351358 JP2 = _Enum_Type (31 )
352359 RAW = _Enum_Type (34 )
360+
361+ class HOMOGRAPHY (_Enum ):
362+ """
363+ Homography Types
364+ """
365+ RANSAC = _Enum_Type (0 )
366+ LMEDS = _Enum_Type (1 )
367+
368+ class BACKEND (_Enum ):
369+ """
370+ Backend libraries
371+ """
372+ DEFAULT = _Enum_Type (0 )
373+ CPU = _Enum_Type (1 )
374+ CUDA = _Enum_Type (2 )
375+ OPENCL = _Enum_Type (4 )
You can’t perform that action at this time.
0 commit comments