We have camera module which is output V4L2_PIX_FMT_YUYV.
But our application using RGB888(V4L2_PIX_FMT_RGB24).
How to convert it(color space conversion)?
Is it possible? or Is there any reference?
in below link, it looks impossible… I need confirmation it’s possiblity
https://devtalk.nvidia.com/default/topic/1007682/jetson-tx1/how-to-change-the-camera-pixel-formate-from-v4l2_pix_fmt_srggb8-to-v4l2_pix_fmt_yuyv/
hello wooleeyang,
had you already extend the color format support in camera_common_color_fmts,
once you’re able to acquire the YUV sensor data correctly, it is possible to convert the YUV into RGB by the conversion formula.
here are some similar topics for your reference,
thanks
[url]https://devtalk.nvidia.com/default/topic/984850/[/url]
[url]https://devtalk.nvidia.com/default/topic/976958/[/url]
[url]https://devtalk.nvidia.com/default/topic/977871/[/url]