Try to not reference VA-API types directly.

This commit is contained in:
gb 2010-03-30 07:39:16 +00:00
parent 63a0dfcd3f
commit 05a1ed2d23
6 changed files with 6 additions and 6 deletions

View file

@ -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);

View file

@ -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

View file

@ -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);

View file

@ -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 *

View file

@ -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);

View file

@ -133,7 +133,7 @@ gst_vaapi_surface_new(
guint height
);
VASurfaceID
GstVaapiID
gst_vaapi_surface_get_id(GstVaapiSurface *surface);
GstVaapiChromaType