[libavg-devel] video4Linux2 on libavg: some design choices

OXullo Intersecans x at 02l.net
Tue Jun 26 10:15:17 CEST 2007


Il giorno 26/giu/07, alle ore 09:15, Ben Lau ha scritto:

> May I know what is your capture device in hand? I saw the code
> supports YUV422, but unfortunately none of my USB capture devices
> support this pixel format. I have a Logitech Quickcam Pro 4000 (PWC) ,
> Logitech Quickcam for Notebook Pro (UVC) , Pinnacle Dazzle DVC
> 90(em28xx) and Kworld DVD maker(em28xx). They use YUV420P or YUYV as
> input format.

That was our first targeted colour pixelformat, but we had to  
fallback to UYVY, because Bitmap supports directly this YUV422  
variant and we would replicate, at first, the template coming from  
firewire camera.

Don't they support grayscale or rgb either?

> I have tried to fix the problem, but the Bitmap class do not support
> the conversion from YUV420P to YUYV. I think it could be done by
> follow the template of YUV422toBGR32Line() and YUV411toBGR32Line() to
> write a YUV420toBGR32Line() , then fill up the Bitmap::YCbCrtoBGR().

that's simple and surely has to be done

> ( Attached my work to recognize YUV420 for avg layout file , and
> prompt error message when the assigned image format is not support)

we wish to to all the work very soon,
for now, thanks for your contribution!

--
OXullo Intersecans

0 2 L > Outside Standing Level
http://www.02L.net



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.datenhain.de/pipermail/libavg-devel/attachments/20070626/a58de23b/attachment-0001.htm


More information about the libavg-devel mailing list