STRUCT V4L2_CTRL_AV1_SEQUENCE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct v4l2_ctrl_av1_sequence β€” AV1 Sequence 🎬

okay so bestie, you're in the Kernel API Manual rn πŸ“– and this page is literally all about struct v4l2_ctrl_av1_sequence, aka the AV1 Sequence. it's giving very "small struct, big responsibilities" energy. let's get into it 🫢


✨ NAME ✨

struct v4l2_ctrl_av1_sequence β€” AV1 Sequence. that's it, that's the name, no notes πŸ’…


🌸 SYNOPSIS 🌸

here's the whole struct, character for character, do not touch, do not edit, do not "improve" it bestie:

struct v4l2_ctrl_av1_sequence {
    __u32 flags;
    __u8 seq_profile;
    __u8 order_hint_bits;
    __u8 bit_depth;
    __u8 reserved;
    __u16 max_frame_width_minus_1;
    __u16 max_frame_height_minus_1;
 };

look at her. iconic. so many little fields all cozy in there πŸŽ€


πŸ¦‹ Members πŸ¦‹

every member, one by one, no skipping, we do not skip in this house:

  • flags β€” see V4L2_AV1_SEQUENCE_FLAG_{}. that's the flags situation. iykyk πŸ€·β€β™€οΈ
  • seq_profile β€” specifies the features that can be used in the coded video sequence. like, which AV1 toolkit is allowed to show up to this party πŸŽ‰
  • order_hint_bits β€” specifies the number of bits used for the order_hint field at each frame. it's literally just counting bits, but make it fashion πŸ’«
  • bit_depth β€” the bitdepth to use for the sequence as described in section 5.5.2 "Color config syntax". deep colors, deep lore 🎨
  • reserved β€” padding field. should be zeroed by applications. fr fr, zero it. don't leave random junk in there, we are not messy πŸ’€
  • max_frame_width_minus_1 β€” specifies the maximum frame width minus 1 for the frames represented by this sequence header. yes, minus 1, that's not a typo, that's the whole bit 🌈
  • max_frame_height_minus_1 β€” specifies the maximum frame height minus 1 for the frames represented by this sequence header. same deal but vertical, we love a symmetrical moment ⭐

πŸ”₯ Description πŸ”₯

this struct represents an AV1 Sequence OBU. for way more details, go peek at section 5.5 "Sequence header OBU syntax" β€” that's where the real lore lives, this page is just the vibes-y front door πŸ‘‘


πŸ‘‘ SEE ALSO πŸ‘‘

a whole friend group of references, all listed, none left behind πŸ’–

  • 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_sequence(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_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)

ok tiny reminder bestie: reserved should be zeroed by applications β€” that's the one thing this page is strict about, so don't fumble it πŸ™ˆ

and that's the page!! 🌸 sourced straight from ./include/uapi/linux, dated October 2026, and no cap this struct ate and left zero crumbs πŸ’œ slay, go decode some AV1, mwah πŸ§šβ€β™€οΈβœ¨

πŸ“¦ where this page comes from