Video decoding method, video encoding method, and method of transmitting data
By combining multiple block partitioning structures and determining independent block partitioning structures for luminance and chrominance component blocks respectively, the problem of insufficient coding efficiency in existing video compression technologies is solved, and video coding efficiency is improved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- DOLBY INTERNATIONAL AB
- Filing Date
- 2016-10-11
- Publication Date
- 2026-07-28
AI Technical Summary
Existing video compression technologies are inefficient in encoding high-resolution, high-definition videos, necessitating methods and devices to improve encoding efficiency.
By combining multiple block partitioning structures, including block partitioning information acquisition, execution, and encoding/decoding units, independent block partitioning structures are determined for luma and chroma component blocks respectively, and block partitioning information is generated or parsed to improve encoding efficiency.
By combining various block partitioning structures, the coding efficiency and performance of video coding are effectively improved.
Smart Images

Figure CN117294859B_ABST
Abstract
Description
[0001] This application is a divisional application of Chinese patent application filed on October 11, 2016, with international application number PCT / KR2016 / 011332, entitled "Video Coding Method and Apparatus Utilizing Combination of Multiple Block Partition Structures", and application number 201680089998.4 which entered the Chinese national phase. Technical Field
[0002] This invention relates to image processing schemes, and more specifically, to block partitioning structures in video compression schemes, and to methods and apparatus for performing partitioning on the block partitioning structures. Background Technology
[0003] With the increasing demand for high-resolution, high-definition video, there is a need for efficient video compression technologies for next-generation video services. Based on this need, the standardizing MPEG and VCEG jointly established the Joint Video Coding Cooperation Group (JCT-VC) for H.264 / AVC video compression standardization, and completed the standardization of HEVC, the latest international video compression standard established in January 2013.
[0004] In video compression technology, block partitioning refers to the units within which encoding and decoding are performed, as well as the units to which the main encoding and decoding techniques (e.g., prediction and transform) are applied. With the development of video compression technology, the size of the blocks used for encoding and decoding has gradually increased, and more partitioning forms have been supported in terms of block partitioning types. Furthermore, video compression is performed using units subdivided according to the role of the block, and units used for encoding and decoding. In the HEVC standard, video encoding and decoding are performed using unit blocks subdivided according to a quadtree-type block partitioning structure and the roles of prediction and transform. In addition, various forms of block partitioning structures have been proposed to improve the efficiency of video coding, such as Quadtree Plus Binary Tree (QTBT) (which is a combination of quadtree and binary tree), and block partitioning structures of any form. Summary of the Invention
[0005] Technical issues
[0006] The purpose of this invention is to provide a method and apparatus that can improve coding efficiency compared to existing video compression schemes by utilizing a combination of multiple block partitioning structures.
[0007] However, it should be understood that the technical scope of the present invention is not limited to the above-mentioned technical problems, and other technical problems may also exist.
[0008] Technical solution
[0009] To address the aforementioned problems, the video encoding method and apparatus according to embodiments of the present invention include a block partitioning information acquisition unit, a block partitioning execution unit, and a block encoding / decoding unit.
[0010] To address the aforementioned problems, the video encoding method and apparatus according to embodiments of the present invention include a block partitioning information parsing unit, a determining unit related to whether additional block partitioning information is needed, and an additional block partitioning information acquisition unit.
[0011] To address the aforementioned problems, the video encoding method and apparatus according to embodiments of the present invention include a current image color format determination unit, a luminance and chrominance component block size comparison unit, an additional block partitioning information acquisition unit, and a block partitioning execution unit.
[0012] To address the aforementioned problems, a video decoding method according to an embodiment of the present invention includes: acquiring block partitioning information of a current block having a tree-based partitioning structure from a bitstream; performing block partitioning on the current block using the acquired block partitioning information; and decoding sub-blocks obtained from the block partitioning of the current block, wherein the block partitioning information includes at least one of first partitioning information indicating whether to partition the block into four blocks and second partitioning information indicating whether to partition the block into two blocks, wherein the current block is divided into luma component blocks and chroma component blocks, wherein the block partitioning information is parsed for the luma component blocks and the chroma component blocks respectively, wherein performing block partitioning on the current block includes: determining a block partitioning structure for the luma component blocks based on the block partitioning information of the luma component blocks; and determining a block partitioning structure for the chroma component blocks based on the block partitioning information of the chroma component blocks, wherein the block partitioning structure for the chroma component blocks is determined independently of the luma component blocks, and wherein decoding the sub-blocks includes: acquiring decoding information of the sub-blocks from the bitstream, residual information including quantization coefficients; deriving a residual signal of the sub-blocks based on the quantization coefficients; and generating a reconstructed signal of the sub-blocks based on the residual signal.
[0013] To address the aforementioned problems, a video coding method according to an embodiment of the present invention includes: performing block partitioning on a current block having a tree-based partitioning structure; generating block partitioning information regarding the block partitioning of the current block; and encoding sub-blocks obtained from the block partitioning of the current block, wherein the block partitioning information includes at least one of first partitioning information indicating whether to partition the block into four blocks and second partitioning information indicating whether to partition the block into two blocks, wherein the current block is divided into luma component blocks and chroma component blocks, wherein the block partitioning information is encoded for the luma component blocks and chroma component blocks respectively, wherein performing block partitioning on the current block includes: determining a block partitioning structure for the luma component blocks to generate block partitioning information for the luma component blocks; and determining a block partitioning structure for the chroma component blocks to generate block partitioning information for the chroma component blocks, wherein the block partitioning structure for the chroma component blocks is determined independently of the luma component blocks, and wherein encoding the sub-blocks includes: generating a residual signal for the sub-blocks based on a prediction signal for the sub-blocks; generating quantization coefficients for the sub-blocks based on the residual signal; and encoding the quantization coefficients to generate a bitstream.
[0014] To address the aforementioned problems, a method for transmitting data including a bitstream according to an embodiment of the present invention includes: performing block partitioning on a current block having a tree-based partitioning structure; generating block partitioning information regarding the block partitioning of the current block; encoding sub-blocks obtained from the block partitioning of the current block to generate a bitstream; and transmitting data including the bitstream, wherein the block partitioning information includes at least one of first partitioning information indicating whether the block is divided into four blocks and second partitioning information indicating whether the block is divided into sub-blocks, wherein the current block is divided into a luma component block and a chroma component block. Specifically, block partitioning information is encoded for both the luma component block and the chroma component block. Block partitioning for the current block includes: determining the block partitioning structure of the luma component block to generate its block partitioning information; and determining the block partitioning structure of the chroma component block to generate its block partitioning information. The block partitioning structure of the chroma component block is determined independently of the luma component block. Encoding sub-blocks includes: generating a residual signal for the sub-block based on its prediction signal; generating quantization coefficients for the sub-block based on the residual signal; and encoding the quantization coefficients to generate a bitstream.
[0015] Beneficial effects
[0016] The purpose of this invention is to provide a video coding method and apparatus, wherein block partitioning is effectively performed by utilizing a combination of multiple block structures and the coding efficiency is improved by block partitioning.
[0017] According to embodiments of the present invention, coding performance can be improved by utilizing various block partitioning combinations. Attached Figure Description
[0018] Figure 1 This is a block diagram illustrating the configuration of a video encoding apparatus according to an embodiment of the present invention.
[0019] Figure 2 This is a block diagram illustrating the configuration of a video decoding apparatus according to an embodiment of the present invention.
[0020] Figure 3 This is a conceptual diagram illustrating various types of block partitioning according to embodiments of the present invention and blocks employing various block partitioning methods.
[0021] Figure 4 This is a table illustrating the syntax for block structures employing various block divisions according to embodiments of the present invention.
[0022] Figure 5 An example of a color element of a block according to a color format is shown according to an embodiment of the present invention.
[0023] Figure 6 An example of using a block partitioning structure in the same manner for each color element according to an embodiment of the present invention is shown.
[0024] Figure 7 An example of using a block partitioning structure differently for each color element according to an embodiment of the present invention is shown.
[0025] Figure 8 This is a flowchart illustrating the segmentation and decoding of blocks in a video decoder according to an embodiment of the present invention.
[0026] Figure 9 This is a flowchart of a block partitioning execution unit according to an embodiment of the present invention. Detailed Implementation
[0027] In the following, embodiments of the present invention will be described in detail with reference to the accompanying drawings, enabling those skilled in the art to readily implement the invention. However, the present invention can be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. For clarity, portions irrelevant to this specification have been omitted throughout the description, and similar reference numerals have been used to denote similar parts.
[0028] Throughout this specification, when a component is claimed to be “connected” to another component, it includes not only cases where they are directly connected, but also cases where the component is electrically connected to the other component.
[0029] Furthermore, throughout the specification, when a component is claimed to "comprise" an element, it should be understood that, unless otherwise specified, that element may include other elements rather than be separate from other elements.
[0030] The terms “steps to do something” or “steps to something” used throughout this specification do not imply steps to a particular thing.
[0031] Furthermore, the terms "first," "second," etc., can be used to describe various components, but these components should not be limited by these terms. These terms are used only for the purpose of distinguishing one component from another.
[0032] Furthermore, the components shown in the embodiments of the present invention are illustrated independently to represent different functional features, but this does not mean that each component consists of an independent hardware or software unit. That is, each component is described for ease of illustration, and at least two components may be combined to form a single component, or a single component may be divided into multiple components performing various functions. Integrated and individual embodiments of each of these components are also included within the scope of the present invention without departing from its spirit.
[0033] In the various embodiments of the invention described below, color format refers to the type of color components that constitute an image, and coding blocks or coding units can be collectively referred to as individual blocks or units in which encoding and decoding are performed during video encoding. Color formats are not limited to YUV formats, and can be collectively referred to as including a variety of color formats based on all kinds of color components used to constitute an image.
[0034] In the following text, reference will be made to Figure 9 A detailed description is provided of a video coding method and apparatus that utilizes a combination of multiple block partitioning structures, according to embodiments of the present invention.
[0035] Figure 9 This is a flowchart of a block partitioning execution unit according to an embodiment of the present invention.
[0036] According to one embodiment, the block partitioning information acquisition unit 830 includes a block partitioning information parsing unit 920, an additional block partitioning information determination unit 930, an additional block partitioning information acquisition unit 940, and a block partitioning information storage unit 950.
[0037] The block partitioning information parsing unit 930 parses the block partitioning information from the bit stream to obtain the block partitioning information.
[0038] The additional block partitioning information determination unit 930 determines whether additional partitioning information is needed when partitioning the current block by using the color format of the current image, block depth information, block position information within the image, block size information, etc.
[0039] When the additional block partitioning information determination unit 930 determines that additional block partitioning information is needed, the additional block partitioning information acquisition unit 940 acquires the additional block partitioning information required to determine the block partitioning structure of the current block. The additional block partitioning information required to determine the partitioning structure of the current block can be obtained by parsing from the bitstream, or, if not parsing from the bitstream, can be obtained using the color format of the current image, block depth information, block position information within the image, block size information, etc.
[0040] The block partitioning information storage unit 950 stores the block partitioning information obtained by the block partitioning information parsing unit 920 and the additional block partitioning information acquisition unit 940.
[0041] Embodiments of the present invention
[0042] In the following, embodiments of the present invention will be described in detail with reference to the accompanying drawings, enabling those skilled in the art to readily implement the invention. However, the present invention can be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. For clarity, portions irrelevant to this specification have been omitted throughout the description, and similar reference numerals have been used to denote similar parts.
[0043] Throughout this specification, when a component is claimed to be “connected” to another component, it includes not only cases where they are directly connected, but also cases where the component is electrically connected to the other component.
[0044] Furthermore, throughout the specification, when a component is claimed to "comprise" an element, it should be understood that, unless otherwise specified, that element may include other elements rather than be separate from other elements.
[0045] The terms “steps to do something” or “steps to do something” used throughout this specification do not imply steps for a particular thing.
[0046] Furthermore, the terms "first," "second," etc., can be used to describe various components, but these components should not be limited by these terms. These terms are used only for the purpose of distinguishing one component from another.
[0047] Furthermore, the components shown in the embodiments of the present invention are illustrated independently to represent different functional features, but this does not mean that each component consists of an independent hardware or software unit. That is, each component is described for ease of illustration, and at least two components may be combined to form a single component, or a single component may be divided into multiple components performing various functions. Integrated and individual embodiments of each of these components are also included within the scope of the present invention without departing from its spirit.
[0048] In the various embodiments of the invention described below, color format refers to the type of color components that constitute an image, and coding blocks or coding units can be collectively referred to as individual blocks or units included in which encoding and decoding are performed during video encoding. Color formats are not limited to YUV formats, and can be collectively referred to as including a variety of color formats based on all kinds of color components used to constitute an image.
[0049] In the following text, reference will be made to Figure 9 A detailed description is provided of a video coding method and apparatus that utilizes a combination of multiple block partitioning structures, according to embodiments of the present invention.
[0050] Figure 1 This is a block diagram illustrating a video encoding method and apparatus according to an embodiment of the present invention.
[0051] The video coding method and apparatus according to the embodiments include an inter-frame prediction unit 120, an intra-frame prediction unit 125, a subtraction unit 130, a transform unit 140, a quantization unit 150, an entropy coding unit 160, an inverse transform unit 145, an inverse quantization unit 155, an addition unit 135, a loop filter unit 180, and a reconstructed image buffer 190.
[0052] The inter-frame prediction unit 120 performs motion prediction by using the input image 110 and the reconstructed image stored in the reconstructed image buffer 190, thereby generating a prediction signal.
[0053] Intra-frame prediction unit 125 performs spatial prediction by using the pixel values of neighboring blocks before reconstruction that are adjacent to the current block to be encoded, thereby generating a prediction signal.
[0054] Subtraction unit 130 uses the input image and the prediction signal generated by inter-frame prediction unit 120 or intra-frame prediction unit 125 to generate a residual signal.
[0055] Transformation unit 140 and quantization unit 150 perform transformation and quantization on the residual signal generated by subtraction unit 130, thereby generating quantization coefficients.
[0056] The entropy coding unit 160 performs entropy coding on the encoded information (e.g., syntax elements and quantization coefficients defined in the video encoder) to output a bitstream.
[0057] The inverse transform unit 145 and the inverse quantization unit 155 receive quantization coefficients and perform inverse quantization and inverse transform in sequence to generate the reconstructed residual signal.
[0058] Addition unit 135 uses the prediction signal generated by inter-frame prediction unit 120 or intra-frame prediction unit 125 and the reconstruction residual signal to generate a reconstruction signal.
[0059] The reconstructed signal is sent to the loop filter unit 180. The filtered reconstructed image is stored in the reconstructed image buffer 190 and can be used as a reference image in the inter-frame prediction unit 120.
[0060] Figure 2 This is a block diagram illustrating the configuration of a video decoding apparatus and method according to an embodiment of the present invention.
[0061] A video decoding apparatus and method according to one embodiment includes an entropy decoding unit 210, an inverse quantization unit 220, an inverse transform unit 230, an intra-frame prediction unit 240, an inter-frame prediction unit 250, an addition unit 260, a loop filter unit 270, and a reconstructed image buffer 280.
[0062] The entropy decoding unit 210 decodes the input bitstream 200 and outputs decoding information (such as syntax elements and quantization coefficients).
[0063] The inverse quantization unit 220 and the inverse transform unit 230 receive quantization coefficients and perform inverse quantization and inverse transform in sequence to output the residual signal.
[0064] Intra-frame prediction unit 240 performs spatial prediction by using the pixel values of neighboring blocks before reconstruction that are adjacent to the current block to be decoded, thereby generating a prediction signal.
[0065] The inter-frame prediction unit 250 uses motion vectors extracted from the bitstream and reconstructed images stored in the reconstructed image buffer 280 to perform motion compensation, thereby generating a prediction signal.
[0066] The prediction signals output from the intra-frame prediction unit 240 and the inter-frame prediction unit 250 are added to the residual signal by the adder unit 260, so that the reconstructed signal generated on a block-by-block basis includes the reconstructed image.
[0067] The reconstructed image is transmitted to the loop filter unit 270. The filtered reconstructed image is stored in the reconstructed image buffer 280 and can be used as a reference image in the inter-frame prediction unit 250.
[0068] Figure 3 This is a conceptual diagram illustrating various types of block partitioning according to embodiments of the present invention and blocks employing various block partitioning methods.
[0069] The video coding method and apparatus utilizing multiple block partitioning according to the embodiments include a block partitioning form comprising unpartitioned blocks 310, horizontally partitioned blocks 320, vertically partitioned blocks 330, quarter blocks 340, and a block structure 350 having multiple block partitioning.
[0070] According to the embodiments, undivided block 310 includes a form where no coding block is divided, while horizontally divided block 320 according to the embodiments includes a form where a coding block is horizontally divided. Furthermore, vertically divided block 330 according to the embodiments includes a form where a coding block is vertically divided, and quartered block 340 includes a form where a coding block is both vertically and horizontally divided. The coding block includes both square and non-square types.
[0071] According to an embodiment, a block structure 350 with multiple block partitions includes a block structure combining blocks 310, 320, 330, and 340 with multiple block partition forms. In the block partition structure according to an embodiment, the topmost block 350 can be divided into four sub-blocks, namely, a first sub-block 351, a second sub-block 352, a third sub-block 353, and a fourth sub-block 354. According to an embodiment, the first sub-block 351 is a block represented as a block partitioned form of an unpartitioned block 310, and the second sub-block 352 is a block represented as a block partitioned into four parts, ... The third sub-block 353 is a block representing a horizontal division block 320, and the lower rectangular block 356 in the sub-sub-block is a block representing a vertical division block 330. The fourth sub-block 354 is a block representing a quarter block 340, and the first and third sub-sub-blocks of the fourth sub-block are blocks representing a vertical division block 330. Here, the third sub-sub-block indicates an implementation that performs additional vertical division.
[0072] Figure 4 This is a table illustrating the syntax for block structures employing various block divisions according to embodiments of the present invention.
[0073] To utilize a block structure with multiple block partitioning forms, the video coding method and apparatus according to embodiments of the present invention include partitioning information 410 regarding whether to divide a block into four sub-blocks, partitioning information 420 regarding whether to divide a block into two blocks when not dividing it into four sub-blocks, and direction information 430 regarding the bisection direction. The partitioning information 420 regarding whether to divide a block into two sub-blocks and the direction information 430 regarding the bisection direction include information required to divide a coding block into two sub-blocks, and can be transmitted in the form of two flags or combined into one piece of information.
[0074] Figure 5 An example of a color element of a block according to a color format is shown according to an embodiment of the present invention.
[0075] As examples of color elements according to color formats according to embodiments of the present invention, this specification shows a YUV 420 format 510 in which the size of the luminance component is different from the size of the chrominance component, and a YUV 444 format 520 in which the size of the luminance component is the same as the size of the chrominance component. In the case of color formats where the luminance and chrominance components are different in size, when constructing an encoding block, the luminance component block 511 and the chrominance component blocks 512 and 513 are different in size from each other. In the case of color formats where the luminance and chrominance components are the same in size, when constructing an encoding block, the luminance component block 521 and the chrominance component blocks 522 and 523 are the same in size. However, in this specification, color formats where the luminance and chrominance components are different or the same in size are not limited to color formats composed of luminance and chrominance components, but also include various color formats such as RGB, XYZ, etc., classified according to the component ratio of each color element.
[0076] Figure 6 An example of using a block partitioning structure in the same manner for each color element according to an embodiment of the present invention is shown.
[0077] Regardless of the color format, the video encoding method and apparatus according to the embodiments use the same block partitioning structure in both luma component blocks and chroma component blocks. The video encoding method and apparatus according to the exemplary embodiments can determine the block partitioning structure by using the same block partitioning information in luma component blocks 611 and chroma component blocks 612 and 613 of a color format 610 where the luma and chroma component sizes are different from each other. The video encoding method and apparatus according to the exemplary embodiments can determine the block partitioning structure by using the same block partitioning information in luma component blocks 621 and chroma component blocks 622 and 623 of a color format 620 where the luma and chroma component sizes are the same.
[0078] Figure 7 An example of using a block partitioning structure differently for each color element according to an embodiment of the present invention is shown.
[0079] The video encoding method and apparatus according to embodiments selectively use the same or different block partitioning structures in luma component blocks and chroma component blocks according to the color format. The video encoding method and apparatus according to embodiments can determine the block partitioning structure by using different block partitioning information in luma component blocks 711 and chroma component blocks 712 and 713 of a color format 710 where the luma and chroma component sizes are different from each other. Here, luma component blocks 711 and chroma component blocks 712 and 713 can be partitioned using different block partitioning structures based on block size and coding block partitioning depth information. Furthermore, the video encoding method and apparatus according to embodiments can determine the block partitioning structure by using the same block partitioning information in luma component blocks 721 and chroma component blocks 722 and 723 of a color format 720 where the luma and chroma component sizes are the same.
[0080] Based on color format 710 where the sizes of the luminance component and the chrominance component are different from each other, and color format 720 where the sizes of the luminance component and the chrominance component are the same, the video encoding method and apparatus according to the embodiment may selectively use a block partitioning structure of luminance component blocks 711 and 712 and chrominance component blocks 712, 713, 722 and 723.
[0081] Figure 8 This is a flowchart illustrating the segmentation and decoding of blocks in a video decoder according to an embodiment of the present invention.
[0082] The video encoding method and apparatus according to the embodiments may include a block partitioning information acquisition unit 820, a block partitioning execution unit 830, and a block decoding unit 840.
[0083] The block partitioning information acquisition unit 820 acquires and outputs the encoding information about the block partitioning from the bit stream.
[0084] The block partitioning execution unit 830 uses the encoded information about block partitioning extracted by the block partitioning information acquisition unit 820 to perform block partitioning.
[0085] Block decoding unit 840 performs decoding on each decoding unit that is divided by block partitioning.
[0086] This disclosure also includes the following configuration:
[0087] 1. A video encoding and decoding method, comprising:
[0088] Obtain block partitioning information;
[0089] Perform block partitioning using the acquired block partitioning information; and
[0090] Encoding and decoding are performed using the divided blocks.
[0091] 2. According to the method described in Scheme 1, obtaining the block partitioning information includes:
[0092] Parse the block partitioning information;
[0093] Based on the parsed block partitioning information, the color format of the current image, the current block partitioning depth information, and the block size, determine whether additional block partitioning information is needed; and
[0094] The additional block partitioning information is obtained based on whether additional block partitioning information is needed.
[0095] 3. According to the method described in Scheme 2, obtaining the additional block partitioning information includes:
[0096] Determine the color format of the current image;
[0097] The sizes of the luminance component blocks and chrominance component blocks are compared using information about the color format of the image.
[0098] When the size of the luminance component block and the size of the chrominance component block are different from each other, obtain block partitioning information for each of the luminance component block and the chrominance component block; and
[0099] The luminance component block and the chrominance component block are divided using the block division information obtained for each of the luminance component block and the chrominance component block, respectively.
[0100] 4. According to the method described in Scheme 2, obtaining the additional block partitioning information includes:
[0101] Determine the color format of the current image;
[0102] The sizes of the luminance component blocks and chrominance component blocks are compared using information about the color format of the image.
[0103] When the size of the luminance component block and the size of the chrominance component block are the same, obtain block partitioning data to be applied to the luminance component block and the chrominance component block in the same manner; and
[0104] The acquired block partitioning information is used to partition the luminance component block and the chrominance component block in the same way.
[0105] 5. A video encoding and decoding apparatus, the apparatus performing the following operations:
[0106] Obtain block partitioning information;
[0107] Perform block partitioning using the acquired block partitioning information; and
[0108] Encoding and decoding are performed using the divided blocks.
[0109] 6. The apparatus according to Scheme 1, wherein obtaining the block partitioning information includes:
[0110] Parse the block partitioning information;
[0111] Based on the parsed block partitioning information, the color format of the current image, the current block partitioning depth information, and the block size, determine whether additional block partitioning information is needed; and
[0112] The additional block partitioning information is obtained based on whether additional block partitioning information is needed.
[0113] 7. The apparatus according to Scheme 2, wherein obtaining the additional block partitioning information includes:
[0114] Determine the color format of the current image;
[0115] The sizes of the luminance component blocks and chrominance component blocks are compared using information about the color format of the image.
[0116] When the size of the luminance component block and the size of the chrominance component block are different from each other, obtain block partitioning information for each of the luminance component block and the chrominance component block; and
[0117] The luminance component block and the chrominance component block are divided using the block division information obtained for each of the luminance component block and the chrominance component block, respectively.
[0118] 8. The apparatus according to Scheme 2, wherein obtaining the additional block partitioning information includes:
[0119] Determine the color format of the current image;
[0120] The sizes of the luminance component blocks and chrominance component blocks are compared using information about the color format of the image.
[0121] When the size of the luminance component block is the same as the size of the chrominance component block, obtain block partitioning information to be applied to both the luminance component block and the chrominance component block in the same manner; and
[0122] The acquired block partitioning information is used to partition the luminance component block and the chrominance component block in the same way.
[0123] Industrial applicability
[0124] This invention can be used in manufacturing industries such as broadcast equipment manufacturing and terminal manufacturing, as well as industries related to source technologies.
Claims
1. A video decoding method, comprising: Obtain block partitioning information of the current block with a tree-based partitioning structure from the bitstream; The current block is partitioned using the acquired block partitioning information; as well as Decode the sub-blocks obtained by dividing the current block into sub-blocks. The block partitioning information includes at least one of first partitioning information indicating whether to divide the block into four blocks and second partitioning information indicating whether to divide the block into two blocks. The current block is divided into a luminance component block and a chrominance component block. Specifically, the block partitioning information is parsed for both the luminance component block and the chrominance component block. The block partitioning process for the current block includes: The block partitioning structure of the luma component blocks is determined based on the block partitioning information of the luma component blocks; and The block partitioning structure of the chrominance component blocks is determined based on the block partitioning information of the chrominance component blocks, wherein the block partitioning structure of the chrominance component blocks is determined independently of the luma component blocks, and Decoding the sub-block includes: Obtain decoding information from sub-blocks of the bitstream, including residual information of quantization coefficients; The residual signal of the sub-block is derived based on the quantization coefficients; and The reconstructed signal of the sub-block is generated based on the residual signal.
2. The method of claim 1, wherein, Obtaining the block partitioning information includes: Parse the first partition information from the bitstream; Determine whether to parse additional block partitioning information from the bitstream; and In response to determining the additional block partitioning information, the additional block partitioning information is parsed from the bitstream. The additional block partitioning information includes the second partitioning information.
3. The method of claim 1, wherein, The second partition information is only parsed when the first partition information of the current block can no longer be parsed from the bit stream.
4. The method of claim 2, wherein, Each of the second partition information is sent from the video encoding device in the form of a flag.
5. A video encoding method, comprising: Perform block partitioning on the current block that has a tree-based partitioning structure; Generate block partitioning information regarding the current block; as well as The sub-blocks obtained by dividing the current block are encoded. The block partitioning information includes at least one of first partitioning information indicating whether to divide the block into four blocks and second partitioning information indicating whether to divide the block into two blocks. The current block is divided into a luminance component block and a chrominance component block. Specifically, the block division information is encoded for both the luminance component block and the chrominance component block. The block partitioning process for the current block includes: Determine the block partitioning structure of the luma component blocks to generate block partitioning information for the luma component blocks; and The block partitioning structure of the chroma component blocks is determined to generate block partitioning information for the chroma component blocks, wherein the block partitioning structure of the chroma component blocks is determined independently of the luma component blocks, and Encoding the sub-blocks includes: The residual signal of the sub-block is generated based on the prediction signal of the sub-block; The quantization coefficients of the sub-block are generated based on the residual signal; and The quantization coefficients are encoded to generate a bitstream.
6. A method for transmitting data including a bit stream, comprising: Perform block partitioning on the current block that has a tree-based partitioning structure; Generate block partitioning information regarding the current block; Encode the sub-blocks obtained by dividing the current block into sub-blocks to generate a bit stream; as well as Send data including bitstreams, The block partitioning information includes at least one of first partitioning information indicating whether to divide the block into four blocks and second partitioning information indicating whether to divide the block into sub-blocks. The current block is divided into a luminance component block and a chrominance component block. Specifically, the block division information is encoded for both the luminance component block and the chrominance component block. The block partitioning process for the current block includes: Determine the block partitioning structure of the luma component blocks to generate block partitioning information for the luma component blocks; and The block partitioning structure of the chroma component blocks is determined to generate block partitioning information for the chroma component blocks, wherein the block partitioning structure of the chroma component blocks is determined independently of the luma component blocks, and Encoding the sub-blocks includes: The residual signal of the sub-block is generated based on the prediction signal of the sub-block; The quantization coefficients of the sub-block are generated based on the residual signal; and The quantization coefficients are encoded to generate a bitstream.