[cvs] / xvidcore / src / global.h Repository:
ViewVC logotype

Diff of /xvidcore/src/global.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.21.2.5, Mon Jun 9 01:16:46 2003 UTC revision 1.21.2.8, Sun Jul 13 09:58:26 2003 UTC
# Line 1  Line 1 
1    /*****************************************************************************
2     *
3     *  XVID MPEG-4 VIDEO CODEC
4     *  - Global definitions  -
5     *
6     *  Copyright(C) 2002 Michael Militzer <isibaar@xvid.org>
7     *
8     *  This program is free software ; you can redistribute it and/or modify
9     *  it under the terms of the GNU General Public License as published by
10     *  the Free Software Foundation ; either version 2 of the License, or
11     *  (at your option) any later version.
12     *
13     *  This program is distributed in the hope that it will be useful,
14     *  but WITHOUT ANY WARRANTY ; without even the implied warranty of
15     *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16     *  GNU General Public License for more details.
17     *
18     *  You should have received a copy of the GNU General Public License
19     *  along with this program ; if not, write to the Free Software
20     *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21     *
22     * $Id$
23     *
24     ****************************************************************************/
25    
26  #ifndef _GLOBAL_H_  #ifndef _GLOBAL_H_
27  #define _GLOBAL_H_  #define _GLOBAL_H_
28    
# Line 110  Line 135 
135  }  }
136  GMC_DATA;  GMC_DATA;
137    
138    typedef struct NEW_GMC_DATA NEW_GMC_DATA;
139    struct NEW_GMC_DATA
140    {
141      int num_wp;   //  0=none, 1=translation, 2,3 = warping
142                    //  a value of -1 means: "structure not initialized!"
143      int accuracy;     // {0,1,2,3}  =>   {1/2,1/4,1/8,1/16} pel
144    
145      int sW, sH;   // sprite size * 16
146      int dU[2], dV[2], Uo, Vo, Uco, Vco;   // gradient, calculated from warp points
147    
148      void (*predict_16x16)(const NEW_GMC_DATA * const This,
149                            uint8_t *dst, const uint8_t *src,
150                            int dststride, int srcstride, int x, int y, int rounding);
151      void (*predict_8x8)  (const NEW_GMC_DATA * const This,
152                            uint8_t *uDst, const uint8_t *uSrc,
153                            uint8_t *vDst, const uint8_t *vSrc,
154                            int dststride, int srcstride, int x, int y, int rounding);
155      void (*get_average_mv)(const NEW_GMC_DATA * const Dsp, VECTOR * const mv,
156                             int x, int y, int qpel);
157    };
158    
159  typedef struct  typedef struct
160  {  {

Legend:
Removed from v.1.21.2.5  
changed lines
  Added in v.1.21.2.8

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4