STRUCT VDEC_AV1_SLICE_SEQ_HEADER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct vdec_av1_slice_seq_header(9) πŸ’–

okay so this is a page from the Kernel API Manual and it's all about struct vdec_av1_slice_seq_header, which β€” as the name lowkey gives away β€” represents an AV1 Sequence OBU. like, the whole vibe of an AV1 sequence, packed into one struct. slay.


✨ SYNOPSIS ✨

struct vdec_av1_slice_seq_header {
    u8 bitdepth;
    u8 enable_superres;
    u8 enable_filter_intra;
    u8 enable_intra_edge_filter;
    u8 enable_interintra_compound;
    u8 enable_masked_compound;
    u8 enable_dual_filter;
    u8 enable_jnt_comp;
    u8 mono_chrome;
    u8 enable_order_hint;
    u8 order_hint_bits;
    u8 use_128x128_superblock;
    u8 subsampling_x;
    u8 subsampling_y;
    u32 max_frame_width;
    u32 max_frame_height;
 };

like, that's the whole cast of characters. sixteen fields, all main character energy, no filler. 🌟


πŸŽ€ Members πŸŽ€

  • bitdepth β€” the bitdepth to use for the sequence. that's it, that's the field. 🫢
  • enable_superres β€” says whether the use_superres syntax element may be present. permission slip energy fr.
  • enable_filter_intra β€” says the use_filter_intra syntax element may be present. same deal, different syntax element bestie.
  • enable_intra_edge_filter β€” whether the intra edge filtering process should be enabled. yes/no, on/off, iconic.
  • enable_interintra_compound β€” says the mode info for inter blocks may contain the syntax element interintra.
  • enable_masked_compound β€” says the mode info for inter blocks may contain the syntax element compound_type. masked up, staying safe πŸ’…
  • enable_dual_filter β€” the inter prediction filter type may be specified independently. two filters living their separate lives, we love to see it.
  • enable_jnt_comp β€” the distance weights process may be used for inter prediction. (yes jnt = joint, she's abbreviated, she's busy.)
  • mono_chrome β€” indicates the video does not contain U and V color planes. no chroma, no problem, monochrome moment. πŸ–€
  • enable_order_hint β€” tools based on the values of order hints may be used. hints, but make them order.
  • order_hint_bits β€” the number of bits used for the order_hint field at each frame. count them bits, diva.
  • use_128x128_superblock β€” indicates superblocks contain 128*128 luma samples. big block energy, highkey.
  • subsampling_x β€” the chroma subsamling format. (that's the doc's spelling, not mine, i'm just the messenger πŸ™ˆ)
  • subsampling_y β€” the chroma subsamling format. again. it's giving horizontal and vertical twins, periodt.
  • max_frame_width β€” the maximum frame width for the frames represented by sequence.
  • max_frame_height β€” the maximum frame height for the frames represented by sequence.
ngl, most of these are just u8 yes/no toggles plus the two u32 max dimensions. the vibe is simple, the spec is not. πŸ’€

🌈 SEE ALSO 🌈

the kernel file herself:

./drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.c

and all her sisters, literally the entire friend group:

  • struct vdec_av1_slice_init_vsi(9)
  • struct vdec_av1_slice_mem(9)
  • struct vdec_av1_slice_state(9)
  • struct vdec_av1_slice_tile_group(9)
  • struct vdec_av1_slice_scale_factors(9)
  • struct vdec_av1_slice_frame_refs(9)
  • struct vdec_av1_slice_gm(9)
  • struct vdec_av1_slice_sm(9)
  • struct vdec_av1_slice_seg(9)
  • struct vdec_av1_slice_delta_q_lf(9)
  • struct vdec_av1_slice_quantization(9)
  • struct vdec_av1_slice_lr(9)
  • struct vdec_av1_slice_loop_filter(9)
  • struct vdec_av1_slice_cdef(9)
  • struct vdec_av1_slice_mfmv(9)
  • struct vdec_av1_slice_tile(9)
  • struct vdec_av1_slice_uncompressed_header(9)
  • struct vdec_av1_slice_frame(9)
  • struct vdec_av1_slice_work_buffer(9)
  • struct vdec_av1_slice_frame_info(9)
  • struct vdec_av1_slice_slot(9)
  • struct vdec_av1_slice_fb(9)
  • struct vdec_av1_slice_vsi(9)
  • struct vdec_av1_slice_pfc(9)
  • struct vdec_av1_slice_instance(9)

like?? that's the whole group chat and everyone's invited. πŸ¦‹


and that's the page bestie ✨ this little gem lives over at ./drivers/media/platform/media... and it's dated October 2026 β€” so yes, she's from the future, we stan a forward-thinking manpage. go read the whole struct vdec_av1_slice_seq_header(9) situation, ily, bye πŸ’œπŸŒΈ

πŸ“¦ where this page comes from