Skip to content

Commit

Permalink
Enable fine directional intra for all presets
Browse files Browse the repository at this point in the history
Changes only speed 2. Encoding speed is reduced by 5.5%:

   PSNR | PSNR Cb | PSNR Cr | PSNR HVS |    SSIM | MS SSIM | CIEDE 2000
-0.7704 | -1.6432 | -1.4803 |  -0.6959 | -0.7822 | -0.7149 |    -0.8890
  • Loading branch information
barrbrain committed Sep 9, 2020
1 parent 414e6d8 commit 2fbca40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/api/config/speedsettings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ impl SpeedSettings {
/// - 3: min block size 8x8, complex pred modes for keyframes, RDO TX decision, include near MVs,
/// full SGR search.
/// - 2: min block size 4x4, complex pred modes, RDO TX decision, include near MVs,
/// full SGR search, coarse directions.
/// full SGR search.
/// - 1: min block size 4x4, complex pred modes, RDO TX decision, include near MVs,
/// bottom-up encoding, full SGR search.
/// - 0 (slowest): min block size 4x4, complex pred modes, RDO TX decision, include near MVs,
Expand Down Expand Up @@ -271,8 +271,8 @@ impl SpeedSettings {
speed >= 9
}

fn fine_directional_intra_preset(speed: usize) -> bool {
speed != 2
fn fine_directional_intra_preset(_speed: usize) -> bool {
true
}
}

Expand Down

0 comments on commit 2fbca40

Please sign in to comment.