summaryrefslogtreecommitdiff
path: root/omx/gstomx.h
blob: f638a8c0fb20ff46474314a3d64aef376ae6acc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
 * Copyright (C) 2007-2009 Nokia Corporation.
 *
 * Author: Felipe Contreras <felipe.contreras@nokia.com>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation
 * version 2.1 of the License.
 *
 * This library 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 *
 */

#ifndef GSTOMX_H
#define GSTOMX_H

#include <gst/gst.h>

G_BEGIN_DECLS

GST_DEBUG_CATEGORY_EXTERN (gstomx_debug);
GST_DEBUG_CATEGORY_EXTERN (gstomx_util_debug);

#define GST_CAT_DEFAULT gstomx_debug

enum
{
  GSTOMX_ARG_0,
  ARG_COMPONENT_NAME,
  ARG_COMPONENT_ROLE,
  ARG_LIBRARY_NAME,
  GSTOMX_NUM_COMMON_PROP
};

gboolean gstomx_get_component_info (void *core, GType type);

void *gstomx_core_new (void *object, GType type);
void gstomx_install_property_helper (GObjectClass * gobject_class);
gboolean gstomx_get_property_helper (void *core, guint prop_id, GValue * value);

G_END_DECLS

#endif /* GSTOMX_H */