STRUCT VDEC_AV1_SLICE_CDEF(9)
π struct vdec_av1_slice_cdef(9) β from the Kernel API Manual, bestie π
okay so picture this: it's the struct vdec_av1_slice_cdef, and it's literally the AV1 CDEF parameters bundle. that's it, that's the whole vibe. it lives in the Kernel API Manual, and we're about to become obsessed with it together. β¨
πΈ NAME πΈ
struct vdec_av1_slice_cdef β the AV1 CDEF parameters, no cap π
β¨ SYNOPSIS β¨
struct vdec_av1_slice_cdef {
u8 cdef_damping;
u8 cdef_y_strength[8];
u8 cdef_uv_strength[8];
u8 cdef_bits;
};
like, that's the whole struct. four little fields. iconic behavior honestly π¦
π Members π
cdef_dampingβ this one is in charge of how much damping the deringing filter gets. yes, the deringing filter has a damping knob. slay πcdef_y_strengthβ spells out the strength of the primary filter and the secondary filter. both of them. it's giving thorough πcdef_uv_strengthβ same situation as above: this specifies the strength of the primary filter and the secondary filter. lather, rinse, repeat π«Άcdef_bitsβ specifies the number of bits needed to specify which CDEF filter to apply. yes, the field about bits is namedcdef_bits. we love a self-aware king π
π¦ SEE ALSO π¦
first up, the Kernel file where the magic happens:
./drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c
and then the whole friend group β the entire squad of sibling structs, all at (9):
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_delta_q_lf(9)struct vdec_av1_slice_quantization(9)struct vdec_av1_slice_lr(9)struct vdec_av1_slice_loop_filter(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)
like, that's twenty-five structs. main character energy across the entire header file, fr fr ππΈ
the file path in the footer got cut off at ./drivers/media/platform/media... β that's just how it's printed, so don't come for me, I'm reporting it exactly as it was handed to me π
and that's the page, bestie π this little cutie came to you from the source/version line ./drivers/media/platform/media... and is dated October 2026, and the footer is still out here repping struct vdec_av1_slice_cdef(9) like the icon it is. mwah ππ
π¦ 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