Tool/software:
Dear Experts,
We have been experimenting with writing our own user kernel, currently we are successfully created the framework with PyTiovx compiled for the C66 dsp.
The user kernel works fine for one image (read in from file and write out the result). However when we try to integrate this user kernel into our Tiovx pipeline, after a couple of frames later the processing stops and the image on the display freezes. Also the pipeline freezes as well, the whole graph seems to halt.
Couple of points:
- we only allocate memory on TIVX_MEM_EXTERNAL in the Create kernel callback function.
- we only do processing in the Process function, we do not call any VXLIB related functions at the moment. However when I only copy the input memory block to the output, everything works fine. As soon as I try to do any pixel manipulation, the graph freezes after a couple of frames (depending on the complexity of the manipulation).
Could you please help me localize the issue, give me some hint what could be wrong?
Thank you very much in advance!
Best Regards,
Andras