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 D66AD4B8C0
	for <ffmpegdev@gitmailbox.com>; Thu, 27 Mar 2025 02:13:11 +0000 (UTC)
Received: from [127.0.1.1] (localhost [127.0.0.1])
	by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C3E4668051A;
	Thu, 27 Mar 2025 04:13:07 +0200 (EET)
Received: from EUR03-AM7-obe.outbound.protection.outlook.com
 (mail-am7eur03olkn2059.outbound.protection.outlook.com [40.92.59.59])
 by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 39B166879C8
 for <ffmpeg-devel@ffmpeg.org>; Thu, 27 Mar 2025 04:13:01 +0200 (EET)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=r4pB9EymtSanF7bqLqs5ROkLbLypw6lhaPpl3kGTB6S30Ogrt5pisUhi8pVe1vVc+rPZhxw8UzrpOSRfqdfBLhlY0aqXu08QAVsnfDnHExbVWMRr0ab67YmdHWZshf9N2UYyKmpGrKEetMM3bn2N++/k0Jokm7sFQi0C7YTnVonyleUOgmoProGV6NHSiaeufrptfTP11czpwroMN8nh/Heaj3B/mRisEpDpGQI0m0trpgNNOYZiC0dDYv1Iuc3wujFsYejdhEFhZguYXBOmjxSz7hDC4FpHmKDaf05ydnWIV9GDEGw1DB+Fq9kEZSwkLtU1X0zAJFmnRUeyy+9YIw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector10001;
 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=dzuPccbU7Y270jTfjDPrS0I5vreY+NLQLOTiDYAiIr8=;
 b=tAytvL0F39LDJeyfMeqPKzqjei9rGC7kax3IuoH8AcVtyigJ/vvDv3aID4eMOetQrrbdYCELAPpy2yBJHsJ6yb5VQGM0QXLg5DUDQQwpc0G+vkbe05EfK+Ye5mHA44LP8Vdxj/6XnSSkPy5rbTTjP/w+EJLKSzJyvCBI6o2ubVwgq4cHG++JiSVdkYw0oWWFc/P+SpJK/W993eNnW71uoHQxFJWNaXQwfyE1bG8R/XBpQgJsVDuOb7MF4OaeV316jiiMksArGisq3I+NOZhSKYfNESL6y96z/GzbFBa4BuzeH8jMImQN1xqiSlRTbgcFahNTZlNPv37VlgUj0jZKLg==
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=dzuPccbU7Y270jTfjDPrS0I5vreY+NLQLOTiDYAiIr8=;
 b=WxwntlHWhJSk+7Qo9ixYdk1+nK4EU0FEnW7OWduH8wyGCyQbv27340NxlO9+sbAYd2t9ZZj08XKAOOgh5QUw7j8LODcCziLU6B9r8wpzQ9xWKFzm/pKUXkcJBgNEBBcTetwdxCzqa7PtpFc8Xb0KEo73Qx8VNsLdztB8YFKkDcu2SkNss/2xSNwbdtbNE5XADEmjS2xnE3SFjqj3BCSKMJ5KypHh9EGKgHE7Q0PZMzCMaCPJ9TpUud/lf/sEUSW+3RcMc281ZCmH7hLN7uWzzE+GJulpwiCOqt8JZNX0G8EPM13+zXfNPeZUtHu/MReZu4lpN1XQ+ShFbnxppzqo4g==
Received: from GV1SPRMB0036.EURP250.PROD.OUTLOOK.COM (2603:10a6:150:8b::16) by
 AM8P250MB0138.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:321::16) with
 Microsoft
 SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.8583.27; Thu, 27 Mar 2025 02:12:59 +0000
Received: from GV1SPRMB0036.EURP250.PROD.OUTLOOK.COM
 ([fe80::2e14:af18:9569:bc54]) by GV1SPRMB0036.EURP250.PROD.OUTLOOK.COM
 ([fe80::2e14:af18:9569:bc54%5]) with mapi id 15.20.8583.023; Thu, 27 Mar 2025
 02:12:59 +0000
