Skip to content

SendImageToVideoFromBitmaps2

function

Delphi
function SendImageToVideoFromBitmaps2 (pBtmapInfo: pBitmapInfo; pBitmapBits: pByte; EndOfData: Boolean): Boolean;
C++Builder
bool __fastcall SendImageToVideoFromBitmaps2(Winapi::Windows::PBitmapInfo pBtmapInfo, Winapi::Windows::PByte pBitmapBits, bool EndOfData);
C#
public bool SendImageToVideoFromBitmaps2(IntPtr pBtmapInfo, IntPtr pBitmapBits, bool EndOfData);
VB.NET
Public Function SendImageToVideoFromBitmaps2(pBtmapInfo As IntPtr, pBitmapBits As IntPtr, EndOfData As Boolean) As Boolean
C++/Qt
BOOL SendImageToVideoFromBitmaps2 (void *pBtmapInfo, byte *pBitmapBits, BOOL EndOfData);

Passes the next image as a pointer to its bitmap bits, when building a clip from bitmaps (VideoSource = vs_JPEGsOrBitmaps). Works the same way as SendImageToVideoFromBitmaps.

As with SendImageToVideoFromBitmaps, set EndOfData to true when no more images are available, to notify the end of the recording or preview.