[GEM-dev] [pix_video]: issue with swapped colors

marius schebella marius.schebella at gmail.com
Tue May 8 18:13:47 CEST 2007


are you sure R and B are swapped? or is it a YUV/RGB problem?
because I found similar problems and thought is was a problem of colorspace.
marius.

Roman Haefeli wrote:
> hello everyone
> 
> 
> when using [pix_video] with my built-in tv/video-card, colors look ok,
> but when i use it with the  usb_cam [1], R and B are swapped. this
> happens only in gem. with other softwares (mplayer, camorama) both
> devices appear to have correct colors. 
> 
> is it possible to _slightly_ change the source code of [pix_video], so
> that R- and G-subpixels are swapped?
> if yes, would it be possible with reasonable little effort to copy the
> source of [pix_video] to a new object called e.g. [pix_videoBGR], so
> that i can decide at runtime, which version i want to use? 
> 
> thanks for any hints
> 
> roman 
> 
> 
> [1] philips spc900nc with latest pwc-driver from:
> http://www.saillard.org:8080/linux/pwc/
> 
> 
> 
> 
> 
> 
> 
> 
> 	
> 		
> ___________________________________________________________ 
> Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> GEM-dev mailing list
> GEM-dev at iem.at
> http://lists.puredata.info/listinfo/gem-dev





More information about the GEM-dev mailing list