ENUM MTK_INSTANCE_STATE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is the Kernel API Manual page for enum mtk_instance_state(9) β€” and the actual NAME is enum mtk_instance_state β€” literally the state of an MTK Vcodec instance. no cap, it's giving β€œsmall enum, big main-character energy” ✨

✨ SYNOPSIS ✨

the whole enum is here, bestie β€” copy it exactly, commas and all:

       enum mtk_instance_state {
           MTK_STATE_FREE ,
           MTK_STATE_INIT ,
           MTK_STATE_HEADER ,
           MTK_STATE_FLUSH ,
           MTK_STATE_ABORT

       };

πŸŽ€ Constants πŸŽ€

  • MTK_STATE_FREE β€” default state when instance is created. this is the fresh-out-the-box vibe 🫢
  • MTK_STATE_INIT β€” vcodec instance is initialized. she’s awake and initialized, slay πŸ’…
  • MTK_STATE_HEADER β€” vdec had sps/pps header parsed or venc had sps/pps header encoded. header business handled, periodt πŸŽ€
  • MTK_STATE_FLUSH β€” vdec is flushing. Only used by decoder. important: decoder-only, okay? πŸ‘€
  • MTK_STATE_ABORT β€” vcodec should be aborted. this is the β€œabort era” state, fr fr πŸ’€

πŸ” SEE ALSO πŸ”

  • Kernel file β€” ./drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_cmn_drv.h

that’s the whole page, bestie 🫢 source/version: ./drivers/media/platform/media...; date: October 2026 β€” mwah, and happy hacking πŸ’–βœ¨

πŸ“¦ where this page comes from