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.
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.
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.
19
#ifndef __GST_PNMDEC_H__
20
#define __GST_PNMDEC_H__
22
#include <gst/gstelement.h>
24
#include "gstpnmutils.h"
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))
34
typedef struct _GstPnmdec GstPnmdec;
35
typedef struct _GstPnmdecClass GstPnmdecClass;
42
guint size, last_byte;
46
struct _GstPnmdecClass
48
GstElementClass parent_class;
51
GType gst_pnmdec_get_type (void) G_GNUC_CONST;
55
#endif /* __GST_PNMDEC_H__ */