RV1103与FPGA通过MIPI CSI-2实现视频传输,实现网络推流

        RV1103与FPGA通过MIPI CSI-2实现视频传输,实现网络推流。   

一:图像格式

        支持图像格式如下:

        [0]: 'NV16' (Y/CbCr 4:2:2)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [1]: 'NV61' (Y/CrCb 4:2:2)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [2]: 'NV12' (Y/CbCr 4:2:0)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [3]: 'NV21' (Y/CrCb 4:2:0)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [4]: 'YUYV' (YUYV 4:2:2)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [5]: 'YVYU' (YVYU 4:2:2)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [6]: 'UYVY' (UYVY 4:2:2)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [7]: 'VYUY' (VYUY 4:2:2)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [8]: 'RGB3' (24-bit RGB 8-8-8)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [9]: 'BGR3' (24-bit BGR 8-8-8)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [10]: 'RGBP' (16-bit RGB 5-6-5)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [11]: 'BGRH' (18-bit BGRX 6-6-6-14)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [12]: 'RGGB' (8-bit Bayer RGRG/GBGB)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [13]: 'GRBG' (8-bit Bayer GRGR/BGBG)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [14]: 'GBRG' (8-bit Bayer GBGB/RGRG)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [15]: 'BA81' (8-bit Bayer BGBG/GRGR)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [16]: 'RG10' (10-bit Bayer RGRG/GBGB)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [17]: 'BA10' (10-bit Bayer GRGR/BGBG)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [18]: 'GB10' (10-bit Bayer GBGB/RGRG)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [19]: 'BG10' (10-bit Bayer BGBG/GRGR)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [20]: 'RG12' (12-bit Bayer RGRG/GBGB)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [21]: 'BA12' (12-bit Bayer GRGR/BGBG)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [22]: 'GB12' (12-bit Bayer GBGB/RGRG)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [23]: 'BG12' (12-bit Bayer BGBG/GRGR)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [24]: 'BYR2' (16-bit Bayer BGBG/GRGR)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [25]: 'GB16' (16-bit Bayer GBGB/RGRG)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [26]: 'GR16' (16-bit Bayer GRGR/BGBG)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [27]: 'RG16' (16-bit Bayer RGRG/GBGB)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [28]: 'Y16 ' (16-bit Greyscale)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [29]: 'GREY' (8-bit Greyscale)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [30]: 'EBD8' (Embedded data 8-bit)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [31]: 'SPD6' (Shield pix data 16-bit)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [32]: 'Y12 ' (12-bit Greyscale)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

        [33]: 'Y10 ' (10-bit Greyscale)

                Size: Stepwise 64x64 - 2304x1296 with step 8/8

二:DTS配置

        配置DTS:

&csi2_dphy_hw {
    status = "okay";
};

&csi2_dphy0 {
    status = "okay";

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;
            #address-cells = <1>;
            #size-cells = <0>;

            csi_dphy_input0: endpoint@0 {
                reg = <0>;
                remote-endpoint = <&sc3336_out>;
                data-lanes = <1 2>;
            };

            csi_dphy_input1: endpoint@1 {
                reg = <1>;
                remote-endpoint = <&sc4336_out>;
                data-lanes = <1 2>;
            };

            csi_dphy_input2: endpoint@2 {
                reg = <2>;
                remote-endpoint = <&sc530ai_out>;
                data-lanes = <1 2>;
            };
        };

        port@1 {
            reg = <1>;
            #address-cells = <1>;
            #size-cells = <0>;

            csi_dphy_output: endpoint@0 {
                reg = <0>;
                remote-endpoint = <&mipi_csi2_input>;
            };
        };
    };
};

