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

#include <TComTU.h>

Inheritance diagram for TComTU:
Inheritance graph
[legend]
Collaboration diagram for TComTU:
Collaboration graph
[legend]

Public Types

enum  TU_SPLIT_MODE { DONT_SPLIT =0, VERTICAL_SPLIT =1, QUAD_SPLIT =2, NUMBER_OF_SPLIT_MODES =3 }
 
typedef enum TComTU::TU_SPLIT_MODE SPLIT_MODE
 

Public Member Functions

 TComTU (TComDataCU *pcCU, const UInt absPartIdxCU, const UInt cuDepth, const UInt initTrDepthRelCU)
 
TComTUParent ()
 
const TComTUParent () const
 
UInt getCoefficientOffset (const ComponentID compID) const
 
const TComRectanglegetRect (const ComponentID compID) const
 
Bool ProcessingAllQuadrants (const ComponentID compID) const
 
Bool ProcessComponentSection (const ComponentID compID) const
 
Bool ProcessChannelSection (const ChannelType chType) const
 
UInt GetSectionNumber () const
 
UInt getCUDepth () const
 
UInt GetTransformDepthTotal () const
 
UInt GetTransformDepthTotalAdj (const ComponentID compID) const
 
UInt GetTransformDepthRel () const
 
UInt GetTransformDepthRelAdj (const ComponentID compID) const
 
UInt GetTransformDepthRelAdj (const ChannelType chType) const
 
UInt GetAbsPartIdxCU () const
 
UInt GetRelPartIdxTU () const
 
UInt GetRelPartIdxTU (const ComponentID compID) const
 
UInt GetAbsPartIdxTU () const
 
UInt GetAbsPartIdxTU (const ComponentID compID) const
 
UInt GetAbsPartIdxNumParts () const
 
UInt GetAbsPartIdxNumParts (const ComponentID compID) const
 
ChromaFormat GetChromaFormat () const
 
TComDataCUgetCU ()
 
const TComDataCUgetCU () const
 
Bool IsLastSection () const
 
UInt GetLog2LumaTrSize () const
 
UInt GetEquivalentLog2TrSize (const ComponentID compID) const
 
TU_SPLIT_MODE GetSplitMode () const
 
Bool useDST (const ComponentID compID)
 
Bool isNonTransformedResidualRotated (const ComponentID compID)
 
UInt getGolombRiceStatisticsIndex (const ComponentID compID)
 

Static Public Attributes

static const UInt NUMBER_OF_SECTIONS [NUMBER_OF_SPLIT_MODES] = { 1, 2, 4 }
 

Protected Member Functions

 TComTU (const TComTU &)
 
TComTUoperator= (const TComTU &)
 
 TComTU (TComTU &parentLevel, const Bool bProcessLastOfLevel, const TU_SPLIT_MODE splitMode=QUAD_SPLIT, const Bool splitAtCurrentDepth=false, const ComponentID absPartIdxSourceComponent=COMPONENT_Y)
 

Protected Attributes

ChromaFormat mChromaFormat
 
Bool mbProcessLastOfLevel
 
UInt mCuDepth
 
UInt mTrDepthRelCU [MAX_NUM_COMPONENT]
 
UInt mSection
 
TU_SPLIT_MODE mSplitMode
 
TComRectangle mRect [MAX_NUM_COMPONENT]
 
Bool mCodeAll [MAX_NUM_COMPONENT]
 
UInt mOrigWidth [MAX_NUM_COMPONENT]
 
UInt mOffsets [MAX_NUM_COMPONENT]
 
UInt mAbsPartIdxCU
 
UInt mAbsPartIdxTURelCU
 
UInt mAbsPartIdxStep
 
TComDataCUmpcCU
 
UInt mLog2TrLumaSize
 
TComTUmpParent
 

Detailed Description

Definition at line 48 of file TComTU.h.

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
DONT_SPLIT 
VERTICAL_SPLIT 
QUAD_SPLIT 
NUMBER_OF_SPLIT_MODES 

Definition at line 51 of file TComTU.h.

Constructor & Destructor Documentation

TComTU::TComTU ( const TComTU )
protected
TComTU::TComTU ( TComDataCU pcCU,
const UInt  absPartIdxCU,
const UInt  cuDepth,
const UInt  initTrDepthRelCU 
)

Definition at line 48 of file TComTU.cpp.

TComTU::TComTU ( TComTU parentLevel,
const Bool  bProcessLastOfLevel,
const TU_SPLIT_MODE  splitMode = QUAD_SPLIT,
const Bool  splitAtCurrentDepth = false,
const ComponentID  absPartIdxSourceComponent = COMPONENT_Y 
)
protected

Definition at line 89 of file TComTU.cpp.

Member Function Documentation

UInt TComTU::GetAbsPartIdxCU ( ) const
inline

Definition at line 116 of file TComTU.h.

UInt TComTU::GetAbsPartIdxNumParts ( ) const
inline

Definition at line 121 of file TComTU.h.

UInt TComTU::GetAbsPartIdxNumParts ( const ComponentID  compID) const
inline

Definition at line 122 of file TComTU.h.

UInt TComTU::GetAbsPartIdxTU ( ) const
inline

Definition at line 119 of file TComTU.h.

