Point cloud coding processing method, point cloud decoding processing method and related apparatus

By dividing macroblocks in the point cloud encoding process and determining the encoding method based on the target parameters, the problem of insufficient encoding flexibility in the prior art is solved, and a more efficient encoding and decoding process is realized.

WO2024245112A1PCT designated stage expired Publication Date: 2024-12-05VIVO MOBILE COMM CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/095048
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-31
Filing Date
2024-05-24
Publication Date
2024-12-05

AI Technical Summary

Technical Problem

In the prior art, the entropy coding flexibility of geometric information during point cloud encoding process is poor, and the information of the previous encoded macroblock is relied on, resulting in insufficient encoding flexibility.

Method used

By dividing the geometric information of the point cloud into macroblocks on the encoding and decoding ends, and determining whether independent encoding or decoding is allowed based on the target parameters, serial encoding or parallel encoding methods are supported, encoding flexibility is improved.

Benefits of technology

It improves encoding flexibility in point cloud encoding process, reduces memory consumption and information storage recovery operations, and enhances encoding efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024095048_05122024_PF_FP_ABST
    Figure CN2024095048_05122024_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of computers. Disclosed in the present application are a point cloud coding processing method, a point cloud decoding processing method and a related apparatus. The point cloud coding processing method of the embodiments of the present application comprises: performing macro block division processing on geometric information of a point cloud to obtain a macro block to be coded; and performing coding processing on said macro block on the basis of a target parameter, wherein the target parameter is used for determining whether a coding end allows independent coding of said macro block.
Need to check novelty before this filing date? Find Prior Art

Description

Point cloud encoding processing method, point cloud decoding processing method and related equipment

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims priority to Chinese Patent Application No. 202310634991.8 filed in China on May 31, 2023, the entire contents of which are incorporated herein by reference. Technical Field

[0003] The present application belongs to the field of computer technology, and specifically relates to a point cloud encoding processing method, a point cloud decoding processing method and related equipment. Background Art

[0004] A point cloud is a representation of a three-dimensional object or scene. It is composed of a set of discrete points that are randomly distributed in space and express the spatial structure and surface properties of the three-dimensional object or scene. In order to accurately reflect the information in space, the number of discrete points required is quite large. In order to reduce the bandwidth occupied by point cloud data storage and transmission, the point cloud data needs to be encoded and compressed. Point cloud data usually consists of geometric information describing the location (such as three-dimensional coordinates (x, y, z)) and attribute information of the location (such as color (R, G, B) or reflectivity, etc.). In the point cloud coding and compression process, the encoding of geometric information and attribute information is performed separately.

[0005] In the related art, in the process of entropy coding geometric information, encoding of a macroblock to be coded needs to rely on macroblock coding information of a previously coded macroblock, resulting in poor coding flexibility.

[0006] Summary of the Invention

[0007] The embodiments of the present application provide a point cloud encoding processing method, a point cloud decoding processing method and related equipment, which can solve the problem of poor encoding flexibility.

[0008] In a first aspect, a point cloud encoding processing method is provided, which is executed by an encoding end and includes:

[0009] Divide the geometric information of the point cloud into macroblocks to obtain macroblocks to be encoded;

[0010] The macroblock to be encoded is encoded based on a target parameter, wherein the target parameter is used to determine whether the encoding end allows the macroblock to be encoded independently.

[0011] In a second aspect, a point cloud decoding processing method is provided, which is executed by a decoding end and includes:

[0012] Perform macroblock division processing on the point cloud to be decoded to obtain macroblocks to be decoded;

[0013] The macroblock to be decoded is decoded based on a target parameter, wherein the target parameter is used to determine whether the decoding end allows the macroblock to be decoded to be independently decoded.

[0014] In a third aspect, a point cloud coding processing device is provided, wherein an encoding end includes the point cloud coding processing device, and the device includes:

[0015] A division module is used to divide the geometric information of the point cloud into macroblocks to obtain macroblocks to be encoded;

[0016] The encoding module is used to perform encoding processing on the macroblock to be encoded based on a target parameter, wherein the target parameter is used to determine whether the encoding end allows the macroblock to be encoded independently.

[0017] In a fourth aspect, a point cloud decoding processing device is provided, wherein a decoding end includes the point cloud decoding processing device, and the device includes:

[0018] A division module is used to perform macroblock division processing on the point cloud to be decoded to obtain macroblocks to be decoded;

[0019] A decoding module is used to perform decoding processing on the macroblock to be decoded based on a target parameter, wherein the target parameter is used to determine whether the decoding end allows the macroblock to be decoded to be independently decoded.

[0020] In a fifth aspect, a terminal is provided, which includes a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the second aspect are implemented.

[0021] In a sixth aspect, a terminal is provided, comprising a processor and a communication interface, wherein the processor is configured to: divide the geometric information of a point cloud into macroblocks to obtain macroblocks to be encoded; and encode the macroblocks to be encoded based on target parameters, wherein the target parameters are used to determine whether the encoding end allows the macroblocks to be encoded independently. Alternatively, the processor is configured to: divide the point cloud to be decoded into macroblocks to obtain macroblocks to be decoded; and decode the macroblocks to be decoded based on target parameters, wherein the target parameters are used to determine whether the decoding end allows the macroblocks to be decoded independently.

[0022] In the seventh aspect, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented, or the steps of the method described in the second aspect are implemented.

[0023] In an eighth aspect, a coding and decoding system is provided, comprising: an encoding end device and a decoding end device, wherein the encoding end device can be used to execute the steps of the method described in the first aspect, and the decoding end device can be used to execute the steps of the method described in the second aspect.

[0024] In the ninth aspect, a chip is provided, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the method described in the first aspect, or to implement the method described in the second aspect.

[0025] In the tenth aspect, a computer program / program product is provided, which is stored in a storage medium and is executed by at least one processor to implement the steps of the method described in the first aspect, or to implement the steps of the method described in the second aspect.

[0026] In an embodiment of the present application, the geometric information of the point cloud is divided into macroblocks to obtain macroblocks to be encoded. The macroblocks to be encoded are then encoded based on target parameters, where the target parameters are used to determine whether the encoder allows independent encoding of the macroblocks to be encoded. In this way, when encoding the macroblocks to be encoded, the target parameters can be used to determine whether the encoder allows independent encoding of the macroblocks to be encoded, thereby supporting the use of serial encoding or parallel encoding based on the target parameters, thereby improving encoding flexibility. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] FIG1 is a schematic diagram of an AVS encoder framework in the related art;

[0028] FIG2 is a schematic diagram of an AVS decoder framework in the related art;

[0029] FIG3 is a schematic diagram of a macro block provided in an embodiment of the present application;

[0030] FIG4 is a flow chart of a point cloud coding processing method provided in an embodiment of the present application;

[0031] FIG5 is a flowchart of a point cloud decoding processing method provided in an embodiment of the present application;

[0032] FIG6 is a schematic structural diagram of a point cloud coding processing device provided in an embodiment of the present application;

[0033] FIG7 is a schematic structural diagram of a point cloud decoding and processing device provided in an embodiment of the present application;

[0034] FIG8 is a schematic structural diagram of a communication device provided in an embodiment of the present application;

[0035] FIG9 is a schematic structural diagram of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION

[0036] The following will be combined with the accompanying drawings in the embodiments of this application to clearly describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.

[0037] The terms "first", "second", etc. in this application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of the same type, and do not limit the number of objects, for example, the first object can be one or more. In addition, "or" in this application represents at least one of the connected objects. For example, "A or B" covers three options, namely, Option 1: including A but not including B; Option 2: including B but not including A; Option 3: including both A and B. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.

[0038] The term "indication" in this application can be either a direct indication (or explicit indication) or an indirect indication (or implicit indication). A direct indication can be understood as the sender explicitly informing the receiver of specific information, the operation to be performed, or the requested result, etc. in the instruction sent; an indirect indication can be understood as the receiver determining the corresponding information based on the instruction sent by the sender, or making a judgment and determining the operation to be performed or the requested result, etc. based on the judgment result.

[0039] The codec end corresponding to the point cloud codec processing method in the embodiment of the present application may be a terminal, which may also be referred to as a terminal device or user equipment (UE). The terminal may be a mobile phone, a tablet personal computer, a laptop computer or a notebook computer, a personal digital assistant (PDA), a handheld computer, a netbook, an ultra-mobile personal computer (UMPC), a mobile internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device (Wearable Device) or a vehicle user equipment (VUE), a pedestrian user equipment (PUE), or other terminal-side devices. Wearable devices include: smart watches, bracelets, headphones, glasses, etc. It should be noted that the specific type of terminal is not limited in the embodiment of the present application.

[0040] For ease of understanding, some of the contents involved in the embodiments of this application are described below:

[0041] Point cloud audio and video coding standard (AVS) codec:

