43 #include "../DSPLIB_bufParams.h"
44 #include "../DSPLIB_types.h"
45 #include "../DSPLIB_utility.h"
53 dataType *yPtr = matrix;
58 for (y = 0; y < params->
dim_y; y++) {
61 for (x = 0; x < params->
dim_x; x++) {
66 yPtr += stride_y_elements;
113 DSPLIB_PRINTF(
"\nERROR: Unrecognized data type in %s.\n", __FUNCTION__);
template void DSPLIB_debugPrintMatrix_helper< int32_t >(int32_t *matrix, const DSPLIB_bufParams2D_t *params)
template void DSPLIB_debugPrintMatrix_helper< int16_t >(int16_t *matrix, const DSPLIB_bufParams2D_t *params)
template void DSPLIB_debugPrintMatrix_helper< uint8_t >(uint8_t *matrix, const DSPLIB_bufParams2D_t *params)
void DSPLIB_debugPrintMatrix_helper(dataType *matrix, const DSPLIB_bufParams2D_t *params)
void DSPLIB_debugPrintMatrix(void *matrix, const DSPLIB_bufParams2D_t *params)
template void DSPLIB_debugPrintMatrix_helper< uint16_t >(uint16_t *matrix, const DSPLIB_bufParams2D_t *params)
template void DSPLIB_debugPrintMatrix_helper< int8_t >(int8_t *matrix, const DSPLIB_bufParams2D_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 2 dimensional buffer descriptor.
uint32_t data_type
Values are of type DSPLIB_data_type_e.
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_y
Height of buffer in Y dimension in elements.