Quantization for video encoding or decoding based on surface of block
By using a subdivision level counter to determine quantization parameters based on block size and type, the method addresses inconsistent quantization in video coding standards, enhancing encoding and decoding efficiency and accuracy.
Patent Information
- Application Number
- JP2024100570
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2018-12-21
- Filing Date
- 2024-06-21
- Publication Date
- 2024-10-02
- Estimated Expiration
- 2039-10-21
AI Technical Summary
Existing video coding standards face challenges in achieving consistent quantization parameters for blocks of varying sizes due to non-uniform partitioning types, leading to inconsistent encoding and decoding results.
Implement a subdivision level counter (subdiv) to determine quantization parameters based on the size and type of block partitioning, ensuring that blocks of similar size share the same quantization parameters, thereby maintaining consistent encoding and decoding.
This approach ensures consistent quantization parameters for blocks of similar size, improving encoding and decoding efficiency and accuracy by aligning quantization groups with block sizes, even in video coding standards that use non-quad partitioning types.
Smart Images

Figure 2024133519000001_ABST
Abstract
Description
[Technical field]
[0001] FIELD This disclosure is in the field of video compression, and at least one embodiment relates more particularly to determining quantization parameters based on block surfaces. [Background technology]
[0002] To achieve high compression efficiency, image and video coding schemes usually exploit spatial and temporal redundancy in video content using prediction and transformation. In general, intra- or inter-prediction is used to exploit correlation within or between frames, and then the difference between the original block and the predicted block, often denoted as prediction error or prediction residual, is transformed, quantized, and entropy coded. To reconstruct the video, the compressed data is decoded by the inverse process corresponding to entropy coding, quantization, transformation, and prediction. Summary of the Invention [Means for solving the problem]
[0003] According to a first aspect of at least one embodiment, a method for coding video includes, when a block of an image is divided into sub-blocks, associating values representing faces of the sub-blocks, and determining a quantization parameter for the sub-block based on the values representing the faces of the sub-blocks.
[0004] According to a second aspect of at least one embodiment, a method for decoding video includes, when a block of an image is divided into sub-blocks, associating values representing faces of the sub-blocks, and determining a quantization parameter for the sub-block based on the values representing the faces of the sub-blocks.
[0005] According to a third aspect of at least one embodiment, an apparatus including a video encoder for encoding picture data includes, when a block of an image is divided into sub-blocks, associating values representing faces of the sub-blocks, and determining a quantization parameter of the sub-block based on the values representing the faces of the sub-blocks.
[0006] According to a fourth aspect of at least one embodiment, an apparatus including a video decoder for decoding picture data includes, when a block of an image is divided into sub-blocks, associating values representing faces of the sub-blocks, and determining a quantization parameter of the sub-block based on the values representing the faces of the sub-blocks.
[0007] According to a variant embodiment of the first, second, third or fourth aspect, the value representative of the face of the subblock is a subdivision level counter which is incremented by a value representative of a type of subblock division when the block of the image is divided into subblocks. According to a further variant embodiment of the first, second, third or fourth aspect, while the subdivision level counter of the subblock is less than or equal to a maximum subdivision value, a new quantization group is enabled according to the type of division. According to a further variant embodiment of the first, second, third or fourth aspect, when the block of the image is divided into subblocks according to a ternary division and the subdivision level counter of the smallest subblock is above a maximum subdivision value, a new quantization group is disabled.
[0008] According to a variant embodiment of the first, second, third or fourth aspect or a variant of these embodiments, the increment value is equal to 2 for all subblocks of a quad division, 1 for all subblocks of a binary division, 2 for the side subblocks of a ternary division and 1 for the central subblock of a ternary division. According to another variant embodiment of the first, second, third or fourth aspect or a variant of these embodiments, the increment value is equal to 4 for all subblocks of a quad division, 2 for all subblocks of a binary division, 4 for the side subblocks of a ternary division and 2 for the central subblock, 4 for the smallest subblock and 1 for the largest subblock of an asymmetric 1 / 4 binary division, and 3 for the smallest subblock and 1 for the largest subblock of an asymmetric 1 / 3 binary division.
[0009] According to a fifth aspect of at least one embodiment, a storage medium stores video bitstream data including at least a syntax data element representing a value representative of an aspect of a sub-block, the sub-block being the result of dividing a block of an image of a video. According to a variant of the fifth embodiment, the value representative of the aspect of the sub-block is a subdivision level counter that is incremented by a value representative of a type of division of the sub-block when the block of an image is divided into sub-blocks. According to a further variant of the fifth embodiment, the increment value is equal to 2 for all sub-blocks of a quad division, 1 for all sub-blocks of a binary division, 2 for the side sub-blocks of a ternary division, and 1 for the center sub-block of a ternary division.
[0010] According to a sixth aspect of at least one embodiment there is provided a computer program comprising program code instructions executable by a processor, the computer program performing at least the steps of a method according to the first or second aspect.
[0011] According to a seventh aspect of at least one embodiment there is provided a computer program product comprising program code instructions stored on a non-transitory computer readable medium and executable by a processor, the computer program product performing at least the steps of a method according to the first or second aspect. [Brief description of the drawings]
[0012] [Figure 1] 1 shows a block diagram of an example of a video encoder 100. [Diagram 2] 2 shows a block diagram of an example of a video decoder 200. [Diagram 3] FIG. 1 illustrates a block diagram of an example system in which various aspects and embodiments may be implemented. [Figure 4] 1 shows an example of a coding tree unit and a coding tree in the compressed domain. [Diagram 5] 1 shows an example of dividing a CTU into coding units, prediction units, and transform units. [Figure 6] For example, we show various types of partitioning as found in VVC. [Figure 7A] 4 shows the effect of repeated division on block size. [Figure 7B] 4 shows the effect of repeated division on block size. [Figure 8] 1 shows various blocks of the same size at different division levels. [Figure 9] Illustrates the use of quantization groups in the HEVC specification. [Figure 10] 1 illustrates at least one embodiment of the use of a subdivision level counter subdiv. [Figure 11A] 13 illustrates an example of the relationship between division type and subdiv increment, according to one embodiment. [Figure 11B] 13 illustrates an example of the relationship between division type and subdiv increment, according to one embodiment. [Figure 11C] 13 illustrates an example of the relationship between division type and subdiv increment, according to one embodiment. [Figure 12] 1 illustrates an example block diagram of a subdiv process, according to one embodiment. [Figure 13A] An example of the value of the subdiv counter when the process is applied to the examples of FIGS. [Figure 13B] An example of the value of the subdiv counter when the process is applied to the examples of FIGS. [Figure 13C] An example of the value of the subdiv counter when the process is applied to the examples of FIGS. [Figure 14A] 1 illustrates different types of asymmetric binary splits. [Figure 14B] 1 illustrates different types of asymmetric binary splits. [Figure 14C] An example of the result of T division is shown below. [Figure 15A] 13 shows an example of the relationship between the type of division and the subdiv increment according to a first variant embodiment for AB division. [Figure 15B] 13 shows an example of the relationship between the type of division and the subdiv increment according to a first variant embodiment for AB division. [Figure 16A] An example of the value of the subdiv counter when the process is applied to two successive asymmetric binary divisions corresponding to a ternary division is shown. [Figure 16B] An example of the value of the subdiv counter when the process is applied to two successive asymmetric binary divisions corresponding to a ternary division is shown. [Figure 16C] An example of the value of the subdiv counter when the process is applied to two successive asymmetric binary divisions corresponding to a ternary division is shown. [Figure 17] 13 shows an example of the value of the subdiv counter when the process is applied to two successive asymmetric 1 / 4 binary divisions in opposite directions using the first variant for AB division. [Figure 18A] 13 shows an example of the relationship between the type of division and the subdiv increment according to a second variant embodiment of AB division. [Figure 18B] 13 shows an example of the relationship between the type of division and the subdiv increment according to a second variant embodiment of AB division. [Figure 18C] 13 shows an example of the relationship between the type of division and the subdiv increment according to a second variant embodiment of AB division. [Figure 18D] 13 shows an example of the relationship between the type of division and the subdiv increment according to a second variant embodiment of AB division. [Figure 18E] 13 shows an example of the relationship between the type of division and the subdiv increment according to a second variant embodiment of AB division. [Figure 19] An example of QG start in the case of T division is shown below. [Figure 20] 13 shows an example of the definition of QG for a T-partition according to one embodiment that corrects for the QG problem. [Figure 21] FIG. 1 shows a block diagram of an example embodiment of a QG identification process. [Figure 22] 1 shows a block diagram of another example embodiment of a QG identification process. [Figure 23] The result of such an embodiment is shown in the context of FIG. [Figure 24] 1 shows a table depicting an example of a Picture Parameter Set (PPS) syntax according to an embodiment that uses a subdivision level counter. [Diagram 25] 1 shows a table depicting an example of syntax for implementing the main embodiment. [Figure 26] 1 shows a table depicting an example of syntax for implementing the main embodiment. [Figure 27] 1 shows a table depicting an example of syntax for implementing the main embodiment. [Figure 28] 1 shows a table depicting an example of syntax for implementing the main embodiment. [Figure 29] 1 shows a table illustrating an example of a syntax for implementing the main embodiment and handling QG start detection. [Diagram 30]1 shows a table illustrating an example of a syntax for implementing the main embodiment and handling QG start detection. [Diagram 31] 1 shows a table illustrating an example of a syntax for implementing the main embodiment and handling QG start detection. [Diagram 32] 13 shows a table illustrating an example of a syntax for implementing the main embodiment and handling QG start detection for chroma-related elements. [Diagram 33] 13 shows a table illustrating an example of a syntax for implementing the main embodiment and handling QG start detection for chroma-related elements. [Diagram 34] 13 shows a table illustrating an example of a syntax for implementing the main embodiment and handling QG start detection for chroma-related elements. [Diagram 35] 13 shows a table illustrating an example of a syntax for implementing the main embodiment and handling QG start detection for chroma-related elements. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] In at least one embodiment, video encoding or decoding divides an image into multiple blocks of various sizes, and a subdivision level counter (hereinafter referred to as "subdiv") is associated with each partition and block. The division may be recursive, so that a block may be further divided into multiple blocks (called subblocks), and so on. The value of this counter for a block or subblock represents the size of the block or subblock and is used to determine the quantization parameter of the block or subblock and the quantization group to which the block belongs. As a result, the same quantization parameter is used for blocks of similar size, thus providing consistent encoding / decoding.
[0014] For clarity of explanation, the following description describes aspects with respect to embodiments involving video compression techniques such as High Efficiency Video Coding (HEVC) or Versatile Video Coding (VVC), which are emerging standards being developed by the Joint Video Experts Team (JVET), although the described aspects are also applicable to other video processing techniques and standards.
[0015] This application describes various aspects, including tools, features, embodiments, models, techniques, and the like. Many of these aspects are specifically described and often described in a manner that may appear limiting at least to illustrate their individual characteristics. However, that is for purposes of clarity of description and not to limit the application or scope of the aspects. Indeed, all of the various aspects can be combined and interchanged to provide further aspects. Additionally, aspects can also be combined and interchanged with aspects described in prior applications. The aspects described and contemplated herein can be implemented in many different forms. Figures 1, 2, and 3 below illustrate some embodiments, although other embodiments are contemplated and the discussion of Figures 1, 2, and 3 is not intended to limit the scope of the implementations. At least one of the aspects generally relates to encoding and decoding video, and at least one other aspect generally relates to transmitting the generated or encoded bitstream. These and other aspects may be implemented as a method, an apparatus, a computer-readable storage medium storing instructions for encoding or decoding video data according to any of the described methods and / or a computer-readable storage medium storing a bitstream generated according to any of the described methods.
[0016] In this application, the terms "reconstruct" and "decode" may be used interchangeably, the terms "pixel" and "sample" may be used interchangeably, and the terms "image", "picture" and "frame" may be used interchangeably. Typically, but not necessarily, the term "reconstruct" is used on the encoder side, whereas "decode" is used on the decoder side.
[0017] Various methods are described herein, each of which includes one or more steps or actions for achieving the described method. Unless a specific order of steps or actions is required for a method to operate properly, the order and / or use of specific steps and / or actions may be modified or combined.
[0018] Various methods and other aspects described herein may be used to modify modules, such as the quantization module (130) of the video encoder (100) shown in Figure 1 and / or the inverse quantization module (240) of the video decoder (200) shown in Figure 2. Additionally, aspects of the present application are not limited to VVC or HEVC, but may be applied, for example, to other standards and recommendations, existing or developed in the future, and extensions of any such standards and recommendations, including VVC and HEVC. Unless otherwise specified or technically excluded, aspects described herein may be used individually or in combination.
[0019] For example, various numerical values for block sizes are used herein, the specific values are for illustrative purposes and the described aspects are not limited to those specific values.
[0020] Figure 1 shows a block diagram of an example video encoder 100. Although variations of this encoder 100 are possible, encoder 100 is described below for clarity without describing all anticipated variations. For example, the encoder of Figure 1 may be an HEVC encoder that has improvements on the HEVC standard or an encoder that uses technology similar to HEVC, such as the Joint Exploration Model (JEM) encoder being developed by JVET.
[0021] Before being encoded, a video sequence may be subjected to pre-encoding processing (101), for example applying a color transformation to the input color picture (e.g., from RGB 4:4:4 to YCbCr 4:2:0) or remapping the input picture components to obtain a signal distribution that is more resilient to compression (e.g., using histogram equalization of one of the color components). Metadata may be related to the pre-processing and may be added to the bitstream.
[0022] In HEVC, to encode a video sequence having one or more pictures, the picture is divided into one or more slices (102), and each slice may include one or more slice segments. A slice segment is composed of a coding unit, a prediction unit, and a transform unit. The HEVC specification distinguishes between "blocks" and "units", where a "block" addresses a specific region (e.g., luma, Y) in a sample array, and a "unit" includes a collocated block of all coded color components (Y, Cb, Cr, or monochrome), syntax elements, and prediction data (e.g., motion vectors) associated with the block.
[0023] For coding in HEVC, a picture is divided into square coding tree blocks (CTBs) with configurable size, and a set of consecutive coding tree blocks is grouped into a slice. A coding tree unit (CTU) includes the CTBs of coded color components. The CTBs are the root of a quadtree partition into coding blocks (CBs), which can be divided into one or more prediction blocks (PBs), forming the root of a quadtree partition into transform blocks (TBs). Corresponding to the coding blocks, prediction blocks, and transform blocks, a coding unit (CU) includes a tree-structured set of prediction units (PUs) and transform units (TUs), where a PU includes prediction information for all color components, and a TU includes a residual coding syntax structure for each color component. The sizes of the CB, PB, and TB of the luma component apply to the corresponding CU, PU, and TU. In this application, the term "block" may be used to refer to any of, for example, a CTU, a CU, a PU, a TU, a CB, a PB, and a TB. In addition, "block" may be used to refer to macroblocks and partitions defined within H.264 / AVC or other video coding standards, and more broadly to refer to arrays of data of various sizes.
[0024] In one example of an encoder 100, a picture is encoded by the elements of the encoder as described below. The picture to be encoded is divided (102) into coding units that represent a portion of the picture and processed. Each unit is encoded, for example, using intra or inter mode. If the unit is encoded in intra mode, the encoder performs intra prediction (160). In inter mode, motion estimation (175) and motion compensation (170) are performed. The encoder decides (105) whether to use intra or inter mode to encode the unit, and indicates the intra / inter decision, for example, by a prediction mode flag. A prediction residual is calculated by subtracting (110) the predicted block from the original image block. The prediction residual is then transformed (125) and quantized (130). The quantized transform coefficients as well as the motion vectors and other syntax elements are entropy coded (145) to output a bitstream. The encoder can skip the transform and directly apply quantization to the non-transformed residual signal. The encoder can bypass both the transform and quantization, i.e., the residual is directly coded without applying the transform or quantization process. The encoder decodes the coded block to provide a reference for further prediction. The encoder dequantizes (140) and inverse transforms (150) the quantized transform coefficients to decode the prediction residual. The encoder combines (155) the decoded prediction residual with the predicted block to reconstruct the image block. The encoder applies an in-loop filter (165) to the reconstructed picture, for example to perform deblocking / SAO (sample adaptive offset) filtering to reduce coding artifacts. The encoder stores the filtered image in a reference picture buffer (180).
[0025] Figure 2 shows a block diagram of an example video decoder 200. Variations of this decoder 200 are possible, but the decoder 200 is described below for clarity without describing all anticipated variations. For example, the decoder of Figure 1 may be an HEVC decoder that has improvements on the HEVC standard or a decoder that uses HEVC-like technology, such as the JEM decoder being developed by JVET.
[0026] In the decoder 200, the bitstream is decoded by the decoder elements as described below. The video decoder 200 generally performs a decoding path that is the inverse of the encoding path described in FIG. 1. The encoder 100 also generally performs video decoding as part of encoding the video data. In particular, the decoder input includes a video bitstream that may be generated by the video encoder 100, including syntax data elements that allow the video to be reconstructed. The bitstream is first entropy decoded (230) to obtain transform coefficients, motion vectors, and other coded information. The picture partition information indicates how the picture is partitioned. Thus, the decoder can partition the picture according to the decoded picture partition information (235). The transform coefficients are dequantized (240) and inverse transformed (250) to decode the prediction residual. The decoded prediction residual is combined (255) with the predicted block to reconstruct the image block. The predicted block can result from intra prediction (260) or motion compensated prediction (or inter prediction) (275) (270). An in-loop filter (265) is applied to the reconstructed image. The filtered image is stored in a reference picture buffer (280). The decoded picture can be further subjected to post-decoding processing (285), such as an inverse color transform (e.g., YCbCr 4:2:0 to RGB 4:4:4) or inverse remapping, which reverses the remapping process performed in the pre-encoding processing (101). The post-decoding processing can use metadata derived in the pre-encoding processing and signaled in the bitstream.
[0027] FIG. 3 illustrates a block diagram of an example of a system in which various aspects and embodiments may be implemented. System 1000 may be implemented as a device including various components described below and configured to perform one or more of the aspects described herein. Examples of such devices include various electronic devices, such as, but not limited to, personal computers, laptop computers, smartphones, tablet computers, digital multimedia set-top boxes, digital television receivers, personal video recording systems, connected consumer electronics, and servers. Elements of system 1000 may be implemented alone or in combination within a single integrated circuit (IC), multiple ICs, and / or separate components. For example, in at least one embodiment, the processing and encoder / decoder elements of system 1000 are distributed across multiple ICs and / or separate components. In various embodiments, system 1000 is communicatively coupled to one or more other systems or other electronic devices, for example, via a communication bus or by dedicated input and / or output ports. In various embodiments, system 1000 is configured to implement one or more of the aspects described herein.
[0028] The system 1000 includes at least one processor 1010 configured to execute instructions loaded therein to implement various aspects described herein, for example. The processor 1010 may include embedded memory, input / output interfaces, and various other circuits known in the art. The system 1000 includes at least one memory 1020 (e.g., volatile and / or non-volatile memory devices). The system 1000 includes storage 1040, which may include non-volatile and / or volatile memory including, but not limited to, Electrically Erasable Programmable Read Only Memory (EEPROM), Read Only Memory (ROM), Programmable Read Only Memory (PROM), Random Access Memory (RAM), Dynamic Random Access Memory (DRAM), Static Random Access Memory (SRAM), Flash, magnetic disk drives, and / or optical disk drives. The storage 1040 may include, by way of non-limiting example, an internal storage device, an additional storage device (including removable and non-removable storage devices), and / or a network-accessible storage device.
[0029] The system 1000 includes an encoder / decoder module 1030 configured to process data to provide, for example, encoded or decoded video, which may include its own processor and memory. The encoder / decoder module 1030 represents a module that may be included within a device to perform encoding and / or decoding functions. As is known, a device may include one or both of an encoding module and a decoding module. Additionally, the encoder / decoder module 1030 may be implemented as a separate element of the system 1000 or may be incorporated within the processor 1010 as a combination of hardware and software, as is known to those skilled in the art.
[0030] Program code loaded onto the processor 1010 or the encoder / decoder 1030 to perform various aspects described herein may be stored in the storage device 1040 and then loaded onto the memory 1020 for execution by the processor 1010. According to various embodiments, one or more of the processor 1010, the memory 1020, the storage device 1040, and the encoder / decoder module 1030 may store one or more of various items during execution of the processes described herein. Such stored items may include, but are not limited to, input video, decoded video or portions of decoded video, bitstreams, matrices, variables, and intermediate or final results of processing of equations, formulas, operations, and computational logic.
[0031] In some embodiments, memory internal to the processor 1010 and / or the encoder / decoder module 1030 is used to store instructions and provide working memory for processing required during encoding or decoding. However, in other embodiments, memory external to the processing unit (e.g., the processing unit may be the processor 1010 or the encoder / decoder module 1030) is used for one or more of these functions. The external memory may be the memory 1020 and / or the storage 1040, such as dynamic volatile memory and / or non-volatile flash memory. In some embodiments, for example, an external non-volatile flash memory is used to store the TV's operating system. In at least one embodiment, a high-speed external dynamic volatile memory such as RAM is used as working memory for video coding and decoding operations such as MPEG-2 (MPEG stands for Moving Picture Experts Group, MPEG-2 is also known as ISO / IEC 13818, 13818-1 is also known as H.222, and 13818-2 is also known as H.262), HEVC, or VVC.
[0032] Inputs to the elements of system 1000 may be provided by various input devices, as shown in block 1130. Such input devices include, but are not limited to, (i) an RF section that receives, for example, an RF (radio frequency) signal transmitted wirelessly by a broadcaster, (ii) a component (COMP) input terminal (or set of COMP input terminals), (iii) a universal serial bus (USB) input terminal, and / or (iv) a high definition multimedia interface (HDMI) input terminal. Other examples not shown in FIG. 3 include composite video.
[0033] In various embodiments, the input devices of block 1130 have associated individual input processing elements known in the art. For example, the RF section may be associated with elements suitable for (i) selecting a desired frequency (also referred to as selecting a signal or band-limiting a signal to a frequency band), (ii) down-converting the selected signal, (iii) band-limiting again to a narrower frequency band to select a signal frequency band, which may be referred to as a channel in a particular embodiment (for example), (iv) demodulating the down-converted and band-limited signal, (v) performing error correction, and (vi) demultiplexing to select a desired stream of data packets. The RF section of various embodiments includes one or more elements for performing these functions, such as a frequency selector, a signal selector, a band-limiter, a channel selector, a filter, a down-converter, a demodulator, an error corrector, and a demultiplexer. The RF section may include, for example, a tuner to perform various of these functions, including down-converting a received signal to a lower frequency (e.g., an intermediate frequency or a frequency close to baseband) or to baseband. In some set-top box embodiments, the RF section and its associated input processing elements receive RF signals transmitted over a wired (e.g., cable) medium, filter, downconvert, and filter again to a desired frequency band to perform frequency selection. Various embodiments rearrange the order of the above-described (and other) elements, remove some of the elements, and / or add other elements that perform similar or different functions. Adding elements may include inserting elements between existing elements, such as inserting amplifiers and analog-to-digital converters. In various embodiments, the RF section includes an antenna. In addition, the USB and / or HDMI terminals may include individual interface processors for connecting the system 1000 to other electronic devices across the USB and / or HDMI connections. It should be understood that various aspects of input processing, such as Reed-Solomon error correction, may be implemented as desired, for example, in separate input processing ICs or within the processor 1010.Similarly, aspects of the USB or HDMI interface processing may be implemented in a separate interface IC or within the processor 1010. The demodulated, error corrected and demultiplexed stream is provided to various processing elements including, for example, the processor 1010 and an encoder / decoder 1030 operating in combination with memory and storage elements to process the data stream as necessary for presentation on an output device.
[0034] The various elements of system 1000 may be provided within a unitary housing in which the various elements may be interconnected and data may be transmitted therebetween using any suitable connection arrangement, such as an internal bus known in the art, including the Inter-IC (I2C) bus, hardwired and printed circuit boards.
[0035] The system 1000 includes a communication interface 1050 that enables communication with other devices over a communication channel 1060. The communication interface 1050 may include, but is not limited to, a transceiver configured to transmit and receive data over the communication channel 1060. The communication interface 1050 may include, but is not limited to, a modem or a network card, and the communication channel 1060 may be implemented, for example, in a wired and / or wireless medium.
[0036] In various embodiments, data is streamed or provided to the system 1000 using a wireless network such as a Wi-Fi network, e.g., IEEE 802.11 (IEEE refers to the Institute of Electrical and Electronics Engineers). The Wi-Fi signal in these embodiments is received over a communication channel 1060 and communication interface 1050 adapted for Wi-Fi communication. The communication channel 1060 in these embodiments is typically connected to an access point or router that provides access to external networks, including the Internet, to enable streaming applications and other over-the-top communications. Other embodiments provide stream data to the system 1000 using a set-top box that delivers data over an HDMI connection of the input block 1130. Still other embodiments provide stream data to the system 1000 using an RF connection of the input block 1130. As indicated above, various embodiments provide data in a non-streaming manner. In addition, various embodiments use wireless networks other than Wi-Fi, e.g., a cellular network or a Bluetooth network.
[0037] The system 1000 can provide output signals to various output devices including a display 1100, a speaker 1110, and other peripherals 1120. The display 1100 of various embodiments includes, for example, one or more of a touch screen display, an organic light emitting diode (OLED) display, a curved display, and / or a foldable display. The display 1100 can be, for example, a television, a laptop, a cell phone, or other device. The display 1100 can be integrated with other components (e.g., as in a smart phone) or can be separate (e.g., an external monitor for a laptop). In various example embodiments, the other peripherals 1120 include one or more of a stand-alone digital video disc (or digital versatile disc) (DVR in both terms), a disc player, a stereo system, and / or a lighting system. Various embodiments use one or more peripherals 1120 that provide functionality based on the output of the system 1000. For example, a disc player performs the function of playing the output of the system 1000.
[0038] In various embodiments, control signals are communicated between the system 1000 and the display 1100, speaker 1110, or other peripheral device 1120 using signaling such as AV.Link, Consumer Electronics Control (CEC), or other communication protocols that allow inter-device control with or without user intervention. The output devices may be communicatively coupled to the system 1000 via dedicated connections by individual interfaces 1070, 1080, and 1090. Alternatively, the output devices may be connected to the system 1000 using a communication channel 1060 via the communication interface 1050. The display 1100 and speaker 1110 may be integrated into a single unit with other components of the system 1000 within an electronic device such as, for example, a television. In various embodiments, the display interface 1070 includes a display driver, such as, for example, a timing controller (T Con) chip.
[0039] For example, if the RF portion of input 1130 is part of a separate set-top box, display 1100 and speakers 1110 can alternatively be separate from one or more of the other components. In various embodiments in which display 1100 and speakers 1110 are external components, the output signal can be provided by a dedicated output connection including, for example, an HDMI port, a USB port, or a COMP output.
[0040] The embodiments may be implemented by computer software or hardware implemented by the processor 1010, or a combination of hardware and software. As a non-limiting example, the embodiments may be implemented by one or more integrated circuits. The memory 1020 may be of any type suitable for the technical environment, and may be implemented using any suitable data storage technology, such as, as non-limiting examples, optical memory devices, magnetic memory devices, semiconductor-based memory devices, fixed memories and removable memories. The processor 1010 may be of any type suitable for the technical environment, and may include, as non-limiting examples, one or more of a microprocessor, a general-purpose computer, a special-purpose computer, and a processor based on a multi-core architecture.
[0041] Figure 4 shows an example of a coding tree unit and a coding tree in the compressed domain. In the HEVC video compression standard, a picture is divided into so-called coding tree units (CTUs), the size of which is, for example, 64x64, 128x128 or 256x256 pixels. Each CTU is represented by a coding tree in the compressed domain. This is a quadtree division of the CTU, where each leaf is called a coding unit (CU).
[0042] FIG. 5 shows an example of dividing a CTU into coding units, prediction units and transform units. Some intra prediction parameters or inter prediction parameters (prediction information) are given to each CU. To this end, the CU is spatially divided into one or more prediction units (PUs), and some prediction information is assigned to each PU. The intra coding mode or inter coding mode is specified at the CU level.
[0043] Video codecs divide a picture into square or rectangular blocks, traditionally named coding units (CUs) or transform units. The division can be recursive. Thus, the division depth of a current block refers to the number of recursive divisions to obtain the current block. These blocks can then be predicted, and the residual (difference between original and prediction) is transformed to calculate frequency coefficients. On the encoder side, quantization usually involves dividing the resulting transformed coefficients by a certain quantization scale, also named quantization step size (Qstep). The decoder then multiplies the result by the same Qstep to restore an approximation of the original coefficients.
[0044] Typically, a quantization parameter (QP) is used to determine the quantization step size Qstep. In the example of HEVC, QP can take 52 values from 0 to 51 (QP range). An increase of 1 in QP means that the quantization step size Qstep increases by about 12% (i.e., 2 1 / 6 ) increases. In the HEVC example, the relationship between the resulting QP and the uniform quantization step size is given by the following equation (the "equal" sign means integer equality): Qstep(QP)=(2 1 / 6 ) QP-4 (Formula 1)
[0045] In the embodiments described below, functions and QP ranges other than those defined in the above (Equation 1) may be used. For example, in VVC, the QP range is extended to 63.
[0046] In the following, the term "block" is used, which can be equally replaced by the term "CU" which groups several blocks, for example a luma block and / or a chroma block or three RGB blocks.
[0047] A local adjustment of the quantization step is typically possible by specifying an offset (QP delta) from the QP of the current picture (or a part thereof, such as a slice). In the HEVC example, the QP delta can be specified for each group of blocks called "quantization group" (QG) defined by a given maximum partition depth (diff_cu_qp_delta_depth syntax element allowed in a picture parameter set), i.e., all blocks resulting from further partitioning belong to the same quantization group and share the same QP (more precisely, share the same QP prediction and specify at most one QP delta). In the HEVC example, all blocks at a given partition depth have the same size, since all partitions are quad partitions (Q partitions), thus resulting in uniform QP values for blocks of the same size.
[0048] FIG. 6 shows various types of partitioning, for example in VVC. In an example codec such as VVC, in addition to Q partitioning, there can be other types of partitioning, including binary partitioning (B partitioning), ternary partitioning (T partitioning) and asymmetric binary partitioning (AB partitioning). In this figure, Q partitioning is shown with dashed lines, and other types of partitioning are shown with dashed lines. The top Q partitioning defines four blocks of the same size. In the second level partitioning, each of the blocks resulting from the Q partitioning is partitioned using another type of partitioning, i.e. the top left block is partitioned using AB partitioning, the top right block is partitioned using T partitioning, the bottom left block is partitioned using Q partitioning, and the bottom right block is partitioned using B partitioning. These partitionings result in blocks that may have different sizes at the same partitioning depth (second level). Indeed, block 61 of the AB partitioning block is larger than block 62 of the T partitioning, or block 63 of the Q partitioning, or block 64 of the B partitioning block. Although all these blocks are at the same level, the sizes of these blocks are not identical and may be very different after multiple partitionings. Thus, the visual importance of blocks, which is at least partially related to the size of the blocks, is not uniform.
[0049] Figures 7A and 7B show the effect of repeated partitioning on block size. Figure 7B shows repeated horizontal and vertical ternary partitioning. In this case, the central block (74) is much larger than the corner block (73) while having the same partitioning depth. Therefore, using partitioning depth information to define quantization groups may result in quantization groups with non-uniform sizes, which may lead to undesirable results compared to the HEVC principle where the QP granularity (quantization group size) is the same throughout the picture or slice. Figure 7A shows repeated horizontal and vertical AB partitioning, which causes the same problem in blocks 71 and 72.
[0050] Figure 8 shows various blocks of the same size at different division levels. In fact, the same block size can be obtained at different division depths according to the type of division as shown in Figure 7, where the numbers in the blocks indicate the division depth for each block. In these examples, blocks with 1 / 16 faces of the parent block have a division depth of 2 (bottom left block 81) or 3 (bottom right block 82).
[0051] FIG. 9 illustrates the use of quantization groups in the HEVC specification. The HEVC specification includes a QP delta parsing that is separate from the QP prediction. By detecting the QG start, a new prediction and a new QP delta are enabled. To do so, if the partition depth is less than or equal to a given threshold depthLimit that is signaled in the stream, a flag (IsCuQpDeltaCoded) is set to false. Then, in a transform unit (TU), if the block residual is non-empty (and the signaling of QP offset is enabled at a high level) and IsCuQpDeltaCoded is still false, this flag is set to true and the QP offset is coded / decoded. In the decoding process, the derivation of the QP for each block includes a QP prediction made using the neighboring blocks above and to the left of the top-left corner of the quantization group. The position of this top-left corner is determined using a simple alignment of the current block position on the QG grid, as shown in FIG. 9. This approach works and is consistent with the previous point, since all partitions are quad partitions and therefore the QGs have the same (minimum) size and are aligned on a grid that coincides with the partition depth constraint. However, when using video coding with different partition types than the Q partition introduced above, such as that used in VVC, such a simple derivation of the position of the QG is no longer correct, since different partition types result in partitions of various sizes. The blocks at a given partition depth no longer form a regular grid.
[0052] The embodiments described below are devised with the above in mind.
[0053] Subdivision Level Counter FIG. 10 illustrates at least one embodiment of the use of a subdivision level counter. Such a counter (hereinafter referred to as "subdiv") is closely related to the surface of a block or at least represents the size of the block, and thus represents the surface of the block or also represents the number of samples of the block. When an image is divided into multiple blocks of various sizes, a subdivision level counter (hereinafter referred to as "subdiv") is associated with each of the partitions and blocks. The subdiv value for a block is determined according to at least the type of division. The subdiv value can be used to determine the quantization parameter of the block and the quantization group to which the block belongs. As a result, the same quantization parameter is used for blocks of similar size, thus providing consistent encoding / decoding.
[0054] In at least one embodiment, when a partition is split, an analysis is performed according to the subdivision level counter subdiv, the maximum subdivision level and the type of split to determine the start of a new quantization group, and if applicable, the current position of the partition is propagated to further partitions to be stored with those partitions and to aid in the prediction process during decoding.
[0055] In at least one embodiment, a recursive process assigns each block a subdivision level counter subdiv (a positive integer value). To do so, the process first initializes subdiv to zero at the root of the partitioning tree. Then, for each partition, the process propagates the subdiv value to each previously created partition (conventionally called a subblock) after incrementing it from the previous subdiv value, where the increment value depends on the type of partition and the position of the partition within the partition. During partitioning of a block or subblock, a subdivision level is added to each subpartition in addition to the partition depth. The subdivision level is incremented from 1 at the parent node depending on the type of partition and the number of partitions.
[0056] Such a recursive split function is illustrated by S1 in Figure 10. After performing other functions related to the conventional split function in S11, a subdiv value is determined in S12 based on the type of split, and the partition is recursively split in S13 while adding the subdiv value to each sub-partition. In the following, this overall process is referred to as the subdiv process.
[0057] The encoder 100 of FIG. 1, the decoder 200 of FIG. 2 and the system 1000 of FIG. 3 are adapted to implement at least one of the embodiments described herein and are therefore configured to handle the subdiv counter with the subdiv process.
[0058] 11A, 11B, and 11C show examples of the relationship between the type of division and the subdiv increment according to one embodiment. In at least one embodiment, the types of division considered are Q-division, B-division, and T-division, with the corresponding increments as follows: - For Q partitions: incQ=+2 for all partitions of the quad partition (Figure 11A) - for B division: incB=+1 for all partitions of the binary division, which can be horizontal or vertical (Fig. 11B) - for the T division: incTS=+2 for the side partitions of the ternary division, which can be horizontal or vertical, incTC=+1 for the central partition (Fig. 11C)
[0059] FIG. 12 shows an example of a block diagram of the subdiv process according to one embodiment. In this diagram, the increment of the subdiv parameters is generally indicated as incQ for Q partition, incB for B partition, and incTS and incTC for T partition, and their values are determined as introduced above. If the partition type is determined to be Q partition in step 401, step 403 increments the subdiv values of all four sub-partitions by incQ=+2. If the partition type is determined to be B partition in step 402, step 405 increments the subdiv values of both sub-partitions by incB=+1. If the partition type is determined to be T partition in step 404, step 407 increments the subdiv value of the horizontal partition by incTS=+2 and incTC=+1.
[0060] Figures 13A, 13B and 13C show examples of the values of the subdiv counter when applying the process to the examples of Figures 6 and 7. However, in this figure, the AB split of the top left block is replaced by no split, because the embodiment of Figure 11 does not handle AB split partitions. It is observed that the subdiv value is much more related to the actual block size than the split depth parameter.
[0061] One application of this principle is used during quantization, where blocks with the same subdiv value have the same face, and therefore allocate the same number of samples to those blocks. Thus, in at least one embodiment, the specification of the quantization group is related to the subdiv value of the coding group under consideration. In one embodiment, the determination of the quantization group may be based on comparing the subdiv value to a maximum subdiv value (referred to herein as diff_cu_qp_delta_subdiv) signaled at a higher level (e.g., in the PPS, slice header, tile group header, tile header). For example, a quantization group is specified as the set of blocks resulting from splitting a parent block with subdiv>=diff_cu_qp_delta_subdiv. Such a set of blocks make up the same quantization group. Due to the above subdiv derivation process, the quantization group will have the same number of samples (=same face), or even larger if the subdiv limit is not reached (insufficient splitting). For example, in Figure 13A, the bottom left block and the top right block do not have the same shape, but they have similar faces and share the same subdiv value. Furthermore, this gives a similar behavior to HEVC. In fact, when there is only Q partition, this method results in the same quantization groups as HEVC.
[0062] In at least one embodiment, the number of samples (=faces) in a block is easily calculated from the subdiv value as follows: block_surface=CTB_surface>>subdiv
[0063] In another embodiment, the subdiv may be useful for other purposes as well, one example being to derive some CABAC context id (e.g., for split mode) based on the subdiv value.
[0064] First variant of AB division At least one embodiment relates to coding video using all partition types shown in FIG. 6, thus using AB partitions in addition to the previous Q, B and T partitions.
[0065] 14A and 14B show different kinds of asymmetric binary partitioning, where the number of samples is not divided by a power of 2 on both sides, i.e. the ratio is 3 / 4 and 1 / 4 or 2 / 3 and 1 / 3 when a 3 / 4 partition is further divided into AB in the same direction.
[0066] Furthermore, two successive asymmetric binary divisions corresponding to the ternary division shall give the same subdivision levels as the uniform ternary division shown in FIG. 14C.
[0067] In at least one embodiment, a method that matches the increments described above for Q, B, and T decompositions and subsequently estimates the CTB / block face ratio at 2^subdiv applies the following subdiv increments for the AB decomposition: - For 1 / 4 AB division: incAB1=+0 for the larger part, incAB2=+2 for the smaller part - For AB division of 1 / 3: incAB3=+1 for the larger part, incAB4=+2 for the smaller part
[0068] Figures 15A and 15B show an example of the relationship between the type of division and the subdiv increment according to a first variant embodiment for an AB division. Figures 16A, 16B and 16C show an example of the value of the subdiv counter when the process is applied to two consecutive asymmetric binary divisions corresponding to a ternary division.
[0069] Second variant of AB division Fig. 17 shows an example of the value of the subdiv counter when applying the process to two successive asymmetric 1 / 4 binary divisions in opposite directions using the first variant for AB division. In this case, as shown in Fig. 17, successive 1 / 4 AB divisions in opposite directions lead to a large part of the subdiv not being incremented (top right block) despite a significant reduction in size (56% of the original surface).
[0070] Figures 18A, 18B, 18C, 18D and 18E show an example of the relationship between the division type and the subdiv increment according to a second variant embodiment for AB division. In this embodiment, the subdiv increment is modified for all division types as follows: - incQ=+4 for all partitions of the quad division (Figure 18A), incB=+2 for all partitions of the horizontal binary division (FIG. 18B) or vertical (not shown), - incTS=+4 for the side partitions of the ternary division (which can be vertical or horizontal as shown in FIG. 18C) and intT2=+2 for the central partition, - for a vertical AB division of 1 / 4, incAB1=+1 for the larger part of the AB division of 1 / 4 and incAB2=+4 for the smaller part (similarly for the horizontal), as shown in Fig. 18D; - As shown in Figure 18E for a vertical 1 / 3 AB division, incAB3=+1 for the larger part of the 1 / 3 AB division and incAB4=+3 for the smaller part (similarly for horizontal).
[0071] Using this variant, the even AB and ternary partitions still get the same subdiv, and the ratio of CTB / block surface is close to 2^(subdiv / 2). Therefore, the following simple calculation can be used to calculate an estimate of the block surface: block_surface ≈ CTB_surface >> (subdiv / 2). In the presence of asymmetric binary partitions, partitions with the same subdiv are closer in size than in the first variant.
[0072] Influence on quantization group definition As already discussed with respect to Fig. 9, a unified detection of the start of quantization group (hereafter referred to as QG start) is required for QP delta parsing and for QP prediction. In at least one embodiment, the detection of QG start is done as follows: Two high-level syntax elements are read from the bitstream (e.g. in the PPS, slice header, tile group header, tile header): cu_qp_delta_enabled_flag (a flag that allows activating or deactivating the use of delta QP coding) and cu_qp_delta_subdiv (a parameter that specifies the subdiv limit used to set QG). When cu_qp_delta_enabled_flag is equal to true, the following applies:
[0073] During the splitting process, if subdiv<=cu_qp_delta_subdiv, set a flag (CuQpDeltaCoding) to true to indicate QG start and save the current position as the current QG origin. As soon as the QP delta is coded (or decoded), reset the CuQpDeltaCoding flag (to false).
[0074] However, by introducing a new type of partition, the definition of the QG becomes non-trivial due to the various sizes of partitions that result from the T or AB partitions: the QG cannot be easily defined as the smallest partition with a subdiv value less than or equal to cu_qp_delta_subdiv.
[0075] FIG. 19 shows an example of QG initiation for T partition. In this example, we set the limit value of cu_qp_delta_subdiv to 1 to illustrate the problem concisely. Using the subdiv increment defined in FIG. 11C and assuming the parent partition had subdiv=0, the T partition results in subdiv=2 for the side partition and 1 for the center partition (left side of FIG. 19). The center partition should be a QG (its subdiv is within the limit: subdiv<=cu_qp_delta_subdiv), while the side partition should not be a QG group (because its subdiv value exceeds cu_qp_delta_subdiv), implying that the QG to which the side partition belongs is (or is not) its parent partition. This would lead to overlapping QGs (or holes in the QG), which is not possible (a block should have a single QP prediction, i.e. belong to only one QG). This problem can be corrected as explained below.
[0076] FIG. 20 shows an example of the definition of the QG for a T-partition according to one embodiment that corrects the QG problem. According to this embodiment, in a T-partition: - The subdiv value of the first partition is greater than cu_qp_delta_subdiv, so the QG start flag is not modified, but with its position as QG origin, the QG start flag is already set to true by the parent partition. - For the middle partition, its subdiv value is equal to cu_qp_delta_subdiv, so the QG start flag is set to true. This means we start a new QG at the middle position, which means the first partition (left side) is the completed QG. - The subdiv value of the last partition exceeds cu_qp_delta_subdiv, therefore the QG start flag is not set, which means that the last partition is an element of the previous QG, i.e. the middle partition and the last partition form a single QG.
[0077] Regarding AB division, - If the smaller partition is first, there will be two QGs, - If the smaller partition is the last, there is a single QG, - Two successive AB divisions are equivalent to a T division.
[0078] The following sections use the syntax described in the JVET-L1001 document as examples of these syntax functions in VVC (Section 7.3.4.2 specifies the function coding_tree_unit(), Section 7.3.4.3 specifies the function coding_quadtree(), and Section 7.3.4.4 specifies the function multi_type_tree()).
[0079] Figure 21 shows a block diagram of an example of an embodiment of the QG identification process. In this embodiment, the subdiv parameter is added to the coding_quadtree() and multi_type_tree() syntaxes (or equivalent syntaxes hereinafter collectively referred to as coding_tree). To minimize syntax changes, the QG detection flag is shown in HEVC style, i.e., by retaining the IsCuQpDeltaCoded flag instead of the CuQpDeltaCoding proposed above.
[0080] In step 501, the partition starts from CTU with subdiv parameter set to 0. At the coding tree level, in step 502, if cu_qp_delta_enabled_flag is enabled and subdiv<=cu_qp_delta_subdiv, some values are initialized in step 503, including IsCuQpDeltaCoded=0, CuQpDeltaVal=0, and the current position of the block is stored as the QG origin, i.e. (xQg, yQg)=(x0, y0). Step 504 checks whether a subdivision is applicable. If so, in step 505, call child partition(coding_tree) with parameters according to the partition type. For the corresponding subpartitions, increment the subdiv parameter for each subpartition by a value incX corresponding to the subpartition type according to one of the above embodiments (e.g., for B partition incX is +1, for Q partition +2, etc.). If no further splitting is applied in step 504 (meaning the leaf of the coding tree has been reached), the process moves to the CU and TU levels. In step 506, if cu_qp_delta_enabled_flag is equal to 1, IsCuQpDeltaCoded is equal to 0, and the conditions for coding QP delta are met (e.g., non-zero coefficients are coded=cbf is non-zero), code (or decode) QP delta in step 507, update CuQpDeltaVal accordingly, and set IsCuQpDeltaCoded to 1. Otherwise, in step 508, no specific action is taken.
[0081] Figure 22 shows a block diagram of another example of an embodiment of the QG identification process. In this embodiment, we propose to further suppress the creation of new QGs by adding an additional condition to the detection of QG onset. When a child node detects that the limit is exceeded, the parent node disables the detection of QG onset for all children. This results in giving more regular QGs.
[0082] For that purpose, the QG flag is passed as a parameter to the coding_tree() syntax. In step 601, the splitting starts from CTU with 0 as subdiv parameter and 1 as QG flag parameter. At the coding tree level, if QG flag is equal to true in step 602 and subdiv<=cu_qp_delta_subdiv, some values are initialized in step 603, including CuQpDeltaCoding=cu_qp_delta_enabled_flag, CuQpDeltaVal=0, and the current position of the block is stored as the QG origin, i.e. (xQg, yQg)=(x0, y0). Step 604 checks whether a subdivision is applicable. If so, in step 605, the child split is called (coding_tree) with parameters according to the type of splitting. For the corresponding sub-partition, increment the subdiv parameter for each sub-partition by a value incX according to one of the above embodiments, where X is the type of the sub-partition (e.g., +1 for B partition). Set the QG flag parameter if the next partition cannot exceed the limit, so that subdiv+incMax<=cu_qp_delta_subdiv, where incMax is the maximum possible increment for the next partition considered. If no further partitions are applied in step 604 (meaning the leaf of the coding tree has been reached), the process moves to the CU and TU levels. In step 606, if CuQpDeltaCoding is equal to 1 and the conditions for coding QP delta are met (e.g., non-zero coefficients are coded=cbf is non-zero), code (or decode) QP delta in step 607, update CuQpDeltaVal accordingly, and set CuQpDeltaCoding to 0. Otherwise, no specific action is taken in step 608.
[0083] Figure 23 shows the result of such an embodiment in the situation of Figure 19. There is no mismatch between QGs at the level of ternary partitioning, thus leading to better results. In other words, we propose to prevent all subpartitions of a given node from starting a new QG if any of its subpartitions has a subdiv value above the subdiv limit. This is done by defining a new parameter called qgEnable, which is passed to the multi_type_tree() syntax function. qgEnable is initially equal to true, but is set to false for all children of a ternary partition if a horizontal partition has a subdiv value above the subdiv limit. qgEnable is used as an additional condition to start a new QG (and consequently preserve the QG origin and enable QP delta coding). To merge conditions and simplify the syntax, we also propose to invert the logic of IsCuQpDeltaCoded (renamed CuQpDeltaCoding).
[0084] Other coding and decoding processes that use quantization groups can use the same principle with the same advantages, for example in VVC where no coding_quadtree is found in the multi_type_tree, the use of QG parameters can be restricted to the multi_type_tree.
[0085] Furthermore, the derivation process of QP can be unchanged from HEVC (paragraph 8.6.1 of the HEVC specification described in JCTVC-W1005-v4), except that xQg and yQg are given instead of being derived from the current block position.
[0086] At least one embodiment uses on-the-fly CU QP derivation enabled by adding a CuQpPredict internal flag that is set to 1 upon detection of QG start (e.g., if CuQpDeltaCoding is equal to 1, then xQg, yQg and CuQpDeltaVal variables are unnecessary and can be removed); if CuQpPredict is set in a CU, predict the QP, assign it to the QpY variable and reset the CuQpPredict flag. If CuQpDeltaCoding is 1 in a TU and there is a QP delta, then QpY is incremented by the value of the decoded delta and CuQpDeltaCoding is reset.
[0087] Syntax Elements and Semantics In at least one embodiment, the subdiv process is implemented by using a specific syntax to signal the value of the subdiv level counter. The coded syntax elements described below are based on HEVC or VVC (see [JVET_K1001]), with changes highlighted with a grey background.
[0088] The first change is to rename diff_cu_qp_delta_depth to cu_qp_delta_subdiv and modify the semantics description accordingly. Removed the derived variable Log2MinCuQpDeltaSize.
[0089] Figure 24 shows a table representing an example of a picture parameter set (PPS) syntax according to an embodiment using a subdivision level counter. In this table, cu_qp_delta_enabled_flag equal to 1 specifies that the cu_qp_delta_subdiv syntax element is in the PPS and cu_qp_delta_abs may be in the syntax of the transform unit. cu_qp_delta_enabled_flag equal to 0 specifies that the cu_qp_delta_subdiv syntax element is not in the PPS and cu_qp_delta_abs is not in the syntax of the transform unit. cu_qp_delta_subdiv specifies the maximum cbSubdiv value for coded units carrying cu_qp_delta_abs and cu_qp_delta_sign_flag. If not present, the value of cu_qp_delta_subdiv is inferred to be equal to 0.
[0090] Syntax Elements and Semantics for the Main Embodiment 25-28 show tables depicting example syntax for implementing the main embodiment. The syntax is illustrated with respect to the VVC syntax, with modifications highlighted with a grey background. To be consistent with the notation with other parameters, the subdiv level counter is represented by the cbSubdiv parameter. SPLIT_BT_HOR, SPLIT_BT_VER, SPLIT_TT_HOR and SPLIT_TT_VER correspond to horizontal B split, vertical B split, horizontal T split and vertical T split, respectively. The condition used in the coding tree syntax to reset IsCuQpDeltaCoded and CuQpDeltaVal is modified from (cu_qp_delta_enabled_flag && log2CbSize >= Log2MinCuQpDeltaSize) to (cu_qp_delta_enabled_flag && cbSubdiv <= cu_qp_delta_subdiv). Under this condition, in addition to resetting IsCuQpDeltaCoded and CuQpDeltaVal, we also save x0 and y0 to xQg and yQg (step 503 in Fig. 21 and step 603 in Fig. 22). As described in the main embodiment or a variant of the main embodiment (if AB split is required), we add syntax or semantics to coding_quadtree() and multi_type_tree() (and also dual_tree_implicit_qt_split) to increment the newly created cbSubdiv parameter according to the split type and partition index.
[0091] In the paragraph "derivation process for quantization parameters" of VVC, the position of the QG origin (xQg, yQg) as described in HEVC cannot be derived because it is based on Log2MinCuQpDeltaSize, but (xQg, yQg) is exactly what is stored in coding_quadtree() and multi_type_tree().
[0092] Syntax elements and semantics for the main embodiment with restricted detection of QG onsets In at least one embodiment, the subdiv process is implemented by using a specific syntax that signals the value of the subdiv level counter and at least parameters related to detecting the start of a quantization group. Thus, detection of the QG start is done by adding a QG flag parameter (renamed "QG" in the following tables) in the coding tree syntax and modifying the detection condition for the QG start. The modifications are highlighted with a gray background.
[0093] Figures 29-31 show tables illustrating example syntax for implementing the main embodiment and handling QG start detection. The syntax is illustrated with respect to the VVC syntax, with modifications highlighted with a grey background. The same syntax as in coding_quadtree() is used for dual_tree_implicit_qt_split() and is not illustrated here.
[0094] 32-35 show tables illustrating examples of syntax for implementing the main embodiment and for handling QG start detection for chroma-related elements (indicated in bold italics in the tables). Indeed, although the above description was given in the context of luma quantization parameters, the same principles apply mutatis mutandis to chroma quantization.
[0095] Those skilled in the art will understand that syntax structures and element names may exist in multiple variations depending on the version of the standard. Syntax elements may be replaced by variables that represent the same information. For example, previous versions of VVC used the cu_qp_delta_subdiv syntax element in the PPS, whereas further versions of VVC use the CuQpDeltaSubdiv variable defined in the semantics of the slice header that represents the same information but selects the appropriate value for the current slice type based on the syntax elements in the picture header. In addition, there are some changes in the syntax structure of the coding tree in various versions of VVC. These changes do not affect the principles of the above embodiments. In addition, syntax related to those embodiments may be included in different positions in different structures.
[0096] Various implementations include decoding. As used herein, "decoding" may encompass all or part of the processes performed on a received encoded sequence to result in a final output suitable for display, for example. In various embodiments, such processes include one or more of the processes typically performed by a decoder, such as entropy decoding, inverse quantization, inverse transform, and differential decoding. In various embodiments, such processes also or instead include the processes performed by the decoders of various implementations described herein, such as the processes illustrated in Figures 12, 21, and 22.
[0097] As a further example, in one embodiment "decoding" refers to entropy decoding only, in another embodiment "decoding" refers to differential decoding only, and in another embodiment "decoding" refers to a combination of entropy and differential decoding. Whether the phrase "decoding process" is intended to refer specifically to a subset of operations or to a broader decoding process generally will be clear based on the context of the specific description and will be well understood by one of ordinary skill in the art.
[0098] Various implementations include encoding. Similar to the discussion above regarding "decoding," as used herein, "encoding" may encompass, for example, all or part of the processes performed on an input video sequence to result in an encoded bitstream. In various embodiments, such processes include one or more of the processes typically performed by an encoder, such as partitioning, differential encoding, transforming, quantizing, and entropy encoding. In various embodiments, such processes also or instead include processes performed by the encoders of various implementations described herein, such as the processes of Figures 12, 21, and 22.
[0099] As a further example, in one embodiment "encoding" refers only to entropy encoding, in another embodiment "encoding" refers only to differential encoding, and in another embodiment "encoding" refers to a combination of differential and entropy encoding. Whether the phrase "encoding process" is intended to refer specifically to a subset of operations or to a broader encoding process generally will be clear based on the context of the specific description and will be well understood by one of ordinary skill in the art.
[0100] It should be noted that the syntax elements used herein are descriptive terms, so they do not preclude the use of other syntax element names.
[0101] Where a drawing is shown as a flow diagram, it should be understood that it also provides a block diagram of the corresponding apparatus. Similarly, where a drawing is shown as a block diagram, it should be understood that it also provides a flow diagram of the corresponding method / process.
[0102] The implementations and aspects described herein may be implemented, for example, by a method or process, an apparatus, a software program, a data stream, or a signal. Even if only discussed in connection with a single type of implementation (e.g., only discussed as a method), the implementation of the discussed features may also be implemented in other forms (e.g., an apparatus or a program). An apparatus may be implemented, for example, by appropriate hardware, software, and firmware. A method may be implemented, for example, by a processor, where a processor generally refers to a processing device, including, for example, a computer, a microprocessor, an integrated circuit, or a programmable logic device. Processors also include communication devices, such as, for example, computers, mobile phones, portable / personal digital assistants ("PDAs"), and other devices that facilitate communication of information between end-users.
[0103] Reference to "one embodiment," or "an embodiment," or "one implementation," or "an implementation" and other variations thereof means that a particular feature, structure, characteristic, etc. described in connection with an embodiment is included in at least one embodiment. Thus, appearances of the phrases "in one embodiment," or "in an embodiment," or "in one implementation," or "in an implementation" in various places throughout this application, and any other variations thereof, do not necessarily all refer to the same embodiment.
[0104] Additionally, the application may refer to "determining" various pieces of information. Determining information may include, for example, one or more of estimating information, calculating information, predicting information, or retrieving information from memory.
[0105] Additionally, the application may refer to "accessing" various pieces of information. Accessing information may include, for example, one or more of receiving information, retrieving information (e.g., from a memory), storing information, moving information, replicating information, calculating information, determining information, predicting information, or estimating information.
[0106] In addition, the application may refer to "receiving" various pieces of information. Receiving is intended to be broad, similar to "accessing." Receiving information may include, for example, one or more of accessing information or retrieving information (e.g., from a memory). Furthermore, "receiving" typically involves some form of operation, such as, for example, storing information, processing information, transmitting information, moving information, copying information, erasing information, calculating information, determining information, predicting information, or estimating information.
[0107] For example, the use of either " / ", "and / or" and "at least one of" in the cases of "A / B", "A and / or B" and "at least one of A and B" is intended to encompass selecting only the first listed option (A), or selecting only the second listed option (B), or selecting both options (A and B). As a further example, in the cases of "A, B and / or C" and "at least one of A, B and C", such language is intended to encompass selecting only the first listed option (A), or selecting only the second listed option (B), or selecting only the third listed option (C), or selecting only the first and second listed options (A and B), or selecting only the first and third listed options (A and C), or selecting only the second and third listed options (B and C), or selecting all three options (A and B and C). As will be apparent to one skilled in the art, this representation can be expanded to include as many items as are listed.
[0108] Further, as used herein, the term "signaling" refers to indicating something to a corresponding decoder, among other things. For example, in a particular embodiment, an encoder signals a particular mode. In this way, in one embodiment, the same parameters are used at both the encoder and decoder sides. Thus, for example, the encoder can transmit a particular parameter to the decoder (explicit signaling), so that the decoder can use the same particular parameter. Conversely, if the decoder already has that particular parameter along with other parameters, signaling can be used without transmission, simply to allow the decoder to know and select that particular parameter (implicit signaling). By avoiding transmitting any actual functionality, bit savings are realized in various embodiments. It should be understood that signaling can be realized in various ways. For example, in various embodiments, one or more syntax elements, flags, etc. are used to signal information to a corresponding decoder. Although the above content relates to the verb form of the word "signal", the word "signal" can also be used as a noun in this specification.
[0109] As will be apparent to one of ordinary skill in the art, implementations can result in a variety of signals formatted to carry information that can be, for example, stored or transmitted. Information can include, for example, instructions for performing a method or data produced by one of the described implementations. For example, a signal can be formatted to carry a bit stream of the described embodiments. Such a signal can be formatted, for example, as an electromagnetic wave (e.g., using a radio frequency portion of the spectrum) or as a baseband signal. Formatting can include, for example, encoding a data stream and modulating a carrier wave with the encoded data stream. The information carried by the signal can be, for example, analog information or digital information. The signal can be transmitted over a variety of different wired or wireless links, as is known. The signal can be stored on a processor-readable medium.
[0110] Several embodiments have been described. The features of these embodiments may be provided alone or in any combination. Furthermore, the embodiments may include one or more of the following features, devices, or aspects, alone or in any combination, across various claim categories and types.
Claims
1. 1. A method of encoding video, comprising: When a block of an image is divided (504) into sub-blocks, - associating (505) a value representative of the face of said sub-block, and determining a quantization parameter for said sub-block based on said values representing said faces of said sub-block; The method includes:
2. 1. A method for decoding a video, comprising: When a block of an image is divided (504) into sub-blocks, - associating (505) a value representative of the face of said sub-block, and determining an inverse quantization parameter for said sub-block based on said values representing said faces of said faces of said sub-block; The method includes:
3. 1. An apparatus for encoding video, comprising: When a block of an image is divided (504) into sub-blocks, - associating (505) a value representative of the face of said sub-block, and determining a quantization parameter for said sub-block based on said values representing said faces of said faces of said sub-block; An apparatus comprising means for performing the steps of:
4. 1. An apparatus for decoding video, comprising: When a block of an image is divided (504) into sub-blocks, - associating (505) a value representative of the face of said sub-block, and determining an inverse quantization parameter for said sub-block based on said values representing said faces of said faces of said sub-block; An apparatus comprising means for performing the steps of:
5. 5. The method according to claim 1 or 2 or the apparatus according to claim 3 or 4, wherein the value representative of the face of the sub-block is a sub-division level counter which is incremented (403, 405, 407) by a value representative of the type of division of the sub-block when a block of an image is divided into sub-blocks.
6. activating a new quantization group according to the type of division while the sub-division level counter of a sub-block is less than or equal to a maximum sub-division value; The method or apparatus of claim 5 further comprising:
7. - storing (503) the position of said blocks when a new quantization group is enabled; The method or apparatus of claim 6 further comprising:
8. Disabling new quantization groups when a block of an image is divided into sub-blocks according to a ternary division and the subdivision level counter of the smallest sub-block exceeds the maximum subdivision level.
8. The method or apparatus of claim 6 or 7, further comprising:
9. The increment value is For all sub-blocks of the quad division, 2, For every subblock in the binary partition, 1, For the horizontal subblocks of the ternary partition, 2, and For the central subblock of the ternary division, The method according to any one of claims 5 to 8 or the device according to any one of claims 5 to 8, wherein
10. The increment value is For all sub-blocks of the quad division, 4, For all sub-blocks of the binary partition, 2, For the horizontal subblocks of the ternary partition, 4, and for the central subblock, 2, For the smallest subblock of the asymmetric 1 / 4 binary partition, 4, and for the largest subblock, 1, and For the smallest subblock of the asymmetric 1 / 3 binary partition, 3, and for the largest subblock, 1 The method according to any one of claims 5 to 8 or the device according to any one of claims 5 to 8, wherein
11. 1. A storage medium having video bitstream data encoded thereon, the video bitstream data including at least syntax data elements representing values that represent aspects of sub-blocks, the sub-blocks being the result of dividing a block of an image of a video.
12. 12. The storage medium of claim 11, wherein the value representing the face of the sub-block is a subdivision level counter that is incremented by a value representing a type of division of the sub-block when a block of an image is divided into sub-blocks.
13. The increment value is For all sub-blocks of the quad division, 2, For every subblock in the binary partition, 1, For the horizontal subblocks of the ternary partition, 2, and For the central subblock of the ternary division, The storage medium of claim 12 , wherein the first bit is equal to
14. A computer program comprising program code instructions executable by a processor (1010) for performing the steps of the method according to any one of claims 1, 2 or 5-10.
15. A computer program product comprising program code instructions stored on a non-transitory computer readable medium and which, when executed by a processor (1010), enable an apparatus (1000) to perform a method according to any one of claims 1, 2 or 5-10.
Citation Information
Patent Citations
Video decoding device
JP2014530557A
Encoding of pictures in a video
WO2017093189A1
