me_epzs_sub.c File Reference

SubPel Motion Estimation refinement using EPZS. More...

#include "contributors.h"
#include <limits.h>
#include "global.h"
#include "image.h"
#include "memalloc.h"
#include "mb_access.h"
#include "refbuf.h"
#include "macroblock.h"
#include "me_distortion.h"
#include "me_epzs.h"
#include "mv_search.h"

Include dependency graph for me_epzs_sub.c:

Go to the source code of this file.

Functions

int EPZSSubPelBlockMotionSearch (Macroblock *currMB, MotionVector *pred, MEBlock *mv_block, int min_mcost, int *lambda)
int EPZSSubPelBlockSearchBiPred (Macroblock *currMB, MEBlock *mv_block, int list, MotionVector *pred_mv1, MotionVector *pred_mv2, MotionVector *mv1, MotionVector *mv2, int min_mcost, int *lambda)

Variables

static const MotionVector search_point_hp [10] = {{0,0},{-2,0}, {0,2}, {2,0}, {0,-2}, {-2,2}, {2,2}, {2,-2}, {-2,-2}, {-2,2}}
static const MotionVector search_point_qp [10] = {{0,0},{-1,0}, {0,1}, {1,0}, {0,-1}, {-1,1}, {1,1}, {1,-1}, {-1,-1}, {-1,1}}


Detailed Description

SubPel Motion Estimation refinement using EPZS.

Author:
Main contributors (see contributors.h for copyright, address and affiliation details)

Definition in file me_epzs_sub.c.


Function Documentation

int EPZSSubPelBlockMotionSearch ( Macroblock currMB,
MotionVector pred,
MEBlock *  mv_block,
int  min_mcost,
int *  lambda 
)

Fast sub pixel block motion search to support EPZS.

Definition at line 40 of file me_epzs_sub.c.

References H_PEL, macroblock::p_Img, macroblock::p_slice, Q_PEL, img_par::start_me_refinement_hp, and img_par::start_me_refinement_qp.

Referenced by init_ME_engine().

int EPZSSubPelBlockSearchBiPred ( Macroblock currMB,
MEBlock *  mv_block,
int  list,
MotionVector pred_mv1,
MotionVector pred_mv2,
MotionVector mv1,
MotionVector mv2,
int  min_mcost,
int *  lambda 
)

Fast bipred sub pixel block motion search to support EPZS.

Definition at line 319 of file me_epzs_sub.c.

References H_PEL, img_par::mb_data, macroblock::p_Img, Q_PEL, img_par::start_me_refinement_hp, and img_par::start_me_refinement_qp.

Referenced by init_ME_engine().


Documentation generated with DoxyGen