[0042] The AVS encoder framework is shown in Figure 1, and the AVS decoder framework is shown in Figure 2. In the point cloud AVS encoder framework, the geometric information of the point cloud and the attribute information corresponding to each point are encoded separately. During the encoding process, the geometric information is first transformed so that the point cloud is contained in a bounding box. Then quantization is performed. This step of quantization mainly plays a role in scaling. Due to the quantization rounding, the geometric information of some points is the same. The parameters are used to decide whether to remove duplicate points. The process of quantization and removal of duplicate points belongs to the preprocessing process. The bounding box is then divided into several The size of each node is non-overlapping, and each macroblock is used as the basic coding unit. The user can set the octree partition depth d or control the size of the three-dimensional (3D) macroblock through the parameter nodeSizeLog2. And the macroblock division is completed when the following conditions are met: nodeSizeLog2>max(d x ,d y ,d z Each node is encoded according to macroblocks, which can be referred to as Largest Coding Units (LCUs). As shown in Figure 3, encoding begins at the second level of the 2-dimensional (2D) quadtree partitioning, following the macroblock order. Each macroblock can be considered a separate tree partitioning structure.

[0043] This block structure coding method brings great flexibility. In each macroblock, different geometric coding methods, octree coding or prediction tree coding, can be used according to its characteristics.

[0044] After the geometric encoding is completed, the geometric information is reconstructed for subsequent recoloring. Attribute encoding mainly targets color and reflectance information. First, it is determined whether to perform color space conversion based on the parameters. If color space conversion is performed, the color information is converted from RGB color space to YUV color space. Then, the original point cloud is used to recolor the geometrically reconstructed point cloud so that the unencoded attribute information corresponds to the reconstructed geometric information. In color information encoding, after sorting the point cloud using the Morton code, the geometric spatial relationship is used to search for the nearest neighbors of the predicted point, and the reconstructed attribute values ​​of the found neighbors are used to predict the predicted point to obtain the predicted attribute value. The actual attribute value and the predicted attribute value are then differentiated to obtain the prediction residual. Finally, the prediction residual is quantized and encoded to generate a binary code stream.

[0045] In the related art, in the process of entropy coding geometric information, encoding of a macroblock to be coded needs to rely on macroblock coding information of a previously coded macroblock, resulting in poor coding flexibility.

[0046] The point cloud encoding processing method, point cloud decoding processing method and related equipment provided in the embodiments of the present application are described in detail below with reference to some embodiments and their application scenarios in combination with the accompanying drawings.

[0047] Referring to FIG. 4 , FIG. 4 is a flowchart of a point cloud coding processing method provided in an embodiment of the present application, which can be applied to an encoding end. As shown in FIG. 4 , the point cloud coding processing method includes the following steps:

[0048] Step 101: Divide the geometric information of the point cloud into macroblocks to obtain macroblocks to be encoded.

[0049] The bounding box corresponding to the geometric information of the point cloud can be divided into macroblocks to be encoded in a tree-like manner. For example, the geometric information can be transformed so that all the point clouds are contained in a bounding box; then the point cloud is quantized. Quantization mainly plays a role in scaling. Due to quantization rounding, the geometric information of some points is the same. The decision of whether to remove duplicate points in the point cloud is made based on the parameters. The process of quantization and removal of duplicate points belongs to the preprocessing process; the bounding box is divided into several macroblocks in the manner of octree partitioning. The non-overlapping macroblocks to be coded are of different sizes, and each macroblock is used as a basic coding unit; the octree partition depth d (ie d x , d y , d z ) or use the parameter nodeSizeLog2 to control the size of the macroblock to be encoded. When the octree is divided into each node, the size is And the macroblock division is completed when the following conditions are met: nodeSizeLog2>max(d x ,d y ,d z ).

[0050] Step 102: Encode the macroblock to be encoded based on a target parameter, wherein the target parameter is used to determine whether the encoding end allows independent encoding of the macroblock to be encoded.

[0051] The target parameter may include a first parameter, which may be used to indicate whether the encoding end stores encoding-related information of an already encoded macroblock. If the first parameter indicates that encoding-related information of an already encoded macroblock is stored, it is determined that independent encoding of the macroblock to be encoded is not permitted; if the first parameter indicates that encoding-related information of an already encoded macroblock is not stored, it is determined that independent encoding of the macroblock to be encoded is permitted.

[0052] In one implementation, the encoding may refer to entropy encoding, or may refer to other encoding processes, which is not limited in this embodiment.

[0053] In one embodiment, if the first parameter indicates that the encoding-related information of the encoded macroblock is stored, the first macroblock can be encoded, and the second macroblock can be encoded based on the encoding-related information of the first macroblock; or, if the first parameter indicates that the encoding-related information of the encoded macroblock is not stored, the first macroblock and the second macroblock can be encoded separately.

[0054] In one implementation, if the first parameter indicates storing encoding related information of an encoded macroblock, the encoding related information of the first macroblock may be stored, and the second macroblock may be encoded based on the stored encoding related information of the first macroblock.

[0055] In one embodiment, if the first parameter indicates that the encoding-related information of the encoded macroblock is not stored, the encoding-related information corresponding to the first macroblock and the encoding-related information corresponding to the second macroblock can be initialized respectively, and the first macroblock is encoded based on the initialized encoding-related information corresponding to the first macroblock, and the second macroblock is encoded based on the initialized encoding-related information corresponding to the second macroblock.

[0056] In one embodiment, when the first parameter is a first preset value, the first parameter may indicate that encoding-related information of the encoded macroblock is stored; or, when the first parameter is a second preset value, the first parameter may indicate that encoding-related information of the encoded macroblock is not stored. The first preset value and the second preset value are different values.

[0057] In one embodiment, the target parameter may include a first parameter and a second parameter, and the macroblock to be encoded may be encoded based on the first parameter and the second parameter; the second parameter is used to indicate whether the encoding end stores encoding-related information of the parent node corresponding to the macroblock to be encoded.

[0058] In one implementation, whether the encoding end stores the encoding related information of the encoded macroblock may refer to whether the encoding end needs to store the encoding related information of the encoded macroblock.

[0059] In one implementation, the encoding-related information may include encoding context information or neighbor placeholder information, etc.

[0060] In an embodiment of the present application, the geometric information of the point cloud is divided into macroblocks to obtain macroblocks to be encoded. The macroblocks to be encoded are then encoded based on target parameters, where the target parameters are used to determine whether the encoder allows independent encoding of the macroblocks to be encoded. In this way, when encoding the macroblocks to be encoded, the target parameters can be used to determine whether the encoder allows independent encoding of the macroblocks to be encoded, thereby supporting the use of serial encoding or parallel encoding based on the target parameters, thereby improving encoding flexibility.

[0061] Optionally, the macroblock to be encoded includes a first macroblock and a second macroblock, the second macroblock is a next macroblock to be encoded of the first macroblock, and the encoding processing of the macroblock to be encoded based on the target parameter includes:

[0062] If it is determined based on the target parameters that the to-be-encoded macroblock is not allowed to be independently encoded, encoding the first macroblock, and encoding the second macroblock based on encoding related information of the first macroblock; or

[0063] If it is determined based on the target parameter that the to-be-encoded macroblock is allowed to be independently encoded, the first macroblock and the second macroblock are encoded separately.

[0064] After encoding the first macroblock, encoding related information of the first macroblock may be stored, and the second macroblock may be encoded based on the stored encoding related information of the first macroblock.

[0065] In addition, the encoding of the first macroblock and the second macroblock respectively may be to initialize the encoding-related information corresponding to the first macroblock and the encoding-related information corresponding to the second macroblock respectively, encode the first macroblock based on the initialized encoding-related information corresponding to the first macroblock, and encode the second macroblock based on the initialized encoding-related information corresponding to the second macroblock; or, the encoding of the first macroblock and the second macroblock respectively may be based on preset encoding-related information.

[0066] It should be noted that the target parameter can be set in the geometry header information, or can also be set in other information other than the geometry header information, which is not limited in this embodiment.

[0067] For example, the target parameters may include gps_lcu_entropy_continuity_flag;

[0068] When gps_lcu_entropy_continuity_flag = 1, it can indicate that all macroblocks allow entropy dependency, that is, after the current macroblock is encoded, the hash table information of the current entropy coding context and geometric coding (used to store neighbor placeholder information) will be saved for use by the next macroblock. At this time, the macroblocks are serially encoded, where gps_lcu_entropy_continuity_flag is the first parameter; when gps_lcu_entropy_continuity_flag = 0, all macroblocks do not allow entropy dependency, that is, each macroblock is encoded independently, and the hash table information of each entropy coding context and geometric coding will be reinitialized. At this time, the macroblocks are encoded in parallel, which can reduce memory consumption and do not require information storage and recovery operations.

[0069] In this embodiment, if it is determined based on the target parameters that independent encoding of the macroblock to be encoded is not permitted, the first macroblock is encoded, and the second macroblock is encoded based on the encoding-related information of the first macroblock; or if it is determined based on the target parameters that independent encoding of the macroblock to be encoded is permitted, the first macroblock and the second macroblock are encoded separately. In this way, when it is determined based on the target parameters that independent encoding of the macroblock to be encoded is not permitted, the first macroblock and the second macroblock can be encoded using a serial encoding method; when it is determined based on the target parameters that independent encoding of the macroblock to be encoded is permitted, the first macroblock and the second macroblock can be encoded using a parallel encoding method, thereby providing greater flexibility in encoding the macroblock to be encoded.

[0070] Optionally, the target parameter includes a first parameter and a second parameter, and encoding the macroblock to be encoded based on the target parameter includes:

[0071] Performing encoding processing on the macroblock to be encoded based on the first parameter and the second parameter;

[0072] The first parameter is used to indicate whether the encoding end stores encoding related information of the encoded macroblock, and the second parameter is used to indicate whether the encoding end stores encoding related information of the parent node corresponding to the macroblock to be encoded.

[0073] The node layer corresponding to the macroblock to be encoded can be the second layer, the third layer, or other layers. When the node layer corresponding to the macroblock to be encoded is the second layer, the parent node corresponding to the macroblock to be encoded is the root node; when the node layer corresponding to the macroblock to be encoded is the third layer, the parent node corresponding to the macroblock to be encoded is the node of the second layer; when the node layer corresponding to the macroblock to be encoded is the fourth layer, the parent node corresponding to the macroblock to be encoded is the node of the third layer, and so on.

[0074] In one embodiment, when the second parameter indicates that encoding-related information of the parent node corresponding to the to-be-encoded macroblock is stored, the to-be-encoded macroblock may be encoded based on the stored encoding-related information of the parent node corresponding to the to-be-encoded macroblock. For example, the stored encoding-related information of the parent node corresponding to the to-be-encoded macroblock may be obtained, and the first and second macroblocks may be encoded based on the encoding-related information of the parent node corresponding to the to-be-encoded macroblock.

[0075] In one embodiment, when the second parameter indicates that the encoding-related information of the parent node corresponding to the to-be-encoded macroblock is stored, the to-be-encoded macroblock may be encoded based on the stored encoding-related information of the parent node corresponding to the to-be-encoded macroblock and the first parameter. For example, when the second parameter indicates that the encoding-related information of the parent node corresponding to the to-be-encoded macroblock is stored, if the first parameter indicates that the encoding-related information of the already-encoded macroblock is stored, the second macroblock may be encoded based on the stored encoding-related information of the parent node corresponding to the second macroblock and the encoding-related information of the already-encoded first macroblock; or, when the second parameter indicates that the encoding-related information of the parent node corresponding to the to-be-encoded macroblock is stored, if the first parameter indicates that the encoding-related information of the already-encoded macroblock is not stored, the second macroblock may be encoded based on the stored encoding-related information of the parent node corresponding to the second macroblock.

[0076] In one embodiment, when the second parameter indicates that the encoding-related information of the parent node corresponding to the macroblock to be encoded is not stored, the macroblock to be encoded can be encoded based on the first parameter. For example, when the second parameter indicates that the encoding-related information of the parent node corresponding to the macroblock to be encoded is not stored, if the first parameter indicates that the encoding-related information of the already encoded macroblock is stored, the first macroblock can be encoded, and the second macroblock can be encoded based on the encoding-related information of the first macroblock; or, when the second parameter indicates that the encoding-related information of the parent node corresponding to the macroblock to be encoded is not stored, if the first parameter indicates that the encoding-related information of the already encoded macroblock is not stored, the first macroblock and the second macroblock can be encoded separately.

[0077] In one implementation, whether the encoding end stores the encoding related information of the parent node corresponding to the macroblock to be encoded may refer to whether the encoding end needs to store the encoding related information of the parent node corresponding to the macroblock to be encoded.

[0078] In one embodiment, whether the encoding end stores encoding-related information of the parent node corresponding to the macroblock to be encoded may refer to whether hash table information of the current entropy coding context and geometric coding is saved before entering the macroblock encoding.

[0079] It should be noted that the first parameter can be set in the geometry header information, or can also be set in other information other than the geometry header information, which is not limited in this embodiment. The second parameter can be set in the geometry header information, or can also be set in other information other than the geometry header information, which is not limited in this embodiment.

[0080] In this embodiment, the macroblock to be encoded is encoded based on the first parameter and the second parameter; the first parameter is used to indicate whether the encoding end stores encoding-related information of the encoded macroblock, and the second parameter is used to indicate whether the encoding end stores encoding-related information of the parent node corresponding to the macroblock to be encoded, so that the first parameter and the second parameter can indicate the encoding method for the macroblock to be encoded from a variety of encoding methods, which can further improve the encoding flexibility.

[0081] Optionally, the macroblock to be encoded includes a first macroblock and a second macroblock, the second macroblock is a next macroblock to be encoded of the first macroblock, and the encoding processing of the macroblock to be encoded based on the first parameter and the second parameter includes:

[0082] In the case where the second parameter indicates that the encoding related information of the parent node corresponding to the macroblock to be encoded is not stored:

[0083] If the first parameter indicates to store the encoding related information of the encoded macroblock, the first macroblock is encoded, and the second macroblock is encoded based on the encoding related information of the first macroblock; or

[0084] If the first parameter indicates not to store the encoding related information of the encoded macroblock, the first macroblock and the second macroblock are encoded separately.

[0085] Among them, when the second parameter indicates that the encoding related information of the parent node corresponding to the macroblock to be encoded is not stored, if the first parameter indicates that the encoding related information of the encoded macroblock is stored, the first macroblock can be encoded based on the encoding related information of the encoded fourth macroblock, and the fourth macroblock is the previously encoded macroblock of the first macroblock.

[0086] In addition, when the second parameter indicates that the encoding-related information of the parent node corresponding to the macroblock to be encoded is not stored, and the first parameter indicates that the encoding-related information of the encoded macroblock is stored, if the first macroblock is the first macroblock in the macroblock to be encoded, the encoding-related information corresponding to the first macroblock can be initialized, and the first macroblock can be encoded based on the encoding-related information corresponding to the initialized first macroblock; when the second parameter indicates that the encoding-related information of the parent node corresponding to the macroblock to be encoded is not stored, and the first parameter indicates that the encoding-related information of the encoded macroblock is stored, if the first macroblock is not the first macroblock in the macroblock to be encoded, the first macroblock can be encoded based on the encoding-related information of the encoded fourth macroblock, and the fourth macroblock is the previously encoded macroblock of the first macroblock.

[0087] It should be noted that, as shown in FIG3 , the first macroblock can be an independent tree of node 1, the second macroblock can be an independent tree of node 2, the third-layer child nodes 2, 3, 7, and 8 are occupied child nodes, the fourth-layer child nodes 4, 5, 9, A, and B are occupied child nodes, and node 0 is the parent node of node 1 and node 2. In the related art, when encoding the second macroblock, if the second parameter (gps_save_state_flag) indicates that the encoding-related information of the parent node corresponding to the macroblock to be encoded is not stored (i.e., the entropy coding context and the hash table information of the geometric coding of node 0 are not stored), the encoding of the second macroblock depends on the encoding of the first macroblock, and the encoding-related information of child nodes 4 and 5 is required to encode the second macroblock. The encoding of the second macroblock can only be performed after the encoding of child nodes 4 and 5 is completed, and independent encoding and decoding cannot be achieved, resulting in poor flexibility. In this embodiment, when the second parameter indicates that the encoding related information of the parent node corresponding to the macroblock to be encoded is not stored (that is, the entropy coding context and the hash table information of the geometric coding of node 0 are not stored), if the first parameter (gps_lcu_entropy_continuity_flag) indicates that the encoding related information of the encoded macroblock is stored, the first macroblock can be encoded, and the second macroblock can be encoded based on the encoding related information of the first macroblock. At this time, the macroblocks allow entropy dependence, and the macroblocks are serially encoded; if the first parameter indicates that the encoding related information of the encoded macroblock is not stored, the first macroblock and the second macroblock are encoded separately, and each macroblock is encoded independently. At this time, the macroblocks are encoded in parallel.

[0088] In this embodiment, when the second parameter indicates that the encoding-related information of the parent node corresponding to the macroblock to be encoded is not stored: if the first parameter indicates that the encoding-related information of the encoded macroblock is stored, the first macroblock is encoded, and the second macroblock is encoded based on the encoding-related information of the first macroblock; or if the first parameter indicates that the encoding-related information of the encoded macroblock is not stored, the first macroblock and the second macroblock are encoded separately. In this way, when the encoding-related information of the parent node corresponding to the macroblock to be encoded is not stored, it supports determining whether to use a serial encoding method or a parallel encoding method for the macroblock to be encoded by the first parameter, avoiding the situation where only a serial encoding method can be used when the encoding-related information of the parent node corresponding to the macroblock to be encoded is not stored, thereby improving encoding flexibility.

[0089] Optionally, the encoding process of the macroblock to be encoded based on the first parameter and the second parameter further includes:

[0090] When the second parameter indicates that the encoding related information of the parent node corresponding to the macroblock to be encoded is stored, the stored encoding related information of the parent node corresponding to the macroblock to be encoded is obtained, and the first macroblock and the second macroblock are encoded respectively based on the encoding related information of the parent node corresponding to the macroblock to be encoded.

[0091] Among them, when the second parameter indicates that the encoding related information of the parent node corresponding to the macroblock to be encoded is stored, the encoding related information of the parent node corresponding to the first macroblock can be obtained, and the first macroblock can be encoded based on the stored encoding related information of the parent node corresponding to the first macroblock; when the second parameter indicates that the encoding related information of the parent node corresponding to the macroblock to be encoded is stored, the encoding related information of the parent node corresponding to the second macroblock can be obtained, and the second macroblock can be encoded based on the stored encoding related information of the parent node corresponding to the second macroblock.

[0092] In this embodiment, when the second parameter indicates the storage of encoding related information of the parent node corresponding to the macroblock to be encoded, the stored encoding related information of the parent node corresponding to the macroblock to be encoded is obtained, and the first macroblock and the second macroblock are encoded respectively based on the encoding related information of the parent node corresponding to the macroblock to be encoded. In this way, when the second parameter indicates the storage of encoding related information of the parent node corresponding to the macroblock to be encoded, parallel encoding of the macroblocks to be encoded is achieved through the stored encoding related information of the parent node corresponding to the macroblock to be encoded.

[0093] In the embodiment of the present application, there are two different implementations for determining whether to perform independent encoding based on target parameters:

[0094] One is that each macroblock to be encoded is judged according to the target parameters before encoding. For example, before encoding the second macroblock, if it is determined according to the target parameters that the second macroblock is not allowed to be encoded independently, the encoding-related information of the encoded first macroblock is obtained, and the second macroblock is encoded according to the encoding-related information of the first macroblock; if it is determined according to the target parameters that the second macroblock is allowed to be encoded independently, the encoding-related information of the first macroblock is not obtained, and the second macroblock is encoded independently.

[0095] Another implementation method is to make a judgment based on the target parameter when encoding the first macroblock in the macroblock to be encoded, and no longer make a judgment based on the target parameter when encoding other macroblocks after the first macroblock. For example, if the first macroblock is the first macroblock in the macroblock to be encoded, then after encoding the first macroblock (e.g., the first macroblock), it is determined based on the target parameter whether the macroblock to be encoded is allowed to be encoded independently. If so, the encoding-related information of the first macroblock is not stored. In this way, when encoding the second macroblock (e.g., the second macroblock), because the encoding-related information of the first macroblock is not found, it is considered that independent encoding is allowed, and the second macroblock is independently encoded. If it is determined based on the target parameter that independent encoding of the macroblock to be encoded is not allowed, the encoding-related information of the first macroblock is stored. In this way, when encoding the second macroblock (e.g., the second macroblock), the encoding-related information of the first macroblock is automatically obtained to encode the second macroblock. Similarly, the macroblock to be encoded also includes a third macroblock, and the third macroblock is the next macroblock to be encoded after the second macroblock. After encoding the second macroblock based on the encoding-related information of the first macroblock, the method further includes:

[0096] storing encoding related information of the second macroblock;

[0097] The third macroblock is encoded based on the stored encoding related information of the second macroblock.

[0098] The encoding-related information of the second macroblock may be stored over the encoding-related information of the first macroblock, or other storage space may be used to store the encoding-related information of the second macroblock. To save storage space, the encoding-related information of the first macroblock may be deleted and the encoding-related information of the second macroblock may be stored in the storage space where the encoding-related information of the first macroblock is stored.

[0099] In this embodiment, the first macroblock is the first macroblock in the macroblocks to be encoded. After the second macroblock is encoded based on the encoding-related information of the first macroblock, the encoding-related information of the second macroblock is stored; the third macroblock is encoded based on the stored encoding-related information of the second macroblock, so that it is only necessary to determine whether to store the encoding-related information of the encoded macroblock through the target parameter before encoding the second macroblock. If the encoding-related information of the first macroblock has been stored, the encoding-related information is directly stored for subsequent macroblocks after encoding is completed, and no further judgment is required, which can improve encoding efficiency.

[0100] Optionally, encoding the second macroblock based on the encoding related information of the first macroblock includes:

[0101] storing encoding related information of the first macroblock;

[0102] The second macroblock is encoded based on the stored encoding related information of the first macroblock.

[0103] In this embodiment, when the first parameter indicates the storage of encoding-related information of an encoded macroblock, the encoding-related information of the first macroblock is stored; and the second macroblock is encoded based on the stored encoding-related information of the first macroblock, so that parallel encoding of the macroblocks to be encoded can be achieved through the stored encoding-related information of the encoded macroblock.

[0104] Optionally, encoding the first macroblock and the second macroblock separately includes:

[0105] Initializing the encoding related information corresponding to the first macroblock and the encoding related information corresponding to the second macroblock respectively;

[0106] The first macroblock is encoded based on the encoding-related information corresponding to the initialized first macroblock, and the second macroblock is encoded based on the encoding-related information corresponding to the initialized second macroblock.

[0107] In this embodiment, the encoding-related information corresponding to the first macroblock and the encoding-related information corresponding to the second macroblock are initialized separately; the first macroblock is encoded based on the initialized encoding-related information corresponding to the first macroblock, and the second macroblock is encoded based on the initialized encoding-related information corresponding to the second macroblock. In this way, when the encoding-related information of the encoded macroblocks is not stored, parallel encoding of the macroblocks to be encoded can be achieved by initializing the encoding-related information corresponding to the macroblocks to be encoded.

[0108] Optionally, before encoding the macroblock to be encoded based on the first parameter and the second parameter, the method further includes:

[0109] In a case where the second parameter indicates to store the encoding related information of the parent node corresponding to the macroblock to be encoded, the encoding related information of the parent node corresponding to the macroblock to be encoded is stored.

[0110] In which, the macroblock to be encoded may include a first macroblock and a second macroblock, the second macroblock is the next macroblock to be encoded of the first macroblock, the parent node corresponding to the first macroblock and the parent node corresponding to the second macroblock may be the same node, and when the second parameter indicates that the encoding related information of the parent node corresponding to the macroblock to be encoded is to be stored, the encoding related information of the parent node may be stored, the first macroblock may be encoded based on the stored encoding related information of the parent node, and the second macroblock may be encoded based on the stored encoding related information of the parent node.

[0111] In this embodiment, when the second parameter indicates the storage of the encoding related information of the parent node corresponding to the macroblock to be encoded, the encoding related information of the parent node corresponding to the macroblock to be encoded is stored, so that the macroblock to be encoded can be encoded in parallel through the stored encoding related information of the parent node corresponding to the macroblock to be encoded.

[0112] Optionally, when the first parameter is a first preset value, the first parameter indicates to store encoding related information of the encoded macroblock; or

[0113] When the first parameter is a second preset value, the first parameter indicates not to store encoding related information of the encoded macroblock; or

[0114] In the case where the second parameter is a third preset value, the second parameter indicates that encoding related information of the parent node corresponding to the macroblock to be encoded is stored; or,

[0115] When the second parameter is a fourth preset value, the second parameter indicates that encoding related information of the parent node corresponding to the macroblock to be encoded is not stored.

[0116] The first preset value is different from the second preset value, and the third preset value is different from the fourth preset value.

[0117] In one embodiment, when the first parameter is 1, the first parameter indicates storing encoding related information of the encoded macroblock; or

[0118] When the first parameter is 0, the first parameter indicates that the encoding related information of the encoded macroblock is not stored; or

[0119] When the second parameter is 1, the second parameter indicates that the encoding related information of the parent node corresponding to the macroblock to be encoded is stored; or

[0120] When the second parameter is 0, the second parameter indicates that the encoding related information of the parent node corresponding to the macroblock to be encoded is not stored.

[0121] Optionally, the encoding-related information includes at least one of the following: entropy coding context information, and hash table information for storing neighbor placeholder information.

[0122] Referring to FIG5 , FIG5 is a flowchart of a point cloud decoding processing method provided in an embodiment of the present application, which can be applied to a decoding end. As shown in FIG5 , the point cloud decoding processing method includes the following steps:

[0123] Step 201: performing macroblock division processing on the point cloud to be decoded to obtain macroblocks to be decoded;

[0124] Step 202: Decode the macroblock to be decoded based on a target parameter, wherein the target parameter is used to determine whether the decoding end allows independent decoding of the macroblock to be decoded.

[0125] Optionally, the macroblock to be decoded includes a first macroblock and a second macroblock, the second macroblock is a next macroblock to be decoded of the first macroblock, and the decoding process on the macroblock to be decoded based on the target parameter includes:

[0126] If it is determined based on the target parameter that the to-be-decoded macroblock is not allowed to be independently decoded, decoding the first macroblock, and decoding the second macroblock based on decoding-related information of the first macroblock; or

[0127] If it is determined based on the target parameter that the to-be-decoded macroblock is allowed to be independently decoded, the first macroblock and the second macroblock are decoded separately.

[0128] Optionally, the target parameter includes a first parameter and a second parameter, and the decoding process on the macroblock to be decoded based on the target parameter includes:

[0129] Performing decoding processing on the macroblock to be decoded based on the first parameter and the second parameter;

[0130] The first parameter is used to indicate whether the decoding end stores decoding related information of the decoded macroblock, and the second parameter is used to indicate whether the decoding end stores decoding related information of the parent node corresponding to the macroblock to be decoded.

[0131] Optionally, the macroblock to be decoded includes a first macroblock and a second macroblock, the second macroblock is a next macroblock to be decoded of the first macroblock, and the decoding process on the macroblock to be decoded based on the first parameter and the second parameter includes:

[0132] In the case where the second parameter indicates that decoding related information of the parent node corresponding to the macroblock to be decoded is not stored:

[0133] If the first parameter indicates that decoding related information of a decoded macroblock is stored, decoding the first macroblock, and decoding the second macroblock based on the decoding related information of the first macroblock; or

[0134] If the first parameter indicates that decoding related information of the decoded macroblock is not to be stored, the first macroblock and the second macroblock are decoded separately.

[0135] Optionally, the decoding process on the to-be-decoded macroblock based on the first parameter and the second parameter further includes:

[0136] When the second parameter indicates that the decoding related information of the parent node corresponding to the macroblock to be decoded is stored, the decoding related information of the parent node corresponding to the macroblock to be decoded is obtained, and the first macroblock and the second macroblock are decoded respectively based on the decoding related information of the parent node corresponding to the macroblock to be decoded.

[0137] Optionally, the first macroblock is the first macroblock in the macroblocks to be decoded, the macroblocks to be decoded further include a third macroblock, and the third macroblock is the next macroblock to be decoded of the second macroblock. After decoding the second macroblock based on the decoding-related information of the first macroblock, the method further includes:

[0138] storing decoding related information of the second macroblock;

[0139] The third macroblock is decoded based on the stored decoding-related information of the second macroblock.

[0140] Optionally, the decoding the second macroblock based on the decoding related information of the first macroblock includes:

[0141] storing decoding related information of the first macroblock;

[0142] The second macroblock is decoded based on the stored decoding-related information of the first macroblock.

[0143] Optionally, respectively decoding the first macroblock and the second macroblock includes:

[0144] respectively initializing the decoding related information corresponding to the first macroblock and the decoding related information corresponding to the second macroblock;

[0145] The first macroblock is decoded based on the initialized decoding-related information corresponding to the first macroblock, and the second macroblock is decoded based on the initialized decoding-related information corresponding to the second macroblock.

[0146] Optionally, before decoding the macroblock to be decoded based on the first parameter and the second parameter, the method further includes:

[0147] In a case where the second parameter indicates to store the decoding related information of the parent node corresponding to the to-be-decoded macroblock, the decoding related information of the parent node corresponding to the to-be-decoded macroblock is stored.

[0148] It should be noted that this embodiment is an implementation of the decoding end corresponding to the embodiment shown in Figure 4. Its specific implementation can refer to the relevant description of the embodiment shown in Figure 4. In order to avoid repetition, this embodiment will not be repeated, and the same beneficial effects can still be achieved.

[0149] In related technologies, the macroblock encoding and decoding method is as follows:

[0150] (1) First, the three-dimensional space is divided into several The size of each macroblock is non-overlapping, and each macroblock is used as the basic coding unit. You can set the octree partition depth d or control the size of the 3D macroblock through the parameter nodeSizeLog2. And the macroblock division is completed when the following conditions are met: nodeSizeLog2>max(d x ,d y ,d z) Each node is encoded according to macroblocks (such as LCUs). As shown in Figure 3, the second level of the 2D quadtree partitioning starts to be encoded in sequence according to macroblocks (such as LCUs). Each macroblock can be regarded as a separate tree partitioning structure.

[0151] (2) Set a control parameter gps_save_state_flag in the geometry header information;

[0152] When gps_save_state_flag = 1, before entering macroblock encoding, the current entropy coding context and geometry coding hash table information are saved. This hash table information is used to store neighbor placeholder information. When encoding each macroblock, the saved coding context and geometry coding hash table information are restored. This eliminates reference dependencies between macroblocks in geometry coding, allowing independent encoding and decoding between macroblocks.

[0153] When gps_save_state_flag = 0, the storage and restoration of hash table information for entropy coding context and geometry coding are disabled, which can reduce memory consumption and information storage and restoration operations.

[0154] It should be noted that the control parameter gps_save_state_flag may also be set in other information besides the geometry header information. This embodiment does not limit the specific setting location of the control parameter gps_save_state_flag.

[0155] (3) Then, different geometric coding methods are adopted according to the different characteristics of each macroblock. Currently, AVS has two geometric coding methods: octree coding and prediction tree coding.

[0156] It should be noted that when the parameter gps_save_state_flag = 0, entropy continuity is used between LCU blocks by default. At this time, there is dependence between each block, and independent encoding and decoding cannot be achieved, and the flexibility is poor. In addition, the existing LCU blocks use different geometric coding methods according to the characteristics of their macroblocks. Therefore, different geometric coding methods may be used between two adjacent macroblocks. At this time, if entropy continuity is used by default, its correlation is too poor, which is not conducive to coding compression efficiency.

[0157] The point cloud encoding processing method and the point cloud decoding processing method of the embodiment of the present application are described below through a specific embodiment:

[0158] Encoding side:

[0159] (1) First, the three-dimensional space is divided into several The size of each macroblock is non-overlapping, and each macroblock is used as the basic coding unit. You can set the octree partition depth d or control the size of the 3D macroblock through the parameter nodeSizeLog2. And the macroblock division is completed when the following conditions are met: nodeSizeLog2>max(d x ,d y ,dz). Each node is encoded according to the macroblock (such as LCU). As shown in Figure 3, the second level of the 2D quadtree partitioning starts to be encoded according to the macroblock (such as LCU) sequence. Each macroblock can be regarded as a separate tree partition structure.

[0160] (2) Two control parameters are set and encoded in the geometry header information: gps_save_state_flag (i.e., the second parameter) and gps_lcu_entropy_continuity_flag (i.e., the first parameter);

[0161] When gps_save_state_flag = 1, before entering macroblock encoding, the current entropy coding context and geometry coding hash table information are saved. This hash table information is used to store neighbor placeholder information. When encoding each macroblock, the saved coding context and geometry coding hash table information are restored. This eliminates reference dependencies between macroblocks in geometry coding, allowing independent encoding of macroblocks.

[0162] When gps_save_state_flag=0, the storage and restoration of hash table information of entropy coding context and geometry coding will be turned off before entering macroblock coding.

[0163] When gps_save_state_flag = 0:

[0164] When gps_lcu_entropy_continuity_flag=1, it indicates that all macroblocks allow entropy dependency, that is, after the current macroblock is encoded, the hash table information of the current entropy coding context and geometric coding will be saved for use by the next macroblock. At this time, the macroblocks are serially encoded;

[0165] When gps_lcu_entropy_continuity_flag = 0, entropy dependencies are disabled for all macroblocks. Each macroblock is encoded independently, and the hash table information for each entropy coding context and geometry coding is reinitialized. Macroblocks are then encoded in parallel, reducing memory consumption and information storage and retrieval operations.

[0166] It should be noted that the control parameters gps_save_state_flag and gps_lcu_entropy_continuity_flag may also be set in other information besides the geometry header information. This embodiment does not limit the specific setting locations of the control parameters gps_save_state_flag and gps_lcu_entropy_continuity_flag.

[0167] (3) Different geometric coding methods are used according to the different characteristics of each macroblock, for example, octree coding or prediction tree coding.

[0168] Decoding end:

[0169] (1) First, the three-dimensional space is divided into several The size of each macroblock is non-overlapping, and each macroblock is used as the basic decoding unit. The octree partition depth d can be set or the size of the 3D macroblock can be controlled by the parameter nodeSizeLog2. And the macroblock division is completed when the following conditions are met: nodeSizeLog2>max(d x ,d y ,dz). Each node is decoded according to macroblocks (such as LCUs). As shown in Figure 3, decoding starts at the second level of the 2D quadtree partitioning and is sequentially decoded according to macroblocks (such as LCUs). Each macroblock can be regarded as a separate tree partitioning structure.

[0170] (2) Taking the control parameters gps_save_state_flag (i.e., the second parameter) and gps_lcu_entropy_continuity_flag (i.e., the first parameter) set in the geometry header information as an example, two control parameters are parsed from the geometry header information: gps_save_state_flag (i.e., the second parameter) and gps_lcu_entropy_continuity_flag (i.e., the first parameter); wherein,

[0171] When gps_save_state_flag = 1, before entering macroblock decoding, the current entropy decoding context and geometry decoding hash table information are saved. This hash table information is used to store neighbor placeholder information. When decoding each macroblock, the saved decoding context and geometry decoding hash table information are restored. This eliminates reference dependencies between macroblocks during geometry decoding, allowing independent decoding of macroblocks.

[0172] When gps_save_state_flag=0, the storage and restoration of hash table information for entropy decoding context and geometry decoding will be disabled before entering macroblock decoding.

[0173] When gps_save_state_flag = 0:

[0174] When gps_lcu_entropy_continuity_flag=1, it indicates that all macroblocks allow entropy dependency, that is, after the current macroblock is decoded, the hash table information of the current entropy decoding context and geometric decoding will be saved for use by the next macroblock. At this time, serial decoding is performed between macroblocks.

[0175] When gps_lcu_entropy_continuity_flag = 0, entropy dependencies are not allowed for all macroblocks. That is, each macroblock is decoded independently, and the hash table information for each entropy decoding context and geometry decoding is reinitialized. In this case, macroblocks are decoded in parallel, which can reduce memory consumption and information storage and recovery operations.

[0176] (3) Different geometric decoding methods are used according to the different characteristics of each macroblock, for example, octree decoding or prediction tree decoding.

[0177] It should be noted that the relationship between the two control parameters gps_save_state_flag and gps_lcu_entropy_continuity_flag is as follows:

[0178] When gps_save_state_flag is 1, gps_lcu_entropy_continuity_flag may default to 0;

[0179] When gps_save_state_flag is 0, gps_lcu_entropy_continuity_flag can be set to 0 or 1.

[0180] The newly added parameter gps_lcu_entropy_continuity_flag can be placed in any parameter set.

[0181] This embodiment proposes a method for controlling the continuity of macroblock entropy, which can improve the flexibility of encoding between macroblocks and support arbitrary switching between parallel encoding and serial encoding of macroblocks.

[0182] It should be noted that the point cloud coding processing method provided in the embodiments of the present application can be executed by a point cloud coding processing device, or a control module in the point cloud coding processing device for executing the point cloud coding processing method. In the embodiments of the present application, the point cloud coding processing device provided in the embodiments of the present application is described by taking the point cloud coding processing method executed by the point cloud coding processing device as an example.

[0183] Please refer to FIG6 , which is a structural diagram of a point cloud coding processing device provided in an embodiment of the present application. The coding end includes the point cloud coding processing device. As shown in FIG6 , the point cloud coding processing device 300 includes:

[0184] A division module 301 is used to divide the geometric information of the point cloud into macroblocks to obtain macroblocks to be encoded;

[0185] The encoding module 302 is configured to perform encoding processing on the macroblock to be encoded based on a target parameter, wherein the target parameter is used to determine whether the encoding end allows independent encoding of the macroblock to be encoded.

[0186] Optionally, the macroblock to be encoded includes a first macroblock and a second macroblock, the second macroblock is the next macroblock to be encoded after the first macroblock, and the encoding module is specifically configured to:

[0187] If it is determined based on the target parameters that the to-be-encoded macroblock is not allowed to be independently encoded, encoding the first macroblock, and encoding the second macroblock based on encoding related information of the first macroblock; or

[0188] If it is determined based on the target parameter that the to-be-encoded macroblock is allowed to be independently encoded, the first macroblock and the second macroblock are encoded separately.

[0189] Optionally, the target parameter includes a first parameter and a second parameter, and the encoding module is specifically configured to:

[0190] Performing encoding processing on the macroblock to be encoded based on the first parameter and the second parameter;

[0191] The first parameter is used to indicate whether the encoding end stores encoding related information of the encoded macroblock, and the second parameter is used to indicate whether the encoding end stores encoding related information of the parent node corresponding to the macroblock to be encoded.

[0192] Optionally, the macroblock to be encoded includes a first macroblock and a second macroblock, the second macroblock is the next macroblock to be encoded of the first macroblock, and the encoding module includes:

[0193] a first encoding unit configured to, when the second parameter indicates not to store encoding related information of a parent node corresponding to the macroblock to be encoded: if the first parameter indicates to store encoding related information of an encoded macroblock, encode the first macroblock, and encode the second macroblock based on the encoding related information of the first macroblock; or

[0194] The second encoding unit is used to encode the first macroblock and the second macroblock separately when the second parameter indicates that the encoding related information of the parent node corresponding to the macroblock to be encoded is not stored: if the first parameter indicates that the encoding related information of the encoded macroblock is not stored.

[0195] Optionally, the encoding module is further configured to:

[0196] When the second parameter indicates that the encoding related information of the parent node corresponding to the macroblock to be encoded is stored, the stored encoding related information of the parent node corresponding to the macroblock to be encoded is obtained, and the first macroblock and the second macroblock are encoded respectively based on the encoding related information of the parent node corresponding to the macroblock to be encoded.

[0197] Optionally, the first macroblock is the first macroblock in the macroblock to be encoded, the macroblock to be encoded further includes a third macroblock, the third macroblock is the next macroblock to be encoded of the second macroblock, and the first encoding unit is further configured to:

[0198] storing encoding related information of the second macroblock;

[0199] The third macroblock is encoded based on the stored encoding related information of the second macroblock.

[0200] Optionally, the first encoding unit is specifically configured to:

[0201] In a case where the second parameter indicates not to store the encoding related information of the parent node corresponding to the macroblock to be encoded: if the first parameter indicates to store the encoding related information of the encoded macroblock, encoding the first macroblock and storing the encoding related information of the first macroblock;

[0202] The second macroblock is encoded based on the stored encoding related information of the first macroblock.

[0203] Optionally, the second encoding unit is specifically configured to:

[0204] In a case where the second parameter indicates not to store the encoding related information of the parent node corresponding to the macroblock to be encoded: if the first parameter indicates not to store the encoding related information of the encoded macroblock, initializing the encoding related information corresponding to the first macroblock and the encoding related information corresponding to the second macroblock respectively;

[0205] The first macroblock is encoded based on the encoding-related information corresponding to the initialized first macroblock, and the second macroblock is encoded based on the encoding-related information corresponding to the initialized second macroblock.

[0206] Optionally, the device further comprises:

[0207] The storage module is configured to store the encoding related information of the parent node corresponding to the macroblock to be encoded when the second parameter indicates to store the encoding related information of the parent node corresponding to the macroblock to be encoded.

[0208] Optionally, when the first parameter is a first preset value, the first parameter indicates to store encoding related information of the encoded macroblock; or

[0209] When the first parameter is a second preset value, the first parameter indicates not to store encoding related information of the encoded macroblock; or

[0210] In the case where the second parameter is a third preset value, the second parameter indicates that encoding related information of the parent node corresponding to the macroblock to be encoded is stored; or,

[0211] When the second parameter is a fourth preset value, the second parameter indicates that encoding related information of the parent node corresponding to the macroblock to be encoded is not stored.

[0212] Optionally, the encoding-related information includes at least one of the following: entropy coding context information, and hash table information for storing neighbor placeholder information.

[0213] The point cloud coding processing device in the embodiment of the present application can be a device, a device or electronic device with an operating system, or a component, integrated circuit, or chip in a terminal. The device or electronic device can be a mobile terminal or a non-mobile terminal. For example, the mobile terminal can include but is not limited to the types of terminals listed above, and the non-mobile terminal can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), an ATM or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0214] The point cloud coding processing device provided in the embodiment of the present application can implement each process implemented in the method embodiment of Figure 4 and achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0215] It should be noted that the point cloud decoding processing method provided in the embodiments of the present application can be executed by a point cloud decoding processing device, or a control module in the point cloud decoding processing device for executing the point cloud decoding processing method. In the embodiments of the present application, the point cloud decoding processing device provided in the embodiments of the present application is described using the method for executing point cloud decoding processing by the point cloud decoding processing device as an example.

