Intra prediction fusion with reduced complexity in video coding
By integrating the predicted values of multiple reference sample dot lines in the video encoding and decoding technology, the problem of insufficient prediction block accuracy and compression efficiency in the intra prediction process in the prior art is solved, and more efficient video encoding and decoding is achieved.
Patent Information
- Application Number
- CN202380063479.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-09-05
- Filing Date
- 2023-09-06
- Publication Date
- 2025-03-28
AI Technical Summary
The existing video encoding and decoding technology is difficult to effectively fuse multiple reference sample dot lines during intra prediction, resulting in a lack of accuracy and compression efficiency of prediction blocks.
By determining a set of reference lines for the intra prediction process, a plurality of sets of intra prediction predicted values are determined based on the set, and a fusion of the predicted values is generated to improve the block prediction accuracy of the video data.
More accurate block prediction is achieved, reducing errors and artifacts introduced during compression and decompression, improving video quality, and reducing encoding and decoding time and computing resource requirements.
Smart Images

Figure CN119732041A_ABST
Abstract
Description
[0001] This application claims priority to U.S. patent application serial number 18 / 461,255 filed on September 5, 2023, U.S. provisional application serial number 63 / 375,163 filed on September 9, 2022, U.S. provisional application serial number 63 / 377,677 filed on September 29, 2022, and U.S. provisional application serial number 63 / 382,961 filed on November 9, 2022, the entire contents of which are incorporated herein by reference. U.S. patent application serial number 18 / 461,255, filed on September 5, 2023, claims the benefit of U.S. provisional application serial number 63 / 375,163, filed on September 9, 2022, U.S. provisional application serial number 63 / 377,677, filed on September 29, 2022, and U.S. provisional application serial number 63 / 382,961, filed on November 9, 2022. Technical Field
[0002] The present disclosure relates to video encoding and video decoding. Background Art
[0003] Digital video capabilities may be incorporated into a variety of devices including digital televisions, digital direct broadcast systems, wireless broadcast systems, personal digital assistants (PDAs), laptop or desktop computers, tablet computers, e-book readers, digital cameras, digital recording devices, digital media players, video gaming devices, video game consoles, cellular or satellite radio telephones, so-called "smart phones", video teleconferencing devices, video streaming devices, etc. Digital video devices implement video codec technologies such as those described in the standards defined by MPEG-2, MPEG-4, ITU-T H.263, ITU-T H.264 / MPEG-4 Part 10 Advanced Video Codec (AVC), ITU-T H.265 / High Efficiency Video Codec (HEVC), ITU-T H.266 / Versatile Video Codec (VVC), and extensions of such standards as well as proprietary video codecs / formats such as AOMedia Video 1 (AV1) developed by the Alliance for Open Media. By implementing such video coding and decoding technologies, video devices can more efficiently send, receive, encode, decode and / or store digital video information.
[0004] Video coding techniques include spatial (intra-picture) prediction and / or temporal (inter-picture) prediction to reduce or remove redundancy inherent in video sequences. For block-based video coding, a video slice (e.g., a video picture or a portion of a video picture) can be partitioned into video blocks, which can also be referred to as codec tree units (CTUs), codec units (CUs), and / or codec nodes. Video blocks in an intra-frame codec (I) slice of a picture are encoded using spatial prediction of reference samples in neighboring blocks in the same picture. Video blocks in an inter-frame codec (P or B) slice of a picture can use spatial prediction of reference samples in neighboring blocks in the same picture or temporal prediction of reference samples in other reference pictures. Pictures can be referred to as frames, and reference pictures can be referred to as reference frames. Summary of the invention
[0005] The technology of the present disclosure relates to intra-frame prediction, and more specifically to intra-frame prediction fusion. According to the technology of the present disclosure, intra-frame prediction can be performed using two or more reference sample lines to form a fused reference prediction value. That is, a video codec can combine (e.g., fuse) reference samples from two or more reference sample lines to form a new prediction value fusion that can be used to encode and decode video data according to an intra-frame prediction mode.
[0006] In one example, a video codec may determine a set of reference lines for an intra-prediction process, determine a first set of intra-prediction prediction values based on the reference line set, and determine a second set of intra-prediction prediction values based on the reference line set. By generating a fusion of prediction values from the first set of intra-prediction prediction values and the second set of intra-prediction prediction values, the video codec may generate a more accurate prediction block, which may not only result in smaller residual data that may be more efficiently compressed, but also improve visual quality (e.g., because a more accurate block prediction algorithm reduces errors and artifacts introduced during the compression and decompression process). In addition, the techniques of the present disclosure may result in faster encoding and decoding times and lower computational resource requirements, which may be particularly important for resource-constrained devices and applications such as streaming. As described in more detail below, the techniques of the present disclosure may reduce the complexity associated with intra-prediction fusion and thereby improve the trade-off between performance and complexity.
[0007] According to an example of the present disclosure, a method for decoding video data includes: determining to encode a block of video data using an intra-frame prediction process that utilizes multiple intra-frame prediction prediction values; determining a reference line set for the intra-frame prediction process; determining a first intra-frame prediction prediction value set based on the reference line set; determining a second intra-frame prediction prediction value set based on the reference line set; generating a fusion of prediction values from the first intra-frame prediction prediction value set and the second intra-frame prediction prediction value set; and decoding the block of video data using the fusion of prediction values.
[0008] According to an example of the present disclosure, a device for decoding video data includes: a memory configured to store video data; one or more processors implemented in a circuit and configured to: determine to encode a block of video data using an intra-frame prediction process that utilizes multiple intra-frame prediction prediction values; determine a reference line set for the intra-frame prediction process; determine a first intra-frame prediction prediction value set based on the reference line set; determine a second intra-frame prediction prediction value set based on the reference line set; generate a fusion of prediction values from the first intra-frame prediction prediction value set and the second intra-frame prediction prediction value set; and decode the block of video data using the fusion of prediction values.
[0009] A computer-readable storage medium stores instructions that, when executed by one or more processors, cause the one or more processors to: determine to encode a block of video data using an intra-prediction process that utilizes a plurality of intra-prediction predictors; determine a set of reference lines for the intra-prediction process; determine a first set of intra-prediction predictors based on the set of reference lines; determine a second set of intra-prediction predictors based on the set of reference lines; generate a fusion of predictors from the first set of intra-prediction predictors and the second set of intra-prediction predictors; and decode the block of video data using the fusion of predictors.
[0010] An apparatus for decoding video data includes: a component for determining to encode a block of video data using an intra-prediction process that utilizes a plurality of intra-prediction predictors; a component for determining a set of reference lines for the intra-prediction process; a component for determining a first set of intra-prediction predictors based on the set of reference lines; a component for determining a second set of intra-prediction predictors based on the set of reference lines; a component for generating a fusion of prediction values from the first set of intra-prediction predictors and the second set of intra-prediction predictors; and a component for decoding the block of video data using the fusion of prediction values.
[0011] The details of one or more examples are set forth in the accompanying drawings and the description below. Other features, objects, and advantages will be apparent from the detailed description, drawing description, and claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 is a block diagram illustrating an example video encoding and decoding system that may perform the techniques of this disclosure.
[0013] Figure 2 An example of a codec unit (CU) with neighboring reference lines that can be used for intra prediction is shown.
[0014] Figure 3 An example of a current CU with multiple reference lines that can be used for intra prediction is shown.
[0015] Figure 4 An example of template-based intra mode derivation (TIMD) is shown.
[0016] Figure 5 An example of angular intra prediction mode is shown.
[0017] Figure 6 Examples of intra prediction modes with integer slopes and non-integer slopes are shown.
[0018] Figure 7 is a conceptual diagram illustrating an example of a space geometric partitioning pattern (SGPM).
[0019] Figure 8 is a block diagram illustrating an example video encoder that may perform the techniques of this disclosure.
[0020] Fig. 9 is a block diagram illustrating an example video decoder that may perform the techniques of this disclosure.
[0021] Fig.10 is a flow chart illustrating an example process for encoding a current block according to the techniques of this disclosure.
[0022] Fig.11 is a flow chart illustrating an example process for decoding a current block according to the techniques of this disclosure.
[0023] Fig.12 is a flow chart illustrating an example process for decoding a current block according to the techniques of this disclosure. DETAILED DESCRIPTION
[0024] Video codecs (e.g., video encoding and / or video decoding) typically involve predicting a block of video data based on blocks of already coded video data in the same picture (e.g., intra-frame prediction) or blocks of already coded video data in different pictures (e.g., inter-frame prediction). In some cases, the video encoder also calculates residual data by comparing the predicted block to the original block. Thus, the residual data represents the difference between the predicted block and the original block. In order to reduce the number of bits required to signal the residual data, the video encoder transforms and quantizes the residual data and signals the transformed and quantized residual data in the encoded bitstream. The compression achieved by the transform and quantization process may be lossy, meaning that the transform and quantization process may introduce distortion into the decoded video data.
[0025] The video decoder decodes the residual data and adds it to the prediction block to produce a reconstructed video block that more closely matches the original video block than the prediction block alone. The first reconstructed block may have distortion or artifacts due to losses introduced by the transformation and quantization of the residual data. To further improve the quality of the decoded video, the video decoder may perform one or more filtering operations on the reconstructed video block.
[0026] The technology of the present disclosure relates to intra-frame prediction, and more specifically to intra-frame prediction fusion. According to the technology of the present disclosure, two or more reference sample lines can be used to perform intra-frame prediction to form a fused reference prediction value (predictor). That is, the video codec can combine (e.g., fuse) reference samples from two or more reference sample lines to form a new prediction value fusion that can be used to encode and decode video data according to an intra-frame prediction mode. For example, the video codec can determine a reference line set for the intra-frame prediction process, determine a first intra-frame prediction prediction value set based on the reference line set, and determine a second intra-frame prediction prediction value set based on the reference line set. By generating a fusion of prediction values from the first intra-frame prediction prediction value set and the second intra-frame prediction prediction value set, the video decoder can generate a more accurate prediction block, which can not only result in smaller residual data that can be compressed more efficiently, but also improve visual quality (e.g., because a more accurate block prediction algorithm reduces errors and artifacts introduced during the compression and decompression process). In addition, the technology can result in faster decoding times and lower computing resource requirements, which may be particularly important for resource-constrained devices and applications such as streaming. As described in more detail below, the techniques of this disclosure may reduce the complexity associated with intra-prediction fusion and thus improve the trade-off between performance and complexity.
[0027] Figure 11 is a block diagram illustrating an example video encoding and decoding system 100 that can perform the intra-frame prediction fusion technology of the present disclosure. The technology of the present disclosure is generally directed to encoding and decoding (encoding and / or decoding) video data. Generally, video data includes any data used to process video. Therefore, video data can include original, unencoded video, encoded video, decoded (e.g., reconstructed) video and video metadata, such as signaling notification data.
[0028] like Figure 1 As shown, in this example, system 100 includes a source device 102 that provides encoded video data to be decoded and displayed by a destination device 116. Specifically, source device 102 provides video data to destination device 116 via computer-readable medium 110. Source device 102 and destination device 116 may include any of a variety of devices, including desktop computers, notebook (i.e., laptop) computers, mobile devices, tablet computers, set-top boxes, telephone handsets such as smartphones, televisions, cameras, display devices, digital media players, video game consoles, video streaming devices, broadcast receiver devices, etc. In some cases, source device 102 and destination device 116 may be equipped for wireless communication and, therefore, may be referred to as wireless communication devices.
[0029] exist Figure 1 In the example of , the source device 102 includes a video source 104, a memory 106, a video encoder 200, and an output interface 108. The destination device 116 includes an input interface 122, a video decoder 300, a memory 120, and a display device 118. According to the present disclosure, the video encoder 200 of the source device 102 and the video decoder 300 of the destination device 116 can be configured to apply the techniques described herein for intra-frame prediction fusion. Therefore, the source device 102 represents an example of a video encoding device, and the destination device 116 represents an example of a video decoding device. In other examples, the source device and the destination device may include other components or arrangements. For example, the source device 102 may receive video data from an external video source (such as an external camera). Similarly, the destination device 116 may be docked with an external display device instead of including an integrated display device.
[0030] Figure 1The system 100 shown is only an example. In general, any digital video encoding and / or decoding device can perform the techniques described herein for intra-frame prediction fusion. The source device 102 and the destination device 116 are only examples of such codec devices, wherein the source device 102 generates coded video data for transmission to the destination device 116. The present disclosure refers to a "codec" device as a device that performs coding (coding and / or decoding) of data. Therefore, the video encoder 200 and the video decoder 300 represent examples of codec devices, specifically, video encoders and video decoders, respectively. In some examples, the source device 102 and the destination device 116 can operate in a substantially symmetrical manner, so that each of the source device 102 and the destination device 116 includes a video encoding and decoding component. Therefore, the system 100 can support one-way or two-way video transmission between the source device 102 and the destination device 116, for example, for video streaming, video playback, video broadcasting, or video telephony.
[0031] Typically, the video source 104 represents the source of video data (i.e., the original, unencoded video data) and provides a continuous series of pictures (also referred to as "frames") of the video data to the video encoder 200, which encodes the data of the pictures. The video source 104 of the source device 102 may include a video capture device, such as a camera, a video archive containing previously captured original video, and / or a video feed interface that receives video from a video content provider. As a further alternative, the video source 104 may generate computer graphics-based data as the source video, or a combination of live video, archived video, and computer-generated video. In each case, the video encoder 200 encodes the captured, pre-captured, or computer-generated video data. The video encoder 200 may rearrange the pictures from the receiving order (sometimes referred to as the "display order") into the encoding and decoding order for encoding and decoding. The video encoder 200 may generate a bitstream including the encoded video data. Then, the source device 102 may output the encoded video data to the computer-readable medium 110 via the output interface 108 for receiving or retrieving by, for example, the input interface 122 of the destination device 116.
[0032] The memory 106 of the source device 102 and the memory 120 of the destination device 116 represent general purpose memories. In some examples, the memories 106, 120 can store original video data, for example, original video from the video source 104 and original, decoded video data from the video decoder 300. Additionally or alternatively, the memories 106, 120 can store software instructions that can be executed by, for example, the video encoder 200 and the video decoder 300, respectively. Although in this example, the memory 106 and the memory 120 are shown separately from the video encoder 200 and the video decoder 300, it should be understood that the video encoder 200 and the video decoder 300 can also include internal memories for functionally similar or equivalent purposes. In addition, the memories 106, 120 can store, for example, encoded video data output from the video encoder 200 and input to the video decoder 300. In some examples, portions of the memories 106, 120 can be allocated as one or more video buffers, for example, to store original, decoded and / or encoded video data.
[0033] The computer-readable medium 110 may represent any type of medium or device capable of transmitting the encoded video data from the source device 102 to the destination device 116. In one example, the computer-readable medium 110 represents a communication medium to enable the source device 102 to send the encoded video data directly to the destination device 116 in real time (e.g., via a radio frequency network or a computer-based network). According to a communication standard such as a wireless communication protocol, the output interface 108 may modulate a transmission signal including the encoded video data, and the input interface 122 may demodulate the received transmission signal. The communication medium may include any wireless or wired communication medium, such as a radio frequency (RF) spectrum or one or more physical transmission lines. The communication medium may form part of a packet-based network, such as a local area network, a wide area network, or a global network such as the Internet. The communication medium may include a router, a switch, a base station, or any other device that can be used to facilitate communication from the source device 102 to the destination device 116.
[0034] In some examples, source device 102 may output the encoded data from output interface 108 to storage device 112. Similarly, destination device 116 may access the encoded data from storage device 112 via input interface 122. Storage device 112 may include any of a variety of distributed or locally accessed data storage media, such as a hard drive, Blu-ray disc, DVD, CD-ROM, flash memory, volatile or non-volatile memory, or any other suitable digital storage medium for storing encoded video data.
[0035] In some examples, source device 102 may output the encoded video data to file server 114 or another intermediate storage device that may store the encoded video data generated by source device 102. Destination device 116 may access the stored video data from file server 114 via streaming or downloading.
[0036] The file server 114 may be any type of server device capable of storing encoded video data and sending the encoded video data to the destination device 116. The file server 114 may represent a network server (e.g., for a website), a server configured to provide a file transfer protocol service (such as the File Transfer Protocol (FTP) or the File Transfer over Unidirectional Transport (FLUTE) protocol), a content delivery network (CDN) device, a hypertext transfer protocol (HTTP) server, a Multimedia Broadcast Multicast Service (MBMS) or an enhanced MBMS (eMBMS) server, and / or a network attached storage (NAS) device. The file server 114 may additionally or alternatively implement one or more HTTP streaming protocols, such as Dynamic Adaptive Streaming over HTTP (DASH), HTTP Live Streaming (HLS), Real Time Streaming Protocol (RTSP), HTTP Dynamic Streaming, etc.
[0037] Destination device 116 may access the encoded video data from file server 114 through any standard data connection, including an Internet connection. This may include a wireless channel (e.g., a Wi-Fi connection), a wired connection (e.g., a digital subscriber line (DSL), a cable modem, etc.), or a combination of both, suitable for accessing the encoded video data stored on file server 114. Input interface 122 may be configured to operate according to any one or more of the various protocols discussed above for retrieving or receiving media data from file server 114 or other such protocols for retrieving media data.
[0038] Output interface 108 and input interface 122 may represent a wireless transmitter / receiver, a modem, a wired network component (e.g., an Ethernet card), a wireless communication component that operates according to any of the various IEEE 802.11 standards, or other physical components. In examples where output interface 108 and input interface 122 include wireless components, output interface 108 and input interface 122 may be configured to transmit data (such as encoded video data) according to a cellular communication standard (such as 4G, 4G-LTE (Long Term Evolution), LTE Advanced, 5G, etc.). In some examples where output interface 108 includes a wireless transmitter, output interface 108 and input interface 122 may be configured to transmit data (such as encoded video data) according to other wireless standards (such as IEEE 802.11 specifications, IEEE 802.15 specifications (e.g., ZigBee™), Bluetooth™ standards, etc.). In some examples, source device 102 and / or destination device 116 may include corresponding system-on-chip (SoC) devices. For example, source device 102 may include a SoC device to perform functions attributed to video encoder 200 and / or output interface 108 , and destination device 116 may include a SoC device to perform functions attributed to video decoder 300 and / or input interface 122 .
[0039] The techniques of the present disclosure may be applied to video encoding and decoding to support any of a variety of multimedia applications, such as over-the-air television broadcasting, cable television transmission, satellite television transmission, Internet streaming video transmission such as Dynamic Adaptive Streaming over HTTP (DASH), digital video encoded onto a data storage medium, decoding of digital video stored on a data storage medium, or other applications.
[0040] The input interface 122 of the destination device 116 receives the encoded video bitstream from the computer-readable medium 110 (e.g., a communication medium, a storage device 112, a file server 114, etc.). The encoded video bitstream may include signaling information defined by the video encoder 200 (such as syntax elements with values describing characteristics and / or processing of video blocks or other codec units (e.g., slices, pictures, groups of pictures, sequences, etc.) and used by the video decoder 300. The display device 118 displays decoded pictures of the decoded video data to a user. The display device 118 may represent any of a variety of display devices, such as a liquid crystal display (LCD), a plasma display, an organic light emitting diode display (OLED), or another type of display device.
[0041] although Figure 1Not shown, in some examples, the video encoder 200 and the video decoder 300 may each be integrated with an audio encoder and / or an audio decoder, and may include appropriate MUX-DEMUX units, or other hardware and / or software, to process a multiplexed stream including both audio and video in a common data stream.
[0042] The video encoder 200 and the video decoder 300 can each be implemented as any of a variety of suitable encoder and / or decoder circuits, such as one or more microprocessors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), discrete logic, software, hardware, firmware, or any combination thereof. When these techniques are partially implemented in software, the device can store the instructions of the software in a suitable non-transitory computer-readable medium and execute the instructions in hardware using one or more processors to perform the techniques of the present disclosure. Each of the video encoder 200 and the video decoder 300 can be included in one or more encoders or decoders, any of which can be integrated as part of a combined encoder / decoder (codec) in a corresponding device. A device including the video encoder 200 and / or the video decoder 300 can include an integrated circuit, a microprocessor, and / or a wireless communication device such as a cellular phone.
[0043] The video encoder 200 and the video decoder 300 may operate according to a video codec standard such as ITU-T H.265, also known as High Efficiency Video Codec (HEVC), or an extension thereof such as a multi-view and / or scalable video codec extension. Alternatively, the video encoder 200 and the video decoder 300 may operate according to other proprietary or industry standards such as ITU-T H.266, also known as Versatile Video Codec (VVC). In other examples, the video encoder 200 and the video decoder 300 may operate according to a proprietary video codec / format such as AOMedia video 1 (AV1), an extension of AV1, and / or a subsequent version of AV1 (e.g., AV2). In other examples, the video encoder 200 and the video decoder 300 may operate according to other proprietary formats or industry standards. However, the technology of the present disclosure is not limited to any particular codec standard or format. In general, the video encoder 200 and the video decoder 300 may be configured to perform the technology of the present disclosure in conjunction with any video codec technology that uses intra-frame prediction.
[0044] Typically, the video encoder 200 and the video decoder 300 can perform block-based picture encoding and decoding. The term "block" generally refers to a structure that includes data to be processed (e.g., to be encoded, to be decoded, or otherwise used for encoding and / or decoding processes). For example, a block may include a two-dimensional matrix of samples of luminance and / or chrominance data. Typically, the video encoder 200 and the video decoder 300 can encode and decode video data represented in a YUV (e.g., Y, Cb, Cr) format. That is, the video encoder 200 and the video decoder 300 can encode and decode luminance and chrominance components instead of encoding and decoding red, green, and blue (RGB) data of samples of a picture, where the chrominance components may include red hue and blue hue chrominance components. In some examples, the video encoder 200 converts the received RGB format data into a YUV representation before encoding, and the video decoder 300 converts the YUV representation into an RGB format. Alternatively, a pre-processing and post-processing unit (not shown) may perform these conversions.
[0045] The present disclosure may generally refer to the encoding and decoding of a picture (e.g., encoding and decoding) to include the process of encoding or decoding the data of a picture. Similarly, the present disclosure may refer to the encoding and decoding of a block of a picture to include the process of encoding or decoding the data of the block (e.g., prediction and / or residual encoding and decoding). The encoded video bitstream generally includes a series of values of syntax elements that represent codec decisions (e.g., codec modes) and the partitioning of pictures into blocks. Therefore, references to encoding and decoding a picture or block should generally be understood to encode and decode the values of the syntax elements that form the picture or block.
[0046] HEVC defines various blocks, including codec units (CUs), prediction units (PUs), and transform units (TUs). According to HEVC, a video codec (such as the video encoder 200) partitions a codec tree unit (CTU) into CUs according to a quadtree structure. That is, the video codec partitions the CTU and CU into four equal, non-overlapping squares, and each node of the quadtree has zero or four child nodes. A node without child nodes may be referred to as a "leaf node", and the CU of such a leaf node may include one or more PUs, and / or one or more TUs. The video codec may further partition the PU and TU. For example, in HEVC, the residual quadtree (RQT) represents the partitioning of the TU. In HEVC, PU represents inter-frame prediction data, and TU represents residual data. The intra-predicted CU includes intra-frame prediction information such as an intra-frame mode indication.
[0047] As another example, the video encoder 200 and the video decoder 300 may be configured to operate according to VVC. According to VVC, a video codec (such as the video encoder 200) partitions a picture into multiple codec tree units (CTUs). The video encoder 200 may partition the CTU according to a tree structure such as a quadtree-binary tree (QTBT) structure or a multi-type tree (MTT) structure. The QTBT structure removes the concept of multiple partition types (such as the separation between CU, PU, and TU of HEVC). The QTBT structure includes two levels: a first level that is partitioned according to quadtree partitioning, and a second level that is partitioned according to binary tree partitioning. The root node of the QTBT structure corresponds to the CTU. The leaf nodes of the binary tree correspond to codec units (CUs).
[0048] In the MTT partitioning structure, blocks can be partitioned using quadtree (QT) partitioning, binary tree (BT) partitioning, and one or more types of ternary tree (TT) (also known as ternary tree (TT)) partitioning. A ternary tree or ternary tree partitioning is a partitioning in which a block is divided into three sub-blocks. In some examples, the ternary tree or ternary tree partitioning divides the block into three sub-blocks without dividing the original block through the center. The partitioning types in MTT (e.g., QT, BT, and TT) can be symmetric or asymmetric.
[0049] When operating according to the AV1 codec, the video encoder 200 and the video decoder 300 may be configured to encode and decode video data in blocks. In AV1, the largest codec block that can be processed is called a superblock. In AV1, a superblock can be 128x128 luminance samples or 64x64 luminance samples. However, in subsequent video codec formats (e.g., AV2), superblocks may be defined by different (e.g., larger) luminance sample sizes. In some examples, the superblock is the top layer of the block quadtree. The video encoder 200 may further divide the superblock into smaller codec blocks. The video encoder 200 may divide superblocks and other codec blocks into smaller blocks using square or non-square divisions. Non-square blocks may include N / 2xN, NxN / 2, N / 4xN, and NxN / 4 blocks. The video encoder 200 and the video decoder 300 may perform separate prediction and transform processing on each codec block.
[0050] AV1 also defines tiles of video data. A tile is a rectangular array of super blocks that can be encoded and decoded independently of other tiles. That is, the video encoder 200 and the video decoder 300 can encode and decode codec blocks within a tile, respectively, without using video data from other tiles. However, the video encoder 200 and the video decoder 300 can perform filtering across tile boundaries. The size of the tile can be uniform or non-uniform. Tile-based encoding and decoding can achieve parallel processing and / or multi-threading of encoder and decoder implementations.
[0051] In some examples, the video encoder 200 and the video decoder 300 may use a single QTBT or MTT structure to represent each of the luma and chroma components, while in other examples, the video encoder 200 and the video decoder 300 may use two or more QTBT or MTT structures, such as one QTBT / MTT structure for the luma component and another QTBT / MTT structure for the two chroma components (or two QTBT / MTT structures for corresponding chroma components).
[0052] The video encoder 200 and the video decoder 300 may be configured to use quadtree partitioning, QTBT partitioning, MTT partitioning, super block partitioning, or other partitioning structures.
[0053] In some examples, a CTU includes a codec tree block (CTB) of luma samples, two corresponding CTBs of chroma samples for a picture with three sample arrays, or a CTB of samples for a monochrome picture or a picture encoded and decoded using three independent color planes and syntax structures for encoding and decoding the samples. The CTB can be an NxN block of samples for some value of N, so that the division of the components into CTBs is a partition. A component is an array or a single sample from one of the three arrays (luminance and two chroma) that make up a picture in a color format of 4:2:0, 4:2:2, or 4:4:4; or an array or a single sample of an array that makes up a monochrome format picture. In some examples, a codec block is an M×N block of samples for some values of M and N, so that the division of the CTB into codec blocks is a partition.
[0054] Blocks (e.g., CTUs or CUs) may be grouped in a picture in various ways. As an example, a brick may refer to a rectangular area of a CTU row within a particular tile in a picture. A tile may be a rectangular area of a CTU within a particular tile column and a particular tile row in a picture. A tile column refers to a rectangular area of a CTU having a height equal to the height of the picture and a width specified by a syntax element (e.g., such as in a picture parameter set). A tile row refers to a rectangular area of a CTU having a height specified by a syntax element (e.g., such as in a picture parameter set) and a width equal to the width of the picture.
[0055] In some examples, a tile may be divided into multiple tiles, each of which may include one or more CTU rows within the tile. Tiles that are not divided into multiple tiles may also be referred to as tiles. However, tiles that are true subsets of tiles cannot be referred to as tiles. Tiles in a picture may also be arranged in the form of slices. A slice may be an integer number of tiles of a picture, which may be exclusively contained in a single network abstraction layer (NAL) unit. In some examples, a slice includes a continuous sequence of multiple complete tiles or only complete tiles of one tile.
[0056] This disclosure may use "N×N" and "N by N" interchangeably to refer to the sample dimensions of a block (such as a CU or other video block) in terms of vertical and horizontal dimensions, for example, 16×16 samples or 16 by 16 samples. Typically, a 16×16 CU has 16 samples in the vertical direction (y=16) and 16 samples in the horizontal direction (x=16). Similarly, an N×N CU typically has N samples in the vertical direction and N samples in the horizontal direction, where N represents a non-negative integer value. The samples in a CU may be arranged in rows and columns. In addition, a CU does not necessarily have the same number of samples in the horizontal direction as in the vertical direction. For example, a CU may include N×M samples, where M is not necessarily equal to N.
[0057] The video encoder 200 encodes the video data of the CU representing the prediction and / or residual information and other information. The prediction information indicates how to predict the CU in order to form the prediction block of the CU. The residual information generally indicates the sample-by-sample difference between the CU sample before encoding and the prediction block.
[0058] In order to predict a CU, the video encoder 200 may typically form a prediction block of the CU by inter-frame prediction or intra-frame prediction. Inter-frame prediction generally refers to predicting a CU from data of a previously coded picture, while intra-frame prediction generally refers to predicting a CU from previously coded data of the same picture. In order to perform inter-frame prediction, the video encoder 200 may use one or more motion vectors to generate a prediction block. The video encoder 200 may typically perform a motion search to identify a reference block that closely matches the CU, for example, based on the difference between the CU and the reference block. The video encoder 200 may calculate a difference metric using the sum of absolute differences (SAD), the sum of squared differences (SSD), the mean absolute difference (MAD), the mean squared difference (MSD), or other such difference calculations to determine whether the reference block closely matches the current CU. In some examples, the video encoder 200 may use unidirectional prediction or bidirectional prediction to predict the current CU.
[0059] Some examples of VVC also provide an affine motion compensation mode, which can be considered an inter-prediction mode. In the affine motion compensation mode, the video encoder 200 can determine two or more motion vectors representing non-translational motion, such as zooming in or out, rotation, perspective motion, or other irregular motion types.
[0060] To perform intra prediction, the video encoder 200 can select an intra prediction mode to generate a prediction block. Some examples of VVC provide sixty-seven intra prediction modes, including various directional modes, as well as a planar mode and a DC mode. Typically, the video encoder 200 selects an intra prediction mode that describes neighboring samples of a current block (e.g., a block of a CU) from which samples of the current block are predicted. Assuming that the video encoder 200 encodes and decodes CTUs and CUs in a raster scan order (from left to right, from top to bottom), such samples may typically be above, to the upper left, or to the left of the current block in the same picture as the current block.
[0061] The video encoder 200 encodes data representing the prediction mode of the current block. For example, for the inter-frame prediction mode, the video encoder 200 may encode data indicating which of the various available inter-frame prediction modes is used and the motion information of the corresponding mode. For example, for unidirectional or bidirectional inter-frame prediction, the video encoder 200 may encode the motion vector using advanced motion vector prediction (AMVP) or merge mode. The video encoder 200 may use a similar mode to encode the motion vector of the affine motion compensation mode.
[0062] AV1 includes two general techniques for encoding and decoding codec blocks of video data. The two general techniques are intra prediction (e.g., intra prediction or spatial prediction) and inter prediction (e.g., inter prediction or temporal prediction). In the context of AV1, when an intra prediction mode is used to predict a block of a current frame of video data, the video encoder 200 and the video decoder 300 do not use video data from other frames of the video data. For most intra prediction modes, the video encoder 200 encodes a block of the current frame based on the difference between the sample value in the current block and the predicted value (predictedvalues) generated from the reference sample in the same frame. The video encoder 200 determines the predicted value generated from the reference sample based on the intra prediction mode.
[0063] After prediction, such as intra-frame prediction or inter-frame prediction of a block, the video encoder 200 can calculate residual data for the block. Residual data such as a residual block represents the sample-by-sample difference between the block and a predicted block formed using a corresponding prediction mode for the block. The video encoder 200 can apply one or more transforms to the residual block to produce transformed data in a transform domain rather than a sample domain. For example, the video encoder 200 can apply a discrete cosine transform (DCT), an integer transform, a wavelet transform, or a conceptually similar transform to the residual video data. In addition, the video encoder 200 can apply a secondary transform after the primary transform, such as a mode-dependent non-separable secondary transform (MDNSST), a signal-dependent transform, a Karhunen-Loeve transform (KLT), etc. The video encoder 200 generates transform coefficients after applying one or more transforms.
[0064] As described above, after any transforms that produce transform coefficients, the video encoder 200 can perform quantization of the transform coefficients. Quantization generally refers to a process in which transform coefficients are quantized to minimize the amount of data used to represent the transform coefficients, thereby providing further compression. By performing the quantization process, the video encoder 200 can reduce the bit depth associated with some or all transform coefficients. For example, the video encoder 200 can round down an n-bit value to an m-bit value during quantization, where n is greater than m. In some examples, to perform quantization, the video encoder 200 can perform a bit-by-bit right shift on the value to be quantized.
[0065] After quantization, the video encoder 200 can scan the transform coefficients to generate a one-dimensional vector from a two-dimensional matrix including the quantized transform coefficients. The scan can be designed to place the transform coefficients of higher energy (and therefore lower frequency) in front of the vector and the transform coefficients of lower energy (and therefore higher frequency) in the back of the vector. In some examples, the video encoder 200 can scan the quantized transform coefficients using a predefined scan order to generate a serialized vector, and then entropy encode the quantized transform coefficients of the vector. In other examples, the video encoder 200 can perform adaptive scanning. After scanning the quantized transform coefficients to form a one-dimensional vector, the video encoder 200 can entropy encode the one-dimensional vector, for example, according to context adaptive binary arithmetic coding (CABAC). The video encoder 200 can also entropy encode the values of the syntax elements describing the metadata associated with the encoded video data for use by the video decoder 300 when decoding the video data.
[0066] To perform CABAC, the video encoder 200 may assign context in a context model to a symbol to be transmitted. The context may relate to, for example, whether the neighboring values of the symbol are zero values. The probability determination may be based on the context assigned to the symbol.
[0067] The video encoder 200 may also generate syntax data (e.g., in a picture header, a block header, a slice header), such as block-based syntax data, picture-based syntax data, and sequence-based syntax data or other syntax data, such as a sequence parameter set (SPS), a picture parameter set (PPS), or a video parameter set (VPS), to the video decoder 300. The video decoder 300 may also decode such syntax data to determine how to decode the corresponding video data.
[0068] In this way, the video encoder 200 can generate a bitstream that includes the encoded video data, for example, a syntax element describing the partitioning of a picture into blocks (e.g., CUs) and prediction and / or residual information of the blocks. Finally, the video decoder 300 can receive the bitstream and decode the encoded video data.
[0069] In general, the video decoder 300 performs a process that is the opposite of the process performed by the video encoder 200 to decode the encoded video data of the bitstream. For example, the video decoder 300 may decode the values of the syntax elements of the bitstream using CABAC in a manner substantially similar to but opposite to the CABAC encoding process of the video encoder 200. The syntax elements may define partitioning information for partitioning a picture into CTUs, and each CTU may be partitioned according to a corresponding partitioning structure (such as a QTBT structure) to define CUs of the CTU. The syntax elements may also define prediction and residual information for a block (e.g., CU) of video data.
[0070] The residual information may be represented by, for example, quantized transform coefficients. The video decoder 300 may inverse quantize and inverse transform the quantized transform coefficients of the block to reproduce a residual block for the block. The video decoder 300 uses the signaled prediction mode (intra-frame or inter-frame prediction) and related prediction information (e.g., motion information for inter-frame prediction) to form a prediction block for the block. The video decoder 300 may then combine the prediction block and the residual block (on a sample-by-sample basis) to reproduce the original block. The video decoder 300 may perform additional processing, such as performing a deblocking process to reduce visual artifacts along block boundaries.
[0071] The present disclosure may generally refer to "signaling" certain information, such as syntax elements. The term "signaling" may generally refer to the communication of values of syntax elements and / or other data used to decode encoded video data. That is, the video encoder 200 may signal the values of syntax elements in a bitstream. Typically, signaling refers to generating values in a bitstream. As described above, the source device 102 may transmit the bitstream to the destination device 116 substantially in real time or in non-real time (such as may occur when storing syntax elements to the storage device 112 for later retrieval by the destination device 116).
[0072] This disclosure describes techniques for improving the tradeoff between performance and complexity of video codec techniques.The techniques disclosed herein can be applied to ECM or any other video codec.
[0073] As described above and explained in more detail below, the video encoder 200 and the video decoder 300 can be configured to perform intra-frame prediction. Intra-frame prediction is generally a basic component of a video codec. For a current CU, the video encoder 200 and the video decoder 300 can be configured to generate predictions of samples inside the CU from reference lines according to different intra-frame prediction modes (such as planar mode, DC mode, and angular mode).
[0074] Figure 2 An example of a CU 130 with an adjacent reference line 132 is shown. In some examples, the default reference line is the line closest to the CU, such as Figure 2 For angle mode, the video encoder 200 and the video decoder 300 decide whether to use a 6-tap filter or a 4-tap filter to perform interpolation of reference samples, use a Gaussian filter to smooth the reference samples, or directly copy the reference sample values based on the mode direction.
[0075] The video encoder 200 and the video decoder 300 may also be configured to use multiple reference lines. In some examples, the default reference line is the first line above and / or to the left of the current CU (eg, Figure 2 132 in the figure).
[0076] Figure 3 An example of a current CU 134 with multiple reference lines 136 is shown. In addition to the default reference line 0, the video encoder 200 and the video decoder 300 may be configured to perform intra prediction using other reference lines, such as any one or more of reference lines 0 to 7, or a combination of reference lines 0 to 7.
[0077] The video encoder 200 and the video decoder 300 may be configured to perform decoder-side intra mode derivation (DIMD). In intra prediction, in addition to normal prediction modes such as planar mode, DC mode, and angular mode, the video encoder 200 and the video decoder 300 may also be configured to utilize another mode, referred to herein as a decoder-side intra mode, which is described in U.S. Provisional Patent Application 63 / 368,221 filed on July 12, 2022 (hereinafter referred to as the "'221 Application") and U.S. Patent Application 18 / 339,302 filed on June 22, 2023. When decoding a block using DIMD, the video decoder 300 derives the codec mode without explicit signaling in the bitstream. The video decoder 300 may perform the same derivation technique as that performed by the video encoder 200, so that both the video encoder 200 and the video decoder 300 determine the same mode.
[0078] The video encoder 200 and the video decoder 300 may be configured to use a histogram of gradients (HoG) to derive the encoding and decoding mode. HoG is, for example, a vector of length 67, each element of which represents the magnitude of the corresponding direction, so HoG can create a hint of the possible angle mode. For the current CU, the HoG can be calculated using the reconstructed samples from the upper reconstructed neighbor, the left reconstructed neighbor, and the upper left corner neighbor.
[0079] The video encoder 200 and the video decoder 300 may be configured to fuse the first two angular modes with the two highest magnitudes from HoG with the planar mode as the final prediction from DIMD. Given that the magnitudes of mode 1 (mode1) and mode 2 (mode2) from DIMD are mag1 and mag2, the fusion weights of mode 1, mode 2, and planar mode may be correspondingly , and 1 / 3.
[0080] Figure 4An example of Template-based Intra-mode derivation (TIMD) is shown. The video encoder 200 and the video decoder 300 may be configured to perform TIMD, which is another decoder-side Intra-mode derivation technique. Figure 4 An example of a template 140 and corresponding reference samples used in TIMD is shown. Given a current CU 144, two template regions (above the current CU (template region 140A) and to the left of the current CU (template region 140B)) are selected, and a reference 146 of the template is selected accordingly. For each mode in the most probable mode (MPM) list, the video encoder 200 and the video decoder 300 generate a prediction for the template region (140A and 140B) and calculate the SATD cost of the template region between the predicted samples and the reconstructed samples. The mode with the lowest cost is selected as the mode of TIMD.
[0081] For the first two modes with the minimum SATD cost, the SATD costs of mode 1 and mode 2 are given as cost 1 (cost1) and cost 2 (cost2), and if 2*cost1<cost2, the modes (e.g., the predicted values of the modes) are fused together as the final prediction from TIMD, and the fusion weight is and Otherwise, only mode 1 is selected without fusion.
[0082] The video encoder 200 and the video decoder 300 may be configured to use an angle mode having an integer slope or a non-integer slope. Figure 5 An example of an angle mode in an ECM is shown. Figure 5 , the arrows illustrate different angular patterns indicating different directions in the ECM, with arrow 152 corresponding to a pattern having an integer slope and arrow 154 corresponding to a pattern having a fractional or non-integer slope.
[0083] Figure 6 It shows how the directions of some angular patterns fall between reference points 170 and how the directions of some angular patterns fall on reference points 170. Figure 6 In the example of FIG. 1 , the pattern represented by arrow 172 has an integer slope and falls on sample point 170 . The pattern represented by arrow 174 has a non-integer slope and falls between sample points 170 .
[0084] The video encoder 200 and the video decoder 300 may be configured to construct an MPM list. In intra prediction, an MPM list is generated for each PU. When a prediction mode needs to be encoded, instead of writing the mode directly into the bitstream, for example via a multi-bit syntax element, the index of the actually selected mode from the MPM list may be encoded using fewer bits.
[0085] In ECM, the video encoder 200 and the video decoder 300 construct an MPM list of length 22 including two parts. The first six modes in the MPM list are called the main MPM. These modes include a plane mode, a mode from the left PU, a mode from the upper PU, a mode from the lower left PU, a mode from the upper right PU, and a mode from the upper left PU. The next 16 modes in the MPM list are called the auxiliary MPM list, which includes modes derived by offsets from the modes in the main MPM list. DIMD modes mode1 and mode2 are added after the main MPM and before the auxiliary MPM in the final MPM list.
[0086] Other modes not included in the MPM list are added to a list named non-MPM. A separate MPM list is also generated for the chroma channel, where the first four modes of the chroma MPM list correspond to the modes in the luma MPM list.
[0087] In some examples, the video encoder 200 and the video decoder 300 can encode and decode a block of video data using a position-dependent intra prediction combining (PDPC) mode. In VVC, PDPC is the process of combining an intra-predicted block with boundary reference samples. The weight used for the combining process for each sample depends on the position of the sample. When PDPC is enabled for a block, each position The sample points are derived from the following equation:
[0088] in and Refers to the boundary reference sample points, and the clipping operation ensures that the output of the PDPC sample points has a valid range.
[0089] K. Cao, V. Seregin, and M. Karczewicz proposed an intra-frame fusion process in "Non-EE2: Intra Prediction Fusion" (JVET-AA0137) in July 2022 to improve the performance of intra-frame prediction using prediction values derived from more than one reference line. In the technology of JVET-AA0137, multiple reference lines are involved in generating prediction values for intra-frame prediction modes (e.g., regular intra-frame prediction mode, MRL mode, TIMD / DIMD mode). For some modes (e.g., TIMD, DIMD), other types of fusion or mixing operations are also involved. The present disclosure describes techniques for achieving a better trade-off between performance and complexity by modifying the intra-frame fusion technology of JVET-AA0137 to take into account the characteristics of existing fusion / mixing operations. The techniques described herein may be used independently or in any combination.
[0090] According to the technology of the present disclosure, the video encoder 200 and the video decoder 300 can be configured to use multiple reference lines. In some examples, for modes using multiple intra-frame prediction prediction values, a reference line set is created, and a reference line or a reference line subset is selected for generating each prediction value. In some examples, for the TIMD mode as described above, template matching can be used to select two intra-frame prediction modes (mode 1 and mode 2). In this case, a set of two reference lines will be created, and mode 1 uses one reference line, while mode 2 uses another reference line. As an example, the video decoder 300 can determine the prediction value by applying weights 0 / 1 and 1 / 0 to the two reference lines to determine two prediction value sets. The video decoder 300 can then fuse the two prediction value sets based on the cost, as described above for TIMD.
[0091] In some examples, for the DIMD mode as described above, mode 1 and mode 2 can be selected, and the final prediction value is generated by combining the mode 1 prediction value, the mode 2 prediction value and the plane prediction value. In this case, a set of 2 reference lines will be created, where mode 1 uses one reference line and mode 2 uses another reference line. More generally, for any video codec that uses M intra-frame prediction values, a set of N reference lines can be created, and each intra-frame prediction value selects a reference line from them to use. As an example, the video decoder 300 can determine the prediction value by applying weights 0 / 1 and 1 / 0 to the two reference lines to determine two prediction value sets. The video decoder 300 can then fuse the two prediction value sets based on the cost, as described above with respect to DIMD.
[0092] In some examples, the set of N reference lines is created by using a default reference line used without applying the techniques of the present disclosure as one item (referred to herein as line [0]), and searching for additional reference lines based on the relative positions and distances between other reference lines and line [0].
[0093] In some examples, when 2 intra prediction modes (mode 1 and mode 2) are selected (e.g., non-planar modes in TIMD and / or DIMD), line [0] and an adjacent reference line (referred to as line [1]) that is farther away from the current block than line [0] are selected as a reference line set.
[0094] In some examples, when 2 intra prediction modes (mode 1 and mode 2) are selected (e.g., TIMD and / or DIMD), line [0] and a neighboring reference line (called line [-1]) that is closer to the current block than line [0] (if possible) are selected as the reference line set. If line [-1] does not exist, the search may stop (using a set of only 1 reference lines) or search for line [1].
[0095] In some examples, more generally, a reference line set with more than 2 lines can be created by searching for neighboring lines of line [0] in a predefined or signaled order. As an example, a set of N reference lines can be created using the first N available reference lines in the series line [0], line [1], line [-1], line [2], line [-2], ...
[0096] In some examples, a smaller set of N' reference lines is used when the search process cannot find N reference lines according to the search rule(s). In some examples, a smaller set of N' reference lines is used if the one or more additional reference lines under consideration do not exist (e.g., are located outside the picture or overlap the current block, etc.). In some examples, a smaller set of N' reference lines is used if the one or more additional reference lines under consideration are located outside a predefined or signaled region that controls the samples available for the current block (e.g., CTU boundary, VPDU boundary, etc.).
[0097] All of the examples described in the '221 application related to selection of reference lines and conditions for applying intra prediction fusion may be used as examples of the present disclosure.
[0098] In addition to the selection techniques mentioned in the above examples, other selection techniques may be used to create a reference line set and should be considered within the scope of the present disclosure.
[0099] According to the technology of the present disclosure, the video encoder 200 and the video decoder 300 can be configured to use multiple intra-frame prediction values. In some examples, the described process can be applied by combining M intra-frame prediction values generated by different intra-frame prediction modes. As an example, in the case of DIMD, the fusion process is performed on the planar mode and the maximum M-1 modes with the highest gradient amplitude. Several typical values of M are 4, 5, 6, 7, etc. As another example, for the TIMD model. The fusion process is performed on the M models selected by template matching. Several typical values of M are 3, 4, 5, 6.
[0100] In some examples, the weights of combining the N intra prediction values for DIMD are derived based on the gradient magnitude of each selected mode. In some examples, the weights of mode 1, mode 2, ..., mode N-1, and planar mode are respectively , ,……, , In some examples, K is set to 3. In another example, K is set to N.
[0101] In some examples, the weights for combining the N intra prediction values for TIMD are derived based on the SATD cost of each mode. As an example, the weight for mode n is: .
[0102] All of the examples described in the '221 application related to the derivation of weights for the fusion process and the conditions for applying intra-prediction fusion can be used in conjunction with the techniques of this disclosure.
[0103] In addition to the weight derivation process described above, other weight derivation process(es) may be used in the weighted combination of predicted values, and such techniques should be considered within the scope of the present disclosure.
[0104] The video encoder 200 and the video decoder 300 may be configured to use a plurality of reference lines and a plurality of intra prediction values in combination. As an example, for DIMD / TIMD, a prediction value of a current block is generated by fusing M intra prediction values, and when generating M prediction values, a set of N reference lines is created, and each prediction value uses a reference line selected from the set.
[0105] As another example, in the codec, for TIMD mode, when M modes (mode 1, ..., mode 7) are selected, a set of N reference lines is created, and one reference line is selected for each mode. For DIMD, the planar mode and up to K-1 modes are selected, and a fusion process is applied to the K prediction values to generate a prediction signal for the current block. Examples of M, N, K values are M=2, N=2, K=6.
[0106] The video encoder 200 and the video decoder 300 may be configured to perform intra-frame fusion / prediction using weights derived individually for each prediction value.
[0107] In some examples, similar to what is proposed in the '221 application for a video codec using multiple intra prediction predictors, a set of reference lines is created and all or a subset of the reference lines are selected for use in generating each prediction value. In this example, the weights used in the fusion of intra prediction signals derived using different reference lines can be different for each prediction value to be generated.
[0108] As an example, for the TIMD mode described above, template matching can be used to select two intra prediction modes (mode 1 and mode 2). In this case, a set of 2 reference lines is created, and the prediction values of mode 1 and mode 2 are generated from the same reference line set (including two reference lines). However, the weights of the 2 reference lines are different for mode 1 and mode 2.
[0109] As an example, the 2 reference lines are a default line (line[0]) and an additional line (line[1]). Line[0] refers to the default reference line, and line[1] refers to a reference line that is adjacent to line[0] and has a longer distance from the current block than line[0].
[0110] As an example, for mode 1 (lowest TIMD cost), the weights of line [0] and line [1] are 3 / 4 and 1 / 4 respectively. And for mode 2 (second lowest TIMD cost), the weights of line [0] and line [1] are 1 / 4 and 3 / 4 respectively.
[0111] The technology of this example can also be applied to the DIMD mode of combining a planar prediction value and 2 other intra-frame prediction values (mode 1 and mode 2). Multiple reference lines can be used when generating each of the 2 intra-frame prediction values, and weights for fusing intra-frame prediction signals derived using different reference lines can be defined / derived separately for mode 1 and mode 2.
[0112] More generally, for TIMD / DIMD or using Other modes of intra prediction prediction values, each prediction value Can be used and used to generate The weight (called ) may be different from each other. The weights may be fixed, derived based on predefined rules and / or information signaled in the bitstream. The techniques for deriving weights described in this disclosure and / or the '221 application may be applied to derive the weights separately. In addition, other weight derivation processes can be used to derive , and this technology should also be considered to be within the scope of the present disclosure.
[0113] In another example of the present disclosure, in the case of intra-frame prediction involving multiple prediction values (e.g., prediction values generated using different modes (e.g., TIMD, DIMD, etc.), using different reference lines (e.g., as described herein)), for one or more prediction values involved, single or multiple operations of the prediction value generation process can be removed.
[0114] As an example, in the case of TIMD, PDPC is always disabled for (multiple) other modes except mode 1. This example can be applied to any TIMD implementation using multiple prediction values, including but not limited to the above TIMD examples and / or any TIMD related examples described in this disclosure.
[0115] As another example, in the case of DIMD, PDPC is always disabled for (multiple) other modes except planar mode. This example can be applied to any DIMD implementation using multiple prediction values, including but not limited to the above DIMD technology and / or any DIMD-related examples described in this disclosure.
[0116] As another example, in the case of DIMD, PDPC is always disabled for (multiple) other modes except planar mode and 1st non-planar mode. This example can be applied to any DIMD implementation using multiple prediction values, including but not limited to the above DIMD technology and / or any DIMD-related examples described in this disclosure.
[0117] For all examples in this section, different examples can be created by configuring the number of mode(s) that use PDPC and which mode(s) use PDPC. As an example, PDPC can be disabled for all prediction values.
[0118] In addition to PDPC, any other operation(s) involved in generating intra prediction values can be used to create an example of this embodiment, such as intra reference sample smoothing.
[0119] Figure 7 is a conceptual diagram showing an example of spatial geometric partion mode (SGPM). According to "EE2-1.6: Combination of spatial GPM tests" by Wang et al., published in JVET-AB0155, October 2022 (hereinafter referred to as "JVET-AB0155"), when SGPM is applied, two intra prediction values generated using different intra prediction "modes (predMode0, predMode1) are combined in a manner specified by the "partition mode" (partMode). Figure 7 An example of a "split mode" is shown in FIG. 1 , where a dotted line 192 divides a current block 190 into two parts, part 1 194 and part 2 196, which correspond to predMode0 and predMode1, respectively. That is, part 1 194 can be predicted using predMode0 and part 2 196 can be predicted using predMode1. According to JVET-AB0155, instead of directly signaling the information {predMode0, predMode1, partMode} in the bitstream, a candidate list with 16 entries is created using template matching, and the index of the selected candidate (candIdx) is signaled. The templates for the current block are shown as templates 198A, 198B.
[0120] The technology of this disclosure can be applied to SGPM mode. Various examples are summarized as follows:
[0121] In some examples, when SGPM mode is used for current block 190, intra prediction fusion is disabled.
[0122] In some examples, when the SGPM mode is used for the current block 190, the same intra prediction fusion is applied to each of the prediction values involved. Various examples described in JVET-AA0137 can be used. As an example, for each intra prediction mode (predMode0 and predMode1) used for SGPM, two reference lines (line [0] and line [1], where the definitions of line [0] and line [1] can be found above) can be used. The weight for the line [0] prediction value can be 3 / 4, and the weight for the line [1] prediction value can be 1 / 4.
[0123] In some examples, when the SGPM mode is used for the current block 190, the techniques discussed above regarding the use of multiple reference lines may be applied. For example, for predMode0, line [0] may be used, and for predMode1, line [1] may be used. As another example, if predMode1 has a smaller template matching cost than predMode0, line [0] may be used for predMode1, and line [1] may be used for predMode0; otherwise, line [0] may be used for predMode0, and line [1] may be used for predMode1.
[0124] In some examples, when the SGPM mode is used for the current block 190, the techniques discussed above for intra-frame fusion / prediction using weights derived separately for each prediction value can be used. For example, for predMode0, the weights of line [0] and line [1] can be 3 / 4 and 1 / 4, respectively, while for predMode1, the weights of line [0] and line [1] can be 1 / 4 and 3 / 4, respectively. As another example, the template matching costs of predMode0 and predMode1 can be compared, and for the mode with the smaller template matching cost, the weights of line [0] and line [1] can be 3 / 4 and 1 / 4, respectively; for the other mode, the weights of line [0] and line [1] can be 1 / 4 and 3 / 4, respectively.
[0125] In some examples, when the SGPM mode is used for the current block 190, information related to intra-frame prediction fusion is included in the signaling of candIdx. In this case, each item in the candidate list may include {predMode0, predMode1, partMode, fuseMode}, where predMode0, predMode1, and partMode have the same meanings as above, and fuseMode controls how the technology of the present disclosure (intra-frame prediction fusion) is applied to the current block 190. For example, possible values of fuseMode may include 0 and 1; when fuseMode==0, intra-frame prediction fusion is disabled, and when fuseMode==1, intra-frame prediction fusion is enabled. As another example, the value of fuseMode may range from [0,4]; when fuseMode== When , the weight used for line [0] is , and the weight for line [1] is .
[0126] Figure 8 is a block diagram illustrating an example video encoder 200 that may perform the techniques of this disclosure. Figure 8 The above description is provided for the purpose of explanation and should not be considered as limiting the techniques broadly illustrated and described in the present disclosure. For the purpose of explanation, the present disclosure describes the video encoder 200 according to the techniques of VVC (ITU-T H.266 in development) and HEVC (ITU-T H.265). However, the techniques of the present disclosure may be performed by video encoding devices configured for other video codec standards and video codec formats, such as AV1 and successors of the AV1 video codec format.
[0127] exist Figure 8In the example of , the video encoder 200 includes a video data memory 230, a mode selection unit 202, a residual generation unit 204, a transform processing unit 206, a quantization unit 208, an inverse quantization unit 210, an inverse transform processing unit 212, a reconstruction unit 214, a filter unit 216, a decoded picture buffer (DPB) 218, and an entropy coding unit 220. Any or all of the video data memory 230, the mode selection unit 202, the residual generation unit 204, the transform processing unit 206, the quantization unit 208, the inverse quantization unit 210, the inverse transform processing unit 212, the reconstruction unit 214, the filter unit 216, the DPB 218, and the entropy coding unit 220 may be implemented in one or more processors or processing circuits. For example, the units of the video encoder 200 may be implemented as one or more circuits or logic elements as part of a hardware circuit or as part of a processor, ASIC, or FPGA. In addition, the video encoder 200 may include additional or alternative processors or processing circuits to perform these and other functions.
[0128] The video data memory 230 may store video data to be encoded by the components of the video encoder 200. The video encoder 200 may receive video data from, for example, the video source 104 ( Figure 1 ) receives video data stored in the video data memory 230. The DPB 218 can act as a reference picture memory that stores reference video data for use by the video encoder 200 when predicting subsequent video data. The video data memory 230 and the DPB 218 can be formed by any of a variety of memory devices, such as dynamic random access memory (DRAM) (including synchronous DRAM (SDRAM), magnetoresistive RAM (MRAM), resistive RAM (RRAM), or other types of memory devices. The video data memory 230 and the DPB 218 can be provided by the same memory device or separate memory devices. In various examples, as shown, the video data memory 230 can be on the chip with other components of the video encoder 200, or off the chip relative to these components.
[0129] In the present disclosure, references to the video data memory 230 should not be interpreted as limited to memory internal to the video encoder 200, unless specifically described as such, or to memory external to the video encoder 200, unless specifically described as such. Instead, references to the video data memory 230 should be understood as references to memory storing video data received by the video encoder 200 for encoding (e.g., video data of a current block to be encoded). Figure 1 The memory 106 may also provide temporary storage of outputs from the various units of the video encoder 200 .
[0130] Figure 8 Various units are shown to help understand the operations performed by the video encoder 200. These units can be implemented as fixed-function circuits, programmable circuits, or a combination thereof. Fixed-function circuits refer to circuits that provide specific functions and are preset on the operations that can be performed. Programmable circuits refer to circuits that can be programmed to perform various tasks and provide flexible functions in the operations that can be performed. For example, a programmable circuit can execute software or firmware, which causes the programmable circuit to operate in a manner defined by the instructions of the software or firmware. Fixed-function circuits can execute software instructions (e.g., receive parameters or output parameters), but the type of operation performed by the fixed-function circuit is generally immutable. In some examples, one or more of the units may be different circuit blocks (fixed-function or programmable), and in some examples, one or more of the units may be integrated circuits.
[0131] The video encoder 200 may include an arithmetic logic unit (ALU), an elementary function unit (EFU), a digital circuit, an analog circuit, and / or a programmable core formed by a programmable circuit. In an example where the operation of the video encoder 200 is performed using software executed by a programmable circuit, the memory 106 ( Figure 1 ) may store instructions (eg, object code) for software received and executed by the video encoder 200, or another memory (not shown) within the video encoder 200 may store such instructions.
[0132] The video data memory 230 is configured to store the received video data. The video encoder 200 may retrieve a picture of the video data from the video data memory 230 and provide the video data to the residual generation unit 204 and the mode selection unit 202. The video data in the video data memory 230 may be original video data to be encoded.
[0133] The mode selection unit 202 includes a motion estimation unit 222, a motion compensation unit 224, and an intra prediction unit 226. The mode selection unit 202 may include additional functional units to perform video prediction according to other prediction modes. As an example, the mode selection unit 202 may include a palette unit, an intra block copy unit (which may be part of the motion estimation unit 222 and / or the motion compensation unit 224), an affine unit, a linear model (LM) unit, etc.
[0134] The mode selection unit 202 generally coordinates multiple encoding processes to test combinations of encoding parameters and the resulting rate-distortion values of such combinations. The encoding parameters may include the partitioning of CTUs into CUs, the prediction mode of the CUs, the transform type of the residual data of the CUs, the quantization parameter of the residual data of the CUs, etc. The mode selection unit 202 may ultimately select a combination of encoding parameters that has a better rate-distortion value than other tested combinations.
[0135] The video encoder 200 may partition the picture retrieved from the video data memory 230 into a series of CTUs and encapsulate one or more CTUs in a slice. The mode selection unit 202 may partition the CTUs of the picture according to a tree structure (such as the MTT structure, QTBT structure, super block structure, or quadtree structure described above). As described above, the video encoder 200 may form one or more CUs by partitioning the CTUs according to the tree structure. Such CUs may also be generally referred to as "video blocks" or "blocks".
[0136] Typically, the mode selection unit 202 also controls its components (e.g., the motion estimation unit 222, the motion compensation unit 224, and the intra prediction unit 226) to generate a prediction block for the current block (e.g., the current CU, or in HEVC, the overlapping portion of the PU and TU). For inter prediction of the current block, the motion estimation unit 222 may perform a motion search to identify one or more closely matching reference blocks in one or more reference pictures (e.g., one or more previously coded pictures stored in the DPB 218). Specifically, the motion estimation unit 222 may calculate a value indicating how similar the potential reference block is to the current block, for example, based on the sum of absolute differences (SAD), the sum of squared differences (SSD), the mean absolute difference (MAD), the mean squared difference (MSD), etc. The motion estimation unit 222 may typically perform these calculations using the sample-by-sample difference between the current block and the reference block being considered. The motion estimation unit 222 may identify the reference block having the lowest value obtained from these calculations, which indicates the reference block that most closely matches the current block.
[0137] The motion estimation unit 222 may form one or more motion vectors (MVs) that define the position of a reference block in a reference picture relative to the position of a current block in a current picture. The motion estimation unit 222 may then provide the motion vectors to the motion compensation unit 224. For example, for unidirectional inter prediction, the motion estimation unit 222 may provide a single motion vector, and for bidirectional inter prediction, the motion estimation unit 222 may provide two motion vectors. The motion compensation unit 224 may then use the motion vectors to generate a prediction block. For example, the motion compensation unit 224 may use the motion vectors to retrieve data for the reference block. As another example, if the motion vector has fractional sample precision, the motion compensation unit 224 may interpolate the values of the prediction block according to one or more interpolation filters. In addition, for bidirectional inter prediction, the motion compensation unit 224 may retrieve data for two reference blocks identified by the corresponding motion vectors and combine the retrieved data, for example, by sample-by-sample averaging or weighted averaging.
[0138] When operating according to the AV1 video codec format, the motion estimation unit 222 and the motion compensation unit 224 may be configured to encode codec blocks of video data (e.g., both luma and chroma codec blocks) using translational motion compensation, affine motion compensation, overlapped block motion compensation (OBMC), and / or composite inter-intra prediction.
[0139] As another example, for intra prediction or intra prediction codec, the intra prediction unit 226 can generate a prediction block from samples adjacent to the current block. For example, for directional mode, the intra prediction unit 226 can generally mathematically combine the values of the adjacent samples and pad these calculated values in a defined direction across the current block to produce a prediction block. As another example, for DC mode, the intra prediction unit 226 can calculate the average value of the adjacent samples of the current block and generate a prediction block to include the obtained average value for each sample of the prediction block.
[0140] When operating according to the AV1 video codec format, the intra prediction unit 226 can be configured to encode a codec block (e.g., both luma and chroma codec blocks) of video data using directional intra prediction, non-directional intra prediction, recursive filter intra prediction, chroma-from-luma (CFL) prediction, intra block copy (IBC), and / or color palette mode. The mode selection unit 202 may include additional functional units to perform video prediction according to other prediction modes.
[0141] The intra-prediction unit 226 may be configured to perform the techniques of the present disclosure. For example, the intra-prediction unit 226 may be configured to determine to encode a block of video data using an intra-prediction process that utilizes a plurality of intra-prediction predictors; determine a set of reference lines for the intra-prediction process; determine a first set of intra-prediction predictors based on the set of reference lines; determine a second set of intra-prediction predictors based on the set of reference lines; and generate a fusion of predictors from the first set of intra-prediction predictors and the second set of intra-prediction predictors.
[0142] The mode selection unit 202 provides the prediction block to the residual generation unit 204. The residual generation unit 204 receives the original, undecoded version of the current block from the video data memory 230 and receives the prediction block from the mode selection unit 202. The residual generation unit 204 calculates the sample-by-sample difference between the current block and the prediction block. The resulting sample-by-sample difference defines a residual block for the current block. In some examples, the residual generation unit 204 may also determine the difference between the sample values in the residual block to generate the residual block using residual differential pulse code modulation (RDPCM). In some examples, the residual generation unit 204 may be formed using one or more subtractor circuits that perform binary subtraction.
[0143] In the example where the mode selection unit 202 partitions the CU into PUs, each PU may be associated with a luma prediction unit and a corresponding chroma prediction unit. The video encoder 200 and the video decoder 300 may support PUs of various sizes. As described above, the size of the CU may refer to the size of the luma codec block of the CU, and the size of the PU may refer to the size of the luma prediction unit of the PU. Assuming that the size of a particular CU is 2N×2N, the video encoder 200 may support PU sizes of 2N×2N or N×N for intra-frame prediction, and symmetric PU sizes of 2N×2N, 2N×N, N×2N, N×N or the like for inter-frame prediction. The video encoder 200 and the video decoder 300 may also support asymmetric partitioning of PU sizes of 2N×nU, 2N×nD, nL×2N, and nR×2N for inter-frame prediction.
[0144] In an example where the mode selection unit does not further partition the CU into PUs, each CU may be associated with a luma codec block and a corresponding chroma codec block. As described above, the size of a CU may refer to the size of the luma codec block of the CU. The video encoder 200 and the video decoder 300 may support a CU size of 2N×2N, 2N×N, or N×2N.
[0145] For other video codec techniques, such as intra block copy mode codec, affine mode codec, and linear model (LM) mode codec, as a few examples, the mode selection unit 202 generates a prediction block for the current block being encoded via a corresponding unit associated with the codec technique. In some examples, such as palette mode codec, the mode selection unit 202 may not generate a prediction block, but instead generate syntax elements indicating how to reconstruct the block based on the selected palette. In this mode, the mode selection unit 202 may provide these syntax elements to the entropy coding unit 220 for encoding.
[0146] As described above, the residual generation unit 204 receives video data of a current block and a corresponding prediction block. Then, the residual generation unit 204 generates a residual block for the current block. To generate the residual block, the residual generation unit 204 calculates the sample-by-sample difference between the prediction block and the current block.
[0147] The transform processing unit 206 applies one or more transforms to the residual block to generate a block of transform coefficients (referred to herein as a "transform coefficient block"). The transform processing unit 206 can apply various transforms to the residual block to form the transform coefficient block. For example, the transform processing unit 206 can apply a discrete cosine transform (DCT), a directional transform, a Karl-Lof transform (KLT), or a conceptually similar transform to the residual block. In some examples, the transform processing unit 206 can perform multiple transforms on the residual block, for example, a primary transform and a secondary transform, such as a rotation transform. In some examples, the transform processing unit 206 does not apply a transform to the residual block.
[0148] When operating in accordance with AV1, the transform processing unit 206 may apply one or more transforms to the residual block to produce a block of transform coefficients (referred to herein as a "transform coefficient block"). The transform processing unit 206 may apply various transforms to the residual block to form a transform coefficient block. For example, the transform processing unit 206 may apply a horizontal / vertical transform combination, which may include a discrete cosine transform (DCT), an asymmetric discrete sine transform (ADST), a flipped ADST (e.g., inverse ADST), and an identity transform (IDTX). When an identity transform is used, the transform is skipped in one of the vertical or horizontal directions. In some examples, the transform process may be skipped.
[0149] The quantization unit 208 may quantize the transform coefficients in the transform coefficient block to produce a quantized transform coefficient block. The quantization unit 208 may quantize the transform coefficients of the transform coefficient block according to a quantization parameter (QP) value associated with the current block. The video encoder 200 (e.g., via the mode selection unit 202) may adjust the degree of quantization applied to the transform coefficient block associated with the current block by adjusting the QP value associated with the CU. Quantization may introduce information loss, and therefore, the quantized transform coefficients may have lower precision than the original transform coefficients produced by the transform processing unit 206.
[0150] The inverse quantization unit 210 and the inverse transform processing unit 212 may apply inverse quantization and inverse transform to the quantized transform coefficient block, respectively, to reconstruct a residual block from the transform coefficient block. The reconstruction unit 214 may generate a reconstructed block corresponding to the current block (although it may have a certain degree of distortion) based on the reconstructed residual block and the prediction block generated by the mode selection unit 202. For example, the reconstruction unit 214 may add samples of the reconstructed residual block to corresponding samples of the prediction block generated by the free mode selection unit 202 to generate a reconstructed block.
[0151] Filter unit 216 may perform one or more filtering operations on the reconstructed block. For example, filter unit 216 may perform a deblocking operation to reduce blocking artifacts along the edges of the CU. In some examples, the operations of filter unit 216 may be skipped.
[0152] When operating according to AV1, filter unit 216 may perform one or more filtering operations on the reconstructed block. For example, filter unit 216 may perform a deblocking operation to reduce blocking artifacts along the edges of the CU. In other examples, filter unit 216 may apply a constrained directional enhancement filter (CDEF), which may be applied after deblocking and may include the application of an inseparable, non-linear, low-pass directional filter based on an estimated edge direction. Filter unit 216 may also include a loop restoration filter applied after CDEF, and may include a separable symmetric normalized Wiener filter or a dual self-steering filter.
[0153] The video encoder 200 stores the reconstructed blocks in the DPB 218. For example, in an example where the operation of the filter unit 216 is not performed, the reconstruction unit 214 can store the reconstructed blocks to the DPB 218. In an example where the operation of the filter unit 216 is performed, the filter unit 216 can store the filtered reconstructed blocks to the DPB 218. The motion estimation unit 222 and the motion compensation unit 224 can retrieve a reference picture from the DPB 218, which is formed by the reconstructed (and possibly filtered) blocks, to perform inter-frame prediction on blocks of subsequently encoded pictures. In addition, the intra-frame prediction unit 226 can use the reconstructed blocks in the DPB 218 of the current picture to intra-frame predict other blocks in the current picture.
[0154] In general, the entropy coding unit 220 may entropy encode syntax elements received from other functional components of the video encoder 200. For example, the entropy coding unit 220 may entropy encode the quantized transform coefficient blocks from the quantization unit 208. As another example, the entropy coding unit 220 may entropy encode the prediction syntax elements (e.g., motion information for inter-frame prediction or intra-frame mode information for intra-frame prediction) from the mode selection unit 202. The entropy coding unit 220 may perform one or more entropy coding operations on the syntax elements (which are another example of video data) to generate entropy-encoded data. For example, the entropy coding unit 220 may perform a context-adaptive variable length coding (CAVLC) operation, a CABAC operation, a variable to variable (V2V) length coding operation, a syntax-based context-adaptive binary arithmetic coding (SBAC) operation, a probability interval partitioning entropy (PIPE) coding operation, an exponential-Golomb coding operation, or another type of entropy coding operation on the data. In some examples, the entropy coding unit 220 may operate in a bypass mode, in which the syntax elements are not entropy encoded.
[0155] The video encoder 200 may output a bitstream including entropy-encoded syntax elements required to reconstruct a block of a slice or picture. Specifically, the entropy encoding unit 220 may output a bitstream.
[0156] According to AV1, the entropy coding unit 220 may be configured as a symbol-to-symbol adaptive multi-symbol arithmetic codec. The syntax element in AV1 includes an alphabet having N elements, and the context (e.g., a probability model) includes a set of N probabilities. The entropy coding unit 220 may store the probabilities as an n-bit (e.g., 15-bit) cumulative distribution function (CDF). The entropy coding unit 220 may perform recursive scaling to update the context using an update factor based on the alphabet size.
[0157] The operations described above are described with respect to blocks. Such descriptions should be understood as operations on luma codec blocks and / or chroma codec blocks. As described above, in some examples, the luma codec blocks and chroma codec blocks are the luma and chroma components of a CU. In some examples, the luma codec blocks and chroma codec blocks are the luma and chroma components of a PU.
[0158] In some examples, operations performed with respect to luma codec blocks need not be repeated for chroma codec blocks. As an example, operations for identifying motion vectors (MVs) and reference pictures for luma codec blocks need not be repeated in order to identify MVs and reference pictures for chroma blocks. Instead, the MVs of luma codec blocks may be scaled to determine the MVs of chroma blocks, and the reference pictures may be the same. As another example, the intra prediction process may be the same for luma codec blocks and chroma codec blocks.
[0159] Video encoder 200 represents an example of a device configured to encode video data, the device including a memory configured to store the video data, and one or more processing units implemented in circuits configured to generate a fusion of prediction values for a block based on samples of a reference line set for the block and encode the block using the fusion of prediction values.
[0160] Fig. 9 is a block diagram illustrating an example video decoder 300 that may perform the techniques of this disclosure. Fig. 9 It is provided for explanation purposes and does not limit the techniques widely illustrated and described in this disclosure. For explanation purposes, this disclosure describes the video decoder 300 according to the techniques of VVC (ITU-T H.266 in development) and HEVC (ITU-T H.265). However, the techniques of this disclosure can be performed by video codec devices configured for other video codec standards.
[0161] exist Fig. 9In the example of , the video decoder 300 includes a codec picture buffer (CPB) memory 320, an entropy decoding unit 302, a prediction processing unit 304, an inverse quantization unit 306, an inverse transform processing unit 308, a reconstruction unit 310, a filter unit 312, and a decoded picture buffer (DPB) 314. Any or all of the CPB memory 320, the entropy decoding unit 302, the prediction processing unit 304, the inverse quantization unit 306, the inverse transform processing unit 308, the reconstruction unit 310, the filter unit 312, and the DPB 314 may be implemented in one or more processors or processing circuits. For example, the units of the video decoder 300 may be implemented as one or more circuits or logic elements as part of a hardware circuit or as part of a processor, ASIC, or FPGA. In addition, the video decoder 300 may include additional or alternative processors or processing circuits to perform these and other functions.
[0162] The prediction processing unit 304 includes a motion compensation unit 316 and an intra prediction unit 318. The prediction processing unit 304 may include additional units to perform predictions according to other prediction modes. As an example, the prediction processing unit 304 may include a palette unit, an intra block copy unit (which may form part of the motion compensation unit 316), an affine unit, a linear model (LM) unit, etc. In other examples, the video decoder 300 may include more, fewer, or different functional components.
[0163] When operating in accordance with AV1, the motion compensation unit 316 may be configured to decode codec blocks of video data (e.g., both luma and chroma codec blocks) using translational motion compensation, affine motion compensation, OBMC, and / or composite inter-intra prediction, as described above. The intra prediction unit 318 may be configured to decode codec blocks of video data (e.g., both luma and chroma codec blocks) using directional intra prediction, non-directional intra prediction, recursive filter intra prediction, CFL, intra block copy (IBC), and / or color palette mode, as described above.
[0164] The CPB memory 320 may store video data, such as an encoded video bitstream, to be decoded by components of the video decoder 300. For example, the video data stored in the CPB memory 320 may be, for example, from the computer-readable medium 110 ( Figure 1). The CPB memory 320 may include a CPB that stores coded video data (e.g., syntax elements) from a coded video bitstream. In addition, the CPB memory 320 may store video data other than syntax elements of coded and decoded pictures, such as temporary data representing outputs from various units of the video decoder 300. The DPB 314 typically stores decoded pictures, which the video decoder 300 may output and / or use as reference video data when decoding subsequent data or pictures of the coded video bitstream. The CPB memory 320 and the DPB 314 may be formed by any of a variety of memory devices, such as DRAM, including SDRAM, MRAM, RRAM, or other types of memory devices. The CPB memory 320 and the DPB 314 may be provided by the same memory device or a separate memory device. In various examples, the CPB memory 320 may be on-chip with other components of the video decoder 300, or off-chip relative to these components.
[0165] Additionally or alternatively, in some examples, video decoder 300 may retrieve the video from memory 120 ( Figure 1 ) retrieves the encoded and decoded video data. That is, the memory 120 may utilize the CPB memory 320 to store data as described above. Similarly, when some or all of the functions of the video decoder 300 are implemented in software to be executed by the processing circuitry of the video decoder 300, the memory 120 may store instructions to be executed by the video decoder 300.
[0166] Fig. 9 The various units shown are shown to aid in understanding the operations performed by the video decoder 300. These units may be implemented as fixed function circuits, programmable circuits, or a combination thereof. Figure 8 , fixed-function circuits refer to circuits that provide specific functions and are preset in the operations that can be performed. Programmable circuits refer to circuits that can be programmed to perform various tasks and provide flexible functions in the operations that can be performed. For example, a programmable circuit can execute software or firmware, which causes the programmable circuit to operate in a manner defined by the instructions of the software or firmware. Fixed-function circuits can execute software instructions (e.g., receive parameters or output parameters), but the type of operations performed by fixed-function circuits is generally immutable. In some examples, one or more of the units may be different circuit blocks (fixed-function or programmable), and in some examples, one or more of the units may be integrated circuits.
[0167] The video decoder 300 may include an ALU, an EFU, a digital circuit, an analog circuit, and / or a programmable core formed by a programmable circuit. In an example where the operation of the video decoder 300 is performed by software executed on the programmable circuit, an on-chip or off-chip memory may store instructions (e.g., object code) of the software received and executed by the video decoder 300.
[0168] The entropy decoding unit 302 may receive the encoded video data from the CPB and entropy decode the video data to reproduce the syntax elements. The prediction processing unit 304, the inverse quantization unit 306, the inverse transform processing unit 308, the reconstruction unit 310, and the filter unit 312 may generate decoded video data based on the syntax elements extracted from the bitstream.
[0169] Typically, the video decoder 300 reconstructs a picture on a block-by-block basis. The video decoder 300 may perform a reconstruction operation on each block individually (where the block currently being reconstructed (ie, decoded) may be referred to as a "current block").
[0170] The entropy decoding unit 302 may entropy decode syntax elements defining quantized transform coefficients of the quantized transform coefficient block, as well as transform information, such as a quantization parameter (QP) and / or (multiple) transform mode indications. The inverse quantization unit 306 may use the QP associated with the quantized transform coefficient block to determine a degree of quantization, and likewise, determine a degree of inverse quantization to be applied by the inverse quantization unit 306. For example, the inverse quantization unit 306 may perform a bitwise left shift operation to inverse quantize the quantized transform coefficients. The inverse quantization unit 306 may thereby form a transform coefficient block including the transform coefficients.
[0171] After the inverse quantization unit 306 forms the transform coefficient block, the inverse transform processing unit 308 may apply one or more inverse transforms to the transform coefficient block to generate a residual block associated with the current block. For example, the inverse transform processing unit 308 may apply an inverse DCT, an inverse integer transform, an inverse Karl-Lof transform (KLT), an inverse rotational transform, an inverse directional transform, or another inverse transform to the transform coefficient block.
[0172] In addition, prediction processing unit 304 generates a prediction block based on the prediction information syntax element entropy decoded by entropy decoding unit 302. For example, if the prediction information syntax element indicates that the current block is inter-predicted, motion compensation unit 316 can generate the prediction block. In this case, the prediction information syntax element can indicate a reference picture in DPB 314 from which the reference block is retrieved, and a motion vector that identifies the position of the reference block in the reference picture relative to the position of the current block in the current picture. Motion compensation unit 316 can generally generate a prediction block in a manner substantially similar to that described with respect to motion compensation unit 224 ( Figure 8 ) describes the method to perform the inter-frame prediction process.
[0173] As another example, if the prediction information syntax element indicates that the current block is intra-predicted, the intra-prediction unit 318 can generate a prediction block according to the intra-prediction mode indicated by the prediction information syntax element. Again, the intra-prediction unit 318 can generally generate a prediction block in a manner substantially similar to that described with respect to the intra-prediction unit 226 ( Figure 8 The intra prediction process is performed in the manner described in ). The intra prediction unit 318 can retrieve data of neighboring samples of the current block from the DPB 314.
[0174] The intra-prediction unit 318 may be configured to perform the techniques of the present disclosure. For example, the intra-prediction unit 318 may be configured to determine to encode a block of video data using an intra-prediction process that utilizes a plurality of intra-prediction predictors; determine a set of reference lines for the intra-prediction process; determine a first set of intra-prediction predictors based on the set of reference lines; determine a second set of intra-prediction predictors based on the set of reference lines; and generate a fusion of predictors from the first set of intra-prediction predictors and the second set of intra-prediction predictors.
[0175] The reconstruction unit 310 may reconstruct the current block using the prediction block and the residual block. For example, the reconstruction unit 310 may add samples of the residual block to corresponding samples of the prediction block to reconstruct the current block.
[0176] The filter unit 312 may perform one or more filtering operations on the reconstructed block. For example, the filter unit 312 may perform a deblocking operation to reduce blocking artifacts along the edges of the reconstructed block. The operations of the filter unit 312 need not be performed in all examples.
[0177] The video decoder 300 may store the reconstructed block in the DPB 314. For example, in an example where the operation of the filter unit 312 is not performed, the reconstruction unit 310 may store the reconstructed block to the DPB 314. In an example where the operation of the filter unit 312 is performed, the filter unit 312 may store the filtered reconstructed block to the DPB 314. As described above, the DPB 314 may provide reference information to the prediction processing unit 304, such as samples of the current picture for intra-frame prediction and previously decoded pictures for subsequent motion compensation. In addition, the video decoder 300 may output a decoded picture (e.g., a decoded video) from the DPB 314 for subsequent display on a display device (e.g., Figure 1 The display device 118) is displayed.
[0178] In this manner, video decoder 300 represents an example of a video decoding device that includes a memory configured to store video data, and one or more processing units implemented in circuits configured to generate a fusion of prediction values for a block based on samples of a reference line set for the block and to decode the block using the fusion of prediction values.
[0179] Fig.10 is a flowchart illustrating an example method for encoding a current block according to the techniques of the present disclosure. The current block may include a current CU. Although with respect to the video encoder 200 ( Figure 1 and Figure 8 ), but it should be understood that other devices may be configured to perform similar Fig.10 process of process of process.
[0180] In this example, the video encoder 200 initially predicts a current block (350). For example, the video encoder 200 may form a prediction block for the current block. The video encoder 200 may then calculate a residual block for the current block (352). To calculate the residual block, the video encoder 200 may calculate the difference between the original, unencoded block and the prediction block for the current block. The video encoder 200 may then transform the residual block and quantize the transform coefficients of the residual block (354). Next, the video encoder 200 may scan the quantized transform coefficients of the residual block (356). During or after the scan, the video encoder 200 may entropy encode the transform coefficients (358). For example, the video encoder 200 may encode the transform coefficients using CAVLC or CABAC. The video encoder 200 may then output the entropy encoded data of the block (360).
[0181] Fig.11 is a flowchart illustrating an example process for decoding a current block of video data according to the techniques of the present disclosure. The current block may include a current CU. Although with respect to the video decoder 300 ( Figure 1 and Fig. 9 ), but it should be understood that other devices may be configured to perform similar Fig.11 process of process of process.
[0182] The video decoder 300 may receive entropy-encoded data of a current block, such as entropy-encoded prediction information and entropy-encoded data corresponding to transform coefficients of a residual block of the current block (370). The video decoder 300 may entropy decode the entropy-encoded data to determine the prediction information of the current block and reproduce the transform coefficients of the residual block (372). The video decoder 300 may predict the current block (374), for example, using an intra-frame or inter-frame prediction mode indicated by the prediction information of the current block to calculate a prediction block of the current block. The video decoder 300 may then inverse scan the reproduced transform coefficients (376) to create a block of quantized transform coefficients. The video decoder 300 may then inverse quantize the transform coefficients and apply an inverse transform to the transform coefficients to generate a residual block (378). The video decoder 300 may finally decode the current block (380) by combining the prediction block and the residual block.
[0183] Fig.12 is a flowchart illustrating an example process for decoding a current block of video data according to the techniques of the present disclosure. The current block may include a current CU. Although with respect to the video decoder 300 ( Figure 1 and Fig. 9 ), but it should be understood that other devices including the video encoder 200 may also be configured to perform similar Fig.11 process of process of process.
[0184] The video decoder 300 determines to encode a block of video data using an intra prediction process that utilizes a plurality of intra prediction predictors (400). The video decoder 300 determines a set of reference lines for the intra prediction process (402). The video decoder 300 determines a first set of intra prediction predictors based on the set of reference lines (404).
[0185] The video decoder 300 determines a second set of intra-prediction predictors based on the set of reference lines (406). In some examples, the video decoder 300 may also determine a third set of intra-prediction predictors or an additional set of intra-prediction predictors. The video decoder 300 generates a fusion of prediction values from the first set of intra-prediction predictors and the second set of intra-prediction predictors (408). If the video decoder 300 determines a third set of intra-prediction predictors or an additional set of intra-prediction predictors, the video decoder 300 may also generate a fusion of prediction values from the third set of intra-prediction predictors or the additional set of intra-prediction predictors.
[0186] The video decoder 300 may, for example, be configured to determine a first weight based on an intra-frame prediction process and determine a second weight based on the intra-frame prediction process. In order to generate a fusion of the prediction value from a first set of intra-frame prediction prediction values and a second set of intra-frame prediction prediction values, the video decoder 300 may apply a first weight to the first set of intra-frame prediction prediction values and a second weight to the second set of intra-frame prediction prediction values to combine the first set of intra-frame prediction prediction values and the second set of intra-frame prediction prediction values. In some examples, the intra-frame prediction process may be a template-based intra-frame mode derivation process, and the video decoder 300 may be configured to determine the first weight based on the intra-frame prediction process including: determining the first weight based on a first template matching cost of the first set of intra-frame prediction prediction values; and determining the second weight based on the intra-frame prediction process including: determining the second weight based on a second template matching cost of the second set of intra-frame prediction prediction values. The video decoder 300 may, for example, determine a first set of intra-frame prediction prediction values based on the reference line set, including: determining the first set of intra-frame prediction prediction values based on a first line in the reference line set, and determining a second set of intra-frame prediction prediction values based on the reference line set by determining the second set of intra-frame prediction prediction values based on a second line in the reference line set that is different from the first line.
[0187] In some examples, the intra-frame prediction process can be a decoder-side intra-frame mode derivation process, and the video decoder 300 can be configured to determine a first weight based on the intra-frame prediction process, including: determining the first weight based on a first magnitude of a histogram of gradients of a first set of intra-frame prediction prediction values, and determine a second weight based on the intra-frame prediction process, including: determining the second weight based on a second magnitude of a histogram of gradients of a second set of intra-frame prediction prediction values.
[0188] In some examples, the reference line set may include a first sample line and a second sample line different from the first sample line, and the video decoder 300 may determine a first set of intra prediction prediction values based on the reference line set by applying a first set of weights to the first sample line and the second sample line, and determine a second set of intra prediction prediction values based on a second set of samples from the reference line set by applying a second set of weights to the first sample line and the second sample line. The video decoder 300 may, for example, apply the first set of weights to the first set of sample points and the second set of sample points by applying a zero weight to the first set of sample points, and apply the second set of weights to the first set of sample points and the second set of sample points by applying the zero weight to the second set of sample points.
[0189] In examples where the video decoder 300 determines a third set of intra-prediction predictors or an additional set of intra-prediction predictors, the video decoder 300 may, for example, determine a first weight based on the intra-prediction process, determine a second weight based on the intra-prediction process, and set the third weight equal to one-third. To generate a fusion of the predictors from the first set of intra-prediction predictors and the second set of intra-prediction predictors, the video decoder 300 may apply the first weight to the first set of intra-prediction predictors, apply the second weight to the second set of intra-prediction predictors, and apply the third weight to the third set of intra-prediction predictors to combine the first set of intra-prediction predictors, the second set of intra-prediction predictors, and the third set of intra-prediction predictors.
[0190] In some examples, video decoder 300 may determine that a second block of video data is encoded using SGPM, and in response, determine to disable intra-prediction fusion for the second block.
[0191] The video decoder 300 decodes the block of video data using the fusion of the prediction values (410). The video decoder 300 may, for example, generate a prediction block using the fusion of the prediction values, add the residual values to the prediction block to determine a reconstructed block, and perform one or more filtering options on the reconstructed block to determine a decoded block. The video decoder 300 may output the decoded block by outputting a picture of the decoded video data for display, outputting the picture for storage for later display, or outputting the picture for storage for use in decoding other pictures of the video data.
[0192] The following numbered clauses illustrate one or more aspects of the devices and techniques described in this disclosure.
[0193] Clause 1A. A method of decoding video data, the method comprising: generating a blend of prediction values from samples of a reference line set for a block of video data; and encoding and decoding the block of video data using the blend of prediction values.
[0194] Clause 2A. The method of Clause 1A, wherein the set of reference lines for samples comprises default reference lines for samples that are immediately adjacent to the block of video data.
[0195] Clause 3A. The method of clause 1A or 2A, wherein the reference line set of samples is a subset of a larger reference line set of samples for a multiple reference line codec mode.
[0196] Clause 4A. The method of any of clauses 1A to 3A, further comprising: determining a prediction value from the set of reference lines using at least one intra prediction mode; and determining a first intra prediction mode of the at least one intra prediction mode using template matching.
[0197] Clause 5A. The method of any one of clauses 1A to 3A, further comprising: determining a prediction value from the reference line set using multiple intra-frame prediction modes; and determining a first intra-frame prediction mode from the multiple intra-frame prediction modes using template matching; and determining a second intra-frame prediction mode from the multiple intra-frame prediction modes using template matching.
[0198] Clause 6A. The method of any one of clauses 1A to 3A, further comprising: determining a prediction value from the reference line set using a set of intra-frame prediction modes; and determining a first intra-frame prediction mode of at least one intra-frame prediction mode using a decoder-side intra-frame mode derivation.
[0199] Clause 7A. The method of Clause 6A, further comprising: determining a second intra-prediction mode in the set of intra-prediction modes using decoder-side intra-mode derivation.
[0200] Clause 8A. The method of Clause 7A, further comprising: determining that a third intra-prediction mode in the set of intra-prediction modes is a planar mode.
[0201] Clause 9A. A method according to any one of clauses 1A to 7A, wherein generating a fusion of prediction values from the reference line set of the sample points relative to the block of video data includes: generating a fusion of prediction values from the reference line set of the sample points based on a weighted combination of the prediction values.
[0202] Clause 10A. The method of clause 9A, wherein the weights of the weighted combination are fixed.
[0203] Clause 11A. The method of clause 9A, wherein the weights of the weighted combination are based on a reference line.
[0204] Clause 12A. The method of clause 9A, wherein the weights of the weighted combination are based on the locations of the samples in the block of video data.
[0205] Clause 13A. The method of clause 9A, wherein a weight of the weighted combination is based on a distance between two reference lines in the set of reference lines.
[0206] Clause 14A. The method of clause 9A, wherein the weights of the weighted combination are based on a cost criterion.
[0207] Clause 15A. The method of clause 9A, wherein the weight of the weighted combination is determined separately for each predicted value.
[0208] Clause 16A. The method of any of Clauses 1A to 8A, wherein generating the fusion of prediction values from the set of reference lines comprises generating the fusion of prediction values based on weighted gradients of the prediction values from the set of reference lines.
[0209] Clause 17A. The method of any of clauses 1A to 16A, further comprising: processing a syntax element indicating whether to generate a blend of prediction values based on one or more of the intra prediction modes.
[0210] Clause 18A. The method of any of clauses 1A to 3A, further comprising: performing one or more of a template-based intra-mode derivation mode or a decoder-side intra-mode derivation mode in addition to generating the fusion of prediction values.
[0211] Clause 19A. The method of any of clauses 1A to 18A, wherein the decoding method is performed as part of a video encoding process.
[0212] Clause 20A. An apparatus for encoding and decoding video data, the apparatus comprising one or more components for performing the method of any of clauses 1A to 19A and 28A to 38A.
[0213] Clause 21A. The apparatus of Clause 20A, wherein the one or more components include one or more processors implemented in circuitry.
[0214] Clause 22A. The apparatus of any of Clauses 20A and 21A, further comprising a memory for storing video data.
[0215] Clause 23A. The apparatus of any of Clauses 20A to 22A, further comprising a display configured to display the decoded video data.
[0216] Clause 24A. The device of any of clauses 20A to 23A, wherein the device comprises one or more of a camera, a computer, a mobile device, a broadcast receiver device, or a set-top box.
[0217] Clause 25A. The apparatus of any of clauses 20A to 24A, wherein the apparatus comprises a video decoder.
[0218] Clause 26A. The apparatus of any of clauses 20A to 25A, wherein the apparatus comprises a video encoder.
[0219] Clause 27A. A computer-readable storage medium having stored thereon instructions that, when executed, cause one or more processors to perform the method of any of clauses 1A to 19A and 28A to 38A.
[0220] Clause 28A. The method of any of clauses 1A to 19A, further comprising disabling a position-dependent intra prediction combining (PDPC) mode based on the intra prediction mode.
[0221] Clause 29A: The method of any of clauses 1A to 19A and 28A, further comprising determining that the block is not partitioned using a spatial geometric partitioning pattern (SGPM).
[0222] Clause 30A: The method according to Clause 29A further includes: using SPGM to segment a second block of video data; avoiding fusion of prediction values generated from samples of a reference line set of the second block based on segmenting the second block using SGPM; and encoding and decoding the second block of video data.
[0223] Clause 31A: The method of any of clauses 1A to 19A and 28A, further comprising determining that the block is partitioned using a spatial geometric partitioning pattern (SGPM).
[0224] Clause 32A: The method of clause 31, wherein the reference line set includes line [0] and line [1], wherein the weight of line [0] is 3 / 4, and wherein the weight of line [1] is 1 / 4.
[0225] Clause 33A: A method according to any of clauses 31A and 32A, wherein the reference line set includes line [0] and line [1], wherein for the first prediction mode, line [0] is used, and wherein, for the second prediction mode, line [1] is used.
[0226] Clause 34A: A method according to any one of clauses 31A to 33A, wherein the reference line set includes line [0] and line [1], and the method further comprises calculating a first template matching cost for a first prediction mode and a second template matching cost for a second prediction mode, wherein when the first template matching cost is greater than the second template matching cost, line [0] is used for the second prediction mode and line [1] is used for the first prediction mode, and wherein, when the second template matching cost is greater than the first template matching cost, line [0] is used for the first prediction mode and line [1] is used for the second prediction mode.
[0227] Clause 35A: The method of clause 31A, wherein the reference line set includes line [0] and line [1], the method further comprising: applying a weight of 3 / 4 to line [0] for a first prediction mode and applying a weight of 1 / 4 to line [1] for the first prediction mode; and applying a weight of 1 / 4 to line [0] for a second prediction mode and applying a weight of 3 / 4 to line [1] for the second prediction mode;
[0228] Clause 36A: A method according to clause 31A, wherein the reference line set includes line [0] and line [1], and the method further includes: calculating a first template matching cost for a first prediction mode and a second template matching cost for a second prediction mode; when the first template matching cost is less than the second template matching cost: applying a weight of 3 / 4 to line [0] for the first prediction mode and a weight of 1 / 4 to line [1] for the first prediction mode; and applying a weight of 1 / 4 to line [0] for the second prediction mode and a weight of 3 / 4 to line [1] for the second prediction mode; or when the first template matching cost is greater than the second template matching cost: applying a weight of 3 / 4 to line [0] for the second prediction mode and a weight of 1 / 4 to line [1] for the second prediction mode; and applying a weight of 1 / 4 to line [0] for the first prediction mode and a weight of 3 / 4 to line [1] for the first prediction mode.
[0229] Clause 37A: The method of any of clauses 1A to 19A, 28A, and 31A to 36A, further comprising encoding and decoding a candidate index value representing a candidate in the candidate list and information representing intra prediction fusion.
[0230] Clause 38A: A method according to clause 37A, wherein the information representing intra-frame prediction fusion includes a first prediction mode, a second prediction mode, a partitioning mode and a fusion mode, wherein the fusion mode indicates whether intra-frame prediction fusion is to be performed, and when intra-frame prediction fusion is to be performed, indicates that corresponding weights are to be applied to the reference line set.
[0231] Item 1B: A method of decoding video data, the method comprising: determining to encode a block of video data using an intra-frame prediction process that utilizes multiple intra-frame prediction prediction values; determining a set of reference lines for the intra-frame prediction process; determining a first set of intra-frame prediction prediction values based on the set of reference lines; determining a second set of intra-frame prediction prediction values based on the set of reference lines; generating a fusion of prediction values from the first set of intra-frame prediction prediction values and the second set of intra-frame prediction prediction values; and decoding the block of video data using the fusion of prediction values.
[0232] Clause 2B: The method described in clause 1B further includes: determining a first weight based on an intra-frame prediction process; determining a second weight based on the intra-frame prediction process; and wherein generating a fusion of prediction values from a first set of intra-frame prediction prediction values and a second set of intra-frame prediction prediction values includes: applying the first weight to the first set of intra-frame prediction prediction values and applying the second weight to the second set of intra-frame prediction prediction values to combine the first set of intra-frame prediction prediction values and the second set of intra-frame prediction prediction values.
[0233] Clause 3B: A method according to Clause 2B, wherein the intra-frame prediction process includes a template-based intra-frame mode derivation process; determining a first weight based on the intra-frame prediction process includes: determining the first weight based on a first template matching cost of a first set of intra-frame prediction prediction values; and determining a second weight based on the intra-frame prediction process includes: determining a second weight based on a second template matching cost of a second set of intra-frame prediction prediction values.
[0234] Clause 4B: A method according to Clause 3B, wherein: determining a first set of intra-frame prediction prediction values based on the reference line set includes: determining the first set of intra-frame prediction prediction values based on a first line in the reference line set; and determining a second set of intra-frame prediction prediction values based on the reference line set includes: determining the second set of intra-frame prediction prediction values based on a second line in the reference line set that is different from the first line.
[0235] Clause 5B: A method according to Clause 2B, wherein the intra-frame prediction process includes a decoder-side intra-frame mode derivation process; determining the first weight based on the intra-frame prediction process includes: determining the first weight based on a first magnitude of a histogram of gradients of a first set of intra-frame prediction prediction values; and determining the second weight based on the intra-frame prediction process includes: determining the second weight based on a second magnitude of a histogram of gradients of a second set of intra-frame prediction prediction values.
[0236] Clause 6B: A method according to clause 1B, wherein the reference line set includes a first sample line and a second sample line different from the first sample line, determining the first set of intra-frame prediction prediction values based on the reference line set includes: applying a first set of weights to the first sample line and the second sample line; and determining the second set of intra-frame prediction prediction values based on the second sample set from the reference line set includes: applying a second set of weights to the first sample line and the second sample line.
[0237] Clause 7B: A method according to clause 6B, wherein: applying the first set of weights to the first set of sample points and the second set of sample points includes: applying zero weights to the first set of sample points; and applying the second set of weights to the first set of sample points and the second set of sample points includes applying zero weights to the second set of sample points.
[0238] Clause 8B: The method of clause 1B, further comprising: determining a third set of intra-prediction predictors using planar mode; and generating a fusion of predictors from the first set of intra-prediction predictors, the second set of intra-prediction predictors, and the third set of intra-prediction predictors.
[0239] Clause 9B: The method described in clause 8B further includes: determining a first weight based on an intra-frame prediction process; determining a second weight based on the intra-frame prediction process; setting a third weight to be equal to one third; and wherein generating a fusion of the prediction values from the first intra-frame prediction prediction value set and the second intra-frame prediction prediction value set includes: applying the first weight to the first intra-frame prediction prediction value set, applying the second weight to the second intra-frame prediction prediction value set, and applying the third weight to the third intra-frame prediction prediction value set to combine the first intra-frame prediction prediction value set, the second intra-frame prediction prediction value set, and the third intra-frame prediction prediction value set.
[0240] Clause 10B: The method of clause 1B, further comprising: determining to encode a second block of video data in a spatial geometric partitioning mode (SGPM); and in response to determining to encode the second block in the SGPM, determining to disable intra prediction fusion for the second block.
[0241] Clause 11B: The method of clause 1B, wherein the method is performed as part of a video encoding process.
[0242] Item 12B: A device for decoding video data, the device comprising: a memory configured to store the video data; one or more processors implemented in circuitry and configured to: determine to encode a block of the video data using an intra-frame prediction process utilizing a plurality of intra-frame prediction prediction values; determine a set of reference lines for the intra-frame prediction process; determine a first set of intra-frame prediction prediction values based on the set of reference lines; determine a second set of intra-frame prediction prediction values based on the set of reference lines; generate a fusion of prediction values from the first set of intra-frame prediction prediction values and the second set of intra-frame prediction prediction values; and decode the block of the video data using the fusion of prediction values.
[0243] Clause 13B: A device according to clause 12B, wherein the one or more processors are further configured to: determine a first weight based on an intra-frame prediction process; determine a second weight based on the intra-frame prediction process; and wherein, in order to generate a fusion of prediction values from the first set of intra-frame prediction prediction values and the second set of intra-frame prediction prediction values, the one or more processors are further configured to apply the first weight to the first set of intra-frame prediction prediction values and apply the second weight to the second set of intra-frame prediction prediction values to combine the first set of intra-frame prediction prediction values and the second set of intra-frame prediction prediction values.
[0244] Clause 14B: A device according to clause 13B, wherein the intra-frame prediction process includes a template-based intra-frame mode derivation process, and wherein the one or more processors are further configured to: determine a first weight based on the intra-frame prediction process, the one or more processors are further configured to determine the first weight based on a first template matching cost of a first set of intra-frame prediction prediction values; and determine a second weight based on the intra-frame prediction process, the one or more processors are further configured to determine the second weight based on a second template matching cost of a second set of intra-frame prediction prediction values.
[0245] Clause 15B: A device according to Clause 14B, wherein the one or more processors are further configured to: determine a first set of intra-frame prediction prediction values based on the reference line set, and the one or more processors are further configured to determine the first set of intra-frame prediction prediction values based on a first line in the reference line set; and determine a second set of intra-frame prediction prediction values based on the reference line set, and the one or more processors are further configured to determine the second set of intra-frame prediction prediction values based on a second line in the reference line set that is different from the first line.
[0246] Clause 16B: A device according to clause 13B, wherein the intra-frame prediction process includes a decoder-side intra-frame mode derivation process, and wherein the one or more processors are further configured to: determine a first weight based on the intra-frame prediction process, the one or more processors are further configured to determine the first weight based on a first magnitude of a histogram of gradients of a first set of intra-frame prediction prediction values; and determine a second weight based on the intra-frame prediction process, the one or more processors are further configured to determine the second weight based on a second magnitude of a histogram of gradients of a second set of intra-frame prediction prediction values.
[0247] Clause 17B: An apparatus as described in clause 12B, wherein the reference line set includes a first sample line and a second sample line different from the first sample line, and wherein the one or more processors are further configured to: determine a first set of intra-frame prediction prediction values based on the reference line set, and the one or more processors are further configured to: apply a first set of weights to the first sample line and the second sample line; and determine a second set of intra-frame prediction prediction values based on a second sample set from the reference line set, and the one or more processors are further configured to apply a second set of weights to the first sample line and the second sample line.
[0248] Clause 18B: A device as described in clause 17B, wherein the one or more processors are further configured to: apply a first set of weights to a first set of sample points and a second set of sample points, and the one or more processors are further configured to: apply zero weights to the first set of sample points; and apply a second set of weights to the first set of sample points and the second set of sample points, and the one or more processors are further configured to apply zero weights to the second set of sample points.
[0249] Clause 19B: A device according to clause 12B, wherein the one or more processors are further configured to: determine a third set of intra-frame prediction prediction values using a planar mode; and generate a fusion of the prediction values from the first set of intra-frame prediction prediction values, the second set of intra-frame prediction prediction values, and the third set of intra-frame prediction prediction values.
[0250] Clause 20B: A device according to clause 19B, wherein the one or more processors are further configured to: determine a first weight based on an intra-frame prediction process; determine a second weight based on the intra-frame prediction process; and set a third weight equal to one-third; and wherein, in order to generate a fusion of the prediction values from the first intra-frame prediction prediction value set and the second intra-frame prediction prediction value set, the one or more processors are further configured to apply the first weight to the first intra-frame prediction prediction value set, apply the second weight to the second intra-frame prediction prediction value set, and apply the third weight to the third intra-frame prediction prediction value set to combine the first intra-frame prediction prediction value set, the second intra-frame prediction prediction value set, and the third intra-frame prediction prediction value set.
[0251] Clause 21B: The apparatus of clause 12B, wherein the one or more processors are further configured to: determine to encode a second block of the video data in a spatial geometric partitioning mode (SGPM); and in response to determining to encode the second block in the SGPM, determine to disable intra-prediction fusion for the second block.
[0252] Clause 22B: The device of clause 12B, wherein the device comprises a wireless communication device, the device further comprising a receiver configured to receive the encoded video data.
[0253] Clause 23B: The device of clause 22B, wherein the wireless communication device comprises a telephone handset, and wherein the receiver is configured to demodulate the signal comprising the encoded video data in accordance with a wireless communication standard.
[0254] Clause 24B: The apparatus of clause 12B, further comprising: a display configured to display the decoded video data.
[0255] Clause 25B: The device of clause 12B, wherein the device comprises one or more of a camera, a computer, a mobile device, a broadcast receiver device, or a set-top box.
[0256] Clause 26B: The apparatus of clause 12B, wherein the one or more processors comprises a video encoder.
[0257] Item 27B: A computer-readable storage medium storing instructions that, when executed by one or more processors, cause the one or more processors to: determine to encode a block of video data using an intra-prediction process that utilizes a plurality of intra-prediction predictors; determine a set of reference lines for the intra-prediction process; determine a first set of intra-prediction predictors based on the set of reference lines; determine a second set of intra-prediction predictors based on the set of reference lines; generate a fusion of prediction values from the first set of intra-prediction predictors and the second set of intra-prediction predictors; and decode the block of video data using the fusion of prediction values.
[0258] Clause 28B: A computer-readable storage medium as described in clause 27B, storing further instructions that, when executed by one or more processors, cause the one or more processors to perform the following steps: determining a first weight based on an intra-frame prediction process; determining a second weight based on the intra-frame prediction process; and wherein, in order to generate a fusion of the prediction values from the first intra-frame prediction prediction value set and the second intra-frame prediction prediction value set, the one or more processors are also configured to apply the first weight to the first intra-frame prediction prediction value set and apply the second weight to the second intra-frame prediction prediction value set to combine the first intra-frame prediction prediction value set and the second intra-frame prediction prediction value set.
[0259] Clause 29B: A computer-readable storage medium as described in clause 28B, wherein the intra-frame prediction process includes a template-based intra-frame mode derivation process, and the computer-readable storage medium stores further instructions that, when executed by one or more processors, cause the one or more processors to perform the following steps: determine a first weight based on the intra-frame prediction process, the one or more processors being further configured to determine the first weight based on a first template matching cost of a first set of intra-frame prediction prediction values; and determine a second weight based on the intra-frame prediction process, the one or more processors being further configured to determine the second weight based on a second template matching cost of a second set of intra-frame prediction prediction values.
[0260] Clause 30B: A computer-readable storage medium as described in clause 28B, wherein the intra-frame prediction process includes a decoder-side intra-frame mode derivation process, and the computer-readable storage medium stores further instructions that, when executed by one or more processors, cause the one or more processors to perform the following steps: determine a first weight based on the intra-frame prediction process, the one or more processors being further configured to determine the first weight based on a first magnitude of a histogram of gradients of a first set of intra-frame prediction prediction values; and determine a second weight based on the intra-frame prediction process, the one or more processors being further configured to determine the second weight based on a second magnitude of a histogram of gradients of a second set of intra-frame prediction prediction values.
[0261] Clause 31B: A computer-readable storage medium as described in clause 27B, wherein the reference line set includes a first sample line and a second sample line different from the first sample line, and the computer-readable storage medium stores further instructions that, when executed by one or more processors, cause the one or more processors to perform the following steps: determine the first set of intra-frame prediction prediction values based on the reference line set, and the one or more processors are further configured to: apply a first set of weights to the first sample line and the second sample line; and determine a second set of intra-frame prediction prediction values based on a second sample set from the reference line set, and the one or more processors are further configured to apply a second set of weights to the first sample line and the second sample line.
[0262] Clause 32B: A computer-readable storage medium as described in clause 31B, storing further instructions that, when executed by one or more processors, cause the one or more processors to perform the following steps: applying the first set of weights to a first set of sample points and a second set of sample points, the one or more processors being further configured to apply zero weights to the first set of sample points; and applying the second set of weights to the first set of sample points and the second set of sample points, the one or more processors being further configured to apply zero weights to the second set of sample points.
[0263] Clause 33B: A computer-readable storage medium as described in clause 27B, storing further instructions that, when executed by one or more processors, cause the one or more processors to perform the following steps: determining a third set of intra-frame prediction prediction values using a planar mode; and generating a fusion of prediction values from the first set of intra-frame prediction prediction values, the second set of intra-frame prediction prediction values, and the third set of intra-frame prediction prediction values.
[0264] Item 34B: A computer-readable storage medium as described in item 33B, storing further instructions that, when executed by one or more processors, cause the one or more processors to perform the following steps: determining a first weight based on an intra-frame prediction process; determining a second weight based on the intra-frame prediction process; and setting a third weight equal to one-third; and wherein, in order to generate a fusion of prediction values from the first intra-frame prediction prediction value set and the second intra-frame prediction prediction value set, the one or more processors are also configured to apply the first weight to the first intra-frame prediction prediction value set, apply the second weight to the second intra-frame prediction prediction value set, and apply the third weight to the third intra-frame prediction prediction value set to combine the first intra-frame prediction prediction value set, the second intra-frame prediction prediction value set, and the third intra-frame prediction prediction value set.
[0265] It should be appreciated that, according to examples, certain actions or events of any of the techniques described herein may be performed in a different order, may be added, combined, or omitted entirely (e.g., not all described actions or events are necessary for the practice of the techniques). In addition, in some examples, actions or events may be performed simultaneously, e.g., through multithreading, interrupt handling, or multiple processors, rather than being performed sequentially.
[0266] In one or more examples, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted through a computer-readable medium as one or more instructions or codes and executed by a hardware-based processing unit. Computer-readable media may include computer-readable storage media corresponding to tangible media such as data storage media, or communication media including any medium that facilitates (e.g., according to a communication protocol) the transfer of a computer program from one place to another. In this manner, computer-readable media may generally correspond to (1) a non-transitory tangible computer-readable storage medium, or (2) a communication medium such as a signal or carrier wave. Data storage media may be any available media that can be accessed by one or more computers or one or more processors to retrieve instructions, codes, and / or data structures to implement the techniques described in the present disclosure. A computer program product may include a computer-readable medium.
[0267] As an example and not limitation, such computer-readable storage media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage, or other magnetic storage devices, flash memory, or any other medium that can be used to store the desired program code in the form of instructions or data structures and can be accessed by a computer. In addition, any connection is properly referred to as a computer-readable medium. For example, if a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) or wireless technology (such as infrared, radio and microwave) is used to transmit instructions from a website, server or other remote source, the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technology (such as infrared, radio and microwave) is included in the definition of the medium. However, it should be understood that computer-readable storage media and data storage media do not include connections, carrier waves, signals or other temporary media, but are directed to non-temporary tangible storage media. The disks and optical disks used herein include compact disks (CDs), laser optical disks, optical optical disks, digital versatile disks (DVDs), floppy disks and blue-ray disks, wherein the disks usually reproduce data magnetically, and the optical disks reproduce data optically with lasers. The above combination should also be included in the scope of computer-readable media.
[0268] Instructions may be executed by one or more processors, such as one or more DSPs, general-purpose microprocessors, ASICs, FPGAs, or other equivalent integrated or discrete logic circuits. Therefore, the terms "processor" and "processing circuitry" as used herein may refer to any of the aforementioned structures or any other structure suitable for implementing the techniques described herein. In addition, in some aspects, the functionality described herein may be provided in dedicated hardware and / or software modules configured for encoding and decoding, or incorporated into a combined codec. In addition, these techniques may be fully implemented in one or more circuits or logic elements.
[0269] The techniques of the present disclosure may be implemented in a variety of devices or apparatuses, including wireless handsets, integrated circuits (ICs), or sets of ICs (e.g., chipsets). Various components, modules, or units are described in this disclosure to emphasize functional aspects of devices configured to perform the disclosed techniques, but do not necessarily need to be implemented by different hardware units. Instead, as described above, the various units may be combined in a codec hardware unit, or provided by a collection of interoperable hardware units including one or more processors as described above in combination with appropriate software and / or firmware.
[0270] Various examples have been described. These and other examples are within the scope of the following claims.
Claims
1. A method for decoding video data, the method comprising: determining to encode a block of video data using an intra prediction process utilizing a plurality of intra prediction predictors; determining a set of reference lines for the intra prediction process; Determining a first intra-frame prediction prediction value set based on the reference line set; Determining a second intra-frame prediction prediction value set based on the reference line set; generating a fusion of prediction values from the first set of intra-prediction prediction values and the second set of intra-prediction prediction values; as well as The block of video data is decoded using a fusion of the prediction values.
2. The method according to claim 1, further comprising: Determining a first weight based on the intra prediction process; Determining a second weight based on the intra prediction process; as well as Wherein, generating a fusion of the prediction values from the first intra-frame prediction prediction value set and the second intra-frame prediction prediction value set includes: applying the first weight to the first intra-frame prediction prediction value set and applying the second weight to the second intra-frame prediction prediction value set to combine the first intra-frame prediction prediction value set and the second intra-frame prediction prediction value set.
3. The method according to claim 2, wherein: The intra-frame prediction process includes a template-based intra-frame mode derivation process; Determining the first weight based on the intra prediction process includes: determining the first weight based on a first template matching cost of the first intra prediction prediction value set; and Determining the second weight based on the intra prediction process includes determining the second weight based on a second template matching cost of the second set of intra prediction prediction values.
4. The method according to claim 3, wherein: Determining the first set of intra prediction prediction values based on the reference line set includes: determining the first set of intra prediction prediction values based on a first line in the reference line set; and Determining a second set of intra prediction predictors based on the reference line set includes determining the second set of intra prediction predictors based on a second line in the reference line set that is different from the first line.
5. The method according to claim 2, wherein: The intra-frame prediction process includes a decoder-side intra-frame mode derivation process; Determining the first weight based on the intra prediction process includes: determining the first weight based on a first magnitude of a histogram of a gradient of the first intra prediction prediction value set; and Determining the second weight based on the intra prediction process includes determining the second weight based on a second magnitude of a histogram of gradients of the second set of intra prediction prediction values.
6. The method according to claim 1, wherein: The reference line set includes a first sample point line and a second sample point line different from the first sample point line; Determining the first intra prediction prediction value set based on the reference line set includes: applying a first weight set to the first sample point line and the second sample point line; and Determining the second set of intra prediction prediction values based on a second set of samples from the set of reference lines includes applying a second set of weights to the first sample line and the second sample line.
7. The method according to claim 6, wherein: Applying the first set of weights to the first set of sample points and the second set of sample points includes: applying a zero weight to the first set of sample points; and Applying the second set of weights to the first set of sample points and the second set of sample points includes applying the zero weight to the second set of sample points.
8. The method according to claim 1, further comprising: determining a third set of intra prediction prediction values using the planar mode; as well as A fusion of the predictors is generated from the first set of intra-prediction predictors, the second set of intra-prediction predictors, and the third set of intra-prediction predictors.
9. The method according to claim 8, further comprising: Determining a first weight based on the intra prediction process; Determining a second weight based on the intra prediction process; Set the third weight equal to one-third; as well as Wherein, generating a fusion of the prediction values from the first intra-frame prediction prediction value set and the second intra-frame prediction prediction value set includes: applying the first weight to the first intra-frame prediction prediction value set, applying the second weight to the second intra-frame prediction prediction value set, and applying the third weight to the third intra-frame prediction prediction value set to combine the first intra-frame prediction prediction value set, the second intra-frame prediction prediction value set and the third intra-frame prediction prediction value set.
10. The method according to claim 1, further comprising: Determining to encode the second block of the video data in a spatial geometric partitioning mode (SGPM); as well as In response to determining that the second block is encoded with the SGPM, it is determined to disable intra prediction fusion for the second block.
11. The method according to claim 1, wherein: The method is performed as part of a video encoding process.
12. A device for decoding video data, the device comprising: a memory configured to store video data; One or more processors implemented in circuitry and configured to: determining to encode a block of video data using an intra prediction process utilizing a plurality of intra prediction predictors; determining a set of reference lines for the intra prediction process; Determining a first intra-frame prediction prediction value set based on the reference line set; Determining a second intra-frame prediction prediction value set based on the reference line set; generating a fusion of prediction values from the first set of intra-prediction prediction values and the second set of intra-prediction prediction values; as well as The block of video data is decoded using a fusion of the prediction values.
13. The device according to claim 12, wherein: The one or more processors are further configured to: Determining a first weight based on the intra prediction process; Determining a second weight based on the intra prediction process; as well as Wherein, in order to generate a fusion of the prediction values from the first intra-frame prediction prediction value set and the second intra-frame prediction prediction value set, the one or more processors are also configured to apply the first weight to the first intra-frame prediction prediction value set and apply the second weight to the second intra-frame prediction prediction value set to combine the first intra-frame prediction prediction value set and the second intra-frame prediction prediction value set.
14. The device according to claim 13, wherein: The intra prediction process comprises a template-based intra mode derivation process, and wherein the one or more processors are further configured to: determining the first weight based on the intra prediction process, the one or more processors further configured to determine the first weight based on a first template matching cost of the first set of intra prediction prediction values; and The second weight is determined based on the intra prediction process, and the one or more processors are further configured to determine the second weight based on a second template matching cost of the second set of intra prediction prediction values.
15. The device according to claim 14, wherein: The one or more processors are further configured to: determining the first set of intra prediction predictors based on the set of reference lines, the one or more processors further configured to determine the first set of intra prediction predictors based on a first line in the set of reference lines; as well as A second set of intra prediction predictors is determined based on the set of reference lines, and the one or more processors are further configured to determine the second set of intra prediction predictors based on a second line in the set of reference lines that is different from the first line.
16. The apparatus according to claim 13, wherein: The intra prediction process comprises a decoder-side intra mode derivation process, and wherein the one or more processors are further configured to: determining the first weight based on the intra prediction process, the one or more processors further configured to determine the first weight based on a first magnitude of a histogram of gradients of the first set of intra prediction prediction values; and The second weight is determined based on the intra prediction process, and the one or more processors are further configured to determine the second weight based on a second magnitude of a histogram of gradients of the second set of intra prediction prediction values.
17. The apparatus according to claim 12, wherein: The reference line set includes a first sample point line and a second sample point line different from the first sample point line, and wherein the one or more processors are further configured to: Determining the first set of intra prediction prediction values based on the reference line set, the one or more processors are further configured to apply a first set of weights to the first sample point line and the second sample point line; and The second set of intra prediction prediction values is determined based on a second set of samples from the set of reference lines, and the one or more processors are further configured to apply a second set of weights to the first sample line and the second sample line.
18. The apparatus according to claim 17, wherein: The one or more processors are further configured to: Applying the first set of weights to a first set of sample points and a second set of sample points, the one or more processors being further configured to apply a zero weight to the first set of sample points; as well as The second set of weights is applied to the first set of samples and the second set of samples, and the one or more processors are further configured to apply the zero weight to the second set of samples.
19. The apparatus according to claim 12, wherein: The one or more processors are further configured to: determining a third set of intra prediction prediction values using the planar mode; as well as A fusion of the predictors is generated from the first set of intra-prediction predictors, the second set of intra-prediction predictors, and the third set of intra-prediction predictors.
20. The apparatus of claim 19, wherein: The one or more processors are further configured to: Determining a first weight based on the intra prediction process; Determining a second weight based on the intra prediction process; as well as Set the third weight equal to one-third; as well as Wherein, in order to generate a fusion of the prediction values from the first intra-frame prediction prediction value set and the second intra-frame prediction prediction value set, the one or more processors are also configured to apply the first weight to the first intra-frame prediction prediction value set, apply the second weight to the second intra-frame prediction prediction value set, and apply the third weight to the third intra-frame prediction prediction value set to combine the first intra-frame prediction prediction value set, the second intra-frame prediction prediction value set and the third intra-frame prediction prediction value set.
21. The apparatus of claim 12, wherein: The one or more processors are further configured to: Determining to encode the second block of the video data in a spatial geometric partitioning mode (SGPM); and In response to determining that the second block is encoded with the SGPM, it is determined to disable intra prediction fusion for the second block.
22. The apparatus of claim 12, wherein: The apparatus comprises a wireless communication device, the apparatus further comprising a receiver configured to receive encoded video data.
23. The apparatus of claim 22, wherein: The wireless communication device comprises a telephone handset, and wherein the receiver is configured to demodulate a signal comprising the encoded video data in accordance with a wireless communication standard.
24. The apparatus of claim 12, further comprising: A display is configured to display the decoded video data.
25. The apparatus of claim 12, wherein: The device includes one or more of a camera, a computer, a mobile device, a broadcast receiver device, or a set-top box.
26. The apparatus of claim 12, wherein: The one or more processors include a video encoder.
27. A computer-readable storage medium storing instructions that, when executed by one or more processors, cause the one or more processors to: determining to encode a block of video data using an intra prediction process utilizing a plurality of intra prediction predictors; determining a set of reference lines for the intra prediction process; Determining a first intra-frame prediction prediction value set based on the reference line set; Determining a second intra-frame prediction prediction value set based on the reference line set; generating a fusion of prediction values from the first set of intra-prediction prediction values and the second set of intra-prediction prediction values; as well as The block of video data is decoded using a fusion of the prediction values.
28. The computer readable storage medium of claim 27, storing further instructions that when executed by one or more processors cause the one or more processors to: Determining a first weight based on the intra prediction process; determining a second weight based on the intra prediction process; and in, In order to generate a fusion of the prediction values from the first set of intra-frame prediction prediction values and the second set of intra-frame prediction prediction values, the one or more processors are also configured to apply the first weight to the first set of intra-frame prediction prediction values and apply the second weight to the second set of intra-frame prediction prediction values to combine the first set of intra-frame prediction prediction values and the second set of intra-frame prediction prediction values.
29. The computer-readable storage medium of claim 28, wherein: The intra prediction process includes a template-based intra mode derivation process, and the computer-readable storage medium stores further instructions that, when executed by one or more processors, cause the one or more processors to perform the following steps: determining the first weight based on the intra prediction process, the one or more processors further configured to determine the first weight based on a first template matching cost of the first set of intra prediction prediction values; as well as The second weight is determined based on the intra prediction process, and the one or more processors are further configured to determine the second weight based on a second template matching cost of the second set of intra prediction prediction values.
30. The computer-readable storage medium of claim 28, wherein: The intra prediction process includes a decoder-side intra mode derivation process, and the computer-readable storage medium stores further instructions that, when executed by one or more processors, cause the one or more processors to: determining the first weight based on the intra prediction process, the one or more processors being further configured to determine the first weight based on a first magnitude of a histogram of gradients of the first set of intra prediction prediction values; as well as The second weight is determined based on the intra prediction process, and the one or more processors are further configured to determine the second weight based on a second magnitude of a histogram of gradients of the second set of intra prediction prediction values.
31. The computer-readable storage medium of claim 27, wherein: The reference line set includes a first sample point line and a second sample point line different from the first sample point line, and the computer-readable storage medium stores further instructions that, when executed by one or more processors, cause the one or more processors to perform the following steps: Determining the first set of intra prediction prediction values based on the reference line set, the one or more processors are further configured to apply a first set of weights to the first sample point line and the second sample point line; as well as The second set of intra prediction prediction values is determined based on a second set of samples from the set of reference lines, and the one or more processors are further configured to apply a second set of weights to the first sample line and the second sample line.
32. The computer readable storage medium of claim 31 storing further instructions that when executed by one or more processors cause the one or more processors to: Applying the first set of weights to a first set of sample points and a second set of sample points, the one or more processors being further configured to apply a zero weight to the first set of sample points; and The second set of weights is applied to the first set of samples and the second set of samples, and the one or more processors are further configured to apply the zero weight to the second set of samples.
33. The computer readable storage medium of claim 27, storing further instructions that when executed by one or more processors cause the one or more processors to: determining a third set of intra prediction predictors using planar mode; and A fusion of the predictors is generated from the first set of intra-prediction predictors, the second set of intra-prediction predictors, and the third set of intra-prediction predictors.
34. The computer readable storage medium of claim 33, storing further instructions that when executed by one or more processors cause the one or more processors to: Determining a first weight based on the intra prediction process; Determining a second weight based on the intra prediction process; as well as Set the third weight equal to one-third; as well as Wherein, in order to generate a fusion of the prediction values from the first intra-frame prediction prediction value set and the second intra-frame prediction prediction value set, the one or more processors are also configured to apply the first weight to the first intra-frame prediction prediction value set, apply the second weight to the second intra-frame prediction prediction value set, and apply the third weight to the third intra-frame prediction prediction value set to combine the first intra-frame prediction prediction value set, the second intra-frame prediction prediction value set and the third intra-frame prediction prediction value set.
Citation Information
Patent Citations
Intra-prediction fusion for video coding
US20240015295A1