Transform selection for implicit multi-transform selection

By adjusting the transformation selection of implicit MTS to DCT2, the incompatibility problem between LFNST and MIP tools in VVC is solved, the video compression efficiency is improved, and decoding losses are avoided.

CN118714291APending Publication Date: 2024-09-27INTERDIGITAL VC HOLDINGS INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410869837.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2019-06-21
Filing Date
2020-05-28
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

In the existing video compression standard VVC, the implicit transformation selection design is incompatible with the newly added tools LFNST and MIP, resulting in a loss of decoding efficiency.

Method used

Adjust the transform selection of implicit MTS to DCT2 by checking the LFNST and MIP flags, ensure that DCT2 transforms are used when LFNST and/or MIP are activated, resolve interaction issues with new tools, and improve transform design.

Benefits of technology

The video compression efficiency is improved, the decoding loss caused by the incompatibility between the implicit transformation design and LFNST and MIP tools is avoided, and the expected gain is maintained.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118714291A_ABST
    Figure CN118714291A_ABST
Patent Text Reader

Abstract

A method and apparatus for improving compression efficiency in a video compression scheme that enables the use of a new tool with multiple transform selections. In one embodiment, transform pair selection is based on a flag indicative of a low frequency inseparable transform. In another embodiment, the transform pair selection is based on a flag indicative of a low frequency inseparable transform and based on a flag indicative of matrix-based intra prediction. In another embodiment, when an implicit multi-transform selection mode is used, transform pair selection is based on a flag indicating a low frequency inseparable transform. A bitstream syntax is used to transmit the flag.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application of Chinese invention patent application No. 202080040518.1, whose application date is May 28, 2020 and whose invention name is “Transformation Selection for Implicit Multiple Transformation Selection”. The contents of the parent application are incorporated herein by reference. Technical Field

[0002] At least one embodiment of the present invention generally relates to a method or apparatus for video encoding or decoding. Background Art

[0003] In order to achieve high compression efficiency, image and video coding schemes usually use prediction (including spatial and / or motion vector prediction) and transformation to exploit spatial and temporal redundancy in video content. Typically, intra-frame or inter-frame prediction is used to exploit intra-frame or inter-frame correlation, and then the difference between the original image and the predicted image, which is usually represented as a prediction error or prediction residual, is transformed, quantized and entropy decoded. In order to reconstruct the video, the compressed data is decoded by the inverse process corresponding to entropy decoding, quantization, transformation and prediction. A variety of decoding tools can be used in the process of decoding and decoding, which may include transformation and inverse transformation. Summary of the invention

[0004] The shortcomings and disadvantages of the prior art may be addressed by the main aspects described herein, which relate to block shape adaptive intra prediction direction in encoding and decoding.

[0005] According to a first aspect, a method is provided. The method comprises the following steps: when using an implicit transform selection mode to encode at least one video block in a bitstream, setting syntax information indicating the use of a multiple transform selection mode; encoding the at least one video block using at least one transform corresponding to the syntax information; and storing, transmitting or transmitting the bitstream including the encoded at least one video block.

[0006] According to a second aspect, a method is provided. The method comprises the following steps: when an implicit transform selection mode is used to decode a video block, parsing a bitstream to obtain syntax information indicating the use of a multiple transform selection mode; and when the implicit transform selection mode is used, decoding at least one video block in the bitstream using at least one transform of the multiple transform selection mode corresponding to the syntax information.

[0007] According to another aspect, a device is provided. The device includes a processor. The processor can be configured to encode a block of a video or decode a bitstream by performing any of the above methods.

[0008] According to another main aspect of at least one embodiment, there is provided an apparatus comprising means according to any of the decoding embodiments; and at least one of: (i) an antenna configured to receive a signal comprising the video block, (ii) a band limiter configured to limit the received signal to a frequency band comprising the video block, or (iii) a display configured to display an output representing the video block.

[0009] According to another main aspect of at least one embodiment, a non-transitory computer-readable medium is provided, comprising data content according to any of the described encoding embodiments or variations.

[0010] According to another main aspect of at least one embodiment, there is provided a signal comprising video data generated according to any of the described encoding embodiments or variations.

[0011] According to another main aspect of at least one embodiment, a bitstream is formatted to include data content generated according to any of the described encoding embodiments or variations.

[0012] According to another main aspect of at least one embodiment, there is provided a computer program product comprising instructions which, when executed by a computer, cause the computer to perform any of the described decoding embodiments or variations.

[0013] These and other aspects, features and advantages of the principal aspects will become apparent from the following detailed description of exemplary embodiments which is to be read in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 A standard general purpose video compression scheme is shown.

[0015] Figure 2 A standard, common video compression scheme is shown.

[0016] Figure 3 An example flow chart of the proposed method for selecting transform pairs according to the LFNST flag is shown.

[0017] Figure 4 An example flow chart of the proposed method for selecting transform pairs according to the LFNST flag and the MIP flag is shown.

[0018] Figure 5 An example flow chart of the proposed method for selecting transform pairs according to the LFNST CU flag and the MIP CU flag is shown.

[0019] Figure 6An example flow chart of the proposed method for selecting transform pairs according to the LFNST CU flag is shown.

[0020] Figure 7 An embodiment of an encoding method according to the described general aspects is shown.

[0021] Figure 8 One embodiment of a decoding method according to the described general aspects is shown.

[0022] Fig. 9 One embodiment of an apparatus for encoding or decoding using intra-prediction mode extension is shown.

[0023] Fig.10 A typical processor arrangement is shown in which the described embodiments may be implemented. DETAILED DESCRIPTION

