STRUCT JPU_BUFFER(9)
π 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'sunsigned short, and yes that matters bestie πsubsamplingβ the source image subsampling, and this one only kicks in during decompression mode.unsigned charenergy π
lowkey important:compr_qualityis a compression-mode thing andsubsamplingis 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.cstruct 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
- 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