Joint Signaling of Motion Vector Differences

By signaling and jointly deriving delta motion vectors for multiple reference frames in the JOINT_NEWMV mode, the method addresses inefficiencies in motion vector redundancy, enhancing video coding efficiency and reducing data requirements.

JP2024539787AActive Publication Date: 2024-10-31TENCENT AMERICA LLC
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023558312
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-03-22
Filing Date
2022-04-13
Publication Date
2024-10-31
Estimated Expiration
2042-04-13

AI Technical Summary

Technical Problem

Existing video coding techniques face inefficiencies in reducing redundancy in motion vector differences, particularly in inter-prediction, leading to suboptimal compression ratios and increased data requirements for video streaming and storage.

Method used

The implementation of a method for decoding inter-predicted video blocks using a JOINT_NEWMV mode, where delta motion vectors for multiple reference frames are signaled together, allowing for joint derivation and calculation of motion vectors, enhancing compression efficiency.

Benefits of technology

This approach reduces the data required for encoding motion vectors, leading to improved compression ratios and reduced bandwidth and storage needs for video data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024539787000001_ABST
    Figure 2024539787000001_ABST
Patent Text Reader

Abstract

The present disclosure relates to encoding and decoding motion vector differentials for inter predicting video blocks, the method including: receiving a coded video bitstream; retrieving from the coded video bitstream a flag indicating whether an inter prediction mode is a JOINT_NEWMV mode for a current block of a current frame, the JOINT_NEWMV mode indicating that a first delta motion vector (MV) for a first reference frame from reference list 0 and a second delta MV for a second reference frame from reference list 1 are jointly signaled; in response to the flag indicating that the inter prediction mode is a JOINT_NEWMV mode, retrieving a joint delta motion vector (MV) for the current block; deriving a first delta MV and a second delta MV based on the joint delta MV; and decoding the current block based on the first delta MV and the second delta MV.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001]

[0001] Incorporation by Reference This application claims priority to U.S. Provisional Application No. 63 / 280,506, filed November 17, 2021, and U.S. Provisional Application No. 63 / 289,140, ​​filed December 14, 2021, both of which are incorporated by reference in their entireties. This application also claims priority to non-provisional U.S. Application No. 17 / 700,729, filed March 22, 2022, both of which are incorporated by reference in their entireties.

[0002]

[0002] TECHNICAL FIELD The present disclosure relates to video coding and / or decoding techniques, and more particularly to signaling and improved designs of joint motion vector difference for coding and / or decoding. [Background technology]

[0003]

[0003] This background discussion provided herein is intended to generally present the context of the present disclosure. Work under the name of the current inventor is not admitted, expressly or impliedly, as prior art to the present disclosure to the extent that such work is described in this background section or in a descriptive manner that may not otherwise qualify as prior art as of the filing date of this case.

[0004]

[0004] Video coding and decoding can be performed using inter-picture prediction with motion compensation. Uncompressed digital video can include a sequence of pictures, each having spatial dimensions of, for example, 1920x1080 luminance samples and associated full or subsampled chrominance samples. The sequence of pictures can have a fixed or variable picture rate (alternatively called frame rate), for example, 60 pictures / second or 60 frames per second. Uncompressed video has specific bitrate requirements for streaming or data processing. For example, a video with a pixel resolution of 1920x1080, a frame rate of 60 frames / second, and 4:2:0 chroma subsampling at 8 bits / pixel / color channel requires a bandwidth approaching 1.5 Gbit / s. One hour of such video requires more than 600 Gbytes of storage space.

[0005]

[0005] One of the goals of video coding and decoding can be said to be the reduction of redundancy in the uncompressed input video signal by compression. Compression can help reduce the aforementioned bandwidth and / or storage space requirements, in some cases by more than one order of magnitude. Both lossless and non-lossless compression, as well as combinations thereof, can be used. Lossless compression refers to techniques where an exact copy of the original signal can be reconstructed from the compressed original signal by the decoding process. Non-lossless compression refers to coding / decoding processes where the original video information is not fully preserved during coding and is not fully recoverable during decoding. When using non-lossless compression, the reconstructed signal may not be identical to the original signal, but the distortion between the original and reconstructed signals is small enough to make the reconstructed signal useful for the intended application despite some information loss. For video, non-lossless compression is widely used in many applications. The amount of distortion that is tolerated depends on the application. For example, a user of a particular consumer video streaming application may be able to tolerate higher distortion than a user of a movie or television broadcast application. The compression ratio achievable by a particular coding algorithm can be selected or adjusted to reflect different distortion tolerances: higher tolerable distortion generally allows for coding algorithms that result in higher loss and higher compression ratios.

[0006]

[0006] Video encoders and decoders may utilize techniques from a number of broad categories and steps, including, for example, motion compensation, Fourier transform, quantization, and entropy coding.

[0007]

[0007] Video codec techniques may include a technique known as intra-coding. In intra-coding, sample values ​​are represented without reference to samples or other data from previously reconstructed reference pictures. In some video codecs, a picture is spatially subdivided into blocks of samples. If all blocks of samples are coded in intra mode, the picture may be referred to as an intra picture. Intra pictures and their derivatives (e.g., independent decoder refresh pictures) may be used to reset the decoder state and thus may be used as the first picture in a coded video bitstream and video session or as a still image. The samples of the block after intra prediction may be subjected to a transform to the frequency domain, and the transform coefficients so generated may be quantized before entropy coding. Intra prediction refers to a technique that minimizes the sample values ​​in the pre-transform domain. In some cases, the smaller the transformed DC value and the smaller the AC coefficients, the fewer bits needed for a given quantization step size to represent the block after entropy coding.

[0008]

[0008] Traditional intra-coding, such as that known from MPEG-2 generation coding techniques, does not use intra-prediction. However, some newer video compression techniques include techniques that attempt to code / decode a block based on, for example, spatially adjacent surrounding sample data and / or metadata available during encoding / decoding that precede the block of data being coded or decoded in decoding order. Such techniques are hereafter referred to as "intra-prediction" techniques. Note that, at least in some cases, intra-prediction uses only reference data from the current picture being reconstructed, and not from other reference pictures.

[0009]

[0009] There may be many different forms of intra prediction. When more than one such technique may be used in a given video coding technique, the technique used may be referred to as an intra prediction mode. One or more intra prediction modes may be provided in a particular codec. In some cases, a mode may have sub-modes and / or may be associated with various parameters, and the mode / sub-mode information and intra coding parameters for a block of video may be coded individually or collectively included in a mode codeword. The codeword used for a given mode, sub-mode, and / or parameter combination may affect the coding efficiency gain from intra prediction, and therefore may also affect the entropy coding technique used to convert the codeword into a bitstream.

[0010]

[0010] Certain modes of intra prediction were introduced in H.264, improved in H.265, and further improved in new coding techniques such as the Joint Search Model (JEM), Versatile Video Coding (VVC), and Benchmark Set (BMS). In general, for intra prediction, a prediction block can be formed using available neighboring sample values. For example, available values ​​of a particular set of neighboring samples along a particular direction and / or line can be copied to a predictor block. The reference to the direction to use can be coded in the bitstream or can be predicted itself.

[0011]

[0011] Referring to FIG. 1A, shown at the bottom right is a subset of 9 predictor directions specified among the 33 possible intra predictor directions of H.265 (corresponding to the 33 angle modes of the 35 intra modes specified in H.265). The point (101) where the arrows converge represents the sample to be predicted. The arrows indicate the direction from which nearby samples are used to predict the sample at 101. For example, arrow (102) indicates that sample (101) is predicted from one or more nearby samples at an angle of 45 degrees from the horizontal to the upper right. Similarly, arrow (103) indicates that sample (101) is predicted from one or more nearby samples at an angle of 22.5 degrees from the horizontal to the lower left of sample (101).

[0012]

[0012] With further reference to FIG. 1A, at the top left, a square block (104) of 4x4 samples is shown (indicated by a thick dashed line). The square block (104) contains 16 samples, each of which is labeled with "S" and its position in the Y dimension (e.g., row index) and its position in the X dimension (e.g., column index). For example, sample S21 is the second sample (from the top) in the Y dimension and the first sample (from the left) in the X dimension. Similarly, sample S44 is the fourth sample in the block (104) in both the Y and X dimensions. Since the block is 4x4 samples in size, S44 is at the bottom right. Also shown are exemplary reference samples following a similar numbering scheme. The reference sample is labeled with R and its Y position (e.g., row index) and X position (column index) relative to the block (104). In both H.264 and H.265, prediction samples that are neighbors of the block being reconstructed are used.

[0013]

[0013] Intra-picture prediction of block 104 may start by copying reference sample values ​​from nearby samples according to the signaled prediction direction. For example, assume that the coded video bitstream includes signaling for this block 104 indicating a prediction direction of arrow (102) - i.e., the sample is predicted from one or more prediction samples pointing to the upper right at an angle of 45 degrees from the horizontal. Then samples S41, S32, S23, and S14 are predicted from the same reference sample R05. And sample S44 is predicted from reference sample R08.

[0014] In some cases, values ​​of multiple reference samples may be combined, for example by interpolation, to calculate a reference sample; particularly when the orientation is not evenly divisible by 45 degrees.

[0015]

[0015] The number of possible directions is increasing as video coding technology continues to develop. For example, in H.264 (2003), nine different directions were available for intra prediction. This increased to 33 in H.265 (2013), and JEM / VVC / BMS at the time of this disclosure can support up to 65 directions. Experimental studies have been conducted to help identify the most likely intra prediction direction, and certain techniques in entropy coding can be used to encode the most likely direction with fewer bits, while accepting a certain bit penalty for the direction. Furthermore, the direction itself can often be predicted from nearby directions used in the intra prediction of nearby blocks being decoded.

[0016] FIG. 1B shows a schematic diagram (180) illustrating the 65 intra prediction directions according to the JEM, illustrating the increasing number of prediction directions in different coding techniques that have evolved over time.

[0017]

[0017] The mapping of bits representing intra-prediction directions to prediction directions in the coded video bitstream may vary from one video coding technique to another; for example, it may range from a simple direct mapping of prediction directions to complex adaptation schemes involving intra-prediction modes, codewords, most-probable modes, and similar techniques. However, in any given case, there may be certain directions of intra-prediction that are statistically less likely to occur in the video content than certain other directions. Since the goal of video compression is to reduce redundancy, these unlikely directions can be represented with more bits than the more likely directions in a well-designed video coding technique.

[0018]

[0018] Inter-picture prediction or inter-prediction can be based on motion compensation, in which sample data from a previously reconstructed picture or part of it (reference picture) can be used to predict a newly reconstructed picture or part of a picture (e.g., a block) after spatially shifting in the direction indicated by a motion vector (hereinafter MV). In some cases, the reference picture can be the same as the picture currently being reconstructed. MV can have two dimensions X and Y, or three dimensions, the third dimension being an indication of the reference picture in use (the latter is analogous to the temporal dimension).

[0019]

[0019] In some video compression techniques, the current MV applicable to a particular area of ​​sample data can be predicted from other MVs, e.g., those related to other areas of sample data that are spatially adjacent to the area being reconstructed and that precede the current MV in the decoding order. In this way, the overall amount of data required to code the MV can be significantly reduced by relying on the reduction of redundancy in the interrelated MVs, thereby increasing the compression efficiency. MV prediction can work effectively because, for example, when coding an input video signal derived from a camera (known as natural video), there is a statistical likelihood that areas larger than the area to which a single MV is applicable will move in a similar direction in the video sequence and therefore can possibly be predicted using similar motion vectors derived from the MVs of neighboring areas. This results in an actual MV for a given area that is similar or identical to the MV predicted from the surrounding MVs. Such MVs can be represented with fewer bits than would be used if the MVs were coded directly, rather than predicted from nearby MVs, after entropy coding. In some cases, MV prediction may be an example of lossless compression of a signal (i.e., the MV) derived from the original signal (i.e., the sample stream). In other cases, the MV prediction itself may be non-lossless, for example due to rounding errors when computing the predictor from some surrounding MVs.

[0020]

[0020] Various MV prediction mechanisms are described in H.265 / HEVC (ITU-T Rec. H.265, "High Efficiency Video Coding", December 2016). Among the many MV prediction mechanisms specified by H.265, the one described below is a technique hereafter called "spatial merge".

[0021]

[0021] Specifically, referring to Fig. 2, a current block (201) contains samples that have been found by the encoder during the motion search process to be predictable from a previous block of the same size but spatially shifted. Instead of coding its MV directly, the MV can be derived from metadata associated with one or more reference pictures, for example, from the most recent reference picture (in decoding order) using MVs associated with any of the five surrounding samples (202 to 206, respectively), designated A0, A1, and B0, B1, B2. In H.265, MV prediction can use predictors from the same reference picture as neighboring blocks use. Summary of the Invention

[0022] This disclosure describes various embodiments of methods, apparatus, and computer-readable storage media for encoding and / or decoding video.

[0023] According to one aspect, an embodiment of the present disclosure provides a method for decoding an inter-predicted video block, the method including: a device including a memory storing instructions and a processor in communication with the memory receiving a coded video bitstream; the device extracting from the coded video bitstream a flag indicating whether, for a current block of a current frame, an inter-prediction mode is a JOINT_NEWMV mode, where the JOINT_NEWMV mode indicates a first delta motion vector relative to a first reference frame from reference list 0; In response to the flag indicating that the inter prediction mode is JOINT_NEWMV mode, in step 1830, the device retrieves a joint delta motion vector (MV) for the current block from the coded video / bitstream; and the device derives a first delta MV and a second delta MV based on the joint delta MV; and / or in step 1840, the device decodes the current block of the current frame based on the first delta MV and the second delta MV.

[0024]

[0024] According to another aspect, an embodiment of the present disclosure provides an apparatus for video encoding and / or decoding, the apparatus including a memory storing instructions and a processor in communication with the memory, the processor being configured to, when the processor executes the instructions, cause the apparatus to perform the above-described method for video encoding and / or decoding.

[0025]

[0025] Aspects of the present disclosure also provide a video encoding or decoding device or apparatus including circuitry configured to perform any of the implementations of the above methods.

[0026]

[0026] In another aspect, an embodiment of the present disclosure provides a non-transitory computer-readable storage medium storing instructions that, when executed by a computer for video encoding and / or decoding, cause the computer to perform the above-mentioned method for video encoding and / or decoding.

[0027]

[0027] These and other aspects and their implementations are described in more detail in the drawings, specification, and claims. [Brief description of the drawings]

[0028] Further features, nature and various advantages of the disclosed subject matter will become more apparent from the following detailed description and the accompanying drawings. [Figure 1A]

[0029] FIG. 1A is a schematic diagram of an example subset of intra-prediction direction modes. [Figure 1B]

[0030] FIG. 1B shows an example of an exemplary intra-prediction direction. [Diagram 2]

[0031] FIG. 2 shows a schematic diagram of a current block and surrounding spatial merging candidates for motion vector prediction in one example. [Diagram 3]

[0032] FIG. 3 illustrates a simplified block diagram of a communication system (300) in accordance with an example embodiment. [Figure 4]

[0033] FIG. 4 illustrates a simplified block diagram of a communication system (400) in accordance with an example embodiment. [Diagram 5]

[0034] FIG. 5 shows a schematic diagram of a simplified block diagram of a video decoder according to an exemplary embodiment. [Figure 6]

[0035] FIG. 6 shows a schematic diagram of a simplified block diagram of a video encoder according to an exemplary embodiment. [Figure 7]

[0036] FIG. 7 shows a block diagram of a video encoder according to another exemplary embodiment. [Figure 8]

[0037] FIG. 8 shows a block diagram of a video decoder according to another exemplary embodiment. [Figure 9]

[0038] FIG. 9 illustrates a coding block partitioning scheme according to an exemplary embodiment of the present disclosure. [Figure 10]

[0039] FIG. 10 illustrates another scheme of coding block partitioning according to an exemplary embodiment of the present disclosure. [Figure 11]

[0040] FIG. 11 illustrates another scheme of coding block partitioning according to an exemplary embodiment of the present disclosure. [Figure 12]

[0041] FIG. 12 illustrates an exemplary partitioning of base blocks into coding blocks according to an exemplary partitioning scheme. [Figure 13]

