Re: BGR->RGB

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



4) get a separate vga cabling monitor and swap blue and red wires. syncs are on green, so they will not be affected.

You can also build a r-b switcher around your rgb vga cable to forget the problem forever.

An analog point of view ;-))

Cheers,

Cagdas

Georgios Kapetanakis wrote:
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



--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/video4linux-list







[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