Dirac - A Video Codec

Created by the British Broadcasting Corporation.


MotionCompensator Class Reference

Motion compensator class. More...

#include <mot_comp.h>

List of all members.

Public Member Functions

Private Member Functions

Private Attributes


Detailed Description

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


Constructor & Destructor Documentation

MotionCompensator::MotionCompensator const CodecParams cp  ) 
 

Constructor initialises using codec parameters.

MotionCompensator::~MotionCompensator  ) 
 

MotionCompensator::MotionCompensator const MotionCompensator cpy  )  [private]
 


Member Function Documentation

void MotionCompensator::CompensateBlock PicArray pic_data,
const PicArray refup_data,
const MVector Vec,
const ImageCoords Pos,
const TwoDArray< CalcValueType > &  Weights,
const ArithObj arith
[private]
 

void MotionCompensator::CompensateComponent Frame picframe,
const Frame ref1frame,
const Frame ref2frame,
const MvData mv_data,
const CompSort  cs
[private]
 

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

Perform motion compensated addition/subtraction on a frame using parameters /param fnum number of frame in the frame buffer to be compensated /param my_buffer the FrameBuffer object containing the frame and the reference frames ` /param mv_data the motion vector data

void MotionCompensator::DCBlock PicArray pic_data,
const ValueType  dc,
const ImageCoords Pos,
const TwoDArray< CalcValueType > &  Weights,
const ArithObj arith
[private]
 

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

void MotionCompensator::ReConfig  )  [private]
 

void MotionCompensator::SetCompensationMode AddOrSub  a_or_s  )  [inline]
 


Member Data Documentation

AddOrSub MotionCompensator::add_or_sub [private]
 

bool MotionCompensator::luma_or_chroma [private]
 

const ArithAddObj MotionCompensator::m_add [private]
 

const ArithHalfAddObj MotionCompensator::m_addhalf [private]
 

TwoDArray<CalcValueType>* MotionCompensator::m_block_weights [private]
 

OLBParams MotionCompensator::m_bparams [private]
 

ChromaFormat MotionCompensator::m_cformat [private]
 

CodecParams MotionCompensator::m_cparams [private]
 

const ArithSubtractObj MotionCompensator::m_subtract [private]
 

const ArithHalfSubtractObj MotionCompensator::m_subtracthalf [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.