Message ID | AS8P250MB07442AF6C130D7EEA8F2FF478F5C2@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM |
---|---|
State | Accepted |
Commit | 674f20813d14924e814fa1c68fe72aa2a79154bf |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:a919:b0:19e:cdac:8cce with SMTP id cd25csp2429412pzb; Sun, 3 Mar 2024 10:41:17 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCX9LWdy7BIXqIYqqMcwG+0a7w2nMgLwiQH/ns932hy0Fii0dLid0mdiTOaVFaNUJq1Nm+tY6qZfnnHloKZrYlO3m7lccHOFbsJ+fg== X-Google-Smtp-Source: AGHT+IEExSQvxDv1pV7peknEOQmBdvnn1/G2CqRUpvrp6csZ2bO57ysKHBjQmuHb6jKw9hhIRJyp X-Received: by 2002:a17:907:a603:b0:a3e:9bce:b5b1 with SMTP id vt3-20020a170907a60300b00a3e9bceb5b1mr5852042ejc.5.1709491277092; Sun, 03 Mar 2024 10:41:17 -0800 (PST) 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 du12-20020a17090772cc00b00a44c7cbcfdfsi1735146ejc.354.2024.03.03.10.41.16; Sun, 03 Mar 2024 10:41:17 -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=J9Qd8LBx; 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 E278E68D3B2; Sun, 3 Mar 2024 20:41:11 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04olkn2069.outbound.protection.outlook.com [40.92.74.69]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3829568D368 for <ffmpeg-devel@ffmpeg.org>; Sun, 3 Mar 2024 20:41:05 +0200 (EET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d1N+2oKbJUu6L65tcBW1Q05A382nSWqqUve84o32Tzv5LSNqDkpnEaP3/jt8S6pOIIeVVMGpcwnFZXGv5f2SmBWLEQURKYxCbvvxFOu+fAaJE02A7pEM0zSQrXqOarZSy/bg0qeR0ZLtG2ik9h/MZX/jCbO19/aQidzCX0HTv+/XGJrPqtExEuooZ4lzYeh67ouzEoFC0OWY2bfAtutpYgg4DZdtv0FTImKvBPzlOP4bBcc2blgr97PrfBlpOW4j6dwwBAMY0ETmzs7lLR2XVbSFEW3IKPBnEwpK7wEpr0CT4Mr4AYrIDJcGb81FLc18V6LFtJlXeZx3rSxluUYNfQ== 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=w3r6Jb6jDtiThCibna79arDX2KRZLatdG34SKsU0YT8=; b=BJ83py0fb2+YEapsXx5yEhchChnTYrf03X+oKAVNQ9VmpOkWe7PZsunFUWCEYXzBml/Y3fAApzpeEBlIbvXIpRSxTKkU7JelU1GdtpXx7dEA15EhBPMw8NJRHS1h9rPLUWPC9tXUhhL3WrUPZeuCD0+vtzmdHYBAbuUCWBj+Aqc0ZjbxCCpkwsLG6kHAc7vZxDzeAQTKJqZYOOrtLAQnoAh2YZvXuruJgBTqns0BPDs4pddzoPlTvdyEbGWTb/WwZ5bfuppWT+vDd6Am2m822zImkuLNil1wEJ8I8b4EYpW4YXuQsKhKh2xBuZjmkwvghTjP9F8TPGqLnEMV4sQtgQ== 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=w3r6Jb6jDtiThCibna79arDX2KRZLatdG34SKsU0YT8=; b=J9Qd8LBxGHi5eOtjc4Qy3zZrGfYYPf7/pxKWsuhADr/a1HIVusT8x9fXNxvBx29IM8oSCF74poixTTI6qxvdjR085efqQdXkoLfvuiFrcJSG1YDubiCOVQXppkLaMFElgU/SM1QpICeU/v7cw/CRwj9h7zteL6LvKQUtNNwQsQdVgXJLr0TfkOgOeNCK91ATOLe1S/iWS+hXdn9v0yKEze1tJBR2PiNhNeWGNLtPjU/lT97QRHHsnkB/DnzqnqaCC1SMVhYRt39i0Kd4IEkihhIn6aKiiM5/4K4bbCN5/ReRu4i+DyaTrZHJQYTBSugt8WDPE5F/51JW+umxAVND7g== Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) by PRAP250MB0538.EURP250.PROD.OUTLOOK.COM (2603:10a6:102:295::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.37; Sun, 3 Mar 2024 18:41:02 +0000 Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::65aa:deb0:a18e:d48d]) by AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::65aa:deb0:a18e:d48d%5]) with mapi id 15.20.7316.023; Sun, 3 Mar 2024 18:41:02 +0000 From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> To: ffmpeg-devel@ffmpeg.org Date: Sun, 3 Mar 2024 19:42:45 +0100 Message-ID: <AS8P250MB07442AF6C130D7EEA8F2FF478F5C2@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM> X-Mailer: git-send-email 2.40.1 In-Reply-To: <AS8P250MB0744636F6E1B70D50EB6644A8F5C2@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM> References: <AS8P250MB0744636F6E1B70D50EB6644A8F5C2@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM> X-TMN: [gCuZM/TL8f/Uj/qwABeSicjEfaQyeLkGCrEl5PIbPZg=] X-ClientProxiedBy: ZR2P278CA0066.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:52::20) To AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) X-Microsoft-Original-Message-ID: <20240303184250.541590-2-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8P250MB0744:EE_|PRAP250MB0538:EE_ X-MS-Office365-Filtering-Correlation-Id: 88b8f14b-a393-4bf6-5cc4-08dc3bb179fb X-MS-Exchange-SLBlob-MailProps: 9IecXKUgicBNlqXpgndjr4h+wQt1UEYhsE/Hhwk77UAFDN4nPZvpYz/BSRHFBh3S36KjQ7zzgYks/OJ1230XwjXD8/uWv4GQ0ZfovI0Qv6iIs+udwzRNubFTeRaef08xI4JNht0Ht/AtyuTPjjvsrBsbQG58+tJiB2/tg9GDPQeGvA24ro1CT+0sXpxs1L+1GaWzOUqiMtDwWo9bx4BXzIA2l3GH/cDqChur6EGKK6ku2ysH16K+e+nOGA2kUm1aChpf+++0Tx3wYB2MdZfFjPmQY5+F0A/UxDh4jCuqJv1hT/b2HQQTSuxUcuRDVg7pwuPGRUOxpidhGb15MZk/P/AQVcwzjcPcP3K+mN8Nm/2GZkndLYV+RLjAXkYlQq7TMRwbbCLNXAoDsaGqQwen5eQwX/NgZpt3rYJ5vyrejq1JzfZUa2F0vbhk7uXTyIImStVHPv+U5viBfR7AZMcnc7pvPgf8ZpY/SehcZM5ZjqGkuwgpXRhIpmPQWxw/sOa/hQFPUptb2MF5gYYX+LqZkH2Ek7B3QmhDN7eTHf4HmFMmNYT12qlEzUuuX8p4dMME7fs1kSIlG1V8NjyLeFPCZ1L8YK5/NYsaNaABtpMQUOeg1mguY91+Lbq+JKmcYZxsTLlwe8GpJwZro+5KWnOamvXZepLmVgAwAZWcvplL4pGJnWIejpvq4AZn9vpMX5mDtLA0FnvEEoX8RulhJKJEMwPKBV2Zl33+Knkwqtvd3f0B38meDy0Oag== X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: D5Of+93MOAmddjIwHqU7bHjQRgQpPYIKT09tKgA2wuwhe4QOoeToDElVwXuPpABmbj8QbyeycllZMF1DOjW4RqUEMHUtAn2fnD2us87zgikmbhSBRmZTtafrLIqQuOkZck1PCZa8S0feo3e5iBul0AQriIQrdElXPH97w6ShFNc+4X4LEJ33q4YUPv4LzA/3JodTnR8uQ1WRRPb6wCyKPDHVjbBTMV7TqkPLhS3nprTMj8i8huLvFQwPqwdLC1BsG83uming3CDJrk+WeZ6oNOQsuxI/x3NN//WzVArKTbNaIIaybhd/OAkJ59rcSVliwERBhB9KEmJtjqRVFI+CoijlOGtuAFxTPElnG6fPXy0YR5D51HxTO9k839MsqK9ghLX1o6c9mN3PcRc7cVIgku0R65ETCc9Nj0NE+/tMnJaUKCUhhBslg91PR4t5sj4fP2hb6Eo9yxMBN7MjuaRmnuy9cuZ1qLyd9PTdH9DXEE3aQ6MwxOUuDg0nJwS1m6QqWFuOsWFjCJIch4osn47vNzUsdGzXsarV213RJiF9LJEjqEiiW2+4ZI/CQ05iUZlvwkioBuQ+zpcsn4ejvNhpLBpJwaO4CYVoPiSr87xXcvRnGk++jeQxsHGNdX8Lwnln X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSp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Qgjvdye+1RxWfDyRDxKlpghKJb5gfeYnqMiEFM0siXkRx7rJZZNeuskAk8Y1CaXqM/0dB3Br3lfAdrLnX9y6vgL7nSpUo+GLAom9JFDkL4NAKAXx5AfHk0yaHD+MkDRPZmGCpplraiAYFxCRcrddFTIgqWxFIMUO4Y5HdaGt4vVLbjsxUdwQMGheI5U9bc0RwF3yf8pamJ0+UXTWV4cTJbSeQ00o4McxSXvty2mSnicBIOVU2g== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 88b8f14b-a393-4bf6-5cc4-08dc3bb179fb X-MS-Exchange-CrossTenant-AuthSource: AS8P250MB0744.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2024 18:41:02.4364 (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: PRAP250MB0538 Subject: [FFmpeg-devel] [PATCH 3/8] avutil/vulkan_loader: Use smaller types 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: YghQ8o6Voy2n |
Series |
[FFmpeg-devel,1/8] avutil/vulkan: Don't autoinclude vulkan_loader.h
|
expand
|
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavutil/vulkan_loader.h b/libavutil/vulkan_loader.h index 07b6316089..37ce339e1d 100644 --- a/libavutil/vulkan_loader.h +++ b/libavutil/vulkan_loader.h @@ -97,9 +97,9 @@ static inline int ff_vk_load_functions(AVHWDeviceContext *ctx, AVVulkanDeviceContext *hwctx = ctx->hwctx; static const struct FunctionLoadInfo { - int req_inst; - int req_dev; - size_t struct_offset; + char req_inst; + char req_dev; + uint16_t struct_offset; FFVulkanExtensions ext_flag; const char *name; } vk_load_info[] = {
Saves 16B per entry here (four of these 16 bytes are padding); leads to 1776 B of savings in each file that uses ff_vk_load_functions(). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavutil/vulkan_loader.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)