Re: BGR->RGB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> "works for me". :-).

For me, too :) Almost. I must have missed changing something, somewhere, to
accomodate 32 bits instead of just 24. Not to worry. At least I see part of
the image.

However, frame rate has dropped to my previous levels, 13fps. But that's
with a 32bit image now, not 24bit. Huge difference. Imagine what it will do
at 16bit!

> For 16-bit, you could adapt the thing a bit to handle 2 bytes at the
> same time. This is what libs like hermes or libcolorspace do:

[snip]

> Or so... Again, this is untested. ;-). Compiler will do some
> optimizations with the temporary variable, so be sure to use -O2 or so
> with gcc.

Cool. Thank you ever so much, Ronald!

Just saw Mark's email. Thanks, Mark. I'll have a look, it seems interesting,
though a bit on the advanced side :)

/G





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux