Changeset 1064 in 3DVCSoftware for branches/HTM-12.0-dev1/source
- Timestamp:
- 10 Oct 2014, 21:05:07 (11 years ago)
- Location:
- branches/HTM-12.0-dev1/source
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-12.0-dev1/source/App/TAppEncoder/TAppEncCfg.cpp
r1060 r1064 429 429 430 430 #if H_MV_HLS10_PTL 431 ("ProfileTierLevelIdx_%d", m_profileTierLevelIdx, std::vector<Int>(0), MAX_NUM_LAYERS, "Indices to profile level tier ")431 ("ProfileTierLevelIdx_%d", m_profileTierLevelIdx, std::vector<Int>(0), MAX_NUM_LAYERS, "Indices to profile level tier for ols") 432 432 #else 433 433 ("ProfileLevelTierIdx", m_profileLevelTierIdx, std::vector<Int>(1,0), "Indices to profile level tier") … … 1240 1240 { 1241 1241 #if H_3D 1242 cfg_profiles = string("main main 3 D-main");1242 cfg_profiles = string("main main 3d-main"); 1243 1243 #else 1244 1244 cfg_profiles = string("main main multiview-main"); -
branches/HTM-12.0-dev1/source/App/TAppEncoder/TAppEncCfg.h
r1060 r1064 557 557 cElement = strtok( NULL, " " ); 558 558 } 559 delete[] cString; 559 560 } 560 561 #endif -
branches/HTM-12.0-dev1/source/App/TAppEncoder/TAppEncTop.cpp
r1063 r1064 1396 1396 // Max sub layers, + presence flag 1397 1397 Bool subLayersMaxMinus1PresentFlag = false; 1398 #if !H_MV_FIX_SUB_LAYERS_MAX_MINUS1 1398 1399 Int subLayersMaxMinus1 = -1; 1400 #endif 1399 1401 for (Int curLayerIdInVps = 0; curLayerIdInVps < m_numberOfLayers; curLayerIdInVps++ ) 1400 { 1401 Int curSubLayersMaxMinus1 = -1;1402 { 1403 Int curSubLayersMaxMinus1 = 0; 1402 1404 for( Int i = 0; i < getGOPSize(); i++ ) 1403 1405 { … … 1407 1409 1408 1410 vps.setSubLayersVpsMaxMinus1( curLayerIdInVps, curSubLayersMaxMinus1 ); 1411 #if !H_MV_FIX_SUB_LAYERS_MAX_MINUS1 1409 1412 if ( subLayersMaxMinus1 == -1 ) 1410 1413 { … … 1415 1418 subLayersMaxMinus1PresentFlag = subLayersMaxMinus1PresentFlag || ( curSubLayersMaxMinus1 != subLayersMaxMinus1 ); 1416 1419 } 1420 #else 1421 subLayersMaxMinus1PresentFlag = subLayersMaxMinus1PresentFlag || ( curSubLayersMaxMinus1 != vps.getMaxSubLayersMinus1() ); 1422 #endif 1417 1423 } 1418 1424 … … 1423 1429 Bool maxTidRefPresentFlag = false; 1424 1430 for ( Int refLayerIdInVps = 0; refLayerIdInVps < m_numberOfLayers; refLayerIdInVps++) 1425 1431 { 1426 1432 for ( Int curLayerIdInVps = 1; curLayerIdInVps < m_numberOfLayers; curLayerIdInVps++) 1427 1433 { 1428 1434 Int maxTid = -1; 1435 #if H_MV_FIX_LOOP_GOPSIZE 1436 for( Int i = 0; i < ( getGOPSize() + 1); i++ ) 1437 { 1438 GOPEntry geCur = m_GOPListMvc[curLayerIdInVps][( i < getGOPSize() ? i : MAX_GOP )]; 1439 GOPEntry geRef = m_GOPListMvc[refLayerIdInVps][( i < getGOPSize() ? i : MAX_GOP )]; 1440 #else 1429 1441 for( Int i = 0; i < getGOPSize(); i++ ) 1430 1442 { 1431 1443 GOPEntry geCur = m_GOPListMvc[curLayerIdInVps][i]; 1432 GOPEntry geRef = m_GOPListMvc[refLayerIdInVps][i]; 1433 1444 GOPEntry geRef = m_GOPListMvc[refLayerIdInVps][i]; 1445 #endif 1434 1446 for (Int j = 0; j < geCur.m_numActiveRefLayerPics; j++) 1435 1447 { 1436 1448 if ( m_directRefLayers[ curLayerIdInVps ][ geCur.m_interLayerPredLayerIdc[ j ]] == refLayerIdInVps ) 1437 1449 { 1450 #if H_MV_FIX_LOOP_GOPSIZE 1451 Bool refAlwaysIntra = ( i == getGOPSize() ) && ( m_iIntraPeriod[ curLayerIdInVps ] % m_iIntraPeriod[ refLayerIdInVps ] == 0 ); 1452 Bool refLayerZero = ( i == getGOPSize() ) && ( refLayerIdInVps == 0 ); 1453 maxTid = std::max( maxTid, ( refAlwaysIntra || refLayerZero ) ? 0 : geRef.m_temporalId ); 1454 #else 1438 1455 maxTid = std::max( maxTid, geRef.m_temporalId ); 1456 #endif 1439 1457 } 1440 1458 } … … 1609 1627 assert( ptl != NULL ); 1610 1628 1611 1612 1629 ptl->setProfileIdc( profile ); 1613 1630 ptl->setTierFlag ( tier ); 1614 1631 ptl->setLevelIdc ( level ); 1615 1632 ptl->setProfileCompatibilityFlag( profile, true ); 1633 #if H_MV_HLS10_PTL_INBL_FIX 1634 ptl->setInbldFlag( inbldFlag ); 1635 #endif 1616 1636 1617 1637 switch ( profile ) -
branches/HTM-12.0-dev1/source/Lib/TLibCommon/TComDataCU.cpp
r1048 r1064 6164 6164 TComMv cMv; 6165 6165 #if MTK_I0093 6166 Int iDisp = getSlice()->getDepthToDisparityB( 0 )[ 1 << ( getSlice()->getSPS()->getBitDepthY() - 1 ) ]; 6166 #if H_3D_FIX_64BIT_SHIFT 6167 Int iDisp = getSlice()->getDepthToDisparityB( 0 )[ (Int64) (1 << ( getSlice()->getSPS()->getBitDepthY() - 1 )) ]; 6168 #else 6169 Int iDisp = getSlice()->getDepthToDisparityB( 0 )[ 1 << ( getSlice()->getSPS()->getBitDepthY() - 1 ) ]; 6170 #endif 6167 6171 #else 6168 6172 Int iDisp = getSlice()->getDepthToDisparityB( 0 )[ 128 ]; -
branches/HTM-12.0-dev1/source/Lib/TLibCommon/TComSlice.cpp
r1063 r1064 2309 2309 for ( i = 0; i < iNumViews ; i++ ) 2310 2310 { 2311 #if H_3D_FIX_UNINIT 2312 m_bCamParPresent[i] = false; 2313 #endif 2311 2314 m_bCamParInSliceHeader[i] = false; 2312 2315 m_aaaiCodedScale[i] = new Int*[ 2 ]; -
branches/HTM-12.0-dev1/source/Lib/TLibCommon/TypeDef.h
r1062 r1064 55 55 56 56 #ifndef HEVC_EXT 57 #define HEVC_EXT 157 #define HEVC_EXT 2 58 58 #endif 59 59 … … 228 228 #endif 229 229 230 #define H_3D_FIX_UNINIT 1 // Fix uninitialized flag 230 231 #define H_3D_INTER_SDC 1 // INTER SDC, Inter simplified depth coding 231 232 // LGE_INTER_SDC_E0156 Enable inter SDC for depth coding … … 281 282 #define SEC_HLS_CLEANUP_I0100 1 282 283 284 #define H_3D_FIX_64BIT_SHIFT 1 283 285 #endif // H_3D 284 286 … … 405 407 #define H_MV_HLS10_AUX 1 // Auxiliary pictures 406 408 #define H_MV_HLS10_GEN_FIX 1 409 #define H_MV_FIX_LOOP_GOPSIZE 1 410 #define H_MV_FIX_SUB_LAYERS_MAX_MINUS1 1 407 411 408 412 #define H_MV_HLS10_GEN_VSP_CONF_WIN 1 // VPS conformance window … … 415 419 #define H_MV_HLS10_PTL 1 // profile tier level 416 420 #define H_MV_HLS10_PTL_FIX 1 // profile tier level fix 421 #define H_MV_HLS10_PTL_INBL_FIX 1 // profile tier level fix 417 422 #define H_MV_HLS10_PTL_INFER_FIX 1 // fix inference ptl 418 423 #define H_MV_HLS10_MULTILAYERSPS 1 // multilayer SPS extension … … 1013 1018 #if H_MV_HLS10_PTL 1014 1019 MULTIVIEWMAIN = 6, 1015 MAIN3D = 5,1016 1020 #if H_3D 1017 1021 MAIN3D = 8,
Note: See TracChangeset for help on using the changeset viewer.