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., 51 Franklin St, Fifth Floor,
19 * Boston, MA 02110-1301, 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
29G_BEGIN_DECLS
30
31/*
32 * Create caos. strh/strf, strf/strd_data and codec_name can be NULL.
33 */
34
35GST_RIFF_API
36GstCaps * gst_riff_create_video_caps (guint32 codec_fcc,
37 gst_riff_strh * strh,
38 gst_riff_strf_vids * strf,
39 GstBuffer * strf_data,
40 GstBuffer * strd_data,
41 char ** codec_name);
42
43GST_RIFF_API
44GstCaps * gst_riff_create_audio_caps (guint16 codec_id,
45 gst_riff_strh * strh,
46 gst_riff_strf_auds * strf,
47 GstBuffer * strf_data,
48 GstBuffer * strd_data,
49 char ** codec_name,
50 gint channel_reorder_map[18]);
51
52GST_RIFF_API
53GstCaps * gst_riff_create_iavs_caps (guint32 codec_fcc,
54 gst_riff_strh * strh,
55 gst_riff_strf_iavs * strf,
56 GstBuffer * strf_data,
57 GstBuffer * strd_data,
58 char ** codec_name);
59/*
60 * Create template caps (includes all known types).
61 */
62
63GST_RIFF_API
64GstCaps * gst_riff_create_video_template_caps (void);
65
66GST_RIFF_API
67GstCaps * gst_riff_create_audio_template_caps (void);
68
69GST_RIFF_API
70GstCaps * gst_riff_create_iavs_template_caps (void);
71
72G_END_DECLS
73
74#endif /* __GST_RIFF_READ_H__ */
75

source code of include/gstreamer-1.0/gst/riff/riff-media.h