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 C034B4E898
	for <ffmpegdev@gitmailbox.com>; Mon, 17 Mar 2025 17:49:31 +0000 (UTC)
Received: from [127.0.1.1] (localhost [127.0.0.1])
	by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 497DC687AEE;
	Mon, 17 Mar 2025 19:49:28 +0200 (EET)
Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com
 [209.85.221.48])
 by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id CA900687A05
 for <ffmpeg-devel@ffmpeg.org>; Mon, 17 Mar 2025 19:49:21 +0200 (EET)
Received: by mail-wr1-f48.google.com with SMTP id
 ffacd0b85a97d-39133f709f5so2897868f8f.0
 for <ffmpeg-devel@ffmpeg.org>; Mon, 17 Mar 2025 10:49:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1742233761; x=1742838561; 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=ZeaRpvdup4Xh/I6bz7cLbTS8SHEPtBwNwPSRuj4Qvzw=;
 b=LYqIwbsJLMmVuW6D1AlpEmEE90xAp7OMuw643/9simPBVNjp7ha3SsPyFl4Htnomux
 3nGAt8IF/DSTDGvauhK0tSPwiu7gvMK5Rr8ZJWZ0QUx1dSW4UGHtEZt04V38oqxMlHyO
 8aOgnjS4lCQe73u+bOKC2UVA3JHJHs+jLch+7JEttTkRinCytHEQRBoY0FfrwJNyOCdu
 lpqU63/J+KwMpTPJUV6KIx2R5TaM0ew+g3k31tr/MFeBtip99hYsqpGgiTIyHnjhntoi
 9E1tRw7Y1vdeNROqt9sjZX08hVHc+OaVVhsdLcMLOhlgqCg+BJtx6iinyUxnfPuy5lNA
 RM/w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1742233761; x=1742838561;
 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=ZeaRpvdup4Xh/I6bz7cLbTS8SHEPtBwNwPSRuj4Qvzw=;
 b=RFqhVJD64gltIlWXu3FyQtVBv4NjW0t/TshbVIAGK8sEA2uab3exyu+pPztZRLyC7b
 Uv7kVNCv6XsfEuRA3/PKbe5p/QYly+rPEy2ZLuVdcmHNawAIvw1vwBnQDVu23ws02Oob
 Zuyrl3pCdOSOD2/WLrh3rgZ1WqX0aexQrrXWo4y5RJ+zuhzMNw39/e6/PTRGhDh1o5tt
 PkEXYuLAj+/UK2Qv1WK6wd4+DkoEdM9VGo3CuS6L1iFZ/5uIRVexI/2yBQQkbS2eaK8E
 0m++sMpSik+Iqr1lurgTxqjxUMPIgATSzV4JvuCqAOY3Yx/n1NMUHrsfv8xWfIMUC3JN
 BA/w==
X-Gm-Message-State: AOJu0YwRlc6u1tnClUcerfw6xOEZrWYN7go8jxsCJRThqoPko1aI+E+u
 pl+citbxreEVx2XHC10JRAiTx6lqC60WebdzoQmplvgN3eoRWYq4HtllxJ51
X-Gm-Gg: ASbGnctFjYtEquvd+SUqCvhEfnnFVpVncLNmsd2aFEKoqfA2QyFTy2fGXN1kjIqTiPa
 UlIo4wsLn0uT3nNA5pCbCqBTZ0A8BYxrcROkxMqqkyMtYQHMrE86H/z7fy97XpgEexJr1ULyC+n
 FqfFcpJrn/tEvzx2eZJCXQ0hNCD+G8FIESuIbj0RK7MXeaHmTgagtxPa/vgfwXOE8gyTpu7Suuf
 F9BgjOLht2NgzOHngc68pKwerVjuOqv+mXgeQAKjSqn+q8i+xFkkWdavOAWnTLho0C4e1BFXxi4
 VanFeeWJMaIsUwzlzvrDQivYmyXNO0OBolF8QvssXz3l9/6E6yrKtq6R3YTmboaC5K2Yi0Rbn1D
 8uT32SO6Mn/ETgg4mD0ejertWCQG6wvnAhf6cQfp+
X-Google-Smtp-Source: AGHT+IH2euoH69/Txt/WLJmJPyEjl2DgyXccAMKIh8k17ZAS8ZInXiWTd0JSJV2wACjsspk2tb0hIQ==
X-Received: by 2002:a5d:59a9:0:b0:391:ffc:2413 with SMTP id
 ffacd0b85a97d-3971f9e497amr16696543f8f.40.1742233760863; 
 Mon, 17 Mar 2025 10:49:20 -0700 (PDT)
Received: from flagship3.deu.mlau.at (p54bc8686.dip0.t-ipconnect.de.
 [84.188.134.134]) by smtp.gmail.com with ESMTPSA id
 ffacd0b85a97d-395c7df35ecsm15809347f8f.16.2025.03.17.10.49.20
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 17 Mar 2025 10:49:20 -0700 (PDT)
From: Manuel Lauss <manuel.lauss@gmail.com>
To: ffmpeg-devel@ffmpeg.org
Date: Mon, 17 Mar 2025 18:49:02 +0100
Message-ID: <20250317174917.6872-1-manuel.lauss@gmail.com>
X-Mailer: git-send-email 2.49.0
MIME-Version: 1.0
Subject: [FFmpeg-devel] [PATCH v3 00/14] 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/20250317174917.6872-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 v3:
- fix a bug in #10: did not check buffer size before reading it
- removed the check for frame dimensions set-in-stone in #11,
  which broke e.g. codec20.
- added codec20 "decoder" (#13)

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 (14):
  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
  avcodec/sanm: codec20 decoder
  MAINTAINERS: add Manuel Lauss as sanm.c/smush.c Maintainer

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

-- 
2.49.0

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