Changeset 532 in 3DVCSoftware for branches/HTM-DEV-0.3-dev2/source
- Timestamp:
- 12 Jul 2013, 17:57:35 (11 years ago)
- Location:
- branches/HTM-DEV-0.3-dev2/source
- Files:
-
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.3-dev2/source/App/TAppEncoder/TAppEncCfg.cpp
r531 r532 730 730 #endif //HHI_VSO 731 731 #if H_3D_IV_MERGE 732 ("IvMvPred", m_ivMvPredFlag, false, "inter view motion prediction " )732 ("IvMvPred", m_ivMvPredFlag, true , "inter view motion prediction " ) 733 733 #endif 734 734 #if H_3D_NBDV_REF 735 ("DepthRefinement", m_depthRefinementFlag, false , "depth refinement by DoNBDV" )735 ("DepthRefinement", m_depthRefinementFlag, true , "depth refinement by DoNBDV" ) 736 736 #endif 737 737 #if H_3D_VSP 738 ("ViewSynthesisPred", m_viewSynthesisPredFlag, false , "view synthesis prediction " ) 738 ("ViewSynthesisPred", m_viewSynthesisPredFlag, true , "view synthesis prediction " ) 739 #endif 740 #if H_3D_TMVP 741 ("IvMvScaling", m_ivMvScalingFlag , true , "inter view motion vector scaling" ) 739 742 #endif 740 743 #endif //H_3D … … 988 991 989 992 xResizeVector( m_bLoopFilterDisable ); 990 xResizeVector( m_bUseSAO ); 993 xResizeVector( m_bUseSAO ); 991 994 992 995 #else … … 2322 2325 printf("ViewSynthesisPred:%d ", m_viewSynthesisPredFlag ); 2323 2326 #endif 2327 #if H_3D_TMVP 2328 printf("IvMvScaling:%d ", m_ivMvScalingFlag ? 1 : 0 ); 2329 #endif 2324 2330 #if H_3D_DIM 2325 2331 printf("DMM:%d ", m_useDMM ); -
branches/HTM-DEV-0.3-dev2/source/App/TAppEncoder/TAppEncCfg.h
r531 r532 101 101 #if H_3D_VSP 102 102 Bool m_viewSynthesisPredFlag; 103 #endif 104 #if H_3D_TMVP 105 Bool m_ivMvScalingFlag; 103 106 #endif 104 107 #endif -
branches/HTM-DEV-0.3-dev2/source/App/TAppEncoder/TAppEncTop.cpp
r531 r532 120 120 xSetDirectDependencyFlags( vps ); 121 121 #if H_3D 122 #if H_3D_DIM123 for( Int layer = 0; layer < m_numberOfLayers; layer++ )124 {125 vps.setVpsDepthModesFlag( layer, ((vps.getDepthId( layer ) != 0) && (m_useDMM || m_useRBC || m_useSDC || m_useDLT)) ? true : false );126 #if H_3D_DIM_DLT127 vps.setUseDLTFlag( layer , ((vps.getDepthId( layer ) != 0) && m_useDLT) ? true : false );128 if( vps.getUseDLTFlag( layer ) )129 {130 xAnalyzeInputBaseDepth(layer, max(m_iIntraPeriod, 24), &vps);131 }132 #endif133 }134 #endif135 122 vps.initViewIndex(); 136 123 #if H_3D_GEN … … 138 125 #endif 139 126 m_ivPicLists.setVPS ( &vps ); 140 #if H_3D_ARP141 for(Int i = 0; i < m_numberOfLayers; i++)142 {143 Bool isDepth = vps.getDepthId( i );144 vps.setUseAdvRP ( i, ( isDepth || 0==i ) ? 0 : m_uiUseAdvResPred );145 vps.setARPStepNum ( i, ( isDepth || 0==i ) ? 1 : H_3D_ARP_WFNR );146 }147 #endif148 127 #endif 149 128 … … 1055 1034 1056 1035 depthVideoFile->close(); 1036 delete depthVideoFile; 1057 1037 1058 1038 pcDepthPicYuvOrg->destroy(); … … 1152 1132 for ( Int layer = 0; layer < vps.getMaxLayers(); layer++ ) 1153 1133 { 1154 if ( layer != 0 ) 1155 { 1156 if( ( vps.getDepthId( layer ) == 0 ) ) 1157 { 1134 Bool isDepth = ( vps.getDepthId( layer ) == 1 ) ; 1135 Bool isLayerZero = ( layer == 0 ); 1136 1137 #if H_3D_ARP 1138 vps.setUseAdvRP ( layer, ( isDepth || isLayerZero ) ? 0 : m_uiUseAdvResPred ); 1139 vps.setARPStepNum ( layer, ( isDepth || isLayerZero ) ? 1 : H_3D_ARP_WFNR ); 1140 #endif 1141 1142 #if H_3D_DIM 1143 vps.setVpsDepthModesFlag( layer, isDepth && !isLayerZero && (m_useDMM || m_useRBC || m_useSDC || m_useDLT ) ); 1144 #if H_3D_DIM_DLT 1145 vps.setUseDLTFlag( layer , isDepth && m_useDLT ); 1146 if( vps.getUseDLTFlag( layer ) ) 1147 { 1148 xAnalyzeInputBaseDepth(layer, max(m_iIntraPeriod, 24), &vps); 1149 } 1150 #endif 1151 #endif 1152 1158 1153 #if H_3D_IV_MERGE 1159 vps.setIvMvPredFlag ( layer,m_ivMvPredFlag );1154 vps.setIvMvPredFlag ( layer, !isLayerZero && !isDepth && m_ivMvPredFlag ); 1160 1155 #endif 1161 1156 #if H_3D_NBDV_REF 1162 vps.setDepthRefinementFlag( layer,m_depthRefinementFlag );1157 vps.setDepthRefinementFlag ( layer, !isLayerZero && !isDepth && m_depthRefinementFlag ); 1163 1158 #endif 1164 1159 #if H_3D_VSP 1165 vps.setViewSynthesisPredFlag( layer, m_viewSynthesisPredFlag ); 1166 #endif 1167 } 1168 } 1169 } 1160 vps.setViewSynthesisPredFlag( layer, !isLayerZero && !isDepth && m_viewSynthesisPredFlag ); 1161 #endif 1162 } 1163 #if H_3D_TMVP 1164 vps.setIvMvScalingFlag( m_ivMvScalingFlag ); 1165 #endif 1170 1166 } 1171 1167 #endif -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/TComDataCU.cpp
r531 r532 4381 4381 { 4382 4382 #if H_3D_TMVP 4383 4384 4385 4386 4387 4388 if ( iScale != 4096 )4389 4390 4391 4392 4393 4383 Int iCurrViewId = m_pcSlice->getViewIndex (); 4384 Int iCurrRefViewId = m_pcSlice->getRefPic(eRefPicList, riRefIdx)->getViewIndex (); 4385 Int iColViewId = pColCU->getSlice()->getViewIndex(); 4386 Int iColRefViewId = pColCU->getSlice()->getRefPic( eColRefPicList, pColCU->getCUMvField(eColRefPicList)->getRefIdx(uiAbsPartAddr))->getViewIndex(); 4387 iScale = xGetDistScaleFactor( iCurrViewId, iCurrRefViewId, iColViewId, iColRefViewId ); 4388 if ( iScale != 4096 && m_pcSlice->getVPS()->getIvMvScalingFlag() ) 4389 { 4390 rcMv = cColMv.scaleMv( iScale ); 4391 } 4392 else 4393 { 4394 4394 #endif 4395 4395 rcMv = cColMv; -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/TComPrediction.cpp
r531 r532 2104 2104 UInt TComPrediction::xPredWedgeFromTex( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiWidth, UInt uiHeight, UInt intraTabIdx ) 2105 2105 { 2106 TComPic* pcPicTex = pcCU->getSlice()->get PicLists()->getPic( pcCU->getSlice()->getViewIndex(), false, pcCU->getSlice()->getPOC());2106 TComPic* pcPicTex = pcCU->getSlice()->getTexturePic(); 2107 2107 assert( pcPicTex != NULL ); 2108 2108 TComDataCU* pcColTexCU = pcPicTex->getCU(pcCU->getAddr()); … … 2147 2147 Void TComPrediction::xCopyTextureLumaBlock( TComDataCU* pcCU, UInt uiAbsPartIdx, Pel* piDestBlockY, UInt uiWidth, UInt uiHeight ) 2148 2148 { 2149 TComPicYuv* pcPicYuvRef = pcCU->getSlice()->get PicLists()->getPic( pcCU->getSlice()->getViewIndex(), false, pcCU->getSlice()->getPOC())->getPicYuvRec();2149 TComPicYuv* pcPicYuvRef = pcCU->getSlice()->getTexturePic()->getPicYuvRec(); 2150 2150 assert( pcPicYuvRef != NULL ); 2151 2151 Int iRefStride = pcPicYuvRef->getStride(); -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/TComSlice.cpp
r531 r532 73 73 , m_pcPPS ( NULL ) 74 74 , m_pcPic ( NULL ) 75 #if H_3D76 , m_picLists ( NULL )77 #endif78 75 , m_colFromL0Flag ( 1 ) 79 76 , m_colRefIdx ( 0 ) … … 973 970 974 971 m_pcPic = pSrc->m_pcPic; 975 #if H_3D976 m_picLists = pSrc->m_picLists;977 #endif978 972 m_colFromL0Flag = pSrc->m_colFromL0Flag; 979 973 m_colRefIdx = pSrc->m_colRefIdx; … … 1566 1560 } 1567 1561 #endif 1562 m_ivMvScalingFlag = true; 1568 1563 #endif 1569 1564 … … 1584 1579 } 1585 1580 #if H_3D_GEN 1586 for( Int i = 0; i < MAX_NUM_LAYERS; i++ ) { 1581 for( Int i = 0; i < MAX_NUM_LAYERS; i++ ) 1582 { 1587 1583 #if H_3D_IV_MERGE 1588 1584 m_ivMvPredFlag [ i ] = false; … … 1594 1590 m_depthRefinementFlag [ i ] = false; 1595 1591 #endif 1596 } 1592 } 1597 1593 #endif 1598 1594 #endif … … 1604 1600 if( m_hrdOpSetIdx != NULL ) delete[] m_hrdOpSetIdx; 1605 1601 if( m_cprmsPresentFlag != NULL ) delete[] m_cprmsPresentFlag; 1602 #if H_3D_DIM_DLT 1603 for( Int i = 0; i < MAX_NUM_LAYERS; i++ ) 1604 { 1605 if ( m_iDepthValue2Idx[i] != 0 ) 1606 { 1607 xFree( m_iDepthValue2Idx[i] ); 1608 m_iDepthValue2Idx[i] = 0; 1609 } 1610 1611 if ( m_iIdx2DepthValue[i] != 0 ) 1612 { 1613 xFree( m_iIdx2DepthValue[i] ); 1614 m_iIdx2DepthValue[i] = 0; 1615 1616 } 1617 } 1618 #endif 1606 1619 } 1607 1620 -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/TComSlice.h
r531 r532 546 546 Int* m_iIdx2DepthValue [MAX_NUM_LAYERS ]; 547 547 #endif 548 #if H_3D_TMVP 549 Bool m_ivMvScalingFlag; 550 #endif 548 551 549 552 #endif … … 696 699 #endif 697 700 698 #endif 699 701 #if H_3D_TMVP 702 Bool getIvMvScalingFlag ( ) { return m_ivMvScalingFlag; } 703 Void setIvMvScalingFlag ( Bool b ) { m_ivMvScalingFlag = b; } 704 #endif 705 #endif 700 706 701 707 Void setVpsProfilePresentFlag( Int layerSet, Bool val ) { m_vpsProfilePresentFlag[layerSet] = val; } … … 1478 1484 TComPPS* m_pcPPS; 1479 1485 TComPic* m_pcPic; 1480 #if H_3D1481 TComPicLists* m_picLists;1482 #endif1483 1486 #if ADAPTIVE_QP_SELECTION 1484 1487 TComTrQuant* m_pcTrQuant; … … 1616 1619 Int getNumRefIdx ( RefPicList e ) { return m_aiNumRefIdx[e]; } 1617 1620 TComPic* getPic () { return m_pcPic; } 1618 #if H_3D1619 TComPicLists* getPicLists () { return m_picLists; }1620 #endif1621 1621 TComPic* getRefPic ( RefPicList e, Int iRefIdx) { return m_apcRefPicList[e][iRefIdx]; } 1622 1622 Int getRefPOC ( RefPicList e, Int iRefIdx) { return m_aiRefPOCList[e][iRefIdx]; } … … 1693 1693 Void setNumRefIdx ( RefPicList e, Int i ) { m_aiNumRefIdx[e] = i; } 1694 1694 Void setPic ( TComPic* p ) { m_pcPic = p; } 1695 #if H_3D1696 Void setPicLists ( TComPicLists* p ) { m_picLists = p; }1697 #endif1698 1695 Void setDepth ( Int iDepth ) { m_iDepth = iDepth; } 1699 1696 -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibCommon/TypeDef.h
r531 r532 71 71 #if H_MV 72 72 #define H_MV_FIX1071 1 //< Fix on Fix1071, same as in HTM 11 73 #define H_MV_ENC_DEC_TRAC 0 //< CU/PU level tracking 73 #define H_MV_FIX_VPS_POINTER 1 //< Changed m_vps in TEncCfg to pointer to avoid mismatches between layers and avoid erroneous shallow copy. 74 #define H_MV_ENC_DEC_TRAC 1 //< CU/PU level tracking 74 75 #endif 75 76 -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibDecoder/TDecCAVLC.cpp
r531 r532 981 981 for( Int i = 0; i <= pcVPS->getMaxLayers() - 1; i++ ) 982 982 { 983 if( pcVPS->getDepthId( i ) ) 984 { 985 READ_FLAG( uiCode, "vps_depth_modes_flag[i]" ); pcVPS->setVpsDepthModesFlag( i, uiCode == 1 ? true : false ); 986 983 984 #if H_3D_ARP 985 pcVPS->setUseAdvRP ( i, 0 ); 986 pcVPS->setARPStepNum( i, 1 ); 987 #endif 988 if ( i != 0 ) 989 { 990 if( !( pcVPS->getDepthId( i ) == 1 ) ) 991 { 992 #if H_3D_IV_MERGE 993 READ_FLAG( uiCode, "iv_mv_pred_flag[i]"); pcVPS->setIvMvPredFlag ( i, uiCode == 1 ? true : false ); 994 #endif 995 #if H_3D_ARP 996 READ_FLAG( uiCode, "iv_res_pred_flag[i]" ); pcVPS->setUseAdvRP ( i, uiCode ); pcVPS->setARPStepNum( i, uiCode ? H_3D_ARP_WFNR : 1 ); 997 998 #endif 999 #if H_3D_NBDV_REF 1000 READ_FLAG( uiCode, "depth_refinement_flag[i]"); pcVPS->setDepthRefinementFlag ( i, uiCode == 1 ? true : false ); 1001 #endif 1002 #if H_3D_VSP 1003 READ_FLAG( uiCode, "view_synthesis_pred_flag[i]"); pcVPS->setViewSynthesisPredFlag( i, uiCode == 1 ? true : false ); 1004 #endif 1005 } 1006 else 1007 { 1008 1009 READ_FLAG( uiCode, "vps_depth_modes_flag[i]" ); pcVPS->setVpsDepthModesFlag( i, uiCode == 1 ? true : false ); 1010 // READ_FLAG( uiCode, "lim_qt_pred_flag[i]"); pcVPS->setLimQtPreFlag ( i, uiCode == 1 ? true : false ); 987 1011 #if H_3D_DIM_DLT 988 if( pcVPS->getVpsDepthModesFlag( i ) )989 {990 READ_FLAG( uiCode, "use_dlt_flag[i]");991 pcVPS->setUseDLTFlag( i, uiCode == 1 ? true : false );1012 if( pcVPS->getVpsDepthModesFlag( i ) ) 1013 { 1014 READ_FLAG( uiCode, "dlt_flag[i]" ); pcVPS->setUseDLTFlag( i, uiCode == 1 ? true : false ); 1015 } 992 1016 if( pcVPS->getUseDLTFlag( i ) ) 993 1017 { … … 995 1019 UInt uiNumDepthValues; 996 1020 // parse number of values in DLT 997 READ_UVLC(uiNumDepthValues, "num_d lt_depth_values[i]");998 1021 READ_UVLC(uiNumDepthValues, "num_depth_values_in_dlt[i]"); 1022 999 1023 // parse actual DLT values 1000 1024 Int* aiIdx2DepthValue = (Int*) calloc(uiNumDepthValues, sizeof(Int)); … … 1004 1028 aiIdx2DepthValue[d] = (Int)uiCode; 1005 1029 } 1006 1030 1007 1031 pcVPS->setDepthLUTs(i, aiIdx2DepthValue, uiNumDepthValues); 1008 1032 1009 1033 // clean memory 1010 1034 free(aiIdx2DepthValue); 1011 1035 } 1036 #endif 1012 1037 } 1013 #endif 1014 } 1015 } 1016 1017 #if H_3D_GEN 1018 for( Int layer = 0; layer <= pcVPS->getMaxLayers() - 1; layer++ ) 1019 { 1020 #if H_3D_ARP 1021 pcVPS->setUseAdvRP ( layer, 0 ); 1022 pcVPS->setARPStepNum( layer, 1 ); 1023 #endif 1024 if (layer != 0) 1025 { 1026 if ( !( pcVPS->getDepthId( layer ) == 1 ) ) 1027 { 1028 #if H_3D_IV_MERGE 1029 READ_FLAG( uiCode, "iv_mv_pred_flag[i]"); pcVPS->setIvMvPredFlag ( layer, uiCode == 1 ? true : false ); 1030 #endif 1031 #if H_3D_ARP 1032 READ_FLAG( uiCode, "advanced_residual_pred_flag" ); pcVPS->setUseAdvRP ( layer, uiCode ); pcVPS->setARPStepNum( layer, uiCode ? H_3D_ARP_WFNR : 1 ); 1033 1034 #endif 1035 #if H_3D_NBDV_REF 1036 READ_FLAG( uiCode, "depth_refinement_flag[i]"); pcVPS->setDepthRefinementFlag ( layer, uiCode == 1 ? true : false ); 1037 #endif 1038 #if H_3D_VSP 1039 READ_FLAG( uiCode, "view_synthesis_pred_flag[i]"); pcVPS->setViewSynthesisPredFlag( layer, uiCode == 1 ? true : false ); 1040 #endif 1041 } 1042 } 1043 } 1044 #endif 1038 } 1039 } 1040 READ_FLAG( uiCode, "iv_mv_scaling_flag"); pcVPS->setIvMvScalingFlag( uiCode == 1 ? true : false ); 1045 1041 #else 1046 1042 while ( xMoreRbspData() ) -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibDecoder/TDecTop.cpp
r531 r532 917 917 918 918 #endif 919 #if H_3D920 pcSlice->setPicLists( m_ivPicLists );921 #endif922 919 923 920 #if H_3D_GEN -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncCavlc.cpp
r531 r532 762 762 #endif 763 763 #if H_3D_ARP 764 WRITE_FLAG( pcVPS->getUseAdvRP ( i ) ? 1 : 0, " advanced_residual_pred_flag" );764 WRITE_FLAG( pcVPS->getUseAdvRP ( i ) ? 1 : 0, "iv_res_pred_flag[i]" ); 765 765 #endif 766 766 #if H_3D_NBDV_REF … … 771 771 #endif 772 772 } 773 } 774 if( pcVPS->getDepthId( i ) ) 775 { 776 WRITE_FLAG( pcVPS->getVpsDepthModesFlag( i ), "vps_depth_modes_flag[i]" ); 777 773 else 774 { 775 WRITE_FLAG( pcVPS->getVpsDepthModesFlag( i ) ? 1 : 0 , "vps_depth_modes_flag[i]" ); 776 //WRITE_FLAG( pcVPS->getLimQtPredFlag ( i ) ? 1 : 0 , "lim_qt_pred_flag[i]" ); 778 777 #if H_3D_DIM_DLT 779 if( pcVPS->getVpsDepthModesFlag( i ) ) 780 { 781 WRITE_FLAG( pcVPS->getUseDLTFlag( i ) ? 1 : 0, "use_dlt_flag[i]" ); 778 if( pcVPS->getVpsDepthModesFlag( i ) ) 779 { 780 WRITE_FLAG( pcVPS->getUseDLTFlag( i ) ? 1 : 0, "dlt_flag[i]" ); 781 } 782 782 if( pcVPS->getUseDLTFlag( i ) ) 783 783 { 784 784 // code mapping 785 WRITE_UVLC(pcVPS->getNumDepthValues(i), "num_d lt_depth_values[i]");785 WRITE_UVLC(pcVPS->getNumDepthValues(i), "num_depth_values_in_dlt[i]"); 786 786 for(Int d=0; d<pcVPS->getNumDepthValues(i); d++) 787 787 { 788 788 WRITE_UVLC( pcVPS->idx2DepthValue(i, d), "dlt_depth_value[i][d]" ); 789 789 } 790 } 791 } 792 #endif 793 } 794 795 } 790 } 791 #endif 792 } 793 } 794 } 795 #if H_3D_TMVP 796 WRITE_FLAG( pcVPS->getIvMvScalingFlag( ) ? 1 : 0 , "iv_mv_scaling_flag" ); 797 #endif 796 798 #else 797 799 WRITE_FLAG( 0, "vps_extension2_flag" ); -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncCfg.h
r531 r532 322 322 Bool m_TransquantBypassEnableFlag; ///< transquant_bypass_enable_flag setting in PPS. 323 323 Bool m_CUTransquantBypassFlagValue; ///< if transquant_bypass_enable_flag, the fixed value to use for the per-CU cu_transquant_bypass_flag. 324 #if H_MV_FIX_VPS_POINTER 325 TComVPS* m_cVPS; ///< pointer to VPS, same for all layers 326 #else 324 327 TComVPS m_cVPS; 328 #endif 325 329 Bool m_recalculateQPAccordingToLambda; ///< recalculate QP value according to the lambda value 326 330 Int m_activeParameterSetsSEIEnabled; ///< enable active parameter set SEI message … … 833 837 Bool getCUTransquantBypassFlagValue() { return m_CUTransquantBypassFlagValue; } 834 838 Void setCUTransquantBypassFlagValue(Bool flag) { m_CUTransquantBypassFlagValue = flag; } 839 #if H_MV_FIX_VPS_POINTER 840 Void setVPS ( TComVPS *p ) { m_cVPS = p; } 841 TComVPS* getVPS () { return m_cVPS; } 842 #else 835 843 Void setVPS(TComVPS *p) { m_cVPS = *p; } 836 844 TComVPS *getVPS() { return &m_cVPS; } 845 #endif 837 846 Void setUseRecalculateQPAccordingToLambda ( Bool b ) { m_recalculateQPAccordingToLambda = b; } 838 847 Bool getUseRecalculateQPAccordingToLambda () { return m_recalculateQPAccordingToLambda; } -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncGOP.cpp
r531 r532 706 706 #if H_3D 707 707 pcSlice->setIvPicLists( m_ivPicLists ); 708 #if H_3D709 pcSlice->setPicLists( m_ivPicLists );710 #endif711 708 #if H_3D_IV_MERGE 712 709 assert( !m_pcEncTop->getIsDepth() || ( pcSlice->getTexturePic() != 0 ) ); -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncSearch.cpp
r531 r532 7277 7277 Pel refDC1 = 0; Pel refDC2 = 0; 7278 7278 7279 TComPic* pcPicTex = pcCU->getSlice()->get PicLists()->getPic( pcCU->getSlice()->getViewIndex(), false, pcCU->getSlice()->getPOC());7279 TComPic* pcPicTex = pcCU->getSlice()->getTexturePic(); 7280 7280 assert( pcPicTex != NULL ); 7281 7281 TComDataCU* pcColTexCU = pcPicTex->getCU(pcCU->getAddr()); -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncTop.cpp
r521 r532 290 290 291 291 /* set the VPS profile information */ 292 #if H_MV_FIX_VPS_POINTER 293 // This seems to be incorrect, but irrelevant for the MV-HEVC 294 *(m_cVPS->getPTL()) = *m_cSPS.getPTL(); 295 #if L0043_TIMING_INFO 296 m_cVPS->getTimingInfo()->setTimingInfoPresentFlag ( false ); 297 #endif 298 #else 292 299 *m_cVPS.getPTL() = *m_cSPS.getPTL(); 300 293 301 #if L0043_TIMING_INFO 294 302 m_cVPS.getTimingInfo()->setTimingInfoPresentFlag ( false ); 303 #endif 295 304 #endif 296 305 // initialize PPS … … 668 677 { 669 678 #if H_MV 679 #if H_MV_FIX_VPS_POINTER 680 if( getVPS()->getNumDirectRefLayers( getLayerIdInVps() ) > 0 ) 681 #else 670 682 if( m_cVPS.getNumDirectRefLayers( getLayerIdInVps() ) > 0 ) 683 #endif 671 684 { 672 685 m_cPPS.setListsModificationPresentFlag( true );
Note: See TracChangeset for help on using the changeset viewer.