diff options
author | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2012-05-11 17:18:36 +0200 |
---|---|---|
committer | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2012-05-11 17:24:49 +0200 |
commit | aeaa2a11838e653a758afc3b5a9e00f3521d6ac3 (patch) | |
tree | e87045a4b627da9e47c81fb09c785e36fb963053 /configure.ac | |
parent | 716a77bdb80e72abcd3ba182f87df6b205a22756 (diff) | |
download | libva-intel-driver-aeaa2a11838e653a758afc3b5a9e00f3521d6ac3.tar.gz libva-intel-driver-aeaa2a11838e653a758afc3b5a9e00f3521d6ac3.tar.bz2 libva-intel-driver-aeaa2a11838e653a758afc3b5a9e00f3521d6ac3.zip |
jpeg: drop explicit check for VA/JPEG decoding API.
Staging branch VA driver needs to be built against a staging branch
libva. So, the VA/JPEG decoding API is present and actually mandatory
for VA-API >= 0.34.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/configure.ac b/configure.ac index 9948178..5717ce2 100644 --- a/configure.ac +++ b/configure.ac @@ -90,29 +90,6 @@ fi AC_MSG_RESULT([$LIBVA_DRIVERS_PATH]) AC_SUBST(LIBVA_DRIVERS_PATH) -dnl Check for JPEG decoding API -AC_CACHE_CHECK([for JPEG decoding API], ac_cv_have_jpeg_decoding_api, [ - saved_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS $LIBVA_DEPS_CFLAGS" - saved_LIBS="$LIBS" - LIBS="$CFLAGS $LIBVA_DEPS_LIBS" - AC_TRY_COMPILE( - [#include <va/va.h> - #include <va/va_dec_jpeg.h>], - [VAPictureParameterBufferJPEG pic_param; - VASliceParameterBufferJPEG slice_param; - VAIQMatrixParameterBufferJPEG iq_matrix;], - [ac_cv_have_jpeg_decoding_api="yes"], - [ac_cv_have_jpeg_decoding_api="no"] - ) - CFLAGS="$saved_CFLAGS" - LIBS="$saved_LIBS" -]) -if test "$ac_cv_have_jpeg_decoding_api" = "yes"; then - AC_DEFINE(HAVE_JPEG_DECODING, 1, - [Defined to 1 if VA-API exposes JPEG decoding]) -fi - AC_OUTPUT([ Makefile debian.upstream/Makefile |