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 |
|
int bframenum_dx50bvop; |
200 |
|
|
201 |
|
int m_framenum; /* debug frame num counter; unlike iFrameNum, does not reset at ivop */ |
202 |
#endif |
#endif |
203 |
|
|
204 |
Statistics sStat; |
Statistics sStat; |
205 |
RateControl rate_control; |
RateControl rate_control; |
206 |
} |
} |
251 |
XVID_ENC_FRAME * pFrame, |
XVID_ENC_FRAME * pFrame, |
252 |
XVID_ENC_STATS * pResult); |
XVID_ENC_STATS * pResult); |
253 |
|
|
254 |
|
int encoder_encode_bframes(Encoder * pEnc, |
255 |
|
XVID_ENC_FRAME * pFrame, |
256 |
|
XVID_ENC_STATS * pResult); |
257 |
|
|
258 |
#endif |
#endif |