Commit 9664f0b2 authored by Austin Yuan's avatar Austin Yuan

__vaDriverInit_0_30 --> __vaDriverInit_0_31 for libva31

Signed-off-by: default avatarAustin Yuan <shengquan.yuan@intel.com>
parent 2822d025
...@@ -1163,7 +1163,7 @@ VAStatus dummy_Terminate( VADriverContextP ctx ) ...@@ -1163,7 +1163,7 @@ VAStatus dummy_Terminate( VADriverContextP ctx )
return VA_STATUS_SUCCESS; return VA_STATUS_SUCCESS;
} }
VAStatus __vaDriverInit_0_30( VADriverContextP ctx ) VAStatus __vaDriverInit_0_31( VADriverContextP ctx )
{ {
object_base_p obj; object_base_p obj;
int result; int result;
......
...@@ -1312,7 +1312,7 @@ i965_Terminate(VADriverContextP ctx) ...@@ -1312,7 +1312,7 @@ i965_Terminate(VADriverContextP ctx)
} }
VAStatus VAStatus
__vaDriverInit_0_30( VADriverContextP ctx ) __vaDriverInit_0_31( VADriverContextP ctx )
{ {
struct i965_driver_data *i965; struct i965_driver_data *i965;
int result; int result;
......
...@@ -39,8 +39,8 @@ ...@@ -39,8 +39,8 @@
#include "va_dricommon.h" #include "va_dricommon.h"
#define DRIVER_INIT_FUNC "__vaDriverInit_0_30" #define DRIVER_INIT_FUNC "__vaDriverInit_0_31"
#define DRIVER_INIT_FUNC_SDS "__vaDriverInit_0_30_sds" #define DRIVER_INIT_FUNC_SDS "__vaDriverInit_0_31_sds"
#define DRIVER_EXTENSION "_drv_video.so" #define DRIVER_EXTENSION "_drv_video.so"
......
...@@ -392,6 +392,21 @@ VAStatus vaCreateSurfaces ( ...@@ -392,6 +392,21 @@ VAStatus vaCreateSurfaces (
VASurfaceID *surfaces /* out */ VASurfaceID *surfaces /* out */
); );
/* Wrap a CI (camera imaging) frame as a VA surface to share captured video between camear
* and VA encode. With frame_id, VA driver need to call CI interfaces to get the information
* of the frame, and to determine if the frame can be wrapped as a VA surface
*
* Application should make sure the frame is idle before the frame is passed into VA stack
* and also a vaSyncSurface should be called before application tries to access the frame
* from CI stack
*/
VAStatus vaCreateSurfaceFromCIFrame (
VADisplay dpy,
unsigned long frame_id,
VASurfaceID *surface /* out */
);
/* /*
* vaDestroySurfaces - Destroy resources associated with surfaces. * vaDestroySurfaces - Destroy resources associated with surfaces.
* Surfaces can only be destroyed after the context associated has been * Surfaces can only be destroyed after the context associated has been
......
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