19 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* $Id: global.h,v 1.25 2005-12-09 04:45:35 syskin Exp $ |
* $Id: global.h,v 1.26 2010-09-13 07:38:09 Isibaar Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
48 |
#define MODE_DIRECT_NONE_MV 4 |
#define MODE_DIRECT_NONE_MV 4 |
49 |
#define MODE_DIRECT_NO4V 5 |
#define MODE_DIRECT_NO4V 5 |
50 |
|
|
|
|
|
51 |
/* |
/* |
52 |
* vop coding types |
* vop coding types |
53 |
* intra, prediction, backward, sprite, not_coded |
* intra, prediction, backward, sprite, not_coded |
72 |
return xvid_type - 1; |
return xvid_type - 1; |
73 |
} |
} |
74 |
|
|
|
|
|
75 |
typedef struct |
typedef struct |
76 |
{ |
{ |
77 |
int x; |
int x; |
79 |
} |
} |
80 |
VECTOR; |
VECTOR; |
81 |
|
|
|
|
|
|
|
|
82 |
typedef struct |
typedef struct |
83 |
{ |
{ |
84 |
VECTOR duv[3]; |
VECTOR duv[3]; |
164 |
} |
} |
165 |
IMAGE; |
IMAGE; |
166 |
|
|
|
|
|
167 |
typedef struct |
typedef struct |
168 |
{ |
{ |
169 |
uint32_t bufa; |
uint32_t bufa; |
177 |
} |
} |
178 |
Bitstream; |
Bitstream; |
179 |
|
|
|
|
|
180 |
#define MBPRED_SIZE 15 |
#define MBPRED_SIZE 15 |
181 |
|
|
|
|
|
182 |
typedef struct |
typedef struct |
183 |
{ |
{ |
184 |
/* decoder/encoder */ |
/* decoder/encoder */ |