IMVBufferAccess2
The IMVBufferAccess2 interface contains methods and properties to get asynchronour access to the video buffer within MV Buffer Access DirectShow Filter .
Methods:
| GetBuffersC | Get the buffers using C/C++. |
| GetBuffersVBDirect | Get the buffers using VB (long pointer). |
| GetBufferVB | Get the buffer using VB (Safe Array). |
| ReleaseBuffers | Release the buffers. |
Header file: IMVBufferAccess.h
Interface definition language file: IMVBufferAccess.idl
Typelib: MVBufferAccess
Interface ID: IID_IMVBufferAccess2
Method IMVBufferAccess2::GetBuffersC
Declaration: Sub GetBuffersC(ppbyInput As Byte, ppbyOutput As Byte, lImageWidth As Long, lImageHeight As Long, lBitsPerPixel As Long, lPitch As Long)Get the buffers using C/C++.
Parameter:
C Prototype:
ppbyInput - ppbyOutput - lImageWidth - lImageHeight - lBitsPerPixel - lPitch - HRESULT GetBuffersC(BYTE ppbyInput, BYTE ppbyOutput, LONG lImageWidth, LONG lImageHeight, LONG lBitsPerPixel, LONG lPitch);
Method IMVBufferAccess2::GetBuffersVBDirect
Declaration: Sub GetBuffersVBDirect(pInput As Long, pOutput As Long, lImageWidth As Long, lImageHeight As Long, lBitsPerPixel As Long, lPitch As Long)Get the buffers using VB (long pointer).
Parameter:
C Prototype:
pInput - pOutput - lImageWidth - lImageHeight - lBitsPerPixel - lPitch - HRESULT GetBuffersVBDirect(LONG pInput, LONG pOutput, LONG lImageWidth, LONG lImageHeight, LONG lBitsPerPixel, LONG lPitch);
Method IMVBufferAccess2::GetBufferVB
Declaration: Sub GetBufferVB(byInput() As Byte, lImageWidth As Long, lImageHeight As Long, lBitsPerPixel As Long, lPitch As Long)Get the buffer using VB (Safe Array).
Parameter:
C Prototype:
byInput - lImageWidth - lImageHeight - lBitsPerPixel - lPitch - HRESULT GetBufferVB(BYTE() byInput, LONG lImageWidth, LONG lImageHeight, LONG lBitsPerPixel, LONG lPitch);
Method IMVBufferAccess2::ReleaseBuffers
Declaration: Sub ReleaseBuffers(byOutput() As Byte)Release the buffers.
Parameter:
C Prototype:
byOutput - HRESULT ReleaseBuffers(BYTE() byOutput);