&i2c4 {
    status = "okay";
    clock-frequency = <400000>;
    pinctrl-names = "default";
    pinctrl-0 = <&i2c4m2_xfer>;

    sc3336: sc3336@30 {
        compatible = "smartsens,sc3336";
        status = "okay";
        reg = <0x30>;
        clocks = <&cru MCLK_REF_MIPI0>;
        clock-names = "xvclk";
        pwdn-gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
        pinctrl-names = "default";
        pinctrl-0 = <&mipi_refclk_out0>;
        rockchip,camera-module-index = <0>;
        rockchip,camera-module-facing = "back";
        rockchip,camera-module-name = "CMK-OT2119-PC1";
        rockchip,camera-module-lens-name = "30IRC-F16";
        port {
            sc3336_out: endpoint {
                remote-endpoint = <&csi_dphy_input0>;
                data-lanes = <1 2>;
            };
        };
    };

    sc4336: sc4336@30 {
        compatible = "smartsens,sc4336";
        status = "okay";
        reg = <0x30>;
        clocks = <&cru MCLK_REF_MIPI0>;
        clock-names = "xvclk";
        pwdn-gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
        pinctrl-names = "default";
        pinctrl-0 = <&mipi_refclk_out0>;
        rockchip,camera-module-index = <0>;
        rockchip,camera-module-facing = "back";
        rockchip,camera-module-name = "OT01";
        rockchip,camera-module-lens-name = "40IRC_F16";
        port {
            sc4336_out: endpoint {
                remote-endpoint = <&csi_dphy_input1>;
                data-lanes = <1 2>;
            };
        };
    };

    sc530ai: sc530ai@30 {
        compatible = "smartsens,sc530ai";
        status = "okay";
        reg = <0x30>;
        clocks = <&cru MCLK_REF_MIPI0>;
        clock-names = "xvclk";
        pwdn-gpios = <&gpio3 RK_PC5 GPIO_ACTIVE_HIGH>;
        pinctrl-names = "default";
        pinctrl-0 = <&mipi_refclk_out0>;
        rockchip,camera-module-index = <0>;
        rockchip,camera-module-facing = "back";
        rockchip,camera-module-name = "CMK-OT2115-PC1";
        rockchip,camera-module-lens-name = "30IRC-F16";
        port {
            sc530ai_out: endpoint {
                remote-endpoint = <&csi_dphy_input2>;
                data-lanes = <1 2>;
            };
        };
    };
};

&i2s0_8ch {
    #sound-dai-cells = <0>;
    status = "okay";
};

&mipi0_csi2 {
    status = "okay";

    ports {
        #address-cells = <1>;
        #size-cells = <0>;

        port@0 {
            reg = <0>;
            #address-cells = <1>;
            #size-cells = <0>;

            mipi_csi2_input: endpoint@1 {
                reg = <1>;
                remote-endpoint = <&csi_dphy_output>;
            };
        };

        port@1 {
            reg = <1>;
            #address-cells = <1>;
            #size-cells = <0>;

            mipi_csi2_output: endpoint@0 {
                reg = <0>;
                remote-endpoint = <&cif_mipi_in>;
            };
        };
    };
};

&pwm0 {
    status = "okay";
};

&rkcif {
    status = "okay";
};

&rkcif_mipi_lvds {
    status = "okay";

    pinctrl-names = "default";
    pinctrl-0 = <&mipi_pins>;
    port {
        /* MIPI CSI-2 endpoint */
        cif_mipi_in: endpoint {
            remote-endpoint = <&mipi_csi2_output>;
        };
    };
};

&rkcif_mipi_lvds_sditf {
    status = "okay";

    port {
        /* MIPI CSI-2 endpoint */
        mipi_lvds_sditf: endpoint {
            remote-endpoint = <&isp_in>;
        };
    };
};

&rkisp {
    status = "okay";
};

&rkisp_vir0 {
    status = "okay";

    port@0 {
        isp_in: endpoint {
            remote-endpoint = <&mipi_lvds_sditf>;
        };
    };
};

&saradc {
    status = "okay";
    vref-supply = <&vcc_1v8>;
};

三:驱动配置

        配置分辨率,数据类型。

