From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ffmpeg-devel-bounces@ffmpeg.org>
Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100])
	by master.gitmailbox.com (Postfix) with ESMTPS id CD9124C3BA
	for <ffmpegdev@gitmailbox.com>; Fri,  4 Apr 2025 17:49:48 +0000 (UTC)
Received: from [127.0.1.1] (localhost [127.0.0.1])
	by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8171668AB42;
	Fri,  4 Apr 2025 20:49:44 +0300 (EEST)
Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net
 [217.70.183.195])
 by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 09362687DA8
 for <ffmpeg-devel@ffmpeg.org>; Fri,  4 Apr 2025 20:49:37 +0300 (EEST)
Received: by mail.gandi.net (Postfix) with ESMTPSA id 4A0FD20485
 for <ffmpeg-devel@ffmpeg.org>; Fri,  4 Apr 2025 17:49:37 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc;
 s=gm1; t=1743788977;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 in-reply-to:in-reply-to:references:references;
 bh=GPl3pJE9DrNJTYd7aY8UYb+jrTWqcTt8rrbLCse37WQ=;
 b=nSiGusiOvcXAJtMxzUs4oFZ8nycBK7yjg63jGlizyCXR0FWFSHdwwf6N8kevdNj5ATbI7N
 WfdZnPxJs6EpeKDNyNXHQbzmJcKgaysm9STBymCEONrcFAAkhM2OddVT2ShRlbCNrbvm6D
 c3IZAWG8AlzFYSD9ka8niAHIaWql5ZctpGz8cAvyxDJmvSvFk7mwRzCw/9t3NYkKLqQELG
 iXs1AguL0zz/8bi0DBPgpfatPytUWRUwIUxXjclpmATE6Gx9jvxOBDWl8cN3k482+E0tSn
 K00GKFOlm63JOR3tgRTp0pmfLIAWoyLLJGaMogQMPbG/ims7icS9u44k17Ux6Q==
Date: Fri, 4 Apr 2025 19:49:36 +0200
From: Michael Niedermayer <michael@niedermayer.cc>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Message-ID: <20250404174936.GP4991@pb2>
References: <20250402005154.1096898-1-michael@niedermayer.cc>
MIME-Version: 1.0
In-Reply-To: <20250402005154.1096898-1-michael@niedermayer.cc>
X-GND-State: clean
X-GND-Score: -70
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduledvtdekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdeftddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfpihgvuggvrhhmrgihvghruceomhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtqeenucggtffrrghtthgvrhhnpeeigeektdejudffjefhteegjedtgeettefggedthfejgfevhfetgeekjedtvdfhveenucfkphepgedurdeiiedrieejrdduudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieejrdduudefpdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg
X-GND-Sasl: michael@niedermayer.cc
Subject: Re: [FFmpeg-devel] [PATCH] avcodec/ffv1: Allocate unit only when
 needed and only as large as needed
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>
Content-Type: multipart/mixed; boundary="===============4833154515704239647=="
Errors-To: ffmpeg-devel-bounces@ffmpeg.org
Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org>
Archived-At: <https://master.gitmailbox.com/ffmpegdev/20250404174936.GP4991@pb2/>
List-Archive: <https://master.gitmailbox.com/ffmpegdev/>
List-Post: <mailto:ffmpegdev@gitmailbox.com>


--===============4833154515704239647==
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="Frqm0RSxMdGcHMNB"
Content-Disposition: inline


--Frqm0RSxMdGcHMNB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 02, 2025 at 02:51:54AM +0200, Michael Niedermayer wrote:
> That is instead of a fixed 65536, we now allocate only as many as there
> are pixels.
> We also allocate only for the encoder and only when remapping is enabled
> and only for 32bit per sample
>=20
> This should reduce memory consumption, the 2nd array will be
> dealt with in a future commit
>=20
> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
> ---
>  libavcodec/ffv1.h    |  2 +-
>  libavcodec/ffv1enc.c | 17 +++++++++++++++++
>  2 files changed, 18 insertions(+), 1 deletion(-)

will apply

[...]
--=20
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety -- Benjamin Franklin

--Frqm0RSxMdGcHMNB
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZ/AbsAAKCRBhHseHBAsP
q4cAAJ9rD9b8fUgg4+rCmdhVpH7niEeiTgCcD4kEY8solbItKKNbSh4zPKjsYbk=
=vQm7
-----END PGP SIGNATURE-----

--Frqm0RSxMdGcHMNB--

--===============4833154515704239647==
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".

--===============4833154515704239647==--