locked
Decoders that support DirectX Video Acceleration using D3D11

    Question

  • Can anyone verify which Media Foundation decoders support DirectX Video Acceleration using D3D11?

    There are 4 possible decoders:

    • H.264 Video Decoder
    • MPEG-2 Video Decoder
    • MPEG-4 Part 2 Video Decoder
    • Windows Media Video 9 (VC-1) Decoder

    Of those four, only the documentation for the MPEG-2 Video Decoder specifically references that it has D3D11 support .

    Saturday, March 17, 2012 4:54 AM

Answers

All replies

  • Hello,

    Based on this document: http://msdn.microsoft.com/en-us/library/windows/desktop/hh162912(v=vs.85).aspx

    Direct3D 11 uses the same data structures as DXVA 2.0 for decoding operations. For the original set of DXVA profiles (for H.261, H.263, and MPEG-2), these data structures are described in the DXVA 1.0 specification.

    In DXVA 2.0, It supports

    • DXVA Specification for H.264/AVC Decoding
    • DXVA Specification for H.264/MPEG-4 AVC Multiview Video Coding (MVC), Including the Stereo High Profile
    • DXVA Specification for MPEG-1 VLD and Combined MPEG-1/MPEG-2 VLD Video Decoding.
    • DXVA Specification for Off-Host VLD Mode for MPEG-4 Part 2 Video Decoding
    • DXVA Specification for Windows Media Video® v8, v9 and vA Decoding (Including SMPTE 421M "VC-1")

    From: http://msdn.microsoft.com/en-us/library/windows/desktop/cc307941(v=vs.85).aspx

    Best regards,
    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us

    Monday, March 19, 2012 8:02 AM
    Moderator
  • The easy way to confirm this is to open the file type that you are wondering about in "TopoEdit" (ships with the SDK) and render the file. Once the file is rendered you can click on the decoder node and verify that the "D3DAWARE" attribute is set to "1".

    -James


    Windows Media SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Monday, March 19, 2012 11:08 PM
    Moderator
  • Hello,

    Based on this document: http://msdn.microsoft.com/en-us/library/windows/desktop/hh162912(v=vs.85).aspx

    Direct3D 11 uses the same data structures as DXVA 2.0 for decoding operations. For the original set of DXVA profiles (for H.261, H.263, and MPEG-2), these data structures are described in the DXVA 1.0 specification.

    In DXVA 2.0, It supports

    • DXVA Specification for H.264/AVC Decoding
    • DXVA Specification for H.264/MPEG-4 AVC Multiview Video Coding (MVC), Including the Stereo High Profile
    • DXVA Specification for MPEG-1 VLD and Combined MPEG-1/MPEG-2 VLD Video Decoding.
    • DXVA Specification for Off-Host VLD Mode for MPEG-4 Part 2 Video Decoding
    • DXVA Specification for Windows Media Video® v8, v9 and vA Decoding (Including SMPTE 421M "VC-1")

    From: http://msdn.microsoft.com/en-us/library/windows/desktop/cc307941(v=vs.85).aspx

    Best regards,
    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us

    Hello Jesse,

    Your meanings: Direct3D 11 uses the same data structures as DXVA 2.0 for decoding operations,

    because I've found DXVA2.0 API not supported in Win8 Metro, D3D11 API support Win8 desktop and metro,  for example: the structure

    in DXVA2: DXVA2_ConfigPictureDecode

    in D3d11: D3D11_VIDEO_DECODER_CONFIG

    whether develop video decoder use Direct3D 11 instead of DXVA2.0 ?

    Jackic


    one work one gain!

    <input id="8a5834c0-03f5-4404-a91c-b40700e50b9a_attachments" type="hidden" />

    one work one gain!

    Friday, September 14, 2012 2:45 AM
  • "Direct3D 11 uses the same data structures as DXVA 2.0 for decoding operations."

    This is referring to the driver interfaces, not the application API. Windows Store apps (aka Metro apps) must use Direct3D 11 and Media Foundation APIs.

    Friday, September 14, 2012 6:50 PM
  • understand it,

    Thanks

    Jackic


    one work one gain!

    Monday, September 17, 2012 2:16 AM