Documentation ¶ Index ¶ func NewDriver(src config.VideoShellSrc, options *Options) video.Driver type Driver func (d *Driver) Close() error func (d *Driver) GetFrameRate() float64 func (d *Driver) GetSize() (*config.Size, error) func (d *Driver) NextFrame() (config.Frame, error) func (d *Driver) Open() error type Options Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewDriver ¶ func NewDriver(src config.VideoShellSrc, options *Options) video.Driver Types ¶ type Driver ¶ type Driver struct { video.Driver Width int Height int FrameRate float64 StartMarker []byte EndMarker []byte // contains filtered or unexported fields } func (*Driver) Close ¶ func (d *Driver) Close() error func (*Driver) GetFrameRate ¶ func (d *Driver) GetFrameRate() float64 func (*Driver) GetSize ¶ func (d *Driver) GetSize() (*config.Size, error) func (*Driver) NextFrame ¶ func (d *Driver) NextFrame() (config.Frame, error) func (*Driver) Open ¶ func (d *Driver) Open() error type Options ¶ type Options struct { video.Options } Source Files ¶ View all Source files shell.go Click to show internal directories. Click to hide internal directories.