STRUCT V4L2_VP9_FRAME_CONTEXT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME

okay so bestie, welcome to the Kernel API Manual πŸ’… this page is all about struct v4l2_vp9_frame_context - frame probabilities, including motion-vector related. periodt. πŸŽ€

✨ SYNOPSIS

Here’s the struct in all its iconic glory: 🌈

struct v4l2_vp9_frame_context {
    u8 tx8[2][1];
    u8 tx16[2][2];
    u8 tx32[2][3];
    u8 coef[4][2][2][6][6][3];
    u8 skip[3];
    u8 inter_mode[7][3];
    u8 interp_filter[4][2];
    u8 is_inter[4];
    u8 comp_mode[5];
    u8 single_ref[5][2];
    u8 comp_ref[5];
    u8 y_mode[4][9];
    u8 uv_mode[10][9];
    u8 partition[16][3];
    struct v4l2_vp9_frame_mv_context mv;
};

🫢 Members

Bestie, meet the members β€” every single one is here, no skips: 🫢

  • tx8 β€” TX 8x8 probabilities. πŸŽ€
  • tx16 β€” TX 16x16 probabilities. πŸŽ€
  • tx32 β€” TX 32x32 probabilities. πŸŽ€
  • coef β€” coefficient probabilities. πŸ“
  • skip β€” skip probabilities. πŸ¦‹
  • inter_mode β€” inter mode probabilities. 🌸
  • interp_filter β€” interpolation filter probabilities. ✨
  • is_inter β€” is inter-block probabilities. πŸ’œ
  • comp_mode β€” compound prediction mode probabilities. πŸŽ€
  • single_ref β€” single ref probabilities. 🌈
  • comp_ref β€” compound ref probabilities. ⭐
  • y_mode β€” Y prediction mode probabilities. πŸ”₯
  • uv_mode β€” UV prediction mode probabilities. 🌸
  • partition β€” partition probabilities. 🧚
  • mv β€” motion vector probabilities. πŸ‘‘

🌸 Description

If you’re a driver that needs to keep track of frame context(s), you can use this struct. Fr fr. The members are probability tables. These are only specified implicitly in the vp9 spec, not as a big explicit list. Section 10.5 "Default probability tables" contains all the types of tables involved β€” the actual tables are the same kind β€” and when they get reset (the spec mandates that sometimes), they’re overwritten with values from the default tables. πŸ‘‘βœ¨

πŸ”₯ SEE ALSO


xoxo, bestie πŸ’‹ β€” source/version: ./include/media Β· date: October 2026 Β· title: struct v4l2...rame_context(9)

πŸ“¦ where this page comes from