Changeset 1212 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibCommon
- Timestamp:
- 8 Jul 2015, 23:14:20 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibCommon
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
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
Note: See TracChangeset for help on using the changeset viewer.