summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_variance.h
diff options
context:
space:
mode:
authorJim Bankoski <jimbankoski@google.com>2013-02-28 08:32:14 -0800
committerJim Bankoski <jimbankoski@google.com>2013-02-28 08:46:35 -0800
commit714aa9f3c072624186df161589bacbb778369312 (patch)
tree22563b7ebd98666e4c29430196f2fdcde37e6b0d /vp9/encoder/vp9_variance.h
parentb715e371c05324c84b3a58ca19f5348caa2ff695 (diff)
downloadlibvpx-714aa9f3c072624186df161589bacbb778369312.tar
libvpx-714aa9f3c072624186df161589bacbb778369312.tar.gz
libvpx-714aa9f3c072624186df161589bacbb778369312.tar.bz2
libvpx-714aa9f3c072624186df161589bacbb778369312.zip
this commit converts all sad ptrs to uint32
sse4_1 code used uint16_t for returning sad, but that won't work for 32x32 or 64x64. This code fixes the assembly for those and also reenables sse4_1 on linux Change-Id: I5ce7288d581db870a148e5f7c5092826f59edd81
Diffstat (limited to 'vp9/encoder/vp9_variance.h')
-rw-r--r--vp9/encoder/vp9_variance.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_variance.h b/vp9/encoder/vp9_variance.h
index eb903bf94..8b32524a2 100644
--- a/vp9/encoder/vp9_variance.h
+++ b/vp9/encoder/vp9_variance.h
@@ -29,7 +29,7 @@ typedef void (*vp9_sad_multi1_fn_t)(const uint8_t *src_ptr,
int source_stride,
const uint8_t *ref_ptr,
int ref_stride,
- unsigned short *sad_array);
+ unsigned int *sad_array);
typedef void (*vp9_sad_multi_d_fn_t)(const uint8_t *src_ptr,
int source_stride,