#include <mot_comp.h>
Public Member Functions | |
MotionCompensator (const CodecParams &cp, const AddOrSub direction) | |
Constructor. | |
~MotionCompensator () | |
Destructor. | |
void | CompensateFrame (FrameBuffer &my_buffer, int fnum, const MvData &mv_data) |
Compensate a frame. |
Motion compensator class, for doing motion compensation with two references and overlapped blocks, using raised-cosine roll-off.
Definition at line 64 of file mot_comp.h.
|
Constructor. Constructor initialises using codec parameters. Definition at line 57 of file mot_comp.cpp. |
|
Compensate a frame. Perform motion compensated addition/subtraction on a frame using parameters
Definition at line 77 of file mot_comp.cpp. References dirac::FrameParams::CFormat(), dirac::FrameParams::FSort(), dirac::Frame::GetFparams(), dirac::FrameBuffer::GetFrame(), and dirac::FrameParams::Refs(). Referenced by dirac::FrameCompressor::Compress(), and dirac::FrameDecompressor::Decompress(). |