[x264-devel] commit: Convert to a unified "pixel" type for pixel data (Oskar Arvidsson )

Jason Garrett-Glaser darkshikari at gmail.com
Fri Jun 4 07:32:20 CEST 2010


On Thu, Jun 3, 2010 at 10:15 AM, avcoder <ffmpeg at gmail.com> wrote:
> It seems that the following code breaks on non-16 bytes stack such as MSVC++
> +static void ALWAYS_INLINE pixel_memset( pixel *dst, int value, int size )
> +{
> +    for( int i = 0; i < size; i++ )
> +        dst[i] = value;
> +}
>
> because: <compiled by gcc 4.4.4>

Then use -fno-tree-vectorize.  I am not responsible for what your
stupid compiler chooses to do with my perfectly correct, portable C
code.

Dark Shikari


More information about the x264-devel mailing list