From patchwork Mon May 13 09:30:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 48842 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a21:3a48:b0:1af:fc2d:ff5a with SMTP id zu8csp214219pzb; Mon, 13 May 2024 02:32:13 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVWgm3YSZDvvRG7fAUPUtj9Q38ypwOQlN/aPJ/7et6pYRuYyyrUIo66kj6UNuicDCuqhhghItGvktK1AbjhQlD5W4l1gJVU9qL6zw== X-Google-Smtp-Source: AGHT+IHY1NJd9xq5gNW5eCBA9p0zcLsQ8K36RpJvbNNxve9OsydZoXZt6j668lFlm2Ry62VSDXSm X-Received: by 2002:a17:906:64c:b0:a59:efb8:28ca with SMTP id a640c23a62f3a-a5a118bfcebmr966670966b.32.1715592733381; Mon, 13 May 2024 02:32:13 -0700 (PDT) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id a640c23a62f3a-a5a17b2208bsi463587566b.363.2024.05.13.02.32.12; Mon, 13 May 2024 02:32:13 -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=@outlook.com header.s=selector1 header.b="gI9CQkO/"; arc=fail (body hash mismatch); 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=outlook.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D7F9268D6BE; Mon, 13 May 2024 12:32:10 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05olkn2108.outbound.protection.outlook.com [40.92.89.108]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5346C68D02A for ; Mon, 13 May 2024 12:32:04 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EBsn5a0pj5F3ym9q5B85VhFiN6MqbvT/SME/Iq7d3Gys3MHetaF69n+FRrb9Mn1iQumj844AQhjqK8+lWHsGXxqvfRygjMV5EJVTRcM8lnwD2bcpO8amwyO1ATCGtinU2Fufrb83KZOSi8c3jfAuXo2Oy/rGNvRoxvbDO9EUOpzW059LTnjnMWNGGBoK+g4kAqbuiAYxkqht7ARC1n1QU2pya63AA5DgYI3CCI0stQC5TjQ55/BGDsp2KwKmqPXgnQsAd+mdzr+8n2rzRBU3b1xAzo5V7DHnrkiYZ1wTfZDYiL59MDyfJB2+viDaf7e+gg8wJZxYw2NwqtOVTB+bXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=lo1omllZhNdZkbUYAzJ12P/p5+cdkH6FdZNX+SwQ5po=; b=c31M3VhTVv+nX8YU4Pr0r19/B6ou1qddZ4j53jRG37kthY9Eio9IASvAy8RFlgDDPzZ7lPgnGjOhFGGqPAoyzd+Moem/nPoXtMF/A47SL57HBpsnQ9ZygZqp5cxLvab9TC63kH1KL1mb4xvMgfW0TXoAPwlVTIjscYz4qd0vw1lsetmomoJu5z7OHkG5Ulxb83qq00G3CESDp+nwnAFsNV/o3/HA9fTO17pzU1RryqQZjHeCRFbkB/FB4rPNXxjX0+K31H8YAsflqDyTuHb15r/utOb9pr77GzCDs9Okxct9ppX7lzlvJn44y0R4exBPTf7XTeUh1ZbV8LP2KYaA3A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lo1omllZhNdZkbUYAzJ12P/p5+cdkH6FdZNX+SwQ5po=; b=gI9CQkO/NV0aIcjTdatLQttZOpXT1QQ1VGsXL7b5Grn9mUCxP+EdiFyfmJ0uzOc+jNRV6ONvN2gFDusOFbht8F/Rx424xLst7HIyibWv1/Swc3zNtLtL4QsYjzKUJQOUOVwy/LBPsHDIguW8q8KMzBqIFA81pXTZ+Z4BfjakIiGSzPGWgATy82VIs1toHYA9qku/XiIZJG2GGEASqh1m+6QgOKTTz1zFUWmJZkI/VeEusSgcO07TDrsQTwZsmmMZx/eDXOHZuLk0+tAqQVYd8K8KxmD5uZQSeCUcvdYomMwapKCJ/UAMwJmwtZt9v8FahSq1Tp6BujxnXUNjfmCE6g== Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) by AM8P250MB0215.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:326::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.55; Mon, 13 May 2024 09:32:01 +0000 Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM ([fe80::d6a1:e3af:a5f1:b614]) by GV1P250MB0737.EURP250.PROD.OUTLOOK.COM ([fe80::d6a1:e3af:a5f1:b614%7]) with mapi id 15.20.7544.052; Mon, 13 May 2024 09:32:01 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Mon, 13 May 2024 11:30:56 +0200 Message-ID: X-Mailer: git-send-email 2.40.1 In-Reply-To: References: X-TMN: [4mwYa3DG/VE7jYa+f8bepgFF91TuNdJQEZmXs8iNcNc=] X-ClientProxiedBy: ZR0P278CA0159.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:41::8) To GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) X-Microsoft-Original-Message-ID: <20240513093059.3029693-3-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: GV1P250MB0737:EE_|AM8P250MB0215:EE_ X-MS-Office365-Filtering-Correlation-Id: 7b24f172-63a7-408c-c806-08dc732f8ae0 X-Microsoft-Antispam: BCL:0; ARA:14566002|461199019|440099019|3412199016|1710799017; X-Microsoft-Antispam-Message-Info: FoSMe2mF3CGc2AR3DVpEPCg/fkVlq8DGziPfyaQM6nbPIU35jvjK9beLDaBTCWbkY/65iCO2kmjsq9yLu39q1sVVffSMHVkIsm2a+fmQ9GPnZkeeuG/V715aRqX7FYCPdteU8rMBK3ZBGAAZ3bCHJbLdWiFpejDCUBHNGMafCjEeIBgqNx5Ge8ZGugX0PeIayqzJr6AyNFV0Mkd3GsL8Bm8ZmSxXEwxbdGwoPBOG48oYEvBurR9ASgMAEeWiRhdmbk7Tz6hjdYJd7ho4arzo3Qun/jjfbKefGXnFXRi2encU6xJXMnWyFjyj9B6pUNFfXFTX6tOckp+ysIEN2L9gTpa4xVvkLZ8E2qZoiGtRwIy3+E7dYRSH88knVDoLlTI/vB5qvZKBy4/kydQTDDk1EArk86ZTcT/EbBbgsty5xd6nlEo3bHzj46mQDgNVLutlQncEn2e4hZD1Nc3jBFrBqlSuwkQar1lMe4SAnpCKF4N05rNCkKAuI3GyB21trvKorP1GRCphkbHKbSlFCJaMM/MXK3YVT+ccfEqBFt5QM/M/NcaAyJMS2c2S4Bzs00oXSEhzk8CUojHcQKeUHx0ou2WYKdcdqzh1mzkwpuM38J8u/O4yKVidRXj/VnAC63y7 X-MS-Exchange-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dnojSYEKWSpkVgjenTiGn62WkUNF7ytRoO8zuZM7pqA7gTmRXk3v35ZJ0oCE5itbeT0YLZi2QhUVDhogsZ1zkroKELS8GwyJYWFSFmQm25fTAlYlHxCyiO6yVzQjljS1dg7P2B3Y7c5Q812bK3GjWZysEp1iPeJQHTwWpmrbUbb6L8Sj8+d65xoCSRMqEt88p7yTL/DY6ZphS8N1eEcRWAxQ/E+EXZlmQKPlIPNdcGXz84PIeBhqEe0L3A34Gaz2ww== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7b24f172-63a7-408c-c806-08dc732f8ae0 X-MS-Exchange-CrossTenant-AuthSource: GV1P250MB0737.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 May 2024 09:32:01.3350 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8P250MB0215 Subject: [FFmpeg-devel] [PATCH 07/10] tests/checkasm/vf_colorspace: Use correct function pointer type 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: Andreas Rheinhardt Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: Q9iBRYNkyJdb Forgotten in 9b26a8077f1c0139fdcc236d3de08cd2bdc4ec0f. Signed-off-by: Andreas Rheinhardt --- tests/checkasm/vf_colorspace.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/checkasm/vf_colorspace.c b/tests/checkasm/vf_colorspace.c index 31efa671f9..1b0d202ce6 100644 --- a/tests/checkasm/vf_colorspace.c +++ b/tests/checkasm/vf_colorspace.c @@ -53,8 +53,8 @@ static const unsigned bpp_mask[] = { 0xffffffff, 0x03ff03ff, 0x0fff0fff }; static void check_yuv2yuv(void) { - declare_func(void, uint8_t *dst[3], ptrdiff_t dst_stride[3], - uint8_t *src[3], ptrdiff_t src_stride[3], + declare_func(void, uint8_t *dst[3], const ptrdiff_t dst_stride[3], + uint8_t *src[3], const ptrdiff_t src_stride[3], int w, int h, const int16_t coeff[3][3][8], const int16_t off[2][8]); ColorSpaceDSPContext dsp; @@ -122,7 +122,7 @@ static void check_yuv2yuv(void) static void check_yuv2rgb(void) { declare_func(void, int16_t *dst[3], ptrdiff_t dst_stride, - uint8_t *src[3], ptrdiff_t src_stride[3], + uint8_t *src[3], const ptrdiff_t src_stride[3], int w, int h, const int16_t coeff[3][3][8], const int16_t off[8]); ColorSpaceDSPContext dsp; @@ -198,7 +198,7 @@ static void check_yuv2rgb(void) static void check_rgb2yuv(void) { - declare_func(void, uint8_t *dst[3], ptrdiff_t dst_stride[3], + declare_func(void, uint8_t *dst[3], const ptrdiff_t dst_stride[3], int16_t *src[3], ptrdiff_t src_stride, int w, int h, const int16_t coeff[3][3][8], const int16_t off[8]);