System and method for performing inter-frame prediction in video coding

By using merged sub-block markers and motion vector difference markers in the video coding system to optimize inter-frame prediction, the problem of low efficiency of inter-frame prediction in the existing technology is solved, and more efficient video data encoding and decoding is achieved.

CN113170188BActive Publication Date: 2024-10-18SHARP KK
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201980082131.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-17
Publication Date
2024-10-18
Estimated Expiration
2039-12-17

AI Technical Summary

Technical Problem

Existing video coding technology has low efficiency in inter-frame prediction. Especially when encoding and decoding video data, it is difficult to effectively utilize inter-frame prediction tools, resulting in low signal transmission efficiency.

Method used

By introducing the merge sub-block flag and the motion vector difference flag in the video coding system, it is determined whether to infer the inter-frame prediction parameters of the current video block from adjacent blocks, and based on these flags, it is decided whether to enable the merge mode of the motion vector difference to optimize the frame. forecasting process.

Benefits of technology

It improves the coding and decoding efficiency of video data, can effectively utilize inter-frame prediction tools, and improves signal transmission efficiency and coding quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113170188B_ABST
    Figure CN113170188B_ABST
Patent Text Reader

Abstract

The present disclosure relates to video coding, and more particularly to techniques for performing inter-frame prediction. According to one aspect of the present invention, if a value of a merge subblock flag is equal to zero and a value of a motion vector difference flag is equal to one, a motion vector difference merge flag is decoded, wherein the motion vector difference flag specifies whether a merge mode with motion vector difference is enabled.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to video coding and, more particularly, to techniques for performing inter-frame prediction. Background Art

[0002] Digital video capabilities can be incorporated into a variety of devices, including digital televisions, laptop or desktop computers, tablet computers, digital recording devices, digital media players, video game devices, cellular phones (including so-called smart phones), medical imaging devices, etc. Digital video can be encoded according to a video coding standard. Video coding standards can be combined with video compression technology. Examples of video coding standards include ISO / IEC MPEG-4 Visual and ITU-T H.264 (also known as ISO / IEC MPEG-4 AVC) and High Efficiency Video Coding (HEVC). HEVC is described in High Efficiency Video Coding (HEVC) of the ITU-T H.265 Recommendation in December 2016, which is incorporated herein by reference and is referred to herein as ITU-TH.265. ITU-T H.265 is currently being considered for expansion and improvement to develop the next generation of video coding standards. For example: the ITU-T Video Coding Experts Group (VCEG) and the ISO / IEC Moving Picture Experts Group (MPEG) (collectively referred to as the Joint Video Study Group (JVET)) are studying the potential need for standardization of future video coding technologies with compression capabilities significantly exceeding the current HEVC standard. The Joint Exploration Model 7 (JEM 7), algorithmic description of the Joint Exploration Test Model 7 (JEM 7), ISO / IEC JTC1 / SC29 / WG11 document: JVET-G1001 (July 2017, Torino, Italy), which is incorporated herein by reference, describes the coding features under investigation by JVET under the Joint Test Model, which is a potential enhanced video coding technology beyond the capabilities of ITU-T H.265. It should be noted that the coding features of JEM 7 are implemented in the JEM reference software. As used herein, the term JEM may refer collectively to the algorithms included in JEM 7 and the specific implementation of the JEM reference software. In addition, in response to the "Joint Call for Proposals on Video Compression with Capabilities beyond HEVC" jointly issued by VCEG and MPEG, various groups proposed and responded to a variety of video coding descriptions at the 10th meeting of ISO / IEC JTC1 / SC29 / WG11 in San Diego, California from April 16 to 20, 2018. As a result of multiple video coding descriptions, a draft text of a video coding specification is described in "Versatile Video Coding (VVC) (Draft 1)", document JVET-J1001-v2, 10th meeting of ISO / IEC JTC1 / SC29 / WG11, San Diego, California, April 16-20, 2018, which is incorporated herein by reference and is referred to as JVET-J1001."Generic Video Coding (Draft 2)", document JVET-K1001-v7, at the 11th meeting of ISO / IEC JTC1 / SC29 / WG11, held in Ljubljana, Slovenia, from July 10 to 18, 2018, which is incorporated herein by reference and is referred to as JVET-K1001, is an update to JVET-J1001. "Generic Video Coding (Draft 3)", document JVET-L1001-v6, at the 12th meeting of ISO / IEC JTC1 / SC29 / WG11, held in Macau, China (Macao, CN), from October 3 to 12, 2018, which is incorporated herein by reference and is referred to as JVET-L1001, is an update to JVET-K1001.

[0003] Video compression techniques can reduce the data requirements for storing and transmitting video data. Video compression techniques can reduce data requirements by exploiting the inherent redundancy in video sequences. Video compression techniques can subdivide video sequences into smaller and continuous parts (e.g., groups of frames within a video sequence, frames within a group of frames, regions within a frame, video blocks within a region, sub-blocks within a video block, etc.). Intra-frame prediction coding techniques (e.g., within a picture (space)) and inter-frame prediction techniques (i.e., between pictures (time)) can be used to generate the difference between the video data unit to be encoded and the reference unit of the video data. The difference can be referred to as residual data. The residual data can be encoded as quantized transform coefficients. Syntax elements can involve residual data and reference coding units (e.g., intra-frame prediction mode indexes, motion vectors, and block vectors). The residual data and syntax elements can be entropy encoded. Entropy-encoded residual data and syntax elements can be included in a compatible bitstream. The compatible bitstream and associated metadata can be formatted according to the data structure. Summary of the invention

[0004] In one example, a method of decoding video data includes: decoding a merge subblock flag, the merge subblock flag specifying whether to infer subblock-based inter prediction parameters of a coding unit from neighboring blocks; and if a value of the merge subblock flag is equal to zero and a value of a motion vector difference flag is equal to one, decoding a motion vector difference merge flag, wherein the motion vector difference merge flag specifies using prediction parameters with motion vector differences, and

[0005] The motion vector difference flag specifies whether merge mode with motion vector difference is enabled.

[0006] In one example, a method of encoding video data includes: encoding a merge subblock flag, the merge subblock flag specifying whether to infer subblock-based inter-frame prediction parameters of a coding unit from neighboring blocks; and if the value of the merge subblock flag is equal to zero and the value of the motion vector difference flag is equal to one, encoding a motion vector difference merge flag, wherein the motion vector difference merge flag specifies using prediction parameters with motion vector difference, and the motion vector difference flag specifies whether a merge mode with motion vector difference is enabled. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] Figure 1 is a conceptual diagram illustrating an example of a set of pictures encoded according to quadtree multitree partitioning in accordance with one or more techniques of this disclosure.

[0008] Figure 2A is a conceptual diagram illustrating an example of encoding a block of video data in accordance with one or more techniques of this disclosure.

[0009] Figure 2B is a conceptual diagram illustrating an example of encoding a block of video data in accordance with one or more techniques of this disclosure.

[0010] Figure 3 is a conceptual diagram illustrating locations of neighboring video blocks for inclusion in a set of candidates for predicting a motion vector, in accordance with one or more techniques of this disclosure.

[0011] Figure 4 is a conceptual diagram illustrating position-neighboring video blocks for inclusion in a set of candidate prediction motion vectors, in accordance with one or more techniques of this disclosure.

[0012] Figure 5 is a block diagram illustrating an example of a system that may be configured to encode and decode video data in accordance with one or more techniques of this disclosure.

[0013] Figure 6 is a block diagram illustrating an example of a video encoder that may be configured to encode video data in accordance with one or more techniques of this disclosure.

[0014] Figure 7 is a block diagram illustrating an example of a video decoder that may be configured to decode video data in accordance with one or more techniques of this disclosure. DETAILED DESCRIPTION

[0015] In general, the present disclosure describes various techniques for encoding video data. Specifically, the present disclosure describes techniques for inter-frame prediction in video encoding. Specifically, the present disclosure describes techniques for indicating whether to enable or disable various inter-frame prediction tools for encoding a video. Indicating whether to enable or disable various inter-frame prediction tools according to the techniques described herein may be particularly useful for effectively signaling the prediction techniques used to encode a current video block. It should be noted that although the techniques of the present disclosure are described with respect to ITU-T H.264, ITU-T H.265, JVET-J1001, JVET-K1001, and JVET-L1001, the techniques of the present disclosure may be generally applicable to video encoding. For example: the encoding techniques described herein may be incorporated into a video encoding system (including a video encoding system based on a future video encoding standard), including block structures, intra-frame prediction techniques, inter-frame prediction techniques, transform techniques, filtering techniques, and / or entropy coding techniques, which are different from those included in ITU-T H.265. Therefore, references to ITU-T H.264, ITU-T H.265, JVET-J1001, JVET-K1001, and JVET-L1001 are for descriptive purposes and should not be construed as limiting the scope of the technology described herein. In addition, it should be noted that the incorporation of documents by reference herein should not be construed as limiting or creating ambiguity regarding the terms used herein. For example: In the event that the definition of a term provided in an incorporated reference differs from that of another incorporated reference and / or as used herein, the term should be interpreted in a manner that broadly includes each corresponding definition and / or in a manner that includes each specific definition in the alternative.

[0016] In one example, a method of performing inter-frame prediction for encoding video data includes determining whether to infer sub-block-based inter-frame prediction parameters of a current video block from neighboring blocks, signaling a flag specifying whether to infer sub-block-based inter-frame prediction parameters of the current video block from neighboring blocks, and conditionally signaling a flag specifying whether to use a merge mode with motion vector difference to generate inter-frame prediction parameters of the current video block based on a value of the flag specifying whether to infer sub-block-based inter-frame prediction parameters of the current video block from neighboring blocks.

[0017] In one example, a device includes one or more processors configured to determine whether to infer sub-block-based inter-frame prediction parameters of a current video block from neighboring blocks, signal a flag specifying whether to infer sub-block-based inter-frame prediction parameters of the current video block from neighboring blocks, and conditionally signal a flag specifying whether to use a merge mode with motion vector difference to generate inter-frame prediction parameters of the current video block based on a value of the flag specifying whether to infer sub-block-based inter-frame prediction parameters of the current video block from neighboring blocks.

[0018] In one example, a non-transitory computer-readable storage medium includes instructions stored thereon that, when executed, cause one or more processors of a device to: determine whether to infer sub-block-based inter-frame prediction parameters of a current video block from neighboring blocks, signal a flag specifying whether to infer sub-block-based inter-frame prediction parameters of the current video block from neighboring blocks, and conditionally signal a flag specifying whether to use a merge mode with motion vector difference to generate inter-frame prediction parameters of the current video block based on a value of the flag specifying whether to infer sub-block-based inter-frame prediction parameters of the current video block from neighboring blocks.

[0019] In one example, an apparatus includes means for determining whether to infer subblock-based inter-frame prediction parameters of a current video block from neighboring blocks, means for signaling a flag specifying whether to infer subblock-based inter-frame prediction parameters of the current video block from neighboring blocks, and means for conditionally signaling a flag specifying whether to use a merge mode with motion vector difference to generate inter-frame prediction parameters of the current video block based on a value of the flag specifying whether to infer subblock-based inter-frame prediction parameters of the current video block from neighboring blocks.

[0020] In one example, a method of performing inter-frame prediction for encoding video data includes parsing a flag that specifies whether to infer sub-block based inter-frame prediction parameters of a current video block from neighboring blocks, and conditionally parsing a flag that specifies whether to use a merge mode with motion vector difference to generate inter-frame prediction parameters of the current video block based on a value of the parsed flag that specifies whether to infer sub-block based inter-frame prediction parameters of the current video block from neighboring blocks.

[0021] In one example, a device includes one or more processors configured to: parse a flag specifying whether to infer sub-block-based inter-frame prediction parameters of a current video block from neighboring blocks, and conditionally parse a flag specifying whether to use a merge mode with motion vector difference to generate inter-frame prediction parameters of the current video block based on a value of the parsed flag specifying whether to infer sub-block-based inter-frame prediction parameters of the current video block from neighboring blocks.

[0022] In one example, a non-transitory computer-readable storage medium includes instructions stored thereon that, when executed, cause one or more processors of a device to: parse a flag that specifies whether to infer sub-block-based inter-frame prediction parameters of a current video block from neighboring blocks, and conditionally parse a flag that specifies whether to use a merge mode with motion vector difference to generate inter-frame prediction parameters of the current video block based on a value of the parsed flag that specifies whether to infer sub-block-based inter-frame prediction parameters of the current video block from neighboring blocks.

[0023] In one example, an apparatus includes means for parsing a flag that specifies whether to infer sub-block based inter prediction parameters of a current video block from neighboring blocks, and means for conditionally parsing a flag that specifies whether to use a merge mode with motion vector difference to generate inter prediction parameters of the current video block based on a value of the parsed flag that specifies whether to infer sub-block based inter prediction parameters of the current video block from neighboring blocks.

[0024] The details of one or more examples are set forth in the accompanying drawings and the description below. Other features, objects, and advantages will be apparent from the description and drawings, and from the claims.

[0025] Video content generally includes a video sequence consisting of a series of frames (or pictures). A series of frames may also be referred to as a group of pictures (GOP). Each video frame or picture may be divided into one or more regions. The region may be defined according to a basic unit (e.g., a video block) and a set of rules defining the region (e.g., a region must be an integer number of video blocks arranged in a rectangle). As used herein, the term "video block" may generally refer to a region of a picture, or may more specifically refer to a maximum array of sample values ​​that may be predictively encoded, its sub-partitions, and / or corresponding structures. In addition, the term "current video block" may refer to a region of a picture being encoded or decoded. A video block may be defined as an array of sample values ​​that may be predictively encoded. It should be noted that, in some cases, a pixel value may be described as a sample value comprising a corresponding component of video data, which may also be referred to as a color component (e.g., brightness (Y) and chrominance (Cb and Cr) components or red, green, and blue components). It should be noted that, in some cases, the terms "pixel value" and "sample value" may be used interchangeably. In addition, in some cases, a pixel or sample may be referred to as pel. A video sampling format (which may also be referred to as a chroma format) may define the number of chroma samples included in a video block relative to the number of luma samples included in the video block. For example: for a 4:2:0 sampling format, the sampling rate of the luma component is twice the sampling rate of the chroma components in both the horizontal and vertical directions. Therefore, for a video block formatted according to the 4:2:0 format, the width and height of the sample array for the luma component are twice the width and height of each sample array for the chroma components. For a video block formatted according to the 4:2:2 format, the width of the sample array for the luma component is twice the width of the sample array for each chroma component, but the height of the sample array for the luma component is equal to the height of the sample array for each chroma component. In addition, for a video block formatted according to the 4:4:4 format, the sample array for the luma component has the same width and height as the sample array for each chroma component.

[0026] Video blocks can be sorted in pictures and / or regions according to a scanning mode (e.g., raster scanning). The video encoder can perform predictive coding on video blocks and their sub-partitions. Video blocks and their sub-partitions can be referred to as nodes. ITU-T H.264 specifies macroblocks including 16×16 luminance samples. That is, in ITU-T H.264, pictures are partitioned into macroblocks. ITU-TH.265 specifies a similar coding tree unit (CTU) structure (also called a maximum coding unit (LCU)). In ITU-T H.265, pictures are partitioned into CTUs. In ITU-T H.265, for pictures, the CTU size can be set to include 16×16, 32×32, or 64×64 luminance samples. In ITU-T H.265, a CTU consists of a corresponding coding tree block (CTB) for each component of video data (e.g., luminance (Y) and chrominance (Cb and Cr)). In addition, in ITU-T H.265, CTUs can be divided according to a quadtree (QT) partitioning structure, which allows the CTB of a CTU to be divided into coding blocks (CBs). That is, in ITU-T H.265, CTUs can be divided into quadtree leaf nodes. According to ITU-T H.265, a luma CB together with two corresponding chroma CBs and associated syntax elements is called a coding unit (CU). In ITU-T H.265, a signal can be sent to notify the minimum allowed size of a CB. In ITU-T H.265, the minimum allowed minimum size of a luma CB is 8×8 luma samples. In ITU-TH.265, the decision to encode a picture area using intra prediction or inter prediction is made at the CU level.

[0027] In ITU-T H.265, a CU is associated with a prediction unit (PU) structure having its root at the CU. In ITU-T H.265, the PU structure allows the partitioning of luma CB and chroma CB to generate corresponding reference samples. That is, in ITU-T H.265, the luma CB and chroma CB can be partitioned into corresponding luma and chroma prediction blocks (PBs), where the PBs include blocks of sample values ​​to which the same prediction is applied. In ITU-T H.265, the CB can be divided into 1, 2, or 4 PBs. ITU-T H.265 supports PB sizes from 64×64 samples down to 4×4 samples. In ITU-T H.265, square PBs are supported for intra prediction, where the CB can form a PB, or the CB can be partitioned into four square PBs (i.e., the intra prediction PB type includes M×M or M / 2×M / 2, where M is the height and width of the square CB). In ITU-T H.265, in addition to square PBs, rectangular PBs are also supported for inter prediction, where the CB can be halved vertically or horizontally to form a PB (i.e., inter prediction PB types include M×M, M / 2×M / 2, M / 2×M, or M×M / 2). In addition, it should be noted that in ITU-T H.265, for inter prediction, four asymmetric PB partitions are supported, where the CB is divided into two PBs at one quarter of the height (top or bottom) or width (left or right) of the CB (i.e., asymmetric partitions include M / 4×M left, M / 4×M right, M×M / 4 top, and M×M / 4 bottom). Intra prediction data (e.g., intra prediction mode syntax element) or inter prediction data (e.g., motion data syntax element) corresponding to the PB is used to generate reference and / or prediction sample values ​​for the PB.

[0028] As described above, each video frame or picture may be divided into one or more regions. For example: According to ITU-T H.265, each video frame or picture may be divided into one or more fragments, and further divided into one or more tiles, wherein each fragment includes a CTU sequence (e.g., arranged in raster scan order), and wherein the tile is a CTU sequence corresponding to a rectangular area of ​​the picture. It should be noted that in ITU-T H.265, a fragment is a sequence of one or more fragment segments starting from an independent fragment segment and containing all subsequent subordinate fragment segments (if any) before the next independent fragment segment (if any) within the same access unit. Fragment segments (such as fragments) are CTU sequences. Therefore, in some cases, the terms "fragment" and "fragment segment" may be used interchangeably to indicate a CTU sequence. In addition, in ITU-T H.265, a tile may be composed of CTUs contained in more than one fragment, and a fragment may be composed of CTUs contained in more than one tile. However, ITU-T H.265 specifies that one or both of the following conditions should be met: (1) all CTUs in a fragment belong to the same tile; and (2) all CTUs in a tile belong to the same fragment. Relative to JVET-L1001, a fragment needs to consist of an integer number of complete tiles, rather than just an integer number of complete CTUs. Therefore, in some video coding techniques, fragments that include a group of CTUs that do not form a rectangular area of ​​a picture may or may not be supported. In addition, a fragment that needs to consist of an integer number of complete tiles is called a tile group. The techniques described herein may be applicable to fragments, tiles, and / or tile groups. Figure 1 is a conceptual diagram showing an example of a picture group including a tile group. Figure 1 In the example shown, picture 3 is shown to include two tile groups (i.e., tile group 1 and tile group 2). It should be noted that in some cases, tile group 1 and tile group 2 can be classified as fragments and / or tiles, as long as each meets the requirements of fragments and tiles.

[0029] JEM specifies a CTU with a maximum size of 256×256 luma samples. JEM specifies a quadtree plus binary tree (QTBT) block structure. In JEM, the QTBT structure allows the quadtree leaf nodes to be further divided by the binary tree (BT) structure. That is, in JEM, the binary tree structure allows the quadtree leaf nodes to be recursively divided vertically or horizontally. In JVET-L1001, the CTU is divided according to the QTMT (quadtree plus multi-type tree) structure. The QTMT in JVET-L1001 is similar to the QTBT in JEM. However, in JVET-L1001, in addition to indicating a binary partition, the multi-type tree can also indicate a so-called ternary (or TT (triple tree)) partition. The ternary partition divides the block vertically or horizontally into three blocks. In case of vertical TT partitioning, the block is divided from the left edge at one quarter of its width and from the right edge at one quarter of its width, and in case of horizontal TT partitioning, the block is divided from the top edge at one quarter of its height and from the bottom edge at one quarter of its height. Figure 1 , Figure 1 An example is shown in which a CTU is divided into quad-tree leaf nodes and the quad-tree leaf nodes are further divided according to BT partitioning or TT partitioning. Figure 1 In , the dashed lines indicate additional binary and ternary partitions in the quadtree.

