Méthode | Description | |
---|---|---|
HandleCapturedFrame ( object sender, |
Respond to capture event. This should return as fast as possible.
|
|
ImageToYUV_Buffer ( int Width, int Height ) : System |
Prepare a set of buffers to accept the images. Incoming frames will be scaled to match the given width and height. For best results, capture and buffer sizes should match. Rescaling does not preserve aspect ratio.
|
|
LoadToFrame ( |
Load the buffer into a MediaFrame for the encoder. IMPORTANT: You must call UnloadFrame after this method is called. For efficiency, unload as soon as possible.
|
|
SelectiveDequeue ( double OffsetSeconds ) : void |
Remove un-needed frames when encoding by a reference clock.
|
|
SelectiveLoadFrame ( |
Load the closest matching frame by offset time. Fills the encoder-ready frame, with given time-code. WARNING: use this *OR* 'LoadToFrame', but not both!
|
|
UnloadFrame ( |
Release memory previously locked by LoadToFrame()
|
Méthode | Description | |
---|---|---|
FirstFrameMatchingTime ( double OffsetSeconds ) : int |
Used by SelectiveLoadFrame() to pick a frame from the waiting frames buffer.
|
|
ResampleBuffer ( |
Resample an image into a set of YUV420 buffers. This is done seperately from frame encoding the improve multi-processor performance |
|
WipeBuffer ( ) : void |
Emergeny clear-out. Drop all queued frames
|
|
WipeBufferUntil ( double AbandonTime ) : void |
Remove all frames captured before the given capture time. They will not be encoded.
|
public HandleCapturedFrame ( object sender, |
||
sender | object | |
e | ||
Résultat | void |
public ImageToYUV_Buffer ( int Width, int Height ) : System | ||
Width | int | |
Height | int | |
Résultat | System |
public LoadToFrame ( |
||
Frame | ||
Résultat | void |
public SelectiveDequeue ( double OffsetSeconds ) : void | ||
OffsetSeconds | double | |
Résultat | void |
public SelectiveLoadFrame ( |
||
Frame | ||
OffsetSeconds | double | |
Résultat | void |
public UnloadFrame ( |
||
Frame | ||
Résultat | void |