METHOD AND APPARATUS FOR INTRA SUB-PARTITION CODING MODE - Patent application
The extended intra-subpartition coding mode addresses limitations in traditional video coding by using SubWidthC and SubHeightC to determine chroma transform block sizes, supporting all chroma formats and improving compression efficiency.
Patent Information
- Application Number
- JP2023170524
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-04-23
- Filing Date
- 2023-09-29
- Publication Date
- 2024-10-07
- Estimated Expiration
- 2040-03-05
AI Technical Summary
Existing video coding technologies face challenges in achieving high compression ratios with minimal image quality sacrifice, particularly in handling different chroma formats, as traditional intra-subpartition coding modes are limited to 4:2:0 chroma subsampling and lack flexibility for other formats like 4:4:4.
The proposed method extends intra-subpartition coding mode by introducing parameters SubWidthC and SubHeightC to determine chroma transform block sizes, allowing for sub-partitioning of luma blocks and consistent partitioning with chroma blocks based on chroma format, supporting all chroma subsampling formats including 4:4:4.
This approach enables accurate and versatile determination of chroma transform block sizes, enhancing compression efficiency across various chroma formats without compromising image quality.
Smart Images

Figure 0007562798000012 
Figure 0007562798000013 
Figure 0007562798000014
Abstract
Description
[Technical field]
[0001] (delete)
[0002] Technical Field FIELD OF THE DISCLOSURE Embodiments of the present disclosure relate generally to the field of picture processing, and more specifically to sub-partition (ISP) coding modes. [Background technology]
[0003] Video coding (video encoding and decoding) is used in a wide range of digital video applications, such as broadcast digital TV, video transmission over the Internet and mobile networks, real-time conversation applications like video chat, video conferencing, DVDs and Blu-ray Discs, video content capture and editing systems, and camcorders for security applications.
[0004] The amount of video data required to depict even a relatively short video can be substantial, which can create difficulties when the data is streamed or otherwise communicated over communication networks that have limited bandwidth capacity. Thus, video data is typically compressed before being communicated over today's telecommunications networks. The size of the video can also be an issue when the video is stored on a storage device, since memory resources can be limited. Video compression devices often use software and / or hardware at the source to code the video data before transmission or storage, thereby reducing the amount of data required to represent a digital video image. The compressed data is then received at the destination by a video decompression device, which decodes the video data. With limited network resources and an ever-increasing demand for higher video quality, improved compression and decompression techniques that improve compression ratios with little sacrifice in image quality are desirable.
[0005] The Intra Sub-Partition (ISP) coding mode is an updated version of Line-Based Intra Prediction (LIP) coding. ISP technique performs sub-partitioning only for luma blocks, while for chroma blocks, prediction and further transformation are performed for the whole coding unit without partitioning. The aim is to provide an accurate and generic method for determining the size of chroma transform blocks (TB) of a coding unit for ISP. Summary of the Invention
[0006] Embodiments of the present application provide devices and methods for encoding and decoding according to the independent claims.
[0007] These and other objects are achieved by the subject matter of the independent claims. Further implementation forms are evident from the dependent claims, the description and the drawings.
[0008] According to a first aspect, the invention relates to a method executed by a decoding device. The method includes the steps of: obtaining intra sub-partition (ISP) information, the ISP information indicating whether an ISP is used to partition a luma coding block of a coding unit; and determining a size of a chroma transform block (TB) of the coding unit based on SubWidthC and SubHeightC if at least a first condition is satisfied. SubWidthC and SubHeightC are variables that depend on chroma format information. The chroma format information indicates a chroma format of a picture to which the coding unit belongs, the chroma format including at least one of 4:2:0, or 4:2:2, or 4:4:4. The first condition includes: 1) a single tree is used to partition the coding unit, and 2) the ISP information indicates that an ISP is used to partition the luma coding block.
[0009] According to a second aspect, the invention relates to a method executed by an encoding device. The method comprises: determining a size of a chroma transform block of a coding unit based on SubWidthC and SubHeightC if at least a first condition is satisfied, where SubWidthC and SubHeightC are variables dependent on chroma format information. The chroma format information indicates a chroma format of a picture to which the coding unit belongs, the chroma format comprising at least one of 4:2:0, or 4:2:2, or 4:4:4. The first condition comprises: 1) a single tree is used to partition the coding unit, and 2) an ISP is used to partition the luma coding blocks of the coding unit. The method further comprises encoding a bitstream, the bitstream comprising information indicating that an ISP is used to partition the luma coding blocks of the coding unit.
[0010] The method according to the first aspect of the present invention can be executed by a decoding device according to the third aspect of the present invention. The device 1100 includes an obtaining unit 1101 and a determining unit 1102. The obtaining unit 1101 is configured to obtain information of an ISP, where the information of the ISP indicates whether an ISP is used to partition a luma coding block of a coding unit. The determining unit 1102 is configured to determine a size of a chroma transform block (TB) of the coding unit based on SubWidthC and SubHeightC, where SubWidthC and SubHeightC are variables depending on the chroma format information, if at least a first condition is satisfied. The chroma format information indicates a chroma format of a picture to which the coding unit belongs, where the chroma format includes at least one of 4:2:0, or 4:2:2, or 4:4:4. The first condition includes: 1) a single tree is used to partition the coding unit, and 2) the information of the ISP indicates that an ISP is used to partition the luma coding block. Further features and implementation forms of the method according to the third aspect of the invention correspond to the features and implementation forms of the device according to the first aspect of the invention.
[0011] The method according to the second aspect of the present invention can be executed by an encoding device according to the fourth aspect of the present invention. The device 1200 includes a determining unit 1201 and an encoding unit 1202. The determining unit 1201 is configured to determine a size of a chroma transform block of a coding unit based on SubWidthC and SubHeightC if at least a first condition is satisfied. SubWidthC and SubHeightC are two variables depending on chroma format information. The chroma format information indicates a chroma format of a picture to which the coding unit belongs, and the chroma format includes at least one of 4:2:0, or 4:2:2, or 4:4:4. The first condition includes: 1) a single tree is used to partition the coding unit, and 2) an ISP is used to partition the luma coding block of the coding unit. The encoding unit 1202 is configured to encode a bitstream, the bitstream including information indicating that an ISP is used to partition the luma coding block of the coding unit.
[0012] Further features and implementation forms of the method according to the fourth aspect of the invention correspond to the features and implementation forms of the device according to the second aspect of the invention.
[0013] According to a fifth aspect, the invention relates to an apparatus for decoding a video stream, comprising a processor and a memory, the memory storing instructions for causing the processor to carry out the method according to the first aspect.
[0014] According to a sixth aspect, the invention relates to an apparatus for encoding a video stream, comprising a processor and a memory, the memory storing instructions for causing the processor to carry out the method according to the second aspect.
[0015] According to a seventh aspect, a computer readable storage medium is proposed having stored thereon instructions which, when executed, cause one or more processors to be configured to code video data, the instructions causing the one or more processors to perform a method according to the first or second aspect or any possible embodiment of the first or second aspect.
[0016] According to an eighth aspect, the present invention relates to a computer program comprising a program code for performing, when executed on a computer, a method according to the first or second aspect or any possible embodiment of the first or second aspect. The embodiments of the present invention apply to all chroma formats. The chroma formats include at least one of 4:2:0, or 4:2:2, or 4:4:4. An accurate and generic method for determining the size of a chroma transformation block for an ISP is achieved. Details of one or more embodiments are set forth below in the accompanying drawings and the description. Other features, objects and advantages will be apparent from the description, the drawings and the claims. [Brief description of the drawings]
[0017] Hereinafter, embodiments of the present invention will be described in more detail with reference to the accompanying drawings and figures. [Figure 1A] FIG. 1 is a block diagram illustrating an example of a video coding system configured to implement embodiments of the present invention. [Figure 1B] FIG. 2 is a block diagram illustrating another example of a video coding system configured to implement embodiments of the present invention. [Diagram 2] FIG. 2 is a block diagram illustrating an example of a video encoder configured to implement embodiments of the present invention. [Diagram 3] FIG. 2 is a block diagram illustrating an exemplary structure of a video decoder configured to implement an embodiment of the present invention. [Figure 4] FIG. 1 is a block diagram showing an example of an encoding device or a decoding device. [Diagram 5]FIG. 11 is a block diagram showing another example of an encoding device or a decoding device. [Figure 6] The nominal vertical and horizontal positions of 4:2:0 luma and chroma samples in the picture. [Figure 7] The nominal vertical and horizontal positions of 4:2:2 luma and chroma samples in the picture. [Figure 8] The nominal vertical and horizontal positions of 4:4:4 luma and chroma samples in the picture. [Figure 9] 2 illustrates an embodiment of an ISP coding method performed by a decoding device according to the invention; [Figure 10] 2 illustrates an embodiment of an ISP coding method performed by an encoding device according to the present invention. [Figure 11] 2 illustrates an embodiment of a decoding device according to the invention; [Figure 12] 1 illustrates an embodiment of an encoding device according to the invention; [Figure 13] FIG. 31 is a block diagram showing an example of the configuration of a content supply system 3100 that realizes a content distribution service. [Figure 14] FIG. 2 is a block diagram showing a configuration of an example of a terminal device.
[0018] In the following, unless expressly stated otherwise, identical reference signs refer to identical or at least functionally equivalent features. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0019] In the following description, reference is made to the accompanying drawings which form a part of this disclosure and which show, by way of illustration, specific aspects of embodiments of the invention or in which embodiments of the invention may be used. It is understood that embodiments of the invention may be used in other ways and may include structural or logical changes that are not shown in the accompanying drawings. Therefore, the following detailed description is not to be taken in a limiting sense, and the scope of the present invention is defined by the appended claims.
[0020] For example, it is understood that disclosure related to a described method may also apply to a corresponding device or system configured to perform the method, and vice versa. For example, if one or more particular method steps are described, the corresponding device may include one or more units, such as functional units, for performing the described one or more method steps (e.g., one unit performing one or more steps, or multiple units each performing one or more of the multiple steps), even if such one or more units are not explicitly shown or described in the drawings. On the other hand, if a particular apparatus is described based on one or more units, such as functional units, the corresponding method may include one step for performing the function of the one or more units (e.g., one step for performing the function of the one or more units, or multiple steps each performing one or more functions of the multiple units), even if such one or more steps are not explicitly shown or described in the drawings. Furthermore, it is understood that features of various exemplary embodiments and / or aspects described herein may be combined with each other, unless otherwise stated.
[0021] Video coding typically refers to the processing of a series of pictures forming a video or a video sequence. In the field of video coding, instead of the term "picture", the terms "frame" or "image" may be used synonymously. Video coding (or, in general, coding) includes two parts: video encoding or video decoding. Video encoding is performed on the source side and typically involves processing the original video picture (e.g., by compression) to reduce the amount of data required to represent the video picture (for more efficient storage and / or transmission). Video decoding is performed on the destination side and typically involves the reverse processing compared to the encoder to reconstruct the video picture. The embodiments to the "coding" of a video picture (or, in general, a picture) shall be understood as relating to the "encoding" or "decoding" of a video picture or an individual video sequence. The combination of the encoding and decoding parts is also referred to as CODEC (Coding and Decoding).
[0022] In the case of lossless video coding, it is possible to reconstruct the original video picture, i.e. the reconstructed video picture has the same quality as the original video picture (assuming there is no transmission loss or other data loss during storage and transmission). In the case of non-lossless video coding, further compression is performed, e.g. by quantization, to reduce the amount of data representing the video picture, and the video picture cannot be perfectly reconstructed at the decoder side, i.e. the quality of the reconstructed video picture is lower or worse than the quality of the original video picture.
[0023] Some video coding standards belong to the group of "non-lossless hybrid video codecs" (i.e. they combine spatial and temporal prediction in the sample domain with 2D transform coding to apply quantization in the transform domain). Each picture of a video sequence is typically partitioned into a set of non-overlapping blocks and coding is typically performed at the block level. In other words, at the encoder side, a video is typically processed or encoded at the block (video block) level, for example by generating a prediction block using spatial (intra-picture) and temporal (inter-picture) prediction, subtracting the prediction block from a current block (current processed / to-be processed block) to obtain a residual block, transforming the residual block, and quantizing the residual block in the transform domain to reduce the amount of data to be transmitted (compression); at the decoder side, the inverse processing compared to the encoder is partially applied to the encoded or compressed block to reconstruct the current block for representation. Furthermore, the encoder repeats the decoder's processing loop so that both will produce the same predictions (eg, intra and inter predictions) and / or reconstructions for processing, ie, coding, future blocks.
[0024] In the following, embodiments of a video coding system 10, a video encoder 20, and a video decoder 30 will be described with reference to FIGS. 1-3.
[0025] 1A is a schematic block diagram of an example coding system 10, e.g., video coding system 10 (or coding system 10 for short), capable of using the techniques of the present application. A video encoder 20 (or encoder 20 for short) and a video decoder 30 (or decoder 30 for short) of video coding system 10 represent examples of devices that may be configured to perform techniques according to various examples described herein.
[0026] As shown in FIG. 1A, the coding system 10 generates coded picture data 21, e.g., coded picture data 21 to a destination device 14 for decryption.
[0027] The source device 12 includes an encoder 20 and may additionally, i.e. optionally, include a picture source 16, a pre-processing processor (or pre-processing unit) 18, such as a picture pre-processing unit 18, and a communication interface or unit 22.
[0028] Picture source 16 may include or be any kind of picture capture device, such as a camera capturing real-world pictures, and / or any kind of picture generation device, such as a computer graphics processor generating computer-animated pictures, or any kind of other device acquiring and / or providing real-world pictures, computer-generated pictures (e.g. screen content or virtual reality (VR) pictures), and / or any combination thereof (e.g. augmented reality (AR) pictures). Picture source could be any kind of memory or storage storing any of the above mentioned pictures.
[0029] To distinguish between the pre-processing unit 18 and the processing performed by the pre-processing unit 18 , the pictures and the picture data 17 may also be referred to as unprocessed pictures or unprocessed picture data 17 .
[0030] The pre-processing unit 18 is configured to receive the (unprocessed) picture data 17 and perform pre-processing on the picture data 17 to obtain a pre-processed picture 19 or pre-processed picture data 19. The pre-processing performed by the pre-processing unit 18 may include, for example, cropping, color format conversion (e.g., from RGB to YCbCr), color correction, or noise reduction. It can be understood that the pre-processing unit 18 may be an optional component.
[0031] A video encoder 20 is arranged to receive pre-processed picture data 19 and to provide encoded picture data 21 (further details will be explained, for example, on the basis of FIG. 2 below). The communications interface 22 of the source device 12 can be configured to receive the encoded picture data 21 and to transmit the encoded picture data 21 (or any further processed version of it) via the communications channel 13 to another device, such as the destination device 14 or any other device, for storage or direct reconstruction.
[0032] The destination device 14 includes a decoder 30 (e.g., a video decoder 30) and may additionally, i.e. optionally, include a communications interface or unit 28, a post-processing processor 32 (or post-processing unit 32), and a display device 34.
[0033] The communications interface 28 of the destination device 14 is configured to receive the encoded picture data 21 (or any further processed version thereof), e.g. directly from the source device 12 or from any other source, e.g. from a source device, e.g. from a coded picture data storage device, and to provide the encoded picture data 21 to a decoder 30.
[0034] The communication interface 22 and the communication interface 28 are configured to communicate the encoded picture data 21 or the encoded data 22 over a direct communication link between the source device 12 and the destination device 14, such as a direct wired or wireless connection, or over any kind of network, such as a wired or wireless network or any combination thereof, or any kind of private and public network, or any combination thereof. Ta It can be configured to transmit or receive.
[0035] The communications interface 22 may, for example, be configured to package the encoded picture data 21 into a suitable format, such as packets, and / or process the encoded picture data using any type of transmission coding or processing for transmission over a communications link or network.
[0036] The communications interface 28, forming a counterpart of the communications interface 22, can for example be configured to receive transmitted data and to process the transmitted data using any kind of corresponding transmission decoding or processing and / or unpackaging to obtain the encoded picture data 21.
[0037] Both communication interface 22 and communication interface 28 may be configured as a unidirectional communication interface, as indicated by the arrow in FIG. 1A for communication channel 13 from source device 12 to destination device 14, or as a bidirectional communication interface, and may be configured, e.g., to send and receive messages, e.g., to set up connections, to verify and exchange communication links and / or any other information related to data transmission, e.g., encoded picture data transmission.
[0038] The decoder 30 is arranged to receive the encoded picture data 21 and to provide decoded picture data 31 or decoded pictures 31 (further details will be explained below, e.g. on the basis of FIG. 3 or FIG. 5).
[0039] The post-processing processor 32 of the destination device 14 is configured to post-process the decoded picture data 31 (also called reconstructed picture data), e.g., a decoded picture 31, to obtain post-processed picture data 33, e.g., a post-processed picture 33. The post-processing performed by the post-processing unit 32 may include, e.g., color format conversion (e.g., from YCbCr to RGB), color correction, cropping, resampling, or any other processing, e.g., to prepare the decoded picture data 31 for display by a display device 34.
[0040] A display device 34 of destination device 14 is configured to receive the post-processed picture data 33 and display the picture, for example to a user or viewer. The display device 34 may be or include any type of display that presents the reconstructed picture, for example an integrated or external display or monitor. The display may include, for example, a liquid crystal display (LCD), an organic light emitting diode (OLED) display, a plasma display, a projector, a micro LED display, a liquid crystal on silicon (LCoS), a digital light processor (DLP), or any other type of display.
[0041] 1A depicts source device 12 and destination device 14 as separate devices, an embodiment of the devices may also include both or both functionality, source device 12 or corresponding functionality and destination device 14 or corresponding functionality. In such an embodiment, source device 12 or corresponding functionality and destination device 14 or corresponding functionality may be implemented using the same hardware and / or software, or by separate hardware and / or software, or any combination thereof.
[0042] As will be clear to a person skilled in the art based on the specification, the presence and (exact) division of functions or functions of various units in the source device 12 and / or destination device 14 shown in FIG. 1A may vary depending on the actual device and application.
[0043] Encoder 20 (e.g., video encoder 20) or decoder 30 (e.g., video decoder 30) or both encoder 20 and decoder 30 may be implemented by processing circuitry as shown in FIG. 1B, such as one or more microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), discrete logic, hardware, dedicated to video coding, or any combination thereof. Encoder 20 may be implemented by processing circuitry 46 to implement various modules described with respect to encoder 20 of FIG. 2 and / or any other encoder system or subsystem described herein. Decoder 30 may be implemented by processing circuitry 46 to implement various modules described with respect to decoder 30 of FIG. 3 and / or any other decoder system or subsystem described herein. The processing circuitry may be configured to perform various operations as described below. Where the techniques are implemented in part in software, as shown in Figure 5, a device may store the software instructions on a suitable non-transitory computer-readable storage medium and execute the instructions in hardware using one or more processors to perform the techniques of this disclosure. Either video encoder 20 or video decoder 30 may be integrated as part of a combined encoder / decoder (CODEC) within a single device, as shown, for example, in Figure 1B.
[0044] Source device 12 and destination device 14 may include any of a wide range of devices, including any type of handheld or stationary device, such as a notebook or laptop computer, a mobile phone, a smart phone, a tablet or tablet computer, a camera, a desktop computer, a set-top box, a television, a display device, a digital media player, a video game console, a video streaming device (such as a content service server or a content delivery server), a broadcast receiving device, a broadcast transmitting device, and the like, and may or may not use any type of operating system. In some cases, source device 12 and destination device 14 may be equipped for wireless communication. Thus, source device 12 and destination device 14 may be wireless communication devices.
[0045] In some cases, the video coding system 10 shown in FIG. 1A is merely an example, and the techniques of the present application may be applied to video coding settings (e.g., video encoding or video decoding) that do not necessarily include any data communication between the encoding device and the decoding device. In other examples, data may be retrieved from local memory, streamed over a network, etc. A video encoding device may encode data and store it in memory, and / or a video decoding device may retrieve data from memory and decode it. In some examples, encoding and decoding are performed by devices that do not communicate with each other, but simply encode data to memory and / or retrieve data from memory and decode it.
[0046] For ease of explanation, embodiments of the present invention are described herein with reference to reference software, such as High Efficiency Video Coding (HEVC) or Generic Video Coding (VVC), the next generation video coding standard developed by the ITU-T Video Coding Experts Group (VCEG) and the ISO / IEC Moving Picture Experts Group (MPEG) Joint Research Team on Video Coding (JCT-VC). Those skilled in the art will appreciate that embodiments of the present invention are not limited to HEVC or VVC.
[0047] Encoder and encoding method FIG. 2 is a schematic block diagram of an example video encoder 20 configured to implement the techniques of the present application. In the example of FIG. 2, the video encoder 20 includes an input 102 (or input interface 201), a residual calculation unit 204, a transform processing unit 206, a quantization unit 208, an inverse quantization unit 210, an inverse transform processing unit 212, a reconstruction unit 214, a loop filter unit 220, a decoded picture buffer (DPB) 230, a mode selection unit 260, an entropy coding unit 270, and an output 272 (or output interface 272). The mode selection unit 260 may include an inter prediction unit 244, an intra prediction unit 254, and a partitioning unit 262. The inter prediction unit 244 may include a motion estimation unit and a motion compensation unit (not shown). The video encoder 20 shown in FIG. 2 may also be referred to as a hybrid video encoder or a video encoder with a hybrid video codec.
[0048] The residual calculation unit 204, the transform processing unit 206, the quantization unit 208, and the mode selection unit 260 may be referred to as forming a forward signal path of the encoder 20, and the inverse quantization unit 210, the inverse transform processing unit 212, the reconstruction unit 214, the buffer 216, the loop filter 220, the decoded picture buffer (DPB) 230, the inter prediction unit 244, and the intra prediction unit 254 may be referred to as forming a backward signal path of the video encoder 20, which corresponds to the signal path of the decoder (see video decoder 30 of FIG. 3). The inverse quantization unit 210, the inverse transform processing unit 212, the reconstruction unit 214, the loop filter 220, the decoded picture buffer (DPB) 230, the inter prediction unit 244, and the intra prediction unit 254 may also be referred to as forming a “built-in decoder” of the video encoder 20.
[0049] Picture & Picture Partitioning (Picture & Block) The encoder 20 may be arranged to receive, for example via an input 202, a picture 17 (or picture data 17), for example a picture of a sequence of pictures forming a video or a video sequence. The received picture or picture data may also be referred to as a preprocessed picture 19 (or preprocessed picture data 19). For simplicity, the following description refers to picture 17. Picture 17 may also be referred to as a current picture or a picture to be coded (particularly in video coding to distinguish the current picture from other pictures, for example from previously coded and / or decoded pictures of the same video sequence, i.e. a video sequence which also includes the current picture).
[0050] A (digital) picture is, or can be thought of as, a two-dimensional array or matrix of samples with intensity values. The samples in the array may also be referred to as pixels (short for picture element) or pels. The number of samples in the horizontal and vertical directions (or axes) of the array or picture defines the size and / or resolution of the picture. For color representation, typically three color components are used, i.e. a picture may be represented by or contain three sample arrays. RGB In a format or color space, a picture contains corresponding red, green, and blue sample arrays. However, in video coding, each sample is typically represented in a luminance / chrominance format or color space, e.g., YCbCr, which contains a luminance component denoted Y (sometimes L is used instead) and two chrominance components denoted Cb and Cr. The luminance (or abbreviated luma) component Y represents the brightness or gray level intensity (e.g., as in a grayscale picture), and the two chrominance (or abbreviated chroma) components Cb and Cr represent the chrominance or color information components. Thus, a picture in YCbCr format contains a luminance sample array of luminance sample values (Y) and two chrominance sample arrays of chrominance values (Cb and Cr). A picture in RGB format can be converted or transformed to YCbCr format and vice versa, a process also known as color transformation or conversion. If the picture is monochrome, it may only contain an array of luminance samples. Thus, a picture may be, for example, in 4:2:0, 4:2:2, and 4:4:4 color formats with an array of luma samples in monochrome format, or an array of luma samples and two corresponding arrays of chroma samples.
[0051] An embodiment of the video encoder 20 may include a picture partitioning unit (not shown in FIG. 2) configured to partition a picture 17 into multiple (typically non-overlapping) picture blocks 203. These blocks may also be referred to as root blocks, macroblocks (H.264 / AVC) or coding tree blocks (CTBs) or coding tree units (CTUs) (H.265 / HEVC and VVC). The picture partitioning unit may be configured to use the same block size for all pictures of a video sequence and a corresponding grid that defines the block size, or to vary the block size between pictures, subsets, or groups of pictures and partition each picture into the corresponding blocks.
[0052] In further embodiments, the video encoder may be configured to directly receive blocks 203 of picture 17, e.g. one, some or all of the blocks forming picture 17. Picture blocks 203 may also be referred to as current picture blocks or picture blocks to be coded.
[0053] Similar to the picture 17, the block 203 is or can be considered as a two-dimensional array or matrix of samples with intensity values (sample values), again with smaller dimensions than the picture 17. In other words, the block 203 may for example contain one sample array (e.g. a luma array in the case of a monochrome picture 17, or a luma or chroma array in the case of a color picture) or three sample arrays (e.g. a luma and two chroma arrays in the case of a color picture 17), or any other quantity and / or type of arrays depending on the color format applied. The number of samples in the horizontal and vertical directions (or axes) of the block 203 defines the size of the block 203. Thus, the block may for example be an MxN (M columns and N rows) array of samples, or an MxN array of transform coefficients.
[0054] As shown in FIG. 2, the encoder 20 is arranged to encode the blocks of the picture 17 on a block-by-block basis, eg encoding and prediction is performed on a block-by-block basis 203 .
[0055] The embodiment of video encoder 20 shown in FIG. 2 may be further configured to partition and / or encode a picture by using slices (also referred to as video slices), where a picture may be partitioned into or encoded using one or more slices (typically non-overlapping), and each slice may include one or more blocks (e.g., CTUs).
[0056] The embodiment of video encoder 20 shown in FIG. 2 may be further configured to partition and / or encode a picture by using tile groups (also referred to as video tile groups) and / or tiles (also referred to as video tiles), where a picture may be partitioned into or encoded using one or more tile groups (typically non-overlapping), each tile group may, for example, include one or more blocks (e.g., CTUs) or one or more tiles, and each tile may, for example, be rectangular in shape and include one or more blocks (e.g., CTUs), e.g., complete or fractional blocks.
[0057] Residual calculation The residual calculation unit 204 may be configured to calculate a residual block 205 (also referred to as residual 205) based on the picture block 203 and the prediction block 265 (further details about the prediction block 265 will be described later), for example by subtracting sample values of the prediction block 265 sample-by-sample (pixel-by-pixel) from sample values of the picture block 203 to obtain the residual block 205 in the sample domain.
[0058] conversion The transform processing unit 206 may be configured to apply a transform, such as a discrete cosine transform (DCT) or a discrete sine transform (DST), on the sample values of the residual block 205 to obtain transform coefficients 207 in the transform domain. The transform coefficients 207 may also be called transform residual coefficients and represent the residual block 205 in the transform domain.
[0059] The transform processing unit 206 may be configured to apply an integer approximation of a DCT / DST, such as the transform specified for HEVC / H.265. Compared to an orthogonal DCT transform, such an integer approximation is typically scaled by a factor. To ensure the norm of the residual blocks processed by the forward and inverse transforms, an additional scaling factor is applied as part of the transform process. The scaling factor is typically selected based on certain constraints, such as a scaling factor that is a power of two due to shift operations, the bit depth of the transform coefficients, a trade-off between accuracy and implementation cost, etc. A particular scaling factor may be specified for the inverse transform, e.g., by the inverse transform processing unit 212 (and the corresponding inverse transform, e.g., by the inverse transform processing unit 312 in the video decoder 30), and the corresponding scaling factor for the forward transform, e.g., by the transform processing unit 206 in the encoder 20, may be specified accordingly.
[0060] An embodiment of the video encoder 20 (individual transform processing units 206) may be configured to output transform parameters, e.g., a type of transform or multiple transforms, either directly or encoded or compressed by an entropy coding unit 270, so that the video decoder 30 can receive and use the transform parameters for decoding.
[0061] quantization The quantization unit 208 may be configured to quantize the transform coefficients 207, for example by applying scalar quantization or vector quantization, to obtain quantized coefficients 209. The quantized coefficients 209 may also be referred to as quantized transform coefficients 209 or quantized residual coefficients 209.
[0062] The quantization process may reduce the bit depth associated with all or some of the transform coefficients 207. For example, an n-bit transform coefficient may be rounded to an m-bit transform coefficient during quantization, where n is greater than m. The degree of quantization may be modified by adjusting a quantization parameter (QP). For example, for scalar quantization, different scaling may be applied to achieve finer or coarser quantization. A smaller quantization step corresponds to a finer quantization and a larger quantization step corresponds to a coarser quantization. The applicable quantization step size may be indicated by the quantization parameter (QP). For example, the quantization parameter may be an index to a predefined set of applicable quantization step sizes. For example, a small quantization parameter may correspond to fine quantization (small quantization step size) and a large quantization parameter may correspond to coarse quantization (large quantization step size), or vice versa. Quantization may include a division by the quantization step size, and corresponding and / or inverse quantization, e.g., by the inverse quantization unit 210, may include a multiplication by the quantization step size. Some standards, e.g., HEVC, may be configured to use a quantization parameter to determine the quantization step size. In general, the quantization step size may be calculated based on the quantization parameter using a fixed-point approximation of an equation involving division. An additional scaling factor may be introduced for quantization and inverse quantization to restore the norm of the residual block, which may be modified due to the scaling used in the fixed-point approximation of the equation for the quantization step size and the quantization parameter. In one exemplary implementation, the scaling of the inverse transform and the inverse quantization may be combined. Alternatively, customized quantization tables may be used and signaled from the encoder to the decoder, e.g., in the bitstream. Quantization is a non-lossless operation, and increasing the quantization step size increases the loss.
[0063] An embodiment of video encoder 20 (each quantization unit 208) may be configured to output a quantization parameter (QP), e.g., directly or encoded by entropy encoding unit 270, so that video decoder 30 can receive and apply the quantization parameter for decoding.
[0064] inverse quantization The inverse quantization unit 210 is configured to apply the inverse quantization of the quantization unit 208 to the quantized coefficients, e.g., by applying the inverse of the quantization scheme applied by the quantization unit 208 based on or using the same quantization step as the quantization unit 208, to obtain inverse quantized coefficients 211. The inverse quantized coefficients 211, which may also be referred to as inverse quantized residual coefficients 211, correspond to the transform coefficients 207, but due to losses due to quantization, typically do not match the transform coefficients.
[0065] Inverse transformation The inverse transform processing unit 212 is configured to apply an inverse transform of the transform applied by the transform processing unit 206, such as an inverse discrete cosine transform (DCT) or an inverse discrete sine transform (DST) or other inverse transform, to obtain a reconstructed residual block 213 (corresponding dequantized coefficients 213) in the sample domain. The reconstructed residual block 213 may also be referred to as a transform block 213.
[0066] Reconstruction The reconstruction unit 214 (e.g. an adder or summation unit 214) is configured to add the transform block 213 (i.e. the reconstructed residual block 213) to the prediction block 265 to obtain a reconstructed block 215 in the sample domain, e.g. by adding sample values of the reconstructed residual block 213 and the prediction block 265 sample-by-sample.
[0067] filtering The loop filter unit 220 (or “loop filter” 220 for short) is configured to filter the reconstructed block 215 to obtain a filtered block 221, or in general, to filter the reconstructed samples to obtain filtered samples. The loop filter unit is configured to, for example, smooth pixel transitions or otherwise improve video quality. The loop filter unit 220 may include one or more loop filters, such as a deblocking filter, a sample adaptive offset (SAO) filter, or one or more other filters, such as a bilateral filter, an adaptive loop filter (ALF), a sharpening or smoothing filter, or a collaborative filter, or any combination thereof. Although the loop filter unit 220 is illustrated in FIG. 2 as being an in-loop filter, in other configurations the loop filter unit 220 may be implemented as a post-loop filter. The filtered block 221 may also be referred to as a filtered reconstructed block 221.
[0068] An embodiment of video encoder 20 (respective loop filter unit 220) may be configured to output loop filter parameters (such as sample adaptive offset information), e.g., directly or via encoding by entropy decoding unit 270, so that, e.g., decoder 30 may receive and apply the same loop filter parameters or the respective loop filter for decoding.
[0069] Decoded picture buffer The decoded picture buffer (DPB) 230 may be a memory that stores reference pictures or, in general, reference picture data for use in encoding the video data by the video encoder 20. The DPB 230 may be formed by any of a variety of memory devices, such as a dynamic random access memory (DRAM), including a synchronous DRAM (SDRAM), a magnetoresistive RAM (MRAM), a resistive RAM (RRAM), or other types of memory devices. The decoded picture buffer (DPB) may be configured to store one or more filtered blocks 221. The decoded picture buffer 230 may be further configured to store other previously filtered blocks, such as, for example, previously reconstructed filtered blocks 221, of the same current picture or of a different picture, such as, for example, a previously reconstructed picture, and may provide a completely previously reconstructed, i.e. decoded picture (and corresponding reference blocks and corresponding samples) and / or a partially reconstructed current picture (and corresponding reference blocks and corresponding samples), for example for inter prediction. The decoded picture buffer (DPB) 230 may also be configured to store one or more unfiltered reconstructed blocks 215, or in general unfiltered reconstructed samples, e.g. if the reconstructed blocks 215 have not been filtered by the loop filter unit 220, or any other further processed version of the reconstructed blocks or samples.
[0070] Mode Selection (Partitioning & Prediction) The mode selection unit 260 includes a partitioning unit 262, an inter prediction unit 244, and an intra prediction unit 254, and is configured to receive or obtain original picture data, e.g. an original block 203 (current block 203 of current picture 17), and reconstructed picture data, e.g. filtered and / or unfiltered samples or blocks of the same (current) picture and / or from one or more previously decoded pictures, e.g. from the decoded picture buffer 230 or another buffer (e.g. a line buffer, not shown). The reconstructed picture data is used as reference picture data for prediction, e.g. inter prediction or intra prediction, to obtain a prediction block 265 or a predictor 265.
[0071] The mode selection unit 260 may be configured to determine or select a prediction mode (not including partitioning) and partitioning for the prediction mode (e.g., intra or inter prediction mode) of the current block and generate a corresponding prediction block 265 used for calculation of the residual block 205 and reconstruction of the reconstruction block 215.
[0072] An embodiment of the mode selection unit 260 can be configured to select a partitioning and prediction mode (e.g., from those supported by or available to the mode selection unit 260) that provides the best match, or in other words, the smallest residual (smallest residual means better compression for transmission or storage), or the smallest signaling overhead (smallest signaling overhead means better compression for transmission or storage), or that considers or balances both. The mode selection unit 260 may be configured to determine the partitioning and prediction mode based on rate-distortion optimization (RDO), i.e., to select the prediction mode that provides the smallest rate-distortion. Terms such as "best," "lowest," "optimal" in this context do not necessarily refer to an overall "best," "lowest," "optimal," etc., but could also refer to termination or selection criteria such as a value above or below a threshold, or the achievement of other constraints that may result in a "suboptimal selection," but that reduce complexity and processing time.
[0073] In other words, the partitioning unit 262 may be configured to partition the block 203 into smaller block partitions or sub-blocks (which again form blocks) using, for example, quad-tree partitioning (QT), binary partitioning (BT) or ternary tree partitioning (TT) or any combination thereof in an iterative manner and to perform, for example, prediction on each of the block partitions or sub-blocks, wherein the mode selection includes selection of a tree structure of the partitioned block 203 and a prediction mode is applied to each of the block partitions or sub-blocks.
[0074] The partitioning (eg, by partitioning unit 260) and prediction processes (eg, by inter prediction unit 244 and intra prediction unit 254) performed by exemplary video encoder 20 are described in more detail below.
[0075] Partitioning The partitioning unit 262 may partition (or split) the current block 203 into smaller partitions, e.g., smaller blocks of square or rectangular size. These smaller blocks (sometimes referred to as sub-blocks) may be further partitioned into even smaller partitions. This is also called tree partitioning or hierarchical tree partitioning, where e.g., a root block at root tree level 0 (hierarchical level 0, depth 0) may be recursively partitioned, e.g., into two or more blocks at the next lower tree level, e.g., into nodes at tree level 1 (hierarchical level 1, depth 1), which may then be partitioned again into two or more blocks at the next lower level, e.g., into tree level 2 (hierarchical level 2, depth 2), etc., until the partitioning is terminated, e.g., due to a termination criterion being met, e.g., a maximum tree depth or a minimum block size being reached. The blocks that are not partitioned may also be called leaf blocks or leaf nodes of the tree. A tree that uses a partitioning into two partitions is called a binary tree (BT), a tree that uses a partitioning into three partitions is called a ternary tree (TT), and a tree that uses a partitioning into four partitions is called a quad tree (QT).
[0076] As mentioned above, the term "block" as used herein may be a portion of a picture, particularly a square or rectangular portion. For example, with reference to HEVC and VVC, a block may be or correspond to a coding tree unit (CTU), a coding unit (CU), a prediction unit (PU), and a transform unit (TU), and / or a corresponding block, such as a coding tree block (CTB), a coding block (CB), a transform block (TB), or a prediction block (PB).
[0077] For example, a coding tree unit (CTU) may be or include a CTB of luma samples, two corresponding CTBs of chroma samples for a picture with three sample arrays, or a CTB of samples of a picture or monochrome picture coded using three separate color planes and syntax structures used to code the samples. Correspondingly, a coding tree block (CTB) may be an NxN block of samples for some value N, such that the division of the components into CTBs is a partitioning. A coding unit (CU) may be or include a coding block of luma samples, two corresponding coding blocks of chroma samples for a picture with three sample arrays, or a coding block of samples of a picture or monochrome picture coded using three separate color planes and syntax structures used to code the samples. Correspondingly, a coding block (CB) may be an MxN block of samples for some value of M and N, such that the division of the CTBs into coding blocks is a partitioning.
[0078] In an embodiment, for example according to HEVC, coding tree units (CTUs) can be partitioned into CUs by using a quadtree structure, denoted as coding tree. The decision whether to code a picture area using inter-picture (temporal) or intra-picture (spatial) prediction is made at the leaf CU level. Each leaf CU can be further partitioned into one, two or four PUs depending on the PU partition type. Within one PU, the same prediction process is applied and related information is sent to the decoder on a PU basis. After obtaining the residual blocks by applying the prediction process based on the PU partition type, the CUs can be partitioned into transform units (TUs) according to another quadtree structure similar to the coding tree of the CU.
[0079] In an embodiment, for example, a combined quad-tree and binary tree (QTBT) partitioning is used to partition the coding blocks, for example according to the latest video coding standard currently under development, called Generic Video Coding (VVC). In the QTBT block structure, the CUs can have either a square or rectangular shape. For example, the coding tree units (CTUs) are first partitioned by a quad-tree structure. The quad-tree leaf nodes are further partitioned by a binary or ternary tree (or triple) structure. Partitioning the tree leaf nodes is called coding tree units (CUs), whose segmentation is used for prediction and transform processes without any further partitioning. This means that CUs, PUs, and TUs have the same block size in the QTBT coding block structure. In parallel, multiple partitions, for example triple tree partitions, may be used with the QTBT block structure.
[0080] In one example, mode selection unit 260 of video encoder 20 may be configured to perform any combination of the partitioning techniques described herein.
[0081] As described above, video encoder 20 may be configured to determine or select a best or optimal prediction mode from a (e.g., predetermined) set of prediction modes, which may include, for example, intra-prediction modes and / or inter-prediction modes.
[0082] Intra prediction The set of intra prediction modes may include 35 different intra prediction modes, e.g., non-directional modes such as DC (or average) mode and planar mode, or directional modes as specified in HEVC, or may include 67 different intra prediction modes, e.g., non-directional modes such as DC (or average) mode and planar mode, or directional modes as specified in VVC.
[0083] The intra prediction unit 254 is configured to generate an intra prediction block 265 using reconstructed samples of neighboring blocks of the same current picture according to an intra prediction mode of the set of intra prediction modes.
[0084] Intra prediction unit 254 (or, in general, mode selection unit 260) is further configured to output intra prediction parameters (or, in general, information indicating the selected intra prediction mode for the block) to entropy coding unit 270 in the form of syntax element 266 for inclusion in encoded picture data 21, so that, for example, video decoder 30 can receive and use the prediction parameters for decoding. Intra prediction unit 254 may include an intra sub-partition (ISP) coding mode, which further divides a coding unit into several prediction blocks, which may be predicted in sequence.
[0085] Inter Prediction The set of (possible) inter prediction modes is determined based on available reference pictures (i.e., previous pictures that have been at least partially decoded, e.g. DPB 230) and other inter prediction parameters, such as whether the whole reference picture or only a part of it, e.g. a search window area around the area of the current block, of the reference picture is used to search for the best matching reference block, and / or whether e.g. half / semi-pel, quarter-pel interpolation is applied, etc.
[0086] In addition to the above prediction modes, skip mode and / or direct mode may also be applied.
[0087] The inter prediction unit 244 may include a motion estimation (ME) unit and a motion compensation (MC) unit (both not shown in FIG. 2). The motion estimation unit is configured to receive or obtain a picture block 203 (current picture block 203 of current picture 17) and a decoded picture 231, or at least one or more previously reconstructed blocks, e.g. reconstructed blocks of one or more other / different previously decoded pictures 231, for motion estimation. For example, a video sequence may include the current picture and the previously decoded picture 231, or in other words, the current picture and the previously decoded picture 231 may be part of pictures forming a video sequence or may form a sequence of pictures.
[0088] The encoder 20 may be configured, for example, to select a reference block from multiple reference blocks of the same or different pictures among multiple other pictures and provide the reference picture (or reference picture index) and / or an offset (spatial offset) between the position (x,y coordinates) of the reference block and the position of the current block as inter prediction parameters to a motion estimation unit (not shown in FIG. 2 ), which is also called a motion vector (MV).
[0089] The motion compensation unit is configured to obtain, e.g., receive, inter prediction parameters and perform inter prediction based on or using the inter prediction parameters to obtain an inter prediction block 265. The motion compensation performed by the motion compensation unit may include fetching or generating a prediction block based on a motion / block vector determined by motion estimation, possibly performing interpolation up to sub-pixel accuracy. Interpolation filtering may generate additional pixel samples from known pixel samples, thus potentially increasing the number of candidate prediction blocks that may be used to code the picture block. Upon receiving a motion vector for the PU of the current picture block, the motion compensation unit may locate the prediction block to which the motion vector points in one of the reference picture lists.
[0090] The motion compensation unit may also generate syntax elements associated with blocks and video slices for use by video decoder 30 in decoding picture blocks of the video slices. In addition to or as an alternative to slices and their respective syntax elements, tile groups and / or tiles and their respective syntax elements may be generated or used.
[0091] Entropy Coding The entropy coding unit 270 is configured to apply an entropy coding algorithm or scheme (e.g., a variable length coding (VLC) scheme, a context-adaptive VLC scheme (CALVC), an arithmetic coding scheme, binarization, context-adaptive binary arithmetic coding (CABAC), syntax-based context-adaptive binary arithmetic coding (SBAC), probability interval partitioning entropy (PIPE) coding, or other entropy coding method or technique) to the quantized residual coefficients 209, the inter-prediction parameters, the intra-prediction parameters, the loop filter parameters, and / or other syntax elements, or to bypass (uncompress) to obtain coded picture data 21, e.g. in the form of a coded bitstream 21, which can be output by an output 272, so that e.g. the video decoder 30 can receive and use the parameters for decoding. The coded bitstream 21 may be transmitted to the video decoder 30 or may be stored in a memory for later transmission or retrieval by the video decoder 30.
[0092] Other structural variations of the video encoder 20 may be used to encode the video stream. For example, a non-transform-based encoder 20 may directly quantize the residual signal for a particular block or frame without the transform processing unit 206. In another implementation, the encoder 20 may combine the quantization unit 208 and the inverse quantization unit 210 into a single unit.
[0093] Decoder and decoding method 3 illustrates an example of a video decoder 30 configured to implement the techniques of the present application. The video decoder 30 is configured to receive coded picture data 21 (e.g., coded bitstream 21), e.g., as coded by encoder 20, to obtain a decoded picture 131. The coded picture data or bitstream includes information for decoding the coded picture data, e.g., data representing picture blocks (and / or tile groups or tiles) of a coded video slice and associated syntax elements.
[0094] In the example of FIG. 3, the decoder 30 includes an entropy decoding unit 304, an inverse quantization unit 310, an inverse transform processing unit 312, a reconstruction unit 314 (e.g., an adder 314), a loop filter 320, and a buffer for storing decoded pictures (e.g., a buffer for storing decoded pictures). DPB 2.) 330, and a mode application unit 360, an inter prediction unit 344, and an intra prediction unit 354. The inter prediction unit 344 may be or may include a motion compensation unit. Video decoder 30 may, in some examples, perform a decoding path that is generally the reverse of the encoding path described with respect to video encoder 100 in accordance with FIG.
[0095] As described with respect to encoder 20, inverse quantization unit 210, inverse transform processing unit 212, reconstruction unit 214, loop filter 220, decoded picture buffer (DPB) 230, inter prediction unit 344, and intra prediction unit 354 are also referred to as forming a "built-in decoder" of video encoder 20. Accordingly, inverse quantization unit 310 may be functionally identical to inverse quantization unit 110, inverse transform processing unit 312 may be functionally identical to inverse transform processing unit 212, reconstruction unit 314 may be functionally identical to reconstruction unit 214, loop filter 320 may be functionally identical to loop filter 220, and decoded picture buffer 330 may be functionally identical to decoded picture buffer 230. Accordingly, the descriptions provided for each unit and function of video encoder 20 apply correspondingly to each unit and function of video decoder 30.
[0096] Entropy Decoding The entropy decoding unit 304 is configured to analyze the bitstream 21 (or the coded picture data 21 in general) and, for example, perform entropy decoding on the coded picture data 21 to obtain, for example, quantization coefficients 309 and / or decoded coding parameters (not shown in FIG. 3 ), such as inter prediction parameters (e.g., reference picture indexes and motion vectors), intra prediction parameters (e.g., intra prediction modes or indices), transform parameters, quantization parameters, loop filter parameters, and / or other syntax elements. The entropy decoding unit 304 may be configured to apply a decoding algorithm or scheme corresponding to an encoding scheme as described with respect to the entropy encoding unit 270 of the encoder 20. The entropy decoding unit 304 may be further configured to provide the inter prediction parameters, intra prediction parameters and / or other syntax elements to the mode application unit 360 and provide other parameters to other units of the decoder 30. Video decoder 30 may receive syntax elements at the video slice level and / or the video block level. In addition to or as an alternative to slices and their respective syntax elements, tile groups and / or tiles and their respective syntax elements may be received and / or used.
[0097] inverse quantization Inverse quantization unit 310 may be configured to receive a quantization parameter (QP) (or in general, information regarding inverse quantization) and quantization coefficients from encoded picture data 21 (e.g., by parsing and / or decoding, e.g., by entropy decoding unit 304) and, based on the quantization parameter, apply inverse quantization on the decoded quantized coefficients to obtain unquantized coefficients 311, which may also be referred to as transform coefficients 311. The inverse quantization process may include using the quantization parameter determined by video encoder 20 for each video block in a video slice (or tile or tile group) to determine the degree of quantization, and thus the degree of inverse quantization to be applied.
[0098] Inverse transformation The inverse transform processing unit 312 may be configured to receive the unquantized coefficients 311, also referred to as transform coefficients 311, and to apply a transform to the unquantized coefficients 311 to obtain a reconstructed residual block 213 in the sample domain. The reconstructed residual block 213 may also be referred to as a transform block 313. The transform may be an inverse transform, e.g., an inverse DCT, an inverse DST, an inverse integer transform, or a conceptually similar inverse transform process. The inverse transform processing unit 312 may further be configured to receive transform parameters or corresponding information from the coded picture data 21 (e.g., by analysis and / or decoding, e.g., by the entropy decoding unit 304) to determine the transform to be applied to the unquantized coefficients 311.
[0099] Reconstruction A reconstruction unit 314 (e.g. an adder or summation unit 314) may be configured to add the reconstructed residual block 313 to the prediction block 365 to obtain a reconstructed block 315 in the sample domain, e.g. by adding sample values of the reconstructed residual block 313 and sample values of the prediction block 365.
[0100] filtering A loop filter unit 320 (either in the coding loop or after the coding loop) is configured to filter the reconstructed block 315 to obtain a filtered block 321, e.g., to smooth pixel transitions or otherwise improve video quality. The loop filter unit 320 may include a deblocking filter, a sample adaptive offset (SAO) filter, or one or more other filters, e.g., a bilateral filter, an adaptive loop filter (ALF), a sharpening or smoothing filter, or a collaborative filter, or any combination thereof. Although the loop filter unit 320 is shown in FIG. 3 as an in-loop filter, in other configurations the loop filter unit 320 may be realized as a post-loop filter.
[0101] Decoded picture buffer The decoded video blocks 321 of the picture are stored in a decoded picture buffer 330, which stores the decoded picture 331 as a reference picture for subsequent motion compensation for other pictures and / or the output display, respectively.
[0102] The decoder 30 outputs the decoded picture 331 for presentation or display to a user, for example via output 332.
[0103] prediction The inter prediction unit 344 may be identical to the inter prediction unit 244 (in particular the motion compensation unit), and the intra prediction unit 354 may be functionally identical to the inter prediction unit 254 and performs the division or partitioning decision and prediction based on the partitioning and / or prediction parameters or respective information received from the coded picture data 21 (e.g. by analysis and / or decoding, e.g. by the entropy decoding unit 304). The mode application unit 360 may be configured to perform prediction (intra prediction or inter prediction) for each block based on the reconstructed picture, block or respective samples (filtered or unfiltered) to obtain a prediction block 365.
[0104] When a video slice is coded as an intra-coded (I) slice, intra prediction unit 354 of mode application unit 360 is configured to generate a prediction block 365 for a picture block of the current video slice based on data from a previously decoded block of the current picture and a signaled intra prediction mode. When a video picture is coded as an inter-coded (i.e., B or P) slice, inter prediction unit 344 (e.g., a motion compensation unit) of mode application unit 360 is configured to generate a prediction block 365 for a video block of the current video slice based on a motion vector and another syntax element received from entropy decoding unit 304. For inter prediction, the prediction block may be generated from one reference picture in one reference picture list. Video decoder 30 may construct the reference frame lists, List0 and List1, using a default construction technique based on the reference pictures stored in DPB 330. The same or similar may apply to or with embodiments that use tile groups (e.g., video tile groups) and / or tiles (e.g., video tiles) in addition to or instead of slices (e.g., video slices), e.g., video may be coded using I, P or B tile groups and / or tiles.
[0105] Mode application unit 360 is configured to determine prediction information for the video blocks of the current video slice by parsing the motion vectors or related information and other syntax elements, and to generate a prediction block for the current video block to be decoded using the prediction information. For example, mode application unit 360 uses some of the received syntax elements to determine a prediction mode (e.g., intra or inter prediction) used to code the video blocks of the video slice, an inter-prediction slice type (e.g., a B slice, a P slice, or a GPB slice), configuration information for one or more of the reference picture lists of the slice, a motion vector for each inter-coded video block of the slice, an inter-prediction status for each inter-coded video block of the slice, and other information for decoding video blocks in the current video slice. The same or similar may apply to or with embodiments that use tile groups (e.g., video tile groups) and / or tiles (e.g., video tiles) in addition to or instead of slices (e.g., video slices), e.g., video may be coded using I, P or B tile groups and / or tiles.
[0106] The embodiment of video decoder 30 shown in FIG. 3 may be configured to partition and / or decode a picture by using slices (also referred to as video slices), where a picture may be partitioned or decoded into one or more slices (typically non-overlapping), and each slice may include one or more blocks (e.g., CTUs).
[0107] The embodiment of video decoder 30 shown in FIG. 3 may be configured to partition and / or decode a picture by using tile groups (also referred to as video tile groups) and / or tiles (also referred to as video tiles), where a picture may be partitioned or decoded into one or more tile groups (typically non-overlapping), each of which may include, for example, one or more blocks (e.g., CTUs) or one or more tiles, and each tile may be, for example, rectangular in shape and may include one or more blocks (e.g., CTUs), e.g., complete or fractional blocks.
[0108] Other variations of the video decoder 30 may be used to decode the encoded picture data 21. For example, the decoder 30 may generate an output video stream without a loop filtering unit 320. For example, a non-transform-based decoder 30 may inverse quantize the residual signal directly for a particular block or frame, without the inverse transform processing unit 312. In another implementation, the video decoder 30 may combine the inverse quantization unit 310 and the inverse transform processing unit 312 into a single unit.
[0109] It should be understood that in the encoder 20 and the decoder 30, the processing result of the current step may be further processed and then output to the next step. For example, after the interpolation filtering, the motion vector derivation, or the loop filtering, further processing such as clipping or shifting may be performed on the processing result of the interpolation filtering, the motion vector derivation, or the loop filtering.
[0110] 4 is a schematic diagram of a video coding device 400 according to an embodiment of the present disclosure. Video coding device 400 is suitable for implementing the disclosed embodiments as described herein. In an embodiment, video coding device 400 may be a decoder, such as video decoder 30 of FIG. 1A, or an encoder, such as video encoder 20 of FIG. 1A.
[0111] The video coding device 400 includes an ingress port 410 and a receiver unit (Rx) 420 for receiving data, a processor, logic unit, or central processing unit 430 (CPU) for processing the data, a transmitter unit (Tx) 440 and an egress port 450 (or output port 450) for transmitting the data, and a memory 460 for storing data. The video coding device 400 may also include optical-electrical (OE) and electrical-optical (EO) components coupled to the ingress port 410, the receiver unit 420, the transmitter unit 440, and the egress port 450 for entering and leaving optical or electrical signals.
[0112] The processor 430 is implemented by hardware and software. The processor 430 may be implemented as one or more CPU chips, cores (e.g., multi-core processors), FPGAs, ASICs, and DSPs. The processor 430 communicates with the ingress port 410, the receiver unit 420, the transmitter unit 440, the egress port 450, and the memory 460. The processor 430 includes a coding module 470. The coding module 470 implements the disclosed embodiments described above. For example, the coding module 470 implements, processes, prepares, or provides various coding operations. Thus, the inclusion of the coding module 470 provides a significant improvement to the functionality of the video coding device 400 and affects the transformation of the video coding device 400 into different states. Alternatively, the coding module 470 is implemented as instructions stored in the memory 460 and executed by the processor 430.
[0113] Memory 460 may include one or more disks, tape drives, and solid state drives, may be used as overflow data storage devices, may store programs when such programs are selected for execution, and may store instructions and data loaded during the execution of programs. Memory 460 may be volatile and / or non-volatile, and may be read only memory (ROM), random access memory (RAM), ternary content addressable memory (TCAM), and / or static random access memory (SRAM).
[0114] FIG. 5 is a simplified block diagram of an apparatus 500 that can be used as either or both of the source device 120 and the destination device 14 of FIG. 1, according to an example embodiment.
[0115] The processor 502 in the device 500 may be a central processing unit. Alternatively, the processor 502 may be any other type of device or devices capable of manipulating or processing information, now existing or later developed. Although the disclosed implementations may be implemented using a single processor, such as processor 502, as shown, advantages in speed and efficiency may be obtained using more than one processor.
[0116] The memory 504 in the device 500 may be a read-only memory (ROM) device or a random access memory (RAM) device in implementation. Any other suitable type of storage device may be used as the memory 504. The memory 504 may include code and data 506 that is accessed by the processor 502 using a bus 512. The memory 504 may further include an operating system 508 and application programs 510, which include at least one program that enables the processor 502 to perform the methods described herein. For example, the application programs 510 may include applications 1 through N, which further include a video coding application that performs the methods described herein. The device 500 may also include one or more output devices, such as a display 518. The display 518 may be, in one example, a touch-sensitive display that combines a display with touch-sensitive elements operable to sense touch input. The display 518 may be coupled to the processor 502 via the bus 512.
[0117] Although depicted herein as a single bus, bus 512 of device 500 may be comprised of multiple buses. Additionally, secondary storage 514 may be directly coupled to other components of device 500 or may be accessed over a network, and may include a single integrated unit such as a memory card or multiple units such as multiple memory cards. Thus, device 500 may be implemented in a wide variety of configurations.
[0118] The Intra Sub-Partition (ISP) coding mode is an updated version of Line-Based Intra Prediction (LIP) coding. The previous version of the Intra Sub-Partition coding mode supports only one chroma subsampling (also called chroma format or chroma color format) - 4:2:0, and does not have any parameters for supporting other chroma formats. In particular, the previous version of the Intra Sub-Partition coding mode cannot work with chroma subsampling 4:4:4, which is widely used in applications. The embodiment of the present invention extends the Intra Sub-Partition coding mode to cover all chroma subsamplings. The embodiments of the present invention propose two solutions to extend the intra sub-partition coding modes to cover chroma subsampling: 1) Add two input parameters SubWidthC and SubHeightC, corresponding to horizontal and vertical chroma subsampling, which are used to derive the chroma transform block size. 2) Extension of the normal case: for chroma subsampling 4:4:4, the ISP partitions for chroma correspond to the ISP partitions for luma.
[0119] A (digital) picture is, or can be thought of as, a two-dimensional array or matrix of samples with intensity values. The samples in the array may also be referred to as pixels (short for picture element) or pels. The number of samples in the horizontal and vertical directions (or axes) of the array or picture defines the size and / or resolution of the picture. For color representation, typically three color components are used, i.e. a picture may be represented by or contain three sample arrays. RGBIn a format or color space, a picture contains corresponding arrays of red, green, and blue samples. However, in video coding, each pixel is typically represented in a luminance and chrominance format or color space, such as YCbCr, which contains a luminance component denoted Y (sometimes L is used instead) and two chrominance components denoted Cb and Cr.
[0120] The luma and chroma components can have different subsampling: for example, in the so-called 4:2:0 chroma format, each of the two chroma arrays has half the height and half the width of the luma array.
[0121] The VVC specification describes five different formats for chroma representation. These formats are presented in Table 1. Table 1. Chroma formats described in the VVC specification1 [Table 1]
[0122] The columns in this table have the following meaning: chroma_format_idc indicates the chroma sampling relative to the luma sampling. The value of chroma_format_idc shall be in the range 0 to 3, inclusive.
[0123] separate_colour_plane_flag equal to 1 indicates that the three colour components of the 4:4:4 chroma format are coded separately. separate_colour_plane_flag equal to 0 indicates that the colour components are not coded separately. If separate_colour_plane_flag is not present, it is inferred to be equal to 0. If separate_colour_plane_flag is equal to 1, the coded picture consists of three separate components, each of which consists of coded samples of one colour plane (Y, Cb or Cr), and uses the monochrome coding syntax. In this case, each colour plane is associated with a specific colour_plane_id value. NOTE 1 - There is no dependency in the decoding process between color planes with different color_plane_id values. For example, the decoding process of a monochrome picture with one value of color_plane_id does not use any data from a monochrome picture with a different value of color_plane_id for inter prediction.
[0124] Depending on the value of separate_color_plane_flag, the value of the variable ChromaArrayType is assigned as follows: - if separate_colour_plane_flag is equal to 0, ChromaArrayType is set equal to chroma_format_idc. - Otherwise (separate_colour_plane_flag is equal to 1), ChromaArrayType is set equal to 0.
[0125] The chroma format determines the priority and subsampling of the chroma array. In monochrome sampling, there is only one sample array, nominally considered the luma array. In 4:2:0 sampling, each of the two chroma arrays has half the height and half the width of the luma array. In 4:2:2 sampling, each of the two chroma arrays has the same height and half the width of the luma array. For 4:4:4 sampling, depending on the value of separate_colour_plane_flag the following applies: - If separate_color_plane_flag is equal to 0, each of the two chroma arrays has the same height and width as the luma array. - Otherwise (separate_color_plane_flag is equal to 1), the three color planes are treated separately as a monochrome sampled picture.
[0126] The number of bits required to represent each sample in the luma and chroma arrays in a video sequence may range from 8 to 16 inclusive, and the number of bits used in the luma array may differ from the number of bits used in the chroma arrays. When the value of chroma_format_idc is equal to 1, the nominal vertical and horizontal relative positions of the luma and chroma samples in the picture are as shown in Figure 6. Alternative chroma sample relative positions may be indicated in the video usability information. When the value of chroma_format_idc is equal to 2, the chroma samples coexist with the corresponding luma samples and their nominal positions in the picture are shown in Figure 7. When the value of chroma_format_idc is equal to 3, all array samples are co-located with respect to the picture in all cases and their nominal positions in the picture are shown in Figure 8.
[0127] The variables SubWidthC and SubHeightC depend on the chroma format sampling structure specified in Table 1, which in turn is specified by chroma_format_idc and separate_colour_plane_flag. Alternatively, SubWidthC and SubHeightC can be determined as follows: SubWidthC = (1 + log2(w luma / w chroma )) SubHeightC = (1 + log2(h luma / h chroma )), w luma ,h luma are the dimensions of the luma array, and w chroma, h chroma are the dimensions of the corresponding chroma array. Thus, the variables SubWidthC and SubHeightC represent the ratio between the luma and chroma sizes.
[0128] In the first embodiment, the ISP technique performs sub-partitioning only for luma blocks, and for chroma blocks, prediction and further transformation are performed for the entire CU block without partitioning. It should be noted that at the transform unit stage, the TUs of chroma blocks should be treated according to the chroma format specified in the bitstream, e.g., at the SPS level, and common values described in the relationship between luma and chroma size, e.g., SubWidthC and SubHeightC, shall be used. Table 2 below shows an example of chroma TU position and size determination for the first embodiment.
[0129] Table 2 - Example of transform_unit syntax table for the first embodiment [Table 2]
[0130] In Table 2, the coordinates x0, y0 and the sizes tbWidth, tbHeight represent the position and size of the current luma TU block; the global arrays CbPosX, CbPosY, CbWidth, CbHeight allow to obtain the position and size of the CU. Thus, the coordinates and sizes xC, yC, wC, hC are calculated to represent a chroma TU block equal to a chroma CU block. It should be noted that depending on the chroma color format used, the chroma block size may differ from the corresponding luma block size, therefore, when dealing with all chroma format cases, the width and height of the chroma block are normalized accordingly by SubWidthC and SubHeightC.
[0131] In this embodiment, the bitstream includes information indicating an intra sub-partition (ISP). For example, the information indicating an ISP is a flag. The flag may be intra_subpartitions_split_flag and / or intra_subpartitions_mode_flag. After receiving the bitstream, the decoder parses the bitstream to obtain the flag. Then, the decoder determines the information of the ISP, for example, IntraSubPartitionsSplitType, based on the flag.
[0132] intra_subpartitions_mode_flag[x0][y0] equal to 1 indicates that the current intra coding unit is partitioned into NumIntraSubPartitions[x0][y0] rectangular transform block sub-partitions. intra_subpartitions_mode_flag[x0][y0] equal to 0 indicates that the current intra coding unit is not partitioned into rectangular transform block sub-partitions.
[0133] If intra_subpartitions_mode_flag[x0][y0] is not present, it is inferred to be equal to 0. intra_subpartitions_split_flag[x0][y0] indicates whether the intra-subpartition split type is horizontal or vertical. If intra_subpartitions_split_flag[x0][y0] is not present, it is inferred as follows: - If cbHeight is greater than MaxTbSizeY, intra_subpartitions_split_flag[x0][y0] is inferred to be equal to 0. - Otherwise (cbHeight is greater than MaxTbSizeY), intra_subpartitions_split_flag[x0][y0] is inferred to be equal to 1.
[0134] The variable IntraSubPartitionsSplitType specifies the type of splitting used for the current luma coding block, as shown in Table 3. IntraSubPartitionsSplitType is derived as follows: - if intra_subpartitions_mode_flag[x0][y0] is equal to 0, then IntraSubPartitionsSplitType is set equal to 0. - Otherwise, IntraSubPartitionsSplitType is It is set equal to 1 + intra_subpartitions_split_flag[x0][y0]. Table 3 - Names associated with IntraSubPartitionsSplitType [Table 3]
[0135] Then, the ISP information indicating whether an ISP is used to split the luma coding blocks of the coding unit is indicated by IntraSubPartitionsSplitType. If IntraSubPartitionsSplitType != ISP_NO_SPLIT, then an ISP is used to split the luma coding blocks of the coding unit.
[0136] In the second embodiment, the ISP technique performs sub-partitioning on the chroma blocks that is consistent with the luma block sub-partitioning when 4:4:4 subsampling is used in the bitstream. For other subsampling cases, e.g., 4:2:0 and 4:2:2, the ISP does not perform chroma partitioning and the chroma blocks correspond to the entire CU. The following table shows an example of chroma TU position and size determination for the second embodiment.
[0137] Table 4 - Example of transform_unit syntax table for the second embodiment [Table 4]
[0138] In the table, the condition ChromaArrayType == 3 checks if the current chroma format is 4:4:4. If it is positive, the two chroma cbf flags are forced to be signaled if ISP is used (IntraSubPartitionsSplitType != ISP_NO_SPLIT), and the position and size for the chroma blocks are determined based on the position and size of the current TU according to the else branch. In this case, the position and size of the current chroma block are obtained from the TU's position and coordinates.
[0139] In the second embodiment, the value of ntraSubPartitionsSplitType can be determined in the same manner as described in the first embodiment.
[0140] FIG. 9 illustrates an embodiment of a method of intra sub-partition (ISP) coding implemented by a decoding device according to the present invention. The decoding device may be the video decoder 30 of FIG. 1A or the decoder 30 of FIG. 3. The method of ISP coding includes the following steps: In step 901, the decoding device obtains information of the ISP. As described above, the decoding device can analyze the bitstream received from the encoding device. The bitstream includes information indicating the ISP, such as intra_subpartitions_split_flag and / or intra_subpartitions_mode_flag. Then, the decoding device obtains information of the IPS, such as IntraSubPartitionsSplitType, based on the intra_subpartitions_split_flag and / or intra_subpartitions_mode_flag.
[0141] In step 902, the decoding device determines whether a first condition is satisfied; The first condition includes: 1) a single tree is used to partition the coding units, and 2) the ISP information indicates that an ISP is used to split the luma coding blocks. The expression “IntraSubPartitionsSplitType != ISP_NO_SPLIT” means that the ISP information indicates that an ISP is used to split the luma coding blocks. The expression “treeType == SINGLE_TREE” means that a single tree is used to partition the coding units.
[0142] In step 903, the decoding device determines a size of a chroma transform block (TB) of the coding unit based on SubWidthC and SubHeightC if at least a first condition is satisfied, where SubWidthC and SubHeightC are variables dependent on chroma format information, the chroma format information indicating the chroma format of the picture to which the coding unit belongs, and the chroma format includes at least one of 4:2:0, or 4:2:2, or 4:4:4.
[0143] The decoder may determine the size of the chroma TB based on SubWidthC and SubHeightC, and also based on the size of the luma coding block of the coding unit. For example, the size of the chroma transform block is: wC = CbWidth[x0][y0] / SubWidthC; and hC = CbHeight[x0][y0] / SubHeightC; where wC represents the width of the chroma transform block, hC represents the height of the chroma transform block, CbWidth represents the width of the luma coding block, and CbHeight represents the height of the luma coding block.
[0144] The size of the chroma conversion block follows the following rules: - if the chroma format is equal to 4:4:4, the size of the chroma transformation block is equal to the size of the luma coding block; - otherwise, the size of the chroma transform block is determined as a function of the size of the luma coding block and the chroma format; is determined in accordance with
[0145] The decoding device can determine the size of the chroma TB if a first condition and a second condition are satisfied, where the second condition includes that the variable ChromaArrayType is not equal to a default value, for example, 3.
[0146] Fig. 10 shows an embodiment of a method of intra sub-partition (ISP) coding implemented by an encoding device according to the present invention. The encoding device may be the video encoder 20 of Fig. 1A or the encoder 20 of Fig. 2. The method of ISP coding includes the following steps: In step 1001, the encoding device determines whether a first condition is satisfied, which includes: 1) a single tree is used to partition the coding unit, and 2) an ISP is used to split the luma coding block. The expression "IntraSubPartitionsSplitType != ISP_NO_SPLIT" means that an ISP is used to split the luma coding block. The expression "treeType == SINGLE_TREE" means that a single tree is used to partition the coding unit.
[0147] In step 1002, the encoding device determines a size of a chroma transform block (TB) of the coding unit based on SubWidthC and SubHeightC if at least a first condition is satisfied, where SubWidthC and SubHeightC are variables dependent on chroma format information, the chroma format information indicating the chroma format of the picture to which the coding unit belongs, and the chroma format includes at least one of 4:2:0, or 4:2:2, or 4:4:4.
[0148] The encoding device may determine the size of the chroma TB based on SubWidthC and SubHeightC, and also based on the size of the luma coding block of the coding unit. For example, the size of the chroma transform block is: wC = CbWidth[x0][y0] / SubWidthC; and hC = CbHeight[x0][y0] / SubHeightC; where wC represents the width of the chroma transform block, hC represents the height of the chroma transform block, CbWidth represents the width of the luma coding block, and CbHeight represents the height of the luma coding block.
[0149] The size of the chroma conversion block follows the following rules: - if the chroma format is equal to 4:4:4, the size of the chroma transformation block is equal to the size of the luma coding block; - otherwise, the size of the chroma transform block is determined as a function of the size of the luma coding block and the chroma format; is determined in accordance with
[0150] The encoding device can determine the size of the chroma TB if a first condition and a second condition are satisfied, where the second condition includes that the variable ChromaArrayType is not equal to a default value, for example, 3.
[0151] In step 1003, the encoding device encodes a bitstream, the bitstream including information indicating that an ISP is used to split the luma coding blocks of the coding unit. For example, the bitstream includes information indicating the ISP, such as intra_subpartitions_split_flag and / or intra_subpartitions_mode_flag.
[0152] FIG. 11 illustrates an embodiment of a decoding device 1100 for intra sub-partition (ISP). The decoding device 1100 may be the video decoder 30 of FIG. 1A or the decoder 30 of FIG. 3. The device 1100 includes an acquisition unit 1101 and a determination unit 1102. The acquisition unit 1101 is configured to acquire information of an ISP, where the information of the ISP indicates whether an ISP is used to partition a luma coding block of a coding unit. The determination unit 1102 is configured to determine a size of a chroma transform block (TB) of the coding unit based on SubWidthC and SubHeightC when at least a first condition is satisfied, where SubWidthC and SubHeightC are variables that depend on the chroma format information. The chroma format information indicates a chroma format of a picture to which the coding unit belongs, where the chroma format includes at least one of 4:2:0, or 4:2:2, or 4:4:4. The first condition includes: 1) a single tree is used to partition the coding units, and 2) the ISP information indicates that an ISP is used to partition the luma coding blocks.
[0153] The decoding device is configured to perform the method as described in Fig. 9 and other embodiments above. For example, the determining unit 1102 may determine whether the following rule is true: - if the chroma format is equal to 4:4:4, the size of the chroma transformation block is equal to the size of the luma coding block; - otherwise, the size of the chroma transform block is determined as a function of the size of the luma coding block and the chroma format; The method is configured to determine the size of the chroma transform block according to:
[0154] The determination unit may be configured to determine a size of a chroma transform block of the coding unit based on SubWidthC and SubHeightC when a first condition and a second condition are satisfied, the second condition including that the variable ChromaArrayType is not equal to a default value.
[0155] FIG. 12 illustrates an embodiment of an encoding device 1200 for intra sub-partition (ISP). The encoding device 1200 may be the video encoder 20 of FIG. 1A or the encoder 20 of FIG. 2. The device 1200 includes a determining unit 1201 and an encoding unit 1202. The determining unit 1201 is configured to determine a size of a chroma transform block of a coding unit based on SubWidthC and SubHeightC when at least a first condition is satisfied. SubWidthC and SubHeightC are two variables depending on chroma format information. The chroma format information indicates a chroma format of a picture to which the coding unit belongs, and the chroma format includes at least one of 4:2:0, or 4:2:2, or 4:4:4. The first condition includes that a single tree is used to partition the coding unit and that an ISP is used to partition the luma coding block of the coding unit. The encoding unit 1202 is configured to encode a bitstream, where the bitstream includes information indicating that an ISP is used to split a luma coding block of a coding unit.
[0156] The encoding device is configured to perform the method as described in Fig. 10 and other embodiments above. For example, the determining unit 1201: wC = CbWidth[x0][y0] / SubWidthC; and hC = CbHeight[x0][y0] / SubHeightC; where wC represents the width of the chroma transform block, hC represents the height of the chroma transform block, CbWidth represents the width of the luma coding block, and CbHeight represents the height of the luma coding block.
[0157] The decision unit 1201 is SubWidthC = (1 + log2(w luma / w chroma )); SubHeightC = (1 + log2(h luma / h chroma )); and may be configured to determine SubWidthC and SubHeightC according to w luma ,h luma is the corresponding dimension of the luma array, and w chroma ,h chroma are the corresponding dimensions of the chroma array.
[0158] The decision unit 1201 determines whether the following rule: - if the chroma format is equal to 4:4:4, the size of the chroma transformation block is equal to the size of the luma coding block; - otherwise, the size of the chroma transform block is determined as a function of the size of the luma coding block and the chroma format; It is also configured to determine the size of the chroma transform block according to:
[0159] The determination unit 1201 is configured to determine a size of a chroma transform block of a coding unit based on SubWidthC and SubHeightC when a first condition and a second condition are satisfied, and the second condition includes that the variable ChromaArrayType is not equal to a default value.
[0160] The present application further provides the following embodiments: Embodiment 1. A method of coding performed by a decoding device, the method comprising: parsing a bitstream, the bitstream including intra sub-partition (ISP) coding mode information; The method includes determining a chroma transform unit (TU) for a block coded in an ISP coding mode, the size of the chroma transform unit being dependent on a chroma format.
[0161] Embodiment 2. The method of embodiment 1, wherein the size of the chroma transform unit also depends on the size of the luma coding block.
[0162] Embodiment 3. The method of embodiment 1 or 2, wherein the size of the chroma transform unit is: wC = CbWidth[x0][y0] / SubWidthC; and hC = CbHeight[x0][y0] / SubHeightC; where wC represents the width of a chroma TU, wC represents the height of a chroma TU, SubWidthC and SubHeightC are chroma format dependent variables, and CbWidth and CbHeight are global arrays.
[0163] Embodiment 4. The method of embodiment 3, wherein SubWidthC and SubHeightC are: SubWidthC = (1 + log2(w luma / w chroma )); SubHeightC = (1 + log2(h luma / h chroma )); is determined according to w luma ,h luma is the corresponding dimension of the luma array, and w chroma ,h chroma are the corresponding dimensions of the chroma array.
[0164] Embodiment 5. The method of embodiment 1, wherein the size of the chroma transform unit is determined according to the following rule: - if chroma format is equal to 4:4:4, the size of a chroma transformation unit is equal to the size of the corresponding luma transformation unit; - otherwise, the size of a chroma transform unit is equal to the size of the corresponding luma coding unit; is determined in accordance with
[0165] Embodiment 6. The method of embodiment 5, wherein the size of the chroma transform unit is determined according to the following table: [Table 5]
[0166] Embodiment 7. The method of any one of embodiments 1-6, wherein the method further comprises: The method includes determining a luma transform unit for a block coded in an ISP coding mode.
[0167] Embodiment 8. A method of coding performed by an encoding device, comprising: determining a chroma transform unit (TU) for a block coded in an intra sub-partition (ISP) coding mode, the size of the chroma transform unit being dependent on the chroma format; and The method includes the step of encoding a bitstream, the bitstream including information of an ISP coding mode.
[0168] Embodiment 9. The method of embodiment 8, wherein the size of the chroma transform unit also depends on the size of the luma coding block.
[0169] Embodiment 10. The method of embodiment 8 or 9, wherein the size of the chroma transform unit is: wC = CbWidth[x0][y0] / SubWidthC; and hC = CbHeight[x0][y0] / SubHeightC; where wC represents the width of a chroma TU, wC represents the height of a chroma TU, SubWidthC and SubHeightC are chroma format dependent variables, and CbWidth and CbHeight are global arrays.
[0170] Embodiment 11. The method of embodiment 10, wherein SubWidthC and SubHeightC are: SubWidthC = (1 + log2(w luma / w chroma )); SubHeightC = (1 + log2(h luma / h chroma )); is determined according to w luma ,h luma are the dimensions of the luma array, and w chroma ,h chroma are the corresponding dimensions of the chroma array.
[0171] Embodiment 12. The method of embodiment 8, wherein the size of the chroma transform unit is determined according to the following rule: - if chroma format is equal to 4:4:4, the size of a chroma transformation unit is equal to the size of the corresponding luma transformation unit; - otherwise, the size of a chroma transform unit is equal to the size of the corresponding luma coding unit; is determined in accordance with
[0172] Embodiment 13. The method of embodiment 12, wherein the size of the chroma transform unit is determined according to the following table: [Table 6]
[0173] Embodiment 14 The method of any one of embodiments 8-13, further comprising: The method includes determining a luma transform unit for a block coded in an ISP coding mode.
[0174] Embodiment 15. A method of coding performed by a decoding device, the method comprising: parsing a bitstream, the bitstream including chroma format information; Determining a size of a chroma transform unit (TU) based on a chroma format.
[0175] Embodiment 16 The method of embodiment 15, wherein the size of the chroma transform unit is: wC = CbWidth[x0][y0] / SubWidthC; and hC = CbHeight[x0][y0] / SubHeightC; where wC represents the width of a chroma TU, hC represents the height of a chroma TU, SubWidthC and SubHeightC are chroma format dependent variables, and CbWidth and CbHeight are the width and height of a coding block, respectively.
[0176] Embodiment 17 The method of embodiment 16, wherein SubWidthC and SubHeightC are: SubWidthC = (1 + log2(w luma / w chroma )); SubHeightC = (1 + log2(h luma / h chroma )); is determined according to w luma ,h luma is the corresponding dimension of the luma array, and w chroma ,h chroma are the corresponding dimensions of the chroma array.
[0177] Embodiment 18. The method of any one of embodiments 15-17, wherein the size of the chroma transform unit is determined according to the following rule: - if chroma format is equal to 4:4:4, the size of a chroma transformation unit is equal to the size of the corresponding luma transformation unit; - otherwise, the size of a chroma transform unit is equal to the size of the corresponding coding unit; is determined in accordance with
[0178] Embodiment 19. The method of any one of embodiments 15-18, wherein the chroma TU is coded by an intra sub-partition (ISP) coding mode.
[0179] Embodiment 20. The method of embodiment 19, wherein the size of the chroma transform unit is determined according to the following table: [Table 7]
[0180] Hereinafter, application examples of the encoding method and the decoding method shown in the above embodiment and a system using them will be described.
[0181] The embodiment of the present invention extends the intra sub-partition coding mode to cover all chroma subsamplings, thus achieving an accurate and generic method for determining the size of the chroma transform block (TB) of a coding unit for ISP.
[0182] 13 is a block diagram showing a content supply system 3100 for implementing a content distribution service. The content supply system 3100 includes a capture device 3102 and a terminal device 3106, and optionally includes a display 3126. The capture device 3102 communicates with the terminal device 3106 via a communication link 3104. The communication link may include the communication channel 13 described above. The communication link 3104 may include, but is not limited to, WIFI, Ethernet, cable, wireless (3G / 4G / 5G), USB, or any type of combination thereof, etc.
[0183] The capture device 3102 may generate data and encode the data by the encoding method as shown in the above embodiment. Alternatively, the capture device 3102 may distribute the data to a streaming server (not shown), which encodes the data and transmits the encoded data to the terminal device 3106. The capture device 3102 may include, but is not limited to, a camera, a smart phone or pad, a computer or laptop, a video conferencing system, a PDA, an in-vehicle device, or any combination thereof. For example, the capture device 3102 may include a source device 12 as described above. If the data includes video, a video encoder 20 included in the capture device 3102 may actually perform the video encoding process. If the data includes audio (i.e., voice), an audio encoder included in the capture device 3102 may actually perform the audio encoding process. In some practical scenarios, the capture device 3102 distributes the encoded video and audio data by multiplexing them together. In other practical scenarios, such as a video conferencing system, the encoded audio data and the encoded video data are not multiplexed. The capture device 3102 distributes the encoded audio data and the encoded video data separately to the terminal device 3106 .
[0184] In the content supply system 3100, the terminal device 310 receives and plays the encoded data. The terminal device 3106 can be a device having data receiving and recovering capabilities, such as a smartphone or pad 3108, a computer or laptop 3110, a network video recorder (NVR) / digital video recorder (DVR) 3112, a TV 3114, a set-top box (STB) 3116, a video conferencing system 3118, a video surveillance system 3120, a portable digital assistant (PDA) 3122, an in-vehicle device 3124, or any combination thereof, or the like, capable of decoding the encoded data as described above. For example, the terminal device 3106 can include the destination device 14 as described above. If the encoded data includes video, the video decoder 30 included in the terminal device is prioritized to perform the video decoding. If the encoded data includes audio, the audio decoder included in the terminal device is prioritized to perform the audio decoding process.
[0185] In case of a terminal device with a display, e.g. a smartphone or pad 3108, a computer or laptop 3110, a network video recorder (NVR) / digital video recorder (DVR) 3112, a TV 3114, a personal digital assistant (PDA) 3122 or an in-vehicle device 3124, the terminal device can provide the decoded data to its display. For terminal devices without a display, such as e.g. an STB 3116, a video conferencing system 3118 or a video surveillance system 3120, an external display 3126 is connected thereto to receive and display the decoded data. If each device in the system performs encoding or decoding, it can use a picture encoding device or a picture decoding device as shown in the above embodiments.
[0186] 14 is a diagram showing an example of the configuration of the terminal device 3106. After the terminal device 3106 receives a stream from the capture device 3102, the protocol processing unit 3202 analyzes the transmission protocol of the stream. The protocol includes, but is not limited to, Real Time Streaming Protocol (RTSP), Hypertext Transfer Protocol (HTTP), HTTP Live Streaming Protocol (HLS), MPEG-DASH, Real Time Transport Protocol (RTP), Real Time Messaging Protocol (RTMP), or any kind of combination thereof. After the protocol processing unit 3202 processes the stream, a stream file is generated. The file is output to the demultiplexing unit 3204. The demultiplexing unit 3204 can separate the multiplexed data into encoded audio data and encoded video data. As mentioned above, for some practical scenarios, for example in a video conferencing system, the encoded audio data and the encoded video data are not multiplexed. In this situation, the encoded data is sent to the video decoder 3206 and the audio decoder 3208 without passing through the demultiplexing unit 3204.
[0187] The demultiplexing process produces a video elementary stream (ES), an audio ES, and optionally subtitles. A video decoder 3206, which includes a video decoder 30 as described in the above embodiment, decodes the video ES by a decoding method as shown in the above embodiment to produce video frames, and supplies this data to a synchronization unit 3212. An audio decoder 3208 decodes the audio ES to produce audio frames, and supplies this data to a synchronization unit 3212. Alternatively, the video frames may be stored in a buffer (see FIG. 14 Similarly, an audio frame may be stored in a buffer (not shown in FIG. 3) before providing it to the synchronization unit 3212. 14may be stored in
[0188] The synchronization unit 3212 synchronizes the video and audio frames and provides the video / audio to a video / audio display 3214. For example, the synchronization unit 3212 synchronizes the presentation of video and audio information, which may be coded in a syntax using timestamps for the presentation of the coded audio and visual data and timestamps for the delivery of the data stream itself.
[0189] If subtitles are included in the stream, the subtitle decoder 3210 decodes the subtitles, synchronizes them with the video and audio frames, and provides the video / audio / subtitles to the video / audio / subtitle display 3216.
[0190] Mathematical Operators The mathematical operators used in this application are similar to those used in the C programming language. However, the results of integer division and arithmetic shift operations are more precisely defined, and additional operations such as exponentiation and real division are specified. Numbering and counting conventions generally start at zero, e.g., "first" is equivalent to number 0, "second" is equivalent to number 1, etc.
[0191] Arithmetic Operators The following arithmetic operators are defined as follows: [Table 8]
[0192] Logical Operators The following logical operators are defined as follows: x&&y The Boolean logic "and" of x and y x||y The Boolean "or" of x and y ! Boolean logic “not” x?y:zIf x is TRUE or not equal to 0, evaluates the value of y; otherwise, evaluates the value of z.
[0193] Relational Operators The following relational operators are defined as follows: > Greater than >= Greater than or equal to < Less than <= less than or equal == equal to != not equal to
[0194] When a relational operator is applied to a syntax element or variable for which the value "na" (not applicable) has been specified, the value "na" is treated as a separate value of that syntax element or variable. The value "na" is not considered equal to any other value.
[0195] Bitwise Operators The following bitwise operators are defined as follows: & Bit-wise "and". When operating on an integer argument, it operates on the two's complement representation of the integer value. When operating on a binary argument, if the binary argument contains fewer bits than the other argument, the shorter argument is extended by adding more significant bits equal to 0. Bit-wise "or". When operating on an integer argument, it operates on the two's complement representation of the integer value. When operating on a binary argument, if the binary argument contains fewer bits than the other argument, the shorter argument is extended by adding additional high-order bits equal to 0. ^ Bit-wise "exclusive or". When operating on an integer argument, it operates on the two's complement representation of the integer value. When operating on a binary argument, if the binary argument contains fewer bits than the other argument, the shorter argument is extended by adding more significant bits equal to 0. x >> y The two's complement integer representation of x arithmetically right-shifted by the binary number y. This function is defined only for non-negative integer values of y. The bit shifted into the most significant bit (MSB) as a result of the right shift is equal to the MSB of x before the shift operation. x << y The two's complement integer representation of x arithmetically left-shifted by the binary number y. This function is defined only for non-negative integer values of y. The bit shifted into the least significant bit (LSB) as a result of the left shift has a value equal to 0.
[0196] Assignment operator The following arithmetic operators are defined as follows: = Assignment operator ++ Increment. That is, x++ is equal to x = x + 1. When used as an array index, the value of the variable before the increment operation is evaluated. -- Decrement. That is, x-- is equal to x = x - 1. When used as an array index, the value of the variable before the decrement operation is evaluated. += Increment by the specified amount. That is, x += 3 is equal to x = x + 3. x += (-3) is equal to x = x + (-3). -= Decrement by the specified amount. That is, x -= 3 is equal to x = x - 3. x -= (-3) is equal to x = x - (-3).
[0197] Range notation The following notations are used to specify a range of values: x = y..z x takes integer values starting from y and including both ends up to z, where x, y, and z are integers and z is greater than y.
[0198] Mathematical functions The following mathematical functions are defined:
Table 9
[0199] Operator precedence When precedence is not explicitly specified in an expression by using parentheses, the following rules apply: - An operation with higher precedence is evaluated before any operation with lower precedence. - Operations of equal precedence are evaluated from left to right.
[0200] The following table shows the precedence of operations from highest to lowest, with a higher position in the table indicating a higher precedence.
[0201] With respect to operators that are also used in the C programming language, the precedence used herein is the same as that used in the C programming language. Table: Operation precedence from highest (top of table) to lowest (bottom of table) [Table 10]
[0202] Text description of logical operators In the text, the following forms: if( condition 0 ) statement 0 else if( condition 1 ) statement 1 ... else / * informative comment on remaining condition * / statement n A logical operator statement such as that which can be mathematically written as can be written in the following manner: ... as follows / ... the following applies: - If condition 0, statement 0 - Otherwise, if condition 1, statement 1 - ... - Otherwise (informative remark on remaining condition), statement n
[0203] Each "If ... Otherwise, if ... Otherwise, ..." statement in the text is introduced with "... as follows" or "... the following applies" immediately following the "If...". The last condition in an "If ... Otherwise, if ... Otherwise, ..." is always "Otherwise, ...". Alternative "If ... Otherwise, if ... Otherwise, ..." statements can be identified by matching the "... as follows" or "... the following applies" to the final "Otherwise, ...".
[0204] In the text, the following forms: if( condition 0a && condition 0b ) statement 0 else if( condition 1a || condition 1b ) statement 1 ... else statement n A logical operator statement such as that which can be mathematically written as can be written in the following manner: ... as follows / ... the following applies: - statement 0 if all of the following conditions are true: - condition 0a - condition 0b - Otherwise, if one or more of the following conditions are true, statement 1: - condition 1a - condition 1b - ... - otherwise, statement n
[0205] In the text, the following forms: if( condition 0 ) statement 0 if( condition 1 ) statement 1 A logical operator statement such as that which can be mathematically written as can be written in the following manner: If condition is 0, then statement 0 If condition 1, then statement 1
[0206] Although embodiments of the present invention are described primarily in terms of video coding, it should be noted that embodiments of coding system 10, encoder 20 and decoder 30 (and corresponding system 10), as well as other embodiments described herein, may be configured for still picture processing or coding, i.e., processing or coding of individual pictures independent of any preceding or subsequent pictures, as in video coding. In general, in cases where picture processing coding is limited to a single picture 17, only inter prediction units 244 (encoder) and 344 (decoder) may not be available. All other functions (also called tools or techniques) of the video encoder 20 and the video decoder 30 can equally be used for still picture processing, e.g., residual calculation 204 / 304, transform 206, quantization 208, inverse quantization 210 / 310, (inverse) transform 212 / 312, partitioning 262 / 362, intra prediction 254 / 354, and / or loop filtering 220, 320, and entropy encoding 270 and entropy decoding 304.
[0207] For example, embodiments of the encoder 20 and the decoder 30, and the functions described herein with respect to the encoder 20 and the decoder 30, may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on a computer-readable medium or transmitted over a communication medium as one or more instructions or codes and executed by a hardware-based processing unit. A computer-readable medium may include a computer-readable storage medium, which corresponds to a tangible medium, such as a data storage medium, or a communication medium, which includes any medium that facilitates the transfer of a computer program from one place to another, for example according to a communication protocol. Thus, a computer-readable medium may generally correspond to (1) a tangible computer-readable storage medium that is non-transitory, or (2) a communication medium, such as a signal or carrier wave. A data storage medium may be any available medium that can be accessed by one or more computers or one or more processors to retrieve instructions, code, and / or data structures for implementation of the techniques described in this disclosure. A computer program product may include a computer-readable medium.
[0208] By way of example, and not limitation, such computer-readable storage media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, flash memory, or any other medium that can be used to store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly referred to as a computer-readable medium. For example, if instructions are transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included within the definition of media. However, it should be understood that computer-readable storage media and data storage media do not include connections, carrier waves, signals, or other transitory media, but rather relate to non-transitory tangible storage media. Disk and disk, as used herein, include compact disks (CDs), laser disks, optical disks, digital versatile disks (DVDs), floppy disks, and Blu-ray disks, where disks typically reproduce data magnetically and disks reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer readable media.
[0209] The instructions may be executed by one or more processors, such as one or more digital signal processors (DSPs), general-purpose microprocessors, application specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuitry. Thus, the term "processor" as used herein may refer to any of the aforementioned structures, or any other structure suitable for implementing the techniques described herein. Furthermore, in some aspects, the functionality described herein may be provided in dedicated hardware and / or software modules configured for encoding and decoding, or may be incorporated into a combined codec. The techniques may also be fully implemented in one or more circuit or logic elements.
[0210] The techniques of the present disclosure may be implemented in a wide variety of devices or apparatuses, including a wireless handset, an integrated circuit (IC), or a set of ICs (e.g., a chip set). To emphasize the functional aspects of devices configured to implement the disclosed techniques, various components, modules, or units are described in the present disclosure, but do not necessarily require realization by different hardware units. Rather, as described above, the various units may be combined in a codec hardware unit, along with appropriate software and / or firmware, or may be provided by a collection of interoperable hardware units including one or more processors as described above.
Claims
1. A method of coding performed by a decoding device, comprising: receiving a bitstream, the bitstream including flags, the flags including at least one of a mode flag or a partition flag, the mode flag indicating whether a coding unit is partitioned into rectangular transform block sub-partitions, and the partition flag indicating whether an intra sub-partition (ISP) partition type is horizontal or vertical; obtaining information of an ISP based on the flag, the information of the ISP indicating whether an ISP is used to split a luma coding block of the coding unit; determining a size of a chroma transform block (TB) of the coding unit based on SubWidthC and SubHeightC if at least a first condition is satisfied, where SubWidthC and SubHeightC are variables dependent on chroma format information, the chroma format information indicating a chroma format of a picture to which the coding unit belongs, the chroma format including at least one of 4:2:0, or 4:2:2, or 4:4:4, and the first condition includes: 1) a single tree is used to partition the coding unit, and 2) the ISP information indicates that an ISP is used to split the luma coding block; The method includes:
2. The method of claim 1 , wherein the size of the chroma transform block also depends on the size of the luma coding block.
3. The size of the chroma transform block is: wC = CbWidth[x0][y0] / SubWidthC; and hC = CbHeight[x0][y0] / SubHeightC; 3. The method of claim 2, wherein wC represents a width of the chroma transform block, hC represents a height of the chroma transform block, CbWidth represents a width of the luma coding block, and CbHeight represents a height of the luma coding block.
4. the mode flag is intra_subpartitions_mode_flag; intra_subpartitions_mode_flag equal to 1 indicates that the current intra coding unit is partitioned into NumIntraSubPartitions rectangular transform block subpartitions; intra_subpartitions_mode_flag equal to 0 indicates that the current intra coding unit is not partitioned into rectangular transform block sub-partitions; 2. The method of claim 1, wherein intra_subpartitions_mode_flag is inferred to be equal to 0 if not present.
5. The split flag is intra_subpartitions_split_flag; If intra_subpartitions_split_flag is not present: If cbHeight is greater than MaxTbSizeY, then intra_subpartitions_split_flag is inferred to be equal to 0; 2. The method of claim 1, wherein otherwise (if cbWidth is greater than MaxTbSizeY), intra_subpartitions_split_flag is inferred to be equal to 1.
6. The size of the chroma transformation block is determined by the following rule: if the chroma format is equal to 4:4:4, the size of the chroma transformation block is equal to the size of the luma coding block; otherwise, the size of the chroma transform block is determined as a function of the size of the luma coding block and the chroma format; The method of claim 2, wherein the formula is determined according to
7. The ISP information is indicated by IntraSubPartitionsSplitType; and 2. The method of claim 1, wherein an ISP is used to split the luma coding blocks of the coding unit if IntraSubPartitionsSplitType != ISP_NO_SPLIT.
8. 1. An encoding apparatus for intra sub-partition (ISP), comprising: one or more processors; a non-transitory computer-readable storage medium coupled to the one or more processors and storing instructions; the instructions, when executed by the one or more processors, cause the one or more processors to: determining a size of a chroma transform block of a coding unit based on SubWidthC and SubHeightC if at least a first condition is satisfied, where SubWidthC and SubHeightC are variables dependent on chroma format information, the chroma format information indicating a chroma format of a picture to which the coding unit belongs, the chroma format including at least one of 4:2:0, or 4:2:2, or 4:4:4, and the first condition includes: 1) a single tree is used to partition the coding unit, and 2) an intra sub-partition (ISP) is used to divide a luma coding block of the coding unit; encoding a bitstream, the bitstream including flag values, the flags including at least one of a mode flag or a partition flag, the mode flag indicating whether the coding unit is partitioned into rectangular transform block sub-partitions, and the partition flag indicating whether an ISP partition type is horizontal or vertical; A device that performs the above.
9. The apparatus of claim 8 , wherein the size of the chroma transform block also depends on a size of the luma coding block.
10. The size of the chroma transform block is: wC = CbWidth[x0][y0] / SubWidthC; and hC = CbHeight[x0][y0] / SubHeightC; 9. The apparatus of claim 8, wherein w represents a width of the chroma transform block, h represents a height of the chroma transform block, CbWidth represents a width of the luma coding block, and CbHeight represents a height of the luma coding block.
11. the mode flag is intra_subpartitions_mode_flag; intra_subpartitions_mode_flag equal to 1 indicates that the current intra coding unit is partitioned into NumIntraSubPartitions rectangular transform block subpartitions; intra_subpartitions_mode_flag equal to 0 indicates that the current intra coding unit is not partitioned into rectangular transform block sub-partitions; The apparatus of claim 8 , wherein intra_subpartitions_mode_flag is inferred to be equal to 0 if not present.
12. The split flag is intra_subpartitions_split_flag; If intra_subpartitions_split_flag is not present: If cbHeight is greater than MaxTbSizeY, then intra_subpartitions_split_flag is inferred to be equal to 0; 9. The apparatus of claim 8, wherein otherwise (if cbWidth is greater than MaxTbSizeY), intra_subpartitions_split_flag is inferred to be equal to 1.
13. The size of the chroma transformation block is determined by the following rule: if the chroma format is equal to 4:4:4, the size of the chroma transformation block is equal to the size of the luma coding block; otherwise, the size of the chroma transform block is determined as a function of the size of the luma coding block and the chroma format; The apparatus of claim 9, wherein the method is determined according to
14. The ISP information is indicated by IntraSubPartitionsSplitType; and 10. The apparatus of claim 8, wherein an ISP is used to split the luma coding blocks of the coding unit if IntraSubPartitionsSplitType != ISP_NO_SPLIT.
15. A non-transitory computer-readable storage medium storing instructions that, when executed by a processing circuit, cause the processing circuit to: obtaining intra sub-partition (ISP) information based on a flag in a bitstream, the flag including at least one of a mode flag or a split flag, the mode flag indicating whether a coding unit is partitioned into rectangular transform block sub-partitions, the split flag indicating whether a partition type of an intra sub-partition (ISP) is horizontal or vertical, and the ISP information indicating whether an ISP is used to partition a luma coding block of a coding unit; determining a size of a chroma transform block (TB) of the coding unit based on SubWidthC and SubHeightC if at least a first condition is satisfied, where SubWidthC and SubHeightC are variables dependent on chroma format information, the chroma format information indicating a chroma format of a picture to which the coding unit belongs, the chroma format including at least one of 4:2:0, or 4:2:2, or 4:4:4, and the first condition includes: 1) a single tree is used to partition the coding unit, and 2) the ISP information indicates that an ISP is used to split the luma coding block; A storage medium that executes the above.
16. 16. The non-transitory computer-readable storage medium of claim 15, wherein the size of the chroma transform block also depends on a size of the luma coding block.
17. The size of the chroma transform block is: wC = CbWidth[x0][y0] / SubWidthC; and hC = CbHeight[x0][y0] / SubHeightC; 17. The non-transitory computer-readable storage medium of claim 16, wherein w represents a width of the chroma transform block, h represents a height of the chroma transform block, CbWidth represents a width of the luma coding block, and CbHeight represents a height of the luma coding block.
18. the mode flag is intra_subpartitions_mode_flag; intra_subpartitions_mode_flag equal to 1 indicates that the current intra coding unit is partitioned into NumIntraSubPartitions rectangular transform block subpartitions; intra_subpartitions_mode_flag equal to 0 indicates that the current intra coding unit is not partitioned into rectangular transform block sub-partitions; 16. The non-transitory computer-readable storage medium of claim 15, wherein intra_subpartitions_mode_flag, if not present, is presumed to be equal to 0.
19. The split flag is intra_subpartitions_split_flag; If intra_subpartitions_split_flag is not present: If cbHeight is greater than MaxTbSizeY, then intra_subpartitions_split_flag is inferred to be equal to 0; 16. The non-transitory computer-readable storage medium of claim 15, wherein otherwise (if cbWidth is greater than MaxTbSizeY), intra_subpartitions_split_flag is inferred to be equal to 1.
20. The ISP information is indicated by IntraSubPartitionsSplitType; and 16. The non-transitory computer-readable storage medium of claim 15, wherein an ISP is used to split the luma coding blocks of the coding unit if IntraSubPartitionsSplitType != ISP_NO_SPLIT.
Citation Information
Patent Citations
Image transmission method, image reception method, image transmission device, image reception device, and image transmission system
JP2011109397A
Video coding method and apparatus using transform skip flag
JP2021513755A
Intra-coding for 4:2:2 sample format in video coding
US20140092965A1
Image coding method and device using transform SKIP flag
US20200260070A1
