I use Codec Engine version 2.25.01 and has a IUNIVERSAL algo. Now I try to transer pointer-to-pointers from the GPP-side to the DSP. Before calling UNIVERSAL_process I fill the inBufs structure (XDM1_BufDesc) on the GPP:
inBufs.descs[1].buf = (XDAS_Int8*)pData;
inBufs.descs[1].bufSize = (XDAS_Int32)nb_data*sizeof(unsigned char*);
inBufs.descs[1].accessMask = 0;
pData is of type unsigned char**
pData and all pData[] are taken from the CMem using Memory_alloc();
On the DSP-side I try to use the data in pData:
pData=(unsigned char**)inBufs->descs[1].buf;
but pData[i][] has garbage in it (all zero exept first element)
Is there in general a problem with pointer to pointer and Codec engine? Or do I miss something else?
C.