[0024] The following general aspects are in the field of video compression. They are intended to improve the compression efficiency of an upcoming video compression standard, Versatile Video Coding (VVC). The Versatile Video Coding (VVC) Test Model (VTM) is a standardization effort to improve video compression. Specifically, these aspects affect the transform design of the standard, where compression defects are newly introduced due to the use of two tools, namely, Low Frequency Non-Separable Transform (LFNST) and Matrix-Based Intra Prediction (MIP).

[0025] In addition to DCT2, the VVC transform design includes other transforms of DCT8 and DST7, the whole of which is called Multi-Transform Selection (MTS). The encoder can select a combination of the defined transforms: DCT2, DST7 and DCT8. The possible horizontal and vertical transform pairs are:

[0026] -{DCT2,DCT2}

[0027] -{DST7,DCT7}

[0028] -{DST7,DCT8}

[0029] -{DCT8,DST7}

[0030] -{DCT8,DCT8}

[0031] MTS is controlled by the SPS (Sequence Parameter Set) flag, which can disable MTS and only consider {DCT2, DCT2} pairs.

[0032] When the MTS flag is enabled, a decoding gain of about 1.7% can be obtained compared to the case where MTS is turned off, but due to the RDO (rate distortion optimization) competition between multiple candidates, a large encoding time is required, which is time-consuming. Alternatively, another mode of transform signaling has recently been adopted in VVC, which is called MTSImplicit. In this mode, the (implicit) transform selection is predefined depending on the size of the transform block. In the VVC specification, the selection of the transform for the luminance block with MTSImplicit is as follows:

[0033] trTypeHor=(width>=4&&width<=16)?DST7:DCT2trTypeVer=(height>=4&&height<=16)?DST7:DCT2

[0034] The same selection mechanism is used for intra-frame sub-partitioning (ISP). This type of selection produces new pairs that are combinations between DCT2 and DST7. The following table summarizes what happens:

[0035] width high TrHor TrVer 2 8 DCT2 DST7 4 32 DST7 DCT2 4 64 DST7 DCT2 16 32 DST7 DCT2 16 64 DST7 DCT2 8 2 DST7 DCT2 32 4 DCT2 DST7 64 4 DCT2 DST7 32 16 DCT2 DST7 64 16 DCT2 DST7

[0036] Table 1

[0037] Recently, two new decoding tools have been adopted into the JVET (Joint Video Experts Group) standard. The first is LFNST (Low Frequency Non-separable Transform), formerly known as NSST (Non-separable Secondary Transform). It is an effective tool that takes into account redundancy in the transform domain and applies "another" non-separable transform to produce a sparse representation of the residual to be quantized and decoded. In the version of the VVC test model VTM-5.0, two LFNST transform sets are defined. One transform set is used for large residual blocks, and the other is used for small residual blocks. For each set, four groups of transforms are defined, each of which contains two transform matrices. The choice of the group depends on the intra prediction mode, and the transform index is decoded in the bitstream.

[0038] Unlike the main transforms (which are DCT2, DST7 and DCT8), LFSNT is a trained transform. In other words, the basis functions of LFNST are obtained by learning from some large residual data set. The nature of this data set and training method is not described in any public document.

[0039] The second tool is matrix-based intra prediction (MIP). It is also a trained tool that predicts a block from its neighboring reference samples. It can be considered an extension of existing intra prediction, where the prediction signal is generated by multiplying the reference samples by a matrix instead of a simple copy along the prediction direction. Similar to LFNST, the matrices used for multiplication are trained matrices without any description of the dataset used to obtain them.

[0040] To understand the interaction of these tools with the MTS Implicit transform design, simulations were run using VTM-5.0 with common test conditions. For brevity, simulation results using one frame intra decoding are presented. The anchor is VTM-5.0 with MTS disabled (-MTS=0), and the test is an implicit transform design (--MTS=0--MTS Implicit=1). The results are shown in the following table:

[0041]

[0042] Table 2

[0043] It can be seen that there is a 0.3% loss instead of the expected gain of the implicit transform design. Another test was performed to verify the decoding gain when the two new tools were deactivated. That is, the anchor and test were the same, but LFNST and MIP were set to zero. The results are provided in the following table:

[0044]

[0045] Table 3

[0046] Therefore, it can be concluded that the expected gains were retained when the new tool was turned off.

[0047] In order to understand the impact of each tool, the two tools were deactivated individually. The following table gives the results of switching only LFNST to zero and keeping MIP activated:

[0048]

[0049] Table 4

[0050] And the following table is for the case where MIP is turned off and LFNST is turned off:

[0051]

[0052] Table 5

[0053] From the simulation results, it can be observed that MIP and / or LFNST are incompatible with implicit transform design. However, the impact of LFNST is much more severe than MIP. The reason for the incompatibility is that those tools are trained with residuals without the new transform pairs specified in the MTSImplicit tool. In fact, MTSImplicit is accompanied by a loss in decoding efficiency when used in conjunction with both tools.

[0054] The general aspects described address the problem of MTSImplicit loss and improve the transform design of ImplicitMTS by considering the interaction with the tools LFNST and MIP. The MTSImplicit design does not work well with the newly added tools LFNST and MIP. To solve this problem, the simplest way is to deactivate the implicit selection when these tools are activated.

[0055] Example 1: Implicit MTS with DCT2 when LFNST and / or MIP are activated

[0056] In VTM5, the selection of MTSImplicit transformations is described as follows:

[0057] trTypeHor=(width>=4&&width<=16)?DST7:DCT2trTypeVer=(height>=4&&height<=16)?DST7:DCT2

[0058] To resolve the issue with interaction with LFNST and MIP, you need to check the SPS flag of MIP (sps_mip_flag) and / or the SPS flag of LFNST (lfnst_enabled_flag): if (lfnst_enabled_flag)

[0059] {

[0060] trTypeHor=DCT2

[0061] trTypeVer=DCT2

[0062] }

[0063] {

[0064] trTypeHor=(width>=4&&width<=16)?DST7:DCT2trTypeVer=(height>=4&&height<=16)?DST7:DCT2

[0065] }

[0066] Figure 3 The corresponding flow chart is shown in .

[0067] To show the advantages of this method, simulations were performed under the same conditions as described in Table 2 (1 frame analysis), using VTM5.0 and the new method as a test (both with the following options: --MTS=0 and –MTSImplicit=1), and the following results were obtained:

[0068]

[0069] Table 6 also tests other conditions. That is, if LFNST is deactivated, the following results are obtained:

[0070]

[0071] Finally, when MIP is deactivated, the following results are obtained:

[0072]

[0073] Table 8

[0074] Another way to implement this method is to consider both the LFNST flag and the MIP flag: if (lfnst_enabled_flag && sps_mip_flag)

[0075] {

[0076] trTypeHor=DCT2

[0077] trTypeVer=DCT2

[0078] }

[0079] {

[0080] trTypeHor=(width>=4&&width<=16)?DST7:DCT2trTypeVer=(height>=4&&height<=16)?DST7:DCT2

[0081] }

[0082] Figure 4 The corresponding flow chart is shown in .

[0083] In a variation of this embodiment, if LFNST or MIP is activated for the current CU, the implicit MTS becomes DCT2,DCT2.

[0084] Example 2: Implicit MTS with DCT2 when using LFNST and / or MIP

[0085] In addition to checking the SPS flag, you can also look at the current coding unit (CU) and see if MIP or LFNST is used. For this case, the implicit mts selection will be DCT2. In VTM5.0, lfnstIdx is the index of the LFNST with a value from 0 to 2. Zero indicates no LFNST. For MIP, the flag mipFlag indicates whether MIP is used. Therefore, the modification is: if(CU::lfnstIdx||cu::mipFlag)

[0086] {

[0087] trTypeHor=DCT2

[0088] trTypeVer=DCT2

[0089] }

[0090] {

[0091] trTypeHor=(width>=4&&width<=16)?DST7:DCT2trTypeVer=(height>=4&&height<=16)?DST7:DCT2

[0092] }

[0093] Figure 5 The corresponding flow chart is shown in .

[0094] The difficulty with this approach is that the transform selection depends on the selected prediction mode. Generally, it is preferred not to have such a dependency. However, since current LFNST is intra-mode dependent, this approach is acceptable.

[0095] Similarly, we can consider only the case when LFNST is used:

[0096] if(CU::lfnstIdx)

[0097] {

[0098] trTypeHor=DCT2

[0099] trTypeVer=DCT2

[0100] }

[0101] {

[0102] trTypeHor=(width>=4&&width<=16)?DST7:DCT2trTypeVer=(height>=4&&height<=16)?DST7:DCT2

[0103] }

[0104] Figure 6 The corresponding flow chart is shown in .

[0105] In a variation of this embodiment, if LFNST or MIP is activated for the current CU, the implicit MTS becomes DCT2,DCT2.

[0106] Here, a frame analysis is also performed. The anchor is VTM5.0, the new method is used as a test (with the following options: --MTS=0 and --MTSImplicit=1), and the following results are obtained:

[0107]

[0108] Table 9

[0109] In order to show the advantages of the method in Example 1, Example 1 is used as an anchor and the current method is used as a test to perform the one-frame analysis. The following results are obtained:

[0110]

[0111] Table 10

[0112] Figure 7 One embodiment of a method 700 according to the general aspects described herein is shown, the method starts at a start block 701, and control proceeds to a block 710 for setting syntax information indicating the use of a multiple transform selection mode when an implicit transform selection mode is used to encode at least one video block in a bitstream. Control proceeds from block 710 to block 720 to encode the at least one video block using at least one transform corresponding to the syntax information. Control proceeds from block 720 to block 730 to store, communicate, or transmit the bitstream including the encoded at least one video block.

[0113] Figure 8 One embodiment of a method 800 according to the general aspects described herein is shown, the method starting at a start block 801, and control proceeds to a block 810 for parsing a bitstream to obtain syntax information indicating the use of a multiple transform selection mode when an implicit transform selection mode is used to decode a video block. Control proceeds from block 810 to a block 820 for decoding at least one video block in the bitstream using at least one transform of the multiple transform selection mode corresponding to the syntax information when the implicit transform selection mode is used.

[0114] Fig. 9 One embodiment of a device 900 for compressing, encoding or decoding video using a coding or decoding tool is shown. The device includes a processor 910 and may be interconnected to a memory 920 through at least one port. Both the processor 910 and the memory 920 may also have one or more additional interconnections to external connections.

[0115] The processor 910 is also configured to insert or receive information in a bitstream and use various decoding tools to perform compression, encoding, or decoding.

[0116] The present application describes a number of aspects, including tools, features, embodiments, models, methods, etc. Many of these aspects are described as having specificity, and at least in order to illustrate individual characteristics, are usually described in a manner that may sound limited. However, this is for the purpose of describing clearly, and does not limit the application or scope of those aspects. In fact, all different aspects can be combined and interchanged to provide other aspects. In addition, these aspects can also be combined and interchanged with the aspects described in earlier documents.

[0117] The aspects described and contemplated in this application can be implemented in many different forms. Figure 1 , 2 10 provide some embodiments, but other embodiments are contemplated and are Figure 1 , 2 The discussion of 10 does not limit the breadth of implementation. At least one of the aspects is generally related to video encoding and decoding, and at least one other aspect is generally related to transmitting the generated or encoded bitstream. These and other aspects can be implemented as methods, devices, computer-readable storage media having stored thereon instructions for encoding or decoding video data according to any of the described methods, and / or computer-readable storage media having stored thereon bitstreams generated according to any of the described methods.

