add new header

This commit is contained in:
Wim Taymans 2017-02-21 15:02:54 +01:00
parent 808d6b6fca
commit 922997175d

43
spa/lib/video-raw.h Normal file
View file

@ -0,0 +1,43 @@
/* Simple Plugin API
* 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.
*/
#ifndef __SPA_LIBVIDEO_RAW_H__
#define __SPA_LIBVIDEO_RAW_H__
#ifdef __cplusplus
extern "C" {
#endif
#include <lib/prop-builder.h>
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__ */