• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/common/libva


Commit MetaInfo

Revision9664f0b207b48a141200bf392374eef82b3a1d08 (tree)
Time2009-08-31 17:27:09
AuthorAustin Yuan <shengquan.yuan@inte...>
CommiterAustin Yuan

Log Message

vaDriverInit_0_30 --> vaDriverInit_0_31 for libva31

Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>

Change Summary

Incremental Difference

--- a/dummy_drv_video/dummy_drv_video.c
+++ b/dummy_drv_video/dummy_drv_video.c
@@ -1163,7 +1163,7 @@ VAStatus dummy_Terminate( VADriverContextP ctx )
11631163 return VA_STATUS_SUCCESS;
11641164 }
11651165
1166-VAStatus __vaDriverInit_0_30( VADriverContextP ctx )
1166+VAStatus __vaDriverInit_0_31( VADriverContextP ctx )
11671167 {
11681168 object_base_p obj;
11691169 int result;
--- a/i965_drv_video/i965_drv_video.c
+++ b/i965_drv_video/i965_drv_video.c
@@ -1312,7 +1312,7 @@ i965_Terminate(VADriverContextP ctx)
13121312 }
13131313
13141314 VAStatus
1315-__vaDriverInit_0_30( VADriverContextP ctx )
1315+__vaDriverInit_0_31( VADriverContextP ctx )
13161316 {
13171317 struct i965_driver_data *i965;
13181318 int result;
--- a/src/va.c
+++ b/src/va.c
@@ -39,8 +39,8 @@
3939 #include "va_dricommon.h"
4040
4141
42-#define DRIVER_INIT_FUNC "__vaDriverInit_0_30"
43-#define DRIVER_INIT_FUNC_SDS "__vaDriverInit_0_30_sds"
42+#define DRIVER_INIT_FUNC "__vaDriverInit_0_31"
43+#define DRIVER_INIT_FUNC_SDS "__vaDriverInit_0_31_sds"
4444
4545 #define DRIVER_EXTENSION "_drv_video.so"
4646
--- a/src/va.h
+++ b/src/va.h
@@ -392,6 +392,21 @@ VAStatus vaCreateSurfaces (
392392 VASurfaceID *surfaces /* out */
393393 );
394394
395+/* Wrap a CI (camera imaging) frame as a VA surface to share captured video between camear
396+ * and VA encode. With frame_id, VA driver need to call CI interfaces to get the information
397+ * of the frame, and to determine if the frame can be wrapped as a VA surface
398+ *
399+ * Application should make sure the frame is idle before the frame is passed into VA stack
400+ * and also a vaSyncSurface should be called before application tries to access the frame
401+ * from CI stack
402+ */
403+VAStatus vaCreateSurfaceFromCIFrame (
404+ VADisplay dpy,
405+ unsigned long frame_id,
406+ VASurfaceID *surface /* out */
407+);
408+
409+
395410 /*
396411 * vaDestroySurfaces - Destroy resources associated with surfaces.
397412 * Surfaces can only be destroyed after the context associated has been