[Mplayer-cvslog] CVS: main/postproc rgb2rgb.c,1.25,1.26 rgb2rgb.h,1.11,1.12
Nick Kurshev
nickols_k at mail.ru
Mon Nov 5 19:52:43 CET 2001
Hello, Michael!
On Mon, 5 Nov 2001 19:26:52 +0100, you wrote:
> Update of /cvsroot/mplayer/main/postproc
> In directory mplayer:/var/tmp.root/cvs-serv20791
>
> Modified Files:
> rgb2rgb.c rgb2rgb.h
> Log Message:
> fixed yv12toyuy2
[snip]
>
> -extern void yv12toyuy2(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, unsigned num_pixels);
> +extern void yv12toyuy2(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst,
> + int width, int height, int lumStride, int chromStride, int dstStride);
So you really guess that width and height can be negative?
Any optimization manual says that unsigned values are preferdly agains signed:
More information about the MPlayer-cvslog
mailing list