[libcamera-devel] To get YUV or RGB preview buffer.

naidu nama naidu.nama at gmail.com
Tue Jul 7 12:03:29 CEST 2020


Hi Team,

we are trying to apply algorithms on preview. We are using qcam code
on ubuntu laptop with webcam.
>From the code,in the Processviewfinder->render->convert we observed
that render format is MJPEG (JPEG).
Looks like the format setting is happening in

config_ = camera_->generateConfiguration(roles);
vfConfig.pixelFormat = format;(MJPEG)

Is there a way to get YUV or RGB preview buffer??


Thanks,
naidu.


More information about the libcamera-devel mailing list