From patchwork Tue May 26 08:19:30 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Bisson X-Patchwork-Id: 476402 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id D22DF140E1E for ; Tue, 26 May 2015 18:20:03 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id BA1B595A79; Tue, 26 May 2015 08:20:01 +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 8ENlsZ4h5MF6; Tue, 26 May 2015 08:20:01 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id DE97095A24; Tue, 26 May 2015 08:20:00 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id 4105B1C227F for ; Tue, 26 May 2015 08:19:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 3C2C8915A8 for ; Tue, 26 May 2015 08:19:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s+uwMCsCQx44 for ; Tue, 26 May 2015 08:19:57 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by whitealder.osuosl.org (Postfix) with ESMTPS id B518B915B1 for ; Tue, 26 May 2015 08:19:56 +0000 (UTC) Received: by wicmx19 with SMTP id mx19so57241991wic.0 for ; Tue, 26 May 2015 01:19:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=qj7lGk7crx0xgxLfZS1GOL8VM+vUe02fAolKMeusB4U=; b=mat6UH5UiNhimxjbRTnZOk7SXSIiYrZu6xnr9/RN+QrQD8mrWcKvQJk4qzxbaLXv0W ohPdkPSZCNKCON3igWm9Sx1BA3YHmoOLIV/AJnLgKL1bgpx1+N+bwW3WSS1YjpzRNKjV g4UoBaZjSuG663PRIMk7S8zWCxqO5EjkoAdXZ2PDPW4hz1JSQDEQTBUAPj5WeDtoTWYi oJhJcHr5gIhyCg1TAmVYUSklRkxa74Rt0Ov7/rjDVNvmoMbHGzswYAtbuTvOCl/GAHI1 tmMsLuQf5ldcjJhdTrlloZTL06gqRCN0uBlvbDdFo05DOLfZj3fA1WcwCQuKznJqjCWJ nkFQ== X-Gm-Message-State: ALoCoQnHs3/b3RfD3xmwYWnuxsdnBz0nVZghQauxlvPhYTxSNACatPDuf9SrcaLgTpBAD/SxRdwk X-Received: by 10.195.13.113 with SMTP id ex17mr35480316wjd.17.1432628395255; Tue, 26 May 2015 01:19:55 -0700 (PDT) Received: from t450s.lan (89-92-157-132.hfc.dyn.abo.bbox.fr. [89.92.157.132]) by mx.google.com with ESMTPSA id a18sm20468582wja.46.2015.05.26.01.19.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 26 May 2015 01:19:54 -0700 (PDT) From: Gary Bisson To: buildroot@busybox.net Date: Tue, 26 May 2015 10:19:30 +0200 Message-Id: <1432628382-16799-2-git-send-email-gary.bisson@boundarydevices.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1432628382-16799-1-git-send-email-gary.bisson@boundarydevices.com> References: <1432628382-16799-1-git-send-email-gary.bisson@boundarydevices.com> Cc: thomas.petazzoni@free-electrons.com, jezz@sysmic.org, luca@lucaceresoli.net Subject: [Buildroot] [PATCH v2 01/13] libfslvpuwrap: bump version to 1.0.57 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" New feature for 1.0.57 version: * Add workaround for rmvb decode timeout issue when no enough frame buffer. * Re-enable the detection of resolution change due to the latest firmware. Signed-off-by: Gary Bisson --- Hi all, This patch is based on the Yocto equivalent: https://github.com/Freescale/meta-fsl-arm/commit/b1edff7ec98fec1c969f6f2736a79d38aee75580 The previous patch applied can now be removed since it has been integrated in ver 1.0.51 (see Changelog). This package has been implicitely tested through gstreamer as the plugins rely on it for vpu decoding: # gst-launch-0.10 playbin uri=file:///root/tears_of_steel_1080p.webm # gst-launch-1.0 playbin uri=file:///root/tears_of_steel_1080p.webm # gst-launch-1.0 filesrc location=/root/tears_of_steel_1080p.webm ! \ matroskademux ! imxvpudec ! imxipuvideosink Regards, Gary --- ...-fix-tests-of-return-value-from-IOGetVirt.patch | 44 ---------------------- package/libfslvpuwrap/libfslvpuwrap.mk | 2 +- 2 files changed, 1 insertion(+), 45 deletions(-) delete mode 100644 package/libfslvpuwrap/0001-vpu_wrapper-fix-tests-of-return-value-from-IOGetVirt.patch diff --git a/package/libfslvpuwrap/0001-vpu_wrapper-fix-tests-of-return-value-from-IOGetVirt.patch b/package/libfslvpuwrap/0001-vpu_wrapper-fix-tests-of-return-value-from-IOGetVirt.patch deleted file mode 100644 index 3927430..0000000 --- a/package/libfslvpuwrap/0001-vpu_wrapper-fix-tests-of-return-value-from-IOGetVirt.patch +++ /dev/null @@ -1,44 +0,0 @@ -From 7ca66c10c05168c7d342df7c7a70d4a1ae0629f7 Mon Sep 17 00:00:00 2001 -From: Eric Nelson -Date: Sat, 28 Jun 2014 09:45:09 -0700 -Subject: [PATCH] vpu_wrapper: fix tests of return value from IOGetVirtMem - -IOGetVirtMem() returns a pointer or specifically -1 (MAP_FAILED) -in the case of failure. - -This problem is being discussed upstream at -https://lists.yoctoproject.org/pipermail/meta-freescale/2014-June/008993.html. - -Upstream-Status: Pending - -Signed-off-by: Laci Tele -Signed-off-by: Eric Nelson ---- - vpu_wrapper.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/vpu_wrapper.c b/vpu_wrapper.c -index 9249174..148c5df 100755 ---- a/vpu_wrapper.c -+++ b/vpu_wrapper.c -@@ -6653,7 +6653,7 @@ VpuDecRetCode VPU_DecGetMem(VpuMemDesc* pInOutMem) - return VPU_DEC_RET_FAILURE; - } - ret=IOGetVirtMem(&buff); -- if(ret==0) //if(ret!=RETCODE_SUCCESS) -+ if(ret == -1) //if(ret==MAP_FAILED) - { - VPU_ERROR("%s: get virtual memory failure: size=%d, ret=%d \r\n",__FUNCTION__,buff.size,ret); - return VPU_DEC_RET_FAILURE; -@@ -8277,7 +8277,7 @@ VpuEncRetCode VPU_EncGetMem(VpuMemDesc* pInOutMem) - return VPU_ENC_RET_FAILURE; - } - ret=IOGetVirtMem(&buff); -- if(ret==0) //if(ret!=RETCODE_SUCCESS) -+ if(ret == -1) //if(ret==MAP_FAILED) - { - VPU_ENC_ERROR("%s: get virtual memory failure: size=%d, ret=%d \r\n",__FUNCTION__,buff.size,(UINT32)ret); - return VPU_ENC_RET_FAILURE; --- -1.9.1 - diff --git a/package/libfslvpuwrap/libfslvpuwrap.mk b/package/libfslvpuwrap/libfslvpuwrap.mk index 01b2999..625f586 100644 --- a/package/libfslvpuwrap/libfslvpuwrap.mk +++ b/package/libfslvpuwrap/libfslvpuwrap.mk @@ -4,7 +4,7 @@ # ################################################################################ -LIBFSLVPUWRAP_VERSION = 1.0.46 +LIBFSLVPUWRAP_VERSION = 1.0.57 LIBFSLVPUWRAP_SITE = $(FREESCALE_IMX_SITE) LIBFSLVPUWRAP_SOURCE = libfslvpuwrap-$(LIBFSLVPUWRAP_VERSION).bin LIBFSLVPUWRAP_DEPENDENCIES = imx-vpu