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 C1B104CE85
	for <ffmpegdev@gitmailbox.com>; Sat, 15 Mar 2025 09:32:40 +0000 (UTC)
Received: from [127.0.1.1] (localhost [127.0.0.1])
	by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id EECC568DFD6;
	Sat, 15 Mar 2025 11:32:35 +0200 (EET)
Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com
 [209.85.128.41])
 by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 7380568D6BF
 for <ffmpeg-devel@ffmpeg.org>; Sat, 15 Mar 2025 11:32:29 +0200 (EET)
Received: by mail-wm1-f41.google.com with SMTP id
 5b1f17b1804b1-43948021a45so4814565e9.1
 for <ffmpeg-devel@ffmpeg.org>; Sat, 15 Mar 2025 02:32:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742031149; x=1742635949; darn=ffmpeg.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=X2PygpPT/lIxqhLEEG+yMKhA8yPrLH/67P+OC4csbsc=;
 b=NlW9nWVkaXNNugXRYS2dHZoX6t7bpvyK+7A92oOoxMSXbzGC1zHwa2UlUW6/jviPfw
 kFvy0ZnOHsyQ/vBL/tCW6qyR5D0HzfbXNmgsGUaQc5rQcbLzLY4tnRjTPjy+R/zMXIxk
 UjtEWujz9dEVRkU74IZKuYGyjdwajdhI7sIQfQdVCKhdWUdXXuWuC8sJO6NG9n1Mu7or
 ZAv57B3S8F77AlhRuF+k2v1Tr8kwuOe7KhtTA7by0+5ukkS2vAtiRHM3yvmwRTPW4sQ9
 hqFzAR/p9o+wn2qsjxdzal1cnz/Af8pBtLLUybOrek4kkHREuVH2IpquD9rlevAXcYsL
 w1dQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742031149; x=1742635949;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=X2PygpPT/lIxqhLEEG+yMKhA8yPrLH/67P+OC4csbsc=;
 b=p6i+6uX0iZd5ND16Aqgluazbi0pFt6FEIBGteN5QRNfy5qmDCqMN0RDYL/9rm2ym3P
 SZ6Uovw3l+UL8mUd8jFXK8dXDKes1DhFLzzs6rMNHoCAUe4glTIxhGVwJFyeG5zg6c+k
 qUlYXPvBNqjgtQ2NI6VoURSrauZ01yD+XaTfk/O4kM5W4Y6Q5hrBU8xrcWw6elMJUFtT
 512Gch+qCMKyACwsDt/XmkpYIwjKSMQ2pwTNP6et0txqp6yj/kzkgXQUuKPocjzQ+Iro
 tr9FhELqVGt4fmgSDhEoTQustXhLGIiGTRDMIlkyb1XemoFweVSoscRVmfZQOdsCfzqo
 xjEg==
X-Gm-Message-State: AOJu0Yyna2i7AaAvLkM4KKhT5nTIB3cS4GDmKpLI7GMZUhj7aJ5ZZbnF
 G3DtLOUscV/dfEsSoEuE8YtUbQk4Q3qeAdORYqqm4Q7njBYE7hGZdd3SPg==
X-Gm-Gg: ASbGncvZURnCkmj71/Rbzde7qar3S75IT9DlH8XeBflig31rLpuYkiuzhNRCj7dYgnZ
 atmpixi5BT7sTZS1pJQmVfX7kRl45NbQzeyPKhnHnE6LKm9Q5AMKfBUnOdOAsq00niW+3FCzDm1
 g7dbht168EzCVL1gaNqe21TLFgfcAcWQiW35knMc4x2pYKTsWA4iD5GN+GmFstleoQb3edoNed7
 UFwTcRcum9DHUpptYXYA0rLvb3Ia0uDkmZsarsI4E2HEStuKkGiNFoh+PjZifvFfm3v1QZxxRTU
 rhuAZOCEnrhFLeqlIGUpe3ZmUQIOYNd2dFY/MY12QAm/B4n1kcx9tl8gkRZ7UGS8tq5npIP7tXR
 EjFDwiUMePwj3DT2+KkT6i6iaN3absQPpvltneJVOhDw/bVPZeP47KVI=
X-Google-Smtp-Source: AGHT+IFuttQQqYICECxJ36+LuBJbHslZ0qAcD68YL4mMfLARamREkWzqWQnGwZgoVDX9uvRZpI3BYA==
X-Received: by 2002:a05:600c:314b:b0:43c:fbbf:7bf1 with SMTP id
 5b1f17b1804b1-43d1ecd894fmr76406585e9.30.1742031148332; 
 Sat, 15 Mar 2025 02:32:28 -0700 (PDT)
Received: from flagship3.deu.mlau.at
 (p200300c0271f29004c5623f045c27bca.dip0.t-ipconnect.de.
 [2003:c0:271f:2900:4c56:23f0:45c2:7bca])
 by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-43d1fe659b3sm43302905e9.34.2025.03.15.02.32.27
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 15 Mar 2025 02:32:27 -0700 (PDT)
From: Manuel Lauss <manuel.lauss@gmail.com>
To: ffmpeg-devel@ffmpeg.org
Date: Sat, 15 Mar 2025 10:32:07 +0100
Message-ID: <20250315093220.2565-1-manuel.lauss@gmail.com>
X-Mailer: git-send-email 2.48.1
MIME-Version: 1.0
Subject: [FFmpeg-devel] [PATCH v2 00/13] avcodec/sanm: various improvements
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: Manuel Lauss <manuel.lauss@gmail.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>
Archived-At: <https://master.gitmailbox.com/ffmpegdev/20250315093220.2565-1-manuel.lauss@gmail.com/>
List-Archive: <https://master.gitmailbox.com/ffmpegdev/>
List-Post: <mailto:ffmpegdev@gitmailbox.com>

This patchset improves especially support for SMUSHv1 (Rebel Assault 1),
adds missing codecs and functions and improves reliability of SMUSHv1/v2.

Changes in v2:
- reordered first 3 patches as some regressed things without the following
  patch applied.
- fixed codec4 left/top being swapped, resulting in weird visuals in L5PLAY.ANM
- additional handling for unaligned objects in file (see #4)
- reimplement ANIMv1 store/fetch handling (see #11)
- added codec45 to ignore (see #12 for an explanation)
- add myself as sanm.c/smush.c Maintainer, as requested by Michael (#13)

There are still a few palette issues in RA1: when the first FRME does not
contain any video data, the palette seems to be all-black until the first
NPAL (=new palette) chunk is encountered, although every ANM and SAN file
have a full palette in their header.

Manuel Lauss (13):
  avcodec/sanm: disable left/top for fullscreen codecs
  avcodec/sanm: FOBJ left/top are signed values
  avcodec/sanm: better frame size detection for old codecs
  avcodec/sanm: better ANIMv1 engine support
  avcodec/sanm: fix codec3
  avcodec/sanm: codec2 decoder
  avcodec/sanm: codec23 decoder
  avcodec/sanm: codec21 decoder
  avcodec/sanm: codec4/5/33/34 decoder
  avcodec/sanm: codec37: reimplement comp4
  avcodec/sanm: implement STOR/FTCH for ANIMv1
  avcodec/sanm: ignore codec45
  MAINTAINERS: add Manuel Lauss as sanm.c/smush.c Maintainer

 MAINTAINERS       |   2 +
 libavcodec/sanm.c | 687 ++++++++++++++++++++++++++++++++++++++++------
 2 files changed, 598 insertions(+), 91 deletions(-)

-- 
2.48.1

_______________________________________________
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".