changeset 4732:f1a1d4f19db4

Cleanups: MVField - make members public. set and clear methods take many cycles, where most of the time only one index need to be set. By giving public access, caller can set required indexes.
author Deepthi Devaki <deepthidevaki@multicorewareinc.com>
date Tue, 29 Oct 2013 15:20:51 +0530
parents 0e0d0d2e1d2b
children 6552629b45c5
files source/Lib/TLibCommon/TComMotionInfo.h
diffstat 1 files changed, 1 insertions(+-), 3 deletions(-) [+]
line wrap: on
line diff
--- a/source/Lib/TLibCommon/TComMotionInfo.h	Tue Oct 29 15:33:13 2013 +0530
+++ b/source/Lib/TLibCommon/TComMotionInfo.h	Tue Oct 29 15:20:51 2013 +0530
@@ -84,7 +84,7 @@ public:
 /// class for motion information in one CU
 class TComCUMvField
 {
-private:
+public:
 
     MV* m_mv;
     MV* m_mvd;
@@ -95,8 +95,6 @@ private:
     template<typename T>
     void setAll(T *p, T const & val, PartSize cuMode, int partAddr, uint32_t depth, int partIdx);
 
-public:
-
     TComCUMvField() : m_mv(NULL), m_mvd(NULL), m_refIdx(NULL), m_numPartitions(0) {}
 
     ~TComCUMvField() {}