Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
Resolves #161 - FrameDiffAnalyser enhancements
Browse files Browse the repository at this point in the history
* improved performance, added motion mask

* remove unnecessary MemoryStream

* Remove `ProcessWorkingData` and `GetBlankBitmap` methods. Retrieve stride from MMAL utility function and return within the `ImageContext` class.
  • Loading branch information
MV10 authored Aug 3, 2020
1 parent d335162 commit 7ba9f69
Show file tree
Hide file tree
Showing 5 changed files with 164 additions and 256 deletions.
5 changes: 5 additions & 0 deletions src/MMALSharp.Common/ImageContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,10 @@ public class ImageContext
/// The timestamp value.
/// </summary>
public long? Pts { get; set; }

/// <summary>
/// The pixel format stride.
/// </summary>
public int Stride { get; set; }
}
}
Loading

0 comments on commit 7ba9f69

Please sign in to comment.