1.4.2.8 mchp_correlate_q31()

void mchp_correlate_q31 (const q31_t * pSrcA, uint32_t srcALen, const q31_t * pSrcB, uint32_t srcBLen, q31_t * pDst)

Correlation of Q31 sequences.

Parameters:
in pSrcA

points to the first input sequence.

in srcALen

length of the first input sequence.

in pSrcB

points to the second input sequence.

in srcBLen

length of the second input sequence.

out pDst

points to the block of output data Length 2 * max(srcALen, srcBLen) - 1.

Note:

Implementation reverses pSrcB in-place before calling convolution. The const qualifier matches the ARM CMSIS-DSP API contract; callers should not rely on pSrcB being unmodified.