HEVC Test Model (HM)  HM-16.18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members

context model 3D buffer class More...

#include <ContextModel3DBuffer.h>

Collaboration diagram for ContextModel3DBuffer:
Collaboration graph
[legend]

Public Member Functions

 ~ContextModel3DBuffer ()
 
ContextModelget (UInt uiZ, UInt uiY, UInt uiX)
 
ContextModelget (UInt uiZ, UInt uiY)
 
ContextModelget (UInt uiZ)
 
Void copyFrom (const ContextModel3DBuffer *src)
 
 ContextModel3DBuffer (UInt uiSizeZ, UInt uiSizeY, UInt uiSizeX, ContextModel *basePtr, Int &count)
 
Void initBuffer (SliceType eSliceType, Int iQp, UChar *ctxModel)
 initialize 3D buffer by slice type & QP More...
 
UInt calcCost (SliceType sliceType, Int qp, UChar *ctxModel)
 determine cost of choosing a probability table based on current probabilities More...
 

Protected Attributes

ContextModelm_contextModel
 array of context models More...
 
const UInt m_sizeX
 X size of 3D buffer. More...
 
const UInt m_sizeXY
 X times Y size of 3D buffer. More...
 
const UInt m_sizeXYZ
 total size of 3D buffer More...
 

Detailed Description

context model 3D buffer class

Definition at line 55 of file ContextModel3DBuffer.h.

Constructor & Destructor Documentation

ContextModel3DBuffer::~ContextModel3DBuffer ( )
inline

Definition at line 65 of file ContextModel3DBuffer.h.

Member Function Documentation

Void ContextModel3DBuffer::copyFrom ( const ContextModel3DBuffer src)
inline

copy from another buffer

Parameters
srcbuffer to copy from

Definition at line 88 of file ContextModel3DBuffer.h.

ContextModel& ContextModel3DBuffer::get ( UInt  uiZ,
UInt  uiY,
UInt  uiX 
)
inline

Definition at line 68 of file ContextModel3DBuffer.h.

ContextModel* ContextModel3DBuffer::get ( UInt  uiZ,
UInt  uiY 
)
inline

Definition at line 72 of file ContextModel3DBuffer.h.

ContextModel* ContextModel3DBuffer::get ( UInt  uiZ)
inline

Definition at line 76 of file ContextModel3DBuffer.h.

Member Data Documentation

ContextModel* ContextModel3DBuffer::m_contextModel
protected

array of context models

Definition at line 58 of file ContextModel3DBuffer.h.

const UInt ContextModel3DBuffer::m_sizeX
protected

X size of 3D buffer.

Definition at line 59 of file ContextModel3DBuffer.h.

const UInt ContextModel3DBuffer::m_sizeXY
protected

X times Y size of 3D buffer.

Definition at line 60 of file ContextModel3DBuffer.h.

const UInt ContextModel3DBuffer::m_sizeXYZ
protected

total size of 3D buffer

Definition at line 61 of file ContextModel3DBuffer.h.


The documentation for this class was generated from the following files: