HEVC Test Model (HM)  HM-16.18
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
TEncRCSeq Class Reference

#include <TEncRateCtrl.h>

Collaboration diagram for TEncRCSeq:
Collaboration graph
[legend]

Public Member Functions

 TEncRCSeq ()
 
 ~TEncRCSeq ()
 
Void create (Int totalFrames, Int targetBitrate, Int frameRate, Int GOPSize, Int picWidth, Int picHeight, Int LCUWidth, Int LCUHeight, Int numberOfLevel, Bool useLCUSeparateModel, Int adaptiveBit)
 
Void destroy ()
 
Void initBitsRatio (Int bitsRatio[])
 
Void initGOPID2Level (Int GOPID2Level[])
 
Void initPicPara (TRCParameter *picPara=0)
 
Void initLCUPara (TRCParameter **LCUPara=0)
 
Void updateAfterPic (Int bits)
 
Void setAllBitRatio (Double basicLambda, Double *equaCoeffA, Double *equaCoeffB)
 
Int getTotalFrames ()
 
Int getTargetRate ()
 
Int getFrameRate ()
 
Int getGOPSize ()
 
Int getPicWidth ()
 
Int getPicHeight ()
 
Int getLCUWidth ()
 
Int getLCUHeight ()
 
Int getNumberOfLevel ()
 
Int getAverageBits ()
 
Int getLeftAverageBits ()
 
Bool getUseLCUSeparateModel ()
 
Int getNumPixel ()
 
Int64 getTargetBits ()
 
Int getNumberOfLCU ()
 
IntgetBitRatio ()
 
Int getBitRatio (Int idx)
 
IntgetGOPID2Level ()
 
Int getGOPID2Level (Int ID)
 
TRCParametergetPicPara ()
 
TRCParameter getPicPara (Int level)
 
Void setPicPara (Int level, TRCParameter para)
 
TRCParameter ** getLCUPara ()
 
TRCParametergetLCUPara (Int level)
 
TRCParameter getLCUPara (Int level, Int LCUIdx)
 
Void setLCUPara (Int level, Int LCUIdx, TRCParameter para)
 
Int getFramesLeft ()
 
Int64 getBitsLeft ()
 
Double getSeqBpp ()
 
Double getAlphaUpdate ()
 
Double getBetaUpdate ()
 
Int getAdaptiveBits ()
 
Double getLastLambda ()
 
Void setLastLambda (Double lamdba)
 

Private Attributes

Int m_totalFrames
 
Int m_targetRate
 
Int m_frameRate
 
Int m_GOPSize
 
Int m_picWidth
 
Int m_picHeight
 
Int m_LCUWidth
 
Int m_LCUHeight
 
Int m_numberOfLevel
 
Int m_averageBits
 
Int m_numberOfPixel
 
Int64 m_targetBits
 
Int m_numberOfLCU
 
Intm_bitsRatio
 
Intm_GOPID2Level
 
TRCParameterm_picPara
 
TRCParameter ** m_LCUPara
 
Int m_framesLeft
 
Int64 m_bitsLeft
 
Double m_seqTargetBpp
 
Double m_alphaUpdate
 
Double m_betaUpdate
 
Bool m_useLCUSeparateModel
 
Int m_adaptiveBit
 
Double m_lastLambda
 

Detailed Description

Definition at line 97 of file TEncRateCtrl.h.

Constructor & Destructor Documentation

TEncRCSeq::TEncRCSeq ( )

Definition at line 46 of file TEncRateCtrl.cpp.

TEncRCSeq::~TEncRCSeq ( )

Definition at line 72 of file TEncRateCtrl.cpp.

Member Function Documentation

Void TEncRCSeq::create ( Int  totalFrames,
Int  targetBitrate,
Int  frameRate,
Int  GOPSize,
Int  picWidth,
Int  picHeight,
Int  LCUWidth,
Int  LCUHeight,
Int  numberOfLevel,
Bool  useLCUSeparateModel,
Int  adaptiveBit 
)

Definition at line 77 of file TEncRateCtrl.cpp.

Void TEncRCSeq::destroy ( )

Definition at line 164 of file TEncRateCtrl.cpp.

