st/va: Enable vaExportSurfaceHandle()
It is present from libva 2.1 (VAAPI 1.1.0 or higher). Signed-off-by: Mark Thompson <sw@jkqxz.net> Reviewed-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
parent
41c5bf3836
commit
768f1487b0
|
@ -89,7 +89,13 @@ static struct VADriverVTable vtable =
|
||||||
&vlVaQuerySurfaceAttributes,
|
&vlVaQuerySurfaceAttributes,
|
||||||
&vlVaAcquireBufferHandle,
|
&vlVaAcquireBufferHandle,
|
||||||
&vlVaReleaseBufferHandle,
|
&vlVaReleaseBufferHandle,
|
||||||
#if 0
|
#if VA_CHECK_VERSION(1, 1, 0)
|
||||||
|
NULL, /* vaCreateMFContext */
|
||||||
|
NULL, /* vaMFAddContext */
|
||||||
|
NULL, /* vaMFReleaseContext */
|
||||||
|
NULL, /* vaMFSubmit */
|
||||||
|
NULL, /* vaCreateBuffer2 */
|
||||||
|
NULL, /* vaQueryProcessingRate */
|
||||||
&vlVaExportSurfaceHandle,
|
&vlVaExportSurfaceHandle,
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
|
@ -926,7 +926,7 @@ vlVaQueryVideoProcPipelineCaps(VADriverContextP ctx, VAContextID context,
|
||||||
return VA_STATUS_SUCCESS;
|
return VA_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
#if VA_CHECK_VERSION(1, 1, 0)
|
||||||
VAStatus
|
VAStatus
|
||||||
vlVaExportSurfaceHandle(VADriverContextP ctx,
|
vlVaExportSurfaceHandle(VADriverContextP ctx,
|
||||||
VASurfaceID surface_id,
|
VASurfaceID surface_id,
|
||||||
|
|
Loading…
Reference in New Issue