2016-11-03 19:41:53 +01:00
|
|
|
/* Pinos
|
|
|
|
|
* Copyright (C) 2015 Wim Taymans <wim.taymans@gmail.com>
|
2016-07-28 21:19:20 +02:00
|
|
|
*
|
|
|
|
|
* 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.
|
|
|
|
|
*/
|
|
|
|
|
|
2016-11-21 16:29:15 +01:00
|
|
|
#ifndef __PINOS_URI_H__
|
|
|
|
|
#define __PINOS_URI_H__
|
2016-07-28 21:19:20 +02:00
|
|
|
|
2016-11-08 18:00:52 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
2016-07-28 21:19:20 +02:00
|
|
|
|
2017-03-23 21:15:52 +01:00
|
|
|
#define PINOS_TYPE__Uri "Pinos:Object:Uri"
|
|
|
|
|
#define PINOS_TYPE_URI_BASE PINOS_TYPE__Uri ":"
|
2016-07-28 21:19:20 +02:00
|
|
|
|
2016-11-03 19:41:53 +01:00
|
|
|
#include <pinos/client/map.h>
|
|
|
|
|
#include <spa/include/spa/id-map.h>
|
2017-03-21 20:39:20 +01:00
|
|
|
#include <spa/include/spa/node-event.h>
|
2017-03-23 08:54:04 +01:00
|
|
|
#include <spa/include/spa/monitor.h>
|
2016-07-28 21:19:20 +02:00
|
|
|
|
2016-11-21 16:29:15 +01:00
|
|
|
typedef struct _PinosURI PinosURI;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* PinosURI:
|
|
|
|
|
*
|
|
|
|
|
* Pinos URI support struct.
|
|
|
|
|
*/
|
|
|
|
|
struct _PinosURI {
|
|
|
|
|
SpaIDMap *map;
|
2016-07-28 21:19:20 +02:00
|
|
|
|
2016-11-24 17:00:42 +01:00
|
|
|
uint32_t core;
|
2016-11-30 19:09:09 +01:00
|
|
|
uint32_t registry;
|
2016-11-08 18:00:52 +01:00
|
|
|
uint32_t node;
|
|
|
|
|
uint32_t node_factory;
|
2016-11-14 12:42:00 +01:00
|
|
|
uint32_t link;
|
2016-11-08 18:00:52 +01:00
|
|
|
uint32_t client;
|
2016-11-15 17:06:09 +01:00
|
|
|
uint32_t client_node;
|
2016-11-24 17:00:42 +01:00
|
|
|
uint32_t module;
|
2016-11-14 12:42:00 +01:00
|
|
|
|
2016-11-08 18:00:52 +01:00
|
|
|
uint32_t spa_node;
|
|
|
|
|
uint32_t spa_clock;
|
|
|
|
|
uint32_t spa_monitor;
|
2017-03-21 20:39:20 +01:00
|
|
|
|
2017-03-23 21:15:52 +01:00
|
|
|
SpaEventNode event_node;
|
|
|
|
|
SpaCommandNode command_node;
|
2017-03-23 08:54:04 +01:00
|
|
|
SpaMonitorTypes monitor_types;
|
2017-03-23 10:12:20 +01:00
|
|
|
SpaAllocParamBuffers alloc_param_buffers;
|
|
|
|
|
SpaAllocParamMetaEnable alloc_param_meta_enable;
|
|
|
|
|
SpaAllocParamVideoPadding alloc_param_video_padding;
|
2016-11-03 19:41:53 +01:00
|
|
|
};
|
|
|
|
|
|
2016-11-21 16:29:15 +01:00
|
|
|
void pinos_uri_init (PinosURI *uri);
|
2016-11-08 18:00:52 +01:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
2016-07-28 21:19:20 +02:00
|
|
|
|
2016-11-21 16:29:15 +01:00
|
|
|
#endif /* __PINOS_URI_H__ */
|