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 Attributes


Constructor & Destructor Documentation

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


Member Function Documentation

void dirac::RateController::Allocate const FrameParams fparams,
int  num_bits
 

void dirac::RateController::CalcNextIntraQualFactor  ) 
 

void dirac::RateController::CalcNextQualFactor const FrameParams fparams,
int  num_bits
 

void dirac::RateController::CalcTotalBits  ) 
 

double dirac::RateController::IntraQualFactor  )  [inline]
 

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

void dirac::RateController::ResetNumFrame  ) 
 

void dirac::RateController::SetIntraQualFactor double  value  )  [inline]
 


Member Data Documentation

int dirac::RateController::m_current_GOP_bits [private]
 

int dirac::RateController::m_enc_Iframe_bits [private]
 

int dirac::RateController::m_enc_num_bits [private]
 

IPBB or PBB Corresponds to actual encoded bits

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]
 

double dirac::RateController::m_I_qf [private]
 

int dirac::RateController::m_Iframe_bits [private]
 

int dirac::RateController::m_L1frame_bits [private]
 

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]
 

double dirac::RateController::m_qf [private]
 

SourceParams& dirac::RateController::m_srcparams [private]
 

int dirac::RateController::m_t_num_bits [private]
 

IPBB or PBB Corresponds to allocated bits based upon target bit rate

int dirac::RateController::m_target_rate [private]
 

int dirac::RateController::m_total_GOP_bits [private]
 

int dirac::RateController::m_TXI [private]
 

int dirac::RateController::m_TXL1 [private]
 

int dirac::RateController::m_TXL2 [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.