[0042] Figure 13 illustrates an exemplary ternary partitioning scheme. [Figure 14]

[0043] FIG. 14 illustrates an exemplary quad-tree binary tree coding block partitioning scheme. [Figure 15]

[0044] FIG. 15 illustrates a scheme for partitioning a coding block into multiple transform blocks and a coding order for the transform blocks, according to an example embodiment of the present disclosure. [Figure 16]

[0045] FIG. 16 illustrates another scheme for partitioning a coding block into multiple transform blocks and the coding order of the transform blocks, in accordance with an example embodiment of the present disclosure. [Figure 17]

[0046] FIG. 17 illustrates another scheme for partitioning a coding block into multiple transform blocks, in accordance with an example embodiment of this disclosure. [Figure 18]

[0047] FIG. 18 illustrates a flowchart of a method according to an exemplary embodiment of the present disclosure. [Figure 19]

[0048] FIG. 16 illustrates a schematic diagram of a computer system according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0029]

[0049] The present invention will now be described in detail with reference to the accompanying drawings, which form a part hereof and which show by way of illustration certain specific examples of embodiments. It should be noted, however, that the present invention may be embodied in many different forms, and thus the subject matter covered or claimed is not intended to be construed as being limited to any of the embodiments described below. It should also be noted that the present invention may be embodied as a method, device, component or system. Thus, embodiments of the present invention may take the form of, for example, hardware, software, firmware, or any combination thereof.

[0030]

[0050] Throughout the specification and claims, terms may have a nuanced meaning beyond that explicitly stated, as suggested or implied by the context. The phrases "in one embodiment" or "in some embodiments" as used herein do not necessarily refer to the same embodiment, and the phrases "in another embodiment" or "in other embodiments" as used herein do not necessarily refer to different embodiments. Similarly, the phrases "in one implementation" or "in some implementations" as used herein do not necessarily refer to the same implementation, and the phrases "in another implementation" or "in other implementations" as used herein do not necessarily refer to different implementations. For example, it is intended that the claimed subject matter includes, in whole or in part, a combination of example embodiments / implementations.

[0031]

[0051] Generally, terms may be understood, at least in part, from their usage in the context. For example, terms such as "and," "or," or "and / or," when used herein, may include various meanings that may depend, at least in part, on the context in which such terms are used. Typically, when used to relate a list such as A, B, or C, "or" is intended to mean "A, B, or C" used in an exclusive sense in addition to "A, B, and C" used in an inclusive sense. Furthermore, the terms "one or more" or "at least one" as used herein may be used to describe any feature, structure, or characteristic in a singular sense, or may be used to describe a combination of features, structures, or characteristics in a plural sense, depending, at least in part, on the context. Similarly, terms such as "a," "an," or "the" may also be understood to convey a singular use or a plural use, depending, at least in part, on the context. Moreover, the terms "based on" or "determined by" are not necessarily intended to convey an exclusive set of factors, but rather, again depending at least in part on the context, may permit the existence of additional factors not necessarily explicitly stated.

[0032]

[0052] FIG. 3 illustrates a simplified block diagram of a communication system (300) according to an embodiment of the present disclosure. The communication system (300) includes a plurality of terminal devices capable of communicating with each other, for example, via a network (350). For example, the communication system (300) includes a first pair of terminal devices (310) and (320) interconnected via the network (350). In the example of FIG. 3, the first pair of terminal devices (310) and (320) are capable of unidirectional transmission of data. For example, the terminal device (310) may code video data (e.g., video data of a stream of video pictures captured by the terminal device (310)) for transmission to the other terminal device (320) via the network (350). The encoded video data may be transmitted in the form of one or more coded video bitstreams. The terminal device (320) can receive the coded video data from the network (350), decode the coded video data to reconstruct the video picture, and display the video picture according to the reconstructed video data. The unidirectional data transmission may be realized in a media serving application, etc.

[0033]

[0053] In another example, the communication system (300) includes a second pair of terminal devices (330) and (340) for bidirectional transmission of coded video data, such as may occur during a video conference application. For bidirectional transmission of data, for example, each of the terminal devices (330) and (340) can code video data (e.g., video data of a stream of video pictures captured by the terminal device) for transmission to the other of the terminal devices (330) and (340) over the network (350). Each of the terminal devices (330) and (340) can also receive coded video data transmitted by the other of the terminal devices (330) and (340), can decode the coded video data to reconstruct the video pictures, and can display the video pictures on an accessible display device according to the reconstructed video data.

[0034]

[0054] In the example of FIG. 3, terminal devices (310), (320), (330), and (340) are embodied as a server, a personal computer, and a smartphone, although applicability of the principles of the present disclosure need not be so limited. Embodiments of the present disclosure may be implemented in desktop computers, laptop computers, tablet computers, media players, wearable computers, dedicated video conferencing equipment, and / or the like. Network (350) represents any number or type of network that carries coded video data between terminal devices (310), (320), (330), and (340), including, for example, wired (wired) and / or wireless communication networks. Communications network (350) may exchange data over circuit-switched, packet-switched, and / or other types of channels. Exemplary networks include telecommunications networks, local area networks, wide area networks, and / or the Internet. For purposes of this disclosure, the architecture and topology of network 350 may not be important to the operation of the disclosure unless explicitly described below.

[0035]

[0055] Figure 4 illustrates the arrangement of a video encoder and a video decoder in a video streaming environment as an example application of the disclosed subject matter, which may be equally applicable to other video applications including, for example, video conferencing, digital TV broadcasting, gaming, virtual reality, storage of compressed video on digital media (including CDs, DVDs, memory sticks, etc.), etc.

[0036]

[0056] A video streaming system may include a video source (401) and a video capture subsystem (413), which may include, for example, a digital camera, for generating a stream of uncompressed video pictures or images (402). In one example, the stream of video pictures (402) includes samples recorded by the digital camera of the video source 401. The stream of video pictures (402), depicted as a thick line to emphasize the larger amount of data compared to the encoded video data (404) (or coded video bitstream), may be processed by an electronic device (420) that includes a video encoder (403) coupled to the video source (401). The video encoder (403) may include hardware, software, or a combination thereof to enable or implement aspects of the disclosed subject matter as described in more detail below. The encoded video data (404) (or encoded video bitstream (404)), depicted as thin lines to emphasize the smaller amount of data compared to the stream of uncompressed video pictures (402), can be stored in the streaming server (405) for future use or directly in a downstream video device (not shown). One or more streaming client subsystems, such as the client subsystems (406) and (408) of FIG. 4, can access the streaming server (405) to retrieve copies (407) and (409) of the encoded video data (404). The client subsystem (406) can include a video decoder (410), for example in the electronic device (430). The video decoder (410) decodes the incoming copy of encoded video data (407) and produces an output stream of decompressed video pictures (411) that can be rendered on a display (412) (e.g., a display screen) or other rendering device (not shown).The video decoder 410 may be configured to perform some or all of the various functions described in this disclosure. In some streaming systems, the encoded video data (404), (407), and (409) (e.g., a video bitstream) may be encoded according to a particular video coding / compression standard. Examples of these standards include ITU-T Recommendation H.265. In one example, a video coding standard under development is informally known as Versatile Video Coding (VVC). The disclosed subject matter may be used in the context of VVC and other video coding standards.

[0037]

[0057] It should be noted that electronic devices 420 and 430 may include other components (not shown), such as electronic device 420 including a video decoder (not shown) and electronic device 430 including a video encoder (not shown).

[0038]

[0058] 5 shows a block diagram of a video decoder (510) according to some embodiments of the present disclosure. The video decoder (510) may be included in an electronic device (530). The electronic device (530) may include a receiver (531) (e.g., receiving circuitry). The video decoder (510) may be used in place of the video decoder (410) in the example of FIG. 4.

[0039]

[0059] The receiver (531) can receive one or more coded video sequences that are to be decoded by the video decoder (510). In the same or another embodiment, it can receive one coded video sequence at a time, where the decoding of each coded video sequence is independent of the other coded video sequences. Each video sequence can relate to multiple video frames or images. The coded video sequences can be received from a channel (501), which can be a hardware / software link to a storage device that stores the coded video data or a streaming source that transmits the coded video data. The receiver (531) can receive the coded video data together with other data, such as coded audio data and / or auxiliary data streams, which can be forwarded to their respective processing circuits (not shown). The receiver (531) can separate the coded video sequences from the other data. To deal with network jitter, a buffer memory (515) may be placed between the receiver (531) and the entropy decoder / parser (520), hereafter referred to as the parser (520). In certain applications, the buffer memory (515) may be implemented as part of the video decoder (510). In other applications, it may be separate and external to the video decoder (510) (not shown). In yet other applications, there may be a buffer memory (not shown) external to the video decoder (510), e.g. to deal with network jitter, and there may be another additional buffer memory (515) inside the video decoder (510), e.g. to handle playback timing.If the receiver (531) is receiving data from a store / forward device with sufficient bandwidth and controllability or from an isochronous network, the buffer memory (515) may not be needed or may be small. For use with best effort packet networks such as the Internet, a buffer memory (515) of sufficient size may be needed, and may be relatively large in size. Such a buffer memory may be implemented with an adaptive size and may be implemented at least in part in an operating system or similar element (not shown) outside the video decoder (510).

[0040]

[0060] The video decoder (510) can include a parser (520) to reconstruct symbols (521) from the coded video sequence. These symbol categories include information used to manage the operation of the video decoder (510) and potentially information for controlling a rendering device such as a display (512) (e.g., a display screen), which may or may not be an integral part of the electronic device (530) as shown in FIG. 5, but may be coupled to the electronic device (530). The rendering device control information may be in the form of a Supplemental Enhancement Information (SEI) message or a Video Usability Information (VUI) parameter set fragment (not shown). The parser (520) can parse / entropy decode the coded video sequence received by the parser (520). The entropy coding of the coded video sequence may follow a video coding technique or standard and may follow various principles including variable length coding, Huffman coding, arithmetic coding with or without context effects, etc. The parser (520) may extract from the coded video sequence a set of subgroup parameters for at least one subgroup of pixels in the video decoder based on at least one parameter corresponding to the subgroup. The subgroups may include Groups of Pictures (GOP), pictures, tiles, slices, macroblocks, coding units (CUs), blocks, transform units (TUs), prediction units (PUs), etc. The parser (520) may also extract from the coded video sequence information such as transform coefficients (e.g., Fourier transform coefficients), quantization parameter values, motion vectors, etc.

[0041]

[0061] The parser (520) is capable of performing an entropy decoding / parsing process on the video sequence received from the buffer memory (515) to generate symbols (521).

[0042]

[0062] The reconstruction of the symbols (521) may involve several different processing or functional units, depending on the type of coded video picture or part thereof (inter and intra picture, inter and intra block) and other factors. Which units are involved and how can be controlled by subgroup control information parsed by the parser (520) from the coded video sequence. The flow of such subgroup control information between the parser (520) and the following several processing or functional units is not depicted for the sake of clarity.

[0043]

[0063] Beyond the functional blocks already mentioned, the video decoder (510) may be conceptually subdivided into a number of functional units as described below. In a practical 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 various functions of the disclosed subject matter, a conceptual subdivision into functional units is adopted in the following disclosure.

[0044]

[0064] The first unit may be a scalar / inverse transform unit (551), which may receive quantized transform coefficients as well as control information (including what type of inverse transform to use, block size, quantization factors / parameters, quantization scaling matrix, etc.) as symbols (521) from the parser (520). The scalar / inverse transform unit (551) may output blocks containing sample values ​​that may be input to an aggregator (555).

[0045]

[0065] In some cases, the output samples of the scalar / inverse transform (551) may relate to intra-coded blocks, i.e. blocks that do not use prediction information from a previously reconstructed picture, but are able to use prediction information from a previously reconstructed part of the current picture. Such prediction information may be provided by an intra picture prediction unit (552). In some cases, the intra picture prediction unit (552) may generate a block of the same size and shape as the block being reconstructed using information of surrounding blocks already reconstructed and stored in the current picture buffer (558). The current picture buffer (558) may, for example, buffer a partially reconstructed current picture and / or a fully reconstructed current picture. The aggregator (555) may add, on a sample-by-sample basis, the prediction information generated by the intra prediction unit (552) to the output sample information as provided by the scalar / inverse transform unit (551).

[0046]

[0066] In other cases, the output samples of the scalar / inverse transform unit (551) may relate to a block that may be inter-coded and motion compensated. In such a case, the motion compensation prediction unit (553) may access the reference picture memory (557) to retrieve samples used for inter-picture prediction. After motion compensating the retrieved samples according to the symbols (521) related to the block, these samples are added by the aggregator (555) to the output of the scalar / inverse transform unit (551) (the output of unit 551 may be called residual samples or residual signals) to generate output sample information. The addresses in the reference picture memory (557) from which the motion compensation prediction unit (553) fetches prediction samples may be controlled by motion vectors available to the motion compensation prediction unit (553), for example in the form of symbols (521) that may have X, Y components (shift) and a reference picture component (time). Motion compensation may also involve the interpolation of sample values ​​taken from a reference picture memory (557) when sub-sample accurate motion vectors are used, and may also involve motion vector prediction schemes, etc.

[0047]

[0067] The output samples of the aggregator (555) may be subjected to various loop filtering techniques in the loop filter unit (556). The video compression techniques may include in-loop filter techniques controlled by parameters contained in the coded video sequence (also called the coded video bitstream) and made available to the loop filter unit (556) as symbols (521) from the parser (520), which may be responsive to meta information obtained during the decoding of a previous portion (in decoding order) of the coded picture or coded video sequence, as well as to previously reconstructed loop filtered sample values. As will be described in more detail below, several types of loop filters may be included as part of the loop filter unit 556 in various orders.

[0048]

[0068] The output of the loop filter unit (556) may be a sample stream that can be output to a rendering device (512) or can be stored in a reference picture memory (557) for use in future inter-picture prediction.

[0049]

[0069] Once a given coded picture is fully reconstructed, it can be used as a reference picture for future inter-picture prediction. For example, once a coded picture corresponding to a current picture is fully reconstructed and the coded picture is identified as a reference picture (e.g., by the parser (520)), the current picture buffer (558) can become part of the reference picture memory (557) and a fresh current picture buffer can be reallocated before starting the reconstruction of a future coded picture.

[0050]

[0070] The video decoder (510) may perform decoding operations according to a given video compression technique adopted in a standard such as ITU-T Rec. H.265. The coded video sequence may conform to the syntax specified by the video compression technique or standard used in the sense that the coded video sequence conforms to both the syntax of the video compression technique or standard and the profile as documented in the video compression technique or standard. In particular, the profile may select a particular tool from among all tools available in the video compression technique or standard as the only tool that may be used under that profile. Also, to conform to a standard, the complexity of the coded video sequence may be within a range defined by the level of the video compression technique or standard. In some cases, the level limits the maximum picture size, the maximum frame rate, the maximum reconstruction sample rate (e.g., measured in units of megasamples per second), the maximum reference picture size, etc. The limits set by the levels may in some cases be further constrained by Hypothetical Reference Decoder (HRD) specifications and metadata for HRD buffer management signaled in the coded video sequence.

[0051]

[0071] In some example embodiments, the receiver (531) may receive additional (redundant) data along with the encoded video. The additional data may be included as part of the coded video sequence. The additional data may be used by the video decoder (510) 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, temporal, spatial, or signal-to-noise ratio (SNR) enhancement layers, redundant slices, redundant pictures, forward error correction codes, etc.

[0052]

[0072] 6 shows a block diagram of a video encoder (603) according to an exemplary embodiment of the present disclosure. The video encoder (603) may be included in an electronic device (620). The electronic device (620) may include a transmitter (640) (e.g., a transmitting circuit). The video encoder (603) may be used in place of the video encoder (403) in the example of FIG. 4.

[0053]

[0073] The video encoder (603) may receive video samples from a video source (601) (which in the example of FIG. 6 is not part of the electronic device (620)) capable of capturing video images to be coded by the video encoder (603). In another example, the video source (601) may be implemented as part of the electronic device (620).

[0054]

