Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
The ref frame code that has slot_idx math I don't understand
is at src/encoder.rs:1040-1080
  • Loading branch information
shssoichiro committed May 30, 2023
1 parent 59a15dd commit 0b5b1d8
Show file tree
Hide file tree
Showing 5 changed files with 291 additions and 309 deletions.
8 changes: 8 additions & 0 deletions src/api/config/encoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,14 @@ impl EncoderConfig {
!self.speed_settings.transform.tx_domain_distortion
}

pub const fn reorder(&self) -> bool {
!self.low_latency
}

pub const fn multiref(&self) -> bool {
self.reorder() || self.speed_settings.multiref
}

/// Describes whether the output is targeted as HDR
pub fn is_hdr(&self) -> bool {
self
Expand Down
Loading

0 comments on commit 0b5b1d8

Please sign in to comment.