Improved mixed inter-intra prediction mode

The method addresses inefficiencies in deriving optimal weightings for intra-predicted and inter-predicted samples in video coding by using adaptive weighting techniques, enhancing compression and decoding performance across multiple video standards.

JP7595789B2Active Publication Date: 2024-12-06TENCENT AMERICA LLC
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023566698
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2022-11-08
Filing Date
2022-11-14
Publication Date
2024-12-06
Estimated Expiration
2042-11-14

AI Technical Summary

Technical Problem

Existing video coding technologies face inefficiencies in deriving optimal weighting between intra-predicted and inter-predicted samples in composite inter-intra prediction modes, leading to suboptimal compression and decoding performance.

Method used

A method is introduced for deriving adaptive weighting between intra-predicted and inter-predicted samples using a composite inter-intra prediction mode, involving the definition of a template region, application of adaptive weighting candidates, calculation of cost values, and selection of the lowest cost weighting for decoding blocks.

Benefits of technology

This approach enhances the efficiency of video coding by improving compression performance and decoding accuracy through optimized weighting, applicable to various video coding standards including VP9, AV1, AV2, HEVC, and VVC.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007595789000002
    Figure 0007595789000002
  • Figure 0007595789000003
    Figure 0007595789000003
  • Figure 0007595789000004
    Figure 0007595789000004
Patent Text Reader

Abstract

A method for applying adaptive weighting to intra and inter prediction units in a hybrid inter intra prediction mode includes the steps of defining a template region of nearby reconstructed or predicted samples, applying one or more adaptive weighting candidates to the template region to generate one or more predicted samples using hybrid inter intra prediction, calculating a cost value for each of the one or more adaptive weighting candidates, selecting the adaptive weighting candidate that provides the lowest cost as a weighting to be used for decoding a block in the hybrid inter intra prediction mode, and decoding the block based on the selected adaptive weighting.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application is based on and claims priority to U.S. Provisional Patent Application No. 63 / 316,819, filed March 4, 2022, and U.S. Patent Application No. 17 / 983,041, filed November 8, 2022, the disclosures of which are incorporated by reference in their entireties herein.

[0002] This disclosure provides a set of advanced video coding techniques designed for efficient compression of video data. More specifically, a method for deriving weightings between intra- and inter-prediction samples for a hybrid inter-intra prediction mode is disclosed. [Background technology]

[0003] AOMedia Video1 (AV1) is developed as a successor to VP9 by the Alliance for Open Media (AOMedia) consortium, which was founded in 2015 and includes semiconductor companies, video-on-demand providers, video content producers, software developers, and web browser vendors. Many of the components of the AV1 project originate from previous research efforts by members of the alliance. Individual contributors have been starting experimental technology platforms for several years, namely Xiph's / Mozilla's Daala, which already released its code in 2010, Google's experimental VP9 evolution project VP10, announced on September 12, 2014, and Cisco's Thor, published on August 11, 2015. Based on the VP9 code base, AV1 incorporates additional techniques, some of which were developed in these experimental formats. The first version 0.1.0 of the AV1 reference codec was published on April 7, 2016. The Alliance announced the release of the AV1 Bitstream Specification on March 28, 2018, along with reference software-based encoders and decoders. The specification's effective version 1.0.0 was released on June 25, 2018. The specification's effective version 1.0.0 with Errata 1 was released on January 8, 2019. The AV1 Bitstream Specification includes reference video codecs.

[0004] AOMedia Video 2 (AV2) is currently under development, for which the proposed 8-bit / 10-bit conversion core is designed. Summary of the Invention [Means for solving the problem]

[0005] The following presents a simplified summary of one or more embodiments of the present disclosure in order to provide a basic understanding of such embodiments. This summary is not an extensive overview of all contemplated embodiments, and is not intended to identify key or critical elements of all embodiments or to delineate the scope of any or all embodiments. Its sole purpose is to present some concepts of one or more embodiments of the present disclosure in a simplified form as a prelude to the more detailed description that is presented later.

[0006] This disclosure provides methods for deriving weightings between intra and inter prediction samples for a hybrid inter intra prediction mode.

[0007] According to an exemplary embodiment, a method for performing a process executed by one or more processors in a video decoder includes: 、 method is provided The method includes receiving a coded video bitstream including a current picture. The method further includes, for a block included in the current picture, defining a template region of reconstructed or predicted samples in a neighborhood of the block. The method further includes applying one or more adaptive weighting candidates to the template region to generate one or more predicted samples using a hybrid inter-intra prediction mode. The method further includes calculating a cost value for each of the one or more adaptive weighting candidates. The method further includes selecting an adaptive weighting candidate from the one or more adaptive weighting candidates that provides a lowest cost as a weighting used to decode the block. The method further includes decoding the block based on the selected adaptive weighting and the generated one or more predicted samples.

[0008] According to an exemplary embodiment, an apparatus comprises at least one memory configured to store computer program code and at least one processor configured to access the computer program code and operate as instructed by the computer program code. The computer program code includes a receiving code configured to cause the at least one processor to receive a coded video bitstream including a current picture. The computer program code further includes a defining code configured to cause the at least one processor to define, for a block included in the current picture, a template region of reconstructed or predicted samples in a neighborhood of the block. The computer program code further includes an applying code configured to cause the at least one processor to apply one or more adaptive weighting candidates to the template region to generate one or more predicted samples using a hybrid inter-intra prediction mode. The computer program code further includes a calculating code configured to cause the at least one processor to calculate a cost value for each of the one or more adaptive weighting candidates. The computer program code further includes a selecting code configured to cause the at least one processor to select an adaptive weighting candidate from the one or more adaptive weighting candidates that provides the lowest cost as a weighting to be used to decode the block. The computer program code further includes decoding code configured to cause the at least one processor to decode the block based on the selected adaptive weightings and the generated one or more prediction samples.

[0009] According to an exemplary embodiment, a non-transitory computer-readable medium has stored thereon computer instructions that, when executed by at least one processor, cause the at least one processor to perform a method. The method includes receiving a coded video bitstream including a current picture. The method further includes, for a block included in the current picture, defining a template region of reconstructed or predicted samples in a neighborhood of the block. The method further includes applying one or more adaptive weighting candidates to the template region to generate one or more predicted samples using a composite inter-intra prediction mode. The method further includes calculating a cost value for each of the one or more adaptive weighting candidates. The method further includes selecting an adaptive weighting candidate from the one or more adaptive weighting candidates that provides the lowest cost as a weighting used to decode the block. The method further includes decoding the block based on the selected adaptive weighting and the generated one or more predicted samples.

[0010] Additional embodiments will be set forth in the description that follows, and in part will be obvious from the description, and / or may be learned by practice of the presented embodiments of the present disclosure.

[0011] The above and other features and aspects of the embodiments of the present disclosure will become apparent from the following description taken in conjunction with the accompanying drawings. [Brief description of the drawings]

[0012] [Figure 1] 1 is a schematic block diagram of a communication system in accordance with various embodiments of the present disclosure. [Diagram 2] 1 is a schematic block diagram of a communication system in accordance with various embodiments of the present disclosure. [Diagram 3] FIG. 2 is a schematic block diagram of a decoder, according to various embodiments of the present disclosure. [Figure 4] 2 is a block diagram of an encoder according to various embodiments of the present disclosure. [Diagram 5] FIG. 13 is a diagram of the nominal angle at AV1 according to various embodiments of the present disclosure. [Figure 6] 1 is a diagram of nearby sample locations according to various embodiments of the present disclosure. [Figure 7] 1A-1D are diagrams of a patch according to various embodiments of the present disclosure. [Figure 8] 1 is a table of CIIP modes according to various embodiments of the present disclosure. [Figure 9] 1 is a lookup table used in CIIP mode, according to various embodiments of the present disclosure. [Figure 10] 1 is a diagram of a template region according to various embodiments of the present disclosure. [Figure 11] 1 is a flowchart of one embodiment of a process for deriving weights for a mixed inter intra prediction mode in accordance with various embodiments of this disclosure. [Figure 12] FIG. 1 illustrates an exemplary computer system in accordance with various embodiments of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] The following detailed description of the exemplary embodiments refers to the accompanying drawings, in which the same reference numbers in different drawings may identify the same or similar elements.

[0014] The foregoing disclosure provides illustrations and descriptions, but is not intended to be exhaustive or to limit the implementations to the precise form disclosed. Modifications and variations are possible in light of the above disclosure or may be acquired from practice of the implementations. Moreover, one or more features or components of one embodiment may be incorporated or combined with other embodiments (or one or more features of the other embodiments). Furthermore, in the flowcharts and operational descriptions provided below, it is understood that one or more operations may be omitted, one or more operations may be added, one or more operations may be performed simultaneously (at least in part), and the order of one or more operations may be switched.

[0015] It will be apparent that the systems and / or methods described herein may be implemented in different forms of hardware, firmware, or a combination of hardware and software. The actual dedicated control hardware or software code used to implement these systems and / or methods is not limiting of the embodiments. Thus, the operation and behavior of the systems and / or methods are described herein without reference to any specific software code. It is understood that software and hardware can be designed to implement the systems and / or methods based on the description herein.

[0016] Although particular feature combinations are recited in the claims and / or disclosed herein, these combinations are not intended to limit the disclosure of possible implementations. Indeed, many of these features may be combined in ways not specifically recited in the claims and / or disclosed herein. Although each dependent claim listed below may depend directly on only one claim, the disclosure of possible implementations includes each dependent claim in combination with all other claims in the claim set.

[0017] No element, act, or instruction used herein should be construed as critical or essential unless expressly described as such. Also, as used herein, the articles "a" and "an" are intended to include one or more items and may be used interchangeably with "one or more." When only one item is intended, the term "one" or similar words are used. Also, as used herein, terms such as "has," "have," "having," "include," "including," and the like are intended to be open-ended terms. Furthermore, the phrase "based on" is intended to mean "based at least in part on," unless otherwise noted. Furthermore, expressions such as "at least one of [A] and [B]" or "at least one of [A] or [B]" should be understood to include only A, only B, or both A and B.

[0018] FIG. 1 shows a simplified block diagram of a communication system (100) according to one embodiment of the present disclosure. The system (100) may include at least two terminals (110, 120) interconnected via a network (150). In the case of unidirectional transmission of data, a first terminal (110) may code video data at a local location for transmission to a counterpart terminal (120) via the network (150). The second terminal (120) may receive the coded video data of the counterpart terminal from the network (150), decode the coded data, and display the restored video data. Unidirectional data transmission may be common in media serving applications, etc.

[0019] 1 illustrates a second pair of terminals (130, 140) arranged to support bidirectional transmission of coded video, such as may occur during a video conference. For bidirectional transmission of data, each terminal (130, 140) may code video data captured at a local location for transmission to the other terminal over a network (150). Each terminal (130, 140) may also receive coded video data transmitted by the other terminal, may decode the coded data, and may display the recovered video data on a local display device.

[0020] In FIG. 1, the terminals (110-140) may be depicted as servers, personal computers, and smartphones, and / or any other type of terminal. For example, the terminals (110-140) may be laptop computers, tablet computers, media players, and / or dedicated video conferencing equipment. The network (150) represents any number of networks that convey decoded video data between the terminals (110-140), including, for example, wired and / or wireless communication networks. The communication network (150) may exchange data over circuit-switched and / or packet-switched channels. Representative networks include telecommunications networks, local area networks, wide area networks, and / or the Internet. For purposes of this discussion, the architecture and topology of the network (150) may not be important to the operation of the present disclosure, unless described below.

[0021] 2 shows an arrangement of video encoders and decoders in a streaming environment as an example of an application of the disclosed subject matter. The subject matter of this disclosure may be equally applicable to other video-enabled applications, such as, for example, video conferencing, digital television, storage of compressed video on digital media including CDs, DVDs, memory sticks, and the like.

[0022] As shown in FIG. 2, the streaming system (200) may include a capture subsystem (213) that may include a video source (201) and an encoder (203). The video source (201) may be, for example, a digital camera and may be configured to create an uncompressed video sample stream (202). The uncompressed video sample stream (202) may provide a high amount of data compared to an encoded video bitstream and may be processed by an encoder (203) coupled to the camera (201). The encoder (203) may include hardware, software, or a combination thereof for enabling or implementing aspects of the disclosed subject matter, as described in more detail below. The encoded video bitstream (204) may include a low amount of data compared to the sample stream and may be stored in a streaming server (205) for future use. One or more streaming clients (206) may access the streaming server (205) to obtain a video bitstream (209), which may be a copy of the encoded video bitstream (204).

[0023] In an embodiment, the streaming server (205) may also function as a Media-Aware Network Element (MANE). For example, the streaming server (205) may be configured to prune the encoded video bitstream (204) to tailor a potentially different bitstream to one or more of the streaming clients (206). In an embodiment, a MANE may be provided separately from the streaming server (205) in the streaming system (200).

[0024] The streaming client (206) may include a video decoder (210) and a display (212). The video decoder (210) may, for example, decode a video bitstream (209), which is an incoming copy of the encoded video bitstream (204), and create an outgoing video sample stream (211) that may be rendered on a display (212) or other rendering device (not shown). In some streaming systems, the video bitstreams (204, 209) may be encoded according to some video coding / compression standard. Examples of such standards include, but are not limited to, ITU-T Recommendation H.265. A video coding standard informally known as Versatile Video Coding (VVC) is under development. Embodiments of the present disclosure may be used in the context of VVC.

[0025] 3 illustrates an exemplary functional block diagram of a video decoder (210) attached to a display (212) according to one embodiment of the disclosure. The video decoder (210) may include a channel (312), a receiver (310), a buffer memory (315), an entropy decoder / parser (320), a scaler / inverse transform unit (351), an intra prediction unit (352), a motion compensation prediction unit (353), an aggregator (355), a loop filter unit (356), a reference picture memory (357), and a current picture memory (358). In at least one embodiment, the video decoder (210) may include an integrated circuit, a series of integrated circuits, and / or other electronic circuitry. The video decoder (210) may also be embodied partially or entirely in software running on one or more CPUs with associated memory.

[0026] In this and other embodiments, the receiver (310) may receive one or more coded video sequences to be decoded by the decoder (210), one coded video sequence at a time, with the decoding of each coded video sequence being independent of the other coded video sequences. The coded video sequences may be received from a channel (312), which may be a hardware / software link to a storage device that stores the encoded video data. The receiver (310) may receive the encoded video data along with other data, e.g., coded audio data and / or auxiliary data streams, that may be forwarded to a respective using entity (not shown). The receiver (310) may separate the coded video sequences from the other data. To combat network jitter, a buffer memory (315) may be coupled between the receiver (310) and the entropy decoder / parser (320) (hereafter "parser"). When the receiver (310) is receiving data from a store-and-forward device of sufficient bandwidth and controllability, or from an isosynchronous network, the buffer (315) may not be used or may be small. For use with best-effort packet networks such as the Internet, the buffer (315) may be required and may be relatively large and of adaptive size.

