• Home
  • Raw
  • Download

Lines Matching +full:image +full:- +full:sensor

1 .. SPDX-License-Identifier: GPL-2.0
6 Rockchip Image Signal Processor (rkisp1)
14 and uses the Media-Controller API.
20 .. kernel-figure:: rkisp1.dot
27 - rkisp1_mainpath: capture device for retrieving images, usually in higher
29 - rkisp1_selfpath: capture device for retrieving images.
30 - rkisp1_stats: a metadata capture device that sends statistics.
31 - rkisp1_params: a metadata output device that receives parameters
36 - rkisp1_resizer_mainpath: used to resize and downsample frames for the
38 - rkisp1_resizer_selfpath: used to resize and downsample frames for the
40 - rkisp1_isp: is connected to the sensor and is responsible for all the isp
44 rkisp1_mainpath, rkisp1_selfpath - Frames Capture Video Nodes
45 -------------------------------------------------------------
54 the ``V4L2_CAP_IO_MC`` :ref:`capability <device-capabilities>`.
57 rkisp1_resizer_mainpath, rkisp1_resizer_selfpath - Resizers Subdevices Nodes
58 ----------------------------------------------------------------------------
61 YUV4:2:2 -> YUV4:2:0). They also have cropping capability on the sink pad.
65 case the resizer of the mainpath is set to 'bypass' mode - it just forward the
68 rkisp1_isp - Image Signal Processing Subdevice Node
69 ---------------------------------------------------
70 This is the isp entity. It is connected to the sensor on sink pad 0 and
71 receives the frames using the CSI-2 protocol. It is responsible of configuring
72 the CSI-2 protocol. It has a cropping capability on sink pad 0 that is
73 connected to the sensor and on source pad 2 connected to the resizer entities.
74 Cropping on sink pad 0 defines the image region from the sensor.
75 Cropping on source pad 2 defines the region for the Image Stabilizer (IS).
79 rkisp1_stats - Statistics Video Node
80 ------------------------------------
84 Using these data, applications can implement algorithms and re-parameterize
85 the driver through the rkisp_params node to improve image quality during a
89 :ref:`V4L2_META_FMT_RK_ISP1_STAT_3A <v4l2-meta-fmt-stat-rkisp1>` as the
94 rkisp1_params - Parameters Video Node
95 -------------------------------------
103 :ref:`V4L2_META_FMT_RK_ISP1_PARAMS <v4l2-meta-fmt-params-rkisp1>` as the
110 In the following example, the sensor connected to pad 0 of 'rkisp1_isp' is
117 .. code-block:: bash
120 "media-ctl" "-d" "platform:rkisp1" "-r"
121 "media-ctl" "-d" "platform:rkisp1" "-l" "'imx219 4-0010':0 -> 'rkisp1_isp':0 [1]"
122 "media-ctl" "-d" "platform:rkisp1" "-l" "'rkisp1_isp':2 -> 'rkisp1_resizer_selfpath':0 [1]"
123 "media-ctl" "-d" "platform:rkisp1" "-l" "'rkisp1_isp':2 -> 'rkisp1_resizer_mainpath':0 [0]"
125 # set format for imx219 4-0010:0
126 "media-ctl" "-d" "platform:rkisp1" "--set-v4l2" '"imx219 4-0010":0 [fmt:SRGGB10_1X10/1640x1232]'
129 …"media-ctl" "-d" "platform:rkisp1" "--set-v4l2" '"rkisp1_isp":0 [fmt:SRGGB10_1X10/1640x1232 crop: …
130 …"media-ctl" "-d" "platform:rkisp1" "--set-v4l2" '"rkisp1_isp":2 [fmt:YUYV8_2X8/1600x1200 crop: (0,…
133 …"media-ctl" "-d" "platform:rkisp1" "--set-v4l2" '"rkisp1_resizer_selfpath":0 [fmt:YUYV8_2X8/1500x1…
134 …"media-ctl" "-d" "platform:rkisp1" "--set-v4l2" '"rkisp1_resizer_selfpath":1 [fmt:YUYV8_2X8/900x80…
137 "v4l2-ctl" "-z" "platform:rkisp1" "-d" "rkisp1_selfpath" "-v" "width=900,height=800,"
138 "v4l2-ctl" "-z" "platform:rkisp1" "-d" "rkisp1_selfpath" "-v" "pixelformat=422P"
141 v4l2-ctl "-z" "platform:rkisp1" "-d" "rkisp1_selfpath" "--stream-mmap" "--stream-count" "10"
144 In the above example the sensor is configured to bayer format:
146 same mbus format and dimensions as the sensor, otherwise streaming will fail
163 Note that the above example does not uses the stats-params control loop.