[Qt-embedded-interest] QT/E 4.5.0 glints in yuv422 color space
Tom Cooksey
thomas.cooksey at nokia.com
Wed Jul 29 08:27:07 CEST 2009
> Hello, everyone
>
> The version of Qt I use is QT embedded 4.5.0
>
> 1.It works fine in rgb color space
> 2.when it works in yuv422 color space, it seems color distortion,
> the Qt window glints(Screen refresh), I check this by flush the
> framebuffer with a frame of yuv422 data.
>
> so, my question is as follow:
>
> 1.Does Qt/E have been designed to work in rgb color space?
Yes, Qt for Embedded Linux only supports RGB colour space.
> 2.If so, what can I do to make Qt Window not glink, if color
> distortion can be tolerated
If you check the mailing list archives, there's several threads with
Bryce Salmi about how to add a new QScreen driver which modifies the
data during blit. While Bryce needed to use an ioctl to output to his
framebuffer, you can do the same but perform an RGB->YUV colour space
conversion. Read through the threads and the QScreen documentation and
feel free to post if you get stuck.
Cheers,
Tom
More information about the Qt-embedded-interest
mailing list