Skip to content
Snippets Groups Projects
Commit 19db663c authored by Mark Thompson's avatar Mark Thompson Committed by Juan A. Suárez
Browse files

st/va: Enable vaExportSurfaceHandle()


It is present from libva 2.1 (VAAPI 1.1.0 or higher).

Signed-off-by: default avatarMark Thompson <sw@jkqxz.net>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
(cherry picked from commit 768f1487)
parent 825e950a
No related branches found
No related merge requests found
......@@ -89,7 +89,13 @@ static struct VADriverVTable vtable =
&vlVaQuerySurfaceAttributes,
&vlVaAcquireBufferHandle,
&vlVaReleaseBufferHandle,
#if 0
#if VA_CHECK_VERSION(1, 1, 0)
NULL, /* vaCreateMFContext */
NULL, /* vaMFAddContext */
NULL, /* vaMFReleaseContext */
NULL, /* vaMFSubmit */
NULL, /* vaCreateBuffer2 */
NULL, /* vaQueryProcessingRate */
&vlVaExportSurfaceHandle,
#endif
};
......
......@@ -923,7 +923,7 @@ vlVaQueryVideoProcPipelineCaps(VADriverContextP ctx, VAContextID context,
return VA_STATUS_SUCCESS;
}
#if 0
#if VA_CHECK_VERSION(1, 1, 0)
VAStatus
vlVaExportSurfaceHandle(VADriverContextP ctx,
VASurfaceID surface_id,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment