ENUM MTK_JPEG_CTX_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enum mtk_jpeg_ctx_state β€” the states of the context state machine

okay so bestie, welcome to the Kernel API Manual, section 9, and today's main character is enum mtk_jpeg_ctx_state ✨ β€” literally just the states of the context state machine. no cap, that's the whole vibe. she's a little enum and she's iconic for it πŸŽ€


✨ SYNOPSIS ✨

enum mtk_jpeg_ctx_state {
    MTK_JPEG_INIT ,
    MTK_JPEG_RUNNING ,
    MTK_JPEG_SOURCE_CHANGE

};

look at her. three constants, zero drama, absolute queen behavior πŸ‘‘ (and yes, those trailing spaces before the commas are canon, we do not touch the source code, periodt)


🌸 CONSTANTS 🌸

  • MTK_JPEG_INIT β€” current state is initialized 🐣 like she just woke up, hair not done, but she's here and she's ready
  • MTK_JPEG_RUNNING β€” current state is running πŸƒβ€β™€οΈπŸ’¨ she's in her productive era, do not disturb
  • MTK_JPEG_SOURCE_CHANGE β€” current state is source resolution change πŸ¦‹ the glow-up state, the resolution is shifting, it's giving transformation
ngl, that's the whole enum. three states, no notes, we love a low-maintenance icon πŸ’œ

πŸ” SEE ALSO πŸ”

the receipts, iykyk β€” this is the kernel file where it all lives:

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

and the whole friend group (go say hi, they're all lovely):

  • struct mtk_jpeg_variant(9)
  • struct mtk_jpegenc_clk(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)

fr fr, struct mtk_jpeg_ctx(9) is literally the context this state machine belongs to, so maybe start there bestie 🫢


okay that's the page!! huge shoutout to the source at ./drivers/media/platform/media... and the October 2026 date stamp β€” mwah πŸ’‹ closing this out with the biggest enum mtk_jpeg_ctx_state(9) energy, slay, bye πŸ§šβ€β™€οΈπŸ’–

πŸ“¦ where this page comes from