• John Rummell's avatar
    Update H264Accelerator methods to return Status · 956a9258
    John Rummell authored
    Methods SubmitFrameMetadata(), SubmitSlice(), and SubmitDecode() updated to return
    an enum rather than simply true/false. This allows for future changes that will
    handle encrypted media when the key necessary for decryption is not currently
    available and needs to be provided before decryption can continue.
    
    BUG=837455
    
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
    Change-Id: I2238178b5643acb99c8254c8cca75ad8ba2bcb11
    Reviewed-on: https://chromium-review.googlesource.com/1080211Reviewed-by: default avatarPawel Osciak <posciak@chromium.org>
    Commit-Queue: John Rummell <jrummell@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#566636}
    956a9258
d3d11_h264_accelerator.cc 15.4 KB