Changeset 1313 in 3DVCSoftware for trunk/source/Lib/TLibEncoder/TEncRateCtrl.h


Ignore:
Timestamp:
13 Aug 2015, 17:38:13 (9 years ago)
Author:
tech
Message:

Merged 14.1-update-dev1@1312.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibEncoder/TEncRateCtrl.h

    r1179 r1313  
    22 * License, included below. This software may be subject to other third party
    33 * and contributor rights, including patent rights, and no such rights are
    4  * granted under this license. 
     4 * granted under this license.
    55 *
    6 * Copyright (c) 2010-2015, ITU/ISO/IEC
     6 * Copyright (c) 2010-2015, ITU/ISO/IEC
    77 * All rights reserved.
    88 *
     
    3636*/
    3737
    38 #ifndef _HM_TENCRATECTRL_H_
    39 #define _HM_TENCRATECTRL_H_
     38#ifndef __TENCRATECTRL__
     39#define __TENCRATECTRL__
    4040
    4141#if _MSC_VER > 1000
     
    123123  Int  getGOPSize()                     { return m_GOPSize; }
    124124  Int  getPicWidth()                    { return m_picWidth; }
    125   Int  getPicHeight()                   { return m_picHeight; } 
     125  Int  getPicHeight()                   { return m_picHeight; }
    126126  Int  getLCUWidth()                    { return m_LCUWidth; }
    127127  Int  getLCUHeight()                   { return m_LCUHeight; }
     
    160160  Int m_totalFrames;
    161161  Int m_targetRate;
    162   Int m_frameRate; 
     162  Int m_frameRate;
    163163  Int m_GOPSize;
    164164  Int m_picWidth;
     
    240240  Int    estimatePicQP    ( Double lambda, list<TEncRCPic*>& listPreviousPictures );
    241241  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);
    243243  Double estimatePicLambda( list<TEncRCPic*>& listPreviousPictures, SliceType eSliceType);
    244244
    245   Void   updateAlphaBetaIntra(double *alpha, double *beta);
     245  Void   updateAlphaBetaIntra(Double *alpha, Double *beta);
    246246
    247247  Double getLCUTargetBpp(SliceType eSliceType);
     
    253253  Int    getLCUEstQP( Double lambda, Int clipPicQP );
    254254
    255   Void updateAfterLCU( 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 );
    256256  Void updateAfterPicture( Int actualHeaderBits, Int actualTotalBits, Double averageQP, Double averageLambda, SliceType eSliceType);
    257257
     
    326326  TRCLCU* m_LCUs;
    327327  Int m_picActualHeaderBits;    // only SH and potential APS
    328   Double m_totalCostIntra; 
     328  Double m_totalCostIntra;
    329329  Double m_remainingCostIntra;
    330330  Int m_picActualBits;          // the whole picture, including header
Note: See TracChangeset for help on using the changeset viewer.