Added gst-plugins-base-subtitles0.10-0.10.34 for Meego Harmattan 1.2
[mafwsubrenderer] / gst-plugins-base-subtitles0.10 / gst-libs / gst / riff / riff-media.h
1 /* GStreamer RIFF I/O
2  * Copyright (C) 2003 Ronald Bultje <rbultje@ronald.bitfreak.net>
3  *
4  * riff-media.h: RIFF-id to/from caps routines
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., 59 Temple Place - Suite 330,
19  * Boston, MA 02111-1307, USA.
20  */
21
22 #ifndef __GST_RIFF_MEDIA_H__
23 #define __GST_RIFF_MEDIA_H__
24
25 #include <glib.h>
26 #include <gst/gst.h>
27 #include "riff-ids.h"
28
29 G_BEGIN_DECLS
30
31 /*
32  * Create caos. strh/strf, strf/strd_data and codec_name can be NULL.
33  */
34
35 GstCaps * gst_riff_create_video_caps (guint32              codec_fcc,
36                                       gst_riff_strh      * strh,
37                                       gst_riff_strf_vids * strf,
38                                       GstBuffer          * strf_data,
39                                       GstBuffer          * strd_data,
40                                       char              ** codec_name);
41
42 GstCaps * gst_riff_create_audio_caps (guint16              codec_id,
43                                       gst_riff_strh      * strh,
44                                       gst_riff_strf_auds * strf,
45                                       GstBuffer          * strf_data,
46                                       GstBuffer          * strd_data,
47                                       char              ** codec_name);
48
49 GstCaps * gst_riff_create_iavs_caps  (guint32              codec_fcc,
50                                       gst_riff_strh      * strh,
51                                       gst_riff_strf_iavs * strf,
52                                       GstBuffer          * strf_data,
53                                       GstBuffer          * strd_data,
54                                       char              ** codec_name);
55 /*
56  * Create template caps (includes all known types).
57  */
58
59 GstCaps * gst_riff_create_video_template_caps (void);
60 GstCaps * gst_riff_create_audio_template_caps (void);
61 GstCaps * gst_riff_create_iavs_template_caps  (void);
62
63 G_END_DECLS
64
65 #endif /* __GST_RIFF_READ_H__ */