STRUCT VENC_FRAME_INFO(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 struct venc_frame_info(9) 🌸

okay so bestie, welcome to the Kernel API Manual ✨ this is literally a lil struct page and it's iconic, let's go πŸ’…


πŸ’– NAME πŸ’–

struct venc_frame_info β€” the per-frame info you hand off to the firmware, no cap 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

struct venc_frame_info {
    unsigned int frm_count;
    unsigned int skip_frm_count;
    unsigned int frm_type;
 };
ngl that closing brace has a lil extra space before it in the original, and I'm keeping it exactly like that because we respect the source 😌 periodt.

πŸŽ€ Members πŸŽ€

  • frm_count β€” the sequential number for this frame, like the frame's little ID in the group chat πŸ”’
  • skip_frm_count β€” how many frames have been skipped so far while decoding, it's giving "how many messages I left on read" πŸ’€
  • frm_type β€” the type of the frame, pulled straight from enum venc_h264_frame_type, so it's like the frame's whole personality 🌈

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file πŸ’«

./drivers/media/platform/mediatek/vcodec/encoder/venc_drv_if.h

that's the file bestie, go look at it, iykyk πŸ”₯


and that's the whole vibe ✨ this page came from ./drivers/media/platform/media... and it's dated October 2026, so yeah, from the future, main character energy fr fr πŸ’œ πŸŽ€ πŸ¦‹

πŸ“¦ where this page comes from