gst_vaapi_surface_get_parent_context() was not meant to be exposed globally.
It's just an internal helper function. However, it's still possible to get
the parent context through the "parent-context" property.
gst_vaapi_surface_get_width
gst_vaapi_surface_get_height
gst_vaapi_surface_get_size
-gst_vaapi_surface_get_parent_context
gst_vaapi_surface_derive_image
gst_vaapi_surface_get_image
gst_vaapi_surface_put_image
typedef enum _GstVaapiChromaType GstVaapiChromaType;
typedef enum _GstVaapiSurfaceStatus GstVaapiSurfaceStatus;
typedef enum _GstVaapiSurfaceRenderFlags GstVaapiSurfaceRenderFlags;
-typedef struct _GstVaapiContext GstVaapiContext;
/**
* GST_VAAPI_SURFACE_CAPS_NAME:
guint *pheight
);
-GstVaapiContext *
-gst_vaapi_surface_get_parent_context(GstVaapiSurface *surface);
-
GstVaapiImage *
gst_vaapi_surface_derive_image(GstVaapiSurface *surface);
#ifndef GST_VAAPI_SURFACE_PRIV_H
#define GST_VAAPI_SURFACE_PRIV_H
+#include <gst/vaapi/gstvaapicontext.h>
#include <gst/vaapi/gstvaapisurface.h>
void
GstVaapiContext *context
) attribute_hidden;
+GstVaapiContext *
+gst_vaapi_surface_get_parent_context(GstVaapiSurface *surface)
+ attribute_hidden;
+
#endif /* GST_VAAPI_SURFACE_PRIV_H */