2016-08-05 16:39:26 +02:00
|
|
|
/* GStreamer
|
|
|
|
|
* Copyright (C) 2016 Wim Taymans <wim.taymans@gmail.com>
|
|
|
|
|
*
|
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
|
* modify it under the terms of the GNU Library General Public
|
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
|
*
|
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
|
* Library General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
|
* License along with this library; if not, write to the
|
|
|
|
|
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
|
|
|
* Boston, MA 02110-1301, USA.
|
|
|
|
|
*/
|
|
|
|
|
|
2017-05-23 19:15:33 +02:00
|
|
|
#ifndef _GST_PIPEWIRE_FORMAT_H_
|
|
|
|
|
#define _GST_PIPEWIRE_FORMAT_H_
|
2016-08-05 16:39:26 +02:00
|
|
|
|
|
|
|
|
#include <gst/gst.h>
|
|
|
|
|
|
2017-06-21 09:54:28 +02:00
|
|
|
#include <spa/type-map.h>
|
|
|
|
|
#include <spa/format.h>
|
2016-08-05 16:39:26 +02:00
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
2017-11-07 17:39:31 +01:00
|
|
|
struct spa_pod_object * gst_caps_to_format (GstCaps *caps, guint index, struct spa_type_map *map);
|
|
|
|
|
GPtrArray * gst_caps_to_format_all (GstCaps *caps, struct spa_type_map *map);
|
2016-08-05 16:39:26 +02:00
|
|
|
|
2017-11-07 17:39:31 +01:00
|
|
|
GstCaps * gst_caps_from_format (const struct spa_pod_object *format, struct spa_type_map *map);
|
2016-08-05 16:39:26 +02:00
|
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
|
|
#endif
|