Dirac - A Video Codec

Created by the British Broadcasting Corporation.


BlockMatcher Class Reference

Class to do block matching.

#include <block_match.h>

List of all members.

Public Member Functions

Private Attributes


Constructor & Destructor Documentation

BlockMatcher::BlockMatcher const PicArray ref_data,
const PicArray pic_data,
const OLBParams bparams,
const MvArray mv_array,
const TwoDArray< MvCostData > &  cost_array
 

Constructor

Parameters:
ref_data the reference picture component
pic_data the picture being matched
bparams the (overlapped) block parameters to be used for the matching
mv_array the array of vectors we're going to write into
cost_array the array of costs we're going to write into


Member Function Documentation

void BlockMatcher::FindBestMatch int  xpos,
int  ypos,
const CandidateList cand_list,
const MVector mv_prediction,
float  lambda
 

Find the best matching vector from a list of candidates.

Parameters:
xpos the horizontal location of the block being matched
ypos the vertical location of the block being matched
cand_list the list of candidate vectors
mv_prediction the prediction for the motion vector
lambda the Lagrangian parameter

void BlockMatcher::FindBestMatchSubp int  xpos,
int  ypos,
const CandidateList cand_list,
const MVector mv_prediction,
float  lambda
 

Find the best matching vector from a list of candidates.

Parameters:
xpos the horizontal location of the block being matched
ypos the vertical location of the block being matched
cand_list the list of candidate vectors
mv_prediction the prediction for the motion vector
lambda the Lagrangian parameter


Member Data Documentation

OLBParams BlockMatcher::m_bparams [private]
 

BChkBlockDiff BlockMatcher::m_checkdiff [private]
 

BChkBlockDiffUp BlockMatcher::m_checkdiffup [private]
 

const TwoDArray< MvCostData >& BlockMatcher::m_cost_array [private]
 

const MvArray& BlockMatcher::m_mv_array [private]
 

const PicArray& BlockMatcher::m_pic_data [private]
 

const PicArray& BlockMatcher::m_ref_data [private]
 

SimpleBlockDiff BlockMatcher::m_simplediff [private]
 

SimpleBlockDiffUp BlockMatcher::m_simplediffup [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.