|
My Project
|
|
Go to the documentation of this file.
12 #if defined(_WIN32) || defined(_MSC_VER)
16 #define AFAPI __declspec(dllexport)
18 #define AFAPI __declspec(dllimport)
23 #define bool unsigned char
27 #define __PRETTY_FUNCTION__ __FUNCSIG__
28 #define SIZE_T_FRMT_SPECIFIER "%Iu"
29 #define DEPRECATED(msg) __declspec(deprecated( msg ))
31 #define AFAPI __attribute__((visibility("default")))
33 #define SIZE_T_FRMT_SPECIFIER "%zu"
34 #if __GNUC__ >= 4 && __GNUC_MINOR > 4
35 #define DEPRECATED(msg) __attribute__((deprecated( msg )))
37 #define DEPRECATED(msg) __attribute__((deprecated))
43 #if defined(__x86_64__) || defined(_M_X64) || defined(_WIN64) || defined(__aarch64__) || defined(__LP64__) // 64-bit Architectures
44 typedef long long dim_t;
46 #elif defined(__i386__) || defined(_M_IX86) || defined(__arm__) || defined(_M_ARM) // 32-bit x86 Architecture
50 typedef long long dim_t;
56 typedef unsigned long long uintl;
59 #ifndef AF_API_VERSION
60 #define AF_API_VERSION AF_API_VERSION_CURRENT
119 #if AF_API_VERSION >= 33
138 #if AF_API_VERSION >= 32
160 #if AF_API_VERSION >= 32
167 #if AF_API_VERSION >= 32
174 #if AF_API_VERSION >= 32
206 #if AF_API_VERSION >= 32
209 #if AF_API_VERSION >= 32
219 #define AF_MAX_DIMS 4
287 #if AF_API_VERSION >= 31
299 #if AF_API_VERSION >= 31
342 #if AF_API_VERSION >= 31
360 #if AF_API_VERSION >= 32
367 #if AF_API_VERSION >= 32
384 #if AF_API_VERSION >=32
414 #if AF_API_VERSION >= 31
417 #if AF_API_VERSION >= 31
420 #if AF_API_VERSION >= 32
423 #if AF_API_VERSION >= 32
af_match_type matchType
Definition: defines.h:404
Perform convolution in frequency domain.
Definition: defines.h:271
af_cspace_t CSpace
Definition: defines.h:405
af_marker_type
Definition: defines.h:384
Data needs to be transposed.
Definition: defines.h:305
FreeImage Enum for JPEG File.
Definition: defines.h:345
af_source
Definition: defines.h:213
Match based on Normalized Cross Correlation (NCC)
Definition: defines.h:281
Definition: defines.h:386
Nearest Interpolation.
Definition: defines.h:224
af_conv_mode
Definition: defines.h:255
This build of ArrayFire does not support this feature.
Definition: defines.h:135
FreeImage Enum for Adobe Photoshop File.
Definition: defines.h:351
FreeImage Enum for High Dynamic Range File.
Definition: defines.h:352
treats the input as a vector and returns the max of absolute values
Definition: defines.h:320
Out of bound values are symmetric over the edge.
Definition: defines.h:240
FreeImage Enum for Portable Network Graphics File.
Definition: defines.h:347
Default grayscale map.
Definition: defines.h:332
long long dim_t
Definition: defines.h:49
Matrix is lower triangular.
Definition: defines.h:309
Connectivity includes 4-connectivity neigbors and also those on Northeast, Northwest,...
Definition: defines.h:252
Spectrum map.
Definition: defines.h:333
Match based on Sum of Squared Differences (SSD)
Definition: defines.h:278
Default backend order: OpenCL -> CUDA -> CPU.
Definition: defines.h:369
Definition: defines.h:387
af_backend Backend
Definition: defines.h:420
Heat map.
Definition: defines.h:337
af_conv_mode convMode
Definition: defines.h:408
Input does not belong to the current device.
Definition: defines.h:122
Match based on Zero mean SSD.
Definition: defines.h:279
The type is not suppported by this function.
Definition: defines.h:105
FreeImage Enum for RAW Camera Image File.
Definition: defines.h:355
Perform convolution in spatial domain.
Definition: defines.h:270
af_dtype dtype
Definition: defines.h:399
64-bit unsigned integral values
Definition: defines.h:204
Match based on Locally scaled SSD.
Definition: defines.h:280
Match based on Sum of Absolute Differences (SAD)
Definition: defines.h:275
Host pointer.
Definition: defines.h:215
Definition: algorithm.h:13
return the max of column sums
Definition: defines.h:323
af_mat_prop
Definition: defines.h:303
Unknown Error.
Definition: defines.h:191
af_connectivity connectivity
Definition: defines.h:403
One of the function arguments is incorrect.
Definition: defines.h:95
This build of ArrayFire was not built with graphics or this device does not support graphics.
Definition: defines.h:155
af_cspace_t
Definition: defines.h:294
There was an error when loading the libraries.
Definition: defines.h:163
af_source source
Definition: defines.h:400
OpenCL Compute Backend.
Definition: defines.h:372
FreeImage Enum for Bitmap File.
Definition: defines.h:343
af_colormap ColorMap
Definition: defines.h:411
Definition: defines.h:392
3-channel YCbCr
Definition: defines.h:299
FreeImage Enum for Tagged Image File Format File.
Definition: defines.h:350
ArrayFire automatically picks the right convolution algorithm.
Definition: defines.h:269
FreeImage Enum for Portable Pixelmap (Binary) File.
Definition: defines.h:349
Output of the convolution is the same size as input.
Definition: defines.h:260
unsigned long long uintl
Definition: defines.h:55
There was an error in the device driver.
Definition: defines.h:78
returns the max singular value). Currently NOT SUPPORTED
Definition: defines.h:325
Computes homography using RANSAC.
Definition: defines.h:361
This build of ArrayFire is not compiled with "nonfree" algorithms.
Definition: defines.h:141
Matrix is tri diagonal.
Definition: defines.h:314
returns Lpq-norm
Definition: defines.h:326
The default. Same as AF_NORM_VECTOR_2.
Definition: defines.h:328
Cubic Interpolation.
Definition: defines.h:227
FreeImage Enum for JPEG-2000 File.
Definition: defines.h:354
8-bit unsigned integral values
Definition: defines.h:202
void * af_array
Definition: defines.h:221
Matrix is orthogonal.
Definition: defines.h:313
af_match_type
Definition: defines.h:274
af_image_format
Definition: defines.h:342
Device pointer.
Definition: defines.h:214
treats the input as a vector and returns the sum of absolute values
Definition: defines.h:319
FreeImage Enum for ILM OpenEXR File.
Definition: defines.h:353
long long intl
Definition: defines.h:54
8-bit boolean values
Definition: defines.h:199
FreeImage Enum for JPEG Network Graphics File.
Definition: defines.h:346
There was an internal error either in ArrayFire or in a project upstream.
Definition: defines.h:186
Match based on Sum of Hamming Distances (SHD)
Definition: defines.h:283
ITU-R BT.709 standard.
Definition: defines.h:289
af_border_type borderType
Definition: defines.h:402
Colors.
Definition: defines.h:334
Output of the convolution is signal_len + filter_len - 1.
Definition: defines.h:265
Bilinear Interpolation.
Definition: defines.h:226
The size is incorrect.
Definition: defines.h:100
af_norm_type normType
Definition: defines.h:412
af_dtype
Definition: defines.h:194
64-bit complex floating point values
Definition: defines.h:197
af_conv_domain convDomain
Definition: defines.h:409
af_backend
Definition: defines.h:368
ITU-R BT.2020 standard.
Definition: defines.h:290
Matrix is block diagonal.
Definition: defines.h:315
The system or device ran out of memory.
Definition: defines.h:73
af_ycc_std YCCStd
Definition: defines.h:414
32-bit signed integral values
Definition: defines.h:200
return the max of row sums
Definition: defines.h:324
treats the input as a vector and returns euclidean norm
Definition: defines.h:321
The option is not supported.
Definition: defines.h:130
Definition: defines.h:380
af_ycc_std
Definition: defines.h:287
af_norm_type
Definition: defines.h:318
af_mat_prop trans
Definition: defines.h:407
Floor Indexed.
Definition: defines.h:228
16-bit signed integral values
Definition: defines.h:206
The function returned successfully.
Definition: defines.h:66
Match based on Locally scaled SAD.
Definition: defines.h:277
Red hue map.
Definition: defines.h:335
Match based on Zero mean NCC.
Definition: defines.h:282
16-bit unsigned integral values
Definition: defines.h:209
Definition: defines.h:390
Definition: defines.h:389
af_image_format imageFormat
Definition: defines.h:417
3-channel RGB
Definition: defines.h:296
treats the input as a vector and returns the p-norm
Definition: defines.h:322
Definition: defines.h:385
Blue hue map.
Definition: defines.h:338
This device does not support double.
Definition: defines.h:149
There was an error when loading the symbols.
Definition: defines.h:170
32-bit unsigned integral values
Definition: defines.h:201
Computes homography using Least Median of Squares.
Definition: defines.h:362
af_border_type
Definition: defines.h:231
FreeImage Enum for Portable Pixelmap (ASCII) File.
Definition: defines.h:348
Mood map.
Definition: defines.h:336
Matrix is symmetric.
Definition: defines.h:311
There was an error with the runtime environment.
Definition: defines.h:83
Matrix is positive definite.
Definition: defines.h:312
Definition: defines.h:388
CUDA Compute Backend.
Definition: defines.h:371
Match based on Zero mean SAD.
Definition: defines.h:276
af_marker_type markerType
Definition: defines.h:423
af_interp_type interpType
Definition: defines.h:401
Grayscale.
Definition: defines.h:295
Connectivity includes neighbors, North, East, South and West of current pixel.
Definition: defines.h:247
The type of the input arrays are not compatible.
Definition: defines.h:110
Default.
Definition: defines.h:304
af_conv_domain
Definition: defines.h:268
Data needs to be conjugate tansposed.
Definition: defines.h:306
ITU-R BT.601 (formerly CCIR 601) standard.
Definition: defines.h:288
af_mat_prop matProp
Definition: defines.h:410
Matrix is upper triangular.
Definition: defines.h:308
Out of bound values are 0.
Definition: defines.h:235
af_interp_type
Definition: defines.h:223
64-bit complex floating point values
Definition: defines.h:198
32-bit complex floating point values
Definition: defines.h:196
Matrix diagonal contains unitary values.
Definition: defines.h:310
There was a mismatch between the input array and the active backend.
Definition: defines.h:177
Data needs to be conjugate.
Definition: defines.h:307
af_connectivity
Definition: defines.h:243
af_someenum_t SomeEnum
Definition: defines.h:406
The input array is not a valid af_array object.
Definition: defines.h:90
af_homography_type
Definition: defines.h:360
af_err
Definition: defines.h:62
3-channel HSV
Definition: defines.h:297
Function does not support GFOR / batch mode.
Definition: defines.h:115
Definition: defines.h:391
Linear Interpolation.
Definition: defines.h:225
af_colormap
Definition: defines.h:331
FreeImage Enum for Windows Icon File.
Definition: defines.h:344
af_someenum_t
Definition: defines.h:379
32-bit floating point values
Definition: defines.h:195
CPU a.k.a sequential algorithms.
Definition: defines.h:370
64-bit signed integral values
Definition: defines.h:203