source: trunk/third/gst-plugins/sys/v4l2/v4l2src_calls.h @ 21011

Revision 21011, 2.0 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r21010, which included commits to RCS files with non-trunk default branches.
Line 
1/* G-Streamer Video4linux2 video-capture plugin - system calls
2 * Copyright (C) 2002 Ronald Bultje <rbultje@ronald.bitfreak.net>
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 * Library General Public License for more details.
13 *
14 * You should have received a copy of the GNU Library General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
18 */
19
20#ifndef __V4L2SRC_CALLS_H__
21#define __V4L2SRC_CALLS_H__
22
23#include "gstv4l2src.h"
24#include "v4l2_calls.h"
25
26
27gboolean        gst_v4l2src_get_capture         (GstV4l2Src *v4l2src);
28gboolean        gst_v4l2src_set_capture         (GstV4l2Src *v4l2src,
29                                                 struct v4l2_fmtdesc *fmt,
30                                                 gint        width,
31                                                 gint        height);
32gboolean        gst_v4l2src_capture_init        (GstV4l2Src *v4l2src);
33gboolean        gst_v4l2src_capture_start       (GstV4l2Src *v4l2src);
34gint            gst_v4l2src_grab_frame          (GstV4l2Src *v4l2src);
35guint8 *        gst_v4l2src_get_buffer          (GstV4l2Src *v4l2src,
36                                                 gint        num);
37gboolean        gst_v4l2src_queue_frame         (GstV4l2Src *v4l2src,
38                                                 guint i);
39gboolean        gst_v4l2src_capture_stop        (GstV4l2Src *v4l2src);
40gboolean        gst_v4l2src_capture_deinit      (GstV4l2Src *v4l2src);
41
42gboolean        gst_v4l2src_fill_format_list    (GstV4l2Src *v4l2src);
43gboolean        gst_v4l2src_clear_format_list   (GstV4l2Src *v4l2src);
44
45/* hacky */
46gboolean        gst_v4l2src_get_size_limits     (GstV4l2Src *v4l2src,
47                                                 struct v4l2_fmtdesc *fmt,
48                                                 gint *min_w, gint *max_w,
49                                                 gint *min_h, gint *max_h);
50
51void            gst_v4l2src_free_buffer         (GstBuffer *buffer);
52 
53#endif /* __V4L2SRC_CALLS_H__ */
Note: See TracBrowser for help on using the repository browser.