DO NOT MERGE Loop doesn't compare the whole bitmap image

The length of loop should be the size of the buffer. Currently,
the comparison makes only one-fourth of passed bitmap.
And also the pixel shoud be gotten by a multiple of four.

Change-Id: Ib23c6669a26b0a70d6910cee00b15cc289d573f3
1 file changed