• wm4's avatar
    lavu: add new D3D11 pixfmt and hwcontext · fff90422
    wm4 authored
    To be used with the new d3d11 hwaccel decode API.
    
    With the new hwaccel API, we don't want surfaces to depend on the
    decoder (other than the required dimension and format). The old D3D11VA
    pixfmt uses ID3D11VideoDecoderOutputView pointers, which include the
    decoder configuration, and thus is incompatible with the new hwaccel
    API. This patch introduces AV_PIX_FMT_D3D11, which uses ID3D11Texture2D
    and an index. It's simpler and compatible with the new hwaccel API.
    
    The introduced hwcontext supports only the new pixfmt.
    
    Frame upload code untested.
    
    Significantly based on work by Steve Lhomme <robux4@gmail.com>, but with
    heavy changes/rewrites.
    Signed-off-by: 's avatarDiego Biurrun <diego@biurrun.de>
    fff90422
Name
Last commit
Last update
avbuild Loading commit data...
avtools Loading commit data...
compat Loading commit data...
doc Loading commit data...
libavcodec Loading commit data...
libavdevice Loading commit data...
libavfilter Loading commit data...
libavformat Loading commit data...
libavresample Loading commit data...
libavutil Loading commit data...
libswscale Loading commit data...
presets Loading commit data...
tests Loading commit data...
tools Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
COPYING.GPLv2 Loading commit data...
COPYING.GPLv3 Loading commit data...
COPYING.LGPLv2.1 Loading commit data...
COPYING.LGPLv3 Loading commit data...
CREDITS Loading commit data...
Changelog Loading commit data...
INSTALL Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
README Loading commit data...
README.md Loading commit data...
RELEASE Loading commit data...
configure Loading commit data...