Dirac - A Video Codec

Created by the British Broadcasting Corporation.


dirac::CompCompressor Class Reference

Compress a frame component. More...

#include <comp_compress.h>

Collaboration diagram for dirac::CompCompressor:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Private Member Functions

Private Attributes


Detailed Description

This class compresses one of the three components (Y, U, or V) of a frame according to a given set or parameters. CompCompressor is used by FrameCompressor.


Constructor & Destructor Documentation

dirac::CompCompressor::CompCompressor EncoderParams encp,
const FrameParams fp
 

Create and initialize a component compressor with the given characteristics.

Parameters:
encp encoding parameters
fp frame parameters

dirac::CompCompressor::CompCompressor const CompCompressor cpy  )  [private]
 


Member Function Documentation

void dirac::CompCompressor::AddSubAverage PicArray pic_data,
int  xl,
int  yl,
AddOrSub  dirn
[private]
 

void dirac::CompCompressor::Compress PicArray pic_data  ) 
 

Compress a PicArray containing a frame component (Y, U, or V).

Parameters:
pic_data the component data to be compressed

CompCompressor& dirac::CompCompressor::operator= const CompCompressor rhs  )  [private]
 

int dirac::CompCompressor::SelectMultiQuants PicArray pic_data,
SubbandList bands,
const int  band_num
[private]
 

void dirac::CompCompressor::SelectQuantisers PicArray pic_data,
SubbandList bands,
OneDArray< unsigned int > &  est_counts,
const bool  using_multi_quants
[private]
 

void dirac::CompCompressor::SetToVal PicArray pic_data,
const Subband node,
ValueType  val
[private]
 

void dirac::CompCompressor::SetupCodeBlocks SubbandList bands  )  [private]
 

void dirac::CompCompressor::WriteBandHeader BasicOutputManager output_mgr,
const Subband node,
const int  num_band_bytes
[private]
 


Member Data Documentation

const ChromaFormat& dirac::CompCompressor::m_cformat [private]
 

CompSort dirac::CompCompressor::m_csort [private]
 

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

const FrameParams& dirac::CompCompressor::m_fparams [private]
 

const FrameSort& dirac::CompCompressor::m_fsort [private]
 

float dirac::CompCompressor::m_lambda [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.