dirac::MotionCompensator Class Reference

Motion compensator class. More...

#include <mot_comp.h>

List of all members.

Public Member Functions

 MotionCompensator (const CodecParams &cp, const AddOrSub direction)
 Constructor.
 ~MotionCompensator ()
 Destructor.
void CompensateFrame (FrameBuffer &my_buffer, int fnum, const MvData &mv_data)
 Compensate a frame.


Detailed Description

Motion compensator class.

Motion compensator class, for doing motion compensation with two references and overlapped blocks, using raised-cosine roll-off.

Definition at line 64 of file mot_comp.h.


Constructor & Destructor Documentation

MotionCompensator::MotionCompensator const CodecParams cp,
const AddOrSub  direction
 

Constructor.

Constructor initialises using codec parameters.

Definition at line 57 of file mot_comp.cpp.


Member Function Documentation

void MotionCompensator::CompensateFrame FrameBuffer my_buffer,
int  fnum,
const MvData mv_data
 

Compensate a frame.

Perform motion compensated addition/subtraction on a frame using parameters

Parameters:
fnum number of frame in the frame buffer to be compensated
my_buffer the FrameBuffer object containing the frame and the reference frames `
mv_data the motion vector data

Definition at line 77 of file mot_comp.cpp.

References dirac::FrameParams::CFormat(), dirac::FrameParams::FSort(), dirac::Frame::GetFparams(), dirac::FrameBuffer::GetFrame(), and dirac::FrameParams::Refs().

Referenced by dirac::FrameCompressor::Compress(), and dirac::FrameDecompressor::Decompress().


The documentation for this class was generated from the following files:
Generated on Tue Dec 13 14:49:21 2005 for guliverkli by  doxygen 1.4.5