/* This shouldn't really be done in a v4l driver.... But it does make the image look a lot more usable. Basically it lifts the dark pixels more than the light pixels.  */
static void enhance_picture(unsigned char *frame, int len)
/* This shouldn't really be done in a v4l driver.... But it does make the image look a lot more usable. Basically it lifts the dark pixels more than the light pixels.  */
static void enhance_picture(unsigned char *frame, int len)
{
	while (len--) {
		*frame = (((*frame^255)*(*frame^255))/255)^255;
		frame++;
	}
}