Re: BGR->RGB

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



> No, it means what you should do:
> 1) Check if you can tune the driver to use either RGB or BGR.
> 2) Write and optimize a fast RGB<->BGR conversion routine in your program
> 3) Let the user specify whether he wants to use the conversion routine or
>    not.
>
> It seems that nowadays it is safer to use BGR byte order by default. (B in
> the lowest memory address).

I'm using the bttv driver version 0.7.91 (officially supported and
customised for the specific frame grabber by the board manufacturer), so (1)
is out of the question.

The routine I'm using is not very fast, but it's the best I can do (it takes
approx. 35ms to execute).

Thanks for your help, Tuukka. Appreciate it.

/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