DSPLIB User Guide
DSPLIB_fir_cn.cpp File Reference

Go to the source code of this file.

Functions

DSPLIB_STATUS DSPLIB_fir_init_cn (DSPLIB_kernelHandle handle, DSPLIB_bufParams2D_t *bufParamsIn, DSPLIB_bufParams2D_t *bufParamsFilter, DSPLIB_bufParams2D_t *bufParamsOut, DSPLIB_fir_InitArgs *pKerInitArgs)
 This function is the initialization function for the natural C implementation of the kernel. The function declaration conforms to the declaration of DSPLIB_fir_init. More...
 
template<typename dataType , typename accumulateType >
DSPLIB_STATUS DSPLIB_fir_exec_cn (DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pFilter, void *restrict pOut)
 This function is the main execution function for the natural C implementation of the kernel. The function declaration conforms to the declaration of DSPLIB_fir_exec. More...
 
template DSPLIB_STATUS DSPLIB_fir_exec_cn< int16_t, int64_t > (DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pFilter, void *restrict pOut)
 
template DSPLIB_STATUS DSPLIB_fir_exec_cn< int32_t, DSPLIB_int128_t > (DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pFilter, void *restrict pOut)
 
template DSPLIB_STATUS DSPLIB_fir_exec_cn< int8_t, int32_t > (DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pFilter, void *restrict pOut)
 
template DSPLIB_STATUS DSPLIB_fir_exec_cn< float, int32_t > (DSPLIB_kernelHandle handle, void *restrict pIn, void *restrict pFilter, void *restrict pOut)
 

Function Documentation

◆ DSPLIB_fir_init_cn()

DSPLIB_STATUS DSPLIB_fir_init_cn ( DSPLIB_kernelHandle  handle,
DSPLIB_bufParams2D_t bufParamsIn,
DSPLIB_bufParams2D_t bufParamsFilter,
DSPLIB_bufParams2D_t bufParamsOut,
DSPLIB_fir_InitArgs pKerInitArgs 
)

This function is the initialization function for the natural C implementation of the kernel. The function declaration conforms to the declaration of DSPLIB_fir_init.

Parameters
[in]handle: Active handle to the kernel
[in]bufParamsIn: Pointer to the structure containing dimensional information of input buffer
[in]bufParamsFilter: Pointer to the structure containing dimensional information of filter buffer
[out]bufParamsOut: Pointer to the structure containing dimensional information of ouput buffer
[in]pKerInitArgs: Pointer to the structure holding init parameters
Returns
Status value indicating success or failure. Refer to DSPLIB_STATUS.

Definition at line 31 of file DSPLIB_fir_cn.cpp.

◆ DSPLIB_fir_exec_cn()

template<typename dataType , typename accumulateType >
DSPLIB_STATUS DSPLIB_fir_exec_cn ( DSPLIB_kernelHandle  handle,
void *restrict  pIn,
void *restrict  pFilter,
void *restrict  pOut 
)

This function is the main execution function for the natural C implementation of the kernel. The function declaration conforms to the declaration of DSPLIB_fir_exec.

Parameters
[in]handle: Active handle to the kernel
[in]pIn: Pointer to buffer holding the input data
[in]pFilter: Pointer to buffer holding the filter data
[out]pOut: Pointer to buffer holding the output data
Returns
Status value indicating success or failure. Refer to DSPLIB_STATUS.

Definition at line 43 of file DSPLIB_fir_cn.cpp.

◆ DSPLIB_fir_exec_cn< int16_t, int64_t >()

template DSPLIB_STATUS DSPLIB_fir_exec_cn< int16_t, int64_t > ( DSPLIB_kernelHandle  handle,
void *restrict  pIn,
void *restrict  pFilter,
void *restrict  pOut 
)

◆ DSPLIB_fir_exec_cn< int32_t, DSPLIB_int128_t >()

template DSPLIB_STATUS DSPLIB_fir_exec_cn< int32_t, DSPLIB_int128_t > ( DSPLIB_kernelHandle  handle,
void *restrict  pIn,
void *restrict  pFilter,
void *restrict  pOut 
)

◆ DSPLIB_fir_exec_cn< int8_t, int32_t >()

template DSPLIB_STATUS DSPLIB_fir_exec_cn< int8_t, int32_t > ( DSPLIB_kernelHandle  handle,
void *restrict  pIn,
void *restrict  pFilter,
void *restrict  pOut 
)

◆ DSPLIB_fir_exec_cn< float, int32_t >()

template DSPLIB_STATUS DSPLIB_fir_exec_cn< float, int32_t > ( DSPLIB_kernelHandle  handle,
void *restrict  pIn,
void *restrict  pFilter,
void *restrict  pOut 
)