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} \ From patchwork Fri Jul 19 20:19:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 169260 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp4289445ilk; Fri, 19 Jul 2019 13:20:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqx+F8Kjtp8s7i2324aUvsf2Ucd5clAFpmwLViZLehcAUFHBF4LgCO8n27NgbMe+ZhA93x5P X-Received: by 2002:a17:902:ac85:: with SMTP id h5mr59602531plr.198.1563567624334; Fri, 19 Jul 2019 13:20:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563567624; cv=none; d=google.com; s=arc-20160816; b=wOs9Xv3xe6qX+rn/+Dvkuvco2qg2P7yKpGJfuz8fZh52W+cPFzUG9mFJcUO9tlAJDV ZkOs6O0VkIH7f494XfhLxN9bclrCm1qPzsq/AdThqe0ynQ6ZiWwt7Vok6FQ4p+pEdRBE anac4/qRQ0vVUKM7x+Y31lYvNSd/OkyQMYCVMyQvIwXK/pdL7lgkOFT3LNNxsKtqPY4t dda2vzCHLgoNUK+ODUZnZRguyYZWnU7ALC/ADLKySLsICuxftuWxnOZ7x7EHGHCUobGA A34fhZNpU/IaR0qioz15AKvha8gXnUD7OMU5L9TdU8+DAKgMVgIsgo7pHTFTHJYu5Clo fVfA== 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:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=SHPL4fH5TWxGBxPJ4twmAvlF2/Ch2+S3rrO1wuyVJ0k=; b=mKB3W6dQTVB3sCeQ924HMxWCH2KQCVnXFKHwb/I6lArV4QsRiLwceAx4vKNIx4AJT5 JZHlc41BtFwIxvBHRaVR3xvurWPqgrOsjTaRd4G1OdblycmQKrf76+L1SaNko2DMj2GP XwieI2ZnfR3kmBcrgCkFqYRzXFYIGsNr6ysyN2nkpiar66A7Dz5Ly3LPQ+bs61sjIrOt qCkHvhn9zP24hqLNQiCJgNdVGr0fiQrai2vh9UfcxVEYKbq8OBYGogD8gyjQllp8Nnhe eUwKV9B6CCdbnyRk09OKk3VoJp6qiEDQetF4IPr2uVhM5tk0BKYMa4rVDm4UQrurCIWl NrDQ== 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=E03jctec; 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 f96si3760579plb.339.2019.07.19.13.20.24; Fri, 19 Jul 2019 13:20:24 -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=E03jctec; 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 5F4767F1D5; Fri, 19 Jul 2019 20:20:21 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by mail.openembedded.org (Postfix) with ESMTP id BFE3A7D9D5 for ; Fri, 19 Jul 2019 20:20:03 +0000 (UTC) Received: by mail-wm1-f65.google.com with SMTP id u25so19730773wmc.4 for ; Fri, 19 Jul 2019 13:20:05 -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:in-reply-to:references:mime-version :content-transfer-encoding; bh=pcJ0/kSEg6mqLSSx0YArmBVtx59b2zSv3s3bSyXAHIE=; b=E03jctecm4Dej78xhoiq4tiFrDZ0ih/1WAHx+R0BPY9MLiH4PvwoFahxYUKS8v58OV qdd2XLjlTRGhYKkoWs1nlRwiEgYpBbwZuRdocCFkLeUJafbifO/WbWSrisUsm+AZhBTB CqmGCz0FOFjW18l/sL34MjPOe1aIapz2agq0lnrJG3IvwZBODuhWhDnT69CztTxLYN/u qOoLF6kzOnZqhYgNis9N+ynx+LhMYpwxg8JUGjfhqB03YcpLOadUrfjIK1+2uWGKmuSm FOSFQJeXKKjtLmT3yn5LFdQKjoX1SPeFZZe5C2AHLhYZ00xArQwhKBM+WC5BpfOl1sYX yAJQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=pcJ0/kSEg6mqLSSx0YArmBVtx59b2zSv3s3bSyXAHIE=; b=qquDCJz3xhoEm9DBiAVkrPzRpDQQH1srUv+nSFFfW3OPkxz4ySKlHpGEEeK1AneZwL fJ1EnjZFLouQ2WE8sSWPh0bS7ePjTNM7zdofFlpghYYEYwhpDNJ5mwN4Fsb/10Y8kstG 5Pr/CX0ZDWp5TGZdk/MdUNj9fTM65yP3k9+ZLBKAPVBI0Q2B5hP+WpQsgnmj2w8sMCiO h+COYvHovzAPDwmZ+ThsU3ufqa+dIJePo1JnfgzEflUfiyBxI4ISPWAfEK16PMH623Lw wSy0+IFwBX4Rcale0JLbOQgihaquf8oGdDY+0aAK7dulI4c/LWZOxgNTG/V2D/cZ+KM3 pDsQ== X-Gm-Message-State: APjAAAUBbQdiyVmbwQsYmum7HFQFULGN1WZ3gkUGn8HZ4vU4sis91HHR hRKjYmIMCp9iZdo6813wKN7NXxLJdlg= X-Received: by 2002:a7b:c632:: with SMTP id p18mr50857661wmk.114.1563567604271; Fri, 19 Jul 2019 13:20:04 -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.03 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 19 Jul 2019 13:20:03 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Fri, 19 Jul 2019 21:19:58 +0100 Message-Id: <20190719201958.19700-2-ross.burton@intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190719201958.19700-1-ross.burton@intel.com> References: <20190719201958.19700-1-ross.burton@intel.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 2/2] ffmpeg: upgrade to 4.1.4 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 Add a PACKAGECONFIG for the use of XCB and enable by default if X11 is in DISTRO_FEATURES. Signed-off-by: Ross Burton --- .../ffmpeg/{ffmpeg_4.1.3.bb => ffmpeg_4.1.4.bb} | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) rename meta/recipes-multimedia/ffmpeg/{ffmpeg_4.1.3.bb => ffmpeg_4.1.4.bb} (96%) -- 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.4.bb similarity index 96% rename from meta/recipes-multimedia/ffmpeg/ffmpeg_4.1.3.bb rename to meta/recipes-multimedia/ffmpeg/ffmpeg_4.1.4.bb index 6d230c33169..884973d237c 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.1.3.bb +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.1.4.bb @@ -26,8 +26,8 @@ LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz \ file://mips64_cpu_detection.patch \ " -SRC_URI[md5sum] = "dcc20dd2682ea01c678b7b8324339d43" -SRC_URI[sha256sum] = "0c3020452880581a8face91595b239198078645e7d7184273b8bcc7758beb63d" +SRC_URI[md5sum] = "5307931aeb7aaee5e1509d9996040661" +SRC_URI[sha256sum] = "f1f049a82fcfbf156564e73a3935d7e750891fab2abf302e735104fd4050a7e1" # Build fails when thumb is enabled: https://bugzilla.yoctoproject.org/show_bug.cgi?id=7717 ARM_INSTRUCTION_SET_armv4 = "arm" @@ -44,7 +44,7 @@ inherit autotools pkgconfig PACKAGECONFIG ??= "avdevice avfilter avcodec avformat swresample swscale postproc avresample \ bzlib gpl lzma theora x264 \ - ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xv', '', d)}" + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xv xcb', '', d)}" # libraries to build in addition to avutil PACKAGECONFIG[avdevice] = "--enable-avdevice,--disable-avdevice" @@ -73,6 +73,7 @@ PACKAGECONFIG[vaapi] = "--enable-vaapi,--disable-vaapi,libva" PACKAGECONFIG[vdpau] = "--enable-vdpau,--disable-vdpau,libvdpau" PACKAGECONFIG[vpx] = "--enable-libvpx,--disable-libvpx,libvpx" PACKAGECONFIG[x264] = "--enable-libx264,--disable-libx264,x264" +PACKAGECONFIG[xcb] = "--enable-libxcb,--disable-libxcb,libxcb" PACKAGECONFIG[xv] = "--enable-outdev=xv,--disable-outdev=xv,libxv" # Check codecs that require --enable-nonfree @@ -89,10 +90,6 @@ EXTRA_OECONF = " \ --enable-pic \ --enable-shared \ --enable-pthreads \ - --disable-libxcb \ - --disable-libxcb-shm \ - --disable-libxcb-xfixes \ - --disable-libxcb-shape \ ${@bb.utils.contains('USE_NONFREE', 'yes', '--enable-nonfree', '', d)} \ \ --cross-prefix=${TARGET_PREFIX} \