Skip to content

Commit

Permalink
Display quantisation mode in info box (#954)
Browse files Browse the repository at this point in the history
  • Loading branch information
thealphadollar authored and cfsmp3 committed Mar 6, 2018
1 parent f46e3dc commit 587f0b8
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/lib_ccx/params_dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,23 @@ void params_dump(struct lib_ccx_ctx *ctx)
(long) (ccx_options.enc_cfg.endcreditsforatmost.time_in_ms/1000)
);
}
// print quantisation mode used
mprint("[Quantisation-mode: ");
switch(ccx_options.ocr_quantmode)
{
case 0:
// when no quantisation
mprint("None]\n");
break;
case 1:
// default mode, CCExtractor's internal function
mprint("CCExtractor's internal function]\n");
break;
case 2:
// reduced color palette quantisation
mprint("Reduced color palette]\n");
break;
}
}

#define Y_N(cond) ((cond) ? "Yes" : "No")
Expand Down

0 comments on commit 587f0b8

Please sign in to comment.