• 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/intel-driver


Commit MetaInfo

Revisiond67fd0eeccc1f178bf628ed7b6ba57b7975e9995 (tree)
Time2015-09-09 13:35:20
AuthorXiang, Haihao <haihao.xiang@inte...>
CommiterXiang, Haihao

Log Message

Replace --enable-wrapper with --enable-hybrid-codec

hybrid-codec is more meaningful.

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
(cherry picked from commit 2d42512bd6b7382c5effe21a5f9999742d98db88)

Change Summary

Incremental Difference

--- a/configure.ac
+++ b/configure.ac
@@ -56,10 +56,10 @@ AC_ARG_ENABLE([wayland],
5656 [build with VA/Wayland API support @<:@default=yes@:>@])],
5757 [], [enable_wayland="yes"])
5858
59-AC_ARG_ENABLE([wrapper],
60- [AC_HELP_STRING([--enable-wrapper],
61- [build with hybrid_wrapper support @<:@default=no@:>@])],
62- [], [enable_wrapper="no"])
59+AC_ARG_ENABLE([hybrid-codec],
60+ [AC_HELP_STRING([--enable-hybrid-codec],
61+ [build with hybrid codec support @<:@default=no@:>@])],
62+ [], [enable_hybrid_codec="no"])
6363
6464 AC_DISABLE_STATIC
6565 AC_PROG_LIBTOOL
@@ -112,10 +112,8 @@ if test "$USE_DRM" = "yes"; then
112112 fi
113113 AM_CONDITIONAL(USE_DRM, test "$USE_DRM" = "yes")
114114
115-USE_WRAPPER="no"
116-if test "$enable_wrapper" = "yes"; then
117- USE_WRAPPER="yes"
118- AC_DEFINE([HAVE_USE_WRAPPER], [1], [Defined to 1 if hybrid_wrapper is needed])
115+if test "$enable_hybrid_codec" = "yes"; then
116+ AC_DEFINE([HAVE_HYBRID_CODEC], [1], [Defined to 1 if hybrid codec is needed])
119117 fi
120118
121119 VA_VERSION=`$PKG_CONFIG --modversion libva`
--- a/src/i965_drv_video.c
+++ b/src/i965_drv_video.c
@@ -6179,7 +6179,7 @@ error:
61796179 * to initialize/load the wrapper context of backend driver.
61806180 * Otherwise it is not loaded.
61816181 */
6182-#if HAVE_USE_WRAPPER
6182+#if HAVE_HYBRID_CODEC
61836183
61846184 static VAStatus
61856185 i965_initialize_wrapper(VADriverContextP ctx, const char *driver_name)
@@ -6329,7 +6329,7 @@ i965_Init(VADriverContextP ctx)
63296329 if (i965->codec_info && i965->codec_info->preinit_hw_codec)
63306330 i965->codec_info->preinit_hw_codec(ctx, i965->codec_info);
63316331
6332-#if HAVE_USE_WRAPPER
6332+#if HAVE_HYBRID_CODEC
63336333 i965_initialize_wrapper(ctx, "hybrid");
63346334 #endif
63356335