From patchwork Mon Sep 19 21:28:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 38060 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:3b1c:b0:96:9ee8:5cfd with SMTP id c28csp1507712pzh; Mon, 19 Sep 2022 14:28:54 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5VvnF5vrpkjZZFmqTJpF1C5x1zAkYsLos9LseLYLO0hr1PR2eY9qUoOT7rqMMfiilgwOU4 X-Received: by 2002:a05:6402:34d5:b0:451:335c:2f1e with SMTP id w21-20020a05640234d500b00451335c2f1emr17041760edc.160.1663622934310; Mon, 19 Sep 2022 14:28:54 -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 b13-20020a056402278d00b0045174ca49fesi12483514ede.67.2022.09.19.14.28.53; Mon, 19 Sep 2022 14:28:54 -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=nlFHdqSL; 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 10B9168BABC; Tue, 20 Sep 2022 00:28:52 +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-db8eur05olkn2048.outbound.protection.outlook.com [40.92.89.48]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B950B68B984 for ; Tue, 20 Sep 2022 00:28:45 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=izD6RitsnE3MrWLpjI8R39xVAqjwie3pr3V4+g/g2PQD/CNNIHnw1SXCtPbbFQhVMByGBCw7PkgwNlRarJandEGosZi2OZybZUMUEGZ21gU+/nDtRYql4XwG/NERGg83q6SfRfckjTUfvPIEjALV8fkoaPVLd6Tvm4sWdUa06UKLzu8mXskwIKAt8HFiIXL4/UNPZLcer7+wKAmNmWU3Vs8pL/w16BS3h4VPG/toIvD3f+JnfdFthFo/1S8AI7FLSMtCb9KkdyIJHJrA+OHmKAxi7StOicaWXAnPWUohGfTR+Fi3wVf2IXlUytu7Ibcf54p/vujVBVEeGm6LgH2ZqQ== 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=MFKxS7R147hM5EfxwisvnDAZcAdkLy5F44HOWmmVSHY=; b=Ju4NbRN/oW8Gszg6mGp2mo+bMtcl4CNqR/TEQCseLT9+Zb1gz5cFNWlGtcgbGGWSY3MB16VH6NlpwAJViias5zzfri1w1ra2OiffLT7q6Ka7/zFkIxruw6FQpuYYqehBGxS94tn96Buf1F2odJisT41z7mYv9P5Y2Pf+NViaDJc7gKL4E38qG9r9j+tboEWHaAuX/gEo4ahnBiqCnncdA27hIFOaukohT94nThPpvYgm7ZoTxtYh21LXyFN1QYnVr4Jo3fsNvo8ZcFYFfZeruxT08i5m74w3zZudjjFihBASNRawASERfqEhzrW+xIwrrtDn1IYkhGFkxyQqCeMHcA== 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=MFKxS7R147hM5EfxwisvnDAZcAdkLy5F44HOWmmVSHY=; b=nlFHdqSLzWuVm+HzWuhUDlGhoVeLbXlnmPmHAEgbqst6hxi1O3HL3OvNIDB2DTEKb/1lUPBCuEYIyDknqZuhVRrfosVsLYazCsduR9sASmZHpSSugL/1Ys2xAqM0wi4HsxVFRyawwc5PGGjgJXM9xbQ/QFpEuknvoJZb3FJ0UsZf4g72xB5Srqx8fdQlvFcedVACVWU5D/+rNtx3TuDRCOpLdyLeJ1V6QLO88L0tNYAEl6w2RUIGkPHxk4TpzuMoMk9jgKmP+iL9j9pAldNWC7NKgUpJJsNyqNpJo7TsMxHYtosM/IBNvDlqeB/3l6bnC0yKHqHelyoeCmn8BZK7Zg== Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) by AS8P250MB0188.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:37b::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5632.19; Mon, 19 Sep 2022 21:28:44 +0000 Received: from GV1P250MB0737.EURP250.PROD.OUTLOOK.COM ([fe80::f3f2:4362:56:4785]) by GV1P250MB0737.EURP250.PROD.OUTLOOK.COM ([fe80::f3f2:4362:56:4785%8]) with mapi id 15.20.5632.019; Mon, 19 Sep 2022 21:28:44 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Mon, 19 Sep 2022 23:28:37 +0200 Message-ID: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: X-TMN: [tY0C3zTP+GimiizmMn/wW+a5FwDJQo0MvHiYF/XfFx8=] X-ClientProxiedBy: AS9PR06CA0123.eurprd06.prod.outlook.com (2603:10a6:20b:467::14) To GV1P250MB0737.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8e::17) X-Microsoft-Original-Message-ID: <20220919212839.2950812-1-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: GV1P250MB0737:EE_|AS8P250MB0188:EE_ X-MS-Office365-Filtering-Correlation-Id: 41ba657f-d3f5-4861-30a8-08da9a85ede0 X-MS-Exchange-SLBlob-MailProps: AZnQBsB9Xmo/MW52haCYmXCcX3gJ22hpsDQus39UwHJiRD8NAYNvxciq5JXpw1Oy7MQzOQsQMHiwgn2FhDVFIkDFNBQksgEUXbViT3qs0dzzt8GR1LH59xD57KUCdDp4tvSL/0PpZl6viQL/UT0RHzO1yL/YXQhJ8SFldH0sDAzTYOcuI8sDUXE5IXPZHKBFLpby5kw6+cwqQnLuSe5a0ZNdiMmRgDVygH7vcfcw3nVlQ+kyp/6K0G9XiCxHgdlH8zepveLEDZLLEMt7Y3niX39w/bzZELHvhZMVlenZIviRt9PgwU+ZrmIL/Ngal73oTnQhJK8WGo2oKzgxb0YWmj7p6uOrbIQvmBnEkQLCVGpSJfCTxncZqJzR9HwMNxoFyMs2kFMhld6KdkZ6zpS6aRAUSh0eYbBVWsq9TW+tyHs1tMFXgl8744bQoWnxlC69ahZdrXmxitiope7Dge27riAgsuxHUXZoGnu1WPwXo+8enrVOCl9eTod9+J01vmd5Jj3K0gX6KpGTmrLtIrW8DA7caHP1TOR7CyobCqvIlsOc0WzGrEqg2RQACehImLO/QgdnFPIofvQrfbYjm7ZTw3q+mthdIOkq6sPZQDJRsnM8mKiF91uuFwcATaD6QOwfCt74TZA039zdZw+hrwulYuSwLyGttPUl+pnBVhNVv9GBkRvCzDihUM0wqizOxXUKjskonZQnECwdMXImb6uCMAEoipkK0RuFdkUZev9xN1w83pGz3f/XIWpJyiUFvjp5duhrcYhnhkk= X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: EfCXGEV8V9LZ/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lkcpTkw5yz7bgNuZrMQqVTWX3LBytQWRThh5nouDm8i//2qGjF2dY1i1P1K6ntYeU+f96PEPx6NvL9cvvgNZ4i5YZNIqJdBzdn7LXDtWoxh71e4WCacYOy/bWTImjS/+f3XhT9ePqOzIfUMCBZsegYFdCk+3eRXcv+/rhh0Oeyqhc6Np9WtRJKBzNeVqIeoAWowPgZqO2H7c3QZrVuwwA40vyhrfOTQWrAA1C7hGtacj1FgGUmw5DKbCki0VrTuMFvUw2rw+Z54oFBM4heluV+cCtmYX53APtibzdDrcj0TwNUnsHf+i8VRANiAvCxzLg3UCDFEY3RZHWol3OMlahIO1pTNja8MHK8HRIQodcREmb2ZytyE8kqEN8lC75ozutVWHt1CQTEF7+iRmQYpuZRF9EzZR8WZiMKNB1GbSd3KIn8G600mcq/dRn4fUZrx7Q7VF7cwB+2jcuGf19KiLi/bukYRdxjzCbmVD2qtjaBTRZCkVjXwhMzQDGyeck2SVULL2eLUbgB2TrFKYZdBPyE4kGCOItmpppz+kYjQRx/LWD0tyP64jrbWc2aVRhKO/J/JKenDEaKXvchimgNLjbsYFiLgt+q7zZZQ2jzLxsbMMJXqXL4nNREI4p9J8JmOeekRpYRlD/bpHxQnmoq4QTihjvepELd3rKn9v1cq9IP6DPNz016X5fPOx79dLTaY//DT6t3LN5Feu8/QZJeqoSlUHVGZBK8JQVoHa/7m0/AmRaA8cGxCIi/fsTHNGRm/FBIJhNepUR00quh86+8LmWn4Vdp1H3nCTY73IRkl0JLMU83yw7QVzhuKpFyMYV0cmcbbkaEcP26xTXZNqgZmNvu+QauuR7vLLzryTOY2OACXQn+x4yp/RSOUY+b0lpNY7Q2U06/OK7UPeI7wmTgRqjtFERwLXREgCX4hTpXm4KTsyZpI0j5W+8s4oX7QtbTQfAEYANZ8ohBQnD X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 41ba657f-d3f5-4861-30a8-08da9a85ede0 X-MS-Exchange-CrossTenant-AuthSource: GV1P250MB0737.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Sep 2022 21:28:44.0745 (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: AS8P250MB0188 Subject: [FFmpeg-devel] [PATCH 2/4] avcodec/tests/snowenc: Don't unnecessarily include snowenc.c 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: Sl4kAvyK2Id9 This made this file export the snow encoder and therefore pulled most of libavcodec into the corresponding test tool. Signed-off-by: Andreas Rheinhardt --- libavcodec/tests/snowenc.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libavcodec/tests/snowenc.c b/libavcodec/tests/snowenc.c index e423ab0541..6beb43d562 100644 --- a/libavcodec/tests/snowenc.c +++ b/libavcodec/tests/snowenc.c @@ -18,7 +18,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#include "libavcodec/snowenc.c" +#include +#include +#include #undef malloc #undef free @@ -26,6 +28,10 @@ #include "libavutil/lfg.h" #include "libavutil/mathematics.h" +#include "libavutil/mem.h" + +#include "libavcodec/snow.h" +#include "libavcodec/snow_dwt.h" int main(void){ #define width 256