This patches take in account the remarks from Diego Biurrun. The main goal of
those patches is to remove the requirement on d3d11 to preallocate decoding
buffers. In VLC we can save a copy by not using a preallocated buffer.

Steve Lhomme (4):
  dxva2: make ff_dxva2_get_surface() static
  dxva2: use a single macro to test if the DXVA context is valid
  dxva2: get the slice number directly from the surface in D3D11VA
  dxva2: allow an empty array of ID3D11VideoDecoderOutputView

 libavcodec/dxva2.c          | 22 +++++++++++-----------
 libavcodec/dxva2_h264.c     |  4 +---
 libavcodec/dxva2_hevc.c     |  4 +---
 libavcodec/dxva2_internal.h |  7 +++++--
 libavcodec/dxva2_mpeg2.c    |  4 +---
 libavcodec/dxva2_vc1.c      |  4 +---
 libavcodec/version.h        |  2 +-
 7 files changed, 21 insertions(+), 26 deletions(-)

-- 
2.9.1

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to