Ask for help:YUV->RGB

I meet the question"Couldn’t create overlay!Can’t use YUV data on non
16/24/32 bitsurfaces" when I use YUV overlay.I think the reason is my
video model is 8 bits(256 colors) and donot support more than 8 bits…
so I want to convert YUV data to RGB data.I need some help for
converting YUV to RGB,especially YV12.
thanks.
luke_________________________________________________________________
??? MSN Hotmail? http://www.hotmail.com

I have overcome the question.

I meet the question"Couldn't create overlay!Can't use YUV data on non

16/24/32 bitsurfaces" when I use YUV overlay.I think the reason is my
video model is 8 bits(256 colors) and donot support more than 8 bits…
so I want to convert YUV data to RGB data.I need some help for
converting YUV to RGB,especially YV12.

 thanks a lot again.
 luke_________________________________________________________________

??? MSN Messenger: http://messenger.msn.com/cn