diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-06-09 14:29:41 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-06-12 21:19:58 +0300 |
commit | 2bb0cfbf8137e02cc32aae3b36f85ef7300e8936 (patch) | |
tree | 42899dbeb32459722d27606bd79848a25a8c5e16 /uvc.h | |
parent | df21a9349a256fd2bea1f8701af198b312682d39 (diff) |
Split UVC gadget into a library and test application
Split the project into a UVC gadget library and a test application. To
avoid rolling out a custom build system, switch to CMake.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'uvc.h')
-rw-r--r-- | uvc.h | 36 |
1 files changed, 0 insertions, 36 deletions
@@ -1,36 +0,0 @@ -/* - * UVC protocol handling - * - * Copyright (C) 2010 Ideas on board SPRL <laurent.pinchart@ideasonboard.com> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - */ - -#ifndef __UVC_H__ -#define __UVC_H__ - -struct events; -struct v4l2_device; -struct uvc_device; -struct uvc_function_config; -struct uvc_stream; - -struct uvc_device *uvc_open(const char *devname, struct uvc_stream *stream); -void uvc_close(struct uvc_device *dev); -void uvc_events_init(struct uvc_device *dev, struct events *events); -void uvc_set_config(struct uvc_device *dev, struct uvc_function_config *fc); -int uvc_set_format(struct uvc_device *dev, struct v4l2_pix_format *format); -struct v4l2_device *uvc_v4l2_device(struct uvc_device *dev); - -#endif /* __UVC_H__ */ |