ENUM MTK_JPEG_CTX_STATE(9)
π 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 readyMTK_JPEG_RUNNINGβ current state is running πββοΈπ¨ she's in her productive era, do not disturbMTK_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
- 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