DSP_minerror
[Miscellaneous]

Collaboration diagram for DSP_minerror:


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
Algorithm:
DSP_minerror_cn.c is the natural C equivalent of the optimized intrinsic C code without restrictions note that the intrinsic C code is optimized and restrictions may apply.
Assumptions:
Array GSP0_TABLE[] must be double-word aligned.
Implementation notes:
Endian Support: The code supports both big and little endian modes.
Interruptibility: The code is interruptible.


Copyright 2014, Texas Instruments Incorporated