STRUCT HANTRO_H264_DEC_CTRLS(9)
π 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. yourconst struct v4l2_ctrl_h264_decode_params *. it's the decode info. she decodes. πscalingβ scaling info, akaconst 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
- 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