gst_plugins_base/gst-libs/gst/interfaces/colorbalance.c
branchRCL_3
changeset 30 7e817e7e631c
parent 29 567bb019e3e3
--- a/gst_plugins_base/gst-libs/gst/interfaces/colorbalance.c	Tue Aug 31 15:30:33 2010 +0300
+++ b/gst_plugins_base/gst-libs/gst/interfaces/colorbalance.c	Wed Sep 01 12:16:41 2010 +0100
@@ -30,15 +30,6 @@
 /**
  * SECTION:gstcolorbalance
  * @short_description: Interface for adjusting color balance settings
- *
- * <refsect2><para>
- * This interface is implemented by elements which can perform some color
- * balance operation on video frames they process. For example, modifying
- * the brightness, contrast, hue or saturation.
- * </para><para>
- * Example elements are 'xvimagesink' and 'colorbalance'
- * </para>
- * </refsect2>
  */
 
 enum
@@ -88,14 +79,6 @@
   static gboolean initialized = FALSE;
 
   if (!initialized) {
-    /**
-     * GstColorBalance::value-changed:
-     * @colorbalance: The GstColorBalance instance
-     * @channel: The #GstColorBalanceChannel
-     * @value: The new value
-     *
-     * Fired when the value of the indicated channel has changed.
-     */
     gst_color_balance_signals[VALUE_CHANGED] =
         g_signal_new ("value-changed",
         GST_TYPE_COLOR_BALANCE, G_SIGNAL_RUN_LAST,
@@ -114,21 +97,11 @@
   klass->set_value = NULL;
   klass->get_value = NULL;
 }
-
-/**
- * gst_color_balance_list_channels:
- * @balance: A #GstColorBalance instance
- * 
- * Retrieve a list of the available channels.
- *
- * Returns: A GList containing pointers to #GstColorBalanceChannel objects.
- *          The list is owned by the #GstColorBalance instance and must not
- *          be freed.
- */
 #ifdef __SYMBIAN32__
 EXPORT_C
 #endif
 
+
 const GList *
 gst_color_balance_list_channels (GstColorBalance * balance)
 {
@@ -140,24 +113,11 @@
 
   return NULL;
 }
-
-/**
- * gst_color_balance_set_value:
- * @balance: A #GstColorBalance instance
- * @channel: A #GstColorBalanceChannel instance
- * @value: The new value for the channel.
- *
- * Sets the current value of the channel to the passed value, which must
- * be between min_value and max_value.
- * 
- * See Also: The #GstColorBalanceChannel::min_value and
- *         #GstColorBalanceChannel::max_value members of the
- *         #GstColorBalanceChannel object.
- */
 #ifdef __SYMBIAN32__
 EXPORT_C
 #endif
 
+
 void
 gst_color_balance_set_value (GstColorBalance * balance,
     GstColorBalanceChannel * channel, gint value)
@@ -168,25 +128,11 @@
     klass->set_value (balance, channel, value);
   }
 }
-
-/**
- * gst_color_balance_get_value:
- * @balance: A #GstColorBalance instance
- * @channel: A #GstColorBalanceChannel instance
- *
- * Retrieve the current value of the indicated channel, between min_value
- * and max_value.
- * 
- * See Also: The #GstColorBalanceChannel::min_value and
- *         #GstColorBalanceChannel::max_value members of the
- *         #GstColorBalanceChannel object.
- * 
- * Returns: The current value of the channel.
- */
 #ifdef __SYMBIAN32__
 EXPORT_C
 #endif
 
+
 gint
 gst_color_balance_get_value (GstColorBalance * balance,
     GstColorBalanceChannel * channel)
@@ -199,44 +145,10 @@
 
   return channel->min_value;
 }
-
-/**
- * gst_color_balance_get_balance_type:
- * @balance: The #GstColorBalance implementation
- *
- * Get the #GstColorBalanceType of this implementation.
- *
- * Returns: A the #GstColorBalanceType.
- *
- * Since: 0.10.24
- */
- 
- #ifdef __SYMBIAN32__
+#ifdef __SYMBIAN32__
 EXPORT_C
 #endif
 
-GstColorBalanceType
-gst_color_balance_get_balance_type (GstColorBalance * balance)
-{
-  GstColorBalanceClass *klass = GST_COLOR_BALANCE_GET_CLASS (balance);
-
-  return klass->balance_type;
-}
-
-/**
- * gst_color_balance_value_changed:
- * @balance: A #GstColorBalance instance
- * @channel: A #GstColorBalanceChannel whose value has changed
- * @value: The new value of the channel
- *
- * A helper function called by implementations of the GstColorBalance
- * interface. It fires the #GstColorBalance::value-changed signal on the
- * instance, and the #GstColorBalanceChannel::value-changed signal on the
- * channel object.
- */
-#ifdef __SYMBIAN32__
-EXPORT_C
-#endif
 
 void
 gst_color_balance_value_changed (GstColorBalance * balance,