| ARX 1.0 The next-generation open source augmented reality toolkit.

Loading...
Searching...
No Matches
videoGStreamer.h
Go to the documentation of this file.
1/*
2 * videoGStreamer.h
3 * artoolkitX
4 *
5 * Video capture module utilising the GStreamer pipeline for AR Toolkit
6 *
7 * This file is part of artoolkitX.
8 *
9 * artoolkitX is free software: you can redistribute it and/or modify
10 * it under the terms of the GNU Lesser General Public License as published by
11 * the Free Software Foundation, either version 3 of the License, or
12 * (at your option) any later version.
13 *
14 * artoolkitX is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU Lesser General Public License for more details.
18 *
19 * You should have received a copy of the GNU Lesser General Public License
20 * along with artoolkitX. If not, see <http://www.gnu.org/licenses/>.
21 *
22 * As a special exception, the copyright holders of this library give you
23 * permission to link this library with independent modules to produce an
24 * executable, regardless of the license terms of these independent modules, and to
25 * copy and distribute the resulting executable under terms of your choice,
26 * provided that you also meet, for each linked independent module, the terms and
27 * conditions of the license of that module. An independent module is a module
28 * which is neither derived from nor based on this library. If you modify this
29 * library, you may extend this exception to your version of the library, but you
30 * are not obligated to do so. If you do not wish to do so, delete this exception
31 * statement from your version.
32 *
33 * Copyright 2018 Realmax, Inc.
34 * Copyright 2015 Daqri, LLC.
35 * Copyright 2008-2015 ARToolworks, Inc.
36 * Copyright 2003-2008 Hartmut Seichter <http://www.technotecture.com>
37 *
38 * Author(s): Hartmut Seichter, Philip Lamb
39 *
40 */
41
42#ifndef AR_VIDEO_GSTREAMER_H
43#define AR_VIDEO_GSTREAMER_H
44
45#include <ARX/ARVideo/video.h>
46
47#ifdef __cplusplus
48 extern "C" {
49#endif
50
51 typedef struct _AR2VideoParamGStreamerT AR2VideoParamGStreamerT;
52
53 int ar2VideoDispOptionGStreamer ( void );
54 AR2VideoParamGStreamerT *ar2VideoOpenGStreamer ( const char *config_in );
55 int ar2VideoCloseGStreamer ( AR2VideoParamGStreamerT *vid );
56 int ar2VideoGetIdGStreamer ( AR2VideoParamGStreamerT *vid, ARUint32 *id0, ARUint32 *id1 );
57 int ar2VideoGetSizeGStreamer ( AR2VideoParamGStreamerT *vid, int *x,int *y );
58AR_PIXEL_FORMAT ar2VideoGetPixelFormatGStreamer ( AR2VideoParamGStreamerT *vid );
59 AR2VideoBufferT *ar2VideoGetImageGStreamer ( AR2VideoParamGStreamerT *vid );
60 int ar2VideoCapStartGStreamer ( AR2VideoParamGStreamerT *vid );
61 int ar2VideoCapStopGStreamer ( AR2VideoParamGStreamerT *vid );
62
63 int ar2VideoGetParamiGStreamer ( AR2VideoParamGStreamerT *vid, int paramName, int *value );
64 int ar2VideoSetParamiGStreamer ( AR2VideoParamGStreamerT *vid, int paramName, int value );
65 int ar2VideoGetParamdGStreamer ( AR2VideoParamGStreamerT *vid, int paramName, double *value );
66 int ar2VideoSetParamdGStreamer ( AR2VideoParamGStreamerT *vid, int paramName, double value );
67 int ar2VideoGetParamsGStreamer ( AR2VideoParamGStreamerT *vid, const int paramName, char **value );
68 int ar2VideoSetParamsGStreamer ( AR2VideoParamGStreamerT *vid, const int paramName, const char *value );
69
70
71#ifdef __cplusplus
72}
73#endif
74#endif // !AR_VIDEO_GSTREAMER_H
ARUint32
unsigned int ARUint32
Definition: ar.h:94
AR2VideoBufferT
A structure which carries information about a video frame retrieved by the video library.
Definition: ar.h:148
video.h
ar2VideoGetParamiGStreamer
int ar2VideoGetParamiGStreamer(AR2VideoParamGStreamerT *vid, int paramName, int *value)
ar2VideoCloseGStreamer
int ar2VideoCloseGStreamer(AR2VideoParamGStreamerT *vid)
ar2VideoOpenGStreamer
AR2VideoParamGStreamerT * ar2VideoOpenGStreamer(const char *config_in)
ar2VideoGetParamsGStreamer
int ar2VideoGetParamsGStreamer(AR2VideoParamGStreamerT *vid, const int paramName, char **value)
ar2VideoSetParamiGStreamer
int ar2VideoSetParamiGStreamer(AR2VideoParamGStreamerT *vid, int paramName, int value)
ar2VideoGetParamdGStreamer
int ar2VideoGetParamdGStreamer(AR2VideoParamGStreamerT *vid, int paramName, double *value)
AR2VideoParamGStreamerT
struct _AR2VideoParamGStreamerT AR2VideoParamGStreamerT
Definition: videoGStreamer.h:51
ar2VideoCapStopGStreamer
int ar2VideoCapStopGStreamer(AR2VideoParamGStreamerT *vid)
ar2VideoCapStartGStreamer
int ar2VideoCapStartGStreamer(AR2VideoParamGStreamerT *vid)
ar2VideoGetPixelFormatGStreamer
AR_PIXEL_FORMAT ar2VideoGetPixelFormatGStreamer(AR2VideoParamGStreamerT *vid)
ar2VideoSetParamsGStreamer
int ar2VideoSetParamsGStreamer(AR2VideoParamGStreamerT *vid, const int paramName, const char *value)
ar2VideoGetSizeGStreamer
int ar2VideoGetSizeGStreamer(AR2VideoParamGStreamerT *vid, int *x, int *y)
ar2VideoGetIdGStreamer
int ar2VideoGetIdGStreamer(AR2VideoParamGStreamerT *vid, ARUint32 *id0, ARUint32 *id1)
ar2VideoSetParamdGStreamer
int ar2VideoSetParamdGStreamer(AR2VideoParamGStreamerT *vid, int paramName, double value)
ar2VideoDispOptionGStreamer
int ar2VideoDispOptionGStreamer(void)
ar2VideoGetImageGStreamer
AR2VideoBufferT * ar2VideoGetImageGStreamer(AR2VideoParamGStreamerT *vid)