Condividi tramite


VMR9NormalizedRect structure (vmr9.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The VMR9NormalizedRect structure is used with the VMR-9 filter in mixing operations to specify or retrieve the location of a video rectangle in composition space.

Syntax

typedef struct _VMR9NormalizedRect {
  float left;
  float top;
  float right;
  float bottom;
} VMR9NormalizedRect;

Members

left

Specifies left.

top

Specifies top.

right

Specifies right.

bottom

Specifies bottom.

Remarks

This structure is used in methods involving "composition space," which refers to the visible video rectangle, as well as the "offscreen" space necessary to contain rectangles from secondary streams. See Using the Video Mixing Renderer for more information.

Requirements

Requirement Value
Header vmr9.h

See also

DirectShow Structures