I have 2Mpix sensor (OV2640), connected through CSI->MEM path on i.MX53. My application grabs pictures from this sensor on different resolutions (from SVGA to full 2Mpix) then pass them to VPU JPEG encoder to produce MJPEG stream. Besides, my application resizes grabbed pictures to another resolution (4CIF or its derivatives) using ipu_lib postprocessing task (TASK_PP_MODE) and feeds them to the another application.
Whole this sequence works well for resolution SVGA at 30fps, but I have problem with higher resolutions: XGA, SXGA(1280x1024) and UXGA(1600x1200-full 2Mpix) resulted in broken picture grabbed from sensor. All higher resolutions are grabbed at 15fps due sensor limitations. I attached an example of broken picture.
I have the impression, that data from sensor are corrupted in path CSI->MEM, when i using IPU from my application, because when I don't use resizing with IPU for these higher resolutions and only encode to JPEG with VPU, frames from camera are captured correctly.
Whether it can be some limitation of IPU or restrictions on the sharing of the path CSI->MEM and IPU postprocessing?
Thank you in advance for your help!