Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Gaming > Development Programming Algorithms > Re: RGB to YUV4...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 616 of 679
Post > Topic >>

Re: RGB to YUV422 question

by "Geoffrey Summerhayes" <sumrnot@[EMAIL PROTECTED] > Feb 16, 2007 at 08:47 AM

On Feb 15, 7:29 am, "drulz" <rue...@[EMAIL PROTECTED]
> wrote:
> hi
>
> Im looking for a formula on how to convert RGB to YUV422. All i can
> find on the internet is conversion from RGB to YUV but not 422.
>
> One more thing is im developing on an embedded device which doesnt
> have sup****t for 32 bit data type or even floating point, so im
> looking for a fixed-point formula that uses shorts or char (16bit/
> 8bit) types. I have found a formula that uses unsigned char but i dont
> have an idea on how to use it to convert RGB to YUV 422. The link is
> bellowhttp://msdn2.microsoft.com/en-us/library/ms893078.aspx

Only two ways come to mind, calculate Y, scale the bitmap down,
calculate UV, or convert to YUV444 then reduce size of the UV
planes. The first one is probably easier to do, there's lots
of web info on calculating colours when scaling rgb images.

Getting the Y right is the most im****tant, it's surprising
how far off the UV can get for a pixel and still look ok.

--
Geoff
 




 2 Posts in Topic:
RGB to YUV422 question
"drulz" <rue  2007-02-15 04:29:55 
Re: RGB to YUV422 question
"Geoffrey Summerhaye  2007-02-16 08:47:54 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 18 19:40:56 CDT 2008.