Is there a Hardware support available for BILINEAR INTERPOLATION in TMS320C6678? Or should we do the entire coding?
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.
this report might be interesting for you:
It talks about an ultra-sound system using the previous generation of C6000 DSP (c64x+), which didn't have the floating point capabilities. In the report the explain algrithm and how to map it onto the DSP instruction set using intrinsics ...
I believe you can do further optimization using the floating point instructions that are now available on the c66x architecture ...
one and zero
You might find STK-MED 3.0 (software toolkit for medical imaging) for C66x useful as a reference here. There are 2 specific modules that might be of interest to you. One, is the scan conversion algorithm module (scu_ires) that "precomputes addresses of 4 input samples and corresponding interpolation coefficients for all scan conversion outputs. During run-time computation, the scan conversion simply computes the output samples based on bilinear interpolation using pre-computed addresses and interpolation coefficients." Here's an app note that was done on the SCU implementation http://www.ti.com/lit/an/sprab32/sprab32.pdf The second module that you might find useful from STK-MED is the cubic spline interpolation module (interp).
You can download STK-MED from http://www.ti.com/tool/s2meddus and look at the source code (library and unit-test included) and documentation to see if it's useful for your use-case. It's free and licensed under BSD.