[0216] Please refer to FIG. 7 , which is a structural diagram of a point cloud decoding processing device provided in an embodiment of the present application. The decoding end includes the point cloud decoding processing device. As shown in FIG. 7 , the point cloud decoding processing device 400 includes:

[0217] A division module 401 is used to perform macroblock division processing on the point cloud to be decoded to obtain macroblocks to be decoded;

[0218] The decoding module 402 is configured to perform decoding processing on the macroblock to be decoded based on a target parameter, wherein the target parameter is used to determine whether the decoding end is allowed to independently decode the macroblock to be decoded.

[0219] Optionally, the macroblock to be decoded includes a first macroblock and a second macroblock, the second macroblock is the next macroblock to be decoded after the first macroblock, and the decoding module is specifically configured to:

[0220] If it is determined based on the target parameter that the to-be-decoded macroblock is not allowed to be independently decoded, decoding the first macroblock, and decoding the second macroblock based on decoding-related information of the first macroblock; or

[0221] If it is determined based on the target parameter that the to-be-decoded macroblock is allowed to be independently decoded, the first macroblock and the second macroblock are decoded separately.

[0222] Optionally, the target parameter includes a first parameter and a second parameter, and the decoding module is specifically configured to:

[0223] Performing decoding processing on the macroblock to be decoded based on the first parameter and the second parameter;

