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]
 

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

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

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]
 

double dirac::RateController::TargetSubgroupRate (   )  [private]
 

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


Member Data Documentation

long int dirac::RateController::m_buffer_bits [private]
 

double dirac::RateController::m_buffer_rate_of_change [private]
 

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

EncoderParams& dirac::RateController::m_encparams [private]
 

int dirac::RateController::m_fcount [private]
 

FrameComplexity dirac::RateController::m_frame_complexity [private]
 

double dirac::RateController::m_GOP_duration [private]
 

long int dirac::RateController::m_GOP_target [private]
 

double dirac::RateController::m_I_qf [private]
 

double dirac::RateController::m_I_qf_long_term [private]
 

long int dirac::RateController::m_Iframe_bits [private]
 

bool dirac::RateController::m_intra_only [private]
 

long int dirac::RateController::m_L1frame_bits [private]
 

int dirac::RateController::m_L2_complexity_sum [private]
 

long int dirac::RateController::m_L2frame_bits [private]
 

int dirac::RateController::m_num_Iframe [private]
 

int dirac::RateController::m_num_L1frame [private]
 

int dirac::RateController::m_num_L2frame [private]
 

long int dirac::RateController::m_old_buffer_bits [private]
 

long int dirac::RateController::m_picture_bits [private]
 

double dirac::RateController::m_qf [private]
 

const int dirac::RateController::m_target_rate [private]
 

long int dirac::RateController::m_total_GOP_bits [private]
 


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.