Win32 API 日本語リファレンス
ホームMedia.MediaFoundation › MFVideoRotationFormat

MFVideoRotationFormat

列挙型
基底型i4

メンバー 4

名前10進16進説明
MFVideoRotationFormat_000x0画像は回転されません。
MFVideoRotationFormat_90900x5A画像は反時計回りに 90 度回転されます。
MFVideoRotationFormat_1801800xB4画像は 180 度回転されます。
MFVideoRotationFormat_2702700x10E画像は反時計回りに 270 度回転されます。

公式ドキュメント

ビデオ画像の反時計回りの回転を表します。

解説(Remarks)

この列挙型は MF_MT_VIDEO_ROTATION 属性で使用されます。

出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)

各言語での定義

列挙メンバーの定義。HSP タブは #define global(値は16進)。

typedef enum MFVideoRotationFormat : int {
    MFVideoRotationFormat_0 = 0,
    MFVideoRotationFormat_90 = 90,
    MFVideoRotationFormat_180 = 180,
    MFVideoRotationFormat_270 = 270
} MFVideoRotationFormat;
public enum MFVideoRotationFormat : int
{
    MFVideoRotationFormat_0 = 0,
    MFVideoRotationFormat_90 = 90,
    MFVideoRotationFormat_180 = 180,
    MFVideoRotationFormat_270 = 270,
}
Public Enum MFVideoRotationFormat As Integer
    MFVideoRotationFormat_0 = 0
    MFVideoRotationFormat_90 = 90
    MFVideoRotationFormat_180 = 180
    MFVideoRotationFormat_270 = 270
End Enum
import enum

class MFVideoRotationFormat(enum.IntEnum):
    MFVideoRotationFormat_0 = 0
    MFVideoRotationFormat_90 = 90
    MFVideoRotationFormat_180 = 180
    MFVideoRotationFormat_270 = 270
// MFVideoRotationFormat
pub const MFVideoRotationFormat_0: i32 = 0;
pub const MFVideoRotationFormat_90: i32 = 90;
pub const MFVideoRotationFormat_180: i32 = 180;
pub const MFVideoRotationFormat_270: i32 = 270;
// MFVideoRotationFormat
const (
	MFVideoRotationFormat_0 int32 = 0
	MFVideoRotationFormat_90 int32 = 90
	MFVideoRotationFormat_180 int32 = 180
	MFVideoRotationFormat_270 int32 = 270
)
const
  MFVideoRotationFormat_0 = 0;
  MFVideoRotationFormat_90 = 90;
  MFVideoRotationFormat_180 = 180;
  MFVideoRotationFormat_270 = 270;
// MFVideoRotationFormat
pub const MFVideoRotationFormat_0: i32 = 0;
pub const MFVideoRotationFormat_90: i32 = 90;
pub const MFVideoRotationFormat_180: i32 = 180;
pub const MFVideoRotationFormat_270: i32 = 270;
const
  MFVideoRotationFormat_0* = 0
  MFVideoRotationFormat_90* = 90
  MFVideoRotationFormat_180* = 180
  MFVideoRotationFormat_270* = 270
enum MFVideoRotationFormat : int {
    MFVideoRotationFormat_0 = 0,
    MFVideoRotationFormat_90 = 90,
    MFVideoRotationFormat_180 = 180,
    MFVideoRotationFormat_270 = 270,
}
#define global MFVideoRotationFormat_0   0x0
#define global MFVideoRotationFormat_90  0x5A
#define global MFVideoRotationFormat_180 0xB4
#define global MFVideoRotationFormat_270 0x10E