aboutsummaryrefslogtreecommitdiff
path: root/unit_test/unit_test.cc
diff options
context:
space:
mode:
authorfbarchard@google.com <fbarchard@google.com@16f28f9a-4ce2-e073-06de-1de4eb20be90>2012-09-16 23:27:29 +0000
committerfbarchard@google.com <fbarchard@google.com@16f28f9a-4ce2-e073-06de-1de4eb20be90>2012-09-16 23:27:29 +0000
commitd5a27f0533d42bd0e241b0a7887abe1a3d9c0633 (patch)
tree6e9adb40ca9339c73b726a4c3c1d25af99a8ec82 /unit_test/unit_test.cc
parent9bcc9a25355841f844e9fae3ba40522447312a66 (diff)
downloadlibyuv-d5a27f0533d42bd0e241b0a7887abe1a3d9c0633.tar.gz
RGBA to and from I420 with C implementation.
BUG=78 TEST=planar_test Review URL: https://webrtc-codereview.appspot.com/798007 git-svn-id: http://libyuv.googlecode.com/svn/trunk@355 16f28f9a-4ce2-e073-06de-1de4eb20be90
Diffstat (limited to 'unit_test/unit_test.cc')
-rw-r--r--unit_test/unit_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/unit_test/unit_test.cc b/unit_test/unit_test.cc
index e590fa4d..880a4f4c 100644
--- a/unit_test/unit_test.cc
+++ b/unit_test/unit_test.cc
@@ -10,10 +10,10 @@
#include "unit_test/unit_test.h"
-#include <cstring>
-
#include <stdlib.h> // For getenv()
+#include <cstring>
+
// Change this to 1000 for benchmarking.
// TODO(fbarchard): Add command line parsing to pass this as option.
#define BENCHMARK_ITERATIONS 1
@@ -23,7 +23,7 @@ libyuvTest::libyuvTest() : rotate_max_w_(128), rotate_max_h_(128),
benchmark_height_(720) {
const char* repeat = getenv("LIBYUV_REPEAT");
if (repeat) {
- benchmark_iterations_ = atoi(repeat);
+ benchmark_iterations_ = atoi(repeat); // NOLINT
}
}