C# Class OdessaGUIProject.Workers.ScanWorker

Inheritance: System.ComponentModel.BackgroundWorker
Mostra file Open project: noahsw/highlight-hunter Class Usage Examples

Private Properties

Property Type Description
CancelScan void
CheckForCancelledWorker bool
CreateHighlightObjects int
FindDarkFrames int
ScanWorker System
ScanWorkerDoWork void
ScanWorker_RunWorkerCompleted void
SetBitrate bool
SetCodec bool
SetFramesPerSecond bool
SetTotalFrames bool
SetVideoDimensions bool
SetVideoDuration bool
TrackFirstHighlightFound void
TrackScanDuration void
TrackScanMultiplier void
TrackScanResult void
TrackTotalHoursScanned void
TrackTotalVideosScanned void
TrackVideoDuration void
UpdateScanProgressElapsed void
UploadMediaInfo void

Public Methods

Method Description
GetFriendlyScanResult ( ScanWorkerResults scanWorkerResult ) : string

Private Methods

Method Description
CancelScan ( ) : void

Use this instead so we can break out of NativeOdessaMethods.Scan() call

CheckForCancelledWorker ( ) : bool
CreateHighlightObjects ( List darkFrameNumbers, int captureDurationInSeconds, bool ignoreEarlyHighlights, bool useCaptureOffset ) : int

Collapse nearby frame locations into single frames

FindDarkFrames ( List &bookmarkLocations ) : int

Find the black frames in the video file

ScanWorker ( InputFileObject inputFileObject ) : System
ScanWorkerDoWork ( object sender, DoWorkEventArgs e ) : void
ScanWorker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void
SetBitrate ( ) : bool
SetCodec ( ) : bool
SetFramesPerSecond ( ) : bool

SetTotalFrames ( ) : bool
SetVideoDimensions ( ) : bool
SetVideoDuration ( ) : bool
TrackFirstHighlightFound ( ) : void
TrackScanDuration ( ) : void
TrackScanMultiplier ( ) : void
TrackScanResult ( ) : void
TrackTotalHoursScanned ( ) : void
TrackTotalVideosScanned ( ) : void
TrackVideoDuration ( ) : void
UpdateScanProgressElapsed ( object sender, System.Timers.ElapsedEventArgs e ) : void
UploadMediaInfo ( ) : void

Method Details

GetFriendlyScanResult() public static method

public static GetFriendlyScanResult ( ScanWorkerResults scanWorkerResult ) : string
scanWorkerResult ScanWorkerResults
return string