Changeset 608 in 3DVCSoftware for trunk/source/Lib/TLibCommon/ContextModel.h
- Timestamp:
- 1 Sep 2013, 22:47:26 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibCommon/ContextModel.h
r296 r608 4 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-201 2, ITU/ISO/IEC6 * Copyright (c) 2010-2013, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 57 57 { 58 58 public: 59 #if CABAC_INIT_FLAG60 59 ContextModel () { m_ucState = 0; m_binsCoded = 0; } 61 #else62 ContextModel () { m_ucState = 0; }63 #endif64 60 ~ContextModel () {} 65 61 … … 90 86 static Int getEntropyBitsTrm( Int val ) { return m_entropyBits[126 ^ val]; } 91 87 #endif 92 #if CABAC_INIT_FLAG93 88 Void setBinsCoded(UInt val) { m_binsCoded = val; } 94 89 UInt getBinsCoded() { return m_binsCoded; } 95 #endif96 90 97 91 private: … … 103 97 static UChar m_nextState[128][2]; 104 98 #endif 105 #if CABAC_INIT_FLAG106 99 UInt m_binsCoded; 107 #endif108 100 }; 109 101
Note: See TracChangeset for help on using the changeset viewer.