From patchwork Sun Sep 25 18:22:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 38314 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp1813520pzh; Sun, 25 Sep 2022 11:22:23 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4AFO86VIgSwjtbjD8QUk2rAKU8N9tsFfcK7tPgLSwsIq/PDIEbw+JSQxcnWhbcUcEs2Dns X-Received: by 2002:aa7:ce0b:0:b0:456:f7f8:50c2 with SMTP id d11-20020aa7ce0b000000b00456f7f850c2mr8280931edv.111.1664130143061; Sun, 25 Sep 2022 11:22:23 -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 f3-20020a50fe03000000b004574dc3490fsi488761edt.474.2022.09.25.11.22.22; Sun, 25 Sep 2022 11:22:23 -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=ssypTilu; 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 3208C68B8B9; Sun, 25 Sep 2022 21:22:19 +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-db8eur05olkn2017.outbound.protection.outlook.com [40.92.89.17]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 99CA668B8B9 for ; Sun, 25 Sep 2022 21:22:12 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TnwR1N09TW9n5lsozwMlD+y93cuQbhS+WNNIOKG/mVGIFS+qOWW0T2Fb7ZWMhDinGMRsxoBa/lFSbNQFRgeHXYp08OHhPSvaCnGWIyrfk/22B6hsc7R7ySfkDIXYWl9siCxzfdumuIjEsQRJdvEm11t487egq2aZOcqGV+C0rHR1kI8lsln8BrU8RirwYvAdEZ0QioB8l/3Ya73/Xx6qR+sPgZihLyjpqIox3CEz0T1h35rZiAfqs+5iNdCG6maev/cwbX4Aszqy59ATU2h5BIC6vWMwo+DScMVtxJMwrdJVOTF8gDKBP7E91ah1+11ePokcoQCnwiHhYNQ4S8UjzQ== 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=jnN6MwEvyW3gGTeC+h80cDt/m65j0U9q4BwpuLoUr78=; b=IA+14OSgTdN7iJcB8oVWD8CQ1VkOtB70jMweGV6eWmoO+tbEOI3yjCvmqhMktgsJtXeOD+LWs6ZmixQut5MU0z74ml1UktydFY6tfwrVcpmpxljC7I590DS4q385WrehqNDeMiQo7p4Jh3yb1hEUzJ7xlvjmqbTqiYGfkgCSFcW9PX5JkwysaHGUx87IeO+dvFK3KpP/yLugNFIfToh6XUX5aU5tsJT7l0gMFPOa2bttYwvXUSHVhDvBJ3aOZxxaWq5rnnUXhGM9kbocH1i7Q/M2XGJLkfeBpOAfHpRb8vAx2FgdVJjQov8BWT1UmWxk0aGgm7+wi+L8YuCx2eIOaQ== 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=jnN6MwEvyW3gGTeC+h80cDt/m65j0U9q4BwpuLoUr78=; b=ssypTiluN+KbpWX/RsqkttTakbjnvBRHy9AnxJR35XQZCl9pf4MqXS9S6TysgbLksYTFHH5vWzzkTQI1DV6wJGS7Jh7JfxComZBe4AUivsrpnALXb9K24NdRmguZsZE98C7i9FjACFNIjyxXseVDJ/1Zs4jBzK9c17VReiZnH3lx7sFjFKG6iosVOQCJltfwzWOOpsmKtNVTFZMY8W1iGPslhf5Vz5CPjjbOtoINK86ouKdEuhWVZLcsJpuvI89CoXWLegebp8Gj+GIiqu1/ZCbRSkU4cgGzklXAeWRykRXMBOQj66Vu47FSxW7wpzSQSQMS6wJIrW6zvGaUB9KYbw== Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) by AM8P250MB0359.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:32a::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.22; Sun, 25 Sep 2022 18:22:10 +0000 Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::85ac:1b92:90f:dc18]) by AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::85ac:1b92:90f:dc18%4]) with mapi id 15.20.5654.016; Sun, 25 Sep 2022 18:22:10 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Sun, 25 Sep 2022 20:22:09 +0200 Message-ID: X-Mailer: git-send-email 2.34.1 X-TMN: [3ClC1VRZccbj7+nva7rKjxnMH3s6IAdIWHrO3q6FxXk=] X-ClientProxiedBy: ZR0P278CA0140.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:40::19) To AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) X-Microsoft-Original-Message-ID: <20220925182210.2854298-1-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8P250MB0744:EE_|AM8P250MB0359:EE_ X-MS-Office365-Filtering-Correlation-Id: fd9790e0-fb1e-4c80-96e7-08da9f22dc95 X-MS-Exchange-SLBlob-MailProps: AZnQBsB9XmovRtSN2t7hJLPTR9ZDHuwSlaMTWPcOPRDrgQmIAF8EwL7PAMoma5BTIQSfARf7Mp4QBaN9H8BsfkTkWzR3nsXGLJIKpBLoIZjq1iCBiQ8XT/9kOUT5h3Vvn7dL6pOOH3E6cd3KOjL0nAlSuUTDnIq2xEtx2aEst4WYVxSB7LRi4OAoOkBwkKMD26XeDq/BwNklrmcBl/6Svpn8fYF5zd7qnkxoY+KdkNH/SjFeEOCnFZnG7DqzU7VjejxTW/ZVvV5B+spKZmQMC+V7c/316443/uQ53LMYd6EeG5h4YFG+SycX0YnHn+mWnqjbxptfpWnqMcXCyvpNtaUJhD7e/N2AUSxaKMQKnk/MUMfPNmz7z/oeFHefhs5uXiwOKLvnRZtTsdj1sYZT852K2rzSHeDGdgrVlizBJ+pFQsWO5iNUMuKIJClWspZ74CTYLKDtIu7z/0en81vu4SdmhZhpZkDopkQqoGUtT0RqV6dZ8Q4h/N9qv11BRBmpJdtcYdx5EC5Ufu9S672f7NyDAGYHBul+MBPpwHy5lm43c/YNiqPDYAz4PT5BL3crSvkClXTcrS8NAKOjkCDzy6S2joNPJFFc3qOdmfoeId9ieFMK+fCb5UBiAT+y5Ctd9KJlaOx/njOOQDf5QEpnNnqN5VHQY3IP/tUVLQiKqmh4fW1Hwqg8eehfBpL010Ey2OELPFYpQF7JxX/EFOVRLdWV5G2caOiGcEudYY6wN6PK9nTj3fEnSw7zsmTXl2Rs8maS5GrjUN8= X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gOkyPtFXgc2fv3sEDF1gI0c+QRWqx8XqMT0SmCX38lpsgsAs30ffNyJ/lxsPw7qd/MBTEW9rhS5csQ7wRnG+wu1KE6bNMYgUuQHyja4XVjtU72clXs3Ooatu7JXKkmG4GjcOCyXVeYUx0JQ8pkSMhKn6XICl7GWRio+lSJo0rJBrNMFcjG22K0agL9CYYGk+CURD9tR9Xkk4zIXQh1ul39pc/uL3SFhi/uls2cphmTxp+SLpi/BLoirUrs7Xx/ODBDOtgbUcqZTSHoHTq9NAUnDpRvK4A4WiY7KDK03hQke6+ronSE+AbjA9ryL9GgHLvAk5AmjVs1BZ1llNO+Qz2od3sRz/yVyv+UuYT5wqY6iJuefXPmcVPd1q3HIZGhDiic4E7ivzEkr04s0apJO+I5CU6h/GDVC16vCfWQg3ZHVBgtE8GLxV9CEAkt41lQ/QxSdLY7VLgYqIKucSwa4wS1M8WSTChwe7rW9FTY1C94S6RXVxjNZDaWF/uCyVZn5l7Y3EqksuewzYHoPqYZ64AVkeLLq4wr+mrkfKlV51ulSJ0yMPyfwneMPEjhSeLwcA8M3W2WbdzR7BDsDJ2+m2sUAt7fcUKZUINKv9M1a70wtEZbCouOdezGdK459pqokwcSCEUzSsmb6up3f0sKXnlQ== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: ALZCKwbjXpxv62MvbS0fb61LmNrRabx/VBD0nEXyF5TN0uUQW0rvY1ANb7v0+wqmYhmagAeW7kgt9UHReYa6HoBBSLfgUxpRI7ZMBbNCrQtAg+Tl+0qpuVgO2wb349je5NFC+F0AtSr0pl8PfMWUHIItwo/mJQYF+argOWxvURSKCDYmzS9Adxxvo5RQ2gZohgKsRbWMhzQZ16ll0R1h+3Q4yxhp4eL7kMZY7GWfC3OsN+d1CaebN5RkaQrOsyYaoiX6UyCGPaFDMlVkzunyP0c6hKPY6A56j/c62K/w9vJGrcYbH3EUw0hwFjTtVjvOTKZ3OUweppMceAiP6MgG4jybO9GCCQU0i9kRAXMGEgQ+HmIzGH1IKvAEADWsiCM7UJsKo5zC3IyDv0A0iWakY0dTrBXJvcKmAXRkIYvSz56ly2zp9hPuyynyu6V+iKWFVF74+M00QtZkvhhmiLBKL54QSwwLzih0ry4BXPK+ZotStddMvlahisBPN9dtpBRG/3i95EtS9UBtRb/y0g6JR+MdHqG77AWIniZK2KVjJN2wpU845hIHHarEWGuhd0nsopQD3urjhka5zckVYpy+0DarRyu/C8U7jL5nFjJBGED3VZsEibjAzd0J9B48556OBAN3TB/gFq7+EHXMrYK+my1xRXH8T1eOjUBC0oxFBxBwrJr4qU1Q5eHssQZ7HAV/ucndA96m4cxq4T4B95H7qZBbRrU6pzkxK4vb3PCjI9MlwNhV/4EVahj+xN5qo/KIb59Xp9dz7rE6Phf5g9hkFG/m4yVLQIlDZm21Y87okfzPphFqz1OboWigj4zD6norlUeQUto1n/7eBVPgE7vUi+bJ3pUt9keSGetodFtme+ZSlJxdzXY2Enedl8Ns8QZsZ9XA0sNj4oP815KAnpnUfQrwESLADnOQKCZgSnOBbq1s60XrUIyEJ4a8GdqCNOK+hKpPxZyjzJJO8ZRV1HtuOKDaoXjHIfsDUeOwfWGTR5XbaQ199kN4dFNGozfTrgqQOH7rfZW94i7e7CoqaiAi1bRtVi0szfFJ5TZmRy5k+mYmfsQXBAatY3H4lJjn1wCm+sNIMGG0ZuUuvWpA7xzb4BHz5Fx2Ysq0rIOFReYLCgnQ/81R3KP1lJxRQHoEEBuihHexj9E4142xCKTrgGtV9iGPbJ35APMRBNc5lAHiBE7LosoeLctkUaban5hH42oOIOygwk9garlgZi3kMEEnWdqiHwzyviLwpOqlmB7nZNxWZn0oEuVKGHb8b2eKXSi93paly6h4tW7og4gA6JExOc+oBgSjtF0mRBdzocOzRVEfXxuffCMdmNJEokkd+ecP X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: fd9790e0-fb1e-4c80-96e7-08da9f22dc95 X-MS-Exchange-CrossTenant-AuthSource: AS8P250MB0744.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Sep 2022 18:22:10.7497 (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: AM8P250MB0359 Subject: [FFmpeg-devel] [PATCH 1/2] avcodec/tiff: Remove commented-out code 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: jjbP1FaxFdUc Also remove a variable that is only used in this commented-out codeblock. This fixes a -Wunused-variable warning. Signed-off-by: Andreas Rheinhardt --- libavcodec/tiff.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c index 3a610ada85..fd9db18c0b 100644 --- a/libavcodec/tiff.c +++ b/libavcodec/tiff.c @@ -1882,7 +1882,7 @@ static void camera_xyz_coeff(TiffContext *s, float rgb2cam[3][4], double cam2xyz[4][3]) { - double cam2rgb[4][3], inverse[4][3], num; + double cam2rgb[4][3], num; int i, j, k; for (i = 0; i < 3; i++) { @@ -1900,11 +1900,6 @@ static void camera_xyz_coeff(TiffContext *s, cam2rgb[i][j] /= num; s->premultiply[i] = 1.f / num; } - -// pseudoinverse(cam2rgb, inverse, colors); -// for (i = 0; i < 3; i++) -// for (j = 0; j < 3; j++) -// rgb2cam[i][j] = inverse[j][i]; } static int decode_frame(AVCodecContext *avctx, AVFrame *p, From patchwork Sun Sep 25 18:24:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 38315 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp1814087pzh; Sun, 25 Sep 2022 11:24:11 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6O7WwrN8PWY8FqCWZOx6JFPoMmaAA4w9KYKdtcE4QK6u9KP/mmObaxuIT09+WTGnz9za35 X-Received: by 2002:a17:907:7609:b0:770:8665:dfd4 with SMTP id jx9-20020a170907760900b007708665dfd4mr14462344ejc.494.1664130251128; Sun, 25 Sep 2022 11:24:11 -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 tl2-20020a170907c30200b0078322e14382si2574938ejc.566.2022.09.25.11.24.10; Sun, 25 Sep 2022 11:24: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=@outlook.com header.s=selector1 header.b=UDsuYyLk; 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 A11B168BA58; Sun, 25 Sep 2022 21:24:08 +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-db8eur05olkn2050.outbound.protection.outlook.com [40.92.89.50]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id DF14468B8B9 for ; Sun, 25 Sep 2022 21:24:01 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WSetay/9Mvk686M6M4Z1uKMXqxjxoClXrBZKoihdW/30wE42cBkWJZW1oX4NLDJjX8jQitdKv/+bZJs1j4p/xudcn36ZgeJ3/KlpT2OD4tpR9jsBOZF4OagLXhyKNhDxrK0712uHoMlJW4PliclJMKDLGH5QSg30L7w6pVt5apzXDQQPN6NrHIoqZv02yRDniBjGjTxpCiNvSSVAOkohN9Gjk7ejpaGJiYU3bwphWSE5RJx3/Co6qFWkcgXaVaQ77fs3datnt3Le0JR6p6N439INNSh69sSwRTMimuaW/SWdnXHTazD6qXTwRBFGsEWhGEIx24CCKVtgjLIPDSZLww== 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=7hfl4pVh5X3t2gnWHKs/w+yM7S2SbMLvcXIK/sb8z0Y=; b=dU8+iJ0axEbRPFv2gl2NPBdW+xIsJBlnHLRKpnpieF/Vxxdzy/2NjnTzlOsgMLwPou0TypcJD2jA4DjfNj6JKqAZVrKezRtRMd8FodqZXVzTODHSZDQr32PVqzV9H8BaozDCCuc19XiOKeZLlg2zSfckfyrN/nh30zQF8sT1tUiBWr50pAQytP9v77Qx5pcDXCz8rrskZkFaP0wxIB8nRXrAN9Ou2O9mowV89m/XEhVOzr4QEzhu8LoR2HQ/oFcoeIj5DfqmTKn7ngqY9COfa17cU5pD7B4LVaV9oHRFiPejm1GjTRoruDWJgFipDZtg4RktT62CKs8mA1O9i+Xu/A== 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=7hfl4pVh5X3t2gnWHKs/w+yM7S2SbMLvcXIK/sb8z0Y=; b=UDsuYyLk5ROFBS6tt4JanFLG5QMV2CJOfJ42EBY8FkM/RbpGqMhhLZAY7IJpXLZch6kE3nH/kuA51ih0lxaa8FudwN72ZzQYusStqYDFBnl2DMI/JbGEq/uDX+z6sTdjEzvEkY84bB8r1Ya1+zO6BFSJdXSQ0hFBcBoehpSdsAj4ypGGShUhY9qe7A6FyzCaW78LuDlolr8tUeM8zQvxCUSMP36CRYcSdJJWSiN5EfO2mdssrpEyaqpvP9HvVrbYwba3vlQEj9HgHHmPat8dMwJX5YE5sUkRea7pq2sonrUR3Liwk2n+1GsASMk6tDpl0d9wMAeH3VZNrtqdmv/Umg== Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) by AM8P250MB0359.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:32a::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5654.22; Sun, 25 Sep 2022 18:24:00 +0000 Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::85ac:1b92:90f:dc18]) by AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::85ac:1b92:90f:dc18%4]) with mapi id 15.20.5654.016; Sun, 25 Sep 2022 18:24:00 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Sun, 25 Sep 2022 20:24:00 +0200 Message-ID: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-TMN: [ypXU4xeQVguK/v2UXRdCdztDupmjqF1FNd9Z78cHXHs=] X-ClientProxiedBy: ZR2P278CA0004.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:50::8) To AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) X-Microsoft-Original-Message-ID: <20220925182400.2854398-1-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8P250MB0744:EE_|AM8P250MB0359:EE_ X-MS-Office365-Filtering-Correlation-Id: 6d4839e9-3a95-4359-5eac-08da9f231e0f X-MS-Exchange-SLBlob-MailProps: AZnQBsB9XmovRtSN2t7hJLPTR9ZDHuwS0k1sTQqJ29Kxn/8ShskD5BRUrF/ezQWaWskW4NUOxZzmFt1M8+NfOqMApeHLKHSH+DmJpzPhpECF5ghAlmJpFdFi7vX6UCrd0x+4/eGaYZ48xe7GDd49vmKrkJaIoCkPRudV8HY6dO+hds/lomhcMt6yCYSUtVGSK7JAgmMQNV4UhW2PJR5rNdVbByjciujqhT8yrSWBp0FMEuw8fTWviWGEUvnR6mLQCZbBEu2GdVbnH/Zc/7nQAmHwB/9CNQ0lj22PvrpBSXrFxDY/qnZ73uCoSrsVvWXOgLmZMofC6iBWBe0uQ9sGh2oSifQVrPZup1NjMn6TkHj4kaFcAKTmivfFWrhstIQfdjngHX+cz+ttoZPw/EXlBNl2lYXJl3HTvoUSqFX6aasfS47oL3XpFEHzqQr8nkp4konrkNFZAdwrJXtcAdynBFBRhROvsBcNHmBYhzX5z+cFPSEsUpIDUd684sOhwc1noZ/4IyZuSgCqifqEviQU/kkdyMe7HpJacZHeBnSDufoxBScAlG59+5rrX2Dja2IOuPYi6aOQsf8ZVrZMUea+X74acfy6bEAeE6oIYnuNP93Hs1g6UlamK7XMm/u9JPokTIc8r+R4zfHMlgtwyV3c7SI/BOkpeGME7DcWCZTCugEEjISXw5SDQYn8q7n4Yg+5Y6Ox9XVRHg+YfrjhWDsygYr9StXJlxHXs+CB+RTWZNrFutnTi9hF4A7PgtRLfAIOu5m3YexdsAs= X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 25AlRlDJCKzH6bd/Rj8Nd+MIfpKvXaE/Fqr1Uuiflq71I8F2JYMF//8aFDiUjzIcZ05R5DIngTScPtMj64GLVM/7KTvxFWrVV3TmKnbcDvuhSNs/KrxlmlX1feBYaXw/rAci2FTTQ99vEM4Yo+ghIDA2YgcT52caQ+2nHhnXxZqqbGQ4TjZHS1ptBgQhuNmVZqj3Aq67wu08RBneonIuVTO9DQFANUITYU+f3uulJ2igi4Bj/q3mvKGzeoKirePwdX/uiY1hYSzxOKTS+Q1PETpfoR2ikafJbpV4U5/ZWMGcWR7dm/x4FxA06dxrYnkjHobcTZW73n41ibv7hI+L7QHA03PIEqNcrrCKChUDyCotNxitkiBOs9EMecfakwtVDAGGpCmrffDWmzNp6ste0rxV4pLZ3BwqhdxLV6aXMJMTwnK6JZr3ZqFX5fonnJx+TmHDJVImjJ24T1UkyBC3+yLPsb46MKnQAkfFpF03utsop6z5cVBmi7zpEuX7q50txH/4gDI7oUSV9ccA4MxDS47wK03cWbZFGsCNM9BMOESyYFHbznn0ymfN9cAkHh4V4i03A31w7ty/AFhQmFou77ucSwxq+ceTjrURwDH0tfdAae7sdEbcFOH35JpojSQXIv6hhIQyXpAwanHt3FRWjA== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: IEZqdnQqC/U6MFgAj/M7PfFgFUeQ7YIRWIzbtSqEIsXfMTDuUdDBwnVbXo3gVg82EaHCut53mVOK5RzfojibX8r8OZaoHy65JPZm3JNK9mMSgpqQu3YF9lRjj2hEnVg97sycM9hvbN0PmP5US4N14E3e3y5CYuJFs95WymzG4RhDwA6vV7VGs32X+YdDG6FGP68anzYvMnBqVPDHnHvLdEyP1J0LHvMKaTAmlN1r09HVDHHxtQlK3paOUMBpTb0BEXnXuDyKYHXdN+c1cW6/6OR5jeKFJVcApQLl+lOMo3cubMAVMA5xzl1XyaD8RqjYdPgpm0T1Vcm6znEa1BhhvfhspMWDd8FqhFS5/8W1gLGAX/q5+6+DirhdErF064zF9SvD6PTKe0lnzRSTw4PaMREXC6PpETgxYtuFs98Pe9MC107elUgVM9F42FSVJHLPvpk3VoodoM8EXrIbvH6WsztHJX/OVSzEhNYM0a5NA4kAcRrO4X8jDLFqg3jMl4az6fItmaZ/BsezyNZjpAC5xm5GLPv10dVnBr33qV+ryQ+nkPxDqIzJgF0X8mGXzbRHrEfhv0Uqf7memWe9W+1IdN9u8dU62sG4LLC1hAj2HU8XWUHbH1Z7zzj2ItpHCMGfst75Z0t0PB63Lmmcs3+/SveacdhhupOCzeCk6iINo33tZovQM2mi9+qXkCfzUV1nLZP7p5Nqu4GQ/KT1JEF2UYFkGxT2HjFJOTJn+EneBVgK22y7GIXaAlLj5vt0ceRvx3eGFseC5kVLPvg0UGM5ZvlsqNZ0gP1d+b4y3ks2kSB/KEHN17UP41beeCu31kKlytgef5ys2g3+2BSzuhVTnsClUPxvjao73dBykIEzyN8H8q/vEH9GjqMK1HVy6Xxd5FErf6ILkR9KeexqpJrPfRHTDvc5LNl+pQhWZ0Pe0IMusUxJbUMziStmEqiyL1I3KPfCBXkHrG4xh00QPgv14kremk4haFOvOOUNC/4XP6amWrckivsEdTAyOAax5K8d/i0n454fOP7gKikqr81WwV8hZ7YUUHzwvhmO4sRdl5fxt0MBiamWlBhQH3SDwAlr+b+bfc9ssi+ktfWHVc9fMBMkAHfu5L5wT4xpMLvunB8QN/XE21ZLWctqBE3t929gk1jB7t8aGT/81wUZp0l/1O9xYNOGxEhzA3Ugv5y2HhPxvR07bxHLieRUuOTeL7UBGhX3TEQxhM+1NMvtqYlkjF8/Kk1z2OtYdd+oZ5vVU+h9qcHfKGPxyfqXbTNEsLDjJBBG4eiXxWPNf+bsIjbb5JXyCV8W6yLdilqF7KLMcwDZXg15hiUzhhFgUxduc9yd X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6d4839e9-3a95-4359-5eac-08da9f231e0f X-MS-Exchange-CrossTenant-AuthSource: AS8P250MB0744.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Sep 2022 18:24:00.5372 (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: AM8P250MB0359 Subject: [FFmpeg-devel] [PATCH 2/2] avcodec/tiff: Remove unused function parameter 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: tLBRkKa6/Dq2 Signed-off-by: Andreas Rheinhardt --- libavcodec/tiff.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavcodec/tiff.c b/libavcodec/tiff.c index fd9db18c0b..dc566d307d 100644 --- a/libavcodec/tiff.c +++ b/libavcodec/tiff.c @@ -1879,7 +1879,6 @@ static const float xyz2rgb[3][3] = { }; static void camera_xyz_coeff(TiffContext *s, - float rgb2cam[3][4], double cam2xyz[4][3]) { double cam2rgb[4][3], num; @@ -2040,7 +2039,6 @@ again: if (is_dng) { double cam2xyz[4][3]; - float cmatrix[3][4]; float pmin = FLT_MAX; int bps; @@ -2061,7 +2059,7 @@ again: } } - camera_xyz_coeff(s, cmatrix, cam2xyz); + camera_xyz_coeff(s, cam2xyz); } for (int c = 0; c < 3; c++)