STRUCT VDEC_AV1_SLICE_SEQ_HEADER(9)
π 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 theuse_superressyntax element may be present. permission slip energy fr.enable_filter_intraβ says theuse_filter_intrasyntax 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 elementinterintra.enable_masked_compoundβ says the mode info for inter blocks may contain the syntax elementcompound_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. (yesjnt= 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 theorder_hintfield at each frame. count them bits, diva.use_128x128_superblockβ indicates superblocks contain128*128luma 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 justu8yes/no toggles plus the twou32max 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
- 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