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.

h264dec codec create failed on omap3530&wince6



SW: wince6.0+dvsdk_wince_01_11_00_03_patch_01

HW:OMAP3530

RAM:256M

when i execute these command

s video_decode_io2_omap3530 -c h264dec -i /Release/data/davincieffect_ntsc.264 -o /Release/results/davincieffect_ntsc.264.yuv -n 50

to test h264 decode , the codec create error

ti.sdo.ce.alg.Algorithm - Algorithm_create> Algorithm creation FAILED; make sure that 1) alg params are correct/appropriate, 2) there is enough inter
264746 PID:293000a TID:5af01fa [DSP] nal and external algorithm memory available -- check DSKT2 settings for heap assignments and scratch allocation

from log , i can see

264746 PID:293000a TID:5af01fa @268,458,000us: [+0 T:0x05af01fa S:0x0005f754] CE - Engine_getNumServerAlgs number of server algs = 11

264746 PID:293000a TID:5af01fa @268,460,000us: [+0 T:0x05af01fa S:0x0005f754] CE - Engine_getNumServerAlgs exit 0

264746 PID:293000a TID:5af01fa @268,460,000us: [+2 T:0x05af01fa S:0x0005f770] CE - Engine_initFromServer> Number of remote algs statically configured in engine: 11

264746 PID:293000a TID:5af01fa @268,462,000us: [+2 T:0x05af01fa S:0x0005f770] CE - Engine_initFromServer> Number of statically configured remote algs = number of server algs: 11

.

.

.

.

264746 PID:293000a TID:5af01fa [DSP] @0,154,843tk: [+0 T:0x87f16644 S:0x87f1a254] ti.sdo.fc.dskt2 - DSKT2_createAlg3> Enter (scratchId=0, fxns=0x87fa6250, parentAlg=0x0, params=0x85b048c0, extHeapId=-2052044608, singleHeap=0)

264746 PID:293000a TID:5af01fa [DSP] @0,154,942tk: [+2 T:0x87f16644 S:0x87f1a254] ti.sdo.fc.dskt2 - DSKT2_createAlg3> DSKT2_AlgAttrs extHeapId -1 and singleHeap 0

264746 PID:293000a TID:5af01fa [DSP] @0,155,017tk: [+2 T:0x87f16644 S:0x87f1a254] ti.sdo.fc.dskt2 - DSKT2_createAlg3> Num memory recs requested 29

264746 PID:293000a TID:5af01fa [DSP] @0,155,081tk: [+2 T:0x87f16644 S:0x87f1a254] ti.sdo.fc.dskt2 - DSKT2_createAlg3> memTab allocated at 0x87f1b5b0 size=0x244

 264746 PID:293000a TID:5af01fa [DSP] @0,155,155tk: [+7 T:0x87f16644 S:0x87f1a254] ti.sdo.fc.dskt2 - DSKT2_createAlg3> algAlloc returned numRecs=-1

 264746 PID:293000a TID:5af01fa [DSP] @0,155,216tk: [+2 T:0x87f16644 S:0x87f1a254] ti.sdo.fc.dskt2 - DSKT2_createAlg3> memTab memory freed from 0x87f1b5b0, size=580

maybe the request algAlloc is 29,bu the server alg num just have 11, so failed ?

the detail log3527.loggg.TXT