Home
last modified time | relevance | path

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

123456

/linux/Documentation/userspace-api/media/v4l/
H A 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 …]
H A 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.
H A 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.
H A 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
H A 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.
H A 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.
H A 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>`.
H A 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
H A 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
H A Dselection-api-targets.rst14 Cropping and composing targets
16 Targets used by a cropping, composing and scaling process
H A Ddiff-v4l.rst122 implies the scale factor by setting the cropping dimensions and
126 cropping and scaling see :ref:`crop`.
137 of the full picture ("cropping" in V4L2). If not, the ioctl
138 returns the ``EINVAL`` error code. For more information on cropping
169 current video standard, cropping and scaling limitations.
457 Cropping chapter
472 the V4L2 API the scaling factor is implied by the size of the cropping
H A Ddev-overlay.rst61 :ref:`cropping and scaling <crop>` and
122 The overlaid image is determined by cropping and overlay window
124 the latter how images are overlaid and clipped. Cropping initialization
150 of the cropping rectangle. For more information see :ref:`crop`.
H A Dvidioc-subdev-g-crop.rst50 code if the input arguments are invalid, or if cropping is not supported
122 the ``which`` field has an unsupported value, or cropping is not supported
H A Dselection-api.rst5 Cropping, composing and scaling -- the SELECTION API
/linux/drivers/media/platform/ti/omap/
H A 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 …]
/linux/Documentation/admin-guide/media/
H A 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).
137 node with dimension 900x800 planar format YUV 4:2:2. It uses all cropping
171 In addition, the rkisp1_isp:0 pad is configured to cropping `(0,0)/1600x1200`.
173 The cropping dimensions are automatically propagated to be the format of the
174 isp source pad `rkisp1_isp:2`. Another cropping operation is configured on
179 link. In addition a cropping `(300,400)/1400x1000` is configured on it.
H A Dvivid.rst202 of cropping, composing and scaling capabilities and this will tell the
211 Enable crop support. Cropping will take only part of the
227 discrete framesizes and that is incompatible with cropping, composing
234 of cropping, composing and scaling capabilities and this will tell the
243 Enable crop support. Cropping will take only part of the
828 - Enable Capture Cropping:
868 - Enable Output Cropping:
1229 Cropping, Composing, Scaling
1232 This driver supports cropping, composing and scaling in any combination. Normally
1240 Note that the webcam input never supports cropping, composing or scaling. That
[all …]
/linux/Documentation/driver-api/media/drivers/
H A 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:
/linux/include/uapi/linux/
H A Dv4l2-common.h26 /* Current cropping area */
28 /* Default cropping area */
30 /* Cropping bounds */
/linux/drivers/media/i2c/
H A Dtvp5150_reg.h39 #define TVP5150_ACT_VD_CROP_ST_MSB 0x11 /* Active video cropping start MSB */
40 #define TVP5150_ACT_VD_CROP_ST_LSB 0x12 /* Active video cropping start LSB */
41 #define TVP5150_ACT_VD_CROP_STP_MSB 0x13 /* Active video cropping stop MSB */
42 #define TVP5150_ACT_VD_CROP_STP_LSB 0x14 /* Active video cropping stop LSB */
/linux/drivers/gpu/drm/ci/xfails/
H A Di915-glk-fails.txt52 kms_rotation_crc@multiplane-rotation-cropping-bottom,Fail
53 kms_rotation_crc@multiplane-rotation-cropping-top,Fail
/linux/Documentation/userspace-api/media/drivers/
H A Dcamera-sensor.rst23 processing pipeline as one or more sub-devices with different cropping and
25 of cropping and scaling operations from the device's pixel array's size.
/linux/drivers/media/platform/chips-media/coda/
H A Dcoda-h264.c239 * coda_h264_sps_fixup - fixes frame cropping values in h.264 SPS
247 * Rewrites the frame cropping values in an h.264 SPS RBSP correctly for the
361 /* Mark position of the frame cropping flag */ in coda_h264_sps_fixup()
/linux/drivers/media/platform/renesas/rcar-vin/
H A Drcar-vin.h207 * @crop: active cropping
309 /* Cropping, composing and scaling */
/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_rwpf.c133 * Cropping is only supported on the RPF and is implemented on the sink in vsp1_rwpf_get_selection()
181 * Cropping is only supported on the RPF and is implemented on the sink in vsp1_rwpf_set_selection()

123456