STRUCT H264_FB(9)
π struct h264_fb(9) β h264 decode frame buffer information π
okay bestie, gather round, because this one is a kernel API manual page (yes, (9) section, we're in the big leagues now) and it's literally just a struct that holds the frame buffer info for h264 decoding. that's the whole vibe. no cap. π
β¨ SYNOPSIS β¨
struct h264_fb {
u64 vdec_fb_va;
u64 y_fb_dma;
u64 c_fb_dma;
s32 poc;
u32 reserved;
};
look at her. five members. impeccable alignment. she ate. π
πΈ Members πΈ
here's the breakdown, one member at a time, because we respect each of them individually:
vdec_fb_vaβ virtual address ofstruct vdec_fb. yeah, she's a VA, she's virtual, she's living her best life in address space.y_fb_dmaβ dma address of the Y frame buffer (luma). that's the brightness girlies π‘c_fb_dmaβ dma address of the C frame buffer (chroma). the colour girlies πpocβ picture order count of frame buffer. literally the frame's place in line, its whole timeline moment, main character energy.reservedβ for 8 bytes alignment π«Ά it's not doing much but it's doing it perfectly. padding icon.
fr fr do not touchreserved. it's there for8 bytesalignment and that's its entire personality. respect it.
π¦ SEE ALSO π¦
Kernel file:
./drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_common.h
and the whole friend group, all of them, linked and everything:
struct mtk_h264_dpb_info(9)mtk_vdec_h264_get_ref_list(9)mtk_vdec_h264_get_ctrl_ptr(9)mtk_vdec_h264_fill_dpb_info(9)mtk_vdec_h264_copy_sps_params(9)mtk_vdec_h264_copy_pps_params(9)mtk_vdec_h264_copy_slice_hd_params(9)mtk_vdec_h264_copy_scaling_matrix(9)mtk_vdec_h264_copy_decode_params(9)mtk_vdec_h264_update_dpb(9)mtk_vdec_h264_find_start_code(9)mtk_vdec_h264_get_mv_buf_size(9)
like okay, squad goals, the h264 crew showed up. π₯π
and that's the page bestie, that's the whole thing, no notes π β this one came straight out of ./drivers/media/platform/media... and it's dated October 2026, and if you need me i'll be right here, page struct h264_fb(9) forever and always β¨π§
π¦ 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