[0030] As described above, intra prediction data or inter prediction data is used to generate reference sample values ​​for the current video block. The difference between the sample values ​​included in the prediction generated according to the reference sample values ​​and the current video block may be referred to as residual data. The residual data may include a corresponding difference array corresponding to each component of the video data. The residual data may be in the pixel domain. A transform such as a discrete cosine transform (DCT), a discrete sine transform (DST), an integer transform, a wavelet transform, or a conceptually similar transform may be applied to the difference array to generate transform coefficients. It should be noted that in ITU-T H.265 and JVET-L1001, a CU is associated with a TU (transform unit) structure having its root at the CU level. That is, in order to generate transform coefficients, the array of difference values ​​may be divided (for example, four 8×8 transforms may be applied to a 16×16 residual value array). For each component of the video data, such a subdivision of the difference values ​​may be referred to as a transform block (TB). It should be noted that in some cases, a core transform and a subsequent secondary transform may be applied (in a video encoder) to generate transform coefficients. For the video decoder, the order of transforms is reversed.

[0031] A quantization process may be performed on the transform coefficients. Quantization essentially scales the transform coefficients in order to change the amount of data required to represent a set of transform coefficients. Quantization may include dividing the transform coefficients by a quantization scaling factor and any associated rounding function (e.g., rounding to the nearest integer). The quantized transform coefficients may be referred to as coefficient level values. Inverse quantization (or "dequantization") may include multiplying the coefficient level values ​​by the quantization scaling factor. It should be noted that, as used herein, the term quantization procedure may in some cases refer to division by a scaling factor to generate a level value, and in some cases may refer to multiplication by a scaling factor to recover the transform coefficients. That is, the quantization procedure may in some cases refer to quantization, and in some cases may refer to inverse quantization.

[0032] FIG. 2A to FIG. 2B is a conceptual diagram showing an example of encoding a video data block. Figure 2A As shown, a current block of video data is encoded by subtracting a set of prediction values ​​from the current block of video data to generate a residual, performing a transform on the residual, and quantizing the transform coefficients to generate a level value. Figure 2B As shown in , the current video data block is decoded by performing inverse quantization on the level value, performing an inverse transform, and adding a set of prediction values ​​to the resulting residual. It should be noted that in FIG. 2A to FIG. 2B In the example of , the sample values ​​of the reconstructed block are different from the sample values ​​of the current video block being encoded. In this way, the encoding can be considered lossy. However, for a viewer of the reconstructed video, the difference in sample values ​​can be considered acceptable and / or imperceptible. In addition, if FIG. 2A to FIG. 2B As shown, scaling is performed using an array of scaling factors.

[0033] like Figure 2AAs shown, the quantized transform coefficients are encoded into a bitstream. The quantized transform coefficients and syntax elements (e.g., syntax elements indicating the coding structure of the video block) may be entropy encoded according to an entropy coding technique. Examples of entropy coding techniques include content adaptive variable length coding (CAVLC), context adaptive binary arithmetic coding (CABAC), probability interval partitioning entropy coding (PIPE), etc. The entropy-coded quantized transform coefficients and the corresponding entropy-coded syntax elements may form a compatible bitstream that can be used to reproduce video data at a video decoder. The entropy coding procedure may include binarizing the syntax elements. Binarization refers to a procedure for converting the value of a syntax value into a sequence of one or more bits. These bits may be referred to as "binary bits". Binarization is a lossless procedure and may include one or a combination of the following coding techniques: fixed length coding, unary coding, truncated unary coding, truncated Rice coding, Golomb coding, k-order exponential Golomb coding, and Golomb-Rice coding. For example, binarization may include representing the integer value 5 of the syntax element as 00000101 using an 8-bit fixed-length binarization technique, or representing the integer value 5 as 11110 using a unary coding binarization technique. As used herein, each of the terms fixed-length coding, unary coding, truncated unary coding, truncated Rice coding, Golomb coding, k-order exponential Golomb coding, and Golomb-Rice coding may refer to general implementations of these techniques and / or more specific implementations of these coding techniques. For example, a Golomb-Rice coding implementation may be specifically defined according to a video coding standard (e.g., ITU-T H.265).

[0034] The entropy coding procedure also includes encoding the box value using a lossless data compression algorithm. In the example of CABAC, for a particular box, a context model can be selected from a set of available context models associated with the box. In some examples, the context model can be selected based on the value of the previous box and / or the previous syntax element. The context model can identify the probability that a certain box has a specific value. For example: the context model can indicate that the probability of encoding the 0-value box is 0.7. After selecting the available context model, the CABAC entropy encoder can perform arithmetic coding on the box based on the identified context model. The context model can be updated based on the value of the encoded box. The context model can be updated based on the associated variables stored with the context, such as: adaptation window size, the number of encoded boxes using the context. It should be noted that the CABAC entropy encoder can be implemented so that some syntax elements can be entropy encoded using arithmetic coding without using an explicitly specified context model, and such encoding can be referred to as bypass coding.

[0035] As described above, the intra prediction data or the inter prediction data indicates how to generate a prediction for the current video block. For intra prediction encoding, the intra prediction mode may specify the location of the reference sample within the picture used to generate the prediction. In ITU-TH.265, the possible intra prediction modes defined include a plane (i.e., surface fitting) prediction mode (predMode: 0), a DC (i.e., flat overall average) prediction mode (predMode: 1), and 33 angular prediction modes (predMode: 2-34). In JVET-L1001, the possible intra prediction modes defined for luma include a plane prediction mode (predMode: 0), a DC prediction mode (predMode: 1), and 65 angular prediction modes (predMode: 2-66). It should be noted that the plane prediction mode and the DC prediction mode may be referred to as non-directional prediction modes, and the angular prediction mode may be referred to as a directional prediction mode. In addition, there may be various ways in which the intra prediction mode of the chroma component can be derived based on the intra prediction mode of the luma component. It should be noted that the techniques described herein may be generally applicable regardless of the number of possible prediction modes that are defined.

[0036] For inter-frame prediction coding, one or more previously decoded pictures, i.e., reference pictures, are determined, and a motion vector (MV) identifies samples in the reference pictures that are used to generate a prediction of the current video block. For example, the current video block can be predicted using reference sample values ​​located in one or more previously encoded pictures, and a motion vector is used to indicate the position of the reference block relative to the current video block. The motion vector may describe, for example, the horizontal displacement component of the motion vector (i.e., the MV x ), the vertical displacement component of the motion vector (i.e., MV y) and the resolution of the motion vector (e.g., quarter-pixel precision, half-pixel precision, one-pixel precision, two-pixel precision, four-pixel precision). Previously decoded pictures (which may include pictures output before or after the current picture) may be organized into one or more reference picture lists and identified using reference picture index values. In addition, in inter-frame prediction coding, uni-prediction refers to using sample values ​​from a single reference picture to generate a prediction, and bi-prediction refers to using corresponding sample values ​​from two reference pictures to generate a prediction. That is, in uni-prediction, a single reference picture and a corresponding motion vector are used to generate a prediction of the current video block, and in bi-prediction, a first reference picture and a corresponding first motion vector and a second reference picture and a corresponding second motion vector are used to generate a prediction of the current video block. In bi-prediction, corresponding sample values ​​are combined (e.g., addition, rounding and clipping, or weighted averaging) to generate a prediction. Pictures and their regions may be classified based on what types of prediction modes may be used to encode their video blocks. That is, for a region with a B type (e.g., a B slice), bi-prediction, uni-prediction, and intra-prediction modes can be utilized, for a region with a P type (e.g., a P slice), uni-prediction and intra-prediction modes can be utilized, and for a region with an I type (e.g., an I slice), only intra-prediction mode can be utilized. As described above, a reference picture is identified by a reference index. In ITU-T H.265, for a P slice, there is a single reference picture list RefPicList0, and for a B slice, there is a second independent reference picture list RefPicList1 in addition to RefPicList0. It should be noted that for uni-prediction in a B slice, one of RefPicList0 or RefPicList1 can be used to generate a prediction. In addition, it should be noted that in ITU-T H.265, during the decoding process, when decoding of a picture starts, a reference picture list is generated from a previously decoded picture stored in a DPB (decoded picture buffer).

[0037] In addition, the coding standard may support various motion vector prediction modes. Motion vector prediction enables the value of a motion vector to be derived based on another motion vector. Examples of motion vector prediction include advanced motion vector prediction (AMVP), temporal motion vector prediction (TMVP), so-called "merge" mode, and "skip" and "direct" motion reasoning. In addition, other examples of motion vector prediction include advanced temporal motion vector prediction (ATMVP) and spatial-temporal motion vector prediction (STMVP). ITU-T H.265 supports two modes for motion vector prediction: merge mode and so-called advanced motion vector prediction (AMVP). In ITU-T H.265, for both merge mode and AMVP of the current PB, a set of candidate blocks is derived. Both the video encoder and the video decoder perform the same procedure to derive a set of candidates. Therefore, for the current video block, the same set of candidates is generated during encoding and decoding. The candidate block includes a video block with associated motion information, from which the motion information used to generate the prediction of the current video block can be derived. For the merge mode in ITU-T H.265, all motion information associated with the selected candidate (i.e., motion vector displacement value, reference picture index, and reference picture list) is inherited as the motion information of the current PB. That is, at the video encoder, a candidate block is selected from the candidates of the derived group, and the index value included in the bitstream indicates the selected candidate and, therefore, the motion information of the current PB. For AMVP in ITU-T H.265, the motion vector information for the selected candidate is used as the predicted motion vector (MVP) of the motion vector of the current PB. That is, at the video encoder, a candidate block is selected from the candidates of the derived group, and the index value indicating the selected candidate and the incremental value indicating the difference between the predicted motion vector and the motion vector of the current PB (i.e., motion vector increment (MVD)) are included in the bitstream. In addition, for AMVP in ITU-T H.265, syntax elements identifying reference pictures are included in the bitstream.

