summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann Koenig <johannkoenig@google.com>2017-05-30 16:21:05 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-05-30 16:21:05 +0000
commitb9649d240768cdcfc233960056aafb9ed1a3db14 (patch)
tree25c372e77b05158e0e0ac7b079e0785ea17d5c16
parent48c0e13286020d6ce8a810197b6736ae4c1ee2dc (diff)
parentea8b4a450d98726cee5ee6ab443ea85ed0309cb0 (diff)
downloadlibvpx-b9649d240768cdcfc233960056aafb9ed1a3db14.tar
libvpx-b9649d240768cdcfc233960056aafb9ed1a3db14.tar.gz
libvpx-b9649d240768cdcfc233960056aafb9ed1a3db14.tar.bz2
libvpx-b9649d240768cdcfc233960056aafb9ed1a3db14.zip
Merge "comp_avg_pred: alignment"
-rw-r--r--vpx_dsp/variance.c5
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) {