Changeset 1133 in 3DVCSoftware for trunk/source/Lib/TLibEncoder/TEncGOP.cpp
- Timestamp:
- 21 Feb 2015, 22:47:16 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibEncoder/TEncGOP.cpp
r1124 r1133 880 880 881 881 TComVPS* vps = pcSlice->getVPS(); 882 #if HHI_DEPENDENCY_SIGNALLING_I1_J0107883 882 #if H_3D 884 883 Int numDirectRefLayers = vps ->getNumRefListLayers( getLayerId() ); 885 #else886 Int numDirectRefLayers = vps ->getNumDirectRefLayers( getLayerId() );887 #endif888 884 #else 889 885 Int numDirectRefLayers = vps ->getNumDirectRefLayers( getLayerId() ); … … 901 897 pcSlice->setNumInterLayerRefPicsMinus1( gopEntry.m_numActiveRefLayerPics - 1 ); 902 898 } 903 #if HHI_DEPENDENCY_SIGNALLING_I1_J0107904 899 #if H_3D 905 900 if ( gopEntry.m_numActiveRefLayerPics != vps->getNumRefListLayers( getLayerId() ) ) 906 #else907 if ( gopEntry.m_numActiveRefLayerPics != vps->getNumDirectRefLayers( getLayerId() ) )908 #endif909 901 #else 910 902 if ( gopEntry.m_numActiveRefLayerPics != vps->getNumDirectRefLayers( getLayerId() ) ) … … 957 949 pcSlice->setRefPicList ( rcListPic ); 958 950 #endif 959 #if !MTK_SINGLE_DEPTH_VPS_FLAG_J0060 960 #if H_3D_SINGLE_DEPTH 961 #if HHI_TOOL_PARAMETERS_I2_J0107 962 pcSlice->setApplySingleDepthMode( pcSlice->getIntraSingleFlag() ); 963 #else 964 TEncTop* pcEncTop = (TEncTop*) m_pcCfg; 965 bool enableSingleDepthMode=false; 966 if(pcEncTop->getUseSingleDepthMode()) 967 { 968 if(pcSlice->getIsDepth()) 969 { 970 enableSingleDepthMode=true; 971 } 972 } 973 pcSlice->setApplySingleDepthMode(enableSingleDepthMode); 974 #endif 975 #endif 976 #endif 977 #if SEC_ARP_VIEW_REF_CHECK_J0037 || SEC_DBBP_VIEW_REF_CHECK_J0037 951 #if H_3D 978 952 pcSlice->setDefaultRefView(); 979 953 #endif … … 1439 1413 pcSlice->getSPS()->getVuiParameters()->setHrdParametersPresentFlag( true ); 1440 1414 } 1441 #if HHI_TOOL_PARAMETERS_I2_J01071442 1415 m_pcEntropyCoder->encodeSPS(pcSlice->getSPS()); 1443 #else1444 #if !H_3D1445 m_pcEntropyCoder->encodeSPS(pcSlice->getSPS());1446 #else1447 m_pcEntropyCoder->encodeSPS(pcSlice->getSPS(), pcSlice->getViewIndex(), pcSlice->getIsDepth() );1448 #endif1449 #endif1450 1416 writeRBSPTrailingBits(nalu.m_Bitstream); 1451 1417 accessUnit.push_back(new NALUnitEBSP(nalu));
Note: See TracChangeset for help on using the changeset viewer.