Skip to content

Commit

Permalink
Update MS-SSIM tuning
Browse files Browse the repository at this point in the history
Change optimization parameters when tuning for MS-SSIM for better
performance
  • Loading branch information
fbossen committed Jul 10, 2014
1 parent 55e3e7e commit 6230028
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cjpeg.c
Expand Up @@ -491,9 +491,9 @@ parse_switches (j_compress_ptr cinfo, int argc, char **argv,
jpeg_set_quality(cinfo, 75, TRUE);

} else if (keymatch(arg, "tune-ms-ssim", 6)) {
cinfo->use_flat_quant_tbl = TRUE;
cinfo->lambda_log_scale1 = 10.5;
cinfo->lambda_log_scale2 = 13.0;
cinfo->use_flat_quant_tbl = FALSE;
cinfo->lambda_log_scale1 = 14.25;
cinfo->lambda_log_scale2 = 12.75;
cinfo->use_lambda_weight_tbl = TRUE;
jpeg_set_quality(cinfo, 75, TRUE);

Expand Down

0 comments on commit 6230028

Please sign in to comment.