STRUCT VDEC_AV1_SLICE_SEG(9)
π NAME π
okay bestie, welcome to the manual page for struct vdec_av1_slice_seg(9) from the Kernel API Manual β it's giving AV1 Segmentation params, and it is lowkey iconic. No cap, this is the struct that holds the segmentation tea. π«Ά
β¨ SYNOPSIS β¨
struct vdec_av1_slice_seg {
u8 segmentation_enabled;
u8 segmentation_update_map;
u8 segmentation_temporal_update;
u8 segmentation_update_data;
int feature_data[V4L2_AV1_MAX_SEGMENTS][V4L2_AV1_SEG_LVL_MAX];
u16 feature_enabled_mask[V4L2_AV1_MAX_SEGMENTS];
int segid_preskip;
int last_active_segid;
};
π Members π
segmentation_enabledβ says whether this frame makes use of the segmentation tool or not. basically the vibe check for segmentation. πsegmentation_update_mapβ the segmentation map is updated during the decoding frame. map refresh era. πΊοΈsegmentation_temporal_updateβ the segmentation map is coded relative the existing segmentaion map. yes bestie, temporal update behavior. β³segmentation_update_dataβ new parameters are about to be specified for each segment. fresh data incoming. β¨feature_dataβ specifies the feature data for a segment feature. the actual feature-data moment. π§feature_enabled_maskβ the corresponding feature value is coded or not. mask says what's enabled. πsegid_preskipβ segment id will be read before the skip syntax element. order matters, iykyk. π₯last_active_segidβ the highest numbered segment id that has some enabled feature. the final boss segment id with enabled features. π
π¦ SEE ALSO π¦
- Kernel file
./drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_av1_req_lat_if.cstruct 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_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_seq_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)
and that's the whole struct, bestie β every member accounted for, periodt. π
this page's footer energy is ./drivers/media/platform/media..., October 2026, and struct vdec_av1_slice_seg(9) β slay and goodbye! πβ¨
π¦ 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