Multiple reference intra prediction using variable weights

By selecting different weight sets to apply to multiple reference arrays for intra prediction of video blocks, the problem of limited intra prediction direction selection in the prior art is solved, and the efficiency of video encoding and decoding is improved.

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

Patent Information

Application Number
CN201980043487.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-08-03
Filing Date
2019-06-14
Publication Date
2024-09-17
Estimated Expiration
2039-06-14

AI Technical Summary

Technical Problem

In existing video coding technology, the choice of intra prediction direction is limited, making it difficult to efficiently utilize multi-reference intra prediction, resulting in low coding efficiency.

Method used

By selecting different sets of weights to apply to multiple reference arrays, the final intra prediction of the target pixel of the video block is calculated for encoding or decoding.

Benefits of technology

Improves the efficiency of video encoding and decoding, reducing encoding runtime while retaining encoding gain.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112335240B_ABST
    Figure CN112335240B_ABST
Patent Text Reader

Abstract

A method of performing intra prediction for encoding or decoding uses multiple layers of reference samples. The layers are formed into reference arrays that are used by functions such as weighted combinations to form a final prediction. The weights may be variable, selected from a plurality of weight sets. The prediction is used to encode or decode a block of video data. The weights may be determined in a variety of ways, and for a given prediction mode, the same weights or different weights may be used for all pixels in a target block. If the weights vary, then they may depend on the distance of the target pixel from the reference array. An index may be sent indicating which weight set to use.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] At least one of the presented embodiments relates generally to a method or apparatus for video encoding or decoding, and more particularly to a method or apparatus for a video encoder or video decoder using multi-reference intra prediction with variable weights. Background Art

[0002] To achieve high compression efficiency, image and video coding schemes typically employ predictions including motion vector predictions, and transforms to take advantage of spatial and temporal redundancies in video content. In general, intra-frame or inter-frame predictions are used to exploit intra-frame or inter-frame correlations, and then the difference between the original image and the predicted image (often expressed as a prediction error or prediction residual) is transformed, quantized, and entropy encoded. To reconstruct the video, the compressed data is decoded by the inverse process corresponding to entropy encoding, quantization, transform, and prediction. Summary of the invention

[0003] The deficiencies and drawbacks of the prior art are addressed by the general aspects described herein, which are directed to block shape adaptive intra prediction direction in encoding and decoding.

[0004] According to a first aspect, a method is provided. The method comprises the following steps: forming a plurality of reference arrays from reconstructed samples adjacent to a block of video data, wherein the reconstructed samples are located at pixel positions equal to or greater than one position from the block of video data; predicting a target pixel of the block of video data by applying a weight set selected from a plurality of weight sets to one or more reference arrays in the plurality of reference arrays, respectively; calculating a final intra-frame prediction of the target pixel of the video block based on the predictions from the one or more reference arrays in the weighted reference arrays, respectively; and encoding the video block using the prediction.

[0005] According to another aspect, a second method is provided. The method includes the following steps: forming a plurality of reference arrays from reconstructed samples adjacent to a block of video data, wherein the reconstructed samples are located at pixel positions equal to or greater than one position from the block of video data; predicting a target pixel of the block of video data by applying a weight set selected from a plurality of weight sets to one or more reference arrays in the plurality of reference arrays, respectively; calculating a final intra-frame prediction of the target pixel of the video block based on the predictions from the one or more reference arrays in the weighted reference arrays, respectively; and then decoding the video block using the prediction.

[0006] According to another aspect, a device is provided. The device includes a processor. The processor may be configured to encode a video block or decode a bit stream by executing any one of the aforementioned methods.

[0007] According to another general aspect of at least one embodiment, there is provided a device comprising an apparatus according to any decoding embodiment; and at least one of: (i) an antenna configured to receive a signal comprising a 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.

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

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

[0010] According to another general 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.

[0011] According to another general 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.

[0012] These and other aspects, features and advantages of the general aspects will become apparent from the following detailed description of exemplary embodiments taken in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 Reference samples used for intra prediction in HEVC and pixel values ​​at coordinates indicated by P(x,y) are shown.

[0014] Figure 2 The intra prediction direction in HEVC is shown.

[0015] Figure 3 An example of multi-reference intra prediction is shown.

[0016] Figure 4 Intra prediction with two references is shown. Figure 4 (a) shows extending the prediction direction to obtain a predictor on the second reference array that lies between the two reference samples for the target pixel. Figure 4 (b) shows the second predictor directly located on the reference sample.

[0017] Figure 5 A standard general purpose video compression scheme is shown.

[0018] Figure 6 A standard general purpose video decompression scheme is shown.

[0019] Figure 7 An exemplary flow chart for decoding (parsing) intra prediction information is shown.

[0020] Figure 8 An exemplary flow chart for encoding intra prediction information is shown.

[0021] Fig. 9 A coding scheme with pre-coding processing and image partitioning parts is shown.

