If testConfiguration returns unsupported, it means that your hardware driver does not have a YV12 implementation; possibly because your graphic card does not offer this possibility.
This is no big drama, as DirectFB can do the conversion in software. E.g. create an off-screen surface with YV12-format, use it as your canvas, and then Blit it to the visual surface (i.e. the surface bound to a display layer). Don't forget to Flip afterwards if your layer uses double buffering. Greets Niels Franklin Suvi wrote: > Hi, > > I'm new to DirectFB.. I'm trying to run an application which tries to > test the configuration using testConfiguration() with the > pixelformat=DSPF_YV12 and the function returns Not Supported in my PC. > Could anyone help me in resolving this.. > > Also when I run 'dfblayer' i'm getting the pixelformat to be LUT8.. > Since my application runs only with YV12, it would be helpful if anyone > helps me to configure for YV12 pixelformat. > > Thanks in advance.. > > Regards, > Franklin Suvi. > > > The information contained in this electronic message and any attachments to > this message are intended for the exclusive use of the addressee(s) and may > contain proprietary, confidential or privileged information. If you are not > the intended recipient, you should not disseminate, distribute or copy this > e-mail. Please notify the sender immediately and destroy all copies of this > message and any attachments contained in it. > _______________________________________________ > directfb-users mailing list > directfb-users@directfb.org > http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users > > -- .------------------------------------------. | DirectFB - Hardware accelerated graphics | | http://www.directfb.org/ | "------------------------------------------" _______________________________________________ directfb-users mailing list directfb-users@directfb.org http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users