[0074] The video source (601) may provide a source video sequence to be coded by the video encoder (603) 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 YCrCB, RGB, ...), and any suitable sampling structure (e.g., YCrCb 4:2:0, YCrCb 4:4:4). In a media serving system, the video source (601) may be a storage device capable of storing pre-prepared video. In a video conferencing system, the video source (601) may be a camera that captures local image information as a video sequence. The video data may be provided as a number of individual pictures or images that convey 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. in use. Those skilled in the art can readily understand the relationship between pixels and samples, and the following discussion focuses on samples.

[0055]

[0075] According to some example embodiments, the video encoder (603) is capable of coding and compressing pictures of a source video sequence into a coded video sequence (643) in real-time or under any other time constraint required by an application. Imposing an appropriate coding rate is one function of the controller (650). In some embodiments, the controller (650) may be operatively coupled to and control other functional units as described below, the couplings of which are not depicted for clarity. Parameters set by the controller (650) may include rate control related parameters (picture skip, quantizer, lambda value for rate distortion optimization techniques, ...), picture size, group of pictures (GOP) layout, maximum motion vector search range, etc. The controller (650) may be configured to have other suitable functions associated with the video encoder (603) optimized for a particular system design.

[0056]

[0076] In some example embodiments, the video encoder (603) can be configured to operate in a coding loop. As a simplified explanation, in one example, the coding loop can include a source coder (630) (e.g., responsible for generating a symbol-like symbol stream based on an input picture to be coded and reference pictures) and a (local) decoder (533) built into the video encoder (603). Even if the built-in decoder 633 processes the video stream coded by the source coder 630 without entropy coding, the decoder (633) reconstructs the symbols to generate sample data in a similar manner to that generated by the (remote) decoder (since any compression between the symbols in entropy coding and the coded video bitstream may be lossless in the video compression techniques contemplated in the disclosed subject matter). The reconstructed sample stream (sample data) is input to a reference picture memory (634). Since the decoding of the symbol stream produces bit-exact results independent of the location of the decoder (local or remote), the contents in the reference picture memory (634) are also bit-exact between the local and remote encoders. In other words, the prediction part of the encoder "sees" exactly the same sample values ​​as the reference picture samples that the decoder would "see" if it used prediction during decoding. This basic principle of reference picture synchronization (if synchrony cannot be maintained due to, for example, channel errors, drift would result) is used to improve coding quality.

[0057]

[0077] The operation of the "local" decoder (633) may be the same as that of a "remote" decoder, such as the video decoder (510) already described in detail above in connection with Figure 5. However, with brief reference also to Figure 5, because symbols are available and the encoding / decoding of symbols into a coded video sequence by the entropy coder (645) and parser (520) may be lossless, the entropy decoding portion of the video decoder (510), including the buffer memory (515) and parser (520), may not be fully implemented in the local decoder (633) at the encoder.

[0058]

[0078] An insight that can be made at this point is that any decoder technology, except analysis / entropy decoding, which may only exist in the decoder, may also need to exist in a substantially identical functional form in the corresponding encoder. For this reason, the disclosed subject matter may often focus on the decoder operations associated with the decoder portion of the encoder. A description of the encoder technology may be omitted, since it is the inverse of the decoder technology described generically. Only in certain areas or aspects will a more detailed description of the encoder be provided below.

[0059]

[0079] During operation, in some example implementations, the source coder (630) may perform motion-compensated predictive coding, which predictively codes an input picture with reference to one or more previously coded pictures from a video sequence that have been designated as "reference pictures." In this manner, the coding engine (632) codes differences (or residuals) in chroma channels between pixel blocks of the input picture and pixel blocks of reference pictures that may be selected as prediction references for the input picture. The terms "residue" and its derivative "residual" may be used interchangeably.

[0060]

[0080] The local video decoder (633) can decode the coded video data of pictures that can be designated as reference pictures based on the symbols generated by the source coder (630). The operation of the coding engine (632) can advantageously be a non-lossless process. If the coded video data can be decoded by a video decoder (not shown in FIG. 6), the reconstructed video sequence can typically be a replica of the source video sequence with some errors. The local video decoder (633) repeats the decoding process that can be performed by the video decoder with respect to the reference pictures, which can cause the reconstructed reference pictures to be stored in the reference picture cache (634). In this way, the video encoder (603) can locally store copies of reconstructed reference pictures that have common content as reconstructed reference pictures obtained by a far-end (remote) video decoder (assuming there are no transmission errors).

[0061]

[0081] The predictor (635) can perform a prediction search for the coding engine (632). That is, for a new picture to be coded, the predictor (635) can search the reference picture memory (534) for sample data (such as candidate reference pixel blocks) or predefined metadata (such as reference picture motion vectors, block shapes, etc.) that may serve as suitable prediction references for the new picture. The predictor (535) can operate on a sample block-pixel block basis to find suitable prediction references. In some cases, as determined by the search results obtained by the predictor (635), an input picture may have prediction references drawn from multiple reference pictures stored in the reference picture memory (634).

[0062]

[0082] The controller (650) may manage the coding operations of the source coder (630), including, for example, setting the parameters and subgroup parameters used to encode the video data.

[0063]

[0083] All outputs of the aforementioned functional units can be subjected to entropy coding in an entropy coder (645), which converts the symbols produced by the various functional units into a coded video sequence by lossless compression of the symbols according to techniques such as Huffman coding, variable length coding, arithmetic coding, etc.

[0064]

[0084] The transmitter (640) can buffer the coded video sequence as produced by the entropy coder (645) and prepare it for transmission over a communication channel (660), which may be a hardware / software link to a storage device that stores the coded video data. The transmitter (640) can merge the coded video data from the video encoder (603) with other data to be transmitted, such as coded audio data and / or auxiliary data streams (sources not shown).

[0065]

[0085] The controller (650) may manage the operation of the video encoder (603). During coding, the controller (650) may assign a particular coded picture type to each of the coded pictures, which may affect the coding technique that may be applied to each picture. For example, a picture may often be assigned as one of the following picture types:

[0066]

[0086] An Intra picture (I-picture) can be one that can be coded and decoded without using any other picture in a sequence as a source of prediction. Some video codecs allow different 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 and their respective uses and characteristics.

[0067]

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

[0068]

[0088] Bi-directionally predicted pictures (B-pictures) can be coded and decoded using intra- or inter-prediction, which uses at most two motion vectors and reference indices to predict the sample values ​​of each block. Similarly, multiple predicted pictures can use more than two reference pictures and associated metadata for the reconstruction of a block.

[0069]

[0089] A source picture is usually spatially subdivided into multiple sample coding blocks (e.g., into blocks of 4x4, 8x8, 4x8, or 16x16 samples, respectively) and can be coded block by block. Blocks can be predictively coded with reference to other (already coded) blocks, as determined by the coding assignment applied to the respective picture. For example, blocks of an I picture can be non-predictively coded or they can be predictively coded with reference to already coded blocks of the same picture (spatial or intra prediction). Pixel blocks of a P picture can be predictively coded with spatial or temporal prediction with reference to one previously coded reference picture. Blocks of a B picture can be predictively coded with spatial or temporal prediction with reference to one or two previously coded reference pictures. Source pictures or intermediate processing pictures can be subdivided into other types of blocks for other purposes. The division of coding blocks and other types of blocks may or may not follow the same method as described in more detail below.

[0070]

[0090] The video encoder (603) may perform coding operations according to a given video coding technique or standard, such as ITU-T Rec. H.265, in which the video encoder (603) may perform various compression operations, including predictive coding operations that exploit temporal and spatial redundancy in the input video sequence. The coded video data may accordingly conform to a syntax specified by the video coding technique or standard used.

[0071]

[0091] In some example embodiments, the transmitter (640) can transmit additional data along with the encoded video. The source coder (630) can include such data as part of the coded video sequence. The additional data can include temporal / spatial / SNR enhancement layers, other forms of redundant data (redundant pictures and slices, SEI messages, VUI parameter set fragments, etc.).

[0072]

[0092] Video can be captured as multiple source pictures (video pictures) in a time sequence. Intra-picture prediction (often abbreviated as intra prediction) exploits spatial correlation in a given picture, while inter-picture prediction exploits temporal or other correlation between pictures. For example, a particular picture under encoding / decoding, referred to as the current picture, may be partitioned into blocks. If a block in the current picture resembles a reference block in a reference picture that was previously coded and is still buffered in the video, it can be coded by a vector called a motion vector. A motion vector points to a reference block in the reference picture and can have a third dimension that identifies the reference picture if multiple reference pictures are used.

[0073]

[0093] In some example embodiments, bi-prediction techniques may be used for inter-picture prediction. According to such bi-prediction techniques, two reference pictures are used, such as a first reference picture and a second reference picture, both preceding in decoding order (but possibly past and future, respectively, in display order) a current picture in a video. A block in the current picture may be coded with a first motion vector that points to a first reference block in the first reference picture and a second motion vector that points to a second reference block in the second reference picture. A block may be jointly predicted by a combination of the first and second reference blocks.

[0074]

[0094] Furthermore, to improve coding efficiency, it is possible to use merge mode techniques for inter-picture prediction.

[0075]

[0095] According to some embodiments of the present disclosure, predictions such as inter-picture prediction and intra-picture prediction are performed on a block-by-block basis. For example, a picture in a sequence of video pictures may be partitioned into coding tree units (CTUs) for compression, and the CTUs in a picture may have the same size, such as 64x64 pixels, 32x32 pixels, or 16x16 pixels. In general, a CTU may include three parallel coding tree blocks (CTBs), one luma CTB and two chroma CTBs. Each CTU may be recursively quad-tree partitioned into one or more coding units (CUs). For example, a 64x64 pixel CTU may be partitioned into one CU of 64x64 pixels and four CUs of 32x32 pixels. Each of the one or more 32x32 blocks may be further partitioned into four CUs of 16x16 pixels. In some example embodiments, each CU may be analyzed during encoding to determine a prediction type of the CU among various prediction types, such as an inter prediction type or an intra prediction type. The CU may be divided into one or more prediction units (PUs) depending on temporal and / or spatial predictability. In general, each PU includes a luma prediction block (PB) and two chroma PBs. In one embodiment, the prediction process in coding (encoding / decoding) is performed in units of prediction blocks. The division of the CU into PUs (or PBs of different color channels) may be performed in various spatial patterns. For example, a luma or chroma PB may include a matrix of values ​​(e.g., luma values) for pixels, such as 8x8 pixels, 16x16 pixels, 8x16 pixels, 16x8 pixels, etc.

[0076]

[0096] 7 shows a diagram of a video encoder (703) according to another embodiment of the present disclosure. The video encoder (703) is configured to receive a processed block of sample values ​​(e.g., a predictive block) in a current video picture in a sequence of video pictures and to encode the processed block into a coded picture that is part of a coded video sequence. For example, the video encoder (703) can be used in place of the example video encoder (403) of FIG. 4.

[0077]

[0097] For example, the video encoder (703) receives a matrix of sample values ​​for a processing block, such as a predicted block of 8x8 samples. The video encoder (703) then determines whether the processing block is best coded using intra-mode, inter-mode, or bi-prediction mode, e.g., using rate-distortion optimization (RDO). If it is determined that the processing block should be coded in intra-mode, the video encoder (703) may use intra-prediction techniques to code the processing block into a coded picture; and if it is determined that the processing block should be coded in inter-mode or bi-prediction mode, the video encoder (703) may use inter-prediction techniques or bi-prediction techniques, respectively, to code the processing block into a coded picture. In some exemplary embodiments, merge mode may be used as a sub-mode of inter-picture prediction, in which case motion vectors are derived from one or more motion vector predictors without the benefit of a coded motion vector component outside the predictors. In some other example embodiments, there may be motion vector components applicable to the current block, and therefore the video encoder (703) may include components not explicitly shown in FIG. 7, such as a mode decision module, to determine the prediction mode of the processing block.

[0078]

[0098] In the example of FIG. 7, the video encoder (703) includes an inter-encoder (730), an intra-encoder (722), a residual calculator (723), a switch (726), a residual encoder (724), a general controller (721), and an entropy encoder (725) coupled together as shown in the exemplary arrangement of FIG. 7.

[0079]

[0099] The inter encoder (730) is configured to receive samples of a current block (e.g., a processing block), compare the block to one or more reference blocks in a reference picture (e.g., blocks in previous and subsequent pictures in display order), generate inter prediction information (e.g., an account of redundant information due to inter coding techniques, motion vectors, merge mode information), and calculate an inter prediction result (e.g., a prediction block) based on the inter prediction information using any suitable technique. In some examples, the reference picture is a decoded reference picture that has been decoded based on the encoded video information using a decoding unit 633 (such as shown as a residual decoder 728 in FIG. 7, described in more detail below) incorporated in the example encoder 620 of FIG. 6.

[0080]

[0100] The intra encoder (722) is configured to receive samples of a current block (e.g., a processing block), compare the block with previously coded blocks in the same picture, generate quantized coefficients after transformation, and possibly also generate intra prediction information (e.g., intra prediction direction information according to one or more intra coding techniques). The intra encoder (722) is capable of computing an intra prediction result (e.g., a prediction block) based on the intra prediction information and reference blocks in the same picture.

[0081]

[0101] The generic controller (721) may be configured to determine generic control data and control other components of the video encoder (703) based on the generic control data. In one example, the generic controller (721) determines a prediction mode of a block and provides a control signal to a switch (726) based on the prediction mode. For example, if the prediction mode is an intra mode, the generic controller (721) controls the switch (726) to select an intra mode result for use by the residual calculator (723) and controls the entropy encoder (725) to select intra prediction information and include the intra prediction information in the bitstream; and if the prediction mode of the block is an inter mode, the generic controller (721) controls the switch (726) to select an inter prediction result for use by the residual calculator (723) and controls the entropy encoder (725) to select inter prediction information and include the inter prediction information in the bitstream.

[0082]

[0102] The residual calculator (723) may be configured to calculate a difference (residual data) between a received block and a prediction result for a block selected from the intra-encoder (722) or the inter-encoder (730). The residual encoder (724) may be configured to encode the residual data to generate transform coefficients. For example, the residual encoder (724) may be configured to transform the residual data from a spatial domain to a frequency domain to generate transform coefficients. The transform coefficients are then subjected to a quantization process to obtain quantized transform coefficients. In various embodiments, the video encoder (703) also includes a residual decoder (728). The residual decoder (728) is configured to perform an inverse transform and generate decoded residual data. The decoded residual data may be used by the intra-encoder (722) and the inter-encoder (730) as appropriate. For example, the inter-encoder (730) may generate decoded blocks based on the decoded residual data and the inter-prediction information, and the intra-encoder (722) may generate decoded blocks based on the decoded residual data and the intra-prediction information. The decoded blocks are appropriately processed to generate decoded pictures, which may be buffered in a memory circuit (not shown) and used as reference pictures.

[0083]

[0103] The entropy encoder (725) may be configured to format a bitstream to include the encoded blocks and perform entropy coding. The entropy encoder (725) may be configured to include various information in the bitstream. For example, the entropy encoder (725) may be configured to include general control data, selected prediction information (e.g., intra-prediction information or inter-prediction information), residual information, and other suitable information in the bitstream. Residual information may not be present when coding blocks in a merged sub-mode of either the inter mode or the bi-prediction mode.

[0084]

[0104] 8 shows a diagram of an exemplary video decoder (810) according to another embodiment of the present disclosure. The video decoder (810) is configured to receive coded pictures that are part of a coded video sequence and to decode the coded pictures to generate reconstructed pictures. In one example, the video decoder (810) may be used in place of the video decoder (410) in the example of FIG. 4.

[0085]

[0105] In the example of FIG. 8, the video decoder (810) includes an entropy decoder (871), an inter decoder (880), a residual decoder (873), a reconstruction module (874), and an intra decoder (872) coupled together as shown in the exemplary arrangement of FIG. 8.

[0086]

[0106] The entropy decoder (871) can be configured to reconstruct certain symbols from the coded picture that represent syntax elements from which the coded picture is constructed. Such symbols can include, for example, the mode in which the block is coded (e.g., intra mode, inter mode, bi-predictive mode, merged submode, or another submode), prediction information (e.g., intra prediction information or inter prediction information) that can identify certain samples or metadata used for prediction by the intra decoder (872) or the inter decoder (880), residual information (e.g., in the form of quantized transform coefficients), etc. In one example, if the prediction mode is an inter or bi-predictive mode, the inter prediction information is provided to the inter decoder (880); if the prediction type is an intra prediction type, the intra prediction information is provided to the intra decoder (872). The residual information can be inverse quantized and provided to the residual decoder (873).

