Home
last modified time | relevance | path

Searched refs:totalpixels (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/media/usb/gspca/stv06xx/
H A Dstv06xx_pb0100.c414 int err, totalpixels, brightpixels, darkpixels; in pb0100_set_autogain_target() local
419 totalpixels = gspca_dev->pixfmt.width * gspca_dev->pixfmt.height; in pb0100_set_autogain_target()
420 totalpixels = totalpixels/(8*8) + totalpixels/(64*64); in pb0100_set_autogain_target()
422 brightpixels = (totalpixels * val) >> 8; in pb0100_set_autogain_target()
423 darkpixels = totalpixels - brightpixels; in pb0100_set_autogain_target()