Changeset 1313 in 3DVCSoftware for trunk/source/Lib/TLibEncoder/TEncRateCtrl.h
- Timestamp:
- 13 Aug 2015, 17:38:13 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibEncoder/TEncRateCtrl.h
r1179 r1313 2 2 * License, included below. This software may be subject to other third party 3 3 * and contributor rights, including patent rights, and no such rights are 4 * granted under this license. 4 * granted under this license. 5 5 * 6 * Copyright (c) 2010-2015, ITU/ISO/IEC6 * Copyright (c) 2010-2015, ITU/ISO/IEC 7 7 * All rights reserved. 8 8 * … … 36 36 */ 37 37 38 #ifndef _ HM_TENCRATECTRL_H_39 #define _ HM_TENCRATECTRL_H_38 #ifndef __TENCRATECTRL__ 39 #define __TENCRATECTRL__ 40 40 41 41 #if _MSC_VER > 1000 … … 123 123 Int getGOPSize() { return m_GOPSize; } 124 124 Int getPicWidth() { return m_picWidth; } 125 Int getPicHeight() { return m_picHeight; } 125 Int getPicHeight() { return m_picHeight; } 126 126 Int getLCUWidth() { return m_LCUWidth; } 127 127 Int getLCUHeight() { return m_LCUHeight; } … … 160 160 Int m_totalFrames; 161 161 Int m_targetRate; 162 Int m_frameRate; 162 Int m_frameRate; 163 163 Int m_GOPSize; 164 164 Int m_picWidth; … … 240 240 Int estimatePicQP ( Double lambda, list<TEncRCPic*>& listPreviousPictures ); 241 241 Int getRefineBitsForIntra(Int orgBits); 242 Double calculateLambdaIntra( double alpha, double beta, double MADPerPixel, double bitsPerPixel);242 Double calculateLambdaIntra(Double alpha, Double beta, Double MADPerPixel, Double bitsPerPixel); 243 243 Double estimatePicLambda( list<TEncRCPic*>& listPreviousPictures, SliceType eSliceType); 244 244 245 Void updateAlphaBetaIntra( double *alpha, double *beta);245 Void updateAlphaBetaIntra(Double *alpha, Double *beta); 246 246 247 247 Double getLCUTargetBpp(SliceType eSliceType); … … 253 253 Int getLCUEstQP( Double lambda, Int clipPicQP ); 254 254 255 Void updateAfter LCU( Int LCUIdx, Int bits, Int QP, Double lambda, Bool updateLCUParameter = true );255 Void updateAfterCTU( Int LCUIdx, Int bits, Int QP, Double lambda, Bool updateLCUParameter = true ); 256 256 Void updateAfterPicture( Int actualHeaderBits, Int actualTotalBits, Double averageQP, Double averageLambda, SliceType eSliceType); 257 257 … … 326 326 TRCLCU* m_LCUs; 327 327 Int m_picActualHeaderBits; // only SH and potential APS 328 Double m_totalCostIntra; 328 Double m_totalCostIntra; 329 329 Double m_remainingCostIntra; 330 330 Int m_picActualBits; // the whole picture, including header
Note: See TracChangeset for help on using the changeset viewer.