| Top |  |  |  |  | 
GstVaapiPixmap *
gst_vaapi_pixmap_ref (GstVaapiPixmap *pixmap);
Atomically increases the reference count of the given pixmap
 by one.
void
gst_vaapi_pixmap_unref (GstVaapiPixmap *pixmap);
Atomically decreases the reference count of the pixmap
 by one. If
the reference count reaches zero, the pixmap will be free'd.
void gst_vaapi_pixmap_replace (GstVaapiPixmap **old_pixmap_ptr,GstVaapiPixmap *new_pixmap);
Atomically replaces the pixmap pixmap held in old_pixmap_ptr
 with
new_pixmap
. This means that old_pixmap_ptr
 shall reference a
valid pixmap. However, new_pixmap
 can be NULL.
GstVideoFormat
gst_vaapi_pixmap_get_format (GstVaapiPixmap *pixmap);
Retrieves the format of a GstVaapiPixmap.
guint
gst_vaapi_pixmap_get_width (GstVaapiPixmap *pixmap);
Retrieves the width of a GstVaapiPixmap.
guint
gst_vaapi_pixmap_get_height (GstVaapiPixmap *pixmap);
Retrieves the height of a GstVaapiPixmap
void gst_vaapi_pixmap_get_size (GstVaapiPixmap *pixmap,guint *width,guint *height);
Retrieves the dimensions of a GstVaapiPixmap.
gboolean gst_vaapi_pixmap_put_surface (GstVaapiPixmap *pixmap,GstVaapiSurface *surface,const GstVaapiRectangle *crop_rect,guint flags);
Renders the whole surface
, or a cropped region defined with
crop_rect
, into the pixmap
, while scaling to fit the target
pixmap. The flags
 specify how de-interlacing (if needed), color
space conversion, scaling and other postprocessing transformations
are performed.
| pixmap | ||
| surface | ||
| crop_rect | the video cropping rectangle, or  | |
| flags | postprocessing flags. See GstVaapiSurfaceRenderFlags |