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 21 #include "config.h" 22 #include "libavutil/thread.h" 23 #include "libavformat/internal.h" 24 #include "avdevice.h" 25 26 /* devices */ 27 extern AVInputFormat ff_alsa_demuxer; 28 extern AVOutputFormat ff_alsa_muxer; 29 extern AVInputFormat ff_android_camera_demuxer; 30 extern AVInputFormat ff_avfoundation_demuxer; 31 extern AVInputFormat ff_bktr_demuxer; 32 extern AVOutputFormat ff_caca_muxer; 33 extern AVInputFormat ff_decklink_demuxer; 34 extern AVOutputFormat ff_decklink_muxer; 35 extern AVInputFormat ff_libndi_newtek_demuxer; 36 extern AVOutputFormat ff_libndi_newtek_muxer; 37 extern AVInputFormat ff_dshow_demuxer; 38 extern AVInputFormat ff_fbdev_demuxer; 39 extern AVOutputFormat ff_fbdev_muxer; 40 extern AVInputFormat ff_gdigrab_demuxer; 41 extern AVInputFormat ff_iec61883_demuxer; 42 extern AVInputFormat ff_jack_demuxer; 43 extern AVInputFormat ff_kmsgrab_demuxer; 44 extern AVInputFormat ff_lavfi_demuxer; 45 extern AVInputFormat ff_openal_demuxer; 46 extern AVOutputFormat ff_opengl_muxer; 47 extern AVInputFormat ff_oss_demuxer; 48 extern AVOutputFormat ff_oss_muxer; 49 extern AVInputFormat ff_pulse_demuxer; 50 extern AVOutputFormat ff_pulse_muxer; 51 extern AVOutputFormat ff_sdl2_muxer; 52 extern AVInputFormat ff_sndio_demuxer; 53 extern AVOutputFormat ff_sndio_muxer; 54 extern AVInputFormat ff_v4l2_demuxer; 55 extern AVOutputFormat ff_v4l2_muxer; 56 extern AVInputFormat ff_vfwcap_demuxer; 57 extern AVInputFormat ff_xcbgrab_demuxer; 58 extern AVOutputFormat ff_xv_muxer; 59 60 /* external libraries */ 61 extern AVInputFormat ff_libcdio_demuxer; 62 extern AVInputFormat ff_libdc1394_demuxer; 63 64 #include "libavdevice/outdev_list.c" 65 #include "libavdevice/indev_list.c" 66 avdevice_register_all(void)67void avdevice_register_all(void) 68 { 69 avpriv_register_devices(outdev_list, indev_list); 70 } 71