From patchwork Sun Apr 15 20:51:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Niedermayer X-Patchwork-Id: 8454 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.2.1.85 with SMTP id c82csp141240jad; Sun, 15 Apr 2018 13:52:08 -0700 (PDT) X-Google-Smtp-Source: AIpwx494/FImqRHeqLcccVqL7LqSQh1WaqaRHL25YOI1rEo0BfIhu6UhHjSlkfDJ5nQfUVsq47Ro X-Received: by 10.28.206.7 with SMTP id e7mr4400505wmg.77.1523825528540; Sun, 15 Apr 2018 13:52:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523825528; cv=none; d=google.com; s=arc-20160816; b=uY/rxAgJqCKF6pUq9oC8snB84y5F0rJELA5IQDInmEhOSkQTqTx+WBRoNA3p2/7sJg Dz4d6/HyBScQBzjH9sWSsOwRrl9lKZRQ88OmZbvUrWJX1syGzFXlIHHWvU9QGcGXt6KH SMbMP56B3JdijwZTYQmUSD62lUuQBycPCSzmZtgohwVykfwMYWHKC0+Bm9vg4Nf7YDie KXsYM9R4Q34yUOdhGcGxl8Gl9ZzaAApZCSE/nzoIb3z3nrUfMVz4FGfiYKFyJE2m77W3 UmqtDlJJFx/CuzccbNMXPItNKP8qPza+9ojZ0YK+vmhKSGu58KgCYffIysRLJZghyWt5 oHCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:delivered-to :arc-authentication-results; bh=HuPMERmG9Okp0aztUZ+5SzhZQMsQi12r1GFv3gol0QI=; b=XjpQRiHbgLdpnxoLLkINS9DqQM03+7OGoQeiP+96Z6WIv3uaDIvrDLIkiOkBkqhF0H ALawJ08GJ9Yzt1dYBx5iEFEu5GgQL+085K4Vgot56DNt/ytNALEw/gWpoDlSlcW9RDjh GwkdFbgKaizFZRLEYZd2Il8AnSyzqIAbhpvqbsolJVHzz9fKg+ECHCP5D6act1j0We3E TBJUARdlUVO6SASo/q0tA60Ds8rgoGhS49IOdi2K8ILTwNmSofRJ6vNqmUXY7Xrc7JxH ZfDWU5YGe4yZfguvqfQNMAw5d75Qcp6t3vfDasLKvaJWHoKABiNl5wdCTfbS+CWZSWab J10A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id r76si4042270wmd.2.2018.04.15.13.52.07; Sun, 15 Apr 2018 13:52:08 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 38C56689C50; Sun, 15 Apr 2018 23:51:40 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from vie01a-dmta-pe06-2.mx.upcmail.net (vie01a-dmta-pe06-2.mx.upcmail.net [84.116.36.15]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id EFB716898CE for ; Sun, 15 Apr 2018 23:51:33 +0300 (EEST) Received: from [172.31.216.44] (helo=vie01a-pemc-psmtp-pe02) by vie01a-dmta-pe06.mx.upcmail.net with esmtp (Exim 4.88) (envelope-from ) id 1f7ocx-0004Ry-FC for ffmpeg-devel@ffmpeg.org; Sun, 15 Apr 2018 22:51:59 +0200 Received: from localhost ([213.47.41.20]) by vie01a-pemc-psmtp-pe02 with SMTP @ mailcloud.upcmail.net id akrv1x00m0S5wYM01krwNn; Sun, 15 Apr 2018 22:51:56 +0200 X-SourceIP: 213.47.41.20 From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Sun, 15 Apr 2018 22:51:02 +0200 Message-Id: <20180415205102.32095-1-michael@niedermayer.cc> X-Mailer: git-send-email 2.17.0 Subject: [FFmpeg-devel] [PATCH] tests/checkasm/aacpsdsp: Increase EPS for interpolate so that the test passes on kfreebsd X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" The value is minimal, 0.11 fails Signed-off-by: Michael Niedermayer --- tests/checkasm/aacpsdsp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/checkasm/aacpsdsp.c b/tests/checkasm/aacpsdsp.c index ea68b39fa9..9e30eaa497 100644 --- a/tests/checkasm/aacpsdsp.c +++ b/tests/checkasm/aacpsdsp.c @@ -33,6 +33,7 @@ } while (0) #define EPS 0.005 +#define EPS2 0.12 static void test_add_squares(void) { @@ -201,8 +202,8 @@ static void test_stereo_interpolate(PSDSPContext *psdsp) call_ref(l0, r0, h, h_step, BUF_SIZE); call_new(l1, r1, h, h_step, BUF_SIZE); - if (!float_near_abs_eps_array((float *)l0, (float *)l1, EPS, BUF_SIZE * 2) || - !float_near_abs_eps_array((float *)r0, (float *)r1, EPS, BUF_SIZE * 2)) + if (!float_near_abs_eps_array((float *)l0, (float *)l1, EPS2, BUF_SIZE * 2) || + !float_near_abs_eps_array((float *)r0, (float *)r1, EPS2, BUF_SIZE * 2)) fail(); memcpy(l1, l, BUF_SIZE * 2 * sizeof(INTFLOAT));