Changeset 1412 in 3DVCSoftware for branches/HTM-16.2-dev/source/Lib/TLibEncoder/TEncRateCtrl.cpp
- Timestamp:
- 12 Apr 2018, 11:12:21 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-16.2-dev/source/Lib/TLibEncoder/TEncRateCtrl.cpp
r1405 r1412 4 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-201 6, ITU/ISO/IEC6 * Copyright (c) 2010-2017, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 554 554 } 555 555 556 #if V0078_ADAPTIVE_LOWER_BOUND557 556 Int TEncRCPic::xEstPicLowerBound(TEncRCSeq* encRCSeq, TEncRCGOP* encRCGOP) 558 557 { … … 592 591 return lowerBound; 593 592 } 594 #endif595 596 593 597 594 Void TEncRCPic::addToPictureLsit( list<TEncRCPic*>& listPreviousPictures ) … … 652 649 Int picWidthInLCU = ( picWidth % LCUWidth ) == 0 ? picWidth / LCUWidth : picWidth / LCUWidth + 1; 653 650 Int picHeightInLCU = ( picHeight % LCUHeight ) == 0 ? picHeight / LCUHeight : picHeight / LCUHeight + 1; 654 #if V0078_ADAPTIVE_LOWER_BOUND655 651 m_lowerBound = xEstPicLowerBound( encRCSeq, encRCGOP ); 656 #endif657 652 658 653 m_LCULeft = m_numberOfLCU; … … 1683 1678 m_encRCSeq->initLCUPara(); 1684 1679 } 1685 #if U0132_TARGET_BITS_SATURATION1686 1680 m_CpbSaturationEnabled = false; 1687 1681 m_cpbSize = targetBitrate; 1688 1682 m_cpbState = (UInt)(m_cpbSize*0.5f); 1689 1683 m_bufferingRate = (Int)(targetBitrate / frameRate); 1690 #endif1691 1684 1692 1685 #if KWU_RC_MADPRED_E0227 … … 1714 1707 } 1715 1708 1716 #if U0132_TARGET_BITS_SATURATION1717 1709 Int TEncRateCtrl::updateCpbState(Int actualBits) 1718 1710 { … … 1742 1734 printf("\nHRD - [Initial CPB state %6d] [CPB Size %6d] [Buffering Rate %6d]\n", m_cpbState, m_cpbSize, m_bufferingRate); 1743 1735 } 1744 #endif1745 1736 1746 1737 Void TEncRateCtrl::destroyRCGOP()
Note: See TracChangeset for help on using the changeset viewer.