115 |
int newpred_enable; |
int newpred_enable; |
116 |
int reduced_resolution_enable; |
int reduced_resolution_enable; |
117 |
|
|
118 |
|
int bs_version; |
119 |
|
|
120 |
// image |
// image |
121 |
|
|
122 |
int fixed_dimensions; |
int fixed_dimensions; |
140 |
// for B-frame & low_delay==0 |
// for B-frame & low_delay==0 |
141 |
// XXX: should move frame based stuff into a DECODER_FRAMEINFO struct */ |
// XXX: should move frame based stuff into a DECODER_FRAMEINFO struct */ |
142 |
MACROBLOCK *last_mbs; // last MB |
MACROBLOCK *last_mbs; // last MB |
|
int last_coding_type; // last coding type value |
|
143 |
int last_reduced_resolution; // last reduced_resolution value |
int last_reduced_resolution; // last reduced_resolution value |
144 |
int32_t frames; // total frame number |
int32_t frames; // total frame number |
145 |
int32_t packed_mode; // bframes packed bitstream? (1 = yes) |
int32_t packed_mode; // bframes packed bitstream? (1 = yes) |
159 |
IMAGE gmc; /* gmc tmp buffer, remove for blockbased compensation */ |
IMAGE gmc; /* gmc tmp buffer, remove for blockbased compensation */ |
160 |
GMC_DATA gmc_data; |
GMC_DATA gmc_data; |
161 |
|
|
162 |
xvid_image_t* out_frm; // This is used for slice rendering |
XVID_DEC_PICTURE* out_frm; // This is used for slice rendering |
163 |
} |
} |
164 |
DECODER; |
DECODER; |
165 |
|
|
169 |
|
|
170 |
void init_decoder(uint32_t cpu_flags); |
void init_decoder(uint32_t cpu_flags); |
171 |
|
|
172 |
int decoder_create(xvid_dec_create_t * param); |
int decoder_create(XVID_DEC_PARAM * param); |
173 |
int decoder_destroy(DECODER * dec); |
int decoder_destroy(DECODER * dec); |
174 |
int decoder_decode(DECODER * dec, |
int decoder_decode(DECODER * dec, |
175 |
xvid_dec_frame_t * frame, xvid_dec_stats_t * stats); |
XVID_DEC_FRAME * frame, XVID_DEC_STATS * stats); |
176 |
|
|
177 |
|
|
178 |
#endif |
#endif |