[FFmpeg-devel] [PATCH 2/2] dsputil/me/pixels: Actually use av_restrict

Michael Niedermayer michaelni at gmx.at
Fri Sep 7 22:19:35 CEST 2012


On Fri, Sep 07, 2012 at 09:39:12AM -0400, Derek Buitenhuis wrote:
[...]
> --- a/libavcodec/dsputil_template.c
> +++ b/libavcodec/dsputil_template.c
> @@ -193,12 +193,12 @@ void FUNC(ff_emulated_edge_mc)(uint8_t *buf, const uint8_t *src, int linesize, i
>  }
>  
>  #define DCTELEM_FUNCS(dctcoef, suffix)                                  \
> -static void FUNCC(get_pixels ## suffix)(DCTELEM *restrict _block,       \
> +static void FUNCC(get_pixels ## suffix)(DCTELEM *av_restrict _block,       \

i wonder, isnt it simpler and cleaner if these get replaced by that
msvc wraper script ?
or was there some other platform/case that needs these ?

[..]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is what and why we do it that matters, not just one of them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120907/3e4f6ed8/attachment.asc>


More information about the ffmpeg-devel mailing list