00001
00015 #ifndef _ERC_GLOBALS_H_
00016 #define _ERC_GLOBALS_H_
00017
00018 #include "defines.h"
00019
00020
00021
00022
00023 #define REGMODE_INTER_COPY 0
00024 #define REGMODE_INTER_PRED 1
00025 #define REGMODE_INTRA 2
00026 #define REGMODE_SPLITTED 3
00027
00028 #define REGMODE_INTER_COPY_8x8 4
00029 #define REGMODE_INTER_PRED_8x8 5
00030 #define REGMODE_INTRA_8x8 6
00031
00033 typedef struct
00034 {
00035 imgpel *yptr;
00036 imgpel *uptr;
00037 imgpel *vptr;
00038 } frame;
00039
00041 typedef struct
00042 {
00043 byte regionMode;
00044 int xMin;
00045 int yMin;
00046 int mv[3];
00047
00048 } objectBuffer_t;
00049
00050 #endif
00051