C# Class AnimatGuiCtrls.Video.EditableVideoStream

Inheritance: VideoStream
Datei anzeigen Open project: NeuroRoboticTech/AnimatLabPublicSource

Private Properties

Property Type Description

Public Methods

Method Description
Close ( ) : void

Close the stream

Copy ( int start, int length ) : IntPtr

Copy a number of frames into a temporary stream

Cut ( int start, int length ) : IntPtr

Move a number of frames into a temporary stream

EditableVideoStream ( VideoStream stream ) : System

Create an editable stream from an uneditable stream

Paste ( IntPtr sourceStream, int copyPosition, int pastePosition, int length ) : void

Paste a number of frames from another video stream into this stream

Paste ( VideoStream sourceStream, int copyPosition, int pastePosition, int length ) : void

Paste a number of frames from another video stream into this stream

SetInfo ( Avi info ) : void

Change the AviStreamInfo values and update the frame rate

Method Details

Close() public method

Close the stream
public Close ( ) : void
return void

Copy() public method

Copy a number of frames into a temporary stream
public Copy ( int start, int length ) : IntPtr
start int First frame to copy
length int Count of frames to copy
return System.IntPtr

Cut() public method

Move a number of frames into a temporary stream
public Cut ( int start, int length ) : IntPtr
start int First frame to cut
length int Count of frames to cut
return System.IntPtr

EditableVideoStream() public method

Create an editable stream from an uneditable stream
public EditableVideoStream ( VideoStream stream ) : System
stream VideoStream uneditable stream
return System

Paste() public method

Paste a number of frames from another video stream into this stream
public Paste ( IntPtr sourceStream, int copyPosition, int pastePosition, int length ) : void
sourceStream System.IntPtr Pointer to the unmanaged stream to copy from
copyPosition int Index of the first frame to copy
pastePosition int Where to paste the copied frames
length int Count of frames to paste
return void

Paste() public method

Paste a number of frames from another video stream into this stream
public Paste ( VideoStream sourceStream, int copyPosition, int pastePosition, int length ) : void
sourceStream VideoStream Stream to copy from
copyPosition int Index of the first frame to copy
pastePosition int Where to paste the copied frames
length int Count of frames to paste
return void

SetInfo() public method

Change the AviStreamInfo values and update the frame rate
public SetInfo ( Avi info ) : void
info Avi
return void