[0087]

[0107] The inter decoder (880) can be configured to receive the inter prediction information and generate inter prediction results based on the inter prediction information.

[0088]

[0108] The intra decoder (872) may be configured to receive intra prediction information and generate a prediction result based on the intra prediction information.

[0089]

[0109] The residual decoder (873) may be configured to perform inverse quantization to extract un-quantized transform coefficients and process the un-quantized transform coefficients to transform the residual from the frequency domain to the spatial domain. The residual decoder (873) may also use certain control information (including a quantization parameter (QP)), which may be provided by the entropy decoder (871) (this may only be a small amount of control information, so a data path is not depicted).

[0090]

[0110] The reconstruction module (874) may be configured to combine, in the spatial domain, the residual as output by the residual decoder (873) and the prediction result (possibly output by an inter- or intra-prediction module) to form reconstructed blocks that form part of the reconstructed picture as part of the reconstructed video. It should be noted that other suitable processes, such as deblocking processes, may also be performed to improve visual quality.

[0091]

[0111] The video encoders (403), (603), and (703) and the video decoders (410), (510), and (810) may be implemented using any suitable technology. In some exemplary embodiments, the video encoders (403), (603), and (703) and the video decoders (410), (510), and (810) may be implemented using one or more integrated circuits. In other embodiments, the video encoders (403), (603), and (703) and the video decoders (410), (510), and (810) may be implemented using one or more processors executing software instructions.

[0092]

[0112] Turning to block partitioning for encoding and decoding, a general partitioning may start from a base block and may follow a predefined set of rules, a specific pattern, a partition tree, or some partition structure or scheme. The partitioning may be hierarchical and recursive. After dividing or partitioning the base block according to any of the exemplary partitioning procedures described below or other procedures, or a combination thereof, a final set of partitions or coding blocks may be obtained. Each of these partitions may be one of various partitioning levels in a partitioning hierarchy and may be of various shapes. Each partition may be referred to as a coding block (CB). For various exemplary partitioning implementations described further below, each resulting CB may be of any allowed size and partitioning level. Such partitions are referred to as coding blocks because they form a unit for which some basic coding / decoding decisions may be made and coding / decoding parameters may be optimized, determined, and signaled in the encoded video bitstream. The highest or deepest level in the final partition represents the depth of the coding block partition structure of the tree. A coding block may be a luma coding block or a chroma coding block. The CB tree structure for each color may be called a coding block tree (CBT).

[0093]

[0113] The coding blocks of all color channels may be collectively referred to as a coding unit (CU). The hierarchical structure of all color channels may be collectively referred to as a coding tree unit (CTU). The partitioning pattern or structure of the various color channels within a CTU may or may not be the same.

[0094]

[0114] In some implementations, the partition tree schemes or structures used for the luma and chroma channels may not need to be the same. In other words, the luma and chroma channels may have separate coding tree structures or patterns. Furthermore, whether the luma and chroma channels use the same or different coding partition tree structures and actual coding partition tree structures may depend on whether the slice being coded is a P, B, or I slice. For example, for an I slice, the chroma and luma channels may have separate coding partition tree structures or coding partition tree structure modes, while for a P or B slice, the luma and chroma channels may share the same coding partition tree scheme. When separate coding partition tree structures or modes are applied, the luma channel may be partitioned into CBs by one coding partition tree structure and the chroma channels may be partitioned into chroma CBs by another coding partition tree structure.

[0095]

[0115] In some example implementations, a predefined partitioning pattern may be applied to the base block. As shown in FIG. 9, an example 4-way partition tree may start at a first predefined level (e.g., 64x64 block level or other size as the base block size), and the base block may be partitioned hierarchically down to a predefined lowest level (e.g., 4x4 level). For example, the base block may follow four predefined partitioning options or patterns shown at 902, 904, 906, and 908, where a partition designated as R is allowed for recursive partitioning, where the same partition option as shown in FIG. 9 may be repeated at a lower scale down to the lowest level (e.g., 4x4 level). In some implementations, additional restrictions may be applied to the partitioning scheme of FIG. 9. In the implementation of FIG. 9, rectangular partitions (e.g., 1:2 / 2:1 rectangular partitions) may be allowed, but they may not be allowed to be recursive, whereas square partitions are allowed to be recursive. Partitioning following FIG. 9, with recursion if necessary, produces a final set of coding blocks. A coding tree depth may be further defined to indicate the partition depth from a root node or root block. For example, the coding tree depth of a root node or root block, e.g., a 64x64 block, may be set to 0, and after the root block is further partitioned once according to FIG. 9, the coding tree depth is increased by one. The maximum or deepest level from the 64x64 base block to the smallest partition of 4x4 is 4 (starting from level 0) for the above scheme. Such a partitioning scheme may be applied to one or more color channels.Each color channel may be partitioned independently according to the scheme of Figure 9 (e.g., a partitioning pattern or option among the predefined patterns may be determined independently for each color channel at each hierarchical level), or alternatively, two or more color channels may share the same hierarchical pattern tree of Figure 9 (e.g., the same partitioning pattern or option among the predefined patterns may be selected for two or more color channels at each hierarchical level).

[0096]

[0116] FIG. 10 illustrates another exemplary predefined partitioning pattern that allows recursive partitioning to form a partitioning tree. As illustrated in FIG. 10, an exemplary 10-way partitioning structure or pattern may be predefined. A root block may start from a predefined level (e.g., from a base block at the 128x128 level or the 64s64 level). The exemplary partitioning structure of FIG. 10 includes various 2:1 / 1:2 and 4:1 / 1:4 rectangular partitions. A partition type with 3 sub-partitions, shown as 1002, 1004, 1006, and 1008 in the second row of FIG. 10, may be referred to as a "T-type" partition. The "T-type" partitions 1002, 1004, 1006, and 1008 may be referred to as a left T-type, an upper T-type, a right T-type, and a lower T-type. In some exemplary implementations, none of the rectangular partitions of FIG. 10 are allowed to be further subdivided. The coding tree depth may be further defined to indicate the partition depth from the root node or root block. For example, the coding tree depth of the root node or root block (e.g., a 128x128 block) may be set to 0, and after the root block is further partitioned once according to FIG. 10, the coding tree depth is increased by only one. In some implementations, only the full square partitions of 1010 may be allowed for recursive partitioning to the next level of the partitioning tree following the pattern of FIG. 10. In other words, recursive partitioning may not be allowed for the square partitions of the T-shaped patterns 1002, 1004, 1006, and 1008. The partitioning procedure following FIG. 10, with recursion as necessary, generates the final set of coding blocks. Such a scheme may be applied to one or more color channels. In some implementations, more flexibility may be added for the use of partitions below the 8x8 level. For example, 2x2 chroma inter prediction may be used in certain cases.

[0097]

[0117] In some other example implementations for coding block partitioning, a quadtree structure may be used to divide a base block or an intermediate block into quadtree partitions. Such quadtree division may be applied hierarchically and recursively to any square-shaped partitions. Whether a base block or intermediate block or partition is further quadtree divided may be adapted to various local characteristics of the base block or intermediate block / partition. The quadtree partitioning at picture boundaries may be further adapted. For example, an implicit quadtree division may be performed at picture boundaries such that a block remains quadtree divided until its size fits the picture boundary.

[0098]

[0118] In some other exemplary implementations, hierarchical binary partitioning from a base block may be used. For such a scheme, a base block or a mid-level block may be divided into two partitions. The binary partitioning may be horizontal or vertical. For example, horizontal binary partitioning may divide a base block or a mid-level block into equal left and right partitions. Similarly, vertical binary partitioning may divide a base block or a mid-level block into equal top and bottom partitions. Such binary partitioning may be hierarchical and recursive. At each base block or mid-level block, a determination may be made whether the binary partitioning scheme should continue and, if the scheme continues further, whether horizontal or vertical binary partitioning should be used. In some implementations, further partitioning may stop at a predefined minimum partition size (in one or both dimensions). Alternatively, further partitioning may stop if a predefined partitioning level or depth from the base block is reached. In some implementations, the aspect ratio of the partitions may be limited. For example, the aspect ratio of a partition may not be less than 1:4 (or more than 4:1). Thus, a vertical strip partition, which has a vertical_to_horizontal aspect ratio of 4:1, may simply be further divided vertically into an upper partition and a lower partition, each having a vertical_to_horizontal aspect ratio of 2:1.

[0099]

[0119] In yet other examples, a ternary partitioning scheme may be used to partition the base block or any intermediate blocks, as shown in FIG. 13. The ternary pattern may be implemented vertically, as shown in 1302 of FIG. 13, or horizontally, as shown in 1304 of FIG. 13. The exemplary partitioning ratio in FIG. 13 is shown as 1:2:1 for either the vertical or horizontal directions, but other ratios may be predefined. In some implementations, two or more different ratios may be predefined. Such a ternary partitioning scheme may be used to complement a quadtree or binary partitioning structure, where such ternary tree partitioning may capture objects located at the block center in one unbroken partition, whereas quadtrees and binary trees always split along the block center, thus splitting such objects into separate partitions. In some implementations, to avoid additional transformations, the width and height of the partitions in the exemplary ternary tree are always powers of two.

[0100]

[0120] The above partitioning schemes can be combined in any manner at different partitioning levels. As an example, the above mentioned quadtree and binary tree schemes may be combined to partition the base block into a quadtree-binary-tree (QTBT) structure. In such a scheme, the base block or intermediate blocks / partitions may be either quadtree-partitioned or binary tree-partitioned according to a set of predefined conditions, if specified. A specific example is shown in FIG. 14. In the example of FIG. 14, first the base block is quadtree-partitioned into four partitions, as shown at 1402, 1404, 1406, 1408. Then, each resulting partition is either quadtree-partitioned into four further partitions (as at 1408), binary-partitioned into two further partitions (e.g., split horizontally or vertically, both symmetric, as at 1402 or 1406), or unpartitioned (as at 1404). Binary or quad-tree partitioning may be allowed recursively for square-shaped partitions, as shown by the overall exemplary partition pattern in 1410 and the corresponding tree structure / representation in 1420 (solid lines represent quad-tree partitioning and dashed lines represent quad-tree partitioning). A flag may be used for each binary tree partition node (non-leaf binary tree partition) to indicate whether the binary tree partition is horizontal or vertical. For example, as shown in 1420, flag "0" may represent horizontal bisection and flag "1" may represent vertical bisection, consistent with the partitioning structure in 1410. For quad-tree partitioning, there is no need to indicate the partition type, since a quad-tree partition always splits a block or partition both horizontally and vertically to generate four sub-blocks / partitions of equal size. In some implementations, flag "1" may represent horizontal bisection and flag "0" may represent vertical bisection.

[0101]

[0121] In some example implementations of QTBT, the quadtree and binary tree splitting ruleset can be expressed by the following pre-defined parameters and their associated corresponding functions: - CTU size: quadtree root node size (size of base block) - MinQTSize: The minimum allowed quadtree leaf node - MaxBTSize: The maximum allowed binary tree root node size. - MaxBTDepth: Maximum allowed binary tree depth - MinBTSize: The minimum allowable binary tree leaf node size. In some exemplary implementations of the QTBT partitioning structure, the CTU size may be set as 128x128 luma samples with two corresponding 64x64 blocks of chroma samples (if exemplary chroma subsampling is considered and used), MinQTSize may be set as 16x16, MaxBTSize may be set as 64x64, MinBTSize (for both width and height) may be set as 4x4, and MaxBTDepth may be set as 4. Quad-tree partitioning may be applied to the CTU first to generate quad-tree leaf nodes. The quad-tree leaf nodes may have sizes ranging from its minimum allowed size of 16x16 (i.e., MinQTSize) to 128x128 (i.e., CTU size). If the node is 128x128, it will not be initially split by the binary tree since its size exceeds MaxBTSize (i.e., 64x64). Otherwise, nodes that do not exceed MaxBTSize can be partitioned by binary tree. In the example of FIG. 14, the base block is 128x128. The base block can only be quadtree partitioned according to a predefined set of rules. The base block has a partition depth of 0. Each of the resulting four partitions is 64x64, which does not exceed MaxBTSize, and can be further quadtree or binary tree partitioned at level 1. The process continues. When the binary tree depth reaches MaxBTDepth (i.e., 4), no further partitions may be considered. If a binary tree node has a width equal to MinBTSize (i.e., 4), no further horizontal partitions may be considered. Similarly, if a binary tree node has a height equal to MinBTSize, no further vertical partitions may be considered.

[0102]

[0122] In some example implementations, the above QTBT scheme can be configured to support flexibility for luma and chroma to have the same QTBT structure or separate QTBT structures. For example, for P and B slices, the luma and chroma CTBs in one CTU can share the same QTBT structure. However, for an I slice, the luma CTB may be partitioned into CBs by a QTBT structure, and the chroma CTB may be partitioned into chroma CBs by another QTBT structure. This means that CUs may be used to indicate different color channels of an I slice; for example, an I slice may consist of a coding block of a luma component or a coding block of two chroma components, and a CU of a P or B slice may consist of coding blocks of all three color components.

[0103]

[0123] In some other implementations, the QTBT scheme can be supplemented with the ternary scheme described above. Such implementations may be referred to as multi-type-tree (MTT) structures. For example, in addition to bisection of nodes, one of the ternary partition patterns in Figure 13 may be selected. In some implementations, only square nodes may be subject to trisection. An additional flag may be used to indicate whether the ternary partitioning is horizontal or vertical.

[0104]

[0124] Two-level or multi-level tree designs, such as the QTBT implementation and the QTBT implementation supplemented by trisection, can be primarily motivated by reduced complexity. In theory, the complexity of traversing a tree is T D where T represents the number of split types and D is the depth of the tree. Trade-offs may be made by using multiple types (T) while reducing the depth (D).

[0105]

[0125] In some implementations, the CB may be further partitioned. For example, the CB may be further partitioned into multiple prediction blocks (PBs) for the purpose of intra- or inter-frame prediction during the coding and decoding process. In other words, the CB may be further divided into different sub-partitions, where individual prediction decisions / settings may be made. In parallel, the CB may be further partitioned into multiple transform blocks (TBs) for the purpose of delimiting the levels at which transformation or inverse transformation of the video data is performed. The partitioning scheme of the CB into PBs and TBs may be the same or different. For example, each partitioning scheme may be performed using its own procedure, for example, based on various characteristics of the video data. The partitioning schemes of the PBs and TBs may be independent in some exemplary implementations. The partitioning schemes and boundaries of the PBs and TBs may be interrelated in other exemplary implementations. In some implementations, for example, the TBs may be partitioned after the PB partitioning, and in particular, each PB may be further partitioned into one or more TBs after being determined after the partitioning of the coding blocks. For example, in some implementations, the PB may be divided into one, two, four, or some other number of TBs.

[0106]

[0126] In some implementations, luma and chroma channels may be treated differently for purposes of dividing base blocks into coding blocks and further partitioning into prediction and / or transform blocks. For example, in some implementations, partitioning of coding blocks into prediction and / or transform blocks may be allowed for the luma channel, but such partitioning of coding blocks into prediction and / or transform blocks may not be allowed for the chroma channel(s). Thus, in such implementations, transform and / or prediction of luma blocks may be performed only at the coding block level. In another example, the minimum transform block size for the luma channel and chroma channel(s) may be different, e.g., coding blocks of the luma channel may be allowed to be partitioned into smaller transform and / or prediction blocks than the chroma channels. In yet another example, the maximum depth of partitioning of coding blocks into transform and / or prediction blocks may differ between luma and chroma channels, e.g., coding blocks for a luma channel may be allowed to be partitioned into deeper transform and / or prediction blocks than the chroma channel(s). As a specific example, a luma coding block may be partitioned into transform blocks of multiple sizes that can be represented by a recursive partitioning that goes down at most two levels, and transform block shapes such as square, 2:1 / 1:2, and 4:1 / 1:4, and transform block sizes from 4x4 to 64x64 may be allowed. However, for chroma blocks, only the maximum possible transform block specified for the luma block may be allowed.

