Changeset 1029 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder/TDecCu.h
- Timestamp:
- 26 Feb 2015, 00:21:54 (10 years ago)
- Location:
- branches/SHM-dev
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev
- Property svn:mergeinfo changed
-
branches/SHM-dev/source
- Property svn:mergeinfo changed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecCu.h
r595 r1029 2 2 * License, included below. This software may be subject to other third party 3 3 * and contributor rights, including patent rights, and no such rights are 4 * granted under this license. 4 * granted under this license. 5 5 * 6 6 * Copyright (c) 2010-2014, ITU/ISO/IEC … … 65 65 TComYuv** m_ppcYuvReco; ///< array of prediction & reconstruction buffer 66 66 TComDataCU** m_ppcCU; ///< CU data array 67 67 68 68 // access channel 69 69 TComTrQuant* m_pcTrQuant; … … 72 72 73 73 Bool m_bDecodeDQP; 74 Bool m_IsChromaQpAdjCoded; 75 74 76 #if SVC_EXTENSION 75 77 TDecTop** m_ppcTDecTop; … … 80 82 TDecCu(); 81 83 virtual ~TDecCu(); 82 84 83 85 /// initialize access channels 84 86 #if SVC_EXTENSION … … 89 91 90 92 /// create internal buffers 91 Void create ( UInt uiMaxDepth, UInt uiMaxWidth, UInt uiMaxHeight );92 93 Void create ( UInt uiMaxDepth, UInt uiMaxWidth, UInt uiMaxHeight, ChromaFormat chromaFormatIDC ); 94 93 95 /// destroy internal buffers 94 96 Void destroy (); 95 96 /// decode C Uinformation97 Void decodeC U ( TComDataCU* pcCU, UInt& ruiIsLast );98 99 /// reconstruct C Uinformation100 Void decompressC U ( TComDataCU* pcCU);101 97 98 /// decode Ctu information 99 Void decodeCtu ( TComDataCU* pCtu, Bool &isLastCtuOfSliceSegment ); 100 101 /// reconstruct Ctu information 102 Void decompressCtu ( TComDataCU* pCtu ); 103 102 104 #if SVC_EXTENSION 103 105 TDecTop* getLayerDec ( UInt LayerId ) { return m_ppcTDecTop[LayerId]; } 104 106 #endif 105 107 protected: 106 107 Void xDecodeCU ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt &ruiIsLast);108 Void xFinishDecodeCU ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt &ruiIsLast);109 Bool xDecodeSliceEnd ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth);110 Void xDecompressCU ( TComDataCU* p cCU, UInt uiAbsPartIdx, UInt uiDepth );111 108 109 Void xDecodeCU ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, Bool &isLastCtuOfSliceSegment); 110 Void xFinishDecodeCU ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, Bool &isLastCtuOfSliceSegment); 111 Bool xDecodeSliceEnd ( TComDataCU* pcCU, UInt uiAbsPartIdx ); 112 Void xDecompressCU ( TComDataCU* pCtu, UInt uiAbsPartIdx, UInt uiDepth ); 113 112 114 Void xReconInter ( TComDataCU* pcCU, UInt uiDepth ); 113 114 Void xReconIntraQT ( TComDataCU* pcCU, UInt uiDepth );115 Void xIntraRecLumaBlk ( TComDataCU* pcCU, UInt uiTrDepth, UInt uiAbsPartIdx, TComYuv* pcRecoYuv, TComYuv* pcPredYuv, TComYuv* pcResiYuv );116 Void xIntraRecChromaBlk ( TComDataCU* pcCU, UInt uiTrDepth, UInt uiAbsPartIdx, TComYuv* pcRecoYuv, TComYuv* pcPredYuv, TComYuv* pcResiYuv, UInt uiChromaId );117 118 Void xReconPCM ( TComDataCU* pcCU, UInt uiDepth );119 115 120 Void xDecodeInterTexture ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); 121 Void xDecodePCMTexture ( TComDataCU* pcCU, UInt uiPartIdx, Pel *piPCM, Pel* piReco, UInt uiStride, UInt uiWidth, UInt uiHeight, TextType ttText); 122 116 Void xReconIntraQT ( TComDataCU* pcCU, UInt uiDepth ); 117 Void xIntraRecBlk ( TComYuv* pcRecoYuv, TComYuv* pcPredYuv, TComYuv* pcResiYuv, const ComponentID component, TComTU &rTu ); 118 Void xIntraRecQT ( TComYuv* pcRecoYuv, TComYuv* pcPredYuv, TComYuv* pcResiYuv, const ChannelType chType, TComTU &rTu ); 119 120 Void xReconPCM ( TComDataCU* pcCU, UInt uiDepth ); 121 122 Void xDecodeInterTexture ( TComDataCU* pcCU, UInt uiDepth ); 123 Void xDecodePCMTexture ( TComDataCU* pcCU, const UInt uiPartIdx, const Pel *piPCM, Pel* piReco, const UInt uiStride, const UInt uiWidth, const UInt uiHeight, const ComponentID compID); 124 123 125 Void xCopyToPic ( TComDataCU* pcCU, TComPic* pcPic, UInt uiZorderIdx, UInt uiDepth ); 124 125 Void xIntraLumaRecQT ( TComDataCU* pcCU, UInt uiTrDepth, UInt uiAbsPartIdx, TComYuv* pcRecoYuv, TComYuv* pcPredYuv, TComYuv* pcResiYuv );126 Void xIntraChromaRecQT ( TComDataCU* pcCU, UInt uiTrDepth, UInt uiAbsPartIdx, TComYuv* pcRecoYuv, TComYuv* pcPredYuv, TComYuv* pcResiYuv );127 126 128 127 Bool getdQPFlag () { return m_bDecodeDQP; } 129 128 Void setdQPFlag ( Bool b ) { m_bDecodeDQP = b; } 129 Bool getIsChromaQpAdjCoded () { return m_IsChromaQpAdjCoded; } 130 Void setIsChromaQpAdjCoded ( Bool b ) { m_IsChromaQpAdjCoded = b; } 131 130 132 Void xFillPCMBuffer (TComDataCU* pCU, UInt depth); 131 133 };
Note: See TracChangeset for help on using the changeset viewer.