Message ID | 20240716171155.31838-3-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 lb53csp436420vqb; Tue, 16 Jul 2024 10:16:44 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUcuSs5tctGPKuGmCI1mBZNCb3IF+XN2OLQpLF6OKPMcAfF8/o6eofqLJ/+jKb5X8ogaC5q/MdQf5novbfUsV5h7F4ZlkDouMvyJA== X-Google-Smtp-Source: AGHT+IFhXBfehhC27ZZhZRZrhcN7SPGYRMrpRFZ/vnrVkfu6oj3SmnFDicNQwPfkQNsRc+7FEuPx X-Received: by 2002:a2e:83c3:0:b0:2ee:db2c:5753 with SMTP id 38308e7fff4ca-2eef41ec98cmr19142321fa.42.1721150203801; Tue, 16 Jul 2024 10:16:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1721150203; cv=none; d=google.com; s=arc-20160816; b=edp6igpQ+qlOCwr5KQt8yRQxxcmmarCY/dsK2ksIpJSFNMLeIC4ARkT/SlZW4gDikp YPoMnqNky6u/wrVzOUDS/QS3FmaxuAlA4TV29+EtbY47rZ4YxVP+d4CjeQ69yNK5YJD2 BS7g8texkT6wJBYzk4UtkkHKtIiuhvNOgg4I1245BeaiWVoNGeWAjgX2qcpOLG8+bo8Q TfBQKd+wuF4yb2kMrhTbTGHcbLesmpZA6gYGQAGsFoAqExX6F4oFZuOQz9ORSZ6SpyAv 4mW7g+key30YPGMMjlGXhlROCOiIuRZ6lxehOuqdroCUEwLKgBS2YNRVlP9jGL37zbsN 4piA== 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=xicypxa9K3LcxDW7+TXi9NF1FMzBtBMz5uE2W2LCTLc=; fh=YOA8vD9MJZuwZ71F/05pj6KdCjf6jQRmzLS+CATXUQk=; b=ImImPvb9s7pNEYk2ctcndA5TYBdvlRA2+ckd7o7T81OVW4I3TQtt5BERg23w+v8olK 6bWuc8r+P8ZFC8FoQM/nIKHOY0wGp3+fvfwBiw3B+KM58zE1XetvxRvbWdNmhD/Ku9+R i0RZnsSzwNHwsAfzOu5j8AYItcJCUefVYOiRihdyYq1YBFbaWI1ujk2URU0SuY3wrRpn Jj95EN5DmvpBNQg8YVh+wcgzgymh0astTxEdhIAvuFf1rNiUSI+wr9K3yjBIAucf7fKr FVxMUfpICvbhJW809aINFNYW9i3KGSr99NNeJGkTgm/yKB6GNGQB08Z9tNP0ZRJkvd6Z XUNg==; 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=Q3yvY003; 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 38308e7fff4ca-2eee17b16b1si18916811fa.175.2024.07.16.10.16.43; Tue, 16 Jul 2024 10:16:43 -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=Q3yvY003; 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 1179B68DABD; Tue, 16 Jul 2024 20:16:38 +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 E068568D86A for <ffmpeg-devel@ffmpeg.org>; Tue, 16 Jul 2024 20:16:30 +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=Q3yvY003; dkim-atps=neutral Received: from localhost (mail1.khirnov.net [IPv6:::1]) by mail1.khirnov.net (Postfix) with ESMTP id 9E9E24E09 for <ffmpeg-devel@ffmpeg.org>; Tue, 16 Jul 2024 19:16:28 +0200 (CEST) Received: from mail1.khirnov.net ([IPv6:::1]) by localhost (mail1.khirnov.net [IPv6:::1]) (amavis, port 10024) with ESMTP id jZHxtDzdt_Bu for <ffmpeg-devel@ffmpeg.org>; Tue, 16 Jul 2024 19:16:27 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=khirnov.net; s=mail; t=1721150186; bh=S1eLFVFHlHQVHsYWj6u4/vg+hXZGmSXlbUsFgf7Qa/k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Q3yvY003ztYRar9//n+goDJbC2P+S6FKcIKdZUeOfVdJHQhhQfR4xWcbNlOqimjsk xJL12kzshMWOfzRKsA9kZimG0dlkEJ4dJrKYtL8848vCc2FHgruLZA/2Q+SPCOZ/RN p0PyadDiqFrzHes02YLEB8K7xHcYR9vr8UcliuDHrOFNfegTrkQ3tW66cI9TqMETDn wpHWf+M7d5pZ/HpAtqGZ93YDfA9aQ/i4idvGn2r+6cNM3BbbHTourS0MPdN/GUvSM2 AUcfj+C7on2n4AoXzRnf45tZydqtiabDAK2b4/Rmhk6oSU7VryFDkENyI8Y7PRk4Sp DgJInes1SfDYQ== 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 8F83A4DA7 for <ffmpeg-devel@ffmpeg.org>; Tue, 16 Jul 2024 19:16:26 +0200 (CEST) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id 498283A083A 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:18 +0200 Message-ID: <20240716171155.31838-3-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 03/39] lavc/ffv1dec: simplify slice index calculation 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: Yfn4toNbgt0h |
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:18PM +0200, Anton Khirnov wrote: > --- > libavcodec/ffv1dec.c | 5 +---- > 1 file changed, 1 insertion(+), 4 deletions(-) ok thx [...]
diff --git a/libavcodec/ffv1dec.c b/libavcodec/ffv1dec.c index 5c515e97b6..7066146477 100644 --- a/libavcodec/ffv1dec.c +++ b/libavcodec/ffv1dec.c @@ -259,10 +259,7 @@ static int decode_slice(AVCodecContext *c, void *arg) int width, height, x, y, ret; const int ps = av_pix_fmt_desc_get(c->pix_fmt)->comp[0].step; AVFrame * const p = f->cur; - int si; - - for( si=0; fs != f->slice_context[si]; si ++) - ; + const int si = (FFV1Context**)arg - f->slice_context; if (f->fsrc && !(p->flags & AV_FRAME_FLAG_KEY) && f->last_picture.f) ff_progress_frame_await(&f->last_picture, si);