81 #ifndef MMALIB_DSP_FIRSMALL_IXX_IXX_OXX_H_
82 #define MMALIB_DSP_FIRSMALL_IXX_IXX_OXX_H_
84 #include "../../common/MMALIB_types.h"
263 void *restrict pFilter,
264 void *restrict pOut);
285 const void *restrict pIn,
286 const void *restrict pFilter,
287 const void *restrict pOut);
310 uint64_t *archCycles,
311 uint64_t *estCycles);
MMALIB_STATUS_NAME
The enumeration of all status codes.
void * MMALIB_kernelHandle
Handle type for MMALIB operations.
MMALIB_STATUS MMALIB_DSP_firSmall_ixX_ixX_oxX_init(MMALIB_kernelHandle handle, const MMALIB_bufParams1D_t *bufParamsIn, const MMALIB_bufParams1D_t *bufParamsFilter, const MMALIB_bufParams1D_t *bufParamsOut, MMALIB_DSP_firSmall_ixX_ixX_oxX_InitArgs *pKerInitArgs)
This function should be called before the MMALIB_DSP_firSmall_ixX_ixX_oxX_exec function is called....
MMALIB_STATUS MMALIB_DSP_firSmall_ixX_ixX_oxX_init_checkParams(MMALIB_kernelHandle handle, const MMALIB_bufParams1D_t *bufParamsIn, const MMALIB_bufParams1D_t *bufParamsFilter, const MMALIB_bufParams1D_t *bufParamsOut, const MMALIB_DSP_firSmall_ixX_ixX_oxX_InitArgs *pKerInitArgs)
This function checks the validity of the parameters passed to MMALIB_DSP_firSmall_ixX_ixX_oxX_init fu...
void MMALIB_DSP_firSmall_ixX_ixX_oxX_perfEst(MMALIB_kernelHandle handle, const MMALIB_bufParams1D_t *bufParamsIn, const MMALIB_bufParams1D_t *bufParamsFilter, const MMALIB_bufParams1D_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.
MMALIB_STATUS MMALIB_DSP_firSmall_ixX_ixX_oxX_getSizes(const MMALIB_DSP_firSmall_ixX_ixX_oxX_InitArgs *pKerInitArgs, MMALIB_bufParams1D_t *bufParamsIn, MMALIB_bufParams1D_t *bufParamsFilter, MMALIB_bufParams1D_t *bufParamsOut)
This is a query function to calculate the sizes of input, filter and the output buffers.
MMALIB_STATUS MMALIB_DSP_firSmall_ixX_ixX_oxX_exec(MMALIB_kernelHandle handle, void *restrict pIn, void *restrict pFilter, void *restrict pOut)
This function is the main kernel compute function.
int32_t MMALIB_DSP_firSmall_ixX_ixX_oxX_getHandleSize(MMALIB_DSP_firSmall_ixX_ixX_oxX_InitArgs *pKerInitArgs)
This is a query function to calculate the size of internal handle.
MMALIB_STATUS MMALIB_DSP_firSmall_ixX_ixX_oxX_exec_checkParams(MMALIB_kernelHandle handle, const void *restrict pIn, const void *restrict pFilter, const void *restrict pOut)
This function checks the validity of the parameters passed to MMALIB_DSP_firSmall_ixX_ixX_oxX_exec fu...
Structure containing the parameters to initialize the kernel.
uint32_t shift
Bit-shift values to be used for internal computation.
int32_t dataSize
Size of input data
int32_t batchSize
Size of batch in terms of number of channels of input data
int32_t filterSize
Size of filter
int8_t funcStyle
Variant of the function refer to MMALIB_FUNCTION_STYLE
A structure for a 1 dimensional buffer descriptor.