Commit ffc20762 authored by Dafna Hirschfeld's avatar Dafna Hirschfeld Committed by Hans Verkuil
Browse files

media: vimc: Update device configuration in the documentation



Since commit 9b4a9b31 ("media: vimc: Enable set resolution at the
scaler src pad") the configuration in the documentation does not work.
Replace it with the configuration described in that commit.

Signed-off-by: default avatarDafna Hirschfeld <dafna@fastmail.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
parent db3ada53
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -35,11 +35,11 @@ of commands fits for the default topology:

        media-ctl -d platform:vimc -V '"Sensor A":0[fmt:SBGGR8_1X8/640x480]'
        media-ctl -d platform:vimc -V '"Debayer A":0[fmt:SBGGR8_1X8/640x480]'
        media-ctl -d platform:vimc -V '"Sensor B":0[fmt:SBGGR8_1X8/640x480]'
        media-ctl -d platform:vimc -V '"Debayer B":0[fmt:SBGGR8_1X8/640x480]'
        v4l2-ctl -z platform:vimc -d "RGB/YUV Capture" -v width=1920,height=1440
        media-ctl -d platform:vimc -V '"Scaler":0[fmt:RGB888_1X24/640x480]'
        media-ctl -d platform:vimc -V '"Scaler":0[crop:(100,50)/400x150]'
        media-ctl -d platform:vimc -V '"Scaler":1[fmt:RGB888_1X24/300x700]'
        v4l2-ctl -z platform:vimc -d "RGB/YUV Capture" -v width=300,height=700
        v4l2-ctl -z platform:vimc -d "Raw Capture 0" -v pixelformat=BA81
        v4l2-ctl -z platform:vimc -d "Raw Capture 1" -v pixelformat=BA81

Subdevices
----------