[0118] In this application, the terms "reconstruction" and "decoding" can be used interchangeably, the terms "pixel" and "sample" can be used interchangeably, and the terms "image", "picture" and "frame" can be used interchangeably. Usually, but not necessarily, the term "reconstruction" is used on the encoder side, and "decoding" is used on the decoder side.

[0119] Various methods are described herein, and each method includes one or more steps or actions for implementing the described method. Unless a specific order of steps or actions is required for the correct operation of the method, the order and / or use of specific steps and / or actions may be modified or combined.

[0120] Various methods and other aspects described in this application can be used to modify modules, e.g. Figure 1 and Figure 2 Intra prediction, entropy coding and / or decoding modules (160, 360, 145, 330) of the video encoder 100 and decoder 200 shown. In addition, the present invention is not limited to VVC or HEVC, and can be applied to, for example, other standards and proposals (whether pre-existing or developed in the future) and extensions of any such standards and proposals (including VVC and HEVC). Unless otherwise specified or technically excluded, the aspects described in this application can be used alone or in combination.

[0121] Various numerical values ​​are used in this application. The specific values ​​are for illustrative purposes, and the described aspects are not limited to these specific values.

[0122] Figure 1 An encoder 100 is shown. Variations of the encoder 100 are contemplated, but for the sake of clarity, the encoder 100 is described below without describing all contemplated variations.

[0123] Before being encoded, the video sequence may undergo a pre-encoding process (101), for example, applying a color transform to the input color picture (e.g., conversion from RGB 4:4:4 to YCbCr 4:2:0), or performing a remapping of the input picture components in order 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 associated with the pre-processing and appended to the bitstream.

[0124] In encoder 100, a picture is encoded by encoder elements as described below. The picture to be encoded is partitioned (102) and processed in units such as CUs. Each unit is encoded using, for example, intra or inter mode. When the unit is encoded in intra mode, it performs intra prediction (160). In inter mode, motion estimation (175) and compensation (170) are performed. The encoder decides (105) which of intra mode or inter mode to use to encode the unit, and indicates the intra / inter decision by, for example, a prediction mode flag. For example, a prediction residual is calculated by subtracting (110) the prediction block from the original image block.

[0125] The prediction residual is then transformed (125) and quantized (130). The quantized transform coefficients, as well as motion vectors and other syntax elements, are entropy coded (145) to output a bitstream. The encoder may skip the transform and directly apply quantization to the untransformed residual signal. The encoder may bypass both transform and quantization, i.e., directly code the residual without applying the transform or quantization process.

[0126] The encoder decodes the coded block to provide a reference for further prediction. The quantized transform coefficients are dequantized (140) and inverse transformed (150) to decode the prediction residual. The decoded prediction residual and the prediction block are combined (155) to reconstruct the image block. An in-loop filter (165) is applied to the reconstructed picture to perform, for example, deblocking / SAO (sample adaptive offset) filtering to reduce coding artifacts. The filtered image is stored in a reference picture buffer (180).

[0127] Figure 22 shows a block diagram of a video decoder 200. In the decoder 200, a bitstream is decoded by decoder elements as described below. The video decoder 200 generally performs the same operations as described below. Figure 1 The encoding process described in 1 is a decoding process that is the inverse of the encoding process described in 1. The encoder 100 also typically performs video decoding as part of encoding the video data.

[0128] In particular, the input to the decoder comprises a video bitstream, which may be generated by the video encoder 100. The bitstream is first entropy decoded (230) to obtain transform coefficients, motion vectors and other decoding information. Picture partition information indicates how the picture is partitioned. The decoder can therefore partition (235) the picture according to the decoded picture partition information. The transform coefficients are dequantized (240) and inverse transformed (250) to decode the prediction residual. The decoded prediction residual is combined (255) with a prediction block to reconstruct the image block. The prediction block may be obtained (270) from intra-frame prediction (260) or motion compensated prediction (i.e., inter-frame prediction) (275). An in-loop filter (265) is applied to the reconstructed image. The filtered image is stored in a reference picture buffer (280).

[0129] The decoded picture may further undergo post-decoding processing (285), such as an inverse color transform (e.g., conversion from YCbCr 4:2:0 to RGB 4:4:4) or performing an inverse remapping of the remapping process performed in the pre-encoding process (101). The post-decoding processing may use metadata derived in the pre-encoding process and signaled in the bitstream.

[0130] Fig.10 A block diagram of an example of a system in which various aspects and embodiments are implemented is shown. System 1000 can be implemented as a device including various components described below, and is configured to perform one or more aspects described herein. Examples of such devices include, but are not limited to, various electronic devices, such as personal computers, laptop computers, smart phones, tablet computers, digital multimedia set-top boxes, digital television receivers, personal video recording systems, connected household appliances and servers. The elements of system 1000 can be implemented in a single integrated circuit (IC), multiple ICs and / or discrete components individually or in combination. For example, in at least one embodiment, the processing and encoder / decoder elements of system 1000 are distributed on multiple ICs and / or discrete components. In various embodiments, the system 1000 is communicatively coupled to one or more other systems or other electronic devices via, for example, a communication bus or by dedicated input and / or output ports. In various embodiments, the system 1000 is configured to implement one or more aspects described herein.

[0131] The system 1000 includes at least one processor 1010, which is configured to execute instructions loaded therein, for implementing various aspects described herein, for example. The processor 1010 may include embedded memory, input and output interfaces, and various other circuits known in the art. The system 1000 includes at least one memory 1020 (e.g., a volatile memory device and / or a non-volatile memory device). The system 1000 includes a storage device 1040, which may include a non-volatile memory and / or a volatile memory, including but not limited to an electrically erasable programmable read-only memory (EEPROM), a read-only memory (ROM), a programmable read-only memory (PROM), a random access memory (RAM), a dynamic random access memory (DRAM), a static random access memory (SRAM), a flash memory, a disk drive, and / or an optical disk drive. As a non-limiting example, the storage device 1040 may include an internal storage device, an attached storage device (including a removable storage device and a non-removable storage device) and / or a network accessible storage device.

[0132] The system 1000 includes an encoder / decoder module 1030, which is configured to, for example, process data to provide encoded video or decoded video, and the encoder / decoder module 1030 may include its own processor and memory. The encoder / decoder module 1030 represents a module (one or more) that may be included in a device to perform encoding and / or decoding functions. As is known, a device may include one or both of the encoding module and the decoding module. In addition, the encoder / decoder module 1030 may be implemented as a separate element of the system 1000 or may be incorporated into the processor 1010 as a combination of hardware and software as known to those skilled in the art.

[0133] Program code to be loaded onto the processor 1010 or the encoder / decoder 1030 to perform various aspects described in this document may be stored in the storage device 1040 and subsequently 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 the various items during the execution of the processes described herein. These stored items may include, but are not limited to, input video, decoded video or portions of the decoded video, bitstreams, matrices, variables, and intermediate or final results from the processing of equations, formulas, operations, and operational logic.

[0134] In some embodiments, memory within 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 device (e.g., the processing device 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 memory 1020 and / or a storage device 1040, such as a dynamic volatile memory and / or a non-volatile flash memory. In several embodiments, the external non-volatile flash memory is used to store, for example, an operating system for a television. In at least one embodiment, a fast external dynamic volatile memory such as RAM is used as working memory for video coding and decoding operations, such as working memory for MPEG-2 (MPEG refers to Moving Picture Experts Group, MPEG-2 is also known as ISO / IEC 13818, and 13818-1 is also known as H.222, and 13818-2 is also known as H.262), HEVC (HEVC refers to High Efficiency Video Coding, also known as H.265 and MPEG-H Part 2), or VVC (Versatile Video Coding, a new standard developed by Joint Video Team experts JVET).

[0135] As shown in block 1130, input to the elements of system 1000 may be provided through various input devices. Such input devices include, but are not limited to: (i) an RF portion that receives a radio frequency (RF) signal transmitted, for example, over the air by a broadcaster, (ii) a component (COMP) input terminal (or a set of component input terminals), (iii) a universal serial bus (USB) input terminal, and / or (iv) a high-definition multimedia interface (HDMI) input terminal. Fig.10 Other examples not shown include composite video.

[0136] In various embodiments, the input device of block 1130 has associated corresponding 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) again band limiting the frequency band to a narrower frequency band to select (e.g.,) a signal band that may be referred to as a channel in some embodiments, (iv) demodulating the down-converted and band-limited signal, (v) performing error correction, and (vi) demultiplexing to select a desired data packet stream. The RF section of various embodiments includes one or more elements to perform 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 a tuner that performs various of these functions, including, for example, down-converting a received signal to a lower frequency (e.g., an intermediate frequency or a near-baseband frequency) or baseband. In a set-top box embodiment, the RF part and its relevant input processing element receive the RF signal that sends by wired (for example, cable) medium, and carry out the frequency selection to the desired frequency band by filtering, down-conversion and filtering again.Various embodiments rearrange the order of above-mentioned (and other) elements, remove some in these elements, and / or add other elements that perform similar or different functions.Adding element can include and insert element between existing element, for example insert amplifier and analog-to-digital converter.In various embodiments, the RF part comprises antenna.

[0137] In addition, the USB and / or HDMI terminals may include corresponding interface processors for connecting the system 1000 to other electronic devices via USB and / or HDMI connections. It should be understood that various aspects of input processing (e.g., Solomon error correction) may be implemented as needed, for example, in a separate input processing IC or processor 1010. Similarly, various aspects of USB or HDMI interface processing may be implemented as needed in a separate interface IC or in processor 1010. The demodulated, error-corrected, and demultiplexed streams are provided to various processing elements, including, for example, processor 1010 and encoder / decoder 1030, which operate in conjunction with memory and storage elements to process the data streams as needed for presentation on output devices.

[0138] The various components of system 1000 may be disposed in an integrated housing in which the various components may be interconnected and transmit data using a suitable connection arrangement (e.g., an internal bus known in the art, including an inter-IC (I2C) bus, wiring, and a printed circuit board).

[0139] The system 1000 includes a communication interface 1050 that enables communication with other devices via a communication channel 1060. The communication interface 1050 may include, but is not limited to, a transceiver configured to send and receive data through 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, within a wired and / or wireless medium.

[0140] In various embodiments, data is streamed or otherwise provided to the system 1000 using a wireless network (e.g., a Wi-Fi network, such as IEEE 802.11 (IEEE refers to the Institute of Electrical and Electronics Engineers)). The Wi-Fi signals of these embodiments are received through a communication channel 1060 and a communication interface 1050 suitable for Wi-Fi communication. The communication channel 1060 of these embodiments is typically connected to an access point or router that provides access to an external network including the Internet to allow streaming applications and other cloud communications. Other embodiments use a set-top box that transmits data through an HDMI connection of an input box 1130 to provide streaming data to the system 1000. Still other embodiments use an RF connection of an input box 1130 to provide streaming data to the system 1000. As described above, various embodiments provide data in a non-streaming manner. In addition, various embodiments use a wireless network other than Wi-Fi, such as a cellular network or a Bluetooth network.

