Documentation ¶
Index ¶
- type Frame
- type FrameBuffer
- func (fb *FrameBuffer) DiffPercentage(currentFrame *Frame) float64
- func (fb *FrameBuffer) FramesCountSinceStart(currentFrame *Frame) int
- func (fb *FrameBuffer) LastDiffPercentage() float64
- func (fb *FrameBuffer) MeanDiffPercentage() float64
- func (fb *FrameBuffer) PixelsDiffCount(currentFrame *Frame) int
- func (fb *FrameBuffer) Reset()
- func (fb *FrameBuffer) UpdateAverageDiffPercentage(currentFrame *Frame)
- func (fb *FrameBuffer) UpdateAverageFrame(currentFrame *Frame)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Frame ¶
type Frame struct {
// contains filtered or unexported fields
}
func (*Frame) FrameIndex ¶
type FrameBuffer ¶
type FrameBuffer struct {
// contains filtered or unexported fields
}
func NewFrameBuffer ¶
func NewFrameBuffer() *FrameBuffer
func (*FrameBuffer) DiffPercentage ¶
func (fb *FrameBuffer) DiffPercentage(currentFrame *Frame) float64
func (*FrameBuffer) FramesCountSinceStart ¶
func (fb *FrameBuffer) FramesCountSinceStart(currentFrame *Frame) int
func (*FrameBuffer) LastDiffPercentage ¶
func (fb *FrameBuffer) LastDiffPercentage() float64
func (*FrameBuffer) MeanDiffPercentage ¶
func (fb *FrameBuffer) MeanDiffPercentage() float64
func (*FrameBuffer) PixelsDiffCount ¶
func (fb *FrameBuffer) PixelsDiffCount(currentFrame *Frame) int
func (*FrameBuffer) Reset ¶
func (fb *FrameBuffer) Reset()
func (*FrameBuffer) UpdateAverageDiffPercentage ¶
func (fb *FrameBuffer) UpdateAverageDiffPercentage(currentFrame *Frame)
func (*FrameBuffer) UpdateAverageFrame ¶
func (fb *FrameBuffer) UpdateAverageFrame(currentFrame *Frame)
Click to show internal directories.
Click to hide internal directories.