~ubuntu-branches/ubuntu/quantal/gst-plugins-bad-multiverse0.10/quantal

« back to all changes in this revision

Viewing changes to gst/pnm/gstpnmdec.h

  • Committer: Bazaar Package Importer
  • Author(s): Onkar Shinde
  • Date: 2009-12-07 08:54:28 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20091207085428-ml6aaukf0p2ph34d
Tags: 0.10.17-0ubuntu1
* New upstream release.
* Add myself to maintainer.
* Fix misc lintian warnings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* GStreamer
 
2
 *
 
3
 * This library is free software; you can redistribute it and/or
 
4
 * modify it under the terms of the GNU Library General Public
 
5
 * License as published by the Free Software Foundation; either
 
6
 * version 2 of the License, or (at your option) any later version.
 
7
 *
 
8
 * This library is distributed in the hope that it will be useful,
 
9
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
11
 * Library General Public License for more details.
 
12
 *
 
13
 * You should have received a copy of the GNU Library General Public
 
14
 * License along with this library; if not, write to the
 
15
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 
16
 * Boston, MA 02111-1307, USA.
 
17
 */
 
18
 
 
19
#ifndef __GST_PNMDEC_H__
 
20
#define __GST_PNMDEC_H__
 
21
 
 
22
#include <gst/gstelement.h>
 
23
 
 
24
#include "gstpnmutils.h"
 
25
 
 
26
G_BEGIN_DECLS
 
27
 
 
28
#define GST_TYPE_PNMDEC (gst_pnmdec_get_type())
 
29
#define GST_PNMDEC(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_PNMDEC,GstPnmdec))
 
30
#define GST_PNMDEC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_PNMDEC,GstPnmdec))
 
31
#define GST_IS_PNMDEC(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_PNMDEC))
 
32
#define GST_IS_PNMDEC_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_PNMDEC))
 
33
 
 
34
typedef struct _GstPnmdec GstPnmdec;
 
35
typedef struct _GstPnmdecClass GstPnmdecClass;
 
36
 
 
37
struct _GstPnmdec
 
38
{
 
39
  GstElement element;
 
40
 
 
41
  GstPnmInfoMngr mngr;
 
42
  guint size, last_byte;
 
43
  GstBuffer *buf;
 
44
};
 
45
 
 
46
struct _GstPnmdecClass
 
47
{
 
48
  GstElementClass parent_class;
 
49
};
 
50
 
 
51
GType gst_pnmdec_get_type (void) G_GNUC_CONST;
 
52
 
 
53
G_END_DECLS
 
54
 
 
55
#endif /* __GST_PNMDEC_H__ */