[0027] The video decoder (210) may include a parser (320) for reconstructing symbols (321) from the entropy coded video sequence. These symbol categories include, for example, information used to manage the operation of the decoder (210) and potentially information for controlling a rendering device, such as a display (212), which may be coupled to the decoder as shown in FIG. 2. The control information for the rendering device(s) may be in the form of a Supplementary Enhancement Information (SEI) message or a Video Usability Information (VUI) parameter set fragment (not shown). The parser (320) may parse / entropy decode the received coded video sequence. The coding of the coded video sequence may follow a video coding technique or standard and may follow principles well known to those skilled in the art, including variable length coding, Huffman coding, arithmetic coding with or without context dependency, etc. The parser (320) may extract from the coded video sequence a set of subgroup parameters for at least one of a subgroup of pixels in the video decoder based on at least one parameter corresponding to the group. The subgroup may include a Group of Pictures (GOP), a picture, a tile, a slice, a macroblock, a coding unit (CU), a block, a transform unit (TU), a prediction unit (PU), etc. The parser (320) may also extract information from the coded video sequence, such as transform coefficients, quantization parameter values, motion vectors, etc.

[0028] The parser (320) may perform an entropy decoding / parsing operation on the video sequence received from the buffer (315) to create symbols (321). The reconstruction of the symbols (321) may involve a number of different units depending on the type of coded video picture or portion thereof (inter and intra picture, inter and intra block, etc.), as well as other factors. Which units are involved and how they are involved may be controlled by subgroup control information parsed from the coded video sequence by the parser (320). The flow of such subgroup control information between the parser (320) and the following units is not shown for clarity.

[0029] In addition to the functional blocks already mentioned, the decoder (210) may be conceptually subdivided into several functional units, as described below. In an actual implementation operating under commercial constraints, many of these units may interact closely with each other and may be at least partially integrated with each other. However, for purposes of describing the disclosed subject matter, the following conceptual subdivision into functional units is appropriate:

[0030] One unit may be a scalar / inverse transform unit (351), which may receive quantized transform coefficients as well as control information including which transform to use, block size, quantization coefficients, quantization scaling matrices, etc. as symbol(s) (321) from the parser (320). The scalar / inverse transform unit (351) may output blocks containing sample values ​​that may be input to an aggregator (355).

[0031] In some cases, the output samples of the scaler / inverse transform (351) may relate to intra-coded blocks, i.e., blocks that do not use prediction information from a previously reconstructed picture, but can use prediction information from a previously reconstructed portion of the current picture. Such prediction information may be provided by an intra-picture prediction unit (352). In some cases, the intra-picture prediction unit (352) generates a block of the same size and shape as the block being reconstructed using surrounding already reconstructed information fetched from the current (partially reconstructed) picture from a current picture memory (358). The aggregator (355) adds, possibly on a sample-by-sample basis, the prediction information generated by the intra-prediction unit (352) to the output sample information provided by the scaler / inverse transform unit (351).

[0032] In other cases, the output samples of the scalar / inverse transform unit (351) may relate to an inter-coded, potentially motion-compensated block. In such cases, the motion compensated prediction unit (353) may access the reference picture memory (357) to fetch samples used for prediction. After motion compensating the fetched samples according to the symbols (321) associated with the block, these samples may be added to the output of the scalar / inverse transform unit (351) by the aggregator (355) to generate output sample information (in this case referred to as residual samples or residual signals). The addresses in the reference picture memory (357) from which the motion compensated prediction unit (353) fetches the prediction samples may be controlled by a motion vector. The motion vector may be available to the motion compensated prediction unit (353) in the form of a symbol (321), which may have, for example, X, Y, and reference picture components. Motion compensation may also include interpolation of sample values ​​fetched from the reference picture memory (357) when sub-sample accurate motion vectors are used, motion vector prediction mechanisms, etc.

[0033] The output samples of the aggregator (355) may be subjected to various loop filtering techniques in a loop filter unit (356). Video compression techniques may include in-loop filter techniques controlled by parameters contained in the coded video bitstream and made available to the loop filter unit (356) as symbols (321) from the parser (320), but may also be responsive to meta-information obtained during decoding of a previous portion (in decoding order) of the coded picture or coded video sequence, or may be responsive to previously reconstructed and loop filtered sample values.

[0034] The output of the loop filter unit (356) may be a sample stream that may be output to a rendering device, such as a display (212), and may also be stored in a reference picture memory (357) for use in future inter-picture prediction.

[0035] Once fully reconstructed, a particular coded picture may be used as a reference picture for future prediction. Once a coded picture is fully reconstructed and the coded picture has been identified as a reference picture (e.g., by the parser (320)), the current reference picture may become part of the reference picture memory (357), and a new current picture memory may be reallocated before beginning reconstruction of the next coded picture.

[0036] The video decoder (210) may perform decoding operations according to a given video compression technique, which may be documented in a standard such as ITU-T Rec. H.265. The coded video sequence may comply with a syntax specified in the video compression technique or standard being used, in the sense that the coded video sequence complies with the syntax of the video compression technique or standard as specified in the video compression technique document or standard, particularly in the profile documents therein. Also, to comply with some video compression techniques or standards, the complexity of the coded video sequence may be within a range prescribed by the level of the video compression technique or standard. In some cases, the level limits a maximum picture size, a maximum frame rate, a maximum reconstruction sample rate (e.g., measured in megasamples per second), a maximum reference picture size, etc. The limits set by the level may be further limited in some cases by the specification of a hypothetical reference decoder (HRD) and metadata for HRD buffer management signaled within the coded video sequence.

[0037] In one embodiment, the receiver (310) may receive additional (redundant) data along with the encoded video. The additional data may be included as part of the coded video sequence(s). The additional data may be used by the video decoder (210) to properly decode the data and / or to more accurately reconstruct the original video data. The additional data may be in the form of, for example, a temporal layer, a spatial layer, or an SNR enhancement layer, redundant slices, redundant pictures, forward error correction codes, etc.

[0038] 4 shows an example functional block diagram of a video encoder (203) associated with a video source (201) according to one embodiment of this disclosure. The video encoder (203) may include an encoder, e.g., a source coder (430), a coding engine (432), a (local) decoder (433), a reference picture memory (434), a predictor (435), a transmitter (440), an entropy coder (445), a controller (450), and a channel (460).

[0039] The encoder (203) may receive video samples from a video source (201) (not part of the encoder) that may capture the video image(s) to be coded by the encoder (203). The video source (201) may provide a source video sequence to be coded by the encoder (203) in the form of a digital video sample stream that may be of any suitable bit depth (e.g., 8-bit, 10-bit, 12-bit, ...), any color space (e.g., BT.601 Y CrCB, RGB, ...) and any suitable sampling structure (e.g., Y CrCb 4:2:0, Y CrCb 4:4:4). In a media serving system, the video source (201) may be a storage device that stores previously prepared video. In a video conferencing system, the video source (203) may be a camera that captures local image information as a video sequence. The video data may be provided as multiple individual pictures that give motion when viewed in sequence. The picture itself may be organized as a spatial array of pixels, where each pixel may contain one or more samples, depending on the sampling structure, color space, etc. used. Those skilled in the art can readily understand the relationship between pixels and samples. The following discussion focuses on samples.

[0040] According to one embodiment, the encoder (203) may code and compress pictures of a source video sequence into a coded video sequence (443) in real time or under any other time constraint required by the application. Enforcing an appropriate coding rate is one function of the controller (450). The controller (450) may also control and be operatively coupled to other functional units as described below. Coupling is not shown for clarity. Parameters set by the controller (450) may include rate control related parameters (picture skip, quantizer, lambda value for rate distortion optimization techniques, etc.), picture size, Group of Pictures (GOP) layout, maximum motion vector search range, etc. Those skilled in the art can readily identify other functions of the controller (450) as they may pertain to a video encoder (203) optimized for a particular system design.

