Méthode | Description | |
---|---|---|
Add ( |
Adds the specified frame at the right location. This method ensures the collection stays ordered
|
|
Clear ( ) : void |
Clears all the frames and releases them.
|
|
FFmpegMediaFrameCache ( |
Initializes a new instance of the FFmpegMediaFrameCache class. This copies all properties from an existing cache excluding frames of course.
|
|
FFmpegMediaFrameCache ( decimal frameRate, MediaFrameType type ) : System |
Initializes a new instance of the FFmpegMediaFrameCache class.
|
|
GetFrame ( decimal renderTime, bool checkBounds ) : |
Gets a frame at the given render time.
|
|
GetFrameAt ( int index ) : |
Gets the frame at the given index.
|
|
GetFrames ( decimal renderTime, decimal duration ) : List |
Gets a maximum duration of frames at the given starting renderTime
|
|
GetFrames ( decimal renderTime, int frameCount ) : List |
Gets a maximum of frameCount frames at the given starting renderTime
|
|
IndexOf ( |
Gets the index of the frame. Returns -1 for not found.
|
|
IndexOf ( decimal renderTime, bool checkBounds ) : int |
Gets the index of the frame. Returns -1 if not found.
|
|
RemoveFirst ( ) : void |
Removes the first frame and releases it.
|
|
RemoveLast ( ) : void |
Removes the last frame and releases it.
|
|
Replace ( |
Replaces the internally-held frames with the specified new frames.
|
Méthode | Description | |
---|---|---|
RecomputeProperties ( ) : void |
Recomputes the properties.
|
|
SearchFrame ( decimal renderTime ) : |
||
ThrowInvalidFrameTypeException ( MediaFrameType frameType ) : void |
Throws the invalid frame type exception.
|
public Add ( |
||
frame | The frame. | |
Résultat | void |
public FFmpegMediaFrameCache ( |
||
otherCache | The other cache. | |
Résultat | System |
public FFmpegMediaFrameCache ( decimal frameRate, MediaFrameType type ) : System | ||
frameRate | decimal | The frame rate. |
type | MediaFrameType | The type. |
Résultat | System |
public GetFrame ( decimal renderTime, bool checkBounds ) : |
||
renderTime | decimal | The render time. |
checkBounds | bool | |
Résultat |
public GetFrameAt ( int index ) : |
||
index | int | The index. |
Résultat |
public GetFrames ( decimal renderTime, decimal duration ) : List |
||
renderTime | decimal | The render time. |
duration | decimal | The duration. |
Résultat | List |
public GetFrames ( decimal renderTime, int frameCount ) : List |
||
renderTime | decimal | The render time. |
frameCount | int | The frame count. |
Résultat | List |
public IndexOf ( |
||
frame | The frame. | |
Résultat | int |
public IndexOf ( decimal renderTime, bool checkBounds ) : int | ||
renderTime | decimal | The render time. |
checkBounds | bool | |
Résultat | int |
public Replace ( |
||
newFrames | The new frames. | |
Résultat | void |