From patchwork Mon Jun 13 16:36:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Swinney, Jonathan" X-Patchwork-Id: 34748 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:1a22:b0:84:42e0:ad30 with SMTP id cj34csp591371pzb; Mon, 13 Jun 2022 09:36:37 -0700 (PDT) X-Google-Smtp-Source: AGRyM1s6ZvkbiTozlCwvdpnFdGvogsE77Xkf4K1cEeAXMpy24E8y7RaLZrtzTIIBmBAh7PUD7sJg X-Received: by 2002:a17:907:3d8d:b0:70f:257b:a34f with SMTP id he13-20020a1709073d8d00b0070f257ba34fmr635128ejc.352.1655138197119; Mon, 13 Jun 2022 09:36:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655138197; cv=none; d=google.com; s=arc-20160816; b=uJD8AVpnpcR17DESSy5heN4bkps/S058ZRsSW+ewpsfxKBPMFgC0aFWKqPiv/6fj38 ZaMh+V9HFrOKm85IlaT+kfFQYS5QyWSYj3RKVnZ7hSTordvzXAauMS9oZskqoD3/4611 LS4MnXTx/OcQkr5raUv10BruhQyTxu1g+P89eSed8cGmDqojKNn0OiD38xFvVxccXHj1 UDSdkynuEr43KLqONyeolJnRtmmAN5UB7yR1KQ7KfZI//T8aMZSzOk8vlsBZq1jSPfro ALphQU9GxJ9dqCKnolCnSeP/W6PdHf4w70feZcfD5fgnLhavD3VRv2mX0qbgYlwNhhHg 6Cmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:content-language :accept-language:message-id:date:thread-index:thread-topic:to:from :dkim-signature:delivered-to; bh=GA8WLQF2YC+56oMIh85vJZLIVGGi8WiCxVi9V5TD1aU=; b=rG0kBIQ7jYvFRNHi4lnz+AzOwUJfCDXoYNHzTdCcKBQ0Tq+cU5WfHK4/t4uacDWkZG b7VzOpi6xzkjSoeD/Jzjq1S4c879Sg+1YJaDT4wc1gbHA9nE7ryMFAcWf2Hp8HgysOJy hb9lQcLteWuZ9CnBgm6oAUzcbqqZjN8vwOoYtYD6dFEcXXzbIIUmdQQVOOptKQh2Xi2z xXKCUpXA/nT9DIQPyBOG5JWaVLl5KjZvjR93L68fvs3rvqQrjPq3SSM8tqZsGSasSRmX sBQ8QZqKkUGI13GchqnGVZJJl9Pkz4f7aYlH5cGsXpT8zMuKXS7OKiyJENBfWlSMPE5c TsAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@amazon.com header.s=amazon201209 header.b=NVymnHHc; 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id q15-20020a056402518f00b0042aa1ff9b5csi9610345edd.303.2022.06.13.09.36.36; Mon, 13 Jun 2022 09:36:37 -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; dkim=neutral (body hash did not verify) header.i=@amazon.com header.s=amazon201209 header.b=NVymnHHc; 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amazon.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id EE26168B5F8; Mon, 13 Jun 2022 19:36:31 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from smtp-fw-2101.amazon.com (smtp-fw-2101.amazon.com [72.21.196.25]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0D7CD68B608 for ; Mon, 13 Jun 2022 19:36:24 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amazon.com; i=@amazon.com; q=dns/txt; s=amazon201209; t=1655138190; x=1686674190; h=from:to:cc:subject:date:message-id: content-transfer-encoding:mime-version; bh=X9CpQYy1E3+jr6e1ghT5b8cQdcJ67qyuU849sI56Gcg=; b=NVymnHHcrrN7bKmlM8dyh76I6tUXrnc3bh4gel8yiu5uGEpwMypBUHni pVlD62MSWnynLS20CHZ78mJiwE9JUGmnDhSiWzpevNjwtGl6eVzXhq33i 6cvaUbaJwgFFccdtdYHSL2LkgUhGtDOoa09MUn419sLMRaWkNetJ8S7ki g=; X-IronPort-AV: E=Sophos;i="5.91,297,1647302400"; d="scan'208";a="207331504" Received: from iad12-co-svc-p1-lb1-vlan2.amazon.com (HELO email-inbound-relay-pdx-2b-1f9d5b26.us-west-2.amazon.com) ([10.43.8.2]) by smtp-border-fw-2101.iad2.amazon.com with ESMTP; 13 Jun 2022 16:36:23 +0000 Received: from EX13MTAUWB001.ant.amazon.com (pdx1-ws-svc-p6-lb9-vlan3.pdx.amazon.com [10.236.137.198]) by email-inbound-relay-pdx-2b-1f9d5b26.us-west-2.amazon.com (Postfix) with ESMTPS id BEA5942C74; Mon, 13 Jun 2022 16:36:22 +0000 (UTC) Received: from EX13D01UWB004.ant.amazon.com (10.43.161.157) by EX13MTAUWB001.ant.amazon.com (10.43.161.207) with Microsoft SMTP Server (TLS) id 15.0.1497.36; Mon, 13 Jun 2022 16:36:22 +0000 Received: from EX13D07UWB004.ant.amazon.com (10.43.161.196) by EX13d01UWB004.ant.amazon.com (10.43.161.157) with Microsoft SMTP Server (TLS) id 15.0.1497.36; Mon, 13 Jun 2022 16:36:22 +0000 Received: from EX13D07UWB004.ant.amazon.com ([10.43.161.196]) by EX13D07UWB004.ant.amazon.com ([10.43.161.196]) with mapi id 15.00.1497.036; Mon, 13 Jun 2022 16:36:22 +0000 From: "Swinney, Jonathan" To: "ffmpeg-devel@ffmpeg.org" Thread-Topic: [PATCH 0/2] checkasm: updated tests for sw_scale Thread-Index: Adh/Qycuo+QQ4//mQwC1AS5754YlIA== Date: Mon, 13 Jun 2022 16:36:22 +0000 Message-ID: <7e24309d6e59492ca73651a372ef9b2b@EX13D07UWB004.ant.amazon.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.43.160.132] MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 0/2] checkasm: updated tests for sw_scale X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 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 Cc: =?iso-8859-1?q?Martin_Storsj=F6?= , "J. Dekker" , "Pop, Sebastian" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: MbP0eaFSabDt Here is an updated patch series for the yuv2plane[X|1] implementations and tests. The checkasm test wasn't working at all for aarch64, and the x86_64 behavior differs from the default implementation so I had to include some code to specialize the test for x86_64. Please let me know if you would like me to do that at different way. I also left in some code to print out helpful debugging messages when the tests fail. I need them for my own work and thought they might be useful to share, but I'm happy to remove them if you would prefer it that way. Thanks! Jonathan Swinney