aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2017-06-06 18:51:09 +0200
committerDiego Biurrun <diego@biurrun.de>2017-06-08 20:55:52 +0200
commit4dec101acc393fbfe9a8ce0237b9efbae3f20139 (patch)
tree36d22638bc1ce029075126c888d26bbaed42d50d /libswscale
parentbd747b9226414007f0207fa201976af7217e3b77 (diff)
downloadffmpeg-4dec101acc393fbfe9a8ce0237b9efbae3f20139.tar.gz
dxva: preparations for new hwaccel API
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. Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libswscale')
0 files changed, 0 insertions, 0 deletions