summaryrefslogtreecommitdiff
path: root/test/non_greedy_mv_test.cc
diff options
context:
space:
mode:
authorJerome Jiang <jianj@google.com>2020-07-23 16:46:01 -0700
committerJerome Jiang <jianj@google.com>2020-07-27 11:51:04 -0700
commitb358f9076f153835680cd3af3765c7e30474c030 (patch)
treed9433e7732599d1ac0e868c317a299f4e28b51f8 /test/non_greedy_mv_test.cc
parentdbe00bb68b8a67beed66aae866b90296ed311412 (diff)
downloadlibvpx-b358f9076f153835680cd3af3765c7e30474c030.tar
libvpx-b358f9076f153835680cd3af3765c7e30474c030.tar.gz
libvpx-b358f9076f153835680cd3af3765c7e30474c030.tar.bz2
libvpx-b358f9076f153835680cd3af3765c7e30474c030.zip
NULL -> nullptr in CPP files
This should clean up clangtidy warnings Change-Id: Ifb5a986121b2d0bd71b9ad39a79dd46c63bdb998
Diffstat (limited to 'test/non_greedy_mv_test.cc')
-rw-r--r--test/non_greedy_mv_test.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/non_greedy_mv_test.cc b/test/non_greedy_mv_test.cc
index c78331b28..927029de4 100644
--- a/test/non_greedy_mv_test.cc
+++ b/test/non_greedy_mv_test.cc
@@ -129,11 +129,11 @@ TEST(non_greedy_mv, smooth_mf) {
const char *ground_truth_file =
"non_greedy_mv_test_files/ground_truth_16x16.txt";
BLOCK_SIZE bsize = BLOCK_32X32;
- MV *search_mf = NULL;
- MV *smooth_mf = NULL;
- MV *estimation = NULL;
- MV *ground_truth = NULL;
- int(*local_var)[MF_LOCAL_STRUCTURE_SIZE] = NULL;
+ MV *search_mf = nullptr;
+ MV *smooth_mf = nullptr;
+ MV *estimation = nullptr;
+ MV *ground_truth = nullptr;
+ int(*local_var)[MF_LOCAL_STRUCTURE_SIZE] = nullptr;
int rows = 0, cols = 0;
int alpha = 100, max_iter = 100;
@@ -169,8 +169,8 @@ TEST(non_greedy_mv, local_var) {
const char *gt_local_var_file = "non_greedy_mv_test_files/localVar_16x16.txt";
const char *search_mf_file = "non_greedy_mv_test_files/exhaust_16x16.txt";
BLOCK_SIZE bsize = BLOCK_16X16;
- int(*gt_local_var)[MF_LOCAL_STRUCTURE_SIZE] = NULL;
- int(*est_local_var)[MF_LOCAL_STRUCTURE_SIZE] = NULL;
+ int(*gt_local_var)[MF_LOCAL_STRUCTURE_SIZE] = nullptr;
+ int(*est_local_var)[MF_LOCAL_STRUCTURE_SIZE] = nullptr;
YV12_BUFFER_CONFIG ref_frame, cur_frame;
int rows, cols;
MV *search_mf;