Changeset 542 in 3DVCSoftware
- Timestamp:
- 23 Jul 2013, 15:19:06 (11 years ago)
- Location:
- branches/HTM-DEV-0.3-dev2/source
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.3-dev2/source/App/TAppDecoder/TAppDecTop.cpp
r534 r542 95 95 m_pchReconFile = NULL; 96 96 } 97 #if H_3D _FIX97 #if H_3D 98 98 if (m_pchScaleOffsetFile) 99 99 { -
branches/HTM-DEV-0.3-dev2/source/App/TAppEncoder/TAppEncCfg.cpp
r539 r542 1096 1096 0.753550, 0.800000 1097 1097 }; 1098 #if H_3D_CLEANUPS1099 1098 if ( m_bUseVSO && m_bVSOLSTable ) 1100 #else1101 if ( m_bVSOLSTable )1102 #endif1103 1099 { 1104 1100 Int firstDepthLayer = -1; -
branches/HTM-DEV-0.3-dev2/source/App/TAppEncoder/TAppEncTop.cpp
r539 r542 123 123 #if H_3D 124 124 vps.initViewIndex(); 125 #if H_3D_GEN126 125 xSetVPSExtension2 ( vps ); 127 #endif128 126 m_ivPicLists.setVPS ( &vps ); 129 127 #endif … … 1194 1192 } 1195 1193 #endif 1196 #if H_3D _GEN1194 #if H_3D 1197 1195 Void TAppEncTop::xSetVPSExtension2( TComVPS& vps ) 1198 1196 { -
branches/HTM-DEV-0.3-dev2/source/App/TAppEncoder/TAppEncTop.h
r534 r542 123 123 Int xGetMax( std::vector<Int>& vec); 124 124 #endif 125 #if H_3D _GEN125 #if H_3D 126 126 Void xSetVPSExtension2( TComVPS& vps ); 127 127 #endif -
branches/HTM-DEV-0.3-dev2/source/Lib/TAppCommon/TAppComCamPara.cpp
r499 r542 965 965 //--- determine (virtual) camera parameter shift between view order index 1 and base view (view order index 0) --- 966 966 Double dCamPosShift, dPicPosShift; 967 #if H_3D_PDM_CAM_PARAS968 Int iMinVOI = (1<<30);969 #endif970 967 Int iMinAbsVOI = (1<<30); 971 968 Int iMinAbsVOIId = 0; … … 975 972 if( iAbsVOI < iMinAbsVOI ) 976 973 { 977 #if H_3D_PDM_CAM_PARAS978 iMinVOI = m_aiViewOrderIndex[ iBaseId ];979 #endif980 974 iMinAbsVOI = iAbsVOI; 981 975 iMinAbsVOIId = iBaseId; … … 984 978 AOF( iMinAbsVOIId != 0 && iMinAbsVOI != 0 ); 985 979 xGetCameraShifts( 0, iMinAbsVOIId, m_uiFirstFrameId, dCamPosShift, dPicPosShift ); 986 #if H_3D_PDM_CAM_PARAS987 Double dCamPosShiftVOI01 = dCamPosShift / Double( iMinVOI );988 #endif989 980 990 981 //--- determine maximum absolute camera position shift, precision, and base scale --- … … 999 990 } 1000 991 } 1001 1002 #if H_3D_PDM_CAM_PARAS1003 Int iPrecision = 0;1004 #if 0 // enabling this lines might be reasonable, but produces different results for the 2 view and 3 view test cases1005 Double dEpsilon = 1e-15;1006 Double dAbsCamPosShiftVOI01 = ( dCamPosShiftVOI01 < 0.0 ? -dCamPosShiftVOI01 : dCamPosShiftVOI01 );1007 Double dShiftRatio = dMaxAbsCamPosShift / dAbsCamPosShiftVOI01 - dEpsilon;1008 for( ; (Double)( 1 << iPrecision ) < dShiftRatio; iPrecision++ );1009 #endif1010 Int iPrecShift = iPrecision + PDM_INTER_CALC_SHIFT + PDM_VIRT_DEPTH_PRECISION - 2;1011 AOF( iPrecShift < PDM_INTERNAL_CALC_BIT_DEPTH );1012 Int iScaleVOI01 = 1 << iPrecShift;1013 m_iPdmPrecision = iPrecision;1014 1015 //--- loop over target views ---1016 for( Int iTargetId = 1; iTargetId < m_iNumberOfBaseViews; iTargetId++ )1017 {1018 // set scale and offset parameters for other views1019 for( Int iBaseId = 0; iBaseId < iTargetId; iBaseId++ )1020 {1021 xGetCameraShifts( (UInt)iBaseId, (UInt)iTargetId, m_uiFirstFrameId, dCamPosShift, dPicPosShift );1022 Double dScale = Double( iScaleVOI01 ) * dCamPosShiftVOI01 / dCamPosShift;1023 Int iDiv = m_aiViewOrderIndex[ iTargetId ] - m_aiViewOrderIndex[ iBaseId ];1024 Int iAdd = ( iDiv > 0 ? iDiv / 2 : -iDiv / 2 );1025 Int iScalePred = ( iScaleVOI01 + iAdd ) / iDiv;1026 Double dFactor = dScale / (Double)iScalePred * pow( 2.0, PDM_LOG4_SCALE_DENOMINATOR );1027 Int iNominator = (Int)floor( dFactor + .5 );1028 Int iNomDelta = iNominator - ( 1 << PDM_LOG4_SCALE_DENOMINATOR );1029 Int iScale = Int( ( (Int64)iNominator * (Int64)iScalePred + (Int64)( ( 1 << PDM_LOG4_SCALE_DENOMINATOR ) >> 1 ) ) >> PDM_LOG4_SCALE_DENOMINATOR );1030 Double dOffset = -dPicPosShift * Double( iScale ) * pow( 2.0, 2 - PDM_OFFSET_SHIFT );1031 Int iOffset = (Int)floor( dOffset + .5 );1032 1033 m_aaiPdmScaleNomDelta [ iTargetId ][ iBaseId ] = iNomDelta;1034 m_aaiPdmOffset [ iTargetId ][ iBaseId ] = iOffset;1035 }1036 }1037 #endif1038 992 } 1039 993 … … 1059 1013 m_aaiScaleAndOffsetSet = 0; 1060 1014 1061 #if H_3D_PDM_CAM_PARAS1062 m_iPdmPrecision = 0;1063 m_aaiPdmScaleNomDelta = 0;1064 m_aaiPdmOffset = 0;1065 #endif1066 1067 1015 m_adBaseViewShiftParameter = 0; 1068 1016 m_aiBaseViewShiftParameter = 0; … … 1098 1046 xDeleteArray( m_aaiScaleAndOffsetSet, m_iNumberOfBaseViews ); 1099 1047 1100 #if H_3D_PDM_CAM_PARAS1101 xDeleteArray( m_aaiPdmScaleNomDelta, m_iNumberOfBaseViews );1102 xDeleteArray( m_aaiPdmOffset, m_iNumberOfBaseViews );1103 #endif1104 1048 } 1105 1049 … … 1344 1288 xInit2dArray ( (UInt)m_iNumberOfBaseViews, (UInt)m_iNumberOfBaseViews, m_aaiScaleAndOffsetSet, 0 ); 1345 1289 1346 #if H_3D_PDM_CAM_PARAS1347 xCreate2dArray( (UInt)m_iNumberOfBaseViews, (UInt)m_iNumberOfBaseViews, m_aaiPdmScaleNomDelta );1348 xCreate2dArray( (UInt)m_iNumberOfBaseViews, (UInt)m_iNumberOfBaseViews, m_aaiPdmOffset );1349 1350 //===== init disparity to virtual depth conversion parameters =====1351 xSetPdmConversionParams();1352 #endif1353 1354 1290 //===== init arrays for first frame ===== 1355 1291 xSetShiftParametersAndLUT( m_uiFirstFrameId ); -
branches/HTM-DEV-0.3-dev2/source/Lib/TAppCommon/TAppComCamPara.h
r446 r542 89 89 Int** m_aaiScaleAndOffsetSet; ///< array indicating whether scale and offset have been set 90 90 91 #if H_3D_PDM_CAM_PARAS92 // parameters for virtual depth map generation93 Int m_iPdmPrecision; ///< additional precision for disparity - virtual depth conversion94 Int** m_aaiPdmScaleNomDelta; ///< [TargetView][RefView] delta for nominator of scale factor95 Int** m_aaiPdmOffset; ///< [TargetView][RefView] offset parameter96 #endif97 98 91 // scale and offset parameters 99 92 Double*** m_adBaseViewShiftParameter; ///< ShiftParameters between BaseViews e.g. [2][1][0] shift scale from view 2 to view 1; [2][1][1] shift offset from view 2 to view 1 … … 217 210 Int** getCodedScale () { return m_aaiCodedScale; } 218 211 Int** getCodedOffset () { return m_aaiCodedOffset; } 219 220 #if H_3D_PDM_CAM_PARAS221 // parameters for virtual depth map generation222 Int getPdmPrecision () { return m_iPdmPrecision; }223 Int** getPdmScaleNomDelta () { return m_aaiPdmScaleNomDelta; }224 Int** getPdmOffset () { return m_aaiPdmOffset; }225 #endif226 212 }; 227 213 -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/CommonDef.h
r541 r542 60 60 #define HM_VERSION "11.0" ///< 61 61 #else 62 #define NV_VERSION "1 0.1" ///< Current software version62 #define NV_VERSION "11.0" ///< Current software version 63 63 #endif 64 64 -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/TComDataCU.cpp
r537 r542 3095 3095 #endif 3096 3096 //pcMvFieldNeighbours[iCount<<1].setMvField(cMvPred,pcMvFieldNeighbours[iCount<<1].getRefIdx()); 3097 #if H_3D _CLEANUPS//Notes from QC: for BVSP coded blocks, the reference index shall not be equal to -1 due to the adoption of JCT3V-D01913097 #if H_3D //Notes from QC: for BVSP coded blocks, the reference index shall not be equal to -1 due to the adoption of JCT3V-D0191 3098 3098 pcMvFieldNeighbours[iCount<<1].setMvField(cMvPred,pcMvFieldNeighbours[iCount<<1].getRefIdx()); 3099 #else3100 if (pcMvFieldNeighbours[iCount<<1].getRefIdx()<0)3101 {3102 for (Int i=0; i<getSlice()->getNumRefIdx(REF_PIC_LIST_0); i++)3103 {3104 if (getSlice()->getRefPOC(REF_PIC_LIST_0, i) == getSlice()->getPOC())3105 {3106 pcMvFieldNeighbours[iCount<<1].setMvField(cMvPred,i);3107 break;3108 }3109 }3110 }3111 3099 #endif 3112 3100 } … … 3124 3112 clipMv(cMvPred); 3125 3113 #endif 3126 //pcMvFieldNeighbours[(iCount<<1)+1].setMvField(cMvPred,pcMvFieldNeighbours[(iCount<<1)+1].getRefIdx());3127 #if H_3D_CLEANUPS3128 3114 pcMvFieldNeighbours[(iCount<<1)+1].setMvField(cMvPred,pcMvFieldNeighbours[(iCount<<1)+1].getRefIdx()); 3129 #else3130 if (pcMvFieldNeighbours[(iCount<<1)+1].getRefIdx()<0)3131 {3132 for (Int i=0; i<getSlice()->getNumRefIdx(REF_PIC_LIST_1); i++)3133 {3134 if (getSlice()->getRefPOC(REF_PIC_LIST_1, i) == getSlice()->getPOC())3135 {3136 pcMvFieldNeighbours[(iCount<<1)+1].setMvField(cMvPred,i);3137 break;3138 }3139 }3140 }3141 #endif3142 3115 } 3143 3116 } 3144 #if !H_3D_CLEANUPS3145 if (!((pcMvFieldNeighbours[iCount<<1].getRefIdx()<0 && !getSlice()->isInterB())3146 || (pcMvFieldNeighbours[iCount<<1].getRefIdx()<0 && pcMvFieldNeighbours[(iCount<<1)+1].getRefIdx()<0 && getSlice()->isInterB())))3147 {3148 #endif3149 3117 #if H_3D_NBDV 3150 3118 pcMvFieldNeighbours[iCount<<1 ].getMv().setIDVFlag (false); … … 3156 3124 } 3157 3125 iCount ++; 3158 #if !H_3D_CLEANUPS3159 }3160 else3161 {3162 assert(0);3163 }3164 #endif3165 3126 } 3166 3127 } … … 3174 3135 3175 3136 Int iPdmInterDir; 3176 #if H_3D_CLEANUPS 3137 3177 3138 if( iPdmDir[0] ) 3178 #else3179 if( iPdmDir[0] && ivMvPredFlag )3180 #endif3181 3139 { 3182 3140 abCandIsInter [ iCount ] = true; … … 3199 3157 iCount ++; 3200 3158 } 3201 #if H_3D_CLEANUPS3202 3159 // early termination 3203 3160 if (iCount == getSlice()->getMaxNumMergeCand()) … … 3206 3163 } 3207 3164 #endif 3208 #endif 3209 3210 #if !H_3D_IV_MERGE 3211 #if H_3D_NBDV //Notes from QC: DvMCP related variables. 3212 //acPdmMv[0].m_bDvMcp = acPdmMv[1].m_bDvMcp = acPdmMv[2].m_bDvMcp = acPdmMv[3].m_bDvMcp = false; 3213 #endif 3214 3215 #if H_3D_NBDV //Notes from QC: Some examples to show how to use the NBDV and DoNBDV variables. Remove this comment once it is done 3216 DisInfo cDisInfo; 3217 cDisInfo.bDV = false; 3218 //if(!bNoPdmMerge) 3219 //{ 3220 //cDisInfo.bDV = getDvInfo(uiAbsPartIdx).bDV; 3221 //cDisInfo.m_aVIdxCan = getDvInfo(uiAbsPartIdx).m_aVIdxCan; 3222 //cDisInfo.m_acNBDV = getDvInfo(uiAbsPartIdx).m_acNBDV; 3223 //#if H_3D_NBDV_REF 3224 //cDisInfo.m_acDoNBDV = getDvInfo(uiAbsPartIdx).m_acDoNBDV; 3225 //#endif 3226 //} 3227 #endif 3228 #endif 3165 3229 3166 //left 3230 3167 UInt uiLeftPartIdx = 0; … … 3402 3339 3403 3340 #if H_3D_IV_MERGE 3404 #if H_3D_CLEANUPS3405 3341 if( iPdmDir[1] ) 3406 #else3407 if(ivMvPredFlag && iPdmDir[1] )3408 #endif3409 3342 { 3410 3343 assert(iCount < getSlice()->getMaxNumMergeCand()); … … 5087 5020 clipMv( cDispVec ); 5088 5021 pDInfo->m_acNBDV = cDispVec; 5089 #if H_3D_CLEANUPS5090 5022 pDInfo->m_aVIdxCan = cIDVInfo.m_aVIdxCan[iList][ curPos ]; 5091 5023 assert(pDInfo->m_aVIdxCan == 0); //Notes from QC: only works for CTC 5092 #else5093 pDInfo->m_aVIdxCan = 0;5094 #endif5095 5024 #if H_3D_NBDV_REF 5096 #if H_3D_CLEANUPS5097 5025 TComPic* picDepth = getSlice()->getIvPic( true, pDInfo->m_aVIdxCan ); 5098 #else5099 TComPic* picDepth = getSlice()->getIvPic( true, 0 );5100 #endif5101 5026 assert(picDepth!=NULL); 5102 5027 5103 5028 if (picDepth && bDepthRefine) 5104 #if H_3D_CLEANUPS 5029 { 5105 5030 estimateDVFromDM (pDInfo->m_aVIdxCan, uiPartIdx, picDepth, uiPartAddr, &cDispVec); 5106 #else 5107 estimateDVFromDM(0, uiPartIdx, picDepth, uiPartAddr, &cDispVec ); // from base view 5108 #endif 5031 } 5109 5032 pDInfo->m_acDoNBDV = cDispVec; 5110 5033 #endif … … 5338 5261 { 5339 5262 TComSlice* pcSlice = getSlice (); 5340 #if H_3D_CLEANUPS //Notes from QC: to be aligned with the spec.5341 5263 Int iViewIndex = pDInfo->m_aVIdxCan; 5342 #else5343 Bool valid = false;5344 5345 Int iViewIndex = 0;5346 5347 for( UInt uiBIndex = 0; uiBIndex < pcSlice->getViewIndex( ) && !valid; uiBIndex++ )5348 {5349 UInt uiBaseIndex = uiBIndex;5350 TComPic* pcBasePic = pcSlice->getIvPic( false, uiBaseIndex );5351 for( Int iRefListId = 0; iRefListId < 2 && !valid; iRefListId++ )5352 {5353 RefPicList eRefPicListTest = RefPicList( iRefListId );5354 Int iNumRefPics = pcSlice->getNumRefIdx( eRefPicListTest ) ;5355 for( Int iRefIndex = 0; iRefIndex < iNumRefPics; iRefIndex++ )5356 {5357 if(pcBasePic->getPOC() == pcSlice->getRefPic( eRefPicListTest, iRefIndex )->getPOC()5358 && pcBasePic->getViewIndex() == pcSlice->getRefPic( eRefPicListTest, iRefIndex )->getViewIndex())5359 {5360 valid = true;5361 iViewIndex = uiBaseIndex;5362 break;5363 }5364 }5365 }5366 }5367 5368 if (!valid)5369 return false;5370 #endif5371 5264 //--- get base CU/PU and check prediction mode --- 5372 5265 TComPic* pcBasePic = pcSlice->getIvPic( false, iViewIndex ); -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/TComSlice.cpp
r540 r542 118 118 , m_icSkipParseFlag ( false ) 119 119 #endif 120 #if H_3D _GEN120 #if H_3D 121 121 , m_depthToDisparityB ( NULL ) 122 122 , m_depthToDisparityF ( NULL ) … … 158 158 delete[] m_puiSubstreamSizes; 159 159 m_puiSubstreamSizes = NULL; 160 #if H_3D _GEN160 #if H_3D 161 161 for( UInt i = 0; i < getViewIndex(); i++ ) 162 162 { … … 1529 1529 #endif 1530 1530 } 1531 #if H_3D _GEN1531 #if H_3D 1532 1532 for( Int i = 0; i < MAX_NUM_LAYERS; i++ ) 1533 1533 { … … 2636 2636 } 2637 2637 #endif 2638 #if H_3D _GEN2638 #if H_3D 2639 2639 Void TComSlice::setIvPicLists( TComPicLists* m_ivPicLists ) 2640 2640 { -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/TComSlice.h
r541 r542 1568 1568 Bool m_icSkipParseFlag; 1569 1569 #endif 1570 #if H_3D _GEN1570 #if H_3D 1571 1571 TComPic* m_ivPicsCurrPoc [2][MAX_NUM_LAYERS]; 1572 1572 Int** m_depthToDisparityB; … … 1630 1630 TComPic* getRefPic ( RefPicList e, Int iRefIdx) { return m_apcRefPicList[e][iRefIdx]; } 1631 1631 Int getRefPOC ( RefPicList e, Int iRefIdx) { return m_aiRefPOCList[e][iRefIdx]; } 1632 #if H_3D _GEN1632 #if H_3D 1633 1633 TComPic* getIvPic ( Bool depthFlag, Int viewIndex){ return m_ivPicsCurrPoc[ depthFlag ? 1 : 0 ][ viewIndex ]; } 1634 1634 #endif … … 1849 1849 #endif 1850 1850 #endif 1851 #if H_3D _GEN1851 #if H_3D 1852 1852 Void setIvPicLists( TComPicLists* m_ivPicLists ); 1853 1853 Void setDepthToDisparityLUTs(); -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/TypeDef.h
r541 r542 55 55 56 56 #ifndef HEVC_EXT 57 #define HEVC_EXT 257 #define HEVC_EXT 1 58 58 #endif 59 59 … … 76 76 // HHI_QTLPC_RAU_OFF_C0160 // JCT3V-C0160 change 2: quadtree limitation and predictive coding switched off in random access units 77 77 78 #define H_3D_PDM_CAM_PARAS 0 ///< PDM related parts of camera parameters, should be removed if not used anymore.79 78 #define H_3D_VSO 1 // VSO, View synthesis optimization, includes: 80 79 // HHI_VSO … … 110 109 // LG_D0092: Multiple VSP candidate allowed 111 110 112 #if H_3D_VSP113 #define H_3D_VSP_POSITION 3 // The only supported position114 #define H_3D_VSP_BLOCKSIZE 4 // Supported values: 1, 2, and 4115 #if H_3D_VSP_BLOCKSIZE == 1116 #define H_3D_VSP_CONSTRAINED 1 // Constrained VSP @ 1x1117 #else118 #define H_3D_VSP_CONSTRAINED 0119 #endif120 #endif121 122 111 #define H_3D_IV_MERGE 1 // Inter-view motion merge candidate 123 112 // HHI_INTER_VIEW_MOTION_PRED … … 130 119 #define H_3D_TMVP 1 // QC_TMVP_C0047 131 120 // Sony_M23639 132 #define H_3D_GEN 1 // Some general changes can be removed after merge 133 #define H_3D_CLEANUPS 1 // Temporary for minor fixes can be removed after merge 134 #define H_3D_FIX 1 // Temporary for minor fixes can be removed after merge 135 #define H_3D_VSO_FIX_BORDRE_EXTENSION 1 // Temporary for minor fixes can be removed after merge 121 136 122 #define H_3D_DIM 1 // DIM, Depth intra modes, includes: 137 123 // HHI_DMM_WEDGE_INTRA … … 156 142 ///////////////////////////////////////////////////////////////////////////////////////// 157 143 144 158 145 ///// ***** VIEW SYNTHESIS OPTIMIZAION ********* 159 146 #if H_3D_VSO … … 169 156 //// ****** Neighbouring block-based Disparity Vector ********* 170 157 #if H_3D_NBDV 171 #if H_3D_CLEANUPS172 158 #define DVFROM_LEFTBELOW 0 173 159 #define DVFROM_LEFT 1 … … 176 162 #define DVFROM_ABOVELEFT 4 177 163 #define IDV_CANDS 5 178 #else179 #define IDV_CANDS 6180 #define DVFROM_LEFTBELOW 1181 #define DVFROM_LEFT 2182 #define DVFROM_ABOVERIGHT 3183 #define DVFROM_ABOVE 4184 #define DVFROM_ABOVELEFT 5185 #endif186 164 #endif 187 165 ///// ***** ADVANCED INTERVIEW RESIDUAL PREDICTION ********* … … 198 176 // HHI_DEPTH_INTRA_SEARCH_RAU_C0160 199 177 // LG_ZEROINTRADEPTHRESI_A0087 178 #endif 179 180 ///// ***** VIEW SYNTHESIS PREDICTION ********* 181 #if H_3D_VSP 182 #define H_3D_VSP_POSITION 3 // The only supported position 183 #define H_3D_VSP_BLOCKSIZE 4 // Supported values: 1, 2, and 4 184 #if H_3D_VSP_BLOCKSIZE == 1 185 #define H_3D_VSP_CONSTRAINED 1 // Constrained VSP @ 1x1 186 #else 187 #define H_3D_VSP_CONSTRAINED 0 188 #endif 200 189 #endif 201 190 -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibDecoder/TDecGop.cpp
r486 r542 159 159 } 160 160 #endif 161 #if H_3D _GEN161 #if H_3D 162 162 pcSlice->setDepthToDisparityLUTs(); 163 163 #endif -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibDecoder/TDecTop.cpp
r537 r542 913 913 #endif 914 914 915 #if H_3D _GEN915 #if H_3D 916 916 pcSlice->setIvPicLists( m_ivPicLists ); 917 917 #if H_3D_IV_MERGE -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibDecoder/TDecTop.h
r531 r542 89 89 Int** m_aaiCodedScale; 90 90 Int* m_aiViewId; 91 #if !H_3D_FIX92 Int* m_aiLayerIdx;93 #endif94 91 95 92 Bool* m_bViewReceived; -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncCavlc.cpp
r541 r542 801 801 WRITE_FLAG ( 0, "vps_shvc_reserved_zero_flag" ); 802 802 803 #if H_3D _GEN803 #if H_3D 804 804 WRITE_FLAG( 1, "vps_extension2_flag" ); 805 805 m_pcBitIf->writeAlignOne(); -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncGOP.cpp
r537 r542 471 471 pcPic->setCurrSliceIdx(0); 472 472 473 #if H_3D _GEN473 #if H_3D 474 474 m_pcSliceEncoder->initEncSlice ( pcPic, iPOCLast, pocCurr, iNumPicRcvd, iGOPid, pcSlice, m_pcEncTop->getVPS(), m_pcEncTop->getSPS(), m_pcEncTop->getPPS(), getLayerId() ); 475 475 #else … … 482 482 pcPic ->setLayerId ( getLayerId() ); 483 483 pcPic ->setViewId ( getViewId() ); 484 #if !H_3D _GEN484 #if !H_3D 485 485 pcSlice->setLayerId ( getLayerId() ); 486 486 pcSlice->setViewId ( getViewId() ); 487 487 pcSlice->setVPS ( m_pcEncTop->getVPS() ); 488 #endif 489 #if H_3D 488 #else 490 489 pcPic ->setViewIndex ( getViewIndex() ); 491 490 pcPic ->setIsDepth( getIsDepth() ); 492 #if !H_3D_GEN493 pcSlice->setViewIndex ( getViewIndex() );494 pcSlice->setIsDepth( getIsDepth() );495 #endif496 491 pcSlice->setCamparaSlice( pcPic->getCodedScale(), pcPic->getCodedOffset() ); 497 492 #endif … … 1078 1073 pcPic->setNumDdvCandPics(pcPic->getDisCandRefPictures(iColPoc)); 1079 1074 } 1080 #if H_3D _GEN1075 #if H_3D 1081 1076 pcSlice->setDepthToDisparityLUTs(); 1082 1077 -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncSlice.cpp
r541 r542 176 176 \param pPPS PPS associated with the slice 177 177 */ 178 #if H_3D _GEN178 #if H_3D 179 179 Void TEncSlice::initEncSlice( TComPic* pcPic, Int pocLast, Int pocCurr, Int iNumPicRcvd, Int iGOPid, TComSlice*& rpcSlice, TComVPS* pVPS, TComSPS* pSPS, TComPPS *pPPS, Int layerId ) 180 180 #else … … 186 186 187 187 rpcSlice = pcPic->getSlice(0); 188 #if H_3D _GEN188 #if H_3D 189 189 // GT: Should also be activated for MV-HEVC at some stage 190 190 rpcSlice->setVPS( pVPS ); -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncSlice.h
r537 r542 116 116 117 117 /// preparation of slice encoding (reference marking, QP and lambda) 118 #if H_3D _GEN118 #if H_3D 119 119 Void initEncSlice ( TComPic* pcPic, Int pocLast, Int pocCurr, Int iNumPicRcvd, 120 120 Int iGOPid, TComSlice*& rpcSlice, TComVPS* pVPS, TComSPS* pSPS, TComPPS *pPPS, Int layerId ); -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncTop.cpp
r541 r542 511 511 // mark it should be extended 512 512 rpcPic->getPicYuvRec()->setBorderExtension(false); 513 #if H_3D_VSO_FIX_BORDRE_EXTENSION514 513 rpcPic->getPicYuvOrg()->setBorderExtension(false); 515 #endif516 514 } 517 515
Note: See TracChangeset for help on using the changeset viewer.