• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1How to run and verify the benchmark:
2
31) adb push input /data/panorama_input
42) adb shell panorama_bench /data/panorama_input/test /data/panorama.ppm
5
6Sample output:
7
838 frames loaded
9Iteration 0: 1454x330 moasic created: 4.33 seconds (2.05 + 2.28)
10Iteration 1: 1454x330 moasic created: 4.26 seconds (1.83 + 2.44)
11Iteration 2: 1454x330 moasic created: 5.57 seconds (2.73 + 2.84)
12Iteration 3: 1454x330 moasic created: 5.15 seconds (2.33 + 2.82)
13Iteration 4: 1454x330 moasic created: 6.22 seconds (2.05 + 4.16)
14Iteration 5: 1454x330 moasic created: 6.31 seconds (2.16 + 4.15)
15Iteration 6: 1454x330 moasic created: 5.04 seconds (2.03 + 3.01)
16Iteration 7: 1454x330 moasic created: 6.30 seconds (3.47 + 2.83)
17Iteration 8: 1454x330 moasic created: 6.57 seconds (1.83 + 4.73)
18Iteration 9: 1454x330 moasic created: 6.27 seconds (2.28 + 4.00)
19Total elapsed time: 56.02 seconds
20
21The first number in the parenthesis is the time to align the frames; the second
22number is the time to stitch them.
23
24The total elapsed time is the interesting number for benchmarking.
25
263) adb pull /data/panorama.ppm .
274) diff panorama.ppm output/golden.ppm
28