[0041] Some video encoders operate in what those skilled in the art will easily recognize as a "coding loop." As an oversimplified explanation, the coding loop can consist of an encoding part of a source coder (430) (responsible for creating symbols based on the input picture to be coded and the reference picture(s)) and a (local) decoder (433) built into the encoder (203) that reconstructs the symbols to create sample data that a (remote) decoder would also create when the compression between the symbols and the coded video bitstream is lossless in a particular video compression technique. The reconstructed sample stream can be input to a reference picture memory (434). The decoding of the symbol stream results in a bit-exact result regardless of the location of the decoder (local or remote), so the contents of the reference picture memory are also bit-exact between the local and remote encoders. In other words, the predictive part of the encoder "sees" exactly the same sample values ​​as the decoder would "see" when using prediction during decoding as reference picture samples. This basic principle of reference picture synchrony (and the resulting drift if synchrony cannot be maintained, for example due to channel errors) is known to those skilled in the art.

[0042] The operation of the "local" decoder (433) may be the same as that of the "remote" decoder (210), which has already been described in detail above in connection with Figure 3. However, because symbols are available and the encoding / decoding of symbols into a coded video sequence by the entropy coder (445) and parser (320) may be lossless, the entropy decoding portion of the decoder (210), including the channel (312), receiver (310), buffer (315), and parser (320), may not be fully implemented in the local decoder (433).

[0043] An observation that can be made at this point is that any decoder technique, except for parsing / entropy decoding, present in the decoder may need to be present in substantially the same functional form in the corresponding encoder. For this reason, the disclosed subject matter focuses on the operation of the decoder. Descriptions of encoder techniques may be omitted, as they may be the inverse of the decoder techniques described generically. Only in certain areas are more detailed descriptions required and are provided below.

[0044] As part of its operation, the source coder (430) may perform motion-compensated predictive coding, which predictively codes an input frame with reference to one or more previously coded frames from the video sequence designated as “reference frames.” In this manner, the coding engine (432) codes differences between pixel blocks of the input frame and pixel blocks of reference frame(s) that may be selected as the predictive reference(s) to the input frame.

[0045] The local video decoder (433) may decode the coded video data of frames that may be designated as reference frames based on symbols created by the source coder (430). The operation of the coding engine (432) may advantageously be a lossy process. When the coded video data may be decoded in a video decoder (not shown in FIG. 4), the reconstructed video sequence may be a copy of the source video sequence, usually with some errors. The local video decoder (433) may replicate the decoding process that may be performed by the video decoder on the reference frames and store the reconstructed reference frames in the reference picture memory (434). In this way, the encoder (203) may locally store copies of reconstructed reference frames that have common content with the reconstructed reference frames obtained by the far-end video decoder (without transmission errors).

[0046] The predictor (435) may perform a predictive search for the coding engine (432). That is, for a new frame to be coded, the predictor (435) may search the reference picture memory (434) for sample data (as candidate reference pixel blocks) or specific metadata such as reference picture motion vectors, block shapes, etc. that may serve as suitable predictive references for the new picture. The predictor (435) may operate on one sample block per pixel block to find a suitable predictive reference. In some cases, as determined by the search results obtained by the predictor (435), the input picture may have predictive references drawn from multiple reference pictures stored in the reference picture memory (434).

[0047] The controller (450) may manage the coding operations of the video coder (430), including, for example, setting parameters and subgroup parameters used to encode the video data. The output of all the aforementioned functional units may be entropy coded in the entropy coder (445). The entropy coder converts the symbols produced by the various functional units into a coded video sequence by losslessly compressing the symbols according to techniques known to those skilled in the art, such as, for example, Huffman coding, variable length coding, arithmetic coding, etc.

[0048] The transmitter (440) may buffer the coded video sequence(s) created by the entropy coder (445) in preparation for transmission over a communication channel (460), which may be a hardware / software link to a storage device that will store the encoded video data. The transmitter (440) may merge the coded video data from the video coder (430) with other data to be transmitted, such as coded audio data and / or an auxiliary data stream (source not shown). The controller (450) may manage the operation of the encoder (203). During coding, the controller (450) may assign a particular coded picture type to each coded picture, which may affect the coding technique that may be applied to the respective picture. For example, pictures may often be assigned as intra-pictures (I-pictures), predicted pictures (P-pictures), or bidirectionally predicted pictures (B-pictures).

[0049] An intra picture (I-picture) may be a picture that can be coded and decoded without using any other frame in a sequence as a source of prediction. Some video codecs allow various types of intra pictures, including, for example, independent decoder refresh (IDR) pictures. Those skilled in the art are aware of these variations of I-pictures, as well as their respective uses and characteristics.

[0050] A predictive picture (P picture) may be a picture that can be coded and decoded using intra- or inter-prediction, which uses at most one motion vector and reference index to predict sample values ​​for each block.

[0051] A bidirectionally predicted picture (B-picture) may be one that can be coded and decoded using intra- or inter-prediction that uses up to two motion vectors and reference indices to predict the sample values ​​of each block. Similarly, a multi-predicted picture may use more than two reference pictures and associated metadata for the reconstruction of a single block.

[0052] A source picture may generally be spatially subdivided into multiple sample blocks (e.g., blocks of 4x4, 8x8, 4x8, or 16x16 samples each) and coded block by block. Blocks may be predictively coded with reference to other (already coded) blocks as determined by the coding assignment applied to the block's respective picture. For example, blocks of an I-picture may be non-predictively coded or predictively coded with reference to already coded blocks of the same picture (spatial or intra prediction). Pixel blocks of a P-picture may be non-predictively coded via spatial prediction or via temporal prediction with reference to one previously coded reference picture. Pixel blocks of a B-picture may be non-predictively coded via spatial prediction or via temporal prediction with reference to one or two previously coded reference pictures.

[0053] The video coder (203) may perform coding operations in accordance with a given video coding technique or standard, such as ITU-T Rec. H.265. In its operations, the video coder (203) may perform various compression operations, including predictive coding operations that exploit temporal and spatial redundancy in the input video sequence. Thus, the coded video data may conform to a syntax specified by the video coding technique or standard being used.

[0054] In one embodiment, the transmitter (440) may transmit additional data along with the encoded video. The video coder (430) may include such data as part of the coded video sequence. The additional data may include temporal / spatial / SNR enhancement layers, other forms of redundant data such as redundant pictures and slices, Supplemental Enhancement Information (SEI) messages, Visual Usability Information (VUI) parameter set fragments, etc.

[0055] Before describing certain aspects of the embodiments of the present disclosure in more detail, certain terms that will be referenced in the remainder of the specification are introduced below.

[0056] A "subpicture" hereafter refers to a rectangular arrangement of samples, blocks, macroblocks, coding units, or similar entities that may be semantically grouped and coded independently at a modified resolution, possibly. One or more subpictures may form a picture. One or more coded subpictures may form a coded picture. One or more subpictures may be assembled into a picture, and one or more subpictures may be extracted from a picture. In certain circumstances, one or more coded subpictures may be assembled in the compressed domain without transcoding to the coded picture to the sample level, and in the same or certain other cases, one or more coded subpictures may be extracted from a coded picture in the compressed domain.

[0057] "Adaptive Resolution Change" (ARC) hereinafter refers to a mechanism that enables changing the resolution of pictures or sub-pictures in a coded video sequence, e.g., by resampling of reference pictures. "ARC parameters" hereinafter refers to the control information needed to make adaptive resolution changes, and may include, e.g., filter parameters, scaling factors, output and / or reference picture resolutions, various control flags, etc.

[0058] VP9 supports eight directional modes, corresponding to angles from 45 degrees to 207 degrees. To exploit more diverse spatial redundancy in directional textures, in AV1, the directional intra modes are extended to set angles with finer granularity, as shown in Figure 5. The original eight angles are slightly modified and made nominal angles, and these eight nominal angles are named V_PRED (501), H_PRED (502), D45_PRED (503), D135_PRED (504), D113_PRED (505), D157_PRED (506), D203_PRED (507), and D67_PRED (508). For each nominal angle, it has seven finer angles, so AV1 has a total of 56 directional angles. The predicted angles may be presented as the nominal intra angles plus an angle delta, which is -3 to 3 times the step size of 3 degrees. In AV1, the eight nominal modes may be signaled first along with the five non-angle smooth modes, and then, if the current mode is an angular mode, an index may be further signaled to indicate the angle delta to the corresponding nominal angle. To implement directional prediction modes in AV1 in a common way, all 56 directional intra prediction modes of AV1 are implemented with a unified directional predictor that projects each pixel to a reference sub-pixel position and interpolates the reference pixels by a two-tap bilinear filter.

