STRUCT VDEC_AV1_SLICE_SM(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct vdec_av1_slice_sm(9) ✨

okay so this is a page straight out of the Kernel API Manual, and today's main character is struct vdec_av1_slice_sm β€” the AV1 Skip Mode parameters struct. yes bestie, skip mode. it's literally the "we're not even gonna bother predicting this one, just copy the vibes" of video decoding πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

like, here's the whole struct, exactly as it is, no notes:

struct vdec_av1_slice_sm {
    u8 skip_mode_allowed;
    u8 skip_mode_present;
    int skip_mode_frame[2];
 };

that's it. three fields. small struct, big energy πŸ’–


🌸 Members 🌸

⭐ skip_mode_allowed

a u8 that says whether Skip Mode is allowed or not. that's the whole vibe check right there β€” yes or no, in or out 🫢

⭐ skip_mode_present

another u8, and it specifies whether the skip_mode will be present or not. allowed β‰  present, okay? they're different things and both are serving πŸ’…

⭐ skip_mode_frame

an int array of size 2 β€” it specifies the frames to use for compound prediction. two frames, one array, iconic behavior ngl πŸ‘‘


πŸ”₯ SEE ALSO πŸ”₯

okay first up, the source file, because you know we gotta cite our sources:

  • Kernel file: ./drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c

and then the whole friend group β€” every single sibling struct, no cap, all 25 of them:

  • 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_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_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)

πŸ’€ real talk though: this struct is tiny and the file path in the original page got cut off at ./drivers/media/platform/media..., so if you're hunting the exact source, follow that first path in the list β€” that's the one with all the letters 🧚

πŸŽ€ the sign-off πŸŽ€

this little icon of a page is dated October 2026 and hails from the file ./drivers/media/platform/media... (yes, truncated just like that, we don't gatekeep, we also don't finish our paths apparently πŸ™ˆ), and it will forever introduce itself as struct vdec_av1_slice_sm(9). slay, bye πŸ’œ

πŸ“¦ where this page comes from