Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
themeMidnight
$ media-ctl -p -d /dev/media7
Media controller API version 4.14.0

Media device information
------------------------
driver          xilinx-video
model           Xilinx Video Composite Device
serial          
bus info        
hw revision     0x0
driver version  4.14.0

Device topology
- entity 1: vcap_csi output 0 (1 pad, 1 link)
            type Node subtype V4L flags 0
            device node name /dev/video1
        pad0: Sink
                <- "a0200000.v_proc_ss":1 [ENABLED]

- entity 5: IMX274 (1 pad, 1 link)
            type V4L2 subdev subtype Sensor flags 0
            device node name /dev/v4l-subdev7
        pad0: Source
                [fmt:SRGGB8_1X8/1920x1080 field:none]
                -> "a00f0000.mipi_csi2_rx_subsystem":1 [ENABLED]

- entity 7: a00f0000.mipi_csi2_rx_subsystem (2 pads, 2 links)
            type V4L2 subdev subtype Unknown flags 0
            device node name /dev/v4l-subdev8
        pad0: Source
                [fmt:SRGGB8_1X8/1920x1080 field:none]
                -> "a0250000.v_demosaic":0 [ENABLED]
        pad1: Sink
                [fmt:SRGGB8_1X8/1920x1080 field:none]
                <- "IMX274":0 [ENABLED]

- entity 10: a0250000.v_demosaic (2 pads, 2 links)
             type V4L2 subdev subtype Unknown flags 0
             device node name /dev/v4l-subdev9
        pad0: Sink
                [fmt:SRGGB8_1X8/1920x1080 field:none]
                <- "a00f0000.mipi_csi2_rx_subsystem":0 [ENABLED]
        pad1: Source
                [fmt:RBG888_1X24/1920x1080 field:none]
                -> "a0270000.v_gamma_lut":0 [ENABLED]

- entity 13: a0270000.v_gamma_lut (2 pads, 2 links)
             type V4L2 subdev subtype Unknown flags 0
             device node name /dev/v4l-subdev10
        pad0: Sink
                [fmt:RBG888_1X24/1920x1080 field:none]
                <- "a0250000.v_demosaic":1 [ENABLED]
        pad1: Source
                [fmt:RBG888_1X24/1920x1080 field:none]
                -> "a0240000.v_proc_ss":0 [ENABLED]

- entity 16: a0240000.v_proc_ss (2 pads, 2 links)
             type V4L2 subdev subtype Unknown flags 0
             device node name /dev/v4l-subdev11
        pad0: Sink
                [fmt:RBG888_1X24/1920x1080 field:none]
                <- "a0270000.v_gamma_lut":1 [ENABLED]
        pad1: Source
                [fmt:RBG888_1X24/1920x1080 field:none]
                -> "a0200000.v_proc_ss":0 [ENABLED]

- entity 19: a0200000.v_proc_ss (2 pads, 2 links)
             type V4L2 subdev subtype Unknown flags 0
             device node name /dev/v4l-subdev12
        pad0: Sink
                [fmt:RBG888_1X24/1920x1080 field:none]
                <- "a0240000.v_proc_ss":1 [ENABLED]
        pad1: Source
                [fmt:VYYUYY8_1X24/1920x1080 field:none]
                -> "vcap_csi output 0":0 [ENABLED]

Update

...

Color Space Conversion

Use yavta to update the Gamma LUT settings Color Space Conversion for better colors from the SONY IMX274 Sensor, .  This must be done after the color formats are setup or the CSC values will be reset when setting up the format.

Code Block
languagebash
themeMidnight
#Update CSC Settings to improve colors
$ yavta -w '0x0098c9a1 80' /dev/v4l-subdev11
$ yavta -w '0x0098c9a2 55' /dev/v4l-subdev11
$ yavta -w '0x0098c9a3 35' /dev/v4l-subdev11
$ yavta -w '0x0098c9a4 24' /dev/v4l-subdev11
$ yavta -w '0x0098c9a5 40' /dev/v4l-subdev11

...