Blame gst-libs/gst/riff/riff-media.h

Packit 971217
/* GStreamer RIFF I/O
Packit 971217
 * Copyright (C) 2003 Ronald Bultje <rbultje@ronald.bitfreak.net>
Packit 971217
 *
Packit 971217
 * riff-media.h: RIFF-id to/from caps routines
Packit 971217
 *
Packit 971217
 * This library is free software; you can redistribute it and/or
Packit 971217
 * modify it under the terms of the GNU Library General Public
Packit 971217
 * License as published by the Free Software Foundation; either
Packit 971217
 * version 2 of the License, or (at your option) any later version.
Packit 971217
 *
Packit 971217
 * This library is distributed in the hope that it will be useful,
Packit 971217
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 971217
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 971217
 * Library General Public License for more details.
Packit 971217
 *
Packit 971217
 * You should have received a copy of the GNU Library General Public
Packit 971217
 * License along with this library; if not, write to the
Packit 971217
 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Packit 971217
 * Boston, MA 02110-1301, USA.
Packit 971217
 */
Packit 971217
Packit 971217
#ifndef __GST_RIFF_MEDIA_H__
Packit 971217
#define __GST_RIFF_MEDIA_H__
Packit 971217
Packit 971217
#include <glib.h>
Packit 971217
#include <gst/gst.h>
Packit 971217
#include "riff-ids.h"
Packit 971217
Packit 971217
G_BEGIN_DECLS
Packit 971217
Packit 971217
/*
Packit 971217
 * Create caos. strh/strf, strf/strd_data and codec_name can be NULL.
Packit 971217
 */
Packit 971217
Packit 971217
GST_RIFF_API
Packit 971217
GstCaps * gst_riff_create_video_caps (guint32              codec_fcc,
Packit 971217
                                      gst_riff_strh      * strh,
Packit 971217
                                      gst_riff_strf_vids * strf,
Packit 971217
                                      GstBuffer          * strf_data,
Packit 971217
                                      GstBuffer          * strd_data,
Packit 971217
                                      char              ** codec_name);
Packit 971217
Packit 971217
GST_RIFF_API
Packit 971217
GstCaps * gst_riff_create_audio_caps (guint16              codec_id,
Packit 971217
                                      gst_riff_strh      * strh,
Packit 971217
                                      gst_riff_strf_auds * strf,
Packit 971217
                                      GstBuffer          * strf_data,
Packit 971217
                                      GstBuffer          * strd_data,
Packit 971217
                                      char              ** codec_name,
Packit 971217
                                      gint                 channel_reorder_map[18]);
Packit 971217
Packit 971217
GST_RIFF_API
Packit 971217
GstCaps * gst_riff_create_iavs_caps  (guint32              codec_fcc,
Packit 971217
                                      gst_riff_strh      * strh,
Packit 971217
                                      gst_riff_strf_iavs * strf,
Packit 971217
                                      GstBuffer          * strf_data,
Packit 971217
                                      GstBuffer          * strd_data,
Packit 971217
                                      char              ** codec_name);
Packit 971217
/*
Packit 971217
 * Create template caps (includes all known types).
Packit 971217
 */
Packit 971217
Packit 971217
GST_RIFF_API
Packit 971217
GstCaps * gst_riff_create_video_template_caps (void);
Packit 971217
Packit 971217
GST_RIFF_API
Packit 971217
GstCaps * gst_riff_create_audio_template_caps (void);
Packit 971217
Packit 971217
GST_RIFF_API
Packit 971217
GstCaps * gst_riff_create_iavs_template_caps  (void);
Packit 971217
Packit 971217
G_END_DECLS
Packit 971217
Packit 971217
#endif /* __GST_RIFF_READ_H__ */