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

By macroblocking the geometric information during point cloud encoding and determining the encoding method based on target parameters, the problem of insufficient entropy encoding flexibility in the prior art is solved, and a more efficient encoding process is achieved.

CN119071493APending Publication Date: 2024-12-03VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310634991.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-31
Publication Date
2024-12-03

AI Technical Summary

Technical Problem

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

Method used

By performing macroblock division of the geometric information of the point cloud on the encoding and decoding ends, and determining whether independent encoding or decoding is allowed based on the target parameters, it supports serial encoding or parallel encoding to improve encoding flexibility.

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 CN119071493A_ABST
    Figure CN119071493A_ABST
Patent Text Reader

Abstract

The invention discloses a point cloud coding processing method, a point cloud decoding processing method and related equipment, and belongs to the technical field of computers.The point cloud coding processing method comprises the steps that macro block division processing is carried out on geometric information of a point cloud, and macro blocks to be coded are obtained; and coding processing is performed on the to-be-coded macro block based on a target parameter, and the target parameter is used for determining whether the coding end allows to independently code the to-be-coded macro block.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] 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

[0002] Point cloud is a representation of a three-dimensional object or scene. It is composed of a set of discrete points that are irregularly 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 the 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.

[0003] In the related art, in the process of entropy coding geometric information, the coding of the macroblock to be coded needs to rely on the macroblock coding information of the last coded macroblock, and the coding flexibility is poor. Summary of the invention

[0004] 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.

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

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

[0007] 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.

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

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

[0010] 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.

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

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

[0013] 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.

[0014] 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:

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

[0016] 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.

[0017] 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.

[0018] In a sixth aspect, a terminal is provided, comprising 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 independently. 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 independently.

[0019] 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.

[0020] 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.

[0021] 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 a program or instruction to implement the method described in the first aspect, or to implement the method described in the second aspect.

[0022] In the tenth aspect, a computer program / program product is provided, wherein the computer program / program product is stored in a storage medium, and the program / program product 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.

[0023] In the 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 encoded based on target parameters, wherein the target parameters are used to determine whether the encoding end allows the macroblocks to be encoded independently. In this way, when encoding the macroblocks to be encoded, it is supported to determine whether the encoding end allows the macroblocks to be encoded independently through the target parameters, thereby supporting the use of serial encoding or parallel encoding through the target parameters, which can improve the encoding flexibility. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a schematic diagram of an AVS encoder framework in the related art;

[0025] Figure 2 It is a schematic diagram of an AVS decoder framework in the related art;

[0026] Figure 3 It is a macro block schematic diagram provided in an embodiment of the present application;

[0027] Figure 4 It is a flow chart of a point cloud coding processing method provided in an embodiment of the present application;

[0028] Figure 5 is a flow chart of a point cloud decoding processing method provided in an embodiment of the present application;

[0029] Figure 6 It is a structural schematic diagram of a point cloud coding processing device provided in an embodiment of the present application;

[0030] Figure 7 It is a structural schematic diagram of a point cloud decoding processing device provided in an embodiment of the present application;

[0031] Figure 8 It is a structural diagram of a communication device provided in an embodiment of the present application;

[0032] Fig. 9 It is a structural diagram of a terminal provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0034] 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 one type, and the number of objects is not limited, 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 schemes, namely, Scheme 1: including A but not including B; Scheme 2: including B but not including A; Scheme 3: including both A and B. The character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0035] The term "indication" in this application can be 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, operations to be performed, or request results in the sent indication; an indirect indication can be understood as the receiver determining the corresponding information according to the indication sent by the sender, or making a judgment and determining the operation to be performed or the request result according to the judgment result.

[0036] 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 a user terminal (User Equipment, UE). The terminal may be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer) or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a handheld computer, a netbook, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device (Wearable Device) or a vehicle-mounted device (Vehicle User Equipment, VUE), a pedestrian terminal (Pedestrian User Equipment, PUE) and other terminal side devices, and the wearable device includes: a smart watch, a bracelet, a headset, glasses, etc. It should be noted that the specific type of the terminal is not limited in the embodiment of the present application.

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

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

[0039] AVS encoder framework such as Figure 1 As shown, the AVS decoder framework is as follows Figure 2 As shown. 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 all the point clouds are contained in a bounding box. Then quantization is performed. This step of quantization mainly plays a scaling role. Due to quantization rounding, the geometric information of some points is the same. Whether to remove duplicate points is determined based on parameters. 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 3D macroblock through the parameter nodeSizeLog2. 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 the macroblock, and the macroblock can refer to the largest coding unit (Largest Coding Unit, LCU). Figure 3 As shown, the encoding starts from the second level of the 2D quadtree partitioning in macroblock order, and each macroblock can be regarded as a separate tree partitioning structure.