static const struct sc3336_mode supported_modes[] = {
    {
        .width = 2304,
        .height = 1296,
        .max_fps = {
            .numerator = 10000,
            .denominator = 250000,
        },
        .exp_def = 0x0080,
        .hts_def = 0x05dc,
        .vts_def = 0x0654,
        .bus_fmt = MEDIA_BUS_FMT_SBGGR8_1X8,
        .reg_list = sc3336_linear_10_2304x1296_25fps_regs,
        .hdr_mode = NO_HDR,
        .xvclk_freq = 27000000,
        .link_freq_idx = 0,
        .vc[PAD0] = V4L2_MBUS_CSI2_CHANNEL_0,
    },
    {
        .width = 2304,
        .height = 1296,
        .max_fps = {
            .numerator = 10000,
            .denominator = 300000,
        },
        .exp_def = 0x0080,
        .hts_def = 0x0578 * 2,
        .vts_def = 0x0550,
        .bus_fmt = MEDIA_BUS_FMT_SBGGR8_1X8,
        .reg_list = sc3336_linear_10_2304x1296_30fps_regs,
        .hdr_mode = NO_HDR,
        .xvclk_freq = 24000000,
        .link_freq_idx = 1,
        .vc[PAD0] = V4L2_MBUS_CSI2_CHANNEL_0,
    }
};

四:注册查询

Media controller API version 5.10.110

Media device information

------------------------

driver          rkcif

model           rkcif-mipi-lvds

serial         

bus info       

hw revision     0x0

driver version  5.10.110

Device topology

- entity 1: stream_cif_mipi_id0 (1 pad, 11 links)

            type Node subtype V4L flags 0

            device node name /dev/video0

        pad0: Sink

                <- "rockchip-mipi-csi2":1 [ENABLED]

                <- "rockchip-mipi-csi2":2 []

                <- "rockchip-mipi-csi2":3 []

                <- "rockchip-mipi-csi2":4 []

                <- "rockchip-mipi-csi2":5 []

                <- "rockchip-mipi-csi2":6 []

                <- "rockchip-mipi-csi2":7 []

                <- "rockchip-mipi-csi2":8 []

                <- "rockchip-mipi-csi2":9 []

                <- "rockchip-mipi-csi2":10 []

                <- "rockchip-mipi-csi2":11 []

- entity 5: stream_cif_mipi_id1 (1 pad, 11 links)

            type Node subtype V4L flags 0

            device node name /dev/video1

        pad0: Sink

                <- "rockchip-mipi-csi2":1 []

                <- "rockchip-mipi-csi2":2 [ENABLED]

                <- "rockchip-mipi-csi2":3 []

                <- "rockchip-mipi-csi2":4 []

                <- "rockchip-mipi-csi2":5 []

                <- "rockchip-mipi-csi2":6 []

                <- "rockchip-mipi-csi2":7 []

                <- "rockchip-mipi-csi2":8 []

                <- "rockchip-mipi-csi2":9 []

                <- "rockchip-mipi-csi2":10 []

                <- "rockchip-mipi-csi2":11 []

- entity 9: stream_cif_mipi_id2 (1 pad, 11 links)

            type Node subtype V4L flags 0

            device node name /dev/video2

        pad0: Sink

                <- "rockchip-mipi-csi2":1 []

                <- "rockchip-mipi-csi2":2 []

                <- "rockchip-mipi-csi2":3 [ENABLED]

                <- "rockchip-mipi-csi2":4 []

                <- "rockchip-mipi-csi2":5 []

                <- "rockchip-mipi-csi2":6 []

                <- "rockchip-mipi-csi2":7 []

                <- "rockchip-mipi-csi2":8 []

                <- "rockchip-mipi-csi2":9 []

                <- "rockchip-mipi-csi2":10 []

                <- "rockchip-mipi-csi2":11 []

- entity 13: stream_cif_mipi_id3 (1 pad, 11 links)

             type Node subtype V4L flags 0

             device node name /dev/video3

        pad0: Sink

                <- "rockchip-mipi-csi2":1 []

                <- "rockchip-mipi-csi2":2 []

                <- "rockchip-mipi-csi2":3 []

                <- "rockchip-mipi-csi2":4 [ENABLED]

                <- "rockchip-mipi-csi2":5 []

                <- "rockchip-mipi-csi2":6 []

                <- "rockchip-mipi-csi2":7 []

                <- "rockchip-mipi-csi2":8 []

                <- "rockchip-mipi-csi2":9 []

                <- "rockchip-mipi-csi2":10 []

                <- "rockchip-mipi-csi2":11 []

