STRUCT V4L2_CTRL_MPEG2_SEQUENCE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct v4l2_ctrl_mpeg2_sequence(9) πŸ’–

okay bestie, welcome to the Kernel API Manual page for the MPEG-2 sequence header struct β€” she's niche, she's precise, and she's literally all about matching the spec. πŸŽ€


🌸 NAME 🌸

struct v4l2_ctrl_mpeg2_sequence β€” MPEG-2 sequence header


✨ SYNOPSIS ✨

the struct is giving exactly this, no cap:

       struct v4l2_ctrl_mpeg2_sequence {
           __u16 horizontal_size;
           __u16 vertical_size;
           __u32 vbv_buffer_size;
           __u16 profile_and_level_indication;
           __u8 chroma_format;
           __u8 flags;
        };

πŸŽ€ Members πŸŽ€

  • horizontal_size β€” a combination of the elements horizontal_size_value and horizontal_size_extension. πŸ’…
  • vertical_size β€” a combination of the elements vertical_size_value and vertical_size_extension. ✨
  • vbv_buffer_size β€” a combination of the elements vbv_buffer_size_value and vbv_buffer_size_extension. 🫢
  • profile_and_level_indication β€” see the MPEG-2 specification. πŸ‘€
  • chroma_format β€” see the MPEG-2 specification. 🌈
  • flags β€” see V4L2_MPEG2_SEQ_FLAG_{}. 🚩

πŸ’… Description πŸ’…

bestie, the way this is so tidy: all the members on this structure match the sequence header and sequence extension syntaxes as specified by the MPEG-2 specification. periodt. πŸ’–

the fields horizontal_size, vertical_size and vbv_buffer_size are a combination of the respective _value and extension syntax elements, as described in section 6.3.3 "Sequence header". literally that's the assignment. πŸ”₯


πŸ¦‹ SEE ALSO πŸ¦‹

the whole squad, iykyk:

  • Kernel file: ./include/uapi/linux/v4l2-controls.h
  • enum v4l2_mpeg_video_av1_profile(9)
  • enum v4l2_mpeg_video_av1_level(9)
  • enum v4l2_stateless_h264_decode_mode(9)
  • enum v4l2_stateless_h264_start_code(9)
  • struct v4l2_ctrl_h264_sps(9)
  • struct v4l2_ctrl_h264_pps(9)
  • struct v4l2_ctrl_h264_scaling_matrix(9)
  • struct v4l2_ctrl_h264_pred_weights(9)
  • struct v4l2_h264_reference(9)
  • struct v4l2_ctrl_h264_slice_params(9)
  • struct v4l2_h264_dpb_entry(9)
  • struct v4l2_ctrl_h264_decode_params(9)
  • struct v4l2_ctrl_fwht_params(9)
  • struct v4l2_vp8_segment(9)
  • struct v4l2_vp8_loop_filter(9)
  • struct v4l2_vp8_quantization(9)
  • struct v4l2_vp8_entropy(9)
  • struct v4l2_vp8_entropy_coder_state(9)
  • struct v4l2_ctrl_vp8_frame(9)
  • struct v4l2_ctrl_mpeg2_picture(9)
  • struct v4l2_ctrl_mpeg2_quantisation(9)
  • struct v4l2_ctrl_hevc_sps(9)
  • struct v4l2_ctrl_hevc_pps(9)
  • struct v4l2_hevc_dpb_entry(9)
  • struct v4l2_hevc_pred_weight_table(9)
  • struct v4l2_ctrl_hevc_slice_params(9)
  • struct v4l2_ctrl_hevc_decode_params(9)
  • struct v4l2_ctrl_hevc_scaling_matrix(9)
  • struct v4l2_vp9_loop_filter(9)
  • struct v4l2_vp9_quantization(9)
  • struct v4l2_vp9_segmentation(9)
  • struct v4l2_ctrl_vp9_frame(9)
  • struct v4l2_vp9_mv_probs(9)
  • struct v4l2_ctrl_vp9_compressed_hdr(9)
  • struct v4l2_ctrl_av1_sequence(9)
  • struct v4l2_ctrl_av1_tile_group_entry(9)
  • enum v4l2_av1_warp_model(9)
  • enum v4l2_av1_reference_frame(9)
  • struct v4l2_av1_global_motion(9)
  • enum v4l2_av1_frame_restoration_type(9)
  • struct v4l2_av1_loop_restoration(9)
  • struct v4l2_av1_cdef(9)
  • enum v4l2_av1_segment_feature(9)
  • struct v4l2_av1_segmentation(9)
  • struct v4l2_av1_loop_filter(9)
  • struct v4l2_av1_quantization(9)
  • struct v4l2_av1_tile_info(9)
  • enum v4l2_av1_frame_type(9)
  • enum v4l2_av1_interpolation_filter(9)
  • enum v4l2_av1_tx_mode(9)
  • struct v4l2_ctrl_av1_frame(9)
  • struct v4l2_ctrl_av1_film_grain(9)

mwah bestie πŸ’‹ β€” this page’s source/version is ./include/uapi/linux, dated October 2026, and the footer repeats the title struct v4l2...eg2_sequence(9). 🫢

πŸ“¦ where this page comes from