Ignore:
Timestamp:
26 May 2016, 15:03:18 (9 years ago)
Author:
tech
Message:

Initial merge of HM-16.9.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-16.1-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r1401 r1402  
    354354  m_cTEncTop.setFrameRate                                         ( m_iFrameRate );
    355355  m_cTEncTop.setFrameSkip                                         ( m_FrameSkip );
     356  m_cTEncTop.setTemporalSubsampleRatio                            ( m_temporalSubsampleRatio );
    356357  m_cTEncTop.setSourceWidth                                       ( m_iSourceWidth );
    357358  m_cTEncTop.setSourceHeight                                      ( m_iSourceHeight );
     
    417418  m_cTEncTop.setLoopFilterBetaOffset                              ( m_loopFilterBetaOffsetDiv2  );
    418419  m_cTEncTop.setLoopFilterTcOffset                                ( m_loopFilterTcOffsetDiv2    );
     420#if W0038_DB_OPT
     421  m_cTEncTop.setDeblockingFilterMetric                            ( m_deblockingFilterMetric );
     422#else
    419423  m_cTEncTop.setDeblockingFilterMetric                            ( m_DeblockingFilterMetric );
     424#endif
    420425
    421426  //====== Motion search ========
     
    439444  m_cTEncTop.setChromaCbQpOffset                                  ( m_cbQpOffset     );
    440445  m_cTEncTop.setChromaCrQpOffset                                  ( m_crQpOffset  );
     446#if W0038_CQP_ADJ
     447  m_cTEncTop.setSliceChromaOffsetQpIntraOrPeriodic                ( m_sliceChromaQpOffsetPeriodicity, m_sliceChromaQpOffsetIntraOrPeriodic );
     448#endif
    441449
    442450#if NH_3D
     
    554562
    555563  m_cTEncTop.setSaoCtuBoundary                                    ( m_saoCtuBoundary);
     564#if OPTIONAL_RESET_SAO_ENCODING_AFTER_IRAP
     565  m_cTEncTop.setSaoResetEncoderStateAfterIRAP                     ( m_saoResetEncoderStateAfterIRAP);
     566#endif
    556567  m_cTEncTop.setPCMInputBitDepthFlag                              ( m_bPCMInputBitDepthFlag);
    557568  m_cTEncTop.setPCMFilterDisableFlag                              ( m_bPCMFilterDisableFlag);
     
    628639  m_cTEncTop.setColourRemapInfoSEIFileRoot                        ( m_colourRemapSEIFileRoot );
    629640  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
    630645
    631646#if NH_MV
     
    11241139      outputAccessUnits.clear();
    11251140    }
     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    }
    11261146  }
    11271147
     
    14201440{
    14211441#if NH_MV
    1422   Double time = (Double) m_frameRcvd[0] / m_iFrameRate;
     1442  Double time = (Double) m_frameRcvd[0] / m_iFrameRate * m_temporalSubsampleRatio;
    14231443  printf("\n");
    14241444#else
    1425   Double time = (Double) m_iFrameRcvd / m_iFrameRate;
     1445  Double time = (Double) m_iFrameRcvd / m_iFrameRate * m_temporalSubsampleRatio;
    14261446#endif
    14271447  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.