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.12 2002-06-23 03:58:32 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 global; |
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; |
196 |
IMAGE f_refh; |
IMAGE f_refh; |
197 |
IMAGE f_refv; |
IMAGE f_refv; |
198 |
IMAGE f_refhv; |
IMAGE f_refhv; |
199 |
|
|
200 |
|
int m_framenum; /* debug frame num counter; unlike iFrameNum, does not reset at ivop */ |
201 |
#endif |
#endif |
202 |
|
|
203 |
Statistics sStat; |
Statistics sStat; |
204 |
RateControl rate_control; |
RateControl rate_control; |
205 |
} |
} |
250 |
XVID_ENC_FRAME * pFrame, |
XVID_ENC_FRAME * pFrame, |
251 |
XVID_ENC_STATS * pResult); |
XVID_ENC_STATS * pResult); |
252 |
|
|
253 |
|
int encoder_encode_bframes(Encoder * pEnc, |
254 |
|
XVID_ENC_FRAME * pFrame, |
255 |
|
XVID_ENC_STATS * pResult); |
256 |
|
|
257 |
#endif |
#endif |