Microsoft DirectX 8.1 (C++) |
The VMR_ASPECT_RATIO_MODE enumeration type is used with the IVMRWindowlessControl::GetAspectRatioMode and IVMRWindowlessControl::SetAspectRatioMode methods to set and retrieve the aspect ratio mode.
Requirements
Requires Microsoft® Windows® XP.
Syntax
enum VMR_ASPECT_RATIO_MODE{
VMR_ARMODE_NONE,
VMR_ARMODE_LETTER_BOX
};
Elements
VMR_ARMODE_NONE
Indicates that the VMR is not attempting to maintain the aspect ratio of the source video.
VMR_ARMODE_LETTER_BOX
Indicates that the VMR will maintain the aspect ratio of the source video by letterboxing within the output rectangle.
See Also