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