55 lines · plain
1.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later2 3.. _v4l2-selection-flags:4 5***************6Selection flags7***************8 9.. _v4l2-selection-flags-table:10 11.. raw:: latex12 13 \small14 15.. tabularcolumns:: |p{5.6cm}|p{2.0cm}|p{6.5cm}|p{1.2cm}|p{1.2cm}|16 17.. cssclass:: longtable18 19.. flat-table:: Selection flag definitions20 :header-rows: 121 :stub-columns: 022 23 * - Flag name24 - id25 - Definition26 - Valid for V4L227 - Valid for V4L2 subdev28 * - ``V4L2_SEL_FLAG_GE``29 - (1 << 0)30 - Suggest the driver it should choose greater or equal rectangle (in31 size) than was requested. Albeit the driver may choose a lesser32 size, it will only do so due to hardware limitations. Without this33 flag (and ``V4L2_SEL_FLAG_LE``) the behaviour is to choose the34 closest possible rectangle.35 - Yes36 - Yes37 * - ``V4L2_SEL_FLAG_LE``38 - (1 << 1)39 - Suggest the driver it should choose lesser or equal rectangle (in40 size) than was requested. Albeit the driver may choose a greater41 size, it will only do so due to hardware limitations.42 - Yes43 - Yes44 * - ``V4L2_SEL_FLAG_KEEP_CONFIG``45 - (1 << 2)46 - The configuration must not be propagated to any further processing47 steps. If this flag is not given, the configuration is propagated48 inside the subdevice to all further processing steps.49 - No50 - Yes51 52.. raw:: latex53 54 \normalsize55