summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_encodeframe.c
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2017-06-16 00:51:42 -0700
committerJames Zern <jzern@google.com>2017-06-21 19:00:14 -0700
commit9a329b528544f723b565b3d11c6f383e7e4755b1 (patch)
tree00b0f808ac3773b309562b4c6b18664c28936079 /vp9/encoder/vp9_encodeframe.c
parent3f296533f6a49386e6a2b4ac7e927522b52eaae0 (diff)
downloadlibvpx-9a329b528544f723b565b3d11c6f383e7e4755b1.tar
libvpx-9a329b528544f723b565b3d11c6f383e7e4755b1.tar.gz
libvpx-9a329b528544f723b565b3d11c6f383e7e4755b1.tar.bz2
libvpx-9a329b528544f723b565b3d11c6f383e7e4755b1.zip
vp9_encodeframe: make scale_part_thresh_sumdiff static
quiets -Wmissing-prototypes Change-Id: I696223d75860edba13c6b6f38c1f8db353a6f812
Diffstat (limited to 'vp9/encoder/vp9_encodeframe.c')
-rw-r--r--vp9/encoder/vp9_encodeframe.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c
index 6215e198c..895e56af6 100644
--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -489,8 +489,9 @@ static int set_vt_partitioning(VP9_COMP *cpi, MACROBLOCK *const x,
return 0;
}
-int64_t scale_part_thresh_sumdiff(int64_t threshold_base, int speed, int width,
- int height, int content_state) {
+static int64_t scale_part_thresh_sumdiff(int64_t threshold_base, int speed,
+ int width, int height,
+ int content_state) {
if (speed >= 8) {
if (width <= 640 && height <= 480)
return (5 * threshold_base) >> 2;