summaryrefslogtreecommitdiff
path: root/vp9/encoder
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2015-06-12 17:55:08 -0700
committerJames Zern <jzern@google.com>2015-06-12 17:55:08 -0700
commit471302a07b8bf92b345a5ea032d219d418b870da (patch)
tree76fe37bc665d98e184475ae46590940f14b97d90 /vp9/encoder
parenta4bb5f2a29fc925f0fd033490c1c8ecb54e502c3 (diff)
downloadlibvpx-471302a07b8bf92b345a5ea032d219d418b870da.tar
libvpx-471302a07b8bf92b345a5ea032d219d418b870da.tar.gz
libvpx-471302a07b8bf92b345a5ea032d219d418b870da.tar.bz2
libvpx-471302a07b8bf92b345a5ea032d219d418b870da.zip
vp9_encoder: hide adjust_image_stat()
this function is only needed with CONFIG_INTERNAL_STATS Change-Id: I9c8d16cb9069dd8370f8b30329933c0d97f6d0aa
Diffstat (limited to 'vp9/encoder')
-rw-r--r--vp9/encoder/vp9_encoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_encoder.c b/vp9/encoder/vp9_encoder.c
index ba38d640d..b5d55c8ff 100644
--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -3962,7 +3962,6 @@ static void check_src_altref(VP9_COMP *cpi,
extern double vp9_get_blockiness(const unsigned char *img1, int img1_pitch,
const unsigned char *img2, int img2_pitch,
int width, int height);
-#endif
static void adjust_image_stat(double y, double u, double v, double all,
ImageStat *s) {
@@ -3972,6 +3971,7 @@ static void adjust_image_stat(double y, double u, double v, double all,
s->stat[ALL] += all;
s->worst = MIN(s->worst, all);
}
+#endif // CONFIG_INTERNAL_STATS
int vp9_get_compressed_data(VP9_COMP *cpi, unsigned int *frame_flags,
size_t *size, uint8_t *dest,