perf_tests/image-decoder: add JPEG benchmarks
Adds benchmarks to test JPEG decoding performance for images with the following chroma sampling ratios: h1v1, h2v1, h1v2 and h2v2. Most images on the Web use sampling ratios h2v2, h2v1 or no sampling at all (h1v1). We also add a test for h1v2 sampling as this is used when an h2v1-sampled image is rotated by 90 or 270 degrees. Adding these additional benchmarks is a precursor to adding Arm NEON performance optimizations to JPEG decoding. Bug: 922430 Change-Id: I6bdc9516658f2b884c09a03bfc01bd2e1c091c34 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1599570Reviewed-by:Chris Blume <cblume@chromium.org> Reviewed-by:
Kentaro Hara <haraken@chromium.org> Commit-Queue: Jonathan Wright <jonathan.wright@arm.com> Cr-Commit-Position: refs/heads/master@{#659468}
Showing
882 KB
799 KB
File moved