EVM6446 , dvevm1.20
I compile videnc_copy with debug type (Pkg.attrs.profile = "debug" in package.bld file). I write a recursion in videnc and compile it, my application will not respond after runing this alg. So I debug videnc in CCS, it does not have any problem. Then I try to comment "Pkg.attrs.profile = "debug"" in package.bld file and then I recompile it, this time my application works. I don't know why codec can not run recursive code in debug mode.
Here is recursive function.
void Transferarray(unsigned short* varray,int icount)
{
short tmp;
if(icount < 2)
return;
tmp = *(varray+icount-1);
*(varray+icount-1) = *varray;
*varray = tmp;
Transferarray(varray+1,icount-2);
}
you can try it in XXXX_XXX_process function, and check whether it can work well in debug mode, thanks.
Lorry