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.

Where to put JM reference c code when building Code Engine?

Other Parts Discussed in Thread: OMAP3530

Hey, experts

QUESTION 1:

When I take a look of the following file regarding to Code engine

./ti-codec-h264-dec/omap3530_h264dec_2_01_007_production/packages/ti/sdo/codecs/h264dec/app/Client/Test/Src/TestAppDecoder.c

in Line 788:

retVal = ividDecFxns->process((IVIDDEC2_Handle)handle,

                                    (XDM1_BufDesc *)&inputBufDesc,

                                    (XDM_BufDesc *)&outputBufDesc,

                                    (IVIDDEC2_InArgs *)&inArgs.viddecInArgs,

                                    (IVIDDEC2_OutArgs *)&outArgs);

 

I can not find where the "process" function has been defined.  How the H.264 decoder will go through with this?

is that "This sample test application does not depict the actual function parameter or control code. It shows the basic flow of the code."

 

 

2. QUESTION 2:

Where can i put the reference code from JM, like "ldecode.c" and so on? i mean which directory?

Thank you for any body giving hints on.

 

All bests,

 

davie 

  • Hello,

    The test application you are referring to is a low level test application for the DSP which does not use Codec Engine, it calls the codec directly.

    The OMAP3530 DVSDK 3,00 has better applications such as the decode demo which shows how to call this codec from an application using codec engine from ARM Linux. It is likely a better starting point for you.

    Regards, Niclas