Content-Type: multipart/mixed; boundary="------------3qgZkm8OgGZOyPchEPMYL5ba"
Message-ID: <GV1SPRMB00366620CF8F282D3BBF97638FA12@GV1SPRMB0036.EURP250.PROD.OUTLOOK.COM>
Date: Thu, 27 Mar 2025 03:12:57 +0100
User-Agent: Mozilla Thunderbird
To: ffmpeg-devel@ffmpeg.org
References: <20250326040856.71D62412944@natalya.videolan.org>
 <20250327011637.GC2448403@pb2>
Content-Language: en-US
From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
In-Reply-To: <20250327011637.GC2448403@pb2>
X-ClientProxiedBy: FR4P281CA0202.DEUP281.PROD.OUTLOOK.COM
 (2603:10a6:d10:e5::12) To GV1SPRMB0036.EURP250.PROD.OUTLOOK.COM
 (2603:10a6:150:8b::16)
X-Microsoft-Original-Message-ID: <f897eda1-efc6-48c0-bca2-f64030c09775@outlook.com>
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
X-MS-PublicTrafficType: Email
X-MS-TrafficTypeDiagnostic: GV1SPRMB0036:EE_|AM8P250MB0138:EE_
X-MS-Office365-Filtering-Correlation-Id: 7e48760a-8c71-4b74-ff0e-08dd6cd4e501
X-Microsoft-Antispam: BCL:0;
 ARA:14566002|5072599009|19110799003|8060799006|15080799006|7092599003|12121999004|461199028|6092099012|20055399003|440099028|3412199025|41001999003;
X-Microsoft-Antispam-Message-Info: =?utf-8?B?ZFEzbFVlbnhsbDhWNUk5RXZYTEFYcFpyVmVncmkyaEQwMXBBdXZsNytwV3d5?=
 =?utf-8?B?UWVPYjFOWDhuMW9keG9OYlBEdmxLTHR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cxdFBHVEw1d005bkx4N1BvNHk2QU43N1NXM25ZQkkr?=
 =?utf-8?B?NDRLaVcrMDN5Q21kcFlmQU1vY29qQk1GekNjQzQza1RJazdEd0dDMGpCdC81?=
 =?utf-8?B?WWlhdFk3K1NsYUN4dDNNZz09?=
