1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
<title>GstPhotography</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
<link rel="home" href="index.html" title="GStreamer Bad Plugins 0.10 Plugins Reference Manual">
8
<link rel="up" href="ch04.html" title="gst-plugins-bad Interfaces">
9
<link rel="prev" href="ch04.html" title="gst-plugins-bad Interfaces">
10
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
11
<link rel="stylesheet" href="style.css" type="text/css">
13
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
14
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
16
<td><a accesskey="p" href="ch04.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
17
<td><a accesskey="u" href="ch04.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
18
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
19
<th width="100%" align="center">GStreamer Bad Plugins 0.10 Plugins Reference Manual</th>
22
<tr><td colspan="5" class="shortcuts">
23
<a href="#GstPhotography.synopsis" class="shortcut">Top</a>
25
<a href="#GstPhotography.description" class="shortcut">Description</a>
27
<a href="#GstPhotography.object-hierarchy" class="shortcut">Object Hierarchy</a>
29
<a href="#GstPhotography.prerequisites" class="shortcut">Prerequisites</a>
31
<a href="#GstPhotography.implementations" class="shortcut">Known Implementations</a>
33
<a href="#GstPhotography.properties" class="shortcut">Properties</a>
36
<div class="refentry" title="GstPhotography">
37
<a name="GstPhotography"></a><div class="titlepage"></div>
38
<div class="refnamediv"><table width="100%"><tr>
40
<h2><span class="refentrytitle"><a name="GstPhotography.top_of_page"></a>GstPhotography</span></h2>
41
<p>GstPhotography — Interface for digital image capture elements</p>
43
<td valign="top" align="right"></td>
45
<div class="refsynopsisdiv" title="Synopsis">
46
<a name="GstPhotography.synopsis"></a><h2>Synopsis</h2>
47
<pre class="synopsis"> <a class="link" href="GstPhotography.html#GstPhotography-struct" title="GstPhotography">GstPhotography</a>;
48
enum <a class="link" href="GstPhotography.html#GstWhiteBalanceMode" title="enum GstWhiteBalanceMode">GstWhiteBalanceMode</a>;
49
enum <a class="link" href="GstPhotography.html#GstColourToneMode" title="enum GstColourToneMode">GstColourToneMode</a>;
50
enum <a class="link" href="GstPhotography.html#GstSceneMode" title="enum GstSceneMode">GstSceneMode</a>;
51
enum <a class="link" href="GstPhotography.html#GstFlashMode" title="enum GstFlashMode">GstFlashMode</a>;
52
enum <a class="link" href="GstPhotography.html#GstFlickerReductionMode" title="enum GstFlickerReductionMode">GstFlickerReductionMode</a>;
53
enum <a class="link" href="GstPhotography.html#GstFocusMode" title="enum GstFocusMode">GstFocusMode</a>;
54
enum <a class="link" href="GstPhotography.html#GstFocusStatus" title="enum GstFocusStatus">GstFocusStatus</a>;
55
enum <a class="link" href="GstPhotography.html#GstPhotoCaps" title="enum GstPhotoCaps">GstPhotoCaps</a>;
56
enum <a class="link" href="GstPhotography.html#GstPhotoShakeRisk" title="enum GstPhotoShakeRisk">GstPhotoShakeRisk</a>;
57
<span class="returnvalue">void</span> (<a class="link" href="GstPhotography.html#GstPhotoCapturePrepared" title="GstPhotoCapturePrepared ()">*GstPhotoCapturePrepared</a>) (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
58
<em class="parameter"><code>const <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *configured_caps</code></em>);
59
<a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GstPhotography.html#gst-photography-get-ev-compensation" title="gst_photography_get_ev_compensation ()">gst_photography_get_ev_compensation</a> (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
60
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *ev_comp</code></em>);
61
<a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GstPhotography.html#gst-photography-get-iso-speed" title="gst_photography_get_iso_speed ()">gst_photography_get_iso_speed</a> (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
62
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *iso_speed</code></em>);
63
<a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GstPhotography.html#gst-photography-get-aperture" title="gst_photography_get_aperture ()">gst_photography_get_aperture</a> (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
64
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *aperture</code></em>);
65
<a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GstPhotography.html#gst-photography-get-exposure" title="gst_photography_get_exposure ()">gst_photography_get_exposure</a> (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
66
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> *exposure</code></em>);
67
<a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GstPhotography.html#gst-photography-get-white-balance-mode" title="gst_photography_get_white_balance_mode ()">gst_photography_get_white_balance_mode</a>
68
(<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
69
<em class="parameter"><code><a class="link" href="GstPhotography.html#GstWhiteBalanceMode" title="enum GstWhiteBalanceMode"><span class="type">GstWhiteBalanceMode</span></a> *wb_mode</code></em>);
70
<a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GstPhotography.html#gst-photography-get-colour-tone-mode" title="gst_photography_get_colour_tone_mode ()">gst_photography_get_colour_tone_mode</a>
71
(<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
72
<em class="parameter"><code><a class="link" href="GstPhotography.html#GstColourToneMode" title="enum GstColourToneMode"><span class="type">GstColourToneMode</span></a> *tone_mode</code></em>);
73
<a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GstPhotography.html#gst-photography-get-scene-mode" title="gst_photography_get_scene_mode ()">gst_photography_get_scene_mode</a> (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
74
<em class="parameter"><code><a class="link" href="GstPhotography.html#GstSceneMode" title="enum GstSceneMode"><span class="type">GstSceneMode</span></a> *scene_mode</code></em>);
75
<a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GstPhotography.html#gst-photography-get-flash-mode" title="gst_photography_get_flash_mode ()">gst_photography_get_flash_mode</a> (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
76
<em class="parameter"><code><a class="link" href="GstPhotography.html#GstFlashMode" title="enum GstFlashMode"><span class="type">GstFlashMode</span></a> *flash_mode</code></em>);
77
<a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GstPhotography.html#gst-photography-get-zoom" title="gst_photography_get_zoom ()">gst_photography_get_zoom</a> (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
78
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *zoom</code></em>);
79
<a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GstPhotography.html#gst-photography-set-ev-compensation" title="gst_photography_set_ev_compensation ()">gst_photography_set_ev_compensation</a> (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
80
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> ev_comp</code></em>);
81
<a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GstPhotography.html#gst-photography-set-iso-speed" title="gst_photography_set_iso_speed ()">gst_photography_set_iso_speed</a> (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
82
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> iso_speed</code></em>);
83
<a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GstPhotography.html#gst-photography-set-aperture" title="gst_photography_set_aperture ()">gst_photography_set_aperture</a> (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
84
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> aperture</code></em>);
85
<a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GstPhotography.html#gst-photography-set-exposure" title="gst_photography_set_exposure ()">gst_photography_set_exposure</a> (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
86
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> exposure</code></em>);
87
<a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GstPhotography.html#gst-photography-set-white-balance-mode" title="gst_photography_set_white_balance_mode ()">gst_photography_set_white_balance_mode</a>
88
(<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
89
<em class="parameter"><code><a class="link" href="GstPhotography.html#GstWhiteBalanceMode" title="enum GstWhiteBalanceMode"><span class="type">GstWhiteBalanceMode</span></a> wb_mode</code></em>);
90
<a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GstPhotography.html#gst-photography-set-colour-tone-mode" title="gst_photography_set_colour_tone_mode ()">gst_photography_set_colour_tone_mode</a>
91
(<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
92
<em class="parameter"><code><a class="link" href="GstPhotography.html#GstColourToneMode" title="enum GstColourToneMode"><span class="type">GstColourToneMode</span></a> tone_mode</code></em>);
93
<a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GstPhotography.html#gst-photography-set-scene-mode" title="gst_photography_set_scene_mode ()">gst_photography_set_scene_mode</a> (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
94
<em class="parameter"><code><a class="link" href="GstPhotography.html#GstSceneMode" title="enum GstSceneMode"><span class="type">GstSceneMode</span></a> scene_mode</code></em>);
95
<a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GstPhotography.html#gst-photography-set-flash-mode" title="gst_photography_set_flash_mode ()">gst_photography_set_flash_mode</a> (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
96
<em class="parameter"><code><a class="link" href="GstPhotography.html#GstFlashMode" title="enum GstFlashMode"><span class="type">GstFlashMode</span></a> flash_mode</code></em>);
97
<a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GstPhotography.html#gst-photography-set-zoom" title="gst_photography_set_zoom ()">gst_photography_set_zoom</a> (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
98
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> zoom</code></em>);
99
<a class="link" href="GstPhotography.html#GstPhotoCaps" title="enum GstPhotoCaps"><span class="returnvalue">GstPhotoCaps</span></a> <a class="link" href="GstPhotography.html#gst-photography-get-capabilities" title="gst_photography_get_capabilities ()">gst_photography_get_capabilities</a> (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>);
100
<a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GstPhotography.html#gst-photography-prepare-for-capture" title="gst_photography_prepare_for_capture ()">gst_photography_prepare_for_capture</a> (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
101
<em class="parameter"><code><a class="link" href="GstPhotography.html#GstPhotoCapturePrepared" title="GstPhotoCapturePrepared ()"><span class="type">GstPhotoCapturePrepared</span></a> func</code></em>,
102
<em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *capture_caps</code></em>,
103
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
104
<span class="returnvalue">void</span> <a class="link" href="GstPhotography.html#gst-photography-set-autofocus" title="gst_photography_set_autofocus ()">gst_photography_set_autofocus</a> (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
105
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> on</code></em>);
106
<a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GstPhotography.html#gst-photography-set-config" title="gst_photography_set_config ()">gst_photography_set_config</a> (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
107
<em class="parameter"><code><span class="type">GstPhotoSettings</span> *config</code></em>);
108
<a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GstPhotography.html#gst-photography-get-config" title="gst_photography_get_config ()">gst_photography_get_config</a> (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
109
<em class="parameter"><code><span class="type">GstPhotoSettings</span> *config</code></em>);
112
<div class="refsect1" title="Object Hierarchy">
113
<a name="GstPhotography.object-hierarchy"></a><h2>Object Hierarchy</h2>
114
<pre class="synopsis">
119
<div class="refsect1" title="Prerequisites">
120
<a name="GstPhotography.prerequisites"></a><h2>Prerequisites</h2>
122
GstPhotography requires
123
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstImplementsInterface.html">GstImplementsInterface</a> and <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html">GstElement</a>.</p>
125
<div class="refsect1" title="Known Implementations">
126
<a name="GstPhotography.implementations"></a><h2>Known Implementations</h2>
128
GstPhotography is implemented by
129
<a class="link" href="gst-plugins-bad-plugins-camerabin.html#GstCameraBin">GstCameraBin</a>.</p>
131
<div class="refsect1" title="Properties">
132
<a name="GstPhotography.properties"></a><h2>Properties</h2>
133
<pre class="synopsis">
134
"<a class="link" href="GstPhotography.html#GstPhotography--aperture" title='The "aperture" property'>aperture</a>" <a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
135
"<a class="link" href="GstPhotography.html#GstPhotography--capabilities" title='The "capabilities" property'>capabilities</a>" <a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> : Read
136
"<a class="link" href="GstPhotography.html#GstPhotography--colour-tone-mode" title='The "colour-tone-mode" property'>colour-tone-mode</a>" <a class="link" href="GstPhotography.html#GstColourToneMode" title="enum GstColourToneMode"><span class="type">GstColourToneMode</span></a> : Read / Write
137
"<a class="link" href="GstPhotography.html#GstPhotography--ev-compensation" title='The "ev-compensation" property'>ev-compensation</a>" <a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write
138
"<a class="link" href="GstPhotography.html#GstPhotography--exposure" title='The "exposure" property'>exposure</a>" <a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
139
"<a class="link" href="GstPhotography.html#GstPhotography--flash-mode" title='The "flash-mode" property'>flash-mode</a>" <a class="link" href="GstPhotography.html#GstFlashMode" title="enum GstFlashMode"><span class="type">GstFlashMode</span></a> : Read / Write
140
"<a class="link" href="GstPhotography.html#GstPhotography--flicker-mode" title='The "flicker-mode" property'>flicker-mode</a>" <a class="link" href="GstPhotography.html#GstFlickerReductionMode" title="enum GstFlickerReductionMode"><span class="type">GstFlickerReductionMode</span></a> : Read / Write
141
"<a class="link" href="GstPhotography.html#GstPhotography--focus-mode" title='The "focus-mode" property'>focus-mode</a>" <a class="link" href="GstPhotography.html#GstFocusMode" title="enum GstFocusMode"><span class="type">GstFocusMode</span></a> : Read / Write
142
"<a class="link" href="GstPhotography.html#GstPhotography--image-capture-supported-caps" title='The "image-capture-supported-caps" property'>image-capture-supported-caps</a>" <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a>* : Read
143
"<a class="link" href="GstPhotography.html#GstPhotography--iso-speed" title='The "iso-speed" property'>iso-speed</a>" <a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write
144
"<a class="link" href="GstPhotography.html#GstPhotography--scene-mode" title='The "scene-mode" property'>scene-mode</a>" <a class="link" href="GstPhotography.html#GstSceneMode" title="enum GstSceneMode"><span class="type">GstSceneMode</span></a> : Read / Write
145
"<a class="link" href="GstPhotography.html#GstPhotography--white-balance-mode" title='The "white-balance-mode" property'>white-balance-mode</a>" <a class="link" href="GstPhotography.html#GstWhiteBalanceMode" title="enum GstWhiteBalanceMode"><span class="type">GstWhiteBalanceMode</span></a> : Read / Write
148
<div class="refsect1" title="Description">
149
<a name="GstPhotography.description"></a><h2>Description</h2>
151
The interface allows access to some common digital image capture parameters.
155
<div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;">
156
<h3 class="title">Note</h3>
157
The GstPhotography interface is unstable API and may change in future.
158
One can define GST_USE_UNSTABLE_API to acknowledge and avoid this warning.
163
<div class="refsect1" title="Details">
164
<a name="GstPhotography.details"></a><h2>Details</h2>
165
<div class="refsect2" title="GstPhotography">
166
<a name="GstPhotography-struct"></a><h3>GstPhotography</h3>
167
<pre class="programlisting">typedef struct _GstPhotography GstPhotography;</pre>
169
Opaque <a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> data structure.
173
<div class="refsect2" title="enum GstWhiteBalanceMode">
174
<a name="GstWhiteBalanceMode"></a><h3>enum GstWhiteBalanceMode</h3>
175
<pre class="programlisting">typedef enum
177
GST_PHOTOGRAPHY_WB_MODE_AUTO = 0,
178
GST_PHOTOGRAPHY_WB_MODE_DAYLIGHT,
179
GST_PHOTOGRAPHY_WB_MODE_CLOUDY,
180
GST_PHOTOGRAPHY_WB_MODE_SUNSET,
181
GST_PHOTOGRAPHY_WB_MODE_TUNGSTEN,
182
GST_PHOTOGRAPHY_WB_MODE_FLUORESCENT
183
} GstWhiteBalanceMode;
189
<div class="refsect2" title="enum GstColourToneMode">
190
<a name="GstColourToneMode"></a><h3>enum GstColourToneMode</h3>
191
<pre class="programlisting">typedef enum
193
GST_PHOTOGRAPHY_COLOUR_TONE_MODE_NORMAL = 0,
194
GST_PHOTOGRAPHY_COLOUR_TONE_MODE_SEPIA,
195
GST_PHOTOGRAPHY_COLOUR_TONE_MODE_NEGATIVE,
196
GST_PHOTOGRAPHY_COLOUR_TONE_MODE_GRAYSCALE,
197
GST_PHOTOGRAPHY_COLOUR_TONE_MODE_NATURAL,
198
GST_PHOTOGRAPHY_COLOUR_TONE_MODE_VIVID,
199
GST_PHOTOGRAPHY_COLOUR_TONE_MODE_COLORSWAP,
200
GST_PHOTOGRAPHY_COLOUR_TONE_MODE_SOLARIZE,
201
GST_PHOTOGRAPHY_COLOUR_TONE_MODE_OUT_OF_FOCUS
208
<div class="refsect2" title="enum GstSceneMode">
209
<a name="GstSceneMode"></a><h3>enum GstSceneMode</h3>
210
<pre class="programlisting">typedef enum
212
GST_PHOTOGRAPHY_SCENE_MODE_MANUAL = 0,
213
GST_PHOTOGRAPHY_SCENE_MODE_CLOSEUP,
214
GST_PHOTOGRAPHY_SCENE_MODE_PORTRAIT,
215
GST_PHOTOGRAPHY_SCENE_MODE_LANDSCAPE,
216
GST_PHOTOGRAPHY_SCENE_MODE_SPORT,
217
GST_PHOTOGRAPHY_SCENE_MODE_NIGHT,
218
GST_PHOTOGRAPHY_SCENE_MODE_AUTO
225
<div class="refsect2" title="enum GstFlashMode">
226
<a name="GstFlashMode"></a><h3>enum GstFlashMode</h3>
227
<pre class="programlisting">typedef enum
229
GST_PHOTOGRAPHY_FLASH_MODE_AUTO = 0,
230
GST_PHOTOGRAPHY_FLASH_MODE_OFF,
231
GST_PHOTOGRAPHY_FLASH_MODE_ON,
232
GST_PHOTOGRAPHY_FLASH_MODE_FILL_IN,
233
GST_PHOTOGRAPHY_FLASH_MODE_RED_EYE
240
<div class="refsect2" title="enum GstFlickerReductionMode">
241
<a name="GstFlickerReductionMode"></a><h3>enum GstFlickerReductionMode</h3>
242
<pre class="programlisting">typedef enum
244
GST_PHOTOGRAPHY_FLICKER_REDUCTION_OFF = 0,
245
GST_PHOTOGRAPHY_FLICKER_REDUCTION_50HZ,
246
GST_PHOTOGRAPHY_FLICKER_REDUCTION_60HZ,
247
GST_PHOTOGRAPHY_FLICKER_REDUCTION_AUTO,
248
} GstFlickerReductionMode;
254
<div class="refsect2" title="enum GstFocusMode">
255
<a name="GstFocusMode"></a><h3>enum GstFocusMode</h3>
256
<pre class="programlisting">typedef enum {
257
GST_PHOTOGRAPHY_FOCUS_MODE_AUTO = 0,
258
GST_PHOTOGRAPHY_FOCUS_MODE_MACRO,
259
GST_PHOTOGRAPHY_FOCUS_MODE_PORTRAIT,
260
GST_PHOTOGRAPHY_FOCUS_MODE_INFINITY,
261
GST_PHOTOGRAPHY_FOCUS_MODE_HYPERFOCAL,
262
GST_PHOTOGRAPHY_FOCUS_MODE_EXTENDED,
263
GST_PHOTOGRAPHY_FOCUS_MODE_CONTINUOUS_NORMAL,
264
GST_PHOTOGRAPHY_FOCUS_MODE_CONTINUOUS_EXTENDED,
271
<div class="refsect2" title="enum GstFocusStatus">
272
<a name="GstFocusStatus"></a><h3>enum GstFocusStatus</h3>
273
<pre class="programlisting">typedef enum
275
GST_PHOTOGRAPHY_FOCUS_STATUS_NONE = 0,
276
GST_PHOTOGRAPHY_FOCUS_STATUS_RUNNING,
277
GST_PHOTOGRAPHY_FOCUS_STATUS_FAIL,
278
GST_PHOTOGRAPHY_FOCUS_STATUS_SUCCESS
285
<div class="refsect2" title="enum GstPhotoCaps">
286
<a name="GstPhotoCaps"></a><h3>enum GstPhotoCaps</h3>
287
<pre class="programlisting">typedef enum
289
GST_PHOTOGRAPHY_CAPS_NONE = (0 << 0),
290
GST_PHOTOGRAPHY_CAPS_EV_COMP = (1 << 0),
291
GST_PHOTOGRAPHY_CAPS_ISO_SPEED = (1 << 1),
292
GST_PHOTOGRAPHY_CAPS_WB_MODE = (1 << 2),
293
GST_PHOTOGRAPHY_CAPS_TONE = (1 << 3),
294
GST_PHOTOGRAPHY_CAPS_SCENE = (1 << 4),
295
GST_PHOTOGRAPHY_CAPS_FLASH = (1 << 5),
296
GST_PHOTOGRAPHY_CAPS_ZOOM = (1 << 6),
297
GST_PHOTOGRAPHY_CAPS_FOCUS = (1 << 7),
298
GST_PHOTOGRAPHY_CAPS_APERTURE = (1 << 8),
299
GST_PHOTOGRAPHY_CAPS_EXPOSURE = (1 << 9),
300
GST_PHOTOGRAPHY_CAPS_SHAKE = (1 << 10)
307
<div class="refsect2" title="enum GstPhotoShakeRisk">
308
<a name="GstPhotoShakeRisk"></a><h3>enum GstPhotoShakeRisk</h3>
309
<pre class="programlisting">typedef enum
311
GST_PHOTOGRAPHY_SHAKE_RISK_LOW = 0,
312
GST_PHOTOGRAPHY_SHAKE_RISK_MEDIUM,
313
GST_PHOTOGRAPHY_SHAKE_RISK_HIGH,
320
<div class="refsect2" title="GstPhotoCapturePrepared ()">
321
<a name="GstPhotoCapturePrepared"></a><h3>GstPhotoCapturePrepared ()</h3>
322
<pre class="programlisting"><span class="returnvalue">void</span> (*GstPhotoCapturePrepared) (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data</code></em>,
323
<em class="parameter"><code>const <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *configured_caps</code></em>);</pre>
325
This callback will be called when the element has finished preparations
328
<div class="variablelist"><table border="0">
329
<col align="left" valign="top">
332
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
333
<td>user data that has been given, when registering the callback
337
<td><p><span class="term"><em class="parameter"><code>configured_caps</code></em> :</span></p></td>
339
<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> defining the configured capture format.
340
Ownership of these caps stays in the element.
347
<div class="refsect2" title="gst_photography_get_ev_compensation ()">
348
<a name="gst-photography-get-ev-compensation"></a><h3>gst_photography_get_ev_compensation ()</h3>
349
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_photography_get_ev_compensation (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
350
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *ev_comp</code></em>);</pre>
352
Get the ev compensation value for the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
354
<div class="variablelist"><table border="0">
355
<col align="left" valign="top">
358
<td><p><span class="term"><em class="parameter"><code>photo</code></em> :</span></p></td>
360
<a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> interface of a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
364
<td><p><span class="term"><em class="parameter"><code>ev_comp</code></em> :</span></p></td>
365
<td>ev compensation value to get
369
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
370
<td> <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if getting the value succeeded, <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
377
<div class="refsect2" title="gst_photography_get_iso_speed ()">
378
<a name="gst-photography-get-iso-speed"></a><h3>gst_photography_get_iso_speed ()</h3>
379
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_photography_get_iso_speed (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
380
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *iso_speed</code></em>);</pre>
382
Get the ISO value (light sensivity) for the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
384
<div class="variablelist"><table border="0">
385
<col align="left" valign="top">
388
<td><p><span class="term"><em class="parameter"><code>photo</code></em> :</span></p></td>
390
<a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> interface of a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
394
<td><p><span class="term"><em class="parameter"><code>iso_speed</code></em> :</span></p></td>
395
<td>ISO speed value to get
399
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
400
<td> <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if getting the value succeeded, <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
407
<div class="refsect2" title="gst_photography_get_aperture ()">
408
<a name="gst-photography-get-aperture"></a><h3>gst_photography_get_aperture ()</h3>
409
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_photography_get_aperture (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
410
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *aperture</code></em>);</pre>
412
Get the aperture value for the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
414
<div class="variablelist"><table border="0">
415
<col align="left" valign="top">
418
<td><p><span class="term"><em class="parameter"><code>photo</code></em> :</span></p></td>
420
<a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> interface of a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
424
<td><p><span class="term"><em class="parameter"><code>aperture</code></em> :</span></p></td>
425
<td>aperture value to get
429
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
430
<td> <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if getting the value succeeded, <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
437
<div class="refsect2" title="gst_photography_get_exposure ()">
438
<a name="gst-photography-get-exposure"></a><h3>gst_photography_get_exposure ()</h3>
439
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_photography_get_exposure (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
440
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> *exposure</code></em>);</pre>
442
Get the fixed exposure time (in us) for the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
444
<div class="variablelist"><table border="0">
445
<col align="left" valign="top">
448
<td><p><span class="term"><em class="parameter"><code>photo</code></em> :</span></p></td>
450
<a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> interface of a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
454
<td><p><span class="term"><em class="parameter"><code>exposure</code></em> :</span></p></td>
455
<td>exposure time to get
459
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
460
<td> <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if getting the value succeeded, <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
467
<div class="refsect2" title="gst_photography_get_white_balance_mode ()">
468
<a name="gst-photography-get-white-balance-mode"></a><h3>gst_photography_get_white_balance_mode ()</h3>
469
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_photography_get_white_balance_mode
470
(<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
471
<em class="parameter"><code><a class="link" href="GstPhotography.html#GstWhiteBalanceMode" title="enum GstWhiteBalanceMode"><span class="type">GstWhiteBalanceMode</span></a> *wb_mode</code></em>);</pre>
473
Get the white balance mode for the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
475
<div class="variablelist"><table border="0">
476
<col align="left" valign="top">
479
<td><p><span class="term"><em class="parameter"><code>photo</code></em> :</span></p></td>
481
<a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> interface of a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
485
<td><p><span class="term"><em class="parameter"><code>wb_mode</code></em> :</span></p></td>
487
<a class="link" href="GstPhotography.html#GstWhiteBalanceMode" title="enum GstWhiteBalanceMode"><span class="type">GstWhiteBalanceMode</span></a> to get
491
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
492
<td> <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if getting the value succeeded, <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
499
<div class="refsect2" title="gst_photography_get_colour_tone_mode ()">
500
<a name="gst-photography-get-colour-tone-mode"></a><h3>gst_photography_get_colour_tone_mode ()</h3>
501
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_photography_get_colour_tone_mode
502
(<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
503
<em class="parameter"><code><a class="link" href="GstPhotography.html#GstColourToneMode" title="enum GstColourToneMode"><span class="type">GstColourToneMode</span></a> *tone_mode</code></em>);</pre>
505
Get the colour tone mode for the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
507
<div class="variablelist"><table border="0">
508
<col align="left" valign="top">
511
<td><p><span class="term"><em class="parameter"><code>photo</code></em> :</span></p></td>
513
<a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> interface of a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
517
<td><p><span class="term"><em class="parameter"><code>tone_mode</code></em> :</span></p></td>
519
<a class="link" href="GstPhotography.html#GstColourToneMode" title="enum GstColourToneMode"><span class="type">GstColourToneMode</span></a> to get
523
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
524
<td> <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if getting the value succeeded, <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
531
<div class="refsect2" title="gst_photography_get_scene_mode ()">
532
<a name="gst-photography-get-scene-mode"></a><h3>gst_photography_get_scene_mode ()</h3>
533
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_photography_get_scene_mode (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
534
<em class="parameter"><code><a class="link" href="GstPhotography.html#GstSceneMode" title="enum GstSceneMode"><span class="type">GstSceneMode</span></a> *scene_mode</code></em>);</pre>
536
Get the scene mode for the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
538
<div class="variablelist"><table border="0">
539
<col align="left" valign="top">
542
<td><p><span class="term"><em class="parameter"><code>photo</code></em> :</span></p></td>
544
<a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> interface of a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
548
<td><p><span class="term"><em class="parameter"><code>scene_mode</code></em> :</span></p></td>
550
<a class="link" href="GstPhotography.html#GstSceneMode" title="enum GstSceneMode"><span class="type">GstSceneMode</span></a> to get
554
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
555
<td> <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if getting the value succeeded, <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
562
<div class="refsect2" title="gst_photography_get_flash_mode ()">
563
<a name="gst-photography-get-flash-mode"></a><h3>gst_photography_get_flash_mode ()</h3>
564
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_photography_get_flash_mode (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
565
<em class="parameter"><code><a class="link" href="GstPhotography.html#GstFlashMode" title="enum GstFlashMode"><span class="type">GstFlashMode</span></a> *flash_mode</code></em>);</pre>
567
Get the flash mode for the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
569
<div class="variablelist"><table border="0">
570
<col align="left" valign="top">
573
<td><p><span class="term"><em class="parameter"><code>photo</code></em> :</span></p></td>
575
<a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> interface of a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
579
<td><p><span class="term"><em class="parameter"><code>flash_mode</code></em> :</span></p></td>
581
<a class="link" href="GstPhotography.html#GstFlashMode" title="enum GstFlashMode"><span class="type">GstFlashMode</span></a> to get
585
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
586
<td> <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if getting the value succeeded, <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
593
<div class="refsect2" title="gst_photography_get_zoom ()">
594
<a name="gst-photography-get-zoom"></a><h3>gst_photography_get_zoom ()</h3>
595
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_photography_get_zoom (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
596
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> *zoom</code></em>);</pre>
598
Get the zoom value for the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
600
<div class="variablelist"><table border="0">
601
<col align="left" valign="top">
604
<td><p><span class="term"><em class="parameter"><code>photo</code></em> :</span></p></td>
606
<a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> interface of a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
610
<td><p><span class="term"><em class="parameter"><code>zoom</code></em> :</span></p></td>
611
<td>zoom value to get
615
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
616
<td> <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if getting the value succeeded, <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
623
<div class="refsect2" title="gst_photography_set_ev_compensation ()">
624
<a name="gst-photography-set-ev-compensation"></a><h3>gst_photography_set_ev_compensation ()</h3>
625
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_photography_set_ev_compensation (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
626
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> ev_comp</code></em>);</pre>
628
Set the ev compensation value for the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
630
<div class="variablelist"><table border="0">
631
<col align="left" valign="top">
634
<td><p><span class="term"><em class="parameter"><code>photo</code></em> :</span></p></td>
636
<a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> interface of a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
640
<td><p><span class="term"><em class="parameter"><code>ev_comp</code></em> :</span></p></td>
641
<td>ev compensation value to set
645
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
646
<td> <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if setting the value succeeded, <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
653
<div class="refsect2" title="gst_photography_set_iso_speed ()">
654
<a name="gst-photography-set-iso-speed"></a><h3>gst_photography_set_iso_speed ()</h3>
655
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_photography_set_iso_speed (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
656
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> iso_speed</code></em>);</pre>
658
Set the ISO value (light sensivity) for the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
660
<div class="variablelist"><table border="0">
661
<col align="left" valign="top">
664
<td><p><span class="term"><em class="parameter"><code>photo</code></em> :</span></p></td>
666
<a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> interface of a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
670
<td><p><span class="term"><em class="parameter"><code>iso_speed</code></em> :</span></p></td>
671
<td>ISO speed value to set
675
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
676
<td> <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if setting the value succeeded, <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
683
<div class="refsect2" title="gst_photography_set_aperture ()">
684
<a name="gst-photography-set-aperture"></a><h3>gst_photography_set_aperture ()</h3>
685
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_photography_set_aperture (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
686
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> aperture</code></em>);</pre>
688
Set the aperture value for the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
690
<div class="variablelist"><table border="0">
691
<col align="left" valign="top">
694
<td><p><span class="term"><em class="parameter"><code>photo</code></em> :</span></p></td>
696
<a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> interface of a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
700
<td><p><span class="term"><em class="parameter"><code>aperture</code></em> :</span></p></td>
701
<td>aperture value to set
705
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
706
<td> <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if setting the value succeeded, <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
713
<div class="refsect2" title="gst_photography_set_exposure ()">
714
<a name="gst-photography-set-exposure"></a><h3>gst_photography_set_exposure ()</h3>
715
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_photography_set_exposure (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
716
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> exposure</code></em>);</pre>
718
Set the fixed exposure time (in us) for the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
720
<div class="variablelist"><table border="0">
721
<col align="left" valign="top">
724
<td><p><span class="term"><em class="parameter"><code>photo</code></em> :</span></p></td>
726
<a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> interface of a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
730
<td><p><span class="term"><em class="parameter"><code>exposure</code></em> :</span></p></td>
731
<td>exposure time to set
735
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
736
<td> <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if setting the value succeeded, <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
743
<div class="refsect2" title="gst_photography_set_white_balance_mode ()">
744
<a name="gst-photography-set-white-balance-mode"></a><h3>gst_photography_set_white_balance_mode ()</h3>
745
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_photography_set_white_balance_mode
746
(<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
747
<em class="parameter"><code><a class="link" href="GstPhotography.html#GstWhiteBalanceMode" title="enum GstWhiteBalanceMode"><span class="type">GstWhiteBalanceMode</span></a> wb_mode</code></em>);</pre>
749
Set the white balance mode for the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
751
<div class="variablelist"><table border="0">
752
<col align="left" valign="top">
755
<td><p><span class="term"><em class="parameter"><code>photo</code></em> :</span></p></td>
757
<a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> interface of a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
761
<td><p><span class="term"><em class="parameter"><code>wb_mode</code></em> :</span></p></td>
763
<a class="link" href="GstPhotography.html#GstWhiteBalanceMode" title="enum GstWhiteBalanceMode"><span class="type">GstWhiteBalanceMode</span></a> to set
767
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
768
<td> <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if setting the value succeeded, <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
775
<div class="refsect2" title="gst_photography_set_colour_tone_mode ()">
776
<a name="gst-photography-set-colour-tone-mode"></a><h3>gst_photography_set_colour_tone_mode ()</h3>
777
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_photography_set_colour_tone_mode
778
(<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
779
<em class="parameter"><code><a class="link" href="GstPhotography.html#GstColourToneMode" title="enum GstColourToneMode"><span class="type">GstColourToneMode</span></a> tone_mode</code></em>);</pre>
781
Set the colour tone mode for the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
783
<div class="variablelist"><table border="0">
784
<col align="left" valign="top">
787
<td><p><span class="term"><em class="parameter"><code>photo</code></em> :</span></p></td>
789
<a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> interface of a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
793
<td><p><span class="term"><em class="parameter"><code>tone_mode</code></em> :</span></p></td>
795
<a class="link" href="GstPhotography.html#GstColourToneMode" title="enum GstColourToneMode"><span class="type">GstColourToneMode</span></a> to set
799
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
800
<td> <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if setting the value succeeded, <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
807
<div class="refsect2" title="gst_photography_set_scene_mode ()">
808
<a name="gst-photography-set-scene-mode"></a><h3>gst_photography_set_scene_mode ()</h3>
809
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_photography_set_scene_mode (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
810
<em class="parameter"><code><a class="link" href="GstPhotography.html#GstSceneMode" title="enum GstSceneMode"><span class="type">GstSceneMode</span></a> scene_mode</code></em>);</pre>
812
Set the scene mode for the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
814
<div class="variablelist"><table border="0">
815
<col align="left" valign="top">
818
<td><p><span class="term"><em class="parameter"><code>photo</code></em> :</span></p></td>
820
<a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> interface of a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
824
<td><p><span class="term"><em class="parameter"><code>scene_mode</code></em> :</span></p></td>
826
<a class="link" href="GstPhotography.html#GstSceneMode" title="enum GstSceneMode"><span class="type">GstSceneMode</span></a> to set
830
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
831
<td> <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if setting the value succeeded, <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
838
<div class="refsect2" title="gst_photography_set_flash_mode ()">
839
<a name="gst-photography-set-flash-mode"></a><h3>gst_photography_set_flash_mode ()</h3>
840
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_photography_set_flash_mode (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
841
<em class="parameter"><code><a class="link" href="GstPhotography.html#GstFlashMode" title="enum GstFlashMode"><span class="type">GstFlashMode</span></a> flash_mode</code></em>);</pre>
843
Set the flash mode for the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
845
<div class="variablelist"><table border="0">
846
<col align="left" valign="top">
849
<td><p><span class="term"><em class="parameter"><code>photo</code></em> :</span></p></td>
851
<a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> interface of a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
855
<td><p><span class="term"><em class="parameter"><code>flash_mode</code></em> :</span></p></td>
857
<a class="link" href="GstPhotography.html#GstFlashMode" title="enum GstFlashMode"><span class="type">GstFlashMode</span></a> to set
861
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
862
<td> <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if setting the value succeeded, <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
869
<div class="refsect2" title="gst_photography_set_zoom ()">
870
<a name="gst-photography-set-zoom"></a><h3>gst_photography_set_zoom ()</h3>
871
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_photography_set_zoom (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
872
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> zoom</code></em>);</pre>
874
Set the zoom value for the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>.
875
E.g. 1.0 to get original image and 3.0 for 3x zoom and so on.
877
<div class="variablelist"><table border="0">
878
<col align="left" valign="top">
881
<td><p><span class="term"><em class="parameter"><code>photo</code></em> :</span></p></td>
883
<a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> interface of a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
887
<td><p><span class="term"><em class="parameter"><code>zoom</code></em> :</span></p></td>
888
<td>zoom value to set
892
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
893
<td> <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if setting the value succeeded, <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
900
<div class="refsect2" title="gst_photography_get_capabilities ()">
901
<a name="gst-photography-get-capabilities"></a><h3>gst_photography_get_capabilities ()</h3>
902
<pre class="programlisting"><a class="link" href="GstPhotography.html#GstPhotoCaps" title="enum GstPhotoCaps"><span class="returnvalue">GstPhotoCaps</span></a> gst_photography_get_capabilities (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>);</pre>
904
Get <a class="link" href="GstPhotography.html#GstPhotoCaps" title="enum GstPhotoCaps"><span class="type">GstPhotoCaps</span></a> bitmask value that indicates what photography
905
interface features the <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a> supports
907
<div class="variablelist"><table border="0">
908
<col align="left" valign="top">
911
<td><p><span class="term"><em class="parameter"><code>photo</code></em> :</span></p></td>
913
<a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> interface of a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
917
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
918
<td> <a class="link" href="GstPhotography.html#GstPhotoCaps" title="enum GstPhotoCaps"><span class="type">GstPhotoCaps</span></a> value
925
<div class="refsect2" title="gst_photography_prepare_for_capture ()">
926
<a name="gst-photography-prepare-for-capture"></a><h3>gst_photography_prepare_for_capture ()</h3>
927
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_photography_prepare_for_capture (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
928
<em class="parameter"><code><a class="link" href="GstPhotography.html#GstPhotoCapturePrepared" title="GstPhotoCapturePrepared ()"><span class="type">GstPhotoCapturePrepared</span></a> func</code></em>,
929
<em class="parameter"><code><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a> *capture_caps</code></em>,
930
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
932
Start preparations for capture. <em class="parameter"><code>func</code></em> callback is called after
933
preparations are done.
935
<div class="variablelist"><table border="0">
936
<col align="left" valign="top">
939
<td><p><span class="term"><em class="parameter"><code>photo</code></em> :</span></p></td>
941
<a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> interface of a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
945
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
946
<td>callback that is called after capturing has been prepared
950
<td><p><span class="term"><em class="parameter"><code>capture_caps</code></em> :</span></p></td>
955
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
956
<td>user data that will be passed to the callback <em class="parameter"><code>func</code></em>
960
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
961
<td> TRUE if preparations were started (caps were OK), otherwise FALSE.
968
<div class="refsect2" title="gst_photography_set_autofocus ()">
969
<a name="gst-photography-set-autofocus"></a><h3>gst_photography_set_autofocus ()</h3>
970
<pre class="programlisting"><span class="returnvalue">void</span> gst_photography_set_autofocus (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
971
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> on</code></em>);</pre>
973
Start or stop autofocusing. <code class="literal">GST_PHOTOGRAPHY_AUTOFOCUS_DONE</code>
974
message is posted to bus when autofocusing has finished.
976
<div class="variablelist"><table border="0">
977
<col align="left" valign="top">
980
<td><p><span class="term"><em class="parameter"><code>photo</code></em> :</span></p></td>
982
<a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> interface of a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
986
<td><p><span class="term"><em class="parameter"><code>on</code></em> :</span></p></td>
988
<a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to start autofocusing, <a href="http://library.gnome.org/devel/glib/stable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to stop autofocusing
995
<div class="refsect2" title="gst_photography_set_config ()">
996
<a name="gst-photography-set-config"></a><h3>gst_photography_set_config ()</h3>
997
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_photography_set_config (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
998
<em class="parameter"><code><span class="type">GstPhotoSettings</span> *config</code></em>);</pre>
1000
Set all configuration settings at once.
1002
<div class="variablelist"><table border="0">
1003
<col align="left" valign="top">
1006
<td><p><span class="term"><em class="parameter"><code>photo</code></em> :</span></p></td>
1008
<a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> interface of a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
1012
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
1014
<span class="type">GstPhotoSettings</span> containg the configuration
1018
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1019
<td> TRUE if configuration was set successfully, otherwise FALSE.
1026
<div class="refsect2" title="gst_photography_get_config ()">
1027
<a name="gst-photography-get-config"></a><h3>gst_photography_get_config ()</h3>
1028
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gst_photography_get_config (<em class="parameter"><code><a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> *photo</code></em>,
1029
<em class="parameter"><code><span class="type">GstPhotoSettings</span> *config</code></em>);</pre>
1031
Get all configuration settings at once.
1033
<div class="variablelist"><table border="0">
1034
<col align="left" valign="top">
1037
<td><p><span class="term"><em class="parameter"><code>photo</code></em> :</span></p></td>
1039
<a class="link" href="GstPhotography.html" title="GstPhotography"><span class="type">GstPhotography</span></a> interface of a <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html"><span class="type">GstElement</span></a>
1043
<td><p><span class="term"><em class="parameter"><code>config</code></em> :</span></p></td>
1045
<span class="type">GstPhotoSettings</span> containg the configuration
1049
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1050
<td> TRUE if configuration was got successfully, otherwise FALSE.
1057
<div class="refsect1" title="Property Details">
1058
<a name="GstPhotography.property-details"></a><h2>Property Details</h2>
1059
<div class="refsect2" title='The "aperture" property'>
1060
<a name="GstPhotography--aperture"></a><h3>The <code class="literal">"aperture"</code> property</h3>
1061
<pre class="programlisting"> "aperture" <a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write</pre>
1062
<p>Aperture defines the size of lens opening (0 = auto).</p>
1063
<p>Allowed values: <= 255</p>
1064
<p>Default value: 0</p>
1067
<div class="refsect2" title='The "capabilities" property'>
1068
<a name="GstPhotography--capabilities"></a><h3>The <code class="literal">"capabilities"</code> property</h3>
1069
<pre class="programlisting"> "capabilities" <a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gulong"><span class="type">gulong</span></a> : Read</pre>
1070
<p>Tells the photo capabilities of the device.</p>
1073
<div class="refsect2" title='The "colour-tone-mode" property'>
1074
<a name="GstPhotography--colour-tone-mode"></a><h3>The <code class="literal">"colour-tone-mode"</code> property</h3>
1075
<pre class="programlisting"> "colour-tone-mode" <a class="link" href="GstPhotography.html#GstColourToneMode" title="enum GstColourToneMode"><span class="type">GstColourToneMode</span></a> : Read / Write</pre>
1076
<p>Colour tone setting changes colour shading in the photo.</p>
1077
<p>Default value: GST_PHOTOGRAPHY_COLOUR_TONE_MODE_NORMAL</p>
1080
<div class="refsect2" title='The "ev-compensation" property'>
1081
<a name="GstPhotography--ev-compensation"></a><h3>The <code class="literal">"ev-compensation"</code> property</h3>
1082
<pre class="programlisting"> "ev-compensation" <a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> : Read / Write</pre>
1083
<p>EV compensation affects the brightness of the image.</p>
1084
<p>Allowed values: [-2.5,2.5]</p>
1085
<p>Default value: 0</p>
1088
<div class="refsect2" title='The "exposure" property'>
1089
<a name="GstPhotography--exposure"></a><h3>The <code class="literal">"exposure"</code> property</h3>
1090
<pre class="programlisting"> "exposure" <a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write</pre>
1091
<p>Exposure time defines how long the shutter will stay open (0 = auto).</p>
1092
<p>Default value: 0</p>
1095
<div class="refsect2" title='The "flash-mode" property'>
1096
<a name="GstPhotography--flash-mode"></a><h3>The <code class="literal">"flash-mode"</code> property</h3>
1097
<pre class="programlisting"> "flash-mode" <a class="link" href="GstPhotography.html#GstFlashMode" title="enum GstFlashMode"><span class="type">GstFlashMode</span></a> : Read / Write</pre>
1098
<p>Flash mode defines how the flash light should be used.</p>
1099
<p>Default value: GST_PHOTOGRAPHY_FLASH_MODE_AUTO</p>
1102
<div class="refsect2" title='The "flicker-mode" property'>
1103
<a name="GstPhotography--flicker-mode"></a><h3>The <code class="literal">"flicker-mode"</code> property</h3>
1104
<pre class="programlisting"> "flicker-mode" <a class="link" href="GstPhotography.html#GstFlickerReductionMode" title="enum GstFlickerReductionMode"><span class="type">GstFlickerReductionMode</span></a> : Read / Write</pre>
1105
<p>Flicker reduction mode defines a line frequency for flickering prevention.</p>
1106
<p>Default value: GST_PHOTOGRAPHY_FLICKER_REDUCTION_OFF</p>
1109
<div class="refsect2" title='The "focus-mode" property'>
1110
<a name="GstPhotography--focus-mode"></a><h3>The <code class="literal">"focus-mode"</code> property</h3>
1111
<pre class="programlisting"> "focus-mode" <a class="link" href="GstPhotography.html#GstFocusMode" title="enum GstFocusMode"><span class="type">GstFocusMode</span></a> : Read / Write</pre>
1112
<p>Focus mode defines the range of focal lengths to use in autofocus search.</p>
1113
<p>Default value: GST_PHOTOGRAPHY_FOCUS_MODE_AUTO</p>
1116
<div class="refsect2" title='The "image-capture-supported-caps" property'>
1117
<a name="GstPhotography--image-capture-supported-caps"></a><h3>The <code class="literal">"image-capture-supported-caps"</code> property</h3>
1118
<pre class="programlisting"> "image-capture-supported-caps" <a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstCaps.html#GstCaps"><span class="type">GstCaps</span></a>* : Read</pre>
1119
<p>Caps describing supported image capture formats.</p>
1122
<div class="refsect2" title='The "iso-speed" property'>
1123
<a name="GstPhotography--iso-speed"></a><h3>The <code class="literal">"iso-speed"</code> property</h3>
1124
<pre class="programlisting"> "iso-speed" <a href="http://library.gnome.org/devel/glib/stable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read / Write</pre>
1125
<p>ISO speed defines the light sensitivity (0 = auto).</p>
1126
<p>Allowed values: <= 6400</p>
1127
<p>Default value: 0</p>
1130
<div class="refsect2" title='The "scene-mode" property'>
1131
<a name="GstPhotography--scene-mode"></a><h3>The <code class="literal">"scene-mode"</code> property</h3>
1132
<pre class="programlisting"> "scene-mode" <a class="link" href="GstPhotography.html#GstSceneMode" title="enum GstSceneMode"><span class="type">GstSceneMode</span></a> : Read / Write</pre>
1133
<p>Scene mode works as a preset for different photo shooting mode settings.</p>
1134
<p>Default value: GST_PHOTOGRAPHY_SCENE_MODE_AUTO</p>
1137
<div class="refsect2" title='The "white-balance-mode" property'>
1138
<a name="GstPhotography--white-balance-mode"></a><h3>The <code class="literal">"white-balance-mode"</code> property</h3>
1139
<pre class="programlisting"> "white-balance-mode" <a class="link" href="GstPhotography.html#GstWhiteBalanceMode" title="enum GstWhiteBalanceMode"><span class="type">GstWhiteBalanceMode</span></a> : Read / Write</pre>
1140
<p>White balance affects the color temperature of the photo.</p>
1141
<p>Default value: GST_PHOTOGRAPHY_WB_MODE_AUTO</p>
1145
<div class="footer">
1147
Generated by GTK-Doc V1.15</div>
b'\\ No newline at end of file'