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.16 2002-07-21 03:41:44 suxen_drol Exp $ |
40 |
* |
* |
41 |
****************************************************************************/ |
****************************************************************************/ |
42 |
|
|
92 |
uint32_t fincr; |
uint32_t fincr; |
93 |
uint32_t fbase; |
uint32_t fbase; |
94 |
|
|
95 |
|
#ifdef _SMP |
96 |
|
int num_threads; |
97 |
|
#endif |
98 |
|
|
99 |
#ifdef BFRAMES |
#ifdef BFRAMES |
100 |
int max_bframes; |
int max_bframes; |
101 |
#endif |
#endif |
171 |
FRAMEINFO *current; |
FRAMEINFO *current; |
172 |
FRAMEINFO *reference; |
FRAMEINFO *reference; |
173 |
|
|
174 |
#ifdef _DEBUG |
#ifdef _DEBUG_PSNR |
175 |
IMAGE sOriginal; |
IMAGE sOriginal; |
176 |
#endif |
#endif |
177 |
IMAGE vInterH; |
IMAGE vInterH; |
182 |
|
|
183 |
#ifdef BFRAMES |
#ifdef BFRAMES |
184 |
/* constants */ |
/* constants */ |
185 |
|
int global; |
186 |
int bquant_ratio; |
int bquant_ratio; |
187 |
/* vars */ |
int frame_drop_ratio; |
188 |
|
|
189 |
|
/* image queue */ |
190 |
|
int queue_head; |
191 |
|
int queue_tail; |
192 |
|
int queue_size; |
193 |
|
IMAGE *queue; |
194 |
|
|
195 |
|
/* bframe buffer */ |
196 |
int bframenum_head; |
int bframenum_head; |
197 |
int bframenum_tail; |
int bframenum_tail; |
198 |
int flush_bframes; |
int flush_bframes; |
201 |
IMAGE f_refh; |
IMAGE f_refh; |
202 |
IMAGE f_refv; |
IMAGE f_refv; |
203 |
IMAGE f_refhv; |
IMAGE f_refhv; |
204 |
|
int bframenum_dx50bvop; |
205 |
|
|
206 |
|
int last_pframe; |
207 |
|
int time_pp; |
208 |
|
int m_framenum; /* debug frame num counter; unlike iFrameNum, does not reset at ivop */ |
209 |
#endif |
#endif |
210 |
|
|
211 |
Statistics sStat; |
Statistics sStat; |
212 |
RateControl rate_control; |
RateControl rate_control; |
213 |
} |
} |
258 |
XVID_ENC_FRAME * pFrame, |
XVID_ENC_FRAME * pFrame, |
259 |
XVID_ENC_STATS * pResult); |
XVID_ENC_STATS * pResult); |
260 |
|
|
261 |
|
int encoder_encode_bframes(Encoder * pEnc, |
262 |
|
XVID_ENC_FRAME * pFrame, |
263 |
|
XVID_ENC_STATS * pResult); |
264 |
|
|
265 |
#endif |
#endif |