![]() |
![]() |
![]() |
GStreamer VA-API Plugins 0.10 Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
struct GstVaapiSubpicture; struct GstVaapiSubpictureClass; GstVaapiSubpicture * gst_vaapi_subpicture_new (GstVaapiImage *image
,guint flags
); 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
);
"flags" guint : Read / Write / Construct Only "global-alpha" gfloat : Read / Write "image" GstVaapiImage* : Read / Write
GstVaapiSubpicture * gst_vaapi_subpicture_new (GstVaapiImage *image
,guint flags
);
Creates a new GstVaapiSubpicture with image
as source pixels. The
newly created object holds a reference on image
.
|
a GstVaapiImage |
|
GstVaapiSubpictureFlags, or zero |
Returns : |
the newly allocated GstVaapiSubpicture object |
GstVaapiID gst_vaapi_subpicture_get_id (GstVaapiSubpicture *subpicture
);
Returns the underlying VASubpictureID of the subpicture
.
|
a GstVaapiSubpicture |
Returns : |
the underlying VA subpicture id |
GstVaapiImage * gst_vaapi_subpicture_get_image (GstVaapiSubpicture *subpicture
);
Returns the GstVaapiImage this subpicture
is bound to.
|
a GstVaapiSubpicture |
Returns : |
the GstVaapiImage this subpicture is bound to |
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
.
|
a GstVaapiSubpicture |
|
a GstVaapiImage |
"flags"
property"flags" guint : Read / Write / Construct Only
The GstVaapiSubpictureFlags this subpicture requires.
Default value: 0
"global-alpha"
property"global-alpha" gfloat : Read / Write
The global-alpha value associated with this subpicture.
Allowed values: [0,1]
Default value: 1
"image"
property"image" GstVaapiImage* : Read / Write
The GstVaapiImage this subpicture is bound to.