Int TEncRCSeq::getAdaptiveBits ( )
inline

Definition at line 149 of file TEncRateCtrl.h.

Double TEncRCSeq::getAlphaUpdate ( )
inline

Definition at line 146 of file TEncRateCtrl.h.

Int TEncRCSeq::getAverageBits ( )
inline

Definition at line 123 of file TEncRateCtrl.h.

Double TEncRCSeq::getBetaUpdate ( )
inline

Definition at line 147 of file TEncRateCtrl.h.

Int* TEncRCSeq::getBitRatio ( )
inline

Definition at line 130 of file TEncRateCtrl.h.

Int TEncRCSeq::getBitRatio ( Int  idx)
inline

Definition at line 131 of file TEncRateCtrl.h.

Int64 TEncRCSeq::getBitsLeft ( )
inline

Definition at line 143 of file TEncRateCtrl.h.

Int TEncRCSeq::getFrameRate ( )
inline

Definition at line 116 of file TEncRateCtrl.h.

Int TEncRCSeq::getFramesLeft ( )
inline

Definition at line 142 of file TEncRateCtrl.h.

Int* TEncRCSeq::getGOPID2Level ( )
inline

Definition at line 132 of file TEncRateCtrl.h.

Int TEncRCSeq::getGOPID2Level ( Int  ID)
inline

Definition at line 133 of file TEncRateCtrl.h.

Int TEncRCSeq::getGOPSize ( )
inline

Definition at line 117 of file TEncRateCtrl.h.

Double TEncRCSeq::getLastLambda ( )
inline

Definition at line 150 of file TEncRateCtrl.h.

Int TEncRCSeq::getLCUHeight ( )
inline

Definition at line 121 of file TEncRateCtrl.h.

TRCParameter** TEncRCSeq::getLCUPara ( )
inline

Definition at line 137 of file TEncRateCtrl.h.

TRCParameter* TEncRCSeq::getLCUPara ( Int  level)
inline

Definition at line 138 of file TEncRateCtrl.h.

TRCParameter TEncRCSeq::getLCUPara ( Int  level,
Int  LCUIdx 
)
inline

Definition at line 139 of file TEncRateCtrl.h.

Int TEncRCSeq::getLCUWidth ( )
inline

Definition at line 120 of file TEncRateCtrl.h.

Int TEncRCSeq::getLeftAverageBits ( )
inline

Definition at line 124 of file TEncRateCtrl.h.

Int TEncRCSeq::getNumberOfLCU ( )
inline

Definition at line 129 of file TEncRateCtrl.h.

Int TEncRCSeq::getNumberOfLevel ( )
inline

Definition at line 122 of file TEncRateCtrl.h.

Int TEncRCSeq::getNumPixel ( )
inline

Definition at line 127 of file TEncRateCtrl.h.

Int TEncRCSeq::getPicHeight ( )
inline

Definition at line 119 of file TEncRateCtrl.h.

TRCParameter* TEncRCSeq::getPicPara ( )
inline

Definition at line 134 of file TEncRateCtrl.h.

TRCParameter TEncRCSeq::getPicPara ( Int  level)
inline

Definition at line 135 of file TEncRateCtrl.h.

Int TEncRCSeq::getPicWidth ( )
inline

Definition at line 118 of file TEncRateCtrl.h.

Double TEncRCSeq::getSeqBpp ( )
inline

Definition at line 145 of file TEncRateCtrl.h.

Int64 TEncRCSeq::getTargetBits ( )
inline

Definition at line 128 of file TEncRateCtrl.h.

Int TEncRCSeq::getTargetRate ( )
inline

Definition at line 115 of file TEncRateCtrl.h.

Int TEncRCSeq::getTotalFrames ( )
inline

Definition at line 114 of file TEncRateCtrl.h.

Bool TEncRCSeq::getUseLCUSeparateModel ( )
inline

Definition at line 125 of file TEncRateCtrl.h.

Void TEncRCSeq::initBitsRatio ( Int  bitsRatio[])

Definition at line 195 of file TEncRateCtrl.cpp.

Void TEncRCSeq::initGOPID2Level ( Int  GOPID2Level[])

