[x265-commits] [x265] multi-level refinement: fix typo and missing space

Kavitha Sampath kavitha at multicorewareinc.com
Sat Mar 11 01:03:03 CET 2017


details:   http://hg.videolan.org/x265/rev/88fd9082764c
branches:  
changeset: 11722:88fd9082764c
user:      Kavitha Sampath <kavitha at multicorewareinc.com>
date:      Wed Mar 08 17:15:59 2017 +0530
description:
multi-level refinement: fix typo and missing space

diffstat:

 source/common/param.cpp          |  2 +-
 source/test/regression-tests.txt |  2 +-
 source/x265cli.h                 |  2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diffs (36 lines):

diff -r 6e348252e902 -r 88fd9082764c source/common/param.cpp
--- a/source/common/param.cpp	Mon Feb 27 12:04:27 2017 +0530
+++ b/source/common/param.cpp	Wed Mar 08 17:15:59 2017 +0530
@@ -1655,7 +1655,7 @@ char *x265_param2string(x265_param* p, i
     BOOL(p->bAQMotion, "aq-motion");
     BOOL(p->bEmitHDRSEI, "hdr");
     BOOL(p->bHDROpt, "hdr-opt");
-    s += sprintf(s, "refine-level=%d", p->analysisRefineLevel);
+    s += sprintf(s, " refine-level=%d", p->analysisRefineLevel);
 #undef BOOL
     return buf;
 }
diff -r 6e348252e902 -r 88fd9082764c source/test/regression-tests.txt
--- a/source/test/regression-tests.txt	Mon Feb 27 12:04:27 2017 +0530
+++ b/source/test/regression-tests.txt	Wed Mar 08 17:15:59 2017 +0530
@@ -68,7 +68,7 @@ KristenAndSara_1280x720_60.y4m,--preset 
 KristenAndSara_1280x720_60.y4m,--preset slower --pmode --max-tu-size 8 --limit-refs 0 --limit-modes --limit-tu 1
 NebutaFestival_2560x1600_60_10bit_crop.yuv,--preset superfast --tune psnr
 NebutaFestival_2560x1600_60_10bit_crop.yuv,--preset medium --tune grain --limit-refs 2
-NebutaFestival_2560x1600_60_10bit_crop.yuv,--preset slow --no-cutree --analysis-mode=save --refine-level 10 --bitrate 9000,--preset slow --no-cutree --analysis-mode=load --refine-level 10 --bitrate 9000
+NebutaFestival_2560x1600_60_10bit_crop.yuv,--preset slow --no-cutree --analysis-mode=save --rd 5 --refine-level 10 --bitrate 9000,--preset slow --no-cutree --analysis-mode=load --rd 5 --refine-level 10 --bitrate 9000
 News-4k.y4m,--preset ultrafast --no-cutree --analysis-mode=save --refine-level 2 --bitrate 15000,--preset ultrafast --no-cutree --analysis-mode=load --refine-level 2 --bitrate 15000
 News-4k.y4m,--preset superfast --lookahead-slices 6 --aq-mode 0
 News-4k.y4m,--preset superfast --slices 4 --aq-mode 0 
diff -r 6e348252e902 -r 88fd9082764c source/x265cli.h
--- a/source/x265cli.h	Mon Feb 27 12:04:27 2017 +0530
+++ b/source/x265cli.h	Wed Mar 08 17:15:59 2017 +0530
@@ -424,7 +424,7 @@ static void showHelp(x265_param *param)
     H0("   --[no-]strict-cbr             Enable stricter conditions and tolerance for bitrate deviations in CBR mode. Default %s\n", OPT(param->rc.bStrictCbr));
     H0("   --analysis-mode <string|int>  save - Dump analysis info into file, load - Load analysis buffers from the file. Default %d\n", param->analysisMode);
     H0("   --analysis-file <filename>    Specify file name used for either dumping or reading analysis data.\n");
-    H0("   --refine-level <1..10>        Level of analyis refinement indicates amount of info stored/reused in save/load mode, 1:least....10:most. Default %d\n", param->analysisRefineLevel);
+    H0("   --refine-level <1..10>        Level of analysis refinement indicates amount of info stored/reused in save/load mode, 1:least....10:most. Default %d\n", param->analysisRefineLevel);
     H0("   --aq-mode <integer>           Mode for Adaptive Quantization - 0:none 1:uniform AQ 2:auto variance 3:auto variance with bias to dark scenes. Default %d\n", param->rc.aqMode);
     H0("   --aq-strength <float>         Reduces blocking and blurring in flat and textured areas (0 to 3.0). Default %.2f\n", param->rc.aqStrength);
     H0("   --[no-]aq-motion              Adaptive Quantization based on the relative motion of each CU w.r.t., frame. Default %s\n", OPT(param->bOptCUDeltaQP));


More information about the x265-commits mailing list