Message ID | 20240716171155.31838-14-anton@khirnov.net |
---|---|
State | New |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:612c:40f5:b0:482:c625:d099 with SMTP id lb53csp441951vqb; Tue, 16 Jul 2024 10:26:52 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUznrb+T0qyXmIkOCkCALvUHn3lGBA3jjOovGjAqLtPY7EceBAEl8CzZG9Pxqfu09Hla7rVWKoIzeJPFOLb4k4pbulq0QN5/3j9mg== X-Google-Smtp-Source: AGHT+IG4kr7piy2L/86j3lqgXqH1X7dgu0/S7D3yFysCVq4wjKhOBR3Grb2sCY4qV5T+nHSb2QJ4 X-Received: by 2002:a05:651c:19aa:b0:2eb:f31e:9e7b with SMTP id 38308e7fff4ca-2eef416878emr24343051fa.14.1721150812008; Tue, 16 Jul 2024 10:26:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1721150811; cv=none; d=google.com; s=arc-20160816; b=L/mVhEGHYNBkaOBdTTwU0ojVdUSXqQ62M6rRFjcgEtgKXmR4fVJ5o69XYb+/7s4hvD NZDoXug6o/m0q9vBWPo85VEjijEAWXhyqVUwSgsXh9A84QlfsFUTyAos27UVxIFFRMcE 6cQeGsyovwygfAhBX1ezv57OX6Zpy8gQoB88dP90GFK6hThS9KvpdUDHFPhx3yWVM/ln ReiAw7dUgivdZ3M/FiXyJzka/zTg0o1onjY1vAgkHKLTo8ilP7qTbclaWq3IZiU8Fq6u jNebSVnhOSEEh01C9YROnhn1a7ikQuOM4iNro4GzMZYmqZ/8tS5p5RvoOMimNsCEbqKi dDzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding: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=QRitaXWlrwlA4/webND304Y4MXYcqb6mU4HjGq2Axqg=; fh=YOA8vD9MJZuwZ71F/05pj6KdCjf6jQRmzLS+CATXUQk=; b=m/pOg1vn/5ef2bcH4+Bba7gBvcGTxJXSbmwUGZKNDhuBHzatAos42nWQ9CDfX5X91H jzNuMVuU4NVP1dWUCqdLFBUmkEyvsuEipKD1V93SmF7Ejj/PuQnZrxnWZjMX3mW81GNW uokFBDMi0WglSe6ztyErNbZ7ngg3g6FowthwWPwdWSBfr0KuYO+zV8xWT8PGyK4/mxNb lmgYrha+zq+T67vEPdsNflNEHdNlZOOIs3F3++TO7ALaDVjH8xGKHtFpYSEJkjGRk7wV ePtIrFkkNNMrhhTl1LHcWzwVOHulXbRHWjG+xtydmu3XmGpOkAMueicyrVYC64tOhHRl Dpuw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@khirnov.net header.s=mail header.b="km7LIG/r"; 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 Return-Path: <ffmpeg-devel-bounces@ffmpeg.org> Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id 4fb4d7f45d1cf-59b24a6c983si3898683a12.108.2024.07.16.10.26.51; Tue, 16 Jul 2024 10:26:51 -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=@khirnov.net header.s=mail header.b="km7LIG/r"; 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 Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 3A16868DA9F; Tue, 16 Jul 2024 20:16:42 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail1.khirnov.net (quelana.khirnov.net [94.230.150.81]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 274BF68DA80 for <ffmpeg-devel@ffmpeg.org>; Tue, 16 Jul 2024 20:16:37 +0300 (EEST) Authentication-Results: mail1.khirnov.net; dkim=pass (2048-bit key; unprotected) header.d=khirnov.net header.i=@khirnov.net header.a=rsa-sha256 header.s=mail header.b=km7LIG/r; dkim-atps=neutral Received: from localhost (mail1.khirnov.net [IPv6:::1]) by mail1.khirnov.net (Postfix) with ESMTP id 244FB4DE2 for <ffmpeg-devel@ffmpeg.org>; Tue, 16 Jul 2024 19:16:33 +0200 (CEST) Received: from mail1.khirnov.net ([IPv6:::1]) by localhost (mail1.khirnov.net [IPv6:::1]) (amavis, port 10024) with ESMTP id GxCG1aHfup1f for <ffmpeg-devel@ffmpeg.org>; Tue, 16 Jul 2024 19:16:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=khirnov.net; s=mail; t=1721150187; bh=bbGj9MDimxm29uCrf2lZyLa1otpwr8OJnCXRRmmNk4Y=; h=From:To:Subject:Date:In-Reply-To:References:From; b=km7LIG/rTlT+LFZ57inYsIidPa1dT3M5j4LZ9cFfh8ZZ9hPze5e06kQA/Ow6mvim6 LlxNH1WkgPrWmRvW2Xn4x0E3LQQRJKqs/IVCaCz8K+wKKHhfGUoHhGhxFvf7Y6eAKd Y9jjXwRvrriparoHsBtXvDsXN4oYQ61Vv19ekktGrh6puR+I4EN19rSYnQgcUUCmKB cz19IGjIb4Ukzb+83r2eomHKbnq3v24B7HmBF34rC5BFtP5rumi42zE3Yhgs1BrcyS 2m/MkWLkE2HaJEQPErf4romJG4hm87BFK8oQwEwquRATFCbfiR3eYk9sO7k6ttSyGv Gb1DkLSskjlcQ== Received: from libav.khirnov.net (libav.khirnov.net [IPv6:2a00:c500:561:201::7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "libav.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail1.khirnov.net (Postfix) with ESMTPS id 9030E4DF5 for <ffmpeg-devel@ffmpeg.org>; Tue, 16 Jul 2024 19:16:27 +0200 (CEST) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id C99A63A2AF6 for <ffmpeg-devel@ffmpeg.org>; Tue, 16 Jul 2024 19:16:20 +0200 (CEST) From: Anton Khirnov <anton@khirnov.net> To: ffmpeg-devel@ffmpeg.org Date: Tue, 16 Jul 2024 19:11:29 +0200 Message-ID: <20240716171155.31838-14-anton@khirnov.net> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240716171155.31838-1-anton@khirnov.net> References: <20240716171155.31838-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 14/39] lavc/ffv1: drop write-only PlaneContext.interlace_bit_state 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: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org> X-TUID: it6xeNZYL5vL |
Series |
[FFmpeg-devel,01/39] tests/fate/vcodec: add vsynth tests for FFV1 version 2
|
expand
|
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
On Tue, Jul 16, 2024 at 07:11:29PM +0200, Anton Khirnov wrote: > --- > libavcodec/ffv1.c | 3 --- > libavcodec/ffv1.h | 1 - > 2 files changed, 4 deletions(-) ok thx [...]
diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c index a102425596..6a0aca6429 100644 --- a/libavcodec/ffv1.c +++ b/libavcodec/ffv1.c @@ -169,9 +169,6 @@ void ff_ffv1_clear_slice_state(const FFV1Context *f, FFV1Context *fs) for (i = 0; i < f->plane_count; i++) { PlaneContext *p = &fs->plane[i]; - p->interlace_bit_state[0] = 128; - p->interlace_bit_state[1] = 128; - if (fs->ac != AC_GOLOMB_RICE) { if (f->initial_states[p->quant_table_index]) { memcpy(p->state, f->initial_states[p->quant_table_index], diff --git a/libavcodec/ffv1.h b/libavcodec/ffv1.h index a87c2d2a36..a3f3b30b49 100644 --- a/libavcodec/ffv1.h +++ b/libavcodec/ffv1.h @@ -63,7 +63,6 @@ typedef struct PlaneContext { int context_count; uint8_t (*state)[CONTEXT_SIZE]; VlcState *vlc_state; - uint8_t interlace_bit_state[2]; } PlaneContext; #define MAX_SLICES 1024