Back to home page

OSCL-LXR

 
 

    


0001 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
0002 
0003 .. _v4l2-selections-common:
0004 
0005 Common selection definitions
0006 ============================
0007 
0008 While the :ref:`V4L2 selection API <selection-api>` and
0009 :ref:`V4L2 subdev selection APIs <v4l2-subdev-selections>` are very
0010 similar, there's one fundamental difference between the two. On
0011 sub-device API, the selection rectangle refers to the media bus format,
0012 and is bound to a sub-device's pad. On the V4L2 interface the selection
0013 rectangles refer to the in-memory pixel format.
0014 
0015 This section defines the common definitions of the selection interfaces
0016 on the two APIs.
0017 
0018 
0019 .. toctree::
0020     :maxdepth: 1
0021 
0022     v4l2-selection-targets
0023     v4l2-selection-flags