avdevice

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2019 License: MIT Imports: 2 Imported by: 11

Documentation

Overview

Package avdevice deals with the input and output devices provided by the libavdevice library The libavdevice library provides the same interface as libavformat. Namely, an input device is considered like a demuxer, and an output device like a muxer, and the interface and generic device options are the same provided by libavformat

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AvdeviceAppToDevControlMessage

func AvdeviceAppToDevControlMessage(s *AvFormatContext, m AvAppToDevMessageType, da int, d uintptr) int

Send control message from application to device.

func AvdeviceCapabilitiesCreate

func AvdeviceCapabilitiesCreate(c **AvDeviceCapabilitiesQuery, s *AvFormatContext, d **Dictionary) int

Initialize capabilities probing API based on AvOption API.

func AvdeviceCapabilitiesFree

func AvdeviceCapabilitiesFree(c **AvDeviceCapabilitiesQuery, s *AvFormatContext)

Free resources created by avdevice_capabilities_create()

func AvdeviceConfiguration

func AvdeviceConfiguration() string

Return the libavdevice build-time configuration.

func AvdeviceDevToAppControlMessage

func AvdeviceDevToAppControlMessage(fcxt *AvFormatContext, m AvDevToAppMessageType, da int, d uintptr) int

Send control message from device to application.

func AvdeviceFreeListDevices

func AvdeviceFreeListDevices(d **AvDeviceInfoList)

Convenient function to free result of avdeviceListDevices().

func AvdeviceLicense

func AvdeviceLicense() string

Return the libavdevice license.

func AvdeviceListDevices

func AvdeviceListDevices(s *AvFormatContext, d **AvDeviceInfoList) int

List devices.

func AvdeviceRegisterAll

func AvdeviceRegisterAll()

Initialize libavdevice and register all the input and output devices.

func AvdeviceVersion

func AvdeviceVersion() uint

unsigned avdevice_version (void)

Types

type AvAppToDevMessageType

type AvAppToDevMessageType C.enum_AVAppToDevMessageType

type AvDevToAppMessageType

type AvDevToAppMessageType C.enum_AVDevToAppMessageType

type AvDeviceCapabilitiesQuery

type AvDeviceCapabilitiesQuery C.struct_AVDeviceCapabilitiesQuery

type AvDeviceInfo

type AvDeviceInfo C.struct_AVDeviceInfo

type AvDeviceInfoList

type AvDeviceInfoList C.struct_AVDeviceInfoList

type AvDeviceRect

type AvDeviceRect C.struct_AVDeviceRect

type AvFormatContext

type AvFormatContext C.struct_AVFormatContext

type Dictionary

type Dictionary C.struct_AVDictionary

type InputFormat

type InputFormat C.struct_AVInputFormat

func (*InputFormat) AvInputAudioDeviceNext

func (d *InputFormat) AvInputAudioDeviceNext() *InputFormat

Audio input devices iterator.

func (*InputFormat) AvInputVideoDeviceNext

func (d *InputFormat) AvInputVideoDeviceNext() *InputFormat

Video input devices iterator.

type OutputFormat

type OutputFormat C.struct_AVOutputFormat

func (*OutputFormat) AvOutputAudioDeviceNext

func (d *OutputFormat) AvOutputAudioDeviceNext() *OutputFormat

Audio output devices iterator.

func (*OutputFormat) AvOutputVideoDeviceNext

func (d *OutputFormat) AvOutputVideoDeviceNext() *OutputFormat

Video output devices iterator.

Jump to

Keyboard shortcuts

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