Message ID | AS8P250MB074458E0A135A8F5CD2F557B8F429@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM |
---|---|
State | New |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:139a:b0:8f:1db5:eae2 with SMTP id w26csp1245847pzh; Fri, 9 Sep 2022 18:09:15 -0700 (PDT) X-Google-Smtp-Source: AA6agR6XoIWK9bADh5OFHTOKoJ/jCYnW67J9rHQ76h6FetNM6StQFfljiwmpTbcDhLGJPlBjemH+ X-Received: by 2002:a17:907:d0b:b0:741:7ca6:a2b with SMTP id gn11-20020a1709070d0b00b007417ca60a2bmr11952628ejc.654.1662772155710; Fri, 09 Sep 2022 18:09:15 -0700 (PDT) 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 dm19-20020a170907949300b0076f0ab6f6e0si1827068ejc.527.2022.09.09.18.09.15; Fri, 09 Sep 2022 18:09:15 -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=@outlook.com header.s=selector1 header.b=l74VP90G; arc=fail (body hash mismatch); 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=QUARANTINE dis=NONE) header.from=outlook.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 858DE68BB44; Sat, 10 Sep 2022 04:08:07 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-oln040092068099.outbound.protection.outlook.com [40.92.68.99]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 208FB68BB35 for <ffmpeg-devel@ffmpeg.org>; Sat, 10 Sep 2022 04:08:05 +0300 (EEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TXU1lobEyT7mSbBYUCMeA7RQSv2M17A+UpcaPX+MEYC/giIYUXgGDi9hmZE3NKk7tsYCSN88LjkjVww/eFGu1eStw4irszYcJ5dL0m1MIsJSoSVqxKh03M5WKA/6neDBedQ+f9ZdaJoFIhC6Uud893RYVAlpMUk2SeS7uv9MgbYPbhQoUnlPFqcNrxDLnB8zaQC58qymSZM6t6IOHLfWhmfGgbG5yF22F1cqmwXpXg6zfP5n7dARfHaEUaELqGPe9YE8Ohchm2EPshlz0U0dNbc4SjxPWDZok3y3vtPPg2zpmBbbcMTVfBfVaTf7sPcrLd1Ll7zNEArrhT9wAzP5AA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=r74sw2VdaPfpLWnyPYUL+U/MFhxENi0LdbkontRv93k=; b=oCHqGR3IDa7SozCC2KNrWmh6og+V1vyjpVogLpXi8Xd/xVxfLs2v0L5dzXhy7DhHqLDCI1MNDVVPrv3U467GOKfZ5fYshV4907d+eHSkRgJiuQHECn6w5hN2265aSHZ6VyB+EjVCnPYOhOjCrHw2x+1F/tNTmBDjLU+QYH8k2S1IFvIu+QWmLyWGiPwZxlTe+E9EuePSXaOQFv9kXb1ES9W2CMak7Kt9BYnp/1bheAQB14b2IpjfUMgY0ACm77fL6yklHam8uB0yNm/wxjwVn8J6oNkgNj7vRwdw77WZgoN7QR8YPHvdgV3xezRxwPKVOlhtLBsqyQEeNPxo9c1HvQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=r74sw2VdaPfpLWnyPYUL+U/MFhxENi0LdbkontRv93k=; b=l74VP90Gl09IDBU2rX5wY2qkZ9rXMJlezV1qiB8R+rNSMsiw2il0kCB9PPMnQq1C61aL5YugP3vtxU04xU8Rd/XvF6hY2mYpxYLgZ6aJKhUW2ECDD5g9u8tB43KyBd+mSZ3UZJaAnsNngvEPGJSSIdMCvTRWJVslMj8cBNUgp47k+MqSEaHCgruqsRRzqYpjGSdb3py6p0/3YIARexfXAGNTWHqzX62Uc0gUEFvB6OtPM1t6o6UblWBEdmy0gBVrijgfjqnYTzAamJUT1h68Gb+HAlN1lcR//w1uBeMCub5qqaheJsCbDYxeGexl/BlYW5ONrnOFR2tWz7SRoeE+cA== Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) by PR3P250MB0242.EURP250.PROD.OUTLOOK.COM (2603:10a6:102:17d::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5612.22; Sat, 10 Sep 2022 01:08:03 +0000 Received: from AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::611e:1608:45cb:b58a]) by AS8P250MB0744.EURP250.PROD.OUTLOOK.COM ([fe80::611e:1608:45cb:b58a%4]) with mapi id 15.20.5612.019; Sat, 10 Sep 2022 01:08:03 +0000 From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> To: ffmpeg-devel@ffmpeg.org Date: Sat, 10 Sep 2022 03:07:23 +0200 Message-ID: <AS8P250MB074458E0A135A8F5CD2F557B8F429@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM> X-Mailer: git-send-email 2.34.1 In-Reply-To: <AS8P250MB0744923C03A16E5BF7BE11B28F429@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM> References: <AS8P250MB0744923C03A16E5BF7BE11B28F429@AS8P250MB0744.EURP250.PROD.OUTLOOK.COM> X-TMN: [1A0A0tQ/OIvCMjpgEgvmDiIbGtQWqzJsE4q08zGdC3E=] X-ClientProxiedBy: FR0P281CA0102.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a9::18) To AS8P250MB0744.EURP250.PROD.OUTLOOK.COM (2603:10a6:20b:541::14) X-Microsoft-Original-Message-ID: <20220910010729.2961339-11-andreas.rheinhardt@outlook.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8P250MB0744:EE_|PR3P250MB0242:EE_ X-MS-Office365-Filtering-Correlation-Id: c2d54013-d736-4b13-2300-08da92c8e99c X-MS-Exchange-SLBlob-MailProps: AZnQBsB9Xmqc989vEjNQgjm661f4SJJ4poxq2B1EyBcOsVAtB8gLUbbuuCokjw2NMXeQlR9HJGEvoEbdktXcPUHggv0lmWYQ3ndnPomvuVqZW5iGm3tSDEBvhBX9rSY//meXLDjaG3F44QzprL+XNf/RG8LzV/dprUfsV8UpDCa0ke2kqCDCdqcqskcKXvJXjf8w7w99RUs+Qmz3YwZ4Dzmgwj5t09CVcvsFpWyOH/VptVaXCZTqW7zufO6iKhNpiWa7tJdSacd+alwr9fXYjxhSpxIdouoiavP9KEo89J8BV+dy0Bn5yb5+TdHMkbSx0AT+11P3M36hQC8IEj/C39dlEr+hSaDbuhBzKhr7Vg09oTpE5aMRNpn8IL8vVshJuNjdOxSfGC9mADe/zNxy6M+fkBtXDiaEECAR+IbYBTrx5xXdaEf/YBUcb0ojufp7GLGYTC2wm476jtuCYD4olMgVBvMAcmhrB5jCeMghSBsyx1FaxNjbWdqepF2Op0VMDtNregu4fXATHCJ4IXQWDbhGwkv0lSFBbPN7WekDXQdaaRh3/4hMQVgvR8Y2kueIOuQeHZt9M9e4T7/xy80sHXUzXpibVTncX7m8aD7qYVxkvklp5gXkwKcZ4ZuvQA7FlY+h1MSZ4XNrsgRJW6yf8nsV22u4GG8hF5aJkCcPz99WWfzPTXiFzDo+TbP8BLSMoTPkih60BT6AL+QSriRVoVfPbKAVLzcNQWxXVA82FG+TPamS8pUujp3D+FEJNNl+9K+tHjJZRYk= X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: n8D6gazRE1c+7X0qTB9RlBnulDKUl8zW/fa8pfyLWnux35UBtCSbPXW8sDqvNdl3kbv+MMqm7pi7WgYoR4e1qEWNFJSBuH6ZJ+5lgnRsvHE1LP+byELFvB0+rxOOJlLMw2vxmJzhe5r4sFGem1NxK4CWA/ixbdDPiWQQLlLSo1OISukoBa50hPShaROT5iNzTtHOEchX8OK8+P+SM707A7et+COU2Q/KCvMBxNXOQ0Y7pe30BPpf1XlhWj1q8XE1hoOV/E2giZ3tmEwQUXilODnckTIqeGEOakL5mMvXTN0JKqVPCjeZk3fOsY3CGl48Fe/aQstsiDQeeyIvH9FvGicTMfBDUewTsu0CGMHLp1hzdDH/z265aNgNF0pDIsg6NKZL8CyaHwFIWd4iFpksHXWYtqPoYCzHqrk2SAImELuJjL4yXE8gX78qmtu8MsXvpZIr8bXsBRrt3QAQ/OjYi5xej+X2KNaN3fYzkMAGvPjt0CRcJ0FW+yfyPwujsZljj/DNAlViSMDNu5BiYWP70bqXKV5RPyNn39wQdE6uEAoMOq0J+jf6QNMEnhYTc7E9Sn42KYqG2PwrDpIrCoBzBVatG7EnTmH8oUQstIXn87UzfZdm5l4TKeoMIZdcST7Lf/qeR73UG/EAtnxyGPIdUg== X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: W8bYchwm/R3UKW6TyiPSAiEHHdOcW51/aMBE2o63l5S5hmkNIn7229LKrBR6VEqEWHS1vx/vjXQliLnihxE6iFd5rDf9WO1UK1fFdKZT2RXH02V4J6pc64LcJjnbjIzYo5yyMyT6EH1Cmf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07CxfaLs7rPMTmYnaYImIez+S2o0EnjeFRfeNj2iRMT7SsUX4Z30a6CfYhz9t/3bkr4at6dVGeO+0efrQhDZBa9F1LLsT2KBodn9NyMOqQ3889zVIohfK7PbzrvfZR8SvZ X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c2d54013-d736-4b13-2300-08da92c8e99c X-MS-Exchange-CrossTenant-AuthSource: AS8P250MB0744.EURP250.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Sep 2022 01:08:03.8815 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3P250MB0242 Subject: [FFmpeg-devel] [PATCH 12/18] avcodec/vp8: Inline update_last for VP7 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: Andreas Rheinhardt <andreas.rheinhardt@outlook.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> X-TUID: 1siljFoozeGy |
Series |
[FFmpeg-devel,01/18] avcodec/vp8: Disable segmentation for VP7
|
expand
|
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c index ee30fc2846..1f0deddb1a 100644 --- a/libavcodec/vp8.c +++ b/libavcodec/vp8.c @@ -2678,7 +2678,7 @@ int vp78_decode_frame(AVCodecContext *avctx, AVFrame *rframe, int *got_frame, prev_frame = s->framep[VP8_FRAME_CURRENT]; - referenced = s->update_last || s->update_golden == VP8_FRAME_CURRENT || + referenced = is_vp7 || s->update_last || s->update_golden == VP8_FRAME_CURRENT || s->update_altref == VP8_FRAME_CURRENT; skip_thresh = !referenced ? AVDISCARD_NONREF @@ -2740,7 +2740,7 @@ int vp78_decode_frame(AVCodecContext *avctx, AVFrame *rframe, int *got_frame, else s->next_framep[VP8_FRAME_GOLDEN] = s->framep[VP8_FRAME_GOLDEN]; - if (s->update_last) + if (is_vp7 || s->update_last) s->next_framep[VP8_FRAME_PREVIOUS] = curframe; else s->next_framep[VP8_FRAME_PREVIOUS] = s->framep[VP8_FRAME_PREVIOUS];
Always one. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libavcodec/vp8.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)