HEVC Test Model (HM)
HM-16.18
|
context model class More...
#include <ContextModel.h>
Public Member Functions | |
ContextModel () | |
~ContextModel () | |
UChar | getState () |
get current state More... | |
UChar | getMps () |
get curret MPS More... | |
Void | setStateAndMps (UChar ucState, UChar ucMPS) |
set state and MPS More... | |
Void | updateLPS () |
Void | updateMPS () |
Int | getEntropyBits (Short val) |
Void | update (Int binVal) |
Void | setBinsCoded (UInt val) |
UInt | getBinsCoded () |
Static Public Member Functions | |
static Int | getEntropyBitsTrm (Int val) |
Private Attributes | |
UChar | m_ucState |
internal state variable More... | |
UInt | m_binsCoded |
Static Private Attributes | |
static const UInt | m_totalStates = (1 << CONTEXT_STATE_BITS) * 2 |
static const UChar | m_aucNextStateMPS [m_totalStates] |
static const UChar | m_aucNextStateLPS [m_totalStates] |
static const Int | m_entropyBits [m_totalStates] |
static UChar | m_nextState [m_totalStates][2] |
Void | init (Int qp, Int initValue) |
initialize state with initial probability More... | |
static Void | buildNextStateTable () |
context model class
Definition at line 57 of file ContextModel.h.
|
inline |
Definition at line 60 of file ContextModel.h.
|
inline |
Definition at line 61 of file ContextModel.h.
|
static |
Definition at line 94 of file ContextModel.cpp.
|
inline |
Definition at line 90 of file ContextModel.h.
Definition at line 79 of file ContextModel.h.
Definition at line 87 of file ContextModel.h.
|
inline |
get curret MPS
Definition at line 64 of file ContextModel.h.
|
inline |
get current state
Definition at line 63 of file ContextModel.h.
Definition at line 89 of file ContextModel.h.
set state and MPS
Definition at line 65 of file ContextModel.h.
Definition at line 82 of file ContextModel.h.
|
inline |
Definition at line 69 of file ContextModel.h.
|
inline |
Definition at line 74 of file ContextModel.h.
|
staticprivate |
Definition at line 97 of file ContextModel.h.
|
staticprivate |
Definition at line 96 of file ContextModel.h.
|
private |
Definition at line 102 of file ContextModel.h.
|
staticprivate |
Definition at line 98 of file ContextModel.h.
|
staticprivate |
Definition at line 100 of file ContextModel.h.
|
staticprivate |
Definition at line 95 of file ContextModel.h.
|
private |
internal state variable
Definition at line 93 of file ContextModel.h.