Commit ca5a5411 authored by James Zern's avatar James Zern
Browse files

vp9_subexp.h: add a missing prototype

+ include the .h in the .c
silences missing prototype warnings

Change-Id: Ia87366dccb4bf4e9f2ffa5d3ab51ac6ca5488c91
parent 97db651c
......@@ -12,6 +12,7 @@
#include "vp9/common/vp9_entropy.h"
#include "vp9/encoder/vp9_cost.h"
#include "vp9/encoder/vp9_subexp.h"
#include "vp9/encoder/vp9_writer.h"
#define vp9_cost_upd256 ((int)(vp9_cost_one(upd) - vp9_cost_zero(upd)))
......
......@@ -16,11 +16,15 @@
extern "C" {
#endif
void vp9_write_prob_diff_update(vp9_writer *w,
#include "vp9/common/vp9_prob.h"
struct vp9_writer;
void vp9_write_prob_diff_update(struct vp9_writer *w,
vp9_prob newp, vp9_prob oldp);
void vp9_cond_prob_diff_update(vp9_writer *w, vp9_prob *oldp,
unsigned int *ct);
void vp9_cond_prob_diff_update(struct vp9_writer *w, vp9_prob *oldp,
const unsigned int ct[2]);
int vp9_prob_diff_update_savings_search(const unsigned int *ct,
vp9_prob oldp, vp9_prob *bestp,
......
......@@ -19,7 +19,7 @@
extern "C" {
#endif
typedef struct {
typedef struct vp9_writer {
unsigned int lowvalue;
unsigned int range;
int count;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment