[Ffmpeg-devel] [PATCH] Use xvmc_render.h for mplayer

Michael Niedermayer michaelni
Thu Mar 29 20:12:08 CEST 2007


Hi

On Mon, Mar 26, 2007 at 12:36:36AM +0200, Carl Eugen Hoyos wrote:
> Hi!
> 
> Attached patch would allow mplayer to use libavcodecs xvmc_render.h for
> compilation of vo_xvmc.c.
> 
> Please comment, Carl Eugen

ivan?, you are xvmc maintainer ...


> --- libavcodec/xvmc_render.h	2007-02-15 01:00:25.000000000 +0100
> +++ libavcodec/xvmc_render.h	2006-06-06 17:56:56.000000000 +0200
> @@ -10,6 +10,8 @@
>  #define MP_XVMC_STATE_DISPLAY_PENDING 1
>  //the surface is needed for prediction, codec manipulate this
>  #define MP_XVMC_STATE_PREDICTION 2
> +//this surface is needed for subpicture rendering
> +#define MP_XVMC_STATE_OSD_SOURCE 4
>  //                     1337    IDCT MCo
>  #define MP_XVMC_RENDER_MAGIC 0x1DC711C0
>  
> @@ -25,7 +27,8 @@
>    int idct;//does we use IDCT acceleration?
>    int chroma_format;//420,422,444
>    int unsigned_intra;//+-128 for intra pictures after clip
> -  int reserved1[13];//future extenstions (e.g. gmc,qpel)
> +  int reserved1[12];//future extenstions (e.g. gmc,qpel)
> +  void * p_osd_target_surface_render;//pointer to the surface where subpicture is rendered
>    XvMCSurface* p_surface;//pointer to rendered surface, never changed

int and void * can be different size ...

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070329/c6cdd923/attachment.pgp>



More information about the ffmpeg-devel mailing list