[0038] In ITU-T H.265, a set of candidate blocks can be derived from spatial neighboring blocks and temporal blocks. In addition, the generated (or default) motion information can be used for motion vector prediction. In ITU-T H.265, whether the motion information used for motion vector prediction of the current PB includes motion information associated with spatial neighboring blocks, motion information associated with temporal blocks, or generated motion information depends on the number of candidates to be included in the group, whether temporal motion vector prediction is enabled, the availability of blocks, and / or whether the motion information associated with the blocks is redundant.

[0039] For merge mode in ITU-T H.265, the maximum number of candidates that can be included in a set of candidate blocks can be set and signaled by the video encoder and can be up to five. In addition, the video encoder can disable the use of temporal motion vector candidates (e.g., to reduce the amount of memory resources required to store motion information at the video decoder) and signal whether the use of temporal motion vector candidates is enabled or disabled for a picture. Figure 3 The positions of spatial neighboring blocks and temporal blocks in a set of candidate blocks for merge mode that may be included in ITU-T H.265 are shown. The derivation of the candidate set for merge mode in ITU-T H.265 includes determining the availability of A1, B1, B0, A0, and B2. It should be noted that a block is considered unavailable if it is intra-predicted (i.e., does not have corresponding motion information) or is not included in the current segment (or tile). After determining the availability of A1, B1, B0, A0, and B2, a set of comparisons (such as Figure 3 ) to remove redundant entries from the candidate set. For example: B2 is compared with B1, and if B1 has the same associated motion information as B2, it is removed from the candidate set. Removing entries from a set of candidates may be referred to as a pruning procedure. It should be noted that in Figure 3 In order to reduce complexity, a full comparison of the candidates is not performed (eg, A0 is not compared to B0), and thus redundant entries may be included in the candidate set.

[0040] Reference again Figure 3 , the dotted block marked as Temp refers to a temporal candidate that can be included in the candidate group. In ITU-T H.265 for merge mode, for the temporal candidate, a spatially collocated PU included in the reference picture is defined, and the temporal candidate includes a block having a position just outside the lower right corner of the collocated PU (if available), or a block located at the center of the collocated PU. As described above, the maximum number of candidates that can be included in a set of candidate blocks is set. If the maximum number of candidates is set to N, when the number of available spatial candidates (after pruning) and temporal candidates is greater than or equal to N, N-1 spatial candidates and temporal candidates are included in the set. When the number of available spatial candidates (after pruning) and temporal candidates is less than N, the generated motion information is included in the set to fill the set.

[0041] For AMVP in ITU-T H.265, refer to Figure 4, the derivation of the candidate group includes adding one of A0 or A1 (i.e., the left candidate) and one of B0, B1, or B2 (the above candidates) to the group based on the availability of A0, A1, B0, B1, B2. That is, the first available left candidate and the first available above candidate are added to the group. When the left candidate and the above candidate have redundant motion vector components, one redundant candidate is removed from the group. If the number of candidates included in the group is less than two and temporal motion vector prediction is enabled, the temporal candidate (temperature) is included in the group. In the case where the number of available spatial candidates (after pruning) and temporal candidates included in the group is less than two, zero-valued motion vectors are included in the group to fill the group.

[0042] For the formulas used in this article, the following arithmetic operators can be used:

[0043] + Addition

[0044] - Subtraction

[0045] * Multiplication, including matrix multiplication

[0046] x y Exponentiation. Raises x to the power of y. In other contexts, such symbols are used for superscripts and are not intended to be interpreted as exponentiation.

[0047] / Integer division truncates the result towards zero. For example: 7 / 4 and -7 / -4 are truncated to 1, and -7 / 4 and 7 / -4 are truncated to -1.

[0048] ÷ is used to represent division in mathematical formulas when truncation or rounding is not intended.

[0049] Used to represent division in mathematical formulas without the intent to truncate or round.

[0050] x%y Modulus. The remainder when x is divided by y, defined only for integers x and y where x≥0 and y>0.

[0051] Additionally, the following math functions are available:

[0052] Log2(x), logarithm of x to base 2;

[0053]

[0054]

[0055] Ceil(x), the smallest integer greater than or equal to x.

[0056]

[0057]

[0058]

[0059] Additionally, the following logical operators can be used:

[0060] x&&y Boolean logical "and" of x and y

[0061] x||y Boolean logical "or" of x and y

[0062] ! Boolean logic "NO"

[0063] x? y:z If x is TRUE or not equal to 0, it evaluates to y; otherwise, it evaluates to z.

[0064] In addition, the following relational operators can be used:

[0065] > Greater than

[0066] >= greater than or equal to

[0067] < Less than

[0068] <= Less than or equal to

[0069] == is equal to

[0070] ! = Not equal to

[0071] Additionally, the following bitwise operators can be used:

[0072] & Bitwise AND. When operating on integer variables, the operation is performed on the two's complement representation of the integer value. When operating on a binary variable containing fewer bits than the other variable, the shorter variable is extended by adding more significant bits equal to 0.

[0073] | Bitwise "or". When operating on integer variables, the operation is performed on the two's complement representation of the integer value. When operating on a binary variable containing fewer bits than the other variable, the shorter variable is extended by adding more significant bits equal to 0.

[0074] ^ Bitwise XOR. When operating on integer variables, operates on the two's complement representation of the integer value. When operating on a binary variable containing fewer bits than the other variable, extends the shorter variable by adding more significant bits equal to 0.

[0075] The two's complement integer representation of x>>yx is arithmetic shifted right by y binary bits. This function is defined only for non-negative integer values ​​of y. The value of the bits shifted into the most significant bit (MSB) as a result of the right shift is equal to the MSB of x before the shift operation.

[0076] The two's complement integer representation of x<<yx is arithmetic shifted left by y binary bits. This function is defined only for non-negative integer values ​​of y. The value of the bits shifted into the least significant bit (LSB) due to the left shift is equal to 0.

[0077] JVET-L1001 includes a merge mode based on the merge mode defined in ITU-T H.265 and an AMVP mode based on the AMVP defined in ITU-TH.256. As described above, in ITU-H.265, motion vector prediction is performed on the current PB, which may be caused by further partitioning of the CU. In addition, as described above, in JVET-L1001, QTMT is used to divide the CTU into CUs. In some cases, in JVET-L1001, a prediction of the current CU can be generated by deriving motion information for each CU (for example: for each CB, a single motion vector or a single motion vector pair is derived and used to generate a prediction). In other cases, a prediction of the current CU can be generated by deriving motion information of a sub-block within the CU. For example: a 32×32 CU can be divided into 64 4x4 sub-blocks, and motion information can be derived for each sub-block, and a prediction of the CU can be generated using the corresponding motion information of each sub-block. The use of sub-blocks to generate a prediction of a CU may be referred to as sub-block inter prediction. Examples of sub-block inter prediction include the so-called affine mode described in JVET-L1001. Motion vector prediction techniques can be used for sub-block inter prediction techniques. In some cases, such techniques may be referred to as sub-block based motion vector prediction. Therefore, in JVET-L1001, there are various ways in which inter prediction can be performed to generate a prediction for the current CU. The various ways in which inter prediction can be performed to generate a prediction for the current CU can be referred to as inter prediction tools.

[0078] Table 1 shows the CU-level syntax provided in JVET-L1001, which is used to indicate how to use a specific inter prediction tool to generate a prediction for the current CU.

[0079]

[0080]

[0081]

[0082]

[0083] Table 1

[0084] Referring to Table 1, JVET-L1001 provides the following definition for the corresponding syntax elements: cu_skip_flag[x0][y0] equal to 1 specifies that for the current coding unit, when decoding a P slice or a B slice, after cu_skip_flag[x0][y0], no more syntax elements are parsed, except the merge plus MVD flag mmvd_flag[x0][y0], the merge plus MVD index mmvd_merge_fag[x0][y0], the merge plus MVD distance index mmvd distance_idx[x0][y0], the merge plus MVD direction index mmvd_direction_idx[x0][y0], the merge candidate index merge_idx[x0][y0], the sub-block based merge flag merge_subblock_flag[x0][y0] and the sub-block based merge candidate index merge_subblock_idx[x0][y0]. cu_skip_flag[x0][y0] equal to 0 specifies that the coding unit is not skipped. Array index x0, y0 specifies the position (x0, y0) of the top-left luma sample of the considered coding block relative to the top-left luma sample of the picture.

[0085] When cu_skip_flag[x0][y0] is not present, it is inferred to be equal to 0.

[0086] pred mode flag equal to 0 specifies that the current coding unit is encoded in inter-frame prediction mode.

[0087] pred_mode_flag equal to 1 specifies that the current coding unit is encoded in intra prediction mode. For x=x0..x0+cbWidth-1 and y=y0..y0+cbHeight-1, the variable CuPredMode[x][y] is derived as follows:

[0088] - If pred_mode_flag is equal to 0, CuPredMode[x][y] is set equal to MODE_INTER.

[0089] - Otherwise (pred_mode_flag is equal to 1), CuPredMode[x][y] is set equal to MODE_INTRA.

[0090] When pred_mode_flag is not present, the variable CuPredModef x][y] is inferred to be equal to MODE_INTRA for x=x0..x0+cbWidth-1 and y=y0..y0+cbHeight-1.

[0091] mmvd_flag[x0][y0] equal to 1 specifies that merge mode with motion vector difference is used to generate inter prediction parameters for the current coding unit. Array index x0, y0 specifies the position (x0, y0) of the top left luma sample of the considered coding block relative to the top left luma sample of the picture.

[0092] When mmvd_flag[x0][y0] is not present, it is inferred to be equal to 0.

[0093] mmvd_merge_flag[x0][y0] specifies whether the first (0) candidate or the second (1) candidate in the merge candidate list is used with the motion vector difference derived from mmvd_distance_idx[x0][y0] and mmvd_direction_idx[x0][y0]. The array index x0, y0 specifies the position (x0, y0) of the top-left luma sample of the considered coding block relative to the top-left luma sample of the picture.

[0094] mmvd distance_idx[x0][y0] specifies the index used to derive MmvdDistance[x0][y0], as specified in Table 2. The array index x0, y0 specifies the position (x0, y0) of the top-left luma sample of the considered coding block relative to the top-left luma sample of the picture.

[0095] mmvd_distance_idx[x0][y0] MmvdDistance[x0][y0] 0 1 1 2 2 4 3 8 4 16 5 32 6 64 7 128

[0096] Table 2

