I installed c64plus-imglib_2_02_00_00_Linux-x86_Setup.bin and rebuilt imglib.l64P and integrated to C6accel.l64P, tested IMG_ycbcr422pl_to_rgb565 using C6accel application in beagleboard, but it failed. Here is debug messages.
[DSP] @0,032,630tk: [+0 T:0x87d75454 S:0x87d790ec] CE - Engine_open> Enter('local', 0x87d7913c, 0x873048c0)
[DSP] @0,032,691tk: [+0 T:0x87d75454 S:0x87d790cc] OM - Memory_alloc> Enter(size=0x2c)
[DSP] @0,032,740tk: [+0 T:0x87d75454 S:0x87d790cc] OM - Memory_alloc> return (0x87d79fb0)
[DSP] @0,032,794tk: [+0 T:0x87d75454 S:0x87d790ec] CE - Engine_open> return(-2015912016)
[DSP] @0,032,854tk: [+0 T:0x87d75454 S:0x87d79134] OM - Memory_alloc> Enter(size=0x34)
[DSP] @0,032,902tk: [+0 T:0x87d75454 S:0x87d79134] OM - Memory_alloc> return (0x87d79fe0)
[DSP] @0,032,954tk: [+0 T:0x87d75454 S:0x87d7910c] ti.sdo.ce.alg.Algorithm - Algorithm_create> Enter(fxns=0x87d41010, idma3Fxns=0x0, iresFxns=0x0, params=0x873048c0, attrs=0x87d79250)
.
.
.
@0,579,871us: [+0 T:0x4001e910 S:0xbeef69cc] OM - Memory_contigAlloc> return (0x42039000)
@0,579,932us: [+0 T:0x4001e910 S:0xbeef6a14] OM - Memory_alloc> return (0x42039000)
@0,580,024us: [+0 T:0x4001e910 S:0xbeef69ec] ti.sdo.ce.universal.UNIVERSAL - UNIVERSAL_processAsync> Enter (handle=0x6a980, inBufs=0xbeef6b34, outBufs=0xbeef6a70, inArgs=0x42039000, outArgs=0xbeef6bf8)
@0,580,085us: [+4 T:0x4001e910 S:0xbeef699c] CV - VISA_getMaxMsgSize(0x6a980): returning 0x1000
@0,580,146us: [+5 T:0x4001e910 S:0xbeef69a4] CV - VISA_allocMsg> Allocating message for messageId=0x0002ef1d
@0,580,207us: [+0 T:0x4001e910 S:0xbeef6974] OM - Memory_getBufferPhysicalAddress> Enter(virtAddr=0x51f1e, size=10)
@0,580,268us: [+1 T:0x4001e910 S:0xbeef6974] OM - Memory__getPhysicalAddress> Enter(virtAddr=0x51f1e, size=10)
@0,580,329us: [+1 T:0x4001e910 S:0xbeef6974] OM - Memory__getPhysicalAddress> returning physAddr=0x0
@0,601,538us: [+1 T:0x4001e910 S:0xbeef6974] OM - Memory_getBufferPhysicalAddress> CMEM_getPhys(0x51f1e) = 0x0.
@0,627,967us: [+0 T:0x4001e910 S:0xbeef6974] OM - Memory_getBufferPhysicalAddress> return (0x0)
@0,628,058us: [+5 T:0x4001e910 S:0xbeef698c] CV - VISA_freeMsg(0x6a980, 0x41209880): Freeing message with messageId=0x0002ef1d
@0,628,119us: [+0 T:0x4001e910 S:0xbeef69ec] ti.sdo.ce.universal.UNIVERSAL - UNIVERSAL_processAsync> Exit (handle=0x6a980, retVal=0xffffffff)
It seems the code engine open failed, then virtual address is wrong. But when I tested other functions e.g. C6accel_IMG_ycbcr422sp_to_ycbcr420pl in C64P_LIBPLUS.lib, It is O.K. I just wonder what makes difference.