• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* GStreamer
2  * Copyright (C) 2008 David Schleef <ds@schleef.org>
3  * Copyright (C) 2012 Collabora Ltd.
4  *	Author : Edward Hervey <edward@collabora.com>
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Library General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Library General Public License for more details.
15  *
16  * You should have received a copy of the GNU Library General Public
17  * License along with this library; if not, write to the
18  * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
19  * Boston, MA 02110-1301, USA.
20  */
21 
22 #ifndef __GST_VIDEO_H__
23 #include <gst/video/video.h>
24 #endif
25 
26 #ifndef _GST_VIDEO_UTILS_PRIVATE_H_
27 #define _GST_VIDEO_UTILS_PRIVATE_H_
28 
29 #include <gst/gst.h>
30 
31 G_BEGIN_DECLS
32 
33 /* Element utility functions */
34 G_GNUC_INTERNAL
35 GstCaps *__gst_video_element_proxy_getcaps (GstElement * element, GstPad * sinkpad,
36                                             GstPad * srcpad, GstCaps * initial_caps,
37                                             GstCaps * filter);
38 
39 G_GNUC_INTERNAL
40 gboolean __gst_video_encoded_video_convert (gint64 bytes, gint64 time,
41                                             GstFormat src_format, gint64 src_value,
42                                             GstFormat * dest_format, gint64 * dest_value);
43 
44 G_GNUC_INTERNAL
45 gboolean __gst_video_rawvideo_convert (GstVideoCodecState * state, GstFormat src_format,
46                                        gint64 src_value, GstFormat * dest_format,
47                                        gint64 * dest_value);
48 
49 G_END_DECLS
50 
51 #endif
52