[0022] Fig.10 A decoding scheme with post-decoding processing is shown.

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

[0024] Fig.12 An embodiment of a method for encoding with multiple reference intra prediction using variable weights is shown.

[0025] Fig.13 An embodiment of another method for decoding with multiple reference intra prediction using variable weights is shown.

[0026] Fig.14 An embodiment of an apparatus for encoding or decoding with multiple reference intra prediction using variable weights is shown. DETAILED DESCRIPTION

[0027] The general aspects described in this article relate to the field of image and video compression and focus on spatial prediction. Classic codecs partition frames into large non-overlapping square blocks, for example, coding tree units (CTUs) in H.265 / HEVC (High Efficiency Video Coding, ITU-TH.265 ITU's Telecommunication Standardization Sector, "Series H: Audiovisual and Multimedia Systems, Infrastructure of audiovisual services–Coding of moving video, High efficiency video coding", October 2014) or super blocks in VP9 ("AV1 Bitstream & Decoding Process Specification", Open Media Alliance). In the following, they are referred to as CTUs. These blocks are then split into smaller blocks or coding units (CUs) that follow a recursive tree. In HEVC and AV1, the maximum size of a block is set to 64×64. In the next standard H.266 / VVC (Versatile Video Coding) studied by the Joint Video Experts Group (JVET), this size may be increased to at least 128×128.

[0028] To encode these blocks, intra prediction is used to provide an estimated version of the block using previously reconstructed neighboring samples. The difference between the source block and the prediction is then encoded. In the classical codecs described above, a single line of reference samples is used to the left and top of the current block.

[0029] In recent work, the use of multiple reference lines has been introduced. A weighted combination of samples from multiple lines along a given prediction direction is computed and then padded onto the current block.

[0030] In the aspects described herein, this approach is extended to allow the encoder to select a different set of weights to apply to the line under consideration. The selected set is then transmitted to the decoder in blocks.

[0031] One problem addressed by the described aspects is how to efficiently predict a block using its previously reconstructed neighborhood.

[0032] First, we describe intra prediction as performed in the latest technical standard H.265 / HEVC. The intra prediction process in HEVC consists of three steps: (1) reference sample generation, (2) intra sample prediction, and (3) post-processing of the predicted samples. Figure 1As shown in . For a prediction unit (PU) of size N×N, a row of 2N decoded samples at the top is formed from the previously reconstructed top and upper right pixels to the current PU. Similarly, a column of 2N samples on the left is formed from the reconstructed left and lower left pixels. The corner pixels at the upper left position are also used to fill the gap between the top row and left column references. If some of the samples at the top or left are not available because the corresponding CU is not in the same slice, or the current CU is at the frame boundary, etc., a method called reference sample replacement is performed, in which the missing samples are copied from the available samples in a clockwise direction. The reference samples are then filtered using the specified filter, depending on the current CU size and prediction mode.

[0033] The next step, intra sample prediction, consists of predicting the pixels of the target CU based on the reference samples. As mentioned before, in order to efficiently predict different kinds of content, HEVC supports a range of prediction modes. Planar and DC prediction modes are used to predict smooth and gradually changing areas, while angular prediction modes are used to capture different directional structures. HEVC supports 33 directional prediction modes, with indices from 2 to 34. These prediction modes correspond to different prediction directions, such as Figure 2 as shown in .

[0034] Multi-reference intra prediction refers to the use of multiple rows and columns of reference pixels ( Figure 3 ) for intra prediction. Also known as arbitrary layer reference intra prediction or multi-line intra prediction. In image processing, a first-order prediction model is usually used due to high correlation. The reason for using a row and a column as a reference in intra prediction was originally based on this, and on the fact that other decoded rows and columns are farther away from the target block pixels and they do not add much additional information about the target block. In earlier standards, this did not matter when the number of prediction directions was small (e.g., <= 7) and the block size was also small (e.g., <= 8). However, in HEVC, the prediction unit size has been increased to 64×64, and the number of angular prediction directions has also increased to 33 accordingly. For future standards, block sizes of up to 256×256 are being studied, and the number of angular prediction modes is as high as 129. With this in mind, it makes sense to use additional rows and columns of decoded pixels as references when the trade-off between the cost and coding gain due to additional memory and complexity is acceptable.

[0035] When the prediction sample for the target pixel is located between two reference samples on the top reference array, vertical angular prediction mode (e.g. Figure 4(a)). In this case, as mentioned in the previous section, in HEVC, the prediction samples are linearly interpolated. The prediction samples are just estimates. If we extend the prediction direction by one more line, then the line will intersect the second line at a different point. Even if the second row of pixels is slightly further away than the first, the estimate of the second row can be better than the first due to the directional nature of the object structure in the image. In some cases, it can even intersect the second row exactly at the position of the decoded pixel (e.g. Figure 4 (b)). Based on this concept, it makes sense to predict the target block based on multiple references.

[0036] To refer to the different reference row / column pairs, the term "reference layer" will be used. Thus, reference layer 1 will refer to the reference row and column next to the target block (i.e., the usual reference in HEVC), reference layer 2 will refer to the reference row and column next to reference layer 1, and so on.

[0037] As mentioned in the previous section, for prediction, top and left reference arrays corresponding to the reference layer are formed. They will be referred to as reference array 1, reference array 2, and so on. Note that reference array n, n=1, 2, ... can refer to the top reference array or the left reference array, depending on whether the prediction mode corresponds to the vertical direction or the horizontal direction, respectively.

[0038] In earlier work, the reference samples for each layer follow the reference sample generation algorithm in HEVC or JEM. Then use those samples to form a reference array. For modes with positive angles (modes 2 to 10 and 26 to 34 in HEVC), the reference array for #n is just the top reference sample of reference layer #n:

[0039] Ref n [x]=P[xn][-n], 0≤x≤W+H+2n-2, n=1, 2, 3,…

[0040] Then, the prediction of the target pixel at (x,y) is calculated as

[0041]

[0042] The weights w1.w2,…,w are known to both the encoder and the decoder. N Here N represents the number of reference layers used for intra prediction. For ease of implementation, for a positive integer K, the weights are normalized to

[0043] w1+w2+…+w N =2 K

[0044] In this approach, weights are selected and fixed for all blocks of a sequence, which is a problem addressed by the aspects described herein.

[0045] In the aspects described herein, a multi-reference intra prediction scheme proposed in earlier work is extended by having the encoder select the best configuration among different sets of weights to be applied to different lines of reference samples for intra prediction. The selected weights, i.e., their indices in the list of possible choices, are then transmitted to the decoder on a block-by-block basis.

[0046] As an example, using truncated unary encoding, it is possible to transmit 2 bits to indicate a selection among 3 possible sets. Exemplary weight sets {{1,0}, {3,1}, {1,1}} have been tested. For each of the 3 possible sets, the first number represents the weight applied to the closest line of reference samples, and the second number corresponds to the weight applied to the second line of reference samples. However, the general aspect is not limited to the use of two lines of reference samples.

[0047] This exemplary configuration has been implemented and tested, and the bit rate savings achieved by JVET's test model VTM in the intra-frame configuration for the first frame of each sequence in the JVET test set are reported in Table 1.

[0048] The affected codec modules are Fig. 9 The intra-frame prediction block step 160 or Fig.10 Step 260.

[0049]

[0050] Table 1: Result gains of the proposed tool relative to the tested model VTM

[0051] The aspects described herein extend earlier work by making it possible for the encoder to optimize prediction using different sets of weights for each block. In earlier work, the weights were fixed. The activation of multi-reference intra prediction was done using a transmitted flag. However, under aspects of this paper, several variants are described that differ in the way information related to the selection of weights to be applied to each block is encoded.

[0052] exist Figure 7 In the example corresponding to one of the main embodiments, an example is described, in which the encoding of the weights depends on the intra mode. For example, for directional intra mode, it is more advantageous to use multiline than to use other modes (such as DC and planar mode). Then, a first step 710 consists of decoding the prediction mode. If the mode can be suitable for multi-reference prediction (720), then the index of the weight set is decoded (730). Otherwise, classic intra prediction is performed.

[0053] A similar flowchart describes the process of encoding the index of the desired transmission, which is described in Figure 8The weight set can be encoded using any binary encoding.

[0054] As an example, using truncated unary coding, it is possible to transmit 2 bits to indicate a selection among 3 possible sets. An exemplary weight set {{1,0}, {3,1}, {1,1}} has been tested and gives the results shown in Table 1 when applied only to Luma blocks. For each of the 3 possible sets, the first number represents the weight applied to the closest reference sample line and the second number corresponds to the weight applied to the second line of reference samples. However, the described aspects are not limited to the use of two lines of reference samples. The final weights are normalized, i.e., divided by {1,4,2}, respectively. In this example, the first pair of weights corresponds to classical intra prediction.

[0055] On the encoder side, the basic idea would be to try all different sets and select the best weights, i.e., use the classic rate-distortion optimization (RDO) to provide the solution for the best rate / distortion (RD) cost. This requires encoding each version of the prediction with the weights for each intra mode and comparing the costs, resulting in increased encoder runtime. Different solutions are described to reduce the overhead in terms of complexity.

[0056] First, a classic encoder typically contains two passes to make intra prediction decisions. The first (fast) pass selects a subset of the best modes among many intra modes (33 in HEVC) by estimating their rate / distortion (RD) costs without performing a full encoding of the block. Then, a full RD calculation is performed on the selected modes to select the best mode.

[0057] It is then possible to perform the selection of weights in a first pass, and keep the pairs {intra-mode, index of weight} to be processed in a second pass. This reduces the encoding runtime while retaining most of the gains.

[0058] It is also possible to select the mode in a fast pass and then add another fast pass that evaluates the best weights only on the selected intra mode. Again, this estimate does not rely on a complete encoding of the block but on an estimate of the cost of the residual.

[0059] As far as syntax is concerned, several embodiments can be considered as described below.

[0060] Example 1

[0061] Multiple reference intra prediction with variable weights is only applied to directional intra mode or a set of directional modes. Figure 7 or Figure 8 The decoding or encoding of intra-frame prediction information is performed by the steps described in

[0062] Example 2

[0063] Multi-reference intra prediction with variable weights is applied to all intra modes. In that case, the intra modes do not need to be decoded, but the index of the weight set is resolved for each block. Figure 7 or Figure 8 The decoding and encoding of intra-frame prediction information are performed by the steps described in .

[0064] Example 3

[0065] Embodiment 1 or 2, wherein multi-reference prediction with variable weights is applied only to the luma component. This allows the encoding of additional bits to be saved for the chroma components. The prediction process for the chroma blocks can be either classical prediction using a single line of reference samples, or multi-reference samples with a fixed set of weights that do not vary across the block.

[0066] Example 4

[0067] Embodiment 1 or 2, where the prediction of the chroma components follows the choice made for luma. This requires that the partitioning of the chroma blocks follows luma, or that a specific mapping is set up, for example using the center pixel or top left corner pixel of the chroma block and deriving its position in the luma partition.

[0068] Example 5

[0069] Embodiment 1 or 2, wherein the index is encoded using a unary truncated encoding.

[0070] Take the above three weight sets {{1,0}, {3,1}, {1,1}} as an example:

[0071] The first interval indicates whether the first set {1,0} (value 0) is selected.

[0072] If the first interval is equal to 1, then the second interval is parsed to select either the second set {3,1} (value 0) or the third set {1,1} (value 1).

[0073] Example 6

[0074] In Embodiment 1 or 2, multi-reference intra prediction is performed only on large blocks (eg, blocks having a height or width higher than a size such as 16 samples).

[0075] Example 7

[0076] Embodiment 1 or 2, where the weight set, the number of reference lines depends on the prediction direction, or the block size / shape (square / rectangular...), component ID in addition to the transmitted index. It can use a predefined table (indexed by prediction direction and block shape) to translate the index into the actual weight set.

[0077] Example 8

[0078] Embodiment 1 or 3, where the number of weight sets, reference lines, depends on the position of the predictor. This embodiment uses weights associated with each pixel. If the predictor is from the top line, then the embodiment may use subset 1, and if the predictor is from the left column, then the embodiment may use subset 2.

[0079] This document describes various aspects including tools, features, embodiments, models, methods, etc. Many of these aspects are described specifically and at least for the purpose of illustrating individual features, and are often described in a manner that may sound restrictive. However, this is for clarity of description and does not limit the application or scope of those aspects. In fact, all of the different aspects can be combined and interchanged to provide additional aspects. Moreover, these aspects can also be combined and interchanged with aspects described in previous applications.

[0080] The aspects described and contemplated in this document may be implemented in many different forms. Fig. 9 , 10 1 and 11 provide some embodiments, but other embodiments are contemplated and are Fig. 9 , 10 The discussion of 11 does not limit the breadth of the embodiments. At least one of these aspects generally relates to video encoding and decoding, and at least another aspect generally relates to transmitting a generated or encoded bitstream. These and other aspects can be implemented as methods, apparatus, a computer-readable storage medium having stored thereon instructions for encoding or decoding video data according to any of the methods described, and / or a computer-readable storage medium having stored thereon a bitstream generated according to any of the methods described.

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

[0082] 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 proper operation of the method, the order and / or use of specific steps and / or actions may be modified or combined.

[0083] Various methods and other aspects described in this document may be used to modify modules of the video encoder 100 and decoder 200, such as intra prediction, entropy encoding and / or decoding modules (160, 360, 145, 330), such as Fig. 9 and Fig.10 Moreover, the present aspects are not limited to VVC or HEVC, and may be applied, for example, to other standards and recommendations (whether pre-existing or developed in the future), as well as extensions of any such standards and recommendations (including VVC and HEVC). Unless otherwise indicated or technically prohibited, the various aspects described in this document may be used alone or in combination.

[0084] Various numerical values ​​are used in this document, such as {{1,0}, {3,1}, {1,1}}. The specific values ​​are for example purposes, and the described aspects are not limited to these specific values.

[0085] Fig. 9 An encoder 100 is illustrated. Variations of this encoder 100 are contemplated, but for clarity, the encoder 100 is described below without describing all contemplated variations.

[0086] Before being encoded, the video sequence may undergo pre-encoding processing (101), such as applying a color transform to an input color picture (e.g., conversion from RGB 4:4:4 to YCbCr 4:2:0), or performing a remapping of 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.

[0087] 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. The prediction residual is calculated, for example, by subtracting (110) the predicted block from the original image block.

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

[0089] The encoder decodes the encoded 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 predicted block are combined (155) to reconstruct the image block. A 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).

