2 * Copyright (C) 2003 Ronald Bultje <rbultje@ronald.bitfreak.net>
4 * riff-media.h: RIFF-id to/from caps routines
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.
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.
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.
22 #ifndef __GST_RIFF_MEDIA_H__
23 #define __GST_RIFF_MEDIA_H__
32 * Create caos. strh/strf, strf/strd_data and codec_name can be NULL.
35 GstCaps * gst_riff_create_video_caps (guint32 codec_fcc,
37 gst_riff_strf_vids * strf,
38 GstBuffer * strf_data,
39 GstBuffer * strd_data,
42 GstCaps * gst_riff_create_audio_caps (guint16 codec_id,
44 gst_riff_strf_auds * strf,
45 GstBuffer * strf_data,
46 GstBuffer * strd_data,
49 GstCaps * gst_riff_create_iavs_caps (guint32 codec_fcc,
51 gst_riff_strf_iavs * strf,
52 GstBuffer * strf_data,
53 GstBuffer * strd_data,
56 * Create template caps (includes all known types).
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);
65 #endif /* __GST_RIFF_READ_H__ */