forge
Explore
Log in

Don't you dare go Hollow

S7: drop the doc comments added in the S7 pass (no new comments rule)

Browse files at this commit

b8521ccf20bc702255d82a9dc5f6ddff3da67021Ahmet Kaan GümüşParent: 81c02e8
crates/ec-vp8/src/decode.rsmodified+0 -1
@@ -1244,7 +1244,6 @@ impl Decoder {
12441244 (a, l, al)
12451245 }
12461246
1247- /// Mark the frame decoded and return it when the header asks for display.
12481247 fn finish_frame(&mut self, header: &FrameHeader) -> Option<Picture> {
12491248 self.frame_decoded = true;
12501249 header.tag.show_frame.then(|| self.crop())
crates/ec-vp8/src/frame.rsmodified+0 -1
@@ -101,7 +101,6 @@ pub fn parse_keyframe_dims(data: &[u8]) -> Result<KeyFrameDims> {
101101 })
102102 }
103103
104-/// Clamp an integer sample into the 8-bit pixel range (RFC 6386 `clamp255`).
105104 pub(crate) fn clamp255(v: i32) -> i32 {
106105 v.clamp(0, 255)
107106 }
crates/ec-vp8/src/modes.rsmodified+0 -3
@@ -110,8 +110,6 @@ pub const BMODE_TREE: [i8; 18] = [
110110 /// array, no context (RFC 6386 §11.3 item 5 / §16).
111111 pub const INTER_BMODE_PROBS: [u8; 9] = [120, 90, 79, 133, 87, 85, 80, 111, 151];
112112
113-/// Decode a key-frame Y mode (RFC 6386 §11.2).
114-/// Tree leaf to [`YMode`]; leaves are 0..=4 by construction of the trees.
115113 const YMODE_OF_LEAF: [YMode; 5] = [
116114 YMode::DcPred,
117115 YMode::VPred,
@@ -120,7 +118,6 @@ const YMODE_OF_LEAF: [YMode; 5] = [
120118 YMode::BPred,
121119 ];
122120
123-/// Tree leaf to [`BMode`]; leaves are 0..=9 by construction of [`BMODE_TREE`].
124121 const BMODE_OF_LEAF: [BMode; 10] = [
125122 BMode::BDCPred,
126123 BMode::BTMPred,