1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 5<title>GstColorBalanceChannel: GStreamer Base Plugins 1.0 Library Reference Manual</title> 6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1"> 7<link rel="home" href="index.html" title="GStreamer Base Plugins 1.0 Library Reference Manual"> 8<link rel="up" href="gstreamer-video.html" title="Video Library"> 9<link rel="prev" href="GstColorBalance.html" title="GstColorBalance"> 10<link rel="next" href="GstVideoDirection.html" title="GstVideoDirection"> 11<meta name="generator" content="GTK-Doc V1.28 (XML mode)"> 12<link rel="stylesheet" href="style.css" type="text/css"> 13</head> 14<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> 15<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle"> 16<td width="100%" align="left" class="shortcuts"> 17<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> 18 <a href="#GstColorBalanceChannel.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 19 <a href="#GstColorBalanceChannel.object-hierarchy" class="shortcut">Object Hierarchy</a></span><span id="nav_signals"> <span class="dim">|</span> 20 <a href="#GstColorBalanceChannel.signals" class="shortcut">Signals</a></span> 21</td> 22<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td> 23<td><a accesskey="u" href="gstreamer-video.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td> 24<td><a accesskey="p" href="GstColorBalance.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td> 25<td><a accesskey="n" href="GstVideoDirection.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td> 26</tr></table> 27<div class="refentry"> 28<a name="GstColorBalanceChannel"></a><div class="titlepage"></div> 29<div class="refnamediv"><table width="100%"><tr> 30<td valign="top"> 31<h2><span class="refentrytitle"><a name="GstColorBalanceChannel.top_of_page"></a>GstColorBalanceChannel</span></h2> 32<p>GstColorBalanceChannel — Object representing a channel from the <a class="link" href="GstColorBalance.html" title="GstColorBalance"><span class="type">GstColorBalance</span></a> 33 interface.</p> 34</td> 35<td class="gallery_image" valign="top" align="right"></td> 36</tr></table></div> 37<div class="refsect1"> 38<a name="GstColorBalanceChannel.signals"></a><h2>Signals</h2> 39<div class="informaltable"><table class="informaltable" border="0"> 40<colgroup> 41<col width="150px" class="signals_return"> 42<col width="300px" class="signals_name"> 43<col width="200px" class="signals_flags"> 44</colgroup> 45<tbody><tr> 46<td class="signal_type"><span class="returnvalue">void</span></td> 47<td class="signal_name"><a class="link" href="GstColorBalanceChannel.html#GstColorBalanceChannel-value-changed" title="The “value-changed” signal">value-changed</a></td> 48<td class="signal_flags"><a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></td> 49</tr></tbody> 50</table></div> 51</div> 52<div class="refsect1"> 53<a name="GstColorBalanceChannel.other"></a><h2>Types and Values</h2> 54<div class="informaltable"><table class="informaltable" width="100%" border="0"> 55<colgroup> 56<col width="150px" class="name"> 57<col class="description"> 58</colgroup> 59<tbody> 60<tr> 61<td class="datatype_keyword">struct</td> 62<td class="function_name"><a class="link" href="GstColorBalanceChannel.html#GstColorBalanceChannel-struct" title="struct GstColorBalanceChannel">GstColorBalanceChannel</a></td> 63</tr> 64<tr> 65<td class="datatype_keyword">struct</td> 66<td class="function_name"><a class="link" href="GstColorBalanceChannel.html#GstColorBalanceChannelClass" title="struct GstColorBalanceChannelClass">GstColorBalanceChannelClass</a></td> 67</tr> 68</tbody> 69</table></div> 70</div> 71<div class="refsect1"> 72<a name="GstColorBalanceChannel.object-hierarchy"></a><h2>Object Hierarchy</h2> 73<pre class="screen"> <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a> 74 <span class="lineart">╰──</span> GstColorBalanceChannel 75</pre> 76</div> 77<div class="refsect1"> 78<a name="GstColorBalanceChannel.includes"></a><h2>Includes</h2> 79<pre class="synopsis">#include <gst/video/video.h> 80</pre> 81</div> 82<div class="refsect1"> 83<a name="GstColorBalanceChannel.description"></a><h2>Description</h2> 84<p>The <a class="link" href="GstColorBalanceChannel.html" title="GstColorBalanceChannel"><span class="type">GstColorBalanceChannel</span></a> object represents a parameter 85for modifying the color balance implemented by an element providing the 86<a class="link" href="GstColorBalance.html" title="GstColorBalance"><span class="type">GstColorBalance</span></a> interface. For example, Hue or Saturation.</p> 87</div> 88<div class="refsect1"> 89<a name="GstColorBalanceChannel.functions_details"></a><h2>Functions</h2> 90<p></p> 91</div> 92<div class="refsect1"> 93<a name="GstColorBalanceChannel.other_details"></a><h2>Types and Values</h2> 94<div class="refsect2"> 95<a name="GstColorBalanceChannel-struct"></a><h3>struct GstColorBalanceChannel</h3> 96<pre class="programlisting">struct GstColorBalanceChannel { 97 gchar *label; 98 gint min_value; 99 gint max_value; 100}; 101</pre> 102<div class="refsect3"> 103<a name="GstColorBalanceChannel.members"></a><h4>Members</h4> 104<div class="informaltable"><table class="informaltable" width="100%" border="0"> 105<colgroup> 106<col width="300px" class="struct_members_name"> 107<col class="struct_members_description"> 108<col width="200px" class="struct_members_annotations"> 109</colgroup> 110<tbody> 111<tr> 112<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstColorBalanceChannel-struct.label"></a>label</code></em>;</p></td> 113<td class="struct_member_description"><p>A string containing a descriptive name for this channel</p></td> 114<td class="struct_member_annotations"> </td> 115</tr> 116<tr> 117<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GstColorBalanceChannel-struct.min-value"></a>min_value</code></em>;</p></td> 118<td class="struct_member_description"><p>The minimum valid value for this channel.</p></td> 119<td class="struct_member_annotations"> </td> 120</tr> 121<tr> 122<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GstColorBalanceChannel-struct.max-value"></a>max_value</code></em>;</p></td> 123<td class="struct_member_description"><p>The maximum valid value for this channel.</p></td> 124<td class="struct_member_annotations"> </td> 125</tr> 126</tbody> 127</table></div> 128</div> 129</div> 130<hr> 131<div class="refsect2"> 132<a name="GstColorBalanceChannelClass"></a><h3>struct GstColorBalanceChannelClass</h3> 133<pre class="programlisting">struct GstColorBalanceChannelClass { 134 GObjectClass parent; 135 136 /* signals */ 137 void (* value_changed) (GstColorBalanceChannel *channel, 138 gint value); 139}; 140</pre> 141<p>Color-balance channel class.</p> 142<div class="refsect3"> 143<a name="GstColorBalanceChannelClass.members"></a><h4>Members</h4> 144<div class="informaltable"><table class="informaltable" width="100%" border="0"> 145<colgroup> 146<col width="300px" class="struct_members_name"> 147<col class="struct_members_description"> 148<col width="200px" class="struct_members_annotations"> 149</colgroup> 150<tbody> 151<tr> 152<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObjectClass"><span class="type">GObjectClass</span></a> <em class="structfield"><code><a name="GstColorBalanceChannelClass.parent"></a>parent</code></em>;</p></td> 153<td class="struct_member_description"><p>the parent class</p></td> 154<td class="struct_member_annotations"> </td> 155</tr> 156<tr> 157<td class="struct_member_name"><p><em class="structfield"><code><a name="GstColorBalanceChannelClass.value-changed"></a>value_changed</code></em> ()</p></td> 158<td class="struct_member_description"><p>default handler for value changed notification</p></td> 159<td class="struct_member_annotations"> </td> 160</tr> 161</tbody> 162</table></div> 163</div> 164</div> 165</div> 166<div class="refsect1"> 167<a name="GstColorBalanceChannel.signal-details"></a><h2>Signal Details</h2> 168<div class="refsect2"> 169<a name="GstColorBalanceChannel-value-changed"></a><h3>The <code class="literal">“value-changed”</code> signal</h3> 170<pre class="programlisting"><span class="returnvalue">void</span> 171user_function (<a class="link" href="GstColorBalanceChannel.html" title="GstColorBalanceChannel"><span class="type">GstColorBalanceChannel</span></a> *channel, 172 <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> value, 173 <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre> 174<p>Fired when the value of the indicated channel has changed.</p> 175<div class="refsect3"> 176<a name="GstColorBalanceChannel-value-changed.parameters"></a><h4>Parameters</h4> 177<div class="informaltable"><table class="informaltable" width="100%" border="0"> 178<colgroup> 179<col width="150px" class="parameters_name"> 180<col class="parameters_description"> 181<col width="200px" class="parameters_annotations"> 182</colgroup> 183<tbody> 184<tr> 185<td class="parameter_name"><p>channel</p></td> 186<td class="parameter_description"><p>The <a class="link" href="GstColorBalanceChannel.html" title="GstColorBalanceChannel"><span class="type">GstColorBalanceChannel</span></a></p></td> 187<td class="parameter_annotations"> </td> 188</tr> 189<tr> 190<td class="parameter_name"><p>value</p></td> 191<td class="parameter_description"><p>The new value</p></td> 192<td class="parameter_annotations"> </td> 193</tr> 194<tr> 195<td class="parameter_name"><p>user_data</p></td> 196<td class="parameter_description"><p>user data set when the signal handler was connected.</p></td> 197<td class="parameter_annotations"> </td> 198</tr> 199</tbody> 200</table></div> 201</div> 202<p>Flags: <a href="/usr/share/gtk-doc/html/gobject/gobject-Signals.html#G-SIGNAL-RUN-LAST:CAPS">Run Last</a></p> 203</div> 204</div> 205</div> 206<div class="footer"> 207<hr>Generated by GTK-Doc V1.28</div> 208</body> 209</html>