ref: b9649d240768cdcfc233960056aafb9ed1a3db14
parent: 48c0e13286020d6ce8a810197b6736ae4c1ee2dc
parent: ea8b4a450d98726cee5ee6ab443ea85ed0309cb0
author: Johann Koenig <johannkoenig@google.com>
date: Tue May 30 12:21:05 EDT 2017
Merge "comp_avg_pred: alignment"
--- 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 @@
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) {