Searched refs:totalpixels (Results 1 – 1 of 1) sorted by relevance
414 int err, totalpixels, brightpixels, darkpixels; in pb0100_set_autogain_target() local419 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()