Ignore:
Timestamp:
12 Apr 2018, 11:12:21 (7 years ago)
Author:
tech
Message:
  • Update HM-16.18
  • Cleanups
  • Encoder Extension

-- Representation formats
-- Parameter set sharing
-- GOP configuration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-16.2-dev/source/Lib/TLibEncoder/TEncRateCtrl.cpp

    r1405 r1412  
    44 * granted under this license.
    55 *
    6  * Copyright (c) 2010-2016, ITU/ISO/IEC
     6 * Copyright (c) 2010-2017, ITU/ISO/IEC
    77 * All rights reserved.
    88 *
     
    554554}
    555555
    556 #if V0078_ADAPTIVE_LOWER_BOUND
    557556Int TEncRCPic::xEstPicLowerBound(TEncRCSeq* encRCSeq, TEncRCGOP* encRCGOP)
    558557{
     
    592591  return lowerBound;
    593592}
    594 #endif
    595 
    596593
    597594Void TEncRCPic::addToPictureLsit( list<TEncRCPic*>& listPreviousPictures )
     
    652649  Int picWidthInLCU  = ( picWidth  % LCUWidth  ) == 0 ? picWidth  / LCUWidth  : picWidth  / LCUWidth  + 1;
    653650  Int picHeightInLCU = ( picHeight % LCUHeight ) == 0 ? picHeight / LCUHeight : picHeight / LCUHeight + 1;
    654 #if V0078_ADAPTIVE_LOWER_BOUND
    655651  m_lowerBound       = xEstPicLowerBound( encRCSeq, encRCGOP );
    656 #endif
    657652
    658653  m_LCULeft         = m_numberOfLCU;
     
    16831678    m_encRCSeq->initLCUPara();
    16841679  }
    1685 #if U0132_TARGET_BITS_SATURATION
    16861680  m_CpbSaturationEnabled = false;
    16871681  m_cpbSize              = targetBitrate;
    16881682  m_cpbState             = (UInt)(m_cpbSize*0.5f);
    16891683  m_bufferingRate        = (Int)(targetBitrate / frameRate);
    1690 #endif
    16911684
    16921685#if KWU_RC_MADPRED_E0227
     
    17141707}
    17151708
    1716 #if U0132_TARGET_BITS_SATURATION
    17171709Int  TEncRateCtrl::updateCpbState(Int actualBits)
    17181710{
     
    17421734  printf("\nHRD - [Initial CPB state %6d] [CPB Size %6d] [Buffering Rate %6d]\n", m_cpbState, m_cpbSize, m_bufferingRate);
    17431735}
    1744 #endif
    17451736
    17461737Void TEncRateCtrl::destroyRCGOP()
Note: See TracChangeset for help on using the changeset viewer.