STRUCT HANTRO_VP9_FRAME_INFO(9)
πΈ struct hantro_vp9_frame_info(9) πΈ
okay so this is a page from the Kernel API Manual (yes, that's the manual name, we're being fancy today) and it's literally all about one lil struct, bestie. buckle up π
β¨ NAME β¨
struct hantro_vp9_frame_info β and that's it. that's the whole description. the manpage really said "no thoughts, head empty" and left the dash hanging there with nothing after it π iconic behaviour honestly
π¦ SYNOPSIS π¦
here's the whole vibe, copied exactly, don't come for me:
struct hantro_vp9_frame_info {
u32 valid : 1;
u32 frame_context_idx : 2;
u32 reference_mode : 2;
u32 tx_mode : 3;
u32 interpolation_filter : 3;
u32 flags;
u64 timestamp;
};
like look at those bitfields. little tiny slivers of u32. she's compact, she's precise, she's giving main character energy π
π MEMBERS π
one by one, no gatekeeping:
validβ the "is this frame info even valid tho" flag. it's a 1-bitu32field, so it's literally doing the absolute most with the least π«Άframe_context_idxβ the index of the frame context. 2 bits of pure context-tracking realness β¨reference_modeβ the inter prediction type. that's the whole description, don't @ me, 2 bits wide πΈtx_modeβ transform mode, 3 bits, lowkey the moment π₯interpolation_filterβ filter selection for inter prediction. 3 whole bits dedicated to picking your filter, we love a queen who knows what she wants πflagsβ frame flags. plainu32, no bitfield width, she's unbothered, she's free πtimestampβ frame timestamp, and it's au64so it's got range. periodt π
π§ SEE ALSO π§
bestie there is SO much lore here, it's all in the kernel file ./drivers/media/platform/verisilicon/hantro_hw.h and it links out to the whole friend group π:
struct hantro_aux_buf(9)struct hantro_h264_dec_ctrls(9)struct hantro_h264_dec_reflists(9)struct hantro_h264_dec_hw_ctx(9)struct hantro_hevc_dec_ctrls(9)struct hantro_hevc_dec_hw_ctx(9)struct hantro_mpeg2_dec_hw_ctx(9)struct hantro_vp8_dec_hw_ctx(9)struct hantro_vp9_dec_hw_ctx(9)struct hantro_av1_dec_ctrls(9)struct hantro_av1_dec_hw_ctx(9)struct hantro_postproc_ctx(9)struct hantro_postproc_ops(9)struct hantro_codec_ops(9)enum hantro_enc_fmt(9)
like that's a whole group chat of structs and enums and you're invited π
ngl there's no OPTIONS section, no exit statuses, no environment variables on this one β it's just a struct and her friends. a cozy little read, honestly π
and that's the page!! sign-off time: this one came from ./drivers/media/platform/veris... and it's dated October 2026, so go forth and read struct definitions with your whole chest πβ¨π¦
π¦ 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