[0040] 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.

[0041] After the geometric encoding is completed, the geometric information is reconstructed for subsequent recoloring. Attribute encoding is mainly for color and reflectance information. First, determine 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 by Morton code, the nearest neighbor of the point to be predicted is searched by geometric spatial relationship, and the reconstructed attribute value of the neighbor is used to predict the point to be predicted to obtain the predicted attribute value, and then the real attribute value and the predicted attribute value are differentiated to obtain the prediction residual, and finally the prediction residual is quantized and encoded to generate a binary code stream.

[0042] In the related art, in the process of entropy coding geometric information, the coding of the macroblock to be coded needs to rely on the macroblock coding information of the last coded macroblock, and the coding flexibility is poor.

[0043] In the following, in combination with the accompanying drawings, the point cloud encoding processing method, the point cloud decoding processing method and related equipment provided in the embodiments of the present application are described in detail through some embodiments and their application scenarios.

[0044] See also Figure 4 , Figure 4 is a flowchart of a point cloud encoding processing method provided in an embodiment of the present application, which can be applied to the encoding end, such as Figure 4 As shown, the point cloud coding processing method includes the following steps:

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

[0046] 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. Whether to remove duplicate points of the point cloud is determined based on parameters. The process of quantization and removal of duplicate points belongs to the preprocessing process; the bounding box is divided into several macroblocks in an octree-like manner. The size of non-overlapping macroblocks to be encoded, each macroblock is used as a basic coding unit; the octree partition depth d (i.e. 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 The macroblock division is completed when the following conditions are met: nodeSizeLog2>max(d x ,d y ,d z ).

[0047] 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.

[0048] The target parameter may include a first parameter, which may be used to indicate whether the encoding end stores encoding related information of an encoded macroblock. When the first parameter indicates that encoding related information of an encoded macroblock is stored, it is determined that the macroblock to be encoded is not allowed to be encoded independently; when the first parameter indicates that encoding related information of an encoded macroblock is not stored, it is determined that the macroblock to be encoded is allowed to be encoded independently.

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

[0050] 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.

[0051] In one implementation, if the first parameter indicates to store 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.

[0052] In one embodiment, if the first parameter indicates that the encoding-related information of the encoded macroblock is not to be 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 can be encoded based on the initialized encoding-related information corresponding to the first macroblock, and the second macroblock can be encoded based on the initialized encoding-related information corresponding to the second macroblock.

[0053] In one implementation, when the first parameter is a first preset value, the first parameter may indicate storing the encoding related information of the encoded macroblock; or, when the first parameter is a second preset value, the first parameter may indicate not storing the encoding related information of the encoded macroblock. The first preset value and the second preset value are different values.

[0054] In one implementation, 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.

[0055] In an implementation manner, 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.

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

[0057] In the 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 encoded based on target parameters, wherein the target parameters are used to determine whether the encoding end allows the macroblocks to be encoded independently. In this way, when encoding the macroblocks to be encoded, it is supported to determine whether the encoding end allows the macroblocks to be encoded independently through the target parameters, thereby supporting the use of serial encoding or parallel encoding through the target parameters, which can improve the encoding flexibility.

[0058] 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 process of the macroblock to be encoded based on the target parameter includes:

[0059] 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

[0060] 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.

[0061] 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.

[0062] 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 first macroblock and the second macroblock may be encoded respectively based on preset encoding-related information.

[0063] It should be noted that the target parameter may be set in the geometry header information, or may be set in other information other than the geometry header information, and this embodiment does not limit this.

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

[0065] 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 the next macroblock to use. 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.

[0066] In this implementation, if it is determined based on the target parameters that the macroblock to be encoded is not allowed to be encoded independently, 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 the macroblock to be encoded is allowed to be encoded independently, the first macroblock and the second macroblock are encoded separately. In this way, when it is determined based on the target parameters that the macroblock to be encoded is not allowed to be encoded independently, the first macroblock and the second macroblock can be encoded in a serial encoding manner; when it is determined based on the target parameters that the macroblock to be encoded is allowed to be encoded independently, the first macroblock and the second macroblock can be encoded in a parallel encoding manner, and the flexibility of encoding the macroblock to be encoded is high.

[0067] Optionally, 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:

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

[0069] 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.

[0070] Among them, 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.

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

[0072] In one implementation, when the second parameter indicates that the encoding related information of the parent node corresponding to the macroblock to be encoded is stored, the macroblock to be encoded may be encoded based on the stored encoding related information of the parent node corresponding to the macroblock to be encoded and 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 stored, if the first parameter indicates that the encoding related information of the 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 encoded 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 stored, if the first parameter indicates that the encoding related information of the 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.

[0073] In one implementation, 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 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 encoded macroblock is not stored, the first macroblock and the second macroblock can be encoded separately.

[0074] 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.

[0075] In one implementation, 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.

[0076] 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.

[0077] In this implementation, the macroblock to be encoded is encoded based on a first parameter and a 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.

[0078] 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 process of the macroblock to be encoded based on the first parameter and the second parameter includes:

[0079] 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:

[0080] 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

[0081] 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.

[0082] 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.

[0083] 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.

[0084] It should be noted that if Figure 3As shown, the first macroblock can be an independent tree of node 1, the second macroblock can be an independent tree of node 2, the third-level child nodes 2, 3, 7 and 8 are occupied child nodes, the fourth-level 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, when 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 (that is, the entropy coding context of node 0 and the hash table information of the geometric coding 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 second macroblock can only be encoded after the encoding of child nodes 4 and 5 is completed, and independent encoding and decoding cannot be achieved, and the flexibility is poor. 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, entropy dependence is allowed for macroblocks, and serial encoding is performed between macroblocks; 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.

[0085] In this implementation, 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 through 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 the encoding flexibility.

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

[0087] 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.

[0088] 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.

[0089] In this implementation, 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. In this way, when the second parameter indicates that the encoding related information of the parent node corresponding to the macroblock to be encoded is stored, 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.

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

[0091] 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.

[0092] Another implementation method is to make a judgment according to the target parameter when encoding the first macroblock in the macroblock to be encoded, and no longer make a judgment according to 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 (such as the first macroblock), it is determined according to 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 (such as 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 according to the target parameter that the macroblock to be encoded is not allowed to be encoded independently, the encoding related information of the first macroblock is stored, so that when encoding the second macroblock (such as the second macroblock), the encoding related information of the first macroblock is automatically obtained to encode the second macroblock. By analogy, the macroblock to be encoded also includes a third macroblock, and the third macroblock is the next macroblock to be encoded of the second macroblock. After encoding the second macroblock based on the encoding related information of the first macroblock, the method also includes:

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

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

[0095] 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 located.

[0096] In this implementation, 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.

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

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

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

[0100] In this embodiment, when the first parameter indicates to store the encoding related information of the encoded macroblock, the encoding related information of the first macroblock is stored; 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.

[0101] Optionally, encoding the first macroblock and the second macroblock respectively includes:

[0102] Initialize the encoding related information corresponding to the first macroblock and the encoding related information corresponding to the second macroblock respectively;

[0103] 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.

[0104] In this implementation, the encoding-related information corresponding to the first macroblock and the encoding-related information corresponding to the second macroblock are respectively initialized; 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 macroblock 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.

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

[0106] 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.

[0107] Among them, 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 stored, the encoding related information of the parent node can be stored, the first macroblock is encoded based on the stored encoding related information of the parent node, and the second macroblock is encoded based on the stored encoding related information of the parent node.

[0108] In this implementation, when the second parameter indicates storing 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.

[0109] Optionally, when the first parameter is a first preset value, the first parameter indicates encoding related information to be stored for an encoded macroblock; or

[0110] 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

[0111] 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,

[0112] 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.

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

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

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

[0116] 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,

[0117] 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.

[0118] 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.

[0119] See also Figure 5 , Figure 5 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, such as Figure 5 As shown, the point cloud decoding processing method includes the following steps:

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

[0121] 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.

[0122] 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 of the macroblock to be decoded based on the target parameter includes:

[0123] 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, and the second macroblock is decoded based on the decoding related information of the first macroblock; or

[0124] 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.

[0125] Optionally, 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:

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

[0127] 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.

[0128] 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 of the macroblock to be decoded based on the first parameter and the second parameter includes:

[0129] 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:

[0130] 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

[0131] 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.

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

[0133] 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.

[0134] 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 after decoding the second macroblock based on the decoding related information of the first macroblock, the method further includes:

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

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

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

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

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

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

[0141] Initialize the decoding related information corresponding to the first macroblock and the decoding related information corresponding to the second macroblock respectively;

[0142] 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.

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

[0144] 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.

[0145] It should be noted that this embodiment is Figure 4 The implementation method of the corresponding decoding end in the embodiment shown in the figure can be found in the specific implementation method. Figure 4In order to avoid repeated description, the relevant description of the embodiment shown will not be repeated in this embodiment, and the same beneficial effects can still be achieved.

[0146] In the related art, the macroblock encoding and decoding method is as follows:

[0147] (1) First, divide the three-dimensional space into several The size of each octree node is non-overlapping, and each macroblock is used as the basic coding unit. The octree partition depth d can be set or the parameter nodeSizeLog2 can be used to control the size of the 3D macroblock. 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 LCU). Figure 3 As shown, the second level of the 2D quadtree partitioning starts to be encoded in sequence according to macroblocks (such as LCUs), and each macroblock can be regarded as a separate tree partitioning structure.

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

[0149] When gps_save_state_flag = 1, before entering the macroblock encoding, save the current entropy coding context and the hash table information of the geometry coding, which is used to store the neighbor placeholder information; when encoding each macroblock, restore the stored coding context and the hash table information of the geometry coding. In this way, there is no reference dependency between macroblocks in the geometry coding, and independent encoding and decoding between macroblocks can be achieved.

[0150] When gps_save_state_flag = 0, the storage and recovery of hash table information of entropy coding context and geometry coding are turned off, which can reduce memory consumption and information storage and recovery operations.

[0151] 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 position of the control parameter gps_save_state_flag.

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

[0153] 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, each block is dependent on each other, 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, the correlation is too poor, which is not conducive to coding compression efficiency.

[0154] 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:

[0155] Encoding side:

[0156] (1) First, divide the three-dimensional space into several The size of each octree node is non-overlapping, and each macroblock is used as the basic coding unit. The octree partition depth d can be set or the parameter nodeSizeLog2 can be used to control the size of the 3D macroblock. 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 LCU). Figure 3 As shown, the second level of the 2D quadtree partitioning starts to be encoded in sequence according to macroblocks (such as LCUs), and each macroblock can be regarded as a separate tree partitioning structure.

[0157] (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);

[0158] When gps_save_state_flag = 1, before entering the macroblock encoding, save the hash table information of the current entropy coding context and geometry coding, which is used to store neighbor placeholder information; when encoding each macroblock, restore the stored coding context and geometry coding hash table information. In this way, there is no reference dependency between macroblocks in geometry coding, and independent coding between macroblocks can be achieved.

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

[0160] When gps_save_state_flag = 0:

[0161] 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 the next macroblock to use. At this time, the macroblocks are serially encoded;

[0162] 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, macroblocks are encoded in parallel, which can reduce memory consumption and information storage and recovery operations.

[0163] 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 positions of the control parameters gps_save_state_flag and gps_lcu_entropy_continuity_flag.

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

[0165] Decoding side:

[0166] (1) First, divide the three-dimensional space into several The size of each node is non-overlapping, and each macroblock is used as the basic decoding unit. The octree partition depth d can be set or the parameter nodeSizeLog2 can be used to control the size of the 3D macroblock. The macroblock division is completed when the following conditions are met: nodeSizeLog2>max(d x ,d y ,d z ). Each node decodes according to macroblocks (such as LCU). Figure 3 As shown, the decoding starts from the second layer of the 2D quadtree partitioning according to the order of macroblocks (such as LCU), and each macroblock can be regarded as a separate tree partitioning structure.

[0167] (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 out 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,

[0168] When gps_save_state_flag = 1, before entering macroblock decoding, save the current entropy decoding context and the hash table information of geometric decoding, which is used to store neighbor placeholder information; when decoding each macroblock, restore the stored decoding context and the hash table information of geometric decoding. In this way, there is no reference dependency between macroblocks in geometric decoding, and independent decoding between macroblocks can be achieved.

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

[0170] When gps_save_state_flag = 0:

[0171] 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 the next macroblock to use. At this time, the macroblocks are serially decoded;

[0172] When gps_lcu_entropy_continuity_flag = 0, all macroblocks do not allow entropy dependency, that is, each macroblock is decoded independently, and the hash table information of each entropy decoding context and geometric decoding will be reinitialized. At this time, macroblocks are decoded in parallel, which can reduce memory consumption and information storage and recovery operations.

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

[0174] 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:

[0175] When gps_save_state_flag is 1, gps_lcu_entropy_continuity_flag can default to 0;

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

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

[0178] 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.

[0179] It should be noted that the point cloud coding processing method provided in the embodiment 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 embodiment of the present application, the point cloud coding processing device provided in the embodiment of the present application is described by taking the method for executing the point cloud coding processing by the point cloud coding processing device as an example.

[0180] See also Figure 6 , Figure 6 is a structural diagram of a point cloud coding processing device provided in an embodiment of the present application, wherein the coding end includes the point cloud coding processing device, such as Figure 6 As shown, the point cloud coding processing device 300 includes:

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

[0182] The encoding module 302 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.

[0183] 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 is specifically used for:

[0184] 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

[0185] 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.

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

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

[0188] 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.

[0189] 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:

[0190] A first encoding unit, configured to, 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, encode the first macroblock, and encode the second macroblock based on the encoding related information of the first macroblock; or

[0191] 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.

[0192] Optionally, the encoding module is further used to:

[0193] 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.

[0194] Optionally, the first macroblock is the first macroblock in the macroblocks to be encoded, the macroblocks to be encoded further include a third macroblock, the third macroblock is the next macroblock to be encoded of the second macroblock, and the first encoding unit is further used for:

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

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

[0197] Optionally, the first encoding unit is specifically used for:

[0198] In the 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, encode the first macroblock and store the encoding related information of the first macroblock;

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

[0200] Optionally, the second encoding unit is specifically used for:

[0201] 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 that the encoding related information of the encoded macroblock is not stored, initializing the encoding related information corresponding to the first macroblock and the encoding related information corresponding to the second macroblock respectively;

[0202] 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.

[0203] Optionally, the device further comprises:

[0204] A storage module is used 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.

[0205] Optionally, when the first parameter is a first preset value, the first parameter indicates encoding related information to be stored for an encoded macroblock; or

[0206] 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

[0207] 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,

[0208] 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.

[0209] 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.

[0210] 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. Exemplarily, 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 (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0211] The point cloud coding processing device provided in the embodiment of the present application can achieve Figure 4 The various processes implemented by the method embodiment and achieving the same technical effect are not described here to avoid repetition.

[0212] It should be noted that the point cloud decoding processing method provided in the embodiment 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 embodiment of the present application, the point cloud decoding processing device provided in the embodiment of the present application is described by taking the method for executing the point cloud decoding processing by the point cloud decoding processing device as an example.

[0213] See also Figure 7 , Figure 7 is a structural diagram of a point cloud decoding processing device provided in an embodiment of the present application, wherein the decoding end includes the point cloud decoding processing device, such as Figure 7 As shown, the point cloud decoding processing device 400 includes:

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

[0215] The decoding module 402 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 independent decoding of the macroblock to be decoded.

[0216] 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 is specifically used for:

[0217] 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, and the second macroblock is decoded based on the decoding related information of the first macroblock; or

[0218] 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.

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

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

[0221] 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.

[0222] 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:

[0223] 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

[0224] The second decoding unit is used to decode the first macroblock and the second macroblock respectively 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.

[0225] Optionally, the decoding module is specifically used for:

[0226] 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.

[0227] 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 used for:

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

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

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

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

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

[0233] Optionally, the second decoding unit is further used for:

[0234] In the case where 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, initializing the decoding related information corresponding to the first macroblock and the decoding related information corresponding to the second macroblock respectively;

[0235] 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.

[0236] Optionally, the device further comprises:

[0237] A storage module is used 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.

[0238] 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. Exemplarily, 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 (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0239] The point cloud decoding processing device provided in the embodiment of the present application can achieve Figure 5 The various processes implemented by the method embodiment and achieving the same technical effect are not described here to avoid repetition.

[0240] Alternatively, if Figure 8As shown, the embodiment of the present application further provides a communication device 500, including a processor 501 and a memory 502, and 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 is executed by the processor 501 to implement 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 is executed by the processor 501 to implement the various steps 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.

[0241] The embodiment of the present application also provides a terminal, including a processor and a communication interface, the processor is used to: divide the geometric information of the point cloud into macroblocks to obtain macroblocks to be encoded; encode the macroblocks to be encoded based on target parameters, wherein the target parameters are used to determine whether the encoding end allows the independent encoding of the macroblocks to be encoded. Alternatively, the processor is used to: divide the point cloud to be decoded into macroblocks to obtain macroblocks to be decoded; decode the macroblocks to be decoded based on target parameters, wherein the target parameters are used to determine whether the decoding end allows the independent decoding of the macroblocks to be 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 applicable to this terminal embodiment, and can achieve the same technical effect. Specifically, Fig. 9 A schematic diagram of the hardware structure of a terminal for implementing an embodiment of the present application.

[0242] 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 a processor 610.

[0243] Those skilled in the art will appreciate that the terminal 600 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 610 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig. 9 The terminal structure shown in the figure does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0244] It should be understood that in the 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 the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the 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 a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0245] In the embodiment of the present application, after receiving downlink data from the network side device, the RF unit 601 can transmit the data to the processor 610 for processing; in addition, the RF unit 601 can send uplink data to the network side device. Generally, the RF unit 601 includes but is not limited to an antenna, an amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.

