This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Akhil,
The LUT/HIST APIs are documented in the c7x_luthist.h file in the compiler's include files (ex: ti-cgt-c7000_4.1.0.LTS/include).
In terms of source code examples for LUT (lookup table) and HIST (histogram), the C7x versions of MATHLIB (denoted as "mathlib" in the 10.0 SDK) and VXLIB (denoted as vxlib_10_00_00_02 in the 10.0 SDK) make use of this functionality:
For MATHLIB the following functions use LUT. The actual use of the LUT APIs from the compiler are in MATHLIB_lut.h
For VXLIB, the VXLIB_tableLookup function uses LUT - see VXLIB_tableLookup_lut_ci.cpp for the specific LUT API usage.
For VXLIB, the VXLIB_histogram function uses the histogram functionality - see VXLIB_histogram_ci.cpp for the specific API usage.
Best,
Asha