Commit 1cb6ba53 authored by Austin Yuan's avatar Austin Yuan

Prototype of vaCreateSurfaceFromCIFrame

Signed-off-by: default avatarAustin Yuan <shengquan.yuan@intel.com>
parent a59133d8
......@@ -535,6 +535,21 @@ VAStatus vaCreateSurfaces (
return ctx->vtable.vaCreateSurfaces( ctx, width, height, format, num_surfaces, surfaces );
}
VAStatus vaCreateSurfaceFromCIFrame (
VADisplay dpy,
unsigned long frame_id,
VASurfaceID *surface /* out */
)
{
VADriverContextP ctx;
CHECK_DISPLAY(dpy);
ctx = CTX(dpy);
TRACE(vaCreateSurfacesFromCIFrame);
return ctx->vtable.vaCreateSurfaceFromCIFrame( ctx, frame_id, surface );
}
VAStatus vaDestroySurfaces (
VADisplay dpy,
VASurfaceID *surface_list,
......
......@@ -95,6 +95,12 @@ struct VADriverVTable
VASurfaceID *surfaces /* out */
);
VAStatus (*vaCreateSurfaceFromCIFrame) (
VADriverContextP ctx,
unsigned long frame_id,
VASurfaceID *surface /* out */
);
VAStatus (*vaDestroySurfaces) (
VADriverContextP ctx,
VASurfaceID *surface_list,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment