DirectFB - Home of the pragmatist Roadmap


[directfb-users] Re: YUV420P display from a webcam
Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[directfb-users] Re: YUV420P display from a webcam



Quoting Bérci Norbert (bercin@vnet.hu):
> I found out that the problem is that the webcam can not capture in
> RGB16 (which was incorrectly reported by GetSurfaceDescription()), so
> I explicitely requested DSPF_I420 pixel format (in the above code it
> is commented). The error message in this case:
> 
> (!) *** [only copying blits supported for YUV in software] ***
> generic.c (2862)

There's no support for blitting the I420 window surface to the
RGB layer surface. You could try creating an offscreen surface
in I420 format and create the window in YUY2 or UYVY format.
You can then blit each frame from offscreen to the window which
is done by the Matrox IIRC, the YUV window is then blitted by
the Matrox to RGB.

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

                            Convergence GmbH


-- 
Info: To unsubscribe send a mail to ecartis@directfb.org with 
"unsubscribe directfb-users" as subject.



Home | Main Index | Thread Index


directfb.org / Development / Old Archives