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 |
82 |
uint32_t shape; |
uint32_t shape; |
83 |
uint32_t quant_bits; |
uint32_t quant_bits; |
84 |
uint32_t quant_type; |
uint32_t quant_type; |
85 |
|
uint16_t *mpeg_quant_matrices; |
86 |
int32_t quarterpel; |
int32_t quarterpel; |
87 |
|
int32_t cartoon_mode; |
88 |
int complexity_estimation_disable; |
int complexity_estimation_disable; |
89 |
ESTIMATION estimation; |
ESTIMATION estimation; |
90 |
|
|
121 |
IMAGE tmp; /* bframe interpolation, and post processing tmp buffer */ |
IMAGE tmp; /* bframe interpolation, and post processing tmp buffer */ |
122 |
IMAGE qtmp; /* quarter pel tmp buffer */ |
IMAGE qtmp; /* quarter pel tmp buffer */ |
123 |
|
|
124 |
|
/* postprocessing */ |
125 |
|
XVID_POSTPROC postproc; |
126 |
|
|
127 |
/* macroblock */ |
/* macroblock */ |
128 |
|
|
129 |
uint32_t mb_width; |
uint32_t mb_width; |
145 |
int64_t time_base; |
int64_t time_base; |
146 |
int64_t last_time_base; |
int64_t last_time_base; |
147 |
int64_t last_non_b_time; |
int64_t last_non_b_time; |
148 |
uint32_t time_pp; |
int32_t time_pp; |
149 |
uint32_t time_bp; |
int32_t time_bp; |
150 |
uint32_t low_delay; /* low_delay flage (1 means no B_VOP) */ |
uint32_t low_delay; /* low_delay flage (1 means no B_VOP) */ |
151 |
uint32_t low_delay_default; /* default value for low_delay flag */ |
uint32_t low_delay_default; /* default value for low_delay flag */ |
152 |
|
|
157 |
NEW_GMC_DATA new_gmc_data; |
NEW_GMC_DATA new_gmc_data; |
158 |
|
|
159 |
xvid_image_t* out_frm; /* This is used for slice rendering */ |
xvid_image_t* out_frm; /* This is used for slice rendering */ |
160 |
|
|
161 |
|
int * qscale; /* quantization table for decoder's stats */ |
162 |
|
|
163 |
|
/* Tells if the reference image is edged or not */ |
164 |
|
int is_edged[2]; |
165 |
} |
} |
166 |
DECODER; |
DECODER; |
167 |
|
|