STRUCT HANTRO_H264_DEC_CTRLS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct hantro_h264_dec_ctrls(9) β€” the Kernel API Manual, bestie edition πŸŽ€

okay so this is a page straight out of the Kernel API Manual, and we're talking about struct hantro_h264_dec_ctrls β€” yes the name is a whole mouthful, no I will not be shortening it, it's giving ✨main character✨ energy and we respect it.


✨ NAME ✨

struct hantro_h264_dec_ctrls β€” literally just the struct itself, that's it, that's the name. no spicy subtitle, no nothing. iconic minimalism honestly 🫢


🌸 SYNOPSIS 🌸

bestie look at her. four whole pointers, all const, all pointing at v4l2 ctrl structs. she's built like this:

struct hantro_h264_dec_ctrls {
    const struct v4l2_ctrl_h264_decode_params *decode;
    const struct v4l2_ctrl_h264_scaling_matrix *scaling;
    const struct v4l2_ctrl_h264_sps *sps;
    const struct v4l2_ctrl_h264_pps *pps;
 };

like… four fields, all const pointers, obsessed. no cap, this is the whole vibe. πŸ’œ


πŸ¦‹ Members πŸ¦‹

  • decode β€” the decode params, i.e. your const struct v4l2_ctrl_h264_decode_params *. it's the decode info. she decodes. πŸ’…
  • scaling β€” scaling info, aka const struct v4l2_ctrl_h264_scaling_matrix *. all the scaling deets live here. slay πŸŽ€
  • sps β€” SPS info, const struct v4l2_ctrl_h264_sps * style. yes bestie, that's the Sequence Parameter Set hanging out in pointer form. 🌸
  • pps β€” PPS info, const struct v4l2_ctrl_h264_pps *. Picture Parameter Set, right where you expect her. πŸ‘‘

🌈 SEE ALSO 🌈

okay this is the part where she name-drops her entire friend group, and honestly? the friend group is huge. it lives in the kernel file ./drivers/media/platform/verisilicon/hantro_hw.h, and the whole squad is:

  • struct hantro_aux_buf(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_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)

like hello?? the range. h264, hevc, mpeg2, vp8, vp9, av1, postproc, codec ops, enc fmt… she literally knows everyone. iykyk πŸ’€πŸ”₯


reminder bestie: every one of those is a real reference from the original page, i did not invent a single one, and we are not skipping them. periodt. πŸ’–

and that's the page!! this lil beauty comes from the source ./drivers/media/platform/verisilicon/hantro_hw.h, dated October 2026, and it's filed under the Kernel API Manual β€” so go forth, cite your structs, and stan hantro responsibly. mwah πŸ’‹πŸ¦‹βœ¨

πŸ“¦ where this page comes from