[0090] Fig.10 2 shows a block diagram of a video decoder 200. In the decoder 200, the bitstream is decoded by the decoder elements as described below. The video decoder 200 generally performs a decoding pass corresponding to the encoding pass, such as Fig. 9 The encoder 100 also typically performs video decoding as part of encoding the video data.

[0091] In particular, the input to the decoder includes 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 encoded information. Picture partition information indicates how the picture is partitioned. Thus, the decoder may 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 and the prediction block are combined (255) to reconstruct the image block. The prediction block may be obtained (270) from an intra-frame prediction (260) or a motion compensated prediction (i.e., inter-frame prediction) (275). A loop filter (265) is applied to the reconstructed image. The filtered image is stored in a reference picture buffer (280).

[0092] The decoded picture may also 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 inverse remapping that performs the inverse 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.

[0093] Fig.11The block diagram of the example of the system in which various aspects and embodiments are implemented is illustrated. System 1000 can be implemented as a device including various components described below, and is configured to perform one or more aspects described in this document. 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, networked household appliances, and servers. The elements of system 1000 can be implemented in a single integrated circuit, 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, system 1000 is coupled to other similar systems or other electronic devices via, for example, a communication bus or by dedicated input and / or output ports. In various embodiments, system 1000 is configured to implement one or more aspects described in this document.

