Commit 2e6ff64a authored by Gwenole Beauchesne's avatar Gwenole Beauchesne

libs: use GstVaapiMiniObject for video object pools.

Port GstVaapiVideoPool, GstVaapiSurfacePool and GstVaapiImagePool to
GstVaapiMiniObject. Drop gst_vaapi_video_pool_get_caps() since it was
no longer used for a long time. Make object allocators static, i.e.
local to the shared library.
parent 98c70689
......@@ -20,7 +20,6 @@ GST_VAAPI_SURFACE_POOL_GET_CLASS
GstVaapiVideoPool
GstVaapiVideoPoolClass
gst_vaapi_video_pool_get_display
gst_vaapi_video_pool_get_caps
gst_vaapi_video_pool_get_object
gst_vaapi_video_pool_put_object
gst_vaapi_video_pool_add_object
......
......@@ -117,6 +117,7 @@ libgstvaapi_source_priv_h = \
gstvaapisurfaceproxy_priv.h \
gstvaapiutils.h \
gstvaapiversion.h \
gstvaapivideopool_priv.h \
gstvaapiwindow_priv.h \
gstvaapiworkarounds.h \
sysdeps.h \
......
......@@ -34,6 +34,7 @@
#include "gstvaapisurface_priv.h"
#include "gstvaapisurfacepool.h"
#include "gstvaapisurfaceproxy.h"
#include "gstvaapivideopool_priv.h"
#include "gstvaapiimage.h"
#include "gstvaapisubpicture.h"
#include "gstvaapiutils.h"
......@@ -414,7 +415,7 @@ gst_vaapi_context_destroy_surfaces(GstVaapiContext *context)
g_ptr_array_free(context->surfaces, TRUE);
context->surfaces = NULL;
}
g_clear_object(&context->surfaces_pool);
gst_vaapi_video_pool_replace(&context->surfaces_pool, NULL);
}
static void
......
......@@ -27,30 +27,29 @@
#include "sysdeps.h"
#include "gstvaapiimagepool.h"
#include "gstvaapivideopool_priv.h"
#define DEBUG 1
#include "gstvaapidebug.h"
G_DEFINE_TYPE(
GstVaapiImagePool,
gst_vaapi_image_pool,
GST_VAAPI_TYPE_VIDEO_POOL)
#define GST_VAAPI_IMAGE_POOL_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE((obj), \
GST_VAAPI_TYPE_IMAGE_POOL, \
GstVaapiImagePoolPrivate))
/**
* GstVaapiImagePool:
*
* A pool of lazily allocated #GstVaapiImage objects.
*/
struct _GstVaapiImagePool {
/*< private >*/
GstVaapiVideoPool parent_instance;
struct _GstVaapiImagePoolPrivate {
GstVaapiImageFormat format;
guint width;
guint height;
};
static void
gst_vaapi_image_pool_set_caps(GstVaapiVideoPool *pool, GstCaps *caps)
static gboolean
gst_vaapi_image_pool_set_caps(GstVaapiVideoPool *base_pool, GstCaps *caps)
{
GstVaapiImagePoolPrivate * const priv = GST_VAAPI_IMAGE_POOL(pool)->priv;
GstVaapiImagePool * const pool = GST_VAAPI_IMAGE_POOL(base_pool);
GstStructure *structure;
gint width, height;
......@@ -58,54 +57,31 @@ gst_vaapi_image_pool_set_caps(GstVaapiVideoPool *pool, GstCaps *caps)
gst_structure_get_int(structure, "width", &width);
gst_structure_get_int(structure, "height", &height);
priv->format = gst_vaapi_image_format_from_caps(caps);
priv->width = width;
priv->height = height;
pool->format = gst_vaapi_image_format_from_caps(caps);
pool->width = width;
pool->height = height;
return TRUE;
}
gpointer
gst_vaapi_image_pool_alloc_object(
GstVaapiVideoPool *pool,
GstVaapiDisplay *display
)
static gpointer
gst_vaapi_image_pool_alloc_object(GstVaapiVideoPool *base_pool)
{
GstVaapiImagePoolPrivate * const priv = GST_VAAPI_IMAGE_POOL(pool)->priv;
GstVaapiImagePool * const pool = GST_VAAPI_IMAGE_POOL(base_pool);
return gst_vaapi_image_new(display,
priv->format,
priv->width,
priv->height);
return gst_vaapi_image_new(base_pool->display, pool->format,
pool->width, pool->height);
}
static void
gst_vaapi_image_pool_finalize(GObject *object)
static inline const GstVaapiMiniObjectClass *
gst_vaapi_image_pool_class(void)
{
G_OBJECT_CLASS(gst_vaapi_image_pool_parent_class)->finalize(object);
}
static void
gst_vaapi_image_pool_class_init(GstVaapiImagePoolClass *klass)
{
GObjectClass * const object_class = G_OBJECT_CLASS(klass);
GstVaapiVideoPoolClass * const pool_class = GST_VAAPI_VIDEO_POOL_CLASS(klass);
g_type_class_add_private(klass, sizeof(GstVaapiImagePoolPrivate));
object_class->finalize = gst_vaapi_image_pool_finalize;
static const GstVaapiVideoPoolClass GstVaapiImagePoolClass = {
{ sizeof(GstVaapiImagePool),
(GDestroyNotify)gst_vaapi_video_pool_finalize },
pool_class->set_caps = gst_vaapi_image_pool_set_caps;
pool_class->alloc_object = gst_vaapi_image_pool_alloc_object;
}
static void
gst_vaapi_image_pool_init(GstVaapiImagePool *pool)
{
GstVaapiImagePoolPrivate *priv = GST_VAAPI_IMAGE_POOL_GET_PRIVATE(pool);
pool->priv = priv;
priv->format = 0;
priv->width = 0;
priv->height = 0;
.alloc_object = gst_vaapi_image_pool_alloc_object
};
return GST_VAAPI_MINI_OBJECT_CLASS(&GstVaapiImagePoolClass);
}
/**
......@@ -121,8 +97,22 @@ gst_vaapi_image_pool_init(GstVaapiImagePool *pool)
GstVaapiVideoPool *
gst_vaapi_image_pool_new(GstVaapiDisplay *display, GstCaps *caps)
{
return g_object_new(GST_VAAPI_TYPE_IMAGE_POOL,
"display", display,
"caps", caps,
NULL);
GstVaapiVideoPool *pool;
g_return_val_if_fail(GST_VAAPI_IS_DISPLAY(display), NULL);
g_return_val_if_fail(GST_IS_CAPS(caps), NULL);
pool = (GstVaapiVideoPool *)
gst_vaapi_mini_object_new(gst_vaapi_image_pool_class());
if (!pool)
return NULL;
gst_vaapi_video_pool_init(pool, display);
if (!gst_vaapi_image_pool_set_caps(pool, caps))
goto error;
return pool;
error:
gst_vaapi_mini_object_unref(GST_VAAPI_MINI_OBJECT(pool));
return NULL;
}
......@@ -28,58 +28,13 @@
G_BEGIN_DECLS
#define GST_VAAPI_TYPE_IMAGE_POOL \
(gst_vaapi_image_pool_get_type())
#define GST_VAAPI_IMAGE_POOL(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj), \
GST_VAAPI_TYPE_IMAGE_POOL, \
GstVaapiImagePool))
#define GST_VAAPI_IMAGE_POOL_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST((klass), \
GST_VAAPI_TYPE_IMAGE_POOL, \
GstVaapiImagePoolClass))
#define GST_VAAPI_IMAGE_POOL(obj) \
((GstVaapiImagePool *)(obj))
#define GST_VAAPI_IS_IMAGE_POOL(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj), GST_VAAPI_TYPE_IMAGE_POOL))
#define GST_VAAPI_IS_IMAGE_POOL_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE((klass), GST_VAAPI_TYPE_IMAGE_POOL))
#define GST_VAAPI_IMAGE_POOL_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS((obj), \
GST_VAAPI_TYPE_IMAGE_POOL, \
GstVaapiImagePoolClass))
((obj) != NULL)
typedef struct _GstVaapiImagePool GstVaapiImagePool;
typedef struct _GstVaapiImagePoolPrivate GstVaapiImagePoolPrivate;
typedef struct _GstVaapiImagePoolClass GstVaapiImagePoolClass;
/**
* GstVaapiImagePool:
*
* A pool of lazily allocated #GstVaapiImage objects.
*/
struct _GstVaapiImagePool {
/*< private >*/
GstVaapiVideoPool parent_instance;
GstVaapiImagePoolPrivate *priv;
};
/**
* GstVaapiImagePoolClass:
*
* A pool of lazily allocated #GstVaapiImage objects.
*/
struct _GstVaapiImagePoolClass {
/*< private >*/
GstVaapiVideoPoolClass parent_class;
};
GType
gst_vaapi_image_pool_get_type(void) G_GNUC_CONST;
GstVaapiVideoPool *
gst_vaapi_image_pool_new(GstVaapiDisplay *display, GstCaps *caps);
......
......@@ -27,30 +27,29 @@
#include "sysdeps.h"
#include "gstvaapisurfacepool.h"
#include "gstvaapivideopool_priv.h"
#define DEBUG 1
#include "gstvaapidebug.h"
G_DEFINE_TYPE(
GstVaapiSurfacePool,
gst_vaapi_surface_pool,
GST_VAAPI_TYPE_VIDEO_POOL)
#define GST_VAAPI_SURFACE_POOL_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE((obj), \
GST_VAAPI_TYPE_SURFACE_POOL, \
GstVaapiSurfacePoolPrivate))
/**
* GstVaapiSurfacePool:
*
* A pool of lazily allocated #GstVaapiSurface objects.
*/
struct _GstVaapiSurfacePool {
/*< private >*/
GstVaapiVideoPool parent_instance;
struct _GstVaapiSurfacePoolPrivate {
GstVaapiChromaType chroma_type;
guint width;
guint height;
};
static void
gst_vaapi_surface_pool_set_caps(GstVaapiVideoPool *pool, GstCaps *caps)
static gboolean
gst_vaapi_surface_pool_set_caps(GstVaapiVideoPool *base_pool, GstCaps *caps)
{
GstVaapiSurfacePoolPrivate *priv = GST_VAAPI_SURFACE_POOL(pool)->priv;
GstVaapiSurfacePool * const pool = GST_VAAPI_SURFACE_POOL(base_pool);
GstStructure *structure;
gint width, height;
......@@ -58,54 +57,31 @@ gst_vaapi_surface_pool_set_caps(GstVaapiVideoPool *pool, GstCaps *caps)
gst_structure_get_int(structure, "width", &width);
gst_structure_get_int(structure, "height", &height);
priv->chroma_type = GST_VAAPI_CHROMA_TYPE_YUV420;
priv->width = width;
priv->height = height;
pool->chroma_type = GST_VAAPI_CHROMA_TYPE_YUV420;
pool->width = width;
pool->height = height;
return TRUE;
}
gpointer
gst_vaapi_surface_pool_alloc_object(
GstVaapiVideoPool *pool,
GstVaapiDisplay *display
)
static gpointer
gst_vaapi_surface_pool_alloc_object(GstVaapiVideoPool *base_pool)
{
GstVaapiSurfacePoolPrivate *priv = GST_VAAPI_SURFACE_POOL(pool)->priv;
GstVaapiSurfacePool * const pool = GST_VAAPI_SURFACE_POOL(base_pool);
return gst_vaapi_surface_new(display,
priv->chroma_type,
priv->width,
priv->height);
return gst_vaapi_surface_new(base_pool->display,
pool->chroma_type, pool->width, pool->height);
}
static void
gst_vaapi_surface_pool_finalize(GObject *object)
static inline const GstVaapiMiniObjectClass *
gst_vaapi_surface_pool_class(void)
{
G_OBJECT_CLASS(gst_vaapi_surface_pool_parent_class)->finalize(object);
}
static void
gst_vaapi_surface_pool_class_init(GstVaapiSurfacePoolClass *klass)
{
GObjectClass * const object_class = G_OBJECT_CLASS(klass);
GstVaapiVideoPoolClass * const pool_class = GST_VAAPI_VIDEO_POOL_CLASS(klass);
g_type_class_add_private(klass, sizeof(GstVaapiSurfacePoolPrivate));
object_class->finalize = gst_vaapi_surface_pool_finalize;
static const GstVaapiVideoPoolClass GstVaapiSurfacePoolClass = {
{ sizeof(GstVaapiSurfacePool),
(GDestroyNotify)gst_vaapi_video_pool_finalize },
pool_class->set_caps = gst_vaapi_surface_pool_set_caps;
pool_class->alloc_object = gst_vaapi_surface_pool_alloc_object;
}
static void
gst_vaapi_surface_pool_init(GstVaapiSurfacePool *pool)
{
GstVaapiSurfacePoolPrivate *priv = GST_VAAPI_SURFACE_POOL_GET_PRIVATE(pool);
pool->priv = priv;
priv->chroma_type = 0;
priv->width = 0;
priv->height = 0;
.alloc_object = gst_vaapi_surface_pool_alloc_object
};
return GST_VAAPI_MINI_OBJECT_CLASS(&GstVaapiSurfacePoolClass);
}
/**
......@@ -121,8 +97,22 @@ gst_vaapi_surface_pool_init(GstVaapiSurfacePool *pool)
GstVaapiVideoPool *
gst_vaapi_surface_pool_new(GstVaapiDisplay *display, GstCaps *caps)
{
return g_object_new(GST_VAAPI_TYPE_SURFACE_POOL,
"display", display,
"caps", caps,
NULL);
GstVaapiVideoPool *pool;
g_return_val_if_fail(GST_VAAPI_IS_DISPLAY(display), NULL);
g_return_val_if_fail(GST_IS_CAPS(caps), NULL);
pool = (GstVaapiVideoPool *)
gst_vaapi_mini_object_new(gst_vaapi_surface_pool_class());
if (!pool)
return NULL;
gst_vaapi_video_pool_init(pool, display);
if (!gst_vaapi_surface_pool_set_caps(pool, caps))
goto error;
return pool;
error:
gst_vaapi_mini_object_unref(GST_VAAPI_MINI_OBJECT(pool));
return NULL;
}
......@@ -28,58 +28,13 @@
G_BEGIN_DECLS
#define GST_VAAPI_TYPE_SURFACE_POOL \
(gst_vaapi_surface_pool_get_type())
#define GST_VAAPI_SURFACE_POOL(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj), \
GST_VAAPI_TYPE_SURFACE_POOL, \
GstVaapiSurfacePool))
#define GST_VAAPI_SURFACE_POOL_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST((klass), \
GST_VAAPI_TYPE_SURFACE_POOL, \
GstVaapiSurfacePoolClass))
#define GST_VAAPI_SURFACE_POOL(obj) \
((GstVaapiSurfacePool *)(obj))
#define GST_VAAPI_IS_SURFACE_POOL(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj), GST_VAAPI_TYPE_SURFACE_POOL))
#define GST_VAAPI_IS_SURFACE_POOL_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE((klass), GST_VAAPI_TYPE_SURFACE_POOL))
#define GST_VAAPI_SURFACE_POOL_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS((obj), \
GST_VAAPI_TYPE_SURFACE_POOL, \
GstVaapiSurfacePoolClass))
((obj) != NULL)
typedef struct _GstVaapiSurfacePool GstVaapiSurfacePool;
typedef struct _GstVaapiSurfacePoolPrivate GstVaapiSurfacePoolPrivate;
typedef struct _GstVaapiSurfacePoolClass GstVaapiSurfacePoolClass;
/**
* GstVaapiSurfacePool:
*
* A pool of lazily allocated #GstVaapiSurface objects.
*/
struct _GstVaapiSurfacePool {
/*< private >*/
GstVaapiVideoPool parent_instance;
GstVaapiSurfacePoolPrivate *priv;
};
/**
* GstVaapiSurfacePoolClass:
*
* A pool of lazily allocated #GstVaapiSurface objects.
*/
struct _GstVaapiSurfacePoolClass {
/*< private >*/
GstVaapiVideoPoolClass parent_class;
};
GType
gst_vaapi_surface_pool_get_type(void) G_GNUC_CONST;
GstVaapiVideoPool *
gst_vaapi_surface_pool_new(GstVaapiDisplay *display, GstCaps *caps);
......
......@@ -28,6 +28,7 @@
#include "sysdeps.h"
#include "gstvaapisurfaceproxy.h"
#include "gstvaapisurfaceproxy_priv.h"
#include "gstvaapivideopool_priv.h"
#define DEBUG 1
#include "gstvaapidebug.h"
......@@ -44,7 +45,7 @@ gst_vaapi_surface_proxy_finalize(GstVaapiSurfaceProxy *proxy)
gst_vaapi_object_unref(proxy->surface);
proxy->surface = NULL;
}
g_clear_object(&proxy->pool);
gst_vaapi_video_pool_replace(&proxy->pool, NULL);
}
static inline const GstVaapiMiniObjectClass *
......@@ -69,7 +70,7 @@ gst_vaapi_surface_proxy_new_from_pool(GstVaapiSurfacePool *pool)
if (!proxy)
return NULL;
proxy->pool = g_object_ref(pool);
proxy->pool = gst_vaapi_video_pool_ref(pool);
proxy->surface = gst_vaapi_video_pool_get_object(proxy->pool);
if (!proxy->surface)
goto error;
......
This diff is collapsed.
......@@ -29,72 +29,27 @@
G_BEGIN_DECLS
#define GST_VAAPI_TYPE_VIDEO_POOL \
(gst_vaapi_video_pool_get_type())
#define GST_VAAPI_VIDEO_POOL(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj), \
GST_VAAPI_TYPE_VIDEO_POOL, \
GstVaapiVideoPool))
#define GST_VAAPI_VIDEO_POOL_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST((klass), \
GST_VAAPI_TYPE_VIDEO_POOL, \
GstVaapiVideoPoolClass))
#define GST_VAAPI_VIDEO_POOL(obj) \
((GstVaapiVideoPool *)(obj))
#define GST_VAAPI_IS_VIDEO_POOL(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj), GST_VAAPI_TYPE_VIDEO_POOL))
#define GST_VAAPI_IS_VIDEO_POOL_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE((klass), GST_VAAPI_TYPE_VIDEO_POOL))
#define GST_VAAPI_VIDEO_POOL_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS((obj), \
GST_VAAPI_TYPE_VIDEO_POOL, \
GstVaapiVideoPoolClass))
((obj) != NULL)
typedef struct _GstVaapiVideoPool GstVaapiVideoPool;
typedef struct _GstVaapiVideoPoolPrivate GstVaapiVideoPoolPrivate;
typedef struct _GstVaapiVideoPoolClass GstVaapiVideoPoolClass;
/**
* GstVaapiVideoPool:
*
* A pool of lazily allocated video objects. e.g. surfaces, images.
*/
struct _GstVaapiVideoPool {
/*< private >*/
GObject parent_instance;
GstVaapiVideoPoolPrivate *priv;
};
/**
* GstVaapiVideoPoolClass:
* @set_caps: virtual function for notifying the subclass of the
* negotiated caps
* @alloc_object: virtual function for allocating a video pool object
*
* A pool base class used to hold video objects. e.g. surfaces, images.
*/
struct _GstVaapiVideoPoolClass {
/*< private >*/
GObjectClass parent_class;
GstVaapiVideoPool *
gst_vaapi_video_pool_ref(GstVaapiVideoPool *pool);
/*< public >*/
void (*set_caps) (GstVaapiVideoPool *pool, GstCaps *caps);
gpointer (*alloc_object)(GstVaapiVideoPool *pool, GstVaapiDisplay *display);
};
void
gst_vaapi_video_pool_unref(GstVaapiVideoPool *pool);
GType
gst_vaapi_video_pool_get_type(void) G_GNUC_CONST;
void
gst_vaapi_video_pool_replace(GstVaapiVideoPool **old_pool_ptr,
GstVaapiVideoPool *new_pool);
GstVaapiDisplay *
gst_vaapi_video_pool_get_display(GstVaapiVideoPool *pool);
GstCaps *
gst_vaapi_video_pool_get_caps(GstVaapiVideoPool *pool);
gpointer
gst_vaapi_video_pool_get_object(GstVaapiVideoPool *pool);
......
/*
* gstvaapivideopool_priv.h - Video object pool abstraction (private defs)
*
* Copyright (C) 2010-2011 Splitted-Desktop Systems
* Copyright (C) 2012 Intel Corporation
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; either version 2.1
* of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*/
#ifndef GST_VAAPI_VIDEO_POOL_PRIV_H
#define GST_VAAPI_VIDEO_POOL_PRIV_H
#include "gstvaapiminiobject.h"
G_BEGIN_DECLS
#define GST_VAAPI_VIDEO_POOL_CLASS(klass) \
((GstVaapiVideoPoolClass *)(klass))
#define GST_VAAPI_IS_VIDEO_POOL_CLASS(klass) \
((klass) != NULL)
typedef struct _GstVaapiVideoPoolClass GstVaapiVideoPoolClass;
/**
* GstVaapiVideoPool:
*
* A pool of lazily allocated video objects. e.g. surfaces, images.
*/
struct _GstVaapiVideoPool {
/*< private >*/
GstVaapiMiniObject parent_instance;
GstVaapiDisplay *display;
GQueue free_objects;
GList *used_objects;
guint used_count;
guint capacity;
};
/**
* GstVaapiVideoPoolClass:
* @alloc_object: virtual function for allocating a video pool object
*
* A pool base class used to hold video objects. e.g. surfaces, images.
*/
struct _GstVaapiVideoPoolClass {
/*< private >*/
GstVaapiMiniObjectClass parent_class;
/*< public >*/
gpointer (*alloc_object)(GstVaapiVideoPool *pool);
};
G_GNUC_INTERNAL
void
gst_vaapi_video_pool_init(GstVaapiVideoPool *pool, GstVaapiDisplay *display);
G_GNUC_INTERNAL
void
gst_vaapi_video_pool_finalize(GstVaapiVideoPool *pool);
/* Internal aliases */
#define gst_vaapi_video_pool_ref_internal(pool) \
((gpointer)gst_vaapi_mini_object_ref(GST_VAAPI_MINI_OBJECT(pool)))
#define gst_vaapi_video_pool_unref_internal(pool) \
gst_vaapi_mini_object_unref(GST_VAAPI_MINI_OBJECT(pool))
#define gst_vaapi_video_pool_replace_internal(old_pool_ptr, new_pool) \
gst_vaapi_mini_object_replace((GstVaapiMiniObject **)(old_pool_ptr), \
GST_VAAPI_MINI_OBJECT(new_pool))
#undef gst_vaapi_video_pool_ref
#define gst_vaapi_video_pool_ref(pool) \
gst_vaapi_video_pool_ref_internal((pool))
#undef gst_vaapi_video_pool_unref
#define gst_vaapi_video_pool_unref(pool) \
gst_vaapi_video_pool_unref_internal((pool))
#undef gst_vaapi_video_pool_replace
#define gst_vaapi_video_pool_replace(old_pool_ptr, new_pool) \
gst_vaapi_video_pool_replace_internal((old_pool_ptr), (new_pool))
G_END_DECLS
#endif /* GST_VAAPI_VIDEO_POOL_PRIV_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment