From patchwork Sun Mar 30 18:36:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernd Kuhls X-Patchwork-Id: 335142 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id F07A3140080 for ; Mon, 31 Mar 2014 05:37:08 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id E2CD18AF9D; Sun, 30 Mar 2014 18:37:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L7ZwDiFszBDq; Sun, 30 Mar 2014 18:37:07 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7A9078B0A8; Sun, 30 Mar 2014 18:37:07 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 989571BF859 for ; Sun, 30 Mar 2014 18:37:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 96D3B8AF9D for ; Sun, 30 Mar 2014 18:37:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lTJ-s7DWgCys for ; Sun, 30 Mar 2014 18:37:03 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mailout11.t-online.de (mailout11.t-online.de [194.25.134.85]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 349AA89071 for ; Sun, 30 Mar 2014 18:37:03 +0000 (UTC) Received: from fwd17.aul.t-online.de (fwd17.aul.t-online.de [172.20.27.64]) by mailout11.t-online.de (Postfix) with SMTP id 49582877B2 for ; Sun, 30 Mar 2014 20:37:01 +0200 (CEST) Received: from fli4l.lan.fli4l (rw8Ua0ZBZhU7prqKF6dPKkSmUeWJRwkmVgcazt2aZhxlBIEYgZ2l30GgMdjDDKfZk9@[79.247.140.8]) by fwd17.t-online.de with esmtp id 1WUKbL-0bWLku0; Sun, 30 Mar 2014 20:36:59 +0200 Received: from [192.168.1.122] (port=35950 helo=fli4lbuild64.lan.fli4l) by fli4l.lan.fli4l with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.80.1) (envelope-from ) id 1WUKbK-0000NV-Rv; Sun, 30 Mar 2014 20:36:59 +0200 From: Bernd Kuhls To: buildroot@buildroot.org Date: Sun, 30 Mar 2014 20:36:47 +0200 Message-Id: <1396204609-5042-6-git-send-email-bernd.kuhls@t-online.de> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1396204609-5042-1-git-send-email-bernd.kuhls@t-online.de> References: <1396204609-5042-1-git-send-email-bernd.kuhls@t-online.de> X-ID: rw8Ua0ZBZhU7prqKF6dPKkSmUeWJRwkmVgcazt2aZhxlBIEYgZ2l30GgMdjDDKfZk9 X-TOI-MSGID: 88acad35-711a-4e96-a511-9e374e9671ba Cc: Bernd Kuhls Subject: [Buildroot] [PATCH 6/8] 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 a067fe6..0084a53 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 \ @@ -217,6 +216,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