From patchwork Mon May 6 05:32:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcus B Spencer X-Patchwork-Id: 48573 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:e68f:b0:1af:836d:81b3 with SMTP id mz15csp1180622pzb; Sun, 5 May 2024 22:33:03 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUrOmrCJTvNQ5Qm/6QKyJwJRrv4+A6rZQPby96qy9x9Q4SBQKs/HwZIJTB7VZBl9b71Gfu0BtcqZDUgTPdH6cChhXUaT19GpbtLWQ== X-Google-Smtp-Source: AGHT+IFs7Yt0mnTaHytbUSQpfE1lTNEvpznF00PK/pbxV4oJ53KMsKsx76q9J3VJzKKBwPX8BeFI X-Received: by 2002:ac2:46f9:0:b0:51b:6366:3459 with SMTP id q25-20020ac246f9000000b0051b63663459mr7407774lfo.67.1714973583177; Sun, 05 May 2024 22:33:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1714973583; cv=none; d=google.com; s=arc-20160816; b=P1wvHPpdFoTtmFQ4RsiuqBAliwc2bvZFrF5YCbW0xJkwLXRWsFu9T0qCFw1OZeGzPs PoBe3M1QOULd4amEgn+uRdGN8sbIEHFmHVqw58ryresJ5GG1hn72nRcEjMtIm/LJp+9B Tvlzco36jtJ814IuJ1ntMh/GcZXuSFqUgUp/Fl8HfpI5LUr5D1TEUrWsJqL/k6bOk8cD dVWX7TNYHhVYlmBy+ct8z8HAytdU8TVvow2l0PoEOA2JkWUl1i+brE9wDMY7pfM01h1u OS/e4DXNSNaplqi8bn7MGNDx7SLvZr+r2irkKfcDs5JyObyPQIiZJ04Zj6k1YmjhwI1U E+kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:delivered-to; bh=obyrW3yvRvbceLIE/0vLLqAcwpYE8z79R9IWWLZti+I=; fh=JuegC/vje050XLj6U2KtH3S0d9hYf9AYxo0tX+p7f28=; b=iBaEcCzktXsq8K6dC2wi+ZiTnpaQf+cdzO5mVjwc/kQX32CqM7Ev8TzzgZxG5SU1Zp j/QIr07zIS3CDxELkfYo9cP5NZBs0GlSd6N93I6nXrPr96zSp3Q0w7i4EDEjUsBbSZ5x vFcPRvmwl2vUJfBlEUjeyG9fC4sbhaQeI/HZCuUdf5WpbsnutHSyeFfLf1vq5mfG3BLb xXeWVeHh4ymUjPbU+9BddqpYvNA+yY3+Bn4YwqdL3ijlqU3XDmtxfADXlN7LYlA5EHTH MEUkEUXQXFH7YO5BwVd/LebsIRNoNz9hUplxewm56wHtXLY2w+mqtrecYEkUKodxyZXV dfSg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@marcusspencer.xyz header.s=protonmail header.b=Bg40yxUu; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=marcusspencer.xyz Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id r8-20020a50c008000000b00572b7f4995bsi4729493edb.276.2024.05.05.22.33.02; Sun, 05 May 2024 22:33:03 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@marcusspencer.xyz header.s=protonmail header.b=Bg40yxUu; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=marcusspencer.xyz Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id BBB3968D5EC; Mon, 6 May 2024 08:32:49 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-4330.protonmail.ch (mail-4330.protonmail.ch [185.70.43.30]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 71B4968D5CD for ; Mon, 6 May 2024 08:32:42 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marcusspencer.xyz; s=protonmail; t=1714973561; x=1715232761; bh=v+JnOrFjhbuGatbIuJA5OfXDlda6E9W6KcsnLXUcQok=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:From:To: Cc:Date:Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=Bg40yxUu71vzBJsnQ0U5eCfbxH3sd6Ctk4IhmbAgQdTCIBwo7EvqitySa4faJNRrL 5sQVikBwnOg8bXFW9pJ42EExVoMcalwkmdCj9NMjNvmPVSvK4lhXAJ5MvnwwE7Zpw7 dfU2tTWA987snkAPlHJn/DoX5czsNX7dbH1qyF2AdPwhdgsh92vMav6WzNuXNC+fGH ikCzf03tAOKNftW6nHpcMe8ZMyaElCqsQEDdvUUtGcixUCHhidbfnpHy+DJNiCdLYS 6pT2mVyID/Vyx6FQ01oaWGnrgpYM8NJlonvwC5l1O9zECAB2WDXawEhQ2M9FbDHyxZ bXFX/Cb9Cqk6Q== X-Pm-Submission-Id: 4VXqml3sCSz3v8k From: Marcus B Spencer To: ffmpeg-devel@ffmpeg.org Date: Mon, 6 May 2024 00:32:19 -0500 Message-ID: <20240506053219.216068-2-marcus@marcusspencer.xyz> X-Mailer: git-send-email 2.45.0 In-Reply-To: <20240506053219.216068-1-marcus@marcusspencer.xyz> References: <20240506053219.216068-1-marcus@marcusspencer.xyz> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 2/2] Changelog: add datamosh bitstream filter entry 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 Cc: Marcus B Spencer Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: mGKJWKcCW8ey Signed-off-by: Marcus B Spencer --- Changelog | 2 +- libavcodec/bsf/datamosh.c | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index e827208439..decfc4e4bb 100644 --- a/Changelog +++ b/Changelog @@ -9,7 +9,7 @@ version : - pad_vaapi, drawbox_vaapi filters - vf_scale supports secondary ref input and framesync options - vf_scale2ref deprecated - +- datamosh bitstream filter version 7.0: - DXV DXT1 encoder diff --git a/libavcodec/bsf/datamosh.c b/libavcodec/bsf/datamosh.c index 8314a4efc8..dad65e957d 100644 --- a/libavcodec/bsf/datamosh.c +++ b/libavcodec/bsf/datamosh.c @@ -86,3 +86,11 @@ static const AVClass datamosh_class = { .option = options, .version = LIBAVUTIL_VERSION_INT, }; + +const FFBitStreamFilter ff_datamosh_bsf = { + .p.name = "datamosh", + .p.priv_class = &datamosh_class, + .priv_data_size = sizeof(DatamoshContext), + .init = datamosh_init, + .filter = datamosh, +};