Thank you very much, I'll try that. On Mon, Sep 28, 2009 at 2:49 PM, Niels Roest <[email protected]> wrote:
> Hi Karl, > > not much info floating around about that, although your steps are > reasonably simple. > The directory interfaces/IDirectFBVideoProvider contains the "video > provider drivers" (note that the DirectFB-extra package has more drivers, > but I do not see a MNG driver hanging around). > > If you want to add a driver, just copy a template one (e.g. the gif > driver), and add it to the Makefile.am (so use the autogen.sh script to > configure/build). At startup, DirectFB will load all drivers and adds them > to a pool. This will "register" the Construct() and Probe() functions. Now > if you create a video driver, all the registered Probe() functions will be > called (which the first 64 bytes of data of the stream), until one replies > DFB_OK which will trigger calling Construct(). The other functions should be > reasonably self-explanatory.. > > hth > Niels > > Karl Phillip wrote: > >> Hi all, >> >> I was wondering how could I create a custom VideoProvider for, let's say, >> playing MNG animations. I couldn't find any info on this subject. Have >> anyone done this kind of work before? What are the steps involved in this >> task so we could later on do a simple "CreateVideoProvider()" in order to >> play and control a MNG animation. >> >> If you guys have any documentation on this, it would be very appreciated. >> >> Thanks, >> []'s >> >> >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> directfb-users mailing list >> [email protected] >> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users >> >> > > > -- > > .------------------------------------------. > | DirectFB - Hardware accelerated graphics | > | http://www.directfb.org/ | > "------------------------------------------" >
_______________________________________________ directfb-users mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