Definition at line 203 of file TEncRateCtrl.cpp.

Void TEncRCSeq::initLCUPara ( TRCParameter **  LCUPara = 0)

Definition at line 240 of file TEncRateCtrl.cpp.

Void TEncRCSeq::initPicPara ( TRCParameter picPara = 0)

Definition at line 211 of file TEncRateCtrl.cpp.

Void TEncRCSeq::setAllBitRatio ( Double  basicLambda,
Double equaCoeffA,
Double equaCoeffB 
)

Definition at line 275 of file TEncRateCtrl.cpp.

Void TEncRCSeq::setLastLambda ( Double  lamdba)
inline

Definition at line 151 of file TEncRateCtrl.h.

Void TEncRCSeq::setLCUPara ( Int  level,
Int  LCUIdx,
TRCParameter  para 
)
inline

Definition at line 140 of file TEncRateCtrl.h.

Void TEncRCSeq::setPicPara ( Int  level,
TRCParameter  para 
)
inline

Definition at line 136 of file TEncRateCtrl.h.

Void TEncRCSeq::updateAfterPic ( Int  bits)

Definition at line 269 of file TEncRateCtrl.cpp.

Member Data Documentation

Int TEncRCSeq::m_adaptiveBit
private

Definition at line 180 of file TEncRateCtrl.h.

Double TEncRCSeq::m_alphaUpdate
private

Definition at line 176 of file TEncRateCtrl.h.

Int TEncRCSeq::m_averageBits
private

Definition at line 163 of file TEncRateCtrl.h.

Double TEncRCSeq::m_betaUpdate
private

Definition at line 177 of file TEncRateCtrl.h.

Int64 TEncRCSeq::m_bitsLeft
private

Definition at line 174 of file TEncRateCtrl.h.

Int* TEncRCSeq::m_bitsRatio
private

Definition at line 168 of file TEncRateCtrl.h.

Int TEncRCSeq::m_frameRate
private

Definition at line 156 of file TEncRateCtrl.h.

Int TEncRCSeq::m_framesLeft
private

Definition at line 173 of file TEncRateCtrl.h.

Int* TEncRCSeq::m_GOPID2Level
private

Definition at line 169 of file TEncRateCtrl.h.

Int TEncRCSeq::m_GOPSize
private

Definition at line 157 of file TEncRateCtrl.h.

Double TEncRCSeq::m_lastLambda
private

Definition at line 181 of file TEncRateCtrl.h.

Int TEncRCSeq::m_LCUHeight
private

Definition at line 161 of file TEncRateCtrl.h.

TRCParameter** TEncRCSeq::m_LCUPara
private

Definition at line 171 of file TEncRateCtrl.h.

Int TEncRCSeq::m_LCUWidth
private

Definition at line 160 of file TEncRateCtrl.h.

Int TEncRCSeq::m_numberOfLCU
private

Definition at line 167 of file TEncRateCtrl.h.

Int TEncRCSeq::m_numberOfLevel
private

Definition at line 162 of file TEncRateCtrl.h.

Int TEncRCSeq::m_numberOfPixel
private

Definition at line 165 of file TEncRateCtrl.h.

Int TEncRCSeq::m_picHeight
private

Definition at line 159 of file TEncRateCtrl.h.

TRCParameter* TEncRCSeq::m_picPara
private

Definition at line 170 of file TEncRateCtrl.h.

Int TEncRCSeq::m_picWidth
private

Definition at line 158 of file TEncRateCtrl.h.

Double TEncRCSeq::m_seqTargetBpp
private

Definition at line 175 of file TEncRateCtrl.h.

Int64 TEncRCSeq::m_targetBits
private

Definition at line 166 of file TEncRateCtrl.h.

Int TEncRCSeq::m_targetRate
private

Definition at line 155 of file TEncRateCtrl.h.

Int TEncRCSeq::m_totalFrames
private

Definition at line 154 of file TEncRateCtrl.h.

Bool TEncRCSeq::m_useLCUSeparateModel
private

Definition at line 178 of file TEncRateCtrl.h.


The documentation for this class was generated from the following files: