Video Processing Framework
MotionInfo Class Reference

#include <Wav_MotionInfo.h>

List of all members.

Public Member Functions

 MotionInfo (Image *prev, Image *curr, int sblkx, int sblky, int srx, int sry, int unrestricted)
 ~MotionInfo ()
void computeMotionVectors (int halfpel)
void computePredictionAndError ()
void addErrorBackToPrediction ()
void computeOBMC ()
void computeThreeStepMVF (int halfpel)
void computeMotionVectorsWrapAround (int halfpel)
void computePredictionAndErrorWrapAround ()
void computeOBMCWrapAround ()
void computeMCTemporal ()
void computeInverseMCTemporal ()
int saveMVF (Encoder *encoder)
void loadMVF (Decoder *decoder)
int saveMVFWithExternalHist (Encoder *encoder, iHistogram *MVFHistogram1, iHistogram *halfPixelHistogram1)
int saveMVFConditional (Encoder *encoder)
void loadMVFConditional (Decoder *decoder)
void saveMVFDataToASCII (char *filename)
void zoomPreviousImageImage ()
float getSadOfMacroblockAt (int xblk, int yblk, int halfx, int halfy, int mvx, int mvy)
float getSadOfMacroblockAtFast (int xblk, int yblk, int halfx, int halfy, int mvx, int mvy)
float getSadOfMacroblockAtWrapAround (int xblk, int yblk, int halfx, int halfy, int mvx, int mvy)
float raisedcosinewindow (int m, int n, int blksizex, int blksizey)
void prepareMVF ()
void unprepareMVF ()
Real getmatchingcriteria (int x, int y, int bx, int by)
void getThreeStepMV (int &xvec, int &yvec, int blkx, int blky)

Public Attributes

Image * currentImage
Image * previousImage
Image * previousInterpolated
Image * prediction
Image * error
Image * connectionMap
Image * L
Image * H
MotionVec MotionVectorField [MAXMVX][MAXMVY]
int MaxBlockx
int MaxBlocky
int hsize
int vsize
int sizeofblockx
int sizeofblocky
int halfpixelaccuracy
char * histofile
iHistogramMVFHistogram
iHistogramhalfPixelHistogram
int searchregionx
int searchregiony
int unrestrictedmotionvectors
int frameind
Image * objectmask
bool useobjectmask
bool curblockisobject
float avgobjmvx
float avgobjmvy

Constructor & Destructor Documentation

MotionInfo::MotionInfo ( Image *  prev,
Image *  curr,
int  sblkx,
int  sblky,
int  srx,
int  sry,
int  unrestricted 
)
MotionInfo::~MotionInfo ( )

Member Function Documentation

void MotionInfo::addErrorBackToPrediction ( )
void MotionInfo::computeInverseMCTemporal ( )
void MotionInfo::computeMCTemporal ( )
void MotionInfo::computeMotionVectors ( int  halfpel)
void MotionInfo::computeMotionVectorsWrapAround ( int  halfpel)
void MotionInfo::computeOBMC ( )
void MotionInfo::computeOBMCWrapAround ( )
void MotionInfo::computePredictionAndError ( )
void MotionInfo::computePredictionAndErrorWrapAround ( )
void MotionInfo::computeThreeStepMVF ( int  halfpel)
Real MotionInfo::getmatchingcriteria ( int  x,
int  y,
int  bx,
int  by 
)
float MotionInfo::getSadOfMacroblockAt ( int  xblk,
int  yblk,
int  halfx,
int  halfy,
int  mvx,
int  mvy 
)
float MotionInfo::getSadOfMacroblockAtFast ( int  xblk,
int  yblk,
int  halfx,
int  halfy,
int  mvx,
int  mvy 
) [inline]
float MotionInfo::getSadOfMacroblockAtWrapAround ( int  xblk,
int  yblk,
int  halfx,
int  halfy,
int  mvx,
int  mvy 
)
void MotionInfo::getThreeStepMV ( int &  xvec,
int &  yvec,
int  blkx,
int  blky 
)
void MotionInfo::loadMVF ( Decoder decoder)
void MotionInfo::loadMVFConditional ( Decoder decoder)
void MotionInfo::prepareMVF ( )
float MotionInfo::raisedcosinewindow ( int  m,
int  n,
int  blksizex,
int  blksizey 
) [inline]
int MotionInfo::saveMVF ( Encoder encoder)
int MotionInfo::saveMVFConditional ( Encoder encoder)
void MotionInfo::saveMVFDataToASCII ( char *  filename)
int MotionInfo::saveMVFWithExternalHist ( Encoder encoder,
iHistogram MVFHistogram1,
iHistogram halfPixelHistogram1 
)
void MotionInfo::unprepareMVF ( )
void MotionInfo::zoomPreviousImageImage ( )

Member Data Documentation

Image* MotionInfo::H
Image* MotionInfo::L

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines