Index: source/libvpx/vp8/encoder/temporal_filter.c |
diff --git a/source/libvpx/vp8/encoder/temporal_filter.c b/source/libvpx/vp8/encoder/temporal_filter.c |
index 04501ac9bdf73a91ea4103600b135ee042d8f9f0..ba8b009771097206eef0f2d6475ab72c939eab78 100644 |
--- a/source/libvpx/vp8/encoder/temporal_filter.c |
+++ b/source/libvpx/vp8/encoder/temporal_filter.c |
@@ -238,12 +238,12 @@ static void vp8_temporal_filter_iterate_c |
int mb_rows = cpi->common.mb_rows; |
int mb_y_offset = 0; |
int mb_uv_offset = 0; |
- DECLARE_ALIGNED_ARRAY(16, unsigned int, accumulator, 16*16 + 8*8 + 8*8); |
- DECLARE_ALIGNED_ARRAY(16, unsigned short, count, 16*16 + 8*8 + 8*8); |
+ DECLARE_ALIGNED(16, unsigned int, accumulator[16*16 + 8*8 + 8*8]); |
+ DECLARE_ALIGNED(16, unsigned short, count[16*16 + 8*8 + 8*8]); |
MACROBLOCKD *mbd = &cpi->mb.e_mbd; |
YV12_BUFFER_CONFIG *f = cpi->frames[alt_ref_index]; |
unsigned char *dst1, *dst2; |
- DECLARE_ALIGNED_ARRAY(16, unsigned char, predictor, 16*16 + 8*8 + 8*8); |
+ DECLARE_ALIGNED(16, unsigned char, predictor[16*16 + 8*8 + 8*8]); |
/* Save input state */ |
unsigned char *y_buffer = mbd->pre.y_buffer; |
@@ -274,8 +274,8 @@ static void vp8_temporal_filter_iterate_c |
int i, j, k; |
int stride; |
- vpx_memset(accumulator, 0, 384*sizeof(unsigned int)); |
- vpx_memset(count, 0, 384*sizeof(unsigned short)); |
+ memset(accumulator, 0, 384*sizeof(unsigned int)); |
+ memset(count, 0, 384*sizeof(unsigned short)); |
#if ALT_REF_MC_ENABLED |
cpi->mb.mv_col_min = -((mb_col * 16) + (16 - 5)); |
@@ -502,7 +502,7 @@ void vp8_temporal_filter_prepare_c |
start_frame = distance + frames_to_blur_forward; |
/* Setup frame pointers, NULL indicates frame not included in filter */ |
- vpx_memset(cpi->frames, 0, max_frames*sizeof(YV12_BUFFER_CONFIG *)); |
+ memset(cpi->frames, 0, max_frames*sizeof(YV12_BUFFER_CONFIG *)); |
for (frame = 0; frame < frames_to_blur; frame++) |
{ |
int which_buffer = start_frame - frame; |