STRUCT JPU_BUFFER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

struct jpu_buffer β€” bestie, it's the driver's own little video buffer, like, the driver-specific glow-up of a video buffer ✨

So this is the 9 section manual page for struct jpu_buffer, which lives in the Kernel API Manual β€” and yes, it's giving "niche but iconic" fr fr πŸŽ€


🌸 SYNOPSIS 🌸

okay so here's the whole struct laid out, no cap, copy it exactly:

struct jpu_buffer {
    struct v4l2_m2m_buffer buf;
    unsigned short  compr_quality;
    unsigned char   subsampling;
 };

three members, that's the whole vibe. she's compact πŸ’…


πŸ¦‹ Members πŸ¦‹

  • buf β€” the m2m buffer itself, literally the whole memory-to-memory moment 🫢
  • compr_quality β€” the destination image quality, but only when you're in compression mode. it's unsigned short, and yes that matters bestie 😭
  • subsampling β€” the source image subsampling, and this one only kicks in during decompression mode. unsigned char energy 🌈
lowkey important: compr_quality is a compression-mode thing and subsampling is a decompression-mode thing. don't mix them up, i'm begging πŸ™ˆ

⭐ SEE ALSO ⭐

go read these next, iykyk πŸ‘‘

  • Kernel file ./drivers/media/platform/renesas/rcar_jpu.c struct jpu(9)
  • struct jpu_fmt(9)
  • struct jpu_q_data(9)
  • struct jpu_ctx(9)

and that's the page!! πŸ“ this cutie is brought to you by ./drivers/media/platform/renesas, dated October 2026, and she's filed under struct jpu_buffer(9) β€” go forth and slay your video buffers bestie πŸ’œπŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from