STRUCT V4L2_VP9_QUANTIZATION(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct v4l2_vp9_quantization(9) β€” like, the whole vibe

okay so bestie, buckle up πŸŽ€ this is a page straight out of the Kernel API Manual, and it's all about one little struct: struct v4l2_vp9_quantization. Yes the header up top is doing that shy struct v4l2_...quantization(9) thing but we all know her full name, iykyk πŸ’–


✨ NAME ✨

struct v4l2_vp9_quantization β€” the VP9 quantization parameters, literally the whole personality of this page πŸ¦‹


🌸 SYNOPSIS 🌸

struct v4l2_vp9_quantization {
    __u8 base_q_idx;
    __s8 delta_q_y_dc;
    __s8 delta_q_uv_dc;
    __s8 delta_q_uv_ac;
    __u8 reserved[4];
 };

she's small, she's tidy, she's giving main character energy πŸ‘‘


🫢 Members 🫢

  • base_q_idx β€” this one's the base frame qindex, the anchor of the whole squad βš“
  • delta_q_y_dc β€” the Y DC quantizer relative to base_q_idx πŸ’œ
  • delta_q_uv_dc β€” the UV DC quantizer relative to base_q_idx 🌈
  • delta_q_uv_ac β€” the UV AC quantizer relative to base_q_idx ✨
  • reserved β€” padding field, and listen: it should be zeroed by applications. No cap, zero it out πŸ™ˆ

🧚 Description 🧚

So what does she do? She encodes the quantization parameters πŸ’… periodt. And if you want the full lore, go read section '7.2.9 Quantization params syntax' of the VP9 specification β€” that's where all the details live, fr fr πŸ“–


πŸ‘‘ SEE ALSO πŸ‘‘

the friend group πŸ’–

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

bestie reminder: reserved is padding and should be zeroed by applications. don't leave her messy 😭

and that's the page!! sign-off time πŸŽ€ this diva lives in ./include/uapi/linux, she's stamped October 2026, and she answers to the name struct v4l2_...quantization(9). slay, bye πŸ’…πŸ’–βœ¨

πŸ“¦ where this page comes from