Dirac - A Video Codec

Created by the British Broadcasting Corporation.


FrameCompressor Class Reference

Compress a single image frame. More...

#include <frame_compress.h>

List of all members.

Public Member Functions

Private Member Functions

Private Attributes


Detailed Description

This class compresses a single frame at a time, using parameters supplied at its construction. FrameCompressor is used by SequenceCompressor.


Constructor & Destructor Documentation

FrameCompressor::FrameCompressor EncoderParams encp  ) 
 

Creates a FrameEncoder with specific set of parameters the control the compression process. It encodes motion data before encoding each component of the frame.

Parameters:
encp encoder parameters

FrameCompressor::FrameCompressor const FrameCompressor cpy  )  [private]
 

Copy constructor is private and body-less. This class should not be copied.


Member Function Documentation

void FrameCompressor::Compress FrameBuffer fbuffer,
const FrameBuffer orig_buffer,
int  fnum
 

Compresses a specified frame within a group of pictures.

Parameters:
fbuffer picture buffer in which the frame resides
orig_buffer the corresponding picture buffer of uncoded originals
fnum frame number to compress

bool FrameCompressor::IsSkipped  )  [inline]
 

FrameCompressor& FrameCompressor::operator= const FrameCompressor rhs  )  [private]
 

Assignment = is private and body-less. This class should not be assigned.

void FrameCompressor::WriteFrameHeader const FrameParams fparams  )  [private]
 

void FrameCompressor::WriteMotionData const FrameBuffer fbuffer,
const int  fnum
[private]
 


Member Data Documentation

EncoderParams& FrameCompressor::m_encparams [private]
 

PredMode FrameCompressor::m_global_pred_mode [private]
 

MEData* FrameCompressor::m_me_data [private]
 

bool FrameCompressor::m_skipped [private]
 

bool FrameCompressor::m_use_block_mv [private]
 

bool FrameCompressor::m_use_global [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.