[0224] The first parameter is used to indicate whether the decoding end stores decoding related information of the decoded macroblock, and the second parameter is used to indicate whether the decoding end stores decoding related information of the parent node corresponding to the macroblock to be decoded.

[0225] Optionally, the macroblock to be decoded includes a first macroblock and a second macroblock, the second macroblock is the next macroblock to be decoded of the first macroblock, and the decoding module includes:

[0226] a first decoding unit, configured to: decode the first macroblock if the first parameter indicates to store the decoding related information of the decoded macroblock, and decode the second macroblock based on the decoding related information of the first macroblock, when the second parameter indicates not to store the decoding related information of the parent node corresponding to the macroblock to be decoded; or

[0227] A second decoding unit is used to decode the first macroblock and the second macroblock separately when the second parameter indicates that the decoding related information of the parent node corresponding to the macroblock to be decoded is not stored: if the first parameter indicates that the decoding related information of the decoded macroblock is not stored.

[0228] Optionally, the decoding module is specifically configured to:

[0229] When the second parameter indicates that the decoding related information of the parent node corresponding to the macroblock to be decoded is stored, the decoding related information of the parent node corresponding to the macroblock to be decoded is obtained, and the first macroblock and the second macroblock are decoded respectively based on the decoding related information of the parent node corresponding to the macroblock to be decoded.

