Commit 4b945021 authored by Hirokazu Honda's avatar Hirokazu Honda Committed by Commit Bot

media/gpu/vaapi: Log called libva functions in debug mode only

crrev.com/c/1967217 drops the performance in VP9 720P ARC++ test,
approximately from 110fps to 90fps.

Bug: b:146842665, b:147642583
Test: android.media.cts.VideoDecoderPerfTest#testVp9Other0Perf1280x0720 on coral
Change-Id: Ie1911c60a0f79c703a84d025823424cebdbd3723
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2022563Reviewed-by: default avatarMiguel Casas <mcasas@chromium.org>
Commit-Queue: Hirokazu Honda <hiroh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#735689}
parent b85952fe
...@@ -95,9 +95,8 @@ using media_gpu_vaapi::StubPathMap; ...@@ -95,9 +95,8 @@ using media_gpu_vaapi::StubPathMap;
if ((va_error) != VA_STATUS_SUCCESS) { \ if ((va_error) != VA_STATUS_SUCCESS) { \
LOG_VA_ERROR_AND_REPORT(va_error, name); \ LOG_VA_ERROR_AND_REPORT(va_error, name); \
return (ret); \ return (ret); \
} else { \
VLOG(1) << name; \
} \ } \
DVLOG(3) << name; \
} while (0) } while (0)
namespace { namespace {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment