81 #ifndef DSPLIB_CASCADEBIQUAD_H_
82 #define DSPLIB_CASCADEBIQUAD_H_
84 #include "../common/DSPLIB_types.h"
230 void *restrict pFilterCoeff,
231 void *restrict pFilterVar,
232 void *restrict pOut);
252 const void *restrict pIn,
253 const void *restrict pFilterCoeff,
254 const void *restrict pFilterVar,
255 const void *restrict pOut);
279 uint64_t *archCycles,
280 uint64_t *estCycles);
DSPLIB_STATUS_NAME
The enumeration of all status codes.
void * DSPLIB_kernelHandle
Handle type for DSPLIB operations.
int32_t DSPLIB_cascadeBiquad_getHandleSize(DSPLIB_cascadeBiquad_InitArgs *pKerInitArgs)
This is a query function to calculate the size of internal handle.
DSPLIB_STATUS DSPLIB_cascadeBiquad_exec(DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pFilterCoeff, void *restrict pFilterVar, void *restrict pOut)
This function is the main kernel compute function.
void DSPLIB_cascadeBiquad_perfEst(DSPLIB_kernelHandle handle, const DSPLIB_bufParams2D_t *bufParamsIn, const DSPLIB_bufParams1D_t *bufParamsFilterCoeff, const DSPLIB_bufParams2D_t *bufParamsFilterVar, const DSPLIB_bufParams2D_t *bufParamsOut, uint64_t *archCycles, uint64_t *estCycles)
This is a utility function that gives an estimate of the cycles consumed for the kernel execution.
DSPLIB_STATUS DSPLIB_cascadeBiquad_exec_checkParams(DSPLIB_kernelHandle handle, const void *restrict pIn, const void *restrict pFilterCoeff, const void *restrict pFilterVar, const void *restrict pOut)
This function checks the validity of the parameters passed to DSPLIB_cascadeBiquad_exec function....
int32_t DSPLIB_cascadeBiquad_get_coefficientsBufferSize(uint32_t numStages)
This is a query function to calculate the sizes of coefficient buffer needed based on the number of s...
DSPLIB_STATUS DSPLIB_cascadeBiquad_init(DSPLIB_kernelHandle handle, DSPLIB_bufParams2D_t *bufParamsIn, DSPLIB_bufParams1D_t *bufParamsFilterCoeff, DSPLIB_bufParams2D_t *bufParamsFilterVar, DSPLIB_bufParams2D_t *bufParamsOut, DSPLIB_cascadeBiquad_InitArgs *pKerInitArgs)
This function should be called before the DSPLIB_cascadeBiquad_exec function is called....
DSPLIB_STATUS DSPLIB_cascadeBiquad_init_checkParams(DSPLIB_kernelHandle handle, const DSPLIB_bufParams2D_t *bufParamsIn, const DSPLIB_bufParams1D_t *bufParamsFilterCoeff, const DSPLIB_bufParams2D_t *bufParamsFilterVar, const DSPLIB_bufParams2D_t *bufParamsOut, const DSPLIB_cascadeBiquad_InitArgs *pKerInitArgs)
This function checks the validity of the parameters passed to DSPLIB_cascadeBiquad_init function....
A structure for a 1 dimensional buffer descriptor.
A structure for a 2 dimensional buffer descriptor.
Structure containing the parameters to initialize the kernel.
uint32_t dataSize
Size of input data
uint32_t numChannels
number of channels
int8_t funcStyle
Variant of the function refer to DSPLIB_FUNCTION_STYLE
uint32_t numStages
Size of batch in terms of number of channels of input data