Message ID | TYSPR06MB6433F920090DBC0F840B7F03AA342@TYSPR06MB6433.apcprd06.prod.outlook.com |
---|---|
State | Accepted |
Commit | 9c845e90872ff3cc2a72ccf06c90ee6a3577b70e |
Headers | show
Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:9f96:b0:1a3:b6bb:3029 with SMTP id mm22csp604064pzb; Wed, 27 Mar 2024 06:02:19 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWaBCulXQYKq3NcN46EGUhkzpUWs2At3i1x6YP5Yon1Fjzy4WXYx8XKMTTZ+TMGrycgYJLYtoGgw5HGfDUG3KSO+CtiLLUmXyScxg== X-Google-Smtp-Source: AGHT+IHJ0nbJA69+3zBvnu8a9ZXLYx7t7Rb7S9EnWg7DXDsMdUUiA1ZbrWSmB9To/9NdnDB1fPnR X-Received: by 2002:a50:875c:0:b0:568:d315:b85e with SMTP id 28-20020a50875c000000b00568d315b85emr2936767edv.36.1711544539093; Wed, 27 Mar 2024 06:02:19 -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 q14-20020a056402518e00b0056c27851998si1884778edd.330.2024.03.27.06.02.16; Wed, 27 Mar 2024 06:02:19 -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=D6+9XHsT; 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=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6013B68D6A7; Wed, 27 Mar 2024 15:01:40 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from APC01-SG2-obe.outbound.protection.outlook.com (mail-sgaapc01olkn2027.outbound.protection.outlook.com [40.92.53.27]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id BC40268D697 for <ffmpeg-devel@ffmpeg.org>; Wed, 27 Mar 2024 15:01:33 +0200 (EET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k03qPaX4aCGgWOfr1bn/fQ8uQSkSYbIhhC9lCuNf/bueEqyT4IJ0mxythtCUhDyCqdbhz3mcEnfFkwkp3LAZ3C+R2DDrRckhTywizRvjdKe1R9s9ENS35ibNlbbpL/0XsjUI6ptP/HYz0SCJOSfmVbUEZTN3chuGoAcZJmxYes+/zBet8gj/0f+UIdvzQRaM7cERXxGCG4VnYoKqXfPucrXGstfcD1//AJLihmgQcNk01OvmMnOHRG/KUqubtDdE8ZgcKqS+skWNR6qpmykuJT4tI37foqJq+qVAUi+/OyMiOdgzvYfbjsj0SuPZmPEW+WGQPqUDkkJt6rtGSqEfyA== 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=iHzeOqMwvVDXUUzP2Wd+ztCYetd+ywEt8szOPAXx6VE=; b=H7du2oRLB/31nNDYbJsV2JGvhl7rQ+4YMeutubhxXKBeF4FQRZ0+QhIOMESb5Du/iUVA6BDC6iIak/iwiNYdfZJjTCjIBdA/MRZDq3YxPm6eQbQoqKcExFo7DYsybB/gF3Uu+0tPoqgRs1TiIcdldUBGwj9JuTpw8GGTNwe6izgsztwzq0C8yB5i2WN7vzbqO3Av1k3FkDeHdKh2uGf6YNcpPcE+U84pVjn2TfVsCS7GKlQ1uscPLxAKbicWP6lnbmJ92RY8HW8tqD6668u0CXaFhoZonqDhjlPrWCeqeQAeeNv/YSO9U5my5/wQ+nZX6BnU05gcV5Y6+6SpiA71Dw== 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=iHzeOqMwvVDXUUzP2Wd+ztCYetd+ywEt8szOPAXx6VE=; b=D6+9XHsTERoaWw2TNQSkLviljM26Y6YAIVmhg0MLnIkAjkuJIusUNWtSeihhmZFEX2H4X9atS3zceaa6QYmOrwJduSuzeXL9adRJKEd6OANTbm800c6RPdTJsv8MJevnBq0cfz76wAgs2OCK17qMTQpWp1NHaN40f8pj7po+CE+EIT8D05kT+BZ3hrjlxw8tfADWO977ROyN9MYgFKwR/zKSMGy0yllSrQbEAIb9GcrzXP3A1IKxzSp6Tw236Q8GwW2uRwfgr8OGOwefInHIoI5XN7YLkiv7HiA41qNV6UeoD95T+bCOB89j+tZXecoBNm27zw1cXTdLQiq/wG0KcQ== Received: from TYSPR06MB6433.apcprd06.prod.outlook.com (2603:1096:400:47a::6) by JH0PR06MB7107.apcprd06.prod.outlook.com (2603:1096:990:9b::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7409.33; Wed, 27 Mar 2024 13:01:22 +0000 Received: from TYSPR06MB6433.apcprd06.prod.outlook.com ([fe80::d001:da90:518b:ec1c]) by TYSPR06MB6433.apcprd06.prod.outlook.com ([fe80::d001:da90:518b:ec1c%3]) with mapi id 15.20.7409.031; Wed, 27 Mar 2024 13:01:22 +0000 From: Nuo Mi <nuomi2021@gmail.com> To: ffmpeg-devel@ffmpeg.org Date: Wed, 27 Mar 2024 21:01:00 +0800 Message-ID: <TYSPR06MB6433F920090DBC0F840B7F03AA342@TYSPR06MB6433.apcprd06.prod.outlook.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240327130112.6111-1-nuomi2021@gmail.com> References: <20240327130112.6111-1-nuomi2021@gmail.com> X-TMN: [vORLBAHz4n4dhiXxCTbYfT4U5IWlAdak] X-ClientProxiedBy: SG2PR01CA0117.apcprd01.prod.exchangelabs.com (2603:1096:4:40::21) To TYSPR06MB6433.apcprd06.prod.outlook.com (2603:1096:400:47a::6) X-Microsoft-Original-Message-ID: <20240327130112.6111-5-nuomi2021@gmail.com> MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 2 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: TYSPR06MB6433:EE_|JH0PR06MB7107:EE_ X-MS-Office365-Filtering-Correlation-Id: 00df142f-a36a-45bd-3b26-08dc4e5e0069 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gL3eJNEZ9XAm5o1SkBCKRI1144ElYDnWYUN+E32X+gd9FZMwjH5W9/rAlQJta/Zp7EJQZjdpOMyOqIKJqYSER5qgVipQojhjzE2CnSN+nqOadMaWORcAIfb4xhIWznRN18UIpcx6vyA2Sz9lCsXVXbGJ4fE9C27MR2X0tedp6wPSHOqieGfbpMP56WS2v/WZFrSL8FF0RDxAN9LeKR11CP2gK+UGAlAhFMLpZvClQb7Sj1xrEBVN6TT6h80uykSnLH7fwWiYwwIMcvyNQLxrdjLH/JEIw8j0QdyPdWQufHDR5XlsUB6/iG5Ayt5Pt+9iyXxGUYzjcSM894j0OGu3PjVaAmjfEiPfWszP7KtwWmrqmrGaaVFXX8utv4Mk3deW/wBkv4nx6QRRV0FiiUAnxpVrxPOCpQEHIzv5wCGAEGvO7Dxb/CC5NDfoCnSq0JyHLZuqwX+QyHGtZyVPNR6xEmtPdFyJ1od5kwoVnEfYwU1+8gkMaaRleQ0CbdWemy49lTHgQt7tdmwoRvlgPzCTe9c5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dDaqJzEn+9p+51tIraeh5gL7X613GaR11QsY+kAuHMoWyUmLJ9TMCnkLXw2DNQsfHHdV3MQh6RWOvB72jiLgBnkEEYBGGYF6r5Btd2p/ijUHQirhkgQ3xJFJFXeSwkFvpjh9brjYS5ju/LjF0tRm7nie54JJaCyjisiDKIligVmjWLP2aV7ydN8EKHlW7BsxsiJCNooUKBdKbTIFqRliSZUtwkaJRbR+G8P3WlHHGjHG09K4hTvtynT9m+6QoUaNforSr5Lr71OC4bXk2NVP7OX90LQ4tt2AzVvQaVj/4cfpSH1rsb0OfynI9WyQMfleZ7HkaIx5zSswPNKNhKyTAvpUVTZqhQLCfQB94VbpU63u2Eox9MJjQcv/EQe14bLbIKLPkBiFAw== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 00df142f-a36a-45bd-3b26-08dc4e5e0069 X-MS-Exchange-CrossTenant-AuthSource: TYSPR06MB6433.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Mar 2024 13:01:22.2939 (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: JH0PR06MB7107 Subject: [FFmpeg-devel] [PATCH v2 04/16] avcodec/vvcdec: fix uninitialized last element of xxx_bd and ctb_to_xxx_bd arrays 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: Frank Plowman <post@frankplowman.com>, Nuo Mi <nuomi2021@gmail.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: heZV8PX73ago |
Series |
avcodec/vvcdec: support subpicture
|
expand
|
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/libavcodec/vvc/vvc_ps.c b/libavcodec/vvc/vvc_ps.c index 7972803da6..3e7c0b4f5b 100644 --- a/libavcodec/vvc/vvc_ps.c +++ b/libavcodec/vvc/vvc_ps.c @@ -290,6 +290,7 @@ static int pps_bd(VVCPPS *pps) for (int k = pps->col_bd[i]; k < j; k++) pps->ctb_to_col_bd[k] = pps->col_bd[i]; } + pps->col_bd[r->num_tile_columns] = pps->ctb_to_col_bd[pps->ctb_width] = pps->ctb_width; for (int i = 0, j = 0; i < r->num_tile_rows; i++) { pps->row_bd[i] = j; @@ -297,6 +298,8 @@ static int pps_bd(VVCPPS *pps) for (int k = pps->row_bd[i]; k < j; k++) pps->ctb_to_row_bd[k] = pps->row_bd[i]; } + pps->row_bd[r->num_tile_rows] = pps->ctb_to_row_bd[pps->ctb_height] = pps->ctb_height; + return 0; }
From: Frank Plowman <post@frankplowman.com> see "6.5.1 CTB raster scanning, tile scanning, and subpicture scanning processes" Co-authored-by: Nuo Mi <nuomi2021@gmail.com> --- libavcodec/vvc/vvc_ps.c | 3 +++ 1 file changed, 3 insertions(+)