VPI - Vision Programming Interface

1.0 Release

AlgoFlags.h File Reference

Functions and structures for dealing with VPI images. More...

#include "Export.h"
#include "ImageFormat.h"
#include "PixelType.h"
#include "Status.h"
#include "Types.h"
#include <stdint.h>
+ Include dependency graph for AlgoFlags.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define VPI_WARP_INVERSE   (1u << 0)
 Informs that the matrix used in warp/map operations is already inverted. More...
 
#define VPI_PRECISE   (1u << 1)
 Informs that the algorithm will choose a precise implementation. More...
 
#define VPI_DENORMALIZED_OUTPUT   (1u << 2)
 Leave output denormalized. More...
 

Detailed Description

Functions and structures for dealing with VPI images.

Definition in file AlgoFlags.h.

Macro Definition Documentation

◆ VPI_DENORMALIZED_OUTPUT

#define VPI_DENORMALIZED_OUTPUT   (1u << 2)

Leave output denormalized.

Flag currently used in Inverse FFT, where it signals that output is to be left denormalized. This leads to faster execution as normalization isn't usually needed. Absense of this flag will scale the output, dividing it by the total pixel count. This makes the output the exact inverse of direct Fast Fourier Transform.

Definition at line 94 of file AlgoFlags.h.

◆ VPI_PRECISE

#define VPI_PRECISE   (1u << 1)

Informs that the algorithm will choose a precise implementation.

By default algorithms will choose an implementation that might trade speed over precision.

Definition at line 85 of file AlgoFlags.h.

◆ VPI_WARP_INVERSE

#define VPI_WARP_INVERSE   (1u << 0)

Informs that the matrix used in warp/map operations is already inverted.

If user has the transform matrix already inverted, setting this flag allows the warp operation to use it directly instead of inverting it itself prior processing. This is particularly useful if matrix inversion would result in large numerical errors, such as when its determinant is close to zero.

Definition at line 79 of file AlgoFlags.h.