[0094] The system 1000 includes at least one processor 1010, which is configured to execute instructions loaded therein to implement various aspects described in this document, for example. The processor 1010 may include embedded memory, input and output interfaces, and various other circuit systems 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 EEPROM, a ROM, a PROM, a RAM, a DRAM, an SRAM, a flash memory, a disk drive, and / or an optical drive. As a non-limiting example, the storage device 1040 may include an internal storage device, an attached storage device, and / or a network accessible storage device.

[0095] The system 1000 includes an encoder / decoder module 1030, which is configured to process data to provide encoded video or decoded video, for example, 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 can 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 and decoding modules. In addition, the encoder / decoder module 1030 can be implemented as a separate element of the system 1000, or can be combined in the processor 1010 as a combination of hardware and software, as known to those skilled in the art.

[0096] 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, during the execution of the processes described in this document, 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. Such stored items may include, but are not limited to, input video, decoded video or a portion of decoded video, bitstreams, matrices, variables, and intermediate or final results of equations, formulas, operations, and operation logic.

[0097] In several embodiments, memory within the processor 1010 and / or 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 either 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, an external non-volatile flash memory is used to store the operating system of the television. In at least one embodiment, a fast external dynamic volatile memory (such as RAM) is used as working memory for video encoding and decoding operations, such as for MPEG-2, HEVC, or VVC (universal video coding).

