FFmpeg: libavdevice/alldevices.c Source File
Go to the documentation of this file. 1 /*
2 * Register all the grabbing devices.
3 *
4 * This file is part of FFmpeg.
5 *
6 * FFmpeg is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * FFmpeg is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with FFmpeg; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
23
24 /* devices */
56
57 /* external libraries */
60
61 #include "libavdevice/outdev_list.c"
62 #include "libavdevice/indev_list.c"
63
65 {
67 }
68
70 {
76
77 while (prev && (fmt = indev_list[
i])) {
79 if (prev == fmt)
80 break;
81 }
82
83 do {
84 fmt = indev_list[
i++];
85 if (!fmt)
86 break;
88 if (!pc)
89 continue;
92 return fmt;
93 }
94
96 {
102
103 while (prev && (fmt = outdev_list[
i])) {
105 if (prev == fmt)
106 break;
107 }
108
109 do {
110 fmt = outdev_list[
i++];
111 if (!fmt)
112 break;
114 if (!pc)
115 continue;
118 return fmt;
119 }
120
122 {
124 }
125
127 {
129 }
130
132 {
134 }
135
137 {
139 }
const AVOutputFormat ff_decklink_muxer
const AVInputFormat ff_xcbgrab_demuxer
const AVInputFormat ff_libdc1394_demuxer
const AVInputFormat ff_kmsgrab_demuxer
const AVInputFormat ff_bktr_demuxer
static const void * next_input(const AVInputFormat *prev, AVClassCategory c2)
const AVInputFormat ff_decklink_demuxer
const AVOutputFormat ff_audiotoolbox_muxer
const AVInputFormat * av_input_audio_device_next(const AVInputFormat *d)
Audio input devices iterator.
const AVInputFormat ff_alsa_demuxer
const AVOutputFormat ff_xv_muxer
const AVInputFormat ff_iec61883_demuxer
const AVInputFormat ff_jack_demuxer
@ AV_CLASS_CATEGORY_DEVICE_INPUT
const AVOutputFormat ff_v4l2_muxer
const AVInputFormat ff_v4l2_demuxer
@ AV_CLASS_CATEGORY_DEVICE_AUDIO_INPUT
static const void * next_output(const AVOutputFormat *prev, AVClassCategory c2)
const AVOutputFormat ff_oss_muxer
const AVInputFormat ff_avfoundation_demuxer
Describe the class of an AVClass context structure.
const AVOutputFormat ff_pulse_muxer
@ AV_CLASS_CATEGORY_DEVICE_VIDEO_OUTPUT
@ AV_CLASS_CATEGORY_DEVICE_VIDEO_INPUT
const AVInputFormat ff_vfwcap_demuxer
const AVInputFormat ff_android_camera_demuxer
const AVInputFormat ff_pulse_demuxer
AVClassCategory category
Category used for visualization (like color) This is only set if the category is equal for all object...
const AVOutputFormat ff_fbdev_muxer
const AVOutputFormat * av_output_video_device_next(const AVOutputFormat *d)
Video output devices iterator.
const AVInputFormat ff_dshow_demuxer
const AVInputFormat ff_sndio_demuxer
const AVOutputFormat ff_sndio_muxer
const AVInputFormat ff_gdigrab_demuxer
gdi grabber device demuxer declaration
#define i(width, name, range_min, range_max)
@ AV_CLASS_CATEGORY_DEVICE_AUDIO_OUTPUT
const AVInputFormat ff_openal_demuxer
const AVOutputFormat ff_caca_muxer
const AVInputFormat ff_lavfi_demuxer
@ AV_CLASS_CATEGORY_DEVICE_OUTPUT
const AVOutputFormat * av_output_audio_device_next(const AVOutputFormat *d)
Audio output devices iterator.
const AVInputFormat ff_fbdev_demuxer
const AVInputFormat ff_libcdio_demuxer
const AVOutputFormat ff_alsa_muxer
const AVOutputFormat ff_opengl_muxer
const AVInputFormat * av_input_video_device_next(const AVInputFormat *d)
Video input devices iterator.
const AVOutputFormat ff_sdl2_muxer
void avdevice_register_all(void)
Initialize libavdevice and register all the input and output devices.
const AVInputFormat ff_oss_demuxer
Generated on Wed Aug 24 2022 21:38:02 for FFmpeg by
doxygen
1.8.17