STRUCT MTK_JPEGENC_CLK(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ struct mtk_jpegenc_clk(9) ✨

okay so bestie, welcome to the Kernel API Manual πŸ’– this little page is all about struct mtk_jpegenc_clk β€” like, the whole manual page header situation, but make it cute. it's basically the structure used to store vcodec clock information. yes, clock. as in timing. as in the heartbeat of your JPEG encoder. no cap. πŸ•°οΈ


🌸 NAME 🌸

struct mtk_jpegenc_clk β€” the structure used to store vcodec clock information. that's it. that's the whole vibe. she holds clocks. she's iconic for it. πŸ‘‘


✨ SYNOPSIS ✨

here's the whole shape of her, exactly as written, don't touch:

struct mtk_jpegenc_clk {
    struct clk_bulk_data *clks;
    int clk_num;
 };

lowkey a tiny struct. two fields. minimal. clean. main character energy fr fr. πŸŽ€


πŸ¦‹ Members πŸ¦‹

bestie these are the two members, and yes we're gonna go through both, because every detail stays:

  • clks β€” the JPEG encode clock. that's her pointer, a struct clk_bulk_data *, holding onto the JPEG encode clock itself. literally the star of the show. πŸ”₯
  • clk_num β€” the JPEG encode clock numbers. an int just sitting there keeping count of how many clocks we're talking about. the way that it counts. the way that it's an int. πŸ’…
🫢 reminder: clks is a struct clk_bulk_data * and clk_num is an int β€” keep those exact, they're not vibes, they're types.

🌈 SEE ALSO 🌈

go read the kernel file, bestie, it's all there:

./drivers/media/platform/mediatek/jpeg/mtk_jpeg_core.h

and also the enum mtk_jpeg_ctx_state(9) β€” plus these absolute icons right here:

  • struct mtk_jpeg_variant(9)
  • struct mtk_jpegdec_clk(9)
  • struct mtk_jpegenc_comp_dev(9)
  • struct mtk_jpegdec_comp_dev(9)
  • struct mtk_jpeg_dev(9)
  • struct mtk_jpeg_fmt(9)
  • struct mtk_jpeg_q_data(9)
  • struct mtk_jpeg_ctx(9)

like, the whole friend group. go say hi. 🌸


and that's the page!! 🧚 from ./drivers/media/platform/media... β€” shoutout to that path, she's giving truncated but we love her anyway πŸ’œ β€” dated October 2026, all wrapped up as struct mtk_jpegenc_clk(9). bye bestie, go read your clocks πŸ˜­πŸ’–

πŸ“¦ where this page comes from