Lines Matching +full:video +full:- +full:encoder
1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _codec-controls:
24 .. _mpeg-control-id:
27 -----------------
35 .. _v4l2-mpeg-stream-type:
40 enum v4l2_mpeg_stream_type -
41 The MPEG-1, -2 or -4 output stream type. One cannot assume anything
42 here. Each hardware MPEG encoder tends to support different subsets
48 .. flat-table::
49 :header-rows: 0
50 :stub-columns: 0
52 * - ``V4L2_MPEG_STREAM_TYPE_MPEG2_PS``
53 - MPEG-2 program stream
54 * - ``V4L2_MPEG_STREAM_TYPE_MPEG2_TS``
55 - MPEG-2 transport stream
56 * - ``V4L2_MPEG_STREAM_TYPE_MPEG1_SS``
57 - MPEG-1 system stream
58 * - ``V4L2_MPEG_STREAM_TYPE_MPEG2_DVD``
59 - MPEG-2 DVD-compatible stream
60 * - ``V4L2_MPEG_STREAM_TYPE_MPEG1_VCD``
61 - MPEG-1 VCD-compatible stream
62 * - ``V4L2_MPEG_STREAM_TYPE_MPEG2_SVCD``
63 - MPEG-2 SVCD-compatible stream
75 Video Packet ID for the MPEG transport stream (default 260)
85 Video ID for MPEG PES
87 .. _v4l2-mpeg-stream-vbi-fmt:
92 enum v4l2_mpeg_stream_vbi_fmt -
103 .. flat-table::
104 :header-rows: 0
105 :stub-columns: 0
107 * - ``V4L2_MPEG_STREAM_VBI_FMT_NONE``
108 - No VBI in the MPEG stream
109 * - ``V4L2_MPEG_STREAM_VBI_FMT_IVTV``
110 - VBI in private packets, IVTV format (documented in the kernel
112 ``Documentation/userspace-api/media/drivers/cx2341x-uapi.rst``)
116 .. _v4l2-mpeg-audio-sampling-freq:
121 enum v4l2_mpeg_audio_sampling_freq -
126 .. flat-table::
127 :header-rows: 0
128 :stub-columns: 0
130 * - ``V4L2_MPEG_AUDIO_SAMPLING_FREQ_44100``
131 - 44.1 kHz
132 * - ``V4L2_MPEG_AUDIO_SAMPLING_FREQ_48000``
133 - 48 kHz
134 * - ``V4L2_MPEG_AUDIO_SAMPLING_FREQ_32000``
135 - 32 kHz
139 .. _v4l2-mpeg-audio-encoding:
144 enum v4l2_mpeg_audio_encoding -
150 .. flat-table::
151 :header-rows: 0
152 :stub-columns: 0
154 * - ``V4L2_MPEG_AUDIO_ENCODING_LAYER_1``
155 - MPEG-1/2 Layer I encoding
156 * - ``V4L2_MPEG_AUDIO_ENCODING_LAYER_2``
157 - MPEG-1/2 Layer II encoding
158 * - ``V4L2_MPEG_AUDIO_ENCODING_LAYER_3``
159 - MPEG-1/2 Layer III encoding
160 * - ``V4L2_MPEG_AUDIO_ENCODING_AAC``
161 - MPEG-2/4 AAC (Advanced Audio Coding)
162 * - ``V4L2_MPEG_AUDIO_ENCODING_AC3``
163 - AC-3 aka ATSC A/52 encoding
167 .. _v4l2-mpeg-audio-l1-bitrate:
172 enum v4l2_mpeg_audio_l1_bitrate -
173 MPEG-1/2 Layer I bitrate. Possible values are:
177 .. flat-table::
178 :header-rows: 0
179 :stub-columns: 0
181 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_32K``
182 - 32 kbit/s
183 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_64K``
184 - 64 kbit/s
185 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_96K``
186 - 96 kbit/s
187 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_128K``
188 - 128 kbit/s
189 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_160K``
190 - 160 kbit/s
191 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_192K``
192 - 192 kbit/s
193 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_224K``
194 - 224 kbit/s
195 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_256K``
196 - 256 kbit/s
197 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_288K``
198 - 288 kbit/s
199 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_320K``
200 - 320 kbit/s
201 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_352K``
202 - 352 kbit/s
203 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_384K``
204 - 384 kbit/s
205 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_416K``
206 - 416 kbit/s
207 * - ``V4L2_MPEG_AUDIO_L1_BITRATE_448K``
208 - 448 kbit/s
212 .. _v4l2-mpeg-audio-l2-bitrate:
217 enum v4l2_mpeg_audio_l2_bitrate -
218 MPEG-1/2 Layer II bitrate. Possible values are:
222 .. flat-table::
223 :header-rows: 0
224 :stub-columns: 0
226 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_32K``
227 - 32 kbit/s
228 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_48K``
229 - 48 kbit/s
230 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_56K``
231 - 56 kbit/s
232 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_64K``
233 - 64 kbit/s
234 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_80K``
235 - 80 kbit/s
236 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_96K``
237 - 96 kbit/s
238 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_112K``
239 - 112 kbit/s
240 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_128K``
241 - 128 kbit/s
242 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_160K``
243 - 160 kbit/s
244 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_192K``
245 - 192 kbit/s
246 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_224K``
247 - 224 kbit/s
248 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_256K``
249 - 256 kbit/s
250 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_320K``
251 - 320 kbit/s
252 * - ``V4L2_MPEG_AUDIO_L2_BITRATE_384K``
253 - 384 kbit/s
257 .. _v4l2-mpeg-audio-l3-bitrate:
262 enum v4l2_mpeg_audio_l3_bitrate -
263 MPEG-1/2 Layer III bitrate. Possible values are:
267 .. flat-table::
268 :header-rows: 0
269 :stub-columns: 0
271 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_32K``
272 - 32 kbit/s
273 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_40K``
274 - 40 kbit/s
275 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_48K``
276 - 48 kbit/s
277 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_56K``
278 - 56 kbit/s
279 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_64K``
280 - 64 kbit/s
281 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_80K``
282 - 80 kbit/s
283 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_96K``
284 - 96 kbit/s
285 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_112K``
286 - 112 kbit/s
287 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_128K``
288 - 128 kbit/s
289 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_160K``
290 - 160 kbit/s
291 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_192K``
292 - 192 kbit/s
293 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_224K``
294 - 224 kbit/s
295 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_256K``
296 - 256 kbit/s
297 * - ``V4L2_MPEG_AUDIO_L3_BITRATE_320K``
298 - 320 kbit/s
305 .. _v4l2-mpeg-audio-ac3-bitrate:
310 enum v4l2_mpeg_audio_ac3_bitrate -
311 AC-3 bitrate. Possible values are:
315 .. flat-table::
316 :header-rows: 0
317 :stub-columns: 0
319 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_32K``
320 - 32 kbit/s
321 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_40K``
322 - 40 kbit/s
323 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_48K``
324 - 48 kbit/s
325 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_56K``
326 - 56 kbit/s
327 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_64K``
328 - 64 kbit/s
329 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_80K``
330 - 80 kbit/s
331 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_96K``
332 - 96 kbit/s
333 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_112K``
334 - 112 kbit/s
335 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_128K``
336 - 128 kbit/s
337 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_160K``
338 - 160 kbit/s
339 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_192K``
340 - 192 kbit/s
341 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_224K``
342 - 224 kbit/s
343 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_256K``
344 - 256 kbit/s
345 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_320K``
346 - 320 kbit/s
347 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_384K``
348 - 384 kbit/s
349 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_448K``
350 - 448 kbit/s
351 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_512K``
352 - 512 kbit/s
353 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_576K``
354 - 576 kbit/s
355 * - ``V4L2_MPEG_AUDIO_AC3_BITRATE_640K``
356 - 640 kbit/s
360 .. _v4l2-mpeg-audio-mode:
365 enum v4l2_mpeg_audio_mode -
370 .. flat-table::
371 :header-rows: 0
372 :stub-columns: 0
374 * - ``V4L2_MPEG_AUDIO_MODE_STEREO``
375 - Stereo
376 * - ``V4L2_MPEG_AUDIO_MODE_JOINT_STEREO``
377 - Joint Stereo
378 * - ``V4L2_MPEG_AUDIO_MODE_DUAL``
379 - Bilingual
380 * - ``V4L2_MPEG_AUDIO_MODE_MONO``
381 - Mono
385 .. _v4l2-mpeg-audio-mode-extension:
390 enum v4l2_mpeg_audio_mode_extension -
397 .. flat-table::
398 :header-rows: 0
399 :stub-columns: 0
401 * - ``V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_4``
402 - Subbands 4-31 in intensity stereo
403 * - ``V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_8``
404 - Subbands 8-31 in intensity stereo
405 * - ``V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_12``
406 - Subbands 12-31 in intensity stereo
407 * - ``V4L2_MPEG_AUDIO_MODE_EXTENSION_BOUND_16``
408 - Subbands 16-31 in intensity stereo
412 .. _v4l2-mpeg-audio-emphasis:
417 enum v4l2_mpeg_audio_emphasis -
422 .. flat-table::
423 :header-rows: 0
424 :stub-columns: 0
426 * - ``V4L2_MPEG_AUDIO_EMPHASIS_NONE``
427 - None
428 * - ``V4L2_MPEG_AUDIO_EMPHASIS_50_DIV_15_uS``
429 - 50/15 microsecond emphasis
430 * - ``V4L2_MPEG_AUDIO_EMPHASIS_CCITT_J17``
431 - CCITT J.17
435 .. _v4l2-mpeg-audio-crc:
440 enum v4l2_mpeg_audio_crc -
445 .. flat-table::
446 :header-rows: 0
447 :stub-columns: 0
449 * - ``V4L2_MPEG_AUDIO_CRC_NONE``
450 - None
451 * - ``V4L2_MPEG_AUDIO_CRC_CRC16``
452 - 16 bit parity check
458 hardware, which can still produce a slight hiss, but in the encoder
462 .. _v4l2-mpeg-audio-dec-playback:
467 enum v4l2_mpeg_audio_dec_playback -
475 .. flat-table::
476 :header-rows: 0
477 :stub-columns: 0
479 * - ``V4L2_MPEG_AUDIO_DEC_PLAYBACK_AUTO``
480 - Automatically determines the best playback mode.
481 * - ``V4L2_MPEG_AUDIO_DEC_PLAYBACK_STEREO``
482 - Stereo playback.
483 * - ``V4L2_MPEG_AUDIO_DEC_PLAYBACK_LEFT``
484 - Left channel playback.
485 * - ``V4L2_MPEG_AUDIO_DEC_PLAYBACK_RIGHT``
486 - Right channel playback.
487 * - ``V4L2_MPEG_AUDIO_DEC_PLAYBACK_MONO``
488 - Mono playback.
489 * - ``V4L2_MPEG_AUDIO_DEC_PLAYBACK_SWAPPED_STEREO``
490 - Stereo playback with swapped left and right channels.
494 .. _v4l2-mpeg-audio-dec-multilingual-playback:
499 enum v4l2_mpeg_audio_dec_playback -
502 .. _v4l2-mpeg-video-encoding:
507 enum v4l2_mpeg_video_encoding -
508 MPEG Video encoding method. This control is specific to multiplexed
513 .. flat-table::
514 :header-rows: 0
515 :stub-columns: 0
517 * - ``V4L2_MPEG_VIDEO_ENCODING_MPEG_1``
518 - MPEG-1 Video encoding
519 * - ``V4L2_MPEG_VIDEO_ENCODING_MPEG_2``
520 - MPEG-2 Video encoding
521 * - ``V4L2_MPEG_VIDEO_ENCODING_MPEG_4_AVC``
522 - MPEG-4 AVC (H.264) Video encoding
526 .. _v4l2-mpeg-video-aspect:
531 enum v4l2_mpeg_video_aspect -
532 Video aspect. Possible values are:
536 .. flat-table::
537 :header-rows: 0
538 :stub-columns: 0
540 * - ``V4L2_MPEG_VIDEO_ASPECT_1x1``
541 * - ``V4L2_MPEG_VIDEO_ASPECT_4x3``
542 * - ``V4L2_MPEG_VIDEO_ASPECT_16x9``
543 * - ``V4L2_MPEG_VIDEO_ASPECT_221x100``
548 Number of B-Frames (default 2)
559 .. _v4l2-mpeg-video-bitrate-mode:
564 enum v4l2_mpeg_video_bitrate_mode -
565 Video bitrate mode. Possible values are:
569 .. flat-table::
570 :header-rows: 0
571 :stub-columns: 0
573 * - ``V4L2_MPEG_VIDEO_BITRATE_MODE_VBR``
574 - Variable bitrate
575 * - ``V4L2_MPEG_VIDEO_BITRATE_MODE_CBR``
576 - Constant bitrate
577 * - ``V4L2_MPEG_VIDEO_BITRATE_MODE_CQ``
578 - Constant quality
583 Average video bitrate in bits per second.
586 Peak video bitrate in bits per second. Must be larger or equal to
587 the average video bitrate. It is ignored if the video bitrate mode
595 Encoder will decide the appropriate quantization parameter and
601 enum v4l2_mpeg_video_frame_skip_mode -
602 Indicates in what conditions the encoder should skip frames. If
614 .. flat-table::
615 :header-rows: 0
616 :stub-columns: 0
618 * - ``V4L2_MPEG_VIDEO_FRAME_SKIP_MODE_DISABLED``
619 - Frame skip mode is disabled.
620 * - ``V4L2_MPEG_VIDEO_FRAME_SKIP_MODE_LEVEL_LIMIT``
621 - Frame skip mode enabled and buffer limit is set by the chosen
623 * - ``V4L2_MPEG_VIDEO_FRAME_SKIP_MODE_BUF_LIMIT``
624 - Frame skip mode enabled and buffer limit is set by the
625 :ref:`VBV (MPEG1/2/4) <v4l2-mpeg-video-vbv-size>` or
626 :ref:`CPB (H264) buffer size <v4l2-mpeg-video-h264-cpb-size>` control.
637 "Mutes" the video to a fixed color when capturing. This is useful
638 for testing, to produce a fixed video bitstream. 0 = unmuted, 1 =
642 Sets the "mute" color of the video. The supplied 32-bit integer is
647 .. flat-table::
648 :header-rows: 0
649 :stub-columns: 0
651 * - Bit 0:7
652 - V chrominance information
653 * - Bit 8:15
654 - U chrominance information
655 * - Bit 16:23
656 - Y luminance information
657 * - Bit 24:31
658 - Must be zero.
662 .. _v4l2-mpeg-video-dec-pts:
665 This read-only control returns the 33-bit video Presentation Time
666 Stamp as defined in ITU T-REC-H.222.0 and ISO/IEC 13818-1 of the
670 .. _v4l2-mpeg-video-dec-frame:
673 This read-only control returns the frame counter of the frame that
685 .. flat-table::
686 :header-rows: 0
687 :stub-columns: 0
689 * -
690 - 8bit format
691 - 10bit format
692 - 12bit format
693 * - Y luminance
694 - Bit 0:7
695 - Bit 0:9
696 - Bit 0:11
697 * - Cb chrominance
698 - Bit 16:23
699 - Bit 16:25
700 - Bit 16:27
701 * - Cr chrominance
702 - Bit 32:39
703 - Bit 32:41
704 - Bit 32:43
705 * - Must be zero
706 - Bit 48:63
707 - Bit 48:63
708 - Bit 48:63
736 Enable writing sample aspect ratio in the Video Usability
737 Information. Applicable to the H264 encoder.
739 .. _v4l2-mpeg-video-h264-vui-sar-idc:
744 enum v4l2_mpeg_video_h264_vui_sar_idc -
746 defined in the table E-1 in the standard. Applicable to the H264
747 encoder.
751 .. flat-table::
752 :header-rows: 0
753 :stub-columns: 0
755 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_UNSPECIFIED``
756 - Unspecified
757 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_1x1``
758 - 1x1
759 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_12x11``
760 - 12x11
761 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_10x11``
762 - 10x11
763 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_16x11``
764 - 16x11
765 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_40x33``
766 - 40x33
767 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_24x11``
768 - 24x11
769 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_20x11``
770 - 20x11
771 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_32x11``
772 - 32x11
773 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_80x33``
774 - 80x33
775 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_18x11``
776 - 18x11
777 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_15x11``
778 - 15x11
779 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_64x33``
780 - 64x33
781 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_160x99``
782 - 160x99
783 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_4x3``
784 - 4x3
785 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_3x2``
786 - 3x2
787 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_2x1``
788 - 2x1
789 * - ``V4L2_MPEG_VIDEO_H264_VUI_SAR_IDC_EXTENDED``
790 - Extended SAR
796 Applicable to the H264 encoder.
800 Applicable to the H264 encoder.
802 .. _v4l2-mpeg-video-h264-level:
807 enum v4l2_mpeg_video_h264_level -
808 The level information for the H264 video elementary stream.
809 Applicable to the H264 encoder. Possible values are:
813 .. flat-table::
814 :header-rows: 0
815 :stub-columns: 0
817 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_1_0``
818 - Level 1.0
819 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_1B``
820 - Level 1B
821 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_1_1``
822 - Level 1.1
823 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_1_2``
824 - Level 1.2
825 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_1_3``
826 - Level 1.3
827 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_2_0``
828 - Level 2.0
829 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_2_1``
830 - Level 2.1
831 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_2_2``
832 - Level 2.2
833 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_3_0``
834 - Level 3.0
835 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_3_1``
836 - Level 3.1
837 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_3_2``
838 - Level 3.2
839 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_4_0``
840 - Level 4.0
841 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_4_1``
842 - Level 4.1
843 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_4_2``
844 - Level 4.2
845 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_5_0``
846 - Level 5.0
847 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_5_1``
848 - Level 5.1
849 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_5_2``
850 - Level 5.2
851 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_6_0``
852 - Level 6.0
853 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_6_1``
854 - Level 6.1
855 * - ``V4L2_MPEG_VIDEO_H264_LEVEL_6_2``
856 - Level 6.2
860 .. _v4l2-mpeg-video-mpeg2-level:
865 enum v4l2_mpeg_video_mpeg2_level -
871 .. flat-table::
872 :header-rows: 0
873 :stub-columns: 0
875 * - ``V4L2_MPEG_VIDEO_MPEG2_LEVEL_LOW``
876 - Low Level (LL)
877 * - ``V4L2_MPEG_VIDEO_MPEG2_LEVEL_MAIN``
878 - Main Level (ML)
879 * - ``V4L2_MPEG_VIDEO_MPEG2_LEVEL_HIGH_1440``
880 - High-1440 Level (H-14)
881 * - ``V4L2_MPEG_VIDEO_MPEG2_LEVEL_HIGH``
882 - High Level (HL)
886 .. _v4l2-mpeg-video-mpeg4-level:
891 enum v4l2_mpeg_video_mpeg4_level -
893 the MPEG4 encoder. Possible values are:
897 .. flat-table::
898 :header-rows: 0
899 :stub-columns: 0
901 * - ``V4L2_MPEG_VIDEO_MPEG4_LEVEL_0``
902 - Level 0
903 * - ``V4L2_MPEG_VIDEO_MPEG4_LEVEL_0B``
904 - Level 0b
905 * - ``V4L2_MPEG_VIDEO_MPEG4_LEVEL_1``
906 - Level 1
907 * - ``V4L2_MPEG_VIDEO_MPEG4_LEVEL_2``
908 - Level 2
909 * - ``V4L2_MPEG_VIDEO_MPEG4_LEVEL_3``
910 - Level 3
911 * - ``V4L2_MPEG_VIDEO_MPEG4_LEVEL_3B``
912 - Level 3b
913 * - ``V4L2_MPEG_VIDEO_MPEG4_LEVEL_4``
914 - Level 4
915 * - ``V4L2_MPEG_VIDEO_MPEG4_LEVEL_5``
916 - Level 5
920 .. _v4l2-mpeg-video-h264-profile:
925 enum v4l2_mpeg_video_h264_profile -
926 The profile information for H264. Applicable to the H264 encoder.
935 .. flat-table::
936 :header-rows: 0
937 :stub-columns: 0
939 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_BASELINE``
940 - Baseline profile
941 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_CONSTRAINED_BASELINE``
942 - Constrained Baseline profile
943 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_MAIN``
944 - Main profile
945 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_EXTENDED``
946 - Extended profile
947 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH``
948 - High profile
949 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH_10``
950 - High 10 profile
951 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH_422``
952 - High 422 profile
953 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH_444_PREDICTIVE``
954 - High 444 Predictive profile
955 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH_10_INTRA``
956 - High 10 Intra profile
957 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH_422_INTRA``
958 - High 422 Intra profile
959 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_HIGH_444_INTRA``
960 - High 444 Intra profile
961 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_CAVLC_444_INTRA``
962 - CAVLC 444 Intra profile
963 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_SCALABLE_BASELINE``
964 - Scalable Baseline profile
965 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_SCALABLE_HIGH``
966 - Scalable High profile
967 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_SCALABLE_HIGH_INTRA``
968 - Scalable High Intra profile
969 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_STEREO_HIGH``
970 - Stereo High profile
971 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_MULTIVIEW_HIGH``
972 - Multiview High profile
973 * - ``V4L2_MPEG_VIDEO_H264_PROFILE_CONSTRAINED_HIGH``
974 - Constrained High profile
980 .. _v4l2-mpeg-video-mpeg2-profile:
985 enum v4l2_mpeg_video_mpeg2_profile -
995 .. flat-table::
996 :header-rows: 0
997 :stub-columns: 0
999 * - ``V4L2_MPEG_VIDEO_MPEG2_PROFILE_SIMPLE``
1000 - Simple profile (SP)
1001 * - ``V4L2_MPEG_VIDEO_MPEG2_PROFILE_MAIN``
1002 - Main profile (MP)
1003 * - ``V4L2_MPEG_VIDEO_MPEG2_PROFILE_SNR_SCALABLE``
1004 - SNR Scalable profile (SNR)
1005 * - ``V4L2_MPEG_VIDEO_MPEG2_PROFILE_SPATIALLY_SCALABLE``
1006 - Spatially Scalable profile (Spt)
1007 * - ``V4L2_MPEG_VIDEO_MPEG2_PROFILE_HIGH``
1008 - High profile (HP)
1009 * - ``V4L2_MPEG_VIDEO_MPEG2_PROFILE_MULTIVIEW``
1010 - Multi-view profile (MVP)
1017 .. _v4l2-mpeg-video-mpeg4-profile:
1022 enum v4l2_mpeg_video_mpeg4_profile -
1023 The profile information for MPEG4. Applicable to the MPEG4 encoder.
1032 .. flat-table::
1033 :header-rows: 0
1034 :stub-columns: 0
1036 * - ``V4L2_MPEG_VIDEO_MPEG4_PROFILE_SIMPLE``
1037 - Simple profile
1038 * - ``V4L2_MPEG_VIDEO_MPEG4_PROFILE_ADVANCED_SIMPLE``
1039 - Advanced Simple profile
1040 * - ``V4L2_MPEG_VIDEO_MPEG4_PROFILE_CORE``
1041 - Core profile
1042 * - ``V4L2_MPEG_VIDEO_MPEG4_PROFILE_SIMPLE_SCALABLE``
1043 - Simple Scalable profile
1044 * - ``V4L2_MPEG_VIDEO_MPEG4_PROFILE_ADVANCED_CODING_EFFICIENCY``
1045 - Advanced Coding Efficiency profile
1053 Applicable to the encoder.
1055 .. _v4l2-mpeg-video-multi-slice-mode:
1060 enum v4l2_mpeg_video_multi_slice_mode -
1061 Determines how the encoder should handle division of frame into
1062 slices. Applicable to the encoder. Possible values are:
1068 .. flat-table::
1069 :header-rows: 0
1070 :stub-columns: 0
1072 * - ``V4L2_MPEG_VIDEO_MULTI_SLICE_MODE_SINGLE``
1073 - Single slice per frame.
1074 * - ``V4L2_MPEG_VIDEO_MULTI_SLICE_MODE_MAX_MB``
1075 - Multiple slices with set maximum number of macroblocks per slice.
1076 * - ``V4L2_MPEG_VIDEO_MULTI_SLICE_MODE_MAX_BYTES``
1077 - Multiple slice with set maximum size in bytes per slice.
1085 encoder.
1091 encoder.
1093 .. _v4l2-mpeg-video-h264-loop-filter-mode:
1098 enum v4l2_mpeg_video_h264_loop_filter_mode -
1099 Loop filter mode for H264 encoder. Possible values are:
1107 .. flat-table::
1108 :header-rows: 0
1109 :stub-columns: 0
1111 * - ``V4L2_MPEG_VIDEO_H264_LOOP_FILTER_MODE_ENABLED``
1112 - Loop filter is enabled.
1113 * - ``V4L2_MPEG_VIDEO_H264_LOOP_FILTER_MODE_DISABLED``
1114 - Loop filter is disabled.
1115 * - ``V4L2_MPEG_VIDEO_H264_LOOP_FILTER_MODE_DISABLED_AT_SLICE_BOUNDARY``
1116 - Loop filter is disabled at the slice boundary.
1126 field, and should be in the range of -6 to +6, inclusive. The actual alpha
1128 Applicable to the H264 encoder.
1133 should be in the range of -6 to +6, inclusive. The actual beta offset
1135 Applicable to the H264 encoder.
1137 .. _v4l2-mpeg-video-h264-entropy-mode:
1142 enum v4l2_mpeg_video_h264_entropy_mode -
1143 Entropy coding mode for H264 - CABAC/CAVALC. Applicable to the H264
1144 encoder. Possible values are:
1150 .. flat-table::
1151 :header-rows: 0
1152 :stub-columns: 0
1154 * - ``V4L2_MPEG_VIDEO_H264_ENTROPY_MODE_CAVLC``
1155 - Use CAVLC entropy coding.
1156 * - ``V4L2_MPEG_VIDEO_H264_ENTROPY_MODE_CABAC``
1157 - Use CABAC entropy coding.
1162 Enable 8X8 transform for H264. Applicable to the H264 encoder.
1166 encoder.
1171 to the H264 encoder.
1181 Applicable to H264, H263 and MPEG4 encoder.
1185 enum v4l2_mpeg_video_intra_refresh_period_type -
1194 .. flat-table::
1195 :header-rows: 0
1196 :stub-columns: 0
1198 * - ``V4L2_MPEG_VIDEO_INTRA_REFRESH_PERIOD_TYPE_RANDOM``
1199 - The whole frame is completely refreshed randomly
1201 * - ``V4L2_MPEG_VIDEO_INTRA_REFRESH_PERIOD_TYPE_CYCLIC``
1202 - The whole frame MBs are completely refreshed in cyclic order
1208 for which the whole frame will be intra-refreshed. An example:
1211 intra-refreshed on frameX and the other half of macroblocks
1234 encoder.
1326 .. _v4l2-mpeg-video-vbv-size:
1329 The Video Buffer Verifier size in kilobytes, it is used as a
1333 decoder that is conceptually connected to the output of the encoder.
1335 data rate that an encoder or editing process may produce.".
1338 .. _v4l2-mpeg-video-vbv-delay:
1343 .. _v4l2-mpeg-video-hor-search-range:
1349 search range for motion estimation module in video encoder.
1351 .. _v4l2-mpeg-video-vert-search-range:
1357 range for motion estimation module in video encoder.
1359 .. _v4l2-mpeg-video-force-key-frame:
1363 encoders. This is a general, codec-agnostic keyframe control.
1365 .. _v4l2-mpeg-video-h264-cpb-size:
1371 decoded. Applicable to the H264 encoder.
1374 Period between I-frames in the open GOP for H264. In case of an open
1375 GOP this is the period between two I-frames. The period between IDR
1378 Refresh is an I-frame after which no prior frames are referenced.
1381 H264 encoder.
1383 .. _v4l2-mpeg-video-header-mode:
1388 enum v4l2_mpeg_video_header_mode -
1399 .. flat-table::
1400 :header-rows: 0
1401 :stub-columns: 0
1403 * - ``V4L2_MPEG_VIDEO_HEADER_MODE_SEPARATE``
1404 - The stream header is returned separately in the first buffer.
1405 * - ``V4L2_MPEG_VIDEO_HEADER_MODE_JOINED_WITH_1ST_FRAME``
1406 - The stream header is returned together with the first encoded
1415 Repeat the video sequence headers. Repeating these headers makes
1416 random access to the video stream easier. Applicable to the MPEG1, 2
1417 and 4 encoder.
1425 MPEG4 encoder.
1429 encoder.
1435 Applicable to the H264 encoder.
1439 H264 encoder.
1441 .. _v4l2-mpeg-video-h264-sei-fp-arrangement-type:
1446 enum v4l2_mpeg_video_h264_sei_fp_arrangement_type -
1448 encoder. Possible values are:
1456 .. flat-table::
1457 :header-rows: 0
1458 :stub-columns: 0
1460 * - ``V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_CHEKERBOARD``
1461 - Pixels are alternatively from L and R.
1462 * - ``V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_COLUMN``
1463 - L and R are interlaced by column.
1464 * - ``V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_ROW``
1465 - L and R are interlaced by row.
1466 * - ``V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_SIDE_BY_SIDE``
1467 - L is on the left, R on the right.
1468 * - ``V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_TOP_BOTTOM``
1469 - L is on top, R on bottom.
1470 * - ``V4L2_MPEG_VIDEO_H264_SEI_FP_ARRANGEMENT_TYPE_TEMPORAL``
1471 - One view per frame.
1482 pictures. Applicable to the H264 encoder.
1484 .. _v4l2-mpeg-video-h264-fmo-map-type:
1489 enum v4l2_mpeg_video_h264_fmo_map_type -
1491 patterns of macroblocks. Applicable to the H264 encoder. Possible
1500 .. flat-table::
1501 :header-rows: 0
1502 :stub-columns: 0
1504 * - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_INTERLEAVED_SLICES``
1505 - Slices are interleaved one after other with macroblocks in run
1507 * - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_SCATTERED_SLICES``
1508 - Scatters the macroblocks based on a mathematical function known to
1509 both encoder and decoder.
1510 * - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_FOREGROUND_WITH_LEFT_OVER``
1511 - Macroblocks arranged in rectangular areas or regions of interest.
1512 * - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_BOX_OUT``
1513 - Slice groups grow in a cyclic way from centre to outwards.
1514 * - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_RASTER_SCAN``
1515 - Slice groups grow in raster scan pattern from left to right.
1516 * - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_WIPE_SCAN``
1517 - Slice groups grow in wipe scan pattern from top to bottom.
1518 * - ``V4L2_MPEG_VIDEO_H264_FMO_MAP_TYPE_EXPLICIT``
1519 - User defined map type.
1528 Number of slice groups in FMO. Applicable to the H264 encoder.
1530 .. _v4l2-mpeg-video-h264-fmo-change-direction:
1535 enum v4l2_mpeg_video_h264_fmo_change_dir -
1537 maps. Applicable to the H264 encoder. Possible values are:
1541 .. flat-table::
1542 :header-rows: 0
1543 :stub-columns: 0
1545 * - ``V4L2_MPEG_VIDEO_H264_FMO_CHANGE_DIR_RIGHT``
1546 - Raster scan or wipe right.
1547 * - ``V4L2_MPEG_VIDEO_H264_FMO_CHANGE_DIR_LEFT``
1548 - Reverse raster scan or wipe left.
1554 Applicable to the H264 encoder.
1558 map. Applicable to the H264 encoder.
1562 the H264 encoder.
1565 Specifies the slice order in ASO. Applicable to the H264 encoder.
1566 The supplied 32-bit integer is interpreted as follows (bit 0 = least
1571 .. flat-table::
1572 :header-rows: 0
1573 :stub-columns: 0
1575 * - Bit 0:15
1576 - Slice ID
1577 * - Bit 16:32
1578 - Slice position or order
1583 Enables H264 hierarchical coding. Applicable to the H264 encoder.
1585 .. _v4l2-mpeg-video-h264-hierarchical-coding-type:
1590 enum v4l2_mpeg_video_h264_hierarchical_coding_type -
1592 encoder. Possible values are:
1596 .. flat-table::
1597 :header-rows: 0
1598 :stub-columns: 0
1600 * - ``V4L2_MPEG_VIDEO_H264_HIERARCHICAL_CODING_B``
1601 - Hierarchical B coding.
1602 * - ``V4L2_MPEG_VIDEO_H264_HIERARCHICAL_CODING_P``
1603 - Hierarchical P coding.
1609 the H264 encoder.
1613 encoder. The supplied 32-bit integer is interpreted as follows (bit
1618 .. flat-table::
1619 :header-rows: 0
1620 :stub-columns: 0
1622 * - Bit 0:15
1623 - QP value
1624 * - Bit 16:32
1625 - Layer number
1628 Indicates bit rate (bps) for hierarchical coding layer 0 for H264 encoder.
1631 Indicates bit rate (bps) for hierarchical coding layer 1 for H264 encoder.
1634 Indicates bit rate (bps) for hierarchical coding layer 2 for H264 encoder.
1637 Indicates bit rate (bps) for hierarchical coding layer 3 for H264 encoder.
1640 Indicates bit rate (bps) for hierarchical coding layer 4 for H264 encoder.
1643 Indicates bit rate (bps) for hierarchical coding layer 5 for H264 encoder.
1646 Indicates bit rate (bps) for hierarchical coding layer 6 for H264 encoder.
1669 .. _mfc51-control-id:
1672 -------------------
1701 Applicable to the H264 encoder.
1704 Padding enable in the encoder - use a color instead of repeating
1708 Padding color in the encoder. Applicable to encoders. The supplied
1709 32-bit integer is interpreted as follows (bit 0 = least significant
1714 .. flat-table::
1715 :header-rows: 0
1716 :stub-columns: 0
1718 * - Bit 0:7
1719 - V chrominance information
1720 * - Bit 8:15
1721 - U chrominance information
1722 * - Bit 16:23
1723 - Y luminance information
1724 * - Bit 24:31
1725 - Must be zero.
1746 encoder.
1752 encoder.
1758 encoder.
1764 encoder.
1766 .. _v4l2-mpeg-mfc51-video-frame-skip-mode:
1776 enum v4l2_mpeg_mfc51_video_frame_skip_mode -
1777 Indicates in what conditions the encoder should skip frames. If
1789 .. flat-table::
1790 :header-rows: 0
1791 :stub-columns: 0
1793 * - ``V4L2_MPEG_MFC51_VIDEO_FRAME_SKIP_MODE_DISABLED``
1794 - Frame skip mode is disabled.
1795 * - ``V4L2_MPEG_MFC51_VIDEO_FRAME_SKIP_MODE_LEVEL_LIMIT``
1796 - Frame skip mode enabled and buffer limit is set by the chosen
1798 * - ``V4L2_MPEG_MFC51_VIDEO_FRAME_SKIP_MODE_BUF_LIMIT``
1799 - Frame skip mode enabled and buffer limit is set by the VBV
1807 Enable rate-control with fixed target bit. If this setting is
1808 enabled, then the rate control logic of the encoder will calculate
1818 .. _v4l2-mpeg-mfc51-video-force-frame-type:
1823 enum v4l2_mpeg_mfc51_video_force_frame_type -
1829 .. flat-table::
1830 :header-rows: 0
1831 :stub-columns: 0
1833 * - ``V4L2_MPEG_MFC51_FORCE_FRAME_TYPE_DISABLED``
1834 - Forcing a specific frame type disabled.
1835 * - ``V4L2_MPEG_MFC51_FORCE_FRAME_TYPE_I_FRAME``
1836 - Force an I-frame.
1837 * - ``V4L2_MPEG_MFC51_FORCE_FRAME_TYPE_NOT_CODED``
1838 - Force a non-coded frame.
1848 .. _cx2341x-control-id:
1851 -------------------
1853 .. _v4l2-mpeg-cx2341x-video-spatial-filter-mode:
1858 enum v4l2_mpeg_cx2341x_video_spatial_filter_mode -
1865 .. flat-table::
1866 :header-rows: 0
1867 :stub-columns: 0
1869 * - ``V4L2_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE_MANUAL``
1870 - Choose the filter manually
1871 * - ``V4L2_MPEG_CX2341X_VIDEO_SPATIAL_FILTER_MODE_AUTO``
1872 - Choose the filter automatically
1876 ``V4L2_CID_MPEG_CX2341X_VIDEO_SPATIAL_FILTER (integer (0-15))``
1880 .. _luma-spatial-filter-type:
1885 enum v4l2_mpeg_cx2341x_video_luma_spatial_filter_type -
1895 .. flat-table::
1896 :header-rows: 0
1897 :stub-columns: 0
1899 * - ``V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_OFF``
1900 - No filter
1901 * - ``V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_1D_HOR``
1902 - One-dimensional horizontal
1903 * - ``V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_1D_VERT``
1904 - One-dimensional vertical
1905 * - ``V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_2D_HV_SEPARABLE``
1906 - Two-dimensional separable
1907 * - ``V4L2_MPEG_CX2341X_VIDEO_LUMA_SPATIAL_FILTER_TYPE_2D_SYM_NON_SEPARABLE``
1908 - Two-dimensional symmetrical non-separable
1914 .. _chroma-spatial-filter-type:
1919 enum v4l2_mpeg_cx2341x_video_chroma_spatial_filter_type -
1929 .. flat-table::
1930 :header-rows: 0
1931 :stub-columns: 0
1933 * - ``V4L2_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE_OFF``
1934 - No filter
1935 * - ``V4L2_MPEG_CX2341X_VIDEO_CHROMA_SPATIAL_FILTER_TYPE_1D_HOR``
1936 - One-dimensional horizontal
1942 .. _v4l2-mpeg-cx2341x-video-temporal-filter-mode:
1947 enum v4l2_mpeg_cx2341x_video_temporal_filter_mode -
1955 .. flat-table::
1956 :header-rows: 0
1957 :stub-columns: 0
1959 * - ``V4L2_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE_MANUAL``
1960 - Choose the filter manually
1961 * - ``V4L2_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER_MODE_AUTO``
1962 - Choose the filter automatically
1968 ``V4L2_CID_MPEG_CX2341X_VIDEO_TEMPORAL_FILTER (integer (0-31))``
1970 is 8 for full-scale capturing and 0 for scaled capturing.)
1972 .. _v4l2-mpeg-cx2341x-video-median-filter-type:
1977 enum v4l2_mpeg_cx2341x_video_median_filter_type -
1987 .. flat-table::
1988 :header-rows: 0
1989 :stub-columns: 0
1991 * - ``V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_OFF``
1992 - No filter
1993 * - ``V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_HOR``
1994 - Horizontal filter
1995 * - ``V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_VERT``
1996 - Vertical filter
1997 * - ``V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_HOR_VERT``
1998 - Horizontal and vertical filter
1999 * - ``V4L2_MPEG_CX2341X_VIDEO_MEDIAN_FILTER_TYPE_DIAG``
2000 - Diagonal filter
2006 ``V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_BOTTOM (integer (0-255))``
2010 ``V4L2_CID_MPEG_CX2341X_VIDEO_LUMA_MEDIAN_FILTER_TOP (integer (0-255))``
2014 ``V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_MEDIAN_FILTER_BOTTOM (integer (0-255))``
2018 ``V4L2_CID_MPEG_CX2341X_VIDEO_CHROMA_MEDIAN_FILTER_TOP (integer (0-255))``
2023 The CX2341X MPEG encoder can insert one empty MPEG-2 PES packet into
2024 the stream between every four video frames. The packet size is 2048
2034 The VPX controls include controls for encoding parameters of VPx video
2038 .. _vpx-control-id:
2041 ---------------
2043 .. _v4l2-vpx-num-partitions:
2048 enum v4l2_vp8_num_partitions -
2049 The number of token partitions to use in VP8 encoder. Possible
2054 .. flat-table::
2055 :header-rows: 0
2056 :stub-columns: 0
2058 * - ``V4L2_CID_MPEG_VIDEO_VPX_1_PARTITION``
2059 - 1 coefficient partition
2060 * - ``V4L2_CID_MPEG_VIDEO_VPX_2_PARTITIONS``
2061 - 2 coefficient partitions
2062 * - ``V4L2_CID_MPEG_VIDEO_VPX_4_PARTITIONS``
2063 - 4 coefficient partitions
2064 * - ``V4L2_CID_MPEG_VIDEO_VPX_8_PARTITIONS``
2065 - 8 coefficient partitions
2072 .. _v4l2-vpx-num-ref-frames:
2077 enum v4l2_vp8_num_ref_frames -
2087 .. flat-table::
2088 :header-rows: 0
2089 :stub-columns: 0
2091 * - ``V4L2_CID_MPEG_VIDEO_VPX_1_REF_FRAME``
2092 - Last encoded frame will be searched
2093 * - ``V4L2_CID_MPEG_VIDEO_VPX_2_REF_FRAME``
2094 - Two frames will be searched among the last encoded frame, the
2096 encoder implementation will decide which two are chosen.
2097 * - ``V4L2_CID_MPEG_VIDEO_VPX_3_REF_FRAME``
2098 - The last encoded frame, the golden frame and the altref frame will
2124 .. _v4l2-vpx-golden-frame-sel:
2129 enum v4l2_vp8_golden_frame_sel -
2138 .. flat-table::
2139 :header-rows: 0
2140 :stub-columns: 0
2142 * - ``V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_USE_PREV``
2143 - Use the (n-2)th frame as a golden frame, current frame index being
2145 * - ``V4L2_CID_MPEG_VIDEO_VPX_GOLDEN_FRAME_USE_REF_PERIOD``
2146 - Use the previous specific frame indicated by
2167 .. _v4l2-mpeg-video-vp8-profile:
2172 enum v4l2_mpeg_video_vp8_profile -
2173 This control allows selecting the profile for VP8 encoder.
2174 This is also used to enumerate supported profiles by VP8 encoder or decoder.
2177 .. flat-table::
2178 :header-rows: 0
2179 :stub-columns: 0
2181 * - ``V4L2_MPEG_VIDEO_VP8_PROFILE_0``
2182 - Profile 0
2183 * - ``V4L2_MPEG_VIDEO_VP8_PROFILE_1``
2184 - Profile 1
2185 * - ``V4L2_MPEG_VIDEO_VP8_PROFILE_2``
2186 - Profile 2
2187 * - ``V4L2_MPEG_VIDEO_VP8_PROFILE_3``
2188 - Profile 3
2190 .. _v4l2-mpeg-video-vp9-profile:
2195 enum v4l2_mpeg_video_vp9_profile -
2196 This control allows selecting the profile for VP9 encoder.
2197 This is also used to enumerate supported profiles by VP9 encoder or decoder.
2200 .. flat-table::
2201 :header-rows: 0
2202 :stub-columns: 0
2204 * - ``V4L2_MPEG_VIDEO_VP9_PROFILE_0``
2205 - Profile 0
2206 * - ``V4L2_MPEG_VIDEO_VP9_PROFILE_1``
2207 - Profile 1
2208 * - ``V4L2_MPEG_VIDEO_VP9_PROFILE_2``
2209 - Profile 2
2210 * - ``V4L2_MPEG_VIDEO_VP9_PROFILE_3``
2211 - Profile 3
2213 .. _v4l2-mpeg-video-vp9-level:
2217 enum v4l2_mpeg_video_vp9_level -
2218 This control allows selecting the level for VP9 encoder.
2219 This is also used to enumerate supported levels by VP9 encoder or decoder.
2223 .. flat-table::
2224 :header-rows: 0
2225 :stub-columns: 0
2227 * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_1_0``
2228 - Level 1
2229 * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_1_1``
2230 - Level 1.1
2231 * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_2_0``
2232 - Level 2
2233 * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_2_1``
2234 - Level 2.1
2235 * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_3_0``
2236 - Level 3
2237 * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_3_1``
2238 - Level 3.1
2239 * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_4_0``
2240 - Level 4
2241 * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_4_1``
2242 - Level 4.1
2243 * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_5_0``
2244 - Level 5
2245 * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_5_1``
2246 - Level 5.1
2247 * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_5_2``
2248 - Level 5.2
2249 * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_6_0``
2250 - Level 6
2251 * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_6_1``
2252 - Level 6.1
2253 * - ``V4L2_MPEG_VIDEO_VP9_LEVEL_6_2``
2254 - Level 6.2
2257 High Efficiency Video Coding (HEVC/H.265) Control Reference
2261 video codec.
2264 .. _hevc-control-id:
2267 ----------------------
2334 .. _v4l2-hevc-hier-coding-type:
2339 enum v4l2_mpeg_video_hevc_hier_coding_type -
2348 .. flat-table::
2349 :header-rows: 0
2350 :stub-columns: 0
2352 * - ``V4L2_MPEG_VIDEO_HEVC_HIERARCHICAL_CODING_B``
2353 - Use the B frame for hierarchical coding.
2354 * - ``V4L2_MPEG_VIDEO_HEVC_HIERARCHICAL_CODING_P``
2355 - Use the P frame for hierarchical coding.
2364 (non-hierarchial coding), it should be zero. Possible values are [0, 6].
2403 .. _v4l2-hevc-profile:
2408 enum v4l2_mpeg_video_hevc_profile -
2409 Select the desired profile for HEVC encoder.
2417 .. flat-table::
2418 :header-rows: 0
2419 :stub-columns: 0
2421 * - ``V4L2_MPEG_VIDEO_HEVC_PROFILE_MAIN``
2422 - Main profile.
2423 * - ``V4L2_MPEG_VIDEO_HEVC_PROFILE_MAIN_STILL_PICTURE``
2424 - Main still picture profile.
2425 * - ``V4L2_MPEG_VIDEO_HEVC_PROFILE_MAIN_10``
2426 - Main 10 profile.
2433 .. _v4l2-hevc-level:
2438 enum v4l2_mpeg_video_hevc_level -
2439 Selects the desired level for HEVC encoder.
2462 .. _v4l2-hevc-tier:
2467 enum v4l2_mpeg_video_hevc_tier -
2483 .. _v4l2-hevc-loop-filter-mode:
2488 enum v4l2_mpeg_video_hevc_loop_filter_mode -
2489 Loop filter mode for HEVC encoder. Possible values are:
2497 .. flat-table::
2498 :header-rows: 0
2499 :stub-columns: 0
2501 * - ``V4L2_MPEG_VIDEO_HEVC_LOOP_FILTER_MODE_DISABLED``
2502 - Loop filter is disabled.
2503 * - ``V4L2_MPEG_VIDEO_HEVC_LOOP_FILTER_MODE_ENABLED``
2504 - Loop filter is enabled.
2505 * - ``V4L2_MPEG_VIDEO_HEVC_LOOP_FILTER_MODE_DISABLED_AT_SLICE_BOUNDARY``
2506 - Loop filter is disabled at the slice boundary.
2514 Selects HEVC loop filter beta offset. The valid range is [-6, +6].
2517 Selects HEVC loop filter tc offset. The valid range is [-6, +6].
2519 .. _v4l2-hevc-refresh-type:
2524 enum v4l2_mpeg_video_hevc_hier_refresh_type -
2525 Selects refresh type for HEVC encoder.
2535 .. flat-table::
2536 :header-rows: 0
2537 :stub-columns: 0
2539 * - ``V4L2_MPEG_VIDEO_HEVC_REFRESH_NONE``
2540 - Use the B frame for hierarchical coding.
2541 * - ``V4L2_MPEG_VIDEO_HEVC_REFRESH_CRA``
2542 - Use CRA (Clean Random Access Unit) picture encoding.
2543 * - ``V4L2_MPEG_VIDEO_HEVC_REFRESH_IDR``
2544 - Use IDR (Instantaneous Decoding Refresh) picture encoding.
2552 Selects the refresh period for HEVC encoder.
2561 Indicates constant intra prediction for HEVC encoder. Specifies the
2568 Indicates wavefront parallel processing for HEVC encoder. Setting it to 0
2574 encoder.
2577 Indicates temporal identifier for HEVC encoder which is enabled by
2581 Indicates bi-linear interpolation is conditionally used in the intra
2582 prediction filtering process in the CVS when set to 1. Indicates bi-linear
2590 Indicates temporal motion vector prediction for HEVC encoder. Setting it to
2600 .. _v4l2-hevc-size-of-length-field:
2605 enum v4l2_mpeg_video_hevc_size_of_length_field -
2615 .. flat-table::
2616 :header-rows: 0
2617 :stub-columns: 0
2619 * - ``V4L2_MPEG_VIDEO_HEVC_SIZE_0``
2620 - Generate start code pattern (Normal).
2621 * - ``V4L2_MPEG_VIDEO_HEVC_SIZE_1``
2622 - Generate size of length field instead of start code pattern and length is 1.
2623 * - ``V4L2_MPEG_VIDEO_HEVC_SIZE_2``
2624 - Generate size of length field instead of start code pattern and length is 2.
2625 * - ``V4L2_MPEG_VIDEO_HEVC_SIZE_4``
2626 - Generate size of length field instead of start code pattern and length is 4.
2633 Indicates bit rate for hierarchical coding layer 0 for HEVC encoder.
2636 Indicates bit rate for hierarchical coding layer 1 for HEVC encoder.
2639 Indicates bit rate for hierarchical coding layer 2 for HEVC encoder.
2642 Indicates bit rate for hierarchical coding layer 3 for HEVC encoder.
2645 Indicates bit rate for hierarchical coding layer 4 for HEVC encoder.
2648 Indicates bit rate for hierarchical coding layer 5 for HEVC encoder.
2651 Indicates bit rate for hierarchical coding layer 6 for HEVC encoder.
2654 Selects number of P reference pictures required for HEVC encoder.
2655 P-Frame can use 1 or 2 frames for reference.