mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
androidcamera: Add G_BEGIN/END_DECLS to the .h
This commit is contained in:
parent
4a2a73b13f
commit
eb949625b9
3 changed files with 8 additions and 0 deletions
|
@ -26,6 +26,7 @@
|
|||
#include <jni.h>
|
||||
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
/* android.graphics.ImageFormat */
|
||||
extern gint ImageFormat_JPEG;
|
||||
|
@ -41,6 +42,7 @@ void gst_android_graphics_imageformat_deinit (void);
|
|||
|
||||
gint gst_ag_imageformat_get_bits_per_pixel (gint format);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_ANDROID_GRAPHICS_IMAGEFORMAT_H__ */
|
||||
|
||||
|
|
|
@ -26,6 +26,8 @@
|
|||
#include <jni.h>
|
||||
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
typedef struct _GstAGSurfaceTexture GstAGSurfaceTexture;
|
||||
|
||||
/* android.graphics.SurfaceTexture */
|
||||
|
@ -42,6 +44,7 @@ void gst_android_graphics_surfacetexture_deinit (void);
|
|||
GstAGSurfaceTexture *gst_ag_surfacetexture_new (gint texture_id);
|
||||
void gst_ag_surfacetexture_release (GstAGSurfaceTexture *self);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_ANDROID_GRAPHICS_SURFACETEXTURE_H__ */
|
||||
|
||||
|
|
|
@ -28,6 +28,8 @@
|
|||
#include "gst-android-graphics-surfacetexture.h"
|
||||
#include "gst-android-graphics-imageformat.h"
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
typedef struct _GstAHCamera GstAHCamera;
|
||||
typedef struct _GstAHCCameraInfo GstAHCCameraInfo;
|
||||
typedef struct _GstAHCSize GstAHCSize;
|
||||
|
@ -241,5 +243,6 @@ gboolean gst_ahc_parameters_unflatten (GstAHCParameters * self,
|
|||
const gchar * flattened);
|
||||
void gst_ahc_parameters_free (GstAHCParameters * self);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GST_ANDROID_HARDWARE_CAMERA_H__ */
|
||||
|
|
Loading…
Reference in a new issue