Index: source/libvpx/vp9/common/vp9_reconintra.c |
diff --git a/source/libvpx/vp9/common/vp9_reconintra.c b/source/libvpx/vp9/common/vp9_reconintra.c |
index 825d03d69b2190b9e5e02beaa9e849526896ce09..07e5acf0fd6985e4f048beca2358fa55d9225cf9 100644 |
--- a/source/libvpx/vp9/common/vp9_reconintra.c |
+++ b/source/libvpx/vp9/common/vp9_reconintra.c |
@@ -12,6 +12,7 @@ |
#include "./vp9_rtcd.h" |
#include "vpx_mem/vpx_mem.h" |
+#include "vpx_ports/mem.h" |
#include "vpx_ports/vpx_once.h" |
#include "vp9/common/vp9_reconintra.h" |
@@ -658,7 +659,7 @@ static void build_intra_predictors_high(const MACROBLOCKD *xd, |
uint16_t *dst = CONVERT_TO_SHORTPTR(dst8); |
uint16_t *ref = CONVERT_TO_SHORTPTR(ref8); |
DECLARE_ALIGNED(16, uint16_t, left_col[32]); |
- DECLARE_ALIGNED(16, uint16_t, above_data[128 + 16]); |
+ DECLARE_ALIGNED(16, uint16_t, above_data[64 + 16]); |
uint16_t *above_row = above_data + 16; |
const uint16_t *const_above_row = above_row; |
const int bs = 4 << tx_size; |
@@ -781,7 +782,7 @@ static void build_intra_predictors(const MACROBLOCKD *xd, const uint8_t *ref, |
int plane) { |
int i; |
DECLARE_ALIGNED(16, uint8_t, left_col[32]); |
- DECLARE_ALIGNED(16, uint8_t, above_data[128 + 16]); |
+ DECLARE_ALIGNED(16, uint8_t, above_data[64 + 16]); |
uint8_t *above_row = above_data + 16; |
const uint8_t *const_above_row = above_row; |
const int bs = 4 << tx_size; |
@@ -943,6 +944,6 @@ void vp9_predict_intra_block(const MACROBLOCKD *xd, int block_idx, int bwl_in, |
have_top, have_left, have_right, x, y, plane); |
} |
-void vp9_init_intra_predictors() { |
+void vp9_init_intra_predictors(void) { |
once(vp9_init_intra_predictors_internal); |
} |