From patchwork Fri Jul 19 20:19:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 169259 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp4289239ilk; Fri, 19 Jul 2019 13:20:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqzG75iil3RI4NXmFpEV7pKxjP0juJmB4VowEM6/DAsqEJeLF6m4Eh2wwQVCShu41pThUnsP X-Received: by 2002:a63:fc09:: with SMTP id j9mr39520643pgi.377.1563567609175; Fri, 19 Jul 2019 13:20:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563567609; cv=none; d=google.com; s=arc-20160816; b=lqc5i2+yQqajSUiJYZeBagy9XpwKJf9z8hCZ68TUInNT8l87c0E3GIWv8AzrdX9hch wFYgsCj0FPCXig0uYA3ObvHjQlpI5fJFUaLB+ldxK2I7Lz3DgW8DM7rspcurK4VMRUNc u3ria8fcmaW8GuOHEXkHASchtmX8EiDpXGgLICw+DVwXcqNXPdF2QlpW+d9FJkH9VPyR PS8/K++RTdWmj7kaINpylvSk+fR7/lXV4j9N/ss9sIJePOjwczhsrYvNkhb4kSHDOB3P yXOktS5dMdS8Y4x+XRi7ufKQ8tQ1uxpdee9MzmS0AaPr/pd/qPbDaW0vREx7I+ZDrOUU yKmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=HzaJcED1OZ15C0s2OlWaEARrS6W2EkHszMgSsmy+ZwY=; b=BQUYFZL3SveK8i+3c+oXxsrkiT98CoFIZZWnRpKz3HG7+Vk6RGo3fH57HshlEFANht b4NekYQ6R1QL/QEz1hBJKF5XtKU/WsoKzfr/zrPtmNBpPK6e5X0CAPJQqltKwGr3pvvG S1v18Du1gDTuVQWAqpjkkZq7caoupTVfcZ2oaMyqLuYOj/Vzw6IJ1L2hlYu+L4HnUgSy KNwdZAyMIeF0QxahgLAZWNgJo4VpllT9T/CutULyHZB2fCVxjFqH1vWLrz444/sU08uL EB4eKkcmYtW3akPxA83/vYJghjOc5RbnON+QwOTM5y4rSZ8B3ImKWGyV1UOiqjAJd4Ae XXTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=s0qi6cna; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id j37si29408670plb.58.2019.07.19.13.20.08; Fri, 19 Jul 2019 13:20:09 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=s0qi6cna; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id E51197F1D3; Fri, 19 Jul 2019 20:20:04 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by mail.openembedded.org (Postfix) with ESMTP id 022127D9D5 for ; Fri, 19 Jul 2019 20:20:02 +0000 (UTC) Received: by mail-wm1-f66.google.com with SMTP id l2so30089048wmg.0 for ; Fri, 19 Jul 2019 13:20:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=PQsgv3DtIn9oMjW6TIC1Od6RlZya/N1keJO1HDlyc7s=; b=s0qi6cnaub+Lyj3niky5wzcxMZi0S6Os6qoSnm10XfLiAqk1Om8kENb9Vs2tFPS3s1 SPv9j3kmmsi89p2lRSGGQXovfi3cnm6rcuK3gk9Hoci8kt9WrqiZJKTkJYzkadxqeWB1 E9mDqyp2Wyg8gdEPhBWtzSXwBFT46fjzZPghm+DAwN4SRLKkRkC8duPer0azfweYAad9 y82B2F+99KmB1DMSRZCDyr0ZYQdkMvbbasC0Bp/z3qiw6ZcPMRKWLeIORmu5FB746GZv TvpXsDv+V4KIN6J4nXl0kFVBENppCyw3BFc4QnBfP55Ywhmw948qVuInA/ngDz0+67xv ZovQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=PQsgv3DtIn9oMjW6TIC1Od6RlZya/N1keJO1HDlyc7s=; b=ofYtQb/kTmz7zXO/zqcewylUgVbf73htbwHTIlsYfabL8Y/WiCBmvZvrj9vJ6U/P8m tQGBF4MuiRRa/pyFWMoJZPPHQDdXBO3MmOuxqmZPff2lvQZon+Jcu3QvBw/WlJMZ5xC0 5YS12ebElHf9HNS4JtxHeuiRUBL/qNm5WJV2YdBwxYFXWaCUnQB9hipL9BovOhO+DxNl NHvkh9R+znizGUgHPUjBc7McKCPnvGHCVf8AjQ5uwLpSqf/lYfy+yqDFQAcb29UGqTwM ACCQmb0DlwlqBc2NP0+Jxj44yqrX1NxhM/ltY9maUySF7kHvjJbHDGC/O3CJz7LUZXIW 5vIA== X-Gm-Message-State: APjAAAWwBDDNnw3Cla42Er9Qe+CxIWbsLAfa3tECUVG8pPwt5mYUHTWB G6/82TSSnz3syAHl7ouRgNd2Zf+GNbc= X-Received: by 2002:a7b:c954:: with SMTP id i20mr50420134wml.169.1563567603186; Fri, 19 Jul 2019 13:20:03 -0700 (PDT) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id t13sm38854282wrr.0.2019.07.19.13.20.01 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 19 Jul 2019 13:20:01 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Fri, 19 Jul 2019 21:19:57 +0100 Message-Id: <20190719201958.19700-1-ross.burton@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [OE-core] [PATCH 1/2] ffmpeg: don't use hardcoded lookup tables X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org ffmpeg can generate lookup tables at build time instead of runtime, but this is no longer a recommended option. The size impact is significant (12% of the total libavcodec size, nearly 2MB), the runtime impact of dynamic tables isn't too costly, and only a few codecs actually use the pre-generated tables (MP3, notably). Signed-off-by: Ross Burton --- meta/recipes-multimedia/ffmpeg/ffmpeg_4.1.3.bb | 1 - 1 file changed, 1 deletion(-) -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.1.3.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.1.3.bb index 147388d9b7c..6d230c33169 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.1.3.bb +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.1.3.bb @@ -106,7 +106,6 @@ EXTRA_OECONF = " \ --extra-cflags="${TARGET_CFLAGS} ${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}" \ --extra-ldflags="${TARGET_LDFLAGS}" \ --sysroot="${STAGING_DIR_TARGET}" \ - --enable-hardcoded-tables \ ${EXTRA_FFCONF} \ --libdir=${libdir} \ --shlibdir=${libdir} \