Hello,
I have a problem with the VICP function "CPIS_updateSrcDstPtr".
In my application i use the "Affine transform" funtion and it works great.
Now i need to update the source and destination pointer, but when i call "CPIS_updateSrcDstPtr",
the next call to CPIS_start never returns...
So to eliminate all error, i come back with the example project of the VICPlib "affineTransform_DM648" wich works great when i launch it.
When i just insert two line (update and reset see below) for CPIS_updateSrcDstPtr (i don't write a new value in CPIS_BaseParms, base→srcBuf[0] and ptr and base→dstBuf[0].ptr) It never returns when i call "CPIS_start":
/*
Call the module in asynchronous mode. This means only setup of
hardware is done. Execution will have to be triggered by CPIS_start
*/
if (CPIS_affineTransform(
&handle,
&base,
¶ms,
CPIS_ASYNC
)== -1) {
printf("\nCPIS_affineTransform() error %d\n", CPIS_errno);
exit(-1);
};
timerEnd= timerReadEnd ();
setupTimerDiff= timerEnd-timerStart;
/* Benchmark the actual processing */
timerStart= timerReadStart ();
//PROBLEM HERE
CPIS_updateSrcDstPtr(handle,&base);
CPIS_reset(handle);
/* Trigger the start of processing */
CPIS_start(handle);
CPIS_wait(handle);//NEVER RETURN
Do you have any idea about the problem?
Thank you
Max.