[0107]

[0127] In some example implementations for partitioning of coding blocks into PBs, the depth, shape, and / or other characteristics of the PB partitioning may depend on whether the PB is intra-coded or inter-coded.

[0108]

[0128] Partitioning of coding blocks (or prediction blocks) into transform blocks may be performed in various exemplary manners, including but not limited to quad-tree partitioning and predefined pattern partitioning, recursively or non-recursively, and with additional consideration of transform blocks at coding or prediction block boundaries. In general, the resulting transform blocks may be at different partitioning levels, may not be of the same size, and may not be required to be in a square shape (e.g., they may be rectangular with some allowed size and aspect ratio). Further examples are described in more detail below in connection with Figures 15, 16, and 17.

[0109]

[0129] However, in some other implementations, the CB resulting from any of the above partitioning schemes may be used as a basic or smallest coding block for prediction and / or transformation. In other words, no further partitioning is performed for inter / intra prediction purposes and / or transformation purposes. For example, the CB resulting from the above QTBT scheme may be directly used as a unit for performing prediction. Specifically, such a QTBT structure removes the concept of multiple partition types, i.e., removes the separation of CU, PU, ​​and TU, and supports more flexibility for CU / CB partition shapes, as described above. In such a QTBT block structure, the CU / CB can have either a square or rectangular shape. The leaf nodes of such a QTBT are used as units of prediction and transformation processing without any further partitioning. This means that in such an exemplary QTBT coding block structure, the CU, PU, ​​and TU have the same block size.

[0110]

[0130] The various CB partitioning schemes described above, and further partitioning of the CB into PB and / or TB (not including PB / TB partitioning), may be combined in any manner. The following specific implementations are provided as non-limiting examples.

[0111]

[0131] Specific examples of coding block and transform block partitioning are described below. In such an exemplary implementation, a base block may be partitioned into coding blocks using a recursive quadtree partition or the predefined partitioning patterns described above (such as in FIG. 9 and FIG. 10). At each level, whether further quadtree partitioning of a particular partition should continue or not can be determined by local video data characteristics. The resulting CBs may be at different quadtree partitioning levels and of different sizes. Deciding whether to code a picture area using inter-picture (temporal) prediction or intra-picture (spatial) prediction may be done at the CB level (or at the CU level for all three color channels). Each CB may be further partitioned into one, two, four, or other number of PBs according to a predefined PB partition type. Within one PB, the same prediction process may be applied and related information may be transmitted to the decoder on a PB basis. By applying the prediction process based on the PB partition type, after obtaining the residual block, the CB can be partitioned into TBs according to another quadtree structure similar to the coding tree for CBs. In this particular implementation, the CB or TB may be square shaped, but need not be limited to a square shape. Furthermore, in this particular example, the PB may be square or rectangular shaped for inter prediction, and only square for intra prediction. The coding block may be partitioned, for example, into four square shaped TBs. Each TB may be further partitioned recursively (using quadtree partitioning) into smaller TBs, called residual quadtrees (RQTs).

[0112]

[0132] Another implementation example for partitioning the base block into CBs, PBs, and / or TBs is further described below. For example, instead of using multiple partition unit types as shown in FIG. 9 and FIG. 10, a quadtree (e.g., QTBT or QTBT with 3-way partitioning as described above) with nested multi-type trees using 2-way and 3-way segmentation structures may be used. The separation of CB, PB, and TB (i.e., partitioning of CB into PB and / or TB, and partitioning of PBs into TBs) may be abandoned except when required for CBs with sizes that are too large for the maximum transform length (such CBs may require further partitioning). This exemplary partitioning scheme may be designed to support more flexibility for CB partition shapes, and both prediction and transformation may be performed at the CB level without further partitioning. In such a coding tree structure, the CB may have either a square or rectangular shape. Specifically, the coding tree block (CTB) may be first partitioned by a quadtree structure. The quadtree leaf nodes may then be further partitioned by nested multi-type tree structures. An example of a nested multi-type tree structure using bisection or trisection is shown in Figure 11. Specifically, the example multi-type tree structure of Figure 11: Vertical bisection (SPLIT_BT_VER) (1102), Horizontal bisection (SPLIT_BT_HOR) (1104), Split Vertical Thirds (SPLIT_TT_VER) (1106), and Includes four split types referred to as Horizontal Thirds (SPLIT_TT_HOR) (1108). Thus, CB corresponds to a leaf of the multi-type tree. In this implementation, this segmentation is used for both prediction and transformation without any other partitioning, as long as CB is not too large for the maximum transformation length. This means that in most cases, in a quadtree with a nested multi-type tree coding block structure, CB, PB, and TB have the same block size. An exception occurs when the maximum supported transformation length is smaller than the width or height of the color components of CB. In some implementations, in addition to bisection or trisection, the nested pattern of FIG. 11 may further include a quadtree division.

[0113]

[0133] One example of a quadtree with nested multi-type tree coding block structure of block partitioning for one base block is shown in FIG. 12 (including options of quadtree partitioning, binary tree partitioning, and ternary tree partitioning). More specifically, FIG. 12 shows a base block 1200 being quadtree partitioned into four square partitions 1202, 1204, 1206, and 1208. A decision on using the quadtree and multi-type tree structures of FIG. 11 for further partitioning is made for each partition that is quadtree partitioned. In the example of FIG. 12, partition 1204 is not further partitioned. Partitions 1202 and 1208 each employ a different quadtree partitioning. For partition 1202, the second level quadtree partitioned top-left, top-right, bottom-left, and bottom-right partitions respectively adopt the third level quadtree, horizontal binary tree partition 1104 of FIG. 11, no partition, and horizontal ternary tree partition 1108 of FIG. 11. Partition 1208 adopts another quadtree partition, with the second level quadtree partitioned top-left, top-right, bottom-left, and bottom-right partitions respectively adopting the third level vertical ternary tree partition 1106 of FIG. 11, no partition, no partition, and horizontal binary tree partition 1104 of FIG. 11. Two of the sub-partitions of the third level top-left partition of 1208 are further partitioned according to the horizontal binary partition 1104 and horizontal ternary partition 1108 of FIG. 11, respectively. Partition 1206 follows the second level division pattern, vertical bisection 1102 of Figure 11, into two partitions, and those two patterns are further divided at a third level according to horizontal bisection 1108 and vertical bisection 1102 of Figure 11. For one of them, a fourth level division is further applied according to horizontal bisection 1104 of Figure 11.

[0114]

[0134] For the above example, the maximum luma transform size may be 64x64, and the maximum supported chroma transform size may be different from that of the luma, e.g., 32x32. Although the above example CB of Figure 12 is generally not further divided into smaller PBs and / or TBs, still, if the width or height of a luma coding block or a chroma coding block is larger than the maximum transform width or height, the luma coding block or the chroma coding block may be automatically divided horizontally and / or vertically to meet the transform size limitation in that direction.

[0115]

[0135] In the specific example of partitioning base blocks into CBs above and as explained above, the coding tree scheme can support the ability to have separate block tree structures for luma and chroma. For example, for P and B slices, the luma and chroma CTBs in one CTU can share the same coding tree structure. For example, for I slices, luma and chroma can have separate coding block tree structures. When separate block tree structures are applied, the luma CTB is partitioned into luma CBs by one coding tree structure and the chroma CTBs are partitioned into chroma CBs by another coding tree structure. This means that a CU of an I slice may consist of a coding block of the luma component or a coding block of two chroma components, and a CU of a P or B slice always consists of coding blocks of all three color components, unless the video is monochrome.

[0116]

[0136] When a coding block is further partitioned into multiple transform blocks, the transform blocks therein may be ordered in the bitstream according to various orders or scanning schemes. Exemplary implementations for partitioning coding or prediction blocks into transform blocks and the coding order of the transform blocks are described in further detail below. In some exemplary implementations, as described above, the transform partitioning may support multiple shapes of transform blocks, e.g., 1:1 (square), 1:2 / 2:1, and 1:4 / 4:1, with transform block sizes ranging, e.g., from 4x4 to 64x64. In some implementations, when a coding block is 64x64 or smaller, the transform block partitioning may only be applied to the luma component, and for chroma blocks, the transform block size may match the coding block size. Otherwise, if the width or height of a coding block is greater than 64, both the luma and chroma coding blocks may be implicitly divided into multiples of min(W,64)×min(H,64) and min(W,32)×min(H,32), respectively.

[0117]

[0137] In some example implementations of transform block partitioning, for both intra- and inter-coded blocks, the coding blocks may be further partitioned into multiple transform blocks with partitioning depth up to a preset number of levels (e.g., two levels). The partitioning depth and size of the transform blocks may be related. For some example implementations, the mapping from the transform size of the current depth to the transform size of the next depth is shown in Table 1 below.

[0118] Table 1: Conversion Partition Size Settings

[0119] [Table 1]

[0138] Based on the mapping example in Table 1, for a 1:1 square block, the next level transform splitting may create four 1:1 square sub-transform blocks. The transform splitting may stop at, for example, 4x4. Thus, the transform size of the current depth of 4x4 corresponds to the same size of 4x4 for the next depth. In the example of Table 1, for a 1:2 / 2:1 non-square block, the next level transform splitting may create two 1:1 square sub-transform blocks, while for a 1:4 / 4:1 non-square block, the next level transform splitting may create two 1:2 / 2:1 sub-transform blocks.

[0120]

[0139] In some example implementations, for the luma components of intra-coded blocks, additional restrictions may be applied on the transform block partitioning. For example, for each level of transform partitioning, all sub-transform blocks may be restricted to have equal size. For example, for a 32x16 coding block, the level 1 transform partitioning creates two 16x16 sub-transform blocks, and the level 2 transform partitioning creates eight 8x8 sub-transform blocks. In other words, the second level partitioning must be applied to all the first level sub-blocks to keep the transform units equal in size. An example of transform block partitioning for an intra-coded square block according to Table 1 is shown in FIG. 15 with the coding order indicated by the arrows. Specifically, 1502 indicates a square coding block. The first level partitioning into four equal-sized transform blocks according to Table 1 is shown in 1504 with the coding order indicated by the arrows. The second level split of all first level equal sized blocks into 16 equal sized transform blocks according to Table 1 is shown at 1506 with the coding order indicated by the arrows.

[0121]

[0140] In some example implementations, for the luma components of an inter-coded block, the above restrictions on intra-coding may not apply. For example, after the first level of transform partitioning, any one of the sub-transform blocks may be further partitioned independently at another further level. The resulting transform blocks may or may not be of the same size. An example partitioning of an inter-coded block into transform blocks in their coding order is shown in FIG. 16. In the example of FIG. 16, an inter-coded block 1602 is partitioned into transform blocks at two levels according to Table 1. At the first level, the inter-coded block is partitioned into four transform blocks of equal size. Then, only one of the four transform blocks (but not all of them) is further partitioned into four sub-transform blocks, resulting in a total of seven transform blocks with two different sizes, as shown at 1604. An example coding order of these seven transform blocks is shown by the arrows at 1604 in FIG. 16.

[0122]

[0141] In some example implementations, for chroma component(s), some additional restrictions on the transform blocks may be applied, e.g., for chroma component(s), the transform block size may be as large as the coding block size, but may not be smaller than a predefined size (e.g., 8x8).

[0123]

[0142] In some other example implementations, for coding blocks with either width (W) or height (H) greater than 64, both luma and chroma coding blocks may be implicitly divided into multiples of min(W,64)×min(H,64) and min(W,32)×min(H,32) transform units, respectively, where "min(a,b)" in this disclosure may return the smaller value between a and b.

[0124]

[0143] FIG. 17 further illustrates another alternative example scheme for partitioning coding blocks or prediction blocks into transform blocks. As shown in FIG. 17, instead of using recursive transform partitioning, a predefined set of partitioning types may be applied to coding blocks according to their transform type. In the particular example shown in FIG. 17, one of six example partitioning types may be applied to split the coding block into a varying number of transform blocks. Such a scheme resulting in transform block partitioning may be applied to either coding blocks or prediction blocks.

[0125]

[0144] More specifically, the partitioning scheme of FIG. 17 provides up to six example partition types for any given transform type (transform type refers to primary transform such as ADST and other types). In this scheme, every coding block or prediction block can be assigned to a transform partition type, for example, based on a rate-distortion cost. In one example, the transform partition type assigned to a coding block or prediction block may be determined based on the transform type of the coding block or prediction block. A particular transform partition type may correspond to a transform block partition size and pattern, as illustrated by the six transform partition types illustrated in FIG. 17. The correspondence between various transform types and various transform partition types may be predefined. In the examples illustrated below, the uppercase labels indicate transform partition types, which may be assigned to a coding block or prediction block based on a rate-distortion cost:

[0145] PARTITION_NONE: Allocates the transformation size equal to the block size.

[0126]

[0146] · PARTITION_SPLIT: Allocates a transformation size that is 1 / 2 the width of the block size and 1 / 2 the height of the block size.

[0127]

[0147] · PARTITION_HORZ: Allocates a transformation size that is the same width as the block size and half the height of the block size.

[0128]

[0148] · PARTITION_VERT: Allocates a transformation size that is half the width of the block size and the same height as the block size.

[0129]

[0149] · PARTITION_HORZ4: Allocates a transformation size that is the same width as the block size and 1 / 4 of the height of the block size.

[0130]

[0150] · PARTITION_VERT4: Allocates a transformation size that is 1 / 4 the width of the block size and the same height as the block size.

[0131]

[0151] In the above example, all of the transform partition types as shown in Figure 17 include uniform transform sizes for the partitioned transform blocks. This is by way of example only and not limitation. In some other implementations, mixed transform block sizes may be used for the partitioned transform blocks of a particular partition type (or pattern).

[0132]

[0152] The PBs (or CBs, also called PBs when not further partitioned into predictive blocks) resulting from any of the above partitioning schemes can then become individual blocks for coding by either intra-prediction or inter-prediction. In the case of inter-prediction for the current PB, a residual between the current block and the predictive block can be generated, coded, and included in the coded bitstream.

[0153] Inter prediction may be realized, for example, in single reference mode or mixed reference mode. In some implementations, first, a skip flag may be included in the bitstream of the current block (or at a higher level) to indicate whether the current block is inter-coded and not skipped. If the current block is inter-coded, another flag may be further included in the bitstream to signal whether a single reference mode or a mixed reference mode is used for the current block. In the case of a single reference mode, one reference block may be used to generate the prediction block of the current block. In the case of a mixed reference mode, two or more reference blocks may be used to generate the prediction block, for example by weighted averaging. A mixed reference mode may be referred to as a more than one reference mode, a two-reference mode, or a multiple reference mode. The reference block or multiple reference blocks may be identified using a reference frame index or indices and additionally using a corresponding motion vector or motion vectors indicating a shift(s) in position (e.g., in horizontal and vertical pixels) between the reference block(s) and the current block. For example, in single reference mode, an inter-predicted block for a current block may be generated from a single reference block identified by one motion vector in a reference frame as the predictive block, while in mixed reference mode, the predictive block may be generated by a weighted average of two reference blocks in two reference frames indicated by two motion vectors. The motion vectors may be coded in various ways and included in the bitstream.

[0133]

[0154] In some implementations, the coding or decoding system may maintain a decoded picture buffer (DPB). Some images / pictures may be kept in the DPB waiting to be displayed (in the decoding system), and some images / pictures in the DPB may be used as reference frames to enable inter prediction. In some implementations, reference frames in the DPB may be tagged as either short-term or long-term references for a current image being coded or decoded. For example, short-term reference frames may include frames used for inter prediction for blocks in the current frame or in a predetermined number (e.g., two) subsequent video frames that are closest to the current frame in decoding order. Long-term reference frames may include frames in the DPB that can be used to predict image blocks in a frame that is more than a predefined number of frames far away from the current frame in decoding order. Information regarding tags of such short-term and long-term reference frames may be referred to as a reference picture set (RPS) and may be added to the header of each frame in the coded bitstream. Each frame in the encoded video stream can be identified by a Picture Order Counter (POC), which is numbered according to the playback sequence, either in an absolute way or relative to a group of pictures starting with, for example, the I-frame.

[0134]

