ホーム › Graphics.Direct3D11 › ID3D11VideoContext
ID3D11VideoContext
COMメソッド 58
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 7 HRESULT GetDecoderBuffer(ID3D11VideoDecoder* pDecoder, D3D11_VIDEO_DECODER_BUFFER_TYPE Type, DWORD* pBufferSize, void** ppBuffer)
| pDecoder | ID3D11VideoDecoder* | in | 対象のビデオデコーダ。 |
| Type | D3D11_VIDEO_DECODER_BUFFER_TYPE | in | 取得するデコーダバッファの種別(D3D11_VIDEO_DECODER_BUFFER_TYPE)。 |
| pBufferSize | DWORD* | out | バッファのバイトサイズを受け取る。 |
| ppBuffer | void** | out | マップされたバッファ先頭ポインタを受け取る。 |
vtbl 8 HRESULT ReleaseDecoderBuffer(ID3D11VideoDecoder* pDecoder, D3D11_VIDEO_DECODER_BUFFER_TYPE Type)
| pDecoder | ID3D11VideoDecoder* | in | 対象のビデオデコーダ。 |
| Type | D3D11_VIDEO_DECODER_BUFFER_TYPE | in | 解放するデコーダバッファの種別。 |
vtbl 9 HRESULT DecoderBeginFrame(ID3D11VideoDecoder* pDecoder, ID3D11VideoDecoderOutputView* pView, DWORD ContentKeySize, void* pContentKey)
| pDecoder | ID3D11VideoDecoder* | in | 対象のビデオデコーダ。 |
| pView | ID3D11VideoDecoderOutputView* | in | デコード出力先のビューサーフェス。 |
| ContentKeySize | DWORD | in | pContentKeyのバイトサイズ。0可。 |
| pContentKey | void* | inoptional | 保護コンテンツ復号用のコンテンツキー。NULL可。 |
vtbl 10 HRESULT DecoderEndFrame(ID3D11VideoDecoder* pDecoder)
| pDecoder | ID3D11VideoDecoder* | in | フレームデコードを終了する対象デコーダ。 |
vtbl 11 HRESULT SubmitDecoderBuffers(ID3D11VideoDecoder* pDecoder, DWORD NumBuffers, D3D11_VIDEO_DECODER_BUFFER_DESC* pBufferDesc)
| pDecoder | ID3D11VideoDecoder* | in | 対象のビデオデコーダ。 |
| NumBuffers | DWORD | in | 送信するバッファ記述の数。 |
| pBufferDesc | D3D11_VIDEO_DECODER_BUFFER_DESC* | in | デコーダバッファ記述の配列。 |
vtbl 12 INT DecoderExtension(ID3D11VideoDecoder* pDecoder, D3D11_VIDEO_DECODER_EXTENSION* pExtensionData)
| pDecoder | ID3D11VideoDecoder* | in | 対象のビデオデコーダ。 |
| pExtensionData | D3D11_VIDEO_DECODER_EXTENSION* | in | ドライバ拡張呼び出しの入出力データ。 |
vtbl 13 void VideoProcessorSetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, BOOL Enable, RECT* pRect)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| Enable | BOOL | in | 出力ターゲット矩形を有効にするか。 |
| pRect | RECT* | inoptional | 出力を制限する矩形(RECT)。Enable時に有効。 |
vtbl 14 void VideoProcessorSetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, BOOL YCbCr, D3D11_VIDEO_COLOR* pColor)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| YCbCr | BOOL | in | 色をYCbCrで指定するか(TRUE)RGBか(FALSE)。 |
| pColor | D3D11_VIDEO_COLOR* | in | 背景色(D3D11_VIDEO_COLOR)。 |
vtbl 15 void VideoProcessorSetOutputColorSpace(ID3D11VideoProcessor* pVideoProcessor, D3D11_VIDEO_PROCESSOR_COLOR_SPACE* pColorSpace)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| pColorSpace | D3D11_VIDEO_PROCESSOR_COLOR_SPACE* | in | 出力の色空間情報(D3D11_VIDEO_PROCESSOR_COLOR_SPACE)。 |
vtbl 16 void VideoProcessorSetOutputAlphaFillMode(ID3D11VideoProcessor* pVideoProcessor, D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE AlphaFillMode, DWORD StreamIndex)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| AlphaFillMode | D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE | in | アルファ塗り潰しモード(D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE)。 |
| StreamIndex | DWORD | in | SOURCE_STREAMモード時の参照ストリーム番号。 |
vtbl 17 void VideoProcessorSetOutputConstriction(ID3D11VideoProcessor* pVideoProcessor, BOOL Enable, SIZE Size)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| Enable | BOOL | in | 出力の解像度制限を有効にするか。 |
| Size | SIZE | in | 制限後の出力サイズ(SIZE)。 |
vtbl 18 void VideoProcessorSetOutputStereoMode(ID3D11VideoProcessor* pVideoProcessor, BOOL Enable)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| Enable | BOOL | in | ステレオ3D出力を有効にするか。 |
vtbl 19 INT VideoProcessorSetOutputExtension(ID3D11VideoProcessor* pVideoProcessor, GUID* pExtensionGuid, DWORD DataSize, void* pData)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| pExtensionGuid | GUID* | in | 拡張機能を識別するGUID。 |
| DataSize | DWORD | in | pDataのバイトサイズ。 |
| pData | void* | in | ドライバ拡張に渡すデータ。 |
vtbl 20 void VideoProcessorGetOutputTargetRect(ID3D11VideoProcessor* pVideoProcessor, BOOL* Enabled, RECT* pRect)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| Enabled | BOOL* | out | ターゲット矩形が有効かを受け取る。 |
| pRect | RECT* | out | 設定中の出力矩形を受け取る。 |
vtbl 21 void VideoProcessorGetOutputBackgroundColor(ID3D11VideoProcessor* pVideoProcessor, BOOL* pYCbCr, D3D11_VIDEO_COLOR* pColor)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| pYCbCr | BOOL* | out | 色がYCbCrかを受け取る。 |
| pColor | D3D11_VIDEO_COLOR* | out | 背景色を受け取る。 |
vtbl 22 void VideoProcessorGetOutputColorSpace(ID3D11VideoProcessor* pVideoProcessor, D3D11_VIDEO_PROCESSOR_COLOR_SPACE* pColorSpace)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| pColorSpace | D3D11_VIDEO_PROCESSOR_COLOR_SPACE* | out | 出力色空間を受け取る。 |
vtbl 23 void VideoProcessorGetOutputAlphaFillMode(ID3D11VideoProcessor* pVideoProcessor, D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE* pAlphaFillMode, DWORD* pStreamIndex)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| pAlphaFillMode | D3D11_VIDEO_PROCESSOR_ALPHA_FILL_MODE* | out | アルファ塗り潰しモードを受け取る。 |
| pStreamIndex | DWORD* | out | 参照ストリーム番号を受け取る。 |
vtbl 24 void VideoProcessorGetOutputConstriction(ID3D11VideoProcessor* pVideoProcessor, BOOL* pEnabled, SIZE* pSize)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| pEnabled | BOOL* | out | 解像度制限が有効かを受け取る。 |
| pSize | SIZE* | out | 制限サイズを受け取る。 |
vtbl 25 void VideoProcessorGetOutputStereoMode(ID3D11VideoProcessor* pVideoProcessor, BOOL* pEnabled)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| pEnabled | BOOL* | out | ステレオ出力が有効かを受け取る。 |
vtbl 26 INT VideoProcessorGetOutputExtension(ID3D11VideoProcessor* pVideoProcessor, GUID* pExtensionGuid, DWORD DataSize, void* pData)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| pExtensionGuid | GUID* | in | 拡張機能を識別するGUID。 |
| DataSize | DWORD | in | pDataのバイトサイズ。 |
| pData | void* | out | 拡張から取得したデータを受け取る。 |
vtbl 27 void VideoProcessorSetStreamFrameFormat(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, D3D11_VIDEO_FRAME_FORMAT FrameFormat)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| FrameFormat | D3D11_VIDEO_FRAME_FORMAT | in | フレーム形式(プログレッシブ/インターレース。D3D11_VIDEO_FRAME_FORMAT)。 |
vtbl 28 void VideoProcessorSetStreamColorSpace(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, D3D11_VIDEO_PROCESSOR_COLOR_SPACE* pColorSpace)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| pColorSpace | D3D11_VIDEO_PROCESSOR_COLOR_SPACE* | in | ストリームの入力色空間情報。 |
vtbl 29 void VideoProcessorSetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, D3D11_VIDEO_PROCESSOR_OUTPUT_RATE OutputRate, BOOL RepeatFrame, DXGI_RATIONAL* pCustomRate)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| OutputRate | D3D11_VIDEO_PROCESSOR_OUTPUT_RATE | in | 出力レート(通常/半分/カスタム。D3D11_VIDEO_PROCESSOR_OUTPUT_RATE)。 |
| RepeatFrame | BOOL | in | フレーム補間ではなく繰り返しを行うか。 |
| pCustomRate | DXGI_RATIONAL* | inoptional | カスタム出力レート(DXGI_RATIONAL)。NULL可。 |
vtbl 30 void VideoProcessorSetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, BOOL Enable, RECT* pRect)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| Enable | BOOL | in | ソース矩形を有効にするか。 |
| pRect | RECT* | inoptional | 入力から切り出す矩形(RECT)。 |
vtbl 31 void VideoProcessorSetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, BOOL Enable, RECT* pRect)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| Enable | BOOL | in | 出力先矩形を有効にするか。 |
| pRect | RECT* | inoptional | 出力先に配置する矩形(RECT)。 |
vtbl 32 void VideoProcessorSetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, BOOL Enable, FLOAT Alpha)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| Enable | BOOL | in | ストリームのアルファ(透過)を有効にするか。 |
| Alpha | FLOAT | in | 平面アルファ値(0.0〜1.0)。 |
vtbl 33 void VideoProcessorSetStreamPalette(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, DWORD Count, DWORD* pEntries)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| Count | DWORD | in | パレットエントリ数(最大256)。 |
| pEntries | DWORD* | inoptional | ARGBパレットエントリ配列。 |
vtbl 34 void VideoProcessorSetStreamPixelAspectRatio(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, BOOL Enable, DXGI_RATIONAL* pSourceAspectRatio, DXGI_RATIONAL* pDestinationAspectRatio)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| Enable | BOOL | in | ピクセル縦横比指定を有効にするか。 |
| pSourceAspectRatio | DXGI_RATIONAL* | inoptional | 入力のピクセル縦横比。NULL可。 |
| pDestinationAspectRatio | DXGI_RATIONAL* | inoptional | 出力のピクセル縦横比。NULL可。 |
vtbl 35 void VideoProcessorSetStreamLumaKey(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, BOOL Enable, FLOAT Lower, FLOAT Upper)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| Enable | BOOL | in | 輝度キーを有効にするか。 |
| Lower | FLOAT | in | 輝度キー下限(0.0〜1.0)。 |
| Upper | FLOAT | in | 輝度キー上限(0.0〜1.0)。 |
vtbl 36 void VideoProcessorSetStreamStereoFormat(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, BOOL Enable, D3D11_VIDEO_PROCESSOR_STEREO_FORMAT Format, BOOL LeftViewFrame0, BOOL BaseViewFrame0, D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE FlipMode, INT MonoOffset)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| Enable | BOOL | in | ステレオ3D形式を有効にするか。 |
| Format | D3D11_VIDEO_PROCESSOR_STEREO_FORMAT | in | ステレオ配置形式(D3D11_VIDEO_PROCESSOR_STEREO_FORMAT)。 |
| LeftViewFrame0 | BOOL | in | フレーム0が左目ビューか。 |
| BaseViewFrame0 | BOOL | in | フレーム0が基準ビューか。 |
| FlipMode | D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE | in | 反転モード(D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE)。 |
| MonoOffset | INT | in | モノ表示時の水平オフセット。 |
vtbl 37 void VideoProcessorSetStreamAutoProcessingMode(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, BOOL Enable)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| Enable | BOOL | in | ドライバ自動処理(自動補正等)を有効にするか。 |
vtbl 38 void VideoProcessorSetStreamFilter(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, D3D11_VIDEO_PROCESSOR_FILTER Filter, BOOL Enable, INT Level)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| Filter | D3D11_VIDEO_PROCESSOR_FILTER | in | 設定するフィルタ種別(D3D11_VIDEO_PROCESSOR_FILTER)。 |
| Enable | BOOL | in | フィルタを有効にするか。 |
| Level | INT | in | フィルタ強度(範囲はフィルタ毎)。 |
vtbl 39 INT VideoProcessorSetStreamExtension(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, GUID* pExtensionGuid, DWORD DataSize, void* pData)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| pExtensionGuid | GUID* | in | 拡張機能を識別するGUID。 |
| DataSize | DWORD | in | pDataのバイトサイズ。 |
| pData | void* | in | ドライバ拡張に渡すデータ。 |
vtbl 40 void VideoProcessorGetStreamFrameFormat(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, D3D11_VIDEO_FRAME_FORMAT* pFrameFormat)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| pFrameFormat | D3D11_VIDEO_FRAME_FORMAT* | out | フレーム形式を受け取る。 |
vtbl 41 void VideoProcessorGetStreamColorSpace(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, D3D11_VIDEO_PROCESSOR_COLOR_SPACE* pColorSpace)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| pColorSpace | D3D11_VIDEO_PROCESSOR_COLOR_SPACE* | out | ストリームの入力色空間を受け取る。 |
vtbl 42 void VideoProcessorGetStreamOutputRate(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, D3D11_VIDEO_PROCESSOR_OUTPUT_RATE* pOutputRate, BOOL* pRepeatFrame, DXGI_RATIONAL* pCustomRate)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| pOutputRate | D3D11_VIDEO_PROCESSOR_OUTPUT_RATE* | out | 出力レートを受け取る。 |
| pRepeatFrame | BOOL* | out | 繰り返しフレームかを受け取る。 |
| pCustomRate | DXGI_RATIONAL* | out | カスタムレートを受け取る。 |
vtbl 43 void VideoProcessorGetStreamSourceRect(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, BOOL* pEnabled, RECT* pRect)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| pEnabled | BOOL* | out | ソース矩形が有効かを受け取る。 |
| pRect | RECT* | out | ソース矩形を受け取る。 |
vtbl 44 void VideoProcessorGetStreamDestRect(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, BOOL* pEnabled, RECT* pRect)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| pEnabled | BOOL* | out | 出力先矩形が有効かを受け取る。 |
| pRect | RECT* | out | 出力先矩形を受け取る。 |
vtbl 45 void VideoProcessorGetStreamAlpha(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, BOOL* pEnabled, FLOAT* pAlpha)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| pEnabled | BOOL* | out | アルファが有効かを受け取る。 |
| pAlpha | FLOAT* | out | 平面アルファ値を受け取る。 |
vtbl 46 void VideoProcessorGetStreamPalette(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, DWORD Count, DWORD* pEntries)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| Count | DWORD | in | 取得するパレットエントリ数。 |
| pEntries | DWORD* | out | ARGBパレットを受け取る配列。 |
vtbl 47 void VideoProcessorGetStreamPixelAspectRatio(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, BOOL* pEnabled, DXGI_RATIONAL* pSourceAspectRatio, DXGI_RATIONAL* pDestinationAspectRatio)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| pEnabled | BOOL* | out | 縦横比指定が有効かを受け取る。 |
| pSourceAspectRatio | DXGI_RATIONAL* | out | 入力ピクセル縦横比を受け取る。 |
| pDestinationAspectRatio | DXGI_RATIONAL* | out | 出力ピクセル縦横比を受け取る。 |
vtbl 48 void VideoProcessorGetStreamLumaKey(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, BOOL* pEnabled, FLOAT* pLower, FLOAT* pUpper)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| pEnabled | BOOL* | out | 輝度キーが有効かを受け取る。 |
| pLower | FLOAT* | out | 輝度キー下限を受け取る。 |
| pUpper | FLOAT* | out | 輝度キー上限を受け取る。 |
vtbl 49 void VideoProcessorGetStreamStereoFormat(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, BOOL* pEnable, D3D11_VIDEO_PROCESSOR_STEREO_FORMAT* pFormat, BOOL* pLeftViewFrame0, BOOL* pBaseViewFrame0, D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE* pFlipMode, INT* MonoOffset)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| pEnable | BOOL* | out | ステレオ形式が有効かを受け取る。 |
| pFormat | D3D11_VIDEO_PROCESSOR_STEREO_FORMAT* | out | ステレオ配置形式を受け取る。 |
| pLeftViewFrame0 | BOOL* | out | フレーム0が左目かを受け取る。 |
| pBaseViewFrame0 | BOOL* | out | フレーム0が基準ビューかを受け取る。 |
| pFlipMode | D3D11_VIDEO_PROCESSOR_STEREO_FLIP_MODE* | out | 反転モードを受け取る。 |
| MonoOffset | INT* | out | モノ表示時の水平オフセットを受け取る。 |
vtbl 50 void VideoProcessorGetStreamAutoProcessingMode(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, BOOL* pEnabled)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| pEnabled | BOOL* | out | 自動処理が有効かを受け取る。 |
vtbl 51 void VideoProcessorGetStreamFilter(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, D3D11_VIDEO_PROCESSOR_FILTER Filter, BOOL* pEnabled, INT* pLevel)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| Filter | D3D11_VIDEO_PROCESSOR_FILTER | in | 問い合わせるフィルタ種別。 |
| pEnabled | BOOL* | out | フィルタが有効かを受け取る。 |
| pLevel | INT* | out | フィルタ強度を受け取る。 |
vtbl 52 INT VideoProcessorGetStreamExtension(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, GUID* pExtensionGuid, DWORD DataSize, void* pData)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| pExtensionGuid | GUID* | in | 拡張機能を識別するGUID。 |
| DataSize | DWORD | in | pDataのバイトサイズ。 |
| pData | void* | out | 拡張から取得したデータを受け取る。 |
vtbl 53 HRESULT VideoProcessorBlt(ID3D11VideoProcessor* pVideoProcessor, ID3D11VideoProcessorOutputView* pView, DWORD OutputFrame, DWORD StreamCount, D3D11_VIDEO_PROCESSOR_STREAM* pStreams)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| pView | ID3D11VideoProcessorOutputView* | in | 合成結果の出力先ビュー。 |
| OutputFrame | DWORD | in | 出力フレーム番号(レート変換時のインデックス)。 |
| StreamCount | DWORD | in | 入力ストリームの数。 |
| pStreams | D3D11_VIDEO_PROCESSOR_STREAM* | in | 各入力ストリームの情報配列(D3D11_VIDEO_PROCESSOR_STREAM)。 |
vtbl 54 HRESULT NegotiateCryptoSessionKeyExchange(ID3D11CryptoSession* pCryptoSession, DWORD DataSize, void* pData)
| pCryptoSession | ID3D11CryptoSession* | in | 対象の暗号セッション。 |
| DataSize | DWORD | in | pDataのバイトサイズ。 |
| pData | void* | inout | 鍵交換データの入出力バッファ。 |
vtbl 55 void EncryptionBlt(ID3D11CryptoSession* pCryptoSession, ID3D11Texture2D* pSrcSurface, ID3D11Texture2D* pDstSurface, DWORD IVSize, void* pIV)
| pCryptoSession | ID3D11CryptoSession* | in | 対象の暗号セッション。 |
| pSrcSurface | ID3D11Texture2D* | in | 平文の入力サーフェス。 |
| pDstSurface | ID3D11Texture2D* | in | 暗号化結果の出力サーフェス。 |
| IVSize | DWORD | in | pIVのバイトサイズ。 |
| pIV | void* | inoutoptional | 初期化ベクトル。 |
vtbl 56 void DecryptionBlt(ID3D11CryptoSession* pCryptoSession, ID3D11Texture2D* pSrcSurface, ID3D11Texture2D* pDstSurface, D3D11_ENCRYPTED_BLOCK_INFO* pEncryptedBlockInfo, DWORD ContentKeySize, void* pContentKey, DWORD IVSize, void* pIV)
| pCryptoSession | ID3D11CryptoSession* | in | 対象の暗号セッション。 |
| pSrcSurface | ID3D11Texture2D* | in | 暗号化された入力サーフェス。 |
| pDstSurface | ID3D11Texture2D* | in | 復号結果の出力サーフェス。 |
| pEncryptedBlockInfo | D3D11_ENCRYPTED_BLOCK_INFO* | inoptional | 暗号化ブロック情報。NULL可(全体暗号化)。 |
| ContentKeySize | DWORD | in | pContentKeyのバイトサイズ。 |
| pContentKey | void* | inoptional | コンテンツキー。NULL可。 |
| IVSize | DWORD | in | pIVのバイトサイズ。 |
| pIV | void* | inoutoptional | 初期化ベクトル。 |
vtbl 57 void StartSessionKeyRefresh(ID3D11CryptoSession* pCryptoSession, DWORD RandomNumberSize, void* pRandomNumber)
| pCryptoSession | ID3D11CryptoSession* | in | 対象の暗号セッション。 |
| RandomNumberSize | DWORD | in | pRandomNumberのバイトサイズ。 |
| pRandomNumber | void* | out | 鍵更新用の乱数を受け取るバッファ。 |
vtbl 58 void FinishSessionKeyRefresh(ID3D11CryptoSession* pCryptoSession)
| pCryptoSession | ID3D11CryptoSession* | in | 鍵更新を完了する暗号セッション。 |
vtbl 59 HRESULT GetEncryptionBltKey(ID3D11CryptoSession* pCryptoSession, DWORD KeySize, void* pReadbackKey)
| pCryptoSession | ID3D11CryptoSession* | in | 対象の暗号セッション。 |
| KeySize | DWORD | in | pReadbackKeyのバイトサイズ。 |
| pReadbackKey | void* | out | 読み戻し用の鍵を受け取るバッファ。 |
vtbl 60 HRESULT NegotiateAuthenticatedChannelKeyExchange(ID3D11AuthenticatedChannel* pChannel, DWORD DataSize, void* pData)
| pChannel | ID3D11AuthenticatedChannel* | in | 対象の認証チャネル。 |
| DataSize | DWORD | in | pDataのバイトサイズ。 |
| pData | void* | inout | 鍵交換データの入出力バッファ。 |
vtbl 61 HRESULT QueryAuthenticatedChannel(ID3D11AuthenticatedChannel* pChannel, DWORD InputSize, void* pInput, DWORD OutputSize, void* pOutput)
| pChannel | ID3D11AuthenticatedChannel* | in | 対象の認証チャネル。 |
| InputSize | DWORD | in | pInputのバイトサイズ。 |
| pInput | void* | in | 問い合わせ入力データ。 |
| OutputSize | DWORD | in | pOutputのバイトサイズ。 |
| pOutput | void* | out | 問い合わせ結果を受け取るバッファ。 |
vtbl 62 HRESULT ConfigureAuthenticatedChannel(ID3D11AuthenticatedChannel* pChannel, DWORD InputSize, void* pInput, D3D11_AUTHENTICATED_CONFIGURE_OUTPUT* pOutput)
| pChannel | ID3D11AuthenticatedChannel* | in | 対象の認証チャネル。 |
| InputSize | DWORD | in | pInputのバイトサイズ。 |
| pInput | void* | in | 設定入力データ。 |
| pOutput | D3D11_AUTHENTICATED_CONFIGURE_OUTPUT* | out | 設定結果を受け取る構造体。 |
vtbl 63 void VideoProcessorSetStreamRotation(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, BOOL Enable, D3D11_VIDEO_PROCESSOR_ROTATION Rotation)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| Enable | BOOL | in | ストリーム回転を有効にするか。 |
| Rotation | D3D11_VIDEO_PROCESSOR_ROTATION | in | 回転量(D3D11_VIDEO_PROCESSOR_ROTATION)。 |
vtbl 64 void VideoProcessorGetStreamRotation(ID3D11VideoProcessor* pVideoProcessor, DWORD StreamIndex, BOOL* pEnable, D3D11_VIDEO_PROCESSOR_ROTATION* pRotation)
| pVideoProcessor | ID3D11VideoProcessor* | in | 対象のビデオプロセッサ。 |
| StreamIndex | DWORD | in | 対象の入力ストリーム番号。 |
| pEnable | BOOL* | out | 回転が有効かを受け取る。 |
| pRotation | D3D11_VIDEO_PROCESSOR_ROTATION* | out | 回転量を受け取る。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_ID3D11VideoContext "{61F21C45-3C0E-4A74-9CEA-67100D9AD5E4}" #usecom global ID3D11VideoContext IID_ID3D11VideoContext "{}" #comfunc global ID3D11VideoContext_GetDecoderBuffer 7 sptr,int,var,sptr #comfunc global ID3D11VideoContext_ReleaseDecoderBuffer 8 sptr,int #comfunc global ID3D11VideoContext_DecoderBeginFrame 9 sptr,sptr,int,sptr #comfunc global ID3D11VideoContext_DecoderEndFrame 10 sptr #comfunc global ID3D11VideoContext_SubmitDecoderBuffers 11 sptr,int,var #comfunc global ID3D11VideoContext_DecoderExtension 12 sptr,var #comfunc global ID3D11VideoContext_VideoProcessorSetOutputTargetRect 13 sptr,int,var #comfunc global ID3D11VideoContext_VideoProcessorSetOutputBackgroundColor 14 sptr,int,var #comfunc global ID3D11VideoContext_VideoProcessorSetOutputColorSpace 15 sptr,var #comfunc global ID3D11VideoContext_VideoProcessorSetOutputAlphaFillMode 16 sptr,int,int #comfunc global ID3D11VideoContext_VideoProcessorSetOutputConstriction 17 sptr,int,int #comfunc global ID3D11VideoContext_VideoProcessorSetOutputStereoMode 18 sptr,int #comfunc global ID3D11VideoContext_VideoProcessorSetOutputExtension 19 sptr,var,int,sptr #comfunc global ID3D11VideoContext_VideoProcessorGetOutputTargetRect 20 sptr,var,var #comfunc global ID3D11VideoContext_VideoProcessorGetOutputBackgroundColor 21 sptr,var,var #comfunc global ID3D11VideoContext_VideoProcessorGetOutputColorSpace 22 sptr,var #comfunc global ID3D11VideoContext_VideoProcessorGetOutputAlphaFillMode 23 sptr,var,var #comfunc global ID3D11VideoContext_VideoProcessorGetOutputConstriction 24 sptr,var,var #comfunc global ID3D11VideoContext_VideoProcessorGetOutputStereoMode 25 sptr,var #comfunc global ID3D11VideoContext_VideoProcessorGetOutputExtension 26 sptr,var,int,sptr #comfunc global ID3D11VideoContext_VideoProcessorSetStreamFrameFormat 27 sptr,int,int #comfunc global ID3D11VideoContext_VideoProcessorSetStreamColorSpace 28 sptr,int,var #comfunc global ID3D11VideoContext_VideoProcessorSetStreamOutputRate 29 sptr,int,int,int,var #comfunc global ID3D11VideoContext_VideoProcessorSetStreamSourceRect 30 sptr,int,int,var #comfunc global ID3D11VideoContext_VideoProcessorSetStreamDestRect 31 sptr,int,int,var #comfunc global ID3D11VideoContext_VideoProcessorSetStreamAlpha 32 sptr,int,int,float #comfunc global ID3D11VideoContext_VideoProcessorSetStreamPalette 33 sptr,int,int,var #comfunc global ID3D11VideoContext_VideoProcessorSetStreamPixelAspectRatio 34 sptr,int,int,var,var #comfunc global ID3D11VideoContext_VideoProcessorSetStreamLumaKey 35 sptr,int,int,float,float #comfunc global ID3D11VideoContext_VideoProcessorSetStreamStereoFormat 36 sptr,int,int,int,int,int,int,int #comfunc global ID3D11VideoContext_VideoProcessorSetStreamAutoProcessingMode 37 sptr,int,int #comfunc global ID3D11VideoContext_VideoProcessorSetStreamFilter 38 sptr,int,int,int,int #comfunc global ID3D11VideoContext_VideoProcessorSetStreamExtension 39 sptr,int,var,int,sptr #comfunc global ID3D11VideoContext_VideoProcessorGetStreamFrameFormat 40 sptr,int,var #comfunc global ID3D11VideoContext_VideoProcessorGetStreamColorSpace 41 sptr,int,var #comfunc global ID3D11VideoContext_VideoProcessorGetStreamOutputRate 42 sptr,int,var,var,var #comfunc global ID3D11VideoContext_VideoProcessorGetStreamSourceRect 43 sptr,int,var,var #comfunc global ID3D11VideoContext_VideoProcessorGetStreamDestRect 44 sptr,int,var,var #comfunc global ID3D11VideoContext_VideoProcessorGetStreamAlpha 45 sptr,int,var,var #comfunc global ID3D11VideoContext_VideoProcessorGetStreamPalette 46 sptr,int,int,var #comfunc global ID3D11VideoContext_VideoProcessorGetStreamPixelAspectRatio 47 sptr,int,var,var,var #comfunc global ID3D11VideoContext_VideoProcessorGetStreamLumaKey 48 sptr,int,var,var,var #comfunc global ID3D11VideoContext_VideoProcessorGetStreamStereoFormat 49 sptr,int,var,var,var,var,var,var #comfunc global ID3D11VideoContext_VideoProcessorGetStreamAutoProcessingMode 50 sptr,int,var #comfunc global ID3D11VideoContext_VideoProcessorGetStreamFilter 51 sptr,int,int,var,var #comfunc global ID3D11VideoContext_VideoProcessorGetStreamExtension 52 sptr,int,var,int,sptr #comfunc global ID3D11VideoContext_VideoProcessorBlt 53 sptr,sptr,int,int,var #comfunc global ID3D11VideoContext_NegotiateCryptoSessionKeyExchange 54 sptr,int,sptr #comfunc global ID3D11VideoContext_EncryptionBlt 55 sptr,sptr,sptr,int,sptr #comfunc global ID3D11VideoContext_DecryptionBlt 56 sptr,sptr,sptr,var,int,sptr,int,sptr #comfunc global ID3D11VideoContext_StartSessionKeyRefresh 57 sptr,int,sptr #comfunc global ID3D11VideoContext_FinishSessionKeyRefresh 58 sptr #comfunc global ID3D11VideoContext_GetEncryptionBltKey 59 sptr,int,sptr #comfunc global ID3D11VideoContext_NegotiateAuthenticatedChannelKeyExchange 60 sptr,int,sptr #comfunc global ID3D11VideoContext_QueryAuthenticatedChannel 61 sptr,int,sptr,int,sptr #comfunc global ID3D11VideoContext_ConfigureAuthenticatedChannel 62 sptr,int,sptr,var #comfunc global ID3D11VideoContext_VideoProcessorSetStreamRotation 63 sptr,int,int,int #comfunc global ID3D11VideoContext_VideoProcessorGetStreamRotation 64 sptr,int,var,var ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_ID3D11VideoContext "{61F21C45-3C0E-4A74-9CEA-67100D9AD5E4}" #usecom global ID3D11VideoContext IID_ID3D11VideoContext "{}" #comfunc global ID3D11VideoContext_GetDecoderBuffer 7 sptr,int,sptr,sptr #comfunc global ID3D11VideoContext_ReleaseDecoderBuffer 8 sptr,int #comfunc global ID3D11VideoContext_DecoderBeginFrame 9 sptr,sptr,int,sptr #comfunc global ID3D11VideoContext_DecoderEndFrame 10 sptr #comfunc global ID3D11VideoContext_SubmitDecoderBuffers 11 sptr,int,sptr #comfunc global ID3D11VideoContext_DecoderExtension 12 sptr,sptr #comfunc global ID3D11VideoContext_VideoProcessorSetOutputTargetRect 13 sptr,int,sptr #comfunc global ID3D11VideoContext_VideoProcessorSetOutputBackgroundColor 14 sptr,int,sptr #comfunc global ID3D11VideoContext_VideoProcessorSetOutputColorSpace 15 sptr,sptr #comfunc global ID3D11VideoContext_VideoProcessorSetOutputAlphaFillMode 16 sptr,int,int #comfunc global ID3D11VideoContext_VideoProcessorSetOutputConstriction 17 sptr,int,int #comfunc global ID3D11VideoContext_VideoProcessorSetOutputStereoMode 18 sptr,int #comfunc global ID3D11VideoContext_VideoProcessorSetOutputExtension 19 sptr,sptr,int,sptr #comfunc global ID3D11VideoContext_VideoProcessorGetOutputTargetRect 20 sptr,sptr,sptr #comfunc global ID3D11VideoContext_VideoProcessorGetOutputBackgroundColor 21 sptr,sptr,sptr #comfunc global ID3D11VideoContext_VideoProcessorGetOutputColorSpace 22 sptr,sptr #comfunc global ID3D11VideoContext_VideoProcessorGetOutputAlphaFillMode 23 sptr,sptr,sptr #comfunc global ID3D11VideoContext_VideoProcessorGetOutputConstriction 24 sptr,sptr,sptr #comfunc global ID3D11VideoContext_VideoProcessorGetOutputStereoMode 25 sptr,sptr #comfunc global ID3D11VideoContext_VideoProcessorGetOutputExtension 26 sptr,sptr,int,sptr #comfunc global ID3D11VideoContext_VideoProcessorSetStreamFrameFormat 27 sptr,int,int #comfunc global ID3D11VideoContext_VideoProcessorSetStreamColorSpace 28 sptr,int,sptr #comfunc global ID3D11VideoContext_VideoProcessorSetStreamOutputRate 29 sptr,int,int,int,sptr #comfunc global ID3D11VideoContext_VideoProcessorSetStreamSourceRect 30 sptr,int,int,sptr #comfunc global ID3D11VideoContext_VideoProcessorSetStreamDestRect 31 sptr,int,int,sptr #comfunc global ID3D11VideoContext_VideoProcessorSetStreamAlpha 32 sptr,int,int,float #comfunc global ID3D11VideoContext_VideoProcessorSetStreamPalette 33 sptr,int,int,sptr #comfunc global ID3D11VideoContext_VideoProcessorSetStreamPixelAspectRatio 34 sptr,int,int,sptr,sptr #comfunc global ID3D11VideoContext_VideoProcessorSetStreamLumaKey 35 sptr,int,int,float,float #comfunc global ID3D11VideoContext_VideoProcessorSetStreamStereoFormat 36 sptr,int,int,int,int,int,int,int #comfunc global ID3D11VideoContext_VideoProcessorSetStreamAutoProcessingMode 37 sptr,int,int #comfunc global ID3D11VideoContext_VideoProcessorSetStreamFilter 38 sptr,int,int,int,int #comfunc global ID3D11VideoContext_VideoProcessorSetStreamExtension 39 sptr,int,sptr,int,sptr #comfunc global ID3D11VideoContext_VideoProcessorGetStreamFrameFormat 40 sptr,int,sptr #comfunc global ID3D11VideoContext_VideoProcessorGetStreamColorSpace 41 sptr,int,sptr #comfunc global ID3D11VideoContext_VideoProcessorGetStreamOutputRate 42 sptr,int,sptr,sptr,sptr #comfunc global ID3D11VideoContext_VideoProcessorGetStreamSourceRect 43 sptr,int,sptr,sptr #comfunc global ID3D11VideoContext_VideoProcessorGetStreamDestRect 44 sptr,int,sptr,sptr #comfunc global ID3D11VideoContext_VideoProcessorGetStreamAlpha 45 sptr,int,sptr,sptr #comfunc global ID3D11VideoContext_VideoProcessorGetStreamPalette 46 sptr,int,int,sptr #comfunc global ID3D11VideoContext_VideoProcessorGetStreamPixelAspectRatio 47 sptr,int,sptr,sptr,sptr #comfunc global ID3D11VideoContext_VideoProcessorGetStreamLumaKey 48 sptr,int,sptr,sptr,sptr #comfunc global ID3D11VideoContext_VideoProcessorGetStreamStereoFormat 49 sptr,int,sptr,sptr,sptr,sptr,sptr,sptr #comfunc global ID3D11VideoContext_VideoProcessorGetStreamAutoProcessingMode 50 sptr,int,sptr #comfunc global ID3D11VideoContext_VideoProcessorGetStreamFilter 51 sptr,int,int,sptr,sptr #comfunc global ID3D11VideoContext_VideoProcessorGetStreamExtension 52 sptr,int,sptr,int,sptr #comfunc global ID3D11VideoContext_VideoProcessorBlt 53 sptr,sptr,int,int,sptr #comfunc global ID3D11VideoContext_NegotiateCryptoSessionKeyExchange 54 sptr,int,sptr #comfunc global ID3D11VideoContext_EncryptionBlt 55 sptr,sptr,sptr,int,sptr #comfunc global ID3D11VideoContext_DecryptionBlt 56 sptr,sptr,sptr,sptr,int,sptr,int,sptr #comfunc global ID3D11VideoContext_StartSessionKeyRefresh 57 sptr,int,sptr #comfunc global ID3D11VideoContext_FinishSessionKeyRefresh 58 sptr #comfunc global ID3D11VideoContext_GetEncryptionBltKey 59 sptr,int,sptr #comfunc global ID3D11VideoContext_NegotiateAuthenticatedChannelKeyExchange 60 sptr,int,sptr #comfunc global ID3D11VideoContext_QueryAuthenticatedChannel 61 sptr,int,sptr,int,sptr #comfunc global ID3D11VideoContext_ConfigureAuthenticatedChannel 62 sptr,int,sptr,sptr #comfunc global ID3D11VideoContext_VideoProcessorSetStreamRotation 63 sptr,int,int,int #comfunc global ID3D11VideoContext_VideoProcessorGetStreamRotation 64 sptr,int,sptr,sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。