* Create caos. strh/strf, strf/strd_data and codec_name can be NULL.
*/
+GST_EXPORT
GstCaps * gst_riff_create_video_caps (guint32 codec_fcc,
gst_riff_strh * strh,
gst_riff_strf_vids * strf,
GstBuffer * strd_data,
char ** codec_name);
+GST_EXPORT
GstCaps * gst_riff_create_audio_caps (guint16 codec_id,
gst_riff_strh * strh,
gst_riff_strf_auds * strf,
char ** codec_name,
gint channel_reorder_map[18]);
+GST_EXPORT
GstCaps * gst_riff_create_iavs_caps (guint32 codec_fcc,
gst_riff_strh * strh,
gst_riff_strf_iavs * strf,
* Create template caps (includes all known types).
*/
+GST_EXPORT
GstCaps * gst_riff_create_video_template_caps (void);
+
+GST_EXPORT
GstCaps * gst_riff_create_audio_template_caps (void);
+
+GST_EXPORT
GstCaps * gst_riff_create_iavs_template_caps (void);
G_END_DECLS
* Operate using pull_range().
*/
+GST_EXPORT
GstFlowReturn gst_riff_read_chunk (GstElement * element,
GstPad * pad,
guint64 * offset,
* by the function.
*/
+GST_EXPORT
gboolean gst_riff_parse_chunk (GstElement * element,
GstBuffer * buf,
guint * offset,
guint32 * fourcc,
GstBuffer ** chunk_data);
+GST_EXPORT
gboolean gst_riff_parse_file_header (GstElement * element,
GstBuffer * buf,
guint32 * doctype);
+GST_EXPORT
gboolean gst_riff_parse_strh (GstElement * element,
GstBuffer * buf,
gst_riff_strh ** strh);
+GST_EXPORT
gboolean gst_riff_parse_strf_vids (GstElement * element,
GstBuffer * buf,
gst_riff_strf_vids ** strf,
GstBuffer ** data);
+
+GST_EXPORT
gboolean gst_riff_parse_strf_auds (GstElement * element,
GstBuffer * buf,
gst_riff_strf_auds ** strf,
GstBuffer ** data);
+
+GST_EXPORT
gboolean gst_riff_parse_strf_iavs (GstElement * element,
GstBuffer * buf,
gst_riff_strf_iavs ** strf,
GstBuffer ** data);
+GST_EXPORT
void gst_riff_parse_info (GstElement * element,
GstBuffer * buf,
GstTagList ** taglist);
/*
* Init.
*/
+
+GST_EXPORT
void gst_riff_init (void);
G_END_DECLS