STRUCT JPU_CTX(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

struct jpu_ctx(9) πŸŽ€

okay so welcome to the Kernel API Manual, bestie β€” today’s main character is literally struct jpu_ctx(9) πŸ’– and it is giving β€œthe device context data.” No cap.

🌸 NAME 🌸

  • struct jpu_ctx β€” the device context data ✨

✨ SYNOPSIS ✨

here’s the whole struct, copied exactly because we do not play with code, bestie πŸ’…:

       struct jpu_ctx {
           struct jpu              *jpu;
           bool encoder;
           unsigned short          compr_quality;
           struct jpu_q_data       out_q;
           struct jpu_q_data       cap_q;
           struct v4l2_fh          fh;
           struct v4l2_ctrl_handler ctrl_handler;
        };

🫢 Members 🫢

  • jpu β€” the JPEG IP device for this context πŸ‘‘
  • encoder β€” compression (encode) operation or decompression (decode) πŸ¦‹
  • compr_quality β€” destination image quality in compression (encode) mode 🌸
  • out_q β€” source (output) queue information πŸ’«
  • cap_q β€” destination (capture) queue information πŸŽ€
  • fh β€” file handler πŸ“
  • ctrl_handler β€” controls handler πŸŽ›οΈ

πŸ‘‘ SEE ALSO πŸ‘‘

bestie, go peek at the kernel file ./drivers/media/platform/renesas/rcar_jpu.c and these icons: struct jpu(9), struct jpu_buffer(9), struct jpu_fmt(9), struct jpu_q_data(9) 🌈✨


made with πŸ’– from ./drivers/media/platform/renesas Β· October 2026 Β· struct jpu_ctx(9) β€” source/version + date, bestie, no cap πŸ«ΆπŸ’…

πŸ“¦ where this page comes from