ホーム › Media.MediaFoundation › IMFExtendedCameraIntrinsicModel
IMFExtendedCameraIntrinsicModel
COMメソッド 3
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT GetModel(MFExtendedCameraIntrinsic_IntrinsicModel* pIntrinsicModel)
| pIntrinsicModel | MFExtendedCameraIntrinsic_IntrinsicModel* | out | 現在の内部パラメータモデルを受け取るMFExtendedCameraIntrinsic_IntrinsicModel構造体の出力ポインタ。 |
vtbl 4 HRESULT SetModel(MFExtendedCameraIntrinsic_IntrinsicModel* pIntrinsicModel)
| pIntrinsicModel | MFExtendedCameraIntrinsic_IntrinsicModel* | in | 設定する内部パラメータモデルを表すMFExtendedCameraIntrinsic_IntrinsicModel構造体へのポインタ。 |
vtbl 5 HRESULT GetDistortionModelType(MFCameraIntrinsic_DistortionModelType* pDistortionModelType)
| pDistortionModelType | MFCameraIntrinsic_DistortionModelType* | out | 歪みモデルの種別を受け取るMFCameraIntrinsic_DistortionModelTypeの出力ポインタ。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IMFExtendedCameraIntrinsicModel "{5C595E64-4630-4231-855A-12842F733245}" #usecom global IMFExtendedCameraIntrinsicModel IID_IMFExtendedCameraIntrinsicModel "{}" #comfunc global IMFExtendedCameraIntrinsicModel_GetModel 3 var #comfunc global IMFExtendedCameraIntrinsicModel_SetModel 4 var #comfunc global IMFExtendedCameraIntrinsicModel_GetDistortionModelType 5 var ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_IMFExtendedCameraIntrinsicModel "{5C595E64-4630-4231-855A-12842F733245}" #usecom global IMFExtendedCameraIntrinsicModel IID_IMFExtendedCameraIntrinsicModel "{}" #comfunc global IMFExtendedCameraIntrinsicModel_GetModel 3 sptr #comfunc global IMFExtendedCameraIntrinsicModel_SetModel 4 sptr #comfunc global IMFExtendedCameraIntrinsicModel_GetDistortionModelType 5 sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。