[0097] mmvd_direction_idx[x0][y0] specifies the index used to derive MmvdSign[x0][y0], as specified in Table 3. The array index x0, y0 specifies the position (x0, y0) of the top-left luma sample of the considered coding block relative to the top-left luma sample of the picture.

[0098] mmvd_direction_idx[x0][y0] MmvdSign[x0][y0][0] MmvdSign[x0][y0][1] 0 +1 0 1 -1 0 2 0 +1 3 0 -1

[0099] Table 3

[0100] The two components of the combined MVD offset MmvdOffset[x0][y0] are derived as follows:

[0101] MmvdOffset[x0][y0][0]=(MmvdDistance[x0][y0]<<2)*MmvdSign[x0][y0][0]

[0102] MmvdOffset[x0][y0][1]=(MmvdDistance[x0][y0]<<2)*MmvdSign[x0][y0][1]

[0103] merge_subblock_flag[x0][y0] specifies whether to infer subblock-based inter prediction parameters for the current coding unit from neighboring blocks. The array index x0, y0 specifies the position (x0, y0) of the top-left luma sample of the considered coding block relative to the top-left luma sample of the picture. When merge_subblock_flag[x0][y0] is not present, it is inferred to be equal to 0.

[0104] merge_idx[x0][y0] specifies the merge candidate index of the merge candidate list, where x0, y0 specifies the position (x0, y0) of the top-left luma sample of the considered coding block relative to the top-left luma sample of the picture.

[0105] When merge_idx[x0][y0] does not exist, the inference is as follows:

[0106] - If mmvd_flag[x0][y0] is equal to 1, then merge_idx[x0][y0] is inferred to be equal to mmvd_mergeflag[x0][y0].

[0107] Otherwise (mmvd_flag[x0][y0] is equal to 0), merge_idx[x0][y0] is inferred to be equal to 0.

[0108] merge_subblock_idx[x0][y0] specifies the merge candidate index of the sub-block based merge candidate list, where x0, y0 specifies the position (x0, y0) of the top-left luma sample of the considered coding block relative to the top-left luma sample of the picture.

[0109] When merge_subblock_idx[x0][y0] does not exist, it is inferred to be equal to 0.

[0110] merge_flag[x0][y0] specifies whether the inter prediction parameters of the current coding unit are inferred from the neighboring inter prediction partitions. Array index x0, y0 specifies the position (x0, y0) of the top left luma sample of the considered coding block relative to the top left luma sample of the picture.

[0111] When merge_flag[x0][y0] does not exist, the inference is as follows:

[0112] - If cu_skip_flag[x0][y0] is equal to 1, then merge_flag[x0][y0] is inferred to be equal to 1.

[0113] Otherwise, merge_flag[x0][y0] is inferred to be equal to 0.

[0114] mh_intra_flag[x0][y0] specifies whether combined inter-picture merging and intra-picture prediction are applied to the current coding unit. The array index x0, y0 specifies the position (x0, y0) of the top-left luma sample of the considered coding block relative to the top-left luma sample of the picture.

[0115] When mh_intra_flag[x0][y0] is not present, it is inferred to be equal to 0.

[0116] The syntax elements mh_intra_luma_mpm_flag[x0][y0] and mh_intra_luma_mpm_idx[x0][y0] specify the intra prediction mode for luma samples used in combined inter-picture merging and intra-picture prediction. The array index x0, y0 specifies the position (x0, y0) of the top-left luma sample of the considered coding block relative to the top-left luma sample of the picture. The intra prediction mode is derived according to the techniques provided in JVET-L1001.

[0117] inter_pred_idc[x0][y0] specifies whether list0, list1 or bi-prediction is used for the current coding unit according to Table 4. The array index x0, y0 specifies the position (x0, y0) of the top left luma sample of the considered coding block relative to the top left luma sample of the picture.

[0118]

[0119] Table 4

[0120] When inter_pred_idc[x0][y0] does not exist, it is inferred to be equal to PRED_L0.

[0121] inter_affine_flag[x0][y0] equal to 1 specifies that for the current coding unit, when decoding a P slice or a B slice, affine model-based motion compensation is used to generate prediction samples of the current coding unit.

[0122] inter_affine_flag[x0][y0] equal to 0 specifies that the coding unit is not predicted by motion compensation based on the affine model. When inter_affine_flag[x0][y0] is not present, it is inferred to be equal to 0.

[0123] cu_affine_type_flag[x0][y0] equal to 1 specifies that for the current coding unit, when decoding a P slice or a B slice, motion compensation based on a 6-parameter affine model is used to generate the prediction samples of the current coding unit. cu_affine_type_flag[x0][y0] equal to 0 specifies that motion compensation based on a 4-parameter affine model is used to generate the prediction samples of the current coding unit.

[0124] MotionModelIdc[x][y] represents the motion model of the coding unit, as shown in Table 5. The array index x, y specifies the luma sample position (x, y) relative to the top left luma sample of the picture.

[0125] For x=x0..x0+cbWidth-1 and y=y0..y0+cbHeight-1, the variable MotionModelIdc[x][y] is derived as follows:

[0126] - If merge_fag[x0][y0] is equal to 1, then the following applies:

[0127] MotionModelIdcf x][y]=merge_subblock_flag[x0][y0]

[0128] Otherwise (merge_flag[x0][y0] is equal to 0), the following applies:

[0129] MotionModelIdc[x][y]=inter_affine_flag[x0][y0]+cu_affine_type_flag[x0][y0]

[0130] MotionModelIdc[x][y] Motion model for motion compensation 0 Translational motion 1 4-parameter affine motion 2 6-parameter affine motion

[0131] Table 5

[0132] ref_idx_10[x0][y0] specifies the list 0 reference picture index of the current coding unit. The array index x0, y0 specifies the position (x0, y0) of the top left luma sample of the considered coding block relative to the top left luma sample of the picture.

[0133] When ref_idx_10[x0][y0] does not exist, it is inferred to be equal to 0.

[0134] ref_idx_11[x0][y0] has the same semantics as ref_idx_10, where 10 and list 0 are replaced by 11 and list 1, respectively.

[0135] mvp_10_fag[x0][y0] specifies the motion vector predictor index for list 0, where x0, y0 specify the position (x0, y0) of the top left luma sample of the coding block under consideration relative to the top left luma sample of the picture.

[0136] When mvp_10_flag[x0][y0] is not present, it is inferred to be equal to 0.

[0137] mvp_11_flag[x0][y0] has the same semantics as mvp_10_flag, where 10 and list 0 are replaced by 11 and list 1, respectively.

[0138] amvr_mode[x0][y0] specifies the resolution of the motion vector differences. The array index x0, y0 specifies the position (x0, y0) of the top left luma sample of the considered coding block relative to the top left luma sample of the picture.

[0139] When amvr_mode[x0][y0] is not present, it is inferred to be equal to 0.

[0140] The variable MvShift is set equal to amvr_mode[x0][y0]<<1, and the variables MvdL0[x0][y0][0], MvdL0[x0][y0][1], MvdL1[x0][y0][0], MvdL1[x0][y0][1] are modified as follows:

[0141] MvdL0[x0][y0][0]=MvdL0[x0][y0][0]<<(MvShift+2)

[0142] MvdL0[x0][y0][1]=MvdL0[x0][y0][1]<<(MvShift+2)

[0143] MvdL1[x0][y0][0]=MvdL1[x0][y0][0]<<(MvShift+2)

[0144] MvdL1[x0][y0][1]=MvdL1[x0][y0][1]<<(MvShift+2)

[0145] gbi_idx[x0][y0] specifies the weight index of the bi-prediction with the CU weight. The array index x0, y0 specifies the position (x0, y0) of the top-left luma sample of the considered coding block relative to the top-left luma sample of the picture. When gbi_idx[x0][y0] does not exist, it is inferred to be equal to 0.

[0146] cu_cbf equal to 1 specifies that for the current coding unit, a transform_tree() syntax structure exists. cu_cbf equal to 0 specifies that for the current coding unit, no transform_tree() syntax structure exists.

[0147] When cu_cbf does not exist, the inference is as follows:

[0148] - If cu_skip_flag[x0][y0] is equal to 1, then cu_cbf is inferred to be equal to 0.

[0149] Otherwise, cu_cbf is inferred to be equal to 1.

[0150] The CU-level syntax provided in JVET-L1001 for indicating how to use a particular inter prediction tool to generate a prediction for the current CU may not be ideal. For example, some inter prediction tools are mutually exclusive with each other. So for example, if one tool is signaled as ON, it may be inefficient to signal syntax elements associated with another mutually exclusive inter prediction tool.

[0151] Referring to JVET-L1001, modifications to the inter prediction tools that can be used to generate a prediction for the current CU have been proposed. Specifically, Table 6 shows the CU-level syntax associated with the techniques implemented in the VVC Test Model 3 (VTM3) algorithm, which is used to indicate how to use a specific inter prediction tool to generate a prediction for the current CU.

[0152]

[0153]

[0154]

[0155]

[0156] Table 6

[0157] With respect to Table 6, the definitions of the corresponding syntax elements may be as provided above and below:

[0158] triangle_mode_flag[x0][y0] specifies whether triangle mode prediction is used for the current coding block (as described in "CE10.3.1.b: Triangle Prediction Unit Mode", document JVET-L0124-v2 of the 12th meeting of ISO / IEC JTC1 / SC29 / WG11, held in Macao, China, from October 3 to 12, 2018, which is referred to as JVET-L0124 in this article). The array index x0, y0 specifies the position (x0, y0) of the upper-left luma sample of the coding block under consideration relative to the upper-left luma sample of the picture. When triangle_mode_flag[x0][y0] is not present, it is inferred to be equal to 0.

[0159] triangle_merge_idx[x0][y0] specifies the merge candidate index of the triangle mode merge candidate list, where x0, y0 specify the position (x0, y0) of the top left luma sample of the considered coding block relative to the top left luma sample of the picture. When triangle_merge_idx[x0][y0] does not exist, it is inferred to be equal to 0.

[0160] Therefore, the syntax shown in Table 6 supports the inter prediction tool for triangular mode prediction. Similar to the CU-level syntax provided in JVET-L1001, the CU-level syntax corresponding to the VTM3 algorithm may not be ideal.

