1 .. -*- coding: utf-8; mode: rst -*-
5 *******************************
6 V4L2_META_FMT_UVC ('UVCH')
7 *******************************
9 UVC Payload Header Data
15 This format describes standard UVC metadata, extracted from UVC packet headers
16 and provided by the UVC driver through metadata video nodes. That data includes
17 exact copies of the standard part of UVC Payload Header contents and auxiliary
18 timing information, required for precise interpretation of timestamps, contained
19 in those headers. See section "2.4.3.3 Video and Still Image Payload Headers" of
20 the "UVC 1.5 Class specification" for details.
22 Each UVC payload header can be between 2 and 12 bytes large. Buffers can
23 contain multiple headers, if multiple such headers have been transmitted by the
24 camera for the respective frame. However, the driver may drop headers when the
25 buffer is full, when they contain no useful information (e.g. those without the
26 SCR field or with that field identical to the previous header), or generally to
27 perform rate limiting when the device sends a large number of headers.
29 Each individual block contains the following fields:
31 .. flat-table:: UVC Metadata Block
39 - system timestamp in host byte order, measured by the driver upon
40 reception of the payload
42 - USB Frame Number in host byte order, also obtained by the driver as
43 close as possible to the above timestamp to enable correlation between
45 * - :cspan:`1` *The rest is an exact copy of the UVC payload header:*
47 - length of the rest of the block, including this field
49 - Flags, indicating presence of other standard UVC fields
51 - The rest of the header, possibly including UVC PTS and SCR fields