ans: Switch from uABS to rABS

This is in preparation for expanding the state range.

No discernible compression impact

ans_multioff@2017-01-25T20:58:18.756Z -> ans_multioff_rabs@2017-01-26T01:05:12.801Z

     PSNR | PSNR Cb | PSNR Cr | PSNR HVS |    SSIM | MS SSIM | CIEDE 2000
  -0.0001 | -0.0001 | -0.0001 |  -0.0001 | -0.0001 | -0.0001 | -0.0001

https://arewecompressedyet.com/?job=ans_multioff%402017-01-25T20%3A58%3A18.756Z&job=ans_multioff_rabs%402017-01-26T01%3A05%3A12.801Z

Change-Id: Ie1817991190f1de6d9c31e0c97f77efbd5869d35
diff --git a/test/ans_test.cc b/test/ans_test.cc
index c6fc247..585773f 100644
--- a/test/ans_test.cc
+++ b/test/ans_test.cc
@@ -49,14 +49,14 @@
   return ret;
 }
 
-bool check_uabs(const PvVec &pv_vec, uint8_t *buf) {
+bool check_rabs(const PvVec &pv_vec, uint8_t *buf) {
   BufAnsCoder a;
   aom_buf_ans_alloc(&a, NULL, kBufAnsSize);
   buf_ans_write_init(&a, buf);
 
   std::clock_t start = std::clock();
   for (PvVec::const_iterator it = pv_vec.begin(); it != pv_vec.end(); ++it) {
-    buf_uabs_write(&a, it->second, 256 - it->first);
+    buf_rabs_write(&a, it->second, 256 - it->first);
   }
   aom_buf_ans_flush(&a);
   std::clock_t enc_time = std::clock() - start;
@@ -70,7 +70,7 @@
   if (ans_read_init(&d, buf, offset)) return false;
   start = std::clock();
   for (PvVec::const_iterator it = pv_vec.begin(); it != pv_vec.end(); ++it) {
-    okay = okay && (uabs_read(&d, 256 - it->first) != 0) == it->second;
+    okay = okay && (rabs_read(&d, 256 - it->first) != 0) == it->second;
   }
   std::clock_t dec_time = std::clock() - start;
   if (!okay) return false;
@@ -180,7 +180,7 @@
 std::vector<int> AnsTestFix::sym_vec_;
 rans_sym AnsTestFix::rans_sym_tab_[kRansSymbols];
 
-TEST_F(AbsTestFix, Uabs) { EXPECT_TRUE(check_uabs(pv_vec_, buf_)); }
+TEST_F(AbsTestFix, Rabs) { EXPECT_TRUE(check_rabs(pv_vec_, buf_)); }
 TEST_F(AnsTestFix, Rans) {
   EXPECT_TRUE(check_rans(sym_vec_, rans_sym_tab_, buf_));
 }