46 |
#include "xvid.h" |
#include "xvid.h" |
47 |
#include "portab.h" |
#include "portab.h" |
48 |
#include "global.h" |
#include "global.h" |
|
#include "image/image.h" |
|
49 |
#include "utils/ratecontrol.h" |
#include "utils/ratecontrol.h" |
50 |
|
|
51 |
/***************************************************************************** |
/***************************************************************************** |
92 |
uint32_t fincr; |
uint32_t fincr; |
93 |
uint32_t fbase; |
uint32_t fbase; |
94 |
|
|
95 |
|
/* constants */ |
96 |
|
int global; |
97 |
|
int bquant_ratio; |
98 |
|
int bquant_offset; |
99 |
|
int frame_drop_ratio; |
100 |
|
|
101 |
#ifdef _SMP |
#ifdef _SMP |
102 |
int num_threads; |
int num_threads; |
103 |
#endif |
#endif |
104 |
|
|
105 |
|
int iMaxKeyInterval; |
106 |
int max_bframes; |
int max_bframes; |
107 |
|
|
108 |
/* rounding type; alternate 0-1 after each interframe */ |
/* rounding type; alternate 0-1 after each interframe */ |
115 |
uint32_t m_rounding_type; |
uint32_t m_rounding_type; |
116 |
uint32_t m_fcode; |
uint32_t m_fcode; |
117 |
uint32_t m_quarterpel; |
uint32_t m_quarterpel; |
118 |
|
int m_reduced_resolution; /* reduced_resolution_enable */ |
119 |
|
|
120 |
HINTINFO *hint; |
HINTINFO *hint; |
121 |
|
|
168 |
MBParam mbParam; |
MBParam mbParam; |
169 |
|
|
170 |
int iFrameNum; |
int iFrameNum; |
|
int iMaxKeyInterval; |
|
171 |
int bitrate; |
int bitrate; |
172 |
|
|
173 |
// images |
// images |
184 |
IMAGE vInterHV; |
IMAGE vInterHV; |
185 |
IMAGE vInterHVf; |
IMAGE vInterHVf; |
186 |
|
|
|
/* constants */ |
|
|
int global; |
|
|
int bquant_ratio; |
|
|
int bquant_offset; |
|
|
int frame_drop_ratio; |
|
|
|
|
187 |
/* image queue */ |
/* image queue */ |
188 |
int queue_head; |
int queue_head; |
189 |
int queue_tail; |
int queue_tail; |