[MPlayer-dev-eng] [PATCH] Color SPU rendering

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Jan 27 12:43:14 CET 2008


On Sun, Jan 27, 2008 at 12:21:00PM +0100, Benjamin Zores wrote:
> Hi,
>
> In an attempt to start the color spu patchset for dvdnav, here's a first 
> patch.
>
> It adds a new VO control that will be used to ask each vo which colorspace 
> it can use to render SPUs.
> Next patch will implement this VOCTRL for each vo driver.
>
> Ok to apply ?
>
> Ben

> Index: libvo/video_out.h
> ===================================================================
> --- libvo/video_out.h	(revision 25871)
> +++ libvo/video_out.h	(working copy)
> @@ -84,6 +84,17 @@
>    int w,h;
>  } mp_win_t;
>  
> +// Query supported color space for SPU rendering
> +#define VOCTRL_COLORSPU_SUPPORT 33
> +
> +typedef enum {
> +  DVDNAV_SPU_NONE,
> +  DVDNAV_SPU_YUV,
> +  DVDNAV_SPU_YUY,
> +  DVDNAV_SPU_RGB,
> +  DVDNAV_SPU_BGR,
> +} nav_spu_type_t;

Uh, those values make no sense, at least not without further specifying
them.
And why use new defines anyway, why not just use IMGFMT_ ??



More information about the MPlayer-dev-eng mailing list