[0161] Figure 5 1 is a block diagram illustrating an example of a system that may be configured to encode (e.g., encode and / or decode) video data in accordance with one or more techniques of the present disclosure. System 100 represents an example of a system that may perform video encoding using motion vector prediction techniques in accordance with one or more examples of the present disclosure. Figure 5 As shown, system 100 includes source device 102, communication medium 110, and target device 120. Figure 5 In the example shown, source device 102 may include any device configured to encode video data and transmit the encoded video data to communication medium 110. Target device 120 may include any device configured to receive the encoded video data via communication medium 110 and decode the encoded video data. Source device 102 and / or target device 120 may include computing devices equipped for wired and / or wireless communication, and may include set-top boxes, digital video recorders, televisions, desktop, laptop or tablet computers, game consoles, mobile devices including, for example, "smart" phones, cellular phones, personal gaming devices, and medical imaging devices.

[0162] The communication medium 110 may include any combination of wireless and wired communication media and / or storage devices. The communication medium 110 may include coaxial cables, fiber optic cables, twisted pair cables, wireless transmitters and receivers, routers, switches, repeaters, base stations, or any other device that can be used to facilitate communication between various devices and sites. The communication medium 110 may include one or more networks. For example: the communication medium 110 may include a network configured to allow access to the World Wide Web, such as the Internet. The network may operate according to a combination of one or more telecommunication protocols. The telecommunication protocol may include proprietary aspects and / or may include standardized telecommunication protocols. Examples of standardized telecommunication protocols include digital video broadcasting (DVB) standards, advanced television system committee (ATSC) standards, integrated service digital broadcasting (ISDB) standards, cable data service interface specifications (DOCSIS) standards, global mobile communication systems (GSM) standards, code division multiple access (CDMA) standards, 3rd Generation Partnership Project (3GPP) standards, European Telecommunications Standards Institute (ETSI) standards, Internet Protocol (IP) standards, wireless application protocol (WAP) standards, and Institute of Electrical and Electronics Engineers (IEEE) standards.

[0163] A storage device may include any type of device or storage medium capable of storing data. The storage medium may include a tangible or non-transitory computer-readable medium. The computer-readable medium may include an optical disk, a flash memory, a magnetic memory, or any other suitable digital storage medium. In some examples, a memory device or a portion thereof may be described as a non-volatile memory, and in other examples, a portion of a memory device may be described as a volatile memory. Examples of volatile memory may include random access memory (RAM), dynamic random access memory (DRAM), and static random access memory (SRAM). Examples of non-volatile memory may include a magnetic hard disk, an optical disk, a floppy disk, a flash memory, or an electrically programmable memory (EPROM) or an electrically erasable and programmable (EEPROM) memory. One or more storage devices may include a memory card (e.g., a secure digital (SD) memory card), an internal / external hard drive, and / or an internal / external solid-state drive. Data may be stored on a storage device according to a defined file format.

[0164] Reference again Figure 5, source device 102 includes video source 104, video encoder 106 and interface 108. Video source 104 may include any device configured to capture and / or store video data. For example: video source 104 may include a camera and a storage device operably coupled thereto. Video encoder 106 may include any device configured to receive video data and generate a compatible bitstream representing video data. A compatible bitstream may refer to a bitstream from which a video decoder can receive and reproduce video data. Various aspects of a compatible bitstream may be defined according to a video coding standard. When generating a compatible bitstream, video encoder 106 may compress video data. Compression may be lossy (perceptible or imperceptible) or lossless. Interface 108 may include any device configured to receive a compatible video bitstream and transmit and / or store the compatible video bitstream to a communication medium. Interface 108 may include a network interface card such as an Ethernet card, and may include an optical transceiver, a radio frequency transceiver, or any other type of device that can send and / or receive information. In addition, interface 108 may include a computer system interface that may allow a compatible video bitstream to be stored on a storage device. For example, interface 108 may include support for peripheral component interconnect (PCI) and high-speed peripheral component interconnect (PCIe) bus protocols, proprietary bus protocols, universal serial bus (USB) protocols, I 2 C's chipset, or any other logical and physical structure that can be used to interconnect peer devices.

[0165] Reference again Figure 5 , target device 120 includes interface 122, video decoder 124, and display 126. Interface 122 may include any device configured to receive a compatible video bitstream from a communication medium. Interface 108 may include a network interface card such as an Ethernet card, and may include an optical transceiver, a radio frequency transceiver, or any other type of device that can receive and / or send information. In addition, interface 122 may include a computer system interface that allows a compatible video bitstream to be retrieved from a storage device. For example, interface 122 may include a computer system interface that supports PCI and PCIe bus protocols, dedicated bus protocols, USB protocols, I 2 C chipset, or any other logical and physical structure that can be used to interconnect peer devices. Video decoder 124 may include any device configured to receive a compatible bitstream and / or an acceptable variant thereof, and reproduce video data therefrom. Display 126 may include any device configured to display video data. Display 126 may include a variety of display devices such as: a liquid crystal display (LCD), a plasma display, an organic light emitting diode (OLED) display, or one of another type of display. Display 126 may include a high definition display or an ultra high definition display. It should be noted that although in Figure 5In the example shown, video decoder 124 is described as outputting data to display 126, but video decoder 124 can be configured to output video data to various types of devices and / or subcomponents thereof. For example, video decoder 124 can be configured to output video data to any communication medium, as described herein.

[0166] Figure 6 is a block diagram illustrating an example of a video encoder 200 that may implement the techniques described herein for encoding video data. It should be noted that although the exemplary video encoder 200 is illustrated as having different functional blocks, such illustration is intended for descriptive purposes and does not limit the video encoder 200 and / or its subcomponents to a particular hardware or software architecture. The functionality of the video encoder 200 may be implemented using any combination of hardware, firmware, and / or software implementations. In one example, the video encoder 200 may be configured to encode video data in accordance with the techniques described herein. The video encoder 200 may perform intra-frame prediction encoding and inter-frame prediction encoding of picture regions, and therefore may be referred to as a hybrid video encoder. In Figure 6 In the example shown, the video encoder 200 receives a source video block. In some examples, the source video block may include a picture area that has been divided according to a coding structure. For example: the source video data may include macroblocks, CTUs, CBs, their sub-partitions and / or other equivalent coding units. In some examples, the video encoder 200 may be configured to perform additional subdivision of the source video block. It should be noted that some of the techniques described herein may be generally applicable to video coding, regardless of how the source video data is divided before and / or during encoding. Figure 6 In the example shown, the video encoder 200 includes a summer 202, a transform coefficient generator 204, a coefficient quantization unit 206, an inverse quantization / transform processing unit 208, a summer 210, an intra-frame prediction processing unit 212, an inter-frame prediction processing unit 214, a filter unit 216 and an entropy coding unit 218.

[0167] like Figure 6As shown, the video encoder 200 receives a source video block and outputs a bitstream. The video encoder 200 can generate residual data by subtracting the predicted video block from the source video block. The summer 202 represents a component configured to perform the subtraction operation. In one example, the subtraction of the video block occurs in the pixel domain. The transform coefficient generator 204 applies a transform, such as a discrete cosine transform (DCT), a discrete sine transform (DST), or a conceptually similar transform, to its residual block or sub-partition (for example, four 8×8 transforms can be applied to a 16×16 residual value array) to generate a set of residual transform coefficients. The transform coefficient generator 204 can be configured to perform any and all combinations of transforms included in the discrete triangular transform series. The transform coefficient generator 204 can output the transform coefficients to the coefficient quantization unit 206. The coefficient quantization unit 206 can be configured to perform quantization of the transform coefficients. As described above, the degree of quantization can be modified by adjusting the quantization parameter. The coefficient quantization unit 206 may be further configured to determine a quantization parameter (QP) and output QP data (e.g., data for determining a quantization group size and a / M delta QP value), which a video decoder may use to reconstruct a quantization parameter to perform inverse quantization during video decoding. It should be noted that in other examples, one or more additional or alternative parameters may be used to determine the quantization scale (e.g., a scaling factor). The techniques described herein may generally be applied to determine a quantization scale for a transform coefficient corresponding to a component of video data based on a quantization scale for a transform coefficient corresponding to another component of video data.

[0168] like Figure 6 As shown, the quantized transform coefficients are output to the inverse quantization / transform processing unit 208. The inverse quantization / transform processing unit 208 may be configured to apply inverse quantization and inverse transformation to generate reconstructed residual data. Figure 6 As shown, at the summer 210, the reconstructed residual data can be added to the predicted video block. In this way, the encoded video block can be reconstructed, and the resulting reconstructed video block can be used to evaluate the coding quality of a given prediction, transformation and / or quantization. The video encoder 200 can be configured to perform multiple encoding rounds (e.g., performing encoding while changing one or more of the prediction, transformation parameters and quantization parameters). The rate distortion or other system parameters of the bitstream can be optimized based on the evaluation of the reconstructed video block. In addition, the reconstructed video block can be stored and used as a reference for predicting subsequent blocks.

[0169] As described above, an intra-frame prediction mode may be used to encode a video block. The intra-frame prediction processing unit 212 may be configured to select an intra-frame prediction mode for a current video block. The intra-frame prediction processing unit 212 may be configured to evaluate a frame and / or a region thereof and determine an intra-frame prediction mode to use to encode the current block. Figure 6 As shown, the intra-frame prediction processing unit 212 outputs the intra-frame prediction data (e.g., syntax elements) to the entropy coding unit 218 and the transform coefficient generator 204. As described above, possible intra-frame prediction modes may include a plane prediction mode, a DC prediction mode, and an angle prediction mode. The inter-frame prediction processing unit 214 may be configured to perform inter-frame prediction coding for the current video block. The inter-frame prediction processing unit 214 may be configured to receive a source video block and calculate motion information of a PU of the video block. A motion vector may indicate the displacement of a PU (or a similar coding structure) of a video block within a current video frame relative to a prediction block within a reference frame. Inter-frame prediction coding may use one or more reference pictures. For example: the inter-frame prediction processing unit 214 may locate a prediction video block ( Figure 6 ). It is noted that the inter-prediction processing unit 214 may be further configured to apply one or more interpolation filters to the reconstructed residual block to calculate sub-integer pixel values ​​for motion estimation. In addition, motion prediction may be unidirectional prediction (using one motion vector) or bidirectional prediction (using two motion vectors). The inter-prediction processing unit 214 may be configured to select a prediction block by calculating a pixel difference determined by, for example, the sum of absolute differences (SAD), the sum of squared differences (SSD), or other difference metrics. The inter-prediction processing unit 214 may output the motion prediction data of the calculated motion vector to the entropy coding unit 218.

