Свойство | Тип | Описание | |
---|---|---|---|
m_Dropped | int | ||
m_MediaEvent | IMediaEvent | ||
m_frameRate | int |
Свойство | Тип | Описание | |
---|---|---|---|
m_IncrementTimecodes | bool | ||
m_TimecodeBase | double |
Метод | Описание | |
---|---|---|
Dispose ( ) : void |
release everything.
|
|
IsCompleted ( ) : bool |
Check if source media has ended. Only makes sense for file input.
|
|
Pause ( ) : void | ||
Start ( ) : void | ||
VideoCapture ( ) : System |
Use capture device zero, default frame rate and size
|
|
VideoCapture ( int iDeviceNum ) : System |
Use specified capture device, default frame rate and size
|
|
VideoCapture ( int iDeviceNum, int iFrameRate ) : System |
Use specified capture device, specified frame rate and default size
|
|
VideoCapture ( int iDeviceNum, int iFrameRate, int iWidth, int iHeight ) : System |
Use specified capture device, specified frame rate and size
|
|
VideoCapture ( string Filename ) : System |
Start a frame-by-frame capture of a source file. Must be one that can be played in Windows Media Player.
|
Метод | Описание | |
---|---|---|
OnFrameAvailable ( object sender, |
Метод | Описание | |
---|---|---|
CloseInterfaces ( ) : void |
Shut down capture
|
|
ConfigureSampleGrabber ( ISampleGrabber sampGrabber ) : void | ||
CopyMemory ( |
||
ISampleGrabberCB ( double SampleTime, IMediaSample pSample ) : int |
sample callback, NOT USED.
|
|
ISampleGrabberCB ( double SampleTime, |
buffer callback, COULD BE FROM FOREIGN THREAD.
|
|
RescaleToTargetSize ( |
Scale a 24bpp interleaved image into another 24bpp interleaved image.
|
|
SaveSizeInfo ( ISampleGrabber sampGrabber ) : void | ||
SetConfigParms ( ICaptureGraphBuilder2 capGraph, IBaseFilter capFilter, int iFrameRate, int iWidth, int iHeight ) : void | ||
SetupGraph ( DsDevice dev, int iFrameRate, int iWidth, int iHeight ) : void |
build the capture graph for grabber.
|
|
SetupGraph ( string FileName ) : void | ||
VideoIndex ( IPin pPin ) : int | ||
_Capture ( int iDeviceNum, int iFrameRate, int iWidth, int iHeight ) : void |
protected OnFrameAvailable ( object sender, |
||
sender | object | |
e | ||
Результат | void |
public VideoCapture ( int iDeviceNum ) : System | ||
iDeviceNum | int | |
Результат | System |
public VideoCapture ( int iDeviceNum, int iFrameRate ) : System | ||
iDeviceNum | int | |
iFrameRate | int | |
Результат | System |
public VideoCapture ( int iDeviceNum, int iFrameRate, int iWidth, int iHeight ) : System | ||
iDeviceNum | int | |
iFrameRate | int | |
iWidth | int | |
iHeight | int | |
Результат | System |
public VideoCapture ( string Filename ) : System | ||
Filename | string | |
Результат | System |