프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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, 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 |