ENUM CORE_CTX_STATUS(9)
π enum core_ctx_status(9) β like, the whole vibe of this one is in the Kernel API Manual, bestie
okay so picture this: you're deep in the kernel, right, and there's this little enum whose entire job is to tell you where a context is at in the core hardware's little lifecycle. That's it. That's the enum. It's the status tracker for core hardware context decode, and honestly? Iconic. Lowkey the main character of vdec_msg_queue.h. π
β¨ SYNOPSIS β¨
enum core_ctx_status {
CONTEXT_LIST_EMPTY ,
CONTEXT_LIST_QUEUED ,
CONTEXT_LIST_DEC_DONE
};
look at her. three constants, one job. no notes. π
πΈ CONSTANTS πΈ
CONTEXT_LIST_EMPTYβ literally nothing is queued on the core hardware rn. And bestie, listen: this one must always be0. That's not a suggestion, that's the rule. πCONTEXT_LIST_QUEUEDβ ooh okay we're moving, the buffer has been queued onto the core work list. she's in the queue, she's waiting her turn. βCONTEXT_LIST_DEC_DONEβ and that's a wrap! context decode done. slay. π₯
π SEE ALSO π
everything else in the family, fr fr β go read the Kernel file:
./drivers/media/platform/mediatek/vcodec/decoder/vdec_msg_queue.h
and while you're there, these besties are all linked up:
struct vdec_msg_queue_ctx(9)struct vdec_lat_buf(9)struct vdec_msg_queue(9)vdec_msg_queue_init(9)vdec_msg_queue_init_ctx(9)vdec_msg_queue_qbuf(9)vdec_msg_queue_dqbuf(9)vdec_msg_queue_update_ube_rptr(9)vdec_msg_queue_update_ube_wptr(9)vdec_msg_queue_wait_lat_buf_full(9)vdec_msg_queue_deinit(9)
π«Ά tiny heads-up:CONTEXT_LIST_EMPTYbeing0is load-bearing. do not mess with it. iykyk.
that's the whole page, bestie β no cap. source/version line goes a lil something like ./drivers/media/platform/media..., dated October 2026, and it's the enum core_ctx_status(9) page, mwah π π¦
π¦ 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