STRUCT VDEC_AV1_SLICE_DELTA_Q_LF(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct vdec_av1_slice_delta_q_lf(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” this little cutie is struct vdec_av1_slice_delta_q_lf, aka the AV1 Loop Filter delta parameters</>, and it's genuinely the main character of the loop-filter delta situation. no cap. πŸ¦‹


✨ SYNOPSIS ✨

struct vdec_av1_slice_delta_q_lf {
    u8 delta_q_present;
    u8 delta_q_res;
    u8 delta_lf_present;
    u8 delta_lf_res;
    u8 delta_lf_multi;
 };

like, that's the whole vibe. five little u8 fields and they're all doing their thing. πŸŽ€


🧚 Members 🧚

  • delta_q_present β€” tells you whether quantizer index delta values are present</>. it's a yes/no energy check, basically. πŸ‘‘
  • delta_q_res β€” this one specifies the left shift which should be applied to decoded quantizer index</>. left shift, decoded quantizer index, that's the whole job. slay. ✨
  • delta_lf_present β€” specifies whether loop filter delta values are present</>. same check, but make it loop filter. πŸ’…
  • delta_lf_res β€” specifies the left shift which should be applied to decoded loop filter delta values</>. iconic shift behaviour, no notes. 🌸
  • delta_lf_multi β€” specifies that separate loop filter deltas are sent for horizontal luma edges,vertical luma edges,the u edges, and the v edges.</> yes, all four. multi means multi, periodt. 🫢

🌈 SEE ALSO 🌈

first up, the Kernel file, bestie β€” go look at it, it's right here:

./drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c

and then the whole extended friend group, in the exact order they were introduced to me πŸ‘‡

  • struct vdec_av1_slice_init_vsi(9)
  • struct vdec_av1_slice_mem(9)
  • struct vdec_av1_slice_state(9)
  • struct vdec_av1_slice_tile_group(9)
  • struct vdec_av1_slice_scale_factors(9)
  • struct vdec_av1_slice_frame_refs(9)
  • struct vdec_av1_slice_gm(9)
  • struct vdec_av1_slice_sm(9)
  • struct vdec_av1_slice_seg(9)
  • struct vdec_av1_slice_quantization(9)
  • struct vdec_av1_slice_lr(9)
  • struct vdec_av1_slice_loop_filter(9)
  • struct vdec_av1_slice_cdef(9)
  • struct vdec_av1_slice_mfmv(9)
  • struct vdec_av1_slice_tile(9)
  • struct vdec_av1_slice_uncompressed_header(9)
  • struct vdec_av1_slice_seq_header(9)
  • struct vdec_av1_slice_frame(9)
  • struct vdec_av1_slice_work_buffer(9)
  • struct vdec_av1_slice_frame_info(9)
  • struct vdec_av1_slice_slot(9)
  • struct vdec_av1_slice_fb(9)
  • struct vdec_av1_slice_vsi(9)
  • struct vdec_av1_slice_pfc(9)
  • struct vdec_av1_slice_instance(9)

go read them all, i'll wait. πŸ’€βœ¨


fr fr though β€” that kernel file path is ./drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c, so don't go looking in the wrong folder, iykyk. πŸ™ˆ

and that's the page!! πŸ“ big sign-off energy: this one comes to you from ./drivers/media/platform/media... and it's dated October 2026 β€” mwah, love u, go write some AV1 loop filter delta code πŸ’œπŸŽ€πŸ¦‹

πŸ“¦ where this page comes from