Message ID | AS8P250MB0744BE8EE4A68E28F5B193A28F239@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM |
---|---|
State | Accepted |
Commit | d08b2900a9f0935959303da668cb00a8a7245228 |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:4a86:b0:9d:28a3:170e with SMTP id fn6csp861262pzb; Tue, 11 Oct 2022 06:19:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM76FfyrXa72VS26zJG81JLPHkEl7dY4CkkJIGdaFSLuD0vW96jk2H76i7l9N6CZdTfllV9b X-Received: by 2002:a05:6402:3589:b0:45c:28ea:ce17 with SMTP id y9-20020a056402358900b0045c28eace17mr8689257edc.290.1665494352017; Tue, 11 Oct 2022 06:19:12 -0700 (PDT) Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id b4-20020aa7d484000000b00456cc6e1017si11657774edr.109.2022.10.11.06.19.11; Tue, 11 Oct 2022 06:19:12 -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=oThY+FpS; 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 745E268BD04; Tue, 11 Oct 2022 16:19:09 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-oln040092073056.outbound.protection.outlook.com [40.92.73.56]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id CA52468BCAC for <ffmpeg-devel@ffmpeg.org>; Tue, 11 Oct 2022 16:19:02 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CwtdU90To0Hz7NzWsjxasgnDPuq4yb9RP5C3xA87V5EflhAbOKaCsDIhrPv1WXx5eIuhcWTSwADWXoGvSvI1kb8bDQCG3gvdmjLqYUxx2kP3t7qb+p4xjOhOuXEYeSjjdKWOrjM/8TEg+0IKVSnJFBU/DJzabED+WTNmKbKWmg8lX8Ws7slww7U6KO0TRx+AL/qSNV9VilxigaTUJUWuiPDoaRqap4NJkIZH95IGfWZrzhzpUeTCwdwOlG1LwReA5IcoMYuYObwy2X4ZEj80lTtgoN8RsH0RnT9pYkn1b2aWzCy/GWz9ZVfh04VJhZsLwxU//wR9f0HElExDzv0P3g== 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=jPH9MSHXrJfy1Z6PE3hfF+Eibem1bozyHLxhkr+8H10=; b=hwwmqoYvmqPLqYCNhHF/+z5nVvtBf/qSxoZ50XCSOQxTBQHj1PvZ3xiSREBUX0KaTQkSL/cUEdAmKsm5skLBuBY4Gv/Da7iqEO3a8ouoXHxiHkiJrJXX+Ycw5TPN3bCnXKr3GZbRsKsbH4GB+ycBdh1J+xVs48K7CEdprh1/5Yjnp+dFANygbAwoNuEFwgKgbdiO7Psl2kfPuCSftIQEEWoGIP7XxXqeNDKqCiFN7K8WnMrG3i4NgE92x/RTiPPXB7wslYFarvFfJBOWbEn8mwnSHIPfv9wahMxsxXdhXEZPbcQX3k8S7cacuntYqA7cfzzVBjc1gVGMQiyxzq09og== 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=jPH9MSHXrJfy1Z6PE3hfF+Eibem1bozyHLxhkr+8H10=; b=oThY+FpSk5mqddw6LkxTJfF25iKlISAEu7lqZfyWhMhUyEmFGDnk60JieGxYUKfNUBU+/A0t7DdA9+cmTuPa51x9CfLq4rD+UYwhzsbR9rIwHZ5pMIRpobIJ5zpz9ooAFo1dG0BA92SFXuWAR/T8ozluiLBK5mm5K04SsOjbhOfMDkR+ET5hOnC9NO6Xcz4kAUXmE9l5Q8mz0WWPIPVTvsJrz9ksBIUMoN59fC7pLvVduocfPeJsJqfkxYg+OQgryODbNg4m7+4j9JgzVBPMBUXUpMr8gwcitvtcluMlHTc2E39vNKVK+7jndxewGGp84bFvEddCh+ro0GpKWerVpQ== Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) by PR3P250MB0340.EURP250.PROD.OUTLOOK.COM (2603:10a6:102:17f::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5709.15; Tue, 11 Oct 2022 13:19:01 +0000 Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::f9d7:680f:70c4:44fe]) by AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::f9d7:680f:70c4:44fe%7]) with mapi id 15.20.5709.015; Tue, 11 Oct 2022 13:19:01 +0000 From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> To: ffmpeg-devel@ffmpeg.org Date: Tue, 11 Oct 2022 15:18:47 +0200 Message-ID: <AS8P250MB0744BE8EE4A68E28F5B193A28F239@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM> X-Mailer: git-send-email 2.34.1 In-Reply-To: <AS8P250MB07447D47B896E0C97810EADC8F239@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM> References: <AS8P250MB07447D47B896E0C97810EADC8F239@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM> X-TMN: [FnfIXCXcuCe05nu5/IBBhFlXYhG+9EhuWYER+McEKZo=] X-ClientProxiedBy: FR3P281CA0048.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:4a::20) To AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) X-Microsoft-Original-Message-ID: <20221011131848.798459-2-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8P250MB0744:EE_|PR3P250MB0340:EE_ X-MS-Office365-Filtering-Correlation-Id: 966cc614-1aa2-4148-db84-08daab8b2984 X-MS-Exchange-SLBlob-MailProps: EgT5Wr3QDKyUDEYghf57NwGfQF3oPT0m4MDqn6y9CddxSscAGgtGTJghBS87UEkcGS+Veq2HF5kRRgKzd7alWJiGwTUPxyElr8cNE5h1N/mgGrCY3K4pIM5UKG3jH2D7huyHO6FGZc93i2OIFLcMJnL60HL/kwceC1Svbnp7ehYVnfShb3SSZP1Oi8LIuv5iJ5yor+0Gaq6MnD4J4U7T/zQ9oZ+rP0PB4kYTFPpzyhtKdb3ksoUe1uzhTklnY5rtpg0svG+0EgmBlCeAPmn0H94QTx5lT/t+MFyDEWZIYZaXTgBR5RgxLy1+1aEGjl/50RwD/HLBWxNEooxDXvnJBF51uBGGkZE4HklRB/x/xaf/UxGsvq5tH8SEVWwcTi3a/4imnMFuTiARZvHmJvOXgC6KRIlffZd5wR6KhQ5por9We5MGeesXM3lXKIQZ5OFCnmixjny8YOP82+ueP3eI54SKuan4nJzTfSHREmy4G9qHlFqOrNkOG+mmOmYSpnpBDPluyQBG5KOlTufWcGlRxKh264ZBTh9g1HNAYSWyxcqaolmJ1PUzJuVcFgT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6BXlygE5uU9YwKRPD8USilgl3fJ5jU/skhZp/VnDNNcNErswsmfqRu6uhPOEx6bYQlZPloi98yzUf7FZ74xEVq03fwxvhCdKaY9YF5HwjrtQdD59nAJswunQZu/N6c89h4JCM1/hkGp+BNf+2h3ceEP1udO8g5Q83Xxcqswmml7yEpBY+LhbmdKXqVDMmE1Vqnu9rdYk8G X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 966cc614-1aa2-4148-db84-08daab8b2984 X-MS-Exchange-CrossTenant-AuthSource: AS8P250MB0744.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Oct 2022 13:19:01.3910 (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: PR3P250MB0340 Subject: [FFmpeg-devel] [PATCH 3/4] avcodec/svq1: Set hidden visibility X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org> List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe> List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel> List-Post: <mailto:ffmpeg-devel@ffmpeg.org> List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help> List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>, <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe> Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Cc: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> X-TUID: r0dMrHhx+J0O |
Series |
[FFmpeg-devel,1/4] avcodec/svq1enc: Inline constants
|
expand
|
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavcodec/svq1.h b/libavcodec/svq1.h index af8a7dfa04..0ccf17c253 100644 --- a/libavcodec/svq1.h +++ b/libavcodec/svq1.h @@ -37,6 +37,8 @@ #include <stdint.h> +#include "libavutil/attributes_internal.h" + #define SVQ1_BLOCK_SKIP 0 #define SVQ1_BLOCK_INTER 1 #define SVQ1_BLOCK_INTER_4V 2 @@ -49,6 +51,7 @@ #define SVQ1_BLOCK_INTRA_CODE 0 #define SVQ1_BLOCK_INTRA_LEN 3 +FF_VISIBILITY_PUSH_HIDDEN extern const int8_t *const ff_svq1_inter_codebooks[6]; extern const int8_t *const ff_svq1_intra_codebooks[6]; @@ -59,5 +62,6 @@ extern const uint16_t ff_svq1_intra_mean_vlc[256][2]; extern const uint16_t ff_svq1_inter_mean_vlc[512][2]; extern const uint16_t ff_svq1_frame_size_table[7][2]; +FF_VISIBILITY_POP_HIDDEN #endif /* AVCODEC_SVQ1_H */
The encoder uses ff_svq1_inter_mean_vlc + 256 and setting hidden visibility allows to bake this "+ 256" into the general offset of ff_svq1_inter_mean_vlc and the code accessing it. For certain arches, this is also required for the compiler to not produce overtly pessimistic code that can't be fixed up by the linker lateron. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/svq1.h | 4 ++++ 1 file changed, 4 insertions(+)