82 lines · plain
1.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later2 3.. _v4l2-selection-targets:4 5*****************6Selection targets7*****************8 9The precise meaning of the selection targets may be dependent on which10of the two interfaces they are used.11 12 13.. _v4l2-selection-targets-table:14 15.. raw:: latex16 17 \small18 19.. tabularcolumns:: |p{6.2cm}|p{1.4cm}|p{7.3cm}|p{1.2cm}|p{0.8cm}|20 21.. cssclass:: longtable22 23.. flat-table:: Selection target definitions24 :header-rows: 125 :stub-columns: 026 27 * - Target name28 - id29 - Definition30 - Valid for V4L231 - Valid for V4L2 subdev32 * - ``V4L2_SEL_TGT_CROP``33 - 0x000034 - Crop rectangle. Defines the cropped area.35 - Yes36 - Yes37 * - ``V4L2_SEL_TGT_CROP_DEFAULT``38 - 0x000139 - Suggested cropping rectangle that covers the "whole picture".40 This includes only active pixels and excludes other non-active41 pixels such as black pixels.42 - Yes43 - Yes44 * - ``V4L2_SEL_TGT_CROP_BOUNDS``45 - 0x000246 - Bounds of the crop rectangle. All valid crop rectangles fit inside47 the crop bounds rectangle.48 - Yes49 - Yes50 * - ``V4L2_SEL_TGT_NATIVE_SIZE``51 - 0x000352 - The native size of the device, e.g. a sensor's pixel array.53 ``left`` and ``top`` fields are zero for this target.54 - Yes55 - Yes56 * - ``V4L2_SEL_TGT_COMPOSE``57 - 0x010058 - Compose rectangle. Used to configure scaling and composition.59 - Yes60 - Yes61 * - ``V4L2_SEL_TGT_COMPOSE_DEFAULT``62 - 0x010163 - Suggested composition rectangle that covers the "whole picture".64 - Yes65 - No66 * - ``V4L2_SEL_TGT_COMPOSE_BOUNDS``67 - 0x010268 - Bounds of the compose rectangle. All valid compose rectangles fit69 inside the compose bounds rectangle.70 - Yes71 - Yes72 * - ``V4L2_SEL_TGT_COMPOSE_PADDED``73 - 0x010374 - The active area and all padding pixels that are inserted or75 modified by hardware.76 - Yes77 - No78 79.. raw:: latex80 81 \normalsize82