jamesh wrote:The preview is done by the MMAL_COMPONENT_DEFAULT_VIDEO_RENDER component - see the RaspiPreview.c code.
The work is all done on the GPU - the data is never sent to the ARM, it's tunnelled directly from the camera to the video render and the encoder. The 'viewfinder' is a bitmap superimposed over the top of the framebuffer, not added to the framebuffer.
Thanks for the reply jamesh,
For better understanding, do we have any reference.?
And what if i want to dump the raw frames of preview in YUV format, Is possible to do by modifying RaspiPreview.c .?
Or any way to get the encoded buffer from the video render.?