S7: drop the doc comments added in the S7 pass (no new comments rule)
Browse files at this commitb8521ccf20bc702255d82a9dc5f6ddff3da67021Parent: 81c02e83 changed files +0 -5
crates/ec-vp8/src/decode.rsmodified+0 -1
| @@ -1244,7 +1244,6 @@ impl Decoder { | |||
| 1244 | (a, l, al) | 1244 | (a, l, al) |
| 1245 | } | 1245 | } |
| 1246 | 1246 | ||
| 1247 | - /// Mark the frame decoded and return it when the header asks for display. | ||
| 1248 | fn finish_frame(&mut self, header: &FrameHeader) -> Option<Picture> { | 1247 | fn finish_frame(&mut self, header: &FrameHeader) -> Option<Picture> { |
| 1249 | self.frame_decoded = true; | 1248 | self.frame_decoded = true; |
| 1250 | header.tag.show_frame.then(|| self.crop()) | 1249 | 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> { | |||
| 101 | }) | 101 | }) |
| 102 | } | 102 | } |
| 103 | 103 | ||
| 104 | -/// Clamp an integer sample into the 8-bit pixel range (RFC 6386 `clamp255`). | ||
| 105 | pub(crate) fn clamp255(v: i32) -> i32 { | 104 | pub(crate) fn clamp255(v: i32) -> i32 { |
| 106 | v.clamp(0, 255) | 105 | v.clamp(0, 255) |
| 107 | } | 106 | } |
crates/ec-vp8/src/modes.rsmodified+0 -3
| @@ -110,8 +110,6 @@ pub const BMODE_TREE: [i8; 18] = [ | |||
| 110 | /// array, no context (RFC 6386 §11.3 item 5 / §16). | 110 | /// array, no context (RFC 6386 §11.3 item 5 / §16). |
| 111 | pub const INTER_BMODE_PROBS: [u8; 9] = [120, 90, 79, 133, 87, 85, 80, 111, 151]; | 111 | pub const INTER_BMODE_PROBS: [u8; 9] = [120, 90, 79, 133, 87, 85, 80, 111, 151]; |
| 112 | 112 | ||
| 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. | ||
| 115 | const YMODE_OF_LEAF: [YMode; 5] = [ | 113 | const YMODE_OF_LEAF: [YMode; 5] = [ |
| 116 | YMode::DcPred, | 114 | YMode::DcPred, |
| 117 | YMode::VPred, | 115 | YMode::VPred, |
| @@ -120,7 +118,6 @@ const YMODE_OF_LEAF: [YMode; 5] = [ | |||
| 120 | YMode::BPred, | 118 | YMode::BPred, |
| 121 | ]; | 119 | ]; |
| 122 | 120 | ||
| 123 | -/// Tree leaf to [`BMode`]; leaves are 0..=9 by construction of [`BMODE_TREE`]. | ||
| 124 | const BMODE_OF_LEAF: [BMode; 10] = [ | 121 | const BMODE_OF_LEAF: [BMode; 10] = [ |
| 125 | BMode::BDCPred, | 122 | BMode::BDCPred, |
| 126 | BMode::BTMPred, | 123 | BMode::BTMPred, |