From patchwork Wed Aug 30 12:09:01 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgQsWTc2No?= X-Patchwork-Id: 4894 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.2.15.201 with SMTP id 70csp447921jao; Wed, 30 Aug 2017 05:09:47 -0700 (PDT) X-Google-Smtp-Source: ADKCNb6tpgmtqSfkO4mndJlro1bTx8Da05Y8JuYA2q2XdqO2YMex2Ksa1W0G7qIgyDzgRzG7E+yf X-Received: by 10.28.182.4 with SMTP id g4mr1084569wmf.79.1504094987277; Wed, 30 Aug 2017 05:09:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504094987; cv=none; d=google.com; s=arc-20160816; b=AsVw2wMAa1cgly+CyydWsOLQf/aW4taUkg9YBw/FHzTikumBhnBU7eoS8u3J1tqTMi ieReqCnTRffa9WMs4dfIoV6Z23wJX6IvB1db8z0R9UrdjXOWGiEhsO+Y+tMbuf2gUaxG KwZ0TuLmLQtPmmyVa0SfKUK3bo2mvSy0vSWBIlYmfbuAUW2OzCfBfBaM2MEqmWxuCFFg XK0bhwtlPyt9U1FFnPu6fBlT0EYwDNA+nnRx+VoDNNisSjnm0P08KRPKdzg3HLaFPdbR VsmziG7QH7OE+chu6DNa09JN8W4Lb3D6vLO2VUkzhyD3cYJ8cqVtMlAnavvCWnUyCmhu MfIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:references:in-reply-to :message-id:date:to:from:domainkey-signature:dkim-signature :delivered-to:arc-authentication-results; bh=i9sb4u6uw2piQmc2B4uMYg01IlKnP41LEzjTBO81pRY=; b=UAYSHu9MAULl2QWF0L/xdSo/vJ4oujhab0MEG+Kga1+b2+8lvtC3MIGewHCGb3eYla gevxE4SesY9DfW69TJERlPVdX/nPYaF8/RiKDq8X1oL4V9z3UgRY57KhdbFMcMnfrcfV ZxXBiWlJ1pMTsiU12EC7qUg2N+AAewFMA7mwSAbXv8ikenGoZeeHFqkLqklni8xBfWNh L/Kt1s7pk4Zmp70kbsPY6rMad27irj2YZgLrKj2EzPFFbBQ6VeScdei/msPcLS70WbSy YF82sg7aPdy1tyqF3skEdfOHygKB4xD/ZnZJeF1G4QoOg4LeSIAaND77IjQvpuntMixz DNYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@pkh.me header.s=selector1 header.b=PAZ/b66y; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id d125si3094537wmc.14.2017.08.30.05.09.46; Wed, 30 Aug 2017 05:09:47 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@pkh.me header.s=selector1 header.b=PAZ/b66y; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id A17C668A2BD; Wed, 30 Aug 2017 15:09:29 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from golem.pkh.me (LStLambert-657-1-117-164.w92-154.abo.wanadoo.fr [92.154.28.164]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C4C2F68A2B0 for ; Wed, 30 Aug 2017 15:09:22 +0300 (EEST) Received: from golem.pkh.me (localhost.localdomain [127.0.0.1]) by golem.pkh.me (OpenSMTPD) with ESMTP id 3b00646d; Wed, 30 Aug 2017 12:09:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pkh.me; h=from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=selector1; bh=/A3qFDL ZJbG22vN0fH34Q5MShVI=; b=PAZ/b66yBplXCE1HBRS+KGfQ0PTtlUabTcfePPX ABnFh+m+r24QlZflu4vHLeWxSkesJWGhsr5hn3OvCyj7NzNYWXTgvc3v5tjx1yGk Z5gONHq1YxEOTGvOPuNPSpmJ935B9mSestc9hdbcT43MEzNTt+wOvM6sRnVr9+27 Rm//hc1dm6JyTikD0lh7QUUQaqF0dm+csVYSGegeKDfwrKJJh4BObrV/JFsEW/3x 6cOtOkPijY0R/K9gmX8PE7L7Pj6wg36NoFi8+yqhfL7uxgsZgvX8Vf2pkb/jKaG+ 2/QC85m+eHD3wcs6byX7bEPrgwv8H8a8npE0pqzyVjWnNCQ== DomainKey-Signature: a=rsa-sha1; c=nofws; d=pkh.me; h=from:to:cc:subject :date:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=selector1; b=R p3fmlVe21nVJju+eSwbJ7IASnS4yIz2Dq1IStqwmqiykAB4q26CBuwCB7l3IzptW W46UG/dOGFywuR+Jxk9sBWQZClUXjMAZ1eiB4xwcCJRyuuKxJNgd5vWx5aEYRxXZ nDUt/rmNUaqyCOv9ObTVE4jRmDzAlwadpTrAibc8A77+167N7iQgxqyJXUUHUlo7 Hj2ktN39AkHgtkhwpThai+qwNdMUl+KNyhDCA4dvyBWQDR4CNBglgbKcL50DWUMV BJfwfGkbgPjzDjVLrpmuqCiclkhrwTHErZQRkiz6HUTeiWZPMcWJbRvaQ81X5Q1s 1HEzk/mu50Rv489ATyT3A== Received: from localhost (golem.pkh.me [local]) by golem.pkh.me (OpenSMTPD) with ESMTPA id 7ce91a7b; Wed, 30 Aug 2017 12:09:17 +0000 (UTC) From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= To: ffmpeg-devel@ffmpeg.org Date: Wed, 30 Aug 2017 14:09:01 +0200 Message-Id: <20170830120915.13050-3-u@pkh.me> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170830120915.13050-1-u@pkh.me> References: <20170830120915.13050-1-u@pkh.me> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 02/16] build: treat crystalhd like other hwaccels X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" From: Clément Bœsch --- configure | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 44e45791c2..a9932aeba6 100755 --- a/configure +++ b/configure @@ -1532,7 +1532,6 @@ EXTERNAL_LIBRARY_LIST=" $EXTERNAL_LIBRARY_VERSION3_LIST $EXTERNAL_LIBRARY_GPLV3_LIST chromaprint - crystalhd gcrypt gnutls jni @@ -1589,6 +1588,7 @@ EXTERNAL_LIBRARY_LIST=" " HWACCEL_AUTODETECT_LIBRARY_LIST=" audiotoolbox + crystalhd cuda cuvid d3d11va @@ -3597,7 +3597,7 @@ done enable_weak audiotoolbox # Enable hwaccels by default. -enable_weak d3d11va dxva2 vaapi vda vdpau videotoolbox_hwaccel xvmc +enable_weak crystalhd d3d11va dxva2 vaapi vda vdpau videotoolbox_hwaccel xvmc enable_weak xlib enable_weak cuda cuvid nvenc vda_framework videotoolbox videotoolbox_encoder @@ -5808,7 +5808,6 @@ enabled bzlib && check_lib bzlib bzlib.h BZ2_bzlibVersion -lbz2 enabled lzma && check_lib lzma lzma.h lzma_version_number -llzma check_lib libm math.h sin -lm && LIBM="-lm" -disabled crystalhd || check_lib crystalhd "stdint.h libcrystalhd/libcrystalhd_if.h" DtsCrystalHDVersion -lcrystalhd atan2f_args=2 copysign_args=2 @@ -6180,6 +6179,8 @@ enabled vdpau && enabled vdpau && check_lib vdpau_x11 "vdpau/vdpau.h vdpau/vdpau_x11.h" vdp_device_create_x11 -lvdpau -lX11 +enabled crystalhd && check_lib crystalhd "stdint.h libcrystalhd/libcrystalhd_if.h" DtsCrystalHDVersion -lcrystalhd + if enabled x86; then case $target_os in mingw32*|mingw64*|win32|win64|linux|cygwin*)