[0246] 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, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.), 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 embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0247] The processor 610 may include one or more processing units; optionally, the processor 610 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 610.

[0248] Wherein, when the terminal is a coding terminal:

[0249] The processor 610 is configured to:

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

[0251] 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.

[0252] 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 target parameter, including:

[0253] 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

[0254] 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.

[0255] 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:

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

[0257] 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.

[0258] 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:

[0259] 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:

[0260] 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

[0261] 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.

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

[0263] 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.

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

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

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

[0267] 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:

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

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

[0270] Optionally, the processor 610 is configured to perform the encoding of the first macroblock and the second macroblock respectively, including:

[0271] Initialize the encoding related information corresponding to the first macroblock and the encoding related information corresponding to the second macroblock respectively;

[0272] 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.

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

[0274] 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.

[0275] Optionally, when the first parameter is a first preset value, the first parameter indicates encoding related information to be stored for an encoded macroblock; or

[0276] 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

[0277] 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,

[0278] 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.

[0279] 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.

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

[0281] The processor 610 is configured to:

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

[0283] 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.

[0284] 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 the decoding process on the macroblock to be decoded based on the target parameter, including:

[0285] 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, and the second macroblock is decoded based on the decoding related information of the first macroblock; or

[0286] 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.

[0287] 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:

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

