1 /* GStreamer CDXA sync strippper / VCD parser
2 * Copyright (C) 2004 Ronald Bultje <rbultje@ronald.bitfreak.net>
3 * Copyright (C) 2008 Tim-Philipp Müller <tim centricular net>
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
21 #ifndef __GST_VCD_PARSE_H__
22 #define __GST_VCD_PARSE_H__
25 #include <gst/base/gstadapter.h>
29 #define GST_TYPE_VCD_PARSE \
30 (gst_vcd_parse_get_type())
31 #define GST_VCD_PARSE(obj) \
32 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_VCD_PARSE,GstVcdParse))
33 #define GST_VCD_PARSE_CLASS(klass) \
34 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_VCD_PARSE,GstVcdParseClass))
35 #define GST_IS_VCD_PARSE(obj) \
36 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_VCD_PARSE))
37 #define GST_IS_VCD_PARSE_CLASS(klass) \
38 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_VCD_PARSE))
40 #define GST_CDXA_SECTOR_SIZE 2352
41 #define GST_CDXA_DATA_SIZE 2324
42 #define GST_CDXA_HEADER_SIZE 24
44 typedef struct _GstVcdParse GstVcdParse;
45 typedef struct _GstVcdParseClass GstVcdParseClass;
55 struct _GstVcdParseClass {
56 GstElementClass element_class;
59 GType gst_vcd_parse_get_type (void);
63 #endif /* __GST_VCD_PARSE_H__ */