Changeset 786 in 3DVCSoftware for branches/HTM-9.3-dev1-Samsung/source
- Timestamp:
- 21 Jan 2014, 05:04:54 (11 years ago)
- Location:
- branches/HTM-9.3-dev1-Samsung/source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-9.3-dev1-Samsung/source/App/TAppEncoder/TAppEncCfg.cpp
r779 r786 1515 1515 #endif 1516 1516 #if H_3D_SPIVMP 1517 #if SEC_SPIVMP_MCP_SIZE_G0077 1518 xConfirmPara( m_iSubPULog2Size < 3, "SubPULog2Size must be 3 or greater."); 1519 #else 1517 1520 xConfirmPara( m_iSubPULog2Size < 2, "SubPULog2Size must be 2 or greater."); 1521 #endif 1518 1522 xConfirmPara( m_iSubPULog2Size > 6, "SubPULog2Size must be 6 or smaller."); 1519 1523 xConfirmPara( (1<<m_iSubPULog2Size) > m_uiMaxCUWidth, "SubPULog2Size must be log2(maxCUSize) or smaller."); -
branches/HTM-9.3-dev1-Samsung/source/Lib/TLibCommon/TComDataCU.cpp
r780 r786 4461 4461 if(!m_pcSlice->getIsDepth()) 4462 4462 #endif 4463 #if SEC_SPIVMP_MCP_SIZE_G0077 4464 if(getPartitionSize(0) == SIZE_2Nx2N) 4465 pbSPIVMPFlag[iCount] = true; 4466 #else 4463 4467 pbSPIVMPFlag[iCount] = true; 4468 #endif 4464 4469 if( ( ivCandDir[0] & 1 ) == 1 ) 4465 4470 { … … 7177 7182 { 7178 7183 #endif 7184 #if SEC_SPIVMP_MCP_SIZE_G0077 7185 if( getPartitionSize(0) == SIZE_2Nx2N ) 7186 { 7187 #endif 7179 7188 Int iNumSPInOneLine, iNumSP, iSPWidth, iSPHeight; 7180 7189 getSPPara(iWidth, iHeight, iNumSP, iNumSPInOneLine, iSPWidth, iSPHeight); … … 7293 7302 } 7294 7303 } 7304 #if SEC_SPIVMP_MCP_SIZE_G0077 7305 } 7306 #endif 7295 7307 7296 7308 iCurrPosX += ( iWidth >> 1 ); … … 7313 7325 } 7314 7326 #if QC_DEPTH_MERGE_SIMP_G0127 7327 #if SEC_SPIVMP_MCP_SIZE_G0077 7328 for(Int iLoopCan = ( (m_pcSlice->getIsDepth() || getPartitionSize(uiPartAddr) != SIZE_2Nx2N) ? 0 : 1 ); iLoopCan < ( 2 - m_pcSlice->getIsDepth() ); iLoopCan ++) 7329 #else 7315 7330 for(Int iLoopCan = ( 1 - m_pcSlice->getIsDepth() ); iLoopCan < ( 2 - m_pcSlice->getIsDepth() ); iLoopCan ++) 7331 #endif 7332 #else 7333 #if SEC_SPIVMP_MCP_SIZE_G0077 7334 for(Int iLoopCan = ( (m_pcSlice->getIsDepth() || getPartitionSize(uiPartAddr) != SIZE_2Nx2N) ? 0 : 1 ); iLoopCan < 2; iLoopCan ++) 7316 7335 #else 7317 7336 for(Int iLoopCan = ( 1 - m_pcSlice->getIsDepth() ); iLoopCan < 2; iLoopCan ++) 7318 7337 #endif 7338 #endif 7339 #else 7340 #if SEC_SPIVMP_MCP_SIZE_G0077 7341 for(Int iLoopCan = (getPartitionSize(uiPartAddr) == SIZE_2Nx2N ? 1 : 0); iLoopCan < 2; iLoopCan ++) 7319 7342 #else 7320 7343 for(Int iLoopCan = 1; iLoopCan < 2; iLoopCan ++) 7344 #endif 7321 7345 #endif 7322 7346 #else -
branches/HTM-9.3-dev1-Samsung/source/Lib/TLibCommon/TypeDef.h
r780 r786 203 203 /////////////////////////////////// DERIVED DEFINES /////////////////////////////////// 204 204 ///////////////////////////////////////////////////////////////////////////////////////// 205 206 #define SEC_SPIVMP_MCP_SIZE_G0077 1 // Apply SPIVMP only to 2Nx2N partition, JCT3V-G0077 205 207 206 208 ///// ***** VIEW SYNTHESIS OPTIMIZAION ********* -
branches/HTM-9.3-dev1-Samsung/source/Lib/TLibDecoder/TDecCAVLC.cpp
r779 r786 1697 1697 READ_FLAG( uiCode, "iv_mv_pred_flag[i]"); pcVPS->setIvMvPredFlag ( i, uiCode == 1 ? true : false ); 1698 1698 #if H_3D_SPIVMP 1699 #if SEC_SPIVMP_MCP_SIZE_G0077 1700 READ_UVLC (uiCode, "log2_sub_PU_size_minus3"); pcVPS->setSubPULog2Size(i, uiCode+3); 1701 #else 1699 1702 READ_UVLC (uiCode, "log2_sub_PU_size_minus2"); pcVPS->setSubPULog2Size(i, uiCode+2); 1703 #endif 1700 1704 #endif 1701 1705 #endif … … 1722 1726 if (i!=1) 1723 1727 { 1728 #if SEC_SPIVMP_MCP_SIZE_G0077 1729 READ_UVLC (uiCode, "log2_sub_PU_size_minus3[i]"); pcVPS->setSubPULog2Size(i, uiCode+3); 1730 #else 1724 1731 READ_UVLC (uiCode, "log2_sub_PU_size_minus2[i]"); pcVPS->setSubPULog2Size(i, uiCode+2); 1732 #endif 1725 1733 } 1726 1734 #endif -
branches/HTM-9.3-dev1-Samsung/source/Lib/TLibEncoder/TEncCavlc.cpp
r779 r786 1500 1500 WRITE_FLAG( pcVPS->getIvMvPredFlag ( i ) ? 1 : 0 , "iv_mv_pred_flag[i]"); 1501 1501 #if H_3D_SPIVMP 1502 #if SEC_SPIVMP_MCP_SIZE_G0077 1503 WRITE_UVLC( pcVPS->getSubPULog2Size(i)-3, "log2_sub_PU_size_minus3[i]"); 1504 #else 1502 1505 WRITE_UVLC( pcVPS->getSubPULog2Size(i)-2, "log2_sub_PU_size_minus2[i]"); 1506 #endif 1503 1507 #endif 1504 1508 #endif … … 1522 1526 if (i!=1) 1523 1527 { 1528 #if SEC_SPIVMP_MCP_SIZE_G0077 1529 WRITE_UVLC( pcVPS->getSubPULog2Size(i)-3, "log2_sub_PU_size_minus3[i]"); 1530 #else 1524 1531 WRITE_UVLC( pcVPS->getSubPULog2Size(i)-2, "log2_sub_PU_size_minus2[i]"); 1532 #endif 1525 1533 } 1526 1534 #endif
Note: See TracChangeset for help on using the changeset viewer.