diff options
author | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2012-09-07 09:39:12 -0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-09 03:55:56 +0200 |
commit | e62e455f7b4c5b148f5a289ba823dcc71d6ca389 (patch) | |
tree | 9d7767b8fca714cc861e8adce6fd8b65aa43d319 /libavcodec/ppc | |
parent | d48ebfbdea50d7f3a4e61e772b92960ff7b8d4ea (diff) | |
download | ffmpeg-streaming-e62e455f7b4c5b148f5a289ba823dcc71d6ca389.zip ffmpeg-streaming-e62e455f7b4c5b148f5a289ba823dcc71d6ca389.tar.gz |
dsputil/me/pixels: Actually use av_restrict
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/ppc')
-rw-r--r-- | libavcodec/ppc/dsputil_altivec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ppc/dsputil_altivec.c b/libavcodec/ppc/dsputil_altivec.c index 5f14f1d..5619c3f 100644 --- a/libavcodec/ppc/dsputil_altivec.c +++ b/libavcodec/ppc/dsputil_altivec.c @@ -476,7 +476,7 @@ static int pix_sum_altivec(uint8_t * pix, int line_size) return s; } -static void get_pixels_altivec(DCTELEM *restrict block, const uint8_t *pixels, int line_size) +static void get_pixels_altivec(DCTELEM *av_restrict block, const uint8_t *pixels, int line_size) { int i; vector unsigned char perm = vec_lvsl(0, pixels); @@ -502,7 +502,7 @@ static void get_pixels_altivec(DCTELEM *restrict block, const uint8_t *pixels, i } } -static void diff_pixels_altivec(DCTELEM *restrict block, const uint8_t *s1, +static void diff_pixels_altivec(DCTELEM *av_restrict block, const uint8_t *s1, const uint8_t *s2, int stride) { int i; |