Direct3D 11 影片播放改善
在主要應用程式中採用更廣泛的 Microsoft Direct3D 10 技術後,某些應用程式開發人員想要將所有內容視為相同。 當所有 2D 和 3D 內容都透過 Direct3D 10 或 11 API 處理時,Microsoft Direct3D 9 API 上的影片是一項挑戰。 由於 Windows 8 在 Microsoft Direct3D 11 上引進影片,因此應用程式可以使用單一 API 來執行所有圖形化作業。
最低 Windows 顯示器驅動程式模型 (WDDM) 版本 | 1.2 |
最低 Windows 版本 | 8 |
驅動程序實作- 僅限完整圖形和轉譯 | 所有具有 Microsoft Direct3D 10-、10.1-、11-或 11.1 功能硬體的 WDDM 1.2 驅動程式強制 (或更新版本) |
WHCK 需求和測試 | Device.Graphics ¦ DX11 影片譯碼 FeatureLevel 9 Device.Graphics ¦ DX11 VideoProcessing |
以下是使用 Direct3D 11 的主要優點:
- Direct3D 11 影片可簡化 Microsoft Media Foundation 與 Microsoft DirectX 技術之間的互操作性。
- 使用多個 API 較難進行程式設計,因此在 Direct3D 11 上使用影片可簡化程式設計體驗,並讓應用程式更有效率。 API 提供使用譯碼和處理視訊的更多彈性。
- 適用於立體立體 3D 視訊的 Direct3D 11 API 會將立體畫面解壓縮成左眼和右眼影像。
- 它與 DirectX 影片加速 (DXVA) 2.0 和 DXVA-HD 的譯碼和視訊處理功能同位。
- 適用於轉碼案例的會話 0。
Direct3D 11 視訊設備驅動器介面 (DIS)
這些裝置驅動程式介面 (DIS) 是針對 Windows 8 新增或更新:
- CalcPrivateCryptoSessionSize
- CalcPrivateAuthenticatedChannelSize
- CalcPrivateVideoDecoderOutputViewSize
- CalcPrivateVideoDecoderSize
- CalcPrivateVideoProcessorEnumSize
- CalcPrivateVideoProcessorInputViewSize
- CalcPrivateVideoProcessorOutputViewSize
- CalcPrivateVideoProcessorSize
- CheckFormatSupport
- CheckVideoDecoderFormat
- CheckVideoProcessorFormat
- ConfigureAuthenticatedChannel (D3D11_1)
- CreateAuthenticatedChannel (D3D11_1)
- CreateCryptoSession
- CreateResource2
- CreateVideoDecoder
- CreateVideoDecoderOutputView
- CreateVideoProcessor
- CreateVideoProcessorEnum
- CreateVideoProcessorInputView
- CreateVideoProcessorOutputView
- CryptoSessionGetHandle
- DecryptionBlt (D3D11_1)
- DestroyAuthenticatedChannel
- DestroyCryptoSession
- DestroyVideoDecoder
- DestroyVideoDecoderOutputView
- DestroyVideoProcessor
- DestroyVideoProcessorEnum
- DestroyVideoProcessorInputView
- DestroyVideoProcessorOutputView
- EncryptionBlt (D3D11_1)
- FinishSessionKeyRefresh
- GetCaptureHandle
- GetCertificate
- GetCertificateSize
- GetContentProtectionCaps
- GetCryptoKeyExchangeType
- GetEncryptionBltKey
- GetVideoDecoderBufferInfo
- GetVideoDecoderBufferTypeCount
- GetVideoDecoderConfig
- GetVideoDecoderConfigCount
- GetVideoDecoderProfile
- GetVideoDecoderProfileCount
- GetVideoProcessorCaps
- GetVideoProcessorCustomRate
- GetVideoProcessorFilterRange
- GetVideoProcessorRateConversionCaps
- NegotiateAuthenticatedChannelKeyExchange
- NegotiateCryptoSessionKeyExchange
- QueryAuthenticatedChannel (D3D11_1)
- RetrieveSubObject (D3D11_1)
- StartSessionKeyRefresh
- VideoDecoderBeginFrame
- VideoDecoderEndFrame
- VideoDecoderExtension
- VideoDecoderGetHandle
- VideoDecoderSubmitBuffers
- VideoProcessorBlt
- VideoProcessorGetOutputExtension
- VideoProcessorGetStreamExtension
- VideoProcessorInputViewReadAfterWriteHazard
- VideoProcessorSetOutputAlphaFillMode
- VideoProcessorSetOutputBackgroundColor
- VideoProcessorSetOutputColorSpace
- VideoProcessorSetOutputConstriction
- VideoProcessorSetOutputExtension
- VideoProcessorSetOutputStereoMode
- VideoProcessorSetOutputTargetRect
- VideoProcessorSetStreamAlpha
- VideoProcessorSetStreamAutoProcessingMode
- VideoProcessorSetStreamColorSpace
- VideoProcessorSetStreamDestRect
- VideoProcessorSetStreamExtension
- VideoProcessorSetStreamFilter
- VideoProcessorSetStreamFrameFormat
- VideoProcessorSetStreamLumaKey
- VideoProcessorSetStreamOutputRate
- VideoProcessorSetStreamPalette
- VideoProcessorSetStreamPixelAspectRatio
- VideoProcessorSetStreamRotation
- VideoProcessorSetStreamSourceRect
- VideoProcessorSetStreamStereoFormat
- D3D10_DDI_RESOURCE_BIND_FLAG
- D3D10_DDI_RESOURCE_MISC_FLAG
- D3D10DDIARG_CREATEDEVICE
- D3D11_1DDI_VIDEO_PROCESSOR_ALPHA_FILL_MODE
- D3D11_1DDI_VIDEO_PROCESSOR_AUTO_STREAM_CAPS
- D3D11_1DDI_VIDEO_PROCESSOR_CAPS
- D3D11_1DDI_VIDEO_PROCESSOR_COLOR_SPACE
- D3D11_1DDI_VIDEO_PROCESSOR_CONTENT_DESC
- D3D11_1DDI_VIDEO_PROCESSOR_CONVERSION_CAPS
- D3D11_1DDI_VIDEO_PROCESSOR_CUSTOM_RATE
- D3D11_1DDI_VIDEO_PROCESSOR_DEVICE_CAPS
- D3D11_1DDI_VIDEO_PROCESSOR_FEATURE_CAPS
- D3D11_1DDI_VIDEO_PROCESSOR_FILTER
- D3D11_1DDI_VIDEO_PROCESSOR_FILTER_CAPS
- D3D11_1DDI_VIDEO_PROCESSOR_FILTER_RANGE
- D3D11_1DDI_VIDEO_PROCESSOR_FORMAT_CAPS
- D3D11_1DDI_VIDEO_PROCESSOR_FORMAT_SUPPORT
- D3D11_1DDI_VIDEO_PROCESSOR_ITELECINE_CAPS
- D3D11_1DDI_VIDEO_PROCESSOR_OUTPUT_RATE
- D3D11_1DDI_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS
- D3D11_1DDI_VIDEO_PROCESSOR_ROTATION
- D3D11_1DDI_VIDEO_PROCESSOR_STEREO_CAPS
- D3D11_1DDI_VIDEO_PROCESSOR_STEREO_FLIP_MODE
- D3D11_1DDI_VIDEO_PROCESSOR_STEREO_FORMAT
- D3D11_1DDI_VIDEO_PROCESSOR_STREAM
- D3D11_1DDI_VIDEO_USAGE
- D3D11_1DDI_VIDEODEVICEFUNCS
- D3D11_1DDIARG_CREATEAUTHENTICATEDCHANNEL
- D3D11_1DDIARG_CREATECRYPTOSESSION
- D3D11_1DDIARG_CREATEVIDEODECODER
- D3D11_1DDIARG_CREATEVIDEODECODEROUTPUTVIEW
- D3D11_1DDIARG_CREATEVIDEOPROCESSOR
- D3D11_1DDIARG_CREATEVIDEOPROCESSORENUM
- D3D11_1DDIARG_CREATEVIDEOPROCESSORINPUTVIEW
- D3D11_1DDIARG_CREATEVIDEOPROCESSOROUTPUTVIEW
- D3D11_1DDIARG_SIGNATURE_ENTRY
- D3D11_1DDIARG_STAGE_IO_SIGNATURES
- D3D11_1DDIARG_TESSELLATION_IO_SIGNATURES
- D3D11_1DDIARG_VIDEODECODERBEGINFRAME
- D3D11_1DDIARG_VIDEODECODEREXTENSION
- D3D11_DDI_SHADER_MIN_PRECISION
- D3D11_DDI_SHADER_MIN_PRECISION_SUPPORT_DATA
- D3D11_DDI_VIDEO_DECODER_BUFFER_TYPE
- D3D11DDI_HANDLETYPE
- D3D11DDIARG_CREATEDEFERREDCONTEXT
- D3D11DDIARG_CREATERESOURCE
- D3DDDI_RESOURCEFLAGS2
- D3DDDIARG_CREATERESOURCE2
- DXVAHDDDI_ROTATION
- DXVAHDDDI_STREAM_STATE
- DXVAHDDDI_STREAM_STATE_ROTATION_DATA
- DXVAHDDDI_VPDEVCAPS
- FORMATOP
硬體認證需求
所有 Windows 8 硬體都需要 Direct3D 11 API 支援。
如需硬體裝置在實作此功能時必須符合的需求資訊,請參閱 Device.Graphics ¦ DX11 Video Decode FeatureLevel 9 和 Device.Graphics ¦ DX11 VideoProcessing 的相關 WHCK 檔。
如需使用 Windows 8 新增的功能,請參閱 WDDM 1.2 功能。