camera

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCamera

func CreateCamera(accInfo accessory.Info, inputCfg InputConfiguration, encoderProfile EncoderProfile) (*accessory.Camera, func(width, height uint) (*image.Image, error))

CreateCamera create a camera accessory

Types

type EncoderProfile

type EncoderProfile int
const (
	CPU EncoderProfile = 1 << (10 * iota)
	OMX
	VAAPI
)

type InputConfiguration

type InputConfiguration struct {
	Source string
	Format string
	Audio  bool
}

Jump to

Keyboard shortcuts

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