Home
last modified time | relevance | path

Searched full:cropping (Results 1 – 25 of 268) sorted by relevance

1234567891011

/kernel/linux/linux-6.6/Documentation/userspace-api/media/v4l/
Dvidioc-g-crop.rst13 VIDIOC_G_CROP - VIDIOC_S_CROP - Get or set the current cropping rectangle
38 To query the cropping rectangle size and position applications set the
42 structure or returns the ``EINVAL`` error code if cropping is not supported.
44 To change the cropping rectangle applications initialize the ``type``
53 offset of the cropping rectangle to frame lines modulo two, such that
61 Finally the driver programs the hardware with the actual cropping and
65 parameters are unsuitable the application may modify the cropping or
69 When cropping is not supported then no parameters are changed and
89 - Cropping rectangle. The same co-ordinate system as for struct
110 Cropping is not supported for this input or output.
Dcrop.rst6 Image Cropping, Insertion and Scaling -- the CROP API
20 abilities cropping and scaling. Some video output devices can scale an
34 device the source is the video signal, and the cropping ioctls determine
44 the video signal, and the cropping ioctls determine the area where the
58 Cropping Structures
68 Image Cropping, Insertion and Scaling
70 The cropping, insertion and scaling process
111 Video hardware can have various cropping, insertion and scaling
133 of 16 × 16 pixels. The source cropping rectangle is set to defaults,
138 then chooses the cropping rectangle closest to the requested size, that
[all …]
Dselection-api-vs-crop-api.rst6 Comparison with old cropping API
11 capture devices. Later the cropping API was adopted by video output
15 selection API makes a clear distinction between composing and cropping
18 The CROP API lacks any support for composing to and cropping from an
21 API. Cropping a smaller image from a larger one is achieved by setting
30 cropping/composing in a clear, intuitive and portable way. Next, with
39 former cropping API would be simulated using the new one.
Dselection-api-intro.rst12 these abilities cropping, scaling and composing.
15 cropping target determine the area actually sampled. The sink is an
20 and the cropping target is a part of an image to be shown on a display.
25 Rectangles for all cropping and composing targets are defined even if
26 the device does supports neither cropping nor composing. Their size and
28 scaling then the cropping and composing rectangles have the same size.
Dselection-api-configuration.rst11 Video hardware can have various cropping, composing and scaling
15 time the cropping/composing rectangles may have to be aligned, and both
28 configure the cropping targets before to the composing targets.
39 active cropping area must lie completely inside the capture boundaries.
84 image into a video signal. The cropping rectangles refer to a memory
86 the cropping targets.
88 The cropping targets refer to the memory buffer that contains an image
90 cropping coordinates are obtained using ``V4L2_SEL_TGT_CROP_BOUNDS``.
98 same coordinate system as the bounds rectangle. The active cropping area
103 For output devices the default cropping rectangle is queried using
Dvidioc-cropcap.rst13 VIDIOC_CROPCAP - Information about the video cropping and scaling abilities
34 Applications use this function to query the cropping limits, the pixel
43 support cropping and/or scaling and/or have non-square pixels, and for
65 areas. The cropping rectangle cannot exceed these limits. Width
71 - Default cropping rectangle, it shall cover the "whole picture".
82 When cropping coordinates refer to square pixels, the driver sets
133 Cropping is not supported for this input or output.
Dvidioc-g-selection.rst40 To query the cropping (composing) rectangle set struct
50 cropping (composing) is not supported then the active rectangle is not
53 the current cropping (composing) coordinates. The coordinates are
58 To change the cropping (composing) rectangle set the struct
109 application may modify the cropping (composing) or image parameters and
146 :ref:`cropping and composing rectangles <v4l2-selections-common>`.
Ddev-capture.rst42 :ref:`cropping and scaling <crop>` and
50 The result of a capture operation is determined by cropping and image
59 they really get what they want, including cropping and scaling.
61 Cropping initialization at minimum requires to reset the parameters to
Ddev-output.rst40 :ref:`cropping and scaling <crop>` and
48 The output is determined by cropping and image format parameters. The
57 they really get what they want, including cropping and scaling.
59 Cropping initialization at minimum requires to reset the parameters to
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dvidioc-g-crop.rst13 VIDIOC_G_CROP - VIDIOC_S_CROP - Get or set the current cropping rectangle
38 To query the cropping rectangle size and position applications set the
42 structure or returns the ``EINVAL`` error code if cropping is not supported.
44 To change the cropping rectangle applications initialize the ``type``
53 offset of the cropping rectangle to frame lines modulo two, such that
61 Finally the driver programs the hardware with the actual cropping and
65 parameters are unsuitable the application may modify the cropping or
69 When cropping is not supported then no parameters are changed and
89 - Cropping rectangle. The same co-ordinate system as for struct
110 Cropping is not supported for this input or output.
Dcrop.rst6 Image Cropping, Insertion and Scaling -- the CROP API
20 abilities cropping and scaling. Some video output devices can scale an
34 device the source is the video signal, and the cropping ioctls determine
44 the video signal, and the cropping ioctls determine the area where the
58 Cropping Structures
68 Image Cropping, Insertion and Scaling
70 The cropping, insertion and scaling process
111 Video hardware can have various cropping, insertion and scaling
133 of 16 × 16 pixels. The source cropping rectangle is set to defaults,
138 then chooses the cropping rectangle closest to the requested size, that
[all …]
Dselection-api-vs-crop-api.rst6 Comparison with old cropping API
11 capture devices. Later the cropping API was adopted by video output
15 selection API makes a clear distinction between composing and cropping
18 The CROP API lacks any support for composing to and cropping from an
21 API. Cropping a smaller image from a larger one is achieved by setting
30 cropping/composing in a clear, intuitive and portable way. Next, with
39 former cropping API would be simulated using the new one.
Dselection-api-intro.rst12 these abilities cropping, scaling and composing.
15 cropping target determine the area actually sampled. The sink is an
20 and the cropping target is a part of an image to be shown on a display.
25 Rectangles for all cropping and composing targets are defined even if
26 the device does supports neither cropping nor composing. Their size and
28 scaling then the cropping and composing rectangles have the same size.
Dselection-api-configuration.rst11 Video hardware can have various cropping, composing and scaling
15 time the cropping/composing rectangles may have to be aligned, and both
28 configure the cropping targets before to the composing targets.
39 active cropping area must lie completely inside the capture boundaries.
84 image into a video signal. The cropping rectangles refer to a memory
86 the cropping targets.
88 The cropping targets refer to the memory buffer that contains an image
90 cropping coordinates are obtained using ``V4L2_SEL_TGT_CROP_BOUNDS``.
98 same coordinate system as the bounds rectangle. The active cropping area
103 For output devices the default cropping rectangle is queried using
Dvidioc-cropcap.rst13 VIDIOC_CROPCAP - Information about the video cropping and scaling abilities
34 Applications use this function to query the cropping limits, the pixel
43 support cropping and/or scaling and/or have non-square pixels, and for
65 areas. The cropping rectangle cannot exceed these limits. Width
71 - Default cropping rectangle, it shall cover the "whole picture".
82 When cropping coordinates refer to square pixels, the driver sets
133 Cropping is not supported for this input or output.
Dvidioc-g-selection.rst40 To query the cropping (composing) rectangle set struct
50 cropping (composing) is not supported then the active rectangle is not
53 the current cropping (composing) coordinates. The coordinates are
58 To change the cropping (composing) rectangle set the struct
109 application may modify the cropping (composing) or image parameters and
146 :ref:`cropping and composing rectangles <v4l2-selections-common>`.
Ddev-subdev.rst335 Selections: cropping, scaling and composition
338 Many sub-devices support cropping frames on their input or output pads
339 (or possible even on both). Cropping is used to select the area of
352 On sink pads, cropping is applied relative to the current pad format.
371 On source pads, cropping is similar to sink pads, with the exception
372 that the source size from which the cropping is performed, is the
458 In the above example, the subdev supports cropping on its sink pad. To
475 In this example, the subdev is capable of first cropping, then scaling
476 and finally cropping for two source pads individually from the resulting
479 rectangles refer to the sink scaling rectangle, independently cropping
/kernel/linux/linux-5.10/drivers/media/platform/omap/
Domap_voutlib.c37 /* Return the default overlay cropping rectangle in crop given the image
39 * cropping rectangle is the largest rectangle no larger than the capture size
40 * that will fit on the display. The default cropping rectangle is centered in
108 * nearest supported configuration. The image cropping window in crop
130 /* Adjust the cropping window to allow for resizing limitation */ in omap_vout_new_window()
159 /* Given a new cropping rectangle in new_crop, adjust the cropping rectangle to
163 * window would fall outside the display boundaries, the cropping rectangle
166 * Returns zero if successful, or -EINVAL if the requested cropping rectangle is
179 /* adjust the cropping rectangle so it fits in the image */ in omap_vout_new_crop()
225 * cropping height to maintain the vertical resizing ratio. in omap_vout_new_crop()
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/ti/omap/
Domap_voutlib.c37 /* Return the default overlay cropping rectangle in crop given the image
39 * cropping rectangle is the largest rectangle no larger than the capture size
40 * that will fit on the display. The default cropping rectangle is centered in
108 * nearest supported configuration. The image cropping window in crop
130 /* Adjust the cropping window to allow for resizing limitation */ in omap_vout_new_window()
159 /* Given a new cropping rectangle in new_crop, adjust the cropping rectangle to
163 * window would fall outside the display boundaries, the cropping rectangle
166 * Returns zero if successful, or -EINVAL if the requested cropping rectangle is
179 /* adjust the cropping rectangle so it fits in the image */ in omap_vout_new_crop()
225 * cropping height to maintain the vertical resizing ratio. in omap_vout_new_crop()
[all …]
/kernel/linux/linux-5.10/drivers/media/i2c/
Dvs6624_regs.h46 #define VS6624_CROP_CTRL0 0x039E /* select cropping mode */
47 #define VS6624_CROP_HSTART0_MSB 0x03A1 /* set the cropping H start address MSB */
48 #define VS6624_CROP_HSTART0_LSB 0x03A2 /* set the cropping H start address LSB */
49 #define VS6624_CROP_HSIZE0_MSB 0x03A5 /* set the cropping H size MSB */
50 #define VS6624_CROP_HSIZE0_LSB 0x03A6 /* set the cropping H size LSB */
51 #define VS6624_CROP_VSTART0_MSB 0x03A9 /* set the cropping V start address MSB */
52 #define VS6624_CROP_VSTART0_LSB 0x03AA /* set the cropping V start address LSB */
53 #define VS6624_CROP_VSIZE0_MSB 0x03AD /* set the cropping V size MSB */
54 #define VS6624_CROP_VSIZE0_LSB 0x03AE /* set the cropping V size LSB */
79 #define VS6624_CROP_CTRL1 0x041E /* select cropping mode */
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/media/
Drkisp1.rst61 YUV4:2:2 -> YUV4:2:0). They also have cropping capability on the sink pad.
72 the CSI-2 protocol. It has a cropping capability on sink pad 0 that is
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).
114 node with dimension 900x800 planar format YUV 4:2:2. It uses all cropping
148 In addition, the rkisp1_isp:0 pad is configured to cropping `(0,0)/1600x1200`.
150 The cropping dimensions are automatically propagated to be the format of the
151 isp source pad `rkisp1_isp:2`. Another cropping operation is configured on
156 link. In addition a cropping `(300,400)/1400x1000` is configured on it.
/kernel/linux/linux-6.6/Documentation/admin-guide/media/
Drkisp1.rst77 YUV4:2:2 -> YUV4:2:0). They also have cropping capability on the sink pad.
88 the CSI-2 protocol. It has a cropping capability on sink pad 0 that is
90 Cropping on sink pad 0 defines the image region from the sensor.
91 Cropping on source pad 2 defines the region for the Image Stabilizer (IS).
130 node with dimension 900x800 planar format YUV 4:2:2. It uses all cropping
164 In addition, the rkisp1_isp:0 pad is configured to cropping `(0,0)/1600x1200`.
166 The cropping dimensions are automatically propagated to be the format of the
167 isp source pad `rkisp1_isp:2`. Another cropping operation is configured on
172 link. In addition a cropping `(300,400)/1400x1000` is configured on it.
/kernel/linux/linux-5.10/Documentation/driver-api/media/drivers/
Dsh_mobile_ceu_camera.rst3 Cropping and Scaling algorithm, used in the sh_mobile_ceu_camera driver
16 Generic scaling / cropping scheme
107 9. Use CEU cropping to crop to the new window:
124 We choose to follow the advise and interpret cropping units as client input
127 Cropping is performed in the following 6 steps:
/kernel/linux/linux-6.6/Documentation/driver-api/media/drivers/
Dsh_mobile_ceu_camera.rst3 Cropping and Scaling algorithm, used in the sh_mobile_ceu_camera driver
16 Generic scaling / cropping scheme
107 9. Use CEU cropping to crop to the new window:
124 We choose to follow the advise and interpret cropping units as client input
127 Cropping is performed in the following 6 steps:
/kernel/linux/linux-6.6/include/uapi/linux/
Dv4l2-common.h26 /* Current cropping area */
28 /* Default cropping area */
30 /* Cropping bounds */

1234567891011