Document vaapiconvert & vaapisink plugins.
authorgb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
Tue, 23 Mar 2010 15:22:47 +0000 (15:22 +0000)
committergb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
Tue, 23 Mar 2010 15:22:47 +0000 (15:22 +0000)
sys/vaapiconvert/gstvaapiconvert.c
sys/vaapisink/gstvaapisink.c

index c61660b..e579eb3 100644 (file)
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
  */
 
+/**
+ * SECTION:gstvaapiconvert
+ * @short_description: A VA-API based video pixels format converter
+ *
+ * vaapiconvert converts from raw YUV pixels to surfaces suitable for
+ * the vaapisink element.
+ */
+
 #include "config.h"
 #include <gst/gst.h>
 #include <gst/video/video.h>
@@ -231,6 +239,25 @@ gst_vaapiconvert_class_init(GstVaapiConvertClass *klass)
     trans_class->get_unit_size  = gst_vaapiconvert_get_unit_size;
     trans_class->prepare_output_buffer = gst_vaapiconvert_prepare_output_buffer;
 
+    /**
+     * GstVaapiConvert:direct-rendering:
+     *
+     * Selects the direct rendering level.
+     * <orderedlist>
+     * <listitem override="0">
+     *   Disables direct rendering.
+     * </listitem>
+     * <listitem>
+     *   Enables direct rendering to the output buffer. i.e. this
+     *   tries to use a single buffer for both sink and src pads.
+     * </listitem>
+     * <listitem>
+     *   Enables direct rendering to the underlying surface. i.e. with
+     *   drivers supporting vaDeriveImage(), the output surface pixels
+     *   will be modified directly.
+     * </listitem>
+     * </orderedlist>
+     */
     g_object_class_install_property
         (object_class,
          PROP_DIRECT_RENDERING,
index a4bd7e7..ed8e407 100644 (file)
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
  */
 
+/**
+ * SECTION:gstvaapisink
+ * @short_description: A VA-API based videosink
+ *
+ * vaapisink renders video frames to a drawable (X #Window) on a local
+ * display using the Video Acceleration (VA) API. The element will
+ * create its own internal window and render into it.
+ */
+
 #include "config.h"
 #include <gst/gst.h>
 #include <gst/video/video.h>