Changeset 1212 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder
- Timestamp:
- 8 Jul 2015, 23:14:20 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibDecoder
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1210 r1212 43 43 #include "TLibCommon/TComCodingStatistics.h" 44 44 #endif 45 #if Q0048_CGS_3D_ASYMLUT45 #if CGS_3D_ASYMLUT 46 46 #include "../TLibCommon/TCom3DAsymLUT.h" 47 47 #endif … … 182 182 } 183 183 184 #if Q0048_CGS_3D_ASYMLUT184 #if CGS_3D_ASYMLUT 185 185 Void TDecCavlc::parsePPS(TComPPS* pcPPS, TCom3DAsymLUT * pc3DAsymLUT, Int nLayerID) 186 186 #else … … 442 442 } 443 443 } 444 #if Q0048_CGS_3D_ASYMLUT444 #if CGS_3D_ASYMLUT 445 445 READ_FLAG( uiCode , "colour_mapping_enabled_flag" ); 446 446 pcPPS->setCGSFlag( uiCode ); … … 3503 3503 } 3504 3504 3505 #if Q0048_CGS_3D_ASYMLUT3505 #if CGS_3D_ASYMLUT 3506 3506 Void TDecCavlc::xParse3DAsymLUT( TCom3DAsymLUT * pc3DAsymLUT ) 3507 3507 { -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.h
r1203 r1212 46 46 #include "SyntaxElementParser.h" 47 47 48 #if Q0048_CGS_3D_ASYMLUT48 #if CGS_3D_ASYMLUT 49 49 class TCom3DAsymLUT; 50 50 #endif … … 138 138 Void parseVpsVuiBspHrdParams( TComVPS *vps ); 139 139 Void parseSPSExtension ( TComSPS* pcSPS ); 140 #if Q0048_CGS_3D_ASYMLUT140 #if CGS_3D_ASYMLUT 141 141 Void parsePPS ( TComPPS* pcPPS, TCom3DAsymLUT * pc3DAsymLUT , Int nLayerID ); 142 142 #else … … 145 145 146 146 protected: 147 #if Q0048_CGS_3D_ASYMLUT147 #if CGS_3D_ASYMLUT 148 148 Void xParse3DAsymLUT( TCom3DAsymLUT * pc3DAsymLUT ); 149 149 Void xParse3DAsymLUTOctant( TCom3DAsymLUT * pc3DAsymLUT , Int nDepth , Int yIdx , Int uIdx , Int vIdx , Int nLength ); -
branches/SHM-dev/source/Lib/TLibDecoder/TDecEntropy.h
r1029 r1212 50 50 class TDecCavlc; 51 51 class ParameterSetManagerDecoder; 52 #if Q0048_CGS_3D_ASYMLUT52 #if CGS_3D_ASYMLUT 53 53 class TCom3DAsymLUT; 54 54 #endif … … 71 71 virtual Void parseVPS ( TComVPS* pcVPS ) = 0; 72 72 virtual Void parseSPS ( TComSPS* pcSPS ) = 0; 73 #if Q0048_CGS_3D_ASYMLUT73 #if CGS_3D_ASYMLUT 74 74 virtual Void parsePPS ( TComPPS* pcPPS, TCom3DAsymLUT * pc3DAsymLUT , Int nLayerID ) = 0; 75 75 #else … … 145 145 Void decodeSPS ( TComSPS* pcSPS ) { m_pcEntropyDecoderIf->parseSPS(pcSPS); } 146 146 147 #if Q0048_CGS_3D_ASYMLUT147 #if CGS_3D_ASYMLUT 148 148 Void decodePPS ( TComPPS* pcPPS, TCom3DAsymLUT * pc3DAsymLUT, Int nLayerID ) { m_pcEntropyDecoderIf->parsePPS(pcPPS, pc3DAsymLUT , nLayerID ); } 149 149 #else -
branches/SHM-dev/source/Lib/TLibDecoder/TDecSbac.h
r1029 r1212 80 80 Void parseSPS ( TComSPS* /*pcSPS*/ ) {} 81 81 Void parsePPS ( TComPPS* /*pcPPS*/ 82 #if Q0048_CGS_3D_ASYMLUT82 #if CGS_3D_ASYMLUT 83 83 , TCom3DAsymLUT * /*pc3DAsymLUT*/ , Int /*nLayerID*/ 84 84 #endif -
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp
r1211 r1212 111 111 m_lastPocPeriodId = -1; 112 112 m_prevPicOrderCnt = 0; 113 #if Q0048_CGS_3D_ASYMLUT113 #if CGS_3D_ASYMLUT 114 114 m_pColorMappedPic = NULL; 115 115 #endif … … 133 133 } 134 134 #endif 135 #if Q0048_CGS_3D_ASYMLUT135 #if CGS_3D_ASYMLUT 136 136 if(m_pColorMappedPic) 137 137 { … … 1634 1634 g_posScalingFactor[refLayerIdc][1] = ((heightBL << 16) + (heightEL >> 1)) / heightEL; 1635 1635 1636 #if Q0048_CGS_3D_ASYMLUT1636 #if CGS_3D_ASYMLUT 1637 1637 TComPicYuv* pBaseColRec = pcSlice->getBaseColPic(refLayerIdc)->getPicYuvRec(); 1638 1638 if( pcSlice->getPPS()->getCGSFlag() … … 1863 1863 } 1864 1864 1865 #if Q0048_CGS_3D_ASYMLUT1865 #if CGS_3D_ASYMLUT 1866 1866 Void TDecTop::xDecodePPS( TCom3DAsymLUT * pc3DAsymLUT ) 1867 1867 #else … … 1874 1874 pps->setLayerId( m_layerId ); 1875 1875 #endif 1876 #if Q0048_CGS_3D_ASYMLUT1876 #if CGS_3D_ASYMLUT 1877 1877 m_cEntropyDecoder.decodePPS( pps, pc3DAsymLUT, m_layerId ); 1878 1878 #else … … 1996 1996 case NAL_UNIT_PPS: 1997 1997 xDecodePPS( 1998 #if Q0048_CGS_3D_ASYMLUT1998 #if CGS_3D_ASYMLUT 1999 1999 &m_c3DAsymLUTPPS 2000 2000 #endif … … 2428 2428 } 2429 2429 2430 #if Q0048_CGS_3D_ASYMLUT2430 #if CGS_3D_ASYMLUT 2431 2431 Void TDecTop::initAsymLut(TComSlice *pcSlice) 2432 2432 { … … 2601 2601 2602 2602 if( !pic->equalPictureSizeAndOffsetFlag(i) || !sameBitDepths 2603 #if Q0048_CGS_3D_ASYMLUT2603 #if CGS_3D_ASYMLUT 2604 2604 || slice->getPPS()->getCGSFlag() > 0 2605 2605 #endif -
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.h
r1210 r1212 45 45 #include "TLibCommon/TComTrQuant.h" 46 46 #include "TLibCommon/SEI.h" 47 #if Q0048_CGS_3D_ASYMLUT47 #if CGS_3D_ASYMLUT 48 48 #include "TLibCommon/TCom3DAsymLUT.h" 49 49 #endif … … 82 82 // functional classes 83 83 TComPrediction m_cPrediction; 84 #if Q0048_CGS_3D_ASYMLUT84 #if CGS_3D_ASYMLUT 85 85 TCom3DAsymLUT m_c3DAsymLUTPPS; 86 86 TComPicYuv* m_pColorMappedPic; … … 275 275 Void xDecodeVPS(); 276 276 Void xDecodeSPS(); 277 #if Q0048_CGS_3D_ASYMLUT277 #if CGS_3D_ASYMLUT 278 278 Void xDecodePPS( TCom3DAsymLUT * pc3DAsymLUT ); 279 279 #else … … 291 291 Void setFirstPicInLayerDecodedFlag(Bool x) { m_firstPicInLayerDecodedFlag = x; } 292 292 #endif 293 #if Q0048_CGS_3D_ASYMLUT293 #if CGS_3D_ASYMLUT 294 294 Void initAsymLut(TComSlice *pcSlice); 295 295 #endif
Note: See TracChangeset for help on using the changeset viewer.