FFmpeg
Functions
avdevice.c File Reference
#include "libavutil/avassert.h"
#include "avdevice.h"
#include "internal.h"
#include "libavformat/demux.h"
#include "libavformat/mux.h"

Go to the source code of this file.

Functions

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. More...
 
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. More...
 
int avdevice_list_devices (AVFormatContext *s, AVDeviceInfoList **device_list)
 List devices. More...
 
static int list_devices_for_context (AVFormatContext *s, AVDictionary *options, AVDeviceInfoList **device_list)
 
int avdevice_list_input_sources (const AVInputFormat *device, const char *device_name, AVDictionary *device_options, AVDeviceInfoList **device_list)
 List devices. More...
 
int avdevice_list_output_sinks (const AVOutputFormat *device, const char *device_name, AVDictionary *device_options, AVDeviceInfoList **device_list)
 
void avdevice_free_list_devices (AVDeviceInfoList **device_list)
 Convenient function to free result of avdevice_list_devices(). More...
 

Function Documentation

◆ list_devices_for_context()

static int list_devices_for_context ( AVFormatContext s,
AVDictionary options,
AVDeviceInfoList **  device_list 
)
static

Definition at line 68 of file avdevice.c.

Referenced by avdevice_list_input_sources(), and avdevice_list_output_sinks().