[x265] [PATCH] nits: remove unnecessary parentheses

Ma0 mateuszb at poczta.onet.pl
Fri Nov 24 17:52:39 CET 2017


# HG changeset patch
# User Ma0 <mateuszb at poczta.onet.pl>
# Date 1511540639 -3600
#      Fri Nov 24 17:23:59 2017 +0100
# Node ID 97d4b6e9462aa6445feed5959f827d989d07faaf
# Parent  b24454f3ff6de650aab6835e291837fc4e2a4466
nits: remove unnecessary parentheses

diff -r b24454f3ff6d -r 97d4b6e9462a source/common/lowres.h
--- a/source/common/lowres.h	Wed Nov 22 22:00:48 2017 +0530
+++ b/source/common/lowres.h	Fri Nov 24 17:23:59 2017 +0100
@@ -129,7 +129,7 @@
     uint8_t*  intraMode;
     int64_t   satdCost;
     uint16_t* lowresCostForRc;
-    uint16_t(*lowresCosts[X265_BFRAME_MAX + 2][X265_BFRAME_MAX + 2]);
+    uint16_t* lowresCosts[X265_BFRAME_MAX + 2][X265_BFRAME_MAX + 2];
     int32_t*  lowresMvCosts[2][X265_BFRAME_MAX + 1];
     MV*       lowresMvs[2][X265_BFRAME_MAX + 1];
     uint32_t  maxBlocksInRow;
diff -r b24454f3ff6d -r 97d4b6e9462a source/encoder/sao.h
--- a/source/encoder/sao.h	Wed Nov 22 22:00:48 2017 +0530
+++ b/source/encoder/sao.h	Fri Nov 24 17:23:59 2017 +0100
@@ -58,8 +58,8 @@
 
     static const uint32_t s_eoTable[NUM_EDGETYPE];
 
-    typedef int32_t (PerClass[MAX_NUM_SAO_TYPE][MAX_NUM_SAO_CLASS]);
-    typedef int32_t (PerPlane[NUM_PLANE][MAX_NUM_SAO_TYPE][MAX_NUM_SAO_CLASS]);
+    typedef int32_t PerClass[MAX_NUM_SAO_TYPE][MAX_NUM_SAO_CLASS];
+    typedef int32_t PerPlane[NUM_PLANE][MAX_NUM_SAO_TYPE][MAX_NUM_SAO_CLASS];
 
 protected:
 


More information about the x265-devel mailing list