Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300    1) .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300    2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300    3) .. _mpeg-controls:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300    4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300    5) ***********************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300    6) Codec Control Reference
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300    7) ***********************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300    8) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300    9) Below all controls within the Codec control class are described. First
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   10) the generic controls, then controls specific for certain hardware.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   12) .. note::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   13) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   14)    These controls are applicable to all codecs and not just MPEG. The
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   15)    defines are prefixed with V4L2_CID_MPEG/V4L2_MPEG as the controls
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   16)    were originally made for MPEG codecs and later extended to cover all
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   17)    encoding formats.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   18) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   19) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   20) Generic Codec Controls
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   21) ======================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   23) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   24) .. _mpeg-control-id:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   25) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   26) Codec Control IDs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   27) -----------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   28) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   29) ``V4L2_CID_MPEG_CLASS (class)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   30)     The Codec class descriptor. Calling
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   31)     :ref:`VIDIOC_QUERYCTRL` for this control will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   32)     return a description of this control class. This description can be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   33)     used as the caption of a Tab page in a GUI, for example.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   34) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   35) .. _v4l2-mpeg-stream-type:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   36) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   37) ``V4L2_CID_MPEG_STREAM_TYPE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   38)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   39) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   40) enum v4l2_mpeg_stream_type -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   41)     The MPEG-1, -2 or -4 output stream type. One cannot assume anything
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   42)     here. Each hardware MPEG encoder tends to support different subsets
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   43)     of the available MPEG stream types. This control is specific to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   44)     multiplexed MPEG streams. The currently defined stream types are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   45) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   46) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   47) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   48) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   49)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   50)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   51) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   52)     * - ``V4L2_MPEG_STREAM_TYPE_MPEG2_PS``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   53)       - MPEG-2 program stream
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   54)     * - ``V4L2_MPEG_STREAM_TYPE_MPEG2_TS``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   55)       - MPEG-2 transport stream
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   56)     * - ``V4L2_MPEG_STREAM_TYPE_MPEG1_SS``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   57)       - MPEG-1 system stream
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   58)     * - ``V4L2_MPEG_STREAM_TYPE_MPEG2_DVD``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   59)       - MPEG-2 DVD-compatible stream
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   60)     * - ``V4L2_MPEG_STREAM_TYPE_MPEG1_VCD``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   61)       - MPEG-1 VCD-compatible stream
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   62)     * - ``V4L2_MPEG_STREAM_TYPE_MPEG2_SVCD``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   63)       - MPEG-2 SVCD-compatible stream
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   64) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   65) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   66) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   67) ``V4L2_CID_MPEG_STREAM_PID_PMT (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   68)     Program Map Table Packet ID for the MPEG transport stream (default
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   69)     16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   70) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   71) ``V4L2_CID_MPEG_STREAM_PID_AUDIO (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   72)     Audio Packet ID for the MPEG transport stream (default 256)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   73) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   74) ``V4L2_CID_MPEG_STREAM_PID_VIDEO (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   75)     Video Packet ID for the MPEG transport stream (default 260)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   76) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   77) ``V4L2_CID_MPEG_STREAM_PID_PCR (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   78)     Packet ID for the MPEG transport stream carrying PCR fields (default
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   79)     259)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   80) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   81) ``V4L2_CID_MPEG_STREAM_PES_ID_AUDIO (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   82)     Audio ID for MPEG PES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   83) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   84) ``V4L2_CID_MPEG_STREAM_PES_ID_VIDEO (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   85)     Video ID for MPEG PES
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   86) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   87) .. _v4l2-mpeg-stream-vbi-fmt:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   88) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   89) ``V4L2_CID_MPEG_STREAM_VBI_FMT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   90)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   91) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   92) enum v4l2_mpeg_stream_vbi_fmt -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   93)     Some cards can embed VBI data (e. g. Closed Caption, Teletext) into
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   94)     the MPEG stream. This control selects whether VBI data should be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   95)     embedded, and if so, what embedding method should be used. The list
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   96)     of possible VBI formats depends on the driver. The currently defined
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   97)     VBI format types are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   98) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300   99) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  100) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  101) .. tabularcolumns:: |p{6.6 cm}|p{10.9cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  102) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  103) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  104)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  105)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  106) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  107)     * - ``V4L2_MPEG_STREAM_VBI_FMT_NONE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  108)       - No VBI in the MPEG stream
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  109)     * - ``V4L2_MPEG_STREAM_VBI_FMT_IVTV``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  110)       - VBI in private packets, IVTV format (documented in the kernel
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  111) 	sources in the file
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  112) 	``Documentation/userspace-api/media/drivers/cx2341x-uapi.rst``)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  113) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  114) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  115) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  116) .. _v4l2-mpeg-audio-sampling-freq:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  117) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  118) ``V4L2_CID_MPEG_AUDIO_SAMPLING_FREQ``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  119)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  120) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  121) enum v4l2_mpeg_audio_sampling_freq -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  122)     MPEG Audio sampling frequency. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  123) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  124) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  125) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  126) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  127)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  128)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  129) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  130)     * - ``V4L2_MPEG_AUDIO_SAMPLING_FREQ_44100``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  131)       - 44.1 kHz
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  132)     * - ``V4L2_MPEG_AUDIO_SAMPLING_FREQ_48000``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  133)       - 48 kHz
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  134)     * - ``V4L2_MPEG_AUDIO_SAMPLING_FREQ_32000``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  135)       - 32 kHz
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  136) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  137) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  138) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  139) .. _v4l2-mpeg-audio-encoding:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  140) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  141) ``V4L2_CID_MPEG_AUDIO_ENCODING``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  142)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  143) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  144) enum v4l2_mpeg_audio_encoding -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  145)     MPEG Audio encoding. This control is specific to multiplexed MPEG
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  146)     streams. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  147) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  148) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  149) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  150) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  151)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  152)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  153) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  154)     * - ``V4L2_MPEG_AUDIO_ENCODING_LAYER_1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  155)       - MPEG-1/2 Layer I encoding
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  156)     * - ``V4L2_MPEG_AUDIO_ENCODING_LAYER_2``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  157)       - MPEG-1/2 Layer II encoding
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  158)     * - ``V4L2_MPEG_AUDIO_ENCODING_LAYER_3``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  159)       - MPEG-1/2 Layer III encoding
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  160)     * - ``V4L2_MPEG_AUDIO_ENCODING_AAC``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  161)       - MPEG-2/4 AAC (Advanced Audio Coding)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  162)     * - ``V4L2_MPEG_AUDIO_ENCODING_AC3``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  163)       - AC-3 aka ATSC A/52 encoding
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  164) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  165) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  166) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  167) .. _v4l2-mpeg-audio-l1-bitrate:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  168) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  169) ``V4L2_CID_MPEG_AUDIO_L1_BITRATE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  170)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  171) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  172) enum v4l2_mpeg_audio_l1_bitrate -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  173)     MPEG-1/2 Layer I bitrate. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  174) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  175) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  176) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  177) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  178)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  179)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  180) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  181)     * - ``V4L2_MPEG_AUDIO_L1_BITRATE_32K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  182)       - 32 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  183)     * - ``V4L2_MPEG_AUDIO_L1_BITRATE_64K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  184)       - 64 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  185)     * - ``V4L2_MPEG_AUDIO_L1_BITRATE_96K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  186)       - 96 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  187)     * - ``V4L2_MPEG_AUDIO_L1_BITRATE_128K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  188)       - 128 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  189)     * - ``V4L2_MPEG_AUDIO_L1_BITRATE_160K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  190)       - 160 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  191)     * - ``V4L2_MPEG_AUDIO_L1_BITRATE_192K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  192)       - 192 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  193)     * - ``V4L2_MPEG_AUDIO_L1_BITRATE_224K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  194)       - 224 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  195)     * - ``V4L2_MPEG_AUDIO_L1_BITRATE_256K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  196)       - 256 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  197)     * - ``V4L2_MPEG_AUDIO_L1_BITRATE_288K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  198)       - 288 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  199)     * - ``V4L2_MPEG_AUDIO_L1_BITRATE_320K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  200)       - 320 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  201)     * - ``V4L2_MPEG_AUDIO_L1_BITRATE_352K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  202)       - 352 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  203)     * - ``V4L2_MPEG_AUDIO_L1_BITRATE_384K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  204)       - 384 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  205)     * - ``V4L2_MPEG_AUDIO_L1_BITRATE_416K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  206)       - 416 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  207)     * - ``V4L2_MPEG_AUDIO_L1_BITRATE_448K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  208)       - 448 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  209) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  210) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  211) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  212) .. _v4l2-mpeg-audio-l2-bitrate:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  213) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  214) ``V4L2_CID_MPEG_AUDIO_L2_BITRATE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  215)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  216) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  217) enum v4l2_mpeg_audio_l2_bitrate -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  218)     MPEG-1/2 Layer II bitrate. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  219) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  220) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  221) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  222) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  223)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  224)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  225) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  226)     * - ``V4L2_MPEG_AUDIO_L2_BITRATE_32K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  227)       - 32 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  228)     * - ``V4L2_MPEG_AUDIO_L2_BITRATE_48K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  229)       - 48 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  230)     * - ``V4L2_MPEG_AUDIO_L2_BITRATE_56K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  231)       - 56 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  232)     * - ``V4L2_MPEG_AUDIO_L2_BITRATE_64K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  233)       - 64 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  234)     * - ``V4L2_MPEG_AUDIO_L2_BITRATE_80K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  235)       - 80 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  236)     * - ``V4L2_MPEG_AUDIO_L2_BITRATE_96K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  237)       - 96 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  238)     * - ``V4L2_MPEG_AUDIO_L2_BITRATE_112K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  239)       - 112 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  240)     * - ``V4L2_MPEG_AUDIO_L2_BITRATE_128K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  241)       - 128 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  242)     * - ``V4L2_MPEG_AUDIO_L2_BITRATE_160K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  243)       - 160 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  244)     * - ``V4L2_MPEG_AUDIO_L2_BITRATE_192K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  245)       - 192 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  246)     * - ``V4L2_MPEG_AUDIO_L2_BITRATE_224K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  247)       - 224 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  248)     * - ``V4L2_MPEG_AUDIO_L2_BITRATE_256K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  249)       - 256 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  250)     * - ``V4L2_MPEG_AUDIO_L2_BITRATE_320K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  251)       - 320 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  252)     * - ``V4L2_MPEG_AUDIO_L2_BITRATE_384K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  253)       - 384 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  254) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  255) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  256) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  257) .. _v4l2-mpeg-audio-l3-bitrate:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  258) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  259) ``V4L2_CID_MPEG_AUDIO_L3_BITRATE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  260)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  261) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  262) enum v4l2_mpeg_audio_l3_bitrate -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  263)     MPEG-1/2 Layer III bitrate. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  264) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  265) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  266) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  267) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  268)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  269)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  270) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  271)     * - ``V4L2_MPEG_AUDIO_L3_BITRATE_32K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  272)       - 32 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  273)     * - ``V4L2_MPEG_AUDIO_L3_BITRATE_40K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  274)       - 40 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  275)     * - ``V4L2_MPEG_AUDIO_L3_BITRATE_48K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  276)       - 48 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  277)     * - ``V4L2_MPEG_AUDIO_L3_BITRATE_56K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  278)       - 56 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  279)     * - ``V4L2_MPEG_AUDIO_L3_BITRATE_64K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  280)       - 64 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  281)     * - ``V4L2_MPEG_AUDIO_L3_BITRATE_80K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  282)       - 80 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  283)     * - ``V4L2_MPEG_AUDIO_L3_BITRATE_96K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  284)       - 96 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  285)     * - ``V4L2_MPEG_AUDIO_L3_BITRATE_112K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  286)       - 112 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  287)     * - ``V4L2_MPEG_AUDIO_L3_BITRATE_128K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  288)       - 128 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  289)     * - ``V4L2_MPEG_AUDIO_L3_BITRATE_160K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  290)       - 160 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  291)     * - ``V4L2_MPEG_AUDIO_L3_BITRATE_192K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  292)       - 192 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  293)     * - ``V4L2_MPEG_AUDIO_L3_BITRATE_224K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  294)       - 224 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  295)     * - ``V4L2_MPEG_AUDIO_L3_BITRATE_256K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  296)       - 256 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  297)     * - ``V4L2_MPEG_AUDIO_L3_BITRATE_320K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  298)       - 320 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  299) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  300) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  301) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  302) ``V4L2_CID_MPEG_AUDIO_AAC_BITRATE (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  303)     AAC bitrate in bits per second.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  304) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  305) .. _v4l2-mpeg-audio-ac3-bitrate:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  306) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  307) ``V4L2_CID_MPEG_AUDIO_AC3_BITRATE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  308)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  309) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  310) enum v4l2_mpeg_audio_ac3_bitrate -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  311)     AC-3 bitrate. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  312) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  313) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  314) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  315) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  316)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  317)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  318) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  319)     * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_32K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  320)       - 32 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  321)     * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_40K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  322)       - 40 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  323)     * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_48K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  324)       - 48 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  325)     * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_56K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  326)       - 56 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  327)     * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_64K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  328)       - 64 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  329)     * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_80K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  330)       - 80 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  331)     * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_96K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  332)       - 96 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  333)     * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_112K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  334)       - 112 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  335)     * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_128K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  336)       - 128 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  337)     * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_160K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  338)       - 160 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  339)     * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_192K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  340)       - 192 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  341)     * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_224K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  342)       - 224 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  343)     * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_256K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  344)       - 256 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  345)     * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_320K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  346)       - 320 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  347)     * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_384K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  348)       - 384 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  349)     * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_448K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  350)       - 448 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  351)     * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_512K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  352)       - 512 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  353)     * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_576K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  354)       - 576 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  355)     * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_640K``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  356)       - 640 kbit/s
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  357) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  358) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  359) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  360) .. _v4l2-mpeg-audio-mode:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  361) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  362) ``V4L2_CID_MPEG_AUDIO_MODE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  363)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  364) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  365) enum v4l2_mpeg_audio_mode -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  366)     MPEG Audio mode. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  367) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  368) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  369) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  370) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  371)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  372)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  373) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  374)     * - ``V4L2_MPEG_AUDIO_MODE_STEREO``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  375)       - Stereo
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  376)     * - ``V4L2_MPEG_AUDIO_MODE_JOINT_STEREO``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  377)       - Joint Stereo
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  378)     * - ``V4L2_MPEG_AUDIO_MODE_DUAL``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  379)       - Bilingual
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  380)     * - ``V4L2_MPEG_AUDIO_MODE_MONO``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  381)       - Mono
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  382) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  383) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  384) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  385) .. _v4l2-mpeg-audio-mode-extension:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  386) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  387) ``V4L2_CID_MPEG_AUDIO_MODE_EXTENSION``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  388)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  389) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  390) enum v4l2_mpeg_audio_mode_extension -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  391)     Joint Stereo audio mode extension. In Layer I and II they indicate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  392)     which subbands are in intensity stereo. All other subbands are coded
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  393)     in stereo. Layer III is not (yet) supported. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  394) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  395) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  396) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  397) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  398)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  399)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  400) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  401)     * - ``V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_4``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  402)       - Subbands 4-31 in intensity stereo
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  403)     * - ``V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_8``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  404)       - Subbands 8-31 in intensity stereo
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  405)     * - ``V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_12``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  406)       - Subbands 12-31 in intensity stereo
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  407)     * - ``V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_16``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  408)       - Subbands 16-31 in intensity stereo
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  409) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  410) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  411) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  412) .. _v4l2-mpeg-audio-emphasis:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  413) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  414) ``V4L2_CID_MPEG_AUDIO_EMPHASIS``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  415)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  416) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  417) enum v4l2_mpeg_audio_emphasis -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  418)     Audio Emphasis. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  419) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  420) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  421) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  422) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  423)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  424)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  425) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  426)     * - ``V4L2_MPEG_AUDIO_EMPHASIS_NONE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  427)       - None
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  428)     * - ``V4L2_MPEG_AUDIO_EMPHASIS_50_DIV_15_uS``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  429)       - 50/15 microsecond emphasis
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  430)     * - ``V4L2_MPEG_AUDIO_EMPHASIS_CCITT_J17``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  431)       - CCITT J.17
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  432) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  433) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  434) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  435) .. _v4l2-mpeg-audio-crc:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  436) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  437) ``V4L2_CID_MPEG_AUDIO_CRC``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  438)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  439) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  440) enum v4l2_mpeg_audio_crc -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  441)     CRC method. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  442) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  443) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  444) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  445) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  446)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  447)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  448) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  449)     * - ``V4L2_MPEG_AUDIO_CRC_NONE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  450)       - None
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  451)     * - ``V4L2_MPEG_AUDIO_CRC_CRC16``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  452)       - 16 bit parity check
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  453) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  454) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  455) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  456) ``V4L2_CID_MPEG_AUDIO_MUTE (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  457)     Mutes the audio when capturing. This is not done by muting audio
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  458)     hardware, which can still produce a slight hiss, but in the encoder
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  459)     itself, guaranteeing a fixed and reproducible audio bitstream. 0 =
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  460)     unmuted, 1 = muted.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  461) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  462) .. _v4l2-mpeg-audio-dec-playback:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  463) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  464) ``V4L2_CID_MPEG_AUDIO_DEC_PLAYBACK``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  465)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  466) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  467) enum v4l2_mpeg_audio_dec_playback -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  468)     Determines how monolingual audio should be played back. Possible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  469)     values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  470) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  471) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  472) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  473) .. tabularcolumns:: |p{9.8cm}|p{7.7cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  474) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  475) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  476)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  477)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  478) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  479)     * - ``V4L2_MPEG_AUDIO_DEC_PLAYBACK_AUTO``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  480)       - Automatically determines the best playback mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  481)     * - ``V4L2_MPEG_AUDIO_DEC_PLAYBACK_STEREO``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  482)       - Stereo playback.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  483)     * - ``V4L2_MPEG_AUDIO_DEC_PLAYBACK_LEFT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  484)       - Left channel playback.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  485)     * - ``V4L2_MPEG_AUDIO_DEC_PLAYBACK_RIGHT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  486)       - Right channel playback.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  487)     * - ``V4L2_MPEG_AUDIO_DEC_PLAYBACK_MONO``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  488)       - Mono playback.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  489)     * - ``V4L2_MPEG_AUDIO_DEC_PLAYBACK_SWAPPED_STEREO``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  490)       - Stereo playback with swapped left and right channels.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  491) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  492) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  493) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  494) .. _v4l2-mpeg-audio-dec-multilingual-playback:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  495) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  496) ``V4L2_CID_MPEG_AUDIO_DEC_MULTILINGUAL_PLAYBACK``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  497)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  498) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  499) enum v4l2_mpeg_audio_dec_playback -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  500)     Determines how multilingual audio should be played back.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  501) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  502) .. _v4l2-mpeg-video-encoding:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  503) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  504) ``V4L2_CID_MPEG_VIDEO_ENCODING``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  505)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  506) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  507) enum v4l2_mpeg_video_encoding -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  508)     MPEG Video encoding method. This control is specific to multiplexed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  509)     MPEG streams. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  510) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  511) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  512) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  513) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  514)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  515)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  516) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  517)     * - ``V4L2_MPEG_VIDEO_ENCODING_MPEG_1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  518)       - MPEG-1 Video encoding
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  519)     * - ``V4L2_MPEG_VIDEO_ENCODING_MPEG_2``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  520)       - MPEG-2 Video encoding
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  521)     * - ``V4L2_MPEG_VIDEO_ENCODING_MPEG_4_AVC``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  522)       - MPEG-4 AVC (H.264) Video encoding
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  523) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  524) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  525) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  526) .. _v4l2-mpeg-video-aspect:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  527) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  528) ``V4L2_CID_MPEG_VIDEO_ASPECT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  529)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  530) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  531) enum v4l2_mpeg_video_aspect -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  532)     Video aspect. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  533) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  534) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  535) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  536) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  537)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  538)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  539) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  540)     * - ``V4L2_MPEG_VIDEO_ASPECT_1x1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  541)     * - ``V4L2_MPEG_VIDEO_ASPECT_4x3``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  542)     * - ``V4L2_MPEG_VIDEO_ASPECT_16x9``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  543)     * - ``V4L2_MPEG_VIDEO_ASPECT_221x100``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  544) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  545) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  546) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  547) ``V4L2_CID_MPEG_VIDEO_B_FRAMES (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  548)     Number of B-Frames (default 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  549) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  550) ``V4L2_CID_MPEG_VIDEO_GOP_SIZE (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  551)     GOP size (default 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  552) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  553) ``V4L2_CID_MPEG_VIDEO_GOP_CLOSURE (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  554)     GOP closure (default 1)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  555) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  556) ``V4L2_CID_MPEG_VIDEO_PULLDOWN (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  557)     Enable 3:2 pulldown (default 0)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  558) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  559) .. _v4l2-mpeg-video-bitrate-mode:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  560) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  561) ``V4L2_CID_MPEG_VIDEO_BITRATE_MODE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  562)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  563) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  564) enum v4l2_mpeg_video_bitrate_mode -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  565)     Video bitrate mode. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  566) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  567) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  568) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  569) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  570)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  571)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  572) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  573)     * - ``V4L2_MPEG_VIDEO_BITRATE_MODE_VBR``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  574)       - Variable bitrate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  575)     * - ``V4L2_MPEG_VIDEO_BITRATE_MODE_CBR``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  576)       - Constant bitrate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  577)     * - ``V4L2_MPEG_VIDEO_BITRATE_MODE_CQ``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  578)       - Constant quality
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  579) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  580) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  581) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  582) ``V4L2_CID_MPEG_VIDEO_BITRATE (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  583)     Video bitrate in bits per second.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  584) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  585) ``V4L2_CID_MPEG_VIDEO_BITRATE_PEAK (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  586)     Peak video bitrate in bits per second. Must be larger or equal to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  587)     the average video bitrate. It is ignored if the video bitrate mode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  588)     is set to constant bitrate.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  589) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  590) ``V4L2_CID_MPEG_VIDEO_CONSTANT_QUALITY (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  591)     Constant quality level control. This control is applicable when
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  592)     ``V4L2_CID_MPEG_VIDEO_BITRATE_MODE`` value is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  593)     ``V4L2_MPEG_VIDEO_BITRATE_MODE_CQ``. Valid range is 1 to 100
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  594)     where 1 indicates lowest quality and 100 indicates highest quality.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  595)     Encoder will decide the appropriate quantization parameter and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  596)     bitrate to produce requested frame quality.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  597) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  598) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  599) ``V4L2_CID_MPEG_VIDEO_FRAME_SKIP_MODE (enum)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  600) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  601) enum v4l2_mpeg_video_frame_skip_mode -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  602)     Indicates in what conditions the encoder should skip frames. If
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  603)     encoding a frame would cause the encoded stream to be larger then a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  604)     chosen data limit then the frame will be skipped. Possible values
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  605)     are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  606) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  607) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  608) .. tabularcolumns:: |p{9.2cm}|p{8.3cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  609) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  610) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  611) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  612)     \small
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  613) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  614) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  615)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  616)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  617) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  618)     * - ``V4L2_MPEG_FRAME_SKIP_MODE_DISABLED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  619)       - Frame skip mode is disabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  620)     * - ``V4L2_MPEG_FRAME_SKIP_MODE_LEVEL_LIMIT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  621)       - Frame skip mode enabled and buffer limit is set by the chosen
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  622)         level and is defined by the standard.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  623)     * - ``V4L2_MPEG_FRAME_SKIP_MODE_BUF_LIMIT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  624)       - Frame skip mode enabled and buffer limit is set by the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  625)         :ref:`VBV (MPEG1/2/4) <v4l2-mpeg-video-vbv-size>` or
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  626)         :ref:`CPB (H264) buffer size <v4l2-mpeg-video-h264-cpb-size>` control.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  627) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  628) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  629) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  630)     \normalsize
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  631) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  632) ``V4L2_CID_MPEG_VIDEO_TEMPORAL_DECIMATION (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  633)     For every captured frame, skip this many subsequent frames (default
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  634)     0).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  635) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  636) ``V4L2_CID_MPEG_VIDEO_MUTE (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  637)     "Mutes" the video to a fixed color when capturing. This is useful
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  638)     for testing, to produce a fixed video bitstream. 0 = unmuted, 1 =
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  639)     muted.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  640) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  641) ``V4L2_CID_MPEG_VIDEO_MUTE_YUV (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  642)     Sets the "mute" color of the video. The supplied 32-bit integer is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  643)     interpreted as follows (bit 0 = least significant bit):
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  644) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  645) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  646) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  647) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  648)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  649)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  650) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  651)     * - Bit 0:7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  652)       - V chrominance information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  653)     * - Bit 8:15
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  654)       - U chrominance information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  655)     * - Bit 16:23
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  656)       - Y luminance information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  657)     * - Bit 24:31
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  658)       - Must be zero.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  659) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  660) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  661) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  662) .. _v4l2-mpeg-video-dec-pts:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  663) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  664) ``V4L2_CID_MPEG_VIDEO_DEC_PTS (integer64)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  665)     This read-only control returns the 33-bit video Presentation Time
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  666)     Stamp as defined in ITU T-REC-H.222.0 and ISO/IEC 13818-1 of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  667)     currently displayed frame. This is the same PTS as is used in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  668)     :ref:`VIDIOC_DECODER_CMD`.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  669) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  670) .. _v4l2-mpeg-video-dec-frame:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  671) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  672) ``V4L2_CID_MPEG_VIDEO_DEC_FRAME (integer64)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  673)     This read-only control returns the frame counter of the frame that
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  674)     is currently displayed (decoded). This value is reset to 0 whenever
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  675)     the decoder is started.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  676) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  677) ``V4L2_CID_MPEG_VIDEO_DEC_CONCEAL_COLOR (integer64)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  678)     This control sets the conceal color in YUV color space. It describes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  679)     the client preference of the error conceal color in case of an error
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  680)     where the reference frame is missing. The decoder should fill the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  681)     reference buffer with the preferred color and use it for future
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  682)     decoding. The control is using 16 bits per channel.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  683)     Applicable to decoders.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  684) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  685) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  686)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  687)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  688) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  689)     * -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  690)       - 8bit  format
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  691)       - 10bit format
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  692)       - 12bit format
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  693)     * - Y luminance
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  694)       - Bit 0:7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  695)       - Bit 0:9
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  696)       - Bit 0:11
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  697)     * - Cb chrominance
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  698)       - Bit 16:23
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  699)       - Bit 16:25
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  700)       - Bit 16:27
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  701)     * - Cr chrominance
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  702)       - Bit 32:39
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  703)       - Bit 32:41
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  704)       - Bit 32:43
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  705)     * - Must be zero
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  706)       - Bit 48:63
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  707)       - Bit 48:63
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  708)       - Bit 48:63
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  709) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  710) ``V4L2_CID_MPEG_VIDEO_DECODER_SLICE_INTERFACE (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  711)     If enabled the decoder expects to receive a single slice per buffer,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  712)     otherwise the decoder expects a single frame in per buffer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  713)     Applicable to the decoder, all codecs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  714) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  715) ``V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY_ENABLE (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  716)     If the display delay is enabled then the decoder is forced to return
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  717)     a CAPTURE buffer (decoded frame) after processing a certain number
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  718)     of OUTPUT buffers. The delay can be set through
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  719)     ``V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY``. This
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  720)     feature can be used for example for generating thumbnails of videos.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  721)     Applicable to the decoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  722) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  723) ``V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  724)     Display delay value for decoder. The decoder is forced to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  725)     return a decoded frame after the set 'display delay' number of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  726)     frames. If this number is low it may result in frames returned out
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  727)     of display order, in addition the hardware may still be using the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  728)     returned buffer as a reference picture for subsequent frames.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  729) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  730) ``V4L2_CID_MPEG_VIDEO_AU_DELIMITER (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  731)     If enabled then, AUD (Access Unit Delimiter) NALUs will be generated.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  732)     That could be useful to find the start of a frame without having to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  733)     fully parse each NALU. Applicable to the H264 and HEVC encoders.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  734) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  735) ``V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_ENABLE (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  736)     Enable writing sample aspect ratio in the Video Usability
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  737)     Information. Applicable to the H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  738) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  739) .. _v4l2-mpeg-video-h264-vui-sar-idc:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  740) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  741) ``V4L2_CID_MPEG_VIDEO_H264_VUI_SAR_IDC``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  742)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  743) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  744) enum v4l2_mpeg_video_h264_vui_sar_idc -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  745)     VUI sample aspect ratio indicator for H.264 encoding. The value is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  746)     defined in the table E-1 in the standard. Applicable to the H264
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  747)     encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  748) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  749) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  750) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  751) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  752)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  753)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  754) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  755)     * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_UNSPECIFIED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  756)       - Unspecified
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  757)     * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_1x1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  758)       - 1x1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  759)     * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_12x11``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  760)       - 12x11
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  761)     * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_10x11``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  762)       - 10x11
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  763)     * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_16x11``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  764)       - 16x11
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  765)     * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_40x33``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  766)       - 40x33
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  767)     * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_24x11``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  768)       - 24x11
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  769)     * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_20x11``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  770)       - 20x11
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  771)     * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_32x11``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  772)       - 32x11
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  773)     * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_80x33``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  774)       - 80x33
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  775)     * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_18x11``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  776)       - 18x11
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  777)     * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_15x11``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  778)       - 15x11
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  779)     * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_64x33``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  780)       - 64x33
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  781)     * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_160x99``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  782)       - 160x99
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  783)     * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_4x3``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  784)       - 4x3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  785)     * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_3x2``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  786)       - 3x2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  787)     * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_2x1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  788)       - 2x1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  789)     * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_EXTENDED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  790)       - Extended SAR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  791) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  792) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  793) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  794) ``V4L2_CID_MPEG_VIDEO_H264_VUI_EXT_SAR_WIDTH (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  795)     Extended sample aspect ratio width for H.264 VUI encoding.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  796)     Applicable to the H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  797) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  798) ``V4L2_CID_MPEG_VIDEO_H264_VUI_EXT_SAR_HEIGHT (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  799)     Extended sample aspect ratio height for H.264 VUI encoding.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  800)     Applicable to the H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  801) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  802) .. _v4l2-mpeg-video-h264-level:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  803) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  804) ``V4L2_CID_MPEG_VIDEO_H264_LEVEL``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  805)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  806) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  807) enum v4l2_mpeg_video_h264_level -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  808)     The level information for the H264 video elementary stream.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  809)     Applicable to the H264 encoder. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  810) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  811) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  812) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  813) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  814)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  815)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  816) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  817)     * - ``V4L2_MPEG_VIDEO_H264_LEVEL_1_0``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  818)       - Level 1.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  819)     * - ``V4L2_MPEG_VIDEO_H264_LEVEL_1B``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  820)       - Level 1B
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  821)     * - ``V4L2_MPEG_VIDEO_H264_LEVEL_1_1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  822)       - Level 1.1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  823)     * - ``V4L2_MPEG_VIDEO_H264_LEVEL_1_2``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  824)       - Level 1.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  825)     * - ``V4L2_MPEG_VIDEO_H264_LEVEL_1_3``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  826)       - Level 1.3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  827)     * - ``V4L2_MPEG_VIDEO_H264_LEVEL_2_0``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  828)       - Level 2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  829)     * - ``V4L2_MPEG_VIDEO_H264_LEVEL_2_1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  830)       - Level 2.1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  831)     * - ``V4L2_MPEG_VIDEO_H264_LEVEL_2_2``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  832)       - Level 2.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  833)     * - ``V4L2_MPEG_VIDEO_H264_LEVEL_3_0``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  834)       - Level 3.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  835)     * - ``V4L2_MPEG_VIDEO_H264_LEVEL_3_1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  836)       - Level 3.1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  837)     * - ``V4L2_MPEG_VIDEO_H264_LEVEL_3_2``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  838)       - Level 3.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  839)     * - ``V4L2_MPEG_VIDEO_H264_LEVEL_4_0``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  840)       - Level 4.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  841)     * - ``V4L2_MPEG_VIDEO_H264_LEVEL_4_1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  842)       - Level 4.1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  843)     * - ``V4L2_MPEG_VIDEO_H264_LEVEL_4_2``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  844)       - Level 4.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  845)     * - ``V4L2_MPEG_VIDEO_H264_LEVEL_5_0``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  846)       - Level 5.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  847)     * - ``V4L2_MPEG_VIDEO_H264_LEVEL_5_1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  848)       - Level 5.1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  849)     * - ``V4L2_MPEG_VIDEO_H264_LEVEL_5_2``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  850)       - Level 5.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  851)     * - ``V4L2_MPEG_VIDEO_H264_LEVEL_6_0``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  852)       - Level 6.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  853)     * - ``V4L2_MPEG_VIDEO_H264_LEVEL_6_1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  854)       - Level 6.1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  855)     * - ``V4L2_MPEG_VIDEO_H264_LEVEL_6_2``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  856)       - Level 6.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  857) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  858) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  859) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  860) .. _v4l2-mpeg-video-mpeg2-level:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  861) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  862) ``V4L2_CID_MPEG_VIDEO_MPEG2_LEVEL``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  863)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  864) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  865) enum v4l2_mpeg_video_mpeg2_level -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  866)     The level information for the MPEG2 elementary stream. Applicable to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  867)     MPEG2 codecs. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  868) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  869) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  870) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  871) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  872)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  873)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  874) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  875)     * - ``V4L2_MPEG_VIDEO_MPEG2_LEVEL_LOW``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  876)       - Low Level (LL)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  877)     * - ``V4L2_MPEG_VIDEO_MPEG2_LEVEL_MAIN``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  878)       - Main Level (ML)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  879)     * - ``V4L2_MPEG_VIDEO_MPEG2_LEVEL_HIGH_1440``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  880)       - High-1440 Level (H-14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  881)     * - ``V4L2_MPEG_VIDEO_MPEG2_LEVEL_HIGH``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  882)       - High Level (HL)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  883) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  884) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  885) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  886) .. _v4l2-mpeg-video-mpeg4-level:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  887) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  888) ``V4L2_CID_MPEG_VIDEO_MPEG4_LEVEL``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  889)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  890) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  891) enum v4l2_mpeg_video_mpeg4_level -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  892)     The level information for the MPEG4 elementary stream. Applicable to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  893)     the MPEG4 encoder. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  894) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  895) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  896) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  897) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  898)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  899)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  900) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  901)     * - ``V4L2_MPEG_VIDEO_MPEG4_LEVEL_0``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  902)       - Level 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  903)     * - ``V4L2_MPEG_VIDEO_MPEG4_LEVEL_0B``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  904)       - Level 0b
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  905)     * - ``V4L2_MPEG_VIDEO_MPEG4_LEVEL_1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  906)       - Level 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  907)     * - ``V4L2_MPEG_VIDEO_MPEG4_LEVEL_2``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  908)       - Level 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  909)     * - ``V4L2_MPEG_VIDEO_MPEG4_LEVEL_3``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  910)       - Level 3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  911)     * - ``V4L2_MPEG_VIDEO_MPEG4_LEVEL_3B``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  912)       - Level 3b
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  913)     * - ``V4L2_MPEG_VIDEO_MPEG4_LEVEL_4``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  914)       - Level 4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  915)     * - ``V4L2_MPEG_VIDEO_MPEG4_LEVEL_5``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  916)       - Level 5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  917) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  918) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  919) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  920) .. _v4l2-mpeg-video-h264-profile:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  921) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  922) ``V4L2_CID_MPEG_VIDEO_H264_PROFILE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  923)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  924) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  925) enum v4l2_mpeg_video_h264_profile -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  926)     The profile information for H264. Applicable to the H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  927)     Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  928) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  929) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  930) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  931) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  932)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  933)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  934) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  935)     * - ``V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  936)       - Baseline profile
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  937)     * - ``V4L2_MPEG_VIDEO_H264_PROFILE_CONSTRAINED_BASELINE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  938)       - Constrained Baseline profile
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  939)     * - ``V4L2_MPEG_VIDEO_H264_PROFILE_MAIN``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  940)       - Main profile
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  941)     * - ``V4L2_MPEG_VIDEO_H264_PROFILE_EXTENDED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  942)       - Extended profile
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  943)     * - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  944)       - High profile
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  945)     * - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH_10``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  946)       - High 10 profile
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  947)     * - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH_422``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  948)       - High 422 profile
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  949)     * - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH_444_PREDICTIVE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  950)       - High 444 Predictive profile
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  951)     * - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH_10_INTRA``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  952)       - High 10 Intra profile
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  953)     * - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH_422_INTRA``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  954)       - High 422 Intra profile
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  955)     * - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH_444_INTRA``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  956)       - High 444 Intra profile
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  957)     * - ``V4L2_MPEG_VIDEO_H264_PROFILE_CAVLC_444_INTRA``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  958)       - CAVLC 444 Intra profile
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  959)     * - ``V4L2_MPEG_VIDEO_H264_PROFILE_SCALABLE_BASELINE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  960)       - Scalable Baseline profile
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  961)     * - ``V4L2_MPEG_VIDEO_H264_PROFILE_SCALABLE_HIGH``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  962)       - Scalable High profile
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  963)     * - ``V4L2_MPEG_VIDEO_H264_PROFILE_SCALABLE_HIGH_INTRA``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  964)       - Scalable High Intra profile
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  965)     * - ``V4L2_MPEG_VIDEO_H264_PROFILE_STEREO_HIGH``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  966)       - Stereo High profile
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  967)     * - ``V4L2_MPEG_VIDEO_H264_PROFILE_MULTIVIEW_HIGH``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  968)       - Multiview High profile
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  969)     * - ``V4L2_MPEG_VIDEO_H264_PROFILE_CONSTRAINED_HIGH``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  970)       - Constrained High profile
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  971) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  972) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  973) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  974) .. _v4l2-mpeg-video-mpeg2-profile:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  975) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  976) ``V4L2_CID_MPEG_VIDEO_MPEG2_PROFILE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  977)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  978) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  979) enum v4l2_mpeg_video_mpeg2_profile -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  980)     The profile information for MPEG2. Applicable to MPEG2 codecs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  981)     Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  982) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  983) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  984) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  985) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  986)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  987)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  988) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  989)     * - ``V4L2_MPEG_VIDEO_MPEG2_PROFILE_SIMPLE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  990)       - Simple profile (SP)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  991)     * - ``V4L2_MPEG_VIDEO_MPEG2_PROFILE_MAIN``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  992)       - Main profile (MP)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  993)     * - ``V4L2_MPEG_VIDEO_MPEG2_PROFILE_SNR_SCALABLE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  994)       - SNR Scalable profile (SNR)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  995)     * - ``V4L2_MPEG_VIDEO_MPEG2_PROFILE_SPATIALLY_SCALABLE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  996)       - Spatially Scalable profile (Spt)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  997)     * - ``V4L2_MPEG_VIDEO_MPEG2_PROFILE_HIGH``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  998)       - High profile (HP)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  999)     * - ``V4L2_MPEG_VIDEO_MPEG2_PROFILE_MULTIVIEW``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1000)       - Multi-view profile (MVP)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1001) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1002) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1003) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1004) .. _v4l2-mpeg-video-mpeg4-profile:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1005) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1006) ``V4L2_CID_MPEG_VIDEO_MPEG4_PROFILE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1007)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1008) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1009) enum v4l2_mpeg_video_mpeg4_profile -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1010)     The profile information for MPEG4. Applicable to the MPEG4 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1011)     Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1012) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1013) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1014) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1015) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1016)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1017)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1018) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1019)     * - ``V4L2_MPEG_VIDEO_MPEG4_PROFILE_SIMPLE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1020)       - Simple profile
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1021)     * - ``V4L2_MPEG_VIDEO_MPEG4_PROFILE_ADVANCED_SIMPLE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1022)       - Advanced Simple profile
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1023)     * - ``V4L2_MPEG_VIDEO_MPEG4_PROFILE_CORE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1024)       - Core profile
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1025)     * - ``V4L2_MPEG_VIDEO_MPEG4_PROFILE_SIMPLE_SCALABLE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1026)       - Simple Scalable profile
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1027)     * - ``V4L2_MPEG_VIDEO_MPEG4_PROFILE_ADVANCED_CODING_EFFICIENCY``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1028)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1029) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1030) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1031) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1032) ``V4L2_CID_MPEG_VIDEO_MAX_REF_PIC (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1033)     The maximum number of reference pictures used for encoding.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1034)     Applicable to the encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1035) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1036) .. _v4l2-mpeg-video-multi-slice-mode:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1037) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1038) ``V4L2_CID_MPEG_VIDEO_MULTI_SLICE_MODE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1039)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1040) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1041) enum v4l2_mpeg_video_multi_slice_mode -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1042)     Determines how the encoder should handle division of frame into
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1043)     slices. Applicable to the encoder. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1044) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1045) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1046) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1047) .. tabularcolumns:: |p{9.6cm}|p{7.9cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1048) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1049) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1050)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1051)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1052) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1053)     * - ``V4L2_MPEG_VIDEO_MULTI_SLICE_MODE_SINGLE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1054)       - Single slice per frame.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1055)     * - ``V4L2_MPEG_VIDEO_MULTI_SLICE_MODE_MAX_MB``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1056)       - Multiple slices with set maximum number of macroblocks per slice.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1057)     * - ``V4L2_MPEG_VIDEO_MULTI_SLICE_MODE_MAX_BYTES``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1058)       - Multiple slice with set maximum size in bytes per slice.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1059) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1060) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1061) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1062) ``V4L2_CID_MPEG_VIDEO_MULTI_SLICE_MAX_MB (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1063)     The maximum number of macroblocks in a slice. Used when
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1064)     ``V4L2_CID_MPEG_VIDEO_MULTI_SLICE_MODE`` is set to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1065)     ``V4L2_MPEG_VIDEO_MULTI_SLICE_MODE_MAX_MB``. Applicable to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1066)     encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1067) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1068) ``V4L2_CID_MPEG_VIDEO_MULTI_SLICE_MAX_BYTES (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1069)     The maximum size of a slice in bytes. Used when
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1070)     ``V4L2_CID_MPEG_VIDEO_MULTI_SLICE_MODE`` is set to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1071)     ``V4L2_MPEG_VIDEO_MULTI_SLICE_MODE_MAX_BYTES``. Applicable to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1072)     encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1073) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1074) .. _v4l2-mpeg-video-h264-loop-filter-mode:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1075) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1076) ``V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_MODE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1077)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1078) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1079) enum v4l2_mpeg_video_h264_loop_filter_mode -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1080)     Loop filter mode for H264 encoder. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1081) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1082) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1083) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1084)     \small
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1085) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1086) .. tabularcolumns:: |p{13.6cm}|p{3.9cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1087) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1088) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1089)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1090)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1091) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1092)     * - ``V4L2_MPEG_VIDEO_H264_LOOP_FILTER_MODE_ENABLED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1093)       - Loop filter is enabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1094)     * - ``V4L2_MPEG_VIDEO_H264_LOOP_FILTER_MODE_DISABLED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1095)       - Loop filter is disabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1096)     * - ``V4L2_MPEG_VIDEO_H264_LOOP_FILTER_MODE_DISABLED_AT_SLICE_BOUNDARY``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1097)       - Loop filter is disabled at the slice boundary.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1098) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1099) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1100) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1101)     \normalsize
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1102) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1103) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1104) ``V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_ALPHA (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1105)     Loop filter alpha coefficient, defined in the H264 standard.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1106)     This value corresponds to the slice_alpha_c0_offset_div2 slice header
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1107)     field, and should be in the range of -6 to +6, inclusive. The actual alpha
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1108)     offset FilterOffsetA is twice this value.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1109)     Applicable to the H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1110) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1111) ``V4L2_CID_MPEG_VIDEO_H264_LOOP_FILTER_BETA (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1112)     Loop filter beta coefficient, defined in the H264 standard.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1113)     This corresponds to the slice_beta_offset_div2 slice header field, and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1114)     should be in the range of -6 to +6, inclusive. The actual beta offset
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1115)     FilterOffsetB is twice this value.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1116)     Applicable to the H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1117) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1118) .. _v4l2-mpeg-video-h264-entropy-mode:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1119) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1120) ``V4L2_CID_MPEG_VIDEO_H264_ENTROPY_MODE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1121)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1122) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1123) enum v4l2_mpeg_video_h264_entropy_mode -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1124)     Entropy coding mode for H264 - CABAC/CAVALC. Applicable to the H264
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1125)     encoder. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1126) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1127) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1128) .. tabularcolumns:: |p{9.0cm}|p{8.5cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1129) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1130) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1131) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1132)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1133)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1134) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1135)     * - ``V4L2_MPEG_VIDEO_H264_ENTROPY_MODE_CAVLC``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1136)       - Use CAVLC entropy coding.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1137)     * - ``V4L2_MPEG_VIDEO_H264_ENTROPY_MODE_CABAC``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1138)       - Use CABAC entropy coding.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1139) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1140) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1141) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1142) ``V4L2_CID_MPEG_VIDEO_H264_8X8_TRANSFORM (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1143)     Enable 8X8 transform for H264. Applicable to the H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1144) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1145) ``V4L2_CID_MPEG_VIDEO_H264_CONSTRAINED_INTRA_PREDICTION (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1146)     Enable constrained intra prediction for H264. Applicable to the H264
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1147)     encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1148) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1149) ``V4L2_CID_MPEG_VIDEO_H264_CHROMA_QP_INDEX_OFFSET (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1150)     Specify the offset that should be added to the luma quantization
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1151)     parameter to determine the chroma quantization parameter. Applicable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1152)     to the H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1153) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1154) ``V4L2_CID_MPEG_VIDEO_CYCLIC_INTRA_REFRESH_MB (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1155)     Cyclic intra macroblock refresh. This is the number of continuous
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1156)     macroblocks refreshed every frame. Each frame a successive set of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1157)     macroblocks is refreshed until the cycle completes and starts from
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1158)     the top of the frame. Applicable to H264, H263 and MPEG4 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1159) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1160) ``V4L2_CID_MPEG_VIDEO_FRAME_RC_ENABLE (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1161)     Frame level rate control enable. If this control is disabled then
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1162)     the quantization parameter for each frame type is constant and set
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1163)     with appropriate controls (e.g.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1164)     ``V4L2_CID_MPEG_VIDEO_H263_I_FRAME_QP``). If frame rate control is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1165)     enabled then quantization parameter is adjusted to meet the chosen
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1166)     bitrate. Minimum and maximum value for the quantization parameter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1167)     can be set with appropriate controls (e.g.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1168)     ``V4L2_CID_MPEG_VIDEO_H263_MIN_QP``). Applicable to encoders.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1169) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1170) ``V4L2_CID_MPEG_VIDEO_MB_RC_ENABLE (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1171)     Macroblock level rate control enable. Applicable to the MPEG4 and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1172)     H264 encoders.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1173) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1174) ``V4L2_CID_MPEG_VIDEO_MPEG4_QPEL (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1175)     Quarter pixel motion estimation for MPEG4. Applicable to the MPEG4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1176)     encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1177) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1178) ``V4L2_CID_MPEG_VIDEO_H263_I_FRAME_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1179)     Quantization parameter for an I frame for H263. Valid range: from 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1180)     to 31.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1181) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1182) ``V4L2_CID_MPEG_VIDEO_H263_MIN_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1183)     Minimum quantization parameter for H263. Valid range: from 1 to 31.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1184) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1185) ``V4L2_CID_MPEG_VIDEO_H263_MAX_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1186)     Maximum quantization parameter for H263. Valid range: from 1 to 31.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1187) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1188) ``V4L2_CID_MPEG_VIDEO_H263_P_FRAME_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1189)     Quantization parameter for an P frame for H263. Valid range: from 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1190)     to 31.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1191) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1192) ``V4L2_CID_MPEG_VIDEO_H263_B_FRAME_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1193)     Quantization parameter for an B frame for H263. Valid range: from 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1194)     to 31.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1195) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1196) ``V4L2_CID_MPEG_VIDEO_H264_I_FRAME_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1197)     Quantization parameter for an I frame for H264. Valid range: from 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1198)     to 51.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1199) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1200) ``V4L2_CID_MPEG_VIDEO_H264_MIN_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1201)     Minimum quantization parameter for H264. Valid range: from 0 to 51.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1202) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1203) ``V4L2_CID_MPEG_VIDEO_H264_MAX_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1204)     Maximum quantization parameter for H264. Valid range: from 0 to 51.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1205) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1206) ``V4L2_CID_MPEG_VIDEO_H264_P_FRAME_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1207)     Quantization parameter for an P frame for H264. Valid range: from 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1208)     to 51.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1209) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1210) ``V4L2_CID_MPEG_VIDEO_H264_B_FRAME_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1211)     Quantization parameter for an B frame for H264. Valid range: from 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1212)     to 51.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1213) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1214) ``V4L2_CID_MPEG_VIDEO_H264_I_FRAME_MIN_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1215)     Minimum quantization parameter for the H264 I frame to limit I frame
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1216)     quality to a range. Valid range: from 0 to 51. If
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1217)     V4L2_CID_MPEG_VIDEO_H264_MIN_QP is also set, the quantization parameter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1218)     should be chosen to meet both requirements.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1219) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1220) ``V4L2_CID_MPEG_VIDEO_H264_I_FRAME_MAX_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1221)     Maximum quantization parameter for the H264 I frame to limit I frame
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1222)     quality to a range. Valid range: from 0 to 51. If
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1223)     V4L2_CID_MPEG_VIDEO_H264_MAX_QP is also set, the quantization parameter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1224)     should be chosen to meet both requirements.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1225) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1226) ``V4L2_CID_MPEG_VIDEO_H264_P_FRAME_MIN_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1227)     Minimum quantization parameter for the H264 P frame to limit P frame
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1228)     quality to a range. Valid range: from 0 to 51. If
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1229)     V4L2_CID_MPEG_VIDEO_H264_MIN_QP is also set, the quantization parameter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1230)     should be chosen to meet both requirements.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1231) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1232) ``V4L2_CID_MPEG_VIDEO_H264_P_FRAME_MAX_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1233)     Maximum quantization parameter for the H264 P frame to limit P frame
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1234)     quality to a range. Valid range: from 0 to 51. If
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1235)     V4L2_CID_MPEG_VIDEO_H264_MAX_QP is also set, the quantization parameter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1236)     should be chosen to meet both requirements.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1237) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1238) ``V4L2_CID_MPEG_VIDEO_H264_B_FRAME_MIN_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1239)     Minimum quantization parameter for the H264 B frame to limit B frame
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1240)     quality to a range. Valid range: from 0 to 51. If
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1241)     V4L2_CID_MPEG_VIDEO_H264_MIN_QP is also set, the quantization parameter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1242)     should be chosen to meet both requirements.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1243) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1244) ``V4L2_CID_MPEG_VIDEO_H264_B_FRAME_MAX_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1245)     Maximum quantization parameter for the H264 B frame to limit B frame
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1246)     quality to a range. Valid range: from 0 to 51. If
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1247)     V4L2_CID_MPEG_VIDEO_H264_MAX_QP is also set, the quantization parameter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1248)     should be chosen to meet both requirements.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1249) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1250) ``V4L2_CID_MPEG_VIDEO_MPEG4_I_FRAME_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1251)     Quantization parameter for an I frame for MPEG4. Valid range: from 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1252)     to 31.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1253) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1254) ``V4L2_CID_MPEG_VIDEO_MPEG4_MIN_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1255)     Minimum quantization parameter for MPEG4. Valid range: from 1 to 31.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1256) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1257) ``V4L2_CID_MPEG_VIDEO_MPEG4_MAX_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1258)     Maximum quantization parameter for MPEG4. Valid range: from 1 to 31.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1259) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1260) ``V4L2_CID_MPEG_VIDEO_MPEG4_P_FRAME_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1261)     Quantization parameter for an P frame for MPEG4. Valid range: from 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1262)     to 31.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1263) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1264) ``V4L2_CID_MPEG_VIDEO_MPEG4_B_FRAME_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1265)     Quantization parameter for an B frame for MPEG4. Valid range: from 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1266)     to 31.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1267) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1268) .. _v4l2-mpeg-video-vbv-size:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1269) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1270) ``V4L2_CID_MPEG_VIDEO_VBV_SIZE (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1271)     The Video Buffer Verifier size in kilobytes, it is used as a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1272)     limitation of frame skip. The VBV is defined in the standard as a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1273)     mean to verify that the produced stream will be successfully
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1274)     decoded. The standard describes it as "Part of a hypothetical
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1275)     decoder that is conceptually connected to the output of the encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1276)     Its purpose is to provide a constraint on the variability of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1277)     data rate that an encoder or editing process may produce.".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1278)     Applicable to the MPEG1, MPEG2, MPEG4 encoders.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1279) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1280) .. _v4l2-mpeg-video-vbv-delay:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1281) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1282) ``V4L2_CID_MPEG_VIDEO_VBV_DELAY (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1283)     Sets the initial delay in milliseconds for VBV buffer control.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1284) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1285) .. _v4l2-mpeg-video-hor-search-range:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1286) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1287) ``V4L2_CID_MPEG_VIDEO_MV_H_SEARCH_RANGE (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1288)     Horizontal search range defines maximum horizontal search area in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1289)     pixels to search and match for the present Macroblock (MB) in the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1290)     reference picture. This V4L2 control macro is used to set horizontal
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1291)     search range for motion estimation module in video encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1292) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1293) .. _v4l2-mpeg-video-vert-search-range:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1294) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1295) ``V4L2_CID_MPEG_VIDEO_MV_V_SEARCH_RANGE (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1296)     Vertical search range defines maximum vertical search area in pixels
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1297)     to search and match for the present Macroblock (MB) in the reference
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1298)     picture. This V4L2 control macro is used to set vertical search
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1299)     range for motion estimation module in video encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1300) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1301) .. _v4l2-mpeg-video-force-key-frame:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1302) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1303) ``V4L2_CID_MPEG_VIDEO_FORCE_KEY_FRAME (button)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1304)     Force a key frame for the next queued buffer. Applicable to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1305)     encoders. This is a general, codec-agnostic keyframe control.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1306) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1307) .. _v4l2-mpeg-video-h264-cpb-size:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1308) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1309) ``V4L2_CID_MPEG_VIDEO_H264_CPB_SIZE (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1310)     The Coded Picture Buffer size in kilobytes, it is used as a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1311)     limitation of frame skip. The CPB is defined in the H264 standard as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1312)     a mean to verify that the produced stream will be successfully
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1313)     decoded. Applicable to the H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1314) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1315) ``V4L2_CID_MPEG_VIDEO_H264_I_PERIOD (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1316)     Period between I-frames in the open GOP for H264. In case of an open
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1317)     GOP this is the period between two I-frames. The period between IDR
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1318)     (Instantaneous Decoding Refresh) frames is taken from the GOP_SIZE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1319)     control. An IDR frame, which stands for Instantaneous Decoding
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1320)     Refresh is an I-frame after which no prior frames are referenced.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1321)     This means that a stream can be restarted from an IDR frame without
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1322)     the need to store or decode any previous frames. Applicable to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1323)     H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1324) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1325) .. _v4l2-mpeg-video-header-mode:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1326) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1327) ``V4L2_CID_MPEG_VIDEO_HEADER_MODE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1328)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1329) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1330) enum v4l2_mpeg_video_header_mode -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1331)     Determines whether the header is returned as the first buffer or is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1332)     it returned together with the first frame. Applicable to encoders.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1333)     Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1334) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1335) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1336) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1337)     \small
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1338) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1339) .. tabularcolumns:: |p{10.3cm}|p{7.2cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1340) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1341) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1342)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1343)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1344) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1345)     * - ``V4L2_MPEG_VIDEO_HEADER_MODE_SEPARATE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1346)       - The stream header is returned separately in the first buffer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1347)     * - ``V4L2_MPEG_VIDEO_HEADER_MODE_JOINED_WITH_1ST_FRAME``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1348)       - The stream header is returned together with the first encoded
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1349) 	frame.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1350) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1351) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1352) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1353)     \normalsize
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1354) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1355) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1356) ``V4L2_CID_MPEG_VIDEO_REPEAT_SEQ_HEADER (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1357)     Repeat the video sequence headers. Repeating these headers makes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1358)     random access to the video stream easier. Applicable to the MPEG1, 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1359)     and 4 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1360) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1361) ``V4L2_CID_MPEG_VIDEO_DECODER_MPEG4_DEBLOCK_FILTER (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1362)     Enabled the deblocking post processing filter for MPEG4 decoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1363)     Applicable to the MPEG4 decoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1364) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1365) ``V4L2_CID_MPEG_VIDEO_MPEG4_VOP_TIME_RES (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1366)     vop_time_increment_resolution value for MPEG4. Applicable to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1367)     MPEG4 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1368) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1369) ``V4L2_CID_MPEG_VIDEO_MPEG4_VOP_TIME_INC (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1370)     vop_time_increment value for MPEG4. Applicable to the MPEG4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1371)     encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1372) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1373) ``V4L2_CID_MPEG_VIDEO_H264_SEI_FRAME_PACKING (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1374)     Enable generation of frame packing supplemental enhancement
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1375)     information in the encoded bitstream. The frame packing SEI message
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1376)     contains the arrangement of L and R planes for 3D viewing.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1377)     Applicable to the H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1378) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1379) ``V4L2_CID_MPEG_VIDEO_H264_SEI_FP_CURRENT_FRAME_0 (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1380)     Sets current frame as frame0 in frame packing SEI. Applicable to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1381)     H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1382) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1383) .. _v4l2-mpeg-video-h264-sei-fp-arrangement-type:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1384) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1385) ``V4L2_CID_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1386)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1387) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1388) enum v4l2_mpeg_video_h264_sei_fp_arrangement_type -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1389)     Frame packing arrangement type for H264 SEI. Applicable to the H264
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1390)     encoder. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1391) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1392) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1393) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1394)     \small
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1395) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1396) .. tabularcolumns:: |p{12cm}|p{5.5cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1397) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1398) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1399)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1400)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1401) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1402)     * - ``V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_CHEKERBOARD``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1403)       - Pixels are alternatively from L and R.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1404)     * - ``V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_COLUMN``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1405)       - L and R are interlaced by column.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1406)     * - ``V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_ROW``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1407)       - L and R are interlaced by row.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1408)     * - ``V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_SIDE_BY_SIDE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1409)       - L is on the left, R on the right.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1410)     * - ``V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_TOP_BOTTOM``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1411)       - L is on top, R on bottom.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1412)     * - ``V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_TEMPORAL``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1413)       - One view per frame.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1414) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1415) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1416) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1417)     \normalsize
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1418) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1419) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1420) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1421) ``V4L2_CID_MPEG_VIDEO_H264_FMO (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1422)     Enables flexible macroblock ordering in the encoded bitstream. It is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1423)     a technique used for restructuring the ordering of macroblocks in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1424)     pictures. Applicable to the H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1425) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1426) .. _v4l2-mpeg-video-h264-fmo-map-type:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1427) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1428) ``V4L2_CID_MPEG_VIDEO_H264_FMO_MAP_TYPE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1429)    (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1430) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1431) enum v4l2_mpeg_video_h264_fmo_map_type -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1432)     When using FMO, the map type divides the image in different scan
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1433)     patterns of macroblocks. Applicable to the H264 encoder. Possible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1434)     values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1435) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1436) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1437) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1438)     \small
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1439) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1440) .. tabularcolumns:: |p{12.5cm}|p{5.0cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1441) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1442) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1443)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1444)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1445) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1446)     * - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_INTERLEAVED_SLICES``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1447)       - Slices are interleaved one after other with macroblocks in run
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1448) 	length order.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1449)     * - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_SCATTERED_SLICES``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1450)       - Scatters the macroblocks based on a mathematical function known to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1451) 	both encoder and decoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1452)     * - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_FOREGROUND_WITH_LEFT_OVER``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1453)       - Macroblocks arranged in rectangular areas or regions of interest.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1454)     * - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_BOX_OUT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1455)       - Slice groups grow in a cyclic way from centre to outwards.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1456)     * - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_RASTER_SCAN``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1457)       - Slice groups grow in raster scan pattern from left to right.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1458)     * - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_WIPE_SCAN``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1459)       - Slice groups grow in wipe scan pattern from top to bottom.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1460)     * - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_EXPLICIT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1461)       - User defined map type.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1462) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1463) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1464) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1465)     \normalsize
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1466) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1467) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1468) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1469) ``V4L2_CID_MPEG_VIDEO_H264_FMO_SLICE_GROUP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1470)     Number of slice groups in FMO. Applicable to the H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1471) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1472) .. _v4l2-mpeg-video-h264-fmo-change-direction:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1473) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1474) ``V4L2_CID_MPEG_VIDEO_H264_FMO_CHANGE_DIRECTION``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1475)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1476) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1477) enum v4l2_mpeg_video_h264_fmo_change_dir -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1478)     Specifies a direction of the slice group change for raster and wipe
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1479)     maps. Applicable to the H264 encoder. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1480) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1481) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1482) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1483) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1484)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1485)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1486) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1487)     * - ``V4L2_MPEG_VIDEO_H264_FMO_CHANGE_DIR_RIGHT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1488)       - Raster scan or wipe right.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1489)     * - ``V4L2_MPEG_VIDEO_H264_FMO_CHANGE_DIR_LEFT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1490)       - Reverse raster scan or wipe left.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1491) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1492) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1493) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1494) ``V4L2_CID_MPEG_VIDEO_H264_FMO_CHANGE_RATE (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1495)     Specifies the size of the first slice group for raster and wipe map.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1496)     Applicable to the H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1497) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1498) ``V4L2_CID_MPEG_VIDEO_H264_FMO_RUN_LENGTH (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1499)     Specifies the number of consecutive macroblocks for the interleaved
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1500)     map. Applicable to the H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1501) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1502) ``V4L2_CID_MPEG_VIDEO_H264_ASO (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1503)     Enables arbitrary slice ordering in encoded bitstream. Applicable to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1504)     the H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1505) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1506) ``V4L2_CID_MPEG_VIDEO_H264_ASO_SLICE_ORDER (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1507)     Specifies the slice order in ASO. Applicable to the H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1508)     The supplied 32-bit integer is interpreted as follows (bit 0 = least
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1509)     significant bit):
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1510) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1511) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1512) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1513) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1514)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1515)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1516) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1517)     * - Bit 0:15
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1518)       - Slice ID
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1519)     * - Bit 16:32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1520)       - Slice position or order
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1521) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1522) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1523) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1524) ``V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1525)     Enables H264 hierarchical coding. Applicable to the H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1526) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1527) .. _v4l2-mpeg-video-h264-hierarchical-coding-type:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1528) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1529) ``V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_TYPE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1530)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1531) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1532) enum v4l2_mpeg_video_h264_hierarchical_coding_type -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1533)     Specifies the hierarchical coding type. Applicable to the H264
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1534)     encoder. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1535) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1536) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1537) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1538) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1539)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1540)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1541) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1542)     * - ``V4L2_MPEG_VIDEO_H264_HIERARCHICAL_CODING_B``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1543)       - Hierarchical B coding.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1544)     * - ``V4L2_MPEG_VIDEO_H264_HIERARCHICAL_CODING_P``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1545)       - Hierarchical P coding.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1546) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1547) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1548) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1549) ``V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_LAYER (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1550)     Specifies the number of hierarchical coding layers. Applicable to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1551)     the H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1552) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1553) ``V4L2_CID_MPEG_VIDEO_H264_HIERARCHICAL_CODING_LAYER_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1554)     Specifies a user defined QP for each layer. Applicable to the H264
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1555)     encoder. The supplied 32-bit integer is interpreted as follows (bit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1556)     0 = least significant bit):
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1557) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1558) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1559) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1560) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1561)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1562)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1563) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1564)     * - Bit 0:15
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1565)       - QP value
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1566)     * - Bit 16:32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1567)       - Layer number
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1568) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1569) ``V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L0_BR (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1570)     Indicates bit rate (bps) for hierarchical coding layer 0 for H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1571) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1572) ``V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L1_BR (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1573)     Indicates bit rate (bps) for hierarchical coding layer 1 for H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1574) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1575) ``V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L2_BR (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1576)     Indicates bit rate (bps) for hierarchical coding layer 2 for H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1577) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1578) ``V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L3_BR (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1579)     Indicates bit rate (bps) for hierarchical coding layer 3 for H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1580) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1581) ``V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L4_BR (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1582)     Indicates bit rate (bps) for hierarchical coding layer 4 for H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1583) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1584) ``V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L5_BR (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1585)     Indicates bit rate (bps) for hierarchical coding layer 5 for H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1586) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1587) ``V4L2_CID_MPEG_VIDEO_H264_HIER_CODING_L6_BR (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1588)     Indicates bit rate (bps) for hierarchical coding layer 6 for H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1589) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1590) .. _v4l2-mpeg-h264:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1591) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1592) ``V4L2_CID_MPEG_VIDEO_H264_SPS (struct)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1593)     Specifies the sequence parameter set (as extracted from the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1594)     bitstream) for the associated H264 slice data. This includes the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1595)     necessary parameters for configuring a stateless hardware decoding
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1596)     pipeline for H264. The bitstream parameters are defined according
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1597)     to :ref:`h264`, section 7.4.2.1.1 "Sequence Parameter Set Data
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1598)     Semantics". For further documentation, refer to the above
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1599)     specification, unless there is an explicit comment stating
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1600)     otherwise.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1601) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1602)     .. note::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1603) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1604)        This compound control is not yet part of the public kernel API and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1605)        it is expected to change.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1606) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1607) .. c:type:: v4l2_ctrl_h264_sps
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1608) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1609) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1610) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1611) .. flat-table:: struct v4l2_ctrl_h264_sps
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1612)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1613)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1614)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1615) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1616)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1617)       - ``profile_idc``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1618)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1619)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1620)       - ``constraint_set_flags``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1621)       - See :ref:`Sequence Parameter Set Constraints Set Flags <h264_sps_constraints_set_flags>`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1622)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1623)       - ``level_idc``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1624)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1625)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1626)       - ``seq_parameter_set_id``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1627)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1628)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1629)       - ``chroma_format_idc``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1630)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1631)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1632)       - ``bit_depth_luma_minus8``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1633)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1634)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1635)       - ``bit_depth_chroma_minus8``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1636)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1637)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1638)       - ``log2_max_frame_num_minus4``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1639)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1640)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1641)       - ``pic_order_cnt_type``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1642)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1643)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1644)       - ``log2_max_pic_order_cnt_lsb_minus4``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1645)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1646)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1647)       - ``max_num_ref_frames``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1648)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1649)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1650)       - ``num_ref_frames_in_pic_order_cnt_cycle``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1651)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1652)     * - __s32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1653)       - ``offset_for_ref_frame[255]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1654)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1655)     * - __s32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1656)       - ``offset_for_non_ref_pic``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1657)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1658)     * - __s32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1659)       - ``offset_for_top_to_bottom_field``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1660)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1661)     * - __u16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1662)       - ``pic_width_in_mbs_minus1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1663)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1664)     * - __u16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1665)       - ``pic_height_in_map_units_minus1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1666)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1667)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1668)       - ``flags``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1669)       - See :ref:`Sequence Parameter Set Flags <h264_sps_flags>`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1670) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1671) .. _h264_sps_constraints_set_flags:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1672) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1673) ``Sequence Parameter Set Constraints Set Flags``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1674) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1675) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1676) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1677) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1678)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1679)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1680)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1681) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1682)     * - ``V4L2_H264_SPS_CONSTRAINT_SET0_FLAG``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1683)       - 0x00000001
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1684)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1685)     * - ``V4L2_H264_SPS_CONSTRAINT_SET1_FLAG``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1686)       - 0x00000002
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1687)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1688)     * - ``V4L2_H264_SPS_CONSTRAINT_SET2_FLAG``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1689)       - 0x00000004
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1690)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1691)     * - ``V4L2_H264_SPS_CONSTRAINT_SET3_FLAG``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1692)       - 0x00000008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1693)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1694)     * - ``V4L2_H264_SPS_CONSTRAINT_SET4_FLAG``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1695)       - 0x00000010
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1696)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1697)     * - ``V4L2_H264_SPS_CONSTRAINT_SET5_FLAG``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1698)       - 0x00000020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1699)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1700) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1701) .. _h264_sps_flags:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1702) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1703) ``Sequence Parameter Set Flags``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1704) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1705) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1706) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1707) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1708)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1709)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1710)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1711) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1712)     * - ``V4L2_H264_SPS_FLAG_SEPARATE_COLOUR_PLANE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1713)       - 0x00000001
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1714)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1715)     * - ``V4L2_H264_SPS_FLAG_QPPRIME_Y_ZERO_TRANSFORM_BYPASS``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1716)       - 0x00000002
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1717)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1718)     * - ``V4L2_H264_SPS_FLAG_DELTA_PIC_ORDER_ALWAYS_ZERO``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1719)       - 0x00000004
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1720)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1721)     * - ``V4L2_H264_SPS_FLAG_GAPS_IN_FRAME_NUM_VALUE_ALLOWED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1722)       - 0x00000008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1723)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1724)     * - ``V4L2_H264_SPS_FLAG_FRAME_MBS_ONLY``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1725)       - 0x00000010
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1726)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1727)     * - ``V4L2_H264_SPS_FLAG_MB_ADAPTIVE_FRAME_FIELD``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1728)       - 0x00000020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1729)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1730)     * - ``V4L2_H264_SPS_FLAG_DIRECT_8X8_INFERENCE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1731)       - 0x00000040
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1732)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1733) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1734) ``V4L2_CID_MPEG_VIDEO_H264_PPS (struct)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1735)     Specifies the picture parameter set (as extracted from the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1736)     bitstream) for the associated H264 slice data. This includes the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1737)     necessary parameters for configuring a stateless hardware decoding
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1738)     pipeline for H264.  The bitstream parameters are defined according
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1739)     to :ref:`h264`, section 7.4.2.2 "Picture Parameter Set RBSP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1740)     Semantics". For further documentation, refer to the above
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1741)     specification, unless there is an explicit comment stating
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1742)     otherwise.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1743) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1744)     .. note::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1745) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1746)        This compound control is not yet part of the public kernel API and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1747)        it is expected to change.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1748) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1749) .. c:type:: v4l2_ctrl_h264_pps
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1750) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1751) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1752) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1753) .. flat-table:: struct v4l2_ctrl_h264_pps
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1754)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1755)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1756)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1757) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1758)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1759)       - ``pic_parameter_set_id``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1760)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1761)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1762)       - ``seq_parameter_set_id``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1763)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1764)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1765)       - ``num_slice_groups_minus1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1766)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1767)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1768)       - ``num_ref_idx_l0_default_active_minus1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1769)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1770)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1771)       - ``num_ref_idx_l1_default_active_minus1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1772)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1773)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1774)       - ``weighted_bipred_idc``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1775)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1776)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1777)       - ``pic_init_qp_minus26``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1778)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1779)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1780)       - ``pic_init_qs_minus26``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1781)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1782)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1783)       - ``chroma_qp_index_offset``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1784)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1785)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1786)       - ``second_chroma_qp_index_offset``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1787)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1788)     * - __u16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1789)       - ``flags``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1790)       - See :ref:`Picture Parameter Set Flags <h264_pps_flags>`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1791) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1792) .. _h264_pps_flags:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1793) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1794) ``Picture Parameter Set Flags``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1795) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1796) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1797) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1798) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1799)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1800)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1801)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1802) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1803)     * - ``V4L2_H264_PPS_FLAG_ENTROPY_CODING_MODE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1804)       - 0x00000001
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1805)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1806)     * - ``V4L2_H264_PPS_FLAG_BOTTOM_FIELD_PIC_ORDER_IN_FRAME_PRESENT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1807)       - 0x00000002
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1808)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1809)     * - ``V4L2_H264_PPS_FLAG_WEIGHTED_PRED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1810)       - 0x00000004
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1811)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1812)     * - ``V4L2_H264_PPS_FLAG_DEBLOCKING_FILTER_CONTROL_PRESENT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1813)       - 0x00000008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1814)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1815)     * - ``V4L2_H264_PPS_FLAG_CONSTRAINED_INTRA_PRED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1816)       - 0x00000010
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1817)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1818)     * - ``V4L2_H264_PPS_FLAG_REDUNDANT_PIC_CNT_PRESENT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1819)       - 0x00000020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1820)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1821)     * - ``V4L2_H264_PPS_FLAG_TRANSFORM_8X8_MODE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1822)       - 0x00000040
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1823)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1824)     * - ``V4L2_H264_PPS_FLAG_SCALING_MATRIX_PRESENT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1825)       - 0x00000080
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1826)       - Indicates that ``V4L2_CID_MPEG_VIDEO_H264_SCALING_MATRIX``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1827)         must be used for this picture.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1828) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1829) ``V4L2_CID_MPEG_VIDEO_H264_SCALING_MATRIX (struct)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1830)     Specifies the scaling matrix (as extracted from the bitstream) for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1831)     the associated H264 slice data. The bitstream parameters are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1832)     defined according to :ref:`h264`, section 7.4.2.1.1.1 "Scaling
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1833)     List Semantics". For further documentation, refer to the above
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1834)     specification, unless there is an explicit comment stating
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1835)     otherwise.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1836) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1837)     .. note::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1838) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1839)        This compound control is not yet part of the public kernel API and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1840)        it is expected to change.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1841) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1842) .. c:type:: v4l2_ctrl_h264_scaling_matrix
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1843) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1844) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1845) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1846) .. flat-table:: struct v4l2_ctrl_h264_scaling_matrix
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1847)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1848)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1849)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1850) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1851)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1852)       - ``scaling_list_4x4[6][16]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1853)       - Scaling matrix after applying the inverse scanning process.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1854)         Expected list order is Intra Y, Intra Cb, Intra Cr, Inter Y,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1855)         Inter Cb, Inter Cr. The values on each scaling list are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1856)         expected in raster scan order.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1857)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1858)       - ``scaling_list_8x8[6][64]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1859)       - Scaling matrix after applying the inverse scanning process.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1860)         Expected list order is Intra Y, Inter Y, Intra Cb, Inter Cb,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1861)         Intra Cr, Inter Cr. The values on each scaling list are
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1862)         expected in raster scan order.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1863) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1864) ``V4L2_CID_MPEG_VIDEO_H264_SLICE_PARAMS (struct)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1865)     Specifies the slice parameters (as extracted from the bitstream)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1866)     for the associated H264 slice data. This includes the necessary
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1867)     parameters for configuring a stateless hardware decoding pipeline
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1868)     for H264.  The bitstream parameters are defined according to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1869)     :ref:`h264`, section 7.4.3 "Slice Header Semantics". For further
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1870)     documentation, refer to the above specification, unless there is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1871)     an explicit comment stating otherwise.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1872) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1873)     .. note::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1874) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1875)        This compound control is not yet part of the public kernel API
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1876)        and it is expected to change.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1877) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1878) .. c:type:: v4l2_ctrl_h264_slice_params
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1879) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1880) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1881) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1882) .. flat-table:: struct v4l2_ctrl_h264_slice_params
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1883)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1884)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1885)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1886) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1887)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1888)       - ``header_bit_size``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1889)       - Offset in bits to slice_data() from the beginning of this slice.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1890)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1891)       - ``first_mb_in_slice``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1892)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1893)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1894)       - ``slice_type``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1895)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1896)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1897)       - ``colour_plane_id``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1898)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1899)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1900)       - ``redundant_pic_cnt``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1901)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1902)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1903)       - ``cabac_init_idc``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1904)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1905)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1906)       - ``slice_qp_delta``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1907)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1908)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1909)       - ``slice_qs_delta``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1910)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1911)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1912)       - ``disable_deblocking_filter_idc``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1913)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1914)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1915)       - ``slice_alpha_c0_offset_div2``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1916)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1917)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1918)       - ``slice_beta_offset_div2``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1919)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1920)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1921)       - ``num_ref_idx_l0_active_minus1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1922)       - If num_ref_idx_active_override_flag is not set, this field must be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1923)         set to the value of num_ref_idx_l0_default_active_minus1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1924)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1925)       - ``num_ref_idx_l1_active_minus1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1926)       - If num_ref_idx_active_override_flag is not set, this field must be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1927)         set to the value of num_ref_idx_l1_default_active_minus1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1928)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1929)       - ``reserved``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1930)       - Applications and drivers must set this to zero.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1931)     * - struct :c:type:`v4l2_h264_reference`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1932)       - ``ref_pic_list0[32]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1933)       - Reference picture list after applying the per-slice modifications
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1934)     * - struct :c:type:`v4l2_h264_reference`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1935)       - ``ref_pic_list1[32]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1936)       - Reference picture list after applying the per-slice modifications
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1937)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1938)       - ``flags``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1939)       - See :ref:`Slice Parameter Flags <h264_slice_flags>`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1940) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1941) .. _h264_slice_flags:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1942) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1943) ``Slice Parameter Set Flags``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1944) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1945) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1946) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1947) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1948)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1949)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1950)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1951) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1952)     * - ``V4L2_H264_SLICE_FLAG_DIRECT_SPATIAL_MV_PRED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1953)       - 0x00000001
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1954)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1955)     * - ``V4L2_H264_SLICE_FLAG_SP_FOR_SWITCH``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1956)       - 0x00000002
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1957)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1958) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1959) ``V4L2_CID_MPEG_VIDEO_H264_PRED_WEIGHTS (struct)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1960)     Prediction weight table defined according to :ref:`h264`,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1961)     section 7.4.3.2 "Prediction Weight Table Semantics".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1962)     The prediction weight table must be passed by applications
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1963)     under the conditions explained in section 7.3.3 "Slice header
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1964)     syntax".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1965) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1966)     .. note::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1967) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1968)        This compound control is not yet part of the public kernel API and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1969)        it is expected to change.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1970) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1971) .. c:type:: v4l2_ctrl_h264_pred_weights
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1972) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1973) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1974) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1975) .. flat-table:: struct v4l2_ctrl_h264_pred_weights
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1976)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1977)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1978)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1979) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1980)     * - __u16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1981)       - ``luma_log2_weight_denom``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1982)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1983)     * - __u16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1984)       - ``chroma_log2_weight_denom``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1985)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1986)     * - struct :c:type:`v4l2_h264_weight_factors`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1987)       - ``weight_factors[2]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1988)       - The weight factors at index 0 are the weight factors for the reference
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1989)         list 0, the one at index 1 for the reference list 1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1990) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1991) .. c:type:: v4l2_h264_weight_factors
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1992) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1993) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1994) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1995) .. flat-table:: struct v4l2_h264_weight_factors
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1996)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1997)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1998)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1999) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2000)     * - __s16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2001)       - ``luma_weight[32]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2002)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2003)     * - __s16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2004)       - ``luma_offset[32]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2005)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2006)     * - __s16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2007)       - ``chroma_weight[32][2]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2008)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2009)     * - __s16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2010)       - ``chroma_offset[32][2]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2011)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2012) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2013) ``Picture Reference``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2014) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2015) .. c:type:: v4l2_h264_reference
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2016) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2017) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2018) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2019) .. flat-table:: struct v4l2_h264_reference
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2020)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2021)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2022)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2023) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2024)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2025)       - ``fields``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2026)       - Specifies how the picture is referenced. See :ref:`Reference Fields <h264_ref_fields>`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2027)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2028)       - ``index``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2029)       - Index into the :c:type:`v4l2_ctrl_h264_decode_params`.dpb array.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2030) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2031) .. _h264_ref_fields:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2032) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2033) ``Reference Fields``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2034) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2035) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2036) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2037) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2038)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2039)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2040)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2041) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2042)     * - ``V4L2_H264_TOP_FIELD_REF``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2043)       - 0x1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2044)       - The top field in field pair is used for short-term reference.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2045)     * - ``V4L2_H264_BOTTOM_FIELD_REF``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2046)       - 0x2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2047)       - The bottom field in field pair is used for short-term reference.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2048)     * - ``V4L2_H264_FRAME_REF``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2049)       - 0x3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2050)       - The frame (or the top/bottom fields, if it's a field pair)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2051)         is used for short-term reference.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2052) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2053) ``V4L2_CID_MPEG_VIDEO_H264_DECODE_PARAMS (struct)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2054)     Specifies the decode parameters (as extracted from the bitstream)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2055)     for the associated H264 slice data. This includes the necessary
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2056)     parameters for configuring a stateless hardware decoding pipeline
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2057)     for H264. The bitstream parameters are defined according to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2058)     :ref:`h264`. For further documentation, refer to the above
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2059)     specification, unless there is an explicit comment stating
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2060)     otherwise.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2061) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2062)     .. note::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2063) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2064)        This compound control is not yet part of the public kernel API and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2065)        it is expected to change.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2066) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2067) .. c:type:: v4l2_ctrl_h264_decode_params
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2068) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2069) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2070) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2071) .. flat-table:: struct v4l2_ctrl_h264_decode_params
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2072)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2073)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2074)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2075) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2076)     * - struct :c:type:`v4l2_h264_dpb_entry`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2077)       - ``dpb[16]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2078)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2079)     * - __u16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2080)       - ``nal_ref_idc``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2081)       - NAL reference ID value coming from the NAL Unit header
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2082)     * - __u16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2083)       - ``frame_num``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2084)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2085)     * - __s32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2086)       - ``top_field_order_cnt``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2087)       - Picture Order Count for the coded top field
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2088)     * - __s32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2089)       - ``bottom_field_order_cnt``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2090)       - Picture Order Count for the coded bottom field
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2091)     * - __u16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2092)       - ``idr_pic_id``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2093)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2094)     * - __u16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2095)       - ``pic_order_cnt_lsb``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2096)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2097)     * - __s32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2098)       - ``delta_pic_order_cnt_bottom``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2099)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2100)     * - __s32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2101)       - ``delta_pic_order_cnt0``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2102)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2103)     * - __s32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2104)       - ``delta_pic_order_cnt1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2105)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2106)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2107)       - ``dec_ref_pic_marking_bit_size``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2108)       - Size in bits of the dec_ref_pic_marking() syntax element.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2109)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2110)       - ``pic_order_cnt_bit_size``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2111)       - Combined size in bits of the picture order count related syntax
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2112)         elements: pic_order_cnt_lsb, delta_pic_order_cnt_bottom,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2113)         delta_pic_order_cnt0, and delta_pic_order_cnt1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2114)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2115)       - ``slice_group_change_cycle``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2116)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2117)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2118)       - ``reserved``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2119)       - Applications and drivers must set this to zero.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2120)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2121)       - ``flags``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2122)       - See :ref:`Decode Parameters Flags <h264_decode_params_flags>`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2123) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2124) .. _h264_decode_params_flags:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2125) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2126) ``Decode Parameters Flags``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2127) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2128) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2129) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2130) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2131)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2132)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2133)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2134) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2135)     * - ``V4L2_H264_DECODE_PARAM_FLAG_IDR_PIC``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2136)       - 0x00000001
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2137)       - That picture is an IDR picture
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2138)     * - ``V4L2_H264_DECODE_PARAM_FLAG_FIELD_PIC``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2139)       - 0x00000002
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2140)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2141)     * - ``V4L2_H264_DECODE_PARAM_FLAG_BOTTOM_FIELD``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2142)       - 0x00000004
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2143)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2144) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2145) .. c:type:: v4l2_h264_dpb_entry
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2146) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2147) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2148) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2149) .. flat-table:: struct v4l2_h264_dpb_entry
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2150)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2151)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2152)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2153) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2154)     * - __u64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2155)       - ``reference_ts``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2156)       - Timestamp of the V4L2 capture buffer to use as reference, used
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2157)         with B-coded and P-coded frames. The timestamp refers to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2158)         ``timestamp`` field in struct :c:type:`v4l2_buffer`. Use the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2159)         :c:func:`v4l2_timeval_to_ns()` function to convert the struct
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2160)         :c:type:`timeval` in struct :c:type:`v4l2_buffer` to a __u64.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2161)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2162)       - ``pic_num``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2163)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2164)     * - __u16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2165)       - ``frame_num``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2166)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2167)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2168)       - ``fields``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2169)       - Specifies how the DPB entry is referenced. See :ref:`Reference Fields <h264_ref_fields>`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2170)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2171)       - ``reserved[5]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2172)       - Applications and drivers must set this to zero.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2173)     * - __s32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2174)       - ``top_field_order_cnt``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2175)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2176)     * - __s32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2177)       - ``bottom_field_order_cnt``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2178)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2179)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2180)       - ``flags``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2181)       - See :ref:`DPB Entry Flags <h264_dpb_flags>`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2182) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2183) .. _h264_dpb_flags:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2184) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2185) ``DPB Entries Flags``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2186) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2187) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2188) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2189) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2190)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2191)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2192)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2193) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2194)     * - ``V4L2_H264_DPB_ENTRY_FLAG_VALID``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2195)       - 0x00000001
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2196)       - The DPB entry is valid (non-empty) and should be considered.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2197)     * - ``V4L2_H264_DPB_ENTRY_FLAG_ACTIVE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2198)       - 0x00000002
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2199)       - The DPB entry is used for reference.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2200)     * - ``V4L2_H264_DPB_ENTRY_FLAG_LONG_TERM``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2201)       - 0x00000004
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2202)       - The DPB entry is used for long-term reference.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2203)     * - ``V4L2_H264_DPB_ENTRY_FLAG_FIELD``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2204)       - 0x00000008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2205)       - The DPB entry is a single field or a complementary field pair.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2206) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2207) ``V4L2_CID_MPEG_VIDEO_H264_DECODE_MODE (enum)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2208)     Specifies the decoding mode to use. Currently exposes slice-based and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2209)     frame-based decoding but new modes might be added later on.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2210)     This control is used as a modifier for V4L2_PIX_FMT_H264_SLICE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2211)     pixel format. Applications that support V4L2_PIX_FMT_H264_SLICE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2212)     are required to set this control in order to specify the decoding mode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2213)     that is expected for the buffer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2214)     Drivers may expose a single or multiple decoding modes, depending
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2215)     on what they can support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2216) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2217)     .. note::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2218) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2219)        This menu control is not yet part of the public kernel API and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2220)        it is expected to change.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2221) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2222) .. c:type:: v4l2_mpeg_video_h264_decode_mode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2223) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2224) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2225) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2226) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2227)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2228)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2229)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2230) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2231)     * - ``V4L2_MPEG_VIDEO_H264_DECODE_MODE_SLICE_BASED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2232)       - 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2233)       - Decoding is done at the slice granularity.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2234)         The OUTPUT buffer must contain a single slice.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2235)         When this mode is selected, the ``V4L2_CID_MPEG_VIDEO_H264_SLICE_PARAMS``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2236)         control shall be set. When multiple slices compose a frame,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2237)         use of ``V4L2_BUF_CAP_SUPPORTS_M2M_HOLD_CAPTURE_BUF`` flag
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2238)         is required.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2239)     * - ``V4L2_MPEG_VIDEO_H264_DECODE_MODE_FRAME_BASED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2240)       - 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2241)       - Decoding is done at the frame granularity,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2242)         The OUTPUT buffer must contain all slices needed to decode the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2243)         frame. The OUTPUT buffer must also contain both fields.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2244)         This mode will be supported by devices that
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2245)         parse the slice(s) header(s) in hardware. When this mode is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2246)         selected, the ``V4L2_CID_MPEG_VIDEO_H264_SLICE_PARAMS``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2247)         control shall not be set.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2248) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2249) ``V4L2_CID_MPEG_VIDEO_H264_START_CODE (enum)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2250)     Specifies the H264 slice start code expected for each slice.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2251)     This control is used as a modifier for V4L2_PIX_FMT_H264_SLICE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2252)     pixel format. Applications that support V4L2_PIX_FMT_H264_SLICE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2253)     are required to set this control in order to specify the start code
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2254)     that is expected for the buffer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2255)     Drivers may expose a single or multiple start codes, depending
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2256)     on what they can support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2257) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2258)     .. note::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2259) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2260)        This menu control is not yet part of the public kernel API and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2261)        it is expected to change.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2262) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2263) .. c:type:: v4l2_mpeg_video_h264_start_code
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2264) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2265) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2266) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2267) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2268)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2269)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2270)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2271) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2272)     * - ``V4L2_MPEG_VIDEO_H264_START_CODE_NONE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2273)       - 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2274)       - Selecting this value specifies that H264 slices are passed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2275)         to the driver without any start code.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2276)     * - ``V4L2_MPEG_VIDEO_H264_START_CODE_ANNEX_B``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2277)       - 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2278)       - Selecting this value specifies that H264 slices are expected
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2279)         to be prefixed by Annex B start codes. According to :ref:`h264`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2280)         valid start codes can be 3-bytes 0x000001 or 4-bytes 0x00000001.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2281) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2282) .. _v4l2-mpeg-mpeg2:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2283) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2284) ``V4L2_CID_MPEG_VIDEO_MPEG2_SLICE_PARAMS (struct)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2285)     Specifies the slice parameters (as extracted from the bitstream) for the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2286)     associated MPEG-2 slice data. This includes the necessary parameters for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2287)     configuring a stateless hardware decoding pipeline for MPEG-2.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2288)     The bitstream parameters are defined according to :ref:`mpeg2part2`.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2289) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2290)     .. note::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2291) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2292)        This compound control is not yet part of the public kernel API and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2293)        it is expected to change.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2294) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2295) .. c:type:: v4l2_ctrl_mpeg2_slice_params
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2296) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2297) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2298) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2299) .. tabularcolumns:: |p{5.8cm}|p{4.8cm}|p{6.6cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2300) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2301) .. flat-table:: struct v4l2_ctrl_mpeg2_slice_params
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2302)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2303)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2304)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2305) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2306)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2307)       - ``bit_size``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2308)       - Size (in bits) of the current slice data.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2309)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2310)       - ``data_bit_offset``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2311)       - Offset (in bits) to the video data in the current slice data.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2312)     * - struct :c:type:`v4l2_mpeg2_sequence`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2313)       - ``sequence``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2314)       - Structure with MPEG-2 sequence metadata, merging relevant fields from
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2315) 	the sequence header and sequence extension parts of the bitstream.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2316)     * - struct :c:type:`v4l2_mpeg2_picture`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2317)       - ``picture``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2318)       - Structure with MPEG-2 picture metadata, merging relevant fields from
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2319) 	the picture header and picture coding extension parts of the bitstream.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2320)     * - __u64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2321)       - ``backward_ref_ts``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2322)       - Timestamp of the V4L2 capture buffer to use as backward reference, used
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2323)         with B-coded and P-coded frames. The timestamp refers to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2324) 	``timestamp`` field in struct :c:type:`v4l2_buffer`. Use the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2325) 	:c:func:`v4l2_timeval_to_ns()` function to convert the struct
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2326) 	:c:type:`timeval` in struct :c:type:`v4l2_buffer` to a __u64.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2327)     * - __u64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2328)       - ``forward_ref_ts``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2329)       - Timestamp for the V4L2 capture buffer to use as forward reference, used
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2330)         with B-coded frames. The timestamp refers to the ``timestamp`` field in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2331) 	struct :c:type:`v4l2_buffer`. Use the :c:func:`v4l2_timeval_to_ns()`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2332) 	function to convert the struct :c:type:`timeval` in struct
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2333) 	:c:type:`v4l2_buffer` to a __u64.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2334)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2335)       - ``quantiser_scale_code``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2336)       - Code used to determine the quantization scale to use for the IDCT.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2337) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2338) .. c:type:: v4l2_mpeg2_sequence
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2339) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2340) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2341) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2342) .. tabularcolumns:: |p{1.5cm}|p{6.3cm}|p{9.4cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2343) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2344) .. flat-table:: struct v4l2_mpeg2_sequence
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2345)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2346)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2347)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2348) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2349)     * - __u16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2350)       - ``horizontal_size``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2351)       - The width of the displayable part of the frame's luminance component.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2352)     * - __u16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2353)       - ``vertical_size``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2354)       - The height of the displayable part of the frame's luminance component.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2355)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2356)       - ``vbv_buffer_size``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2357)       - Used to calculate the required size of the video buffering verifier,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2358) 	defined (in bits) as: 16 * 1024 * vbv_buffer_size.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2359)     * - __u16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2360)       - ``profile_and_level_indication``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2361)       - The current profile and level indication as extracted from the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2362) 	bitstream.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2363)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2364)       - ``progressive_sequence``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2365)       - Indication that all the frames for the sequence are progressive instead
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2366) 	of interlaced.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2367)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2368)       - ``chroma_format``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2369)       - The chrominance sub-sampling format (1: 4:2:0, 2: 4:2:2, 3: 4:4:4).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2370) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2371) .. c:type:: v4l2_mpeg2_picture
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2372) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2373) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2374) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2375) .. tabularcolumns:: |p{1.5cm}|p{6.3cm}|p{9.4cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2376) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2377) .. flat-table:: struct v4l2_mpeg2_picture
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2378)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2379)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2380)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2381) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2382)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2383)       - ``picture_coding_type``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2384)       - Picture coding type for the frame covered by the current slice
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2385) 	(V4L2_MPEG2_PICTURE_CODING_TYPE_I, V4L2_MPEG2_PICTURE_CODING_TYPE_P or
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2386) 	V4L2_MPEG2_PICTURE_CODING_TYPE_B).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2387)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2388)       - ``f_code[2][2]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2389)       - Motion vector codes.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2390)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2391)       - ``intra_dc_precision``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2392)       - Precision of Discrete Cosine transform (0: 8 bits precision,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2393) 	1: 9 bits precision, 2: 10 bits precision, 3: 11 bits precision).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2394)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2395)       - ``picture_structure``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2396)       - Picture structure (1: interlaced top field, 2: interlaced bottom field,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2397) 	3: progressive frame).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2398)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2399)       - ``top_field_first``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2400)       - If set to 1 and interlaced stream, top field is output first.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2401)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2402)       - ``frame_pred_frame_dct``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2403)       - If set to 1, only frame-DCT and frame prediction are used.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2404)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2405)       - ``concealment_motion_vectors``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2406)       -  If set to 1, motion vectors are coded for intra macroblocks.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2407)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2408)       - ``q_scale_type``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2409)       - This flag affects the inverse quantization process.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2410)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2411)       - ``intra_vlc_format``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2412)       - This flag affects the decoding of transform coefficient data.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2413)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2414)       - ``alternate_scan``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2415)       - This flag affects the decoding of transform coefficient data.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2416)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2417)       - ``repeat_first_field``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2418)       - This flag affects the decoding process of progressive frames.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2419)     * - __u16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2420)       - ``progressive_frame``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2421)       - Indicates whether the current frame is progressive.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2422) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2423) ``V4L2_CID_MPEG_VIDEO_MPEG2_QUANTIZATION (struct)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2424)     Specifies quantization matrices (as extracted from the bitstream) for the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2425)     associated MPEG-2 slice data.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2426) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2427)     .. note::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2428) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2429)        This compound control is not yet part of the public kernel API and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2430)        it is expected to change.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2431) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2432) .. c:type:: v4l2_ctrl_mpeg2_quantization
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2433) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2434) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2435) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2436) .. tabularcolumns:: |p{1.2cm}|p{8.0cm}|p{7.4cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2437) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2438) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2439) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2440)     \small
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2441) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2442) .. flat-table:: struct v4l2_ctrl_mpeg2_quantization
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2443)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2444)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2445)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2446) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2447)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2448)       - ``load_intra_quantiser_matrix``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2449)       - One bit to indicate whether to load the ``intra_quantiser_matrix`` data.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2450)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2451)       - ``load_non_intra_quantiser_matrix``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2452)       - One bit to indicate whether to load the ``non_intra_quantiser_matrix``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2453) 	data.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2454)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2455)       - ``load_chroma_intra_quantiser_matrix``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2456)       - One bit to indicate whether to load the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2457) 	``chroma_intra_quantiser_matrix`` data, only relevant for non-4:2:0 YUV
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2458) 	formats.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2459)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2460)       - ``load_chroma_non_intra_quantiser_matrix``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2461)       - One bit to indicate whether to load the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2462) 	``chroma_non_intra_quantiser_matrix`` data, only relevant for non-4:2:0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2463) 	YUV formats.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2464)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2465)       - ``intra_quantiser_matrix[64]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2466)       - The quantization matrix coefficients for intra-coded frames, in zigzag
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2467) 	scanning order. It is relevant for both luma and chroma components,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2468) 	although it can be superseded by the chroma-specific matrix for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2469) 	non-4:2:0 YUV formats.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2470)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2471)       - ``non_intra_quantiser_matrix[64]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2472)       - The quantization matrix coefficients for non-intra-coded frames, in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2473) 	zigzag scanning order. It is relevant for both luma and chroma
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2474) 	components, although it can be superseded by the chroma-specific matrix
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2475) 	for non-4:2:0 YUV formats.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2476)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2477)       - ``chroma_intra_quantiser_matrix[64]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2478)       - The quantization matrix coefficients for the chominance component of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2479) 	intra-coded frames, in zigzag scanning order. Only relevant for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2480) 	non-4:2:0 YUV formats.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2481)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2482)       - ``chroma_non_intra_quantiser_matrix[64]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2483)       - The quantization matrix coefficients for the chrominance component of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2484) 	non-intra-coded frames, in zigzag scanning order. Only relevant for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2485) 	non-4:2:0 YUV formats.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2486) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2487) ``V4L2_CID_FWHT_I_FRAME_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2488)     Quantization parameter for an I frame for FWHT. Valid range: from 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2489)     to 31.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2490) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2491) ``V4L2_CID_FWHT_P_FRAME_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2492)     Quantization parameter for a P frame for FWHT. Valid range: from 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2493)     to 31.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2494) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2495) .. _v4l2-mpeg-vp8:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2496) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2497) ``V4L2_CID_MPEG_VIDEO_VP8_FRAME_HEADER (struct)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2498)     Specifies the frame parameters for the associated VP8 parsed frame data.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2499)     This includes the necessary parameters for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2500)     configuring a stateless hardware decoding pipeline for VP8.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2501)     The bitstream parameters are defined according to :ref:`vp8`.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2502) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2503)     .. note::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2504) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2505)        This compound control is not yet part of the public kernel API and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2506)        it is expected to change.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2507) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2508) .. c:type:: v4l2_ctrl_vp8_frame_header
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2509) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2510) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2511) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2512) .. tabularcolumns:: |p{5.8cm}|p{4.8cm}|p{6.6cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2513) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2514) .. flat-table:: struct v4l2_ctrl_vp8_frame_header
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2515)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2516)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2517)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2518) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2519)     * - struct :c:type:`v4l2_vp8_segment_header`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2520)       - ``segment_header``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2521)       - Structure with segment-based adjustments metadata.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2522)     * - struct :c:type:`v4l2_vp8_loopfilter_header`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2523)       - ``loopfilter_header``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2524)       - Structure with loop filter level adjustments metadata.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2525)     * - struct :c:type:`v4l2_vp8_quantization_header`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2526)       - ``quant_header``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2527)       - Structure with VP8 dequantization indices metadata.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2528)     * - struct :c:type:`v4l2_vp8_entropy_header`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2529)       - ``entropy_header``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2530)       - Structure with VP8 entropy coder probabilities metadata.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2531)     * - struct :c:type:`v4l2_vp8_entropy_coder_state`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2532)       - ``coder_state``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2533)       - Structure with VP8 entropy coder state.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2534)     * - __u16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2535)       - ``width``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2536)       - The width of the frame. Must be set for all frames.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2537)     * - __u16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2538)       - ``height``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2539)       - The height of the frame. Must be set for all frames.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2540)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2541)       - ``horizontal_scale``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2542)       - Horizontal scaling factor.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2543)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2544)       - ``vertical_scaling factor``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2545)       - Vertical scale.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2546)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2547)       - ``version``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2548)       - Bitstream version.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2549)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2550)       - ``prob_skip_false``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2551)       - Indicates the probability that the macroblock is not skipped.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2552)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2553)       - ``prob_intra``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2554)       - Indicates the probability that a macroblock is intra-predicted.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2555)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2556)       - ``prob_last``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2557)       - Indicates the probability that the last reference frame is used
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2558)         for inter-prediction
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2559)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2560)       - ``prob_gf``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2561)       - Indicates the probability that the golden reference frame is used
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2562)         for inter-prediction
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2563)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2564)       - ``num_dct_parts``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2565)       - Number of DCT coefficients partitions. Must be one of: 1, 2, 4, or 8.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2566)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2567)       - ``first_part_size``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2568)       - Size of the first partition, i.e. the control partition.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2569)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2570)       - ``first_part_header_bits``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2571)       - Size in bits of the first partition header portion.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2572)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2573)       - ``dct_part_sizes[8]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2574)       - DCT coefficients sizes.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2575)     * - __u64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2576)       - ``last_frame_ts``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2577)       - Timestamp for the V4L2 capture buffer to use as last reference frame, used
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2578)         with inter-coded frames. The timestamp refers to the ``timestamp`` field in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2579) 	struct :c:type:`v4l2_buffer`. Use the :c:func:`v4l2_timeval_to_ns()`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2580) 	function to convert the struct :c:type:`timeval` in struct
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2581) 	:c:type:`v4l2_buffer` to a __u64.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2582)     * - __u64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2583)       - ``golden_frame_ts``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2584)       - Timestamp for the V4L2 capture buffer to use as last reference frame, used
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2585)         with inter-coded frames. The timestamp refers to the ``timestamp`` field in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2586) 	struct :c:type:`v4l2_buffer`. Use the :c:func:`v4l2_timeval_to_ns()`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2587) 	function to convert the struct :c:type:`timeval` in struct
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2588) 	:c:type:`v4l2_buffer` to a __u64.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2589)     * - __u64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2590)       - ``alt_frame_ts``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2591)       - Timestamp for the V4L2 capture buffer to use as alternate reference frame, used
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2592)         with inter-coded frames. The timestamp refers to the ``timestamp`` field in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2593) 	struct :c:type:`v4l2_buffer`. Use the :c:func:`v4l2_timeval_to_ns()`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2594) 	function to convert the struct :c:type:`timeval` in struct
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2595) 	:c:type:`v4l2_buffer` to a __u64.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2596)     * - __u64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2597)       - ``flags``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2598)       - See :ref:`Frame Header Flags <vp8_frame_header_flags>`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2599) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2600) .. _vp8_frame_header_flags:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2601) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2602) ``Frame Header Flags``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2603) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2604) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2605) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2606) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2607)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2608)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2609)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2610) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2611)     * - ``V4L2_VP8_FRAME_HEADER_FLAG_KEY_FRAME``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2612)       - 0x01
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2613)       - Indicates if the frame is a key frame.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2614)     * - ``V4L2_VP8_FRAME_HEADER_FLAG_EXPERIMENTAL``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2615)       - 0x02
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2616)       - Experimental bitstream.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2617)     * - ``V4L2_VP8_FRAME_HEADER_FLAG_SHOW_FRAME``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2618)       - 0x04
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2619)       - Show frame flag, indicates if the frame is for display.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2620)     * - ``V4L2_VP8_FRAME_HEADER_FLAG_MB_NO_SKIP_COEFF``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2621)       - 0x08
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2622)       - Enable/disable skipping of macroblocks with no non-zero coefficients.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2623)     * - ``V4L2_VP8_FRAME_HEADER_FLAG_SIGN_BIAS_GOLDEN``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2624)       - 0x10
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2625)       - Sign of motion vectors when the golden frame is referenced.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2626)     * - ``V4L2_VP8_FRAME_HEADER_FLAG_SIGN_BIAS_ALT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2627)       - 0x20
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2628)       - Sign of motion vectors when the alt frame is referenced.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2629) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2630) .. c:type:: v4l2_vp8_entropy_coder_state
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2631) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2632) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2633) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2634) .. tabularcolumns:: |p{1.5cm}|p{6.3cm}|p{9.4cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2635) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2636) .. flat-table:: struct v4l2_vp8_entropy_coder_state
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2637)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2638)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2639)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2640) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2641)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2642)       - ``range``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2643)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2644)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2645)       - ``value``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2646)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2647)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2648)       - ``bit_count``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2649)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2650)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2651)       - ``padding``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2652)       - Applications and drivers must set this to zero.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2653) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2654) .. c:type:: v4l2_vp8_segment_header
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2655) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2656) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2657) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2658) .. tabularcolumns:: |p{1.5cm}|p{6.3cm}|p{9.4cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2659) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2660) .. flat-table:: struct v4l2_vp8_segment_header
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2661)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2662)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2663)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2664) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2665)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2666)       - ``quant_update[4]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2667)       - Signed quantizer value update.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2668)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2669)       - ``lf_update[4]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2670)       - Signed loop filter level value update.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2671)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2672)       - ``segment_probs[3]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2673)       - Segment probabilities.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2674)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2675)       - ``padding``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2676)       - Applications and drivers must set this to zero.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2677)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2678)       - ``flags``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2679)       - See :ref:`Segment Header Flags <vp8_segment_header_flags>`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2680) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2681) .. _vp8_segment_header_flags:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2682) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2683) ``Segment Header Flags``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2684) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2685) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2686) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2687) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2688)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2689)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2690)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2691) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2692)     * - ``V4L2_VP8_SEGMENT_HEADER_FLAG_ENABLED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2693)       - 0x01
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2694)       - Enable/disable segment-based adjustments.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2695)     * - ``V4L2_VP8_SEGMENT_HEADER_FLAG_UPDATE_MAP``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2696)       - 0x02
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2697)       - Indicates if the macroblock segmentation map is updated in this frame.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2698)     * - ``V4L2_VP8_SEGMENT_HEADER_FLAG_UPDATE_FEATURE_DATA``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2699)       - 0x04
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2700)       - Indicates if the segment feature data is updated in this frame.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2701)     * - ``V4L2_VP8_SEGMENT_HEADER_FLAG_DELTA_VALUE_MODE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2702)       - 0x08
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2703)       - If is set, the segment feature data mode is delta-value.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2704)         If cleared, it's absolute-value.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2705) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2706) .. c:type:: v4l2_vp8_loopfilter_header
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2707) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2708) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2709) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2710) .. tabularcolumns:: |p{1.5cm}|p{6.3cm}|p{9.4cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2711) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2712) .. flat-table:: struct v4l2_vp8_loopfilter_header
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2713)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2714)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2715)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2716) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2717)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2718)       - ``ref_frm_delta[4]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2719)       - Reference adjustment (signed) delta value.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2720)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2721)       - ``mb_mode_delta[4]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2722)       - Macroblock prediction mode adjustment (signed) delta value.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2723)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2724)       - ``sharpness_level``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2725)       - Sharpness level
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2726)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2727)       - ``level``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2728)       - Filter level
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2729)     * - __u16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2730)       - ``padding``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2731)       - Applications and drivers must set this to zero.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2732)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2733)       - ``flags``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2734)       - See :ref:`Loopfilter Header Flags <vp8_loopfilter_header_flags>`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2735) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2736) .. _vp8_loopfilter_header_flags:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2737) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2738) ``Loopfilter Header Flags``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2739) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2740) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2741) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2742) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2743)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2744)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2745)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2746) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2747)     * - ``V4L2_VP8_LF_HEADER_ADJ_ENABLE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2748)       - 0x01
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2749)       - Enable/disable macroblock-level loop filter adjustment.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2750)     * - ``V4L2_VP8_LF_HEADER_DELTA_UPDATE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2751)       - 0x02
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2752)       - Indicates if the delta values used in an adjustment are updated.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2753)     * - ``V4L2_VP8_LF_FILTER_TYPE_SIMPLE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2754)       - 0x04
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2755)       - If set, indicates the filter type is simple.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2756)         If cleared, the filter type is normal.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2757) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2758) .. c:type:: v4l2_vp8_quantization_header
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2759) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2760) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2761) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2762) .. tabularcolumns:: |p{1.5cm}|p{6.3cm}|p{9.4cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2763) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2764) .. flat-table:: struct v4l2_vp8_quantization_header
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2765)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2766)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2767)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2768) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2769)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2770)       - ``y_ac_qi``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2771)       - Luma AC coefficient table index.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2772)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2773)       - ``y_dc_delta``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2774)       - Luma DC delta vaue.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2775)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2776)       - ``y2_dc_delta``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2777)       - Y2 block DC delta value.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2778)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2779)       - ``y2_ac_delta``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2780)       - Y2 block AC delta value.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2781)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2782)       - ``uv_dc_delta``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2783)       - Chroma DC delta value.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2784)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2785)       - ``uv_ac_delta``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2786)       - Chroma AC delta value.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2787)     * - __u16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2788)       - ``padding``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2789)       - Applications and drivers must set this to zero.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2790) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2791) .. c:type:: v4l2_vp8_entropy_header
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2792) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2793) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2794) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2795) .. tabularcolumns:: |p{1.5cm}|p{6.3cm}|p{9.4cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2796) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2797) .. flat-table:: struct v4l2_vp8_entropy_header
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2798)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2799)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2800)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2801) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2802)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2803)       - ``coeff_probs[4][8][3][11]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2804)       - Coefficient update probabilities.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2805)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2806)       - ``y_mode_probs[4]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2807)       - Luma mode update probabilities.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2808)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2809)       - ``uv_mode_probs[3]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2810)       - Chroma mode update probabilities.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2811)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2812)       - ``mv_probs[2][19]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2813)       - MV decoding update probabilities.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2814)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2815)       - ``padding[3]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2816)       - Applications and drivers must set this to zero.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2817) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2818) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2819) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2820)     \normalsize
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2821) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2822) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2823) MFC 5.1 MPEG Controls
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2824) =====================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2825) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2826) The following MPEG class controls deal with MPEG decoding and encoding
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2827) settings that are specific to the Multi Format Codec 5.1 device present
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2828) in the S5P family of SoCs by Samsung.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2829) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2830) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2831) .. _mfc51-control-id:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2832) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2833) MFC 5.1 Control IDs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2834) -------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2835) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2836) ``V4L2_CID_MPEG_MFC51_VIDEO_DECODER_H264_DISPLAY_DELAY_ENABLE (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2837)     If the display delay is enabled then the decoder is forced to return
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2838)     a CAPTURE buffer (decoded frame) after processing a certain number
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2839)     of OUTPUT buffers. The delay can be set through
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2840)     ``V4L2_CID_MPEG_MFC51_VIDEO_DECODER_H264_DISPLAY_DELAY``. This
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2841)     feature can be used for example for generating thumbnails of videos.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2842)     Applicable to the H264 decoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2843) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2844)     .. note::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2845) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2846)        This control is deprecated. Use the standard
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2847)        ``V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY_ENABLE`` control instead.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2848) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2849) ``V4L2_CID_MPEG_MFC51_VIDEO_DECODER_H264_DISPLAY_DELAY (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2850)     Display delay value for H264 decoder. The decoder is forced to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2851)     return a decoded frame after the set 'display delay' number of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2852)     frames. If this number is low it may result in frames returned out
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2853)     of display order, in addition the hardware may still be using the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2854)     returned buffer as a reference picture for subsequent frames.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2855) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2856)     .. note::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2857) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2858)        This control is deprecated. Use the standard
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2859)        ``V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY`` control instead.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2860) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2861) ``V4L2_CID_MPEG_MFC51_VIDEO_H264_NUM_REF_PIC_FOR_P (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2862)     The number of reference pictures used for encoding a P picture.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2863)     Applicable to the H264 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2864) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2865) ``V4L2_CID_MPEG_MFC51_VIDEO_PADDING (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2866)     Padding enable in the encoder - use a color instead of repeating
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2867)     border pixels. Applicable to encoders.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2868) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2869) ``V4L2_CID_MPEG_MFC51_VIDEO_PADDING_YUV (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2870)     Padding color in the encoder. Applicable to encoders. The supplied
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2871)     32-bit integer is interpreted as follows (bit 0 = least significant
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2872)     bit):
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2873) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2874) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2875) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2876) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2877)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2878)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2879) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2880)     * - Bit 0:7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2881)       - V chrominance information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2882)     * - Bit 8:15
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2883)       - U chrominance information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2884)     * - Bit 16:23
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2885)       - Y luminance information
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2886)     * - Bit 24:31
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2887)       - Must be zero.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2888) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2889) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2890) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2891) ``V4L2_CID_MPEG_MFC51_VIDEO_RC_REACTION_COEFF (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2892)     Reaction coefficient for MFC rate control. Applicable to encoders.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2893) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2894)     .. note::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2895) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2896)        #. Valid only when the frame level RC is enabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2897) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2898)        #. For tight CBR, this field must be small (ex. 2 ~ 10). For
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2899) 	  VBR, this field must be large (ex. 100 ~ 1000).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2900) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2901)        #. It is not recommended to use the greater number than
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2902) 	  FRAME_RATE * (10^9 / BIT_RATE).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2903) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2904) ``V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_DARK (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2905)     Adaptive rate control for dark region. Valid only when H.264 and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2906)     macroblock level RC is enabled
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2907)     (``V4L2_CID_MPEG_VIDEO_MB_RC_ENABLE``). Applicable to the H264
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2908)     encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2909) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2910) ``V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_SMOOTH (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2911)     Adaptive rate control for smooth region. Valid only when H.264 and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2912)     macroblock level RC is enabled
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2913)     (``V4L2_CID_MPEG_VIDEO_MB_RC_ENABLE``). Applicable to the H264
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2914)     encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2915) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2916) ``V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_STATIC (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2917)     Adaptive rate control for static region. Valid only when H.264 and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2918)     macroblock level RC is enabled
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2919)     (``V4L2_CID_MPEG_VIDEO_MB_RC_ENABLE``). Applicable to the H264
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2920)     encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2921) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2922) ``V4L2_CID_MPEG_MFC51_VIDEO_H264_ADAPTIVE_RC_ACTIVITY (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2923)     Adaptive rate control for activity region. Valid only when H.264 and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2924)     macroblock level RC is enabled
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2925)     (``V4L2_CID_MPEG_VIDEO_MB_RC_ENABLE``). Applicable to the H264
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2926)     encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2927) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2928) .. _v4l2-mpeg-mfc51-video-frame-skip-mode:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2929) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2930) ``V4L2_CID_MPEG_MFC51_VIDEO_FRAME_SKIP_MODE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2931)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2932) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2933)     .. note::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2934) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2935)        This control is deprecated. Use the standard
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2936)        ``V4L2_CID_MPEG_VIDEO_FRAME_SKIP_MODE`` control instead.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2937) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2938) enum v4l2_mpeg_mfc51_video_frame_skip_mode -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2939)     Indicates in what conditions the encoder should skip frames. If
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2940)     encoding a frame would cause the encoded stream to be larger then a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2941)     chosen data limit then the frame will be skipped. Possible values
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2942)     are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2943) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2944) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2945) .. tabularcolumns:: |p{9.2cm}|p{8.3cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2946) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2947) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2948) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2949)     \small
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2950) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2951) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2952)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2953)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2954) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2955)     * - ``V4L2_MPEG_MFC51_FRAME_SKIP_MODE_DISABLED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2956)       - Frame skip mode is disabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2957)     * - ``V4L2_MPEG_MFC51_FRAME_SKIP_MODE_LEVEL_LIMIT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2958)       - Frame skip mode enabled and buffer limit is set by the chosen
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2959) 	level and is defined by the standard.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2960)     * - ``V4L2_MPEG_MFC51_FRAME_SKIP_MODE_BUF_LIMIT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2961)       - Frame skip mode enabled and buffer limit is set by the VBV
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2962) 	(MPEG1/2/4) or CPB (H264) buffer size control.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2963) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2964) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2965) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2966)     \normalsize
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2967) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2968) ``V4L2_CID_MPEG_MFC51_VIDEO_RC_FIXED_TARGET_BIT (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2969)     Enable rate-control with fixed target bit. If this setting is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2970)     enabled, then the rate control logic of the encoder will calculate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2971)     the average bitrate for a GOP and keep it below or equal the set
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2972)     bitrate target. Otherwise the rate control logic calculates the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2973)     overall average bitrate for the stream and keeps it below or equal
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2974)     to the set bitrate. In the first case the average bitrate for the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2975)     whole stream will be smaller then the set bitrate. This is caused
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2976)     because the average is calculated for smaller number of frames, on
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2977)     the other hand enabling this setting will ensure that the stream
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2978)     will meet tight bandwidth constraints. Applicable to encoders.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2979) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2980) .. _v4l2-mpeg-mfc51-video-force-frame-type:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2981) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2982) ``V4L2_CID_MPEG_MFC51_VIDEO_FORCE_FRAME_TYPE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2983)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2984) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2985) enum v4l2_mpeg_mfc51_video_force_frame_type -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2986)     Force a frame type for the next queued buffer. Applicable to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2987)     encoders. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2988) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2989) .. tabularcolumns:: |p{9.5cm}|p{8.0cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2990) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2991) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2992)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2993)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2994) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2995)     * - ``V4L2_MPEG_MFC51_FORCE_FRAME_TYPE_DISABLED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2996)       - Forcing a specific frame type disabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2997)     * - ``V4L2_MPEG_MFC51_FORCE_FRAME_TYPE_I_FRAME``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2998)       - Force an I-frame.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2999)     * - ``V4L2_MPEG_MFC51_FORCE_FRAME_TYPE_NOT_CODED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3000)       - Force a non-coded frame.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3001) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3002) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3003) .. _v4l2-mpeg-fwht:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3004) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3005) ``V4L2_CID_MPEG_VIDEO_FWHT_PARAMS (struct)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3006)     Specifies the fwht parameters (as extracted from the bitstream) for the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3007)     associated FWHT data. This includes the necessary parameters for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3008)     configuring a stateless hardware decoding pipeline for FWHT.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3009) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3010)     .. note::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3011) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3012)        This compound control is not yet part of the public kernel API and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3013)        it is expected to change.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3014) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3015) .. c:type:: v4l2_ctrl_fwht_params
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3016) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3017) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3018) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3019) .. tabularcolumns:: |p{1.4cm}|p{4.3cm}|p{11.8cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3020) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3021) .. flat-table:: struct v4l2_ctrl_fwht_params
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3022)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3023)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3024)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3025) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3026)     * - __u64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3027)       - ``backward_ref_ts``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3028)       - Timestamp of the V4L2 capture buffer to use as backward reference, used
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3029)         with P-coded frames. The timestamp refers to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3030) 	``timestamp`` field in struct :c:type:`v4l2_buffer`. Use the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3031) 	:c:func:`v4l2_timeval_to_ns()` function to convert the struct
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3032) 	:c:type:`timeval` in struct :c:type:`v4l2_buffer` to a __u64.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3033)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3034)       - ``version``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3035)       - The version of the codec
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3036)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3037)       - ``width``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3038)       - The width of the frame
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3039)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3040)       - ``height``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3041)       - The height of the frame
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3042)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3043)       - ``flags``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3044)       - The flags of the frame, see :ref:`fwht-flags`.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3045)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3046)       - ``colorspace``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3047)       - The colorspace of the frame, from enum :c:type:`v4l2_colorspace`.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3048)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3049)       - ``xfer_func``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3050)       - The transfer function, from enum :c:type:`v4l2_xfer_func`.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3051)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3052)       - ``ycbcr_enc``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3053)       - The Y'CbCr encoding, from enum :c:type:`v4l2_ycbcr_encoding`.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3054)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3055)       - ``quantization``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3056)       - The quantization range, from enum :c:type:`v4l2_quantization`.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3057) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3058) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3059) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3060) .. _fwht-flags:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3061) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3062) FWHT Flags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3063) ============
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3064) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3065) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3066) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3067) .. tabularcolumns:: |p{6.8cm}|p{2.4cm}|p{8.3cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3068) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3069) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3070)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3071)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3072)     :widths:       3 1 4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3073) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3074)     * - ``FWHT_FL_IS_INTERLACED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3075)       - 0x00000001
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3076)       - Set if this is an interlaced format
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3077)     * - ``FWHT_FL_IS_BOTTOM_FIRST``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3078)       - 0x00000002
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3079)       - Set if this is a bottom-first (NTSC) interlaced format
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3080)     * - ``FWHT_FL_IS_ALTERNATE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3081)       - 0x00000004
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3082)       - Set if each 'frame' contains just one field
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3083)     * - ``FWHT_FL_IS_BOTTOM_FIELD``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3084)       - 0x00000008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3085)       - If FWHT_FL_IS_ALTERNATE was set, then this is set if this 'frame' is the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3086) 	bottom field, else it is the top field.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3087)     * - ``FWHT_FL_LUMA_IS_UNCOMPRESSED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3088)       - 0x00000010
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3089)       - Set if the luma plane is uncompressed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3090)     * - ``FWHT_FL_CB_IS_UNCOMPRESSED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3091)       - 0x00000020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3092)       - Set if the cb plane is uncompressed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3093)     * - ``FWHT_FL_CR_IS_UNCOMPRESSED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3094)       - 0x00000040
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3095)       - Set if the cr plane is uncompressed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3096)     * - ``FWHT_FL_CHROMA_FULL_HEIGHT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3097)       - 0x00000080
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3098)       - Set if the chroma plane has the same height as the luma plane,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3099) 	else the chroma plane is half the height of the luma plane
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3100)     * - ``FWHT_FL_CHROMA_FULL_WIDTH``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3101)       - 0x00000100
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3102)       - Set if the chroma plane has the same width as the luma plane,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3103) 	else the chroma plane is half the width of the luma plane
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3104)     * - ``FWHT_FL_ALPHA_IS_UNCOMPRESSED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3105)       - 0x00000200
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3106)       - Set if the alpha plane is uncompressed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3107)     * - ``FWHT_FL_I_FRAME``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3108)       - 0x00000400
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3109)       - Set if this is an I-frame
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3110)     * - ``FWHT_FL_COMPONENTS_NUM_MSK``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3111)       - 0x00070000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3112)       - A 4-values flag - the number of components - 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3113)     * - ``FWHT_FL_PIXENC_YUV``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3114)       - 0x00080000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3115)       - Set if the pixel encoding is YUV
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3116)     * - ``FWHT_FL_PIXENC_RGB``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3117)       - 0x00100000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3118)       - Set if the pixel encoding is RGB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3119)     * - ``FWHT_FL_PIXENC_HSV``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3120)       - 0x00180000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3121)       - Set if the pixel encoding is HSV
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3122) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3123) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3124) CX2341x MPEG Controls
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3125) =====================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3126) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3127) The following MPEG class controls deal with MPEG encoding settings that
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3128) are specific to the Conexant CX23415 and CX23416 MPEG encoding chips.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3129) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3130) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3131) .. _cx2341x-control-id:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3132) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3133) CX2341x Control IDs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3134) -------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3135) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3136) .. _v4l2-mpeg-cx2341x-video-spatial-filter-mode:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3137) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3138) ``V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3139)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3140) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3141) enum v4l2_mpeg_cx2341x_video_spatial_filter_mode -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3142)     Sets the Spatial Filter mode (default ``MANUAL``). Possible values
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3143)     are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3144) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3145) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3146) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3147) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3148)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3149)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3150) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3151)     * - ``V4L2_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE_MANUAL``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3152)       - Choose the filter manually
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3153)     * - ``V4L2_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE_AUTO``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3154)       - Choose the filter automatically
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3155) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3156) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3157) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3158) ``V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER (integer (0-15))``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3159)     The setting for the Spatial Filter. 0 = off, 15 = maximum. (Default
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3160)     is 0.)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3161) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3162) .. _luma-spatial-filter-type:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3163) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3164) ``V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3165)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3166) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3167) enum v4l2_mpeg_cx2341x_video_luma_spatial_filter_type -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3168)     Select the algorithm to use for the Luma Spatial Filter (default
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3169)     ``1D_HOR``). Possible values:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3170) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3171) .. tabularcolumns:: |p{14.5cm}|p{3.0cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3172) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3173) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3174) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3175)     \small
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3176) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3177) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3178)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3179)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3180) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3181)     * - ``V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_OFF``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3182)       - No filter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3183)     * - ``V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_1D_HOR``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3184)       - One-dimensional horizontal
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3185)     * - ``V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_1D_VERT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3186)       - One-dimensional vertical
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3187)     * - ``V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_2D_HV_SEPARABLE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3188)       - Two-dimensional separable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3189)     * - ``V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_2D_SYM_NON_SEPARABLE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3190)       - Two-dimensional symmetrical non-separable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3191) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3192) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3193) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3194)     \normalsize
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3195) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3196) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3197) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3198) .. _chroma-spatial-filter-type:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3199) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3200) ``V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3201)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3202) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3203) enum v4l2_mpeg_cx2341x_video_chroma_spatial_filter_type -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3204)     Select the algorithm for the Chroma Spatial Filter (default
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3205)     ``1D_HOR``). Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3206) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3207) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3208) .. tabularcolumns:: |p{14.0cm}|p{3.5cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3209) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3210) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3211)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3212)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3213) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3214)     * - ``V4L2_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE_OFF``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3215)       - No filter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3216)     * - ``V4L2_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE_1D_HOR``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3217)       - One-dimensional horizontal
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3218) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3219) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3220) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3221) .. _v4l2-mpeg-cx2341x-video-temporal-filter-mode:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3222) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3223) ``V4L2_CID_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3224)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3225) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3226) enum v4l2_mpeg_cx2341x_video_temporal_filter_mode -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3227)     Sets the Temporal Filter mode (default ``MANUAL``). Possible values
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3228)     are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3229) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3230) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3231) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3232) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3233)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3234)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3235) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3236)     * - ``V4L2_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE_MANUAL``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3237)       - Choose the filter manually
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3238)     * - ``V4L2_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE_AUTO``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3239)       - Choose the filter automatically
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3240) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3241) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3242) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3243) ``V4L2_CID_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER (integer (0-31))``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3244)     The setting for the Temporal Filter. 0 = off, 31 = maximum. (Default
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3245)     is 8 for full-scale capturing and 0 for scaled capturing.)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3246) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3247) .. _v4l2-mpeg-cx2341x-video-median-filter-type:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3248) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3249) ``V4L2_CID_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3250)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3251) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3252) enum v4l2_mpeg_cx2341x_video_median_filter_type -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3253)     Median Filter Type (default ``OFF``). Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3254) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3255) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3256) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3257) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3258)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3259)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3260) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3261)     * - ``V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_OFF``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3262)       - No filter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3263)     * - ``V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_HOR``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3264)       - Horizontal filter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3265)     * - ``V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_VERT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3266)       - Vertical filter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3267)     * - ``V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_HOR_VERT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3268)       - Horizontal and vertical filter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3269)     * - ``V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_DIAG``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3270)       - Diagonal filter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3271) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3272) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3273) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3274) ``V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_BOTTOM (integer (0-255))``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3275)     Threshold above which the luminance median filter is enabled
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3276)     (default 0)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3277) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3278) ``V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_TOP (integer (0-255))``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3279)     Threshold below which the luminance median filter is enabled
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3280)     (default 255)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3281) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3282) ``V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_MEDIAN_FILTER_BOTTOM (integer (0-255))``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3283)     Threshold above which the chroma median filter is enabled (default
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3284)     0)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3285) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3286) ``V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_MEDIAN_FILTER_TOP (integer (0-255))``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3287)     Threshold below which the chroma median filter is enabled (default
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3288)     255)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3289) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3290) ``V4L2_CID_MPEG_CX2341X_STREAM_INSERT_NAV_PACKETS (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3291)     The CX2341X MPEG encoder can insert one empty MPEG-2 PES packet into
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3292)     the stream between every four video frames. The packet size is 2048
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3293)     bytes, including the packet_start_code_prefix and stream_id
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3294)     fields. The stream_id is 0xBF (private stream 2). The payload
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3295)     consists of 0x00 bytes, to be filled in by the application. 0 = do
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3296)     not insert, 1 = insert packets.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3297) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3298) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3299) VPX Control Reference
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3300) =====================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3301) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3302) The VPX controls include controls for encoding parameters of VPx video
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3303) codec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3304) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3305) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3306) .. _vpx-control-id:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3307) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3308) VPX Control IDs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3309) ---------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3310) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3311) .. _v4l2-vpx-num-partitions:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3312) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3313) ``V4L2_CID_MPEG_VIDEO_VPX_NUM_PARTITIONS``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3314)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3315) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3316) enum v4l2_vp8_num_partitions -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3317)     The number of token partitions to use in VP8 encoder. Possible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3318)     values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3319) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3320) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3321) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3322) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3323)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3324)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3325) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3326)     * - ``V4L2_CID_MPEG_VIDEO_VPX_1_PARTITION``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3327)       - 1 coefficient partition
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3328)     * - ``V4L2_CID_MPEG_VIDEO_VPX_2_PARTITIONS``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3329)       - 2 coefficient partitions
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3330)     * - ``V4L2_CID_MPEG_VIDEO_VPX_4_PARTITIONS``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3331)       - 4 coefficient partitions
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3332)     * - ``V4L2_CID_MPEG_VIDEO_VPX_8_PARTITIONS``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3333)       - 8 coefficient partitions
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3334) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3335) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3336) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3337) ``V4L2_CID_MPEG_VIDEO_VPX_IMD_DISABLE_4X4 (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3338)     Setting this prevents intra 4x4 mode in the intra mode decision.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3339) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3340) .. _v4l2-vpx-num-ref-frames:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3341) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3342) ``V4L2_CID_MPEG_VIDEO_VPX_NUM_REF_FRAMES``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3343)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3344) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3345) enum v4l2_vp8_num_ref_frames -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3346)     The number of reference pictures for encoding P frames. Possible
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3347)     values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3348) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3349) .. tabularcolumns:: |p{7.9cm}|p{9.6cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3350) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3351) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3352) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3353)     \small
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3354) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3355) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3356)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3357)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3358) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3359)     * - ``V4L2_CID_MPEG_VIDEO_VPX_1_REF_FRAME``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3360)       - Last encoded frame will be searched
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3361)     * - ``V4L2_CID_MPEG_VIDEO_VPX_2_REF_FRAME``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3362)       - Two frames will be searched among the last encoded frame, the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3363) 	golden frame and the alternate reference (altref) frame. The
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3364) 	encoder implementation will decide which two are chosen.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3365)     * - ``V4L2_CID_MPEG_VIDEO_VPX_3_REF_FRAME``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3366)       - The last encoded frame, the golden frame and the altref frame will
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3367) 	be searched.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3368) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3369) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3370) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3371)     \normalsize
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3372) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3373) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3374) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3375) ``V4L2_CID_MPEG_VIDEO_VPX_FILTER_LEVEL (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3376)     Indicates the loop filter level. The adjustment of the loop filter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3377)     level is done via a delta value against a baseline loop filter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3378)     value.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3379) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3380) ``V4L2_CID_MPEG_VIDEO_VPX_FILTER_SHARPNESS (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3381)     This parameter affects the loop filter. Anything above zero weakens
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3382)     the deblocking effect on the loop filter.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3383) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3384) ``V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_REF_PERIOD (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3385)     Sets the refresh period for the golden frame. The period is defined
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3386)     in number of frames. For a value of 'n', every nth frame starting
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3387)     from the first key frame will be taken as a golden frame. For eg.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3388)     for encoding sequence of 0, 1, 2, 3, 4, 5, 6, 7 where the golden
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3389)     frame refresh period is set as 4, the frames 0, 4, 8 etc will be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3390)     taken as the golden frames as frame 0 is always a key frame.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3391) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3392) .. _v4l2-vpx-golden-frame-sel:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3393) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3394) ``V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_SEL``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3395)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3396) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3397) enum v4l2_vp8_golden_frame_sel -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3398)     Selects the golden frame for encoding. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3399) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3400) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3401) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3402)     \scriptsize
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3403) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3404) .. tabularcolumns:: |p{9.0cm}|p{8.0cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3405) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3406) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3407)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3408)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3409) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3410)     * - ``V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_USE_PREV``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3411)       - Use the (n-2)th frame as a golden frame, current frame index being
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3412) 	'n'.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3413)     * - ``V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_USE_REF_PERIOD``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3414)       - Use the previous specific frame indicated by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3415) 	``V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_REF_PERIOD`` as a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3416) 	golden frame.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3417) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3418) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3419) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3420)     \normalsize
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3421) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3422) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3423) ``V4L2_CID_MPEG_VIDEO_VPX_MIN_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3424)     Minimum quantization parameter for VP8.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3425) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3426) ``V4L2_CID_MPEG_VIDEO_VPX_MAX_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3427)     Maximum quantization parameter for VP8.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3428) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3429) ``V4L2_CID_MPEG_VIDEO_VPX_I_FRAME_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3430)     Quantization parameter for an I frame for VP8.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3431) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3432) ``V4L2_CID_MPEG_VIDEO_VPX_P_FRAME_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3433)     Quantization parameter for a P frame for VP8.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3434) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3435) .. _v4l2-mpeg-video-vp8-profile:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3436) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3437) ``V4L2_CID_MPEG_VIDEO_VP8_PROFILE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3438)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3439) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3440) enum v4l2_mpeg_video_vp8_profile -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3441)     This control allows selecting the profile for VP8 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3442)     This is also used to enumerate supported profiles by VP8 encoder or decoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3443)     Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3444) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3445) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3446)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3447)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3448) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3449)     * - ``V4L2_MPEG_VIDEO_VP8_PROFILE_0``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3450)       - Profile 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3451)     * - ``V4L2_MPEG_VIDEO_VP8_PROFILE_1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3452)       - Profile 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3453)     * - ``V4L2_MPEG_VIDEO_VP8_PROFILE_2``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3454)       - Profile 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3455)     * - ``V4L2_MPEG_VIDEO_VP8_PROFILE_3``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3456)       - Profile 3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3457) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3458) .. _v4l2-mpeg-video-vp9-profile:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3459) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3460) ``V4L2_CID_MPEG_VIDEO_VP9_PROFILE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3461)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3462) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3463) enum v4l2_mpeg_video_vp9_profile -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3464)     This control allows selecting the profile for VP9 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3465)     This is also used to enumerate supported profiles by VP9 encoder or decoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3466)     Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3467) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3468) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3469)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3470)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3471) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3472)     * - ``V4L2_MPEG_VIDEO_VP9_PROFILE_0``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3473)       - Profile 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3474)     * - ``V4L2_MPEG_VIDEO_VP9_PROFILE_1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3475)       - Profile 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3476)     * - ``V4L2_MPEG_VIDEO_VP9_PROFILE_2``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3477)       - Profile 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3478)     * - ``V4L2_MPEG_VIDEO_VP9_PROFILE_3``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3479)       - Profile 3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3480) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3481) .. _v4l2-mpeg-video-vp9-level:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3482) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3483) ``V4L2_CID_MPEG_VIDEO_VP9_LEVEL (enum)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3484) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3485) enum v4l2_mpeg_video_vp9_level -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3486)     This control allows selecting the level for VP9 encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3487)     This is also used to enumerate supported levels by VP9 encoder or decoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3488)     More information can be found at
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3489)     `webmproject <https://www.webmproject.org/vp9/levels/>`__. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3490) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3491) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3492)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3493)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3494) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3495)     * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_1_0``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3496)       - Level 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3497)     * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_1_1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3498)       - Level 1.1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3499)     * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_2_0``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3500)       - Level 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3501)     * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_2_1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3502)       - Level 2.1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3503)     * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_3_0``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3504)       - Level 3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3505)     * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_3_1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3506)       - Level 3.1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3507)     * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_4_0``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3508)       - Level 4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3509)     * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_4_1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3510)       - Level 4.1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3511)     * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_5_0``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3512)       - Level 5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3513)     * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_5_1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3514)       - Level 5.1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3515)     * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_5_2``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3516)       - Level 5.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3517)     * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_6_0``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3518)       - Level 6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3519)     * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_6_1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3520)       - Level 6.1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3521)     * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_6_2``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3522)       - Level 6.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3523) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3524) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3525) High Efficiency Video Coding (HEVC/H.265) Control Reference
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3526) ===========================================================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3527) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3528) The HEVC/H.265 controls include controls for encoding parameters of HEVC/H.265
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3529) video codec.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3530) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3531) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3532) .. _hevc-control-id:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3533) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3534) HEVC/H.265 Control IDs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3535) ----------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3536) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3537) ``V4L2_CID_MPEG_VIDEO_HEVC_MIN_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3538)     Minimum quantization parameter for HEVC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3539)     Valid range: from 0 to 51 for 8 bit and from 0 to 63 for 10 bit.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3540) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3541) ``V4L2_CID_MPEG_VIDEO_HEVC_MAX_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3542)     Maximum quantization parameter for HEVC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3543)     Valid range: from 0 to 51 for 8 bit and from 0 to 63 for 10 bit.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3544) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3545) ``V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3546)     Quantization parameter for an I frame for HEVC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3547)     Valid range: [V4L2_CID_MPEG_VIDEO_HEVC_MIN_QP,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3548)     V4L2_CID_MPEG_VIDEO_HEVC_MAX_QP].
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3549) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3550) ``V4L2_CID_MPEG_VIDEO_HEVC_P_FRAME_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3551)     Quantization parameter for a P frame for HEVC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3552)     Valid range: [V4L2_CID_MPEG_VIDEO_HEVC_MIN_QP,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3553)     V4L2_CID_MPEG_VIDEO_HEVC_MAX_QP].
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3554) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3555) ``V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3556)     Quantization parameter for a B frame for HEVC.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3557)     Valid range: [V4L2_CID_MPEG_VIDEO_HEVC_MIN_QP,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3558)     V4L2_CID_MPEG_VIDEO_HEVC_MAX_QP].
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3559) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3560) ``V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_MIN_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3561)     Minimum quantization parameter for the HEVC I frame to limit I frame
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3562)     quality to a range. Valid range: from 0 to 51 for 8 bit and from 0 to 63 for 10 bit.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3563)     If V4L2_CID_MPEG_VIDEO_HEVC_MIN_QP is also set, the quantization parameter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3564)     should be chosen to meet both requirements.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3565) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3566) ``V4L2_CID_MPEG_VIDEO_HEVC_I_FRAME_MAX_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3567)     Maximum quantization parameter for the HEVC I frame to limit I frame
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3568)     quality to a range. Valid range: from 0 to 51 for 8 bit and from 0 to 63 for 10 bit.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3569)     If V4L2_CID_MPEG_VIDEO_HEVC_MAX_QP is also set, the quantization parameter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3570)     should be chosen to meet both requirements.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3571) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3572) ``V4L2_CID_MPEG_VIDEO_HEVC_P_FRAME_MIN_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3573)     Minimum quantization parameter for the HEVC P frame to limit P frame
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3574)     quality to a range. Valid range: from 0 to 51 for 8 bit and from 0 to 63 for 10 bit.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3575)     If V4L2_CID_MPEG_VIDEO_HEVC_MIN_QP is also set, the quantization parameter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3576)     should be chosen to meet both requirements.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3577) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3578) ``V4L2_CID_MPEG_VIDEO_HEVC_P_FRAME_MAX_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3579)     Maximum quantization parameter for the HEVC P frame to limit P frame
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3580)     quality to a range. Valid range: from 0 to 51 for 8 bit and from 0 to 63 for 10 bit.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3581)     If V4L2_CID_MPEG_VIDEO_HEVC_MAX_QP is also set, the quantization parameter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3582)     should be chosen to meet both requirements.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3583) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3584) ``V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_MIN_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3585)     Minimum quantization parameter for the HEVC B frame to limit B frame
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3586)     quality to a range. Valid range: from 0 to 51 for 8 bit and from 0 to 63 for 10 bit.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3587)     If V4L2_CID_MPEG_VIDEO_HEVC_MIN_QP is also set, the quantization parameter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3588)     should be chosen to meet both requirements.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3589) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3590) ``V4L2_CID_MPEG_VIDEO_HEVC_B_FRAME_MAX_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3591)     Maximum quantization parameter for the HEVC B frame to limit B frame
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3592)     quality to a range. Valid range: from 0 to 51 for 8 bit and from 0 to 63 for 10 bit.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3593)     If V4L2_CID_MPEG_VIDEO_HEVC_MAX_QP is also set, the quantization parameter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3594)     should be chosen to meet both requirements.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3595) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3596) ``V4L2_CID_MPEG_VIDEO_HEVC_HIER_QP (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3597)     HIERARCHICAL_QP allows the host to specify the quantization parameter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3598)     values for each temporal layer through HIERARCHICAL_QP_LAYER. This is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3599)     valid only if HIERARCHICAL_CODING_LAYER is greater than 1. Setting the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3600)     control value to 1 enables setting of the QP values for the layers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3601) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3602) .. _v4l2-hevc-hier-coding-type:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3603) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3604) ``V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_TYPE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3605)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3606) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3607) enum v4l2_mpeg_video_hevc_hier_coding_type -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3608)     Selects the hierarchical coding type for encoding. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3609) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3610) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3611) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3612)     \footnotesize
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3613) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3614) .. tabularcolumns:: |p{9.0cm}|p{8.0cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3615) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3616) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3617)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3618)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3619) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3620)     * - ``V4L2_MPEG_VIDEO_HEVC_HIERARCHICAL_CODING_B``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3621)       - Use the B frame for hierarchical coding.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3622)     * - ``V4L2_MPEG_VIDEO_HEVC_HIERARCHICAL_CODING_P``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3623)       - Use the P frame for hierarchical coding.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3624) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3625) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3626) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3627)     \normalsize
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3628) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3629) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3630) ``V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_LAYER (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3631)     Selects the hierarchical coding layer. In normal encoding
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3632)     (non-hierarchial coding), it should be zero. Possible values are [0, 6].
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3633)     0 indicates HIERARCHICAL CODING LAYER 0, 1 indicates HIERARCHICAL CODING
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3634)     LAYER 1 and so on.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3635) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3636) ``V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L0_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3637)     Indicates quantization parameter for hierarchical coding layer 0.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3638)     Valid range: [V4L2_CID_MPEG_VIDEO_HEVC_MIN_QP,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3639)     V4L2_CID_MPEG_VIDEO_HEVC_MAX_QP].
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3640) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3641) ``V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L1_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3642)     Indicates quantization parameter for hierarchical coding layer 1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3643)     Valid range: [V4L2_CID_MPEG_VIDEO_HEVC_MIN_QP,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3644)     V4L2_CID_MPEG_VIDEO_HEVC_MAX_QP].
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3645) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3646) ``V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L2_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3647)     Indicates quantization parameter for hierarchical coding layer 2.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3648)     Valid range: [V4L2_CID_MPEG_VIDEO_HEVC_MIN_QP,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3649)     V4L2_CID_MPEG_VIDEO_HEVC_MAX_QP].
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3650) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3651) ``V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L3_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3652)     Indicates quantization parameter for hierarchical coding layer 3.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3653)     Valid range: [V4L2_CID_MPEG_VIDEO_HEVC_MIN_QP,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3654)     V4L2_CID_MPEG_VIDEO_HEVC_MAX_QP].
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3655) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3656) ``V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L4_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3657)     Indicates quantization parameter for hierarchical coding layer 4.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3658)     Valid range: [V4L2_CID_MPEG_VIDEO_HEVC_MIN_QP,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3659)     V4L2_CID_MPEG_VIDEO_HEVC_MAX_QP].
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3660) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3661) ``V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L5_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3662)     Indicates quantization parameter for hierarchical coding layer 5.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3663)     Valid range: [V4L2_CID_MPEG_VIDEO_HEVC_MIN_QP,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3664)     V4L2_CID_MPEG_VIDEO_HEVC_MAX_QP].
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3665) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3666) ``V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L6_QP (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3667)     Indicates quantization parameter for hierarchical coding layer 6.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3668)     Valid range: [V4L2_CID_MPEG_VIDEO_HEVC_MIN_QP,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3669)     V4L2_CID_MPEG_VIDEO_HEVC_MAX_QP].
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3670) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3671) .. _v4l2-hevc-profile:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3672) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3673) ``V4L2_CID_MPEG_VIDEO_HEVC_PROFILE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3674)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3675) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3676) enum v4l2_mpeg_video_hevc_profile -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3677)     Select the desired profile for HEVC encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3678) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3679) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3680) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3681)     \footnotesize
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3682) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3683) .. tabularcolumns:: |p{9.0cm}|p{8.0cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3684) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3685) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3686)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3687)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3688) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3689)     * - ``V4L2_MPEG_VIDEO_HEVC_PROFILE_MAIN``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3690)       - Main profile.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3691)     * - ``V4L2_MPEG_VIDEO_HEVC_PROFILE_MAIN_STILL_PICTURE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3692)       - Main still picture profile.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3693)     * - ``V4L2_MPEG_VIDEO_HEVC_PROFILE_MAIN_10``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3694)       - Main 10 profile.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3695) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3696) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3697) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3698)     \normalsize
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3699) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3700) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3701) .. _v4l2-hevc-level:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3702) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3703) ``V4L2_CID_MPEG_VIDEO_HEVC_LEVEL``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3704)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3705) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3706) enum v4l2_mpeg_video_hevc_level -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3707)     Selects the desired level for HEVC encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3708) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3709) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3710) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3711)     \footnotesize
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3712) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3713) .. tabularcolumns:: |p{9.0cm}|p{8.0cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3714) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3715) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3716)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3717)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3718) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3719)     * - ``V4L2_MPEG_VIDEO_HEVC_LEVEL_1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3720)       - Level 1.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3721)     * - ``V4L2_MPEG_VIDEO_HEVC_LEVEL_2``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3722)       - Level 2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3723)     * - ``V4L2_MPEG_VIDEO_HEVC_LEVEL_2_1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3724)       - Level 2.1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3725)     * - ``V4L2_MPEG_VIDEO_HEVC_LEVEL_3``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3726)       - Level 3.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3727)     * - ``V4L2_MPEG_VIDEO_HEVC_LEVEL_3_1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3728)       - Level 3.1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3729)     * - ``V4L2_MPEG_VIDEO_HEVC_LEVEL_4``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3730)       - Level 4.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3731)     * - ``V4L2_MPEG_VIDEO_HEVC_LEVEL_4_1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3732)       - Level 4.1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3733)     * - ``V4L2_MPEG_VIDEO_HEVC_LEVEL_5``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3734)       - Level 5.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3735)     * - ``V4L2_MPEG_VIDEO_HEVC_LEVEL_5_1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3736)       - Level 5.1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3737)     * - ``V4L2_MPEG_VIDEO_HEVC_LEVEL_5_2``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3738)       - Level 5.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3739)     * - ``V4L2_MPEG_VIDEO_HEVC_LEVEL_6``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3740)       - Level 6.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3741)     * - ``V4L2_MPEG_VIDEO_HEVC_LEVEL_6_1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3742)       - Level 6.1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3743)     * - ``V4L2_MPEG_VIDEO_HEVC_LEVEL_6_2``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3744)       - Level 6.2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3745) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3746) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3747) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3748)     \normalsize
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3749) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3750) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3751) ``V4L2_CID_MPEG_VIDEO_HEVC_FRAME_RATE_RESOLUTION (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3752)     Indicates the number of evenly spaced subintervals, called ticks, within
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3753)     one second. This is a 16 bit unsigned integer and has a maximum value up to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3754)     0xffff and a minimum value of 1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3755) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3756) .. _v4l2-hevc-tier:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3757) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3758) ``V4L2_CID_MPEG_VIDEO_HEVC_TIER``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3759)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3760) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3761) enum v4l2_mpeg_video_hevc_tier -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3762)     TIER_FLAG specifies tiers information of the HEVC encoded picture. Tier
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3763)     were made to deal with applications that differ in terms of maximum bit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3764)     rate. Setting the flag to 0 selects HEVC tier as Main tier and setting
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3765)     this flag to 1 indicates High tier. High tier is for applications requiring
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3766)     high bit rates.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3767) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3768) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3769) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3770)     \footnotesize
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3771) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3772) .. tabularcolumns:: |p{9.0cm}|p{8.0cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3773) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3774) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3775)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3776)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3777) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3778)     * - ``V4L2_MPEG_VIDEO_HEVC_TIER_MAIN``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3779)       - Main tier.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3780)     * - ``V4L2_MPEG_VIDEO_HEVC_TIER_HIGH``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3781)       - High tier.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3782) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3783) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3784) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3785)     \normalsize
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3786) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3787) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3788) ``V4L2_CID_MPEG_VIDEO_HEVC_MAX_PARTITION_DEPTH (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3789)     Selects HEVC maximum coding unit depth.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3790) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3791) .. _v4l2-hevc-loop-filter-mode:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3792) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3793) ``V4L2_CID_MPEG_VIDEO_HEVC_LOOP_FILTER_MODE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3794)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3795) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3796) enum v4l2_mpeg_video_hevc_loop_filter_mode -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3797)     Loop filter mode for HEVC encoder. Possible values are:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3798) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3799) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3800) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3801)     \footnotesize
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3802) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3803) .. tabularcolumns:: |p{12.1cm}|p{5.4cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3804) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3805) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3806)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3807)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3808) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3809)     * - ``V4L2_MPEG_VIDEO_HEVC_LOOP_FILTER_MODE_DISABLED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3810)       - Loop filter is disabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3811)     * - ``V4L2_MPEG_VIDEO_HEVC_LOOP_FILTER_MODE_ENABLED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3812)       - Loop filter is enabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3813)     * - ``V4L2_MPEG_VIDEO_HEVC_LOOP_FILTER_MODE_DISABLED_AT_SLICE_BOUNDARY``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3814)       - Loop filter is disabled at the slice boundary.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3815) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3816) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3817) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3818)     \normalsize
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3819) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3820) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3821) ``V4L2_CID_MPEG_VIDEO_HEVC_LF_BETA_OFFSET_DIV2 (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3822)     Selects HEVC loop filter beta offset. The valid range is [-6, +6].
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3823) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3824) ``V4L2_CID_MPEG_VIDEO_HEVC_LF_TC_OFFSET_DIV2 (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3825)     Selects HEVC loop filter tc offset. The valid range is [-6, +6].
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3826) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3827) .. _v4l2-hevc-refresh-type:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3828) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3829) ``V4L2_CID_MPEG_VIDEO_HEVC_REFRESH_TYPE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3830)     (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3831) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3832) enum v4l2_mpeg_video_hevc_hier_refresh_type -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3833)     Selects refresh type for HEVC encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3834)     Host has to specify the period into
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3835)     V4L2_CID_MPEG_VIDEO_HEVC_REFRESH_PERIOD.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3836) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3837) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3838) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3839)     \footnotesize
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3840) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3841) .. tabularcolumns:: |p{8.0cm}|p{9.0cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3842) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3843) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3844)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3845)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3846) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3847)     * - ``V4L2_MPEG_VIDEO_HEVC_REFRESH_NONE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3848)       - Use the B frame for hierarchical coding.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3849)     * - ``V4L2_MPEG_VIDEO_HEVC_REFRESH_CRA``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3850)       - Use CRA (Clean Random Access Unit) picture encoding.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3851)     * - ``V4L2_MPEG_VIDEO_HEVC_REFRESH_IDR``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3852)       - Use IDR (Instantaneous Decoding Refresh) picture encoding.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3853) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3854) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3855) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3856)     \normalsize
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3857) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3858) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3859) ``V4L2_CID_MPEG_VIDEO_HEVC_REFRESH_PERIOD (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3860)     Selects the refresh period for HEVC encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3861)     This specifies the number of I pictures between two CRA/IDR pictures.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3862)     This is valid only if REFRESH_TYPE is not 0.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3863) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3864) ``V4L2_CID_MPEG_VIDEO_HEVC_LOSSLESS_CU (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3865)     Indicates HEVC lossless encoding. Setting it to 0 disables lossless
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3866)     encoding. Setting it to 1 enables lossless encoding.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3867) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3868) ``V4L2_CID_MPEG_VIDEO_HEVC_CONST_INTRA_PRED (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3869)     Indicates constant intra prediction for HEVC encoder. Specifies the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3870)     constrained intra prediction in which intra largest coding unit (LCU)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3871)     prediction is performed by using residual data and decoded samples of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3872)     neighboring intra LCU only. Setting the value to 1 enables constant intra
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3873)     prediction and setting the value to 0 disables constant intra prediction.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3874) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3875) ``V4L2_CID_MPEG_VIDEO_HEVC_WAVEFRONT (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3876)     Indicates wavefront parallel processing for HEVC encoder. Setting it to 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3877)     disables the feature and setting it to 1 enables the wavefront parallel
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3878)     processing.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3879) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3880) ``V4L2_CID_MPEG_VIDEO_HEVC_GENERAL_PB (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3881)     Setting the value to 1 enables combination of P and B frame for HEVC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3882)     encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3883) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3884) ``V4L2_CID_MPEG_VIDEO_HEVC_TEMPORAL_ID (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3885)     Indicates temporal identifier for HEVC encoder which is enabled by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3886)     setting the value to 1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3887) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3888) ``V4L2_CID_MPEG_VIDEO_HEVC_STRONG_SMOOTHING (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3889)     Indicates bi-linear interpolation is conditionally used in the intra
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3890)     prediction filtering process in the CVS when set to 1. Indicates bi-linear
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3891)     interpolation is not used in the CVS when set to 0.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3892) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3893) ``V4L2_CID_MPEG_VIDEO_HEVC_MAX_NUM_MERGE_MV_MINUS1 (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3894)     Indicates maximum number of merge candidate motion vectors.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3895)     Values are from 0 to 4.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3896) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3897) ``V4L2_CID_MPEG_VIDEO_HEVC_TMV_PREDICTION (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3898)     Indicates temporal motion vector prediction for HEVC encoder. Setting it to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3899)     1 enables the prediction. Setting it to 0 disables the prediction.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3900) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3901) ``V4L2_CID_MPEG_VIDEO_HEVC_WITHOUT_STARTCODE (boolean)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3902)     Specifies if HEVC generates a stream with a size of the length field
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3903)     instead of start code pattern. The size of the length field is configurable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3904)     through the V4L2_CID_MPEG_VIDEO_HEVC_SIZE_OF_LENGTH_FIELD control. Setting
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3905)     the value to 0 disables encoding without startcode pattern. Setting the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3906)     value to 1 will enables encoding without startcode pattern.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3907) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3908) .. _v4l2-hevc-size-of-length-field:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3909) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3910) ``V4L2_CID_MPEG_VIDEO_HEVC_SIZE_OF_LENGTH_FIELD``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3911) (enum)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3912) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3913) enum v4l2_mpeg_video_hevc_size_of_length_field -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3914)     Indicates the size of length field.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3915)     This is valid when encoding WITHOUT_STARTCODE_ENABLE is enabled.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3916) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3917) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3918) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3919)     \footnotesize
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3920) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3921) .. tabularcolumns:: |p{6.0cm}|p{11.0cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3922) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3923) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3924)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3925)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3926) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3927)     * - ``V4L2_MPEG_VIDEO_HEVC_SIZE_0``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3928)       - Generate start code pattern (Normal).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3929)     * - ``V4L2_MPEG_VIDEO_HEVC_SIZE_1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3930)       - Generate size of length field instead of start code pattern and length is 1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3931)     * - ``V4L2_MPEG_VIDEO_HEVC_SIZE_2``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3932)       - Generate size of length field instead of start code pattern and length is 2.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3933)     * - ``V4L2_MPEG_VIDEO_HEVC_SIZE_4``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3934)       - Generate size of length field instead of start code pattern and length is 4.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3935) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3936) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3937) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3938)     \normalsize
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3939) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3940) ``V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L0_BR (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3941)     Indicates bit rate for hierarchical coding layer 0 for HEVC encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3942) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3943) ``V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L1_BR (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3944)     Indicates bit rate for hierarchical coding layer 1 for HEVC encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3945) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3946) ``V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L2_BR (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3947)     Indicates bit rate for hierarchical coding layer 2 for HEVC encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3948) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3949) ``V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L3_BR (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3950)     Indicates bit rate for hierarchical coding layer 3 for HEVC encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3951) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3952) ``V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L4_BR (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3953)     Indicates bit rate for hierarchical coding layer 4 for HEVC encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3954) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3955) ``V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L5_BR (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3956)     Indicates bit rate for hierarchical coding layer 5 for HEVC encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3957) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3958) ``V4L2_CID_MPEG_VIDEO_HEVC_HIER_CODING_L6_BR (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3959)     Indicates bit rate for hierarchical coding layer 6 for HEVC encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3960) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3961) ``V4L2_CID_MPEG_VIDEO_REF_NUMBER_FOR_PFRAMES (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3962)     Selects number of P reference pictures required for HEVC encoder.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3963)     P-Frame can use 1 or 2 frames for reference.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3964) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3965) ``V4L2_CID_MPEG_VIDEO_PREPEND_SPSPPS_TO_IDR (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3966)     Indicates whether to generate SPS and PPS at every IDR. Setting it to 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3967)     disables generating SPS and PPS at every IDR. Setting it to one enables
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3968)     generating SPS and PPS at every IDR.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3969) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3970) .. _v4l2-mpeg-hevc:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3971) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3972) ``V4L2_CID_MPEG_VIDEO_HEVC_SPS (struct)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3973)     Specifies the Sequence Parameter Set fields (as extracted from the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3974)     bitstream) for the associated HEVC slice data.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3975)     These bitstream parameters are defined according to :ref:`hevc`.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3976)     They are described in section 7.4.3.2 "Sequence parameter set RBSP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3977)     semantics" of the specification.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3978) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3979) .. c:type:: v4l2_ctrl_hevc_sps
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3980) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3981) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3982) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3983) .. flat-table:: struct v4l2_ctrl_hevc_sps
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3984)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3985)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3986)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3987) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3988)     * - __u16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3989)       - ``pic_width_in_luma_samples``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3990)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3991)     * - __u16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3992)       - ``pic_height_in_luma_samples``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3993)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3994)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3995)       - ``bit_depth_luma_minus8``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3996)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3997)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3998)       - ``bit_depth_chroma_minus8``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3999)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4000)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4001)       - ``log2_max_pic_order_cnt_lsb_minus4``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4002)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4003)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4004)       - ``sps_max_dec_pic_buffering_minus1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4005)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4006)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4007)       - ``sps_max_num_reorder_pics``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4008)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4009)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4010)       - ``sps_max_latency_increase_plus1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4011)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4012)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4013)       - ``log2_min_luma_coding_block_size_minus3``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4014)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4015)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4016)       - ``log2_diff_max_min_luma_coding_block_size``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4017)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4018)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4019)       - ``log2_min_luma_transform_block_size_minus2``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4020)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4021)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4022)       - ``log2_diff_max_min_luma_transform_block_size``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4023)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4024)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4025)       - ``max_transform_hierarchy_depth_inter``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4026)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4027)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4028)       - ``max_transform_hierarchy_depth_intra``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4029)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4030)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4031)       - ``pcm_sample_bit_depth_luma_minus1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4032)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4033)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4034)       - ``pcm_sample_bit_depth_chroma_minus1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4035)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4036)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4037)       - ``log2_min_pcm_luma_coding_block_size_minus3``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4038)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4039)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4040)       - ``log2_diff_max_min_pcm_luma_coding_block_size``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4041)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4042)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4043)       - ``num_short_term_ref_pic_sets``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4044)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4045)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4046)       - ``num_long_term_ref_pics_sps``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4047)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4048)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4049)       - ``chroma_format_idc``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4050)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4051)     * - __u64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4052)       - ``flags``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4053)       - See :ref:`Sequence Parameter Set Flags <hevc_sps_flags>`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4054) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4055) .. _hevc_sps_flags:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4056) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4057) ``Sequence Parameter Set Flags``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4058) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4059) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4060) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4061) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4062)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4063)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4064)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4065) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4066)     * - ``V4L2_HEVC_SPS_FLAG_SEPARATE_COLOUR_PLANE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4067)       - 0x00000001
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4068)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4069)     * - ``V4L2_HEVC_SPS_FLAG_SCALING_LIST_ENABLED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4070)       - 0x00000002
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4071)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4072)     * - ``V4L2_HEVC_SPS_FLAG_AMP_ENABLED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4073)       - 0x00000004
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4074)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4075)     * - ``V4L2_HEVC_SPS_FLAG_SAMPLE_ADAPTIVE_OFFSET``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4076)       - 0x00000008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4077)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4078)     * - ``V4L2_HEVC_SPS_FLAG_PCM_ENABLED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4079)       - 0x00000010
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4080)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4081)     * - ``V4L2_HEVC_SPS_FLAG_PCM_LOOP_FILTER_DISABLED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4082)       - 0x00000020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4083)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4084)     * - ``V4L2_HEVC_SPS_FLAG_LONG_TERM_REF_PICS_PRESENT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4085)       - 0x00000040
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4086)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4087)     * - ``V4L2_HEVC_SPS_FLAG_SPS_TEMPORAL_MVP_ENABLED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4088)       - 0x00000080
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4089)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4090)     * - ``V4L2_HEVC_SPS_FLAG_STRONG_INTRA_SMOOTHING_ENABLED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4091)       - 0x00000100
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4092)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4093) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4094) ``V4L2_CID_MPEG_VIDEO_HEVC_PPS (struct)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4095)     Specifies the Picture Parameter Set fields (as extracted from the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4096)     bitstream) for the associated HEVC slice data.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4097)     These bitstream parameters are defined according to :ref:`hevc`.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4098)     They are described in section 7.4.3.3 "Picture parameter set RBSP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4099)     semantics" of the specification.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4100) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4101) .. c:type:: v4l2_ctrl_hevc_pps
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4102) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4103) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4104) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4105) .. flat-table:: struct v4l2_ctrl_hevc_pps
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4106)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4107)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4108)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4109) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4110)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4111)       - ``num_extra_slice_header_bits``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4112)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4113)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4114)       - ``init_qp_minus26``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4115)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4116)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4117)       - ``diff_cu_qp_delta_depth``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4118)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4119)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4120)       - ``pps_cb_qp_offset``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4121)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4122)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4123)       - ``pps_cr_qp_offset``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4124)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4125)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4126)       - ``num_tile_columns_minus1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4127)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4128)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4129)       - ``num_tile_rows_minus1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4130)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4131)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4132)       - ``column_width_minus1[20]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4133)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4134)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4135)       - ``row_height_minus1[22]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4136)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4137)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4138)       - ``pps_beta_offset_div2``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4139)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4140)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4141)       - ``pps_tc_offset_div2``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4142)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4143)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4144)       - ``log2_parallel_merge_level_minus2``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4145)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4146)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4147)       - ``padding[4]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4148)       - Applications and drivers must set this to zero.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4149)     * - __u64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4150)       - ``flags``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4151)       - See :ref:`Picture Parameter Set Flags <hevc_pps_flags>`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4152) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4153) .. _hevc_pps_flags:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4154) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4155) ``Picture Parameter Set Flags``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4156) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4157) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4158) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4159) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4160)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4161)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4162)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4163) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4164)     * - ``V4L2_HEVC_PPS_FLAG_DEPENDENT_SLICE_SEGMENT_ENABLED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4165)       - 0x00000001
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4166)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4167)     * - ``V4L2_HEVC_PPS_FLAG_OUTPUT_FLAG_PRESENT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4168)       - 0x00000002
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4169)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4170)     * - ``V4L2_HEVC_PPS_FLAG_SIGN_DATA_HIDING_ENABLED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4171)       - 0x00000004
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4172)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4173)     * - ``V4L2_HEVC_PPS_FLAG_CABAC_INIT_PRESENT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4174)       - 0x00000008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4175)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4176)     * - ``V4L2_HEVC_PPS_FLAG_CONSTRAINED_INTRA_PRED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4177)       - 0x00000010
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4178)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4179)     * - ``V4L2_HEVC_PPS_FLAG_TRANSFORM_SKIP_ENABLED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4180)       - 0x00000020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4181)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4182)     * - ``V4L2_HEVC_PPS_FLAG_CU_QP_DELTA_ENABLED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4183)       - 0x00000040
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4184)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4185)     * - ``V4L2_HEVC_PPS_FLAG_PPS_SLICE_CHROMA_QP_OFFSETS_PRESENT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4186)       - 0x00000080
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4187)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4188)     * - ``V4L2_HEVC_PPS_FLAG_WEIGHTED_PRED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4189)       - 0x00000100
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4190)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4191)     * - ``V4L2_HEVC_PPS_FLAG_WEIGHTED_BIPRED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4192)       - 0x00000200
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4193)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4194)     * - ``V4L2_HEVC_PPS_FLAG_TRANSQUANT_BYPASS_ENABLED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4195)       - 0x00000400
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4196)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4197)     * - ``V4L2_HEVC_PPS_FLAG_TILES_ENABLED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4198)       - 0x00000800
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4199)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4200)     * - ``V4L2_HEVC_PPS_FLAG_ENTROPY_CODING_SYNC_ENABLED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4201)       - 0x00001000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4202)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4203)     * - ``V4L2_HEVC_PPS_FLAG_LOOP_FILTER_ACROSS_TILES_ENABLED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4204)       - 0x00002000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4205)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4206)     * - ``V4L2_HEVC_PPS_FLAG_PPS_LOOP_FILTER_ACROSS_SLICES_ENABLED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4207)       - 0x00004000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4208)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4209)     * - ``V4L2_HEVC_PPS_FLAG_DEBLOCKING_FILTER_OVERRIDE_ENABLED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4210)       - 0x00008000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4211)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4212)     * - ``V4L2_HEVC_PPS_FLAG_PPS_DISABLE_DEBLOCKING_FILTER``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4213)       - 0x00010000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4214)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4215)     * - ``V4L2_HEVC_PPS_FLAG_LISTS_MODIFICATION_PRESENT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4216)       - 0x00020000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4217)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4218)     * - ``V4L2_HEVC_PPS_FLAG_SLICE_SEGMENT_HEADER_EXTENSION_PRESENT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4219)       - 0x00040000
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4220)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4221) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4222) ``V4L2_CID_MPEG_VIDEO_HEVC_SLICE_PARAMS (struct)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4223)     Specifies various slice-specific parameters, especially from the NAL unit
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4224)     header, general slice segment header and weighted prediction parameter
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4225)     parts of the bitstream.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4226)     These bitstream parameters are defined according to :ref:`hevc`.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4227)     They are described in section 7.4.7 "General slice segment header
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4228)     semantics" of the specification.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4229) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4230) .. c:type:: v4l2_ctrl_hevc_slice_params
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4231) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4232) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4233) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4234) .. flat-table:: struct v4l2_ctrl_hevc_slice_params
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4235)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4236)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4237)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4238) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4239)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4240)       - ``bit_size``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4241)       - Size (in bits) of the current slice data.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4242)     * - __u32
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4243)       - ``data_bit_offset``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4244)       - Offset (in bits) to the video data in the current slice data.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4245)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4246)       - ``nal_unit_type``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4247)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4248)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4249)       - ``nuh_temporal_id_plus1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4250)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4251)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4252)       - ``slice_type``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4253)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4254) 	(V4L2_HEVC_SLICE_TYPE_I, V4L2_HEVC_SLICE_TYPE_P or
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4255) 	V4L2_HEVC_SLICE_TYPE_B).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4256)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4257)       - ``colour_plane_id``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4258)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4259)     * - __u16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4260)       - ``slice_pic_order_cnt``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4261)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4262)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4263)       - ``num_ref_idx_l0_active_minus1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4264)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4265)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4266)       - ``num_ref_idx_l1_active_minus1``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4267)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4268)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4269)       - ``collocated_ref_idx``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4270)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4271)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4272)       - ``five_minus_max_num_merge_cand``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4273)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4274)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4275)       - ``slice_qp_delta``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4276)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4277)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4278)       - ``slice_cb_qp_offset``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4279)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4280)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4281)       - ``slice_cr_qp_offset``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4282)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4283)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4284)       - ``slice_act_y_qp_offset``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4285)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4286)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4287)       - ``slice_act_cb_qp_offset``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4288)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4289)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4290)       - ``slice_act_cr_qp_offset``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4291)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4292)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4293)       - ``slice_beta_offset_div2``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4294)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4295)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4296)       - ``slice_tc_offset_div2``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4297)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4298)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4299)       - ``pic_struct``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4300)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4301)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4302)       - ``num_active_dpb_entries``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4303)       - The number of entries in ``dpb``.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4304)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4305)       - ``ref_idx_l0[V4L2_HEVC_DPB_ENTRIES_NUM_MAX]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4306)       - The list of L0 reference elements as indices in the DPB.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4307)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4308)       - ``ref_idx_l1[V4L2_HEVC_DPB_ENTRIES_NUM_MAX]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4309)       - The list of L1 reference elements as indices in the DPB.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4310)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4311)       - ``num_rps_poc_st_curr_before``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4312)       - The number of reference pictures in the short-term set that come before
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4313)         the current frame.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4314)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4315)       - ``num_rps_poc_st_curr_after``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4316)       - The number of reference pictures in the short-term set that come after
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4317)         the current frame.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4318)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4319)       - ``num_rps_poc_lt_curr``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4320)       - The number of reference pictures in the long-term set.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4321)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4322)       - ``padding[7]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4323)       - Applications and drivers must set this to zero.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4324)     * - struct :c:type:`v4l2_hevc_dpb_entry`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4325)       - ``dpb[V4L2_HEVC_DPB_ENTRIES_NUM_MAX]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4326)       - The decoded picture buffer, for meta-data about reference frames.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4327)     * - struct :c:type:`v4l2_hevc_pred_weight_table`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4328)       - ``pred_weight_table``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4329)       - The prediction weight coefficients for inter-picture prediction.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4330)     * - __u64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4331)       - ``flags``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4332)       - See :ref:`Slice Parameters Flags <hevc_slice_params_flags>`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4333) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4334) .. _hevc_slice_params_flags:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4335) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4336) ``Slice Parameters Flags``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4337) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4338) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4339) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4340) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4341)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4342)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4343)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4344) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4345)     * - ``V4L2_HEVC_SLICE_PARAMS_FLAG_SLICE_SAO_LUMA``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4346)       - 0x00000001
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4347)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4348)     * - ``V4L2_HEVC_SLICE_PARAMS_FLAG_SLICE_SAO_CHROMA``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4349)       - 0x00000002
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4350)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4351)     * - ``V4L2_HEVC_SLICE_PARAMS_FLAG_SLICE_TEMPORAL_MVP_ENABLED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4352)       - 0x00000004
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4353)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4354)     * - ``V4L2_HEVC_SLICE_PARAMS_FLAG_MVD_L1_ZERO``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4355)       - 0x00000008
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4356)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4357)     * - ``V4L2_HEVC_SLICE_PARAMS_FLAG_CABAC_INIT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4358)       - 0x00000010
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4359)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4360)     * - ``V4L2_HEVC_SLICE_PARAMS_FLAG_COLLOCATED_FROM_L0``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4361)       - 0x00000020
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4362)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4363)     * - ``V4L2_HEVC_SLICE_PARAMS_FLAG_USE_INTEGER_MV``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4364)       - 0x00000040
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4365)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4366)     * - ``V4L2_HEVC_SLICE_PARAMS_FLAG_SLICE_DEBLOCKING_FILTER_DISABLED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4367)       - 0x00000080
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4368)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4369)     * - ``V4L2_HEVC_SLICE_PARAMS_FLAG_SLICE_LOOP_FILTER_ACROSS_SLICES_ENABLED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4370)       - 0x00000100
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4371)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4372)     * - ``V4L2_HEVC_SLICE_PARAMS_FLAG_DEPENDENT_SLICE_SEGMENT``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4373)       - 0x00000200
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4374)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4375) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4376) .. c:type:: v4l2_hevc_dpb_entry
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4377) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4378) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4379) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4380) .. flat-table:: struct v4l2_hevc_dpb_entry
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4381)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4382)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4383)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4384) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4385)     * - __u64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4386)       - ``timestamp``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4387)       - Timestamp of the V4L2 capture buffer to use as reference, used
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4388)         with B-coded and P-coded frames. The timestamp refers to the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4389) 	``timestamp`` field in struct :c:type:`v4l2_buffer`. Use the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4390) 	:c:func:`v4l2_timeval_to_ns()` function to convert the struct
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4391) 	:c:type:`timeval` in struct :c:type:`v4l2_buffer` to a __u64.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4392)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4393)       - ``rps``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4394)       - The reference set for the reference frame
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4395)         (V4L2_HEVC_DPB_ENTRY_RPS_ST_CURR_BEFORE,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4396)         V4L2_HEVC_DPB_ENTRY_RPS_ST_CURR_AFTER or
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4397)         V4L2_HEVC_DPB_ENTRY_RPS_LT_CURR)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4398)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4399)       - ``field_pic``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4400)       - Whether the reference is a field picture or a frame.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4401)     * - __u16
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4402)       - ``pic_order_cnt[2]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4403)       - The picture order count of the reference. Only the first element of the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4404)         array is used for frame pictures, while the first element identifies the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4405)         top field and the second the bottom field in field-coded pictures.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4406)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4407)       - ``padding[2]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4408)       - Applications and drivers must set this to zero.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4409) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4410) .. c:type:: v4l2_hevc_pred_weight_table
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4411) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4412) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4413) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4414) .. flat-table:: struct v4l2_hevc_pred_weight_table
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4415)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4416)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4417)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4418) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4419)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4420)       - ``luma_log2_weight_denom``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4421)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4422)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4423)       - ``delta_chroma_log2_weight_denom``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4424)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4425)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4426)       - ``delta_luma_weight_l0[V4L2_HEVC_DPB_ENTRIES_NUM_MAX]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4427)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4428)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4429)       - ``luma_offset_l0[V4L2_HEVC_DPB_ENTRIES_NUM_MAX]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4430)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4431)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4432)       - ``delta_chroma_weight_l0[V4L2_HEVC_DPB_ENTRIES_NUM_MAX][2]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4433)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4434)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4435)       - ``chroma_offset_l0[V4L2_HEVC_DPB_ENTRIES_NUM_MAX][2]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4436)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4437)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4438)       - ``delta_luma_weight_l1[V4L2_HEVC_DPB_ENTRIES_NUM_MAX]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4439)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4440)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4441)       - ``luma_offset_l1[V4L2_HEVC_DPB_ENTRIES_NUM_MAX]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4442)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4443)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4444)       - ``delta_chroma_weight_l1[V4L2_HEVC_DPB_ENTRIES_NUM_MAX][2]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4445)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4446)     * - __s8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4447)       - ``chroma_offset_l1[V4L2_HEVC_DPB_ENTRIES_NUM_MAX][2]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4448)       -
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4449)     * - __u8
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4450)       - ``padding[6]``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4451)       - Applications and drivers must set this to zero.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4452) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4453) ``V4L2_CID_MPEG_VIDEO_HEVC_DECODE_MODE (enum)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4454)     Specifies the decoding mode to use. Currently exposes slice-based and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4455)     frame-based decoding but new modes might be added later on.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4456)     This control is used as a modifier for V4L2_PIX_FMT_HEVC_SLICE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4457)     pixel format. Applications that support V4L2_PIX_FMT_HEVC_SLICE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4458)     are required to set this control in order to specify the decoding mode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4459)     that is expected for the buffer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4460)     Drivers may expose a single or multiple decoding modes, depending
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4461)     on what they can support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4462) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4463)     .. note::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4464) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4465)        This menu control is not yet part of the public kernel API and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4466)        it is expected to change.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4467) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4468) .. c:type:: v4l2_mpeg_video_hevc_decode_mode
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4469) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4470) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4471) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4472) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4473)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4474)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4475)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4476) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4477)     * - ``V4L2_MPEG_VIDEO_HEVC_DECODE_MODE_SLICE_BASED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4478)       - 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4479)       - Decoding is done at the slice granularity.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4480)         The OUTPUT buffer must contain a single slice.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4481)     * - ``V4L2_MPEG_VIDEO_HEVC_DECODE_MODE_FRAME_BASED``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4482)       - 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4483)       - Decoding is done at the frame granularity.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4484)         The OUTPUT buffer must contain all slices needed to decode the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4485)         frame. The OUTPUT buffer must also contain both fields.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4486) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4487) ``V4L2_CID_MPEG_VIDEO_HEVC_START_CODE (enum)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4488)     Specifies the HEVC slice start code expected for each slice.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4489)     This control is used as a modifier for V4L2_PIX_FMT_HEVC_SLICE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4490)     pixel format. Applications that support V4L2_PIX_FMT_HEVC_SLICE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4491)     are required to set this control in order to specify the start code
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4492)     that is expected for the buffer.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4493)     Drivers may expose a single or multiple start codes, depending
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4494)     on what they can support.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4495) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4496)     .. note::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4497) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4498)        This menu control is not yet part of the public kernel API and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4499)        it is expected to change.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4500) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4501) .. c:type:: v4l2_mpeg_video_hevc_start_code
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4502) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4503) .. cssclass:: longtable
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4504) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4505) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4506)     :header-rows:  0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4507)     :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4508)     :widths:       1 1 2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4509) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4510)     * - ``V4L2_MPEG_VIDEO_HEVC_START_CODE_NONE``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4511)       - 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4512)       - Selecting this value specifies that HEVC slices are passed
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4513)         to the driver without any start code.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4514)     * - ``V4L2_MPEG_VIDEO_HEVC_START_CODE_ANNEX_B``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4515)       - 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4516)       - Selecting this value specifies that HEVC slices are expected
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4517)         to be prefixed by Annex B start codes. According to :ref:`hevc`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4518)         valid start codes can be 3-bytes 0x000001 or 4-bytes 0x00000001.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4519) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4520) ``V4L2_CID_MPEG_VIDEO_BASELAYER_PRIORITY_ID (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4521)     Specifies a priority identifier for the NAL unit, which will be applied to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4522)     the base layer. By default this value is set to 0 for the base layer,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4523)     and the next layer will have the priority ID assigned as 1, 2, 3 and so on.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4524)     The video encoder can't decide the priority id to be applied to a layer,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4525)     so this has to come from client.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4526)     This is applicable to H264 and valid Range is from 0 to 63.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4527)     Source Rec. ITU-T H.264 (06/2019); G.7.4.1.1, G.8.8.1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4528) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4529) ``V4L2_CID_MPEG_VIDEO_LTR_COUNT (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4530)     Specifies the maximum number of Long Term Reference (LTR) frames at any
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4531)     given time that the encoder can keep.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4532)     This is applicable to the H264 and HEVC encoders.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4533) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4534) ``V4L2_CID_MPEG_VIDEO_FRAME_LTR_INDEX (integer)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4535)     After setting this control the frame that will be queued next
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4536)     will be marked as a Long Term Reference (LTR) frame
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4537)     and given this LTR index which ranges from 0 to LTR_COUNT-1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4538)     This is applicable to the H264 and HEVC encoders.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4539)     Source Rec. ITU-T H.264 (06/2019); Table 7.9
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4540) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4541) ``V4L2_CID_MPEG_VIDEO_USE_LTR_FRAMES (bitmask)``
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4542)     Specifies the Long Term Reference (LTR) frame(s) to be used for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4543)     encoding the next frame queued after setting this control.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4544)     This provides a bitmask which consists of bits [0, LTR_COUNT-1].
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4545)     This is applicable to the H264 and HEVC encoders.