[0155] In some example implementations, one or more reference picture lists including identification of short-term and long-term reference frames for inter prediction may be formed based on information in the RPS. For example, for unidirectional inter prediction, a single picture reference list may be formed denoted as L0 reference (or reference list 0), while for bi-directional inter prediction, two picture reference lists may be formed denoted as L0 (or reference list 0) and L1 (or reference list 1) for each of the two prediction directions. The reference frames included in the L0 and L1 lists may be ordered in various predefined manners. The lengths of the L0 and L1 lists may be signaled in the video bitstream. Unidirectional inter prediction may be either a mixed reference mode, where the multiple references for generating a prediction block by weighted averaging in the mixed prediction mode are on the same side of the block to be predicted, or a single reference mode. Bi-directional inter prediction may only be a mixed mode, where the bi-directional inter prediction includes at least two reference blocks.

[0135]

[0156] In some implementations, a merge mode (MM) for inter prediction may be implemented. In general, in the merge mode, a motion vector in single reference prediction or one or more motion vectors in mixed reference prediction for a current PB may be derived from other motion vector(s) instead of being calculated and signaled independently. For example, in an encoding system, a current motion vector(s) for a current PB may be reduced to a difference(s) between the current motion vector(s) and one or more other already coded motion vectors (called reference motion vectors). Such difference(s) of the motion vector(s) that are not the entire current motion vector(s) may be coded and included in the bitstream and linked to the reference motion vector(s). Correspondingly, in a decoding system, a motion vector(s) corresponding to the current PB may be derived based on the decoded motion vector difference and the decoded reference motion vector(s) linked thereto. As a specific form of Merge Mode (MM) inter prediction in general, such inter prediction based on motion vector difference may be referred to as Merge Mode with Motion Vector Difference (MMVD). MM in general, or MMVD in particular, may therefore be implemented to exploit correlation between motion vectors associated with different PBs to improve coding efficiency. For example, adjacent PBs may have similar motion vectors. In another example, motion vectors may be correlated in time (between frames) for blocks that are similarly positioned / located as they are in space.

[0136]

[0157] In some example implementations, an MM flag may be included in the bitstream during the encoding process to indicate whether the current PB is in merge mode. Additionally or alternatively, an MMVD flag may be included in the encoding process and signaled in the bitstream to indicate whether the current PB is in MMVD mode. The MM and / or MMVD flags or indicators may be provided at the PB level, CB level, CU level, CTB level, CTU level, slice level, picture level, etc. In certain examples, both an MM flag and an MMVD flag may be included for the current CU, and the MMVD flag may be signaled immediately after the skip flag and the MM flag to specify whether the MMVD mode is used for the current CU.

[0137]

[0158] In some example implementations of MMVD, a list of merge candidates for motion vector prediction may be formed for a predicted block. The list of merge candidates may include a predetermined number (e.g., two) of MV predictor candidate blocks, whose motion vectors may be used to predict the current motion vector. The MVD candidate blocks may include blocks selected from adjacent blocks in the same frame and / or from temporal blocks (e.g., identically located blocks in a forward or subsequent frame of the current frame). These options represent blocks in a spatial or temporal location relative to the current block that are likely to have the same or similar motion vector as the current block. The size of the list of MV predictor candidates may be pre-determined. For example, the list may include two candidates. To be in the list of merge candidates, a candidate block may be required, for example, to have the same reference frame (or frames) as the current block, to be present (e.g., requiring a bounds check to be performed if the current block is close to an edge of a frame), and to have already been coded during the coding process and / or to have already been decoded during the decoding process. In some implementations, the list of merging candidates may be populated first from spatially neighboring blocks (particularly those scanned in a predefined order) if available and satisfy the above conditions, and then the temporal block may be added if space is still available in the list. Neighboring candidate blocks may be selected, for example, from the left and top blocks of the current block. The list of merging MV predictor candidates may be signaled in the bitstream.

[0138]

[0159] In some implementations, the actual merge candidate used as the reference motion vector for predicting the motion vector of the current block may be signaled. If the merge candidate list contains two candidates, a one-bit flag called the merge candidate flag may be used to indicate the selection of the reference merge candidate. For a current block predicted in combined mode, each of the multiple motion vectors predicted using the MV predictor may be associated with a reference motion vector from the merge candidate list.

[0139]

[0160] In some example implementations of MMVD, after a merge candidate is selected and used as a base motion vector predictor for a predicted motion vector, a motion vector differential (MVD or delta MV, which represents the difference between the predicted motion vector and the reference candidate motion vector) may be calculated in the coding system. Such MVD may include information representing the magnitude and direction of the MV difference, which may be signaled in the bitstream. The magnitude and direction of the motion difference may be signaled in various ways.

[0140]

[0161] In some exemplary implementations of MMVD, the distance index may be used to specify the magnitude information of the motion vector difference and indicate one of a set of predefined offsets representing a predefined motion vector difference from a starting point (reference motion vector). The MV offset according to the signaled index may then be added to either the horizontal or vertical component of the starting (reference) motion vector. Whether the horizontal or vertical component of the reference motion vector should be offset is determined by the exemplary direction information of the MVD. An example of a predefined relationship between the distance index and the predefined offsets is specified in Table 2.

[0141] Table 2 - Example of the relationship between distance index and predefined MV offsets

[0142] [Table 2]

[0162] In some exemplary implementations of MMVD, a direction index may be further signaled and used to represent the direction of the MVD relative to the reference motion vector. In some implementations, the direction may be limited to either horizontal or vertical. An exemplary 2-bit direction index is shown in Table 3. In the example of Table 3, the interpretation of the MVD may change depending on the information of the start / reference MV. For example, if the start / reference MV corresponds to a uni-predictive block, or corresponds to a bi-directional block and both reference frame lists point to the same side of the current picture (i.e., the POCs of the two reference pictures are both greater than the POC of the current picture, or both less than the POC of the current picture), the code in Table 3 may specify the sign (direction) of the MV offset added to the start / reference MV. If the start / reference MV corresponds to a bi-directional block and the two reference pictures are on different sides of the current picture (i.e., the POC of one reference picture is greater than the POC of the current picture and the POC of the other reference picture is less than the POC of the current picture), and the difference between the reference POC in picture reference list 0 and the current frame is greater than the difference between the reference POC in picture reference list 1 and the current frame, the codes in Table 3 may specify the sign of the MV offset added to the reference MV corresponding to the reference picture in picture reference list 0, and the sign of the offset of the MV corresponding to the reference picture in picture reference list 1 may have the opposite value (opposite sign of the offset). Otherwise, if the difference between the reference POC in picture reference list 1 and the current frame is greater than the difference between the reference POC in picture reference list 0 and the current frame, the code in Table 3 may specify the sign of the MV offset to be added to the reference MV associated with picture reference list 1, and the sign of the offset of the reference MV associated with picture reference list 0 may have the opposite value.

[0143] Table 3 - Example implementation of the sign of the MV offset specified by the direction index

[0144] [Table 3]

[0163] In some example implementations, the MVD may be scaled according to the difference in POC in each direction. If the difference in POC in both lists is the same, no scaling is needed. Otherwise, if the difference in POC in reference list 0 is larger than that in reference list 1, the MVD in reference list 1 is scaled. If the difference in POC in reference list 1 is larger than that in reference list 0, the MVD in reference list 0 can be scaled as well. If the starting MV is one-predicted, the MVD is added to the available or reference MV.

[0145]

[0164] In some example implementations of MVD coding and signaling for bi-directional composite prediction, in addition to or instead of coding and signaling two MVDs separately, symmetric MVD coding may be implemented such that only one MVD needs to be signaled and the other MVD may be derived from the signaled MVD. In such implementations, motion information including reference picture indexes for both list 0 and list 1 is signaled. However, for example, only the MVD associated with reference list 0 is signaled, and the MVD associated with reference list 1 is not signaled and is derived. Specifically, at the slice level, a flag may be included in the bitstream, called "mvd_l1_zero_flag", indicating whether reference list 1 is not signaled in the bitstream. If this flag is 1, indicating that reference list 1 is equal to 0 (and thus not signaled), a bi-directional prediction flag, called "BiDirPredFlag", may be set to 0, meaning that no bi-directional prediction is present. Otherwise, if mvd_l1_zero_flag is 0, BiDirPredFlag may be set to 1 if the closest reference picture in list-0 and the closest reference picture in list-1 form a forward and backward pair of reference pictures or a backward and forward pair of reference pictures, and both reference pictures in list-0 and list-1 are short-term reference pictures. Otherwise, BiDirPredFlag is set to 0. BiDirPredFlag being 1 indicates that a symmetric mode flag is additionally signaled in the bitstream. A decoder is able to extract the symmetric mode flag from the bitstream when BiDirPredFlag is 1. The symmetric mode flag may, for example, be signaled at the CU level (if necessary), which indicates whether the symmetric MVD coding mode is used for the corresponding CU.When the symmetric mode flag is 1, it indicates the use of a symmetric MVD coding mode, where only the reference picture indexes of both list-0 and list-1 (referred to as "mvp_l0_flag" and "mvp_l1_flag") are signaled in the MVD associated with list-0 (referred to as "MVD0"), and the other motion vector differential "MVD1" is derived rather than signaled. For example, MVD1 may be derived as -MVD0. Thus, in the exemplary symmetric MVD mode, only one MVD is signaled. In other exemplary implementations of MV prediction, a harmonized scheme may be used to implement general merge mode, MMVD, and some other type of MV prediction for both single-reference and mixed-reference mode MV prediction. Various syntax elements can be used to signal the manner in which the MV of the current block is predicted.

[0146]

[0165] For example, for single reference modes, the following MV prediction modes may be signaled:

[0166] NEARMV - does not use any MVD directly, but uses one of the motion vector predictors (MVP) in a list indicated by a Dynamic Reference List (DRL) index.

[0147]

[0167] NEWMV - Use one of the motion vector predictors (MVPs) in the list signaled by the DRL index as a reference and apply a delta to the MVP (eg, using the MVP).

[0148]

[0168] GLOBALMV - Use motion vectors based on frame-level global motion parameters.

[0149]

[0169] Similarly, for mixed reference inter prediction modes using two reference frames corresponding to the two MVs to be predicted, the following MV prediction modes may be signaled:

[0170] NEAR_NEARMV - For each of two of the predicted MVs, use one of the motion vector predictors (MVPs) in the list signaled by the DRL index, without using the MVD.

[0150]

[0171] NEAR_NEWMV - to predict the first of two motion vectors, use one of the motion vector predictors (MVP) in the list signaled by the DRL index as a reference MV without using MVD; to predict the second of two motion vectors, use one of the motion vector predictors (MVP) in the list signaled by the DRL index as a reference MV in combination with an additionally signaled delta MV (MVD).

[0151]

[0172] NEW_NEARMV - to predict the second of two motion vectors, use one of the motion vector predictors (MVP) in the list signaled by the DRL index as a reference MV without using MVD; to predict the first of two motion vectors, use one of the motion vector predictors (MVP) in the list signaled by the DRL index as a reference MV in combination with an additionally signaled delta MV (MVD).

[0152]

[0173] NEW_NEWMV - Use one of the motion vector predictors (MVPs) in the list signaled by the DRL index as a reference MV, in combination with an additionally signaled delta MV to predict for each of the two MVs.

[0153]

[0174] GLOBAL_GLOBALMV - Use MV from each reference based on frame-level global motion parameters.

[0154]

[0175] Thus, the term "NEAR" above refers to MV prediction using a reference MV without MVD as a general merge mode, while the term "NEW" refers to MV prediction using a reference MV, supplemented with MVD signaled as in MMVD mode. In the case of mixed inter prediction, both the reference-based motion vector and the above motion vector differentials may be different or independent between the two references in general, even if they are correlated, and such correlation may be exploited to reduce the amount of information required to signal the two motion vector differentials. In such a situation, joint signaling of the two MVDs may be implemented and specified in the bitstream.

[0155]

[0176] The Dynamic Reference List (DRL) discussed above can be used to hold a set of indexed motion vectors that are dynamically maintained and considered as candidate motion vector predictors.

[0156]

[0177] In some example implementations, an optical flow based approach can be used to refine motion vectors (MVs) on a sub-block basis for composite prediction. In particular, optical flow equations can be applied to formulate a least squares problem, from which refined motions can be derived from gradients of composite inter prediction samples. With these refined motions, the sub-block-wise MVs can be refined within the prediction block, which may improve the inter prediction quality. Some coding features may be an extension of the bi-directional optical flow (BDOF) concept, since it supports MV refinement when two reference blocks have any temporal distance to the current block.

[0157]

[0178] Some implementations may add four additional inter-composite modes, enumerated as follows: NEAR_NEARMV_OPTFLOW, NEAR_NEWMV_OPTFLOW, NEW_NEARMV_OPTFLOW, and / or NEW_NEWMV_OPTFLOW.

[0158]

[0179] These modes may be called optical flow modes, and the reference MV type may be defined similarly to that in the normal composite modes (e.g., NEAR_NEWMV_OPTFLOW has the same reference MV type as NEAR_NEWMV). Composite prediction may be performed based on refined MVs for each sub-block instead of the original MV.

[0159]

[0180] The various embodiments and / or implementations described in this disclosure may be used separately or combined in any order. Furthermore, some, all, or any partial or total combination of these embodiments and / or implementations may be embodied as part of an encoder and / or decoder and may be implemented in hardware and / or software. For example, they may be hard-coded in dedicated processing circuitry (e.g., one or more integrated circuits). In another example, they may be implemented by one or more processors executing a program stored on a non-transitory computer-readable medium.

[0160]

[0181] There may be some challenges / issues associated with some implementations of the motion vector differential signaling method, e.g., issues with how the delta MV(s) are signaled in the NEW_NEARMV, NEAR_NEWMV, or NEW_NEWMV modes. One of the challenges / issues may be that the correlation of the motion vector differentials in the two reference lists is not exploited, thus reducing coding / decoding efficiency and performance.

[0161]

[0182] The present disclosure describes various embodiments for signaling motion vector differentials (MVD or delta MV) for inter-prediction mode coding and / or decoding, which address at least one of the challenges / problems discussed above and provide efficient software / hardware implementations for improved inter-prediction mode coding / decoding.

[0162]

[0183] 18, among various embodiments, a method 1800 for decoding an inter-predicted video block is shown. The method 1800 may include all or some of the following steps: step 1810, a device including a memory storing instructions and a processor in communication with the memory receiving a coded video bitstream; step 1820, the device extracting from the coded video bitstream a flag indicating whether, for a current block of a current frame, an inter-prediction mode is a JOINT_NEWMV mode, where the JOINT_NEWMV mode is a combination of a first delta motion vector (MV) for a first reference frame from reference list 0 and a second reference frame from reference list 1; and / or 1840, in response to the flag indicating that the inter prediction mode is JOINT_NEWMV mode, the device extracts a joint delta motion vector (MV) for the current block from the coded video / bitstream; and the device derives a first delta MV and a second delta MV based on the joint delta MV; and / or 1840, the device decodes the current block of the current frame based on the first delta MV and the second delta MV.

[0163]

[0184] In some implementations, step 1820 may include the device retrieving an inter-prediction mode for the current block of the current frame from the coded video bitstream; and / or step 1830 may include, in response to the inter-prediction mode being a mode indicating that a first delta MV for the first reference frame and a second delta MV for the second reference frame are jointly signaled: the device extracting a joint delta motion vector (MV) for the current block from the coded video bitstream, and the device deriving the first delta MV and the second delta MV based on the joint delta MV. The mode indicating that a first delta MV for the first reference frame and a second delta MV for the second reference frame are jointly signaled may be a JOINT_NEWMV mode.

[0164]

[0185] In various embodiments of the present disclosure, the size of a block (e.g., but not limited to, a coding block, a prediction block, or a transform block) may refer to the width or height of the block. The width or height of the block may be an integer in pixels. In various embodiments of the present disclosure, the size of a block may refer to the area size of the block. The area size of the block may be an integer calculated by multiplying the width of the block by the height of the block, in pixels. In some various embodiments of the present disclosure, the size of a block may refer to the maximum width or height of the block, the minimum width or height of the block, or the aspect ratio of the block. The aspect ratio of the block may be calculated as the width of the block divided by the height, or the height of the block divided by the width.

[0165]

