Dirac - A Video Codec

Created by the British Broadcasting Corporation.


dirac::RateController Class Reference

A clas for allocation the bits to each and every types of frames in a GOP.

#include <rate_control.h>

Collaboration diagram for dirac::RateController:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Private Member Functions

Private Attributes


Constructor & Destructor Documentation

dirac::RateController::RateController ( int  trate,
SourceParams srcp,
EncoderParams encp 
)

Member Function Documentation

void dirac::RateController::Allocate ( const int  fnum  )  [private]
void dirac::RateController::CalcNextIntraQualFactor (  ) 
void dirac::RateController::CalcNextQualFactor ( const PictureParams fparams,
int  num_bits 
)
void dirac::RateController::CalcTotalBits ( const SourceParams sourceparams  )  [private]
float dirac::RateController::ClipQualityFactor ( const float  qfac  )  [private]
double dirac::RateController::IntraQualFactor (  )  [inline]

References m_I_qf.

double dirac::RateController::ProjectedSubgroupRate (  )  [private]
double dirac::RateController::QualFactor (  )  [inline]

References m_qf.

void dirac::RateController::Report (  ) 
float dirac::RateController::ReviewQualityFactor ( const float  qfac,
const long int  num_bits 
) [private]
void dirac::RateController::SetCutPictureQualFactor (  ) 
void dirac::RateController::SetFrameDistribution (  )  [private]
void dirac::RateController::SetIntraQualFactor ( double  value  )  [inline, private]

References m_I_qf.

double dirac::RateController::TargetSubgroupRate (  )  [private]
void dirac::RateController::UpdateBuffer ( const long int  num_bits  )  [private]

Member Data Documentation

const long int dirac::RateController::m_buffer_size [private]
double dirac::RateController::m_qf [private]

Referenced by QualFactor().


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

© 2004 British Broadcasting Corporation. Dirac code licensed under the Mozilla Public License (MPL) Version 1.1.
HTML documentation generated by Dimitri van Heesch's excellent Doxygen tool.