From patchwork Sat May 17 11:39:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 349879 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id CF0AB1400BE for ; Sat, 17 May 2014 21:41:27 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id DDEC430462; Sat, 17 May 2014 11:41:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wNrg6LLztZiJ; Sat, 17 May 2014 11:41:22 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id CCA44315B8; Sat, 17 May 2014 11:40:43 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id D3F751C2A55 for ; Sat, 17 May 2014 11:40:25 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id D1CE389C61 for ; Sat, 17 May 2014 11:40:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MqzooiyJkMcR for ; Sat, 17 May 2014 11:40:21 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout02.t-online.de (mailout02.t-online.de [194.25.134.17]) by hemlock.osuosl.org (Postfix) with ESMTPS id 51B5089BF8 for ; Sat, 17 May 2014 11:40:21 +0000 (UTC) Received: from fwd25.aul.t-online.de (fwd25.aul.t-online.de [172.20.26.130]) by mailout02.t-online.de (Postfix) with SMTP id 19E5A3ADB06 for ; Sat, 17 May 2014 13:39:01 +0200 (CEST) Received: from fli4l.lan.fli4l (rPElmwZSZh29aZLeLJCrxxvcuotU1RDNyHufy2rFlR5tjBLJa67NoOV2fYBT0FBgnd@[79.247.173.106]) by fwd25.t-online.de with esmtp id 1WlcyM-0zxEBc0; Sat, 17 May 2014 13:40:14 +0200 Received: from fli4lbuild64.lan.fli4l ([192.168.1.51]:33082) by fli4l.lan.fli4l with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.80.1) (envelope-from ) id 1WlcyL-0001Wl-Hd; Sat, 17 May 2014 13:40:13 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sat, 17 May 2014 13:39:45 +0200 Message-Id: <1400326806-16428-11-git-send-email-bernd.kuhls@t-online.de> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1400326806-16428-1-git-send-email-bernd.kuhls@t-online.de> References: <1400326806-16428-1-git-send-email-bernd.kuhls@t-online.de> X-ID: rPElmwZSZh29aZLeLJCrxxvcuotU1RDNyHufy2rFlR5tjBLJa67NoOV2fYBT0FBgnd X-TOI-MSGID: 3ffc00e3-56eb-482f-833e-3bd9cb59da4c Cc: Bernd Kuhls Subject: [Buildroot] [PATCH v7 10/31] ffmpeg: Add libva support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: Bernd Kuhls --- package/ffmpeg/ffmpeg.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/package/ffmpeg/ffmpeg.mk b/package/ffmpeg/ffmpeg.mk index f8c1526..1be3575 100644 --- a/package/ffmpeg/ffmpeg.mk +++ b/package/ffmpeg/ffmpeg.mk @@ -41,7 +41,6 @@ FFMPEG_CONF_OPT = \ --enable-mdct \ --enable-rdft \ --disable-crystalhd \ - --disable-vaapi \ --disable-vdpau \ --disable-dxva2 \ --enable-runtime-cpudetect \ @@ -209,6 +208,13 @@ FFMPEG_CONF_OPT += \ --enable-encoder=libvorbis endif +ifeq ($(BR2_PACKAGE_LIBVA),y) +FFMPEG_CONF_OPT += --enable-vaapi +FFMPEG_DEPENDENCIES += libva +else +FFMPEG_CONF_OPT += --disable-vaapi +endif + ifeq ($(BR2_X86_CPU_HAS_MMX),y) FFMPEG_CONF_OPT += --enable-yasm FFMPEG_DEPENDENCIES += host-yasm