• Dan Sanders's avatar
    [media] Mojo replacement for VDA SupportedProfiles. · c32238c8
    Dan Sanders authored
    This API allows mojom::VideoDecoder clients to get a list of rules that
    can be used to reject unsupported Initialize() calls without additional
    IPC.
    
    On the GPU side, this information is gathered from the existing VDA
    SupportedProfiles factory.
    
    On the renderer side, GpuVideoAcceleratorFactories is now responsible
    for this query, which it does upon construction. If a MojoVideoDecoder
    is initialized before the query has completed, MojoVideoDecoder will
    call the remote Intitialize() method as normal.
    
    Bug: 839951, 522298
    Change-Id: I62b1e2f6ad79f096d273d7591da1e98094b9cbfe
    Reviewed-on: https://chromium-review.googlesource.com/1066620Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
    Reviewed-by: default avatarDale Curtis <dalecurtis@chromium.org>
    Commit-Queue: Dan Sanders <sandersd@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#593327}
    c32238c8
video_decoder.mojom 7.06 KB