[0170] As described above, the motion information may be determined and specified according to a motion vector prediction technique. The inter-prediction processing unit 214 may be configured to perform motion vector prediction techniques, including, for example, those techniques described above. In addition, the inter-prediction processing unit 214 may be configured to perform motion vector prediction according to the techniques described above. Specifically, the inter-prediction processing unit 214 may be configured to perform sub-block based motion vector prediction.

[0171] As described above, the CU-level syntax in JVET-L1001 and the CU-level syntax corresponding to the VTM3 algorithm may not be ideal. In one example, according to the techniques of this article, mmvd_merge_flag is signaled only when non-sub-PU merge mode is selected (i.e., when merge_subblock_flag is 0). Table 7 shows an example of signaling mmvd_merge_flag only when non-sub-PU merge mode is selected according to the techniques of this article. As shown in the syntax of Table 7, compared to the syntax in Table 1, the signaling of mmvd_merge_flag is moved below the receiving merge_subblock_flag.

[0172]

[0173]

[0174] Table 7

[0175] With respect to Table 7, the definition of the corresponding syntax elements may be as provided above.

[0176] Table 8 shows an example of signaling mmvd_merge_flag only if non-sub-PU merge mode is selected according to the techniques herein. As shown in the syntax of Table 8, compared to the syntax in Table 6, signaling mmvd_merge_flag is moved below receiving merge_subblock_flag.

[0177]

[0178]

[0179] Table 8

[0180] With respect to Table 8, the definition of the corresponding syntax elements may be as provided above.

[0181] In one example, according to the techniques herein, combined inter-picture merging and intra-picture prediction signaling is mirrored in the if(cu_skip_flag[x0][y0]){...} branch. This allows the use of multi-hypothesis prediction when skip mode is used, which can improve coding efficiency. Table 9 shows an example of mirroring combined inter-picture merging and intra-picture prediction signaling in the if(cu_skip_flag[x0][y0]){...} branch compared to the syntax in Table 1. Table 10 shows an example of mirroring combined inter-picture merging and intra-picture prediction signaling in the if(cu_skip_flag[x0][y0]){...} branch compared to the syntax in Table 6.

[0182]

[0183]

[0184] Table 9

[0185]

[0186]

[0187] Table 10

[0188] With respect to Table 9 and Table 10, the definitions of the corresponding syntax elements may be as provided above.

[0189] In one example, according to the techniques herein, the following conditions are used to signal combined inter-picture merging and intra-picture prediction (i.e., multi-hypothesis prediction) signaling:

[0190] if(mmvd_flag[x0][y0]==0&&merge_subblock_flag[x0][y0]==0&&(cbWidth*cbHeight)>=64&&cbWidth<128&&cbHeight<128){

[0191] It can be further conditioned on a high-level flag (i.e., a flag at a higher level than the CU level), which is as follows:

[0192] if(sps_mh_intra_flag&&mmvd_flag[x0][y0]==0&&merge_subblock_flag[x0][y0]==0&&(cbWidth*cbHeight)>=64&&cbWidth 128&&cbHeight<128){

[0193] Furthermore, in one example, according to the techniques herein, a high-level flag may indicate whether to signal one of multi-hypothesis prediction signaling or triangulation mode signaling. That is, the following conditions:

[0194] if(mmvd_flag[x0][y0]==0&&merge_subblock_flag[x0][y0]==0&&(cbWidth*cbHeight)>=64&&cbWidth<128&&cbHeight<128){

[0195] AND

[0196] if(sps_triangle_-mode flag&&slice type==B&&cbWidth*cbHeight>=64&&merge_subblock_flag[x0][y0]==0&&mmvd_flag[x0][y0]==0&&mh_intra_flag[x0][y0]==0)

[0197] It can be modified as follows:

[0198] if(use_mh_or_triangle_flag==MH&&mmvd_flag[x0][y0]==0&&merge_subblock_flag[x0][y0]==0&&(cbWidth*cbHeight)>=64&&cbWidth<128&&cbHeight<128){

[0199] AND

[0200] if(use_mh_or_triangle_flag==TRIANGLE&&slice_type==B&&cbWidth*cbHeight>=64&&merge_subblock_flag[x0][y0]==0&&mmvd_flag[x0][y0]==0&&mh_intra_flag[x0][y0]==0)

[0201] in,

[0202] use_mh_or_triangle_flag may be equal to one of MH or TRIANGLE.

[0203] In one example, according to the techniques herein, triangular mode signaling is mirrored in the non-skip / non-merge branch. This allows the use of triangular prediction when using non-skip / non-merge mode, which can improve coding efficiency. It should be noted that non-skip / non-merge can also be referred to as an AMVP branch. Table 11 shows an example of mirroring triangular mode signaling in the non-skip / non-merge branch compared to the syntax in Table 6.

[0204]

[0205]

[0206]

[0207] Table 11

[0208] With respect to Table 11, the definition of the corresponding syntax elements may be as provided above.

[0209] Relative to Table 6, the triangle merge list construction procedure is currently independent of the sub-block merge list construction procedure and the non-sub-block merge list construction procedure. In one example, according to the technology of this article, the non-sub-block merge list can be used as a merge list for the triangle mode. In the case of such a selection, it is acceptable to binarize the triangle merge index the same as other (e.g., non-sub-block) merge index binarization. When the binarization is the same, in one example, the context selected for entropy encoding the triangle merge index can be different from the context of the non-sub-block merge index. In one example, the non-sub-block merge index refers to the syntax element merge_idx[x0][y0]. In one example, the triangle merge index refers to the syntax element triangle_merge_idx[x0][y0].

[0210] In one example, according to the techniques herein, the syntax may be modified to signal the flag mh_intra_flag[x0][y0] after the flag triangle_mode_flag[x0][y0] when triangle_mode_flag[x0][y0] is equal to 0, and not signal the flag mh_intra_flag[x0][y0] after the flag triangle_mode_flag[x0][y0] when triangle_mode_flag[x0][y0] is equal to 1. In one example, when the multi-hypothesis flag is not present, its value is inferred to be equal to 0. Table 12 shows an example of the conditional presence of the flag mh_intra_flag[x0][y0] after the flag triangle_mode_flag[x0][y0].

[0211]

[0212] Table 12

[0213] With respect to Table 12, the definition of the corresponding syntax elements may be as provided above.

[0214] In one example, according to the techniques of this article, triangle_mode_flag[x0][y0] can be used to indicate the motion information to be used in triangle mode processing (e.g., (MV0, refldx0), (MV1, refldx1), InterDir, and MMVD data). Relative to Table 6, the current triangle mode utilizes the motion information in the merge list. In one example, the motion information in the merge list can be further modified by adding MMVD. In one example, it may be effective to make the triangle mode use this modified motion information instead of the motion information directly from the merge list. This will effectively allow the tools to work together. In one example, in order to enable such an approach, the triangle mode will not have its own merge list, but will use the merge list and MMVD signaling of the non-sub-block mode. According to the techniques of this article, Table 13 shows an example in which the triangle mode will not have its own merge list, but will use the merge list and MMVD signaling of the non-sub-block mode.

[0215]

[0216] Table 13

[0217] With respect to Table 13, the definition of the corresponding syntax elements may be as provided above.

[0218] Reference again Figure 6 ,like Figure 6 As shown, the inter-frame prediction processing unit 214 may receive the reconstructed video block via the filter unit 216, which may be part of the in-loop filtering process. The filter unit 216 may be configured to perform deblocking and / or sample adaptive offset (SAO) filtering. Deblocking refers to a procedure for smoothing the boundaries of reconstructed video blocks (e.g., making the boundaries less noticeable to the observer). SAO filtering is a non-linear amplitude mapping that can be used to improve reconstruction by adding an offset to the reconstructed video data. The entropy coding unit 218 receives quantized transform coefficients and prediction syntax data (i.e., intra-frame prediction data, motion prediction data, QP data, etc.). The entropy coding unit 218 may be configured to perform entropy coding according to one or more of the techniques described herein. The entropy coding unit 218 may be configured to output a compatible bitstream (i.e., a bitstream from which a video decoder can receive and reproduce video data). Thus, the video encoder 200 represents an example of a device configured to determine whether to infer sub-block based inter-frame prediction parameters of a current video block from neighboring blocks, signal a flag specifying whether to infer sub-block based inter-frame prediction parameters of the current video block from neighboring blocks, and conditionally signal a flag specifying whether to use a merge mode with motion vector differences to generate inter-frame prediction parameters of the current video block based on the value of the flag specifying whether to infer sub-block based inter-frame prediction parameters of the current video block from neighboring blocks.

[0219] Figure 7 300 is a block diagram illustrating an example of a video decoder that may be configured to decode video data in accordance with one or more techniques of the present disclosure. In one example, the video decoder 300 may be configured to reconstruct the video data based on one or more of the techniques described above. That is, the video decoder 300 may operate in a manner reciprocal to the video encoder 200 described above. The video decoder 300 may be configured to perform intra-frame prediction decoding and inter-frame prediction decoding, and may therefore be referred to as a hybrid decoder. Figure 7 In the example shown, the video decoder 300 includes an entropy decoding unit 302, an inverse quantization unit 304, an inverse transform processing unit 306, an intra-frame prediction processing unit 308, an inter-frame prediction processing unit 310, a summer 312, a filter unit 314, and a reference buffer 316. The video decoder 300 can be configured to decode video data in a manner consistent with a video encoding system that can implement one or more aspects of a video coding standard. It should be noted that although the exemplary video decoder 300 is shown with different functional blocks, such illustrations are intended for descriptive purposes and do not limit the video decoder 300 and / or its subcomponents to a particular hardware or software architecture. The functionality of the video decoder 300 can be implemented using any combination of hardware, firmware, and / or software implementations.

[0220] like Figure 7As shown, the entropy decoding unit 302 receives an entropy-encoded bitstream. The entropy decoding unit 302 may be configured to decode the quantized syntax elements and quantized coefficients from the bitstream according to a procedure that is inverse to the entropy encoding procedure. The entropy decoding unit 302 may be configured to perform entropy decoding according to any of the entropy encoding techniques described above. The entropy decoding unit 302 may parse the encoded bitstream in a manner consistent with the video coding standard. The video decoder 300 may be configured to parse the encoded bitstream, wherein the encoded bitstream is generated based on the above-mentioned technique. The inverse quantization unit 304 receives the quantized transform coefficients (i.e., the level values) and the quantization parameter data from the entropy decoding unit 302. The quantization parameter data may include any and all combinations of the above-mentioned incremental QP values ​​and / or quantization group size values, etc. The video decoder 300 and / or the inverse quantization unit 304 may be configured to determine the QP value for inverse quantization based on the value signaled by the video encoder and / or by video attributes and / or coding parameters. That is, the inverse quantization unit 304 may operate in a manner that is inverse to the above-mentioned coefficient quantization unit 206. The inverse quantization unit 304 may be configured to apply inverse quantization. The inverse transform processing unit 306 may be configured to perform an inverse transform to generate reconstructed residual data. The techniques performed by the inverse quantization unit 304 and the inverse transform processing unit 306, respectively, may be similar to the techniques performed by the inverse quantization / transform processing unit 208 described above. The inverse transform processing unit 306 may be configured to apply an inverse DCT, an inverse DST, an inverse integer transform, a non-separable quadratic transform (NSST), or a conceptually similar inverse transform procedure to transform the coefficients so as to produce a residual block in the pixel domain. Furthermore, as described above, whether a particular transform (or type of particular transform) is performed may depend on the intra prediction mode. As Figure 7 As shown, the reconstructed residual data may be provided to summer 312. Summer 312 may add the reconstructed residual data to the predicted video block and generate reconstructed video data.

[0221] As described above, the predicted video block may be determined according to a predictive video technique, i.e., intra-frame prediction and inter-frame prediction. The intra-frame prediction processing unit 308 may be configured to receive an intra-frame prediction syntax element and retrieve a predicted video block from a reference buffer 316. The reference buffer 316 may include a memory device configured to store one or more frames of video data. The intra-frame prediction syntax element may identify an intra-frame prediction mode, such as: the intra-frame prediction mode described above. In one example, the intra-frame prediction processing unit 308 may reconstruct the video block using one or more of the intra-frame prediction encoding techniques described herein. The inter-frame prediction processing unit 310 may receive the inter-frame prediction syntax element and generate a motion vector to identify a predicted block in one or more reference frames stored in the reference buffer 316. The inter-frame prediction processing unit 310 may generate a motion compensation block, possibly performing interpolation based on an interpolation filter. An identifier of an interpolation filter for motion estimation with sub-pixel precision may be included in the syntax element. The inter-frame prediction processing unit 310 may use an interpolation filter to calculate an interpolated value of a sub-integer pixel of a reference block.

[0222] As described above, the video decoder 300 may parse an encoded bitstream, wherein the encoded bitstream is generated based on the above-described techniques, and as described above, the video encoder 200 may generate a bitstream according to the above-described motion vector prediction techniques. Therefore, the video decoder 300 may be configured to perform motion vector prediction according to the above-described techniques. In this way, the video decoder 300 represents an example of a device that is configured to: parse a flag that specifies whether to infer sub-block-based inter-frame prediction parameters of a current video block from neighboring blocks, and conditionally parse a flag that specifies whether to use a merge mode with motion vector difference to generate inter-frame prediction parameters of the current video block based on the value of the parsed flag that specifies whether to infer sub-block-based inter-frame prediction parameters of the current video block from neighboring blocks.

[0223] Reference again Figure 7 , filter unit 314 may be configured to perform filtering on the reconstructed video data. For example, filter unit 314 may be configured to perform deblocking and / or SAO filtering, as described above with respect to filter unit 216. Furthermore, it should be noted that in some examples, filter unit 314 may be configured to perform dedicated arbitrary filtering (e.g., visual enhancement). Figure 7 As shown, the video decoder 300 may output a reconstructed video block.

[0224] In one or more examples, the functions may be implemented by hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored as one or more instructions or codes on or transmitted via a computer-readable medium and executed by a hardware-based processing unit. Computer-readable media may include computer-readable storage media corresponding to tangible media such as data storage media, or propagation media including, for example, any medium that facilitates the transmission of a computer program from one place to another according to a communication protocol. Thus, computer-readable media may generally correspond to: (1) a non-transitory tangible computer-readable storage medium, or (2) a communication medium such as a signal or carrier wave. The data storage medium may be any available medium that can be accessed by one or more computers or one or more processors to retrieve instructions, codes, and / or data structures for implementing the techniques described in the present disclosure. A computer program product may include a computer-readable medium.

[0225] By way of example and not limitation, such computer-readable storage media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage devices, magnetic disk storage devices or other magnetic storage devices, flash memory, or any other medium that can be used to store the required program code in the form of instructions or data structures and can be accessed by a computer. Moreover, any connection is appropriately referred to as a computer-readable medium. For example, if a coaxial cable, optical fiber cable, twisted pair, digital subscriber line (DSL) or wireless technology such as infrared, radio and microwave are used to transmit instructions from a website, server or other remote source, then the coaxial cable, optical fiber cable, twisted pair, DSL or wireless technology such as infrared, radio and microwave are included in the definition of the medium. However, it should be understood that computer-readable storage media and data storage media do not include connections, carriers, signals or other transient media, but are directed to non-transient tangible storage media. As used herein, disks and optical disks include compact disks (CDs), laser disks, optical optical disks, digital versatile disks (DVDs), floppy disks and Blu-ray disks, where disks usually copy data magnetically, while optical disks use lasers to copy data optically. The above combination should also be included in the scope of computer-readable media.

[0226] Instructions may be executed by one or more processors such as: one or more digital signal processors (DSPs), general-purpose microprocessors, application-specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuits. Therefore, the term "processor" as used herein may refer to any of the foregoing structures or any other structure suitable for implementing the techniques described herein. In addition, in some aspects, the functionality described herein may be provided within dedicated hardware and / or software modules configured for encoding and decoding, or incorporated into a combined codec. Moreover, these techniques may be implemented entirely in one or more circuits or logic elements.

[0227] The techniques of the present disclosure may be implemented in a variety of devices or apparatuses including wireless handsets, integrated circuits (ICs), or a set of ICs (e.g., chipsets). Various components, modules, or units are described in the present disclosure to emphasize functional aspects of devices configured to perform the disclosed techniques, but do not necessarily need to be implemented by different hardware units. Instead, as described above, the various units may be combined in a codec hardware unit, or provided by a collection of interoperable hardware units including one or more processors as described above, in combination with appropriate software and / or firmware.

[0228] In addition, each functional block or various features of the base station equipment and terminal equipment used in each of the above-mentioned embodiments can be implemented or executed by a circuit (usually an integrated circuit or multiple integrated circuits). The circuit designed to perform the functions described in this specification may include a general-purpose processor, a digital signal processor (DSP), a dedicated or general-purpose integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, or discrete hardware components, or a combination thereof. The general-purpose processor may be a microprocessor, or alternatively, the processor may be a conventional processor, a controller, a microcontroller or a state machine. The general-purpose processor or each of the above-mentioned circuits may be configured by a digital circuit, or may be configured by an analog circuit. In addition, when the technology of the integrated circuit that replaces the current integrated circuit appears due to the progress of semiconductor technology, the integrated circuit produced by the technology can also be used.

[0229] Various examples have been described. These and other examples are within the scope of the following claims.

[0230] <Cross reference>

[0231] This nonprovisional application claims priority under 35 U.S.C. §119 to provisional application 62 / 784,014, filed on December 21, 2018, the entire contents of which are hereby incorporated by reference.

Claims

1. A method for decoding video data, the method include: Decoding a merged subblock flag, the merged subblock flag specifying whether to infer a subblock-based inter-frame prediction parameter of a coding unit from a neighboring block, wherein a value of the merged subblock flag equals one, specifying that the subblock-based inter-frame prediction parameter of the coding unit is inferred from the neighboring block; After determining that the value of the merged sub-block flag is equal to zero, decoding a motion vector difference flag; After determining that the value of the merge sub-block flag is equal to zero and the value of the motion vector difference flag is equal to one, decoding the motion vector difference merge flag, wherein When the value of the motion vector difference merge flag is equal to one, the motion vector difference merge flag specifies to use prediction parameters with motion vector difference, and When the value of the motion vector difference flag is equal to one, the motion vector difference flag specifies that a merge mode with the motion vector difference is enabled; as well as When the value of the merge sub-block flag is equal to zero and the value of the motion vector difference flag is equal to one, the coding unit is reconstructed in a merge mode of the motion vector difference.

2. A method for encoding video data, the method include: encoding a merged subblock flag, the merged subblock flag specifying whether a subblock-based inter-frame prediction parameter of a coding unit is inferred from a neighboring block, wherein a value of the merged subblock flag is equal to one, specifying that the inter-frame prediction parameter based on the subblock of the coding unit is inferred from the neighboring block; After determining that the value of the merged sub-block flag is equal to zero, encoding a motion vector difference flag; After determining that the value of the merge subblock flag is equal to zero and the value of the motion vector difference flag is equal to one, encoding a motion vector difference merge flag, wherein When the value of the motion vector difference merge flag is equal to one, the motion vector difference merge flag specifies to use prediction parameters with motion vector difference, and When the value of the motion vector difference flag is equal to one, the motion vector difference flag specifies whether to enable a merge mode with the motion vector difference; as well as When the value of the merge-sub-block flag is equal to zero and the value of the motion vector difference flag is equal to one, the coding unit is encoded in a merge mode of the motion vector difference.

3. The method according to claim 1, further comprising: include: When the value of the merge-sub-block flag is equal to zero and the value of the sequence parameter set flag for combined inter-picture merging and intra-picture prediction is equal to one, a combined flag is decoded, the combined flag specifying whether the combined inter-picture merging and intra-picture prediction is applied to a coding unit. 4 . The method of claim 3 , wherein when the combined flag is decoded, the coding unit is not reconstructed in a merge mode of the motion vector difference. 5 . The method of claim 1 , wherein when the value of the merged subblock flag is equal to one, the motion vector difference flag of the coding unit is not included in the video data.

6. A device comprising one or more processors configured to perform the method of any one of claims 1 to 5.

Citation Information

Patent Citations

  • Small ornament (handcrafted rooster 871)

    CN3246523D