- entity 17: rkcif_scale_ch0 (1 pad, 11 links)

             type Node subtype V4L flags 0

             device node name /dev/video4

        pad0: Sink

                <- "rockchip-mipi-csi2":1 []

                <- "rockchip-mipi-csi2":2 []

                <- "rockchip-mipi-csi2":3 []

                <- "rockchip-mipi-csi2":4 []

                <- "rockchip-mipi-csi2":5 [ENABLED]

                <- "rockchip-mipi-csi2":6 []

                <- "rockchip-mipi-csi2":7 []

                <- "rockchip-mipi-csi2":8 []

                <- "rockchip-mipi-csi2":9 []

                <- "rockchip-mipi-csi2":10 []

                <- "rockchip-mipi-csi2":11 []

- entity 21: rkcif_scale_ch1 (1 pad, 11 links)

             type Node subtype V4L flags 0

             device node name /dev/video5

        pad0: Sink

                <- "rockchip-mipi-csi2":1 []

                <- "rockchip-mipi-csi2":2 []

                <- "rockchip-mipi-csi2":3 []

                <- "rockchip-mipi-csi2":4 []

                <- "rockchip-mipi-csi2":5 []

                <- "rockchip-mipi-csi2":6 [ENABLED]

                <- "rockchip-mipi-csi2":7 []

                <- "rockchip-mipi-csi2":8 []

                <- "rockchip-mipi-csi2":9 []

                <- "rockchip-mipi-csi2":10 []

                <- "rockchip-mipi-csi2":11 []

- entity 25: rkcif_scale_ch2 (1 pad, 11 links)

             type Node subtype V4L flags 0

             device node name /dev/video6

        pad0: Sink

                <- "rockchip-mipi-csi2":1 []

                <- "rockchip-mipi-csi2":2 []

                <- "rockchip-mipi-csi2":3 []

                <- "rockchip-mipi-csi2":4 []

                <- "rockchip-mipi-csi2":5 []

                <- "rockchip-mipi-csi2":6 []

                <- "rockchip-mipi-csi2":7 [ENABLED]

                <- "rockchip-mipi-csi2":8 []

                <- "rockchip-mipi-csi2":9 []

                <- "rockchip-mipi-csi2":10 []

                <- "rockchip-mipi-csi2":11 []

- entity 29: rkcif_scale_ch3 (1 pad, 11 links)

             type Node subtype V4L flags 0

             device node name /dev/video7

        pad0: Sink

                <- "rockchip-mipi-csi2":1 []

                <- "rockchip-mipi-csi2":2 []

                <- "rockchip-mipi-csi2":3 []

                <- "rockchip-mipi-csi2":4 []

                <- "rockchip-mipi-csi2":5 []

                <- "rockchip-mipi-csi2":6 []

                <- "rockchip-mipi-csi2":7 []

                <- "rockchip-mipi-csi2":8 [ENABLED]

                <- "rockchip-mipi-csi2":9 []

                <- "rockchip-mipi-csi2":10 []

                <- "rockchip-mipi-csi2":11 []

- entity 33: rkcif_tools_id0 (1 pad, 11 links)

             type Node subtype V4L flags 0

             device node name /dev/video8

        pad0: Sink

                <- "rockchip-mipi-csi2":1 []

                <- "rockchip-mipi-csi2":2 []

                <- "rockchip-mipi-csi2":3 []

                <- "rockchip-mipi-csi2":4 []

                <- "rockchip-mipi-csi2":5 []

                <- "rockchip-mipi-csi2":6 []

                <- "rockchip-mipi-csi2":7 []

                <- "rockchip-mipi-csi2":8 []

                <- "rockchip-mipi-csi2":9 [ENABLED]

                <- "rockchip-mipi-csi2":10 []

                <- "rockchip-mipi-csi2":11 []

- entity 37: rkcif_tools_id1 (1 pad, 11 links)

             type Node subtype V4L flags 0

             device node name /dev/video9

        pad0: Sink

                <- "rockchip-mipi-csi2":1 []

                <- "rockchip-mipi-csi2":2 []

                <- "rockchip-mipi-csi2":3 []

                <- "rockchip-mipi-csi2":4 []

                <- "rockchip-mipi-csi2":5 []

                <- "rockchip-mipi-csi2":6 []

                <- "rockchip-mipi-csi2":7 []

                <- "rockchip-mipi-csi2":8 []

                <- "rockchip-mipi-csi2":9 []

                <- "rockchip-mipi-csi2":10 [ENABLED]

                <- "rockchip-mipi-csi2":11 []