[0289] 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.

[0290] 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 the decoding process on the macroblock to be decoded based on the first parameter and the second parameter, including:

[0291] 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:

[0292] 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

[0293] 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.

[0294] 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:

[0295] 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.

[0296] 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 processor 610 is further configured to:

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

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

[0299] 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:

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

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

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

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

[0304] 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.

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

[0306] 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.

[0307] 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, and the processor 610 calls the instructions or programs in the memory 609 to execute Figure 6 or Figure 7 The methods executed by the modules shown achieve the same technical effects, and therefore will not be described here in detail to avoid repetition.

[0308] 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.

[0309] 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-transient readable storage medium.

[0310] 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.

[0311] 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.

[0312] The embodiments of the present application further provide 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.

[0313] 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.

[0314] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including 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 one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment 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 reverse 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.

[0315] Through the description of the above implementation methods, 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 hardware platform, and of course, can also be implemented by hardware. The computer software product is stored in a storage medium (such as ROM, RAM, disk, CD, etc.), including several instructions to enable a terminal or a network-side device to execute the methods described in each embodiment of the present application.

[0316] 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 the present application, ordinary technicians in this field can also make many forms of implementation methods without departing from the purpose of the present application and the scope of protection of the claims, and these implementation methods are all within the protection of the present application.

Claims

1. A point cloud coding processing method, executed by an encoding end, characterized in that: include: 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, characterized in that: 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, characterized in that: 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, characterized in that 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, characterized in that 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that: When the first parameter is a first preset value, the first parameter indicates to store 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, characterized in that: 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, characterized in that: include: 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, characterized in that 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, and the second macroblock is decoded 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, characterized in that 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, characterized in that 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, characterized in that 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that 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, characterized in that: 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, characterized in that: 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, characterized in that: It includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein when the program or instruction is executed by the processor, the steps of the point cloud encoding processing method as described in any one of claims 1 to 11 are implemented; or, when the program or instruction is executed by the processor, the steps of the point cloud decoding processing method as described in any one of claims 12 to 20 are implemented.

24. A chip, characterized in that: The chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or instructions 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, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the point cloud encoding processing method as described in any one of claims 1 to 11 are implemented, or when the program or instruction is executed by the processor, the steps of the point cloud decoding processing method as described in any one of claims 12 to 20 are implemented.