diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-12 14:27:29 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-13 09:35:20 +0000 |
commit | c30a6232df03e1efbd9f3b226777b07e087a1122 (patch) | |
tree | e992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/media/gpu/vaapi/test_utils.cc | |
parent | 7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff) | |
download | qtwebengine-chromium-85-based.tar.gz |
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/media/gpu/vaapi/test_utils.cc')
-rw-r--r-- | chromium/media/gpu/vaapi/test_utils.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chromium/media/gpu/vaapi/test_utils.cc b/chromium/media/gpu/vaapi/test_utils.cc index b534b297bd5..f578bae1071 100644 --- a/chromium/media/gpu/vaapi/test_utils.cc +++ b/chromium/media/gpu/vaapi/test_utils.cc @@ -54,9 +54,9 @@ bool CompareImages(const DecodedImage& reference_image, // Uses the reference image's size as the ground truth. const gfx::Size image_size = reference_image.size; if (image_size != hw_decoded_image.size) { - DLOG(ERROR) << "Wrong expected software decoded image size, " - << image_size.ToString() << " versus VaAPI provided " - << hw_decoded_image.size.ToString(); + LOG(ERROR) << "Wrong expected software decoded image size, " + << image_size.ToString() << " versus VaAPI provided " + << hw_decoded_image.size.ToString(); return false; } @@ -100,7 +100,7 @@ bool CompareImages(const DecodedImage& reference_image, image_size.width(), image_size.height()); } if (conversion_result != 0) { - DLOG(ERROR) << "libyuv conversion error"; + LOG(ERROR) << "libyuv conversion error"; return false; } @@ -112,12 +112,12 @@ bool CompareImages(const DecodedImage& reference_image, temp_v.get(), half_image_size.width(), image_size.width(), image_size.height()); } else { - DLOG(ERROR) << "HW FourCC not supported: " << FourccToString(hw_fourcc); + LOG(ERROR) << "HW FourCC not supported: " << FourccToString(hw_fourcc); return false; } if (ssim < min_ssim) { - DLOG(ERROR) << "SSIM too low: " << ssim << " < " << min_ssim; + LOG(ERROR) << "SSIM too low: " << ssim << " < " << min_ssim; return false; } |