STRUCT V4L2_CTRL_AV1_SEQUENCE(9)
π 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β seeV4L2_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 theorder_hintfield 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms