[MPlayer-cvslog] r27407 - in trunk: Changelog DOCS/man/en/mplayer.1 DOCS/man/fr/mplayer.1 DOCS/tech/MAINTAINERS configure libvo/video_out.c libvo/vo_wii.c

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Fri Aug 22 19:38:14 CEST 2008


Hello,
On Sun, Aug 03, 2008 at 10:04:03PM +0200, ben wrote:
> +static int
> +draw_slice (uint8_t *src[], int stride[], int w, int h, int x, int y)
> +{
> +  uint8_t *d, *s;
> +
> +  d = center + fb_line_len * y + FB_PIXEL_SIZE * x;
> +  s = src[0];
> +
> +  while (h)
> +  {
> +    memcpy (d, s, w * FB_PIXEL_SIZE); 
> +    d += fb_line_len;
> +    s += stride[0];
> +    h--;
> +  }

memcpy_pic2(d, s, w * FB_PIXEL_SIZE, h, fb_line_len, stride[0], 1);

> +static int
> +preinit (const char *vo_subdevice)
> +{
> +  pre_init_err = 0;
> +
> +  if (!pre_init_err)
> +    return pre_init_err = (fb_preinit (0) ? 0 : -1);

That looks at least obfuscated, possibly wrong to me...



More information about the MPlayer-cvslog mailing list