GstVaapiVideoBuffer

GstVaapiVideoBuffer — VA video buffer for GStreamer

Synopsis

struct              GstVaapiVideoBuffer;
struct              GstVaapiVideoBufferClass;
GstBuffer *         gst_vaapi_video_buffer_new          (GstVaapiVideoMeta *meta);
GstVaapiVideoMeta * gst_vaapi_video_buffer_get_meta     (GstVaapiVideoBuffer *buffer);

Object Hierarchy

  GstMiniObject
   +----GstBuffer
         +----GstSurfaceBuffer
               +----GstVaapiVideoBuffer

Description

Details

struct GstVaapiVideoBuffer

struct GstVaapiVideoBuffer;

A GstBuffer holding video objects (GstVaapiSurface and GstVaapiImage).


struct GstVaapiVideoBufferClass

struct GstVaapiVideoBufferClass {
};

A GstBuffer holding video objects


gst_vaapi_video_buffer_new ()

GstBuffer *         gst_vaapi_video_buffer_new          (GstVaapiVideoMeta *meta);

Creates a GstBuffer that holds video meta information.

meta :

a GstVaapiVideoMeta

Returns :

the newly allocated GstBuffer, or NULL or error

gst_vaapi_video_buffer_get_meta ()

GstVaapiVideoMeta * gst_vaapi_video_buffer_get_meta     (GstVaapiVideoBuffer *buffer);

Returns the GstVaapiVideoMeta associated to this buffer.

buffer :

a GstVaapiVideoBuffer

Returns :

the GstVaapiVideoMeta bound to the buffer, or NULL if none was found