Class MFSourceReaderGuids
Inherited Members
Namespace: JeremyAnsel.DirectX.MediaFoundation
Assembly: JeremyAnsel.DirectX.MediaFoundation.dll
Syntax
public static class MFSourceReaderGuids
Fields
| Edit this page View SourceMF_SOURCE_READER_D3D11_BIND_FLAGS
MF_SOURCE_READER_D3D11_BIND_FLAGS
Data type: UINT32
By default, the source reader derives the D3D11 bind flags from attributes found on
the media source provided during creation, and the capabilies of the provided D3D manager.
This attribute allows the caller to modify the information extracted by the media source,
adding extra flags. See the D3D11_BIND_FLAG enumeration for details.
Declaration
public static readonly Guid MF_SOURCE_READER_D3D11_BIND_FLAGS
Field Value
| Type | Description |
|---|---|
| Guid |
MF_SOURCE_READER_D3D_MANAGER
MF_SOURCE_READER_D3D_MANAGER Data type: IUnknown This attribute enables video sample allocation using D3D9 surfaces, and enables hardware acceleration within the Source Reader. This should be set to the IUnknown interface of an object that implements the IDirect3DDeviceManager9 interface.
Declaration
public static readonly Guid MF_SOURCE_READER_D3D_MANAGER
Field Value
| Type | Description |
|---|---|
| Guid |
MF_SOURCE_READER_DISABLE_CAMERA_PLUGINS
MF_SOURCE_READER_DISABLE_CAMERA_PLUGINS Data type: UINT32 (treat as Boolean) This attribute can be used to disable post-processing camera plug-ins from being automatically created by Source Reader.
Declaration
public static readonly Guid MF_SOURCE_READER_DISABLE_CAMERA_PLUGINS
Field Value
| Type | Description |
|---|---|
| Guid |
MF_SOURCE_READER_DISABLE_DXVA
MF_SOURCE_READER_DISABLE_DXVA Data type: UINT32 DXVA is enabled by default if the Source Reader is configured with a D3D manager. This attribute can be set to TRUE in order to disable DXVA, while still allocating video samples using the D3D manager.
Declaration
public static readonly Guid MF_SOURCE_READER_DISABLE_DXVA
Field Value
| Type | Description |
|---|---|
| Guid |
MF_SOURCE_READER_ENABLE_ADVANCED_VIDEO_PROCESSING
MF_SOURCE_READER_ENABLE_ADVANCED_VIDEO_PROCESSING Data type: UINT32 This attribute enables advanced video processing on video samples within the source reader. Specifically it enables optimized (and HW-accelerated) scaling, colorspace conversion, frame rate conversion and deinterlacing.
Declaration
public static readonly Guid MF_SOURCE_READER_ENABLE_ADVANCED_VIDEO_PROCESSING
Field Value
| Type | Description |
|---|---|
| Guid |
MF_SOURCE_READER_ENABLE_TRANSCODE_ONLY_TRANSFORMS
MF_SOURCE_READER_ENABLE_TRANSCODE_ONLY_TRANSFORMS Data type: UINT32 By default, the Source Reader will not use MFTs that are registered for transcode use only. This attribute can be set to TRUE to enable use of these transcode only MFTs.
Declaration
public static readonly Guid MF_SOURCE_READER_ENABLE_TRANSCODE_ONLY_TRANSFORMS
Field Value
| Type | Description |
|---|---|
| Guid |
MF_SOURCE_READER_ENABLE_VIDEO_PROCESSING
MF_SOURCE_READER_ENABLE_VIDEO_PROCESSING Data type: UINT32 This attribute enables limited video processing on video samples within the source reader.
Declaration
public static readonly Guid MF_SOURCE_READER_ENABLE_VIDEO_PROCESSING
Field Value
| Type | Description |
|---|---|
| Guid |
MF_SOURCE_READER_PASSTHROUGH_MODE
MF_SOURCE_READER_PASSTHROUGH_MODE
Data type: UINT32
By default, the source reader tries to copy all system memory backed video sampels into DX textures for faster processing.
When this attribute is set to TRUE (1), the source reader will avoid doing that, keeping the video samples in system memory,
even if a D3D device manager is present.
Declaration
public static readonly Guid MF_SOURCE_READER_PASSTHROUGH_MODE
Field Value
| Type | Description |
|---|---|
| Guid |