Hello Denis,

Monday, October 6, 2003, 9:58:39 PM, you wrote:

DOK> Hi, as the message says, conversion from YUV to RGB is not supported by
DOK> the software driver.

Even if it is slightly off-topic, does anybody know a working code to
convert YUV to RGB? I understand, how to convert a single pixel, but
can somebody give me an example of code that reads pixels on a
surface, performs a simple conversion and writes them to another
surface? Is it a right method, or this is against the spirit of
directfb?

DOK> Did you try PlayTo() with an RGB surface as the destination?

Yes, of course! That was the first thing that I tried, function PlayTo
simply fails.

DOK> Blit() from YUV to RGB is only supported by the Matrox driver, yet.

Not good. Is it so complicated to write this code? If not, I can think
of doing it...

DOK> You may add YUV to RGB conversion to your application, but it
DOK> should be implemented in the software driver some day.

Again,  any  references  to  transcode/mencoder  examples  which get a
simple  mpeg1  file  and  produce  something that can be played on RGB
surface will be highly appreciated.


-- 
Best regards,
 Andrew                            mailto:[EMAIL PROTECTED]



-- 
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with 
"unsubscribe directfb-users" as subject.

Reply via email to