From patchwork Tue Feb 15 17:42:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 34311 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6838:90eb:0:0:0:0 with SMTP id a11csp510701nkf; Tue, 15 Feb 2022 09:44:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJwM4EY/Z3eL5FSdJmLOXP5gRW5BACwjC89f+UdJx9FRN0pn/XUUCnnat64WPGRfzwIc/kEE X-Received: by 2002:a05:6402:2050:: with SMTP id bc16mr5093571edb.431.1644947041460; Tue, 15 Feb 2022 09:44:01 -0800 (PST) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id s3si15957392ejn.305.2022.02.15.09.44.00; Tue, 15 Feb 2022 09:44:01 -0800 (PST) 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=hyTYKASJ; 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 E3C5A68B234; Tue, 15 Feb 2022 19:43:29 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05olkn2099.outbound.protection.outlook.com [40.92.91.99]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 25EEE68B133 for ; Tue, 15 Feb 2022 19:43:28 +0200 (EET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c+CeQ2Wjxn68FO0lGrCYrdnw/g6AO0TtTq+2USz6LnwuWhBD/ccvJzQTrMTzNFkc5hUFn++Oggs9wSZfBp7NXebxaYV0KRysoJJCol/ai9F9N5L7Nt23Tf7edww+sdAiXuqtB1Gv2KdJsILp/fHz/SHj91the6O9Cosx23lXQIcinOTlGMXQd7xRk1CJrOo4zfbubo9LoZcTDej6QdQ3nBU3Mw5oTTvLEl/PiwoAh1xHZchCiwyOwXQezm7l0XrwPLEMpmwHiG2txz020vhH9psT95eFvd+CVCx6XzpeaBFtxiJFpU7Jw2NzOo5u0QYfMU/SQm9sETcxivt09jJlqQ== 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=6ErgPR+Y3Bsu6wR8NlM3sayw0Ru5zYXVmKqwDFYiZpg=; b=U2OG1POAi5eRg4fXgVt0cVGkspToWn09eL7RjElfMUxhh6YlxW1v34qGbQajis/pi4aEI9yip1RBcMXGiC0QbeYoAA/WIY+WspTy+H7FYIsi8dbqQzjCiDEK/2vRFpSPeaqTB3FP2d8ANvmL6JWR6OIvEHdcOh35589xgsihpLRTWMOTrXxqeySUHLQ/bc7fUlUEjxzBVsADn1C6Gk7PNX7yM+L0FQSDUl34DL3gO4Dfe7NxYs4OLZ8IeofTmW6ylIo5zdN2hn3SXlrWtpD9ESYHdTHH8EQhBF2c5/amORcMIXrllDtgELl/YXLFNi3Alxqs9hvdcigzqbS29DuUhQ== 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=6ErgPR+Y3Bsu6wR8NlM3sayw0Ru5zYXVmKqwDFYiZpg=; b=hyTYKASJIdIOTi8eDknPcssOR+GdjktNgdBRQyRfow3r2CYGPeOZd4u87KNnEOUl95yqidhIqUv6lQeOQEHJ2frFMD47nhxX79lJ8ucNTHObjvIfuq6PuuVlzjq7huAx2Zxks4kKuWixwlcMbi3zMDMzpB2rhkYkzmmw2vAmj6R99lS3VdtJeRuWSRM0rWAcPcKaSEpYVF/iJZiUALQVB+QZQssO1amJ635L0/TBg8uhJvwwIHX1IKS2crXA5E7mZkpJ7ScwCurj/6u6Hj1WbR0JVbK6lmpXUJxLwkQPPFz+lI0pcqKgyjtnknTjVdgNgsiTFyE9A1xccecYY2Kvsg== Received: from AM7PR03MB6660.eurprd03.prod.outlook.com (2603:10a6:20b:1c1::22) by DB6PR0301MB2533.eurprd03.prod.outlook.com (2603:10a6:4:5a::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.19; Tue, 15 Feb 2022 17:43:26 +0000 Received: from AM7PR03MB6660.eurprd03.prod.outlook.com ([fe80::ac56:2ff4:d304:ab22]) by AM7PR03MB6660.eurprd03.prod.outlook.com ([fe80::ac56:2ff4:d304:ab22%5]) with mapi id 15.20.4975.019; Tue, 15 Feb 2022 17:43:26 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Tue, 15 Feb 2022 18:42:53 +0100 Message-ID: X-Mailer: git-send-email 2.32.0 In-Reply-To: References: X-TMN: [hUgQcJKtnv4PaTtWszb2Vpo59dN8dDIt] X-ClientProxiedBy: AM6PR10CA0001.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:209:89::14) To AM7PR03MB6660.eurprd03.prod.outlook.com (2603:10a6:20b:1c1::22) X-Microsoft-Original-Message-ID: <20220215174307.564339-4-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7517f752-cb81-4bf7-cbea-08d9f0aaabc1 X-MS-Exchange-SLBlob-MailProps: q+fD6XS3/UJlEiNrutKghn3Pgfiwdt2TnsNz5sZNt2HAIpaXiPjYxx7w49JzvFq4BY6hW/V58ntfumfu+bqD7pKwFPoaWmKKcs2FycRRo2aUW4I++jP2c5vK2vYuNB9kP1JBLavQjP2NceHRbUY1JPbU3UZB51q1xKa26ugHa717Uuf2Cz3zHXPpDr/bJkaxTX8nF6rv7O2ySna0D6LH1BRKPLRpX3kbrbKdCg6mvFJkqyn4iRDmfLQlPo+0MzLHsNNKVpM+aHAD4gtLMU0idnLBNBBorCW9qfpH0N0+g6q2Ws6LyUHsemaxDwUTeFDXFn7xp99dMQtEzarMq29gYi8eBQt/shVYWZ2x9ecdMSQFjoTI2AXC5DU3xRuHo45ovQll5CU155JeEgmLx3qahfL+CWGDD31nF0qBBKi80t5zbLP3OQ59qe2Yzmez0BXVbVPH0qC4YEwXqPRO3bLtiE8wsNVLOUbqOjPrNftJrjiEYnndpy8uiyLV2SrxFVsrZnfvVo+OBdckb+76hiAUY54EaoL+UHY1MHx5qZCHhYpM8EKqP6Cw4n/mQF6DIn6L6k8abXV2T1KRU5AC1YdZ6/bp1lCBic8T2hp3BmEFQ+KIqNlUqGJ6nXkoAtIjjyKklo3M7TMWuHUMT4miHa199J95WXh2Xaw+2CscS2ENiP14JWuTp+lEkt/yfjEr/ef9hcDuTAZzK0Vx+ubzmpDZmA== X-MS-TrafficTypeDiagnostic: DB6PR0301MB2533:EE_ X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Ntc+10GthKOaYoG8Tv4DO0JyQbsvEWAX/rAG7o6R1OjtKdgiq8hcg6kmJXVNPeiT93Pn4+N8O7B5zjud3G1JFpfnX/uJyPSo5aMkep+qdu03iJqqXv8gGoj3XNfGo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V6qVy0ru8+PH00n51b6xoHGrlwu8FOyRNgJAiXrYwmIx78XYYEYOkHb6e2R4hTxGHacqp7u/7WP37eCl2KQnJH9NfcjmaieTWkBEP22jN3K9aDDgJ1mx2F7AoHjcMKzoG1Qjx4/duchRIKgr/dsO9O3X2tsAHoTgzCs1OgwBH6IAFqP6chtr+WsffcRtpT9MO5PZJYh/8noRBjCeLffalflQgwxbYF1VNvRJzGghHBn5CpR6FhaCXrPE1iUZHoKZ4YG35/z9v3h6IJzh5MuYUUhnMjqOkvuDx072ylTFMCx0do437k+3os8JZRGWG1HbOBnebSy/AFi3Lf/lE6iovgh8hJfH7kRi2RjMSJb3s2qBUag73ZuwOdc7IZZQk27xEPiv1Na7rDv0PSz/YHKIYYODBbHkqBZkyDlIsCUeY7bV6HPCn+Q== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7517f752-cb81-4bf7-cbea-08d9f0aaabc1 X-MS-Exchange-CrossTenant-AuthSource: AM7PR03MB6660.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Feb 2022 17:43:26.8065 (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: DB6PR0301MB2533 Subject: [FFmpeg-devel] [PATCH 05/19] avcodec/mips: Fix checkheaders 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: HVznMrol+jw2 mips has several headers that are only meant for inclusion in another non-arch specific file; they do not even try to be standalone. So don't test them in checkheaders. Also fix vp9dsp_mips.h, an ordinary header missing some includes. Signed-off-by: Andreas Rheinhardt --- libavcodec/mips/Makefile | 4 ++++ libavcodec/mips/lsp_mips.h | 2 ++ libavcodec/mips/vp9dsp_mips.h | 3 +++ 3 files changed, 9 insertions(+) diff --git a/libavcodec/mips/Makefile b/libavcodec/mips/Makefile index 81a73a4d0e..05ed63bf3e 100644 --- a/libavcodec/mips/Makefile +++ b/libavcodec/mips/Makefile @@ -1,3 +1,7 @@ +ARCH_HEADERS = aacsbr_mips.h aacpsy_mips.h \ + cabac.h compute_antialias_fixed.h \ + compute_antialias_float.h \ + MIPSFPU-OBJS-$(CONFIG_AMRNB_DECODER) += mips/acelp_filters_mips.o \ mips/celp_filters_mips.o \ mips/celp_math_mips.o \ diff --git a/libavcodec/mips/lsp_mips.h b/libavcodec/mips/lsp_mips.h index 23b2b6bfda..c69f8b770c 100644 --- a/libavcodec/mips/lsp_mips.h +++ b/libavcodec/mips/lsp_mips.h @@ -54,6 +54,8 @@ #ifndef AVCODEC_MIPS_LSP_MIPS_H #define AVCODEC_MIPS_LSP_MIPS_H +#include "config.h" + #if HAVE_MIPSFPU && HAVE_INLINE_ASM #if !HAVE_MIPS32R6 && !HAVE_MIPS64R6 #include "libavutil/attributes.h" diff --git a/libavcodec/mips/vp9dsp_mips.h b/libavcodec/mips/vp9dsp_mips.h index 0b6ce7cd7d..021ae9e59d 100644 --- a/libavcodec/mips/vp9dsp_mips.h +++ b/libavcodec/mips/vp9dsp_mips.h @@ -21,6 +21,9 @@ #ifndef AVCODEC_MIPS_VP9DSP_MIPS_H #define AVCODEC_MIPS_VP9DSP_MIPS_H +#include +#include + #define VP9_8TAP_MIPS_MSA_FUNC(SIZE, type, type_idx) \ void ff_put_8tap_##type##_##SIZE##h_msa(uint8_t *dst, ptrdiff_t dststride, \ const uint8_t *src, \