ArrayFire: defines.h File Reference (original) (raw)
#include <af/compilers.h>#include <stdbool.h>#include <stdlib.h>#include <af/version.h>
Go to the source code of this file.
| Macros | |
|---|---|
| #define | AFAPI __attribute__((visibility("default"))) |
| #define | SIZE_T_FRMT_SPECIFIER "%zu" |
| #define | AF_DEPRECATED(msg) __attribute__((deprecated)) |
| #define | AF_MAX_DIMS 4 |
◆ AF_DEPRECATED
| #define AF_DEPRECATED | ( | | msg | ) | __attribute__((deprecated)) | | ---------------------- | - | | --- | - | ------------------------------- |
◆ AF_MAX_DIMS
◆ AFAPI
#define AFAPI __attribute__((visibility("default")))
◆ SIZE_T_FRMT_SPECIFIER
#define SIZE_T_FRMT_SPECIFIER "%zu"
◆ af_array
◆ dim_t
◆ intl
◆ uintl
typedef unsigned long long uintl
◆ af_backend
| Enumerator | |
|---|---|
| AF_BACKEND_DEFAULT | Default backend order: OpenCL -> CUDA -> CPU. |
| AF_BACKEND_CPU | CPU a.k.a sequential algorithms. |
| AF_BACKEND_CUDA | CUDA Compute Backend. |
| AF_BACKEND_OPENCL | OpenCL Compute Backend. |
| AF_BACKEND_ONEAPI | OneAPI Compute Backend. |
Definition at line 416 of file defines.h.
416 {
@ AF_BACKEND_ONEAPI
OneAPI Compute Backend.
@ AF_BACKEND_CUDA
CUDA Compute Backend.
@ AF_BACKEND_OPENCL
OpenCL Compute Backend.
@ AF_BACKEND_CPU
CPU a.k.a sequential algorithms.
@ AF_BACKEND_DEFAULT
Default backend order: OpenCL -> CUDA -> CPU.
◆ af_binary_op
| Enumerator |
|---|
| AF_BINARY_ADD |
| AF_BINARY_MUL |
| AF_BINARY_MIN |
| AF_BINARY_MAX |
Definition at line 433 of file defines.h.
◆ af_border_type
| Enumerator | |
|---|---|
| AF_PAD_ZERO | Out of bound values are 0. |
| AF_PAD_SYM | Out of bound values are symmetric over the edge. |
| AF_PAD_CLAMP_TO_EDGE | Out of bound values are clamped to the edge. |
| AF_PAD_PERIODIC | Out of bound values are mapped to range of the dimension in cyclic fashion. |
Definition at line 269 of file defines.h.
269 {
274
279
284
@ AF_PAD_SYM
Out of bound values are symmetric over the edge.
@ AF_PAD_PERIODIC
Out of bound values are mapped to range of the dimension in cyclic fashion.
@ AF_PAD_CLAMP_TO_EDGE
Out of bound values are clamped to the edge.
@ AF_PAD_ZERO
Out of bound values are 0.
◆ af_canny_threshold
| Enumerator | |
|---|---|
| AF_CANNY_THRESHOLD_MANUAL | User has to define canny thresholds manually. |
| AF_CANNY_THRESHOLD_AUTO_OTSU | Determine canny algorithm thresholds using Otsu algorithm. |
Definition at line 486 of file defines.h.
486 {
@ AF_CANNY_THRESHOLD_AUTO_OTSU
Determine canny algorithm thresholds using Otsu algorithm.
@ AF_CANNY_THRESHOLD_MANUAL
User has to define canny thresholds manually.
◆ af_colormap
| Enumerator | |
|---|---|
| AF_COLORMAP_DEFAULT | Default grayscale map. |
| AF_COLORMAP_SPECTRUM | Spectrum map (390nm-830nm, in sRGB colorspace) |
| AF_COLORMAP_COLORS | Colors, aka. Rainbow. |
| AF_COLORMAP_RED | Red hue map. |
| AF_COLORMAP_MOOD | Mood map. |
| AF_COLORMAP_HEAT | Heat map. |
| AF_COLORMAP_BLUE | Blue hue map. |
| AF_COLORMAP_INFERNO | Perceptually uniform shades of black-red-yellow. |
| AF_COLORMAP_MAGMA | Perceptually uniform shades of black-red-white. |
| AF_COLORMAP_PLASMA | Perceptually uniform shades of blue-red-yellow. |
| AF_COLORMAP_VIRIDIS | Perceptually uniform shades of blue-green-yellow. |
Definition at line 457 of file defines.h.
457 {
@ AF_COLORMAP_COLORS
Colors, aka. Rainbow.
@ AF_COLORMAP_SPECTRUM
Spectrum map (390nm-830nm, in sRGB colorspace)
@ AF_COLORMAP_DEFAULT
Default grayscale map.
@ AF_COLORMAP_VIRIDIS
Perceptually uniform shades of blue-green-yellow.
@ AF_COLORMAP_BLUE
Blue hue map.
@ AF_COLORMAP_HEAT
Heat map.
@ AF_COLORMAP_RED
Red hue map.
@ AF_COLORMAP_PLASMA
Perceptually uniform shades of blue-red-yellow.
@ AF_COLORMAP_MAGMA
Perceptually uniform shades of black-red-white.
@ AF_COLORMAP_MOOD
Mood map.
@ AF_COLORMAP_INFERNO
Perceptually uniform shades of black-red-yellow.
◆ af_connectivity
| Enumerator | |
|---|---|
| AF_CONNECTIVITY_4 | Connectivity includes neighbors, North, East, South and West of current pixel. |
| AF_CONNECTIVITY_8 | Connectivity includes 4-connectivity neigbors and also those on Northeast, Northwest, Southeast and Southwest. |
Definition at line 291 of file defines.h.
291 {
296
@ AF_CONNECTIVITY_4
Connectivity includes neighbors, North, East, South and West of current pixel.
@ AF_CONNECTIVITY_8
Connectivity includes 4-connectivity neigbors and also those on Northeast, Northwest,...
◆ af_conv_domain
| Enumerator | |
|---|---|
| AF_CONV_AUTO | ArrayFire automatically picks the right convolution algorithm. |
| AF_CONV_SPATIAL | Perform convolution in spatial domain. |
| AF_CONV_FREQ | Perform convolution in frequency domain. |
Definition at line 316 of file defines.h.
316 {
@ AF_CONV_FREQ
Perform convolution in frequency domain.
@ AF_CONV_SPATIAL
Perform convolution in spatial domain.
@ AF_CONV_AUTO
ArrayFire automatically picks the right convolution algorithm.
◆ af_conv_gradient_type
| Enumerator |
|---|
| AF_CONV_GRADIENT_DEFAULT |
| AF_CONV_GRADIENT_FILTER |
| AF_CONV_GRADIENT_DATA |
| AF_CONV_GRADIENT_BIAS |
Definition at line 545 of file defines.h.
545 {
@ AF_CONV_GRADIENT_FILTER
@ AF_CONV_GRADIENT_DEFAULT
◆ af_conv_mode
| Enumerator | |
|---|---|
| AF_CONV_DEFAULT | Output of the convolution is the same size as input. |
| AF_CONV_EXPAND | Output of the convolution is signal_len + filter_len - 1. |
Definition at line 303 of file defines.h.
303 {
304
309
@ AF_CONV_DEFAULT
Output of the convolution is the same size as input.
@ AF_CONV_EXPAND
Output of the convolution is signal_len + filter_len - 1.
◆ af_cspace_t
| Enumerator | |
|---|---|
| AF_GRAY | Grayscale. |
| AF_RGB | 3-channel RGB |
| AF_HSV | 3-channel HSV |
| AF_YCbCr | 3-channel YCbCr |
Definition at line 342 of file defines.h.
342 {
346#if AF_API_VERSION >= 31
348#endif
@ AF_YCbCr
3-channel YCbCr
◆ af_diffusion_eq
| Enumerator | |
|---|---|
| AF_DIFFUSION_GRAD | Gradient diffusion equation. |
| AF_DIFFUSION_MCDE | Modified curvature diffusion equation. |
| AF_DIFFUSION_DEFAULT | Default option is same as AF_DIFFUSION_GRAD. |
Definition at line 508 of file defines.h.
508 {
@ AF_DIFFUSION_MCDE
Modified curvature diffusion equation.
@ AF_DIFFUSION_GRAD
Gradient diffusion equation.
@ AF_DIFFUSION_DEFAULT
Default option is same as AF_DIFFUSION_GRAD.
◆ af_dtype
| Enumerator | |
|---|---|
| f32 | 32-bit floating point values |
| c32 | 32-bit complex floating point values |
| f64 | 64-bit floating point values |
| c64 | 64-bit complex floating point values |
| b8 | 8-bit boolean values |
| s32 | 32-bit signed integral values |
| u32 | 32-bit unsigned integral values |
| u8 | 8-bit unsigned integral values |
| s64 | 64-bit signed integral values |
| u64 | 64-bit unsigned integral values |
| s16 | 16-bit signed integral values |
| u16 | 16-bit unsigned integral values |
| f16 | 16-bit floating point value |
| s8 | 8-bit signed integral values |
Definition at line 210 of file defines.h.
210 {
221#if AF_API_VERSION >= 32
223#endif
224#if AF_API_VERSION >= 32
226#endif
227#if AF_API_VERSION >= 37
229#endif
230#if AF_API_VERSION >= 310
232#endif
@ u32
32-bit unsigned integral values
@ u64
64-bit unsigned integral values
@ s32
32-bit signed integral values
@ s64
64-bit signed integral values
@ c64
64-bit complex floating point values
@ f32
32-bit floating point values
@ s16
16-bit signed integral values
@ c32
32-bit complex floating point values
@ s8
8-bit signed integral values
@ f64
64-bit floating point values
@ u16
16-bit unsigned integral values
@ f16
16-bit floating point value
@ u8
8-bit unsigned integral values
◆ af_err
| Enumerator | |
|---|---|
| AF_SUCCESS | The function returned successfully. |
| AF_ERR_NO_MEM | |
| AF_ERR_DRIVER | |
| AF_ERR_RUNTIME | |
| AF_ERR_INVALID_ARRAY | |
| AF_ERR_ARG | |
| AF_ERR_SIZE | |
| AF_ERR_TYPE | |
| AF_ERR_DIFF_TYPE | |
| AF_ERR_BATCH | |
| AF_ERR_DEVICE | |
| AF_ERR_NOT_SUPPORTED | |
| AF_ERR_NOT_CONFIGURED | |
| AF_ERR_NONFREE | |
| AF_ERR_NO_DBL | |
| AF_ERR_NO_GFX | |
| AF_ERR_NO_HALF | |
| AF_ERR_LOAD_LIB | |
| AF_ERR_LOAD_SYM | |
| AF_ERR_ARR_BKND_MISMATCH | |
| AF_ERR_INTERNAL | |
| AF_ERR_UNKNOWN |
Definition at line 71 of file defines.h.
71 {
76
77
78
83
88
93
94
95
100
105
110
115
120
125
126
127#if AF_API_VERSION >= 33
132#endif
133
134
135
140
145
146#if AF_API_VERSION >= 32
151#endif
152
153
154
159
165
166#if AF_API_VERSION >= 37
171#endif
172
173
174
175#if AF_API_VERSION >= 32
180#endif
181
182#if AF_API_VERSION >= 32
187#endif
188
189#if AF_API_VERSION >= 32
194#endif
195
196
197
203
@ AF_ERR_ARR_BKND_MISMATCH
@ AF_SUCCESS
The function returned successfully.
◆ af_flux_function
| Enumerator | |
|---|---|
| AF_FLUX_QUADRATIC | Quadratic flux function. |
| AF_FLUX_EXPONENTIAL | Exponential flux function. |
| AF_FLUX_DEFAULT | Default flux function is exponential. |
Definition at line 502 of file defines.h.
502 {
@ AF_FLUX_EXPONENTIAL
Exponential flux function.
@ AF_FLUX_QUADRATIC
Quadratic flux function.
@ AF_FLUX_DEFAULT
Default flux function is exponential.
◆ af_homography_type
| Enumerator | |
|---|---|
| AF_HOMOGRAPHY_RANSAC | Computes homography using RANSAC. |
| AF_HOMOGRAPHY_LMEDS | Computes homography using Least Median of Squares. |
Definition at line 408 of file defines.h.
408 {
@ AF_HOMOGRAPHY_RANSAC
Computes homography using RANSAC.
@ AF_HOMOGRAPHY_LMEDS
Computes homography using Least Median of Squares.
◆ af_image_format
| Enumerator | |
|---|---|
| AF_FIF_BMP | FreeImage Enum for Bitmap File. |
| AF_FIF_ICO | FreeImage Enum for Windows Icon File. |
| AF_FIF_JPEG | FreeImage Enum for JPEG File. |
| AF_FIF_JNG | FreeImage Enum for JPEG Network Graphics File. |
| AF_FIF_PNG | FreeImage Enum for Portable Network Graphics File. |
| AF_FIF_PPM | FreeImage Enum for Portable Pixelmap (ASCII) File. |
| AF_FIF_PPMRAW | FreeImage Enum for Portable Pixelmap (Binary) File. |
| AF_FIF_TIFF | FreeImage Enum for Tagged Image File Format File. |
| AF_FIF_PSD | FreeImage Enum for Adobe Photoshop File. |
| AF_FIF_HDR | FreeImage Enum for High Dynamic Range File. |
| AF_FIF_EXR | FreeImage Enum for ILM OpenEXR File. |
| AF_FIF_JP2 | FreeImage Enum for JPEG-2000 File. |
| AF_FIF_RAW | FreeImage Enum for RAW Camera Image File. |
Definition at line 380 of file defines.h.
380 {
@ AF_FIF_PNG
FreeImage Enum for Portable Network Graphics File.
@ AF_FIF_PSD
FreeImage Enum for Adobe Photoshop File.
@ AF_FIF_PPMRAW
FreeImage Enum for Portable Pixelmap (Binary) File.
@ AF_FIF_JPEG
FreeImage Enum for JPEG File.
@ AF_FIF_JP2
FreeImage Enum for JPEG-2000 File.
@ AF_FIF_PPM
FreeImage Enum for Portable Pixelmap (ASCII) File.
@ AF_FIF_BMP
FreeImage Enum for Bitmap File.
@ AF_FIF_ICO
FreeImage Enum for Windows Icon File.
@ AF_FIF_RAW
FreeImage Enum for RAW Camera Image File.
@ AF_FIF_EXR
FreeImage Enum for ILM OpenEXR File.
@ AF_FIF_TIFF
FreeImage Enum for Tagged Image File Format File.
@ AF_FIF_HDR
FreeImage Enum for High Dynamic Range File.
@ AF_FIF_JNG
FreeImage Enum for JPEG Network Graphics File.
◆ af_interp_type
| Enumerator | |
|---|---|
| AF_INTERP_NEAREST | Nearest Interpolation. |
| AF_INTERP_LINEAR | Linear Interpolation. |
| AF_INTERP_BILINEAR | Bilinear Interpolation. |
| AF_INTERP_CUBIC | Cubic Interpolation. |
| AF_INTERP_LOWER | Floor Indexed. |
| AF_INTERP_LINEAR_COSINE | Linear Interpolation with cosine smoothing. |
| AF_INTERP_BILINEAR_COSINE | Bilinear Interpolation with cosine smoothing. |
| AF_INTERP_BICUBIC | Bicubic Interpolation. |
| AF_INTERP_CUBIC_SPLINE | Cubic Interpolation with Catmull-Rom splines. |
| AF_INTERP_BICUBIC_SPLINE | Bicubic Interpolation with Catmull-Rom splines. |
Definition at line 245 of file defines.h.
245 {
251#if AF_API_VERSION >= 34
253#endif
254#if AF_API_VERSION >= 34
256#endif
257#if AF_API_VERSION >= 34
259#endif
260#if AF_API_VERSION >= 34
262#endif
263#if AF_API_VERSION >= 34
265#endif
266
@ AF_INTERP_CUBIC
Cubic Interpolation.
@ AF_INTERP_LOWER
Floor Indexed.
@ AF_INTERP_LINEAR_COSINE
Linear Interpolation with cosine smoothing.
@ AF_INTERP_LINEAR
Linear Interpolation.
@ AF_INTERP_NEAREST
Nearest Interpolation.
@ AF_INTERP_BILINEAR_COSINE
Bilinear Interpolation with cosine smoothing.
@ AF_INTERP_CUBIC_SPLINE
Cubic Interpolation with Catmull-Rom splines.
@ AF_INTERP_BICUBIC
Bicubic Interpolation.
@ AF_INTERP_BICUBIC_SPLINE
Bicubic Interpolation with Catmull-Rom splines.
@ AF_INTERP_BILINEAR
Bilinear Interpolation.
◆ af_inverse_deconv_algo
| Enumerator | |
|---|---|
| AF_INVERSE_DECONV_TIKHONOV | Tikhonov Inverse deconvolution. |
| AF_INVERSE_DECONV_DEFAULT | Default is Tikhonov deconvolution. |
Definition at line 537 of file defines.h.
537 {
@ AF_INVERSE_DECONV_DEFAULT
Default is Tikhonov deconvolution.
@ AF_INVERSE_DECONV_TIKHONOV
Tikhonov Inverse deconvolution.
◆ af_iterative_deconv_algo
| Enumerator | |
|---|---|
| AF_ITERATIVE_DECONV_LANDWEBER | Landweber Deconvolution. |
| AF_ITERATIVE_DECONV_RICHARDSONLUCY | Richardson-Lucy Deconvolution. |
| AF_ITERATIVE_DECONV_DEFAULT | Default is Landweber deconvolution. |
Definition at line 531 of file defines.h.
531 {
@ AF_ITERATIVE_DECONV_LANDWEBER
Landweber Deconvolution.
@ AF_ITERATIVE_DECONV_DEFAULT
Default is Landweber deconvolution.
@ AF_ITERATIVE_DECONV_RICHARDSONLUCY
Richardson-Lucy Deconvolution.
◆ af_marker_type
| Enumerator |
|---|
| AF_MARKER_NONE |
| AF_MARKER_POINT |
| AF_MARKER_CIRCLE |
| AF_MARKER_SQUARE |
| AF_MARKER_TRIANGLE |
| AF_MARKER_CROSS |
| AF_MARKER_PLUS |
| AF_MARKER_STAR |
Definition at line 472 of file defines.h.
◆ af_mat_prop
| Enumerator | |
|---|---|
| AF_MAT_NONE | Default. |
| AF_MAT_TRANS | Data needs to be transposed. |
| AF_MAT_CTRANS | Data needs to be conjugate tansposed. |
| AF_MAT_CONJ | Data needs to be conjugate. |
| AF_MAT_UPPER | Matrix is upper triangular. |
| AF_MAT_LOWER | Matrix is lower triangular. |
| AF_MAT_DIAG_UNIT | Matrix diagonal contains unitary values. |
| AF_MAT_SYM | Matrix is symmetric. |
| AF_MAT_POSDEF | Matrix is positive definite. |
| AF_MAT_ORTHOG | Matrix is orthogonal. |
| AF_MAT_TRI_DIAG | Matrix is tri diagonal. |
| AF_MAT_BLOCK_DIAG | Matrix is block diagonal. |
Definition at line 351 of file defines.h.
351 {
@ AF_MAT_CONJ
Data needs to be conjugate.
@ AF_MAT_CTRANS
Data needs to be conjugate tansposed.
@ AF_MAT_LOWER
Matrix is lower triangular.
@ AF_MAT_POSDEF
Matrix is positive definite.
@ AF_MAT_UPPER
Matrix is upper triangular.
@ AF_MAT_SYM
Matrix is symmetric.
@ AF_MAT_ORTHOG
Matrix is orthogonal.
@ AF_MAT_BLOCK_DIAG
Matrix is block diagonal.
@ AF_MAT_TRI_DIAG
Matrix is tri diagonal.
@ AF_MAT_DIAG_UNIT
Matrix diagonal contains unitary values.
@ AF_MAT_TRANS
Data needs to be transposed.
◆ af_match_type
| Enumerator | |
|---|---|
| AF_SAD | Match based on Sum of Absolute Differences (SAD) |
| AF_ZSAD | Match based on Zero mean SAD. |
| AF_LSAD | Match based on Locally scaled SAD. |
| AF_SSD | Match based on Sum of Squared Differences (SSD) |
| AF_ZSSD | Match based on Zero mean SSD. |
| AF_LSSD | Match based on Locally scaled SSD. |
| AF_NCC | Match based on Normalized Cross Correlation (NCC) |
| AF_ZNCC | Match based on Zero mean NCC. |
| AF_SHD | Match based on Sum of Hamming Distances (SHD) |
Definition at line 322 of file defines.h.
322 {
@ AF_LSSD
Match based on Locally scaled SSD.
@ AF_ZNCC
Match based on Zero mean NCC.
@ AF_ZSAD
Match based on Zero mean SAD.
@ AF_SSD
Match based on Sum of Squared Differences (SSD)
@ AF_NCC
Match based on Normalized Cross Correlation (NCC)
@ AF_SHD
Match based on Sum of Hamming Distances (SHD)
@ AF_LSAD
Match based on Locally scaled SAD.
@ AF_ZSSD
Match based on Zero mean SSD.
@ AF_SAD
Match based on Sum of Absolute Differences (SAD)
◆ af_moment_type
| Enumerator |
|---|
| AF_MOMENT_M00 |
| AF_MOMENT_M01 |
| AF_MOMENT_M10 |
| AF_MOMENT_M11 |
| AF_MOMENT_FIRST_ORDER |
Definition at line 398 of file defines.h.
◆ af_norm_type
| Enumerator | |
|---|---|
| AF_NORM_VECTOR_1 | treats the input as a vector and returns the sum of absolute values |
| AF_NORM_VECTOR_INF | treats the input as a vector and returns the max of absolute values |
| AF_NORM_VECTOR_2 | treats the input as a vector and returns euclidean norm |
| AF_NORM_VECTOR_P | treats the input as a vector and returns the p-norm |
| AF_NORM_MATRIX_1 | return the max of column sums |
| AF_NORM_MATRIX_INF | return the max of row sums |
| AF_NORM_MATRIX_2 | returns the max singular value). Currently NOT SUPPORTED |
| AF_NORM_MATRIX_L_PQ | returns Lpq-norm |
| AF_NORM_EUCLID | The default. Same as AF_NORM_VECTOR_2. |
Definition at line 366 of file defines.h.
366 {
375
@ AF_NORM_MATRIX_L_PQ
returns Lpq-norm
@ AF_NORM_VECTOR_2
treats the input as a vector and returns euclidean norm
@ AF_NORM_MATRIX_2
returns the max singular value). Currently NOT SUPPORTED
@ AF_NORM_MATRIX_INF
return the max of row sums
@ AF_NORM_EUCLID
The default. Same as AF_NORM_VECTOR_2.
@ AF_NORM_VECTOR_P
treats the input as a vector and returns the p-norm
@ AF_NORM_VECTOR_INF
treats the input as a vector and returns the max of absolute values
@ AF_NORM_VECTOR_1
treats the input as a vector and returns the sum of absolute values
@ AF_NORM_MATRIX_1
return the max of column sums
◆ af_random_engine_type
| Enumerator |
|---|
| AF_RANDOM_ENGINE_PHILOX_4X32_10 |
| AF_RANDOM_ENGINE_THREEFRY_2X32_16 |
| AF_RANDOM_ENGINE_MERSENNE_GP11213 |
| AF_RANDOM_ENGINE_PHILOX |
| AF_RANDOM_ENGINE_THREEFRY |
| AF_RANDOM_ENGINE_MERSENNE |
| AF_RANDOM_ENGINE_DEFAULT |
Definition at line 442 of file defines.h.
442 {
@ AF_RANDOM_ENGINE_PHILOX
@ AF_RANDOM_ENGINE_DEFAULT
@ AF_RANDOM_ENGINE_MERSENNE_GP11213
@ AF_RANDOM_ENGINE_THREEFRY
@ AF_RANDOM_ENGINE_PHILOX_4X32_10
@ AF_RANDOM_ENGINE_MERSENNE
@ AF_RANDOM_ENGINE_THREEFRY_2X32_16
◆ af_someenum_t
◆ af_source
| Enumerator | |
|---|---|
| afDevice | Device pointer. |
| afHost | Host pointer. |
Definition at line 235 of file defines.h.
235 {
@ afDevice
Device pointer.
◆ af_storage
| Enumerator | |
|---|---|
| AF_STORAGE_DENSE | Storage type is dense. |
| AF_STORAGE_CSR | Storage type is CSR. |
| AF_STORAGE_CSC | Storage type is CSC. |
| AF_STORAGE_COO | Storage type is COO. |
Definition at line 493 of file defines.h.
493 {
@ AF_STORAGE_CSC
Storage type is CSC.
@ AF_STORAGE_CSR
Storage type is CSR.
@ AF_STORAGE_COO
Storage type is COO.
@ AF_STORAGE_DENSE
Storage type is dense.
◆ af_topk_function
| Enumerator | |
|---|---|
| AF_TOPK_MIN | Top k min values. |
| AF_TOPK_MAX | Top k max values. |
| AF_TOPK_STABLE | Preserve order of indices for equal values. |
| AF_TOPK_STABLE_MIN | Top k min with stable indices. |
| AF_TOPK_STABLE_MAX | Top k max with stable indices. |
| AF_TOPK_DEFAULT | Default option (max) |
Definition at line 514 of file defines.h.
514 {
@ AF_TOPK_STABLE_MAX
Top k max with stable indices.
@ AF_TOPK_STABLE
Preserve order of indices for equal values.
@ AF_TOPK_MIN
Top k min values.
@ AF_TOPK_MAX
Top k max values.
@ AF_TOPK_DEFAULT
Default option (max)
@ AF_TOPK_STABLE_MIN
Top k min with stable indices.
◆ af_var_bias
| Enumerator | |
|---|---|
| AF_VARIANCE_DEFAULT | Default (Population) variance. |
| AF_VARIANCE_SAMPLE | Sample variance. |
| AF_VARIANCE_POPULATION | Population variance. |
Definition at line 525 of file defines.h.
525 {
@ AF_VARIANCE_DEFAULT
Default (Population) variance.
@ AF_VARIANCE_SAMPLE
Sample variance.
@ AF_VARIANCE_POPULATION
Population variance.
◆ af_ycc_std
| Enumerator | |
|---|---|
| AF_YCC_601 | ITU-R BT.601 (formerly CCIR 601) standard. |
| AF_YCC_709 | ITU-R BT.709 standard. |
| AF_YCC_2020 | ITU-R BT.2020 standard. |
Definition at line 335 of file defines.h.
335 {
@ AF_YCC_709
ITU-R BT.709 standard.
@ AF_YCC_2020
ITU-R BT.2020 standard.
@ AF_YCC_601
ITU-R BT.601 (formerly CCIR 601) standard.