Home | History | Annotate | only in /development/perftests/panorama
Up to higher level directory
NameDateSize
Android.mk08-Oct-20151.9K
benchmark.cpp08-Oct-20154K
feature_mos/08-Oct-2015
feature_stab/08-Oct-2015
input/08-Oct-2015
output/08-Oct-2015
README.txt08-Oct-20151.3K

README.txt

      1 How to run and verify the benchmark:
      2 
      3 1) adb push $OUT/data/local/tmp/panorama_bench /data/local/tmp
      4 2) adb push input /data/panorama_input
      5 3) adb shell /data/local/tmp/panorama_bench /data/panorama_input/test /data/panorama.ppm
      6 
      7 Sample output:
      8 
      9 38 frames loaded
     10 Iteration 0: 1454x330 moasic created: 4.33 seconds (2.05 + 2.28)
     11 Iteration 1: 1454x330 moasic created: 4.26 seconds (1.83 + 2.44)
     12 Iteration 2: 1454x330 moasic created: 5.57 seconds (2.73 + 2.84)
     13 Iteration 3: 1454x330 moasic created: 5.15 seconds (2.33 + 2.82)
     14 Iteration 4: 1454x330 moasic created: 6.22 seconds (2.05 + 4.16)
     15 Iteration 5: 1454x330 moasic created: 6.31 seconds (2.16 + 4.15)
     16 Iteration 6: 1454x330 moasic created: 5.04 seconds (2.03 + 3.01)
     17 Iteration 7: 1454x330 moasic created: 6.30 seconds (3.47 + 2.83)
     18 Iteration 8: 1454x330 moasic created: 6.57 seconds (1.83 + 4.73)
     19 Iteration 9: 1454x330 moasic created: 6.27 seconds (2.28 + 4.00)
     20 Total elapsed time: 56.02 seconds
     21 
     22 The first number in the parenthesis is the time to align the frames; the second
     23 number is the time to stitch them.
     24 
     25 The total elapsed time is the interesting number for benchmarking.
     26 
     27 The result of the benchmark can be verified by pulling the the output
     28 photo off the device and comparing it against the golden reference:
     29 
     30 1) adb pull /data/panorama.ppm .
     31 2) diff panorama.ppm output/golden.ppm
     32