[FFmpeg-devel] SWSCALE: Colorspace conversion for images

Frank Barchard fbarchard at google.com
Wed Mar 30 20:41:34 CEST 2011


Fix a typo in the patch.  Although 21502 works with the same performance,
the intent was 21504 which is 16 byte aligned.

--- ffmpeg_orig/libswscale/swscale_internal.h   2011-03-30 11:37:47 -0700
+++ ffmpeg/libswscale/swscale_internal.h        2011-03-30 11:31:43 -0700
@@ -34,7 +34,7 @@
 #define MAX_FILTER_SIZE 256

 #if ARCH_X86
-#define VOFW 21502
+#define VOFW 21504
 #else
 #define VOFW 2048 // faster on PPC and not tested on others
 #endif



On Wed, Mar 30, 2011 at 10:41 AM, Frank Barchard <fbarchard at google.com>wrote:

> On Wed, Mar 30, 2011 at 3:27 AM, Michael Niedermayer <michaelni at gmx.at>wrote:
>
>>
>> will apply the patch in a moment locally and push later
>>
>
> Ack... typo in the email.  The patch should read 21504, not 21502.
>
> diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
> index daa6731..fc684f1 100644
> --- a/libswscale/swscale_internal.h
> +++ b/libswscale/swscale_internal.h
> @@ -34,7 +34,7 @@
>  #define MAX_FILTER_SIZE 256
>
>  #if ARCH_X86
> -#define VOFW 5120
> +#define VOFW 21504
>  #else
>  #define VOFW 2048 // faster on PPC and not tested on others
>  #endif
>
> In Chromium this is CL79856, 27_swscaler_21504.patch
>
>
>


More information about the ffmpeg-devel mailing list