Hi,
I am having a problem running the H.264 encoding sample application which in included in the overlay code.
It runs for the first 2 frames and then stalls. Here is the output to the CCS Console:
----------------------------------------------- Test Case Number : 1 ----------------------------------------------- No of Instance's : 1 Config File : ..\..\..\Test\TestVecs\Config\fruits_p176x144.cfg Input YUV : ..\..\..\Test\TestVecs\Input\fruits_p176x144_nv12.yuv Output Stream : ..\..\..\Test\TestVecs\Output\fruits_p176x144.264 Number of Resources required = 9 Algorithm Instance Creation for the Module H264ENC_TI DEV.500.V.H264AVC.E.IVAHD.02.00.02.02 Done... Debug Trace (@ Level 1) Buffer in DDR @ 0x8C6D8B40 of size 1344 bytes #0 : IVIDEO_NA_FRAME : Bits : 0 : 0.00 Mbps:M3 Usage: 171.10 MHz(M3), IVA Usage : 0.00 MHz(IVA) : Total: 0 MHz : M3: 0 MHz : PicInit: 4294 MHz(-44 Cycles) : MB Loop Field 1: 0 MHz ( 44 Cycles) Frame Compliance Test: PASS. #1 : IVIDEO_NA_FRAME : Bits : 0 : 0.00 Mbps:M3 Usage: 203.06 MHz(M3), IVA Usage : 0.00 MHz(IVA) : Total: 0 MHz : M3: 0 MHz : PicInit: 4294 MHz(-44 Cycles) : MB Loop Field 1: 0 MHz ( 44 Cycles) Frame Compliance Test: PASS.
When it stalls, it is in HDVICP_Wait() and waiting for gSemCount to be non-0.
gSemCount seems to be incremented by HDVICP_Done(), so it seems that HDVICP_Done never gets called.
Q1. Can you please suggest what could be the cause?
Q2. Is this program supposed to run on DM8148? I built the program for DM8168 (--define="NETRA").
Q3. Do I need to do something special before running the program (such as, suspend other processors on DM8148)?
The hardware is DM8148 based custom board, the software is EZSDK 5.05.02.00 with the overlay code.
Thanks,
tamo2