libavdevice

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 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(fctx *AvFormatContext, typ AvAppToDevMessageType, data int, dataSize uintptr) int

AvdeviceAppToDevControlMessage Send control message from application to device.

func AvdeviceCapabilitiesCreate

func AvdeviceCapabilitiesCreate(caps **AvDeviceCapabilitiesQuery, fctx *AvFormatContext, deviceOptions **AvDictionary) int

AvdeviceCapabilitiesCreate Initialize capabilities probing API based on AvOption API.

func AvdeviceCapabilitiesFree

func AvdeviceCapabilitiesFree(caps **AvDeviceCapabilitiesQuery, fctx *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(fctx *AvFormatContext, typ AvDevToAppMessageType, data int, dataSize uintptr) int

AvdeviceDevToAppControlMessage Send control message from device to application.

func AvdeviceFreeListDevices

func AvdeviceFreeListDevices(deviceList **AvDeviceInfoList)

AvdeviceFreeListDevices Convenient function to free result of avdeviceListDevices().

func AvdeviceLicense

func AvdeviceLicense() string

AvdeviceLicense Return the libavdevice license.

func AvdeviceListDevices

func AvdeviceListDevices(fctx *AvFormatContext, deviceList **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 AvDictionary added in v1.1.2

type AvDictionary C.struct_AVDictionary

type AvFormatContext

type AvFormatContext C.struct_AVFormatContext

type AvInputFormat added in v1.1.2

type AvInputFormat C.struct_AVInputFormat

func (*AvInputFormat) AvInputAudioDeviceNext added in v1.1.2

func (d *AvInputFormat) AvInputAudioDeviceNext() *AvInputFormat

AvInputAudioDeviceNext Audio input devices iterator.

func (*AvInputFormat) AvInputVideoDeviceNext added in v1.1.2

func (d *AvInputFormat) AvInputVideoDeviceNext() *AvInputFormat

AvInputVideoDeviceNext Video input devices iterator.

type AvOutputFormat added in v1.1.2

type AvOutputFormat C.struct_AVOutputFormat

func (*AvOutputFormat) AvOutputAudioDeviceNext added in v1.1.2

func (d *AvOutputFormat) AvOutputAudioDeviceNext() *AvOutputFormat

AvOutputAudioDeviceNext Audio output devices iterator.

func (*AvOutputFormat) AvOutputVideoDeviceNext added in v1.1.2

func (d *AvOutputFormat) AvOutputVideoDeviceNext() *AvOutputFormat

AvOutputVideoDeviceNext Video output devices iterator.

Jump to

Keyboard shortcuts

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