From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 360AB4227C for ; Sat, 30 Apr 2022 21:50:21 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D968668B298; Sun, 1 May 2022 00:50:18 +0300 (EEST) Received: from relay12.mail.gandi.net (relay12.mail.gandi.net [217.70.178.232]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id D7DDC68AAA0 for ; Sun, 1 May 2022 00:50:12 +0300 (EEST) Received: from localhost (213-47-68-29.cable.dynamic.surfer.at [213.47.68.29]) (Authenticated sender: michael@niedermayer.cc) by mail.gandi.net (Postfix) with ESMTPSA id E9CE1200002 for ; Sat, 30 Apr 2022 21:50:11 +0000 (UTC) Date: Sat, 30 Apr 2022 23:50:10 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20220430215010.GD396728@pb2> References: MIME-Version: 1.0 In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH 4/7] avcodec/codec_internal: Use union for FFCodec decode/encode callbacks 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 Content-Type: multipart/mixed; boundary="===============7559705262165554221==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============7559705262165554221== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1sNVjLsmu1MXqwQ/" Content-Disposition: inline --1sNVjLsmu1MXqwQ/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 31, 2022 at 12:49:55AM +0200, Andreas Rheinhardt wrote: > This is possible, because every given FFCodec has to implement > exactly one of these. Doing so decreases sizeof(FFCodec) and > therefore decreases the size of the binary. > Notice that in case of position-independent code the decrease > is in .data.rel.ro, so that this translates to decreased > memory consumption. by how much did the space requirement decrease ? iam asking because while a single such change isnt a issue if we accumulate alot of this in the API, the API may become actually hard to understand by new developers [...] thx --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB "Nothing to hide" only works if the folks in power share the values of you and everyone you know entirely and always will -- Tom Scott --1sNVjLsmu1MXqwQ/ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCYm2vDwAKCRBhHseHBAsP q9VtAJ9XQLOb346/F8IaEYEjVcgGtaIHQQCbBd74b0xAYg+tVKuaAMf1EhXlcpQ= =cm7S -----END PGP SIGNATURE----- --1sNVjLsmu1MXqwQ/-- --===============7559705262165554221== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". --===============7559705262165554221==--