shithub: libvpx

Download patch

ref: a3171b107ae4caa4ad0aa8df6213d9d0144328ca
parent: 67377d3833005932e213dd2fcb2bad79ebef31f6
author: angiebird <angiebird@google.com>
date: Thu Feb 6 09:53:21 EST 2020

Sync simple_encode.h

Change-Id: I046b8c65c96e1864813f9a82649dd6b41ba0aa1f

--- a/vp9/simple_encode.h
+++ b/vp9/simple_encode.h
@@ -87,13 +87,12 @@
   std::vector<NewMotionvectorComponentCounts> comps;
 };
 
-#define UintArray2D std::vector<std::vector<unsigned int>>
-#define UintArray3D std::vector<std::vector<std::vector<unsigned int>>>
-#define UintArray5D \
-  std::vector<std::vector<std::vector<std::vector<std::vector<unsigned int>>>>>
-#define UintArray6D        \
-  std::vector<std::vector< \
-      std::vector<std::vector<std::vector<std::vector<unsigned int>>>>>>
+using UintArray2D = std::vector<std::vector<unsigned int>>;
+using UintArray3D = std::vector<std::vector<std::vector<unsigned int>>>;
+using UintArray5D = std::vector<
+    std::vector<std::vector<std::vector<std::vector<unsigned int>>>>>;
+using UintArray6D = std::vector<std::vector<
+    std::vector<std::vector<std::vector<std::vector<unsigned int>>>>>>;
 
 // This structure is a copy of vp9 |tx_counts|.
 struct TransformSizeCounts {