36 |
* support for EXTENDED API |
* support for EXTENDED API |
37 |
* - 22.08.2001 fixed bug in iDQtab |
* - 22.08.2001 fixed bug in iDQtab |
38 |
* |
* |
39 |
* $Id: encoder.h,v 1.10 2002-06-13 21:45:24 edgomez Exp $ |
* $Id: encoder.h,v 1.11 2002-06-20 14:05:57 suxen_drol Exp $ |
40 |
* |
* |
41 |
****************************************************************************/ |
****************************************************************************/ |
42 |
|
|
167 |
FRAMEINFO *current; |
FRAMEINFO *current; |
168 |
FRAMEINFO *reference; |
FRAMEINFO *reference; |
169 |
|
|
170 |
#ifdef _DEBUG |
#ifdef _DEBUG_PSNR |
171 |
IMAGE sOriginal; |
IMAGE sOriginal; |
172 |
#endif |
#endif |
173 |
IMAGE vInterH; |
IMAGE vInterH; |
178 |
|
|
179 |
#ifdef BFRAMES |
#ifdef BFRAMES |
180 |
/* constants */ |
/* constants */ |
181 |
|
int packed; |
182 |
int bquant_ratio; |
int bquant_ratio; |
183 |
/* vars */ |
|
184 |
|
/* image queue */ |
185 |
|
int queue_head; |
186 |
|
int queue_tail; |
187 |
|
int queue_size; |
188 |
|
IMAGE *queue; |
189 |
|
|
190 |
|
/* bframe buffer */ |
191 |
int bframenum_head; |
int bframenum_head; |
192 |
int bframenum_tail; |
int bframenum_tail; |
193 |
int flush_bframes; |
int flush_bframes; |
197 |
IMAGE f_refv; |
IMAGE f_refv; |
198 |
IMAGE f_refhv; |
IMAGE f_refhv; |
199 |
#endif |
#endif |
200 |
|
|
201 |
Statistics sStat; |
Statistics sStat; |
202 |
RateControl rate_control; |
RateControl rate_control; |
203 |
} |
} |
248 |
XVID_ENC_FRAME * pFrame, |
XVID_ENC_FRAME * pFrame, |
249 |
XVID_ENC_STATS * pResult); |
XVID_ENC_STATS * pResult); |
250 |
|
|
251 |
|
int encoder_encode_bframes(Encoder * pEnc, |
252 |
|
XVID_ENC_FRAME * pFrame, |
253 |
|
XVID_ENC_STATS * pResult); |
254 |
|
|
255 |
#endif |
#endif |