• wm4's avatar
    dxva: preparations for new hwaccel API · ab28108a
    wm4 authored
    The actual hwaccel code will need to access an internal context instead
    of avctx->hwaccel_context, so add a new DXVA_CONTEXT() macro, that will
    dispatch between the "old" external and the new internal context.
    
    Also, the new API requires a new D3D11 pixfmt, so all places which check
    for the pixfmt need to be adjusted. Introduce a ff_dxva2_is_d3d11()
    function, which does the check.
    
    Merges Libav commit 4dec101a.
    Adds changes to vp9 over the Libav patch.
    Signed-off-by: 's avatarDiego Biurrun <diego@biurrun.de>
    ab28108a
dxva2_internal.h 5.52 KB