X-OriginatorOrg: outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 7e48760a-8c71-4b74-ff0e-08dd6cd4e501
X-MS-Exchange-CrossTenant-AuthSource: GV1SPRMB0036.EURP250.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Mar 2025 02:12:59.0131 (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: AM8P250MB0138
Subject: Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec/mjpegenc: Simplify
 allocating huffman table
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>
Errors-To: ffmpeg-devel-bounces@ffmpeg.org
Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org>
Archived-At: <https://master.gitmailbox.com/ffmpegdev/GV1SPRMB00366620CF8F282D3BBF97638FA12@GV1SPRMB0036.EURP250.PROD.OUTLOOK.COM/>
List-Archive: <https://master.gitmailbox.com/ffmpegdev/>
List-Post: <mailto:ffmpegdev@gitmailbox.com>

--------------3qgZkm8OgGZOyPchEPMYL5ba
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

Michael Niedermayer:
> On Wed, Mar 26, 2025 at 04:08:55AM +0000, Andreas Rheinhardt wrote:
>> ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | Mon Mar  3 02:36:55 2025 +0100| [24dbc4c2e82481f89d6fcacee1949e5038c5c2fc] | committer: Andreas Rheinhardt
>>
>> avcodec/mjpegenc: Simplify allocating huffman table
>>
>> Reuse the already computed value of macroblocks; use an array
>> instead of a switch, evaluate 64 * sizeof(MJpegHuffmanCode)
>> at compile-time.
>>
>> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
>>
>>> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=24dbc4c2e82481f89d6fcacee1949e5038c5c2fc
>> ---
>>
>>  libavcodec/mjpegenc.c | 24 ++++++++++--------------
>>  1 file changed, 10 insertions(+), 14 deletions(-)
> 
> Breaks: (did not investigate why)
> 
> ./ffmpeg  -i lena.pnm -strict -1 -s 4096x2048 -bitexact -y /tmp/file-4096x2048.m2v && ./ffmpeg -i /tmp/file-4096x2048.m2v -y -bitexact /tmp/file-4096x2048-dec.jpg
> 
> [vost#0:0/mjpeg @ 0x5576d6b7ab00] [enc:mjpeg @ 0x5576d6b79580] Error while opening encoder - maybe incorrect parameters such as bit_rate, rate, width or height.
> [vf#0:0 @ 0x5576d6b7f140] Error sending frames to consumers: Cannot allocate memory
> [vf#0:0 @ 0x5576d6b7f140] Task finished with error code: -12 (Cannot allocate memory)
> [vf#0:0 @ 0x5576d6b7f140] Terminating thread with return code -12 (Cannot allocate memory)
> [vost#0:0/mjpeg @ 0x5576d6b7ab00] [enc:mjpeg @ 0x5576d6b79580] Could not open encoder before EOF
> [vost#0:0/mjpeg @ 0x5576d6b7ab00] Task finished with error code: -22 (Invalid argument)
> [vost#0:0/mjpeg @ 0x5576d6b7ab00] Terminating thread with return code -22 (Invalid argument)
> [out#0/image2 @ 0x5576d6b7ec80] Nothing was written into output file, because at least one of its streams received no packets.
> 

Patch attached. Thanks for testing.

- Andreas

--------------3qgZkm8OgGZOyPchEPMYL5ba
Content-Type: text/x-patch; charset=UTF-8;
 name="0001-avcodec-mjpegenc-Don-t-allocate-unnecessarily-much-m.patch"
Content-Disposition: attachment;
 filename*0="0001-avcodec-mjpegenc-Don-t-allocate-unnecessarily-much-m.pa";
 filename*1="tch"
Content-Transfer-Encoding: base64

RnJvbSAxMWQ2ODA2MTEwMzI1NzE3M2EzYzA2NWIxNzZjYzg0YWQ2Mzg4NWE3IE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBBbmRyZWFzIFJoZWluaGFyZHQgPGFuZHJlYXMucmhlaW5oYXJk
dEBvdXRsb29rLmNvbT4KRGF0ZTogVGh1LCAyNyBNYXIgMjAyNSAwMzowMzowMiArMDEwMApTdWJq
ZWN0OiBbUEFUQ0hdIGF2Y29kZWMvbWpwZWdlbmM6IERvbid0IGFsbG9jYXRlIHVubmVjZXNzYXJp
bHkgbXVjaCBtZW1vcnkKCldlIG5lZWQgdG8gYWxsb2NhdGUgc3BhY2UgZm9yIDY0IGNvZWZmaWNp
ZW50cyBwZXIgYmxvY2s7CjI0ZGJjNGMyZTgyNDgxZjg5ZDZmY2FjZWUxOTQ5ZTUwMzhjNWMyZmMg
d2FudGVkIHRvCnBlcmZvcm0gdGhlIGNhbGN1bGF0aW9uIDY0KnNpemVvZihNSnBlZ0h1ZmZtYW5D
b2RlKQphdCBjb21waWxlIHRpbWUsIHlldCBpbiB0aGUgZW5kIGRpZCBpdCBpbiBhIHdheSB0aGF0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sKLSAgICBu
dW1fY29kZXMgPSBudW1fYmxvY2tzICogNjQ7CiAKLSAgICBtLT5odWZmX2J1ZmZlciA9IGF2X21h
bGxvY19hcnJheShudW1fY29kZXMsCisgICAgbS0+aHVmZl9idWZmZXIgPSBhdl9tYWxsb2NfYXJy
YXkobnVtX2Jsb2NrcywKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA2NCAv
KiBjb2RlcyBwZXIgTUIgKi8gKiBzaXplb2YoTUpwZWdIdWZmbWFuQ29kZSkpOwogICAgIGlmICgh
bS0+aHVmZl9idWZmZXIpCiAgICAgICAgIHJldHVybiBBVkVSUk9SKEVOT01FTSk7Ci0tIAoyLjQ1
LjIKCg==

--------------3qgZkm8OgGZOyPchEPMYL5ba
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".

--------------3qgZkm8OgGZOyPchEPMYL5ba--