Created by the British Broadcasting Corporation.
The SubpelRefine class takes pixel-accurate motion vectors and refines them to 1/8-pixel accuracy. More...
#include <me_subpel.h>
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.
| dirac::SubpelRefine::SubpelRefine | ( | const EncoderParams & | encp | ) |
The constructor initialises the encoder parameters.
| encp | the parameters used for controlling ME/MC |
| dirac::SubpelRefine::~SubpelRefine | ( | ) | [inline] |
| dirac::SubpelRefine::SubpelRefine | ( | const SubpelRefine & | cpy | ) | [private] |
| void dirac::SubpelRefine::DoBlock | ( | const int | xblock, |
| const int | yblock, | ||
| BlockMatcher & | my_bmatch, | ||
| MEData & | me_data, | ||
| const int | ref_id | ||
| ) | [private] |
| void dirac::SubpelRefine::DoSubpel | ( | EncQueue & | my_buffer, |
| int | pic_num | ||
| ) |
Does the actual sub-pixel refinement.
| my_buffer | the buffer of pictures being used |
| pic_num | the picture number on which motion estimation is being performed |
| void dirac::SubpelRefine::MatchPic | ( | const PicArray & | pic_data, |
| const PicArray & | refup_data, | ||
| MEData & | me_data, | ||
| int | ref_id | ||
| ) | [private] |
| SubpelRefine& dirac::SubpelRefine::operator= | ( | const SubpelRefine & | rhs | ) | [private] |
const EncoderParams& dirac::SubpelRefine::m_encparams [private] |
OneDArray<ImageCoords> dirac::SubpelRefine::m_nshift [private] |
const PicturePredParams* dirac::SubpelRefine::m_predparams [private] |
© 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.