Changeset 773 in 3DVCSoftware for trunk/source/App/TAppEncoder/TAppEncCfg.cpp
- Timestamp:
- 16 Jan 2014, 09:56:13 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/App/TAppEncoder/TAppEncCfg.cpp
r738 r773 378 378 #if H_3D_DIM 379 379 ("DMM", m_useDMM, true, "Depth intra model modes") 380 #if !SEC_DMM3_RBC_F0147381 ("RBC", m_useRBC, true, "Region boundary chain mode")382 #endif383 380 ("SDC", m_useSDC, true, "Simplified depth coding") 384 381 ("DLT", m_useDLT, true, "Depth lookup table") … … 391 388 ("VpsNumLayerSets", m_vpsNumLayerSets , 1 , "Number of layer sets") 392 389 ("LayerIdsInSet_%d", m_layerIdsInSets , std::vector<Int>(1,0), MAX_VPS_OP_SETS_PLUS1 ,"LayerIds of Layer set") 393 #if H_MV_6_PS_0109_25394 390 ("DefaultOneTargetOutputLayerFlag" , m_defaultOneTargetOutputLayerIdc , 0, "Output highest layer of layer sets by default") 395 #else396 ("DefaultOneTargetOutputLayerFlag", m_defaultOneTargetOutputLayerFlag, false , "Output highest layer of layer sets by default")397 #endif398 391 ("OutputLayerSetIdx", m_outputLayerSetIdx , std::vector<Int>(0,0), "Indices of layer sets used as additional output layer sets") 399 392 ("LayerIdsInAddOutputLayerSet_%d", m_layerIdsInAddOutputLayerSet , std::vector<Int>(1,0), MAX_VPS_ADD_OUTPUT_LAYER_SETS, "LayerIds of additional output layers") … … 451 444 ("QuadtreeTUMaxDepthIntra", m_uiQuadtreeTUMaxDepthIntra, 1u, "Depth of TU tree for intra CUs") 452 445 ("QuadtreeTUMaxDepthInter", m_uiQuadtreeTUMaxDepthInter, 2u, "Depth of TU tree for inter CUs") 453 454 446 // Coding structure parameters 455 #if H_MV _LAYER_WISE_STARTUP447 #if H_MV 456 448 ("IntraPeriod,-ip", m_iIntraPeriod,std::vector<Int>(1,-1), "Intra period in frames, (-1: only first frame), per layer") 457 449 #else 458 450 ("IntraPeriod,-ip", m_iIntraPeriod, -1, "Intra period in frames, (-1: only first frame)") 459 451 #endif 460 452 ("DecodingRefreshType,-dr", m_iDecodingRefreshType, 0, "Intra refresh type (0:none 1:CRA 2:IDR)") … … 518 510 ("AdvMultiviewResPred", m_uiUseAdvResPred, (UInt)1, "Usage of Advanced Residual Prediction" ) 519 511 #endif 520 #if MTK_SPIVMP_F0110512 #if H_3D_SPIVMP 521 513 ("SubPULog2Size", m_iSubPULog2Size, (Int)3, "Sub-PU size index: 2^n") 522 514 #endif 523 515 524 516 #if H_3D_IC 525 #if SEC_ONLY_TEXTURE_IC_F0151526 517 ("IlluCompEnable", m_abUseIC, true, "Enable illumination compensation") 527 #else528 ("IlluCompEnable", m_abUseIC, std::vector<Bool>(2, true), "Enable illumination compensation")529 #endif530 518 #endif 531 519 #if H_3D_INTER_SDC 532 520 ("InterSDC", m_bDepthInterSDCFlag, true, "Enable depth inter SDC") 533 521 #endif 534 #if SEC_MPI_ENABLING_MERGE_F0150522 #if H_3D_IV_MERGE 535 523 ("MPI", m_bMPIFlag, true, "Enable MPI") 536 524 #endif … … 633 621 #if H_MV 634 622 635 #if H_MV_6_HRD_O0217_13636 623 // DBP Size 637 624 ("SubLayerFlagInfoPresentFlag", m_subLayerFlagInfoPresentFlag , false , "SubLayerFlagInfoPresentFlag") 638 #endif639 625 // VPS VUI 640 626 ("VpsVuiPresentFlag" , m_vpsVuiPresentFlag , false , "VpsVuiPresentFlag ") 641 #if H_MV_6_PS_O0223_29642 627 ("CrossLayerPicTypeAlignedFlag", m_crossLayerPicTypeAlignedFlag, false , "CrossLayerPicTypeAlignedFlag") // Could actually be derived by the encoder 643 628 ("CrossLayerIrapAlignedFlag" , m_crossLayerIrapAlignedFlag , false , "CrossLayerIrapAlignedFlag ") // Could actually be derived by the encoder 644 #endif645 629 ("BitRatePresentVpsFlag" , m_bitRatePresentVpsFlag , false , "BitRatePresentVpsFlag ") 646 630 ("PicRatePresentVpsFlag" , m_picRatePresentVpsFlag , false , "PicRatePresentVpsFlag ") … … 651 635 ("ConstantPicRateIdc" , m_constantPicRateIdc , std::vector< Int >(1,0) ,MAX_VPS_OP_SETS_PLUS1, "ConstantPicRateIdc per sub layer for the N-th layer set") 652 636 ("AvgPicRate" , m_avgPicRate , std::vector< Int >(1,0) ,MAX_VPS_OP_SETS_PLUS1, "AvgPicRate per sub layer for the N-th layer set") 653 #if H_MV_6_O0226_37654 637 ("TilesNotInUseFlag" , m_tilesNotInUseFlag , true , "TilesNotInUseFlag ") 655 638 ("TilesInUseFlag" , m_tilesInUseFlag , std::vector< Bool >(1,false) , "TilesInUseFlag ") … … 657 640 ("WppNotInUseFlag" , m_wppNotInUseFlag , true , "WppNotInUseFlag ") 658 641 ("WppInUseFlag" , m_wppInUseFlag , std::vector< Bool >(1,0) , "WppInUseFlag ") 659 #endif660 642 ("TileBoundariesAlignedFlag" , m_tileBoundariesAlignedFlag , std::vector< Bool >(1,0) ,MAX_NUM_LAYERS , "TileBoundariesAlignedFlag per direct reference for the N-th layer") 661 643 ("IlpRestrictedRefLayersFlag" , m_ilpRestrictedRefLayersFlag , false , "IlpRestrictedRefLayersFlag") … … 787 769 #endif 788 770 #if H_3D_IV_MERGE 789 #if QC_DEPTH_IV_MRG_F0125790 771 ("IvMvPred", m_ivMvPredFlag , std::vector<Bool>(2, true) , "inter view motion prediction " ) 791 #else792 ("IvMvPred", m_ivMvPredFlag, true , "inter view motion prediction " )793 #endif794 772 #endif 795 773 #if H_3D_NBDV_REF … … 1074 1052 xResizeVector( m_bLoopFilterDisable ); 1075 1053 xResizeVector( m_bUseSAO ); 1076 #if H_MV_LAYER_WISE_STARTUP1077 1054 xResizeVector( m_iIntraPeriod ); 1078 #endif1079 #if H_MV_6_O0226_371080 1055 xResizeVector( m_tilesInUseFlag ); 1081 1056 xResizeVector( m_loopFilterNotAcrossTilesFlag ); 1082 1057 xResizeVector( m_wppInUseFlag ); 1083 #endif1084 1058 #else 1085 1059 m_aidQP = new Int[ m_framesToBeEncoded + m_iGOPSize + 1 ]; … … 1426 1400 for ( Int i = 0; i < m_layerIdsInSets[lsIdx].size(); i++ ) 1427 1401 { 1428 #if H_MV_6_LAYER_ID_321429 1402 xConfirmPara( m_layerIdsInSets[lsIdx][i] < 0 || m_layerIdsInSets[lsIdx].size() >= MAX_NUM_LAYER_IDS, "LayerIdsInSet must be greater than and less than MAX_NUM_LAYER_IDS" ); 1430 #else1431 xConfirmPara( m_layerIdsInSets[lsIdx][i] < 0 || m_layerIdsInSets[lsIdx].size() >= MAX_NUM_LAYER_IDS, "LayerIdsInSet must be greater than and less than 64" );1432 #endif1433 1403 } 1434 1404 } … … 1456 1426 } 1457 1427 1458 #if H_MV_6_PS_0109_251459 1428 xConfirmPara( m_defaultOneTargetOutputLayerIdc < 0 || m_defaultOneTargetOutputLayerIdc > 1, "Default one target output layer idc must be equal to 0 or equal to 1" ); 1460 #endif1461 1429 xConfirmPara( m_profileLevelTierIdx.size() < m_vpsNumLayerSets + m_outputLayerSetIdx.size(), "The number of Profile Level Tier indices must be equal to the number of layer set plus the number of output layer set indices" ); 1462 1430 … … 1475 1443 xConfirmPara( m_iGOPSize < 1 , "GOP Size must be greater or equal to 1" ); 1476 1444 xConfirmPara( m_iGOPSize > 1 && m_iGOPSize % 2, "GOP Size must be a multiple of 2, if GOP Size is greater than 1" ); 1477 #if H_MV _LAYER_WISE_STARTUP1445 #if H_MV 1478 1446 for( Int layer = 0; layer < m_numberOfLayers; layer++ ) 1479 1447 { … … 1508 1476 if (m_iDecodingRefreshType == 2) 1509 1477 { 1510 #if H_MV _LAYER_WISE_STARTUP1478 #if H_MV 1511 1479 for (Int i = 0; i < m_numberOfLayers; i++ ) 1512 1480 { … … 1544 1512 xConfirmPara( ( 0 != m_uiUseAdvResPred ) && ( 1 != m_uiUseAdvResPred ), "UseAdvResPred must be 0 or 1." ); 1545 1513 #endif 1546 #if MTK_SPIVMP_F01101514 #if H_3D_SPIVMP 1547 1515 xConfirmPara( m_iSubPULog2Size < 2, "SubPULog2Size must be 2 or greater."); 1548 1516 xConfirmPara( m_iSubPULog2Size > 6, "SubPULog2Size must be 6 or smaller."); … … 1774 1742 /* if this is an intra-only sequence, ie IntraPeriod=1, don't verify the GOP structure 1775 1743 * This permits the ability to omit a GOP structure specification */ 1776 #if H_MV _LAYER_WISE_STARTUP1744 #if H_MV 1777 1745 if (m_iIntraPeriod[layer] == 1 && m_GOPList[0].m_POC == -1) { 1778 1746 #else … … 1803 1771 } 1804 1772 Int numOK=0; 1805 #if H_MV _LAYER_WISE_STARTUP1773 #if H_MV 1806 1774 xConfirmPara( m_iIntraPeriod[layer] >=0&&(m_iIntraPeriod[layer]%m_iGOPSize!=0), "Intra period must be a multiple of GOPSize, or -1" ); 1807 1775 #else 1808 1776 xConfirmPara( m_iIntraPeriod >=0&&(m_iIntraPeriod%m_iGOPSize!=0), "Intra period must be a multiple of GOPSize, or -1" ); 1809 1777 #endif 1810 1778 … … 1818 1786 1819 1787 #if H_MV 1820 #if H_MV_LAYER_WISE_STARTUP1821 1788 if ( (m_iIntraPeriod[layer] != 1) && !m_loopFilterOffsetInPPS && m_DeblockingFilterControlPresent && (!m_bLoopFilterDisable[layer]) ) 1822 #else1823 if ( (m_iIntraPeriod != 1) && !m_loopFilterOffsetInPPS && m_DeblockingFilterControlPresent && (!m_bLoopFilterDisable[layer]) )1824 #endif1825 1789 #else 1826 1790 if ( (m_iIntraPeriod != 1) && !m_loopFilterOffsetInPPS && m_DeblockingFilterControlPresent && (!m_bLoopFilterDisable) ) … … 2347 2311 printf("Min PCM size : %d\n", 1 << m_uiPCMLog2MinSize); 2348 2312 printf("Motion search range : %d\n", m_iSearchRange ); 2349 #if H_MV _LAYER_WISE_STARTUP2313 #if H_MV 2350 2314 xPrintParaVector( "Intra period", m_iIntraPeriod ); 2351 2315 #else … … 2505 2469 #endif 2506 2470 #if H_3D_IV_MERGE 2507 #if QC_DEPTH_IV_MRG_F01252508 2471 printf("IvMvPred:%d %d", m_ivMvPredFlag[0] ? 1 : 0, m_ivMvPredFlag[1] ? 1 : 0); 2509 #else 2510 printf("IvMvPred:%d ", m_ivMvPredFlag ); 2511 #endif 2512 #if MTK_SPIVMP_F0110 2472 #if H_3D_SPIVMP 2513 2473 printf(" SubPULog2Size:%d " , m_iSubPULog2Size ); 2514 2474 #endif … … 2518 2478 #endif 2519 2479 #if H_3D_IC 2520 #if SEC_ONLY_TEXTURE_IC_F01512521 2480 printf( "IlluCompEnable: %d ", m_abUseIC); 2522 #else2523 printf( "IlluCompEnable: %d %d ", m_abUseIC[0] ? 1 : 0, m_abUseIC[1] ? 1 : 0 );2524 #endif2525 2481 #endif 2526 2482 #if H_3D_NBDV_REF … … 2535 2491 #if H_3D_DIM 2536 2492 printf("DMM:%d ", m_useDMM ); 2537 #if !SEC_DMM3_RBC_F01472538 printf("RBC:%d ", m_useRBC );2539 #endif2540 2493 printf("SDC:%d ", m_useSDC ); 2541 2494 printf("DLT:%d ", m_useDLT ); … … 2544 2497 printf( "interSDC: %d ", m_bDepthInterSDCFlag ? 1 : 0 ); 2545 2498 #endif 2546 #if SEC_MPI_ENABLING_MERGE_F01502499 #if H_3D_IV_MERGE 2547 2500 printf( "MPI: %d ", m_bMPIFlag ? 1 : 0 ); 2548 2501 #endif
Note: See TracChangeset for help on using the changeset viewer.