Dirac - A Video Codec

Created by the British Broadcasting Corporation.


dirac::MotionEstimator Class Reference

Class to handle the whole motion estimation process. More...

#include <motion_estimate.h>

Collaboration diagram for dirac::MotionEstimator:

Collaboration graph
[legend]
List of all members.

Public Member Functions

Private Member Functions

Private Attributes


Detailed Description

Class to handle the whole motion estimation process, which works in three stages.

First a pixel-accurate estimate is formed by looking at the current frame data and the data from the reference frame(s). Motion vectors are found for every block.

Second, these pixel-accurate motion vectors are refined to sub-pixel accuracy. This means some sort of upconversion needs to be applied to the reference. This can be done by actually upconverting the reference to create a bigger picture or by doing some interpolation of values on the fly.

Third, mode decisions have to be made. This means choosing which (if any) reference to use for each block, and whether to use the same motion vectors for groups of blocks together. A 2x2 group of blocks is called a sub-MB and a 4x4 group of blocks is a MB (Macroblock). All the MV data is organised by MB.


Constructor & Destructor Documentation

dirac::MotionEstimator::MotionEstimator const EncoderParams encp  ) 
 

dirac::MotionEstimator::~MotionEstimator  )  [inline]
 

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


Member Function Documentation

bool dirac::MotionEstimator::DoME const FrameBuffer my_buffer,
int  frame_num,
MEData me_data
 

ValueType dirac::MotionEstimator::GetChromaBlockDC const PicArray pic_data,
int  xloc,
int  yloc,
int  split
[private]
 

bool dirac::MotionEstimator::IsACut const MEData  )  const [private]
 

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

void dirac::MotionEstimator::SetChromaDC const PicArray pic_data,
MvData mv_data,
CompSort  csort
[private]
 

void dirac::MotionEstimator::SetChromaDC const FrameBuffer my_buffer,
int  frame_num,
MvData mv_data
[private]
 


Member Data Documentation

const EncoderParams& dirac::MotionEstimator::m_encparams [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.