[0059] AV1 has five non-directional smooth intra prediction modes: DC, PAETH, SMOOTH, SMOOTH_V, and SMOOTH_H. In DC prediction, the average value of the left and top neighboring samples is used as the predictor of the block to be predicted. For PAETH predictor, the top, left, and top-left reference samples are fetched first, and then the closest value (top+left-top-left) is set as the predictor of the pixel to be predicted. Figure 6 shows the location of the top (601), left (602), and top-left (603) samples of one pixel (600) in the current block. For SMOOTH, SMOOTH_V, and SMOOTH_H modes, they predict the block using quadratic interpolation in the vertical or horizontal direction, or the average value in both directions.

[0060] To capture the decaying spatial correlation with the reference on the edge, FILTER INTRA mode is designed for luma blocks. For AV1, five filter intra modes are pre-designed, each represented by a set of eight 7-tap filters that reflect the correlation of a pixel in a 4×2 patch with its seven adjacent neighbors. In other words, the weighting coefficients of the 7-tap filters are position dependent. For example, take an 8×8 block, which is divided into eight 4×2 patches, which are shown in FIG. 7. These patches are denoted as B0 (700), B1 (701), B2 (702), B3 (703), B4 (704), B5 (705), B6 ​​(706), and B7 (707) in FIG. 7. For each patch, the corresponding seven neighbors, denoted as R0-R6, may be used to predict the pixel in the current patch. For patch B0 (700), all the neighbors may already be reconstructed. However, for other patches, some of the neighbors may not have been reconstructed, in which case the predicted values ​​of the nearest neighbors are used as references. For example, not all the neighbors of patch B7 (707) have been reconstructed, so the predicted samples of the neighbors are used instead.

[0061] In some embodiments, chroma from luma (CfL) is a chroma-only intra predictor that models chroma pixels as linear functions of the corresponding reconstructed luma pixels. CfL prediction is expressed as follows: CfL(α)=α×L AC +DC formula (1) However, L AC represents the AC contribution of the luma component, α represents the parameter of the linear model, and DC represents the DC contribution of the chroma component. For this, the reconstructed luma pixels are subsampled to the chroma resolution and then the average value is subtracted to form the AC contribution. Rather than requiring the decoder to calculate scaling parameters to approximate the chroma AC components from the AC contributions, as in some prior art, AV1 CfL determines the parameters α based on the original chroma pixels and signals them in the bitstream. This reduces the decoder complexity and obtains a more accurate prediction. For the DC contribution of the chroma components, it is calculated using an intra DC mode, which is sufficient for most chroma content and has a mature and fast implementation.

[0062] In AV1, CIIP modes combine intra prediction and inter prediction to arrive at a final predicted block. Intra prediction can be done using DC, V_PRED, H_PRED, and SMOOTH modes. Intra and inter prediction can be combined using a wedge mask that divides the block into two sections at various angles. One section may be filled with intra predicted samples and the other section with inter predicted samples, and a predefined weight set gradually decreases the intra prediction weight along its prediction direction. CIIP modes can be listed in Figure 8. In combined intra prediction modes, a predicted block is derived as a combination of intra prediction and inter prediction. Intra prediction blocks are derived using intra prediction with DC_PRED, V_PRED, H_PRED, SMOOTH modes as prediction modes, and inter prediction blocks are derived using single reference inter prediction with translational motion. Depending on how the weightings are derived for the intra- and inter-prediction samples, two hybrid intra-prediction modes may be applied, including a regular intra-prediction mode and a wedge-based intra-prediction mode.

[0063] For different intra prediction modes, the weighting may be derived differently, and the weighting value decreases along the prediction direction. More specifically, the weighting applied to the intra prediction sample P0(x,y) is written as follows:

number

[0064] In some embodiments, the hybrid inter and intra prediction may also be applied using a wedge-based weighting scheme. More specifically, the prediction block may be a combination of intra-predicted and inter-predicted blocks, and the weighting may be specified using a wedge partition pattern specified by a signaled syntax wedge_index that specifies an index of the wedge partition pattern ranging from 0 to 15. Unlike the normal wedge-based motion prediction mode, in the wedge-based intra motion prediction mode, the value of wedge_sign that specifies the partition with the dominant weighting is not signaled, but derived.

[0065] In the composite wedge-based prediction mode, for each block size, a set of 16 predefined two-dimensional weighting arrays may be hard-coded. In each array, the weights may be arranged to support a predefined wedge partition pattern. In each wedge partition pattern, two wedge partitions may be specified along a particular edge direction and position. For samples located in one of the two wedge partitions, the weights may be mostly set to 64. For samples located in the other of the two wedge partitions, the weights may be set to 0. Along the wedge partition boundaries, the weights may be set to values ​​between 0 and 64 according to a predefined lookup table.

[0066] In wedge-based prediction mode, two syntax elements may be defined: wedge_index, which specifies the wedge partition pattern index (ranging from 0 to 15), and wedge_sign, which specifies which of the two partitions should be assigned to which prediction.

[0067] In the normal CIIP mode of AV1, the weights applied to intra and inter prediction of each sample are fixed values. However, for different coding blocks, more flexible weights can better adapt the statistics and potentially achieve better coding performance.

[0068] The embodiments of the present disclosure are directed to being used separately or combined in any order. More specifically, the embodiments of the present disclosure are directed to methods that may be applied to different video coding standards such as VP9, ​​AV1, AV2, AVS3, HEVC and VVC.

[0069] The term block may be interpreted as a coding block, a prediction block, or a transformation block. The block size may refer to either the width or height of the block, or the maximum value of the width and height, or the minimum value of the width and height, or the area size of the block (width*height), or the aspect ratio (width:height, or height:width).

[0070] The term chroma channel, in some embodiments, includes both the Cb and Cr color components, or both the U and V color components, and the term luma channel, in some embodiments, includes the luma color component or the Y color component.

[0071] In some embodiments, adaptive weighting may be applied to intra and inter predictors in CIIP mode, and the weighting may be derived or ranked or signaled using neighboring reconstructed / predicted samples. In some embodiments, a template region of neighboring reconstructed / predicted samples may be defined as shown in FIG. 10. Multiple weighting candidates may be applied to this template region to generate a predicted sample using CIIP, and then a cost value may be calculated for each weighting candidate, and the weighting that provides the minimum cost may be selected as the weighting used to encode the current block in CIIP mode.

[0072] In some embodiments, the template region includes the top M rows and left N columns of reconstructed samples. Exemplary values ​​of M and N include, but are not limited to, 1, 2, 3, 4, 5, 6, 7, 8.... In one example, as shown in Figure 10 above, the template region may include a combination of top, left and top-left neighboring reconstructed samples, or the template region may further include a combination of top-right and bottom-left neighboring reconstructed samples.

[0073] In some embodiments, the cost value may be defined as the prediction error (e.g., sum of squared errors, sum of absolute differences) between the reconstructed samples in the template region and the predicted samples in the template region generated by weighted intra- and inter-prediction using the weighting candidates. In one example, the weighting candidates are {a / N, (Na) / N } where a / N may be a weighting applied to the intra predictor and (Na) / N may be a weighting applied to the inter predictor. Exemplary values ​​of the parameter a include 1, 2, ..., N-1. Exemplary values ​​of N include, but are not limited to, 2, 4, 8, 16, 32, 64, 128.