[0230] Optionally, the first macroblock is the first macroblock in the macroblocks to be decoded, the macroblocks to be decoded further include a third macroblock, the third macroblock is the next macroblock to be decoded of the second macroblock, and the first decoding unit is further configured to:

[0231] storing decoding related information of the second macroblock;

[0232] The third macroblock is decoded based on the stored decoding-related information of the second macroblock.

[0233] Optionally, the first decoding unit is specifically configured to:

[0234] In a case where the second parameter indicates not to store decoding related information of the parent node corresponding to the to-be-decoded macroblock: if the first parameter indicates to store decoding related information of the decoded macroblock, decoding the first macroblock and storing the decoding related information of the first macroblock;

[0235] The second macroblock is decoded based on the stored decoding-related information of the first macroblock.

[0236] Optionally, the second decoding unit is further configured to:

[0237] In a case where the second parameter indicates not to store decoding related information of the parent node corresponding to the macroblock to be decoded: if the first parameter indicates not to store decoding related information of the decoded macroblock, initializing the decoding related information corresponding to the first macroblock and the decoding related information corresponding to the second macroblock respectively;

[0238] The first macroblock is decoded based on the initialized decoding-related information corresponding to the first macroblock, and the second macroblock is decoded based on the initialized decoding-related information corresponding to the second macroblock.

