52 |
uint32_t mb_width; |
uint32_t mb_width; |
53 |
uint32_t mb_height; |
uint32_t mb_height; |
54 |
|
|
55 |
|
/* frame rate increment & base */ |
56 |
|
uint32_t fincr; |
57 |
|
uint32_t fbase; |
58 |
|
|
59 |
/* rounding type; alternate 0-1 after each interframe */ |
/* rounding type; alternate 0-1 after each interframe */ |
60 |
/* 1 <= fixed_code <= 4 |
/* 1 <= fixed_code <= 4 |
61 |
automatically adjusted using motion vector statistics inside |
automatically adjusted using motion vector statistics inside |
68 |
|
|
69 |
HINTINFO * hint; |
HINTINFO * hint; |
70 |
|
|
71 |
|
#ifdef BFRAMES |
72 |
|
uint32_t m_seconds; |
73 |
|
uint32_t m_ticks; |
74 |
|
#endif |
75 |
|
|
76 |
} MBParam; |
} MBParam; |
77 |
|
|
78 |
|
|
87 |
uint32_t fcode; |
uint32_t fcode; |
88 |
uint32_t bcode; |
uint32_t bcode; |
89 |
|
|
90 |
uint32_t tick; |
#ifdef BFRAMES |
91 |
|
uint32_t seconds; |
92 |
|
uint32_t ticks; |
93 |
|
#endif |
94 |
|
|
95 |
IMAGE image; |
IMAGE image; |
96 |
|
|
134 |
IMAGE vInterHV; |
IMAGE vInterHV; |
135 |
IMAGE vInterHVf; |
IMAGE vInterHVf; |
136 |
|
|
137 |
|
#ifdef BFRAMES |
138 |
|
/* constants */ |
139 |
|
int max_bframes; |
140 |
|
int bquant_ratio; |
141 |
|
/* vars */ |
142 |
|
int bframenum_head; |
143 |
|
int bframenum_tail; |
144 |
|
int flush_bframes; |
145 |
|
|
146 |
|
FRAMEINFO ** bframes; |
147 |
|
IMAGE f_refh; |
148 |
|
IMAGE f_refv; |
149 |
|
IMAGE f_refhv; |
150 |
|
#endif |
151 |
Statistics sStat; |
Statistics sStat; |
152 |
} |
} |
153 |
Encoder; |
Encoder; |