8.1. Common selection definitions¶
While the V4L2 selection API and V4L2 subdev selection APIs are very similar, there’s one fundamental difference between the two. On sub-device API, the selection rectangle refers to the media bus format, and is bound to a sub-device’s pad. On the V4L2 interface the selection rectangles refer to the in-memory pixel format.
This section defines the common definitions of the selection interfaces on the two APIs.