Use the mode0 fast-pash less for -fastest quality
For 6x6 this improves IQ by around 0.3dB for ~8% performance.
For 8x8 this improves IQ by around 0.5dB for ~15% performance.
Both are still substantially faster than -fast (2-3x).
@@ -62,7 +62,7 @@ struct astcenc_preset_config
static const std::array<astcenc_preset_config, 5> preset_configs_high {{
{
ASTCENC_PRE_FASTEST,
- 3, 4, 30, 1, 2, 79.0f, 57.0f, 2.0f, 2.0f, 1.0f, 1.0f, 0.5f, 25
+ 3, 4, 30, 1, 2, 79.0f, 57.0f, 2.5f, 2.5f, 1.0f, 1.0f, 0.5f, 25
}, {
ASTCENC_PRE_FAST,
3, 12, 55, 3, 3, 85.2f, 63.2f, 3.5f, 3.5f, 1.0f, 1.1f, 0.65f, 20
@@ -86,7 +86,7 @@ static const std::array<astcenc_preset_config, 5> preset_configs_high {{
static const std::array<astcenc_preset_config, 5> preset_configs_mid {{
{
ASTCENC_PRE_FASTEST,
- 3, 4, 30, 1, 2, 79.0f, 57.0f, 2.0f, 2.0f, 1.0f, 1.0f, 0.5f, 20
+ 3, 4, 30, 1, 2, 79.0f, 57.0f, 3.5f, 3.5f, 1.0f, 1.0f, 0.5f, 20
}, {
ASTCENC_PRE_FAST,
3, 12, 55, 3, 3, 85.2f, 63.2f, 3.5f, 3.5f, 1.0f, 1.1f, 0.5f, 16
@@ -110,7 +110,7 @@ static const std::array<astcenc_preset_config, 5> preset_configs_mid {{
static const std::array<astcenc_preset_config, 5> preset_configs_low {{
{
ASTCENC_PRE_FASTEST,
- 3, 4, 30, 1, 2, 79.0f, 57.0f, 2.0f, 2.0f, 1.0f, 1.0f, 0.5f, 20
+ 3, 4, 30, 1, 2, 79.0f, 57.0f, 3.5f, 3.5f, 1.0f, 1.0f, 0.5f, 20
}, {
ASTCENC_PRE_FAST,
3, 10, 53, 3, 3, 85.0f, 63.0f, 3.5f, 3.5f, 1.0f, 1.1f, 0.5f, 16