UInt TComTU::GetAbsPartIdxTU ( const ComponentID  compID) const
inline

Definition at line 120 of file TComTU.h.

ChromaFormat TComTU::GetChromaFormat ( ) const
inline

Definition at line 124 of file TComTU.h.

UInt TComTU::getCoefficientOffset ( const ComponentID  compID) const
inline

Definition at line 94 of file TComTU.h.

TComDataCU* TComTU::getCU ( )
inline

Definition at line 126 of file TComTU.h.

const TComDataCU* TComTU::getCU ( ) const
inline

Definition at line 127 of file TComTU.h.

UInt TComTU::getCUDepth ( ) const
inline

Definition at line 103 of file TComTU.h.

UInt TComTU::GetEquivalentLog2TrSize ( const ComponentID  compID) const

Definition at line 221 of file TComTU.cpp.

UInt TComTU::getGolombRiceStatisticsIndex ( const ComponentID  compID)

Definition at line 245 of file TComTU.cpp.

UInt TComTU::GetLog2LumaTrSize ( ) const
inline

Definition at line 130 of file TComTU.h.

const TComRectangle& TComTU::getRect ( const ComponentID  compID) const
inline

Definition at line 96 of file TComTU.h.

UInt TComTU::GetRelPartIdxTU ( ) const
inline

Definition at line 117 of file TComTU.h.

UInt TComTU::GetRelPartIdxTU ( const ComponentID  compID) const
inline

Definition at line 118 of file TComTU.h.

UInt TComTU::GetSectionNumber ( ) const
inline

Definition at line 101 of file TComTU.h.

TU_SPLIT_MODE TComTU::GetSplitMode ( ) const
inline

Definition at line 132 of file TComTU.h.

UInt TComTU::GetTransformDepthRel ( ) const
inline

Definition at line 108 of file TComTU.h.

UInt TComTU::GetTransformDepthRelAdj ( const ComponentID  compID) const
inline

Definition at line 109 of file TComTU.h.

UInt TComTU::GetTransformDepthRelAdj ( const ChannelType  chType) const
inline

Definition at line 110 of file TComTU.h.

UInt TComTU::GetTransformDepthTotal ( ) const
inline

Definition at line 105 of file TComTU.h.

UInt TComTU::GetTransformDepthTotalAdj ( const ComponentID  compID) const
inline

Definition at line 106 of file TComTU.h.

Bool TComTU::IsLastSection ( ) const
inline

Definition at line 128 of file TComTU.h.

Bool TComTU::isNonTransformedResidualRotated ( const ComponentID  compID)

Definition at line 236 of file TComTU.cpp.

TComTU& TComTU::operator= ( const TComTU )
protected
TComTU* TComTU::Parent ( )
inline

Definition at line 91 of file TComTU.h.

const TComTU* TComTU::Parent ( ) const
inline

Definition at line 92 of file TComTU.h.

Bool TComTU::ProcessChannelSection ( const ChannelType  chType) const
inline

Definition at line 100 of file TComTU.h.

Bool TComTU::ProcessComponentSection ( const ComponentID  compID) const
inline

Definition at line 99 of file TComTU.h.

Bool TComTU::ProcessingAllQuadrants ( const ComponentID  compID) const
inline

Definition at line 98 of file TComTU.h.

Bool TComTU::useDST ( const ComponentID  compID)

Definition at line 227 of file TComTU.cpp.

Member Data Documentation

UInt TComTU::mAbsPartIdxCU
protected

Definition at line 66 of file TComTU.h.

UInt TComTU::mAbsPartIdxStep
protected

Definition at line 68 of file TComTU.h.

UInt TComTU::mAbsPartIdxTURelCU
protected

Definition at line 67 of file TComTU.h.

Bool TComTU::mbProcessLastOfLevel
protected

Definition at line 57 of file TComTU.h.

ChromaFormat TComTU::mChromaFormat
protected

Definition at line 56 of file TComTU.h.

Bool TComTU::mCodeAll[MAX_NUM_COMPONENT]
protected

Definition at line 63 of file TComTU.h.

UInt TComTU::mCuDepth
protected

Definition at line 58 of file TComTU.h.

UInt TComTU::mLog2TrLumaSize
protected

Definition at line 70 of file TComTU.h.

UInt TComTU::mOffsets[MAX_NUM_COMPONENT]
protected

Definition at line 65 of file TComTU.h.

UInt TComTU::mOrigWidth[MAX_NUM_COMPONENT]
protected

Definition at line 64 of file TComTU.h.

TComDataCU* TComTU::mpcCU
protected

Definition at line 69 of file TComTU.h.

TComTU* TComTU::mpParent
protected

Definition at line 71 of file TComTU.h.

TComRectangle TComTU::mRect[MAX_NUM_COMPONENT]
protected

Definition at line 62 of file TComTU.h.

UInt TComTU::mSection
protected

Definition at line 60 of file TComTU.h.

TU_SPLIT_MODE TComTU::mSplitMode
protected

Definition at line 61 of file TComTU.h.

UInt TComTU::mTrDepthRelCU[MAX_NUM_COMPONENT]
protected

Definition at line 59 of file TComTU.h.

const UInt TComTU::NUMBER_OF_SECTIONS = { 1, 2, 4 }
static

Definition at line 53 of file TComTU.h.


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