evr.h header

[The component described on this page, Enhanced Video Renderer, is a legacy feature. It has been superseded by the Simple Video Renderer (SVR) exposed through the MediaPlayer and IMFMediaEngine components. To play video content you should send data into one of these components and allow them to instantiate the new video renderer. These components have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer or the lower level IMFMediaEngine APIs to play video media in Windows instead of the EVR, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

This header is used by Microsoft Media Foundation. For more information, see:

evr.h contains the following programming interfaces:

Interfaces

 
IEVRFilterConfig

Sets the number of input pins on the DirectShow Enhanced Video Renderer (EVR) filter.
IEVRFilterConfigEx

Configures the DirectShow Enhanced Video Renderer (EVR) filter.
IEVRTrustedVideoPlugin

Enables a plug-in component for the enhanced video renderer (EVR) to work with protected media.
IMFDesiredSample

Enables the presenter for the enhanced video renderer (EVR) to request a specific frame from the video mixer.
IMFTopologyServiceLookup

Enables a custom video mixer or video presenter to get interface pointers from the Enhanced Video Renderer (EVR).
IMFTopologyServiceLookupClient

Initializes a video mixer or presenter.
IMFVideoDeviceID

Returns the device identifier supported by a video renderer component.
IMFVideoDisplayControl

Controls how the Enhanced Video Renderer (EVR) displays video.
IMFVideoMixerControl

Controls how the Enhanced Video Renderer (EVR) mixes video substreams.
IMFVideoMixerControl2

Controls preferences for video deinterlacing.
IMFVideoPositionMapper

Maps a position on an input video stream to the corresponding position on an output video stream.
IMFVideoPresenter

Represents a video presenter. A video presenter is an object that receives video frames, typically from a video mixer, and presents them in some way, typically by rendering them to the display.
IMFVideoRenderer

Sets a new mixer or presenter for the Enhanced Video Renderer (EVR).

Callback functions

 
MFCreateVideoMixer

Creates the default video mixer for the enhanced video renderer (EVR).
MFCreateVideoMixerAndPresenter

Creates the default video mixer and video presenter for the enhanced video renderer (EVR).
MFCreateVideoPresenter

Creates the default video presenter for the enhanced video renderer (EVR).
MFCreateVideoRenderer

Creates an instance of the enhanced video renderer (EVR) media sink.
MFCreateVideoSampleAllocator

Creates an object that allocates video samples.
MFCreateVideoSampleFromSurface

Creates a media sample that manages a Direct3D surface.

Structures

 
MFVideoNormalizedRect

The MFVideoNormalizedRect (evr.h) structure defines a normalized rectangle, which is used to specify sub-rectangles in a video rectangle.

Enumerations

 
EVRFilterConfigPrefs

Contains flags that are used to configure the Microsoft DirectShow enhanced video renderer (EVR) filter.
MFVideoAspectRatioMode

Specifies the aspect-ratio mode.
MFVideoMixPrefs

Contains flags that are used to configure how the enhanced video renderer (EVR) performs deinterlacing.
MFVideoRenderPrefs

Contains flags that define how the enhanced video renderer (EVR) displays the video.
MFVP_MESSAGE_TYPE

Defines messages for an enhanced video renderer (EVR) presenter.