Commit 48c700ae authored by Guillaume Martres's avatar Guillaume Martres

Enable tx domain distortion at speed >= 4 instead of >= 1

This way, the default speed (3) always uses pixel domain distortion
which is easier to understand while we figure out what our quantizers
should look like, how to set lambda, what distortion metrics to use,
etc.

Note that this only affects --tune Psnr since --tune Psychovisual always
uses (weighted) pixel domain distortion.

At speed 3 with --tune Psnr the metrics change are:

   PSNR | PSNR Cb | PSNR Cr | PSNR HVS |    SSIM | MS SSIM | CIEDE 2000
-0.1422 | -0.4571 | -0.2197 |  -0.1806 | -0.1451 | -0.1617 |    -0.5266

And the encoding speed seems to be only very slightly reduced.
parent a45a2ac3
......@@ -159,7 +159,7 @@ impl SpeedSettings {
}
fn tx_domain_distortion_preset(speed: usize) -> bool {
speed >= 1
speed >= 4
}
fn encode_bottomup_preset(speed: usize) -> bool {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment