TMS320C6674: Want to understand the C66X's DSP_minerror function

Part Number: TMS320C6674

Tool/software:

Hi TI's experts,

The description in C66X DSPLIB is unclear about the definition of GSP0_TABLE and errCoefs.

Please help to explain the definition and provide me an example of how to use this function.

Appreciated!!

Detailed Description

int  DSP_minerror (const short *restrict GSP0_TABLE, const short *restrict errCoefs, int *restrict max_index)

Function Documentation

int DSP_minerror ( const short *restrict  GSP0_TABLE,
const short *restrict  errCoefs,
int *restrict  max_index  
)

Returns Maximum dot product result

Parameters:
GSP0_TABLE[9*256]  = GSP0 terms array. Must be double-word aligned
errCoefs[9]  = Array of error coefficients
max_index  = Pointer to GSP0_TABLE[max_index] found

BRs,

Dennis