33 |
* |
* |
34 |
* - 13.06.2002 Added legal header - Cosmetic |
* - 13.06.2002 Added legal header - Cosmetic |
35 |
* |
* |
36 |
* $Id: decoder.h,v 1.13 2003-02-15 15:22:17 edgomez Exp $ |
* $Id: decoder.h,v 1.13.2.1 2003-02-22 08:49:44 suxen_drol Exp $ |
37 |
* |
* |
38 |
****************************************************************************/ |
****************************************************************************/ |
39 |
|
|
138 |
// for B-frame & low_delay==0 |
// for B-frame & low_delay==0 |
139 |
// XXX: should move frame based stuff into a DECODER_FRAMEINFO struct */ |
// XXX: should move frame based stuff into a DECODER_FRAMEINFO struct */ |
140 |
MACROBLOCK *last_mbs; // last MB |
MACROBLOCK *last_mbs; // last MB |
141 |
|
int last_coding_type; // last coding type value |
142 |
int last_reduced_resolution; // last reduced_resolution value |
int last_reduced_resolution; // last reduced_resolution value |
143 |
int32_t frames; // total frame number |
int32_t frames; // total frame number |
144 |
int32_t packed_mode; // bframes packed bitstream? (1 = yes) |
int32_t packed_mode; // bframes packed bitstream? (1 = yes) |
158 |
IMAGE gmc; /* gmc tmp buffer, remove for blockbased compensation */ |
IMAGE gmc; /* gmc tmp buffer, remove for blockbased compensation */ |
159 |
GMC_DATA gmc_data; |
GMC_DATA gmc_data; |
160 |
|
|
161 |
XVID_DEC_PICTURE* out_frm; // This is used for slice rendering |
xvid_image_t* out_frm; // This is used for slice rendering |
162 |
} |
} |
163 |
DECODER; |
DECODER; |
164 |
|
|
168 |
|
|
169 |
void init_decoder(uint32_t cpu_flags); |
void init_decoder(uint32_t cpu_flags); |
170 |
|
|
171 |
int decoder_create(XVID_DEC_PARAM * param); |
int decoder_create(xvid_dec_create_t * param); |
172 |
int decoder_destroy(DECODER * dec); |
int decoder_destroy(DECODER * dec); |
173 |
int decoder_decode(DECODER * dec, |
int decoder_decode(DECODER * dec, |
174 |
XVID_DEC_FRAME * frame, XVID_DEC_STATS * stats); |
xvid_dec_frame_t * frame, xvid_dec_stats_t * stats); |
175 |
|
|
176 |
|
|
177 |
#endif |
#endif |