I have a very basic design ending with a Select_ROI just before the DMA output.
This is for a camera of max size 2336x1728, so the links max dimensions are set to 2336x1728
Usually, everything works well. On the software size, I always allocate buffers of size 2336x1728 for the acquisition image FIFO (even when using ROIs, see below)
If I set a ROI on the CAMERA, let's say 1184x1728, and also modify the FG_WIDTH of the applet to 1184, it still works. Even if the Select_ROI is still configured at 2336x1728.
But If I go down from 1184 to 1152 (sill inthe camera and FG_WIDTH), strange behaviour occurs and the image seems corrupted. To fix it, I have to also set the Select_ROI width to 1152.
I notice that 1152 is just below the half width of 2336, so something happens there.
Any clue ?
Here are screenshots of correct image at 1184x1728 and corrupted at 1152x1728