30 |
#include "portab.h" |
#include "portab.h" |
31 |
#include "global.h" |
#include "global.h" |
32 |
#include "image/image.h" |
#include "image/image.h" |
33 |
|
#include "image/postprocessing.h" |
34 |
|
|
35 |
/***************************************************************************** |
/***************************************************************************** |
36 |
* Structures |
* Structures |
80 |
uint32_t time_inc_bits; |
uint32_t time_inc_bits; |
81 |
|
|
82 |
uint32_t shape; |
uint32_t shape; |
83 |
|
int ver_id; |
84 |
uint32_t quant_bits; |
uint32_t quant_bits; |
85 |
uint32_t quant_type; |
uint32_t quant_type; |
86 |
|
uint16_t *mpeg_quant_matrices; |
87 |
int32_t quarterpel; |
int32_t quarterpel; |
88 |
|
int32_t cartoon_mode; |
89 |
int complexity_estimation_disable; |
int complexity_estimation_disable; |
90 |
ESTIMATION estimation; |
ESTIMATION estimation; |
91 |
|
|
122 |
IMAGE tmp; /* bframe interpolation, and post processing tmp buffer */ |
IMAGE tmp; /* bframe interpolation, and post processing tmp buffer */ |
123 |
IMAGE qtmp; /* quarter pel tmp buffer */ |
IMAGE qtmp; /* quarter pel tmp buffer */ |
124 |
|
|
125 |
|
/* postprocessing */ |
126 |
|
XVID_POSTPROC postproc; |
127 |
|
|
128 |
/* macroblock */ |
/* macroblock */ |
129 |
|
|
130 |
uint32_t mb_width; |
uint32_t mb_width; |
146 |
int64_t time_base; |
int64_t time_base; |
147 |
int64_t last_time_base; |
int64_t last_time_base; |
148 |
int64_t last_non_b_time; |
int64_t last_non_b_time; |
149 |
uint32_t time_pp; |
int32_t time_pp; |
150 |
uint32_t time_bp; |
int32_t time_bp; |
151 |
uint32_t low_delay; /* low_delay flage (1 means no B_VOP) */ |
uint32_t low_delay; /* low_delay flage (1 means no B_VOP) */ |
152 |
uint32_t low_delay_default; /* default value for low_delay flag */ |
uint32_t low_delay_default; /* default value for low_delay flag */ |
153 |
|
|
158 |
NEW_GMC_DATA new_gmc_data; |
NEW_GMC_DATA new_gmc_data; |
159 |
|
|
160 |
xvid_image_t* out_frm; /* This is used for slice rendering */ |
xvid_image_t* out_frm; /* This is used for slice rendering */ |
161 |
|
|
162 |
|
int * qscale; /* quantization table for decoder's stats */ |
163 |
|
|
164 |
|
/* Tells if the reference image is edged or not */ |
165 |
|
int is_edged[2]; |
166 |
} |
} |
167 |
DECODER; |
DECODER; |
168 |
|
|