MemBufferCollection

複数のMemBufferクラスライブラリリファレンス>クラス>MemBufferを格納します。MemBufferCollectionはリングバッファ構成になっており、最後のバッファにフレームが取り込まれた後、次のフレームは最初のバッファに取り込まれます。

インフォメーション

ヘッダファイル: tisudshl
ネームスペース: DShowLib

メソッド

メソッド 説明
createクラスライブラリリファレンス>クラス>MemBufferCollection>MemBufferCollection::create Method このファクトリー関数はFrameHandlerSinkクラスライブラリリファレンス>クラス>FrameHandlerSinkGrabberクラスライブラリリファレンス>クラス>Grabberと共に使用されるMemBufferCollectionクラスライブラリリファレンス>クラス>MemBufferCollectionを作成します。
fillWithPatternクラスライブラリリファレンス>クラス>MemBufferCollection>MemBufferCollection::fillWithPattern Method 特定のフレーム、もしくは完全なコレクションにパターンをいれます。
getBitmapInfoHeaderクラスライブラリリファレンス>クラス>MemBufferCollection>MemBufferCollection::getBitmapInfoHeader Method バッファに格納された画像データを表すBITMAPINFOHEADER構造体へのsmart_ptrクラスライブラリリファレンス>クラス>smart_ptrを返します。
getBitsPerPixelクラスライブラリリファレンス>クラス>MemBufferCollection>MemBufferCollection::getBitsPerPixel Method バッファの1ピクセルを表すのに必要なビット数を返します。
getBufferクラスライブラリリファレンス>クラス>MemBufferCollection>MemBufferCollection::getBuffer Method MemBufferクラスライブラリリファレンス>クラス>MemBufferへのsmart_ptrクラスライブラリリファレンス>クラス>smart_ptrを特定のインデックスと共に返します。
getBufferCountクラスライブラリリファレンス>クラス>MemBufferCollection>MemBufferCollection::getBufferCount Method コレクション内に格納されているバッファ数を返します。
getBufferDataSizeクラスライブラリリファレンス>クラス>MemBufferCollection>MemBufferCollection::getBufferDataSize Method バッファ内の有効なデータサイズをバイトで返します。
getBufferSizeクラスライブラリリファレンス>クラス>MemBufferCollection>MemBufferCollection::getBufferSize Method バッファ内の画像データに必要なバイト数を返します。
getColorformatクラスライブラリリファレンス>クラス>MemBufferCollection>MemBufferCollection::getColorformat Method コレクション内に格納されている画像データのカラーフォーマット (ピクセルの構成)を返します。
getFrameSizeクラスライブラリリファレンス>クラス>MemBufferCollection>MemBufferCollection::getFrameSize Method コレクションに格納されているフレームの幅と高さをピクセルで返します。
getFrameTypeクラスライブラリリファレンス>クラス>MemBufferCollection>MemBufferCollection::getFrameType Method コレクションのフレームタイプを返します。
getLastErrorクラスライブラリリファレンス>クラス>MemBufferCollection>MemBufferCollection::getLastError Method メソッドへの最後のコールで発生したエラーについての情報を返します。
isInitクラスライブラリリファレンス>クラス>MemBufferCollection>MemBufferCollection::isInit Method コレクションが初期化されているかどうかをチェックします。
operator[]クラスライブラリリファレンス>クラス>MemBufferCollection>MemBufferCollection::operator[] Method コレクション内の指定されたインデックスにあるMemBufferクラスライブラリリファレンス>クラス>MemBufferを返します。
saveクラスライブラリリファレンス>クラス>MemBufferCollection>MemBufferCollection::save Method コレクションの全バッファをBMPファイルとしてディスクに保存します。