[MPlayer-dev-eng] [PATCH] remove yuv2rgb from vo_gif, add rgb slice support

Arpi arpi at thot.banki.hu
Sun Feb 23 19:58:58 CET 2003


Hi,

> Attached below is a patch to remove the calls to yuv2rgb from vo_gif89a.
> It also adds support for rgb slices.  My only worry is under what
> conditions mplayer will use draw_frame.  If there is only one supported
> csp, and that csp has draw_slice support and ACCEPT_STRIDE set, will
> draw_frame ever be used?

no.
see vf_vo.c::put_image():

    if(vf->default_caps&VFCAP_ACCEPT_STRIDE)
	video_out->draw_slice(mpi->planes,mpi->stride,mpi->w,mpi->h,mpi->x,mpi->y);
    else
        video_out->draw_frame(mpi->planes);



A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
    "However, many people beg for its inclusion in Debian. Why?" - Gabucino
  "Because having new software in Debian is good." - Josselin Mouette
"Because having good software in Debian is new." - Gabucino


More information about the MPlayer-dev-eng mailing list