STRUCT HANTRO_POSTPROC_OPS(9)
π struct hantro_postproc_ops(9) β from the Kernel API Manual, bestie π
okay so this is a whole page from the Kernel API Manual (yes, that manual) and it's literally just about one little struct: struct hantro_postproc_ops. it's the operations table for the post-processor. that's the whole vibe. let's get into it β¨
β¨ NAME β¨
struct hantro_postproc_ops β post-processor operations π¦
like, the ops. for the post-processor. she's a function-pointer struct and she's serving.
πΈ SYNOPSIS πΈ
struct hantro_postproc_ops {
void (*enable)(struct hantro_ctx *ctx);
void (*disable)(struct hantro_ctx *ctx);
int (*enum_framesizes)(struct hantro_ctx *ctx, struct
v4l2_frmsizeenum *fsize);
};
three pointers. that's her whole personality. no cap. π
π Members π
enableβ literally turns the post-processor block ON. Optional. so if a driver doesn't set it, that's fine, it's not mandatory, we're not judging. π«Άdisableβ the opposite queen: turns the post-processor block OFF. also Optional. icon behaviour.enum_framesizesβ enumerates the possible scaled output formats β¨ Returns zero if everything's OK, and a negative value in error cases (so,0= slay,< 0= π). also Optional, because of course she is. π
ngl the theme here is that every single member is marked Optional, so a driver can pick and choose which ones it actually implements. no pressure, bestie. π
π¦ SEE ALSO π¦
the kernel file lives at ./drivers/media/platform/verisilicon/hantro_hw.h β go look, iykyk π₯ and while you're in there, here's 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_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_codec_ops(9)enum hantro_enc_fmt(9)
a whole squad of hantro structs, fr fr. read them all, you'll be obsessed. βπ
and that's the page!! tysm for reading, mwah π this was struct hantro_postproc_ops(9) out of ./drivers/media/platform/veris..., dated October 2026 β catch you in the next manpage, bestie, stay iconic ππ
π¦ 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