Top | ![]() |
![]() |
![]() |
![]() |
GstVaapiVideoPool * gst_vaapi_surface_pool_new (GstVaapiDisplay *display
,GstVideoFormat format
,guint width
,guint height
);
Creates a new GstVaapiVideoPool of GstVaapiSurface with the specified
format and dimensions. If format
is GST_VIDEO_FORMAT_ENCODED, then
surfaces with best "native" format would be created. Typically, this is
NV12 format, but this is implementation (driver) defined.
typedef struct _GstVaapiSurfacePool GstVaapiSurfacePool;
A pool of lazily allocated GstVaapiSurface objects.