#include <me_subpel.h>
Public Member Functions | |
SubpelRefine (const EncoderParams &cp) | |
Constructor. | |
~SubpelRefine () | |
Destructor. | |
void | DoSubpel (const FrameBuffer &my_buffer, int frame_num, MEData &me_data) |
Does the actual sub-pixel refinement. |
The SubpelRefine class takes pixel-accurate motion vectors and refines them to 1/8-pixel accuracy. It uses references upconverted by a factor of 2 in each dimension, with the remaining precision gained by doing linear interpolation between values on-the-fly.
Definition at line 58 of file me_subpel.h.
|
Constructor. The constructor initialises the encoder parameters.
Definition at line 46 of file me_subpel.cpp. |
|
Does the actual sub-pixel refinement. Does the actual sub-pixel refinement.
Definition at line 65 of file me_subpel.cpp. References dirac::FrameParams::FSort(), dirac::FrameBuffer::GetComponent(), dirac::Frame::GetFparams(), dirac::FrameBuffer::GetFrame(), dirac::FrameBuffer::GetUpComponent(), dirac::EncoderParams::L1MELambda(), dirac::EncoderParams::L2MELambda(), dirac::FrameParams::Refs(), and dirac::MEData::SetLambdaMap(). Referenced by dirac::MotionEstimator::DoME(). |