Run results for: Computing the running sum of an array
The main difference between these loops is that the second loop increments i mid-loop so it can avoid a subtraction to get the previous element.
This is the kind of operation you would do to get an integral image so the array size is set to the same amount of pixels as a 720p image.