[x265] [PATCH] White-space fixes in TComTrQuant.cpp file

praveen at multicorewareinc.com praveen at multicorewareinc.com
Wed Jun 26 09:13:09 CEST 2013


# HG changeset patch
# User praveentiwari
# Date 1372230755 -19800
# Node ID 602a536a17dc83d5d82743e9516e3e7ea7485b35
# Parent  aa101791362709116eac8dc0bd62112bf2fbe9fe
White-space fixes in TComTrQuant.cpp file

diff -r aa1017913627 -r 602a536a17dc source/Lib/TLibCommon/TComTrQuant.cpp
--- a/source/Lib/TLibCommon/TComTrQuant.cpp	Wed Jun 26 12:36:34 2013 +0530
+++ b/source/Lib/TLibCommon/TComTrQuant.cpp	Wed Jun 26 12:42:35 2013 +0530
@@ -976,7 +976,7 @@
         assert(bitDepth == 8);
 
         const UInt uiLog2BlockSize = g_aucConvertToBit[uiWidth];
-        x265::primitives.dct[x265::DCT_4x4 + uiLog2BlockSize - ((uiWidth==4) && (uiMode != REG_DCT))](pcResidual, m_plTempCoeff, uiStride);
+        x265::primitives.dct[x265::DCT_4x4 + uiLog2BlockSize - ((uiWidth == 4) && (uiMode != REG_DCT))](pcResidual, m_plTempCoeff, uiStride);
 
         assert(uiWidth == uiHeight);
     }
@@ -1021,10 +1021,10 @@
     else
     {
         // ChECK_ME: I assume we don't use HIGH_BIT_DEPTH here
-        assert( bitDepth == 8 );
+        assert(bitDepth == 8);
 
         const UInt uiLog2BlockSize = g_aucConvertToBit[uiWidth];
-        x265::primitives.idct[x265::IDCT_4x4 + uiLog2BlockSize - ((uiWidth==4) && (uiMode != REG_DCT))](m_plTempCoeff, rpcResidual, uiStride);
+        x265::primitives.idct[x265::IDCT_4x4 + uiLog2BlockSize - ((uiWidth == 4) && (uiMode != REG_DCT))](m_plTempCoeff, rpcResidual, uiStride);
     }
 }
 
@@ -1093,11 +1093,11 @@
 Void TComTrQuant::xIT(Int bitDepth, UInt uiMode, Int* plCoef, Short* pResidual, UInt uiStride, Int iWidth, Int iHeight)
 {
     // ChECK_ME: I assume we don't use HIGH_BIT_DEPTH here
-    assert( bitDepth == 8 );
+    assert(bitDepth == 8);
 
     //xITrMxN(bitDepth, coeff, block, iWidth, iHeight, uiMode);
     const UInt uiLog2BlockSize = g_aucConvertToBit[iWidth];
-    x265::primitives.idct[x265::IDCT_4x4 + uiLog2BlockSize - ((iWidth==4) && (uiMode != REG_DCT))](plCoef, pResidual, uiStride);
+    x265::primitives.idct[x265::IDCT_4x4 + uiLog2BlockSize - ((iWidth == 4) && (uiMode != REG_DCT))](plCoef, pResidual, uiStride);
 }
 
 /** Wrapper function between HM interface and core 4x4 transform skipping
@@ -1850,12 +1850,12 @@
  * \param ui16AbsGoRice Rice parameter for coeff_abs_level_minus3
  * \returns cost of given absolute transform level
  */
-__inline Double TComTrQuant::xGetICRateCost(UInt uiAbsLevel,
+__inline Double TComTrQuant::xGetICRateCost(UInt   uiAbsLevel,
                                             UShort ui16CtxNumOne,
                                             UShort ui16CtxNumAbs,
                                             UShort ui16AbsGoRice,
-                                            UInt c1Idx,
-                                            UInt c2Idx) const
+                                            UInt   c1Idx,
+                                            UInt   c2Idx) const
 {
     Double iRate = xGetIEPRate();
     UInt baseLevel  =  (c1Idx < C1FLAG_NUMBER) ? (2 + (c2Idx < C2FLAG_NUMBER)) : 1;


More information about the x265-devel mailing list