From patchwork Wed Mar 13 23:09:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Rheinhardt X-Patchwork-Id: 47036 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a21:9204:b0:1a3:31a3:7958 with SMTP id tl4csp103648pzb; Wed, 13 Mar 2024 16:10:41 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUdVV3BPhjHLBRgjsa/S08yWGgFHh4uh1O21rlQY9Puljc9rMXLU7xnssIrfhG+2FGb00KndR2PYyqjYNSsKdLZD6Mtyf9HlHpTCw== X-Google-Smtp-Source: AGHT+IF6p5FfXtVGOJ8H85ADmukET8StTk9HhQqqew3IBpmtAHmCINZ9RYARomfTzufHylHA7UUX X-Received: by 2002:a05:6512:1256:b0:513:5af1:9d7b with SMTP id fb22-20020a056512125600b005135af19d7bmr5158741lfb.47.1710371440959; Wed, 13 Mar 2024 16:10:40 -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 i3-20020a1709061cc300b00a43ecf0b173si100998ejh.762.2024.03.13.16.10.40; Wed, 13 Mar 2024 16:10:40 -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=QiVvJWOd; 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 48D8268D0A6; Thu, 14 Mar 2024 01:10:19 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05olkn2106.outbound.protection.outlook.com [40.92.90.106]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 504A568D08A for ; Thu, 14 Mar 2024 01:10:18 +0200 (EET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Gu8vx2Y81ABA/ICgTGnz8p27ZMI0hcxogmtjuQU0LgiNE8iUh5DAk7CzIHu0px21mzzaFtz7AHqCBcELiK96XbR5rqQvXPk6AM9pdHUE20cX3x+mFTFcjoG2HOIubf2KHvDprEkX8Sf4BaJ/hAJLTnGZ2PjKDNRABHd2lZGNt+TpoTuSd3+gUswNs0ER7jrbewZpWgBYz+5xFsKHN1EACGNBjZIiCSuOSEtregsbgOdo8Nm+490rf8XQiLIzfH5/gjTu0ZTQ9Oj9JelnZzU4Hnl1sXfDP2vs1SA1jHy2HLSFDXM5sRqAt1jOWLL2pKhqpIA9wqxcW9pk8OvXUl++kw== 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=r6owvyV09ugAbnFKHrqEMLZU0UEFAMZKo4pcp3Bz2fk=; b=ZmMpZN6uFPtDKYYK8s8PuDnB5nr218PbiQeZGoxgH4mkeYWHr8HxtMTGY8YXWDKFbypVwph1oqD+joR63dvkHmd/SJ2OUDATUBOs0XzdlxBeTOyWVzKcyb3l4IwRDf4+uvwfgKsg+bJMWeeiscrnjYE8V4/FXhC0whw+eV2rdBPgWRTT/bOu12pHywp42v/Y184RHqCMYENEOBazGvuF5QImPCBn+2IFayRGAC+Yu7NX+TZVUiFjpPI3TK2szYDHcDI8cftGZzzI5yW5MHKi41+MYvDFRqJyuM0Q3QxYGJrFCwE4L4n6e4yYY4S3MFC+XAiLv9O5e/+ZjbeAIbcfFw== 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=r6owvyV09ugAbnFKHrqEMLZU0UEFAMZKo4pcp3Bz2fk=; b=QiVvJWOdW+y5DZOPgOHb+881bMgg+Nc+UfyaWLtuxncp3B7zGBPbZ46N0Sm35WNuC7vlvO+twi/nCSiyFPS13z3rQMLRN/LSnw+6BwA+odaqKL8CVzERDrV0cl08iCLJYRhFkSbR/G7Xl3g90x5NhBGk8A70Dyj9hntfdyyzC41ht4uv5XTU+KOAZ59iNwg2IlZBECmHF0GlAriAzuSN6nX9WSaeml3dPs6UrwZzlAEQTtap8EeXeJ7D3QZvwoAyFPfmqOID2CT17iQ7bagJv7gwLPFa6QEaW7JCHNIP7/lmW3ce5l2PC41ji5/DT5s1ksYusyK1hit9qINZhHf/yQ== Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) by DU2P250MB0126.EURP250.PROD.OUTLOOK.COM (2603:10a6:10:239::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7362.38; Wed, 13 Mar 2024 23:10:04 +0000 Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::228d:8c6f:ed10:82eb]) by AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::228d:8c6f:ed10:82eb%7]) with mapi id 15.20.7362.035; Wed, 13 Mar 2024 23:10:04 +0000 From: Andreas Rheinhardt To: ffmpeg-devel@ffmpeg.org Date: Thu, 14 Mar 2024 00:09:35 +0100 Message-ID: X-Mailer: git-send-email 2.40.1 In-Reply-To: References: X-TMN: [OzWf5PuynwYhAst++7cHQwGjwxnBDqFUrORsdRpxotM=] X-ClientProxiedBy: ZRAP278CA0003.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:10::13) To AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) X-Microsoft-Original-Message-ID: <20240313230935.3058793-6-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8P250MB0744:EE_|DU2P250MB0126:EE_ X-MS-Office365-Filtering-Correlation-Id: 9258e95b-1aed-460a-d604-08dc43b2b7bd X-MS-Exchange-SLBlob-MailProps: quCBMN2EvO9/H5+Ew1hir0C0rADHTO3rjmm1bxtUgUB74gWuJRzjfLEZY7kZz2UnO5TmyU0OI+M+aU9SYb8EFvm+aR+OVGI3wQK3RHCnvqCN5QBK7ullJsM9V477sI/x6xE7Y2+cCnDIDijJJ75V9mP2E2Y6Q4+0lyEw6r/ZcR98H+inaP5Z2KOI3NKx89TBjUs4Z8cSAkXTXiXg/u1GZv35Eipys5f6YLn8OgV1/lp+qmZ7SFVr4NpdOKEkSZls47l/8FJhwupUnCDby0peWcRmELB0vf1UM2aLrPWCAhvLiUw26b3Y53mUNtu7JDXScmPExzFlYRnM64KYt2rb+PBz7USG8rh/zppQjNfwxUYdajkqcKvSN+HPyNZq4BoIPiAYx21DUKHH3Jvd1cHGPFk/6sLav5tiwLxgpM8lJvsbefZyhNS/RtxqFpjAblI4W7OdFTK7yYDTpXpupgTcnVdKH2zXfbL8Ra/13r82+u0RDDOc8wC/O1fA0rlCsvjI4TZQJEvlaRUDYdFCHV5wcad7xSD81cBye47qZUo7f+ikbEUUC8VayqF87tYSjnP50Vyx5JEibS85bgpFNNECChVTR4n92w9d+I39x/XBPkE/sfs5VFu0nRfW0p7QBAgqBFNeuFhLaQhdVel8QiAqqPipEp45NZ8wax5egKAFOssywup80x/MEb9Xl3rUFKLqIIu1yMbreKprFl/5aaJAxw== X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: psbKsIhrVhwgOwpi7zXEZ3Cqazx/aQo9jdWQLBZDj2QzJAINDv4oZU4aa2nRKNd4JP3j8Xl/rRXCdmwM9pPhgqOEnj/S5za/P5oH/ldaDpUSxHyPR8G8ACZA2nyivTjd6TZSH5xbW2xo5fSH0pV3vemEr2R9ZxjOtcIQj0SAHjnU7vORmd/LS53zzmVvYI4VTDdZVEKdVLQb0NZuMzWZM2LUo8tfNm4H16aeadyu29LSLMbhyK2WQ1JIVKEd47tnkhqZg9hhCCFcnMTKMHcbPKTh7E1t5R7EQSpC2xXoiKDJ8ORDAxml0BodDpIMHa1RQWOVgXE4QOh/pPH0xNe8W9Syby+/7vOAsM2GEov48btaEeCFS5KQEDmmTdWU8LxprGbr9zv/pmIPsrr1J98k1qGEPkjj98om33msWulfGZxxT7EqF321+r2M+mcDFxMsqlQK7HP1QtkapO5ptWEJoZZw/HmCnYQgPRmMMdcPLlR9qTJ2hE8+r9lLLR0kiptFoJv/SsD4wBSD1axsQOmwoNlPClWegO9Tfi1Hs4ll3/3aREGXzkiVQ/3DJ5FQGy0FehYEpC0kFgxcHoq84O5EuLS1aR6hLpqDtBo3c9IhgDmKAjsTnEc93bdiUkXyB7Nd X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: XjmNd0ENSj45Px2QsXT9IHYAsy11FD0OcPo66AGTgoQvNfLAf2fLgDEMJyT6FSACJ7gwY748g42Vgi6J87l06viElNa9rCMFdKiFy5NmMIkEKJNxXfd8UUE040c96TSlJTYKTkl4QK87ab5l2q4rRwIeDhJFwsw3VuGjiH9D4vSG90FhPQYVoCimt1PeaPRbpO5d01j3HKFjHprsLqmQ8+m0wlV0Pcntia/Ha77w08pnjO5NDw2jDgiEKkcQywQk5GeeRKfhwpmaXuzsDNiatCakTOs5LMdDUxjyh9INU3nJXW7kpzpmbmfYzoEMvwx7f9m9fh+rAOW+ezB7vClOK3LwUOjiglSN0BTaq47002WSmttd5Dny9sT0yAJa54LmC/cDPYQoTR1BvUTV5nHvPy0tado6iL6oAvLQGxcKmc3CU4XOEHg1tJ527A0Cmo82+SHw36np+g6SDjc8hPvvjNA58GKLFnBAxNDPJMALbSjztuL53EedX94c5LT+eiZxwicNYKlczsLFxSAttNcqzsx0SEK1soBsc0kpu4utADFLh3ox5wT0uI/R0LXW8E7ypkmIMfPngJtWOyR0GfxtN+5lOoPWzYvWcQ8seZ6vCSeO9J5qHRu9QDcWTsQb//N8NhLPgu3oDX+zEWmsN7a3DHj7x71VDcM76pz/KVR1+qup1OF7uyt8wu+hw6SbXNpfHI5PljjBcKc9y9nd7nqASqd9GhflqAkUoK0tfH7Xtcn7FEyItMj+kpDiYD/UJTvcAadQY8cT+b962Ou6AjKzWPwc4sDkHxTD70gLFEltRZK7apyeBrpBvwbKZ64+DMDx+5PXYc7j2k23MUR6F3hRYjTUhfKyNiqdVPsGxedsUwylJX9q2hhXLhu3dC3u/lY7S1TOyEs1qH4CVnXYpFQlUY+KjyxF4drRfi2qgJ8U3yI8u2a/2HnO7TPSKmDuJZ5iQrnous7Xml8zVktIWz2Hw8jgQQbUNpC/8FnFZv99E/J/h5UT20xGHTHyY64I14p63v/RjgjEzdY7/BfolWCh2O0zQd9lE2TE0RXHxIBYNaRgWjowURuWO3vok6mVIBm+Jbqew90rvXBmvzvUk2eiCigniQyWlthlbBCKst3gLuWIPb7YvX7ThuuKV4QpOCe2hy9Lzkn62Lw9ZkFOZ9Jho/totN8r0N+8LFaKlnX1BEEgoRPqh+DqdF6FsAM8N8oE4glr8H4USbsn//NMIHjs1xPvzmpf8YluTDa719HItPYSAHGPQrh0fyQxvxfq53BxjaAnSus3G/GesuIVcmWj7g== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9258e95b-1aed-460a-d604-08dc43b2b7bd X-MS-Exchange-CrossTenant-AuthSource: AS8P250MB0744.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Mar 2024 23:10:04.7368 (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: DU2P250MB0126 Subject: [FFmpeg-devel] [PATCH 7/7] avcodec/mpegaudio(data|dsp): Mark symbols as hidden 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: oSHhJjpJDZI5 Avoids .got entries for ff_mpa_bitrate_tab, ff_mpa_synth_window_fixed, ff_band_size_long, ff_mpa_pretab, ff_band_size_short, ff_mpa_synth_window_float and ff_band_index_long here. Signed-off-by: Andreas Rheinhardt --- libavcodec/mpegaudiodata.h | 3 +++ libavcodec/mpegaudiodsp.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/libavcodec/mpegaudiodata.h b/libavcodec/mpegaudiodata.h index fbad67a0b3..720c4bee64 100644 --- a/libavcodec/mpegaudiodata.h +++ b/libavcodec/mpegaudiodata.h @@ -31,11 +31,13 @@ #include "config.h" +#include "libavutil/attributes_internal.h" #include "vlc.h" #define MODE_EXT_MS_STEREO 2 #define MODE_EXT_I_STEREO 1 +FF_VISIBILITY_PUSH_HIDDEN extern const uint16_t ff_mpa_bitrate_tab[2][3][15]; extern const uint16_t ff_mpa_freq_tab[3]; extern const int ff_mpa_sblimit_table[5]; @@ -78,5 +80,6 @@ extern const uint8_t ff_mpa_pretab[2][22]; /* Initialize tables shared between the fixed and * floating point MPEG audio decoders. */ void ff_mpegaudiodec_common_init_static(void); +FF_VISIBILITY_POP_HIDDEN #endif /* AVCODEC_MPEGAUDIODATA_H */ diff --git a/libavcodec/mpegaudiodsp.h b/libavcodec/mpegaudiodsp.h index 7bc635191a..5e47a263bb 100644 --- a/libavcodec/mpegaudiodsp.h +++ b/libavcodec/mpegaudiodsp.h @@ -22,6 +22,7 @@ #include #include +#include "libavutil/attributes_internal.h" #include "libavutil/macros.h" typedef struct MPADSPContext { @@ -40,6 +41,7 @@ typedef struct MPADSPContext { int count, int switch_point, int block_type); } MPADSPContext; +FF_VISIBILITY_PUSH_HIDDEN void ff_mpadsp_init(MPADSPContext *s); extern int32_t ff_mpa_synth_window_fixed[]; @@ -88,5 +90,6 @@ void ff_imdct36_blocks_fixed(int *out, int *buf, int *in, extern int ff_mdct_win_fixed[8][MDCT_BUF_SIZE]; extern float ff_mdct_win_float[8][MDCT_BUF_SIZE]; +FF_VISIBILITY_POP_HIDDEN #endif /* AVCODEC_MPEGAUDIODSP_H */