43 #include "../DSPLIB_bufParams.h"
44 #include "../DSPLIB_types.h"
62 dataType *zPtr = matrix;
69 for (t = 0; t < params->
dim_z; t++) {
71 for (r = 0; r < params->
dim_y; r++) {
73 for (c = 0; c < params->
dim_x; c++) {
78 yPtr += stride_y_elements;
80 zPtr += stride_z_elements;
123 DSPLIB_PRINTF(
"\nERROR: Unrecognized data type in %s.\n", __FUNCTION__);
void DSPLIB_debugPrint3DVReg(void *matrix, const DSPLIB_bufParams3D_t *params)
template void DSPLIB_debugPrint3DVReg_helper< int8_t >(int8_t *matrix, const DSPLIB_bufParams3D_t *params)
void DSPLIB_debugPrint3DVReg_helper(dataType *matrix, const DSPLIB_bufParams3D_t *params)
template void DSPLIB_debugPrint3DVReg_helper< int32_t >(int32_t *matrix, const DSPLIB_bufParams3D_t *params)
template void DSPLIB_debugPrint3DVReg_helper< uint16_t >(uint16_t *matrix, const DSPLIB_bufParams3D_t *params)
template void DSPLIB_debugPrint3DVReg_helper< int16_t >(int16_t *matrix, const DSPLIB_bufParams3D_t *params)
#define DSPLIB_PRINTF(fmt,...)
static int32_t DSPLIB_sizeof(uint32_t type)
Inline function returns number of bytes per element given a type of DSPLIB_data_type_e.
A structure for a 3 dimensional buffer descriptor.
int32_t stride_y
Stride in Y dimension in bytes.
uint32_t dim_x
Width of buffer in X dimension in elements.
uint32_t dim_z
Depth of patch in Z dimension in elements.
int32_t stride_z
Stride in Z dimension in bytes.
uint32_t dim_y
Height of buffer in Y dimension in elements.
uint32_t data_type
Values are of type DSPLIB_data_type_e.