STRUCT VDEC_AV1_SLICE_DELTA_Q_LF(9)
π 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
- 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