[0074] In some embodiments, a template region of neighboring reconstructed samples may be defined, and then multiple weighting candidates may be applied to this template region to generate a predicted sample using CIIP, and then a cost value may be calculated, which may be used to rank the weighting candidates. The ranked index of the weighting candidates may be signaled in the bitstream to identify which weighting is applied for encoding.

[0075] In some embodiments, both adaptive weighting candidates and constant weighting can be applied in CIIP mode. Adaptive weighting means that the weighting between intra-predicted values ​​and inter-predicted values ​​can change depending on the sample position. Constant weighting means that the weighting can be the same value regardless of the sample position within the prediction block.

[0076] In some embodiments, the choice between sample adaptive weighting and constant weighting may be explicitly signaled. The adaptive weighting may be derived in the same manner as in the normal CIIP mode of AV1. The adaptive weighting may be derived using a look-up table (LUT). For example, multiple block size and mode dependent LUTs may be defined. The sample position may be used to derive an index to the weighting defined in the LUT.

[0077] In some embodiments, in the case of constant weighting, the weighting may be predefined or explicitly signaled with an index specifying a selected weighting, or may be implicitly derived based on neighboring coded information, including but not limited to neighboring reconstructed samples, whether the neighboring blocks are coded in intra or inter prediction mode or CIIP mode, and neighboring CIIP weighting.

[0078] FIG. 11 shows a flow chart of one embodiment of a process 1100 for deriving weighting between intra-predicted samples and inter-predicted samples for a hybrid inter-intra prediction mode. The process (1100) may be performed by a decoder, such as the decoder (210). The process may begin at operation (1101) where a template region of neighboring reconstructed or predicted samples is defined. The process proceeds to operation (1102) where one or more adaptive weighting candidates are applied to the template region. The adaptive weighting candidates are used to generate one or more predicted samples using a CIIP.

[0079] The process proceeds to operation (1103) where a cost value for each of one or more candidate adaptive weightings is calculated. The process proceeds to operation (1104) where the candidate adaptive weighting that provides the lowest cost is selected as the weighting to be used to decode the block using CIIP. The process proceeds to operation (1105) where the block based on the selected weightings is decoded.

[0080] The techniques of the embodiments of the present disclosure described above can be implemented as computer software using computer-readable instructions and physically stored on one or more computer-readable media. For example, FIG. 12 shows a computer system (1200) suitable for implementing embodiments of the disclosed subject matter.

[0081] Computer software can be coded using any suitable machine code or computer language, which may follow mechanisms of assembly, compilation, linking, etc. to produce code containing instructions that can be executed by a computer central processing unit (CPU), graphics processing unit (GPU), etc., directly, or via interpretation, microcode execution, etc.

[0082] The instructions may be executed on various types of computers or components thereof, including personal computers, tablet computers, servers, smartphones, gaming consoles, Internet of Things devices, and the like.

[0083] 12 with respect to computer system (1200) are exemplary in nature and are not intended to suggest any limitation as to the scope of use or functionality of the computer software implementing the embodiments of the present disclosure, nor should the configuration of components be interpreted as having any dependency or requirement regarding any one or combination of components shown in the exemplary embodiment of computer system (1200).

[0084] The computer system (1200) may include certain human interface input devices. Such human interface input devices may respond to input by one or more human users through, for example, tactile input (keystrokes, swipes, data glove movements, etc.), audio input (voice, clapping, etc.), visual input (gestures, etc.), olfactory input (not shown). The human interface devices may further be used to capture some media that do not necessarily directly involve conscious input by a person, such as audio (speech, music, ambient sounds, etc.), images (scanned images, photographic images captured by still cameras, etc.), and video (two-dimensional video, three-dimensional video including stereoscopic video, etc.).

[0085] The input human interface devices may include one or more (only one of each is shown) of a keyboard (1201), a mouse (1202), a trackpad (1203), a touch screen (1210), a data glove, a joystick (1205), a microphone (1206), a scanner (1207), and a camera (1208).

[0086] The computer system (1200) may also include some human interface output devices. Such human interface output devices may stimulate one or more of the senses of a human user, for example, through haptic output, sound, light, and smell / taste. Such human interface output devices may include haptic output devices (e.g., haptic feedback via a touch screen (1210), data gloves, or joystick (1205), although there may also be haptic feedback devices that do not function as input devices). For example, such devices may be audio output devices (such as speakers (1209), headphones (not shown)), visual output devices (such as screens (1210), including CRT screens, LCD screens, plasma screens, OLED screens, each with or without touch screen input capability, each with or without haptic feedback capability, some of which may output two-dimensional visual output or output in more than three dimensions, such as through means of stereographic output, virtual reality glasses (not shown), holographic displays, and smoke tanks (not shown)), and printers (not shown).

[0087] The computer system (1200) may also include human-accessible storage devices and their associated media, such as optical media, including CD / DVD ROM / RW (1220) with CD / DVD or similar media (1221), thumb drives (1222), removable hard drives or solid state drives (1223), legacy magnetic media, such as tape or floppy disks (not shown), and dedicated ROM / ASIC / PLD based devices, such as security dongles (not shown).

[0088] Those skilled in the art should further appreciate that the term "computer-readable medium" as used with respect to the subject matter disclosed herein does not include transmission media, carrier waves or other transitory signals.

[0089] The computer system (1200) may also include interfaces to one or more communication networks. The networks may be, for example, wireless, wired, optical. The networks may further be local, wide area, metropolitan, vehicular and industrial, real-time, delay tolerant, and the like. Examples of networks include local area networks such as Ethernet, cellular networks including wireless LAN, GSM, 3G, 4G, 5G, LTE, and the like, television wired or wireless wide area digital networks including cable television, satellite television and terrestrial television, vehicular and industrial including CANBus, and the like. Certain networks generally require an external network interface adapter connected to a particular general-purpose data port or peripheral bus (1249) (e.g., a USB port on the computer system (1200)), while others are generally integrated into the core of the computer system (1200) by connection to a system bus as described below (e.g., an Ethernet interface to a PC computer system or a cellular network interface to a smartphone computer system). Using any of these networks, the computer system (1200) can communicate with its counterparts. Such communications may be unidirectional, receive only (e.g., broadcast television), transmit only unidirectional (e.g., CANbus to a particular CANbus device), or bidirectional, for example, to other computer systems using local or wide area digital networks. Such communications may include communications to a cloud computing environment (1255). Specific protocols and protocol stacks may be used in each of those networks and network interfaces, as described above.

[0090] The aforementioned human interface devices, human accessible storage devices, and network interfaces (1254) may be connected to the core (1240) of the computer system (1200).

[0091] The core (1240) may include one or more central processing units (CPUs) (1241), graphics processing units (GPUs) (1242), specialized programmable processing units in the form of field programmable gate areas (FPGAs) (1243), hardware accelerators for specific tasks (1244), and the like. These devices may be connected through a system bus (1248) along with read only memory (ROM) (1245), random access memory (1246), internal mass storage (1247) such as an internal hard drive or SSD that is not accessible to the user. In some computer systems, the system bus (1248) may be accessible in the form of one or more physical plugs, allowing expansion with additional CPUs, GPUs, and the like. Peripheral devices may be attached directly to the core's system bus (1248) or through a peripheral bus (1249). Architectures for peripheral buses include PCI, USB, and the like. A graphics adapter (1250) may be included in the core (1240).

[0092] The CPU (1241), GPU (1242), FPGA (1243) and accelerator (1244) can execute a number of instructions that can combine to form the above computer code. The computer code can be stored in ROM (1245) or RAM (1246). Persistent data can be stored, for example, in internal mass storage (1247), while transient data can also be stored in RAM (1246). Fast storage and retrieval from any of the memory devices can be made possible by using cache memory, which can be closely associated with one or more of the CPU (1241), GPU (1242), mass storage (1247), ROM (1245), RAM (1246), etc.

