STRUCT VDEC_AV1_SLICE_SEG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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.c
  • 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_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