[0186] Here, in some embodiments of the present disclosure, a "first" reference frame may refer not only to "one" reference frame, but also to the "first" reference frame of a plurality of reference frames (e.g., the one having the smallest index or the one appearing earliest in a sequence), and a "second" reference frame may refer not only to "another" reference frame, but also to the "second" reference frame of a plurality of reference frames (e.g., the one having the second smallest index or the one appearing second earliest in a sequence).

[0166]

[0187] Here, in various embodiments of the present disclosure, "XYZ is signaled" may refer to XYZ being encoded into a coded bitstream during the encoding process; and / or, after the coded bitstream is transmitted from one device to another, "XYZ is signaled" may refer to XYZ being decoded / extracted from the coded bitstream during the decoding process.

[0167]

[0188] Here, in various embodiments of the present disclosure, the orientation of a reference frame may be determined by whether the reference frame is before the current frame in display order or after the current frame in display order. In some implementations for a mixed reference mode, if the picture order count (POC) of both reference frames for one motion vector pair is greater than or less than the POC of the current frame, the orientations of the two reference frames are the same. Otherwise, if the POC of one reference frame is greater than the POC of the current frame and the POC of the other reference frame is less than the POC of the current frame, the orientations of the two reference frames are different.

[0168]

[0189] Here, in various embodiments of this disclosure, a "block" may refer to a prediction block, a coding block, a transform block, or a coding unit (CU).

[0169]

[0190] For step 1810, the device may be the electronic device (530) of Figure 5 or the video decoder (810) of Figure 8. In some implementations, the device may be the decoder (633) in the encoder (620) of Figure 6. In other implementations, the device may be part of the electronic device (530) of Figure 5, part of the video decoder (810) of Figure 8, or part of the decoder (633) in the encoder (620) of Figure 6. The coded video bitstream may be a coded video sequence in Figure 8 or intermediate coded data in Figure 6 or Figure 7.

[0170]

[0191] For step 1820, the device may extract from the coded video bitstream an inter-prediction mode for a current block of a current frame. In some implementations, the current block may be a mixed reference mode. The inter-prediction mode may be a new inter-coded mode, such as JOINT_NEWMV, which indicates that a first delta MV for a first reference frame and a second delta MV for a second reference frame are signaled together.

[0171]

[0192] For step 1830, in response to the inter prediction mode being a mode indicating that a first delta MV relative to a first reference frame and a second delta MV relative to a second reference frame are signaled together: the device is capable of retrieving a joint delta motion vector (MV) for the current block from the coded video bitstream and deriving the first delta MV and the second delta MV based on the joint delta MV.

[0172]

[0193] In some implementations, the mode may be a new inter-coded mode named as JOINT_NEWMV mode, which indicates that delta MVs for multiple reference lists (e.g., reference list 0 and reference list 1) are jointly signaled and / or transmitted. In a situation where the current frame is inter-predicted based on two reference frames, if the inter-prediction mode is equal to JOINT_NEWMV mode, the delta MVs for the first reference frame indicated by the first reference list (reference list 0) and the second reference frame indicated by the second reference list (reference list 1) are jointly signaled. Thus, for example, only one delta MV named joint_delta_mv may be signaled and transmitted to decode the current block, in which case the delta MVs for reference list 0 and reference list 1 may be derived from the joint delta MV (joint_delta_mv). The joint delta MV may be referred to as MV difference (MVD).

[0173]

[0194] In some other implementations, the mode is one of the mixed reference modes; a syntax term (sometimes abbreviated as syntax) extracted from the coded video bitstream indicates the inter prediction mode.

[0174]

[0195] In some other implementations, the mode is JOINT_NEWMV; the prediction mode is: JOINT_NEWMV mode, NEAR_NEARMV mode, NEAR_NEWMV mode, NEW_NEARMV mode, NEW_NEWMV mode, and GLOBAL_GLOBALMV mode It is one of them.

[0175]

[0196] In some other implementations, whether the inter prediction mode is the mode (JOINT_NEWMV mode) is based on at least one of: a first Picture Order Count (POC) distance between the first reference frame and the current frame, a second POC distance between the second reference frame and the current frame, or a directional relationship of the first reference frame and the second reference frame with respect to the current frame.

[0176]

[0197] In some other implementations, the inter prediction mode is the mode in response to the direction relationship indicating the opposite direction or the first POC distance being equal to the second POC distance. In some other implementations, the inter prediction mode is the mode when the direction relationship indicates the opposite direction and the first POC distance is equal to the second POC distance.

[0177]

[0198] In some other implementations, method 1800 may further include the device deriving a context for deriving the inter prediction mode based on at least one of: a first picture order count (POC) distance between the first reference frame and the current frame, a second POC distance between the second reference frame and the current frame, or a directional relationship of the first reference frame and the second reference frame with respect to the current frame.

[0178]

[0199] In some other implementations, if the current block is coded as a mixed reference mode, one syntax can be signaled to indicate whether or not the JOINT_NEWMV mode is used for the current block.

[0179]

[0200] In some other implementations, the JOINT_NEWMV mode may be a new mode that is added to the list of mixed reference modes, so that the list of mixed reference modes is JOINT_NEWMV mode, NEAR_NEARMV mode, NEAR_NEWMV mode, NEW_NEARMV mode, NEW_NEWMV mode, and GLOBAL_GLOBALMV mode, Thus, the JOINT_NEWMV mode may be signaled and / or transmitted in a similar manner (e.g., via a common syntax) as any of the NEAR_NEARMV mode, NEAR_NEWMV mode, NEW_NEARMV mode, NEW_NEWMV mode, and / or GLOBAL_GLOBALMV mode.

[0180]

[0201] In some other implementations, the JOINT_NEWMV mode may be conditionally signaled based on the orientations of the two reference frames and / or the distances of the two reference frames to the current frame, for example, the JOINT_NEWMV mode may be signaled only if the orientations of the two reference frames are different and / or if the absolute values ​​of the distances of the two reference frames to the current frame are the same.

[0181]

[0202] In some other implementations, the context for signaling the JOINT_NEWMV mode may depend on the orientation relationship of the two reference frames and / or the distance of the two reference frames to the current frame. The orientation relationship of the two reference frames to the current frame may refer to whether the orientations of the two reference frames are the same or opposite. The distance of the two reference frames to the current frame may refer to the POC distance of the two reference frames to the current frame, which may include at least one of: whether the absolute values ​​of the POC distances of the two reference frames to the current frame are the same or different; the ratio of the POC distances of the two reference frames to the current frame; and / or whether the absolute value of the first POC distance to a first reference frame in the two reference frames is greater than the absolute value of the second POC distance to a second reference frame in the two reference frames.

[0182]

[0203] In various embodiments / implementations of the present disclosure, in step 1803, deriving the first delta MV and the second delta MV based on the joint delta MV may include determining one of the two delta MVs as the joint delta MV; and scaling the joint delta MV to obtain the following: a first POC distance between the first reference frame and the current frame; a second POC distance between the second reference frame and the current frame, or The directional relationship of the first and second reference frames to the current frame. In some implementations, the scaling may be a linear scaling method, i.e., the absolute value of the scaled delta MV may be proportional to the ratio of the second POC distance divided by the first POC distance, and the sign of the scaled delta MV may be determined according to the directional relationship. As an example, if the first POC distance is 4, the second POC distance is 8, and the directional relationship is the same direction for the first and second reference frames relative to the current frame, the second delta MV is obtained by scaling / multiplying the joint delta MV by a factor of 2 (=8 / 4); the second delta MV has the same sign as the joint delta MV since the directional relationship is the same direction.

[0183] As another example, if the first POC distance is 3 and the second POC distance is -9, and the directional relationship is in the opposite direction for the first and second reference frames relative to the current frame, the second delta MV is obtained by scaling / multiplying the joint delta MV by a factor of -3 (=-9 / 3); the second delta MV has the opposite sign as the joint delta MV since the directional relationship is in the opposite direction.

[0184]

[0204] In some other implementations, in response to the inter prediction mode being the mode, the device performs optical flow motion refinement on the current block.

[0185]

[0205] In some other implementations, the method 1800 may further include the device extracting from the coded video bitstream a flag indicating whether optical flow motion refinement is performed for the mode; and, in response to the flag indicating that optical flow motion refinement is performed for the mode, the device performing optical flow motion refinement on the current block. In some other implementations, the flag may be signaled and / or transmitted in a high level syntax including at least one of a sequence parameter set (SPS), a video parameter set (VPS), a picture parameter set (PPS), a picture header, a tile header, a slice header, a frame header, a coding tree unit (CTU) header, or a superblock header.

[0186]

[0206] In some other implementations, the method 1800 may further include the device extracting, from the coded video bitstream, a flag indicating whether the mode is applicable to the current block.

[0187]

[0207] In some other implementations, optical flow motion refinement is always applied in JOINT_NEWMV mode.

[0188]

[0208] In some other implementations, a flag / syntax is signaled to indicate whether optical flow motion refinement is applied to the JOINT_NEWMV mode.

[0189]

[0209] In some other implementations, a flag is signaled in the high level syntax to indicate whether or not JOINT_NEWMV mode can be used, including but not limited to the SPS, VPS, PPS, picture header, tile header, slice header, frame header, and CTU (or superblock) header.

[0190]

[0210] In some implementations of the mixed reference mode, a first flag / syntax, which may be named optflow_flag, may be transmitted to the device to indicate whether optical flow motion refinement is applied to the JOINT_NEWMV mode. In some implementations, a value of 0 for the first flag may indicate that optical flow motion refinement is applied to the JOINT_NEWMV mode (e.g., JOINT_NEWMV_OPTFLOW mode); a value of 1 for the first flag may indicate that optical flow motion refinement is not applied to the JOINT_NEWMV mode. Conversely, in some other implementations, a value of 1 for the first flag may indicate that optical flow motion refinement is applied to the JOINT_NEWMV mode (e.g., JOINT_NEWMV_OPTFLOW mode); a value of 0 for the first flag may indicate that optical flow motion refinement is not applied to the JOINT_NEWMV mode.

[0191]

[0211] In some implementations of the joint reference mode, for example, a second flag / syntax, which may be named joint_mvd_flag, may be transmitted to the device to indicate whether or not the JOINT_NEWMV mode can be used.

[0192]

[0212] In some other implementations, in response to a value of the second flag (e.g., joint_mvd_flag) indicating that a delta MV for the JOINT_NEWMV mode may be used, only one joint delta MV, which may be named, for example, joint_delta_mv, is signaled and transmitted to the decoder, and the delta MVs for reference list 0 and reference list 1 may be derived from the joint delta MV (e.g., joint_delta_mv). In response to a value of the second flag (e.g., joint_mvd_flag) indicating that the JOINT_NEWMV mode may not be used, zero or one or two delta MVs may be signaled separately for reference list 0 and / or reference list 1 based on the inter prediction mode. For example, if there is "NEAR" for a single inter mode or two are "NEAR" for a combined mode (in which case, under some circumstances, a delta MV may not be needed), zero delta MVs may be signaled / transmitted; if there is "NEW" for a single inter mode or one is "NEW" and one is "NEAR" for the other inter prediction mode, one delta MV may be signaled / transmitted; if there are two "NEW" for an inter prediction mode, two delta MVs may be signaled / transmitted.

[0213] In some implementations, a value of 0 for the second flag may indicate that the JOINT_NEWMV mode can be used, e.g., delta MVs of reference list 0 and reference list 1 are signaled together, and only one joint delta MV is signaled and transmitted; a value of 1 for the second flag may indicate that the JOINT_NEWMV mode cannot be used, e.g., delta MVs of reference list 0 and reference list 1 are not signaled together, and zero (or one or two) joint delta MVs are signaled and transmitted. Conversely, in some other implementations, a value of 1 for the second flag may indicate that the JOINT_NEWMV mode can be used; and a value of 0 for the flag may indicate that the JOINT_NEWMV mode cannot be used.

[0193]

[0214] In some implementations, if the inter prediction mode of the current block is JOINT_NEWMV mode and / or a flag (e.g., joint_mvd_flag) indicates that the delta MVs of reference list 0 and reference list 1 are signaled together, the delta MV for one reference list (e.g., reference list 0 or reference list 1) may be determined as joint_delta_mv; and the delta MV for another reference list may be derived from joint_delta_mv based on the POC distances of the first and second reference frames to the current frame and the directions of the two reference frames.

[0194]

[0215] In some other implementations, the inter prediction mode of the current block is a JOINT_NEWMV mode; Step 1830 determines the first delta MV as a joint delta MV; and the first Picture Order Count (POC) distance between the first reference frame and the current frame, a second POC distance between the second reference frame and the current frame, or The directional relationship of the first and second reference frames to the current frame. determining a second delta MV by scaling the joint delta MV according to at least one of:

[0195]

[0216] In some other implementations, the inter prediction mode of the current block is a JOINT_NEWMV mode; Step 1830 determines the second delta MV as a joint delta MV; and the first Picture Order Count (POC) distance between the first reference frame and the current frame, a second POC distance between the second reference frame and the current frame, or The directional relationship of the first and second reference frames to the current frame. The method may further include determining a first delta MV by scaling the joint delta MV according to at least one of:

[0196]

[0217] In some embodiments, the delta MV of reference list 0 (or list 1) may always be set equal to joint_delta_mv, and the delta MV of reference list 1 (or list 0) may be scaled from joint_delta_mv according to the POC distance of the reference frame relative to the current frame and / or the orientation of the two reference frames.

[0197]

[0218] In some other implementations, the inter prediction mode of the current block is JOINT_NEWMV mode; and step 1830, in response to a first absolute POC distance between the first reference frame and the current frame being greater than a second absolute POC distance between the second reference frame and the current frame, includes: Determine the first delta MV as the joint delta MV; Determine the second delta MV by scaling the joint delta MV: a first POC distance between the first reference frame and the current frame; a second POC distance between the second reference frame and the current frame, or The directional relationship of the first and second reference frames to the current frame. The method may include performing the method according to at least one of the following:

[0198]

[0219] In some other implementations, the inter prediction mode of the current block is JOINT_NEWMV mode; and step 1830, in response to a first absolute POC distance between the first reference frame and the current frame being less than a second absolute POC distance between the second reference frame and the current frame, includes: Determine the second delta MV as the joint delta MV; Determine the first delta MV by scaling the joint delta MV: a first POC distance between the first reference frame and the current frame; a second POC distance between the second reference frame and the current frame, or The directional relationship of the first and second reference frames to the current frame. The method may include performing the method according to at least one of the following:

[0199]

[0220] In some embodiments, if the absolute POC distance between reference list 0 (or list 1) and the current frame is greater than the absolute POC distance between reference list 1 (or list 0) and the current frame, the delta MV of one of reference list 0 (or list 1) with the greater absolute POC distance may be set equal to joint_delta_mv. The delta MV of the other of reference list 1 (or list 0) with the lesser absolute POC distance may be scaled from joint_delta_mv according to the POC distance of the reference frame relative to the current frame and / or the orientation of the two reference frames.

[0200]

[0221] In some other implementations, the inter prediction mode of the current block is JOINT_NEWMV mode; and step 1830 includes: In response to the first absolute POC distance between the first reference frame and the current frame being equal to the second absolute POC distance between the second reference frame and the current frame: determine a first delta MV as a joint delta MV; In response to the first reference frame and the second reference frame having the same orientation relationship to the current frame: determining a second delta MV as a joint delta MV; In response to the first and second reference frames having opposite directional relationships to the current frame, the method may include determining a second delta MV as the joint delta MV multiplied by -1.

[0201]

[0222] In some other implementations, if the absolute POC distance between reference list 1 and the current frame is the same as the absolute POC distance between reference list 0 and the current frame, the delta MV of reference list 0 may be set equal to joint_delta_mv. If the orientations of the two reference frames are the same, the delta MV of reference list 1 may similarly be set equal to joint_delta_mv. Otherwise, if the orientations of the two reference frames differ, the delta MV of reference list 1 is set to be joint_delta_mv multiplied by -1.

[0202]

[0223] In some other implementations, an optical flow based approach can be used to refine the motion vectors (MVs) on a sub-block basis for composite prediction. In particular, the optical flow equations can be applied to formulate a least squares problem, from which refined motions can be derived from the gradients of the composite inter prediction samples. With these refined motions, the sub-block-wise MVs can be refined within the prediction block, which may improve the inter prediction quality. Some coding features may be an extension of the bi-directional optical flow (BDOF) concept, since it supports the refinement of MVs when two reference blocks have any temporal distance to the current block.

