pwc
[Top] [All Lists]

Re: [pwc] RGB 24 using PWC 10.0..0.7a

To: Philips Webcam Linux Driver <>
Subject: Re: [pwc] RGB 24 using PWC 10.0..0.7a
From: Luc Saillard <>
Date: Thu, 1 Sep 2005 10:28:37 +0200
On Wed, Aug 31, 2005 at 10:52:22PM -0700, Nzer Zaidenberg wrote:
> Hello,
> 
> I am authoring an application that requires RGB24,
> when trying to set fromat to RGB24 i see that it is
> successed on ioctl but the fromat remains YUV420.
> 

No, ioctl is to request a format, but if the format is not native to the
webcam, you need to convert it in your app. Think about, if every driver need
to convert data, from -> to any colorspace. Using the YUV420, this takes less
time to read and write into memory, so less latency to grab an image.

> is it possible at all to get RGB24 using PWC driver?
 
I've post some code before, to convert a YUV420P to RGB24 colorspace. Search
in the mailing-list with google.

Luc
_______________________________________________
pwc mailing list

http://lists.saillard.org/mailman/listinfo/pwc

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU