mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
Try to not reference VA-API types directly.
This commit is contained in:
parent
63a0dfcd3f
commit
05a1ed2d23
6 changed files with 6 additions and 6 deletions
|
@ -512,7 +512,7 @@ gst_vaapi_image_new_with_image(GstVaapiDisplay *display, VAImage *va_image)
|
|||
*
|
||||
* Return value: the underlying VA image id
|
||||
*/
|
||||
VAImageID
|
||||
GstVaapiID
|
||||
gst_vaapi_image_get_id(GstVaapiImage *image)
|
||||
{
|
||||
g_return_val_if_fail(GST_VAAPI_IS_IMAGE(image), VA_INVALID_ID);
|
||||
|
|
|
@ -116,7 +116,7 @@ gst_vaapi_image_new(
|
|||
GstVaapiImage *
|
||||
gst_vaapi_image_new_with_image(GstVaapiDisplay *display, VAImage *va_image);
|
||||
|
||||
VAImageID
|
||||
GstVaapiID
|
||||
gst_vaapi_image_get_id(GstVaapiImage *image);
|
||||
|
||||
gboolean
|
||||
|
|
|
@ -225,7 +225,7 @@ gst_vaapi_subpicture_new(GstVaapiImage *image)
|
|||
*
|
||||
* Return value: the underlying VA subpicture id
|
||||
*/
|
||||
VASubpictureID
|
||||
GstVaapiID
|
||||
gst_vaapi_subpicture_get_id(GstVaapiSubpicture *subpicture)
|
||||
{
|
||||
g_return_val_if_fail(GST_VAAPI_IS_SUBPICTURE(subpicture), VA_INVALID_ID);
|
||||
|
|
|
@ -83,7 +83,7 @@ gst_vaapi_subpicture_get_type(void);
|
|||
GstVaapiSubpicture *
|
||||
gst_vaapi_subpicture_new(GstVaapiImage *image);
|
||||
|
||||
VASubpictureID
|
||||
GstVaapiID
|
||||
gst_vaapi_subpicture_get_id(GstVaapiSubpicture *subpicture);
|
||||
|
||||
GstVaapiImage *
|
||||
|
|
|
@ -313,7 +313,7 @@ gst_vaapi_surface_new(
|
|||
*
|
||||
* Return value: the underlying VA surface id
|
||||
*/
|
||||
VASurfaceID
|
||||
GstVaapiID
|
||||
gst_vaapi_surface_get_id(GstVaapiSurface *surface)
|
||||
{
|
||||
g_return_val_if_fail(GST_VAAPI_IS_SURFACE(surface), VA_INVALID_SURFACE);
|
||||
|
|
|
@ -133,7 +133,7 @@ gst_vaapi_surface_new(
|
|||
guint height
|
||||
);
|
||||
|
||||
VASurfaceID
|
||||
GstVaapiID
|
||||
gst_vaapi_surface_get_id(GstVaapiSurface *surface);
|
||||
|
||||
GstVaapiChromaType
|
||||
|
|
Loading…
Reference in a new issue