ホーム › Media.DirectShow › VMR9AspectRatioMode
VMR9AspectRatioMode
列挙型メンバー 2
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| VMR9ARMode_None | 0 | 0x0 | VMR がソース ビデオのアスペクト比を維持しようとしないことを示します。 |
| VMR9ARMode_LetterBox | 1 | 0x1 | VMR が出力矩形内でレターボックス表示を行うことにより、ソース ビデオのアスペクト比を維持することを示します。 |
公式ドキュメント
[このページに関連する機能である DirectShow はレガシー機能です。この機能は MediaPlayer、IMFMediaEngine、および Audio/Video Capture in Media Foundation に置き換えられています。これらの機能は Windows 10 および Windows 11 向けに最適化されています。Microsoft は、可能な限り、新しいコードでは DirectShow ではなく MediaPlayer、IMFMediaEngine、Audio/Video Capture in Media Foundation を使用することを強く推奨します。レガシー API を使用している既存のコードについても、可能であれば新しい API を使用するように書き換えることを推奨します。]
VMR9AspectRatioMode 列挙型は、IVMRWindowlessControl9::GetAspectRatioMode メソッドおよび IVMRWindowlessControl9::SetAspectRatioMode メソッドと共に使用され、アスペクト比モードを設定および取得します (VMR-9 のみ)。
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum VMR9AspectRatioMode : int {
VMR9ARMode_None = 0,
VMR9ARMode_LetterBox = 1
} VMR9AspectRatioMode;public enum VMR9AspectRatioMode : int
{
VMR9ARMode_None = 0,
VMR9ARMode_LetterBox = 1,
}Public Enum VMR9AspectRatioMode As Integer
VMR9ARMode_None = 0
VMR9ARMode_LetterBox = 1
End Enumimport enum
class VMR9AspectRatioMode(enum.IntEnum):
VMR9ARMode_None = 0
VMR9ARMode_LetterBox = 1// VMR9AspectRatioMode
pub const VMR9ARMode_None: i32 = 0;
pub const VMR9ARMode_LetterBox: i32 = 1;// VMR9AspectRatioMode
const (
VMR9ARMode_None int32 = 0
VMR9ARMode_LetterBox int32 = 1
)const
VMR9ARMode_None = 0;
VMR9ARMode_LetterBox = 1;// VMR9AspectRatioMode
pub const VMR9ARMode_None: i32 = 0;
pub const VMR9ARMode_LetterBox: i32 = 1;const
VMR9ARMode_None* = 0
VMR9ARMode_LetterBox* = 1enum VMR9AspectRatioMode : int {
VMR9ARMode_None = 0,
VMR9ARMode_LetterBox = 1,
}#define global VMR9ARMode_None 0x0
#define global VMR9ARMode_LetterBox 0x1