U7: drop Decoder::ref_pic_lists and ref_pic_set accessors (no callers in the workspace, edith or yumush); no output change
Browse files at this commit0214c6d261fe0415a8ffe7d945f2b191fce5d3feParent: 76bf5bf1 changed file +0 -11
crates/ec-h265/src/dec/mod.rsmodified+0 -11
| @@ -215,17 +215,6 @@ impl Decoder { | |||
| 215 | self.pps.get(id as usize)?.as_deref() | 215 | self.pps.get(id as usize)?.as_deref() |
| 216 | } | 216 | } |
| 217 | 217 | ||
| 218 | - /// `RefPicList0` and `RefPicList1` of the most recent slice of the picture | ||
| 219 | - /// being decoded. | ||
| 220 | - pub fn ref_pic_lists(&self) -> Option<&RefPicLists> { | ||
| 221 | - self.cur.as_ref().map(|c| &c.lists) | ||
| 222 | - } | ||
| 223 | - | ||
| 224 | - /// The reference picture set of the picture being decoded. | ||
| 225 | - pub fn ref_pic_set(&self) -> Option<&RefPicSet> { | ||
| 226 | - self.cur.as_ref().map(|c| &c.rps) | ||
| 227 | - } | ||
| 228 | - | ||
| 229 | /// A picture in the decoded picture buffer, by id. | 218 | /// A picture in the decoded picture buffer, by id. |
| 230 | pub fn picture(&self, id: u32) -> Option<&DpbPicture> { | 219 | pub fn picture(&self, id: u32) -> Option<&DpbPicture> { |
| 231 | self.dpb.get(id) | 220 | self.dpb.get(id) |