Adjust unit test PSNR thresholds

Recent changes potentially lowers the bit-rate usage and PSNR
values used in these unit tests.

BUG=aomedia:3222

Change-Id: I88728d0ea6d3c9d87ce9bb68181cb4a0ae88d399
diff --git a/test/datarate_test.cc b/test/datarate_test.cc
index 71f8b0f..8a4da83 100644
--- a/test/datarate_test.cc
+++ b/test/datarate_test.cc
@@ -81,7 +81,7 @@
     ASSERT_NO_FATAL_FAILURE(RunLoop(&video));
     ASSERT_GE(effective_datarate_, cfg_.rc_target_bitrate * 0.85)
         << " The datarate for the file is lower than target by too much!";
-    ASSERT_LE(effective_datarate_, cfg_.rc_target_bitrate * 1.15)
+    ASSERT_LE(effective_datarate_, cfg_.rc_target_bitrate * 1.16)
         << " The datarate for the file is greater than target by too much!";
   }
 
diff --git a/test/end_to_end_psnr_test.cc b/test/end_to_end_psnr_test.cc
index 2a5e6fd..18d7c31 100644
--- a/test/end_to_end_psnr_test.cc
+++ b/test/end_to_end_psnr_test.cc
@@ -30,11 +30,11 @@
 const unsigned int kCqLevel = 18;
 // List of psnr thresholds for speed settings 0-8 and 4 encoding modes
 const double kPsnrThreshold[][4] = {
-  { 35.0, 44.4, 39.5, 41.9 }, { 35.0, 44.4, 39.5, 41.9 },
-  { 35.0, 44.4, 39.4, 41.9 }, { 35.0, 44.4, 39.1, 41.8 },
-  { 35.0, 44.4, 39.1, 41.8 }, { 35.0, 44.29, 38.7, 41.8 },
-  { 35.0, 44.3, 38.7, 41.3 }, { 35.0, 44.3, 38.7, 40.8 },
-  { 35.0, 44.3, 38.7, 40.8 }
+  { 34.9, 44.4, 39.5, 41.9 }, { 34.9, 44.4, 39.5, 41.9 },
+  { 34.9, 44.4, 39.4, 41.9 }, { 34.9, 44.4, 39.1, 41.8 },
+  { 34.9, 44.4, 39.1, 41.8 }, { 34.9, 44.29, 38.6, 41.8 },
+  { 34.9, 44.3, 38.6, 41.3 }, { 34.9, 44.3, 38.6, 40.8 },
+  { 34.9, 44.3, 38.6, 40.8 }
 };
 
 typedef struct {