From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 0E4074BD2E for ; Tue, 16 Jul 2024 17:17:24 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id DBE8A68DAD3; Tue, 16 Jul 2024 20:16:41 +0300 (EEST) Received: from mail1.khirnov.net (quelana.khirnov.net [94.230.150.81]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 274BF68DA80 for ; 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 ; 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 ; 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 ; 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 ; Tue, 16 Jul 2024 19:16:20 +0200 (CEST) From: Anton Khirnov 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --- libavcodec/ffv1.c | 3 --- libavcodec/ffv1.h | 1 - 2 files changed, 4 deletions(-) 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 -- 2.43.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".