[0098] 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 section that receives an RF signal transmitted over the air, for example, by a broadcaster, (ii) a composite input terminal, (iii) a USB input terminal, and / or (iv) an HDMI input terminal.

[0099] In various embodiments, the input device of block 1130 has associated corresponding input processing elements, as known in the art. For example, the RF portion may be necessarily associated with the following elements: (i) selecting a desired frequency (also referred to as selecting a signal, or band limiting a signal within a frequency band), (ii) down-converting the selected signal, (iii) again band-limiting to a narrower frequency band to select 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 portion of various embodiments includes one or more elements that 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 portion 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 associated input processing element receive the RF signal transmitted on wired (for example, cable) medium, and filter to the frequency band of expectation again by filtering, down-conversion and perform frequency selection.Various embodiments rearrange the order of above-mentioned (and other) elements, remove some in these elements, and / or add other elements of similar or different functions.Adding element can include inserting element between existing element, for example, inserting amplifier and analog-to-digital converter.In various embodiments, the RF part comprises antenna.

[0100] In addition, the USB and / or HDMI terminals may include corresponding 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 (e.g., Reed-Solomon error correction) may be implemented, for example, in a separate input processing IC or in the processor 1010 as desired. Similarly, various aspects of USB or HDMI interface processing may be implemented, for example, in a separate interface IC or in the processor 1010 as desired. The demodulated, error-corrected, and demultiplexed streams are provided to various processing elements, including, for example, the processor 1010, and an encoder / decoder 1030 operating in conjunction with memory and storage elements to process the data streams as needed for presentation on an output device.

[0101] The various elements of the system 1000 may be provided within an integrated housing. Within the integrated housing, the various elements may be interconnected and data may be transferred between them using a suitable connection arrangement 1140 (eg, an internal bus known in the art, including an I2C bus, wiring, and printed circuit boards).

[0102] 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 transmit 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.

[0103] In various embodiments, data is streamed to system 1000 using a wireless network such as IEEE 802.11. The wireless signals of these embodiments are received on a communication channel 1060 and a communication interface 1050 suitable for, for example, 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 air communications. Other embodiments use a set-top box to provide streaming data to system 1000, which is connected to the HDMI of an input block 1130 to deliver data. Still other embodiments use the RF connection of an input block 1130 to provide streaming data to system 1000.

