Re: BGR->RGB

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



>  Being new to v4l programming, I am asking for your help and experience. Does
>  anyone know a workaround for this that would enhance the speed of the
>  conversion? Is there perhaps a way to get true RGB24 using v4l?

No, there isn't.  v4l has only BGR order.  v4l2 has format #defines for
both byte orders (RGB + BGR), but there still is no guaranty that the
format you want to use is supported by the driver.  You have to be
prepared to do some conversion in software if needed.

  Gerd

-- 
You can't please everybody.  And usually if you _try_ to please
everybody, the end result is one big mess.
				-- Linus Torvalds, 2002-04-20





[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