libavdevice

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package libavdevice 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

AvdeviceAppToDevControlMessage Send control message from application to device.

func AvdeviceCapabilitiesCreate

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

AvdeviceCapabilitiesCreate Initialize capabilities probing API based on AvOption API.

func AvdeviceCapabilitiesFree

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

AvdeviceCapabilitiesFree Free resources created by avdevice_capabilities_create()

func AvdeviceConfiguration

func AvdeviceConfiguration() string

AvdeviceConfiguration Return the libavdevice build-time configuration.

func AvdeviceDevToAppControlMessage

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

AvdeviceDevToAppControlMessage Send control message from device to application.

func AvdeviceFreeListDevices

func AvdeviceFreeListDevices(d **AvDeviceInfoList)

AvdeviceFreeListDevices Convenient function to free result of avdeviceListDevices().

func AvdeviceLicense

func AvdeviceLicense() string

AvdeviceLicense Return the libavdevice license.

func AvdeviceListDevices

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

AvdeviceListDevices List devices.

func AvdeviceRegisterAll

func AvdeviceRegisterAll()

AvdeviceRegisterAll Initialize libavdevice and register all the input and output devices.

func AvdeviceVersion

func AvdeviceVersion() uint

AvdeviceVersion Return the LIBAVDEVICE_VERSION_INT constant.

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

AvInputAudioDeviceNext Audio input devices iterator.

func (*InputFormat) AvInputVideoDeviceNext

func (d *InputFormat) AvInputVideoDeviceNext() *InputFormat

AvInputVideoDeviceNext Video input devices iterator.

type OutputFormat

type OutputFormat C.struct_AVOutputFormat

func (*OutputFormat) AvOutputAudioDeviceNext

func (d *OutputFormat) AvOutputAudioDeviceNext() *OutputFormat

AvOutputAudioDeviceNext Audio output devices iterator.

func (*OutputFormat) AvOutputVideoDeviceNext

func (d *OutputFormat) AvOutputVideoDeviceNext() *OutputFormat

AvOutputVideoDeviceNext Video output devices iterator.

Jump to

Keyboard shortcuts

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