• wm4's avatar
    dxva: support DXGI_FORMAT_420_OPAQUE decoding · 8d7fdba7
    wm4 authored
    Some devices (some phones, apparently) will support only this opaque
    format. Of course this won't work with CLI, because copying data
    directly is not supported.
    
    Automatic frame allocation (setting AVCodecContext.hw_device_ctx) does
    not support this mode, even if it's the only supported mode. But since
    opaque surfaces are generally less useful, that's probably ok.
    
    Merges Libav commit 5030e385.
    Signed-off-by: 's avatarLuca Barbato <lu_zero@gentoo.org>
    8d7fdba7
hwcontext_d3d11va.h 5.83 KB