44 #include "../FFTLIB_types.h"
45 #include "../FFTLIB_bufParams.h"
46 #include "../FFTLIB_utility.h"
51 template <
typename dataType>
56 dataType* yPtr = matrix;
61 for(y = 0; y < params->
dim_y; y++){
64 for(x = 0; x < params->
dim_x; x++){
69 yPtr += stride_y_elements;
117 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_debugPrintMatrix_helper< uint16_t >(uint16_t *matrix, const FFTLIB_bufParams2D_t *params)
template void FFTLIB_debugPrintMatrix_helper< int16_t >(int16_t *matrix, const FFTLIB_bufParams2D_t *params)
void FFTLIB_debugPrintMatrix_helper(dataType *matrix, const FFTLIB_bufParams2D_t *params)
void FFTLIB_debugPrintMatrix(void *matrix, const FFTLIB_bufParams2D_t *params)
template void FFTLIB_debugPrintMatrix_helper< int32_t >(int32_t *matrix, const FFTLIB_bufParams2D_t *params)
template void FFTLIB_debugPrintMatrix_helper< uint8_t >(uint8_t *matrix, const FFTLIB_bufParams2D_t *params)
template void FFTLIB_debugPrintMatrix_helper< int8_t >(int8_t *matrix, const FFTLIB_bufParams2D_t *params)
#define FFTLIB_PRINTF(fmt,...)
A structure for a 2 dimensional buffer descriptor.
uint32_t dim_y
Height of buffer in Y dimension in elements.
uint32_t dim_x
Width of buffer in X dimension in elements.
int32_t stride_y
Stride in Y dimension in bytes.
uint32_t data_type
Values are of type FFTLIB_data_type_e.