[0239] Optionally, the device further comprises:

[0240] The storage module is configured to store the decoding related information of the parent node corresponding to the macroblock to be decoded when the second parameter indicates to store the decoding related information of the parent node corresponding to the macroblock to be decoded.

[0241] The point cloud decoding processing device in the embodiment of the present application can be a device, a device or electronic device with an operating system, or a component, integrated circuit, or chip in a terminal. The device or electronic device can be a mobile terminal or a non-mobile terminal. For example, the mobile terminal can include but is not limited to the types of terminals listed above, and the non-mobile terminal can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), an ATM or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0242] The point cloud decoding and processing device provided in the embodiment of the present application can implement the various processes implemented in the method embodiment of Figure 5 and achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0243] Optionally, as shown in FIG8 , an embodiment of the present application further provides a communication device 500, comprising a processor 501 and a memory 502. The memory 502 stores a program or instruction that can be run on the processor 501. For example, when the communication device 500 is an encoding end device, the program or instruction, when executed by the processor 501, implements the various steps of the above-mentioned point cloud encoding processing method embodiment and can achieve the same technical effect. When the communication device 500 is a decoding end device, the program or instruction, when executed by the processor 501, implements the various steps of the above-mentioned point cloud decoding processing method embodiment and can achieve the same technical effect. To avoid repetition, they are not described here.

[0244] The embodiment of the present application also provides a terminal, including a processor and a communication interface, wherein the processor is used to: divide the geometric information of the point cloud into macroblocks to obtain macroblocks to be encoded; and encode the macroblocks to be encoded based on target parameters, wherein the target parameters are used to determine whether the encoding end allows the macroblocks to be encoded to be independently encoded. Alternatively, the processor is used to: divide the point cloud to be decoded into macroblocks to obtain macroblocks to be decoded; and decode the macroblocks to be decoded based on target parameters, wherein the target parameters are used to determine whether the decoding end allows the macroblocks to be decoded to be independently decoded. This terminal embodiment corresponds to the above-mentioned point cloud encoding processing method or point cloud decoding processing method embodiment, and each implementation process and implementation method of the above-mentioned point cloud encoding processing method or point cloud decoding processing method embodiment can be applied to this terminal embodiment and can achieve the same technical effect. Specifically, Figure 9 is a schematic diagram of the hardware structure of a terminal that implements an embodiment of the present application.

[0245] The terminal 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609 and at least some of the components of the processor 610.

[0246] Those skilled in the art will appreciate that the terminal 600 may also include a power supply (such as a battery) to power various components. The power supply may be logically connected to the processor 610 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The terminal structure shown in FIG9 does not limit the terminal. The terminal may include more or fewer components than shown, or may combine certain components, or have different component arrangements, which will not be described in detail here.

[0247] It should be understood that in an embodiment of the present application, the input unit 604 may include a graphics processing unit (GPU) 6041 and a microphone 6042, and the graphics processor 6041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 607 includes a touch panel 6071 and at least one of other input devices 6072. The touch panel 6071 is also called a touch screen. The touch panel 6071 may include two parts: a touch detection device and a touch controller. Other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0248] In the embodiment of the present application, after receiving downlink data from a network-side device, the radio frequency unit 601 may transmit the data to the processor 610 for processing. Furthermore, the radio frequency unit 601 may send uplink data to the network-side device. Typically, the radio frequency unit 601 includes, but is not limited to, an antenna, an amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, and the like.

[0249] The memory 609 can be used to store software programs or instructions and various data. The memory 609 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 609 may include a volatile memory or a non-volatile memory, or the memory 609 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM), and a direct memory bus random access memory (DRRAM). The memory x09 in the embodiments of the present application includes but is not limited to these and any other suitable types of memory.

[0250] Processor 610 may include one or more processing units. Optionally, processor 610 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 610.

[0251] Wherein, when the terminal is an encoding terminal:

[0252] The processor 610 is configured to:

[0253] Divide the geometric information of the point cloud into macroblocks to obtain macroblocks to be encoded;

