pub struct UpdateSegmentation {
pub update_mb_segmentation_map: bool,
pub update_segment_feature_data: bool,
pub segment_feature_mode_absolute: bool,
pub quantizer_update: [Option<i16>; 4],
pub loop_filter_update: [Option<i16>; 4],
pub segment_prob: [Option<u8>; 3],
}Expand description
update_segmentation() sub-block of §19.2.
Present in Vp8CodedHeader only when segmentation_enabled is
true in the same frame.
Fields§
§update_mb_segmentation_map: boolL(1) — whether the per-MB segmentation map is updated for the current frame.
update_segment_feature_data: boolL(1) — whether the segment-feature data block follows.
segment_feature_mode_absolute: boolL(1) — segment_feature_mode: false = delta, true =
absolute (RFC 6386 §9.3 4.a). Only meaningful when
update_segment_feature_data is true.
quantizer_update: [Option<i16>; 4]Per-segment quantizer deltas. None for segments whose
quantizer_update bit was 0; otherwise the signed delta value
reconstructed from L(7) magnitude + L(1) sign.
loop_filter_update: [Option<i16>; 4]Per-segment loop-filter deltas. None for segments whose
loop_filter_update bit was 0; otherwise the signed delta
reconstructed from L(6) magnitude + L(1) sign.
segment_prob: [Option<u8>; 3]L(1) × 3 — segmentation-map branch probabilities, present only
when update_mb_segmentation_map is true. None for the
entries whose segment_prob_update flag was 0 (the decoder is
expected to fall back to 255 per §9.3 item 5); otherwise the
L(8) value from the bitstream.