//current state public PreviewThreadLauncher(IVideoPlayer player, ISomeCommonEditorOperations editor) { this.player = player; this.editor = editor; mutex = new PreviewThreadMutex(); ticker = new Timer(); ticker.Tick += PlaybackTickerFunc; }
//current state public PreviewThreadLauncher(IVideoPlayer player, ISomeCommonEditorOperations editor) { this.player = player; this.editor = editor; mutex = new PreviewThreadMutex(); ticker = new Timer(); ticker.Tick += PlaybackTickerFunc; }
public EditOperationMoveVideo(ISomeCommonEditorOperations iEditor, VidkaUiStateObjects uiObjects, ProjectDimensions dimdim, IVideoEditor editor, IVideoPlayer videoPlayer) : base(iEditor, uiObjects, dimdim, editor, videoPlayer) { copyMode = false; keyboardMode = false; }
private bool isStarted; // TODO: future plan to only initialize draggy when drag index is different... will avoid flickering... however there is no information about this index without the draggy public EditOperationMoveVideo(ISomeCommonEditorOperations iEditor, VidkaUiStateObjects uiObjects, ProjectDimensions dimdim, IVideoEditor editor, IVideoPlayer videoPlayer) : base(iEditor, uiObjects, dimdim, editor, videoPlayer) { copyMode = false; keyboardMode = false; }
public EditOperationSelectOriginalSegment(ISomeCommonEditorOperations iEditor, VidkaUiStateObjects uiObjects, ProjectDimensions dimdim, IVideoEditor editor, IVideoPlayer videoPlayer) : base(iEditor, uiObjects, dimdim, editor, videoPlayer) { keyboardMode = false; isStarted = false; }
public EditOperationSelectOriginalSegment(ISomeCommonEditorOperations iEditor, VidkaUiStateObjects uiObjects, ProjectDimensions dimdim, IVideoEditor editor, IVideoPlayer videoPlayer) : base(iEditor, uiObjects, dimdim, editor, videoPlayer) { keyboardMode = false; isStarted = false; }
public static void SetFrameMarker_RightOfVClipJustBefore(this ISomeCommonEditorOperations iEditor, VidkaClipVideo vclip, VidkaProj proj) { long frameMarker = proj.GetVideoClipAbsFramePositionLeft(vclip); var rightThreshFrames = proj.SecToFrame(Settings.Default.RightTrimMarkerOffsetSeconds); // if clip is longer than RightTrimMarkerOffsetSeconds, we can skip to end-RightTrimMarkerOffsetSeconds if (vclip.LengthFrameCalc > rightThreshFrames) { frameMarker += vclip.LengthFrameCalc - rightThreshFrames; } iEditor.SetFrameMarker_ShowFrameInPlayer(frameMarker); }
public EditOperationAbstract( ISomeCommonEditorOperations iEditor, VidkaUiStateObjects uiObjects, ProjectDimensions dimdim, IVideoEditor editor, IVideoPlayer videoPlayer) { this.iEditor = iEditor; this.uiObjects = uiObjects; this.dimdim = dimdim; this.editor = editor; this.videoPlayer = videoPlayer; }
public EditOperationTrimVideo(ISomeCommonEditorOperations iEditor, VidkaUiStateObjects uiObjects, ProjectDimensions dimdim, IVideoEditor editor, IVideoPlayer videoPlayer, TrimDirection side, ProjectDimensionsTimelineType timeline) : base(iEditor, uiObjects, dimdim, editor, videoPlayer) { this.side = side; this.timeline = timeline; keyboardMode = false; }
public EditOperationTrimVideo(ISomeCommonEditorOperations iEditor, VidkaUiStateObjects uiObjects, ProjectDimensions dimdim, IVideoEditor editor, IVideoPlayer videoPlayer, TrimDirection side, ProjectDimensionsTimelineType timeline) : base(iEditor, uiObjects, dimdim, editor, videoPlayer) { this.side = side; this.timeline = timeline; keyboardMode = false; }
public EditOperationAbstract( ISomeCommonEditorOperations iEditor, VidkaUiStateObjects uiObjects, ProjectDimensions dimdim, IVideoEditor editor, IVideoPlayer videoPlayer) { this.iEditor = iEditor; this.uiObjects = uiObjects; this.dimdim = dimdim; this.editor = editor; this.videoPlayer = videoPlayer; }
public static void SetFrameMarker_LeftOfVClip(this ISomeCommonEditorOperations iEditor, VidkaClipVideo vclip, VidkaProj proj) { long frameMarker = proj.GetVideoClipAbsFramePositionLeft(vclip); iEditor.SetFrameMarker_ShowFrameInPlayer(frameMarker); }