leakybuffer

package
v0.1.5-0...-f98484b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DumpFrame

func DumpFrame(f hardware.Frame)

DumpFrame produces a frame channel with a recycled frame or new one

Types

type Source

type Source struct {
	// contains filtered or unexported fields
}

Source is a frame recycler and source of frames

func NewFrameSource

func NewFrameSource(tileConfigs hardware.TileConfigs, logger *zap.Logger) *Source

NewFrameSource produces a frame channel with a recycled frame or new one

func (*Source) GetID

func (me *Source) GetID() pipepart.ID

GetID returns the frame producer chan

func (*Source) GetOutput

func (me *Source) GetOutput(id pipepart.ID) hardware.FrameSource

GetOutput returns the frame producer chan

func (*Source) GetParams

func (me *Source) GetParams() []pipepart.PipeParam

GetParams implements PixelPiper interface

func (*Source) GetType

func (me *Source) GetType() pipepart.PipeType

GetType implements PixelPiper interface

func (*Source) Marshal

func (me *Source) Marshal() *pipepart.Marshal

Marshal returns the Marshalled description of Source

func (*Source) RunPipe

func (me *Source) RunPipe(destroyCtx context.Context, wg *sync.WaitGroup)

RunPipe starts the Source

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL