Skip to content

Commit

Permalink
document Ri
Browse files Browse the repository at this point in the history
  • Loading branch information
SludgePhD committed Mar 8, 2024
1 parent 9f1cf72 commit f0445e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/jpeg/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,9 @@ pub struct Dri {
}

impl Dri {
/// Returns the number of MCUs per restart interval.
///
/// A value of 0 disables restart intervals for the following scans.
#[inline]
pub fn Ri(&self) -> u16 {
self.Ri
Expand Down

0 comments on commit f0445e2

Please sign in to comment.