Changeset 1402 in 3DVCSoftware for branches/HTM-16.1-dev/source/App/TAppEncoder/TAppEncTop.cpp
- Timestamp:
- 26 May 2016, 15:03:18 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-16.1-dev/source/App/TAppEncoder/TAppEncTop.cpp
r1401 r1402 354 354 m_cTEncTop.setFrameRate ( m_iFrameRate ); 355 355 m_cTEncTop.setFrameSkip ( m_FrameSkip ); 356 m_cTEncTop.setTemporalSubsampleRatio ( m_temporalSubsampleRatio ); 356 357 m_cTEncTop.setSourceWidth ( m_iSourceWidth ); 357 358 m_cTEncTop.setSourceHeight ( m_iSourceHeight ); … … 417 418 m_cTEncTop.setLoopFilterBetaOffset ( m_loopFilterBetaOffsetDiv2 ); 418 419 m_cTEncTop.setLoopFilterTcOffset ( m_loopFilterTcOffsetDiv2 ); 420 #if W0038_DB_OPT 421 m_cTEncTop.setDeblockingFilterMetric ( m_deblockingFilterMetric ); 422 #else 419 423 m_cTEncTop.setDeblockingFilterMetric ( m_DeblockingFilterMetric ); 424 #endif 420 425 421 426 //====== Motion search ======== … … 439 444 m_cTEncTop.setChromaCbQpOffset ( m_cbQpOffset ); 440 445 m_cTEncTop.setChromaCrQpOffset ( m_crQpOffset ); 446 #if W0038_CQP_ADJ 447 m_cTEncTop.setSliceChromaOffsetQpIntraOrPeriodic ( m_sliceChromaQpOffsetPeriodicity, m_sliceChromaQpOffsetIntraOrPeriodic ); 448 #endif 441 449 442 450 #if NH_3D … … 554 562 555 563 m_cTEncTop.setSaoCtuBoundary ( m_saoCtuBoundary); 564 #if OPTIONAL_RESET_SAO_ENCODING_AFTER_IRAP 565 m_cTEncTop.setSaoResetEncoderStateAfterIRAP ( m_saoResetEncoderStateAfterIRAP); 566 #endif 556 567 m_cTEncTop.setPCMInputBitDepthFlag ( m_bPCMInputBitDepthFlag); 557 568 m_cTEncTop.setPCMFilterDisableFlag ( m_bPCMFilterDisableFlag); … … 628 639 m_cTEncTop.setColourRemapInfoSEIFileRoot ( m_colourRemapSEIFileRoot ); 629 640 m_cTEncTop.setMasteringDisplaySEI ( m_masteringDisplay ); 641 #if U0033_ALTERNATIVE_TRANSFER_CHARACTERISTICS_SEI 642 m_cTEncTop.setSEIAlternativeTransferCharacteristicsSEIEnable ( m_preferredTransferCharacteristics>=0 ); 643 m_cTEncTop.setSEIPreferredTransferCharacteristics ( UChar(m_preferredTransferCharacteristics) ); 644 #endif 630 645 631 646 #if NH_MV … … 1124 1139 outputAccessUnits.clear(); 1125 1140 } 1141 // temporally skip frames 1142 if( m_temporalSubsampleRatio > 1 ) 1143 { 1144 m_cTVideoIOYuvInputFile.skipFrames(m_temporalSubsampleRatio-1, m_iSourceWidth - m_aiPad[0], m_iSourceHeight - m_aiPad[1], m_InputChromaFormatIDC); 1145 } 1126 1146 } 1127 1147 … … 1420 1440 { 1421 1441 #if NH_MV 1422 Double time = (Double) m_frameRcvd[0] / m_iFrameRate ;1442 Double time = (Double) m_frameRcvd[0] / m_iFrameRate * m_temporalSubsampleRatio; 1423 1443 printf("\n"); 1424 1444 #else 1425 Double time = (Double) m_iFrameRcvd / m_iFrameRate ;1445 Double time = (Double) m_iFrameRcvd / m_iFrameRate * m_temporalSubsampleRatio; 1426 1446 #endif 1427 1447 printf("Bytes written to file: %u (%.3f kbps)\n", m_totalBytes, 0.008 * m_totalBytes / time);
Note: See TracChangeset for help on using the changeset viewer.