Searched refs:totalpixels (Results 1 – 1 of 1) sorted by relevance
419 int err, totalpixels, brightpixels, darkpixels; in pb0100_set_autogain_target() local424 totalpixels = gspca_dev->pixfmt.width * gspca_dev->pixfmt.height; in pb0100_set_autogain_target()425 totalpixels = totalpixels/(8*8) + totalpixels/(64*64); in pb0100_set_autogain_target()427 brightpixels = (totalpixels * val) >> 8; in pb0100_set_autogain_target()428 darkpixels = totalpixels - brightpixels; in pb0100_set_autogain_target()