From patchwork Tue Feb 23 13:40:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Kelly X-Patchwork-Id: 25920 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 9F8D6449076 for ; Tue, 23 Feb 2021 15:46:33 +0200 (EET) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7E8F768AB70; Tue, 23 Feb 2021 15:46:33 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-qv1-f73.google.com (mail-qv1-f73.google.com [209.85.219.73]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id CD11668A192 for ; Tue, 23 Feb 2021 15:46:26 +0200 (EET) Received: by mail-qv1-f73.google.com with SMTP id ce4so508197qvb.9 for ; Tue, 23 Feb 2021 05:46:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=sender:date:in-reply-to:message-id:mime-version:references:subject :from:to:cc; bh=xONx8afU0gEeykWU7gWKouWIsvz48YHHZn6iRTyfofI=; b=VCRYgCXW4RuT17R6xAnE4Bd5Vcd7SwhwYVU5Ni9ArUKxHiuhnhecU/5WGXB8WaX4tg 3VVXEhM5sYQLRhNh8F2ZHPHRT4Im5y2gzI2IlM69JDojPa+xbFqFrPvqUVzhY8UdlFmI HzclzMiTT+qPI2/lENqzHRYn3p8BvExn2x7H/hBhN0IXSGy89BjjnSYgOhNBwUDwc2cM /7FG7k4bmIfEh+hTLz16LLr4fgghr+7z+RLd2xV5QSqjEuVyxT8GFS0PShP4S3T9+VB+ POpvg0s7THGLL6GdC93a4wGwb6GAGHaC1ka1BYCU2EcDVkjWo0+Tz56bSXhHr4Zjle3e ro1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:in-reply-to:message-id:mime-version :references:subject:from:to:cc; bh=xONx8afU0gEeykWU7gWKouWIsvz48YHHZn6iRTyfofI=; b=DvT5Vdo5b7K53tjUPEMyQh/6yyxH10FZW8qaRPJaI1WZ0c72KNm/KZJqswS8pzkomY 3RSoeJZDIxTSghpayawSgsx6opn1E9xrSPpVF8mT7Aw9RnLAFPlXpbfCLXA5+CSonC2S YmRkAMCmB+wV8g+RLYoe/vxtmBgWk8eHoKmpvUl2KIAxLKwfq9BwQYochqqVUCwtRxOQ IKIz5NIwLnwmkJCdyD2oKqVdkDfN1U3iQUp5M99WHWuVW726fqe/IBwCHGCKG3w8Fu2G 7y1LaJ6aOh49o3H8ELs0re4fqDRyeFIoEgVY6039uEjvDkIJBqpK0VmgmOPz22yBJsQ4 HH+A== X-Gm-Message-State: AOAM531pBViPqJVkou+1cpNVmpCg48RWDSWs2jtpFbhsXEWsY9zf4FxV RwM4AlkyUDnf2b+bFJZCXOEri3gNYLv6PCcNFRXvo2x45YuuStuExBAC29L/SfhBlxHVCGmHtag dol3pwae9Ugi1lNX7xDKD8xK2X/YGhfm95K6DQTqBuEVn9QJUqwxx5iJUCSF1RDVRCGyGybY= X-Google-Smtp-Source: ABdhPJzbLrWze2P2OjkbLaXca1zOtp7QqTxENpql5RSPDs0p1iYu2NfhMFpwaKF6cyzcmDATXzEZrJksGpuc09g= X-Received: from alankelly0.zrh.corp.google.com ([2a00:79e0:42:205:f103:c0d9:882a:4eb4]) (user=alankelly job=sendgmr) by 2002:ad4:550f:: with SMTP id az15mr1785765qvb.35.1614087662946; Tue, 23 Feb 2021 05:41:02 -0800 (PST) Date: Tue, 23 Feb 2021 14:40:47 +0100 In-Reply-To: <20210223134047.1834787-1-alankelly@google.com> Message-Id: <20210223134047.1834787-3-alankelly@google.com> Mime-Version: 1.0 References: <20210223134047.1834787-1-alankelly@google.com> X-Mailer: git-send-email 2.30.0.617.g56c4b15f3c-goog From: Alan Kelly To: ffmpeg-devel@ffmpeg.org Subject: [FFmpeg-devel] [PATCH 3/3] tests/checkasm/sw_scale: adds additional tests sizes for yux2yuvX 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 Cc: Alan Kelly Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" --- tests/checkasm/sw_scale.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/checkasm/sw_scale.c b/tests/checkasm/sw_scale.c index a10118704b..3ac0f9082f 100644 --- a/tests/checkasm/sw_scale.c +++ b/tests/checkasm/sw_scale.c @@ -68,8 +68,8 @@ static void check_yuv2yuvX(void) #define FILTER_SIZES 4 static const int filter_sizes[FILTER_SIZES] = {1, 4, 8, 16}; #define LARGEST_INPUT_SIZE 512 -#define INPUT_SIZES 4 - static const int input_sizes[INPUT_SIZES] = {128, 144, 256, 512}; +#define INPUT_SIZES 6 + static const int input_sizes[INPUT_SIZES] = {8, 24, 128, 144, 256, 512}; declare_func_emms(AV_CPU_FLAG_MMX, void, const int16_t *filter, int filterSize, const int16_t **src, uint8_t *dest, @@ -107,7 +107,7 @@ static void check_yuv2yuvX(void) for(j = 0; j < 4; ++j) vFilterData[i].coeff[j + 4] = filter_coeff[i]; } - if (check_func(ctx->yuv2planeX, "yuv2yuvX_%d_%d", filter_sizes[fsi], osi)){ + if (check_func(ctx->yuv2planeX, "yuv2yuvX_%d_%d_%d", filter_sizes[fsi], osi, dstW)){ memset(dst0, 0, LARGEST_INPUT_SIZE * sizeof(dst0[0])); memset(dst1, 0, LARGEST_INPUT_SIZE * sizeof(dst1[0]));