I want to build a code server package with h264enc codec and my Image analyse codec.
In my arm app, I will do an analyse firstly and then encode this frame.
when I add my codec in the code server (dvsdk_2_00_00_22\dm6446_dvsdk_combos_2_05\packages\ti\sdo\servers\encode),
the function hung in ACPY3_wait() .
I find the soluction in wiki http://processors.wiki.ti.com/index.php/Framework_Components_FAQ#Why_does_my_alg_hang_in_ACPY3_wait.28.29.3F.
1.
I changed the "encode.cfg" DMAN3.heapInternal = "DDR2"; to DMAN3.heapInternal = "L1DHEAP";
my Image analyse codec can run singly.
if I create both the two codec, I will get a fail message "Granting DMA channels to algorithm through DMAN3 FAILED (0xfffffffc)" when I create it.
2.
I changed the "encode.cfg" to
DMAN3.heapInternal = "L1DHEAP";
DMAN3.heapExternal = "DDR2";
DMAN3.idma3Internal = false;
DMAN3.scratchAllocFxn = "DSKT2_allocScratch";
DMAN3.scratchFreeFxn = "DSKT2_freeScratch";
the two codec can be created succecc.
but if I run the VIDENC1_process of h264enc, my process will hung in ACPY3_wait() all the same.
if I don't run the VIDENC1_process, my process will work well.
I think the qdma channels can be share in different codec. because the "dmaTab[i].persistent = FALSE;"
is there anybody can give me a demo about the seting of code server.
I want to add a codec in the encode server and my codec will use the qdma.