summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2017-06-06 18:51:07 +0200
committerDiego Biurrun <diego@biurrun.de>2017-06-08 20:55:36 +0200
commitfff90422d181744cd75dbf011687ee7095f02875 (patch)
treebaf3a67a4a273d268544cd9fdcbc6a38df44cc3f /doc
parented434be106a4615e0419b3ac7664220741afda2d (diff)
downloadffmpeg-streaming-fff90422d181744cd75dbf011687ee7095f02875.zip
ffmpeg-streaming-fff90422d181744cd75dbf011687ee7095f02875.tar.gz
lavu: add new D3D11 pixfmt and hwcontext
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: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/APIchanges3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/APIchanges b/doc/APIchanges
index a251c4c..a81e418 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -13,6 +13,9 @@ libavutil: 2017-03-23
API changes, most recent first:
+2017-xx-xx - xxxxxxx - lavu 56.2.0 - hwcontext.h
+ Add AV_HWDEVICE_TYPE_D3D11VA and AV_PIX_FMT_D3D11.
+
2017-04-30 - xxxxxxx - lavu 56.1.1 - hwcontext.h
av_hwframe_ctx_create_derived() now takes some AV_HWFRAME_MAP_* combination
as its flags argument (which was previously unused).
OpenPOWER on IntegriCloud