CupvaSamplerInput1D#
Defined in src/device/vpu_runtime/include/cupva_device/sampler.h
-
struct CupvaSamplerInput1D#
Configure a 1D input buffer for sampling.
This structure should be used to pass parameters to one of the cupvaSamplerInit() overloads. Where a field is specified as optional, a default value may be used by leaving the relevant entry zero/default initialized.
Public Members
-
void const *data#
Pointer to input data table
-
CupvaSamplerInputType type#
Pixel format of lookup table entries
-
uint32_t length#
Number of valid entries in the input table
-
ptrdiff_t inputAdv#
The input table base pointer can move every iteration of dim2 or patch. This parameter specifies the offset to the next input table in pixels. Optional, defaults to zero.
-
CupvaSamplerTaskOutOfRangeHandlingMode outOfRangeMode#
Specify how to handle lookups to this table which result in out-of-range accesses. Optional, defaults to SAMPLER_OUT_OF_RANGE_CONSTANT.
-
uint32_t outOfRangeVal#
If outOfRangeMode is SAMPLER_OUT_OF_RANGE_CONSTANT, this specifies the constant value to use. Otherwise, it is ignored. Optional, defaults to zero.
-
void const *data#