--- mbprediction.h 2004/06/04 11:54:42 1.22.2.2 +++ mbprediction.h 2010/12/18 16:02:00 1.26 @@ -3,7 +3,7 @@ * XVID MPEG-4 VIDEO CODEC * - Prediction header - * - * Copyright(C) 2002-2003 xvid team + * Copyright(C) 2002-2010 Michael Militzer * * This program is free software ; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -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: mbprediction.h,v 1.22.2.2 2004/06/04 11:54:42 edgomez Exp $ + * $Id: mbprediction.h,v 1.26 2010/12/18 16:02:00 Isibaar Exp $ * ****************************************************************************/ @@ -43,7 +43,8 @@ uint32_t x_pos, /* <-- The x position of the MB to be searched */ uint32_t y_pos, /* <-- The y position of the MB to be searched */ uint32_t x_dim, /* <-- Number of macroblocks in a row */ - int16_t * qcoeff); /* <-> The quantized DCT coefficients */ + int16_t * qcoeff, /* <-> The quantized DCT coefficients */ + const int bound); void add_acdc(MACROBLOCK * pMB, uint32_t block, @@ -72,6 +73,14 @@ const int block); VECTOR +get_pmv2_interlaced(const MACROBLOCK * const mbs, + const int mb_width, + const int bound, + const int x, + const int y, + const int block); + +VECTOR get_qpmv2(const MACROBLOCK * const mbs, const int mb_width, const int bound,