Whether the mipi driver can set different formats?

Whether the mipi driver can set different formats ?
video0 bayer mode,
video1 yuv mode,
video2 rgb mode

Doesn’t really clean your question.
Suppose you can modify your driver for it.


my dts …

active_w = 1920;
active_h = 1920;
mode_type = rgb;
pixel_phase = rgb888;
csi_pixel_bit_depth = 24;

gst-launch-1.0 v4l2src device=/dev/video0 ! ‘video/x-raw, format=(string)BGRA, width=(int)1920, height=(int)1080’ ! videoconvert ! xvimagesink -ev


active_w = 1920;
active_h = 1080;
mode_type = yuv;
pixel_phase = uyvy;
csi_pixel_bit_depth = 16;

gst-launch-1.0 v4l2src device=/dev/video1 ! ‘video/x-raw, format=(string)UYVY, width=(int)1920, height=(int)1080’ ! videoconvert ! xvimagesink -ev

Is this setting correct?

Don’t find any incorrect here.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.