hardware/intel/intel-driver
Révision | 2d42512bd6b7382c5effe21a5f9999742d98db88 (tree) |
---|---|
l'heure | 2015-09-09 13:34:33 |
Auteur | Xiang, Haihao <haihao.xiang@inte...> |
Commiter | Xiang, Haihao |
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>
@@ -56,10 +56,10 @@ AC_ARG_ENABLE([wayland], | ||
56 | 56 | [build with VA/Wayland API support @<:@default=yes@:>@])], |
57 | 57 | [], [enable_wayland="yes"]) |
58 | 58 | |
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"]) | |
63 | 63 | |
64 | 64 | AC_DISABLE_STATIC |
65 | 65 | AC_PROG_LIBTOOL |
@@ -112,10 +112,8 @@ if test "$USE_DRM" = "yes"; then | ||
112 | 112 | fi |
113 | 113 | AM_CONDITIONAL(USE_DRM, test "$USE_DRM" = "yes") |
114 | 114 | |
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]) | |
119 | 117 | fi |
120 | 118 | |
121 | 119 | VA_VERSION=`$PKG_CONFIG --modversion libva` |
@@ -6179,7 +6179,7 @@ error: | ||
6179 | 6179 | * to initialize/load the wrapper context of backend driver. |
6180 | 6180 | * Otherwise it is not loaded. |
6181 | 6181 | */ |
6182 | -#if HAVE_USE_WRAPPER | |
6182 | +#if HAVE_HYBRID_CODEC | |
6183 | 6183 | |
6184 | 6184 | static VAStatus |
6185 | 6185 | i965_initialize_wrapper(VADriverContextP ctx, const char *driver_name) |
@@ -6329,7 +6329,7 @@ i965_Init(VADriverContextP ctx) | ||
6329 | 6329 | if (i965->codec_info && i965->codec_info->preinit_hw_codec) |
6330 | 6330 | i965->codec_info->preinit_hw_codec(ctx, i965->codec_info); |
6331 | 6331 | |
6332 | -#if HAVE_USE_WRAPPER | |
6332 | +#if HAVE_HYBRID_CODEC | |
6333 | 6333 | i965_initialize_wrapper(ctx, "hybrid"); |
6334 | 6334 | #endif |
6335 | 6335 |