[0093] The computer-readable medium can bear computer code for performing various computer-implemented operations. The medium and computer code can be those specially designed and constructed for the purposes of the present disclosure, or they can be of the kind well known and available to those skilled in the computer software arts.

[0094] By way of example and not of limitation, the computer system (1200) having the architecture, and in particular the core (1240), may perform functions as a result of the processor (including CPU, GPU, FPGA, accelerator, etc.) executing software embodied in one or more tangible computer-readable media. Such computer-readable media may be media associated with the user-accessible mass storage introduced above, but may also be specific storage of the core (1240) that has a non-transitory nature, such as the core internal mass storage (1247) or ROM (1245). Software implementing various embodiments of the present disclosure may be stored in such devices and executed by the core (1240). The computer-readable media may include one or more memory devices or chips depending on the particular requirements. The software may cause the core (1240), and in particular the processor (including CPU, GPU, FPGA, etc.) within the core (1240), to perform a particular process or a particular part of a particular process as described herein, including determining data structures stored in RAM (1246) and modifying such data structures according to the process defined by the software. Additionally or alternatively, the computer system may perform functions as a result of hard-wired logic or may be otherwise implemented in circuitry (e.g., accelerator (1244)) that may act in place of or cooperate with software to perform particular processes or portions of particular processes described in this application. References to "software" may encompass logic, and vice versa, where appropriate. References to computer-readable media may encompass circuitry (such as integrated circuits (ICs)) that stores software for execution, circuitry that embodies logic for execution, or both, where appropriate. The present disclosure encompasses any suitable combination of hardware and software.

[0095] The foregoing disclosure provides illustration and description, but is not intended to be exhaustive or to limit the implementations to the precise forms disclosed. Modifications and variations are possible in light of the above disclosure or may be acquired from practice of the implementations.

[0096] It is understood that the particular order or hierarchy of blocks within the processes / flowcharts disclosed herein is illustrative of example approaches. Based on design preferences, it is understood that the particular order or hierarchy of blocks within the processes / flowcharts may be rearranged. Also, some blocks may be combined or omitted. The accompanying method claims present elements of the various blocks in a sample order, and are not meant to be limited to the particular order or hierarchy presented.

[0097] Some embodiments may relate to systems, methods, and / or computer-readable media at any possible level of integration of technical details. Furthermore, one or more of the above-mentioned components may be implemented as instructions stored on a computer-readable medium and executable by at least one processor (and / or may include at least one processor). The computer-readable medium may include a computer-readable non-transitory storage medium having computer-readable program instructions for causing a processor to perform operations.

[0098] A computer-readable storage medium can be a tangible device that can hold and store instructions for use by an instruction execution device. A computer-readable storage medium can be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. A non-exhaustive list of more specific examples of computer-readable storage media includes the following: portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital versatile disks (DVDs), memory sticks, floppy disks, mechanically encoded devices such as punch cards or ridge structures in grooves with instructions recorded on them, and any suitable combination of the above. As used herein, a computer-readable storage medium should not be construed as a transitory signal per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., light pulses passing through a fiber optic cable), or electrical signals transmitted over electrical wires.

[0099] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium into each computing / processing device, or can be downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical transmission fiber, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing / processing device.

