STRUCT HANTRO_H264_DEC_HW_CTX(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct hantro_h264_dec_hw_ctx(9) 🌸

okay bestie, welcome to the Kernel API Manual β€” this one's a struct page, and it's lowkey iconic. so sit down, hydrate, and let me tell you about struct hantro_h264_dec_hw_ctx 🫢


✨ NAME ✨

struct hantro_h264_dec_hw_ctx β€” that's it, that's the name. the manpage gives you no one-liner description, so we're just out here vibing with the bare struct name. no cap. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

here's the whole thing, verbatim, don't touch a character bestie:

struct hantro_h264_dec_hw_ctx {
    struct hantro_aux_buf priv;
    struct v4l2_h264_dpb_entry dpb[HANTRO_H264_DPB_SIZE];
    struct hantro_h264_dec_reflists reflists;
    struct hantro_h264_dec_ctrls ctrls;
    u32 dpb_longterm;
    u32 dpb_valid;
    s32 cur_poc;
 };

like, look at her. seven members. main character energy fr fr. πŸ‘‘


πŸŽ€ Members πŸŽ€

okay so here's the breakdown, member by member, no skips, no cuts:

  • priv β€” the private auxiliary buffer for the hardware. it's giving "the hardware's little personal stash" ✨
  • dpb β€” DPB. that's the entire description. the manpage was in a silly goofy mood and gave us one word, so one word is what we're honoring. πŸ’€
  • reflists β€” the P/B0/B1 reflists. yes, all three, P and B0 and B1, together, slay 🌈
  • ctrls β€” the V4L2 controls attached to a run. that's the vibe check for each run, iykyk 🧚
  • dpb_longterm β€” DPB long-term. short description, u32 energy. 😭
  • dpb_valid β€” DPB valid. also u32, also a very brief description, and honestly? respect. πŸ“
  • cur_poc β€” the current picture order count. this one's s32, so she's signed. iconic behavior. πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘

this struct does not roll alone, bestie. the kernel file to go look at is ./drivers/media/platform/verisilicon/hantro_hw.h, and then you've got this whole friend group of structs and enums:

  • struct hantro_aux_buf(9)
  • struct hantro_h264_dec_ctrls(9)
  • struct hantro_h264_dec_reflists(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_frame_info(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)
fr fr go read the others too, they're all sitting right there in the same neighborhood 🫢

aaaand that's the whole page, bestie. no bugs noted, no warnings, no exit statuses β€” just a struct and her little friends. πŸ’œ

✨ cute lil sign-off ✨ β€” this page lives in the ./drivers/media/platform/verisilicon part of the kernel tree, and it's dated October 2026. go off, you absolute legend. πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from