diff options
author | Austin Yuan <shengquan.yuan@intel.com> | 2009-02-04 05:07:54 -0500 |
---|---|---|
committer | Austin Yuan <shengquan.yuan@intel.com> | 2009-02-04 05:07:54 -0500 |
commit | 1cb6ba5375d8fe7ba411fe588a48afda92f1d3b3 (patch) | |
tree | 3bd6b12e33adc35c4331dee220b64db58aa23295 /src | |
parent | a59133d8bdb2418b45f95279ff00146363701a64 (diff) | |
download | libva-1cb6ba5375d8fe7ba411fe588a48afda92f1d3b3.tar.gz |
Prototype of vaCreateSurfaceFromCIFrame
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/va.c | 15 | ||||
-rwxr-xr-x | src/va_backend.h | 6 |
2 files changed, 21 insertions, 0 deletions
@@ -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, diff --git a/src/va_backend.h b/src/va_backend.h index 5792141..5d05fca 100755 --- a/src/va_backend.h +++ b/src/va_backend.h @@ -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, |