- entity 41: rkcif_tools_id2 (1 pad, 11 links)

             type Node subtype V4L flags 0

             device node name /dev/video10

        pad0: Sink

                <- "rockchip-mipi-csi2":1 []

                <- "rockchip-mipi-csi2":2 []

                <- "rockchip-mipi-csi2":3 []

                <- "rockchip-mipi-csi2":4 []

                <- "rockchip-mipi-csi2":5 []

                <- "rockchip-mipi-csi2":6 []

                <- "rockchip-mipi-csi2":7 []

                <- "rockchip-mipi-csi2":8 []

                <- "rockchip-mipi-csi2":9 []

                <- "rockchip-mipi-csi2":10 []

                <- "rockchip-mipi-csi2":11 [ENABLED]

- entity 45: rockchip-mipi-csi2 (12 pads, 122 links)

             type V4L2 subdev subtype Unknown flags 0

             device node name /dev/v4l-subdev0

        pad0: Sink

                [fmt:SBGGR8_1X8/2304x1296 field:none

                 crop.bounds:(0,0)/2304x1296

                 crop:(0,0)/2304x1296]

                <- "rockchip-csi2-dphy0":1 [ENABLED]

        pad1: Source

                -> "stream_cif_mipi_id0":0 [ENABLED]

                -> "stream_cif_mipi_id1":0 []

                -> "stream_cif_mipi_id2":0 []

                -> "stream_cif_mipi_id3":0 []

                -> "rkcif_scale_ch0":0 []

                -> "rkcif_scale_ch1":0 []

                -> "rkcif_scale_ch2":0 []

                -> "rkcif_scale_ch3":0 []

                -> "rkcif_tools_id0":0 []

                -> "rkcif_tools_id1":0 []

                -> "rkcif_tools_id2":0 []

        pad2: Source

                -> "stream_cif_mipi_id0":0 []

                -> "stream_cif_mipi_id1":0 [ENABLED]

                -> "stream_cif_mipi_id2":0 []

                -> "stream_cif_mipi_id3":0 []

                -> "rkcif_scale_ch0":0 []

                -> "rkcif_scale_ch1":0 []

                -> "rkcif_scale_ch2":0 []

                -> "rkcif_scale_ch3":0 []

                -> "rkcif_tools_id0":0 []

                -> "rkcif_tools_id1":0 []

                -> "rkcif_tools_id2":0 []

        pad3: Source

                -> "stream_cif_mipi_id0":0 []

                -> "stream_cif_mipi_id1":0 []

                -> "stream_cif_mipi_id2":0 [ENABLED]

                -> "stream_cif_mipi_id3":0 []

                -> "rkcif_scale_ch0":0 []

                -> "rkcif_scale_ch1":0 []

                -> "rkcif_scale_ch2":0 []

                -> "rkcif_scale_ch3":0 []

                -> "rkcif_tools_id0":0 []

                -> "rkcif_tools_id1":0 []

                -> "rkcif_tools_id2":0 []

        pad4: Source

                -> "stream_cif_mipi_id0":0 []

                -> "stream_cif_mipi_id1":0 []

                -> "stream_cif_mipi_id2":0 []

                -> "stream_cif_mipi_id3":0 [ENABLED]

                -> "rkcif_scale_ch0":0 []

                -> "rkcif_scale_ch1":0 []

                -> "rkcif_scale_ch2":0 []

                -> "rkcif_scale_ch3":0 []

                -> "rkcif_tools_id0":0 []

                -> "rkcif_tools_id1":0 []

                -> "rkcif_tools_id2":0 []

        pad5: Source

                -> "stream_cif_mipi_id0":0 []

                -> "stream_cif_mipi_id1":0 []

                -> "stream_cif_mipi_id2":0 []

                -> "stream_cif_mipi_id3":0 []

                -> "rkcif_scale_ch0":0 [ENABLED]

                -> "rkcif_scale_ch1":0 []

                -> "rkcif_scale_ch2":0 []

                -> "rkcif_scale_ch3":0 []

                -> "rkcif_tools_id0":0 []

                -> "rkcif_tools_id1":0 []

                -> "rkcif_tools_id2":0 []

        pad6: Source

                -> "stream_cif_mipi_id0":0 []

                -> "stream_cif_mipi_id1":0 []

                -> "stream_cif_mipi_id2":0 []

                -> "stream_cif_mipi_id3":0 []

                -> "rkcif_scale_ch0":0 []

                -> "rkcif_scale_ch1":0 [ENABLED]

                -> "rkcif_scale_ch2":0 []

                -> "rkcif_scale_ch3":0 []

                -> "rkcif_tools_id0":0 []

                -> "rkcif_tools_id1":0 []

                -> "rkcif_tools_id2":0 []

        pad7: Source

                -> "stream_cif_mipi_id0":0 []

                -> "stream_cif_mipi_id1":0 []

                -> "stream_cif_mipi_id2":0 []

                -> "stream_cif_mipi_id3":0 []

                -> "rkcif_scale_ch0":0 []

                -> "rkcif_scale_ch1":0 []

                -> "rkcif_scale_ch2":0 [ENABLED]

                -> "rkcif_scale_ch3":0 []

                -> "rkcif_tools_id0":0 []

                -> "rkcif_tools_id1":0 []

                -> "rkcif_tools_id2":0 []

        pad8: Source

                -> "stream_cif_mipi_id0":0 []

                -> "stream_cif_mipi_id1":0 []

                -> "stream_cif_mipi_id2":0 []

                -> "stream_cif_mipi_id3":0 []

                -> "rkcif_scale_ch0":0 []

                -> "rkcif_scale_ch1":0 []

                -> "rkcif_scale_ch2":0 []

                -> "rkcif_scale_ch3":0 [ENABLED]

                -> "rkcif_tools_id0":0 []

                -> "rkcif_tools_id1":0 []

                -> "rkcif_tools_id2":0 []

        pad9: Source

                -> "stream_cif_mipi_id0":0 []

                -> "stream_cif_mipi_id1":0 []

                -> "stream_cif_mipi_id2":0 []

                -> "stream_cif_mipi_id3":0 []

                -> "rkcif_scale_ch0":0 []

                -> "rkcif_scale_ch1":0 []

                -> "rkcif_scale_ch2":0 []

                -> "rkcif_scale_ch3":0 []

                -> "rkcif_tools_id0":0 [ENABLED]

                -> "rkcif_tools_id1":0 []

                -> "rkcif_tools_id2":0 []

        pad10: Source

                -> "stream_cif_mipi_id0":0 []

                -> "stream_cif_mipi_id1":0 []

                -> "stream_cif_mipi_id2":0 []

                -> "stream_cif_mipi_id3":0 []

                -> "rkcif_scale_ch0":0 []

                -> "rkcif_scale_ch1":0 []

                -> "rkcif_scale_ch2":0 []

                -> "rkcif_scale_ch3":0 []

                -> "rkcif_tools_id0":0 []

                -> "rkcif_tools_id1":0 [ENABLED]

                -> "rkcif_tools_id2":0 []

        pad11: Source

                -> "stream_cif_mipi_id0":0 []

                -> "stream_cif_mipi_id1":0 []

                -> "stream_cif_mipi_id2":0 []

                -> "stream_cif_mipi_id3":0 []

                -> "rkcif_scale_ch0":0 []

                -> "rkcif_scale_ch1":0 []

                -> "rkcif_scale_ch2":0 []

                -> "rkcif_scale_ch3":0 []

                -> "rkcif_tools_id0":0 []

                -> "rkcif_tools_id1":0 []

                -> "rkcif_tools_id2":0 [ENABLED]

- entity 58: rockchip-csi2-dphy0 (2 pads, 2 links)

             type V4L2 subdev subtype Unknown flags 0

             device node name /dev/v4l-subdev1

        pad0: Sink

                [fmt:SBGGR8_1X8/2304x1296@10000/250000 field:none]

                <- "m00_b_sc3336 4-0030":0 [ENABLED]

        pad1: Source

                -> "rockchip-mipi-csi2":0 [ENABLED]

- entity 63: m00_b_sc3336 4-0030 (1 pad, 1 link)

             type V4L2 subdev subtype Sensor flags 0

             device node name /dev/v4l-subdev2

        pad0: Source

                [fmt:SBGGR8_1X8/2304x1296@10000/250000 field:none]

                -> "rockchip-csi2-dphy0":0 [ENABLED]

五:FPGA端MIPI CSI-2发送调试

确认FPGA端发送正常

六:图像VLC推流查看

FPGA发送动态图像模板显示效果

七:欢迎讨论交流

微:moning_hello

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:/a/340562.html

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

POI及EasyExcel学习笔记

POI及EasyExcel学习笔记 组件、工具 POI-Excel概述 Apache POI 结构&#xff1a; HSSF &#xff0d; 提供读写[Microsoft Excel](https://baike.baidu.com/item/Microsoft Excel)格式档案的功能。XSSF &#xff0d; 提供读写Microsoft Excel OOXML格式档案的功能。HWPF &am…

美团收银餐饮版培训教程

硬件连接方式及介绍: 双屏收银机 收银一体机 双屏收银机连接图 收银一体机连接图 前台打印机 后厨打印机 标签打印机 前台打印机连接图 后厨打印机连接图 其它收银机配件 软件前期设置 1、机器联网 点开桌面的设置&#xff0c;点击更多&#xff0c;点击以太网&#xff0c;最上…

Linux与windows互相传输文件之rzsz命令

文章目录 关于rzsz安装软件使用命令方法一&#xff1a;直接拖拽方法二&#xff1a;直接在终端输入rz 关于rzsz 这个工具用于 windows 机器和远端的 Linux 机器通过 XShell 传输文件 安装完毕之后可以通过拖拽的方式将文件上传过去 首先看一下我们的机器可以使用网络吗&#xff…

QT upd测试

QT upd测试 本次测试将服务器和客户端写在了一个工程下&#xff0c;代码如下 widget.h #ifndef WIDGET_H #define WIDGET_H#include <QWidget> #include<QUdpSocket> #include<QTimer>QT_BEGIN_NAMESPACE namespace Ui { class Widget; } QT_END_NAMESPACE…

C++的流库

1.流的概念 “流”&#xff0c;即“流动”的意思&#xff0c;是物质从一处向另一处流动的过程。在计算机这边通常是指对一种有序连续且具有方向性的数据的抽象描述。 C 中的流一般指两个过程的统一&#xff1a; 信息从外部输入设备&#xff08;键盘&#xff09;向计算机内部…

网页设计-用户体验

Use Cases (用例) 用例是用户如何在网站上执行任务的书面描述&#xff0c;从用户的角度描述了系统响应请求时的行为。每个用例都是用户实现目标的一系列简单的步骤。简言之&#xff0c;用例是一种用于描述系统如何满足用户需求的方法。 用例的好处 1. 明确需求&#xff1a; Use…

【测试入门】测试用例经典设计方法 —— 因果图法

01、因果图设计测试用例的步骤 1、分析需求 阅读需求文档&#xff0c;如果User Case很复杂&#xff0c;尽量将它分解成若干个简单的部分。这样做的好处是&#xff0c;不必在一次处理过程中考虑所有的原因。没有固定的流程说明究竟分解到何种程度才算简单&#xff0c;需要测试…

Flutter 滚动布局:sliver模型

一、滚动布局 Flutter中可滚动布局基本都来自Sliver模型&#xff0c;原理和安卓传统UI的ListView、RecyclerView类似&#xff0c;滚动布局里面的每个子组件的样式往往是相同的&#xff0c;由于组件占用内存较大&#xff0c;所以在内存上我们可以缓存有限个组件&#xff0c;滚动…

每天五分钟计算机视觉:掌握迁移学习使用技巧

本文重点 随着深度学习的发展,迁移学习已成为一种流行的机器学习方法,它能够将预训练模型应用于各种任务,从而实现快速模型训练和优化。然而,要想充分利用迁移学习的优势,我们需要掌握一些关键技巧。本文将介绍这些技巧,帮助您更好地应用迁移学习技术。 迁移学习的关键…

HCIP-BGP选路实验

一.实验拓扑图 二.详细配置 R1 interface GigabitEthernet0/0/0 ip address 12.1.1.1 255.255.255.0interface LoopBack0 ip address 1.1.1.1 255.255.255.0interface LoopBack1 ip address 10.1.1.1 255.255.255.0bgp 1 router-id 1.1.1.1 peer 12.1.1.2 as-number 2ipv4-fa…

