static int module_init(void) { info("v4l2_codec inited\n"); vidcodec_register(&h264); return vidsrc_register(&vidsrc, "v4l2_codec", src_alloc, NULL); }
static int module_init(void) { if (CoInitialize(NULL) != S_OK) return ENODATA; return vidsrc_register(&vsrc, "dshow", alloc, NULL); }
static int module_init(void) { int err = 0; err |= vidsrc_register(&vidsrc, "fakevideo", src_alloc, NULL); err |= vidisp_register(&vidisp, "fakevideo", disp_alloc, NULL, display, NULL); return err; }
static int module_init(void) { /* register all codecs, demux and protocols */ avcodec_register_all(); avdevice_register_all(); av_register_all(); return vidsrc_register(&mod_avf, "avformat", alloc, NULL); }
static int module_init(void) { /* register all codecs, demux and protocols */ avcodec_register_all(); avdevice_register_all(); #if LIBAVFORMAT_VERSION_INT >= ((53<<16) + (13<<8) + 0) avformat_network_init(); #endif av_register_all(); return vidsrc_register(&mod_avf, baresip_vidsrcl(), "avformat", alloc, NULL); }
static int v4l_init(void) { return vidsrc_register(&vidsrc, "v4l2", alloc, NULL); }
static int module_init(void) { return vidsrc_register(&vidsrc, "cairo", alloc, NULL); }