summaryrefslogtreecommitdiff
path: root/vp9/common/vp9_scale.h
diff options
context:
space:
mode:
Diffstat (limited to 'vp9/common/vp9_scale.h')
-rw-r--r--vp9/common/vp9_scale.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/vp9/common/vp9_scale.h b/vp9/common/vp9_scale.h
index 0414dde5e..21a46dd2f 100644
--- a/vp9/common/vp9_scale.h
+++ b/vp9/common/vp9_scale.h
@@ -14,6 +14,8 @@
#include "vp9/common/vp9_mv.h"
#include "vp9/common/vp9_convolve.h"
+struct VP9Common;
+
#define VP9_REF_SCALE_SHIFT 14
#define VP9_REF_NO_SCALE (1 << VP9_REF_SCALE_SHIFT)
@@ -33,7 +35,8 @@ struct scale_factors {
convolve_fn_t predict[2][2][2]; // horiz, vert, avg
};
-void vp9_setup_scale_factors_for_frame(struct scale_factors *scale,
+void vp9_setup_scale_factors_for_frame(struct VP9Common *cm,
+ struct scale_factors *scale,
int other_w, int other_h,
int this_w, int this_h);