Thread View: borland.public.cppbuilder.multimedia
1 messages
1 total messages
Started by KL Chin
Tue, 27 Jul 2004 12:04
Overlay Color Key
Author: KL Chin
Date: Tue, 27 Jul 2004 12:04
Date: Tue, 27 Jul 2004 12:04
16 lines
1270 bytes
1270 bytes
Hi,
How do convert correct RGB color to YUV for Video Overlay Color Key
for DirectX with 16 Bit color video display.
Is the below code correct? I found it only work for 24 or 32 Bit color
ddofx.dckDestColorkey.dwColorSpaceLowValue =
RGB( GetBValue(clOverYUV),GetGValue(clOverYUV),GetRValue(clOverYUV) );
ddofx.dckDestColorkey.dwColorSpaceHighValue =
RGB( GetBValue(clOverYUV),GetGValue(clOverYUV),GetRValue(clOverYUV) );
Many thx in advanced.
Regards
KL Chin
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads