Re: Trouble displaying a jpeg image

Siarhei Siamashka <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CACY+gR2QuxiTCyQq0Zo3nnrVZh1RoV2XKSHq7v9p+0shnNco5w@mail.gmail.com>
On Sun, Jan 8, 2012 at 5:14 AM, Jeffrey Britton <[email protected]> wrote:
> Thanks.
>
> In case it helps anybody, the following ended up being the fastest and most
> direct method that I could work out.
> Nonetheless, the conversion from rgb to bgra is quite slow(150ms on my
> single core 2.9Ghz machine) and should be done in 'C'.
> I tried Cython with no signifcant improvement.

Or if the performance actually does matter, then BGRA should be
directly converted from the decoded YUV data without the mostly
useless intermediate 24-bit RGB representation. Like libjpeg-turbo can
do with JCS extensions.

-- 
Best regards,
Siarhei Siamashka
--
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.