From 5c4b217b04c12c717f4b5a6e5f945f7a7c805044 Mon Sep 17 00:00:00 2001
From: Frank Bossen <fbossen@gmail.com>
Date: Thu, 24 Sep 2020 10:54:09 -0400
Subject: [PATCH] Rename variable

---
 source/Lib/CommonLib/Mv.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/source/Lib/CommonLib/Mv.h b/source/Lib/CommonLib/Mv.h
index 2a1db0510..6ac57e1a9 100644
--- a/source/Lib/CommonLib/Mv.h
+++ b/source/Lib/CommonLib/Mv.h
@@ -66,7 +66,7 @@ private:
   static const MvPrecision m_amvrPrecIbc[3];
 
   static const int mvClipPeriod = (1 << MV_BITS);
-  static const int halMvClipPeriod = (1 << (MV_BITS - 1));
+  static const int halfMvClipPeriod = (1 << (MV_BITS - 1));
 
 public:
   int   hor;     ///< horizontal component of motion vector
@@ -264,9 +264,9 @@ public:
   void mvCliptoStorageBitDepth()  // periodic clipping
   {
     hor = (hor + mvClipPeriod) & (mvClipPeriod - 1);
-    hor = (hor >= halMvClipPeriod) ? (hor - mvClipPeriod) : hor;
+    hor = (hor >= halfMvClipPeriod) ? (hor - mvClipPeriod) : hor;
     ver = (ver + mvClipPeriod) & (mvClipPeriod - 1);
-    ver = (ver >= halMvClipPeriod) ? (ver - mvClipPeriod) : ver;
+    ver = (ver >= halfMvClipPeriod) ? (ver - mvClipPeriod) : ver;
   }
 };// END CLASS DEFINITION MV
 
-- 
GitLab