Changeset 833 in 3DVCSoftware for trunk/source/App/TAppEncoder
- Timestamp:
- 7 Feb 2014, 20:31:12 (11 years ago)
- Location:
- trunk/source/App/TAppEncoder
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/App/TAppEncoder/TAppEncCfg.cpp
r773 r833 513 513 ("SubPULog2Size", m_iSubPULog2Size, (Int)3, "Sub-PU size index: 2^n") 514 514 #endif 515 515 #if QC_SPIVMP_MPI_G0119 516 ("SubPUMPILog2Size", m_iSubPUMPILog2Size, (Int)3, "Sub-PU MPI size index: 2^n") 517 #endif 516 518 #if H_3D_IC 517 519 ("IlluCompEnable", m_abUseIC, true, "Enable illumination compensation") … … 519 521 #if H_3D_INTER_SDC 520 522 ("InterSDC", m_bDepthInterSDCFlag, true, "Enable depth inter SDC") 523 #endif 524 #if H_3D_DBBP 525 ("DBBP", m_bUseDBBP, true, "Enable depth-based block partitioning" ) 521 526 #endif 522 527 #if H_3D_IV_MERGE … … 1513 1518 #endif 1514 1519 #if H_3D_SPIVMP 1520 #if SEC_SPIVMP_MCP_SIZE_G0077 1521 xConfirmPara( m_iSubPULog2Size < 3, "SubPULog2Size must be 3 or greater."); 1522 #else 1515 1523 xConfirmPara( m_iSubPULog2Size < 2, "SubPULog2Size must be 2 or greater."); 1524 #endif 1516 1525 xConfirmPara( m_iSubPULog2Size > 6, "SubPULog2Size must be 6 or smaller."); 1517 1526 xConfirmPara( (1<<m_iSubPULog2Size) > m_uiMaxCUWidth, "SubPULog2Size must be log2(maxCUSize) or smaller."); 1527 #endif 1528 #if QC_SPIVMP_MPI_G0119 1529 xConfirmPara( m_iSubPUMPILog2Size < 3, "SubPUMPILog2Size must be 3 or greater."); 1530 xConfirmPara( m_iSubPUMPILog2Size > 6, "SubPUMPILog2Size must be 6 or smaller."); 1531 xConfirmPara( ( 1 << m_iSubPUMPILog2Size ) > m_uiMaxCUWidth, "SubPUMPILog2Size must be log2(maxCUSize) or smaller."); 1518 1532 #endif 1519 1533 #if ADAPTIVE_QP_SELECTION … … 2474 2488 #endif 2475 2489 #endif 2490 #if QC_SPIVMP_MPI_G0119 2491 printf(" SubPUMPILog2Size:%d " , m_iSubPUMPILog2Size ); 2492 #endif 2476 2493 #if H_3D_ARP 2477 2494 printf(" ARP:%d ", m_uiUseAdvResPred ); 2478 2495 #endif 2479 2496 #if H_3D_IC 2480 printf( "IlluCompEnable: 2497 printf( "IlluCompEnable:%d ", m_abUseIC); 2481 2498 #endif 2482 2499 #if H_3D_NBDV_REF … … 2495 2512 #endif 2496 2513 #if H_3D_INTER_SDC 2497 printf( "interSDC: %d ", m_bDepthInterSDCFlag ? 1 : 0 ); 2514 printf( "interSDC:%d ", m_bDepthInterSDCFlag ? 1 : 0 ); 2515 #endif 2516 #if H_3D_DBBP 2517 printf("DBBP:%d ", m_bUseDBBP ? 1 : 0); 2498 2518 #endif 2499 2519 #if H_3D_IV_MERGE 2500 printf( "MPI: 2520 printf( "MPI:%d ", m_bMPIFlag ? 1 : 0 ); 2501 2521 #endif 2502 2522 printf("\n\n"); -
trunk/source/App/TAppEncoder/TAppEncCfg.h
r773 r833 130 130 Int m_iSubPULog2Size; 131 131 #endif 132 #endif 133 #if QC_SPIVMP_MPI_G0119 134 Int m_iSubPUMPILog2Size; 132 135 #endif 133 136 #if H_3D_ARP /// < flag and number of weighting factors in ARP … … 489 492 Bool m_bDepthInterSDCFlag; ///< flag for inter SDC of depth map coding 490 493 #endif 494 #if H_3D_DBBP 495 Bool m_bUseDBBP; ///< flag for depth-based block partitioning 496 #endif 491 497 #if H_3D_IV_MERGE 492 498 Bool m_bMPIFlag; ///< flag for MPI of depth map coding -
trunk/source/App/TAppEncoder/TAppEncTop.cpp
r773 r833 185 185 m_cTEncTop.setSubPULog2Size (( isDepth || 0==layerIdInVps ) ? 0 : m_iSubPULog2Size ); 186 186 #endif 187 #if QC_SPIVMP_MPI_G0119 188 m_cTEncTop.setSubPUMPILog2Size ( !isDepth ? 0 : m_iSubPUMPILog2Size ); 189 #endif 187 190 #if H_3D_IC 188 191 m_cTEncTop.setUseIC ( vps.getViewIndex( layerId ) == 0 || isDepth ? false : m_abUseIC ); … … 201 204 #if H_3D_INTER_SDC 202 205 m_cTEncTop.setInterSDCEnable ( isDepth ? m_bDepthInterSDCFlag : false ); 206 #endif 207 #if H_3D_DBBP 208 m_cTEncTop.setUseDBBP ( vps.getViewIndex( layerId ) == 0 || isDepth ? false : m_bUseDBBP ); 203 209 #endif 204 210 #if H_3D_IV_MERGE … … 911 917 } 912 918 #endif 919 920 #if MTK_DDD_G0063 921 m_acTEncTopList[ layer ]->getSliceEncoder()->setDDDPar( m_cCameraData.getCodedScale()[0][ m_acTEncTopList[layer]->getViewIndex() ], 922 m_cCameraData.getCodedOffset()[0][ m_acTEncTopList[layer]->getViewIndex() ], 923 m_cCameraData.getCamParsCodedPrecision() ); 924 #endif 913 925 Int iNumEncoded = 0; 914 926 … … 1903 1915 #if H_3D_VSP 1904 1916 vps.setViewSynthesisPredFlag( layer, !isLayerZero && !isDepth && m_viewSynthesisPredFlag ); 1905 #endif 1917 #endif 1918 #if H_3D_DBBP 1919 vps.setUseDBBP ( layer, !isLayerZero && !isDepth && m_bUseDBBP ); 1920 #endif 1906 1921 #if H_3D_INTER_SDC 1907 1922 vps.setInterSDCFlag( layer, !isLayerZero && isDepth && m_bDepthInterSDCFlag ); … … 1911 1926 #endif 1912 1927 } 1928 #if QC_SPIVMP_MPI_G0119 1929 vps.setSubPUMPILog2Size( m_iSubPUMPILog2Size ); 1930 #endif 1913 1931 #if H_3D 1914 1932 vps.setIvMvScalingFlag( m_ivMvScalingFlag );
Note: See TracChangeset for help on using the changeset viewer.