Microsoft DirectX 9.0

VMR9AspectRatioMode Enumeration

The VMR9AspectRatioMode enumeration type is used with the IVMRWindowlessControl9::GetAspectRatioMode and IVMRWindowlessControl9::SetAspectRatioMode methods to set and retrieve the aspect ratio mode (VMR-9 only).

Syntax

typedef enum {
  VMR9ARMode_None,
  VMR9ARMode_LetterBox
} VMR9AspectRatioMode;

Members

VMR9ARMode_None

Indicates that the VMR is not attempting to maintain the aspect ratio of the source video.

VMR9ARMode_LetterBox

Indicates that the VMR will maintain the aspect ratio of the source video by letterboxing within the output rectangle.

See Also