[FFmpeg-devel] PATCH BlackFin YUV2 to RGB Color Space Converters
Diego Biurrun
diego
Sat May 5 12:25:25 CEST 2007
On Sat, May 05, 2007 at 05:50:39AM -0400, Marc Hoffman wrote:
Content-Description: message body text
> Diego Biurrun writes:
> > On Sat, May 05, 2007 at 05:16:24AM -0400, Marc Hoffman wrote:
> > > Luca Barbato writes:
> > > > Marc Hoffman wrote:
> > > > > Blackfin optimized YUV420 to RGB CSC Color Space Converters.
> > >
>
> hows this?
Hmmmm..
> --- libswscale/yuv2rgb_bfin.c (revision 0)
> +++ libswscale/yuv2rgb_bfin.c (revision 0)
> @@ -0,0 +1,222 @@
> +static int core_yuv420_rgb (SwsContext *c,
> + unsigned char **in, int *instrides,
> + int srcSliceY, int srcSliceH,
> + unsigned char **oplanes, int *outstrides,
> + ltransform_t lcscf, int rgb)
trailing whitespace
> --- libswscale/yuv2rgb.c (revision 23235)
> +++ libswscale/yuv2rgb.c (working copy)
> @@ -611,6 +611,14 @@
>
> +#ifdef ARCH_BFIN
trailing whitespace
Maybe put the following line in your .emacs:
(custom-set-variables '(show-trailing-whitespace t))
> + if (c->flags & SWS_CPU_CAPS_BFIN)
> + {
> + SwsFunc t = ff_bfin_yuv2rgb_get_func_ptr (c);
> + if(t) return t;
I'd suggest if (t) here.
Diego
More information about the ffmpeg-devel
mailing list