shithub: libvpx

Download patch

ref: 15542721eed9f434b4d9c670d4184c566705bfb7
parent: f143a8119129411522a3c153b0bff6514c3a165d
author: Frank Galligan <fgalligan@google.com>
date: Mon Oct 4 17:12:22 EDT 2010

Update arnr strength range form 1-6 to 0-6.

Change-Id: I8eb49c56f7509f0a8074d440e8345b9e3344b85b

--- a/vp8/vp8_cx_iface.c
+++ b/vp8/vp8_cx_iface.c
@@ -184,7 +184,7 @@
     RANGE_CHECK(vp8_cfg, token_partitions,   VP8_ONE_TOKENPARTITION, VP8_EIGHT_TOKENPARTITION);
     RANGE_CHECK_HI(vp8_cfg, Sharpness,       7);
     RANGE_CHECK(vp8_cfg, arnr_max_frames, 0, 15);
-    RANGE_CHECK(vp8_cfg, arnr_strength,   1, 6);
+    RANGE_CHECK_HI(vp8_cfg, arnr_strength,   6);
     RANGE_CHECK(vp8_cfg, arnr_type,       1, 3);
 
     if (cfg->g_pass == VPX_RC_LAST_PASS)