Loading...
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * uvc_video.h -- USB Video Class Gadget driver
4 *
5 * Copyright (C) 2009-2010
6 * Laurent Pinchart (laurent.pinchart@ideasonboard.com)
7 *
8 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
9 * http://www.samsung.com
10 * Author: Andrzej Pietrasiewicz <andrzejtp2010@gmail.com>
11 */
12#ifndef __UVC_VIDEO_H__
13#define __UVC_VIDEO_H__
14
15struct uvc_video;
16
17int uvcg_video_enable(struct uvc_video *video);
18int uvcg_video_disable(struct uvc_video *video);
19
20int uvcg_video_init(struct uvc_video *video, struct uvc_device *uvc);
21
22#endif /* __UVC_VIDEO_H__ */
1/*
2 * uvc_video.h -- USB Video Class Gadget driver
3 *
4 * Copyright (C) 2009-2010
5 * Laurent Pinchart (laurent.pinchart@ideasonboard.com)
6 *
7 * Copyright (c) 2013 Samsung Electronics Co., Ltd.
8 * http://www.samsung.com
9 * Author: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
10 *
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License version 2 as
13 * published by the Free Software Foundation.
14 */
15#ifndef __UVC_VIDEO_H__
16#define __UVC_VIDEO_H__
17
18int uvcg_video_pump(struct uvc_video *video);
19
20int uvcg_video_enable(struct uvc_video *video, int enable);
21
22int uvcg_video_init(struct uvc_video *video);
23
24#endif /* __UVC_VIDEO_H__ */