index
:
libcamera/jmondi/libcamera.git
imx8mp/extensible-format
imx8mp/extensible-format-v8
imx8mp/extensible-format-v9
isi/raw_sensor
isi/raw_sensor_v2
jmondi/android/ndk/pinephonepro
jmondi/android/pinephonepro
jmondi/android/vndk
jmondi/device-match-generalize
jmondi/imx8mp/debix-a
jmondi/lc-compliance-cros
jmondi/pinephone
jmondi/pinephonepro
jmondi/pinephonepro-af
jmondi/rk3399/google-dru-scarlet
jmondi/rockpi/af/imx519
jmondi/rpi5-on-mainline
multicontext/rpi/v3
pfc/rkisp1-free-run
pfc/rkisp1-free-run-upstreaming
pfc/rkisp1-free-run-v2
yaml-emitter
Jacopo Mondi's clone of libcamera
git repository hosting on libcamera.org
summary
refs
log
tree
commit
diff
log msg
author
committer
range
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
* Copyright (C) 2019, Collabora Ltd.
* Author: Nicolas Dufresne <nicolas.dufresne@collabora.com>
*
* gstlibcamera.c - GStreamer plugin
*/
#include
"gstlibcameraprovider.h"
#include
"gstlibcamerasrc.h"
static
gboolean
plugin_init
(
GstPlugin
*
plugin
)
{
if
(!
gst_element_register
(
plugin
,
"libcamerasrc"
,
GST_RANK_PRIMARY
,
GST_TYPE_LIBCAMERA_SRC
) ||
!
gst_device_provider_register
(
plugin
,
"libcameraprovider"
,
GST_RANK_PRIMARY
,
GST_TYPE_LIBCAMERA_PROVIDER
))
return
FALSE
;
return
TRUE
;
}
GST_PLUGIN_DEFINE
(
GST_VERSION_MAJOR
,
GST_VERSION_MINOR
,
libcamera
,
"libcamera capture plugin"
,
plugin_init
,
VERSION
,
"LGPL"
,
PACKAGE
,
"https://libcamera.org"
);