This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problems with Null link that comes after Integral Image algorithm link

Hello everyone,

I have a simple use-case NullSrc (A15)-> Alg_IntegralImage(DSP1) ->Null (IPU1_0). I am sending fixed number of video frames (YUV420SP_UV) to NullSrc, calculate Integral image (only first buffer of video frames is used in order to work with grayscale image) and then I want to use NULL_LINK_COPY_TYPE_NONE mode of Null link in order to write my callback function to save processed data somewhere. I haven't implemented callback function yet, but I wanted to place it inside NullLink_drvDumpFrames function like one of else if cases.

Running it, without callback function implemented, I got "UTILS: MDMA ERROR - invalid memory access in DSP!!!" error.

I had a suspicion that maybe Null link can't support amount of data that comes from Integral Image algo, so my debugging was pointed to Null link. I figured out that if condition  (pObj->createArgs.dumpDataType > 0U) in NullLink_drvDumpFrames function in nullLink_tsk.c is not satisfied, so actually it wouldn't ever come to the else case with callback function. 

What could be a reason for this issues? Could it be something with memory allocation for input/output buffers for links in use-case?

I am not clear what type of data is output of integral image, if it gets video buffer as input?

I am working on platform with TDA2x soc, VSDK 2.10.

BR,

Jho.