From patchwork Wed Mar 27 13:00:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nuo Mi X-Patchwork-Id: 47528 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a20:9f96:b0:1a3:b6bb:3029 with SMTP id mm22csp604429pzb; Wed, 27 Mar 2024 06:02:41 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCURuNyePalHC77mImUNDf1f5vM1xeDxsQgpIGn56bSlPni/Zn8RoWSILu/Z3tD8ce4XfZ3v/TQVMPJTi0dGnmg37Hwe63Mdp2F0VQ== X-Google-Smtp-Source: AGHT+IGGQJAXzBxb3qLu8zdkYi9gPZEoQZ0AJA2SQExcM+OmRblbCkFAavJTtzwYYNyaGHSHx0FH X-Received: by 2002:a05:6512:53b:b0:513:ec32:aa89 with SMTP id o27-20020a056512053b00b00513ec32aa89mr8538545lfc.2.1711544561378; Wed, 27 Mar 2024 06:02:41 -0700 (PDT) Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id n4-20020a056402434400b0056c1c5f1814si2248402edc.189.2024.03.27.06.02.40; Wed, 27 Mar 2024 06:02:41 -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=C+MmQCGf; 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 7730168D6B9; Wed, 27 Mar 2024 15:01:43 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from APC01-TYZ-obe.outbound.protection.outlook.com (mail-tyzapc01olkn2011.outbound.protection.outlook.com [40.92.107.11]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C4F9F68D6A9 for ; Wed, 27 Mar 2024 15:01:35 +0200 (EET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MgPQUGbZ66zktawfr/cADpTvQWzxbMk4i8waBWDzIySl+rqp7LvMWcxIDaoZyrSNic8TWHmjj2SjHLUOxUmEQOum2FHxnOqbdUvRYe8RI4GLiN7zDhgO6jEwF6NTsNnku/u9GLttW3CT87WW2hFDA9RVHDF92RCj0Sehm5aM/k26zh+Y5RLTRyjoC9kdTu/J9JcmMrB1mDYFz+sL/pH1Xi2GDtkVlTNpoKBFB4Gj4/6xr/1O9ScEDLqnnW/AyjLCLitYX8Xw/XXS02zJEYmcDJnkvXTbfkkJG9tH2XxpKxr1k5p0M3465bNSd9QZhY0+KvKeje0NmsIVwNW6tE7+Sw== 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=xHm0CS650eOxxOba3eO2NFuOPCt6JT9TIZEGk1HKD3E=; b=hPurlHHk00IhXECoFsjrNxo+9lWXoC1g9cMZq6ABnQcSvu7nxwuv4ji1J1ARRl8BCtH2JR5OO1HrsdZtBdmYZk4OwPcW406ApZ+tqUk5D0ERrzsr5nDvPxU4VjOhtf0Ke/YvaUJ/32dz6tnVeqoIwlkSt1sEsAPoXlpxy9GFl6G8weAc2h0oE8G/n6mQo/BrxfNNqzK6IOImjc7nf9WXplMm1/z84PTTsXkCsEgC+zGPuXJ4KtfXBdiIuV+hJ7hwcnPLBSHBX0CGTefch8c8Twqlr1jRXl7xlwT3mKVYh2EwMR2RHSnZxEYuvjt1P3v25dqc7u79vQqWFwb3N7jT8g== 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=xHm0CS650eOxxOba3eO2NFuOPCt6JT9TIZEGk1HKD3E=; b=C+MmQCGf/Fuy95+B10mSwrix1Z81ZxopTMX6UkvRDSqsFJfiSzfhdS1J0gTOwwe2lFwGxMsmb9R8liVlcOYL27LABrLg9pPxQtNGTvVSCIIP37B30WoIX5Yg/8JXbtzpBdbaFGTEzjOlensGWdAdPFqfaBLbWJ2U0dwgJs0A/V/8cn5eJ/LwZweedM/FhxVH6cRXIH7Oi41y7hcvg2JAw5sqg8VRs6IdqHW1tEAh+ZZtlCZ4tXf/U113wTbnw1sLIMiXjJ4OmI7oeIgFX4unE62jQzs9PvbJ4zwArU43jIK2svhj6x5Is3ws0HLIQdei6pqjI3vxikOtVJ8CDPc0OA== 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:21 +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:21 +0000 From: Nuo Mi To: ffmpeg-devel@ffmpeg.org Date: Wed, 27 Mar 2024 21:00:59 +0800 Message-ID: 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: [PaWf6wjCzwPdYzBPaqqwPcoHTMysoVjF] 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-4-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: 67b59368-79f5-4d1d-b053-08dc4e5dffcb X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kehTfk5ZUU1ZV0OBtCmW0bC5Hn+8i0WQtAHa79m3a1evI9mA7YCFjssTnlf6EYLhPlMvN2OAdOio/k/F3cqHN/wrnjrSmzplbSRyhVsIyyyLxpb459++rdM3M4W4GCsc/iwp12hr+27Yym6DJ9iHulTlU/+qwA2QvuAMdGPac3yK4NVwNNK0ANn2wgnaGlUbcNJe7oMXVv6g0Nvdn9WnTFIt/1tp/rRIkq0S3RZf+gV7cKktW9MIc3uNnhNuyETDRdDRej1k9Ohv3xHvA2gfwmq5Mxe60E/vTUfdiY1iuOQby9dnsL+yJI1DD7Z3aDzWV4CtcTAMVcKx8AYm8E6uLnJpb5FJT1POQEUFXGjhjLGZvEtQTTuMB+Fpw1Ca/UD9gr+bKRcHRlJmEro/GtL/hk7pCVOXLks3whkDlEGQVr7FalzNsYutqMjIzQGLA3ad52uzjrR9Jvm0wONXNwB8aL3zA2ErkJaGusmgcKdZNiF7fNdnIKFUE79sqYg03EiV5NMF/Isjk8/0kNvj6tAu7AeR4AdZJI65sRuVog0wX+s5Rh05jzFXyEaVvQS4lWS0xmxrKe/X4W0KQzc8IXKc3dKCIRmAk/Kzf9/FYBsKo3AKNbFWEiQz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ubhJwQug4p9wuWvTGEJ7bJirPHRx7rcfWxdziqauALa2xma/x5qh0yGsHKbU2qtXKaegsSyw4Bgt0VpW3PRBUkpjDcq6QRxZmhdGYBY+cn2fmXHIx+8KmYvkm8vVWb4nMR4DIKgtFuUel9Z52dFtJtWxEQiCssooDw8s1XHu9n/rz5mtPy2MeD/jht0RB0lDs4MZIB9QqRBGAr1S1xTLOzWr7ceHGUM+Xpo1JgxUxrrLNaSxOHapwabFXvYB5Zer8tTwd7Rhs99sJnnY4maogituV9MdkzPn4aqaCfrA== X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 67b59368-79f5-4d1d-b053-08dc4e5dffcb 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:21.2126 (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 03/16] avcodec/vvcdec: misc, add specification name for pps members 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 Cc: Nuo Mi Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: 7jb2mW6+rPvM --- libavcodec/cbs_h266.h | 10 +++++----- libavcodec/vvc/vvc_ps.h | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/libavcodec/cbs_h266.h b/libavcodec/cbs_h266.h index 73d94157d4..21b9a4196c 100644 --- a/libavcodec/cbs_h266.h +++ b/libavcodec/cbs_h266.h @@ -588,11 +588,11 @@ typedef struct H266RawPPS { uint16_t num_tile_columns; uint16_t num_tile_rows; uint16_t num_tiles_in_pic; - uint16_t slice_height_in_ctus[VVC_MAX_SLICES]; - uint16_t num_slices_in_subpic[VVC_MAX_SLICES]; - uint16_t sub_pic_id_val[VVC_MAX_SLICES]; - uint16_t col_width_val[VVC_MAX_TILE_COLUMNS]; - uint16_t row_height_val[VVC_MAX_TILE_ROWS]; + uint16_t slice_height_in_ctus[VVC_MAX_SLICES]; ///< sliceHeightInCtus + uint16_t num_slices_in_subpic[VVC_MAX_SLICES]; ///< NumSlicesInSubpic + uint16_t sub_pic_id_val[VVC_MAX_SLICES]; ///< SubpicIdVal + uint16_t col_width_val[VVC_MAX_TILE_COLUMNS]; ///< ColWidthVal + uint16_t row_height_val[VVC_MAX_TILE_ROWS]; ///< RowHeightVal } H266RawPPS; typedef struct H266RawAPS { diff --git a/libavcodec/vvc/vvc_ps.h b/libavcodec/vvc/vvc_ps.h index 1164d0eab6..d962cdf524 100644 --- a/libavcodec/vvc/vvc_ps.h +++ b/libavcodec/vvc/vvc_ps.h @@ -115,10 +115,10 @@ typedef struct VVCPPS { uint16_t min_tu_height; uint32_t *ctb_addr_in_slice; ///< CtbAddrInCurrSlice for entire picture - uint16_t *col_bd; - uint16_t *row_bd; - uint16_t *ctb_to_col_bd; - uint16_t *ctb_to_row_bd; + uint16_t *col_bd; ///< TileColBdVal + uint16_t *row_bd; ///< TileRowBdVal + uint16_t *ctb_to_col_bd; ///< CtbToTileColBd + uint16_t *ctb_to_row_bd; ///< CtbToTileRowBd uint16_t width32; ///< width in 32 pixels uint16_t height32; ///< height in 32 pixels