STRUCT VP9_REF_BUF(9)
β¨ NAME β¨
struct vp9_ref_buf β bestie, this is the struct that contains the current frame's reference buffer information. That's the whole gig. It's from the Kernel API Manual, and the page itself is struct vp9_ref_buf(9), so yeah, very demure, very kernel-coded. π
πΈ SYNOPSIS πΈ
struct vp9_ref_buf {
struct vp9_fb_info *buf;
unsigned int idx;
unsigned int reserved[6];
};
π Members π
bufβ the reference buffer. Like, the actual buffer, no cap. π«Άidxβ the reference buffer index tofrm_bufs. Keep that name exactly, bestie, it's literallyfrm_bufs.reservedβ reserved field used by vpu. That's it. That's the tea. π
π SEE ALSO π
Kernel file, and yes you should go look at it:
./drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp9_if.c
Also these iconic little structs, in this exact order:
struct vp9_dram_buf(9)struct vp9_fb_info(9)struct vp9_ref_cnt_buf(9)struct vp9_sf_ref_fb(9)
Okay so real talk: this page came from the source path shown as./drivers/media/platform/media..., dated October 2026, and the manual name isstruct vp9_ref_buf(9). Slay, 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