vp9/encoder: fix function prototypes
silences warnings about declarations not matching prototype Change-Id: I30b9a24f78ebe3b9cc2bbfcd3a7363ba7c328e4d
This commit is contained in:
parent
1c3fc43771
commit
ef951d1919
@ -20,7 +20,7 @@ extern "C" {
|
||||
|
||||
void vp9_entropy_mv_init();
|
||||
|
||||
void vp9_write_nmv_probs(VP9_COMMON *cm, int usehp, vp9_writer* const);
|
||||
void vp9_write_nmv_probs(VP9_COMMON *cm, int usehp, vp9_writer *w);
|
||||
|
||||
void vp9_encode_mv(VP9_COMP *cpi, vp9_writer* w, const MV* mv, const MV* ref,
|
||||
const nmv_context* mvctx, int usehp);
|
||||
|
@ -253,7 +253,7 @@ static void calc_iframe_target_size(VP9_COMP *cpi) {
|
||||
}
|
||||
|
||||
// Update the buffer level: leaky bucket model.
|
||||
void vp9_update_buffer_level(VP9_COMP *const cpi, int encoded_frame_size) {
|
||||
void vp9_update_buffer_level(VP9_COMP *cpi, int encoded_frame_size) {
|
||||
const VP9_COMMON *const cm = &cpi->common;
|
||||
const VP9_CONFIG *oxcf = &cpi->oxcf;
|
||||
RATE_CONTROL *const rc = &cpi->rc;
|
||||
@ -269,7 +269,7 @@ void vp9_update_buffer_level(VP9_COMP *const cpi, int encoded_frame_size) {
|
||||
rc->buffer_level = MIN(rc->bits_off_target, oxcf->maximum_buffer_size);
|
||||
}
|
||||
|
||||
int vp9_drop_frame(VP9_COMP *const cpi) {
|
||||
int vp9_drop_frame(VP9_COMP *cpi) {
|
||||
const VP9_CONFIG *oxcf = &cpi->oxcf;
|
||||
RATE_CONTROL *const rc = &cpi->rc;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user