--- branches/dev-api-4/xvidcore/src/utils/mbfunctions.h 2003/06/27 13:53:41 1076 +++ branches/dev-api-4/xvidcore/src/utils/mbfunctions.h 2003/06/28 15:54:16 1077 @@ -19,7 +19,7 @@ * along with this program ; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: mbfunctions.h,v 1.17.2.4 2003-06-09 13:55:34 edgomez Exp $ + * $Id: mbfunctions.h,v 1.17.2.5 2003-06-28 15:48:08 chl Exp $ * ****************************************************************************/ @@ -37,8 +37,53 @@ const IMAGE * const pRefH, const IMAGE * const pRefV, const IMAGE * const pRefHV, + const IMAGE * const pGMC, const uint32_t iLimit); + + +void +GMEanalysis(const MBParam * const pParam, + const FRAMEINFO * const current, + const FRAMEINFO * const reference, + const IMAGE * const pRefH, + const IMAGE * const pRefV, + const IMAGE * const pRefHV); + +WARPPOINTS +GlobalMotionEst(MACROBLOCK * const pMBs, + const MBParam * const pParam, + const FRAMEINFO * const current, + const FRAMEINFO * const reference, + const IMAGE * const pRefH, + const IMAGE * const pRefV, + const IMAGE * const pRefHV); + +int +GlobalMotionEstRefine( + WARPPOINTS *const startwp, + MACROBLOCK * const pMBs, + const MBParam * const pParam, + const FRAMEINFO * const current, + const FRAMEINFO * const reference, + const IMAGE * const pCurr, + const IMAGE * const pRef, + const IMAGE * const pRefH, + const IMAGE * const pRefV, + const IMAGE * const pRefHV); + +int +globalSAD(const WARPPOINTS *const wp, + const MBParam * const pParam, + const MACROBLOCK * const pMBs, + const FRAMEINFO * const current, + const IMAGE * const pRef, + const IMAGE * const pCurr, + uint8_t *const GMCblock); + + + + /** MBMotionCompensation **/ void