[0104] The system 1000 can provide output signals to various output devices including a display 1100, a speaker 1110, and other peripherals 1120. In various examples of embodiments, the other peripherals 1120 include one or more of a stand-alone DVR, a disc player, a stereo system, a lighting system, and other devices that provide functions based on the output of the system 1000. In various embodiments, control signals are transmitted between the system 1000 and the display 1100, the speaker 1110, or other peripherals 1120 using signaling such as AV.Link, CEC, or other communication protocols that enable device-to-device control, with or without user intervention. The output devices can be communicatively coupled to the system 1000 via dedicated connections through the respective interfaces 1070, 1080, and 1090. Alternatively, the output devices can be connected to the system 1000 using a communication channel 1060 via a communication interface 1050. In an electronic device (e.g., a television), the display 1100 and the speaker 1110 can be integrated into a single unit with the 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.

[0105] For example, if the RF portion of input 1130 is part of a separate set-top box, then 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.

[0106] The embodiments may be implemented by computer software implemented by the processor 1010 or 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, as a non-limiting example, may include one or more of a microprocessor, a general-purpose computer, a special-purpose computer, and a processor based on a multi-core architecture.

[0107] Various embodiments relate to decoding. As used in this application, "decoding" can encompass, for example, all or part of the processing performed on a received encoded sequence to produce a final output suitable for display. 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 alternatively include processes performed by a decoder of various embodiments described in this application, such as extracting indices of weights to be used for various intra-frame prediction reference arrays.

[0108] As another 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. Based on the context of the particular description, whether the phrase "decoding process" is intended to refer specifically to a subset of operations or broadly to a broader decoding process will be apparent and is believed to be well understood by those skilled in the art.

[0109] Various embodiments relate to encoding. In a manner similar to the discussion above about "decoding", as used in this application, "encoding" can cover, for example, all or part of the processing performed on an input video sequence to produce 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, transforms, quantization, and entropy encoding. In various embodiments, such processes also or alternatively include processing performed by the encoder of the various embodiments described in this application, such as weighting of an intra-frame prediction reference array.

[0110] As another 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 encoding and entropy encoding. Based on the context of the particular description, whether the phrase "encoding process" is intended to refer specifically to a subset of operations or broadly to a broader encoding process will be apparent and well understood by those skilled in the art.

[0111] Note that the grammatical elements as used herein are descriptive terms. As such, they do not exclude the use of other grammatical element names.

[0112] 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.

[0113] Various embodiments relate to rate-distortion calculation or rate-distortion optimization. In particular, during the encoding process, constraints on computational complexity are often given, and a balance or trade-off between rate and distortion is usually considered. Rate-distortion optimization is usually formulated as minimizing a rate-distortion function, which is a weighted sum of rate and distortion. There are a variety of methods for solving the rate-distortion optimization problem. For example, these methods can be based on extensive testing of all coding options, including all considered modes or coding parameter values, and a complete evaluation of their coding costs and the associated distortion of the reconstructed signal after encoding and decoding. Faster methods can also be used to save coding complexity, in particular, to calculate approximate distortion based on a predicted or predicted residual signal rather than a reconstructed signal. A mixture of these two methods can also be used, such as by using approximate distortion only for some possible coding options and using full distortion for other coding options. Other methods only evaluate a subset of possible coding options. More generally, many methods use any of a variety of techniques to perform optimization, but optimization is not necessarily a complete evaluation of both coding costs and associated distortions.

[0114] The embodiments and aspects described herein can be implemented, for example, in methods or processes, devices, software programs, data streams or signals. Even if only discussed in a single form of embodiment (e.g., discussed only as a method), the embodiments of the features discussed can also be implemented in other forms (e.g., devices or programs). The device can be implemented, for example, 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, for example, a computer, a mobile phone, a portable / personal digital assistant ("PDA") and other devices that contribute to information communication between end users.

[0115] References to "one embodiment" or "an embodiment" or "one implementation" or "an implementation" and other variations thereof mean that a particular feature, structure, characteristic, etc. described in conjunction with the embodiment is included in at least one embodiment. Thus, the appearance of the phrase "in one embodiment" or "in an embodiment" or "in an implementation" or "in an implementation" and any other variations thereof in various places herein are not necessarily all referring to the same embodiment.

[0116] Additionally, this document may refer to "determining" various information. Determining information may include, for example, one or more of: estimating information, calculating information, predicting information, or retrieving information from a memory.

[0117] Additionally, this document may refer to "accessing" various information. Accessing information may include, for example, one or more of: receiving information, retrieving information (e.g., from a memory), storing information, moving information, copying information, calculating information, determining information, predicting information, or estimating information.

[0118] Additionally, this document may refer to "receiving" various information. Like "accessing," receiving is a broad term. Receiving information may include one or more of: for example, accessing information or retrieving information (e.g., from storage). Additionally, in one way or another, during operations such as, for example: 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.

