amvdec_set_canvases(9)
π amvdec_set_canvases(9)
okay so bestie, welcome to the Kernel API Manual β¨ and today's main character is amvdec_set_canvases β it's the one that maps VB2 buffers to canvases. no cap, that's literally the whole vibe of the NAME section π
πΈ SYNOPSIS πΈ
int amvdec_set_canvases (struct amvdec_session *sess , u32 reg_base[] ,
u32 reg_num[] );
it's giving "returns an int, takes a session and two arrays" β short, sweet, iconic π
π¦ ARGUMENTS π¦
here's the breakdown, and yes you need all of them:
sessβ current session π like, the whole session you're working with right nowreg_baseβ Registry bases of where to write the canvas indexes π this is the "where do the canvas indexes go" listreg_numβ number of contiguous registers after eachreg_base(including it) π’ so it counts that base register too, don't forget, iykyk
π SEE ALSO π
go touch grass in these, bestie:
- Kernel file
./drivers/staging/media/meson/vdec/vdec_helpers.hποΈ amvdec_dst_buf_done_idx(9)amvdec_add_ts(9)amvdec_set_par_from_dar(9)amvdec_src_change(9)amvdec_abort(9)
and that's the whole page, fr fr π«Ά this gem lives in ./drivers/staging/media/meson/..., dated October 2026, and it's filed under amvdec_set_canvases(9) β 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