Files
jm/lencod/inc/me_fullfast.h

40 lines
1.4 KiB
C

/*!
************************************************************************
* \file
* me_fullfast.h
*
* \author
* Alexis Michael Tourapis <alexis.tourapis@dolby.com>
*
* \date
* 9 September 2006
*
* \brief
* Headerfile for Fast Full Search motion estimation
**************************************************************************
*/
#ifndef _ME_FULLFAST_H_
#define _ME_FULLFAST_H_
typedef struct me_full_fast
{
int **search_setup_done; //!< flag if all block SAD's have been calculated yet
MotionVector **search_center; //!< absolute search center for fast full motion search
MotionVector **search_center_padded; //!< absolute search center for fast full motion search
int **pos_00; //!< position of (0,0) vector
distpel *****BlockSAD; //!< SAD for all blocksize, ref. frames and motion vectors
int **max_search_range;
} MEFullFast;
extern distblk fast_full_search_motion_estimation ( Macroblock *, MotionVector *, MEBlock *, distblk, int );
extern void initialize_fast_full_search ( VideoParameters *, InputParameters * );
extern void reset_fast_full_search ( VideoParameters * );
extern void clear_fast_full_search ( VideoParameters * );
extern void setup_fast_full_search ( Macroblock *, MEBlock *, int );
extern void update_full_search_large_blocks ( MEFullFast *, int, int, int );
#endif