Generate SSIM and PSNR for VEA unittest

Desktop / Chromium - Peter Boström [chromium.org] - 7 August 2017 14:34 EDT

Adds --frame_stats=frame_stats.csv to video_encode_accelerator_unittest. This file contains frame number, SSIM, MSE and number of samples used in the MSE calculation. With these a consuming script will be able to generate PSNR and could generate {average, min, max} values of these standard video-quality metrics.

BUG=chromium:469446 R=owenlin@chromium.org

Change-Id: I5f78e7d4988cb8041b3434f74981d58912d08b4f Reviewed-on: https://chromium-review.googlesource.com/569114 Commit-Queue: Peter Boström

a62c5c6 Generate SSIM and PSNR for VEA unittest.
media/gpu/video_encode_accelerator_unittest.cc | 277 ++++++++++++++++++++++---
1 file changed, 251 insertions(+), 26 deletions(-)

Upstream: git.chromium.org


  • Share