49 : mChromaFormat(pcCU->getSlice()->getSPS()->getChromaFormatIdc()),
50 mbProcessLastOfLevel(true),
53 mSplitMode(DONT_SPLIT),
54 mAbsPartIdxCU(absPartIdxCU),
55 mAbsPartIdxTURelCU(0),
56 mAbsPartIdxStep(pcCU->getPic()->getNumPartitionsInCtu() >> (pcCU->getDepth(absPartIdxCU)<<1)),
76 mOffsets[i]=baseOffset444>>(csx+csy);
83 const UInt absPartIdxCU)
84 :
TComTU(pcCU, absPartIdxCU, pcCU->getDepth(absPartIdxCU), 0)
90 : mChromaFormat(parent.mChromaFormat),
91 mbProcessLastOfLevel(bProcessLastOfLevel),
92 mCuDepth(parent.mCuDepth),
94 mSplitMode(splitMode),
95 mAbsPartIdxCU(parent.mAbsPartIdxCU),
96 mAbsPartIdxTURelCU(parent.GetRelPartIdxTU(absPartIdxSourceComponent)),
97 mAbsPartIdxStep(std::max<
UInt>(1, (parent.GetAbsPartIdxNumParts(absPartIdxSourceComponent) >>
partIdxStepShift[splitMode]))),
99 mLog2TrLumaSize(parent.mLog2TrLumaSize - ((splitMode != QUAD_SPLIT) ? 0 : 1)),
254 const UInt channelTypeOffset =
isChroma(compID) ? 2 : 0;
255 const UInt nonTransformedOffset = (transformSkip || transquantBypass) ? 1 : 0;
259 const UInt selectedIndex = channelTypeOffset + nonTransformedOffset;
262 return selectedIndex;
SChar g_aucConvertToBit[MAX_CU_SIZE+1]
Bool useDST(const ComponentID compID)
ChromaFormat mChromaFormat
const TComSPSRExt & getSpsRangeExtension() const
global variables & functions (header)
static const Int MIN_TU_SIZE
Bool nextSection(const TComTU &parent)
UInt getMinCUWidth() const
Bool mCodeAll[MAX_NUM_COMPONENT]
UInt GetAbsPartIdxTU() const
static const UInt partIdxStepShift[TComTU::NUMBER_OF_SPLIT_MODES]
UInt mOffsets[MAX_NUM_COMPONENT]
UInt getGolombRiceStatisticsIndex(const ComponentID compID)
Bool isIntra(UInt uiPartIdx) const
UInt getMinCUHeight() const
UInt GetEquivalentLog2TrSize(const ComponentID compID) const
Bool getTransformSkipRotationEnabledFlag() const
static const UInt NUMBER_OF_SECTIONS[NUMBER_OF_SPLIT_MODES]
const TComRectangle & getRect(const ComponentID compID) const
Bool mbProcessLastOfLevel
UChar * getTransformSkip(ComponentID compID)
Bool * getCUTransquantBypass()
static const Int RExt__GOLOMB_RICE_ADAPTATION_STATISTICS_SETS
Bool isNonTransformedResidualRotated(const ComponentID compID)
TComTURecurse(TComDataCU *pcCU, const UInt absPartIdxCU, const UInt forcedDepthOfCU)
UInt mTrDepthRelCU[MAX_NUM_COMPONENT]
CU data structure (header)
TComRectangle mRect[MAX_NUM_COMPONENT]
UInt mOrigWidth[MAX_NUM_COMPONENT]
UInt getMaxCUWidth() const
const TComSPS * getSPS() const