# HG changeset patch
# User Deepthi Devaki <[email protected]>
# Date 1383040251 -19800
# Node ID 284d3c97878462116a0a6705b46d625b7a4bc259
# Parent 4c618e33c25f98597d529d4e6ec9fb899bdc1d41
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.
diff -r 4c618e33c25f -r 284d3c978784 source/Lib/TLibCommon/TComMotionInfo.h
--- a/source/Lib/TLibCommon/TComMotionInfo.h Tue Oct 29 11:16:32 2013 +0530
+++ b/source/Lib/TLibCommon/TComMotionInfo.h Tue Oct 29 15:20:51 2013 +0530
@@ -84,7 +84,7 @@
/// class for motion information in one CU
class TComCUMvField
{
-private:
+public:
MV* m_mv;
MV* m_mvd;
@@ -95,8 +95,6 @@
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() {}
_______________________________________________
x265-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/x265-devel