STRUCT VDEC_AV1_SLICE_PFC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct vdec_av1_slice_pfc(9) β€” straight from the Kernel API Manual πŸŽ€

okay so bestie, picture this: you're deep in the Kernel API Manual and you hit this struct. don't panic. it's lowkey the cutest little container ever and i'm gonna walk you through it 🫢


✨ NAME ✨

struct vdec_av1_slice_pfc β€” it's the per-frame context that contains a local vsi, and the whole point is that you pass it from lat to core. that's the job. that's the vibe. πŸ’…


🌸 SYNOPSIS 🌸

struct vdec_av1_slice_pfc {
    struct vdec_av1_slice_vsi vsi;
    u64 ref_idx[V4L2_AV1_REFS_PER_FRAME];
    int seq;
};

look at her. three members. no notes. ✨


πŸ¦‹ Members πŸ¦‹

  • vsi β€” your local vsi. and listen, the rule is copy to/from remote vsi before/after decoding. before? copy. after? copy. it's giving responsible main character energy, ngl 😭
  • ref_idx[V4L2_AV1_REFS_PER_FRAME] β€” the reference buffer timestamp. she holds the receipts (timestamps) for the reference buffers, one per V4L2_AV1_REFS_PER_FRAME slot πŸ’–
  • seq β€” the picture sequence. your order-in-line number. iconic for knowing who's first πŸŽ€

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file where the magic happens lives right here:

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

and then there's the whole friend group β€” literally the entire vdec_av1_slice_* squad, all invited to the group chat 🫢:

  • 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_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_instance(9)

like, twenty-five structs and every single one of them ate πŸ”₯


and that's the page, bestie!! πŸ’œ this little beauty ships from the source path ./drivers/media/platform/media... and she's dated October 2026 β€” so yes, she's from the future, and yes, she's still serving struct vdec_av1_slice_pfc(9) realness. periodt. πŸ˜ŒπŸ’…πŸŒΈ

πŸ“¦ where this page comes from