#include <block_match.h>
Public Member Functions | |
BlockMatcher (const PicArray &ref_data, const PicArray &pic_data, const OLBParams &bparams, const MvArray &mv_array, const TwoDArray< MvCostData > &cost_array) | |
Constructor. | |
void | 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. | |
void | 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, to sub-pixel accuracy (TBC: merge with FindBestMatch). |
Definition at line 104 of file block_match.h.
|
Constructor. Constructor
Definition at line 217 of file block_match.cpp. |
|
Find the best matching vector from a list of candidates. Find the best matching vector from a list of candidates.
Definition at line 230 of file block_match.cpp. References dirac::BlockDiff::Diff(), dirac::GetVar(), dirac::TwoDArray< T >::LengthX(), dirac::TwoDArray< T >::LengthY(), dirac::MvCostData::mvcost, dirac::MvCostData::SAD, dirac::BlockDiffParams::SetBlockLimits(), dirac::MvCostData::SetTotal(), dirac::MvCostData::total, dirac::MotionVector< T >::x, dirac::OLBParams::Xblen(), dirac::BlockDiffParams::Xl(), dirac::BlockDiffParams::Xp(), dirac::MotionVector< T >::y, dirac::OLBParams::Yblen(), dirac::BlockDiffParams::Yl(), and dirac::BlockDiffParams::Yp(). |
|
Find the best matching vector from a list of candidates, to sub-pixel accuracy (TBC: merge with FindBestMatch). Find the best matching vector from a list of candidates.
Definition at line 354 of file block_match.cpp. References dirac::BlockDiff::Diff(), dirac::GetVar(), dirac::TwoDArray< T >::LengthX(), dirac::TwoDArray< T >::LengthY(), dirac::MvCostData::mvcost, dirac::MvCostData::SAD, dirac::BlockDiffParams::SetBlockLimits(), dirac::MvCostData::SetTotal(), dirac::MvCostData::total, dirac::MotionVector< T >::x, dirac::BlockDiffParams::Xl(), dirac::BlockDiffParams::Xp(), dirac::MotionVector< T >::y, dirac::BlockDiffParams::Yl(), and dirac::BlockDiffParams::Yp(). |