STRUCT V4L2_VP9_FRAME_CONTEXT(9)
π 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
- Kernel file
./include/media/v4l2-vp9.h struct v4l2_vp9_frame_mv_context(9)struct v4l2_vp9_frame_symbol_counts(9)v4l2_vp9_fw_update_probs(9)v4l2_vp9_reset_frame_ctx(9)v4l2_vp9_adapt_coef_probs(9)v4l2_vp9_adapt_noncoef_probs(9)v4l2_vp9_seg_feat_enabled(9)
xoxo, bestie π β source/version: ./include/media Β· date: October 2026 Β· title: struct v4l2...rame_context(9)
π¦ 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