Closed GoogleCodeExporter closed 9 years ago
Release build runs faster, which indicates C code (slow) is being used
build\Release\common_video_unittests.exe
[ RUN ] TestScaler.PointScaleTest
Scaling[352 288] => [176 144]: Average time per frame[ms]: 0.02
Scaling[176 144] => [352 288]: Average time per frame[ms]: 0.27
PSNR for scaling from: 352 288, down/up to: 176 144, and back to original size:
28.045769
Scaling[352 288] => [320 240]: Average time per frame[ms]: 0.16
Scaling[352 288] => [704 576]: Average time per frame[ms]: 0.91
Scaling[352 288] => [300 200]: Average time per frame[ms]: 0.16
Scaling[352 288] => [400 300]: Average time per frame[ms]: 0.32
Scaling[352 288] => [282 231]: Average time per frame[ms]: 0.16
Scaling[282 231] => [352 288]: Average time per frame[ms]: 0.24
PSNR for scaling from: 352 288, down/up to: 282 231, and back to original size:
27.963268
Scaling[352 288] => [699 531]: Average time per frame[ms]: 0.87
Scaling[699 531] => [352 288]: Average time per frame[ms]: 0.27
PSNR for scaling from: 352 288, down/up to: 699 531, and back to original size:
37.964722
[ OK ] TestScaler.PointScaleTest (25154 ms)
[ RUN ] TestScaler.BiLinearScaleTest
Scaling[352 288] => [176 144]: Average time per frame[ms]: 0.04
Scaling[176 144] => [352 288]: Average time per frame[ms]: 0.42
PSNR for scaling from: 352 288, down/up to: 176 144, and back to original size:
27.675187
Scaling[352 288] => [320 240]: Average time per frame[ms]: 0.33
Scaling[352 288] => [704 576]: Average time per frame[ms]: 1.67
Scaling[352 288] => [300 200]: Average time per frame[ms]: 0.31
Scaling[352 288] => [400 300]: Average time per frame[ms]: 0.57
Scaling[352 288] => [282 231]: Average time per frame[ms]: 0.31
Scaling[282 231] => [352 288]: Average time per frame[ms]: 1.48
PSNR for scaling from: 352 288, down/up to: 282 231, and back to original size:
29.788135
Scaling[352 288] => [699 531]: Average time per frame[ms]: 1.43
Scaling[699 531] => [352 288]: Average time per frame[ms]: 1.45
PSNR for scaling from: 352 288, down/up to: 699 531, and back to original size:
31.555418
[ OK ] TestScaler.BiLinearScaleTest (30571 ms)
[ RUN ] TestScaler.BoxScaleTest
Scaling[352 288] => [176 144]: Average time per frame[ms]: 0.04
Scaling[176 144] => [352 288]: Average time per frame[ms]: 0.43
PSNR for scaling from: 352 288, down/up to: 176 144, and back to original size:
27.675187
Scaling[352 288] => [320 240]: Average time per frame[ms]: 0.35
Scaling[352 288] => [704 576]: Average time per frame[ms]: 1.73
Scaling[352 288] => [300 200]: Average time per frame[ms]: 0.25
Scaling[352 288] => [400 300]: Average time per frame[ms]: 0.55
Scaling[352 288] => [282 231]: Average time per frame[ms]: 0.31
Scaling[282 231] => [352 288]: Average time per frame[ms]: 1.48
PSNR for scaling from: 352 288, down/up to: 282 231, and back to original size:
29.788135
Scaling[352 288] => [699 531]: Average time per frame[ms]: 1.52
Scaling[699 531] => [352 288]: Average time per frame[ms]: 1.36
PSNR for scaling from: 352 288, down/up to: 699 531, and back to original size:
31.555418
[ OK ] TestScaler.BoxScaleTest (29016 ms)
[----------] 7 tests from TestScaler (84753 ms total)
Original comment by fbarch...@chromium.org
on 28 Nov 2012 at 11:59
Alignment is main cause for fallbacks. Solution is aligned allocation in
caller.
Original comment by fbarch...@google.com
on 12 Jan 2013 at 9:11
Original issue reported on code.google.com by
fbarch...@google.com
on 28 Nov 2012 at 11:19