Message ID | 20240927125241.15887-8-ramiro.polla@gmail.com |
---|---|
State | New |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a59:d8ca:0:b0:48e:c0f8:d0de with SMTP id dy10csp802806vqb; Fri, 27 Sep 2024 21:31:12 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXtZGZiqsU9uX27tr2y1vGoAhojMZJ7u0pBlhczjp3k4/UOI/baN7jFaJvaaBXoVRvId36XPwpVTnvoYlMEZGC5@gmail.com X-Google-Smtp-Source: AGHT+IGe4mg/hNF9l7cswU0MU4rbGJjb73iClbyfPwUBkF+SiCLS3DQiPCBQZntoQonI3eAZ33pm X-Received: by 2002:a17:907:74a:b0:a86:8832:2fb7 with SMTP id a640c23a62f3a-a93c491f410mr519870266b.20.1727497871805; Fri, 27 Sep 2024 21:31:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1727497871; cv=none; d=google.com; s=arc-20240605; b=djyLrNzmPjQhHUI8AjSY9RHio/OmHcaPz7n5Xv3wlXTbYkMTqJ3VkWVaBTatW1WPrJ t5bj1qq2FnYhlAFr7nPCCJSwoS2g/BE4QTnZUGkqfy8qKnwdFPmxbrXQomqYRYxX3UER 5lf44sZyMstQztxPjxiVoueJFm3348f4DPctrnPAcN9Czc1FA1JKEps4eMH6Ye2pPbx1 Q+7A9Jv376TChTvt3uRQkXe00ipWTuMX/PP0XSdoM4fryagFjqJnYDiyrAC4g3fnIshl SInIBkXhUKVbBFkWmImoqzu1rtRZ94lelGaRknw3H80AHuDqKt9pxg3/1G0N6RzL0oEK bnnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:content-transfer-encoding:reply-to: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=6ZbjJ324xxVN1WxvPYUTBujKz+KoReG4F+xRXoPHSAY=; fh=YOA8vD9MJZuwZ71F/05pj6KdCjf6jQRmzLS+CATXUQk=; b=cVdTEcZRm8HyI3RqT/bqzUG/Q+HeELEn51eexuZGe6JBjsLkeOxV7cbVe9hhMg180v RnBCnTRIIzNvTP+LGw4t5WHRxP9Yw5S2B1xREJOTSDpVxslzvXG4W7tvRdRjFxj3oWo4 r0PjnwNCVdNhSrZ7amGinyrIjEw1092CHbIfJaOg4QISkQM+Qw3/QnIRkbhH/lDaicgx +kO0aGBeraDU+iJTk872NIj0gMDjOnH7bjgxW5HqO1j//qiJ5Dm+4xhcZxOUSgD5Kf6z YP6TKb9XXmbPjJZzd5RNcJKuY4g0R5/h+uGAeVZ3/rQMTcD+tqx1UHdtqRuxvi/70lDe sRhw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20230601 header.b=gPy7ZNlT; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=fail header.i=@gmail.com Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id a640c23a62f3a-a93c29ab53dsi250824566b.422.2024.09.27.21.31.11; Fri, 27 Sep 2024 21:31:11 -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=@gmail.com header.s=20230601 header.b=gPy7ZNlT; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com; dara=fail header.i=@gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 3839968DD48; Fri, 27 Sep 2024 15:53:11 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-ej1-f54.google.com (mail-ej1-f54.google.com [209.85.218.54]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id E619268DD24 for <ffmpeg-devel@ffmpeg.org>; Fri, 27 Sep 2024 15:53:01 +0300 (EEST) Received: by mail-ej1-f54.google.com with SMTP id a640c23a62f3a-a8d56155f51so247200666b.2 for <ffmpeg-devel@ffmpeg.org>; Fri, 27 Sep 2024 05:53:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727441581; x=1728046381; darn=ffmpeg.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=h7IkOF8X9R4VmrPcjrxtGO8I7KHbEhvGQfdcii/yJEU=; b=gPy7ZNlTwfh3r44mgC/6g5LodWLxiJ8x7sgsE91DYoWVfG6RYIouaj0g/Zl8V6oneU DLVXPLERHHE1GvnRFx7D4ruKCjwVh7J3cRiWRcCt0rRTKBDPa53BUyinpMeE8RZzflTW DKloY55uTR9jWB3LQpO4np14oxVUssWjS1yQLMSEFbBK2EXakw4vruVOsDYCH1atlMQ6 BOb3BDy5n7NvTF4CRYBUlrLq0YWOVknKFzjmtZPDi5MoGgMiudFUa2iu2RQdZpYnXKiB Iw7M9HqyqbLAics23rHA/+CI5dr8OZH7QTIs0jidN3phFs9e7bJj4rLzv3wlT+ohjlKM Rq1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727441581; x=1728046381; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=h7IkOF8X9R4VmrPcjrxtGO8I7KHbEhvGQfdcii/yJEU=; b=YV8VJlIyNBsMJpbK+Zi6aG+z6BczPHa7q1LCOnUnT/SXGntWWSNxOYO96xnZZohHnw ICqPab6RUA2X+Mdvg885CGx27x6i2FgGFfoAKecIhHDrplxey+ae3KZdkrGSSoc45Fy5 sFFcx8P+nRSgp1OR0ycD+TTAiwBBj4BMB9EQa184c6TNj6CT9RqfJxRNDzDtWi9fX+6T hGOS2eTp/RZP14J2GVRvrOkFD0Oi2Slu3KnzPUCzimJElZGBLx34/MO1dvCINeEWoBUi K/Hd/Z9Akdyfd7hMmO/8VW5sLSuMw+yPM0/q7kq0aC2jUJRoM+N0qihj15pSnq1by+dP inDA== X-Gm-Message-State: AOJu0YyfTZKtp1P0yx1nXCjG/x9VzXy2GPAt9RIYAbEN8GbyOhl2uD2v H5m0eT++c86DcNRmzttKyx2YXd0QQ+ZPez3FywLSC1YS91rOJRsITrHivogC X-Received: by 2002:a17:907:944e:b0:a86:743a:a716 with SMTP id a640c23a62f3a-a93c4c2791fmr270857466b.53.1727441580489; Fri, 27 Sep 2024 05:53:00 -0700 (PDT) Received: from localhost.localdomain ([109.143.184.139]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a93c2777214sm130608566b.36.2024.09.27.05.52.59 for <ffmpeg-devel@ffmpeg.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Sep 2024 05:53:00 -0700 (PDT) From: Ramiro Polla <ramiro.polla@gmail.com> To: ffmpeg-devel@ffmpeg.org Date: Fri, 27 Sep 2024 14:52:32 +0200 Message-Id: <20240927125241.15887-8-ramiro.polla@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20240927125241.15887-1-ramiro.polla@gmail.com> References: <20240927125241.15887-1-ramiro.polla@gmail.com> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH v2 07/16] checkasm/sw_range_convert: only run benchmarks on largest input width X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org> List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe> List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel> List-Post: <mailto:ffmpeg-devel@ffmpeg.org> List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help> List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe> Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> X-TUID: MjO5ANSKsFtF |
Series |
swscale/range_convert: fix mpeg ranges in yuv range conversion for non-8-bit pixel formats
|
expand
|
diff --git a/tests/checkasm/sw_range_convert.c b/tests/checkasm/sw_range_convert.c index df27b6c81e..e97388d14a 100644 --- a/tests/checkasm/sw_range_convert.c +++ b/tests/checkasm/sw_range_convert.c @@ -62,6 +62,7 @@ static void check_lumConvertRange(int from) call_new(dst1, width); if (memcmp(dst0, dst1, width * sizeof(int16_t))) fail(); + if (width == LARGEST_INPUT_SIZE) bench_new(dst1, width); } } @@ -109,6 +110,7 @@ static void check_chrConvertRange(int from) if (memcmp(dstU0, dstU1, width * sizeof(int16_t)) || memcmp(dstV0, dstV1, width * sizeof(int16_t))) fail(); + if (width == LARGEST_INPUT_SIZE) bench_new(dstU1, dstV1, width); } }