ENUM V4L2_AV1_REFERENCE_FRAME(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum v4l2_av1_reference_frame(9)

okay so bestie, welcome to the Kernel API Manual ✨ this one's a little enum from the Linux kernel docs, and honestly? it's giving "tiny but mighty." it's literally called enum v4l2_av1_reference_frame and it's all about AV1 reference frames πŸŽ€


🌸 NAME 🌸

enum v4l2_av1_reference_frame β€” AV1 reference frames. that's it, that's the whole vibe πŸ¦‹


✨ SYNOPSIS ✨

here's the whole thing, character for character, no cap:

enum v4l2_av1_reference_frame {
    V4L2_AV1_REF_INTRA_FRAME ,
    V4L2_AV1_REF_LAST_FRAME ,
    V4L2_AV1_REF_LAST2_FRAME ,
    V4L2_AV1_REF_LAST3_FRAME ,
    V4L2_AV1_REF_GOLDEN_FRAME ,
    V4L2_AV1_REF_BWDREF_FRAME ,
    V4L2_AV1_REF_ALTREF2_FRAME ,
    V4L2_AV1_REF_ALTREF_FRAME

};

πŸŽ€ Constants πŸŽ€

eight constants, all iconic, all accounted for πŸ‘‘

  • V4L2_AV1_REF_INTRA_FRAME β€” Intra Frame Reference πŸ’– the one that stays in its own lane, no outside references needed
  • V4L2_AV1_REF_LAST_FRAME β€” Last Reference Frame ⭐
  • V4L2_AV1_REF_LAST2_FRAME β€” Last2 Reference Frame 🌸
  • V4L2_AV1_REF_LAST3_FRAME β€” Last3 Reference Frame πŸ¦‹
  • V4L2_AV1_REF_GOLDEN_FRAME β€” Golden Reference Frame πŸ‘‘ main character energy fr fr
  • V4L2_AV1_REF_BWDREF_FRAME β€” BWD Reference Frame πŸ”₯
  • V4L2_AV1_REF_ALTREF2_FRAME β€” Alternative2 Reference Frame πŸ’œ
  • V4L2_AV1_REF_ALTREF_FRAME β€” Alternative Reference Frame 🌈
ngl bestie, the descriptions are short here β€” that's just how the original rolls, so i'm not out here inventing lore that isn't there πŸ™ˆ

πŸ”— SEE ALSO πŸ”—

so this enum lowkey has a whole extended friend group πŸ’€ β€” the source lives in the kernel file ./include/uapi/linux/v4l2-controls.h (enum), and then there's this entire list of siblings and cousins:

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_sequence(9), struct v4l2_ctrl_av1_tile_group_entry(9), enum v4l2_av1_warp_model(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)

like i said. huge friend group. iykyk 😭🫢


and that's the whole page bestie!! 🧚 from ./include/uapi/linux, this October 2026 drop of the Kernel API Manual β€” go forth and reference those frames, periodt πŸ’…πŸ“

πŸ“¦ where this page comes from