[0141] The system 1000 can provide output signals to various output devices (including a display 1100, a speaker 1110, and other peripheral devices 1120). The display 1100 of various embodiments includes one or more of the following: for example, a touch screen display, an organic light emitting diode (OLED) display, a curved display, and / or a foldable display. The display 1100 can be used for a television, a tablet computer, a laptop computer, a cellular phone (mobile phone), or other devices. The display 1100 can also be integrated with other components (for example, as in a smart phone), or it can be separate (for example, an external monitor for a laptop computer). In various examples of various embodiments, the other peripheral devices 1120 include one or more of the following: a stand-alone digital video disk (or digital versatile disk) (DVR, for both), a disk player, a stereo system, and / or a lighting system. Various embodiments use one or more peripheral devices 1120 that provide functions based on the output of the system 1000. For example, a disk player performs the function of playing the output of the system 1000.

[0142] In various embodiments, control signals are transmitted 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 enable device-to-device control with or without user intervention. The output devices may be communicatively coupled to the system 1000 via dedicated connections through respective interfaces 1070, 1080, and 1090. Alternatively, the output devices may be connected to the system 1000 via a communication interface 1050 using a communication channel 1060. The display 1100 and speaker 1110 may be integrated into a single unit in an electronic device (e.g., a television) along with other components of the system 1000. In various embodiments, the display interface 1070 includes a display driver, such as a timing controller (T Con) chip.

[0143] For example, if the RF portion of the input 1130 is part of a separate set-top box, the display 1100 and speaker 1110 may alternatively be separate from one or more of the other components. In various embodiments where the display 1100 and speaker 1110 are external components, the output signals may be provided via dedicated output connections, including, for example, an HDMI port, a USB port, or a COMP output.

[0144] These embodiments may be implemented by the processor 1010 or by computer software implemented by hardware or by 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 appropriate data storage technology, such as, as a non-limiting example, optical memory devices, magnetic memory devices, semiconductor-based memory devices, fixed memory, and removable memory. The processor 1010 may be of any type suitable for the technical environment and may include, as a non-limiting example, one or more of the following: a microprocessor, a general-purpose computer, a special-purpose computer, and a processor based on a multi-core architecture.

[0145] Various implementations involve decoding. As used in the present application, "decoding" may include, for example, all or part of a process performed on a received coded sequence to produce a final output suitable for display. In various embodiments, such a process includes 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 a process also or alternatively includes a process performed by a decoder of the various implementations described in the present application.

[0146] As a further example, in one embodiment, "decoding" refers only to entropy decoding, in another embodiment, "decoding" refers only to differential decoding, and in another embodiment, "decoding" refers to a combination of entropy decoding and differential decoding. Whether the phrase "decoding process" is intended to specifically refer to a subset of operations or to generally refer to a broader decoding process will be clear based on the context of the specific description and is believed to be well understood by those skilled in the art.

[0147] Various implementations involve encoding. In a manner similar to the above discussion of "decoding", "encoding" as used in this application may include, for example, all or part of a process performed on an input video sequence to produce an encoded bitstream. In various embodiments, such processes include one or more processes typically performed by an encoder, such as partitioning, differential encoding, transforms, quantization, and entropy decoding. In various embodiments, such processes also or alternatively include processes performed by encoders of the various implementations described in this application.

[0148] As a further example, in one embodiment, "encoding" refers only to entropy coding, in another embodiment, "encoding" refers only to differential coding, and in another embodiment, "encoding" refers to a combination of differential coding and entropy coding. Whether the phrase "encoding process" is intended to specifically refer to a subset of operations or generally refer to a broader encoding process will become clear based on the context of the specific description and is believed to be fully understood by those skilled in the art.

[0149] Note that the syntax elements as used herein are descriptive terms. Therefore, they do not exclude the use of other syntax element names.

[0150] When a figure is presented as a flow chart, it should be understood that it also provides a block diagram of the corresponding apparatus. Similarly, when a figure is presented as a block diagram, it should be understood that it also provides a flow chart of the corresponding method / process.

[0151] Various embodiments may involve parameter models or rate-distortion optimization. In particular, during the encoding process, a balance or trade-off between rate and distortion is usually considered, usually given a constraint on computational complexity. It can be measured by rate-distortion optimization (RDO) metric, or by least mean square (LMS), mean absolute error (MAE) or other such measurements. The rate-distortion optimization is usually formulated as minimizing a rate-distortion function, which is a weighted sum of rate and distortion. There are different methods to solve the rate-distortion optimization problem. For example, these methods can be based on extensive testing of all coding options, including all considered modes or decoding parameter values, and a complete evaluation of their decoding costs and the associated distortion of the reconstructed signal after decoding and decoding. Faster methods can also be used to save coding complexity, in particular, to calculate approximate distortion based on prediction or prediction residual signals rather than reconstructed signals. A mixture of these two methods can also be used, for example by using approximate distortion only for some possible coding options and full distortion for other coding options. Other methods only evaluate a subset of possible coding options. More generally, many approaches employ any of a variety of techniques to perform the optimization, but the optimization is not necessarily a complete assessment of both the coding cost and the associated distortion.

[0152] The implementations and aspects described herein can be implemented in, for example, methods or processes, devices, software programs, data streams, or signals. Even if only discussed in the context of a single form of implementation (e.g., discussed only as a method), the implementation of the features discussed can also be implemented in other forms (e.g., devices or programs). For example, the device can be implemented with appropriate hardware, software, and firmware. The method can be implemented in, for example, a processor, which generally refers to a processing device, including, for example, a computer, a microprocessor, an integrated circuit, or a programmable logic device. The processor also includes a communication device, such as a computer, a cellular phone, a portable / personal digital assistant ("PDA"), and other devices that facilitate information communication between end users.

[0153] References to "one embodiment" or "an embodiment" or "an implementation" or "an implementation" and other variations mean that a particular feature, structure, characteristic, etc. described in conjunction with the embodiment is included in at least one embodiment. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" or "in an implementation" or "in an implementation" and any other variations in various places in this application do not necessarily all refer to the same embodiment.

