pub struct SegmentationParams {
pub segmentation_enabled: bool,
pub segmentation_update_map: bool,
pub segmentation_temporal_update: bool,
pub segmentation_update_data: bool,
pub feature_enabled: [[bool; 8]; 8],
pub feature_data: [[i16; 8]; 8],
pub seg_id_pre_skip: bool,
pub last_active_seg_id: u8,
}
Fields§
§segmentation_enabled: bool
If set, indicates that this frame makes use of the segmentation tool; If not set, indicates that the frame does not use segmentation.
segmentation_update_map: bool
If set, indicates that the segmentation map are updated during the decoding of this frame. If not set, means that the segmentation map from the previous frame is used.
segmentation_temporal_update: bool
If set, indicates that the updates to the segmentation map are coded relative to the existing segmentation map. If not set, indicates that the new segmentation map is coded without reference to the existing segmentation map.
segmentation_update_data: bool
If set, indicates that new parameters are about to be specified for each segment. If not set, indicates that the segmentation parameters should keep their existing values.
feature_enabled: [[bool; 8]; 8]
If not set, indicates that the corresponding feature is unused and has value equal to 0. If set, indicates that the feature value is coded.
feature_data: [[i16; 8]; 8]
Specifies the feature data for a segment feature.
seg_id_pre_skip: bool
Same as SegIdPreSkip
last_active_seg_id: u8
Same as LastActiveSegId
Trait Implementations§
Source§impl Clone for SegmentationParams
impl Clone for SegmentationParams
Source§fn clone(&self) -> SegmentationParams
fn clone(&self) -> SegmentationParams
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more