Changeset 917 in SHVCSoftware for branches/SHM-upgrade/source/App
- Timestamp:
- 12 Nov 2014, 19:17:13 (10 years ago)
- Location:
- branches/SHM-upgrade/source/App/TAppEncoder
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-upgrade/source/App/TAppEncoder/TAppEncCfg.cpp
r916 r917 4540 4540 printf("\n"); 4541 4541 #if SVC_EXTENSION 4542 printf("Total number of layers : %d\n", m_numLayers );4543 printf("Multiview : %d\n", m_scalabilityMask[VIEW_ORDER_INDEX] );4544 printf("Scalable : %d\n", m_scalabilityMask[SCALABILITY_ID] );4542 printf("Total number of layers : %d\n", m_numLayers ); 4543 printf("Multiview : %d\n", m_scalabilityMask[VIEW_ORDER_INDEX] ); 4544 printf("Scalable : %d\n", m_scalabilityMask[SCALABILITY_ID] ); 4545 4545 #if AVC_BASE 4546 4546 #if VPS_AVC_BL_FLAG_REMOVAL 4547 printf("Base layer : %s\n", m_nonHEVCBaseLayerFlag ? "Non-HEVC" : "HEVC");4548 #else 4549 printf("Base layer : %s\n", m_avcBaseLayerFlag ? "AVC" : "HEVC");4547 printf("Base layer : %s\n", m_nonHEVCBaseLayerFlag ? "Non-HEVC" : "HEVC"); 4548 #else 4549 printf("Base layer : %s\n", m_avcBaseLayerFlag ? "AVC" : "HEVC"); 4550 4550 #endif 4551 4551 #endif 4552 4552 #if AUXILIARY_PICTURES 4553 printf("Auxiliary pictures : %d\n", m_scalabilityMask[AUX_ID] );4553 printf("Auxiliary pictures : %d\n", m_scalabilityMask[AUX_ID] ); 4554 4554 #endif 4555 4555 #if M0040_ADAPTIVE_RESOLUTION_CHANGE 4556 printf("Adaptive Resolution Change : %d\n", m_adaptiveResolutionChange );4556 printf("Adaptive Resolution Change : %d\n", m_adaptiveResolutionChange ); 4557 4557 #endif 4558 4558 #if HIGHER_LAYER_IRAP_SKIP_FLAG 4559 printf("Skip picture at ARC switch : %d\n", m_skipPictureAtArcSwitch );4559 printf("Skip picture at ARC switch : %d\n", m_skipPictureAtArcSwitch ); 4560 4560 #endif 4561 4561 #if O0223_PICTURE_TYPES_ALIGN_FLAG 4562 printf("Align picture type : %d\n", m_crossLayerPictureTypeAlignFlag );4563 #endif 4564 printf("Cross layer IRAP alignment : %d\n", m_crossLayerIrapAlignFlag );4562 printf("Align picture type : %d\n", m_crossLayerPictureTypeAlignFlag ); 4563 #endif 4564 printf("Cross layer IRAP alignment : %d\n", m_crossLayerIrapAlignFlag ); 4565 4565 #if P0068_CROSS_LAYER_ALIGNED_IDR_ONLY_FOR_IRAP_FLAG 4566 printf("IDR only for IRAP : %d\n", m_crossLayerAlignedIdrOnlyFlag );4566 printf("IDR only for IRAP : %d\n", m_crossLayerAlignedIdrOnlyFlag ); 4567 4567 #endif 4568 4568 #if O0194_WEIGHTED_PREDICTION_CGS 4569 printf("InterLayerWeightedPred : %d\n", m_useInterLayerWeightedPred ); 4570 #endif 4571 #if O0215_PHASE_ALIGNMENT 4572 printf("Cross-layer sample alignment : %d\n", m_phaseAlignFlag); 4573 #endif 4569 printf("InterLayerWeightedPred : %d\n", m_useInterLayerWeightedPred ); 4570 #endif 4571 #if O0215_PHASE_ALIGNMENT 4572 printf("Cross-layer sample alignment : %d\n", m_phaseAlignFlag); 4573 #endif 4574 printf("\n"); 4574 4575 for(UInt layer=0; layer<m_numLayers; layer++) 4575 4576 { … … 4579 4580 } 4580 4581 printf("=== Common configuration settings === \n"); 4581 printf("Bitstream File : %s\n", m_pBitstreamFile );4582 printf("Bitstream File : %s\n", m_pBitstreamFile ); 4582 4583 #else //SVC_EXTENSION 4583 4584 printf("Input File : %s\n", m_pchInputFile ); -
branches/SHM-upgrade/source/App/TAppEncoder/TAppEncLayerCfg.cpp
r916 r917 300 300 Void TAppEncLayerCfg::xPrintParameter() 301 301 { 302 printf("Input File : %s\n", m_cInputFile.c_str() );303 printf("Reconstruction File : %s\n", m_cReconFile.c_str() );302 printf("Input File : %s\n", m_cInputFile.c_str() ); 303 printf("Reconstruction File : %s\n", m_cReconFile.c_str() ); 304 304 #if REPN_FORMAT_IN_VPS 305 printf("Real Format : %dx%d %dHz\n", m_iSourceWidth - ( m_confWinLeft + m_confWinRight ) * TComSPS::getWinUnitX( m_chromaFormatIDC ), m_iSourceHeight - ( m_confWinTop + m_confWinBottom ) * TComSPS::getWinUnitY( m_chromaFormatIDC ), m_iFrameRate );306 #else 307 printf("Real Format : %dx%d %dHz\n", m_iSourceWidth - m_confWinLeft - m_confWinRight, m_iSourceHeight - m_confWinTop - m_confWinBottom, m_iFrameRate );308 #endif 309 printf("Internal Format : %dx%d %dHz\n", m_iSourceWidth, m_iSourceHeight, m_iFrameRate );305 printf("Real Format : %dx%d %dHz\n", m_iSourceWidth - ( m_confWinLeft + m_confWinRight ) * TComSPS::getWinUnitX( m_chromaFormatIDC ), m_iSourceHeight - ( m_confWinTop + m_confWinBottom ) * TComSPS::getWinUnitY( m_chromaFormatIDC ), m_iFrameRate ); 306 #else 307 printf("Real Format : %dx%d %dHz\n", m_iSourceWidth - m_confWinLeft - m_confWinRight, m_iSourceHeight - m_confWinTop - m_confWinBottom, m_iFrameRate ); 308 #endif 309 printf("Internal Format : %dx%d %dHz\n", m_iSourceWidth, m_iSourceHeight, m_iFrameRate ); 310 310 #if O0194_DIFFERENT_BITDEPTH_EL_BL 311 printf("Input bit depth : (Y:%d, C:%d)\n", m_inputBitDepth[CHANNEL_TYPE_LUMA], m_inputBitDepth[CHANNEL_TYPE_CHROMA] ); 312 printf("Internal bit depth : (Y:%d, C:%d)\n", m_internalBitDepth[CHANNEL_TYPE_LUMA], m_internalBitDepth[CHANNEL_TYPE_CHROMA] ); 313 printf("PCM sample bit depth : (Y:%d, C:%d)\n", m_cAppEncCfg->getPCMInputBitDepthFlag() ? m_inputBitDepth[CHANNEL_TYPE_LUMA] : m_internalBitDepth[CHANNEL_TYPE_LUMA], m_cAppEncCfg->getPCMInputBitDepthFlag() ? m_inputBitDepth[CHANNEL_TYPE_CHROMA] : m_internalBitDepth[CHANNEL_TYPE_CHROMA] ); 314 #endif 311 printf("Input bit depth : (Y:%d, C:%d)\n", m_inputBitDepth[CHANNEL_TYPE_LUMA], m_inputBitDepth[CHANNEL_TYPE_CHROMA] ); 312 printf("Internal bit depth : (Y:%d, C:%d)\n", m_internalBitDepth[CHANNEL_TYPE_LUMA], m_internalBitDepth[CHANNEL_TYPE_CHROMA] ); 313 printf("PCM sample bit depth : (Y:%d, C:%d)\n", m_cAppEncCfg->getPCMInputBitDepthFlag() ? m_inputBitDepth[CHANNEL_TYPE_LUMA] : m_internalBitDepth[CHANNEL_TYPE_LUMA], m_cAppEncCfg->getPCMInputBitDepthFlag() ? m_inputBitDepth[CHANNEL_TYPE_CHROMA] : m_internalBitDepth[CHANNEL_TYPE_CHROMA] ); 314 #endif 315 #if SVC_EXTENSION 316 std::cout << "Input ChromaFormatIDC :"; 317 #else 315 318 std::cout << std::setw(43) << "Input ChromaFormatIDC = "; 319 #endif 316 320 switch (m_InputChromaFormatIDC) 317 321 { … … 326 330 std::cout << std::endl; 327 331 332 #if SVC_EXTENSION 333 std::cout << "Output (internal) ChromaFormatIDC :"; 334 #else 328 335 std::cout << std::setw(43) << "Output (internal) ChromaFormatIDC = "; 336 #endif 329 337 switch (m_chromaFormatIDC) 330 338 { … … 339 347 std::cout << "\n" << std::endl; 340 348 #if LAYER_CTB 341 printf("CU size / depth : %d / %d\n", m_uiMaxCUWidth, m_uiMaxCUDepth );342 printf("RQT trans. size (min / max) : %d / %d\n", 1 << m_uiQuadtreeTULog2MinSize, 1 << m_uiQuadtreeTULog2MaxSize );343 printf("Max RQT depth inter : %d\n", m_uiQuadtreeTUMaxDepthInter);344 printf("Max RQT depth intra : %d\n", m_uiQuadtreeTUMaxDepthIntra);345 #endif 346 printf("QP : %5.2f\n", m_fQP );347 printf("Intra period : %d\n", m_iIntraPeriod );348 #if RC_SHVC_HARMONIZATION 349 printf("RateControl : %d\n", m_RCEnableRateControl );349 printf("CU size / depth : %d / %d\n", m_uiMaxCUWidth, m_uiMaxCUDepth ); 350 printf("RQT trans. size (min / max) : %d / %d\n", 1 << m_uiQuadtreeTULog2MinSize, 1 << m_uiQuadtreeTULog2MaxSize ); 351 printf("Max RQT depth inter : %d\n", m_uiQuadtreeTUMaxDepthInter); 352 printf("Max RQT depth intra : %d\n", m_uiQuadtreeTUMaxDepthIntra); 353 #endif 354 printf("QP : %5.2f\n", m_fQP ); 355 printf("Intra period : %d\n", m_iIntraPeriod ); 356 #if RC_SHVC_HARMONIZATION 357 printf("RateControl : %d\n", m_RCEnableRateControl ); 350 358 if(m_RCEnableRateControl) 351 359 { 352 printf("TargetBitrate : %d\n", m_RCTargetBitrate ); 353 printf("KeepHierarchicalBit : %d\n", m_RCKeepHierarchicalBit ); 354 printf("LCULevelRC : %d\n", m_RCLCULevelRC ); 355 printf("UseLCUSeparateModel : %d\n", m_RCUseLCUSeparateModel ); 356 printf("InitialQP : %d\n", m_RCInitialQP ); 357 printf("ForceIntraQP : %d\n", m_RCForceIntraQP ); 358 } 359 #endif 360 printf("WaveFrontSynchro:%d WaveFrontSubstreams:%d", m_waveFrontSynchro, m_iWaveFrontSubstreams); 360 printf("TargetBitrate : %d\n", m_RCTargetBitrate ); 361 printf("KeepHierarchicalBit : %d\n", m_RCKeepHierarchicalBit ); 362 printf("LCULevelRC : %d\n", m_RCLCULevelRC ); 363 printf("UseLCUSeparateModel : %d\n", m_RCUseLCUSeparateModel ); 364 printf("InitialQP : %d\n", m_RCInitialQP ); 365 printf("ForceIntraQP : %d\n", m_RCForceIntraQP ); 366 } 367 #endif 368 printf("WaveFrontSynchro : %d\n", m_waveFrontSynchro); 369 printf("WaveFrontSubstreams : %d\n", m_iWaveFrontSubstreams); 361 370 #if LAYER_CTB 362 printf("PCM :%d ", (m_cAppEncCfg->getUsePCM() && (1<<m_cAppEncCfg->getPCMLog2MinSize()) <= m_uiMaxCUWidth)? 1 : 0);371 printf("PCM : %d ", (m_cAppEncCfg->getUsePCM() && (1<<m_cAppEncCfg->getPCMLog2MinSize()) <= m_uiMaxCUWidth)? 1 : 0); 363 372 #endif 364 373 } -
branches/SHM-upgrade/source/App/TAppEncoder/TAppEncTop.cpp
r916 r917 2321 2321 //-- all 2322 2322 printf( "\n\nSUMMARY --------------------------------------------------------\n" ); 2323 printf( "\tTotal Frames | " "Bitrate " "Y-PSNR " "U-PSNR " "V-PSNR \n" );2324 2323 for(layer = 0; layer < m_numLayers; layer++) 2325 2324 { … … 2328 2327 2329 2328 printf( "\n\nI Slices--------------------------------------------------------\n" ); 2330 printf( "\tTotal Frames | " "Bitrate " "Y-PSNR " "U-PSNR " "V-PSNR \n" );2331 2329 for(layer = 0; layer < m_numLayers; layer++) 2332 2330 { … … 2335 2333 2336 2334 printf( "\n\nP Slices--------------------------------------------------------\n" ); 2337 printf( "\tTotal Frames | " "Bitrate " "Y-PSNR " "U-PSNR " "V-PSNR \n" );2338 2335 for(layer = 0; layer < m_numLayers; layer++) 2339 2336 { … … 2342 2339 2343 2340 printf( "\n\nB Slices--------------------------------------------------------\n" ); 2344 printf( "\tTotal Frames | " "Bitrate " "Y-PSNR " "U-PSNR " "V-PSNR \n" );2345 2341 for(layer = 0; layer < m_numLayers; layer++) 2346 2342 { … … 2365 2361 } 2366 2362 } 2363 2364 printf("\n"); 2365 //printf("\nRVM: %.3lf\n" , xCalculateRVM()); 2367 2366 } 2368 2367
Note: See TracChangeset for help on using the changeset viewer.