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.

Testing h264Dec rev.2.00

We are in the process of testing the h264dec rev.2.00. To run the test we need to build a test app that can display a video clip downloaded into dm6437 eval board. I am using CCS 3.3.

As a test template, I  used testAppDecoder.pjt which comes with h264dec distro (on my computer it is in "D:\dvsdk_2_00\dm6446_h264dec_2_00_002_production\packages\ti\sdo\codecs\h264dec\app\Client\Build\"). The yuv file display template can be found in dm6437_evm_vpbe_st_sample.pjt ("D:\dvsdk_2_00\pspdrivers_1_10_03\packages\ti\sdo\pspdrivers\system\dm6437\bios\evmDM6437\video\sample\build\vpbe\").

 It looks like a simple project but again there are problems in properly configuring the project since I can not find references describing compiler switches and some options used in building these two projects:

  1. Where can I find descriptions of "-d"_DAVINCI" -d"TIMER_ON" -d"SELF_TESTXX" -d"_RTS_MODE" -d"FMO_DEV"" 
  2. Where can I find descriptions of "-d"CHIP_DM6437=1" -d"_TMS320C6X" -d"DM6437_SOC_BUILD" -d"BIOS_BUILD""
  3. How to integrate these options?

Again, both programs are short and conceptually simple. However, options used in their build are not readily available in CCS3 help or in Wiki. I must have overlooked some obvious references. Any advice where can I find them?

Thanks for help,

Ja

 

 

  • Hi Jacek,

     

    To address your specific question, pre-processor options are primarily very application code specific except for couple of them like CHIP_DM6437 that is used by PSP library to identify it is for DM6437 device. Most of these pre-processor options would be used to do certain tasks using #ifdef under application code. Some of these options are just carried over from previous test application examples and may no longer be needed. 

    If you look at the vid_encdec.pjt file under dvsdk_1_11/examples/video_encdec/evmDM6437 directory, they have integrated video algorithm with PSP algorithm and using following pre-processor options. I would suggest using this project file as a reference as it is much simpler to work with and easy to test  

    CHIP_DM6437;_NTSC;DM6437_SOC_BUILD;_DEBUG

    Regards,

    Prateek

     

  • Prateek,

    thanks for a reply.

    We used the psp project as a template - few warnings were generated but  project worked. Its a pity that the switches were not documented.

    Regards,

    Jacek