[0254] The macroblock to be encoded is encoded based on a target parameter, wherein the target parameter is used to determine whether the encoding end allows the macroblock to be encoded independently.

[0255] Optionally, the macroblock to be encoded includes a first macroblock and a second macroblock, the second macroblock being the next macroblock to be encoded of the first macroblock, and the processor 610 is configured to perform encoding processing on the macroblock to be encoded based on the target parameter, including:

[0256] If it is determined based on the target parameters that the to-be-encoded macroblock is not allowed to be independently encoded, encoding the first macroblock, and encoding the second macroblock based on encoding related information of the first macroblock; or

[0257] If it is determined based on the target parameter that the to-be-encoded macroblock is allowed to be independently encoded, the first macroblock and the second macroblock are encoded separately.

[0258] Optionally, the target parameter includes a first parameter and a second parameter, and the processor 610 is configured to perform encoding processing on the macroblock to be encoded based on the target parameter, including:

[0259] Performing encoding processing on the macroblock to be encoded based on the first parameter and the second parameter;

[0260] The first parameter is used to indicate whether the encoding end stores encoding related information of the encoded macroblock, and the second parameter is used to indicate whether the encoding end stores encoding related information of the parent node corresponding to the macroblock to be encoded.

[0261] Optionally, the macroblock to be encoded includes a first macroblock and a second macroblock, the second macroblock is a next macroblock to be encoded of the first macroblock, and the processor 610 is configured to perform encoding processing on the macroblock to be encoded based on the first parameter and the second parameter, including:

[0262] In the case where the second parameter indicates that the encoding related information of the parent node corresponding to the macroblock to be encoded is not stored:

[0263] If the first parameter indicates to store the encoding related information of the encoded macroblock, the first macroblock is encoded, and the second macroblock is encoded based on the encoding related information of the first macroblock; or

[0264] If the first parameter indicates not to store the encoding related information of the encoded macroblock, the first macroblock and the second macroblock are encoded separately.

[0265] Optionally, the processor 610 is configured to perform the encoding process on the to-be-encoded macroblock based on the first parameter and the second parameter, further comprising:

[0266] When the second parameter indicates that the encoding related information of the parent node corresponding to the macroblock to be encoded is stored, the stored encoding related information of the parent node corresponding to the macroblock to be encoded is obtained, and the first macroblock and the second macroblock are encoded respectively based on the encoding related information of the parent node corresponding to the macroblock to be encoded.

[0267] Optionally, the first macroblock is the first macroblock in the macroblocks to be encoded, the macroblocks to be encoded further include a third macroblock, and the third macroblock is the next macroblock to be encoded of the second macroblock. The processor 610 is further configured to:

[0268] storing encoding related information of the second macroblock;

[0269] The third macroblock is encoded based on the stored encoding related information of the second macroblock.

[0270] Optionally, the processor 610 is configured to perform the encoding of the second macroblock based on the encoding related information of the first macroblock, including:

[0271] storing encoding related information of the first macroblock;

[0272] The second macroblock is encoded based on the stored encoding related information of the first macroblock.

[0273] Optionally, the processor 610 is configured to execute encoding the first macroblock and the second macroblock separately, including:

[0274] Initializing the encoding related information corresponding to the first macroblock and the encoding related information corresponding to the second macroblock respectively;

[0275] The first macroblock is encoded based on the encoding-related information corresponding to the initialized first macroblock, and the second macroblock is encoded based on the encoding-related information corresponding to the initialized second macroblock.

[0276] Optionally, the processor 610 is further configured to:

[0277] In a case where the second parameter indicates to store the encoding related information of the parent node corresponding to the macroblock to be encoded, the encoding related information of the parent node corresponding to the macroblock to be encoded is stored.

[0278] Optionally, when the first parameter is a first preset value, the first parameter indicates to store encoding related information of the encoded macroblock; or

[0279] When the first parameter is a second preset value, the first parameter indicates not to store encoding related information of the encoded macroblock; or

[0280] In the case where the second parameter is a third preset value, the second parameter indicates that encoding related information of the parent node corresponding to the macroblock to be encoded is stored; or,

[0281] When the second parameter is a fourth preset value, the second parameter indicates that encoding related information of the parent node corresponding to the macroblock to be encoded is not stored.

[0282] Optionally, the encoding-related information includes at least one of the following: entropy coding context information, and hash table information for storing neighbor placeholder information.

[0283] Wherein, when the terminal is a decoding terminal:

[0284] The processor 610 is configured to:

[0285] Perform macroblock division processing on the point cloud to be decoded to obtain macroblocks to be decoded;

[0286] The macroblock to be decoded is decoded based on a target parameter, wherein the target parameter is used to determine whether the decoding end allows the macroblock to be decoded to be independently decoded.

[0287] Optionally, the macroblock to be decoded includes a first macroblock and a second macroblock, the second macroblock being the next macroblock to be decoded of the first macroblock, and the processor 610 is configured to perform decoding processing on the macroblock to be decoded based on the target parameter, including:

[0288] If it is determined based on the target parameter that the to-be-decoded macroblock is not allowed to be independently decoded, decoding the first macroblock, and decoding the second macroblock based on decoding-related information of the first macroblock; or

[0289] If it is determined based on the target parameter that the to-be-decoded macroblock is allowed to be independently decoded, the first macroblock and the second macroblock are decoded separately.

[0290] Optionally, the target parameter includes a first parameter and a second parameter, and the processor 610 is configured to perform decoding processing on the macroblock to be decoded based on the target parameter, including:

[0291] Performing decoding processing on the macroblock to be decoded based on the first parameter and the second parameter;

[0292] The first parameter is used to indicate whether the decoding end stores decoding related information of the decoded macroblock, and the second parameter is used to indicate whether the decoding end stores decoding related information of the parent node corresponding to the macroblock to be decoded.

[0293] Optionally, the macroblock to be decoded includes a first macroblock and a second macroblock, the second macroblock is a next macroblock to be decoded of the first macroblock, and the processor 610 is configured to perform decoding processing on the macroblock to be decoded based on the first parameter and the second parameter, including:

[0294] In the case where the second parameter indicates that decoding related information of the parent node corresponding to the macroblock to be decoded is not stored:

[0295] If the first parameter indicates that decoding related information of a decoded macroblock is stored, decoding the first macroblock, and decoding the second macroblock based on the decoding related information of the first macroblock; or

[0296] If the first parameter indicates that decoding related information of the decoded macroblock is not to be stored, the first macroblock and the second macroblock are decoded separately.

[0297] Optionally, the processor 610 is configured to perform the decoding process on the to-be-decoded macroblock based on the first parameter and the second parameter, further comprising:

[0298] When the second parameter indicates that the decoding related information of the parent node corresponding to the macroblock to be decoded is stored, the decoding related information of the parent node corresponding to the macroblock to be decoded is obtained, and the first macroblock and the second macroblock are decoded respectively based on the decoding related information of the parent node corresponding to the macroblock to be decoded.

[0299] Optionally, the first macroblock is the first macroblock in the macroblocks to be decoded, the macroblocks to be decoded further include a third macroblock, and the third macroblock is the next macroblock to be decoded of the second macroblock. The processor 610 is further configured to:

[0300] storing decoding related information of the second macroblock;

[0301] The third macroblock is decoded based on the stored decoding-related information of the second macroblock.

[0302] Optionally, the processor 610 is configured to perform the decoding of the second macroblock based on the decoding related information of the first macroblock, including:

[0303] storing decoding related information of the first macroblock;

[0304] The second macroblock is decoded based on the stored decoding-related information of the first macroblock.

[0305] Optionally, the processor 610 is configured to perform, if the first parameter indicates not to store decoding related information of the decoded macroblock, decoding the first macroblock and the second macroblock separately, including:

[0306] If the first parameter indicates that decoding related information of the decoded macroblock is not to be stored, initializing decoding related information corresponding to the first macroblock and decoding related information corresponding to the second macroblock respectively;

[0307] The first macroblock is decoded based on the initialized decoding-related information corresponding to the first macroblock, and the second macroblock is decoded based on the initialized decoding-related information corresponding to the second macroblock.

[0308] Optionally, the processor 610 is further configured to:

[0309] In a case where the second parameter indicates to store the decoding related information of the parent node corresponding to the macroblock to be decoded, the decoding related information of the parent node corresponding to the macroblock to be decoded is stored.

[0310] Specifically, the terminal of the embodiment of the present application also includes: instructions or programs stored in the memory 609 and executable on the processor 610. The processor 610 calls the instructions or programs in the memory 609 to execute the methods of the modules shown in FIG6 or FIG7 and achieve the same technical effect. To avoid repetition, they will not be elaborated here.

[0311] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned point cloud encoding processing method embodiment are implemented, or when the program or instruction is executed by a processor, the various processes of the above-mentioned point cloud decoding processing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0312] The processor is the processor in the terminal described in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. In some examples, the readable storage medium may be a non-transitory readable storage medium.

[0313] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned point cloud encoding processing method embodiment, or to implement the various processes of the above-mentioned point cloud decoding processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0314] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0315] An embodiment of the present application further provides a computer program / program product, which is stored in a storage medium. The computer program / program product is executed by at least one processor to implement the various processes of the above-mentioned point cloud encoding processing method or point cloud decoding processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0316] An embodiment of the present application also provides a coding and decoding system, including: an encoding end device and a decoding end device, wherein the encoding end device can be used to execute the steps of the point cloud encoding processing method as described above, and the decoding end device can be used to execute the steps of the point cloud decoding processing method as described above.

[0317] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0318] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of a computer software product plus a necessary general-purpose hardware platform, or of course, by hardware. The computer software product is stored in a storage medium (such as ROM, RAM, magnetic disk, optical disk, etc.) and includes a number of instructions for enabling a terminal or network-side device to execute the methods described in each embodiment of the present application.

[0319] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms of implementation methods without departing from the purpose of this application and the scope of protection of the claims. These implementation methods are all within the protection of this application.

Claims

