Changeset 1212 in SHVCSoftware for branches/SHM-dev/source
- Timestamp:
- 8 Jul 2015, 23:14:20 (9 years ago)
- Location:
- branches/SHM-dev/source
- Files:
-
- 28 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r1211 r1212 1647 1647 ("AltOutputLayerFlag", m_altOutputLayerFlag, false, "Specifies the value of alt_output_layer_flag in VPS extension") 1648 1648 ("CrossLayerBLAFlag", m_crossLayerBLAFlag, false, "Specifies the value of cross_layer_bla_flag in VPS") 1649 #if Q0048_CGS_3D_ASYMLUT1649 #if CGS_3D_ASYMLUT 1650 1650 ("CGS", m_nCGSFlag , 0, "whether CGS is enabled") 1651 1651 ("CGSMaxOctantDepth", m_nCGSMaxOctantDepth , 1, "max octant depth") … … 4203 4203 } 4204 4204 #endif 4205 #if Q0048_CGS_3D_ASYMLUT4205 #if CGS_3D_ASYMLUT 4206 4206 xConfirmPara( m_nCGSFlag < 0 || m_nCGSFlag > 1 , "0<=CGS<=1" ); 4207 4207 #endif … … 4508 4508 printf("RecalQP:%d", m_recalculateQPAccordingToLambda ? 1 : 0 ); 4509 4509 #endif 4510 #if Q0048_CGS_3D_ASYMLUT4510 #if CGS_3D_ASYMLUT 4511 4511 printf("CGS: %d CGSMaxOctantDepth: %d CGSMaxYPartNumLog2: %d CGSLUTBit:%d " , m_nCGSFlag , m_nCGSMaxOctantDepth , m_nCGSMaxYPartNumLog2 , m_nCGSLUTBit ); 4512 4512 #endif -
branches/SHM-dev/source/App/TAppEncoder/TAppEncCfg.h
r1211 r1212 506 506 Bool m_crossLayerBLAFlag; 507 507 Bool m_useInterLayerWeightedPred; 508 #if Q0048_CGS_3D_ASYMLUT508 #if CGS_3D_ASYMLUT 509 509 Int m_nCGSFlag; 510 510 Int m_nCGSMaxOctantDepth; -
branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
r1211 r1212 756 756 m_acTEncTop[layer].setAltOuputLayerFlag ( m_altOutputLayerFlag ); 757 757 m_acTEncTop[layer].setCrossLayerBLAFlag ( m_crossLayerBLAFlag ); 758 #if Q0048_CGS_3D_ASYMLUT758 #if CGS_3D_ASYMLUT 759 759 m_acTEncTop[layer].setCGSFlag ( layer == 0 ? 0 : m_nCGSFlag ); 760 760 m_acTEncTop[layer].setCGSMaxOctantDepth ( m_nCGSMaxOctantDepth ); -
branches/SHM-dev/source/Lib/TLibCommon/TCom3DAsymLUT.cpp
r1029 r1212 9 9 #include "TComPicYuv.h" 10 10 11 #if Q0048_CGS_3D_ASYMLUT11 #if CGS_3D_ASYMLUT 12 12 13 13 const Int TCom3DAsymLUT::m_nVertexIdxOffset[4][3] = { { 0 , 0 , 0 } , { 0 , 1 , 0 } , { 0 , 1 , 1 } , { 1 , 1 , 1 } }; -
branches/SHM-dev/source/Lib/TLibCommon/TCom3DAsymLUT.h
r877 r1212 9 9 #endif 10 10 11 #if Q0048_CGS_3D_ASYMLUT11 #if CGS_3D_ASYMLUT 12 12 13 13 typedef struct _SYUVP -
branches/SHM-dev/source/Lib/TLibCommon/TComPic.h
r1210 r1212 95 95 Bool m_equalPictureSizeAndOffsetFlag[MAX_LAYERS]; 96 96 #endif 97 #if Q0048_CGS_3D_ASYMLUT97 #if CGS_3D_ASYMLUT 98 98 Int m_nFrameBit; 99 99 #endif … … 214 214 Bool checkSameRefInfo(); 215 215 Void copyUpsampledPictureYuv(TComPicYuv* pcPicYuvIn, TComPicYuv* pcPicYuvOut); 216 #if Q0048_CGS_3D_ASYMLUT216 #if CGS_3D_ASYMLUT 217 217 Void setFrameBit( Int n ) { m_nFrameBit = n; } 218 218 Int getFrameBit() { return m_nFrameBit; } -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r1210 r1212 512 512 // Allow maximum of one motion resampling process for direct reference layers, and use motion inter-layer prediction from the same layer as texture inter-layer prediction 513 513 if( !( g_posScalingFactor[refLayerIdc][0] == 65536 && g_posScalingFactor[refLayerIdc][1] == 65536 ) || !scalingOffset || !sameBitDepths 514 #if Q0048_CGS_3D_ASYMLUT514 #if CGS_3D_ASYMLUT 515 515 || getPPS()->getCGSFlag() 516 516 #endif … … 2305 2305 , m_pocResetInfoPresentFlag (false) 2306 2306 , m_numRefLayerLocationOffsets ( 0 ) 2307 #if Q0048_CGS_3D_ASYMLUT2307 #if CGS_3D_ASYMLUT 2308 2308 , m_nCGSFlag(0) 2309 2309 , m_nCGSOutputBitDepthY(0) -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r1210 r1212 1669 1669 Int m_phaseVerChroma[MAX_LAYERS]; 1670 1670 Bool m_resamplePhaseSetPresentFlag[MAX_LAYERS]; 1671 #if Q0048_CGS_3D_ASYMLUT1671 #if CGS_3D_ASYMLUT 1672 1672 Int m_nCGSFlag; 1673 1673 Int m_nCGSOutputBitDepthY; // not for syntax … … 1842 1842 Bool hasZeroResamplingPhase(Int refLayerId); 1843 1843 Void getResamplingPhase(Int refLayerId, Bool& phaseSetPresentFlag, Int& phaseHorLuma, Int& phaseVerLuma, Int& phaseHorChroma, Int& phaseVerChroma); 1844 #if Q0048_CGS_3D_ASYMLUT1844 #if CGS_3D_ASYMLUT 1845 1845 Int getCGSFlag() { return m_nCGSFlag; } 1846 1846 Void setCGSFlag(Int n) { m_nCGSFlag = n; } … … 2008 2008 Int m_pocValueBeforeReset; 2009 2009 Int m_picOrderCntLsb; 2010 #if Q0048_CGS_3D_ASYMLUT2010 #if CGS_3D_ASYMLUT 2011 2011 Int m_nCGSOverWritePPS; // for optimization, not output to bitstream 2012 2012 #endif … … 2129 2129 2130 2130 Void setRefPicList ( TComList<TComPic*>& rcListPic, Bool checkNumPocTotalCurr = false, TComPic** ilpPic = NULL ); 2131 #if Q0048_CGS_3D_ASYMLUT2131 #if CGS_3D_ASYMLUT 2132 2132 Int getCGSOverWritePPS() { return m_nCGSOverWritePPS; } 2133 2133 Void setCGSOverWritePPS(Int n) { m_nCGSOverWritePPS = n; } -
branches/SHM-dev/source/Lib/TLibCommon/TComUpsampleFilter.cpp
r1202 r1212 117 117 Int shift = g_bitDepthLayer[CHANNEL_TYPE_LUMA][currLayerId] - g_bitDepthLayer[CHANNEL_TYPE_LUMA][refLayerId]; 118 118 119 #if Q0048_CGS_3D_ASYMLUT119 #if CGS_3D_ASYMLUT 120 120 if( currSlice->getPPS()->getCGSFlag() ) 121 121 { … … 153 153 shift = g_bitDepthLayer[CHANNEL_TYPE_CHROMA][currLayerId] - g_bitDepthLayer[CHANNEL_TYPE_CHROMA][refLayerId]; 154 154 155 #if Q0048_CGS_3D_ASYMLUT155 #if CGS_3D_ASYMLUT 156 156 if( currSlice->getPPS()->getCGSFlag() ) 157 157 { … … 221 221 Int shift1 = g_bitDepthLayer[CHANNEL_TYPE_LUMA][refLayerId] - 8; 222 222 223 #if Q0048_CGS_3D_ASYMLUT223 #if CGS_3D_ASYMLUT 224 224 if( currSlice->getPPS()->getCGSFlag() ) 225 225 { … … 323 323 shift1 = g_bitDepthLayer[CHANNEL_TYPE_CHROMA][refLayerId] - 8; 324 324 325 #if Q0048_CGS_3D_ASYMLUT325 #if CGS_3D_ASYMLUT 326 326 if( currSlice->getPPS()->getCGSFlag() ) 327 327 { -
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1211 r1212 55 55 #define O0164_MULTI_LAYER_HRD 1 ///< JCTVC-O0164: Multi-layer HRD operation 56 56 57 #define Q0048_CGS_3D_ASYMLUT 1 ///< JCTVC-Q0048:Colour gamut scalability with look-up table58 #if Q0048_CGS_3D_ASYMLUT57 #define CGS_3D_ASYMLUT 1 ///< Colour gamut scalability with look-up table 58 #if CGS_3D_ASYMLUT 59 59 #define CGS_GCC_NO_VECTORIZATION 1 60 60 #define R0150_CGS_SIGNAL_CONSTRAINTS 1 ///< JCTVC-R0150: CGS signaling improvement and constraints … … 72 72 #define SVC_POC 1 ///< POC signalling and reset 73 73 #define UNAVAILABLE_PIC_BUGFIX 1 74 74 75 75 76 #define REF_IDX_MFM 1 ///< JCTVC-L0336: motion vector mapping of inter-layer reference picture -
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 -
branches/SHM-dev/source/Lib/TLibEncoder/TEnc3DAsymLUT.cpp
r1090 r1212 7 7 #include "TEnc3DAsymLUT.h" 8 8 9 #if Q0048_CGS_3D_ASYMLUT 10 9 #if CGS_3D_ASYMLUT 11 10 TEnc3DAsymLUT::TEnc3DAsymLUT() 12 11 { -
branches/SHM-dev/source/Lib/TLibEncoder/TEnc3DAsymLUT.h
r877 r1212 15 15 #endif 16 16 17 #if Q0048_CGS_3D_ASYMLUT17 #if CGS_3D_ASYMLUT 18 18 19 19 typedef struct _ColorInfo -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1209 r1212 154 154 155 155 Void TEncCavlc::codePPS( TComPPS* pcPPS 156 #if Q0048_CGS_3D_ASYMLUT156 #if CGS_3D_ASYMLUT 157 157 , TEnc3DAsymLUT * pc3DAsymLUT 158 158 #endif … … 253 253 #if SVC_EXTENSION 254 254 pps_extension_flags[PPS_EXT__MLAYER] = pcPPS->getExtensionFlag() ? 1 : 0; 255 #if Q0048_CGS_3D_ASYMLUT255 #if CGS_3D_ASYMLUT 256 256 UInt bits = 0; 257 257 #endif … … 347 347 } 348 348 } 349 #if Q0048_CGS_3D_ASYMLUT349 #if CGS_3D_ASYMLUT 350 350 bits = getNumberOfWrittenBits(); 351 351 WRITE_FLAG( pcPPS->getCGSFlag() , "colour_mapping_enabled_flag" ); … … 2467 2467 } 2468 2468 2469 #if Q0048_CGS_3D_ASYMLUT2469 #if CGS_3D_ASYMLUT 2470 2470 Void TEncCavlc::xCode3DAsymLUT( TCom3DAsymLUT * pc3DAsymLUT ) 2471 2471 { -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.h
r1207 r1212 48 48 #include "TEncEntropy.h" 49 49 #include "SyntaxElementWriter.h" 50 #if Q0048_CGS_3D_ASYMLUT50 #if CGS_3D_ASYMLUT 51 51 #include "../TLibCommon/TCom3DAsymLUT.h" 52 52 #include "TEnc3DAsymLUT.h" … … 57 57 58 58 class TEncTop; 59 #if Q0048_CGS_3D_ASYMLUT59 #if CGS_3D_ASYMLUT 60 60 class TCom3DAsymLUT; 61 61 #endif … … 91 91 Void codeSPS ( TComSPS* pcSPS ); 92 92 Void codePPS ( TComPPS* pcPPS 93 #if Q0048_CGS_3D_ASYMLUT93 #if CGS_3D_ASYMLUT 94 94 , TEnc3DAsymLUT * pc3DAsymLUT 95 95 #endif … … 163 163 #endif 164 164 Void codeVpsVuiBspHrdParams (TComVPS * const); 165 #if Q0048_CGS_3D_ASYMLUT165 #if CGS_3D_ASYMLUT 166 166 #if R0179_ENC_OPT_3DLUT_SIZE 167 167 public: -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCfg.h
r1203 r1212 404 404 UInt m_ilcIdc[1024]; 405 405 #endif 406 #if Q0048_CGS_3D_ASYMLUT406 #if CGS_3D_ASYMLUT 407 407 Int m_nCGSFlag; 408 408 Int m_nCGSMaxOctantDepth; … … 1141 1141 Bool getOverlaySEIPersistenceFlag() { return m_overlayInfoPersistenceFlag; } 1142 1142 #endif 1143 #if Q0048_CGS_3D_ASYMLUT1143 #if CGS_3D_ASYMLUT 1144 1144 Void setCGSFlag(Int n) { m_nCGSFlag = n; } 1145 1145 Int getCGSFlag() { return m_nCGSFlag; } -
branches/SHM-dev/source/Lib/TLibEncoder/TEncEntropy.cpp
r1207 r1212 78 78 } 79 79 80 #if Q0048_CGS_3D_ASYMLUT80 #if CGS_3D_ASYMLUT 81 81 Void TEncEntropy::encodePPS( TComPPS* pcPPS, TEnc3DAsymLUT * pc3DAsymLUT ) 82 82 { -
branches/SHM-dev/source/Lib/TLibEncoder/TEncEntropy.h
r1207 r1212 51 51 class TEncCavlc; 52 52 class SEI; 53 #if Q0048_CGS_3D_ASYMLUT53 #if CGS_3D_ASYMLUT 54 54 class TEnc3DAsymLUT; 55 55 #endif … … 73 73 virtual Void codeSPS ( TComSPS* pcSPS ) = 0; 74 74 virtual Void codePPS ( TComPPS* pcPPS 75 #if Q0048_CGS_3D_ASYMLUT75 #if CGS_3D_ASYMLUT 76 76 , TEnc3DAsymLUT * pc3DAsymLUT 77 77 #endif … … 153 153 Void encodeSPS ( TComSPS* pcSPS ); 154 154 Void encodePPS ( TComPPS* pcPPS 155 #if Q0048_CGS_3D_ASYMLUT155 #if CGS_3D_ASYMLUT 156 156 , TEnc3DAsymLUT * pc3DAsymLUT 157 157 #endif -
branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.cpp
r1211 r1212 113 113 m_associatedIrapPocBeforeReset = 0; 114 114 m_pcPredSearch = NULL; 115 #if Q0048_CGS_3D_ASYMLUT115 #if CGS_3D_ASYMLUT 116 116 m_temp = NULL; 117 117 m_pColorMappedPic = NULL; … … 136 136 TEncGOP::~TEncGOP() 137 137 { 138 #if Q0048_CGS_3D_ASYMLUT138 #if CGS_3D_ASYMLUT 139 139 if(m_pColorMappedPic) 140 140 { … … 193 193 m_ppcTEncTop = pcTEncTop->getLayerEnc(); 194 194 m_pcPredSearch = pcTEncTop->getPredSearch(); ///< encoder search class 195 #if Q0048_CGS_3D_ASYMLUT195 #if CGS_3D_ASYMLUT 196 196 if( pcTEncTop->getLayerId() ) 197 197 { … … 1394 1394 g_posScalingFactor[refLayerIdc][1] = ((heightBL << 16) + (heightEL >> 1)) / heightEL; 1395 1395 1396 #if Q0048_CGS_3D_ASYMLUT1396 #if CGS_3D_ASYMLUT 1397 1397 TComPicYuv* pBaseColRec = pcSlice->getBaseColPic(refLayerIdc)->getPicYuvRec(); 1398 1398 if( pcSlice->getPPS()->getCGSFlag() ) … … 1435 1435 else 1436 1436 { 1437 #if Q0048_CGS_3D_ASYMLUT1437 #if CGS_3D_ASYMLUT 1438 1438 pcPic->setFullPelBaseRec( refLayerIdc, pBaseColRec ); 1439 1439 #else … … 2283 2283 assert( pcSlice->getPPS()->getLayerId() == 0 || pcSlice->getPPS()->getLayerId() == m_layerId || m_pcEncTop->getVPS()->getRecursiveRefLayerFlag(m_layerId, pcSlice->getPPS()->getLayerId()) ); 2284 2284 #endif 2285 #if SVC_EXTENSION && Q0048_CGS_3D_ASYMLUT2285 #if SVC_EXTENSION && CGS_3D_ASYMLUT 2286 2286 m_pcEntropyCoder->encodePPS(pcSlice->getPPS(), &m_Enc3DAsymLUTPPS); 2287 2287 #else … … 2335 2335 m_bSeqFirst = false; 2336 2336 } 2337 #if Q0048_CGS_3D_ASYMLUT2337 #if CGS_3D_ASYMLUT 2338 2338 else if( m_pcCfg->getCGSFlag() && pcSlice->getLayerId() && pcSlice->getCGSOverWritePPS() ) 2339 2339 { … … 3743 3743 printf("]"); 3744 3744 } 3745 #if Q0048_CGS_3D_ASYMLUT3745 #if CGS_3D_ASYMLUT 3746 3746 pcPic->setFrameBit( (Int)uibits ); 3747 3747 if( m_layerId && pcSlice->getPPS()->getCGSFlag() ) … … 4825 4825 #endif 4826 4826 4827 #if Q0048_CGS_3D_ASYMLUT4827 #if CGS_3D_ASYMLUT 4828 4828 Void TEncGOP::xDetermin3DAsymLUT( TComSlice * pSlice , TComPic * pCurPic , UInt refLayerIdc , TEncCfg * pCfg , Bool bSignalPPS ) 4829 4829 { -
branches/SHM-dev/source/Lib/TLibEncoder/TEncGOP.h
r1209 r1212 54 54 #include "TEncSbac.h" 55 55 #include "SEIwrite.h" 56 #if Q0048_CGS_3D_ASYMLUT56 #if CGS_3D_ASYMLUT 57 57 #include "TEnc3DAsymLUT.h" 58 58 #endif … … 154 154 TEncTop** m_ppcTEncTop; 155 155 TEncSearch* m_pcPredSearch; ///< encoder search class 156 #if Q0048_CGS_3D_ASYMLUT156 #if CGS_3D_ASYMLUT 157 157 TEnc3DAsymLUT m_Enc3DAsymLUTPicUpdate; 158 158 TEnc3DAsymLUT m_Enc3DAsymLUTPPS; … … 286 286 SEIOverlayInfo* xCreateSEIOverlayInfo(); 287 287 #endif 288 #if Q0048_CGS_3D_ASYMLUT288 #if CGS_3D_ASYMLUT 289 289 Void xDetermin3DAsymLUT( TComSlice * pSlice , TComPic * pCurPic , UInt refLayerIdc , TEncCfg * pCfg , Bool bSignalPPS ); 290 290 Void downScalePic( TComPicYuv* pcYuvSrc, TComPicYuv* pcYuvDest); -
branches/SHM-dev/source/Lib/TLibEncoder/TEncSbac.cpp
r1207 r1212 235 235 236 236 Void TEncSbac::codePPS( TComPPS* pcPPS 237 #if Q0048_CGS_3D_ASYMLUT237 #if CGS_3D_ASYMLUT 238 238 , TEnc3DAsymLUT * pc3DAsymLUT 239 239 #endif -
branches/SHM-dev/source/Lib/TLibEncoder/TEncSbac.h
r1207 r1212 90 90 Void codeSPS ( TComSPS* pcSPS ); 91 91 Void codePPS ( TComPPS* pcPPS 92 #if Q0048_CGS_3D_ASYMLUT92 #if CGS_3D_ASYMLUT 93 93 , TEnc3DAsymLUT * pc3DAsymLUT 94 94 #endif -
branches/SHM-dev/source/Lib/TLibEncoder/TEncTop.cpp
r1209 r1212 635 635 || !zeroPhase 636 636 #endif 637 #if Q0048_CGS_3D_ASYMLUT637 #if CGS_3D_ASYMLUT 638 638 || m_cPPS.getCGSFlag() > 0 639 639 #endif … … 680 680 || !equalOffsets 681 681 || !zeroPhase 682 #if Q0048_CGS_3D_ASYMLUT682 #if CGS_3D_ASYMLUT 683 683 || m_cPPS.getCGSFlag() > 0 684 684 #endif … … 1041 1041 m_cPPS.setPhaseVerChroma( m_refLocationOffsetLayerId[i], m_phaseVerChroma[i] ); 1042 1042 } 1043 #if Q0048_CGS_3D_ASYMLUT1043 #if CGS_3D_ASYMLUT 1044 1044 m_cPPS.setCGSFlag( m_nCGSFlag ); 1045 1045 #endif
Note: See TracChangeset for help on using the changeset viewer.