40 #include "../VXLIB_bufParams.h"
41 #include "../VXLIB_types.h"
50 dataType *zPtr = matrix;
57 for (t = 0; t < params->
dim_z; t++) {
59 for (r = 0; r < params->
dim_y; r++) {
61 for (c = 0; c < params->
dim_x; c++) {
66 yPtr += stride_y_elements;
68 zPtr += stride_z_elements;
102 VXLIB_PRINTF(
"\nERROR: Unrecognized data type in %s.\n", __FUNCTION__);
template void VXLIB_debugPrint3DVReg_helper< uint16_t >(uint16_t *matrix, const VXLIB_bufParams3D_t *params)
void VXLIB_debugPrint3DVReg(void *matrix, const VXLIB_bufParams3D_t *params)
template void VXLIB_debugPrint3DVReg_helper< int32_t >(int32_t *matrix, const VXLIB_bufParams3D_t *params)
void VXLIB_debugPrint3DVReg_helper(dataType *matrix, const VXLIB_bufParams3D_t *params)
template void VXLIB_debugPrint3DVReg_helper< int16_t >(int16_t *matrix, const VXLIB_bufParams3D_t *params)
template void VXLIB_debugPrint3DVReg_helper< int8_t >(int8_t *matrix, const VXLIB_bufParams3D_t *params)
#define VXLIB_PRINTF(fmt,...)
static int32_t VXLIB_sizeof(uint32_t type)
Inline function returns number of bytes per element given a type of VXLIB_data_type_e.
A structure for a 3 dimensional buffer descriptor.
int32_t stride_z
Stride in Z dimension in bytes.
int32_t stride_y
Stride in Y dimension in bytes.
uint32_t dim_z
Depth of patch in Z dimension in elements.
uint32_t dim_y
Height of buffer in Y dimension in elements.
uint32_t dim_x
Width of buffer in X dimension in elements.
uint32_t data_type
Values are of type VXLIB_data_type_e.