summaryrefslogtreecommitdiff
path: root/gst-libs/gst/vaapi/gstvaapiimagepool.c
diff options
context:
space:
mode:
authorgb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>2010-03-19 16:08:48 +0000
committergb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>2010-03-19 16:08:48 +0000
commitdabb75745850f83aca9ca84750ccd4ef61ed7053 (patch)
treee8e5a18457bd86dc88de8c39dec1d5fea09183e4 /gst-libs/gst/vaapi/gstvaapiimagepool.c
parentd63f196c731fc095d86066ee1c87b8dd3d3d3860 (diff)
Document surface & image pools. Drop obsolete gst_vaapi_video_pool_new() function.
Diffstat (limited to 'gst-libs/gst/vaapi/gstvaapiimagepool.c')
-rw-r--r--gst-libs/gst/vaapi/gstvaapiimagepool.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiimagepool.c b/gst-libs/gst/vaapi/gstvaapiimagepool.c
index 8a6a27c9..435140be 100644
--- a/gst-libs/gst/vaapi/gstvaapiimagepool.c
+++ b/gst-libs/gst/vaapi/gstvaapiimagepool.c
@@ -18,6 +18,11 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
+/**
+ * SECTION:gst-vaapi-image-pool
+ * @short_description:
+ */
+
#include "config.h"
#include "gstvaapiimagepool.h"
@@ -101,6 +106,16 @@ gst_vaapi_image_pool_init(GstVaapiImagePool *pool)
priv->height = 0;
}
+/**
+ * gst_vaapi_image_pool_new:
+ * @display: a #GstVaapiDisplay
+ * @caps: a #GstCaps
+ *
+ * Creates a new #GstVaapiVideoPool of #GstVaapiImage with the
+ * specified dimensions in @caps.
+ *
+ * Return value: the newly allocated #GstVaapiVideoPool
+ */
GstVaapiVideoPool *
gst_vaapi_image_pool_new(GstVaapiDisplay *display, GstCaps *caps)
{