mmal

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MMAL_SUCCESS   status = iota
	MMAL_ENOMEM           // Out of memory
	MMAL_ENOSPC           // Out of resources (other than memory)
	MMAL_EINVAL           // Argument is invalid
	MMAL_ENOSYS           // Function not implemented
	MMAL_ENOENT           // No such file or directory
	MMAL_ENXIO            // No such device or address
	MMAL_EIO              // I/O error
	MMAL_ESPIPE           // Illegal seek
	MMAL_ECORRUPT         // Data is corrupt
	MMAL_ENOTREADY        // Component is not ready
	MMAL_ECONFIG          // Component is not configured
	MMAL_EISCONN          // Port is already connected
	MMAL_ENOTCONN         // Port is disconnected
	MMAL_EAGAIN           // Resource temporarily unavailable. Try again later
	MMAL_EFAULT           // Bad address
)
View Source
const (
	MMAL_PARAM_NONE                 paramType = iota
	MMAL_PARAM_SUPPORTED_ENCODINGS            // Takes a MMAL_PARAMETER_ENCODING_T
	MMAL_PARAM_URI                            // Takes a MMAL_PARAMETER_URI_T
	MMAL_PARAM_CHANGE_EVENT_REQUEST           // Takes a MMAL_PARAMETER_CHANGE_EVENT_REQUEST_T
	MMAL_PARAM_ZERO_COPY                      // Takes a MMAL_PARAMETER_BOOLEAN_T
	MMAL_PARAM_BUFFER_REQUIREMENTS            // Takes a MMAL_PARAMETER_BUFFER_REQUIREMENTS_T
	MMAL_PARAM_STATISTICS                     // Takes a MMAL_PARAMETER_STATISTICS_T
	MMAL_PARAM_CORE_STATISTICS                // Takes a MMAL_PARAMETER_CORE_STATISTICS_T
	MMAL_PARAM_MEM_USAGE                      // Takes a MMAL_PARAMETER_MEM_USAGE_T
	MMAL_PARAM_BUFFER_FLAG_FILTER             // Takes a MMAL_PARAMETER_UINT32_T
	MMAL_PARAM_SEEK                           // Takes a MMAL_PARAMETER_SEEK_T
	MMAL_PARAM_POWERMON_ENABLE                // Takes a MMAL_PARAMETER_BOOLEAN_T
	MMAL_PARAM_LOGGING                        // Takes a MMAL_PARAMETER_LOGGING_T
	MMAL_PARAM_SYSTEM_TIME                    // Takes a MMAL_PARAMETER_UINT64_T
	MMAL_PARAM_NO_IMAGE_PADDING               // Takes a MMAL_PARAMETER_BOOLEAN_T
	MMAL_PARAM_LOCKSTEP_ENABLE                // Takes a MMAL_PARAMETER_BOOLEAN_T
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component struct {
	// Hardware device
	Hardware gopi.Hardware
	// name of the component to create
	Name string
}

func (Component) Open

func (config Component) Open(log gopi.Logger) (gopi.Driver, error)

Open creates a new MMAL component

Jump to

Keyboard shortcuts

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