GstVaapiSubpicture

GstVaapiSubpicture — VA subpicture abstraction

Synopsis

                    GstVaapiSubpicture;
                    GstVaapiSubpictureClass;
GstVaapiSubpicture * gst_vaapi_subpicture_new           (GstVaapiImage *image);
GstVaapiID          gst_vaapi_subpicture_get_id         (GstVaapiSubpicture *subpicture);
GstVaapiImage *     gst_vaapi_subpicture_get_image      (GstVaapiSubpicture *subpicture);
void                gst_vaapi_subpicture_set_image      (GstVaapiSubpicture *subpicture,
                                                         GstVaapiImage *image);

Object Hierarchy

  GObject
   +----GstVaapiObject
         +----GstVaapiSubpicture

Properties

  "image"                    GstVaapiImage*        : Read / Write

Description

Details

GstVaapiSubpicture

typedef struct _GstVaapiSubpicture GstVaapiSubpicture;

A VA subpicture wrapper


GstVaapiSubpictureClass

typedef struct {
} GstVaapiSubpictureClass;

A VA subpicture wrapper class


gst_vaapi_subpicture_new ()

GstVaapiSubpicture * gst_vaapi_subpicture_new           (GstVaapiImage *image);

Creates a new GstVaapiSubpicture with image as source pixels. The newly created object holds a reference on image.

image :

a GstVaapiImage

Returns :

the newly allocated GstVaapiSubpicture object

gst_vaapi_subpicture_get_id ()

GstVaapiID          gst_vaapi_subpicture_get_id         (GstVaapiSubpicture *subpicture);

Returns the underlying VASubpictureID of the subpicture.

subpicture :

a GstVaapiSubpicture

Returns :

the underlying VA subpicture id

gst_vaapi_subpicture_get_image ()

GstVaapiImage *     gst_vaapi_subpicture_get_image      (GstVaapiSubpicture *subpicture);

Returns the GstVaapiImage this subpicture is bound to.

subpicture :

a GstVaapiSubpicture

Returns :

the GstVaapiImage this subpicture is bound to

gst_vaapi_subpicture_set_image ()

void                gst_vaapi_subpicture_set_image      (GstVaapiSubpicture *subpicture,
                                                         GstVaapiImage *image);

Binds a new GstVaapiImage to the subpicture. The reference to the previous image is released and a new one is acquired on image.

subpicture :

a GstVaapiSubpicture

image :

a GstVaapiImage

Property Details

The "image" property

  "image"                    GstVaapiImage*        : Read / Write

The GstVaapiImage this subpicture is bound to.