Browse Source

configure: detect AMD HQScaler

(cherry picked from commit 803499c569)
cherry-pick-c5513cf9
Steve Lhomme 3 years ago
parent
commit
edc77c8b09
  1. 14
      configure.ac

14
configure.ac

@ -1941,6 +1941,20 @@ AS_IF([test "$enable_v4l2" != "no"], [
])
AM_CONDITIONAL(HAVE_V4L2, [test "${have_v4l2}" != "no"])
dnl
dnl AMD Advanced Media Framework API
dnl
AC_ARG_ENABLE([amf-scaler], AS_HELP_STRING([--disable-amf-scaler],
[disable AMD AMF API (default auto)]))
have_amf_scaler="no"
AS_IF([test "$enable_amf_scaler" != "no"], [
AC_CHECK_HEADERS([AMF/core/PropertyStorage.h AMF/components/HQScaler.h], [
have_amf_scaler="yes"
AC_DEFINE(HAVE_AMF_SCALER, 1, AMD HQScaler supported)
])
])
AM_CONDITIONAL([HAVE_AMF_SCALER], [test "${have_amf_scaler}" != "no"])
dnl
dnl special access module for Blackmagic SDI cards
dnl

Loading…
Cancel
Save