Open ngphibang opened 3 months ago
Hi there, Could someone review this PR ? Thanks !
@zejiang0jason, could you please help?
Hi @ngphibang , in this case, the LCDIF occupies one buffer, and CSI occupies one, so two buffers is the minimal requirement. CSI and LCDIF frame rate are not the same, so I guess it is not feasible to use only two buffers without tearing effect.
The application hangs forever if we want to use only two buffers:
define APP_FRAME_BUFFER_COUNT 2
This is because the 1st framebuffer has not been resubmitted to the queue, so the camera does not have enough buffer to move on.