STRUCT HANTRO_POSTPROC_OPS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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