44 #include "../FFTLIB_types.h"
45 #include "../FFTLIB_bufParams.h"
58 template <
typename dataType>
64 dataType* zPtr = matrix;
71 for(t = 0; t < params->
dim_z; t++){
73 for(r = 0; r < params->
dim_y; r++){
75 for(c = 0; c < params->
dim_x; c++){
80 yPtr += stride_y_elements;
82 zPtr += stride_z_elements;
127 FFTLIB_PRINTF(
"\nERROR: Unrecognized data type in %s.\n", __FUNCTION__);
static int32_t FFTLIB_sizeof(uint32_t type)
Inline function returns number of bytes per element given a type of _FFTLIB_data_type_e.
template void FFTLIB_debugPrint3DVReg_helper< int8_t >(int8_t *matrix, const FFTLIB_bufParams3D_t *params)
void FFTLIB_debugPrint3DVReg_helper(dataType *matrix, const FFTLIB_bufParams3D_t *params)
template void FFTLIB_debugPrint3DVReg_helper< int32_t >(int32_t *matrix, const FFTLIB_bufParams3D_t *params)
template void FFTLIB_debugPrint3DVReg_helper< int16_t >(int16_t *matrix, const FFTLIB_bufParams3D_t *params)
void FFTLIB_debugPrint3DVReg(void *matrix, const FFTLIB_bufParams3D_t *params)
template void FFTLIB_debugPrint3DVReg_helper< uint16_t >(uint16_t *matrix, const FFTLIB_bufParams3D_t *params)
#define FFTLIB_PRINTF(fmt,...)
A structure for a 3 dimensional buffer descriptor.
int32_t stride_z
Stride in Z dimension in bytes.
uint32_t dim_x
Width of buffer in X dimension in elements.
uint32_t data_type
Values are of type FFTLIB_data_type_e.
uint32_t dim_z
Depth of patch in Z dimension in elements.
uint32_t dim_y
Height of buffer in Y dimension in elements.
int32_t stride_y
Stride in Y dimension in bytes.