#!/bin/sh # SPDX-License-Identifier: GPL-2.0-or-later # Execute the checkstyle script before committing any code. This will fail the # commit in case of style issues, ensuring that the developer will notice them. # The pre-commit hook can be bypassed with git commit -n to ignore selective # changes. # # To utilise this hook, install this file with: # cp utils/hooks/pre-commit .git/hooks/pre-commit if ps -ocommand= -p $PPID | grep -- "--amend" then args="--amend" else args="--staged" fi ./utils/checkstyle.py $args iv id='cgit'>
summaryrefslogtreecommitdiff
path: root/src/gstreamer/gstlibcamerasrc.h
blob: 0144cbc42fa626156077b2c1b2cb1791f65c4b5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: LGPL-2.1-or-later */
/*
 * Copyright (C) 2019, Collabora Ltd.
 *     Author: Nicolas Dufresne <nicolas.dufresne@collabora.com>
 *
 * gstlibcamerasrc.h - GStreamer Capture Element
 */

#ifndef __GST_LIBCAMERA_SRC_H__
#define __GST_LIBCAMERA_SRC_H__

#include <gst/gst.h>

G_BEGIN_DECLS

#define GST_TYPE_LIBCAMERA_SRC gst_libcamera_src_get_type()
G_DECLARE_FINAL_TYPE(GstLibcameraSrc, gst_libcamera_src,
		     GST_LIBCAMERA, SRC, GstElement)

G_END_DECLS

#endif /* __GST_LIBCAMERA_SRC_H__ */