Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

Commit

Permalink
y needed to be dereferenced for luminance
Browse files Browse the repository at this point in the history
  • Loading branch information
solomongarber committed Jun 9, 2017
1 parent 902b8c7 commit a7a8329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/BufferCopy.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ uint32_t Luminance(uint8_t *Y, size_t YRowBytes, size_t width, size_t height)
#pragma clang loop vectorize(enable) interleave(enable)
for (j = 0; j < width; j++)
{
luminance += y++;
luminance += *y++;
}
Y += YRowBytes;
}
Expand Down

0 comments on commit a7a8329

Please sign in to comment.