STRUCT V4L2_CTRL_MPEG2_QUANTISATION(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the struct v4l2_ctrl_mpeg2_quantisation page from the Kernel API Manual πŸ’…βœ¨ it’s giving MPEG-2 quantisation, but make it make sense.

πŸŽ€ NAME πŸŽ€

struct v4l2_ctrl_mpeg2_quantisation - MPEG-2 quantisation. literally the whole point, no cap.

✨ SYNOPSIS ✨

struct v4l2_ctrl_mpeg2_quantisation {
    __u8 intra_quantiser_matrix[64];
    __u8 non_intra_quantiser_matrix[64];
    __u8 chroma_intra_quantiser_matrix[64];
    __u8 chroma_non_intra_quantiser_matrix[64];
};

πŸ‘‘ Members πŸ‘‘

these are the four fields, bestie β€” all __u8 arrays with [64], and yes, the number 64 is having a moment ✨

🌸 intra_quantiser_matrix 🌸

the quantisation matrix coefficients for intra-coded frames, in zigzag scanning order πŸ¦‹ this one is relevant for both luma and chroma components, although it can be superseded by the chroma-specific matrix for non-4:2:0 YUV formats. iykyk.

πŸ¦‹ non_intra_quantiser_matrix πŸ¦‹

the quantisation matrix coefficients for non-intra-coded frames, in zigzag scanning order. it’s relevant for both luma and chroma components, although it can be superseded by the chroma-specific matrix for non-4:2:0 YUV formats. periodt.

πŸŽ€ chroma_intra_quantiser_matrix πŸŽ€

the quantisation matrix coefficients for the chrominance component of intra-coded frames, in zigzag scanning order. only relevant for 4:2:2 and 4:4:4 YUV formats β€” so on 4:2:0 this one is not the main character πŸ™ˆ

πŸ’œ chroma_non_intra_quantiser_matrix πŸ’œ

the quantisation matrix coefficients for the chrominance component of non-intra-coded frames, in zigzag scanning order. only relevant for 4:2:2 and 4:4:4 YUV formats. lowkey specific, highkey iconic πŸ’…

🌈 Description 🌈

these are the quantisation matrices as specified by section 6.3.7 "Quant matrix extension" πŸ“š that’s the lore, bestie.

πŸ’– SEE ALSO πŸ’–

go read these next β€” same universe, different slay 🫢

  • 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_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 β€” that’s the whole page, bestie. source/version: ./include/uapi/linux; date: October 2026; and the footer title vibe is struct v4l2...quantisation(9). periodt. 🫢

πŸ“¦ where this page comes from