19 #ifndef AVDEVICE_AVDEVICE_H
20 #define AVDEVICE_AVDEVICE_H
308 void *
data,
size_t data_size);
322 void *
data,
size_t data_size);
Window size change message.
const char * avdevice_configuration(void)
Return the libavdevice build-time configuration.
Structure describes basic parameters of the device.
AVOutputFormat * av_output_audio_device_next(AVOutputFormat *d)
Audio output devices iterator.
Prepare window buffer message.
int x
x coordinate of top left corner
ptrdiff_t const GLvoid * data
char * device_description
human friendly name
void avdevice_capabilities_free(AVDeviceCapabilitiesQuery **caps, AVFormatContext *s)
Free resources created by avdevice_capabilities_create()
char * device_name
device name, format depends on device
Volume level change message.
int avdevice_list_devices(struct AVFormatContext *s, AVDeviceInfoList **device_list)
List devices.
Buffer fullness status messages.
Display window buffer message.
Create window buffer message.
int avdevice_dev_to_app_control_message(struct AVFormatContext *s, enum AVDevToAppMessageType type, void *data, size_t data_size)
Send control message from device to application.
int avdevice_capabilities_create(AVDeviceCapabilitiesQuery **caps, AVFormatContext *s, AVDictionary **device_options)
Initialize capabilities probing API based on AVOption API.
AVDevToAppMessageType
Message types used by avdevice_dev_to_app_control_message().
void avdevice_free_list_devices(AVDeviceInfoList **device_list)
Convenient function to free result of avdevice_list_devices().
AVOutputFormat * av_output_video_device_next(AVOutputFormat *d)
Video output devices iterator.
Get volume/mute messages.
AVCodecID
Identify the syntax and semantics of the bitstream.
enum AVSampleFormat sample_format
AVDeviceInfo ** devices
list of autodetected devices
int avdevice_list_input_sources(struct AVInputFormat *device, const char *device_name, AVDictionary *device_options, AVDeviceInfoList **device_list)
List devices.
AVFormatContext * device_context
int avdevice_list_output_sinks(struct AVOutputFormat *device, const char *device_name, AVDictionary *device_options, AVDeviceInfoList **device_list)
enum AVPixelFormat pixel_format
const AVOption av_device_capabilities[]
AVOption table used by devices to implement device capabilities API.
Destroy window buffer message.
AVInputFormat * av_input_video_device_next(AVInputFormat *d)
Video input devices iterator.
AVSampleFormat
Audio sample formats.
Describe the class of an AVClass context structure.
AVInputFormat * av_input_audio_device_next(AVInputFormat *d)
Audio input devices iterator.
Rational number (pair of numerator and denominator).
const char * avdevice_license(void)
Return the libavdevice license.
Mute state change message.
int default_device
index of default device or -1 if no default
Libavdevice version macros.
void avdevice_register_all(void)
Initialize libavdevice and register all the input and output devices.
#define MKBETAG(a, b, c, d)
unsigned avdevice_version(void)
Return the LIBAVDEVICE_VERSION_INT constant.
Buffer readable/writable.
AVAppToDevMessageType
Message types used by avdevice_app_to_dev_control_message().
int y
y coordinate of top left corner
int avdevice_app_to_dev_control_message(struct AVFormatContext *s, enum AVAppToDevMessageType type, void *data, size_t data_size)
Send control message from application to device.
int nb_devices
number of autodetected devices
Following API allows user to probe device capabilities (supported codecs, pixel formats, sample formats, resolutions, channel counts, etc).
AVPixelFormat
Pixel format.