[FFmpeg-cvslog] r29010 - in trunk/libswscale: yuv2rgb.c yuv2rgb_template.c

Michael Niedermayer michaelni
Sat Mar 21 21:25:02 CET 2009


On Sat, Mar 21, 2009 at 12:03:38PM +0100, C?dric Schieli wrote:
> 2009/3/21 Reimar D?ffinger <Reimar.Doeffinger at gmx.de>:
> > On Sat, Mar 21, 2009 at 11:35:43AM +0100, C?dric Schieli wrote:
[...]
> Index: yuv2rgb_template.c
> ===================================================================
> --- yuv2rgb_template.c	(revision 29020)
> +++ yuv2rgb_template.c	(working copy)
> @@ -465,6 +465,7 @@
>      YUV2RGB_OPERANDS
>  }
>  
> +#if HAVE_7REGS
>  static inline int RENAME(yuva420_rgb32)(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY,
>                                          int srcSliceH, uint8_t* dst[], int dstStride[]){
>      int y, h_size;
> @@ -480,3 +481,4 @@
>      YUV2RGB_ENDLOOP(4)
>      YUV2RGB_OPERANDS_ALPHA
>  }
> +#endif

this should be enough, at least if you move the #if inside the function

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20090321/9cf4de38/attachment.pgp>



More information about the ffmpeg-cvslog mailing list