[0154] Additionally, the present application may refer to “determining” various information. Determining the information may include, for example, one or more of: estimating the information, calculating the information, predicting the information, or retrieving the information from a memory.

[0155] In addition, the present application may involve "accessing" various information. Accessing the information may include, for example, one or more of: receiving the information, retrieving the information (e.g., retrieving the information from a memory), storing the information, moving the information, copying the information, calculating the information, determining the information, predicting the information, or estimating the information.

[0156] Additionally, the present application may refer to "receiving" various information. Like "accessing," receiving is intended to be a broad term. Receiving the information may include, for example, one or more of: accessing the information or retrieving the information (e.g., from a memory). Furthermore, during operations such as storing information, processing information, sending information, moving information, copying information, erasing information, calculating information, determining information, predicting information, or estimating information, "receiving" is generally involved in one way or another.

[0157] It should be understood that, for example, in the case of "A / B," "A and / or B," and "at least one of A and B," the use of any of the following " / ," "and / or," and "at least one of" is intended to encompass selection of only the first listed option (A), or only the second listed option (B), or both options (A and B). As a further example, in the case of "A, B, and / or C" and "at least one of A, B, and C," such wording is intended to include selection of only the first listed option (A), or only the second listed option (B), or only the third listed option (C), or only the first and second listed options (A and B), or only the first and third listed options (A and C), or only the second and third listed options (B and C), or all three options (A and B and C). This can be extended to multiple items listed, as will be apparent to one of ordinary skill in this and related arts.

[0158] In addition, as used herein, the word "signal" especially refers to a corresponding decoder indicating something. For example, in some embodiments, the encoder notifies a specific one of a plurality of transforms, decoding modes or flags with a signal. Thus, in one embodiment, the same transform, parameter or mode is used on the encoder side and the decoder side. Therefore, for example, the encoder can send (explicitly send with a signal) a specific parameter to the decoder so that the decoder can use the same specific parameter. On the contrary, if the decoder already has the specific parameter and other parameters, signaling can be used without sending (implicitly send with a signal) to simply allow the decoder to know and select the specific parameter. By avoiding the transmission of any actual function, bit saving is achieved in various embodiments. It should be understood that signaling can be implemented in various ways. For example, in various embodiments, one or more syntax elements, flags, etc. are used to send information to the corresponding decoder with a signal. Although the foregoing relates to the verb form of the word "signal", the word "signal" can also be used as a noun in this article.

[0159] As will be apparent to one of ordinary skill in the art, implementations may generate various signals formatted to carry information that may be stored or transmitted, for example. The information may include, for example, instructions for executing a method, or data generated by one of the described implementations. For example, a signal may be formatted to carry a bitstream of the described embodiments. Such a signal may be formatted as, for example, an electromagnetic wave (e.g., using a radio frequency portion of a spectrum) or a baseband signal. The formatting may include, for example, encoding a data stream and modulating a carrier wave using the encoded data stream. The information carried by the signal may be, for example, analog or digital information. As is known, the signal may be transmitted over a variety of different wired or wireless links. The signal may be stored on a processor readable medium.

[0160] We have described multiple embodiments that can span various claim categories and types. Features of these embodiments can be provided individually or in any combination. In addition, across various claim categories and types, embodiments can include one or more of the following features, devices, or aspects, individually or in any combination: A process or device for encoding or decoding video data using a low-frequency inseparable transform with multiple transform selections.

[0161] A process or apparatus for encoding or decoding video data using low-matrix based intra prediction with multiple transform choices.

[0162] A process or apparatus for encoding or decoding video data using a low frequency inseparable transform with implicit multiple transform selection.

[0163] A process or apparatus for encoding or decoding video data using low-matrix-based intra prediction with implicit multiple transform selection.

[0164] • A bitstream or signal comprising one or more of the described syntax elements, or variations thereof.

[0165] - A bitstream or signal comprising syntax conveying information generated according to any of the described embodiments.

[0166] • Creating and / or sending and / or receiving and / or decoding according to any of the embodiments described.

[0167] • A method, process, apparatus, medium storing instructions, medium storing data, or signal according to any of the described embodiments.

[0168] • Inserting syntax elements in the signaling that enable the decoder to determine the coding mode in a manner corresponding to the manner used by the encoder.

[0169] • Creating and / or sending and / or receiving and / or decoding a bitstream or signal comprising one or more of the described syntax elements or variations thereof.

[0170] A TV, set-top box, cell phone, tablet or other electronic device that performs the transformation method(s) according to any of the described embodiments.

[0171] A TV, set-top box, cellular phone, tablet computer, or other electronic device that performs the transformation method(s) determined according to any of the described embodiments and displays (e.g., using a monitor, screen, or other type of display) the resulting image.

[0172] A TV, set-top box, cellular phone, tablet, or other electronic device that selects, band-limits, or tunes (e.g., using a tuner) a channel to receive a signal including the encoded image and performs the transformation method(s) according to any of the described embodiments.

[0173] A TV, set-top box, cellular phone, tablet, or other electronic device receives over the air (eg, using an antenna) a signal including the encoded image and performs the transform method(s).

Claims

1. A method comprising: encoding in a bitstream syntax information indicating use of an implicit multiple transform selection mode; implicitly selects at least one transformation; as well as At least one video block is encoded using the selected at least one transform.

2. The method according to claim 1, further comprising: A first indication indicating whether to use a low frequency inseparable transform and / or a second indication indicating whether to use matrix-based intra prediction is determined, wherein implicitly selecting the at least one transform comprises: implicitly selecting the at least one transform based on the first and second indications.

3. The method of claim 2, wherein, if the first indication indicates that a low-frequency non-separable transform is not used and the second indication indicates that a matrix-based intra prediction mode is not used, implicitly selecting the at least one transform comprises: The at least one transform is implicitly selected based on the size of the transform block.

