Linux 4.8.3
[linux/fpc-iii.git] / Documentation / media / uapi / v4l / v4l2-selection-flags.rst
blob3ce3731faf5feea0231c0379b5fa4669e1f4d208
1 .. -*- coding: utf-8; mode: rst -*-
3 .. _v4l2-selection-flags:
5 ***************
6 Selection flags
7 ***************
10 .. _v4l2-selection-flags-table:
12 .. flat-table:: Selection flag definitions
13     :header-rows:  1
14     :stub-columns: 0
17     -  .. row 1
19        -  Flag name
21        -  id
23        -  Definition
25        -  Valid for V4L2
27        -  Valid for V4L2 subdev
29     -  .. row 2
31        -  ``V4L2_SEL_FLAG_GE``
33        -  (1 << 0)
35        -  Suggest the driver it should choose greater or equal rectangle (in
36           size) than was requested. Albeit the driver may choose a lesser
37           size, it will only do so due to hardware limitations. Without this
38           flag (and ``V4L2_SEL_FLAG_LE``) the behaviour is to choose the
39           closest possible rectangle.
41        -  Yes
43        -  Yes
45     -  .. row 3
47        -  ``V4L2_SEL_FLAG_LE``
49        -  (1 << 1)
51        -  Suggest the driver it should choose lesser or equal rectangle (in
52           size) than was requested. Albeit the driver may choose a greater
53           size, it will only do so due to hardware limitations.
55        -  Yes
57        -  Yes
59     -  .. row 4
61        -  ``V4L2_SEL_FLAG_KEEP_CONFIG``
63        -  (1 << 2)
65        -  The configuration must not be propagated to any further processing
66           steps. If this flag is not given, the configuration is propagated
67           inside the subdevice to all further processing steps.
69        -  No
71        -  Yes