[0100] The computer readable program code / instructions for performing the operations may be either assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, configuration data for an integrated circuit, or source or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk or C++, and procedural programming languages ​​such as the "C" programming language or similar programming languages. The computer readable program instructions may execute entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or wide area network (WAN), or a connection may be made to an external computer (e.g., via the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may execute computer-readable program instructions by utilizing state information of the computer-readable program instructions to personalize the electronic circuitry to perform a behavior or operation.

[0101] These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to generate a machine such that the instructions, executed by the processor of the computer or other programmable data processing apparatus, create means for implementing the functions / acts specified in the flowchart and / or block diagram blocks. These computer-readable program instructions may also be stored on a computer-readable storage medium that may direct a computer, programmable data processing apparatus, and / or other device to function in a particular manner, such that the computer-readable storage medium having stored instructions includes an article of manufacture including instructions that implement aspects of the functions / acts specified in the flowchart and / or block diagram blocks.

[0102] The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device such that a series of operational steps are performed on the computer, other programmable apparatus, or other device to generate a computer-implemented process such that the instructions, executing on the computer, other programmable apparatus, or other device, implement the functions / acts specified in the flowchart and / or block diagram blocks.

[0103] The flowcharts and block diagrams in the drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer-readable media according to various embodiments. In this regard, each block in the flowcharts or block diagrams may represent a module, segment, or part of an instruction that includes one or more executable instructions for implementing a specified logical function. The methods, computer systems, and computer-readable media may include additional, fewer, different, or differently arranged blocks compared to those shown in the figures. In some alternative implementations, the functions described in the blocks may be performed in a different order than described in the figures. For example, two blocks shown in succession may actually be executed simultaneously or substantially simultaneously, or the blocks may be executed in reverse order, depending on the functionality involved. It should also be noted that each block of the block diagrams and / or flowchart diagrams, as well as combinations of blocks in the block diagrams and / or flowchart diagrams, may be implemented by a dedicated hardware-based system that performs the specified functions or operations or realizes a combination of dedicated hardware and computer instructions.

[0104] It will be apparent that the systems and / or methods described herein may be implemented in different forms of hardware, firmware, or a combination of hardware and software. The actual dedicated control hardware or software code used to implement these systems and / or methods is not intended to limit the embodiments. Thus, the operation and behavior of the systems and / or methods are described herein without reference to specific software code, and it will be understood that software and hardware can be designed to implement the systems and / or methods based on the description herein.

[0105] Abbreviation: AOMedia Video 1 HEVC: High Efficiency Video Coding VVC: Versatile Video Coding CfL: Chroma from Luma SDT: Semi Decoupled Tree SDP: Semi Decoupled Partitioning SB: Super Block MRLS: Multiple Reference Line Selection MRLP: Multiple Reference Line Prediction CDF: Cumulative Density Function

[0106] The above disclosure also encompasses the embodiments listed below.

[0107] (1) A method performed by one or more processors in a video decoder, comprising: receiving a coded video bitstream including a current picture; for a block included in the current picture, defining a template region of reconstructed or predicted samples in a neighborhood of the block; applying one or more adaptive weighting candidates to the template region to generate one or more predicted samples using a hybrid inter-intra prediction mode; calculating a cost value for each of the one or more adaptive weighting candidates; selecting an adaptive weighting candidate from the one or more adaptive weighting candidates that provides the lowest cost as a weighting to be used for decoding the block; and decoding the block based on the selected adaptive weighting and the generated one or more predicted samples.

[0108] (2) The method of feature (1), wherein the one or more adaptive weighting candidates are derived, ranked, or signaled using one or more nearby reconstruction or prediction samples.

[0109] (3) The method of any one of features (1) to (2), wherein the template region includes the top M rows and left N columns of the reconstructed samples.

[0110] (4) The method according to feature (3), wherein the reconstructed samples of the template region include one or more combinations of neighboring reconstructed samples above, to the left, and to the top left, and a combination of neighboring reconstructed samples above, to the right, and to the bottom left.

[0111] (5) The method according to feature (3), wherein the cost value is defined as a prediction error between reconstructed samples within the template region, and the predicted samples within the template region are generated by weighted intra- and inter-prediction using selected adaptive weighting candidates.

[0112] (6) One or more adaptive weight candidates are {a / N,(Na) / N } wherein a / N is a weighting applied to intra-predicted blocks and (Na) / N is a weighting applied to inter-predicted blocks.

[0113] (7) The method of any one of features (1) to (6), wherein the cost values ​​are used to calculate a ranked index of one or more adaptive weighting candidates, and the ranked index is signaled in the bitstream to identify which weighting is applied for encoding.

[0114] (8) The method according to any one of features (1) to (7), wherein the one or more adaptive weighting candidates are applied together with a constant weighting in a mixed inter-intra prediction mode.

[0115] (9) The method of feature (8), wherein the one or more adaptive weighting candidates are derived using a lookup table.

[0116] (10) An apparatus comprising at least one memory configured to store computer program code; and at least one processor configured to access the computer program code and operate as instructed by the computer program code, the computer program code including: a receiving code configured to cause the at least one processor to receive a coded video bitstream including a current picture; a defining code configured to cause the at least one processor to define, for a block included in the current picture, a template region of reconstructed or predicted samples in a neighborhood of the block; an applying code configured to cause the at least one processor to apply one or more adaptive weighting candidates to the template region to generate one or more predicted samples using a hybrid inter-intra prediction mode; a calculating code configured to cause the at least one processor to calculate a cost value for each of the one or more adaptive weighting candidates; a selecting code configured to cause the at least one processor to select an adaptive weighting candidate from the one or more adaptive weighting candidates that provides a lowest cost as a weighting to be used to decode the block; and a decoding code configured to cause the at least one processor to decode the block based on the selected adaptive weighting and the generated one or more predicted samples.

[0117] (11) The apparatus of feature (10), wherein the one or more adaptive weighting candidates are derived, ranked, or signaled using one or more neighboring reconstructed or predicted samples.

[0118] (12) The apparatus of feature (10) or (11), wherein the template region includes the top M rows and left N columns of the reconstructed samples.

[0119] (13) The apparatus of feature (12), wherein the reconstructed samples of the template region include a combination of neighboring reconstructed samples above, to the left, and to the top left, and a combination of neighboring reconstructed samples above, to the right, and to the bottom left.

[0120] (14) The apparatus of feature (12), wherein the cost value is defined as a prediction error between reconstructed samples within the template region, the predicted samples within the template region being generated by weighted intra and inter prediction using the selected adaptive weighting candidates.

[0121] (15) One or more adaptive weight candidates are {a / N,(Na) / N } wherein a / N is a weighting applied to intra-predicted blocks and (Na) / N is a weighting applied to inter-predicted blocks.

[0122] (16) The apparatus of any one of features (10) to (15), wherein the cost values ​​are used to calculate a ranked index of one or more adaptive weighting candidates, and the ranked index is signaled in a bitstream to identify which weighting is applied for encoding.

[0123] (17) The device according to any one of features (10) to (16), wherein the one or more adaptive weighting candidates are applied together with a constant weighting in a mixed inter-intra prediction mode.

[0124] (18) The method of feature (17), wherein the one or more adaptive weighting candidates are derived using a lookup table.

[0125] (19) A non-transitory computer-readable medium having stored thereon computer instructions that, when executed by at least one processor, cause the at least one processor to receive a coded video bitstream including a current picture, define, for a block included in the current picture, a template region of reconstructed or predicted samples in a neighborhood of the block, apply one or more adaptive weighting candidates to the template region to generate one or more predicted samples using a hybrid inter-intra prediction mode, calculate a cost value for each of the one or more adaptive weighting candidates, select an adaptive weighting candidate from the one or more adaptive weighting candidates that provides a lowest cost as a weighting to be used for decoding the block, and decode the block based on the selected adaptive weighting and the generated one or more predicted samples.

[0126] (20) The non-transitory computer-readable medium of feature (19), wherein the one or more adaptive weighting candidates are derived, ranked, or signaled using one or more neighboring reconstructed or predicted samples. [Explanation of symbols]

[0127] 100 communication system, 110 first terminal, 120 second terminal, 130 terminal, 140 terminal, 150 network, 200 streaming system, 201 video source, 202 uncompressed video sample stream, 203 encoder, 204 encoded video bitstream, 205 streaming server, 206 streaming client, 209 video bitstream, 210 video decoder, 211 outgoing video sample stream, 212 display, 213 capture subsystem, 310 receiver, 312 channel, 315 buffer memory, 320 entropy decoder / parser, 321 symbols, 351 scaler / inverse transform unit, 352 intra prediction unit, 353 motion compensated prediction unit, 355 aggregator, 356 loop filter unit, 357 reference picture memory, 358 current picture memory, 430 source coder, 432 coding engine, 433 (local) decoder, 434 reference picture memory, 435 predictor, 440 transmitter, 443 coded video sequence, 445 entropy coder, 450 controller, 460 channel, 501 V_PRED, 502 H_PRED, 503 D45_PRED, 504 D135_PRED, 505 D113_PRED, 506 D157_PRED, 507 D203_PRED, 508 D67_PRED, 1200 computer system, 1201 keyboard, 1202 mouse, 1203 trackpad, 1205 joystick, 1206 microphone, 1207 scanner, 1208 camera, 1210 touch screen, 1220 CD / DVD ROM / RW, 1221 medium, 1222 thumb drive, 1223 solid state drive, 1240 core, 1241 central processing unit (CPU), 1242 graphics processing unit (GPU), 1243 field programmable gate area (FPGA), 1244 hardware accelerator, 1245 read only memory (ROM), 1246 random access memory, 1247 internal mass storage, 1248 system bus, 1249 peripheral bus, 1250 graphics adapter, 1254Network Interface, 1255 Cloud Computing Environment

Claims

1. 1. A method executed by one or more processors in a video decoder, the method comprising: receiving a coded video bitstream including a current picture and a syntax element indicating that the current picture should be predicted in a composite inter-intra prediction (CIIP) mode; determining, for a current block in the current picture, a template region including prediction samples of neighboring blocks relative to the current block; applying one or more weightings to the template region to generate one or more prediction samples; selecting a weighting from the one or more weightings as the weighting to be used for predicting the current block in the CIIP mode based on a cost value associated with each respective weighting; and decoding the block based on the selected weightings and the generated one or more prediction samples.

2. The method of claim 1 , further comprising the step of calculating the cost value for each of the one or more weightings.

3. The method of claim 1 , further comprising deriving the one or more weightings based on one or more prediction samples of the neighboring blocks.

4. The method of claim 3 , further comprising: ranking the one or more weightings based on the one or more prediction samples of the neighboring blocks.

5. The method of claim 3 , further comprising signaling the one or more weightings based on the one or more predicted samples of the neighboring blocks.

6. The method of claim 1 , wherein the template region includes the top M rows and left N columns of predicted samples of the neighboring block, where M and N are positive integers.

7. 4. The method of claim 3, wherein the predictive samples of the neighboring blocks of the template region include one or more combinations of predictive samples above, to the left, and to the top left of the neighboring blocks, and a combination of predictive samples above and to the bottom left of the neighboring blocks.

8. the cost value is defined as a prediction error between the prediction samples of the neighboring blocks in the template region; The method of claim 3 , wherein the prediction samples in the template region are generated by weighted intra and inter prediction using the selected weightings.

9. 2. The method of claim 1, wherein the one or more weightings include {a / N, (N-a) / N}, where a / N is the weighting applied on an intra-predicted block and (N-a) / N is the weighting applied on an inter-predicted block.

10. 2. The method of claim 1, wherein the cost values ​​are used to calculate a ranked index of the one or more weightings, and the ranked index is signaled in a bitstream to identify which weightings are applied for encoding.

11. The method of claim 1 , wherein the one or more weightings are applied together with a constant weighting in the mixed inter-intra prediction mode.

12. The method of claim 8 , wherein the one or more weightings are derived using a lookup table.

13. at least one memory configured to store computer program code; at least one processor configured to access said computer program code and to operate as instructed by said computer program code; the computer program code comprising: Apparatus configured to cause said at least one processor to perform the method of any one of claims 1 to 12.

14. A computer program for causing a computer to carry out the method according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Encoder, decoder, encoding method, and decoding method

    JP2021197734A

  • Position-dependent intra-inter prediction combination in video coding

    US20200162737A1

  • Constrained and adjusted applications of combined inter- and intra-prediction mode

    WO2020186119A1