pub struct SegmentationParams {
pub enabled: bool,
pub update_map: bool,
pub tree_probs: [u8; 7],
pub pred_probs: [u8; 3],
pub temporal_update: bool,
pub update_data: bool,
pub abs_or_delta_update: bool,
pub feature_enabled: [[bool; 4]; 8],
pub feature_data: [[i16; 4]; 8],
}
Fields§
§enabled: bool
If set, indicates that this frame makes use of the segmentation tool. If unset, indicates that the frame does not use segmentation.
update_map: bool
If set, indicates that the segmentation map should be updated during the decoding of this frame. If unset, means that the segmentation map from the previous frame is used.
tree_probs: [u8; 7]
Specify the probability values to be used when decoding segment_id.
pred_probs: [u8; 3]
Specify the probability values to be used when decoding seg_id_predicted.
temporal_update: bool
If set, indicates that the updates to the segmentation map are coded relative to the existing segmentation map. If unset, indicates that the new segmentation map is coded without reference to the existing segmentation map.
update_data: bool
If set, indicates that new parameters are about to be specified for each segment. If unset, indicates that the segmentation parameters should keep their existing values.
abs_or_delta_update: bool
If unset, indicates that the segmentation parameters represent adjustments relative to the standard values. If set, indicates that the segmentation parameters represent the actual values to be used.
feature_enabled: [[bool; 4]; 8]
If unset, indicates that the corresponding feature is unused and has value equal to 0. if set, indicates that the feature value is coded in the bitstream.
feature_data: [[i16; 4]; 8]
Specifies the magnitude of the feature data for a segment feature.
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