diff options
author | Johann <johannkoenig@google.com> | 2017-05-30 07:46:43 -0700 |
---|---|---|
committer | Johann <johannkoenig@google.com> | 2017-05-30 07:46:43 -0700 |
commit | ea8b4a450d98726cee5ee6ab443ea85ed0309cb0 (patch) | |
tree | 63e4adadc976b625bbe4e296ddf8e7afd961247d /vpx_dsp/variance.c | |
parent | a5ab38093f817bcded7f8744b5554eb576b7731c (diff) | |
download | libvpx-ea8b4a450d98726cee5ee6ab443ea85ed0309cb0.tar.gz |
comp_avg_pred: alignment
x86 requires 16 byte alignment for some vector loads/stores.
arm does not have the same requirement.
The asserts are still in avg_pred_sse2.c. This just removes them from
the common code.
Change-Id: Ic5175c607a94d2abf0b80d431c4e30c8a6f731b6
Diffstat (limited to 'vpx_dsp/variance.c')
-rw-r--r-- | vpx_dsp/variance.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/vpx_dsp/variance.c b/vpx_dsp/variance.c index b1744047a..421415025 100644 --- a/vpx_dsp/variance.c +++ b/vpx_dsp/variance.c @@ -8,8 +8,6 @@ * be found in the AUTHORS file in the root of the source tree. */ -#include <assert.h> - #include "./vpx_config.h" #include "./vpx_dsp_rtcd.h" @@ -226,9 +224,6 @@ MSE(8, 8) void vpx_comp_avg_pred_c(uint8_t *comp_pred, const uint8_t *pred, int width, int height, const uint8_t *ref, int ref_stride) { int i, j; - /* comp_pred and pred must be 16 byte aligned. */ - assert(((intptr_t)comp_pred & 0xf) == 0); - assert(((intptr_t)pred & 0xf) == 0); for (i = 0; i < height; ++i) { for (j = 0; j < width; ++j) { |