Unity New Input System 及其系统结构和源码浅析【Unity学习笔记·第十二】

转载请注明出处&#xff1a;&#x1f517;https://blog.csdn.net/weixin_44013533/article/details/132534422 作者&#xff1a;CSDN|Ringleader| 主要参考&#xff1a; 官方文档&#xff1a;Unity官方Input System手册与API官方测试用例&#xff1a;Unity-Technologies/InputS…

c/c++公交管理系统(星穹轨道可视化EasyX)

注&#xff1a;全代码由博主个人耗时两个星期开发&#xff0c;实现了基础的公交管理系统功能&#xff1a;1.前端用户查询站点以及查看所有站点。2.后端管理员权限&#xff0c;实现登录系统检验&#xff0c;添加路线以及删除路线。最重要的是使用EasyX实现了星穹轨道的启动以及抽…

ROS2手册的离线编译安装

ROS开发中经常要查询相关API&#xff0c;把文档下载到本地离线使用方便快捷&#xff0c;极大提高开发效率 下载ROS2文档 git clone https://github.com/ros2/ros2_documentation.gitcd ros2_documentation安装sphinx pip install Sphinx配置sphinx sphinx-quickstart按提示…

快速上手的AI工具-文心辅助学习

前言 大家好晚上好&#xff0c;现在AI技术的发展&#xff0c;它已经渗透到我们生活的各个层面。对于普通人来说&#xff0c;理解并有效利用AI技术不仅能增强个人竞争力&#xff0c;还能在日常生活中带来便利。无论是提高工作效率&#xff0c;还是优化日常任务&#xff0c;AI工…

【Linux】vim的使用

个人主页 &#xff1a; zxctsclrjjjcph 文章封面来自&#xff1a;艺术家–贤海林 如有转载请先通知 目录 1. 前言2. vim的基本概念3. vim的基本操作4. vim正常模式命令集4.1 命令模式4.1.1 光标定位 4.2 插入模式4.3 底行模式 这个是在网上找的一张关于vim键盘的图 1. 前言 …

爬虫requests+综合练习详解

Day2 - 1.requests第一血_哔哩哔哩_bilibili requests作用&#xff1a;模拟浏览器发请求 requests流程&#xff1a;指定url -> 发起请求 -> 获取响应数据 -> 持续化存储 爬取搜狗首页的页面数据 import requests# 指定url url https://sogou.com # 发起请求 resp…

Netty和Reactor设计模式

Netty Netty一个线程通过多路复用&#xff0c;能够实现多个socket的非阻塞的调用。 Reactor Reactor 模式是一种设计模式,也叫响应器模式。 以下是 Reactor 模式的基本组成部分&#xff1a; 事件处理器&#xff08;Event Handlers&#xff09;&#xff1a; 这些是实际处理特…

【深度学习目标检测】十七、基于深度学习的洋葱检测系统-含GUI和源码(python,yolov8)

使用AI实现洋葱检测对农业具有以下意义&#xff1a; 提高效率&#xff1a;AI技术可以快速、准确地检测出洋葱中的缺陷和问题&#xff0c;从而提高了检测效率&#xff0c;减少了人工检测的时间和人力成本。提高准确性&#xff1a;AI技术通过大量的数据学习和分析&#xff0c;能够…

Simulink之Signal

Simulink.Signal 指定信号的属性 描述 此类使您能够创建工作区对象,用于分配或验证信号或离散状态的属性,如其数据类型、数字类型、维度等。您可以使用信号对象来: 将值指定给信号源未指定的信号属性(值为-1或auto)。 验证其值由信号源显式指定的信号属性。此类属性的…

Windows系统如何修改Nginx配置实现远程访问多个本地站点

文章目录 1. 下载windows版Nginx2. 配置Nginx3. 测试局域网访问4. cpolar内网穿透5. 测试公网访问6. 配置固定二级子域名7. 测试访问公网固定二级子域名 1. 下载windows版Nginx 进入官方网站(http://nginx.org/en/download.html)下载windows版的nginx 下载好后解压进入nginx目…