From 922997175d24511e9d169015743370ac9bc47471 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 21 Feb 2017 15:02:54 +0100 Subject: [PATCH] add new header --- spa/lib/video-raw.h | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 spa/lib/video-raw.h diff --git a/spa/lib/video-raw.h b/spa/lib/video-raw.h new file mode 100644 index 000000000..6d408990f --- /dev/null +++ b/spa/lib/video-raw.h @@ -0,0 +1,43 @@ +/* Simple Plugin API + * Copyright (C) 2016 Wim Taymans + * + * 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. + */ + +#ifndef __SPA_LIBVIDEO_RAW_H__ +#define __SPA_LIBVIDEO_RAW_H__ + +#ifdef __cplusplus +extern "C" { +#endif + +#include + +SpaResult spa_format_video_builder_add (SpaPropBuilder *b, + SpaPropBuilderInfo *info, + SpaPropIdVideo id, + size_t offset); + +SpaResult spa_format_video_builder_add_range (SpaPropBuilder *b, + SpaPropBuilderRange *range, + int index); + +#ifdef __cplusplus +} /* extern "C" */ +#endif + + +#endif /* __SPA_LIBVIDEO_RAW_H__ */