1 .. -*- coding: utf-8; mode: rst -*-
8 .. _compressed-formats:
10 .. tabularcolumns:: |p{6.6cm}|p{2.2cm}|p{8.7cm}|
12 .. flat-table:: Compressed Image Formats
20 * .. _V4L2-PIX-FMT-JPEG:
22 - ``V4L2_PIX_FMT_JPEG``
24 - TBD. See also :ref:`VIDIOC_G_JPEGCOMP <VIDIOC_G_JPEGCOMP>`,
25 :ref:`VIDIOC_S_JPEGCOMP <VIDIOC_G_JPEGCOMP>`.
26 * .. _V4L2-PIX-FMT-MPEG:
28 - ``V4L2_PIX_FMT_MPEG``
30 - MPEG multiplexed stream. The actual format is determined by
31 extended control ``V4L2_CID_MPEG_STREAM_TYPE``, see
32 :ref:`mpeg-control-id`.
33 * .. _V4L2-PIX-FMT-H264:
35 - ``V4L2_PIX_FMT_H264``
37 - H264 video elementary stream with start codes.
38 * .. _V4L2-PIX-FMT-H264-NO-SC:
40 - ``V4L2_PIX_FMT_H264_NO_SC``
42 - H264 video elementary stream without start codes.
43 * .. _V4L2-PIX-FMT-H264-MVC:
45 - ``V4L2_PIX_FMT_H264_MVC``
47 - H264 MVC video elementary stream.
48 * .. _V4L2-PIX-FMT-H263:
50 - ``V4L2_PIX_FMT_H263``
52 - H263 video elementary stream.
53 * .. _V4L2-PIX-FMT-MPEG1:
55 - ``V4L2_PIX_FMT_MPEG1``
57 - MPEG1 video elementary stream.
58 * .. _V4L2-PIX-FMT-MPEG2:
60 - ``V4L2_PIX_FMT_MPEG2``
62 - MPEG2 video elementary stream.
63 * .. _V4L2-PIX-FMT-MPEG2-SLICE:
65 - ``V4L2_PIX_FMT_MPEG2_SLICE``
67 - MPEG-2 parsed slice data, as extracted from the MPEG-2 bitstream.
68 This format is adapted for stateless video decoders that implement a
69 MPEG-2 pipeline (using the :ref:`codec` and :ref:`media-request-api`).
70 Metadata associated with the frame to decode is required to be passed
71 through the ``V4L2_CID_MPEG_VIDEO_MPEG2_SLICE_PARAMS`` control and
72 quantization matrices can optionally be specified through the
73 ``V4L2_CID_MPEG_VIDEO_MPEG2_QUANTIZATION`` control.
74 See the :ref:`associated Codec Control IDs <v4l2-mpeg-mpeg2>`.
75 Exactly one output and one capture buffer must be provided for use with
76 this pixel format. The output buffer must contain the appropriate number
77 of macroblocks to decode a full corresponding frame to the matching
79 * .. _V4L2-PIX-FMT-MPEG4:
81 - ``V4L2_PIX_FMT_MPEG4``
83 - MPEG4 video elementary stream.
84 * .. _V4L2-PIX-FMT-XVID:
86 - ``V4L2_PIX_FMT_XVID``
88 - Xvid video elementary stream.
89 * .. _V4L2-PIX-FMT-VC1-ANNEX-G:
91 - ``V4L2_PIX_FMT_VC1_ANNEX_G``
93 - VC1, SMPTE 421M Annex G compliant stream.
94 * .. _V4L2-PIX-FMT-VC1-ANNEX-L:
96 - ``V4L2_PIX_FMT_VC1_ANNEX_L``
98 - VC1, SMPTE 421M Annex L compliant stream.
99 * .. _V4L2-PIX-FMT-VP8:
101 - ``V4L2_PIX_FMT_VP8``
103 - VP8 video elementary stream.
104 * .. _V4L2-PIX-FMT-VP9:
106 - ``V4L2_PIX_FMT_VP9``
108 - VP9 video elementary stream.
109 * .. _V4L2-PIX-FMT-HEVC:
111 - ``V4L2_PIX_FMT_HEVC``
113 - HEVC/H.265 video elementary stream.
114 * .. _V4L2-PIX-FMT-FWHT:
116 - ``V4L2_PIX_FMT_FWHT``
118 - Video elementary stream using a codec based on the Fast Walsh Hadamard
119 Transform. This codec is implemented by the vicodec ('Virtual Codec')
120 driver. See the codec-fwht.h header for more details.