1. A point cloud coding processing method, performed by an encoding end, the method comprising: Divide the geometric information of the point cloud into macroblocks to obtain macroblocks to be encoded; The to-be-encoded macroblock is encoded based on a target parameter, wherein the target parameter is used to determine whether the encoding end allows the to-be-encoded macroblock to be independently encoded.

2. The method according to claim 1, wherein: The macroblock to be encoded includes a first macroblock and a second macroblock, the second macroblock is a next macroblock to be encoded of the first macroblock, and encoding the macroblock to be encoded based on the target parameter includes: If it is determined based on the target parameter that the to-be-encoded macroblock is not allowed to be independently encoded, the first macroblock is encoded, and the second macroblock is encoded based on the encoding related information of the first macroblock; or If it is determined based on the target parameter that the to-be-encoded macroblock is allowed to be encoded independently, the first macroblock and the second macroblock are encoded separately.

3. The method according to claim 1, wherein: The target parameter includes a first parameter and a second parameter, and the encoding process of the macroblock to be encoded based on the target parameter includes: Performing encoding processing on the macroblock to be encoded based on the first parameter and the second parameter; The first parameter is used to indicate whether the encoding end stores encoding related information of the encoded macroblock, and the second parameter is used to indicate whether the encoding end stores encoding related information of the parent node corresponding to the macroblock to be encoded.

4. The method according to claim 3, wherein: The macroblock to be encoded includes a first macroblock and a second macroblock, the second macroblock is a next macroblock to be encoded of the first macroblock, and encoding the macroblock to be encoded based on the first parameter and the second parameter includes: In the case where the second parameter indicates that the encoding related information of the parent node corresponding to the macroblock to be encoded is not stored: If the first parameter indicates to store the encoding related information of the encoded macroblock, the first macroblock is encoded, and the second macroblock is encoded based on the encoding related information of the first macroblock; or If the first parameter indicates that the encoding related information of the encoded macroblock is not to be stored, the first macroblock and the second macroblock are encoded separately.

5. The method according to claim 4, wherein: The encoding process of the macroblock to be encoded based on the first parameter and the second parameter also includes: When the second parameter indicates that the encoding related information of the parent node corresponding to the macroblock to be encoded is stored, the stored encoding related information of the parent node corresponding to the macroblock to be encoded is obtained, and the first macroblock and the second macroblock are encoded respectively based on the encoding related information of the parent node corresponding to the macroblock to be encoded.

6. The method according to claim 2, 4 or 5, wherein: The first macroblock is the first macroblock in the macroblock to be encoded, the macroblock to be encoded further includes a third macroblock, the third macroblock is the next macroblock to be encoded of the second macroblock, and after encoding the second macroblock based on the encoding related information of the first macroblock, the method further includes: storing encoding related information of the second macroblock; The third macroblock is encoded based on the stored encoding related information of the second macroblock.

7. The method according to any one of claims 2 or 4-6, wherein: The encoding of the second macroblock based on the encoding related information of the first macroblock includes: storing encoding related information of the first macroblock; The second macroblock is encoded based on the stored encoding related information of the first macroblock.

8. The method according to any one of claims 2 or 4-7, wherein: The encoding of the first macroblock and the second macroblock respectively comprises: Initialize the encoding related information corresponding to the first macroblock and the encoding related information corresponding to the second macroblock respectively; The first macroblock is encoded based on the encoding related information corresponding to the initialized first macroblock, and the second macroblock is encoded based on the encoding related information corresponding to the initialized second macroblock.

9. The method according to any one of claims 3 to 5, wherein: Before encoding the macroblock to be encoded based on the first parameter and the second parameter, the method further includes: When the second parameter indicates to store the encoding related information of the parent node corresponding to the macroblock to be encoded, the encoding related information of the parent node corresponding to the macroblock to be encoded is stored.

10. The method according to any one of claims 3 to 5, wherein: When the first parameter is a first preset value, the first parameter indicates storing encoding related information of the encoded macroblock; or When the first parameter is a second preset value, the first parameter indicates that encoding related information of the encoded macroblock is not stored; or When the second parameter is a third preset value, the second parameter indicates that encoding related information of a parent node corresponding to the macroblock to be encoded is stored; or, When the second parameter is a fourth preset value, the second parameter indicates that encoding related information of the parent node corresponding to the macroblock to be encoded is not stored.

11. The method according to any one of claims 2 to 10, wherein: The encoding related information includes at least one of the following: entropy coding context information, and hash table information for storing neighbor placeholder information.

12. A point cloud decoding processing method, executed by a decoding end, the method comprising: Perform macroblock division processing on the point cloud to be decoded to obtain macroblocks to be decoded; The to-be-decoded macroblock is decoded based on a target parameter, wherein the target parameter is used to determine whether the decoding end allows the to-be-decoded macroblock to be independently decoded.

13. The method according to claim 12, wherein: The macroblock to be decoded includes a first macroblock and a second macroblock, the second macroblock is a next macroblock to be decoded of the first macroblock, and the decoding process of the macroblock to be decoded based on the target parameter includes: If it is determined based on the target parameter that the to-be-decoded macroblock is not allowed to be independently decoded, the first macroblock is decoded decoding, and decoding the second macroblock based on the decoding related information of the first macroblock; or If it is determined based on the target parameter that the to-be-decoded macroblock is allowed to be decoded independently, the first macroblock and the second macroblock are decoded separately.

14. The method according to claim 12, wherein: The target parameter includes a first parameter and a second parameter, and the decoding process of the macroblock to be decoded based on the target parameter includes: Performing decoding processing on the macroblock to be decoded based on the first parameter and the second parameter; The first parameter is used to indicate whether the decoding end stores decoding related information of the decoded macroblock, and the second parameter is used to indicate whether the decoding end stores decoding related information of the parent node corresponding to the macroblock to be decoded.

15. The method according to claim 14, wherein: The macroblock to be decoded includes a first macroblock and a second macroblock, the second macroblock is a next macroblock to be decoded of the first macroblock, and the decoding process of the macroblock to be decoded based on the first parameter and the second parameter includes: In the case where the second parameter indicates that decoding related information of the parent node corresponding to the macroblock to be decoded is not stored: If the first parameter indicates to store decoding related information of the decoded macroblock, the first macroblock is decoded, and the second macroblock is decoded based on the decoding related information of the first macroblock; or If the first parameter indicates that decoding related information of the decoded macroblock is not to be stored, the first macroblock and the second macroblock are decoded separately.

16. The method according to claim 15, wherein: The decoding process of the macroblock to be decoded based on the first parameter and the second parameter also includes: When the second parameter indicates that decoding related information of the parent node corresponding to the macroblock to be decoded is stored, the stored decoding related information of the parent node corresponding to the macroblock to be decoded is obtained, and the first macroblock and the second macroblock are decoded respectively based on the decoding related information of the parent node corresponding to the macroblock to be decoded.

17. The method according to claim 13, 15 or 16, wherein: The first macroblock is the first macroblock in the macroblocks to be decoded, the macroblocks to be decoded further include a third macroblock, the third macroblock is the next macroblock to be decoded of the second macroblock, and after decoding the second macroblock based on the decoding related information of the first macroblock, the method further includes: storing decoding related information of the second macroblock; The third macroblock is decoded based on the stored decoding related information of the second macroblock.

18. The method according to any one of claims 13 or 15-17, wherein: The decoding of the second macroblock based on the decoding related information of the first macroblock includes: storing decoding related information of the first macroblock; The second macroblock is decoded based on the stored decoding related information of the first macroblock.

19. The method according to any one of claims 13 or 15-18, wherein: The respectively decoding the first macroblock and the second macroblock comprises: Initialize the decoding related information corresponding to the first macroblock and the decoding related information corresponding to the second macroblock respectively; The first macroblock is decoded based on the decoding-related information corresponding to the initialized first macroblock, and the second macroblock is decoded based on the decoding-related information corresponding to the initialized second macroblock.

20. The method according to any one of claims 14 to 16, wherein: Before decoding the macroblock to be decoded based on the first parameter and the second parameter, the method further includes: In the case where the second parameter indicates to store the decoding related information of the parent node corresponding to the macroblock to be decoded, the decoding related information of the parent node corresponding to the macroblock to be decoded is stored.

21. A point cloud coding processing device, wherein the coding end comprises the point cloud coding processing device, and the device comprises: A division module is used to divide the geometric information of the point cloud into macroblocks to obtain macroblocks to be encoded; The encoding module is used to perform encoding processing on the macroblock to be encoded based on a target parameter, wherein the target parameter is used to determine whether the encoding end allows the macroblock to be encoded independently.

22. A point cloud decoding processing device, wherein a decoding end comprises the point cloud decoding processing device, and the device comprises: A division module is used to perform macroblock division processing on the point cloud to be decoded to obtain macroblocks to be decoded; A decoding module is used to perform decoding processing on the macroblock to be decoded based on a target parameter, wherein the target parameter is used to determine whether the decoding end allows the macroblock to be decoded to be independently decoded.

23. A terminal, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the point cloud encoding processing method as described in any one of claims 1 to 11; or, the program or instruction, when executed by the processor, implements the steps of the point cloud decoding processing method as described in any one of claims 12 to 20.

24. A chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the steps of the point cloud encoding processing method as described in any one of claims 1 to 11, or to implement the steps of the point cloud decoding processing method as described in any one of claims 12 to 20.

25. A readable storage medium storing a program or instruction, wherein the program or instruction, when executed by a processor, implements the steps of the point cloud encoding processing method as described in any one of claims 1 to 11, or, when executed by a processor, implements the steps of the point cloud decoding processing method as described in any one of claims 12 to 20.

Citation Information

Patent Citations

  • Three-dimensional data encoding method, three-dimensional data decoding method, three-dimensional data encoding device, and three-dimensional data decoding device

    CN112352263A

  • Point cloud data transmission device, point cloud data transmission method, point cloud data reception device, and point cloud data reception method

    CN114270832A

  • Method and device for point cloud decoding

    CN115176279A

  • Method and device for point cloud decoding

    CN115485731A

  • Node-based geometry and attribute coding for a point cloud

    US20210248784A1