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

MFVideo3DFormat

列挙型
基底型i4

メンバー 4

名前10進16進説明
MFVideo3DSampleFormat_BaseView00x0ベース ビューが単一のバッファーに格納されます。もう一方のビューは破棄されます。
MFVideo3DSampleFormat_MultiView10x1各メディア サンプルには、ビューごとに 1 つずつ、複数のバッファーが含まれます。
MFVideo3DSampleFormat_Packed_LeftRight20x2各メディア サンプルには 1 つのバッファーが含まれ、両方のビューが左右に並べて 1 つのフレームにパックされます。
MFVideo3DSampleFormat_Packed_TopBottom30x3各メディア サンプルには 1 つのバッファーが含まれ、両方のビューが上下に並べて 1 つのフレームにパックされます。

公式ドキュメント

3D ビデオ フレームがメモリ内にどのように格納されるかを指定します。

解説(Remarks)

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

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

各言語での定義

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

typedef enum MFVideo3DFormat : int {
    MFVideo3DSampleFormat_BaseView = 0,
    MFVideo3DSampleFormat_MultiView = 1,
    MFVideo3DSampleFormat_Packed_LeftRight = 2,
    MFVideo3DSampleFormat_Packed_TopBottom = 3
} MFVideo3DFormat;
public enum MFVideo3DFormat : int
{
    MFVideo3DSampleFormat_BaseView = 0,
    MFVideo3DSampleFormat_MultiView = 1,
    MFVideo3DSampleFormat_Packed_LeftRight = 2,
    MFVideo3DSampleFormat_Packed_TopBottom = 3,
}
Public Enum MFVideo3DFormat As Integer
    MFVideo3DSampleFormat_BaseView = 0
    MFVideo3DSampleFormat_MultiView = 1
    MFVideo3DSampleFormat_Packed_LeftRight = 2
    MFVideo3DSampleFormat_Packed_TopBottom = 3
End Enum
import enum

class MFVideo3DFormat(enum.IntEnum):
    MFVideo3DSampleFormat_BaseView = 0
    MFVideo3DSampleFormat_MultiView = 1
    MFVideo3DSampleFormat_Packed_LeftRight = 2
    MFVideo3DSampleFormat_Packed_TopBottom = 3
// MFVideo3DFormat
pub const MFVideo3DSampleFormat_BaseView: i32 = 0;
pub const MFVideo3DSampleFormat_MultiView: i32 = 1;
pub const MFVideo3DSampleFormat_Packed_LeftRight: i32 = 2;
pub const MFVideo3DSampleFormat_Packed_TopBottom: i32 = 3;
// MFVideo3DFormat
const (
	MFVideo3DSampleFormat_BaseView int32 = 0
	MFVideo3DSampleFormat_MultiView int32 = 1
	MFVideo3DSampleFormat_Packed_LeftRight int32 = 2
	MFVideo3DSampleFormat_Packed_TopBottom int32 = 3
)
const
  MFVideo3DSampleFormat_BaseView = 0;
  MFVideo3DSampleFormat_MultiView = 1;
  MFVideo3DSampleFormat_Packed_LeftRight = 2;
  MFVideo3DSampleFormat_Packed_TopBottom = 3;
// MFVideo3DFormat
pub const MFVideo3DSampleFormat_BaseView: i32 = 0;
pub const MFVideo3DSampleFormat_MultiView: i32 = 1;
pub const MFVideo3DSampleFormat_Packed_LeftRight: i32 = 2;
pub const MFVideo3DSampleFormat_Packed_TopBottom: i32 = 3;
const
  MFVideo3DSampleFormat_BaseView* = 0
  MFVideo3DSampleFormat_MultiView* = 1
  MFVideo3DSampleFormat_Packed_LeftRight* = 2
  MFVideo3DSampleFormat_Packed_TopBottom* = 3
enum MFVideo3DFormat : int {
    MFVideo3DSampleFormat_BaseView = 0,
    MFVideo3DSampleFormat_MultiView = 1,
    MFVideo3DSampleFormat_Packed_LeftRight = 2,
    MFVideo3DSampleFormat_Packed_TopBottom = 3,
}
#define global MFVideo3DSampleFormat_BaseView         0x0
#define global MFVideo3DSampleFormat_MultiView        0x1
#define global MFVideo3DSampleFormat_Packed_LeftRight 0x2
#define global MFVideo3DSampleFormat_Packed_TopBottom 0x3