Changeset 1412 in 3DVCSoftware for branches/HTM-16.2-dev/source/Lib/TLibEncoder/TEncRateCtrl.h
- 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.h
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 * … … 267 267 Int xEstPicTargetBits( TEncRCSeq* encRCSeq, TEncRCGOP* encRCGOP ); 268 268 Int xEstPicHeaderBits( list<TEncRCPic*>& listPreviousPictures, Int frameLevel ); 269 #if V0078_ADAPTIVE_LOWER_BOUND270 269 Int xEstPicLowerBound( TEncRCSeq* encRCSeq, TEncRCGOP* encRCGOP ); 271 #endif272 270 273 271 public: … … 285 283 Int getBitsCoded() { return m_targetBits - m_estHeaderBits - m_bitsLeft; } 286 284 Int getLCUCoded() { return m_numberOfLCU - m_LCULeft; } 287 #if V0078_ADAPTIVE_LOWER_BOUND288 285 Int getLowerBound() { return m_lowerBound; } 289 #endif290 286 TRCLCU* getLCU() { return m_LCUs; } 291 287 TRCLCU& getLCU( Int LCUIdx ) { return m_LCUs[LCUIdx]; } 292 288 Int getPicActualHeaderBits() { return m_picActualHeaderBits; } 293 #if U0132_TARGET_BITS_SATURATION294 289 Void setBitLeft(Int bits) { m_bitsLeft = bits; } 295 #endif296 290 Void setTargetBits( Int bits ) { m_targetBits = bits; m_bitsLeft = bits;} 297 291 Void setTotalIntraCost(Double cost) { m_totalCostIntra = cost; } … … 327 321 Int m_estHeaderBits; 328 322 Int m_estPicQP; 329 #if V0078_ADAPTIVE_LOWER_BOUND330 323 Int m_lowerBound; 331 #endif332 324 Double m_estPicLambda; 333 325 … … 381 373 Void setLayerID(Int layerid) { m_LayerID = layerid; } 382 374 #endif 383 #if U0132_TARGET_BITS_SATURATION384 375 Bool getCpbSaturationEnabled() { return m_CpbSaturationEnabled; } 385 376 UInt getCpbState() { return m_cpbState; } … … 388 379 Int updateCpbState(Int actualBits); 389 380 Void initHrdParam(const TComHRD* pcHrd, Int iFrameRate, Double fInitialCpbFullness); 390 #endif391 381 392 382 private: … … 396 386 list<TEncRCPic*> m_listRCPictures; 397 387 Int m_RCQP; 398 #if U0132_TARGET_BITS_SATURATION399 388 Bool m_CpbSaturationEnabled; // Enable target bits saturation to avoid CPB overflow and underflow 400 389 Int m_cpbState; // CPB State 401 390 UInt m_cpbSize; // CPB size 402 391 UInt m_bufferingRate; // Buffering rate 403 #endif404 392 405 393 #if KWU_RC_MADPRED_E0227
Note: See TracChangeset for help on using the changeset viewer.