50 , m_bUsedByCurr (false)
51 , m_bIsLongTerm (false)
52 , m_pcPicYuvPred (
NULL)
53 , m_pcPicYuvResi (
NULL)
54 , m_bReconstructed (false)
55 , m_bNeededForOutput (false)
56 , m_uiCurrSliceIdx (0)
57 , m_bCheckLTMSB (false)
70 #if REDUCED_ENCODER_MEMORY
85 #if REDUCED_ENCODER_MEMORY
86 m_picSym.create( sps, pps, uiMaxDepth, bCreateForImmediateReconstruction );
87 if (bCreateEncoderSourcePicYuv)
89 m_picSym.create( sps, pps, uiMaxDepth );
93 m_apcPicYuv[PIC_YUV_ORG ] =
new TComPicYuv; m_apcPicYuv[PIC_YUV_ORG ]->
create( iWidth, iHeight, chromaFormatIDC, uiMaxCuWidth, uiMaxCuHeight, uiMaxDepth,
true );
94 m_apcPicYuv[PIC_YUV_TRUE_ORG] =
new TComPicYuv; m_apcPicYuv[PIC_YUV_TRUE_ORG]->
create( iWidth, iHeight, chromaFormatIDC, uiMaxCuWidth, uiMaxCuHeight, uiMaxDepth,
true );
96 #if REDUCED_ENCODER_MEMORY
97 if (bCreateForImmediateReconstruction)
100 m_apcPicYuv[PIC_YUV_REC] =
new TComPicYuv; m_apcPicYuv[PIC_YUV_REC]->
create( iWidth, iHeight, chromaFormatIDC, uiMaxCuWidth, uiMaxCuHeight, uiMaxDepth,
true );
101 #if REDUCED_ENCODER_MEMORY
106 if (m_SEIs.size() > 0)
110 m_bUsedByCurr =
false;
113 #if REDUCED_ENCODER_MEMORY
220 return (mergeCtbInSliceSeg && mergeCtbInTile);
239 const UInt tileYInCtus = firstCtuRsAddrOfTile / frameWidthInCtus;
241 const UInt ctuLine = ctuRsAddr / frameWidthInCtus;
242 const UInt startingSubstreamForTile =(tileYInCtus*numTileColumns) + (pTile->
getTileHeightInCtus()*(tileIndex%numTileColumns));
243 subStrm = startingSubstreamForTile + (ctuLine - tileYInCtus);
Void releaseEncoderSourceImageData()
UInt getFirstCtuRsAddr() const
UInt getCtuTsToRsAddrMap(Int ctuTsAddr) const
Void deleteSEIs(SEIMessages &seiList)
delete list of SEI messages (freeing the referenced objects)
Int getNumTileColumnsMinus1() const
TComSlice * getSlice(Int i)
UInt getMaxCUHeight() const
Void releaseAllReconstructionData()
Void create(const TComSPS &sps, const TComPPS &pps, const Bool bCreateEncoderSourcePicYuv, const Bool bCreateForImmediateReconstruction)
ChromaFormat getChromaFormatIdc() const
UInt getFrameWidthInCtus() const
SEIMessages m_SEIs
Any SEI messages that have been received. If !NULL we own the object.
UInt getMaxTotalCUDepth() const
Void prepareForEncoderSourcePicYuv()
UInt getTileIdxMap(Int ctuRsAddr) const
Bool getSAOMergeAvailability(Int currAddr, Int mergeAddr)
UInt getSubstreamForCtuAddr(const UInt ctuAddr, const Bool bAddressInRaster, TComSlice *pcSlice)
Void prepareForReconstruction()
UInt getPicHeightInLumaSamples() const
Void releaseReconstructionIntermediateData()
ChromaFormat
chroma formats (according to semantics of chroma_format_idc)
const TComPPS * getPPS() const
UInt getPicWidthInLumaSamples() const
UInt getFrameHeightInCtus() const
UInt getTileHeightInCtus() const
const TComSPS & getSPS() const
Bool getEntropyCodingSyncEnabledFlag() const
TComDataCU * getCtu(UInt ctuRsAddr)
Void releaseAllReconstructionData()
TComDataCU * getCtu(UInt ctuRsAddr)
Void prepareForReconstruction()
TComTile * getTComTile(UInt tileIdx)
Void create(const Int picWidth, const Int picHeight, const ChromaFormat chromaFormatIDC, const UInt maxCUWidth, const UInt maxCUHeight, const UInt maxCUDepth, const Bool bUseMargin)
if true, then a margin of uiMaxCUWidth+16 and uiMaxCUHeight+16 is created around the image...
UInt getNumberOfCtusInFrame() const
Void releaseReconstructionIntermediateData()
TComPicYuv * m_apcPicYuv[NUM_PIC_YUV]
Void setBorderExtension(Bool b)
UInt getMaxCUWidth() const