[0203]

[0224] With BDOF, the bi-predictive prediction of the current block is enhanced via a more accurate motion vector derived from its two reference blocks. With the more accurate motion vector (e.g., via optical flow refinement), it is possible to reduce the motion vector prediction error, resulting in better coding performance. In some other implementations, one or more additional composite inter modes may be added, these being: NEAR_NEARMV_OPTFLOW mode (i.e. NEAR_NEARMV mode with optical flow motion vector refinement), NEAR_NEWMV_OPTFLOW mode (i.e. NEAR_NEWMV mode with optical flow motion vector refinement), NEW_NEARMV_OPTFLOW mode (e.g., NEW_NEARMV mode with optical flow motion vector refinement), and / or May include NEW_NEWMV_OPTFLOW mode (e.g., NEW_NEWMV mode with optical flow motion vector refinement). The above composite inter modes with these optical flow motion vector refinements may be called optical flow modes, and the reference MV types may be defined similarly to those in normal composite modes (e.g., NEAR_NEWMV_OPTFLOW has the same reference MV type as NEAR_NEWMV). Composite prediction may be performed based on the refined MVs per sub-block instead of the original MVs.

[0204]

[0225] The embodiments in the present disclosure may be used separately or in combination in any order. Any steps or processes in any embodiment in the present disclosure may be combined in any amount or in any order as desired. Two or more steps or processes in any embodiment in the present disclosure may be performed in parallel. Furthermore, each method (or embodiment), encoder, and decoder may be implemented by processing circuitry (e.g., one or more processors, or one or more integrated circuits). In one example, the one or more processors execute a program stored on a non-transitory computer-readable medium. The embodiments in the present disclosure may be applied to luma blocks or chroma blocks.

[0205]

[0226] The techniques described above may be implemented as computer software using computer readable instructions and may be physically stored on one or more computer readable media. For example, Figure 19 illustrates a computer system (2000) suitable for implementing certain embodiments of the disclosed subject matter.

[0206]

[0227] Computer software may be coded using any suitable machine code or computer language that may be subject to assembly, compilation, linking, or similar mechanisms to produce code that contains instructions that may be executed directly by one or more computer central processing units (CPUs), graphics processing units (GPUs), etc., or instructions that may be executed via interpretation, microcode execution, etc.

[0207]

[0228] The instructions may be executed on various types of computers or components thereof, including, for example, personal computers, tablet computers, servers, smartphones, gaming devices, Internet of Things devices, etc.

[0208]

[0229] 19 with respect to the computer system (2000) are exemplary in nature and are not intended to suggest any limitations on the scope of use or functionality of the computer software implementing the embodiments of the present disclosure, nor should the arrangement of components be interpreted as having any dependency or requirement regarding any one or combination of components illustrated in the exemplary embodiment of the computer system (2000).

[0209]

[0230] The computer system (2000) may include certain human interface input devices that may be responsive to input by one or more human users, for example, via tactile input (e.g., keystrokes, swipes, data glove movements), auditory input (e.g., voice, clapping), visual input (e.g., gestures), or olfactory input (not shown). Human interface devices may also be used to capture certain media that are not necessarily directly related to conscious human input, such as audio (e.g., speech, music, ambient sounds), images (e.g., scanned images, photographic images obtained from still image cameras), and video (e.g., two-dimensional video, three-dimensional video including stereoscopic pictures).

[0210]

[0231] The input human interface devices may include one or more of the following (only one of each is depicted): a keyboard (2001), a mouse (2002), a trackpad (2003), a touch screen (2010), a data glove (not shown), a joystick (2005), a microphone (2006), a scanner (2007), and a camera (2008).

[0211]

[0232] The computer system (2000) may also include certain human interface output devices that may stimulate one or more of the human user's senses, for example, through tactile output, sound, light, and smell / taste. Such human interface output devices may include haptic output devices (e.g., haptic feedback via touch screens (2010), data gloves (not shown), joysticks (2005), although there may be haptic feedback devices that do not function as input), auditory output devices (e.g., speakers (2009), headphones (not shown)), visual output devices (e.g., screens including CRT screens, LCD screens, plasma screens, OLED screens (2010), each with or without touch screen input capability, each with or without haptic feedback capability, some of which may be capable of outputting two-dimensional visual output, three or more dimensional output by means such as stereoscopic output; virtual reality glasses (not shown), holographic displays, and smoke tanks (not shown)), and printers (not shown).

[0212]

[0233] The computer system (2000) may also include human accessible storage devices and their associated media, such as optical media, including CD / DVD ROM / RW (2020), using media such as CD / DVD (2021), thumb drives (2022), removable hard drives or solid state drives (2023), legacy magnetic media (not shown), such as tapes and floppy disks (not shown), and specialized ROM / ASIC / PLD based devices, such as security dongles (not shown).

[0213]

[0234] Those skilled in the art will also understand that the term "computer-readable medium" as used in connection with the subject matter disclosed herein does not encompass transmission media, carrier waves, or other transitional signals.

[0214]

[0235] The computer system (2000) may also include a network interface (2054) to one or more communication networks (2655). The networks may be, for example, wireless, wired, or optical. The networks may further be local, wide area, metropolitan, vehicular and industrial, real-time, delay tolerant, etc. Examples of networks include Ethernet, wireless LANs, cellular networks (including GSM, 3G, 4G, 5G, LTE, etc.), TV wired or wireless wide area digital networks (including cable TV, satellite TV, and terrestrial TV), vehicular and industrial including CANBus, etc. Certain networks typically require an external network interface adapter that is attached to a specific general-purpose data port or peripheral bus (2049) (e.g., a USB port on the computer system (2000)); others are typically integrated into the core of the computer system (2000) by attaching to a system bus as described below (e.g., an Ethernet interface is integrated in a PC computer system, a cellular network interface is integrated in a smartphone computer system). Using any of these networks, the computer system (2000) can communicate with other entities. Such communications can be one-way receive only (e.g., broadcast television), one-way transmit only (e.g., CANbus to certain CANbus devices), or bi-directional, such as to other computer systems using local or wide area digital networks. Specific protocols and protocol stacks can be used with each of these networks and network interfaces, as described above.

[0215]

[0236] The aforementioned human interface devices, human accessible storage devices, and network interfaces may be attached to a core (2040) of the computer system (2000).

[0216]

[0237] The cores (2040) may include one or more central processing units (CPUs) (2041), graphics processing units (GPUs) (2042), specialized programmable processing devices in the form of field programmable gate arrays (FPGAs) (2043), hardware accelerators for specific tasks (2044), graphics adapters (2050), etc. These devices may be connected via a system bus (2048), along with read-only memory (ROM) (2045), random access memory (2046), and internal mass storage devices (e.g., internal non-user accessible hard drives, SSDs, etc.) (2047). In some computer systems, the system bus (2048) may be accessible in the form of one or more physical plugs to allow expansion with additional CPUs, GPUs, etc. Peripheral devices may be attached directly to the core's system bus (2048) or via a peripheral bus (2049). In one example, a screen (2010) may be connected to a graphics adapter (2050). Peripheral bus architectures include PCI, USB, and the like.

[0217]

[0238] The CPU (2041), GPU (2042), FPGA (2043), and accelerator (2044) may combine to execute certain instructions that may constitute the aforementioned computer code. The computer code may be stored in a ROM (2045) or a RAM (2046). Temporary data may be stored in the RAM (2046), while persistent data may be stored, for example, in an internal mass storage (2047). Fast storage and retrieval from any memory device may be made possible by utilizing a cache memory, which may be closely associated with one or more of the CPU (2041), GPU (2042), mass storage (2047), ROM (2045), RAM (2046), etc.

[0218]

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

[0219]

[0240] As a non-limiting example, a computer system having the architecture (2000), specifically the core (2040), as a result of a processor (including a CPU, GPU, FPGA, accelerator, etc.), can provide the functionality to execute software embodied in one or more tangible computer-readable media. Such computer-readable media can be media associated with user-accessible mass storage as described above, as well as specific storage of the core (2040) of a non-transitory nature, such as mass storage (2047) within the core or ROM (2045). Software implementing various embodiments of the present disclosure can be stored in such devices and executed by the core (2040). The computer-readable media can include one or more memory devices or chips, depending on the particular needs. The software can cause the core (2040), specifically the processor (including a CPU, GPU, FPGA, etc.) therein, to execute certain processes or certain parts of certain processes described herein, including defining data structures stored in RAM (2046) and modifying such data structures according to processes defined by the software. Additionally or alternatively, a computer system may provide functionality as a result of logic hardwired or otherwise embodied in circuitry (e.g., accelerator (2044)) that may execute in place of or in conjunction with software to perform particular processes or portions of particular processes described herein. References to software include logic, and vice versa, as appropriate. References to computer-readable media may include circuitry (such as an integrated circuit (IC)) that stores software for execution, circuitry embodying logic for execution, or both, as appropriate. The present disclosure encompasses any appropriate combination of hardware and software.

[0220]

[0241] Although a particular invention has been described in connection with exemplary embodiments, the description is not intended to be limiting. Various modifications of the exemplary and additional embodiments of the present invention will be apparent to those skilled in the art from this description. Those skilled in the art will readily appreciate that these and various other modifications may be made to the exemplary embodiments shown and described herein without departing from the spirit and scope of the present invention. It is therefore contemplated that the appended claims will cover any such modifications and alternative embodiments. Certain proportions in the figures may be exaggerated, while other proportions may be minimized. Thus, the present disclosure and drawings should be interpreted as illustrative rather than limiting.

[0221]

[0242] Below is a list of abbreviations, some of which may appear in this disclosure: JEM: joint exploration model VVC: versatile video coding BMS:benchmark set; benchmark set MV: Motion Vector HEVC: High Efficiency Video Coding SEI: Supplementary Enhancement Information VUI:Video Usability Information GOPs: Groups of Pictures TUs: Transform Units PUs: Prediction Units CTUs: Coding Tree Units CTBs: Coding Tree Blocks PBs: Prediction Blocks HRD: Hypothetical Reference Decoder SNR: Signal Noise Ratio CPUs: Central Processing Units GPUs: Graphics Processing Units CRT:Cathode Ray Tube LCD: Liquid-Crystal Display OLED: Organic Light-Emitting Diode CD:Compact Disc DVD: Digital Video Disc ROM: Read-Only Memory RAM: Random Access Memory ASIC: Application-Specific Integrated Circuit PLD: Programmable Logic Device LAN: Local Area Network GSM: Global System for Mobile communications LTE: Long-Term Evolution CANBus: Controller Area Network Bus USB: Universal Serial Bus PCI: Peripheral Component Interconnect FPGA: Field Programmable Gate Areas; Field Programmable Gate Array SSD: solid-state drive IC: Integrated Circuit HDR: high dynamic range SDR: standard dynamic range JVET: Joint Video Exploration Team MPM: Most probable mode WAIP: Wide-Angle Intra Prediction CU: Coding Unit PU: Prediction Unit TU: Transform Unit CTU: Coding Tree Unit PDPC: Position Dependent Prediction Combination ISP: Intra Sub-Partitions SPS: Sequence Parameter Set PPS: Picture Parameter Set APS: Adaptation Parameter Set VPS:Video Parameter Set DPS: Decoding Parameter Set ALF: Adaptive Loop Filter SAO: Sample Adaptive Offset CC-ALF: Cross-Component Adaptive Loop Filter CDEF: Constrained Directional Enhancement Filter CCSO: Cross-Component Sample Offset LSO:Local Sample Offset LR: Loop Restoration Filter AV1:AOMedia Video 1;AOMedia Video 1 AV2:AOMedia Video 2;AOMedia Video 2 MVD: Motion Vector difference CfL: Chroma from Luma; Chroma from Luma SDT: Semi Decoupled Tree SDP: Semi Decoupled Partitioning SST: Semi Separate Tree SB: Super Block IBC (or IntraBC): Intra Block Copy CDF: Cumulative Density Function SCC: Screen Content Coding GBI: Generalized Bi-prediction BCW: Bi-prediction with CU-level Weights CIIP: Combined intra-inter prediction POC:Picture Order Count; Picture Order Count RPS: Reference Picture Set DPB: Decoded Picture Buffer MMVD: Merge mode using motion vector difference

Claims

1. 13. A method for decoding an inter-predicted video block, comprising: A device including a memory storing instructions and a processor in communication with the memory receiving a coded video bitstream; The device extracts from the coded video bitstream a flag indicating whether an inter prediction mode for a current block of a current frame is a JOINT_NEWMV mode, the JOINT_NEWMV mode indicating that a first delta motion vector (MV) for a first reference frame from Reference List 0 and a second delta MV for a second reference frame from Reference List 1 are signaled together; In response to the flag indicating that the inter prediction mode is a JOINT_NEWMV mode: the device retrieves a joint delta MV for the current block from the coded video / bitstream; and the device deriving the first delta MV and the second delta MV based on the joint delta MV; and the device decoding the current block of the current frame based on the first delta MV and the second delta MV; The method includes:

2. 13. The method of claim 1 : The mode is one of the composite reference modes; and A method, wherein a syntax element extracted from the coded video bitstream indicates the inter prediction mode.

3. 13. The method of claim 1 : The method, wherein the JOINT_NEWMV mode is signaled together with one of a NEAR_NEARMV mode, a NEAR_NEWMV mode, a NEW_NEARMV mode, a NEW_NEWMV mode, and a GLOBAL_GLOBALMV mode.

4. 13. The method of claim 1 : Whether the inter prediction mode is a JOINT_NEWMV mode: a first picture order count (POC) distance between the first reference frame and the current frame; a second POC distance between the second reference frame and the current frame; or and a directional relationship of the first reference frame and the second reference frame to the current frame.

5. 5. The method of claim 4, The method of claim 1, wherein the inter prediction mode is the JOINT_NEWMV mode in response to the directional relationship indicating an opposite direction or the first POC distance being equal to the second POC distance.

6. 5. The method of claim 4, The method of claim 1, wherein the inter prediction mode is the JOINT_NEWMV mode in response to the directional relationship indicating an opposite direction and the first POC distance being equal to the second POC distance.

7. 13. The method of claim 1 further comprising: The device may further include a context for deriving the inter prediction mode, the context comprising: a first picture order count (POC) distance between the first reference frame and the current frame; a second POC distance between the second reference frame and the current frame; or a directional relationship of the first reference frame and the second reference frame to the current frame.

8. 13. The method of claim 1 further comprising: The method includes, in response to the inter prediction mode being the JOINT_NEWMV mode, the device performing optical flow motion refinement on the current block.

9. 13. The method of claim 1 further comprising: the device extracting from the coded video bitstream a flag indicating whether optical flow motion refinement is performed for the JOINT_NEWMV mode; and in response to the flag indicating that the optical flow motion refinement is to be performed for the JOINT_NEWMV mode, the device performing the optical flow motion refinement on the current block; The method includes:

10. 13. The method of claim 1 further comprising: the device extracting from the coded video bitstream a flag indicating whether the JOINT_NEWMV mode is applicable to the current block; The method includes:

11. 10. The method of claim 9, The method, wherein the flag is signaled in a high level syntax element including at least one of a sequence parameter set (SPS), a video parameter set (VPS), a picture parameter set (PPS), a picture header, a tile header, a slice header, a frame header, a coding tree unit (CTU) header, or a superblock header.

12. 13. An apparatus for decoding an inter-predicted video block, comprising: a memory for storing instructions; and a processor in communication with the memory; 12. An apparatus comprising: a processor configured, when the processor executes the instructions, to cause the apparatus to perform a method according to any one of claims 1 to 11.

13. 12. A non-transitory computer-readable storage medium storing instructions, the instructions being configured, when executed by a processor, to cause the processor to perform a method according to any one of claims 1 to 11.

14. A computer program product which, when run on a processor, causes the processor to carry out a method according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Constraining motion vector information derived by decoder-side motion vector derivation

    JP2020511859A

  • Video coding method and apparatus using motion vector differential

    JP2022538800A

  • Method and device for image coding using motion vector differences

    WO2020251324A1