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/dsputil.c | |
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/dsputil.c')
-rw-r--r-- | libavcodec/dsputil.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index 8ac4254..7b8d35f 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -353,7 +353,7 @@ static int sse16_c(void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h) return s; } -static void diff_pixels_c(DCTELEM *restrict block, const uint8_t *s1, +static void diff_pixels_c(DCTELEM *av_restrict block, const uint8_t *s1, const uint8_t *s2, int stride){ int i; @@ -374,7 +374,7 @@ static void diff_pixels_c(DCTELEM *restrict block, const uint8_t *s1, } -static void put_pixels_clamped_c(const DCTELEM *block, uint8_t *restrict pixels, +static void put_pixels_clamped_c(const DCTELEM *block, uint8_t *av_restrict pixels, int line_size) { int i; @@ -395,7 +395,7 @@ static void put_pixels_clamped_c(const DCTELEM *block, uint8_t *restrict pixels, } } -static void put_pixels_clamped4_c(const DCTELEM *block, uint8_t *restrict pixels, +static void put_pixels_clamped4_c(const DCTELEM *block, uint8_t *av_restrict pixels, int line_size) { int i; @@ -412,7 +412,7 @@ static void put_pixels_clamped4_c(const DCTELEM *block, uint8_t *restrict pixels } } -static void put_pixels_clamped2_c(const DCTELEM *block, uint8_t *restrict pixels, +static void put_pixels_clamped2_c(const DCTELEM *block, uint8_t *av_restrict pixels, int line_size) { int i; @@ -428,7 +428,7 @@ static void put_pixels_clamped2_c(const DCTELEM *block, uint8_t *restrict pixels } static void put_signed_pixels_clamped_c(const DCTELEM *block, - uint8_t *restrict pixels, + uint8_t *av_restrict pixels, int line_size) { int i, j; @@ -448,7 +448,7 @@ static void put_signed_pixels_clamped_c(const DCTELEM *block, } } -static void add_pixels_clamped_c(const DCTELEM *block, uint8_t *restrict pixels, +static void add_pixels_clamped_c(const DCTELEM *block, uint8_t *av_restrict pixels, int line_size) { int i; @@ -468,7 +468,7 @@ static void add_pixels_clamped_c(const DCTELEM *block, uint8_t *restrict pixels, } } -static void add_pixels_clamped4_c(const DCTELEM *block, uint8_t *restrict pixels, +static void add_pixels_clamped4_c(const DCTELEM *block, uint8_t *av_restrict pixels, int line_size) { int i; @@ -484,7 +484,7 @@ static void add_pixels_clamped4_c(const DCTELEM *block, uint8_t *restrict pixels } } -static void add_pixels_clamped2_c(const DCTELEM *block, uint8_t *restrict pixels, +static void add_pixels_clamped2_c(const DCTELEM *block, uint8_t *av_restrict pixels, int line_size) { int i; |