• Abhishek Kumar's avatar
    media/gpu/vaapi: Fix Lowpower encoder entrypoint check · 9651b882
    Abhishek Kumar authored
    crrev.com/c/2292780/ refactors profile support and added entrypoint check
    in IsProfileSupported.Currently in IsLowPowerEncSupported function
    all LP encoder supported profiles(kSupportedLowPowerEncodeProfiles) are
    checked if it support VAEntrypointEncSliceLP and returns true if any
    profile supports lp entrypoint.This Cl fixes lp encoder entrypoint check
    and returns true only if va_profile(function argument) supports
    VAEntrypointEncSliceLP.
    
    Fixes:a9bbd8a5
    
    BUG=chromium:1105103
    TEST=tast run -checktestdeps=false <IP> video.EncodeAccel.vp9* on octopus
    
    Change-Id: Ia3310db0a82f5d9663408fc785aca36773c2ab2a
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2334806
    Commit-Queue: Miguel Casas <mcasas@chromium.org>
    Reviewed-by: default avatarMiguel Casas <mcasas@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#795489}
    9651b882
vaapi_wrapper.cc 87.1 KB