3 |
|
|
4 |
#include "../portab.h" |
#include "../portab.h" |
5 |
|
|
6 |
typedef struct { |
typedef struct |
7 |
|
{ |
8 |
int64_t size; |
int64_t size; |
9 |
int32_t count; |
int32_t count; |
10 |
} QuantInfo; |
} |
11 |
|
QuantInfo; |
12 |
|
|
13 |
typedef struct |
typedef struct |
14 |
{ |
{ |
28 |
int32_t averaging_period; |
int32_t averaging_period; |
29 |
int32_t reaction_delay_factor; |
int32_t reaction_delay_factor; |
30 |
int32_t buffer; |
int32_t buffer; |
31 |
} RateControl; |
} |
32 |
|
RateControl; |
33 |
|
|
34 |
void RateControlInit(RateControl *rate_control, |
void RateControlInit(RateControl *rate_control, |
35 |
uint32_t target_rate, |
uint32_t target_rate, |
49 |
int keyframe); |
int keyframe); |
50 |
|
|
51 |
#endif /* _RATECONTROL_H_ */ |
#endif /* _RATECONTROL_H_ */ |
|
|
|