CN-116506597-B - Video decoding method, video encoding method, and video data transmission method
Abstract
The application discloses a video decoding method, a video encoding method and a video data transmission method. The video decoding method may include determining a current block from an encoded block according to tree-based block partitioning, generating a merge candidate list of the current block, the merge candidate list including spatial merge candidates and temporal merge candidates, obtaining motion information of the current block based on the merge candidate list, and obtaining a prediction sample of the current block based on the motion information, wherein the current block is asymmetrically partitioned into two partitions based on one vertical line or one horizontal line, and wherein the two partitions share the merge candidate list for inter prediction of the current block.
Inventors
- LI PEIGEN
Assignees
- 株式会社KT
Dates
- Publication Date
- 20260505
- Application Date
- 20170803
- Priority Date
- 20160803
Claims (10)
- 1. A method of decoding video, the method comprising: determining a current block according to tree-based block partitioning; Generating a merging candidate list of the current block, wherein the merging candidate list comprises a spatial merging candidate and a temporal merging candidate; obtaining motion information of the current block based on the merge candidate list, and A prediction sample of the current block is obtained based on the motion information, Wherein the current block is asymmetrically divided into two partitions based on one vertical line or one horizontal line, Wherein the two partitions share the merge candidate list for inter prediction of the current block, Wherein even if the current block has a non-square shape in which one of a width and a height is greater than the other, sharing of the merge candidate list between the two partitions is allowed in a case where a size of the current block is greater than or equal to a predefined size.
- 2. The method of claim 1, wherein the current block is non-square, and Wherein, in response to a case where the current block is divided into the two partitions based on the one vertical line, a first partition of the two partitions has a smaller width than a second partition of the two partitions.
- 3. The method of claim 2, wherein, in response to the first partition being a left partition of the two partitions, the merge candidate list of the first partition includes a plurality of spatial merge candidates, and Wherein the plurality of spatial merge candidates includes a first spatial merge candidate derived from a top neighboring block adjacent to the second partition but not adjacent to the first partition.
- 4. The method of claim 3, wherein the plurality of spatial merge candidates further comprises a second spatial merge candidate derived from a left neighboring block adjacent to the first partition but not adjacent to the second partition.
- 5. The method of claim 1, wherein the current block is non-square, and Wherein, in response to a case where the current block is divided into the two partitions based on the one horizontal line, a first partition of the two partitions has a smaller height than a second partition of the two partitions.
- 6. The method of claim 5, wherein the merge candidate list for the first partition comprises a plurality of spatial merge candidates in response to the first partition being a top partition of the two partitions, and Wherein the plurality of spatial merging candidates includes a first spatial merging candidate derived from a lower left neighboring block adjacent to the second partition but not adjacent to the first partition.
- 7. The method of claim 6, wherein the plurality of spatial merge candidates further comprises a second spatial merge candidate derived from an upper right neighboring block adjacent to the first partition but not adjacent to the second partition.
- 8. The method of claim 1, wherein determining the current block from a tree-based block partition comprises: dividing the first depth coding block into two second depth coding blocks; Determining whether to divide the second depth coding block into two third depth coding blocks, and In case it is determined that the second depth coding block is to be divided, dividing the second depth coding block into two third depth coding blocks, the current block being one of the two third depth coding blocks, Wherein the first depth coding block is divided in a horizontal direction or a vertical direction, and Wherein in response to the first depth coding block having a size of 128x128, the second depth coding block is not allowed to be partitioned in the same direction as the first depth coding block.
- 9. A method of encoding video, the method comprising: determining a current block according to tree-based block partitioning; Generating a merging candidate list of the current block, wherein the merging candidate list comprises a spatial merging candidate and a temporal merging candidate; obtaining motion information of the current block based on the merge candidate list, and A prediction sample of the current block is obtained based on the motion information, Wherein the current block is asymmetrically divided into two partitions based on one vertical line or one horizontal line, Wherein the two partitions share the merge candidate list for inter prediction of the current block, Wherein even if the current block has a non-square shape in which one of a width and a height is greater than the other, sharing of the merge candidate list between the two partitions is allowed in a case where a size of the current block is greater than or equal to a predefined size.
- 10. A method of transmitting video data, comprising: Obtaining a bit stream of the video data, wherein the bit stream is generated by performing the following operations: The current block is determined according to the tree-based block partitioning, Generating a merge candidate list of the current block, the merge candidate list including spatial merge candidates and temporal merge candidates, Motion information of the current block is obtained based on the merge candidate list, Obtaining prediction samples of the current block based on the motion information, and Encoding the current block based on the prediction samples, and The bit stream is transmitted in a manner such that, Wherein the current block is asymmetrically divided into two partitions based on one vertical line or one horizontal line, Wherein the two partitions share the merge candidate list for inter prediction of the current block, Wherein even if the current block has a non-square shape in which one of a width and a height is greater than the other, sharing of the merge candidate list between the two partitions is allowed in a case where a size of the current block is greater than or equal to a predefined size.
Description
Video decoding method, video encoding method, and video data transmission method The application is a divisional application of the application with the national application number 201780048928.9, the international application date 2017, 8 months and 3 days, and the national date 2019, 2 months and 2 days, and the name of the application is video signal processing method and device. Technical Field The present invention relates to a method and apparatus for processing video signals. Background Recently, demands for high resolution and high quality images such as High Definition (HD) images and Ultra High Definition (UHD) images have increased in various application fields. However, the data amount of image data having higher resolution and quality increases as compared with conventional image data. Accordingly, when image data is transferred by using a medium such as a conventional wired and wireless broadband network, or when image data is stored by using a conventional storage medium, the cost of transfer and storage increases. In order to solve these problems occurring with the improvement of resolution and quality of image data, an efficient image encoding/decoding technique can be utilized. Image compression techniques include various techniques including an inter-prediction technique of predicting pixel values included in a current picture from a previous picture or a subsequent picture of the current picture, an intra-prediction technique of predicting pixel values included in the current picture by using pixel information in the current picture, an entropy encoding technique of assigning short codes to values with high frequency of occurrence and long codes to values with low frequency of occurrence, and the like. The image data can be efficiently compressed by using such an image compression technique, and can be transferred or stored. Meanwhile, with the demand for high-resolution images, the demand for stereoscopic image content (stereographicimage content) as a new image service has also increased. Video compression techniques for efficiently providing stereoscopic image content having high resolution and ultra-high resolution are under discussion. Disclosure of Invention Technical problem An object of the present invention is to provide a method and apparatus for efficiently performing inter prediction on an encoding/decoding target block when encoding/decoding a video signal. An object of the present invention is to provide a method and apparatus for deriving a merge candidate based on a block having a predetermined shape or a predetermined size when encoding/decoding a video signal. An object of the present invention is to provide a method and apparatus for performing merging in parallel in units of a predetermined shape or a predetermined size when encoding/decoding a video signal. The technical object to be achieved by the present invention is not limited to the technical problems mentioned above. And, other technical problems not mentioned will be clearly understood by those skilled in the art from the following description. Technical solution The method and apparatus for decoding a video signal according to the present invention may derive spatial merge candidates of a current block, generate a merge candidate list of the current block based on the spatial merge candidates, obtain motion information of the current block based on the merge candidate list, and perform motion compensation on the current block using the motion information. The method and apparatus for encoding a video signal according to the present invention may derive spatial merge candidates of a current block, generate a merge candidate list of the current block based on the spatial merge candidates, obtain motion information of the current block based on the merge candidate list, and perform motion compensation on the current block using the motion information. In the method and apparatus for encoding/decoding a video signal according to the present invention, if a current block does not have a predefined shape or a size equal to or greater than a predefined size, a spatial merge candidate of the current block may be derived based on a block having the predefined shape or the size equal to or greater than the predefined size, the block including the current block. In the method and apparatus for encoding/decoding a video signal according to the present invention, the predefined shape may be a square shape. In the method and apparatus for encoding/decoding a video signal according to the present invention, a current block may have the same spatial merging candidates as neighboring blocks included in a square-shaped block having the current block. In the method and apparatus for encoding/decoding a video signal according to the present invention, if a current block and a spatial merging candidate are included in the same merge estimation area, it may be determined that the spatial merging candidate is not available. In the