STRUCT VDEC_AV1_SLICE_CDEF(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 named cdef_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