[Libva] Do we have plan to run libva without X11?

Xiang, Haihao haihao.xiang at intel.com
Tue Jun 14 17:48:38 PDT 2011


Only a small piece of code is X11 related. scaling and color space
conversion all are independent of window system. What you need to do is
to define your drawable (parameter 'draw' of vaPutSurface), then render
the surface on this drawable. 


> 2011/6/14 Bian, Jonathan <jonathan.bian at intel.com>:
> > You can develop a non-X11 display backend similar to the Android backend in the source tree.
> >
> The difficulty is to develop video driver like i965_drv_video which is
> currently X11 related. I found that vaPutsurface does two parts of
> work, one is scaling, the other is display, can libva seperate these
> two parts?
> 
> > Regards,
> > Jonathan Bian
> >
> > -----Original Message-----
> > From: libva-bounces+jonathan.bian=intel.com at lists.freedesktop.org [mailto:libva-bounces+jonathan.bian=intel.com at lists.freedesktop.org] On Behalf Of hank peng
> > Sent: Saturday, June 11, 2011 5:47 PM
> > To: libva at lists.freedesktop.org
> > Subject: [Libva] Do we have plan to run libva without X11?
> >
> > Hi, guys:
> > My self-built platform is not based on X11 and I copy data directly to
> > video frame buffer. I have tested mplayer with vaapi patch on playing
> > 1080p movie on my i5-2300 machine, OS distribution is FC14, its
> > performance is very impressive, about 5% CPU usage. So, I hope to run
> > libva on my self-built platform. Now, libva's interface is based on
> > X11, is it possible to provide more independent interface, for
> > example, decoding interface, scaling interface, display interface
> > which may be X11 related.
> >
> >
> > --
> > The simplest is not all best but the best is surely the simplest!
> > _______________________________________________
> > Libva mailing list
> > Libva at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/libva
> >
> 
> 
> 




More information about the Libva mailing list