Reducing motion vector information transmission in bi-directional temporal prediction
By deriving the second motion vector from the first motion vector in video encoding, signaling is reduced, the problem of low information transmission efficiency associated with two motion vectors in bidirectional temporal prediction is solved, and higher coding efficiency and bandwidth optimization are achieved. .
Patent Information
- Application Number
- CN202410983759.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2018-04-11
- Filing Date
- 2019-04-08
- Publication Date
- 2024-10-11
AI Technical Summary
Existing bidirectional temporal prediction uses two motion vectors (MVs) in video coding, resulting in inefficient information transmission, consuming unnecessary bandwidth, and causing large related overhead.
By determining the relationship between the two motion vectors, deriving the second motion vector from the first motion vector, reducing the signaling of the second motion vector, transmitting only the necessary information to reconstruct the second motion vector, e.g. by scaling or Mirroring relationship reduces reference index and MVD transmission.
It effectively reduces the overhead of two-way time prediction, improves coding efficiency, reduces bandwidth consumption, and improves video coding performance.
Smart Images

Figure CN118764640A_ABST
Abstract
Description
[0001] This application is a divisional application of the Chinese invention patent application "Reducing Motion Vector Information Transmission in Bidirectional Temporal Prediction" with PCT application number PCT / US2019 / 026315, international application date April 8, 2019, and Chinese application number 201980031144.4, which entered the Chinese national stage on November 9, 2020.
[0002] Priority claim
[0003] This application claims priority under 35 USC §119(e) to U.S. Provisional Application Serial No. 62 / 654,073, filed on April 6, 2018, and U.S. Provisional Patent Application Serial No. 62 / 656,114, filed on April 11, 2018, the entirety of each of which is hereby incorporated by reference herein. Technical Field
[0004] The present disclosure relates to the field of video coding, and more particularly to improvements in coding efficiency associated with reduced transmission of motion vector information for bidirectional temporal prediction. Background Art
[0005] Technological improvements in evolving video coding standards show a trend toward improving coding efficiency to achieve higher bitrates, higher resolutions, and better video quality. The Joint Video Exploration Team has developed a new video coding scheme called JVET and is developing a newer video coding scheme called Versatile Video Coding (VVC) — the entire contents of VVC version 7 of the draft 2 of the standard titled “Versatile Video Coding (Draft 2)” published by JVET on October 1, 2018, are hereby incorporated by reference herein. Similar to other video coding schemes like HEVC (High Efficiency Video Coding), both JVET and VVC are block-based hybrid spatial and temporal predictive coding schemes. However, relative to HEVC, JVET and VVC include many modifications to the bitstream structure, syntax, constraints, and mappings used to generate decoded pictures. JVET has been implemented in the Joint Exploration Model (JEM) encoder and decoder, but VVC is not expected to be implemented until early 2020.
[0006] Various encoding techniques require the use of two motion vectors in the reconstruction of a coding unit. The transmission of complete information related to two motion vectors is inefficient and consumes unnecessary bandwidth. A system and method is needed to reduce the overhead and burden associated with encoding involving multiple motion vectors (MVs). Summary of the invention
[0007] A system of one or more computers may be configured to perform specific operations or actions by installing software, firmware, hardware, or a combination thereof on the system, which in operation causes the system to perform the actions. One or more computer programs may be configured to perform specific operations or actions by including instructions that, when executed by a data processing device, cause the device to perform the actions. A general aspect includes: receiving information related to a coding unit; determining motion information associated with the coding unit; determining whether there is more than one motion vector associated with the motion information; if it is determined that the motion information is associated with more than one motion vector, determining a relationship between a first motion vector and a second motion vector; and encoding the coding unit, wherein the coding unit includes information related to the first motion vector and information related to the relationship between the first motion vector and the second motion vector. Other embodiments of this aspect include corresponding computer systems, devices, and computer programs recorded on one or more computer storage devices, each of which is configured to perform the actions of the method.
[0008] Implementations may include one or more of the following features: an inter-frame coding method, wherein the information related to the relationship between the first motion vector and the second motion vector includes information sufficient to reconstruct the MVP index and MVD of the second motion vector; an inter-frame coding method, wherein the information related to the relationship between the first motion vector and the second motion vector includes a scaling factor; an inter-frame coding method, wherein the information related to the relationship between the first motion vector and the second motion vector includes information sufficient to reconstruct the MVP index and MVD of the second motion vector; an inter-frame coding method, wherein the information related to the relationship between the first motion vector and the second motion vector includes information related to a reference slice; an inter-frame coding method, wherein the information related to the relationship between the first motion vector and the second motion vector indicates that the second motion vector is a mirror image of the first motion vector; an inter-frame coding method, wherein the information related to the relationship between the first motion vector and the second motion vector includes reference index information; an inter-frame coding method, wherein the information related to the relationship between the first motion vector and the second motion vector includes a control point of the second motion vector. Implementations of the technology may include hardware, methods or processes, or computer software on a computer-accessible medium.
[0009] Some embodiments may include an inter-frame coding system, comprising: receiving information related to a coding unit in a first memory, determining motion information associated with the coding unit, determining whether there is more than one motion vector associated with the motion information, if it is determined that the motion information is associated with more than one motion vector, determining a relationship between a first motion vector and a second motion vector, and encoding the coding unit, wherein the coding unit includes information related to the first motion vector and information related to the relationship between the first motion vector and the second motion vector. Other embodiments of this aspect include corresponding computer systems, apparatus, and computer programs recorded on one or more computer storage devices, each of which is configured to perform the actions of the method. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] The invention is described in more detail with the aid of the accompanying drawings, in which:
[0011] Figure 1 Depicts the partitioning of a frame into multiple coding tree units (CTUs).
[0012] Figure 2a to Figure 2c An exemplary partitioning of a CTU into coding units (CUs) is depicted.
[0013] Figure 3 Depicted Figure 2a to Figure 2c The CU partition is represented by a quadtree plus binary tree (QTBT).
[0014] Figure 4 Depicted is a simplified block diagram for CU encoding in a JVET or VVC encoder.
[0015] Figure 5 Depicts the possible intra prediction modes for the luma component in JVET of VVC.
[0016] Figure 6 Depicted is a simplified block diagram of CU encoding in JVET for a VVC decoder.
[0017] Figure 7 A block diagram of a reduced overhead encoding method for encoding video is depicted.
[0018] Figure 8 A block diagram of a reduced overhead decoding method for decoding video is depicted.
[0019] Fig. 9 Embodiments of a computer system adapted and configured to provide variable template sizes for template matching are depicted.
[0020] Fig.10Embodiments of a video encoder / decoder adapted and configured to provide variable template sizes for template matching are depicted. DETAILED DESCRIPTION
[0021] Figure 1 The division of a frame into a plurality of coding tree units (CTUs) 100 is depicted. A frame may be an image in a video sequence. A frame may include a matrix or a collection of matrices representing intensity measures in an image in terms of pixel values. Thus, a collection of these matrices may generate a video sequence. Pixel values may be defined to represent color and brightness in full-color video encoding, where pixels are divided into three channels. For example, in the YCbCr color space, a pixel may have a brightness value Y representing the intensity of a gray level in an image, and two chrominance values Cb and Cr representing how different the color is from gray to blue and red. In other embodiments, pixel values may be represented by values in different color spaces or models. The resolution of the video may determine the number of pixels in a frame. Higher resolutions may mean more pixels and better image clarity, but may also result in higher bandwidth, storage, and transmission requirements.
[0022] The frames of a video sequence can be encoded and decoded using JVET. JVET is a video coding scheme developed by the Joint Video Exploration Team. Several versions of JVET have been implemented in the JEM (Joint Exploration Model) encoder and decoder. Similar to other video coding schemes like HEVC (High Efficiency Video Coding), JVET is a block-based hybrid spatial and temporal predictive coding scheme. During encoding using JVET, the frame is first divided into square blocks called CTU 100, such as Figure 1 For example, CTU 100 may be a block of 128×128 pixels.
[0023] Figure 2a An exemplary partitioning of a CTU 100 into CUs 102 is depicted. Each CTU 100 in a frame can be partitioned into one or more CUs (coding units) 102. As described below, a CU 102 can be used for prediction and transformation. Unlike HEVC, in JVET, a CU 102 can be rectangular or square and can be encoded without further partitioning into prediction units or transform units. A CU 102 can be as large as its root CTU 100, or a smaller subdivision of a root CTU 100 as small as a 4×4 block.
[0024] In JVET, CTU 100 may be partitioned into CUs 102 according to a quadtree plus binary tree (QTBT) scheme, where CTU 100 may be recursively partitioned into square blocks according to a quadtree, and then these square blocks may be recursively partitioned in the horizontal or vertical direction according to a binary tree. Parameters may be set to control the partitioning according to QTBT, such as CTU size, minimum size of quadtree and binary tree leaf nodes, maximum size of binary tree root node, and maximum depth of the binary tree. In VVC, CTU 100 may also be partitioned into CUs using ternary tree partitioning.
[0025] As a non-limiting example, Figure 2a A CTU 100 is shown partitioned into CUs 102, where solid lines indicate quadtree partitioning and dashed lines indicate binary tree partitioning. As shown, the binary tree partitioning allows for horizontal and vertical partitioning to define the structure of the CTU and its subdivision into CUs. Figure 2b and Figure 2c Depicted is an alternative non-limiting example of a ternary tree partitioning of a CU, where the subdivisions of the CU are unequal.
[0026] Figure 3 Depicted Figure 2a to Figure 2c The quadtree root node represents the CTU 100, where each child node in the quadtree portion represents one of the four square blocks partitioned from the square parent block. The square block represented by the quadtree leaf node can then be partitioned zero or more times using a binary tree, where the quadtree leaf node is the root node of the binary tree. At each level of the binary tree portion, the block can be partitioned vertically or horizontally. A flag set to "0" indicates a horizontal partition of the block, while a flag set to "1" indicates a vertical partition of the block.
[0027] After quadtree partitioning and binary tree partitioning, the blocks represented by the leaf nodes of the QTBT represent the final CU 102 to be encoded (such as encoded using inter prediction or intra prediction). For slices or full frames encoded with inter prediction, different partitioning structures can be used for luma and chroma components. For example, for inter slices, the CU 102 can have coding blocks (CBs) for different color components, such as one luma CB and two chroma CBs. For slices or full frames encoded with intra prediction, the partitioning structure can be the same for luma and chroma components.
[0028] Figure 4A simplified block diagram for CU encoding in a JVET encoder is depicted. The main stages of video encoding include: segmentation as described above to identify CU 102, followed by encoding CU 102 using prediction at 404 or 406, generating residual CU 410 at 408, transforming at 412, quantizing at 416, and entropy encoding at 420. Figure 4 The encoder and encoding process shown in also include a decoding process described in more detail below.
[0029] Given the current CU 102, the encoder can obtain the predicted CU 402 using intra prediction in space at 404 or inter prediction in time at 406. The basic idea of predictive coding is to transmit a difference or residual signal between the original signal and the prediction for the original signal. At the receiver side, the original signal can be reconstructed by adding the residual and the prediction, as will be described below. Because the correlation of the difference signal is lower than the original signal, fewer bits are required for its transmission.
[0030] A slice encoded entirely with an intra-predicted CU (such as an entire picture or a portion of a picture) may be an I slice, which may be decoded without reference to other slices and may therefore be a possible point to start decoding. A slice encoded with at least some inter-predicted CUs may be a predicted (P) or bi-predicted (B) slice that may be decoded based on one or more reference pictures. P slices may use intra-prediction and inter-prediction with previously encoded slices. For example, P slices may be compressed further than I slices using inter-prediction, but encoding of previously encoded slices is required to encode them. B slices may be encoded using data from previous and / or subsequent slices using intra-prediction or inter-prediction, using interpolated predictions from two different frames, thereby improving the accuracy of the motion estimation process. In some cases, P and B slices may also or may alternatively be encoded using intra-block copying, where data from other parts of the same slice is used.
[0031] As described below, intra prediction or inter prediction may be performed based on a reconstructed CU 434 from a previously encoded CU 102 , such as a neighboring CU 102 or a CU 102 in a reference picture.
[0032] When CU 102 is spatially encoded using intra prediction at 404, an intra prediction mode may be found that best predicts pixel values of CU 102 based on samples from neighboring CUs 102 in the picture.
[0033] When encoding the luma component of a CU, the encoder can generate a list of candidate intra prediction modes. Although HEVC has 35 possible intra prediction modes for the luma component, in JVET, there are 67 possible intra prediction modes for the luma component, and in VVC, there are 85 prediction modes. These modes include planar mode, DC mode, Figure 5 There are 65 directional modes shown in the figure, and 18 wide-angle prediction modes. The planar mode uses a three-dimensional plane of values generated from neighboring pixels, the DC mode uses the average value of neighboring pixels, and the directional mode uses values copied from neighboring pixels along the direction indicated by the solid line. The wide-angle prediction mode can be used with non-square blocks.
[0034] When generating a list of candidate intra prediction modes for the luma component of a CU, the number of candidate modes on the list may depend on the size of the CU. The candidate list may include: a subset of HEVC's 35 modes with the lowest SATD (sum of absolute transform differences) cost; new directional modes added for JVET that are adjacent to the candidates found from the HEVC mode; and a set of six most probable modes (MPMs) from CU 102 identified based on intra prediction modes for previously coded neighboring blocks, as well as modes in the default mode list.
[0035] When encoding the chrominance components of a CU, a list of candidate intra prediction modes may also be generated. The list of candidate modes may include modes generated from luma samples using cross-component linear model projections, intra prediction modes found for luma CBs, especially co-located positions in chroma blocks, and chroma prediction modes previously found for neighboring blocks. The encoder may find the candidate modes with the lowest rate-distortion cost on the list and use those intra prediction modes when encoding the luma and chroma components of the CU. Syntax may be encoded in the bitstream indicating the intra prediction mode used to encode each CU 102.
[0036] After selecting the best intra prediction modes for CU 102, the encoder can use these modes to generate the prediction CU 402. When the selected mode is a directional mode, a 4-tap filter can be used to improve directional accuracy. A boundary prediction filter, such as a 2-tap or 3-tap filter, can be used to adjust the top or left column or row of the prediction block.
[0037] The predicted CU 402 may be further smoothed using a position-dependent intra prediction combining (PDPC) process that adjusts the predicted CU 402 generated based on filtered samples of neighboring blocks using unfiltered samples of neighboring blocks, or adaptive reference sample smoothing using a 3-tap or 5-tap low-pass filter to process reference samples.
[0038] When CU 102 is temporally encoded using inter prediction at 406, a set of motion vectors (MVs) may be found that point to samples in a reference picture that best predict pixel values for CU 102. Inter prediction exploits temporal redundancy between slices by representing the displacement of blocks of pixels in a slice. The displacement is determined based on pixel values in a previous or subsequent slice through a process called motion compensation. Motion vectors and associated reference indices representing the displacement of pixels relative to a particular reference picture may be provided to the decoder in the bitstream along with the residual between the original pixel and the motion compensated pixel. The decoder may use the residual and the signaled motion vector and reference indices to reconstruct the pixel block in the reconstructed slice.
[0039] In JVET, motion vector precision can be stored at 1 / 16 pixel, and the difference between the motion vector and the predicted motion vector of the CU can be encoded at quarter-pixel resolution or integer-pixel resolution.
[0040] In JVET, motion vectors may be found for multiple sub-CUs within CU 102 using techniques such as advanced temporal motion vector prediction (ATMVP), spatio-temporal motion vector prediction (STMVP), affine motion compensated prediction, pattern-matched motion vector derivation (PMMVD), and / or bidirectional optical flow (BIO).
[0041] Using ATMVP, the encoder can find the temporal vector of CU 102, which points to the corresponding block in the reference picture. The temporal vector can be found based on the motion vector and reference picture found for the previously encoded neighboring CU 102. Using the reference block pointed to by the temporal vector of the entire CU 102, the motion vector can be found for each sub-CU within CU 102.
[0042] STMVP can find the motion vector of the sub-CU by scaling and averaging the motion vectors found for neighboring blocks previously coded with inter-frame prediction and the temporal vector.
[0043] Affine motion compensated prediction can be used to predict the motion vector field of each sub-CU in a block based on the two control motion vectors found for the corners of the block. For example, the motion vector of a sub-CU can be derived based on the corner motion vectors found for each 4×4 block within CU 102.
[0044] PMMVD can use bilateral matching or template matching to find the initial motion vector for the current CU 102. Bilateral matching can look at the current CU 102 and the reference block in two different reference pictures along the motion trajectory, while template matching can look at the corresponding blocks in the current CU 102 and the reference picture identified by the template. The initial motion vector found for the CU 102 can then be refined for each sub-CU one by one.
[0045] BIO may be used when performing inter prediction with bi-directional prediction based on earlier and later reference pictures, and allows finding a motion vector for a sub-CU based on the gradient of the difference between the two reference pictures.
[0046] In some cases, local illumination compensation (LIC) may be used at the CU level to find the values of the scaling factor parameters and the offset parameters based on samples near the current CU 102 and corresponding samples near the reference block identified by the candidate motion vector. In JVET, the LIC parameters may vary and be signaled at the CU level.
[0047] For some of the above methods, the motion vectors found for the sub-CUs of each CU can be signaled to the decoder at the CU level. For other methods, such as PMMVD and BIO, motion information is not signaled in the bitstream to save overhead, and the decoder can derive motion vectors through the same process.
[0048] After finding the motion vectors for CU 102, the encoder may use these motion vectors to generate a predicted CU 402. In some cases, when motion vectors have been found for individual sub-CUs, overlapped block motion compensation (OBMC) may be used when generating the predicted CU 402 by combining those motion vectors with motion vectors previously found for one or more neighboring sub-CUs.
[0049] When bidirectional prediction is used, JVET can use decoder-side motion vector refinement (DMVR) to find motion vectors. DMVR allows motion vectors to be found based on two motion vectors found for bidirectional prediction using a bidirectional template matching process. In DMVR, a weighted combination of the prediction CU 402 generated using each of the two motion vectors can be found, and the two motion vectors can be refined by replacing them with a new motion vector that best points to the combined prediction CU 402. The two refined motion vectors can be used to generate the final prediction CU 402.
[0050] At 408 , once the prediction CU 402 is found to be intra-predicted at 404 or inter-predicted at 406 , the encoder may subtract the prediction CU 402 from the current CU 102 to find the residual CU 410 , as described above.
[0051] The encoder may convert the residual CU 410 into transform coefficients 414 representing the residual CU 410 in a transform domain using one or more transform operations at 412, such as using a discrete cosine block transform (DCT transform) to convert the data to a transform domain. JVET allows more types of transform operations than HEVC, including DCT-II, DST-VII, DST-VII, DCT-VIII, DST-I, and DCT-V operations. The allowed transform operations may be grouped into subsets, and indications of which subsets and which specific operations in those subsets are used may be signaled by the encoder. In some cases, a large block size transform may be used to zero high-frequency transform coefficients in CUs 102 that are larger than a certain size, so that only low-frequency transform coefficients are maintained for those CUs 102.
[0052] In some cases, a mode-dependent non-separable secondary transform (MDNSST) may be applied to the low-frequency transform coefficients 414 after the forward core transform. The MDNSST operation may use a Hypercube-Givens transform (HyGT) based on rotation data. When used, an index value identifying a specific MDNSST operation may be signaled by the encoder.
[0053] At 416, the encoder may quantize the transform coefficients 414 into quantized transform coefficients 416. The quantization of each coefficient may be calculated by dividing the coefficient value by a quantization step size, which is derived from a quantization parameter (QP). In some embodiments, Qstep is defined as 2 (QP-4) / 6 . Quantization can aid in data compression because high-precision transform coefficients 414 can be converted into quantized transform coefficients 416 having a limited number of possible values. Thus, quantization of the transform coefficients can limit the amount of bits generated and transmitted by the transform process. However, although quantization is a lossy operation and the losses from quantization cannot be recovered, the quantization process trades off the quality of the reconstructed sequence against the amount of information required to represent the sequence. For example, a lower QP value can produce a better quality decoded video, although a larger amount of data is required to represent and transmit. Conversely, a high QP value can produce a lower quality reconstructed video sequence, but with lower data and bandwidth requirements.
[0054] JVET may utilize a variance-based adaptive quantization technique that allows each CU 102 to use a different quantization parameter for its encoding process (rather than using the same frame QP in the encoding of each CU 102 of a frame). The variance-based adaptive quantization technique adaptively lowers the quantization parameter for certain blocks while increasing it in other blocks. To select a specific QP for a CU 102, the variance of that CU is calculated. In short, if the variance of a CU is higher than the average variance of the frame, a higher QP than the QP of the frame may be set for that CU 102. If a CU 102 exhibits a lower variance than the average variance of the frame, a lower QP may be assigned.
[0055] At 420, the encoder can find the final compressed bits 422 by entropy encoding the quantized transform coefficients 418. Entropy coding aims to eliminate statistical redundancy of the information to be transmitted. In JVET, the quantized transform coefficients 418 can be encoded using CABAC (context adaptive binary arithmetic coding), which uses a probability metric to eliminate statistical redundancy. For CUs 102 with non-zero quantized transform coefficients 418, the quantized transform coefficients 418 can be converted into binary. Each bit ("bin") of the binary representation can then be encoded using a context model. The CU 102 can be decomposed into three regions, each with its own set of context models for the pixels within the region.
[0056] Multiple scans may be performed to encode a bin. During a pass encoding the first three bins (bin0, bin1, and bin2), an index value indicating which context model to use for the bin may be found by finding the sum of the positions of the bin in up to five previously encoded adjacent quantized transform coefficients 418 identified by the template.
[0057] The context model can be based on the probability of a binary bit value being '0' or '1'. When encoding the value, the probabilities in the context model can be updated based on the actual number of values '0' and '1' encountered. While HEVC uses a fixed table to reinitialize the context model for each new picture, in JVET, the probabilities of the context model for a new inter-prediction picture can be initialized based on the context model developed for a previously coded inter-prediction picture.
[0058] The encoder may generate a bitstream containing entropy coded bits 422 of the residual CU 410, prediction information (such as a selected intra prediction mode or motion vector), an indicator of how the CU 102 is partitioned from the CTU 100 according to the QTBT structure, and / or other information about the encoded video. The bitstream may be decoded by a decoder as described below.
[0059] In addition to using the quantized transform coefficients 418 to find the final compressed bits 422, the encoder can also use the quantized transform coefficients 418 to generate a reconstructed CU 434 by following the same decoding process used by the decoder to generate the reconstructed CU 434. Thus, once the transform coefficients have been calculated and quantized by the encoder, the quantized transform coefficients 418 can be transmitted to the decoding loop in the encoder. After quantizing the transform coefficients of the CU, the decoding loop allows the encoder to generate the same reconstructed CU 434 as the decoder generated during the decoding process. Therefore, when performing intra-frame prediction or inter-frame prediction on a new CU 102, the encoder can use the same reconstructed CU 434 that the decoder would use for a neighboring CU 102 or a reference picture. The reconstructed CU 102, reconstructed strip, or complete reconstructed frame can serve as a reference for other prediction stages.
[0060] To obtain pixel values of the reconstructed image in the decoding loop of the encoder (see below for the same operation in the decoder), a dequantization process may be performed. To dequantize a frame, for example, the quantized value of each pixel of the frame is multiplied by a quantization step size, such as that described above (Qstep), to obtain reconstructed dequantized transform coefficients 426. For example, in Figure 4 In the decoding process shown in , in the encoder, the quantized transform coefficients 418 of the residual CU 410 may be dequantized at 424 to find dequantized transform coefficients 426. If an MDNSST operation is performed during encoding, the operation may be reversed after dequantization.
[0061] At 428, the dequantized transform coefficients 426 may be inversely transformed to find a reconstructed residual CU 430, such as by applying a DCT to these values to obtain a reconstructed image. At 432, the reconstructed residual CU 430 may be added to the corresponding prediction CU 402 found at 404 using intra prediction or at 406 using inter prediction to find a reconstructed CU 434.
[0062] At 436, one or more filters may be applied to the reconstructed data during the decoding process (in the encoder or, as described below, in the decoder) at the picture level or CU level. For example, the encoder may apply a deblocking filter, a sample adaptive offset (SAO) filter, and / or an adaptive loop filter (ALF). The decoding process of the encoder may implement the filter to estimate the optimal filter parameters that can address potential artifacts in the reconstructed image and transmit them to the decoder. Such improvements improve the objective and subjective quality of the reconstructed video. In deblocking filtering, pixels near the sub-CU boundary may be modified, while in SAO, pixels in the CTU 100 may be modified using edge offsets or band offsets. The ALF of JVET may use a filter having a circularly symmetric shape for each 2×2 block. An indication of the size and identity of the filter used for each 2×2 block may be signaled.
[0063] If the reconstructed pictures are reference pictures, they may be stored in a reference buffer 438 for inter-prediction of future CUs 102 at 406 .
[0064] In the above steps, JVET allows the use of content adaptive cropping operations to adjust color values to fit the upper and lower cropping boundaries. The cropping boundaries can change for each slice, and the parameters identifying the boundaries can be signaled in the bitstream.
[0065] Figure 6 A simplified block diagram for CU encoding in a JVET decoder is depicted. The JVET decoder may receive a bitstream containing information about an encoded CU 102. The bitstream may indicate how the CU 102 of a picture is partitioned from the CTU 100 according to the QTBT structure, prediction information for the CU 102 (e.g., intra prediction mode or motion vector), and bits 602 representing an entropy coded residual CU.
[0066] At 604, the decoder may use the CABAC context model signaled by the encoder in the bitstream to decode the entropy coded bits 602. The decoder may use the parameters signaled by the encoder to update the probabilities of the context model in the same way that the probabilities of the context model were updated during encoding.
[0067] After inverting the entropy encoding at 604 to find quantized transform coefficients 606, the decoder may dequantize them at 608 to find dequantized transform coefficients 610. If an MDNSST operation was performed during encoding, the operation may be inverted by the decoder after dequantization.
[0068] At 612, the dequantized transform coefficients 610 may be inversely transformed to find a reconstructed residual CU 614. At 616, the reconstructed residual CU 614 may be added to a corresponding prediction CU 626 found at 622 using intra prediction or at 624 using inter prediction to find a reconstructed CU 618.
[0069] At 620, one or more filters may be applied to the reconstructed data at the picture level or the CU level. For example, the decoder may apply a deblocking filter, a sample adaptive offset (SAO) filter, and / or an adaptive loop filter (ALF). As described above, an in-loop filter located in the decoder's decoding loop may be used to estimate optimal filter parameters to improve the objective and subjective quality of the frame. These parameters are transmitted to the decoder to filter the reconstructed frame at 620 to filter the reconstructed frame with the filtered reconstructed frame in the encoder.
[0070] After generating a reconstructed picture by finding the reconstructed CU 618 and applying a signal filter, the decoder may output the reconstructed picture as output video 628. If the reconstructed pictures are to be used as reference pictures, they may be stored in a reference buffer 630 for inter-prediction of future CUs 102 at 624.
[0071] Bidirectional temporal prediction uses two MVs to reference reference slices in two reference lists to determine two prediction blocks. The two prediction blocks are then combined to form the final prediction block. In JVET and VVC, several inter-frame coding modes (skip, merge, FRUC, AMVP, AFFINE) include bidirectional temporal prediction to improve prediction accuracy. The signaling of the two MVs varies depending on the coding mode. AMVP (Advanced MV Predictor) uses the most flexible signaling for two MVs. Specifically, three types of information are required to generate MVs; reference index, MVP index, and MVD. Therefore, a coded block using AMVP with bidirectional temporal prediction must send two reference indices, two MVP indices, and two MVDs.
[0072] The affine motion model describes the motion between two frames, such as rotation, shearing, and scaling, in a more flexible way. The affine model uses affine transformation to describe the motion based on the model parameters. In JVET and VVC, four or six parameter models can be used. Instead of using the affine motion model to calculate the motion field for each pixel in the coding block, JVET and VVC can calculate the MV at a coarser granularity (such as a block of size 4×4). In addition, JVET and VVC describe the affine motion model of the coding block by controlling the motion vector of the point. That is, the MV encoded for each block using the affine mode can be determined based on the control point motion vector.
[0073] The control point MVs can be encoded using predictive coding in a manner similar to conventional MVs in JVET and VVC. The MV predictor for each control point MV is first determined, and then the difference MV between the MV predictor and the control point MV can be encoded and signaled in the bitstream. That is, two control point MVs can be used for a four-parameter affine model, and three control point MVs can be used for a six-parameter affine model.
[0074] Bidirectional temporal prediction using an affine motion model requires additional overhead to signal the additional control point MVs. For the four parameter affine model, two MVDs are signaled for each list instead of one. Similarly, when the size parameter affine model is used, three MVDs are signaled for each list instead of one. Therefore, based on the affine motion model, a coding block using an affine model for AMVP with bidirectional temporal prediction must send two reference indices, two MVP indices, and four or six MVDs.
[0075] The present invention discloses a system and method for reducing the overhead of bidirectional time prediction. The current method in JVET and VVC signals the MV information overhead twice, resulting in two independent MVs. If the two MVs used for bidirectional time prediction are related, the overhead can be reduced or the two independent MVs can be signaled. When the two MVs are related (or paired), the second MV can be fully or partially derived from the first MV, thereby reducing the overhead of the second MV.
[0076] The relationship between the MV pair (the first MV and the second MV) is important for achieving high coding efficiency. There are many possible ways to define the MV pair relationship. In some embodiments, optical flow can be assumed and / or it can be assumed that the first MV and the second MV can have similar trajectories. In such an embodiment, the second MV can be considered as a scaled version of the first MV, and the relationship can be defined as follows:
[0077] MV2=((POC_Cur–POC_L1) / (POC_Cur – POC_L0))*MV1
[0078] in:
[0079] MV1 and MV2 are the MVs of the first MV and the second MV, respectively;
[0080] POC_Cur is the POC index of the current stripe; and
[0081] POC_L0 and POC_L1 are the reference POC indices used by MV1 and MV2, respectively.
[0082] The equation shows an example of the derivation of a second MV, where a first MV in an MV pair uses a reference strip stored in one of the reference lists, such as reference list 0 (and / or any other known, convenient and / or desired reference), and a second MV in the MV pair uses a reference strip stored in another list of the reference lists (and / or any other known, convenient and / or desired reference).
[0083] In addition, there are many methods to signal the second MV with reduced overhead based on a system that derives the second MV from the first MV. In some embodiments, the signaling scheme may not send the reference index, MVP index, and MVD of the second MV. In such embodiments, the reference strip in List 1 can be determined for the second MV - as a non-limiting example, reference index 0 of List 1 can be used. Therefore, MV2 can be calculated based on the provided equation.
[0084] In some alternative embodiments, MV2 may be configured as a mirror image of MV1, and may therefore be derived or constructed from MV1.
[0085] In another alternative embodiment, a reference index for the MVD without sending the MVP index and the second MV can be established based on the MV1 and MV2 information. In such an alternative embodiment, the system can first determine the reference strip in list 1 of the second MV using the signal reference index that can be literally signaled, and then calculate MV2 according to the provided equation.
[0086] When an affine motion model is employed, there are several ways to exploit the concept of MV pairs. In some embodiments, the control point MVs of the second list may be determined by scaling the corresponding control point MVs of the first list according to the equations provided above. The MVs of the second list for each sub-block within the coding block may then be calculated based on the derived control point MVs. In some alternative embodiments, the signal control point MVs may be used to determine the MVs of the first list for each sub-block, and the scaled MVs of the first list may then be used to determine the MVs of the second list for each sub-block.
[0087] In yet another alternative embodiment, MVD2 may be related to MVD1, where MVD1 and MVD2 are the difference between motion vectors that are related to each other according to the following equation:
[0088] MVD2=((POC_Cur–POC_L1) / (POC_Cur – POC_L0))*MVD1
[0089] Therefore, MVD2 can be derived or determined from MVD1, and the system can send reference index information and MVP index, but it is not necessary to transmit the MVD of the second MV because it can be determined directly from MVD1.
[0090] In addition, there are many ways to add the concept of MV pairs (interrelated MV1 and MV2) to the existing AMVP and affine bidirectional temporal prediction systems. In some embodiments, a new flag at the CU level can be introduced to indicate whether to use MV pairs with reduced MV2 overhead or the existing full MV2 overhead signaling. In embodiments where full MV2 overhead signaling is used, the reference index, MVP index, and MVD can be signaled as in current JVET and VVC systems. In alternative embodiments, the MV pair option can be signaled as a special index of List 1 - by way of non-limiting example, reference index 1 can be considered as an MV pair option where the reference slice is set to index 0 of List 1. In addition, in some embodiments, this option can be disabled for general P / B (GPB) slices, where all reference slices in List 0 are the same as List 1, because based on the provided equations, MV1 and MV2 are the same.
[0091] Figure 7 A block diagram of a reduced overhead encoding method 700 for encoding a video is depicted. In step 702, information related to a CU may be received, and then in step 704, the information may be evaluated to determine whether more than one MV will be used during the encoding process. If it is determined in step 704 that more than one MV will be used during the encoding process, the system may proceed to step 706, where MV1 (a first motion vector) and MV2 (a second motion vector) are determined. Then in step 708, the relationship between MV1 and MV2 may be determined using any one or more of the previously described techniques and / or any other known convenient and / or desired methods and / or techniques. However, in some embodiments, step 708 may be prior to step 706, and the second motion vector may be defined with direct reference to the first motion vector. In step 710, signaling related to the relationship between MV1 and MV2 may be determined using any one or more of the previously described techniques and / or any other known convenient and / or desired methods and / or techniques, and then in step 712, the CU may be encoded with the relevant information related to MV1 and the relationship to MV2, and the encoded bitstream may be transmitted in step 714. If it is determined in step 704 that less than two MVs are needed for encoding, the process may proceed directly from step 704 to encoding step 712 and then to transmission in step 714 .
[0092] Figure 8A block diagram of a reduced overhead decoding method 800 for decoding a video is depicted. In step 802, a signal is received and then a CU is decoded in step 804. In step 806, it is determined whether more than one MV is indicated in the received signal. If it is determined in step 806 that more than one MV is indicated in the received signal, MV1 is determined from the signal in step 808, and information about MV2 is determined from the signal. MV2 is then constructed in step 810 based on MV1 and the information about MV2. Reconstruction of MV2 can be performed according to any of the techniques and methods described herein and / or any other known, convenient and / or desired techniques and / or methods. In step 812, the video can be reconstructed and then the video can be displayed in step 814. If it is determined in step 806 that one or less MVs are indicated in the received signal, the system can proceed from step 806 to the video reconstruction in step 812 and display in step 814.
[0093] Execution of the instruction sequences required to implement the embodiments may be performed by Fig. 9 The computer system 900 shown is executed. In one embodiment, the execution of the sequence of instructions is performed by a single computer system 900. According to other embodiments, two or more computer systems 900 coupled by a communication link 915 can coordinate with each other to execute the sequence of instructions. Although only one computer system 900 will be described below, it should be understood that any number of computer systems 900 can be used to practice the embodiments.
[0094] Now refer to Fig. 9 Describing a computer system 900 according to an embodiment, the figure is a block diagram of the functional components of the computer system 900. As used herein, the term computer system 900 is used broadly to describe any computing device that can store and independently run one or more programs.
[0095] Each computer system 900 may include a communication interface 914 coupled to the bus 906. The communication interface 914 provides two-way communication between the computer systems 900. The communication interface 914 of the corresponding computer system 900 transmits and receives electrical, electromagnetic or optical signals, which include data streams representing various types of signal information (e.g., instructions, messages and data). The communication link 915 links one computer system 900 with another computer system 900. For example, the communication link 915 can be a LAN, in which case the communication interface 914 can be a LAN card, or the communication link 915 can be a PSTN, in which case the communication interface 914 can be an integrated services digital network (ISDN) card or a modem, or the communication link 915 can be the Internet, in which case the communication interface 914 can be a dial-up connection, a cable or a wireless modem.
[0096] The computer system 900 may transmit and receive messages, data, and instructions, including programs, i.e., applications, code, through its corresponding communication links 915 and communication interfaces 914. The received program code may be executed by the corresponding one or more processors 907 as it is received, and / or stored in the storage device 910 or other associated non-volatile media for later execution.
[0097] In one embodiment, the computer system 900 operates in conjunction with a data storage system 931 (e.g., data storage system 931) that includes a database 932 that is easily accessible by the computer system 900. The computer system 900 communicates with the data storage system 931 through a data interface 933. The data interface 933 coupled to the bus 906 transmits and receives electrical, electromagnetic, or optical signals including data streams representing various types of signal information (e.g., instructions, messages, and data). In an embodiment, the functions of the data interface 933 can be performed by the communication interface 914.
[0098] The computer system 900 includes a bus 906 or other communication mechanism for transmitting instructions, messages, and data (collectively referred to as information), and one or more processors 907 coupled to the bus 906 for processing information. The computer system 900 also includes a main memory 908, such as a random access memory (RAM) or other dynamic storage device coupled to the bus 906 for storing dynamic data and instructions to be executed by the one or more processors 907. The main memory 908 can also be used to store temporary data, i.e., variables or other intermediate information during the execution of instructions by the one or more processors 907.
[0099] The computer system 900 may also include a read only memory (ROM) 909 or other static storage device coupled to the bus 906 for storing static data and instructions for the one or more processors 907. A storage device 910, such as a magnetic or optical disk, may also be provided and coupled to the bus 906 to store data and instructions for the one or more processors 907.
[0100] The computer system 900 may be coupled to a display device 911, such as but not limited to a cathode ray tube (CRT) or liquid crystal display (LCD) monitor, via bus 906 to display information to a user. An input device 912 (e.g., alphanumeric and other keys) is coupled to bus 906 for communicating information and command selections to one or more processors 907.
[0101] According to one embodiment, the individual computer systems 900 perform specific operations by their respective one or more processors 907 executing one or more sequences of one or more instructions contained in the main memory 908. Such instructions may be read into the main memory 908 from another computer usable medium such as ROM 909 or storage device 910. Execution of the sequences of instructions contained in the main memory 908 causes the one or more processors 907 to perform the processes described herein. In alternative embodiments, hard-wired circuitry may be used in place of or in combination with software instructions. Thus, the embodiments are not limited to any specific combination of hardware circuitry and / or software.
[0102] As used herein, the term "computer-usable medium" refers to any medium that provides information or can be used by one or more processors 907. Such media can take many forms, including, but not limited to, non-volatile media, volatile media, and transmission media. Non-volatile media, that is, media that can retain information without power, include ROM 909, CD ROM, magnetic tape, and disk. Volatile media, that is, media that cannot retain information without power, include main memory 908. Transmission media include coaxial cables, copper wire, and optical fiber, including the wires that make up bus 906. Transmission media can also take the form of carrier waves (i.e., electromagnetic waves that can be modulated in frequency, amplitude, or phase to transmit information signals). In addition, transmission media can take the form of sound waves or light waves (such as those generated during radio wave and infrared data communications).
[0103] In the foregoing description, the embodiments have been described with reference to specific elements of the embodiments. However, it will be apparent that various modifications and variations may be made thereto without departing from the broader spirit and scope of the embodiments. For example, the reader will appreciate that the specific ordering and combination of process actions shown in the process flow diagrams described herein are merely exemplary, and that different or additional process actions or different combinations or orderings of process actions may be used to practice the embodiments. Therefore, the description and drawings should be regarded as exemplary and not restrictive.
[0104] It should also be noted that the present invention can be implemented in various computer systems. The various techniques described herein can be implemented in hardware or software or a combination of the two. Preferably, these techniques are implemented in a computer program executed on a programmable computer, each of which includes a processor, a storage medium (including volatile and non-volatile memory and / or storage elements) readable by the processor, at least one input device, and at least one output device. The data program code can be applied to the data input using the input device to perform the functions described above and generate output information. The output information is applied to one or more output devices. Preferably, each program is implemented in a high-level program programming language or an object-oriented programming language to communicate with the computer system. However, if necessary, the program can be implemented in assembly language or machine language. In any case, the language can be a compiled or interpreted language. Each such computer program is preferably stored on a storage medium or device (e.g., ROM or disk) that can be read by a general or special programmable computer to configure and operate the computer to execute the above program when the computer reads the storage medium or device. It can also be considered that the system is implemented as a computer-readable storage medium configured with a computer program, wherein the storage medium so configured causes the computer to operate in a specific predefined manner. Furthermore, the storage element of the exemplary computing application may be a relational or sequential (flat file) type computing database capable of storing data in various combinations and configurations.
[0105] Fig.10 10 is a high-level view of a source device 1012 and a target device 1010 that may incorporate features of the systems and devices described herein. Fig.10 As shown, an exemplary video encoding system 1010 includes a source device 1012 and a target device 1014, wherein, in this example, the source device 1012 generates encoded video data. Therefore, the source device 1012 can be referred to as a video encoding device. The target device 1014 can decode the encoded video data generated by the source device 1012. Therefore, the target device 1014 can be referred to as a video decoding device. The source device 1012 and the target device 1014 can be examples of video encoding devices.
[0106] Destination device 1014 may receive the encoded video data from source device 1012 via channel 1016. Channel 1016 may include a type of medium or device capable of moving the encoded video data from source device 1012 to destination device 1014. In one example, channel 1016 may include a communication medium that enables source device 1012 to transmit the encoded video data directly to destination device 1014 in real time.
[0107] In this example, the source device 1012 can modulate the encoded video data according to a communication standard such as a wireless communication protocol, and can transmit the modulated video data to the target device 1014. The communication medium may include a wireless or wired communication medium, such as a radio frequency (RF) spectrum or one or more physical transmission lines. The communication medium may form a portion of a packet-based network such as a local area network, a wide area network, or a global network such as the Internet. The communication medium may include a router, a switch, a base station, or other devices that facilitate communication from the source device 1012 to the target device 1014. In another example, the channel 1016 may correspond to a storage medium that stores the encoded video data generated by the source device 1012.
[0108] exist Fig.10 1, source device 1012 includes a video source 1018, a video encoder 1020, and an output interface 1022. In some cases, output interface 1028 may include a modulator / demodulator (modem) and / or a transmitter. In source device 1012, video source 1018 may include a source such as a video capture device (e.g., a camera), a video archive containing previously captured video data, a video feed interface that receives video data from a video content provider, and / or a computer graphics system for generating video data, or a combination of such sources.
[0109] The video encoder 1020 can encode captured, pre-captured, or computer-generated video data. An input image can be received by the video encoder 1020 and stored in an input frame memory 1021. A general purpose processor 1023 can load the information from there and perform the encoding. The video encoder 1020 can be read from a storage device such as a memory card. Fig.10 The exemplary memory module depicted in FIG. 1020 loads a program for driving a general-purpose processor. The general-purpose processor may use processing memory 1022 to perform encoding, and the output of the encoding information of the general-purpose processor may be stored in a buffer, such as output buffer 1026.
[0110] The video encoder 1020 may include a resampling module 1025 that may be configured to compile (e.g., encode) video data with a scalable video coding scheme that defines at least one base layer and at least one enhancement layer. The resampling module 1025 may resample at least some of the video data as part of the encoding process, where the resampling may be performed in an adaptive manner using a resampling filter.
[0111] The encoded video data (eg, an encoded bitstream) may be transmitted directly to the target device 1014 via the output interface 1028 of the source device 1012. Fig.10 In the example of , the target device 1014 includes an input interface 1038, a video decoder 1030, and a display device 1032. In some cases, the input interface 1028 may include a receiver and / or a modem. The input interface 1038 of the target device 1014 receives the encoded video data through the channel 1016. The encoded video data may include various syntax elements representing the video data generated by the video encoder 1020. Such syntax elements may be included with the encoded video data transmitted on the communication medium, stored on the storage medium, or stored on a file server.
[0112] The encoded video data may also be stored on a storage medium or file server for later access by the target device 1014 for decoding and / or playback. For example, the encoded bitstream may be temporarily stored in an input buffer 1031 and then loaded into a general purpose processor 1033. A program for driving the general purpose processor may be loaded from a storage device or memory. The general purpose processor may use a processing memory 1032 to perform decoding. The video decoder 1030 may also include a resampling module 1035 similar to the resampling module 1025 employed in the video encoder 1020.
[0113] Fig.10 A resampling module 1035 is depicted as being separate from the general purpose processor 1033, but one skilled in the art will recognize that the resampling function may be performed by a program executed by a general purpose processor, and that the processing in the video encoder may be accomplished using one or more processors. One or more decoded images may be stored in an output frame buffer 1036 and then sent to an input interface 1038.
[0114] Display device 1038 can be integrated with target device 1014 or can be located outside the target device. In some examples, target device 1014 can include an integrated display device and can also be configured to interface with an external display device. In other examples, target device 1014 can be a display device. Generally speaking, display device 1038 displays decoded video data to a user.
[0115] The video encoder 1020 and the video decoder 1030 may operate in accordance with a video compression standard. ITU-T VCEG (Q6 / 16) and ISO / IEC MPEG (JTC 1 / SC 29 / WG 11) are studying the potential need for standardization of future video coding techniques that significantly exceed the compression capabilities of the current High Efficiency Video Coding (HEVC) standard (including its current and near-term extensions to screen content coding and high dynamic range coding). The working groups are working together to conduct this exploration activity, known as the Joint Video Exploration Team (JVET), to evaluate compression technology designs proposed by their experts in this area. The recent status of JVET development is described in "Algorithm Description of Joint Exploration Test Model 5 (JEM 5)", JVET-E1001-V2, by J. Chen, E. Alshina, G. Sullivan, J. Ohm, J. Boyce.
[0116] Additionally or alternatively, the video encoder 1020 and the video decoder 1030 may operate in accordance with other proprietary or industry standards that function with the disclosed JVET features. Thus, the other standards are such as the ITU-T H.264 standard, otherwise known as MPEG-4, Part 10, Advanced Video Coding (AVC), or extensions of such standards. Thus, although newly developed for JVET, the techniques of the present disclosure are not limited to any particular encoding standard or technique. Other examples of video compression standards and techniques include MPEG-2, ITU-T H.263, and proprietary or open source compression formats and related formats.
[0117] The video encoder 1020 and the video decoder 1030 may be implemented in hardware, software, firmware, or any combination thereof. For example, the video encoder 1020 and the decoder 1030 may employ one or more processors, digital signal processors (DSPs), application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), discrete logic, or any combination thereof. When the video encoder 1020 and the decoder 1030 are partially implemented in software, the device may store instructions for the software in a suitable non-transitory computer-readable storage medium, and may use one or more processors to execute the instructions in hardware to perform the techniques of the present disclosure. Each of the video encoder 1020 and the video decoder 1030 may be included in one or more encoders or decoders, any of which may be integrated as part of a combined encoder / decoder (CODEC) in a corresponding device.
[0118] Aspects of the subject matter described herein can be described in the general context of computer-executable instructions (such as program modules) executed by a computer, such as the general-purpose processor 1023 and the general-purpose processor 1033 described above. Generally speaking, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. Aspects of the subject matter described herein can also be practiced in a distributed computing environment, where tasks are performed by remote processing devices linked through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
[0119] Examples of memory include random access memory (RAM), read-only memory (ROM), or both. The memory can store instructions, such as source code or binary code, for performing the techniques described above. The memory can also be used to store variables or other intermediate information during the execution of instructions to be executed by a processor (e.g., processor 1023 and processor 1033).
[0120] The storage device may also store instructions for executing the above-mentioned techniques, such as source code or binary code. The storage device may additionally store data used and manipulated by the computer processor. For example, the storage device in the video encoder 1020 or the video decoder 1030 may be a database accessed by the computer system 1023 or the computer system 1033. Other examples of storage devices include random access memory (RAM), read-only memory (ROM), hard drive, magnetic disk, optical disk, CD-ROM, DVD, flash memory, USB memory card, or any other medium that can be read by a computer.
[0121] The memory or storage device may be an example of a non-transitory computer-readable storage medium used by or in conjunction with a video encoder and / or decoder. The non-transitory computer-readable storage medium contains instructions for controlling a computer system that is to be configured to perform the functions described in a particular embodiment. The instructions, when executed by one or more computer processors, may be configured to perform the functions described in a particular embodiment.
[0122] In addition, it should be noted that some embodiments have been described as processes that can be described as flow charts or block diagrams. Although each can describe the operations as a sequential process, multiple operations in these operations can be performed in parallel or simultaneously. In addition, the order of the operations can be rearranged. The process may have additional steps not included in the drawings.
[0123] Specific embodiments may be implemented in a non-transitory computer readable storage medium for use with or in conjunction with an instruction execution system, device, system, or machine. The computer readable storage medium contains instructions for controlling a computer system to perform the method described in the specific embodiments. The computer system includes one or more computing devices. The instructions, when executed by one or more computer processors, may be configured to perform the functions described in the specific embodiments.
[0124] As used in this specification and throughout the claims that follow, "a," "an," and "the" include plural references unless the context clearly dictates otherwise. Also, as used in this specification and throughout the claims that follow, the meaning of "in" includes "in" and "on" unless the context clearly dictates otherwise.
[0125] Although the exemplary embodiments of the present invention have been described in detail with the above-mentioned structural features and / or method action-specific language, it should be understood that those skilled in the art will readily appreciate that many additional modifications may be made in the exemplary embodiments without substantially departing from the novel teachings and advantages of the present invention. In addition, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the above-mentioned specific features or actions. Therefore, these and all such modifications are intended to be included within the scope of the present invention as interpreted according to the width and scope of the appended claims.
Claims
1. A method for decoding a video included in a bitstream using a decoder including a processor, comprising: (a) receiving a plurality of rectangular coding units of a coding tree unit of luma samples, which indicate how to partition the coding tree unit into coding units according to a quadtree plus multitree structure so as to allow partitioning of square parent nodes by quadtree partitioning, wherein at least one of the rectangular coding units is included in a bidirectionally predicted B slice of a current frame of the video, wherein at least one of the rectangular coding units is not a prediction unit, and wherein at least one of the rectangular coding units is not a transform unit; (b) receiving a first motion vector associated with at least one of the rectangular coding units of the bi-directionally predicted B slice of the current frame of the video with reference to a temporally previous reference slice of the current frame relative to the at least one of the rectangular coding units; (c) receiving a second motion vector associated with at least one of the rectangular coding units of the bi-directionally predicted B slice of the current frame of the video that references a temporally future reference slice of a temporally future reference frame relative to the current frame of the at least one of the rectangular coding units; (d) applying optical flow between the temporally previous reference strip and the temporally future reference strip to perform sample-based motion modification using a correction motion vector applied to a prediction matrix based on at least one of the first motion vector and the second motion vector; as well as (e) decoding the at least one of the rectangular coding units based on the sample-based motion modification as a result of applying the optical flow between the temporally previous reference slice and the temporally future reference slice.
2. A decoder for decoding a bit stream of a compressed video, the decoder comprising a processor, the decoder comprising a non-transitory computer-readable storage medium storing the compressed video, the processor performing a decoding method, the decoding method comprising: (a) receiving a plurality of rectangular coding units of a coding tree unit of luma samples, which indicates how to partition the coding tree unit into coding units according to a quadtree plus multitree structure so as to allow partitioning of square parent nodes by quadtree partitioning, wherein at least one of the rectangular coding units is included in a bidirectionally predicted B slice of a current frame of the video; (b) receiving a first motion vector associated with at least one of the rectangular coding units of the bi-directionally predicted B slice of the current frame of the video with reference to a temporally previous reference slice of the current frame relative to the at least one of the rectangular coding units; (c) receiving a second motion vector associated with at least one of the rectangular coding units of the bi-directionally predicted B slice of the current frame of the video that references a temporally future reference slice of a temporally future reference frame relative to the current frame of the at least one of the rectangular coding units; (d) applying optical flow between the temporally previous reference strip and the temporally future reference strip to perform sample-based motion modification using a correction motion vector applied to a prediction matrix based on at least one of the first motion vector and the second motion vector; as well as (e) decoding the at least one of the rectangular coding units based on the sample-based motion modification as a result of applying the optical flow between the temporally previous reference slice and the temporally future reference slice.
3. A method of encoding a video included in a bitstream by an encoder including a processor, the method comprising: (a) providing a plurality of rectangular coding units of a coding tree unit of luma samples, which indicate how to partition the coding tree unit into coding units according to a quadtree plus multitree structure so as to allow partitioning of square parent nodes by quadtree partitioning, wherein at least one of the rectangular coding units is included in a bidirectionally predicted B slice of a current frame of the video; (b) providing a first motion vector associated with at least one of the rectangular coding units of the bi-directionally predicted B slice of the current frame of the video with reference to a temporally previous reference slice of the current frame relative to the at least one of the rectangular coding units; (c) providing a second motion vector associated with at least one of the rectangular coding units of the bi-directionally predicted B slice of the current frame of the video that references a temporally future reference slice of a temporally future reference frame relative to the current frame of the at least one of the rectangular coding units; (d) providing an optical flow between the temporally previous reference strip and the temporally future reference strip to perform sample-based motion modification using a correction motion vector applied to a prediction matrix based on at least one of the first motion vector and the second motion vector; as well as (e) encoding the at least one of the rectangular coding units based on the sample-based motion modification as a result of applying the optical flow between the temporally previous reference slice and the temporally future reference slice.