4. The method of claim 3, wherein implicitly selecting the at least one transform based on the size of the transform block comprises: When the width of the transform block is greater than 4 and less than 16, a horizontal discrete sine transform of type 7 is selected, otherwise a horizontal discrete cosine transform of type 2 is selected.

5. The method of claim 3, wherein implicitly selecting the at least one transform based on the size of the transform block comprises: When the height of the transform block is greater than 4 and less than 16, a vertical discrete sine transform of type 7 is selected, otherwise a vertical discrete cosine transform of type 2 is selected.

6. The method of claim 2, wherein, in the case where the first indication indicates use of a low frequency non-separable transform or the second indication indicates use of a matrix-based intra prediction mode, implicitly selecting the at least one transform comprises: Selects a horizontal discrete cosine transform of type 2 and a vertical discrete cosine transform of type 2.

7. A method comprising: Obtaining syntax information from a bitstream indicating use of an implicit multiple transform selection mode; implicitly selects at least one transformation; as well as At least one video block is decoded using the selected at least one transform.

8. The method according to claim 7, further comprising: A first indication indicating whether to use a low frequency inseparable transform and / or a second indication indicating whether to use matrix-based intra prediction is determined, wherein implicitly selecting the at least one transform comprises implicitly selecting the at least one transform based on the first and second indications.

9. The method of claim 8, wherein, if the first indication indicates that a low frequency non-separable transform is not used and the second indication indicates that a matrix-based intra prediction mode is not used, implicitly selecting the at least one transform comprises: The at least one transform is implicitly selected based on the size of the transform block.

10. The method of claim 9, wherein implicitly selecting the at least one transform based on the size of the transform block comprises: When the width of the transform block is greater than 4 and less than 16, a horizontal discrete sine transform of type 7 is selected, otherwise a horizontal discrete cosine transform of type 2 is selected.

11. The method of claim 9, wherein implicitly selecting the at least one transform based on the size of the transform block comprises: When the height of the transform block is greater than 4 and less than 16, a vertical discrete sine transform of type 7 is selected, otherwise a vertical discrete cosine transform of type 2 is selected.

12. The method of claim 8, wherein, in a case where the first indication indicates use of a low frequency non-separable transform or the second indication indicates use of a matrix-based intra prediction mode, implicitly selecting the at least one transform comprises: Selects a horizontal discrete cosine transform of type 2 and a vertical discrete cosine transform of type 2.

13. An apparatus comprising a processor, the processor being configured to perform: Obtaining syntax information from a bitstream indicating use of an implicit multiple transform selection mode; implicitly selecting at least one transform; and At least one video block is decoded using the selected at least one transform.

14. The apparatus of claim 13, wherein the processor is further configured to perform determining a first indication indicating whether to use a low frequency non-separable transform and / or a second indication indicating whether to use matrix-based intra prediction, and wherein implicitly selecting the at least one transform comprises: Based on the first and second indications, the at least one transform is implicitly selected.

15. The apparatus of claim 14, wherein, if the first indication indicates that a low-frequency non-separable transform is not used and the second indication indicates that a matrix-based intra prediction mode is not used, implicitly selecting the at least one transform comprises: The at least one transform is implicitly selected based on the size of the transform block.

16. The apparatus of claim 15, wherein implicitly selecting the at least one transform based on a size of the transform block comprises: When the width of the transform block is greater than 4 and less than 16, a horizontal discrete sine transform of type 7 is selected, otherwise a horizontal discrete cosine transform of type 2 is selected.

17. The apparatus of claim 15, wherein implicitly selecting the at least one transform based on a size of the transform block comprises: When the height of the transform block is greater than 4 and less than 16, a vertical discrete sine transform of type 7 is selected, otherwise a vertical discrete cosine transform of type 2 is selected.

18. The apparatus of claim 14, wherein, if the first indication indicates use of a low frequency non-separable transform or the second indication indicates use of a matrix-based intra prediction mode, implicitly selecting the at least one transform comprises: Selects a horizontal discrete cosine transform of type 2 and a vertical discrete cosine transform of type 2.

19. An apparatus comprising a processor, the processor being configured to perform: encoding in a bitstream syntax information indicating use of an implicit multiple transform selection mode; implicitly selecting at least one transform; and At least one video block is encoded using the selected at least one transform.

20. The apparatus of claim 19, wherein the processor is further configured to perform determining a first indication indicating whether to use a low frequency non-separable transform and / or a second indication indicating whether to use matrix-based intra prediction, and wherein implicitly selecting the at least one transform comprises: Based on the first and second indications, the at least one transform is implicitly selected.

21. The apparatus of claim 20, wherein, if the first indication indicates that a low-frequency non-separable transform is not used and the second indication indicates that a matrix-based intra prediction mode is not used, implicitly selecting the at least one transform comprises: The at least one transform is implicitly selected based on the size of the transform block.

22. The apparatus of claim 21 , wherein implicitly selecting the at least one transform based on a size of the transform block comprises: When the width of the transform block is greater than 4 and less than 16, a horizontal discrete sine transform of type 7 is selected, otherwise a horizontal discrete cosine transform of type 2 is selected.

23. The apparatus of claim 21 , wherein implicitly selecting the at least one transform based on a size of the transform block comprises: When the height of the transform block is greater than 4 and less than 16, a vertical discrete sine transform of type 7 is selected, otherwise a vertical discrete cosine transform of type 2 is selected.

24. The apparatus of claim 20, wherein, if the first indication indicates use of a low frequency non-separable transform or the second indication indicates use of a matrix-based intra prediction mode, implicitly selecting the at least one transform comprises: Selects a horizontal discrete cosine transform of type 2 and a vertical discrete cosine transform of type 2.