[0119] It should be appreciated that use of any of the following “ / ”, “and / or”, and “at least one of”, for example, in the context of “A / B”, “A and / or B”, and “at least one of A and B” 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 context of “A, B, and / or C” and “at least one of A, B, and C”, such wording is intended to encompass 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 may be extended to multiple items listed, as will be apparent to one of ordinary skill in this and related arts.

[0120] Moreover, as used herein, the word "signal" especially refers to a corresponding decoder indicating something. For example, in some embodiments, the encoder signals a specific weight in a plurality of weights to be used for an intra-frame prediction reference array. In this way, in an embodiment, the same parameters are used on both the encoder side and the decoder side. Therefore, for example, the encoder can transmit (explicit signaling) specific parameters to the decoder so that the decoder can use the same specific parameters. On the contrary, if the decoder already has specific parameters and other parameters, signaling can be used without transmission (implicit signaling) to simply allow the decoder to know and select specific parameters. By avoiding transmission of any actual function, bit saving is achieved in various embodiments. It should be recognized that signaling can be accomplished in a variety of ways. For example, in various embodiments, one or more grammatical elements, flags, etc. are used to signal information to the corresponding decoder. Although the verb form of the word "signal" is previously related to, the word "signal" can also be used as a noun in this article.

[0121] As will be apparent to one of ordinary skill in the art, embodiments 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 embodiments. For example, a signal may be formatted to carry a bit stream of the described embodiments. Such a signal may be formatted, for example, as an electromagnetic wave (e.g., using a radio frequency portion of a spectrum) or a baseband signal. Formatting may include, for example, encoding a data stream and modulating a carrier with 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.

[0122] Embodiments may include, alone or in combination, one or more of the following features or entities across various claim categories and types:

[0123] • Modifying the intra prediction process applied in the decoder and / or encoder.

[0124] • Enabling several weighted intra prediction methods in the decoder and / or encoder.

[0125] • Inserting a signaling syntax element that enables the decoder to identify the weights to be applied to the intra prediction reference.

[0126] Based on these syntax elements, a weight or set of weights is selected to be applied at the decoder.

[0127] • Apply weighted intra prediction at the decoder.

[0128] • Adapting the residual at the encoder according to any of the embodiments discussed.

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

[0130] • Insertion of syntax elements in the signaling, which enables the decoder to adapt the residual in a way that corresponds to the way used by the encoder.

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

[0132] • A TV, set-top box, mobile phone, tablet or other electronic device performing weighting of intra prediction references according to any of the described embodiments.

[0133] • A TV, set-top box, mobile phone, tablet or other electronic device that performs the weighting of intra prediction references according to any of the described embodiments and displays (eg using a monitor, screen or other type of display) the resulting picture.

[0134] A TV, set-top box, mobile phone, tablet or other electronic device that tunes (eg, using a tuner) a channel to receive a signal comprising an encoded image and performs weighting of intra prediction references according to any of the described embodiments.

[0135] • A TV, set-top box, mobile phone, tablet or other electronic device that wirelessly receives (eg using an antenna) a signal comprising an encoded image and performs weighting of intra prediction references according to any of the described embodiments.

[0136] Various other general and specific inventions and claims are also supported and contemplated throughout this disclosure.

[0137] Fig.12 One embodiment of a method 1200 for encoding a block of video data using the general aspects described herein is shown in . The method begins at a "start" box 1201, and control proceeds to a function box 1210 for forming a plurality of reference arrays from reconstructed samples adjacent to the block of video data, wherein the reconstructed samples are located at pixel locations that are equal to or greater than one location from the block of video data. Control then proceeds from box 1210 to box 1220 for respectively predicting a target pixel of the block of video data by applying a weight set selected from a plurality of weight sets to one or more reference arrays in a plurality of reference arrays. Control proceeds from box 1220 to box 1230 for calculating a final intra-frame prediction of the target pixel of the video block based on the predictions from the one or more reference arrays in the weighted reference arrays, respectively. Control then proceeds from box 1230 to box 1240 for encoding the video block using the prediction.

[0138] Fig.13 One embodiment of a method 1300 for decoding a block of video data using the general aspects described herein is shown in . The method begins at a "start" box 1301, and control proceeds to a functional box 1310 for forming a plurality of reference arrays from reconstructed samples adjacent to the block of video data, wherein the reconstructed samples are located at pixel locations that are equal to or greater than one location from the block of video data. Control then proceeds from box 1310 to box 1320 for respectively predicting a target pixel of the block of video data by applying a weight set selected from a plurality of weight sets to one or more reference arrays in a plurality of reference arrays. Control proceeds from box 1320 to box 1330 for calculating a final intra-frame prediction of the target pixel of the video block based on the predictions from the one or more reference arrays in the weighted reference arrays, respectively. Control then proceeds from box 1330 to box 1340 for decoding the video block using the prediction.

[0139] Fig.14 One embodiment of an apparatus 1400 for encoding or decoding a block of video data is shown. The apparatus includes a processor 1410 and may be interconnected to a memory 1420 via at least one port. Both the processor 1410 and the memory 1420 may have one or more additional interconnects to external connections.

[0140] Processor 1410 is configured to encode or decode video data by forming multiple reference arrays from reconstructed samples of a video data block, predicting target pixels of the video data block respectively by applying weight sets selected from multiple weight sets to one or more reference arrays in the multiple reference arrays, calculating a final prediction of the target pixels of the video block based on the predictions from the one or more reference arrays in the reference arrays, and encoding or decoding the video block using the final prediction.

Claims

1. A method comprising: predicting a target pixel of the video data block by applying a weight to one or more reconstructed samples of a plurality of reconstructed samples from one or more rows or columns of an adjacent video data block; computing at least one intra prediction of a target pixel of a luma block of the block of video data based on predictions from one or more weighted predictions; as well as The block of video data is encoded using the prediction, wherein indices corresponding to weight sets are assigned to a plurality of weight sets for applying weights to a set of reference lines for all intra modes, and wherein the plurality of weight sets are assigned on a per-block basis for luma, and wherein a fixed set of weights is used for chroma for all blocks, and wherein reference lines used with the weight sets include reference lines that are not immediately adjacent to the block of video data.

2. A method comprising: predicting a target pixel of the video data block by applying a weight to one or more decoded samples of a plurality of decoded samples from one or more rows or columns of an adjacent video data block; computing at least one intra prediction of a target pixel of a luma block of the block of video data based on predictions from one or more weighted predictions; as well as The block of video data is decoded using the prediction, wherein indices corresponding to weight sets are assigned to a plurality of weight sets for applying weights to a set of reference lines for all intra modes, and wherein the plurality of weight sets are assigned on a per-block basis for luma, and wherein a fixed set of weights is used for chroma for all blocks, and wherein reference lines used with the weight sets include reference lines that are not immediately adjacent to the block of video data. The method of claim 1 , wherein the weights are applied to a directional intra mode. The method of claim 1 , wherein the weights are applied to all intra modes. The method of claim 3 , wherein the weight is applied only to the luminance component.

6. A method as claimed in claim 1 or 2, wherein three weight sets are used.

7. The method of claim 3, wherein multi-reference intra prediction is performed for a block having a height or a width greater than N samples.

8. The method of claim 3, wherein the weights and the number of reference lines are based on the locations of the predictor samples.

9. An apparatus comprising: A processor configured to execute: predicting a target pixel of the video data block by applying a weight to one or more reconstructed samples of a plurality of reconstructed samples from one or more rows or columns of an adjacent video data block; computing at least one intra prediction of a target pixel of a luma block of the block of video data based on predictions from one or more weighted predictions; as well as The block of video data is encoded using the prediction, wherein indices corresponding to weight sets are assigned to a plurality of weight sets for applying weights to a set of reference lines for all intra modes, and wherein the plurality of weight sets are assigned on a per-block basis for luma, and wherein a fixed set of weights is used for chroma for all blocks, and wherein reference lines used with the weight sets include reference lines that are not immediately adjacent to the block of video data.

10. An apparatus comprising: A processor configured to execute: predicting a target pixel of the video data block by applying a weight to one or more decoded samples of a plurality of decoded samples from one or more rows or columns of an adjacent video data block; computing at least one intra prediction of a target pixel of a luma block of the block of video data based on predictions from one or more weighted predictions; as well as The block of video data is decoded using the prediction, wherein indices corresponding to weight sets are assigned to a plurality of weight sets for applying weights to a set of reference lines for all intra modes, and wherein the plurality of weight sets are assigned on a per-block basis for luma, and wherein a fixed set of weights is used for chroma for all blocks, and wherein reference lines used with the weight sets include reference lines that are not immediately adjacent to the block of video data.

11. The apparatus of claim 9 or 10, wherein the weight is applied to a directional intra mode.

12. The apparatus of claim 9 or 10, wherein the weight is applied to all intra modes.

13. The apparatus of claim 11, wherein the weight is applied only to a luma component.

14. An apparatus as claimed in claim 9 or 10, wherein three weight sets are used.

15. The apparatus of claim 11, wherein multi-reference intra prediction is performed on a block having a height or a width greater than N samples.

16. The apparatus of claim 11, wherein the weights and the number of reference lines are based on the locations of the predictor samples.

17. A device comprising: The device according to any one of claims 10 to 16; as well as At least one of: (i) an antenna configured to receive a signal, the signal comprising a video block; (ii) a frequency band limiter configured to limit the received signal to a frequency band comprising the video block, and (iii) a display configured to display an output representing the video block.

18. A non-transitory computer readable medium storing instructions which, when executed by a processor, cause the processor to perform the method of any one of claims 1 to 8.

19. A computer program product comprising instructions which, when executed by a computer, cause the computer to perform the method according to any one of claims 1 to 8.