Mistake on the colorspace page in the API doc

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

 



Hi all,

I have been trying to get the colors right in the images grabbed from my
webcam, and I tried the color conversion code on
http://linuxtv.org/downloads/v4l-dvb-apis/colorspaces.html.

It turned out to be very white, so I checked out the intermediate steps,
and thought the part:

ER = clamp (r * 255); /* [ok? one should prob. limit y1,pb,pr] */
EG = clamp (g * 255);
EB = clamp (b * 255);


should be without the * 255. I tried removing *255 and that worked.

Regards,

--
Wouter Thielen
http://morannon.org/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux