Changeset 1124 in 3DVCSoftware for trunk/source/Lib/TLibEncoder/TEncGOP.cpp
- Timestamp:
- 10 Nov 2014, 12:22:20 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibEncoder/TEncGOP.cpp
r1084 r1124 880 880 881 881 TComVPS* vps = pcSlice->getVPS(); 882 #if HHI_DEPENDENCY_SIGNALLING_I1_J0107 883 #if H_3D 884 Int numDirectRefLayers = vps ->getNumRefListLayers( getLayerId() ); 885 #else 882 886 Int numDirectRefLayers = vps ->getNumDirectRefLayers( getLayerId() ); 887 #endif 888 #else 889 Int numDirectRefLayers = vps ->getNumDirectRefLayers( getLayerId() ); 890 #endif 883 891 GOPEntry gopEntry = m_pcCfg->getGOPEntry( (pcSlice->getRapPicFlag() && getLayerId() > 0) ? MAX_GOP : iGOPid ); 884 892 … … 893 901 pcSlice->setNumInterLayerRefPicsMinus1( gopEntry.m_numActiveRefLayerPics - 1 ); 894 902 } 903 #if HHI_DEPENDENCY_SIGNALLING_I1_J0107 904 #if H_3D 905 if ( gopEntry.m_numActiveRefLayerPics != vps->getNumRefListLayers( getLayerId() ) ) 906 #else 895 907 if ( gopEntry.m_numActiveRefLayerPics != vps->getNumDirectRefLayers( getLayerId() ) ) 908 #endif 909 #else 910 if ( gopEntry.m_numActiveRefLayerPics != vps->getNumDirectRefLayers( getLayerId() ) ) 911 #endif 896 912 { 897 913 interLayerPredLayerIdcPresentFlag = true; … … 941 957 pcSlice->setRefPicList ( rcListPic ); 942 958 #endif 959 #if !MTK_SINGLE_DEPTH_VPS_FLAG_J0060 943 960 #if H_3D_SINGLE_DEPTH 961 #if HHI_TOOL_PARAMETERS_I2_J0107 962 pcSlice->setApplySingleDepthMode( pcSlice->getIntraSingleFlag() ); 963 #else 944 964 TEncTop* pcEncTop = (TEncTop*) m_pcCfg; 945 965 bool enableSingleDepthMode=false; … … 952 972 } 953 973 pcSlice->setApplySingleDepthMode(enableSingleDepthMode); 954 #endif 974 #endif 975 #endif 976 #endif 977 #if SEC_ARP_VIEW_REF_CHECK_J0037 || SEC_DBBP_VIEW_REF_CHECK_J0037 978 pcSlice->setDefaultRefView(); 979 #endif 955 980 #if H_3D_ARP 956 981 //GT: This seems to be broken when layerId in vps is not equal to layerId in nuh … … 1414 1439 pcSlice->getSPS()->getVuiParameters()->setHrdParametersPresentFlag( true ); 1415 1440 } 1441 #if HHI_TOOL_PARAMETERS_I2_J0107 1442 m_pcEntropyCoder->encodeSPS(pcSlice->getSPS()); 1443 #else 1416 1444 #if !H_3D 1417 1445 m_pcEntropyCoder->encodeSPS(pcSlice->getSPS()); 1418 1446 #else 1419 1447 m_pcEntropyCoder->encodeSPS(pcSlice->getSPS(), pcSlice->getViewIndex(), pcSlice->getIsDepth() ); 1448 #endif 1420 1449 #endif 1421 1450 writeRBSPTrailingBits(nalu.m_Bitstream);
Note: See TracChangeset for help on using the changeset viewer.