obuwriter

package
v0.0.0-...-fede9f9 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Writer

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

func NewWriter

func NewWriter(w io.Writer, width, height int, fourCC uint32, timeBase utilities.Ratio) (*Writer, error)

func (*Writer) WriteFrameBytes

func (w *Writer) WriteFrameBytes(pts uint64, data []byte) error

func (*Writer) WriteLength

func (w *Writer) WriteLength(frames uint32) error

WriteLength writes the Length field for number of frames, if writer was set to io.WriteSeeker

Jump to

Keyboard shortcuts

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