40 template <
typename dataTypeOut>
48 uint32_t blockSize = pKerPrivArgs->
blockSize;
49 int16_t *pInLocal = (int16_t *) pIn;
50 dataTypeOut *pOutLocal = (dataTypeOut *) pOut;
52 DSPLIB_DEBUGPRINTFN(0,
"pInLocal: %p pOutLocal: %p blockSize: %d\n", pInLocal, pOutLocal, blockSize);
57 for (int32_t counter = 0; counter < (int32_t) blockSize; counter++) {
59 out = (dataTypeOut) a / 32768.0;
template DSPLIB_STATUS DSPLIB_q15tofl_exec_cn< float >(DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pOut)
template DSPLIB_STATUS DSPLIB_q15tofl_exec_cn< double >(DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pOut)
DSPLIB_STATUS DSPLIB_q15tofl_exec_cn(DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pOut)
This function is the main execution function for the natural C implementation of the kernel....
DSPLIB_STATUS DSPLIB_q15tofl_init_cn(DSPLIB_kernelHandle handle, const DSPLIB_bufParams1D_t *bufParamsIn, const DSPLIB_bufParams1D_t *bufParamsOut, const DSPLIB_q15tofl_InitArgs *pKerInitArgs)
This function is the initialization function for the natural C implementation of the kernel....
Header file for kernel's internal use. For the kernel's interface, please see DSPLIB_q15tofl.
#define DSPLIB_DEBUGPRINTFN(N, fmt,...)
DSPLIB_STATUS_NAME
The enumeration of all status codes.
void * DSPLIB_kernelHandle
Handle type for DSPLIB operations.
A structure for a 1 dimensional buffer descriptor.
Structure containing the parameters to initialize the kernel.
Structure that is reserved for internal use by the kernel.
int32_t blockSize
Size of input buffer for different batches DSPLIB_q15tofl_init that will be retrieved and used by DSP...