US11871022B2 - Concept of interweaved prediction - Google Patents

Concept of interweaved prediction Download PDF

Info

Publication number
US11871022B2
US11871022B2 US16/951,137 US202016951137A US11871022B2 US 11871022 B2 US11871022 B2 US 11871022B2 US 202016951137 A US202016951137 A US 202016951137A US 11871022 B2 US11871022 B2 US 11871022B2
Authority
US
United States
Prior art keywords
block
sub
blocks
prediction
video
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active, expires
Application number
US16/951,137
Other versions
US20210092431A1 (en
Inventor
Kai Zhang
Li Zhang
Hongbin Liu
Yue Wang
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing ByteDance Network Technology Co Ltd
ByteDance Inc
Original Assignee
Beijing ByteDance Network Technology Co Ltd
ByteDance Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing ByteDance Network Technology Co Ltd, ByteDance Inc filed Critical Beijing ByteDance Network Technology Co Ltd
Assigned to BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD. reassignment BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: LIU, HONGBIN, WANG, YUE
Assigned to BYTEDANCE INC. reassignment BYTEDANCE INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: ZHANG, KAI, ZHANG, LI
Publication of US20210092431A1 publication Critical patent/US20210092431A1/en
Priority to US18/514,228 priority Critical patent/US20240107053A1/en
Application granted granted Critical
Publication of US11871022B2 publication Critical patent/US11871022B2/en
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/119Adaptive subdivision aspects, e.g. subdivision of a picture into rectangular or non-rectangular coding blocks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/513Processing of motion vectors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/105Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/573Motion compensation with multiple frame prediction using two or more reference frames in a given prediction direction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/577Motion compensation with bidirectional frame interpolation, i.e. using B-pictures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/583Motion compensation with overlapping blocks

Definitions

  • This patent document relates to video coding techniques, devices and systems.
  • Motion compensation is a technique in video processing to predict a frame in a video, given the previous and/or future frames by accounting for motion of the camera and/or objects in the video. Motion compensation can be used in the encoding of video data for video compression.
  • This document discloses methods, systems, and devices related to sub-block based motion prediction in video motion compensation.
  • a method for video processing includes partitioning a video block into a first set of sub-blocks according to a first pattern and partitioning the video block into a second set of sub-blocks according to a second pattern. At least one sub-block in the second set has a different dimension than a sub-block in the first set.
  • the method also includes determining a prediction block that is a combination of a first intermediate prediction block generated from the first set of sub-blocks and a second intermediate prediction block generated from the second set of sub-blocks.
  • a method for video processing includes dividing a video block into multiple sub-blocks based on a dimension of the video block or a type of a coding algorithm associated with the video block. One sub-block of the multiple sub-blocks has a different dimension than other sub-blocks of the multiple sub-blocks.
  • the method also includes generating motion vector predictions by applying the coding algorithm to the multiple sub-blocks and performing further processing of the video block using the motion vector predictions.
  • an apparatus comprising a processor.
  • the processor is configured to implement a method described in the present document.
  • the various techniques described herein may be embodied as a computer program product stored on a non-transitory computer readable media.
  • the computer program product includes program code for carrying out the methods described herein.
  • a video decoder apparatus may implement a method as described herein.
  • FIG. 1 is a schematic diagram showing an example of sub-block based prediction.
  • FIG. 2 shows an example of an affine motion field of a block described by two control point motion vectors.
  • FIG. 3 shows an example of affine motion vector field per sub-block for a block.
  • FIG. 4 shows an example of motion vector prediction for a block 400 in the AF_INTER mode.
  • FIG. 5 A shows an example of the selection order of candidate blocks for a current Coding Unit (CU).
  • FIG. 5 B shows another example of candidate blocks for a current CU in the AF_MERGE mode.
  • FIG. 6 shows an example of Alternative Temporal Motion Vector Prediction (ATMVP) motion prediction process for a CU.
  • ATMVP Alternative Temporal Motion Vector Prediction
  • FIG. 7 shows an example of one CU with four sub-blocks and neighboring blocks.
  • FIG. 8 shows an example optical flow trajectory in the Bi-directional Optical flow (BIO) method.
  • FIG. 9 A shows an example of access positions outside of a block.
  • FIG. 9 B shows that a padding area can used to avoid extra memory access and calculation.
  • FIG. 10 shows an example of bilateral matching used in the Frame-Rate Up Conversion (FRUC) method.
  • FRUC Frame-Rate Up Conversion
  • FIG. 11 shows an example of template matching used in the FRUC method.
  • FIG. 12 shows an example of unilateral Motion Estimation (ME) in the FRUC method.
  • FIG. 13 shows an example of interweaved prediction with two dividing patterns in accordance with the disclosed technology.
  • FIG. 14 A shows an example dividing pattern in which block is divided into 4 ⁇ 4 sub-blocks in accordance with the disclosed technology.
  • FIG. 14 B shows an example dividing pattern in which a block is divided into 8 ⁇ 8 sub-blocks in accordance with the disclosed technology.
  • FIG. 14 C shows an example dividing pattern in which a block is divided into 4 ⁇ 8 sub-blocks in accordance with the disclosed technology.
  • FIG. 14 D shows an example dividing pattern in which a block is divided into 8 ⁇ 4 sub-blocks in accordance with the disclosed technology.
  • FIG. 14 E shows an example dividing pattern in which a block is divided into non-uniform sub-blocks in accordance with the disclosed technology.
  • FIG. 14 F shows another example dividing pattern in which a block is divided into non-uniform sub-blocks in accordance with the disclosed technology.
  • FIG. 14 G shows yet another example dividing pattern in which a block is divided into non-uniform sub-blocks in accordance with the disclosed technology.
  • FIG. 15 A is an example flowchart of a method of video processing.
  • FIG. 15 B is another example flowchart of a method of video processing.
  • FIG. 16 is a block diagram illustrating an example of the architecture for a computer system or other control device that can be utilized to implement various portions of the presently disclosed technology.
  • FIG. 17 shows a block diagram of an example embodiment of a mobile device that can be utilized to implement various portions of the presently disclosed technology.
  • FIG. 18 A , FIG. 18 B , and FIG. 18 C show example embodiments of a partial interweaved prediction technique.
  • FIG. 19 is a block diagram of an example video processing system in which disclosed techniques may be implemented.
  • Global motion compensation is one of variations of motion compensation techniques and can be used for predicting camera's motion.
  • moving objects within a frame are not sufficiently represented by various implementations of the global motion compensation.
  • Local motion estimation such as block motion compensation, in which the frames are partitioned in blocks of pixels for performing the motion prediction, can be used to account for the objects moving within the frames.
  • FIG. 1 is a schematic diagram showing an example of sub-block based prediction.
  • a block 100 such as a Coding Unit (CU) or a Prediction Unit (PU)
  • CU Coding Unit
  • PU Prediction Unit
  • MV Motion Vector
  • JVET Joint Video Exploration Team
  • VCEG Video Coding Expert Group
  • MPEG Moving Picture Expert Group
  • JEM Joint Exploration Model
  • sub-block based prediction is adopted in several coding techniques, such as affine prediction, Alternative temporal motion vector prediction (ATMVP), spatial-temporal motion vector prediction (STMVP), Bi-directional Optical flow (BIO), and Frame-Rate Up Conversion (FRUC), which are discussed in detail below.
  • ATMVP Alternative temporal motion vector prediction
  • STMVP spatial-temporal motion vector prediction
  • BIO Bi-directional Optical flow
  • FRUC Frame-Rate Up Conversion
  • FIG. 2 shows an example of an affine motion field of a block 200 described by two control point motion vectors V 0 and V 1 .
  • the motion vector field (MVF) of the block 200 can be described by the following equation:
  • (v 0x , v 0y ) is motion vector of the top-left corner control point
  • (v 1x , v 1y ) is motion vector of the top-right corner control point.
  • sub-block based affine transform prediction can be applied.
  • the sub-block size MxN is derived as follows:
  • MvPre is the motion vector fraction accuracy (e.g., 1/16 in JEM).
  • (v 2x , v 2y ) is motion vector of the bottom-left control point, calculated according to Eq. (1).
  • M and N can be adjusted downward if necessary to make it a divisor of w and h, respectively.
  • FIG. 3 shows an example of affine MVF per sub-block for a block 300 .
  • the motion vector of the center sample of each sub-block can be calculated according to Eq. (1), and rounded to the motion vector fraction accuracy (e.g., 1/16 in JEM).
  • the motion compensation interpolation filters can be applied to generate the prediction of each sub-block with derived motion vector.
  • the high accuracy motion vector of each sub-block is rounded and saved as the same accuracy as the normal motion vector.
  • AF_INTER mode In the JEM, there are two affine motion modes: AF_INTER mode and AF_MERGE mode. For CUs with both width and height larger than 8, AF_INTER mode can be applied. An affine flag in CU level is signaled in the bitstream to indicate whether AF_INTER mode is used.
  • AF_INTER mode a candidate list with motion vector pair (v 0 , v 1 )
  • FIG. 4 shows an example of motion vector prediction (MVP) for a block 400 in the AF_INTER mode. As shown in FIG.
  • MVP motion vector prediction
  • v 0 is selected from the motion vectors of the sub-block A, B, or C.
  • the motion vectors from the neighboring blocks can be scaled according to the reference list.
  • the motion vectors can also be scaled according to the relationship among the Picture Order Count (POC) of the reference for the neighboring block, the POC of the reference for the current CU, and the POC of the current CU.
  • POC Picture Order Count
  • the approach to select v 1 from the neighboring sub-block D and E is similar. If the number of candidate list is smaller than 2, the list is padded by the motion vector pair composed by duplicating each of the AMVP candidates.
  • the candidates can be firstly sorted according to the neighboring motion vectors (e.g., based on the similarity of the two motion vectors in a pair candidate). In some implementations, the first two candidates are kept.
  • a Rate Distortion (RD) cost check is used to determine which motion vector pair candidate is selected as the control point motion vector prediction (CPMVP) of the current CU.
  • An index indicating the position of the CPMVP in the candidate list can be signaled in the bitstream. After the CPMVP of the current affine CU is determined, affine motion estimation is applied and the control point motion vector (CPMV) is found. Then the difference of the CPMV and the CPMVP is signaled in the bitstream.
  • CPMV control point motion vector
  • FIG. 5 A shows an example of the selection order of candidate blocks for a current CU 500 .
  • the selection order can be from left ( 501 ), above ( 502 ), above right ( 503 ), left bottom ( 504 ) to above left ( 505 ) of the current CU 500 .
  • FIG. 5 B shows another example of candidate blocks for a current CU 500 in the AF_MERGE mode. If the neighboring left bottom block 501 is coded in affine mode, as shown in FIG.
  • the motion vectors v 2 , v 3 and v 4 of the top left corner, above right corner, and left bottom corner of the CU containing the sub-block 501 are derived.
  • the motion vector v 0 of the top left corner on the current CU 500 is calculated based on v 2 , v 3 and v 4 .
  • the motion vector v 1 of the above right of the current CU can be calculated accordingly.
  • the MVF of the current CU can be generated.
  • an affine flag can be signaled in the bitstream when there is at least one neighboring block is coded in affine mode.
  • ATMVP Alternative Temporal Motion Vector Prediction
  • the temporal motion vector prediction (TMVP) method is modified by fetching multiple sets of motion information (including motion vectors and reference indices) from blocks smaller than the current CU.
  • FIG. 6 shows an example of ATMVP motion prediction process for a CU 600 .
  • the ATMVP method predicts the motion vectors of the sub-CUs 601 within a CU 600 in two steps.
  • the first step is to identify the corresponding block 651 in a reference picture 650 with a temporal vector.
  • the reference picture 650 is also referred to as the motion source picture.
  • the second step is to split the current CU 600 into sub-CUs 601 and obtain the motion vectors as well as the reference indices of each sub-CU from the block corresponding to each sub-CU.
  • a reference picture 650 and the corresponding block is determined by the motion information of the spatial neighboring blocks of the current CU 600 .
  • the first merge candidate in the merge candidate list of the current CU 600 is used.
  • the first available motion vector as well as its associated reference index are set to be the temporal vector and the index to the motion source picture. This way, the corresponding block may be more accurately identified, compared with TMVP, wherein the corresponding block (sometimes called collocated block) is always in a bottom-right or center position relative to the current CU.
  • a corresponding block of the sub-CU 651 is identified by the temporal vector in the motion source picture 650 , by adding to the coordinate of the current CU the temporal vector.
  • the motion information of its corresponding block e.g., the smallest motion grid that covers the center sample
  • the motion information of a corresponding N ⁇ N block is identified, it is converted to the motion vectors and reference indices of the current sub-CU, in the same way as TMVP of HEVC, wherein motion scaling and other procedures apply.
  • the decoder checks whether the low-delay condition (e.g.
  • motion vector MVx e.g., the motion vector corresponding to reference picture list X
  • motion vector MVy e.g., with X being equal to 0 or 1 and Y being equal to 1 ⁇ X
  • FIG. 7 shows an example of one CU with four sub-blocks and neighboring blocks.
  • an 8 ⁇ 8 CU 700 that includes four 4 ⁇ 4 sub-CUs A ( 701 ), B ( 702 ), C ( 703 ), and D ( 704 ).
  • the neighboring 4 ⁇ 4 blocks in the current frame are labelled as a ( 711 ), b ( 712 ), c ( 713 ), and d ( 714 ).
  • the motion derivation for sub-CU A starts by identifying its two spatial neighbors.
  • the first neighbor is the N ⁇ N block above sub-CU A 701 (block c 713 ). If this block c ( 713 ) is not available or is intra coded the other N ⁇ N blocks above sub-CU A ( 701 ) are checked (from left to right, starting at block c 713 ).
  • the second neighbor is a block to the left of the sub-CU A 701 (block b 712 ). If block b ( 712 ) is not available or is intra coded other blocks to the left of sub-CU A 701 are checked (from top to bottom, staring at block b 712 ).
  • TMVP temporal motion vector predictor
  • the Bi-directional Optical flow (BIO) method is sample-wise motion refinement performed on top of block-wise motion compensation for bi-prediction.
  • the sample-level motion refinement does not use signaling.
  • I (k) / x, ⁇ I (k) / ⁇ y are horizontal and vertical components of the I (k) gradient, respectively.
  • FIG. 8 shows an example optical flow trajectory in the Bi-directional Optical flow (BIO) method.
  • ⁇ 0 and ⁇ 1 denote the distances to the reference frames.
  • the motion vector field (v x , v y ) is determined by minimizing the difference ⁇ between values in points A and B.
  • the JEM uses a simplified approach making first a minimization in the vertical direction and then in the horizontal direction. This results in the following:
  • d is bit depth of the video samples.
  • FIG. 9 A shows an example of access positions outside of a block 900 .
  • (2M+1) ⁇ (2M+1) square window ⁇ centered in currently predicted point on a boundary of predicted block needs to accesses positions outside of the block.
  • values of I (k) , I (k) / x, I (k) / y outside of the block are set to be equal to the nearest available value inside the block. For example, this can be implemented as a padding area 901 , as shown in FIG. 9 B .
  • BIO it is possible that the motion field can be refined for each sample.
  • a block-based design of BIO is used in the JEM.
  • the motion refinement can be calculated based on a 4 ⁇ 4 block.
  • the values of s n in Eq. (9) of all samples in a 4 ⁇ 4 block can be aggregated, and then the aggregated values of s n in are used to derived BIO motion vectors offset for the 4 ⁇ 4 block. More specifically, the following formula can used for block-based BIO derivation:
  • b k denotes the set of samples belonging to the k-th 4 ⁇ 4 block of the predicted block.
  • s n in Eq (7) and Eq (8) are replaced by ((s n ,b k )>>4) to derive the associated motion vector offsets.
  • MV regiment of BIO may be unreliable due to noise or irregular motion. Therefore, in BIO, the magnitude of MV regiment is clipped to a threshold value.
  • the threshold value is determined based on whether the reference pictures of the current picture are all from one direction. For example, if all the reference pictures of the current picture are from one direction, the value of the threshold is set to 12 ⁇ 2 14-d ; otherwise, it is set to 12 ⁇ 2 13-d .
  • Gradients for BIO can be calculated at the same time with motion compensation interpolation using operations consistent with HEVC motion compensation process (e.g., 2D separable Finite Impulse Response (FIR)).
  • the input for the 2D separable FIR is the same reference frame sample as for motion compensation process and fractional position (fracX, fracY) according to the fractional part of block motion vector.
  • fracX, fracY fractional position
  • Gradient filter BIOfilterG is then applied in horizontal direction corresponding to the fractional position fracX with de-scaling shift by 18-d.
  • a gradient filter is applied vertically using BIOfilterG corresponding to the fractional position fracY with de-scaling shift d ⁇ 8.
  • the signal displacement is then performed using BIOfilterS in horizontal direction corresponding to the fractional position fracX with de-scaling shift by 18 ⁇ d.
  • the length of interpolation filter for gradients calculation BIOfilterG and signal displacement BIOfilterF can be shorter (e.g., 6-tap) in order to maintain reasonable complexity.
  • Table 1 shows example filters that can be used for gradients calculation of different fractional positions of block motion vector in BIO.
  • Table 2 shows example interpolation filters that can be used for prediction signal generation in BIO.
  • BIO can be applied to all bi-predicted blocks when the two predictions are from different reference pictures.
  • BIO can be disabled.
  • BIO is applied for a block after normal MC process.
  • BIO may not be applied during the OBMC process. This means that BIO is applied in the MC process for a block when using its own MV and is not applied in the MC process when the MV of a neighboring block is used during the OBMC process.
  • a FRUC flag can be signaled for a CU when its merge flag is true.
  • a merge index can be signaled and the regular merge mode is used.
  • an additional FRUC mode flag can be signaled to indicate which method (e.g., bilateral matching or template matching) is to be used to derive motion information for the block.
  • the decision on whether using FRUC merge mode for a CU is based on RD cost selection as done for normal merge candidate. For example, multiple matching modes (e.g., bilateral matching and template matching) are checked for a CU by using RD cost selection. The one leading to the minimal cost is further compared to other CU modes. If a FRUC matching mode is the most efficient one, FRUC flag is set to true for the CU and the related matching mode is used.
  • multiple matching modes e.g., bilateral matching and template matching
  • motion derivation process in FRUC merge mode has two steps: a CU-level motion search is first performed, then followed by a Sub-CU level motion refinement.
  • CU level an initial motion vector is derived for the whole CU based on bilateral matching or template matching.
  • a list of MV candidates is generated and the candidate that leads to the minimum matching cost is selected as the starting point for further CU level refinement.
  • a local search based on bilateral matching or template matching around the starting point is performed.
  • the MV results in the minimum matching cost is taken as the MV for the whole CU.
  • the motion information is further refined at sub-CU level with the derived CU motion vectors as the starting points.
  • the following derivation process is performed for a W ⁇ H CU motion information derivation.
  • MV for the whole W ⁇ H CU is derived.
  • the CU is further split into M ⁇ M sub-CUs.
  • the value of M is calculated as in (16)
  • D is a predefined splitting depth which is set to 3 by default in the JEM. Then the MV for each sub-CU is derived.
  • FIG. 10 shows an example of bilateral matching used in the Frame-Rate Up Conversion (FRUC) method.
  • the bilateral matching is used to derive motion information of the current CU by finding the closest match between two blocks along the motion trajectory of the current CU ( 1000 ) in two different reference pictures ( 1010 , 1011 ).
  • the motion vectors MV0 ( 1001 ) and MV1 ( 1002 ) pointing to the two reference blocks are proportional to the temporal distances, e.g., TD0 ( 1003 ) and TD1 ( 1004 ), between the current picture and the two reference pictures.
  • the bilateral matching becomes mirror based bi-directional MV.
  • FIG. 11 shows an example of template matching used in the FRUC method.
  • Template matching can be used to derive motion information of the current CU 1100 by finding the closest match between a template (e.g., top and/or left neighboring blocks of the current CU) in the current picture and a block (e.g., same size to the template) in a reference picture 1110 .
  • the template matching can also be applied to AMVP mode. In both JEM and HEVC, AMVP has two candidates. With the template matching method, a new candidate can be derived.
  • the newly derived candidate by template matching is different to the first existing AMVP candidate, it is inserted at the very beginning of the AMVP candidate list and then the list size is set to two (e.g., by removing the second existing AMVP candidate).
  • the list size is set to two (e.g., by removing the second existing AMVP candidate).
  • the MV candidate set at CU level can include the following: (1) original AMVP candidates if the current CU is in AMVP mode, (2) all merge candidates, (3) several MVs in the interpolated MV field (described later), and top and left neighboring motion vectors.
  • each valid MV of a merge candidate can be used as an input to generate a MV pair with the assumption of bilateral matching.
  • one valid MV of a merge candidate is (MVa, ref a ) at reference list A.
  • the reference picture ref b of its paired bilateral MV is found in the other reference list B so that ref a and ref b are temporally at different sides of the current picture. If such a ref b is not available in reference list B, ref b is determined as a reference which is different from ref a and its temporal distance to the current picture is the minimal one in list B.
  • MVb is derived by scaling MVa based on the temporal distance between the current picture and ref a , ref b .
  • four MVs from the interpolated MV field can also be added to the CU level candidate list. More specifically, the interpolated MVs at the position (0, 0), (W/2, 0), (0, H/2) and (W/2, H/2) of the current CU are added.
  • the original AMVP candidates are also added to CU level MV candidate set.
  • 15 MVs for AMVP CUs and 13 MVs for merge CUs can be added to the candidate list.
  • the MV candidate set at sub-CU level includes an MV determined from a CU-level search, (2) top, left, top-left and top-right neighboring MVs, (3) scaled versions of collocated MVs from reference pictures, (4) one or more ATMVP candidates (e.g., up to four), and (5) one or more STMVP candidates (e.g., up to four).
  • the scaled MVs from reference pictures are derived as follows. The reference pictures in both lists are traversed. The MVs at a collocated position of the sub-CU in a reference picture are scaled to the reference of the starting CU-level MV.
  • ATMVP and STMVP candidates can be the four first ones.
  • one or more MVs are added to the candidate list.
  • interpolated motion field is generated for the whole picture based on unilateral ME. Then the motion field may be used later as CU level or sub-CU level MV candidates.
  • FIG. 12 shows an example of unilateral Motion Estimation (ME) 1200 in the FRUC method.
  • ME unilateral Motion Estimation
  • the motion of the reference block is scaled to the current picture according to the temporal distance TD0 and TD1 (the same way as that of MV scaling of TMVP in HEVC) and the scaled motion is assigned to the block in the current frame. If no scaled MV is assigned to a 4 ⁇ 4 block, the block's motion is marked as unavailable in the interpolated motion field.
  • bi-linear interpolation instead of regular 8-tap HEVC interpolation can be used for both bilateral matching and template matching.
  • the matching cost is a bit different at different steps.
  • the matching cost can be the absolute sum difference (SAD) of bilateral matching or template matching.
  • SAD absolute sum difference
  • w is a weighting factor.
  • w can be empirically set to 4.
  • MV and MV s indicate the current MV and the starting MV, respectively.
  • SAD may still be used as the matching cost of template matching at sub-CU level search.
  • MV is derived by using luma samples only. The derived motion will be used for both luma and chroma for MC inter prediction. After MV is decided, final MC is performed using 8-taps interpolation filter for luma and 4-taps interpolation filter for chroma.
  • MV refinement is a pattern based MV search with the criterion of bilateral matching cost or template matching cost.
  • two search patterns are supported—an unrestricted center-biased diamond search (UCBDS) and an adaptive cross search for MV refinement at the CU level and sub-CU level, respectively.
  • UMBDS center-biased diamond search
  • the MV is directly searched at quarter luma sample MV accuracy, and this is followed by one-eighth luma sample MV refinement.
  • the search range of MV refinement for the CU and sub-CU step are set equal to 8 luma samples.
  • bi-prediction is applied because the motion information of a CU is derived based on the closest match between two blocks along the motion trajectory of the current CU in two different reference pictures.
  • the encoder can choose among uni-prediction from list0, uni-prediction from list1, or bi-prediction for a CU. The selection ca be based on a template matching cost as follows:
  • cost0 is the SAD of list0 template matching
  • cost1 is the SAD of list1 template matching
  • costBi is the SAD of bi-prediction template matching.
  • the value of factor is equal to 1.25, it means that the selection process is biased toward bi-prediction.
  • the inter prediction direction selection can be applied to the CU-level template matching process.
  • the sub-block based prediction techniques discussed above can be used to obtain more accurate motion information of each sub-block when the size of sub-blocks is smaller.
  • smaller sub-blocks impose a higher bandwidth requirement in motion compensation.
  • motion information derived for smaller sub-block may not be accurate, especially when there are some noises in a block. Therefore, having a fixed sub-block size within one block may be suboptimal.
  • This document describes techniques that can be used in various embodiments to use non-uniform and/or variable sub-block sizes to address the bandwidth and accuracy problems that a fixed sub-block size introduces.
  • the techniques also referred to as interweaved prediction, use different ways of dividing a block so that motion information can be obtained more robustly without increasing bandwidth consumption.
  • a block is divided into sub-blocks with one or more dividing patterns.
  • a dividing pattern represents the way to divide a block into sub-blocks, including the size of sub-blocks and the position of sub-blocks.
  • a corresponding prediction block may be generated by deriving motion information of each sub-block based on the dividing pattern. Therefore, in some embodiments, multiple prediction blocks may be generated by multiple dividing patterns even for one prediction direction. In some embodiments, for each prediction direction, only one dividing pattern may be applied.
  • FIG. 13 shows an example of interweaved prediction with two dividing patterns in accordance with the disclosed technology.
  • a current block 1300 can be divided into multiple patterns. For example, as shown in FIG. 13 , the current block is divided into both Pattern 0 ( 1301 ) and Pattern 1 ( 1302 ). Two prediction blocks, P 0 ( 1303 ) and P 1 ( 1304 ), are generated. A final prediction block P ( 1305 ) of the current block 1300 can be generated by computing a weighted sum of P 0 ( 1303 ) and P 1 ( 1304 ).
  • X prediction blocks of the current block denoted as P 0 , P 1 , . . . , P x-1
  • P The final prediction of the current block
  • (x, y) is the coordinate of a pixel in the block and w i (x, y) is the weighting value of P i .
  • N is a non-negative value.
  • the sum of the weights being a power of two allows a more efficient computation of the weighted sum P by performing a bit-shifting operation instead of a floating-point division.
  • Dividing patterns can have different shapes, or sizes, or positions of sub-blocks. In some embodiments, a dividing pattern may include irregular sub-block sizes.
  • FIGS. 14 A-G show several examples of dividing patterns for a 16 ⁇ 16 block. In FIG. 14 A , a block is divided into 4 ⁇ 4 sub-blocks in accordance with the disclosed technology. This pattern is also used in JEM.
  • FIG. 14 B shows an example of a block being divided into 8 ⁇ 8 sub-blocks in accordance with the disclosed technology.
  • FIG. 14 C shows an example of the block being divided into 8 ⁇ 4 sub-blocks in accordance with the disclosed technology.
  • FIG. 14 D shows an example of the block being divided into 4 ⁇ 8 sub-blocks in accordance with the disclosed technology.
  • FIG. 14 A-G show several examples of dividing patterns for a 16 ⁇ 16 block.
  • a block is divided into 4 ⁇ 4 sub-blocks in accordance with the disclosed technology. This pattern is also used in JEM.
  • FIG. 14 B shows an example
  • FIG. 14 E a portion of the block is divided into 4 ⁇ 4 sub-blocks in accordance with the disclosed technology.
  • the pixels at block boundaries are divided in smaller sub-blocks with sizes like 2 ⁇ 4, 4 ⁇ 2 or 2 ⁇ 2. Some sub-blocks may be merged to form larger sub-blocks.
  • FIG. 14 F shows an example of adjacent sub-blocks, such as 4 ⁇ 4 sub-blocks and 2 ⁇ 4 sub-blocks, that are merged to form larger sub-blocks with sizes like 6 ⁇ 4, 4 ⁇ 6 or 6 ⁇ 6.
  • FIG. 14 G a portion of the block is divided into 8 ⁇ 8 sub-blocks. The pixels at block boundaries are divided in smaller sub-blocks with sizes like 8 ⁇ 4, 4 ⁇ 8 or 4 ⁇ 4 instead.
  • the shapes and sizes of sub-blocks in sub-block based prediction can be determined based on the shape and/or size of the coding block and/or coded block information.
  • Coded block information can include a type of coding algorithm used on the block and/or sub-block, such as whether the motion compensation prediction is (1) an affine prediction method, (2) an alternative temporal motion vector prediction method, (3) a spatial-temporal motion vector prediction method, (4) a bi-directional optical flow method, or (5) a frame-rate up conversion method.
  • the sub-blocks have a size of 4 ⁇ N (or 8 ⁇ N, etc.) when the current block has a size of M ⁇ N. That is, the sub-blocks have the same height as the current block.
  • the sub-blocks have a size of M ⁇ 4 (or M ⁇ 8, etc.) when the current block has a size of M ⁇ N. That is, the sub-blocks have the same width as the current block. In some embodiments, the sub-blocks have a size of A ⁇ B with A>B (e.g., 8 ⁇ 4) when the current block has a size of M ⁇ N, where M>N. Alternatively, the sub-blocks can have the size of B ⁇ A (e.g. 4 ⁇ 8).
  • the current block has a size of M ⁇ N.
  • the interweaved prediction techniques disclosed herein can be applied in one, some, or all coding techniques of sub-block based prediction.
  • the interweaved prediction techniques can be applied to affine prediction, while other coding techniques of sub-block based prediction (e.g., ATMVP, STMVP, FRUC or BIO) do not use the interweaved prediction.
  • other coding techniques of sub-block based prediction e.g., ATMVP, STMVP, FRUC or BIO
  • all of affine, ATMVP, and STMVP apply the interweaved prediction techniques disclosed herein.
  • FIG. 15 A is an example flowchart of a method 1500 for improving motion compensation in a video system in accordance with the disclosed technology.
  • the method 1500 includes, at 1502 , selecting a set of pixels from a video frame to form a block.
  • the method 1500 includes, at 1504 , partitioning the block into a first set of sub-blocks according to a first pattern.
  • the method 1500 includes, at 1506 , generating a first intermediate prediction block based on the first set of sub-blocks.
  • the method 1500 includes, at 1508 , partitioning the block into a second set of sub-blocks according to a second pattern. At least one sub-block in the second set has a different dimension than a sub-block in the first set.
  • the method 1500 includes, at 1510 , generating a second intermediate prediction block based on the second set of sub-blocks.
  • the method 1500 also includes, at 1512 , determining a prediction block based on the first intermediate prediction block and the second intermediate prediction block.
  • the method 1500 may be implemented without explicitly generating the intermediate prediction blocks.
  • the following operations may be performed for the generation of the prediction block: partitioning a video block into a first set of sub-blocks according to a first pattern, partitioning the video block into a second set of sub-blocks according to a second pattern, wherein at least one sub-block in the second set has a different size than a sub-block in the first set, and determining a prediction block that is a combination of a first intermediate prediction block predictively generated from the first set of sub-blocks and a second intermediate prediction block predictively generated from the second set of sub-blocks.
  • the first intermediate prediction block or the second intermediate prediction block is generated using at least one of (1) an affine prediction method, (2) an alternative temporal motion vector prediction method, (3) a spatial-temporal motion vector prediction method, (4) a bi-directional optical flow method, or (5) a frame-rate up conversion method.
  • an affine prediction method (2) an alternative temporal motion vector prediction method, (3) a spatial-temporal motion vector prediction method, (4) a bi-directional optical flow method, or (5) a frame-rate up conversion method.
  • the sub-blocks in the first or the second set have a rectangular shape.
  • the rectangular shape may refer to a non-square shape where widths and heights are not equal to each other.
  • the sub-blocks in the first set of sub-blocks have non-uniform shapes.
  • the sub-blocks in the second set of sub-blocks have non-uniform shapes.
  • the non-uniform shapes may include sub-blocks having different sizes in the first (or the second) set.
  • the method includes determining the first pattern or the second pattern based on a size of the video block. For example, a tall rectangular block may be split into multiple horizontal sub-blocks. In some cases, a rectangular block may be split into multiple square sized sub-blocks. In some embodiments, the method includes determining the first pattern or the second pattern based on information from a second block that is temporally or spatially adjacent to the video block. For example, in some cases, the first or the second pattern used for the video block may be exactly same as at least one temporal or spatial neighbor.
  • partitioning the block into the first set of sub-blocks is performed for a motion compensation of the block in a first direction.
  • partitioning the block into the second set of sub-blocks is performed for a motion compensation of the block in a second direction.
  • the first direction and/or the second direction may be, for example, a backward direction for predictive coding (“B prediction”) or a forward direction for predictive coding (“P prediction”).
  • partitioning the block into the first set of sub-blocks and partitioning the block into the second set of sub-blocks are performed for a motion compensation of the block in a first direction.
  • the method further includes performing a motion compensation of the block in a second direction by partitioning the block into a third set of sub-blocks according to a third pattern, generating a third intermediate prediction block based on the third set of sub-blocks, partitioning the block into a fourth set of sub-blocks according to a fourth pattern, wherein at least one sub-block in the fourth set has a different size than a sub-block in the third set, generating a fourth intermediate prediction block based on the fourth set of sub-blocks, determining a second prediction block based on the third intermediate prediction block and the fourth intermediate prediction block, and determining a third prediction block based on the prediction block and the second prediction block.
  • the method includes transmitting, to a coding device in the block-based motion compensation video system, information of the first pattern and the second pattern for partitioning the block.
  • transmitting the information of the first pattern and the second pattern is performed at one of: (1) a sequence level, (2) a picture level, (3) a view level, (4) a slice level, (5) a Coding Tree Unit, (6) a Largest Coding Unit level, (7) a Coding Unit level, (8) a Prediction Unit level, (10) a Tree Unit level, or (11) a region level.
  • determining the prediction result includes applying a first set of weights to the first intermediate prediction block to obtain a first weighted prediction block, applying a second set weights to the second intermediate prediction block to obtain a second weighted prediction block, and computing a weighted sum of the first weighted prediction block and the second weighted prediction block to obtain the prediction block.
  • the first set of weights or the second set of weights includes fixed-weight values. In some embodiments, the first set of weights or the second set of weights is determined based on information from another block that is temporally or spatially adjacent to the block. In some embodiments, the first set of weights or the second set of weights is determined using a coding algorithm used for generating the first prediction block or the second prediction block. In some implementations, at least one value in the first set of weights is different than another value in the first set of weights. In some implementations, at least one value in the second set of weights is different than another value in the second set of weights. In some implementations, a sum of the weights is equal to a power of two.
  • the method includes transmitting the weights to a coding device in the block-based motion compensation video system.
  • transmitting the weights is performed at one of: (1) a sequence level, (2) a picture level, (3) a view level, (4) a slice level, (5) a Coding Tree Unit, (6) a Largest Coding Unit level, (7) a Coding Unit level, (8) a Prediction Unit level, (10) a Tree Unit level, or (11) a region level.
  • FIG. 15 B is an example flowchart of a method 1550 for improving block-based motion compensation in a video system in accordance with the disclosed technology.
  • the method 1550 includes, at 1552 , selecting a set of pixels from a video frame to form a block.
  • the method 1550 includes, at 1554 , dividing the block into multiple sub-blocks based on a size of the block or information from another block that is spatially or temporally adjacent to the block. At least one sub-block of the multiple sub-blocks has a different size than other sub-blocks.
  • the method 1550 also includes, at 1556 , generating motion vector predictions by applying a coding algorithm to the multiple sub-blocks.
  • the coding algorithm includes at least one of (1) an affine prediction method, (2) an alternative temporal motion vector prediction method, (3) a spatial-temporal motion vector prediction method, (4) a bi-directional optical flow method, or (5) a frame-rate up conversion method.
  • An alternative method includes dividing a video block into multiple sub-blocks based on a size of the video block or a type of a coding algorithm associated with the video block, wherein one sub-block of the multiple sub-blocks has a different size than other sub-blocks of the multiple sub-blocks, generating motion vector predictions by applying the coding algorithm to the multiple sub-blocks, and performing further processing of the video block using the motion vector predictions.
  • partial interweaving may be implemented.
  • samples in a first subset of prediction samples are calculated as a weighted combination of the first intermediate prediction block and samples a second subset of the prediction samples are copied from sub-blocked based prediction wherein the first subset and the second subset are based on a dividing pattern.
  • the first subset and the second subset may together make up the entire prediction block, e.g., the block that is currently being processed. As depicted in FIGS.
  • the second subset that is excluded from interweaving could be made up of (a) corner sub-blocks or (b) uppermost and lowermost row of sub-blocks or (c) left-most or right-most columns of sub-blocks.
  • the size of the block being currently processed may be used as a condition for deciding whether to exclude certain sub-blocks from interweaved prediction. For example, certain conditions are described in this document.
  • the encoding process may refrain from checking affine mode for blocks that are split from a parent block, where the parent block itself is encoded with a mode different from affine mode.
  • FIG. 16 is a block diagram illustrating an example of the architecture for a computer system or other control device 1600 that can be utilized to implement various portions of the presently disclosed technology.
  • the computer system 1600 includes one or more processors 1605 and memory 1610 connected via an interconnect 1625 .
  • the interconnect 1625 may represent any one or more separate physical buses, point to point connections, or both, connected by appropriate bridges, adapters, or controllers.
  • the interconnect 1625 may include, for example, a system bus, a Peripheral Component Interconnect (PCI) bus, a HyperTransport or industry standard architecture (ISA) bus, a small computer system interface (SCSI) bus, a universal serial bus (USB), IIC (I2C) bus, or an Institute of Electrical and Electronics Engineers (IEEE) standard 674 bus, sometimes referred to as “Firewire.”
  • PCI Peripheral Component Interconnect
  • ISA HyperTransport or industry standard architecture
  • SCSI small computer system interface
  • USB universal serial bus
  • I2C IIC
  • IEEE Institute of Electrical and Electronics Engineers
  • the processor(s) 1605 may include central processing units (CPUs) to control the overall operation of, for example, the host computer. In certain embodiments, the processor(s) 1605 accomplish this by executing software or firmware stored in memory 1610 .
  • the processor(s) 1605 may be, or may include, one or more programmable general-purpose or special-purpose microprocessors, digital signal processors (DSPs), programmable controllers, application specific integrated circuits (ASICs), programmable logic devices (PLDs), or the like, or a combination of such devices.
  • the memory 1610 can be or include the main memory of the computer system.
  • the memory 1610 represents any suitable form of random access memory (RAM), read-only memory (ROM), flash memory, or the like, or a combination of such devices.
  • the memory 1610 may contain, among other things, a set of machine instructions which, when executed by processor 1605 , causes the processor 1605 to perform operations to implement embodiments of the presently disclosed technology.
  • the network adapter 1615 provides the computer system 1600 with the ability to communicate with remote devices, such as the storage clients, and/or other storage servers, and may be, for example, an Ethernet adapter or Fiber Channel adapter.
  • FIG. 17 shows a block diagram of an example embodiment of a mobile device 1700 that can be utilized to implement various portions of the presently disclosed technology.
  • the mobile device 1700 can be a laptop, a smartphone, a tablet, a camcorder, or other types of devices that are capable of processing videos.
  • the mobile device 1700 includes a processor or controller 1701 to process data, and memory 1702 in communication with the processor 1701 to store and/or buffer data.
  • the processor 1701 can include a central processing unit (CPU) or a microcontroller unit (MCU).
  • the processor 1701 can include a field-programmable gate-array (FPGA).
  • FPGA field-programmable gate-array
  • the mobile device 1700 includes or is in communication with a graphics processing unit (GPU), video processing unit (VPU) and/or wireless communications unit for various visual and/or communications data processing functions of the smartphone device.
  • the memory 1702 can include and store processor-executable code, which when executed by the processor 1701 , configures the mobile device 1700 to perform various operations, e.g., such as receiving information, commands, and/or data, processing information and data, and transmitting or providing processed information/data to another device, such as an actuator or external display.
  • the memory 1702 can store information and data, such as instructions, software, values, images, and other data processed or referenced by the processor 1701 .
  • the mobile device 1700 includes an input/output (I/O) unit 1703 to interface the processor 1701 and/or memory 1702 to other modules, units or devices.
  • I/O unit 1703 can interface the processor 1701 and memory 1702 with to utilize various types of wireless interfaces compatible with typical data communication standards, e.g., such as between the one or more computers in the cloud and the user device.
  • the mobile device 1700 can interface with other devices using a wired connection via the I/O unit 1703 .
  • the I/O unit 1703 may include wireless sensors such as infrared detectors for detecting remote control signals, or other suitable wireless human interface techniques.
  • the mobile device 1700 can also interface with other external interfaces, such as data storage, and/or visual or audio display devices 1704 , to retrieve and transfer data and information that can be processed by the processor, stored in the memory, or exhibited on an output unit of a display device 1704 or an external device.
  • the display device 1704 can display a video frame modified based on the MVPs (e.g., a video frame that includes the prediction block 1305 as shown in FIG. 13 ) in accordance with the disclosed technology.
  • a video decoder apparatus may implement a method of video decoding in which the improved block-based motion prediction as described herein is used for video decoding.
  • the method may include forming a block of video using a set of pixels from a video frame.
  • the block may be partitioned into a first set of sub-blocks according to a first pattern.
  • a first intermediate prediction block may correspond to the first set of sub-blocks.
  • the block may include a second set of sub-blocks according to a second pattern. At least one sub-block in the second set has a different size than a sub-block in the first set.
  • the method may further determine a prediction block based on the first intermediate prediction block and a second intermediate prediction block that is generated from the second set of sub-blocks. Other features of this method may be similar to the above-described method 1500 .
  • a decoder-side method of video decoding may use block-based motion prediction for improving video quality by using blocks of a video frame for prediction, where a block corresponds to a set of pixel blocks.
  • the block may be divided into multiple sub-blocks based on a size of the block or information from another block that is spatially or temporally adjacent to the block, wherein at least one sub-block of the multiple sub-blocks has a different size than other sub-blocks.
  • the decoder may use motion vector predictions that are generated by applying a coding algorithm to the multiple sub-blocks. Other features of this method are described with respect to FIG. 15 B and the corresponding description.
  • the video decoding methods may be implemented using a decoding apparatus that is implemented on a hardware platform as described with respect to FIG. 16 and FIG. 17 .
  • partial interweaved prediction may be achieved as follow.
  • interweaved prediction is applied to a part of the current block.
  • Prediction samples at some positions are calculated as the weighted sum of two or more sub-block based predictions.
  • Prediction samples at other positions are not used for the weighted sum. For example, these prediction samples are copied from the sub-block based prediction with a certain dividing pattern.
  • the current block is predicted by sub-block based prediction P1 and P2 with dividing pattern D0 and dividing pattern D1, respectively.
  • interweaved prediction is not applied on four corner sub-blocks as shown in FIG. 18 A .
  • interweaved prediction is not applied on the left-most column of sub-blocks and right-most column of sub-blocks as shown in FIG. 18 B .
  • interweaved prediction is not applied on the top-most row of sub-blocks and bottom-most row of sub-blocks as shown in FIG. 18 C .
  • interweaved prediction is not applied in the motion estimation (ME) process.
  • interweaved prediction is not applied in the ME process for the 6-parameter affine prediction.
  • interweaved prediction is not applied in the ME process if the size of the current block satisfies certain conditions such as follows.
  • interweaved prediction is omitted in the ME process if the current block is split from a parent block, and the parent block does not choose affine mode at encoder.
  • affine mode is not checked at encoder if the current block is split from a parent block, and the parent block does not choose affine mode at encoder.
  • Table A illustrates example performance results using conventional 2 ⁇ 2 Affine prediction for a Random Access (RA) configuration.
  • Table B illustrates example performance results obtained by applying interweaved prediction on uni-prediction in accordance with an embodiment of the present technology.
  • Table C illustrates example performance results obtained by applying interweaved prediction on bi-prediction in accordance with an embodiment of the present technology.
  • interweaved prediction achieves major coding gain with much lower complexity, compared to conventional 2 ⁇ 2 affine prediction based coding.
  • interweaved prediction applied in bi-prediction achieves a coding gain of 0.38% as compared to 2 ⁇ 2 Affine method (0.47%).
  • the encoding time and decoding time are 103% and 102% respectively as compared to 136% and 114% in the 2 ⁇ 2 Affine method.
  • FIG. 19 is a block diagram showing an example video processing system 1900 in which various techniques disclosed herein may be implemented.
  • the system 1900 may include input 1902 for receiving video content.
  • the video content may be received in a raw or uncompressed format, e.g., 8 or 10 bit multi-component pixel values, or may be in a compressed or encoded format.
  • the input 1902 may represent a network interface, a peripheral bus interface, or a storage interface.
  • network interface include wired interfaces such as Ethernet, passive optical network (PON), etc. and wireless interfaces such as Wi-Fi or cellular interfaces.
  • Examples of a peripheral bus interface may include universal serial bus (USB) or high definition multimedia interface (HDMI) or Displayport, and so on.
  • Examples of storage interfaces include SATA (serial advanced technology attachment), PCI, IDE interface, and the like.
  • the system 1900 may include a coding component 1904 that may implement the various coding methods described in the present document.
  • the coding component 1904 may reduce the average bitrate of video from the input 1902 to the output of the coding component 1904 .
  • the coding techniques are therefore sometimes called video compression or video transcoding techniques.
  • the output of the coding component 1904 may be either stored, or transmitted via a communication connected, as represented by the component 1906 .
  • the stored or communicated bitstream representation of the video received at the input 1902 may be used by the component 1906 for generating displayable video that is sent to a display interface 1908 .
  • the process of generating user-viewable video from the bitstream representation is sometimes called video decompression.
  • the techniques described in the present document may be embodied in various electronic devices such as mobile phones, laptops, smartphones or other devices that are capable of performing digital data processing and/or video display.
  • a method of video processing includes partitioning a video block into a first set of sub-blocks according to a first pattern and partitioning the video block into a second set of sub-blocks according to a second pattern. At least one sub-block in the second set has a different dimension than a sub-block in the first set.
  • the method also includes determining a prediction block that is a combination of a first intermediate prediction block generated from the first set of sub-blocks and a second intermediate prediction block generated from the second set of sub-blocks.
  • the first intermediate prediction block or the second intermediate prediction block is generated using at least one of (1) an affine prediction method, (2) an alternative temporal motion vector prediction method, (3) a spatial-temporal motion vector prediction method, (4) a bi-directional optical flow method, or (5) a frame-rate up conversion method.
  • the sub-blocks in the first or the second set have a rectangular shape. In some embodiments, the sub-blocks in the first set of sub-blocks have non-uniform shapes. In some embodiments, the sub-blocks in the second set of sub-blocks have non-uniform shapes.
  • the method includes determining the first pattern or the second pattern based on a dimension of the video block.
  • the partitioning the video block into the first set of sub-blocks is performed for a motion compensation of the video block based on a reference picture in a first reference picture list.
  • the partitioning the block into the second set of sub-blocks is performed for a motion compensation of the video block based on a reference picture in a second reference picture list that is different from the first reference picture list.
  • the partitioning the video block into the second set of sub-blocks is performed for a motion compensation of the video block from a reference picture in a second reference picture list that is same as the first reference picture list.
  • the motion compensation of the video block from a reference picture in the second reference picture list is performed by partitioning the video block into a third set of sub-blocks according to a third pattern, generating a third intermediate prediction block based on the third set of sub-blocks, partitioning the video block into a fourth set of sub-blocks according to a fourth pattern, wherein at least one sub-block in the fourth set has a different dimension than a sub-block in the third set, generating a fourth intermediate prediction block based on the fourth set of sub-blocks, determining a second prediction block based on the third intermediate prediction block and the fourth intermediate prediction block, and determining a third prediction block based on the prediction block and the second prediction block.
  • the prediction block is determined as a weighted combination of the first intermediate prediction block weighted using a first set of weights and the second intermediate prediction block weighted using a second set of weights.
  • the first set of weights or the second set of weights includes fixed-weight values.
  • at least one value in the first set of weights is different than another value in the first set of weights.
  • at least one value in the second set of weights is different than another value in the second set of weights.
  • a video processing method includes dividing a video block into multiple sub-blocks based on a dimension of the video block or a type of a coding algorithm associated with the video block. One sub-block of the multiple sub-blocks has a different dimension than other sub-blocks of the multiple sub-blocks. The method also includes generating motion vector predictions by applying the coding algorithm to the multiple sub-blocks and performing further processing of the video block using the motion vector predictions.
  • the coding algorithm includes at least one of (1) an affine prediction method, (2) an alternative temporal motion vector prediction method, (3) a spatial-temporal motion vector prediction method, (4) a bi-directional optical flow method, or (5) a frame-rate up conversion method.
  • dimensions of the video block are M ⁇ N, wherein M>N, a particular sub-block of the video block has a size A ⁇ B, wherein A>B, and where M, N, A and B are integers.
  • the method includes performing a prediction for each sub-block in the first set of sub-blocks to determine the first intermediate prediction block. In some embodiments, the method includes performing a prediction for each sub-block in the second set of sub-blocks to determine the second intermediate prediction block.
  • the disclosed and other embodiments, modules and the functional operations described in this document can be implemented in digital electronic circuitry, or in computer software, firmware, or hardware, including the structures disclosed in this document and their structural equivalents, or in combinations of one or more of them.
  • the disclosed and other embodiments can be implemented as one or more computer program products, i.e., one or more modules of computer program instructions encoded on a computer readable medium for execution by, or to control the operation of, data processing apparatus.
  • the computer readable medium can be a machine-readable storage device, a machine-readable storage substrate, a memory device, a composition of matter effecting a machine-readable propagated signal, or a combination of one or more them.
  • data processing apparatus encompasses all apparatus, devices, and machines for processing data, including by way of example a programmable processor, a computer, or multiple processors or computers.
  • the apparatus can include, in addition to hardware, code that creates an execution environment for the computer program in question, e.g., code that constitutes processor firmware, a protocol stack, a database management system, an operating system, or a combination of one or more of them.
  • a propagated signal is an artificially generated signal, e.g., a machine-generated electrical, optical, or electromagnetic signal, that is generated to encode information for transmission to suitable receiver apparatus.
  • a computer program (also known as a program, software, software application, script, or code) can be written in any form of programming language, including compiled or interpreted languages, and it can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
  • a computer program does not necessarily correspond to a file in a file system.
  • a program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub programs, or portions of code).
  • a computer program can be deployed to be executed on one computer or on multiple computers that are located at one site or distributed across multiple sites and interconnected by a communication network.
  • the processes and logic flows described in this document can be performed by one or more programmable processors executing one or more computer programs to perform functions by operating on input data and generating output.
  • the processes and logic flows can also be performed by, and apparatus can also be implemented as, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit).
  • processors suitable for the execution of a computer program include, by way of example, both general and special purpose microprocessors, and any one or more processors of any kind of digital computer.
  • a processor will receive instructions and data from a read only memory or a random-access memory or both.
  • the essential elements of a computer are a processor for performing instructions and one or more memory devices for storing instructions and data.
  • a computer will also include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto optical disks, or optical disks.
  • mass storage devices for storing data, e.g., magnetic, magneto optical disks, or optical disks.
  • a computer need not have such devices.
  • Computer readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media and memory devices, including by way of example semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices; magnetic disks, e.g., internal hard disks or removable disks; magneto optical disks; and CD ROM and DVD-ROM disks.
  • semiconductor memory devices e.g., EPROM, EEPROM, and flash memory devices
  • magnetic disks e.g., internal hard disks or removable disks
  • magneto optical disks e.g., CD ROM and DVD-ROM disks.
  • the processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

Methods, systems, and devices related to sub-block based motion prediction in video coding are described. In one representative aspect, a video processing method includes partitioning a video block into a first set of sub-blocks according to a first pattern, partitioning the video block into a second set of sub-blocks according to a second pattern, wherein at least one sub-block in the second set has a different size than a sub-block in the first set, and determining a prediction block corresponding to a combination of a first intermediate prediction block that is predictively generated from the first set of sub-blocks and a second intermediate prediction block that is predictively generated from the second set of sub-blocks.

Description

CROSS-REFERENCE TO RELATED APPLICATIONS
This application is a continuation of International Application No. PCT/IB2019/054467, filed on May 30, 2019, which claims the priority to and benefits of International Patent Application No. PCT/CN2018/089242, filed on May 31, 2018. The entire disclosures of the aforementioned applications are incorporated by reference as part of the disclosure of this application in their entireties.
TECHNICAL FIELD
This patent document relates to video coding techniques, devices and systems.
BACKGROUND
Motion compensation (MC) is a technique in video processing to predict a frame in a video, given the previous and/or future frames by accounting for motion of the camera and/or objects in the video. Motion compensation can be used in the encoding of video data for video compression.
SUMMARY
This document discloses methods, systems, and devices related to sub-block based motion prediction in video motion compensation.
In one representative aspect, a method for video processing is disclosed. The method includes partitioning a video block into a first set of sub-blocks according to a first pattern and partitioning the video block into a second set of sub-blocks according to a second pattern. At least one sub-block in the second set has a different dimension than a sub-block in the first set. The method also includes determining a prediction block that is a combination of a first intermediate prediction block generated from the first set of sub-blocks and a second intermediate prediction block generated from the second set of sub-blocks.
In another representative aspect, a method for video processing includes dividing a video block into multiple sub-blocks based on a dimension of the video block or a type of a coding algorithm associated with the video block. One sub-block of the multiple sub-blocks has a different dimension than other sub-blocks of the multiple sub-blocks. The method also includes generating motion vector predictions by applying the coding algorithm to the multiple sub-blocks and performing further processing of the video block using the motion vector predictions.
In another representative aspect, an apparatus comprising a processor is disclosed. The processor is configured to implement a method described in the present document.
In yet another representative aspect, the various techniques described herein may be embodied as a computer program product stored on a non-transitory computer readable media. The computer program product includes program code for carrying out the methods described herein.
In yet another representative aspect, a video decoder apparatus may implement a method as described herein.
The details of one or more implementations are set forth in the accompanying attachments, the drawings, and the description below. Other features will be apparent from the description and drawings, and from the claims.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a schematic diagram showing an example of sub-block based prediction.
FIG. 2 shows an example of an affine motion field of a block described by two control point motion vectors.
FIG. 3 shows an example of affine motion vector field per sub-block for a block.
FIG. 4 shows an example of motion vector prediction for a block 400 in the AF_INTER mode.
FIG. 5A shows an example of the selection order of candidate blocks for a current Coding Unit (CU).
FIG. 5B shows another example of candidate blocks for a current CU in the AF_MERGE mode.
FIG. 6 shows an example of Alternative Temporal Motion Vector Prediction (ATMVP) motion prediction process for a CU.
FIG. 7 shows an example of one CU with four sub-blocks and neighboring blocks.
FIG. 8 shows an example optical flow trajectory in the Bi-directional Optical flow (BIO) method.
FIG. 9A shows an example of access positions outside of a block.
FIG. 9B shows that a padding area can used to avoid extra memory access and calculation.
FIG. 10 shows an example of bilateral matching used in the Frame-Rate Up Conversion (FRUC) method.
FIG. 11 shows an example of template matching used in the FRUC method.
FIG. 12 shows an example of unilateral Motion Estimation (ME) in the FRUC method.
FIG. 13 shows an example of interweaved prediction with two dividing patterns in accordance with the disclosed technology.
FIG. 14A shows an example dividing pattern in which block is divided into 4×4 sub-blocks in accordance with the disclosed technology.
FIG. 14B shows an example dividing pattern in which a block is divided into 8×8 sub-blocks in accordance with the disclosed technology.
FIG. 14C shows an example dividing pattern in which a block is divided into 4×8 sub-blocks in accordance with the disclosed technology.
FIG. 14D shows an example dividing pattern in which a block is divided into 8×4 sub-blocks in accordance with the disclosed technology.
FIG. 14E shows an example dividing pattern in which a block is divided into non-uniform sub-blocks in accordance with the disclosed technology.
FIG. 14F shows another example dividing pattern in which a block is divided into non-uniform sub-blocks in accordance with the disclosed technology.
FIG. 14G shows yet another example dividing pattern in which a block is divided into non-uniform sub-blocks in accordance with the disclosed technology.
FIG. 15A is an example flowchart of a method of video processing.
FIG. 15B is another example flowchart of a method of video processing.
FIG. 16 is a block diagram illustrating an example of the architecture for a computer system or other control device that can be utilized to implement various portions of the presently disclosed technology.
FIG. 17 shows a block diagram of an example embodiment of a mobile device that can be utilized to implement various portions of the presently disclosed technology.
FIG. 18A, FIG. 18B, and FIG. 18C show example embodiments of a partial interweaved prediction technique.
FIG. 19 is a block diagram of an example video processing system in which disclosed techniques may be implemented.
DETAILED DESCRIPTION OF THE EMBODIMENTS
Global motion compensation is one of variations of motion compensation techniques and can be used for predicting camera's motion. However, moving objects within a frame are not sufficiently represented by various implementations of the global motion compensation. Local motion estimation, such as block motion compensation, in which the frames are partitioned in blocks of pixels for performing the motion prediction, can be used to account for the objects moving within the frames.
Sub-block based prediction, which was developed based on the block motion compensation, was first introduced into the video coding standard by High Efficiency Video Coding (HEVC) Annex I (3D-HEVC). FIG. 1 is a schematic diagram showing an example of sub-block based prediction. With sub-block based prediction, a block 100, such as a Coding Unit (CU) or a Prediction Unit (PU), is divided into several non-overlapped sub-blocks 101. Different sub-blocks may be assigned different motion information, such as reference index or Motion Vector (MV). Motion compensation is then performed individually for each sub-block.
To explore the future video coding technologies beyond HEVC, Joint Video Exploration Team (JVET) was founded jointly by the Video Coding Expert Group (VCEG) and the Moving Picture Expert Group (MPEG) in 2015. Many methods have been adopted by JVET and added into the reference software named Joint Exploration Model (JEM). In JEM, sub-block based prediction is adopted in several coding techniques, such as affine prediction, Alternative temporal motion vector prediction (ATMVP), spatial-temporal motion vector prediction (STMVP), Bi-directional Optical flow (BIO), and Frame-Rate Up Conversion (FRUC), which are discussed in detail below.
Affine Prediction
In HEVC, only translation motion model is applied for motion compensation prediction (MCP). However, the camera and objects may have many kinds of motion, e.g. zoom in/out, rotation, perspective motions, and/or other irregular motions. JEM, on the other hand, applies a simplified affine transform motion compensation prediction. FIG. 2 shows an example of an affine motion field of a block 200 described by two control point motion vectors V0 and V1. The motion vector field (MVF) of the block 200 can be described by the following equation:
{ v x = ( v 1 x - v 0 x ) w x - ( v 1 y - v 0 y ) w y + v 0 x v y = ( v 1 y - v 0 y ) w x + ( v 1 x - v 0 x ) w y + v 0 y Eq . ( 1 )
As shown in FIG. 2 , (v0x, v0y) is motion vector of the top-left corner control point, and (v1x, v1y) is motion vector of the top-right corner control point. To simplify the motion compensation prediction, sub-block based affine transform prediction can be applied. The sub-block size MxN is derived as follows:
{ M = clip 3 ( 4 , w , w × MvPre max ( abs ( v 1 x - v 0 x ) , abs ( v 1 y - v 0 y ) ) ) N = clip 3 ( 4 , h , h × MvPre max ( abs ( v 2 x - v 0 x ) , abs ( v 2 y - v 0 y ) ) ) Eq . ( 2 )
Here, MvPre is the motion vector fraction accuracy (e.g., 1/16 in JEM). (v2x, v2y) is motion vector of the bottom-left control point, calculated according to Eq. (1). M and N can be adjusted downward if necessary to make it a divisor of w and h, respectively.
FIG. 3 shows an example of affine MVF per sub-block for a block 300. To derive motion vector of each M×N sub-block, the motion vector of the center sample of each sub-block can be calculated according to Eq. (1), and rounded to the motion vector fraction accuracy (e.g., 1/16 in JEM). Then the motion compensation interpolation filters can be applied to generate the prediction of each sub-block with derived motion vector. After the MCP, the high accuracy motion vector of each sub-block is rounded and saved as the same accuracy as the normal motion vector.
In the JEM, there are two affine motion modes: AF_INTER mode and AF_MERGE mode. For CUs with both width and height larger than 8, AF_INTER mode can be applied. An affine flag in CU level is signaled in the bitstream to indicate whether AF_INTER mode is used. In the AF_INTER mode, a candidate list with motion vector pair (v0, v1)|v0={vA, vB, vC}, v1={vD, vE}) is constructed using the neighboring blocks. FIG. 4 shows an example of motion vector prediction (MVP) for a block 400 in the AF_INTER mode. As shown in FIG. 4 , v0 is selected from the motion vectors of the sub-block A, B, or C. The motion vectors from the neighboring blocks can be scaled according to the reference list. The motion vectors can also be scaled according to the relationship among the Picture Order Count (POC) of the reference for the neighboring block, the POC of the reference for the current CU, and the POC of the current CU. The approach to select v1 from the neighboring sub-block D and E is similar. If the number of candidate list is smaller than 2, the list is padded by the motion vector pair composed by duplicating each of the AMVP candidates. When the candidate list is larger than 2, the candidates can be firstly sorted according to the neighboring motion vectors (e.g., based on the similarity of the two motion vectors in a pair candidate). In some implementations, the first two candidates are kept. In some embodiments, a Rate Distortion (RD) cost check is used to determine which motion vector pair candidate is selected as the control point motion vector prediction (CPMVP) of the current CU. An index indicating the position of the CPMVP in the candidate list can be signaled in the bitstream. After the CPMVP of the current affine CU is determined, affine motion estimation is applied and the control point motion vector (CPMV) is found. Then the difference of the CPMV and the CPMVP is signaled in the bitstream.
When a CU is applied in AF_MERGE mode, it gets the first block coded with an affine mode from the valid neighboring reconstructed blocks. FIG. 5A shows an example of the selection order of candidate blocks for a current CU 500. As shown in FIG. 5A, the selection order can be from left (501), above (502), above right (503), left bottom (504) to above left (505) of the current CU 500. FIG. 5B shows another example of candidate blocks for a current CU 500 in the AF_MERGE mode. If the neighboring left bottom block 501 is coded in affine mode, as shown in FIG. 5B, the motion vectors v2, v3 and v4 of the top left corner, above right corner, and left bottom corner of the CU containing the sub-block 501 are derived. The motion vector v0 of the top left corner on the current CU 500 is calculated based on v2, v3 and v4. The motion vector v1 of the above right of the current CU can be calculated accordingly.
After the CPMV of the current CU v0 and v1 are computed according to the affine motion model in Eq. (1), the MVF of the current CU can be generated. In order to identify whether the current CU is coded with AF_MERGE mode, an affine flag can be signaled in the bitstream when there is at least one neighboring block is coded in affine mode.
Alternative Temporal Motion Vector Prediction (ATMVP)
In the ATMVP method, the temporal motion vector prediction (TMVP) method is modified by fetching multiple sets of motion information (including motion vectors and reference indices) from blocks smaller than the current CU.
FIG. 6 shows an example of ATMVP motion prediction process for a CU 600. The ATMVP method predicts the motion vectors of the sub-CUs 601 within a CU 600 in two steps. The first step is to identify the corresponding block 651 in a reference picture 650 with a temporal vector. The reference picture 650 is also referred to as the motion source picture. The second step is to split the current CU 600 into sub-CUs 601 and obtain the motion vectors as well as the reference indices of each sub-CU from the block corresponding to each sub-CU.
In the first step, a reference picture 650 and the corresponding block is determined by the motion information of the spatial neighboring blocks of the current CU 600. To avoid the repetitive scanning process of neighboring blocks, the first merge candidate in the merge candidate list of the current CU 600 is used. The first available motion vector as well as its associated reference index are set to be the temporal vector and the index to the motion source picture. This way, the corresponding block may be more accurately identified, compared with TMVP, wherein the corresponding block (sometimes called collocated block) is always in a bottom-right or center position relative to the current CU.
In the second step, a corresponding block of the sub-CU 651 is identified by the temporal vector in the motion source picture 650, by adding to the coordinate of the current CU the temporal vector. For each sub-CU, the motion information of its corresponding block (e.g., the smallest motion grid that covers the center sample) is used to derive the motion information for the sub-CU. After the motion information of a corresponding N×N block is identified, it is converted to the motion vectors and reference indices of the current sub-CU, in the same way as TMVP of HEVC, wherein motion scaling and other procedures apply. For example, the decoder checks whether the low-delay condition (e.g. the POCs of all reference pictures of the current picture are smaller than the POC of the current picture) is fulfilled and possibly uses motion vector MVx (e.g., the motion vector corresponding to reference picture list X) to predict motion vector MVy (e.g., with X being equal to 0 or 1 and Y being equal to 1−X) for each sub-CU.
Spatial Temporal Motion Vector Prediction (STMVP)
In the STMVP method, the motion vectors of the sub-CUs are derived recursively, following raster scan order. FIG. 7 shows an example of one CU with four sub-blocks and neighboring blocks. Consider an 8×8 CU 700 that includes four 4×4 sub-CUs A (701), B (702), C (703), and D (704). The neighboring 4×4 blocks in the current frame are labelled as a (711), b (712), c (713), and d (714).
The motion derivation for sub-CU A starts by identifying its two spatial neighbors. The first neighbor is the N×N block above sub-CU A 701 (block c 713). If this block c (713) is not available or is intra coded the other N×N blocks above sub-CU A (701) are checked (from left to right, starting at block c 713). The second neighbor is a block to the left of the sub-CU A 701 (block b 712). If block b (712) is not available or is intra coded other blocks to the left of sub-CU A 701 are checked (from top to bottom, staring at block b 712). The motion information obtained from the neighboring blocks for each list is scaled to the first reference frame for a given list. Next, temporal motion vector predictor (TMVP) of sub-block A 701 is derived by following the same procedure of TMVP derivation as specified in HEVC. The motion information of the collocated block at block D 704 is fetched and scaled accordingly. Finally, after retrieving and scaling the motion information, all available motion vectors are averaged separately for each reference list. The averaged motion vector is assigned as the motion vector of the current sub-CU.
Bi-Directional Optical Flow (BIO)
The Bi-directional Optical flow (BIO) method is sample-wise motion refinement performed on top of block-wise motion compensation for bi-prediction. In some implementations, the sample-level motion refinement does not use signaling.
Let I(k) be the luma value from reference k (k=0, 1) after block motion compensation, and
Figure US11871022-20240109-P00001
I(k)/
Figure US11871022-20240109-P00001
x,∂I(k)/∂y are horizontal and vertical components of the I(k) gradient, respectively. Assuming the optical flow is valid, the motion vector field (vx, vy) is given by:
Figure US11871022-20240109-P00001
I (k) /
Figure US11871022-20240109-P00001
t+v x
Figure US11871022-20240109-P00001
I (k) /
Figure US11871022-20240109-P00001
x+v y
Figure US11871022-20240109-P00001
I (k) /
Figure US11871022-20240109-P00001
y=0  Eq. (3)
Combining this optical flow equation with Hermite interpolation for the motion trajectory of each sample results in a unique third-order polynomial that matches both the function values I(k) and derivatives
Figure US11871022-20240109-P00001
I(k)/
Figure US11871022-20240109-P00001
x,
Figure US11871022-20240109-P00001
I(k)/
Figure US11871022-20240109-P00001
y at the ends. The value of this polynomial at t=0 is the BIO prediction:
predBIO=½·(I (0) +I (1) +v x/2·(τ1
Figure US11871022-20240109-P00001
I (1) /
Figure US11871022-20240109-P00001
x−τ 0
Figure US11871022-20240109-P00001
I (0) /
Figure US11871022-20240109-P00001
x)+v y/2·(τ1
Figure US11871022-20240109-P00001
I (1) /
Figure US11871022-20240109-P00001
y−τ 0
Figure US11871022-20240109-P00001
I (0) /
Figure US11871022-20240109-P00001
y))  (4)
FIG. 8 shows an example optical flow trajectory in the Bi-directional Optical flow (BIO) method. Here, τ0 and τ1 denote the distances to the reference frames. Distances τ0 and τ1 are calculated based on POC for Ref0 and Ref1: τ0=POC(current)−POC(Ref0), τ1=POC(Ref1)−POC(current). If both predictions come from the same time direction (either both from the past or both from the future) then the signs are different (e.g., τ0·τ1<0). In this case, BIO is applied if the prediction is not from the same time moment (e.g., τ0≠τ1). Both referenced regions have non-zero motion (e.g., MVx0, MVy0, MVx1, MVy1≠0) and the block motion vectors are proportional to the time distance (e.g., MVx0/MVx1=MVy0/MVy1=−τ01).
The motion vector field (vx, vy) is determined by minimizing the difference Δ between values in points A and B. FIGS. 9A-9B show an example of intersection of motion trajectory and reference frame planes. Model uses only first linear term of a local Taylor expansion for Δ:
Δ=(I (0) −I (1) 0 +v x1
Figure US11871022-20240109-P00001
I (1) /
Figure US11871022-20240109-P00001
x+τ 0
Figure US11871022-20240109-P00001
I (0) /
Figure US11871022-20240109-P00001
x)+v y1
Figure US11871022-20240109-P00001
I (1) /
Figure US11871022-20240109-P00001
y+τ 0
Figure US11871022-20240109-P00001
I (0) /
Figure US11871022-20240109-P00001
y))  Eq. (5)
All values in the above equation depend on the sample location, denoted as (i′, j′). Assuming the motion is consistent in the local surrounding area, Δ can be minimized inside the (2M+1)×(2M+1) square window Ω centered on the currently predicted point (i, j), where M is equal to 2:
( v x , v y ) = argmin v x , v y [ i , j ] Ω Δ 2 [ i , j ] Eq . ( 6 )
For this optimization problem, the JEM uses a simplified approach making first a minimization in the vertical direction and then in the horizontal direction. This results in the following:
v x = ( s 1 + r ) > m ? clip 3 ( - th BIO , thBIO , - s 3 ( s 1 + r ) ) : 0 Eq . ( 7 ) v y = ( s 5 + r ) > m ? clip 3 ( - th BIO , thBIO , - s ó - v x s 2 / 2 ( s 5 + r ) ) : 0 where , Eq . ( 8 ) s 1 = [ i , j ] Ω ( τ 1 I ( 1 ) / x + τ 0 I ( 0 ) / x ) 2 ; s 3 = [ i , j ] Ω ( I ( 1 ) - I ( 0 ) ) ( τ 1 I ( 1 ) / x + τ 0 I ( 0 ) / x ) ; s 2 = [ i , j ] Ω ( τ 1 I ( 1 ) / x + τ 0 I ( 0 ) / x ) ( τ 1 I ( 1 ) / y + τ 0 I ( 0 ) / y ) ; s 5 = [ i , j ] Ω ( τ 1 I ( 1 ) / y + τ 0 I ( 0 ) / y ) 2 ; s 6 = [ i , j ] Ω ( I ( 1 ) - I ( 0 ) ) ( τ 1 I ( 1 ) / y + τ 0 I ( 0 ) / y ) Eq . ( 9 )
In order to avoid division by zero or a very small value, regularization parameters r and m can be introduced in Eq. (7) and Eq. (8).
r=500·4d-8  Eq. (10)
m=700·4d-8  Eq. (11)
Here, d is bit depth of the video samples.
In order to keep the memory access for BIO the same as for regular bi-predictive motion compensation, all prediction and gradients values, I(k),
Figure US11871022-20240109-P00001
I(k)/
Figure US11871022-20240109-P00001
x,
Figure US11871022-20240109-P00001
I(k)/
Figure US11871022-20240109-P00001
y, are calculated for positions inside the current block. FIG. 9A shows an example of access positions outside of a block 900. As shown in FIG. 9A, in Eq. (9), (2M+1)×(2M+1) square window Ω centered in currently predicted point on a boundary of predicted block needs to accesses positions outside of the block. In the JEM, values of I(k),
Figure US11871022-20240109-P00001
I(k)/
Figure US11871022-20240109-P00001
x,
Figure US11871022-20240109-P00001
I(k)/
Figure US11871022-20240109-P00001
y outside of the block are set to be equal to the nearest available value inside the block. For example, this can be implemented as a padding area 901, as shown in FIG. 9B.
With BIO, it is possible that the motion field can be refined for each sample. To reduce the computational complexity, a block-based design of BIO is used in the JEM. The motion refinement can be calculated based on a 4×4 block. In the block-based BIO, the values of sn in Eq. (9) of all samples in a 4×4 block can be aggregated, and then the aggregated values of sn in are used to derived BIO motion vectors offset for the 4×4 block. More specifically, the following formula can used for block-based BIO derivation:
s 1 , b k = ( x , y ) b k [ i , j ] Ω ( x , y ) ( τ 1 I ( 1 ) / x + τ 0 I ( 0 ) / x ) 2 ; s 3 , b k = ( x , y ) b k [ i , j ] Ω ( x , y ) ( I ( 1 ) - I ( 0 ) ) ( τ 1 I ( 1 ) / x + τ 0 I ( 0 ) / x ) ; s 2 , b k = ( x , y ) b k [ i , j ] Ω ( x , y ) ( τ 1 I ( 1 ) / x + τ 0 I ( 0 ) / x ) ( τ 1 I ( 1 ) / y + τ 0 I ( 0 ) / y ) ; s 5 , b k = ( x , y ) b k [ i , j ] Ω ( x , y ) ( τ 1 I ( 1 ) / y + τ 0 I ( 0 ) / y ) 2 ; s 6 , b k = ( x , y ) b k [ i , j ] Ω ( x , y ) ( I ( 1 ) - I ( 0 ) ) ( τ 1 I ( 1 ) / y + τ 0 I ( 0 ) / y ) Eq . ( 12 )
Here, bk denotes the set of samples belonging to the k-th 4×4 block of the predicted block. sn in Eq (7) and Eq (8) are replaced by ((sn,bk)>>4) to derive the associated motion vector offsets.
In some scenarios, MV regiment of BIO may be unreliable due to noise or irregular motion. Therefore, in BIO, the magnitude of MV regiment is clipped to a threshold value. The threshold value is determined based on whether the reference pictures of the current picture are all from one direction. For example, if all the reference pictures of the current picture are from one direction, the value of the threshold is set to 12×214-d; otherwise, it is set to 12×213-d.
Gradients for BIO can be calculated at the same time with motion compensation interpolation using operations consistent with HEVC motion compensation process (e.g., 2D separable Finite Impulse Response (FIR)). In some embodiments, the input for the 2D separable FIR is the same reference frame sample as for motion compensation process and fractional position (fracX, fracY) according to the fractional part of block motion vector. For horizontal gradient
Figure US11871022-20240109-P00001
I/
Figure US11871022-20240109-P00001
x, a signal is first interpolated vertically using BIOfilterS corresponding to the fractional position fracY with de-scaling shift d−8. Gradient filter BIOfilterG is then applied in horizontal direction corresponding to the fractional position fracX with de-scaling shift by 18-d. For vertical gradient
Figure US11871022-20240109-P00001
I/
Figure US11871022-20240109-P00001
y, a gradient filter is applied vertically using BIOfilterG corresponding to the fractional position fracY with de-scaling shift d−8. The signal displacement is then performed using BIOfilterS in horizontal direction corresponding to the fractional position fracX with de-scaling shift by 18−d. The length of interpolation filter for gradients calculation BIOfilterG and signal displacement BIOfilterF can be shorter (e.g., 6-tap) in order to maintain reasonable complexity. Table 1 shows example filters that can be used for gradients calculation of different fractional positions of block motion vector in BIO. Table 2 shows example interpolation filters that can be used for prediction signal generation in BIO.
TABLE 1
Example filters for gradient calculation in BIO
Fractional Interpolation filter for
pel position gradient(BIOfilterG)
0 {8, −39, −3, 46, −17, 5}
1/16 {8, −32, −13, 50, −18, 5}
1/8 {7, −27, −20, 54, −19, 5}
3/16 {6, −21, −29, 57, −18, 5}
1/4 {4, −17, −36, 60, −15, 4}
5/16 {3, −9, −44, 61, −15, 4}
3/8 {1, −4, −48, 61, −13, 3}
7/16 {0, 1, −54, 60, −9, 2}
1/2 {−1, 4, −57, 57, −4, 1}
TABLE 2
Example interpolation filters for prediction signal generation in BIO
Fractional
pel position Interpolation filter for prediction signal(BIOfilterS)
0 {0, 0, 64, 0, 0, 0}
1/16 {1, −3, 64, 4, −2, 0}
1/8 {1, −6, 62, 9, −3, 1}
3/16 {2, −8, 60, 14, −5, 1}
1/4 {2, −9, 57, 19, −7, 2}
5/16 {3, −10, 53, 24, −8, 2}
3/8 {3, −11, 50, 29, −9, 2}
7/16 {3, −11, 44, 35, −10, 3}
1/2 {3, −10, 35, 44, −11, 3}
In the JEM, BIO can be applied to all bi-predicted blocks when the two predictions are from different reference pictures. When Local Illumination Compensation (LIC) is enabled for a CU, BIO can be disabled.
In some embodiments, OBMC is applied for a block after normal MC process. To reduce the computational complexity, BIO may not be applied during the OBMC process. This means that BIO is applied in the MC process for a block when using its own MV and is not applied in the MC process when the MV of a neighboring block is used during the OBMC process.
Frame-Rate Up Conversion (FRUC)
A FRUC flag can be signaled for a CU when its merge flag is true. When the FRUC flag is false, a merge index can be signaled and the regular merge mode is used. When the FRUC flag is true, an additional FRUC mode flag can be signaled to indicate which method (e.g., bilateral matching or template matching) is to be used to derive motion information for the block.
At encoder side, the decision on whether using FRUC merge mode for a CU is based on RD cost selection as done for normal merge candidate. For example, multiple matching modes (e.g., bilateral matching and template matching) are checked for a CU by using RD cost selection. The one leading to the minimal cost is further compared to other CU modes. If a FRUC matching mode is the most efficient one, FRUC flag is set to true for the CU and the related matching mode is used.
Typically, motion derivation process in FRUC merge mode has two steps: a CU-level motion search is first performed, then followed by a Sub-CU level motion refinement. At CU level, an initial motion vector is derived for the whole CU based on bilateral matching or template matching. First, a list of MV candidates is generated and the candidate that leads to the minimum matching cost is selected as the starting point for further CU level refinement. Then a local search based on bilateral matching or template matching around the starting point is performed. The MV results in the minimum matching cost is taken as the MV for the whole CU. Subsequently, the motion information is further refined at sub-CU level with the derived CU motion vectors as the starting points.
For example, the following derivation process is performed for a W×H CU motion information derivation. At the first stage, MV for the whole W×H CU is derived. At the second stage, the CU is further split into M×M sub-CUs. The value of M is calculated as in (16), D is a predefined splitting depth which is set to 3 by default in the JEM. Then the MV for each sub-CU is derived.
M = max { 4 , min { M 2 D , N 2 D } } Eq . ( 13 )
FIG. 10 shows an example of bilateral matching used in the Frame-Rate Up Conversion (FRUC) method. The bilateral matching is used to derive motion information of the current CU by finding the closest match between two blocks along the motion trajectory of the current CU (1000) in two different reference pictures (1010, 1011). Under the assumption of continuous motion trajectory, the motion vectors MV0 (1001) and MV1 (1002) pointing to the two reference blocks are proportional to the temporal distances, e.g., TD0 (1003) and TD1 (1004), between the current picture and the two reference pictures. In some embodiments, when the current picture 1000 is temporally between the two reference pictures (1010, 1011) and the temporal distance from the current picture to the two reference pictures is the same, the bilateral matching becomes mirror based bi-directional MV.
FIG. 11 shows an example of template matching used in the FRUC method. Template matching can be used to derive motion information of the current CU 1100 by finding the closest match between a template (e.g., top and/or left neighboring blocks of the current CU) in the current picture and a block (e.g., same size to the template) in a reference picture 1110. Except the aforementioned FRUC merge mode, the template matching can also be applied to AMVP mode. In both JEM and HEVC, AMVP has two candidates. With the template matching method, a new candidate can be derived. If the newly derived candidate by template matching is different to the first existing AMVP candidate, it is inserted at the very beginning of the AMVP candidate list and then the list size is set to two (e.g., by removing the second existing AMVP candidate). When applied to AMVP mode, only CU level search is applied.
The MV candidate set at CU level can include the following: (1) original AMVP candidates if the current CU is in AMVP mode, (2) all merge candidates, (3) several MVs in the interpolated MV field (described later), and top and left neighboring motion vectors.
When using bilateral matching, each valid MV of a merge candidate can be used as an input to generate a MV pair with the assumption of bilateral matching. For example, one valid MV of a merge candidate is (MVa, refa) at reference list A. Then the reference picture refb of its paired bilateral MV is found in the other reference list B so that refa and refb are temporally at different sides of the current picture. If such a refb is not available in reference list B, refb is determined as a reference which is different from refa and its temporal distance to the current picture is the minimal one in list B. After refb is determined, MVb is derived by scaling MVa based on the temporal distance between the current picture and refa, refb.
In some implementations, four MVs from the interpolated MV field can also be added to the CU level candidate list. More specifically, the interpolated MVs at the position (0, 0), (W/2, 0), (0, H/2) and (W/2, H/2) of the current CU are added. When FRUC is applied in AMVP mode, the original AMVP candidates are also added to CU level MV candidate set. In some implementations, at the CU level, 15 MVs for AMVP CUs and 13 MVs for merge CUs can be added to the candidate list.
The MV candidate set at sub-CU level includes an MV determined from a CU-level search, (2) top, left, top-left and top-right neighboring MVs, (3) scaled versions of collocated MVs from reference pictures, (4) one or more ATMVP candidates (e.g., up to four), and (5) one or more STMVP candidates (e.g., up to four). The scaled MVs from reference pictures are derived as follows. The reference pictures in both lists are traversed. The MVs at a collocated position of the sub-CU in a reference picture are scaled to the reference of the starting CU-level MV. ATMVP and STMVP candidates can be the four first ones. At the sub-CU level, one or more MVs (e.g., up to 17) are added to the candidate list.
Generation of Interpolated MV Field
Before coding a frame, interpolated motion field is generated for the whole picture based on unilateral ME. Then the motion field may be used later as CU level or sub-CU level MV candidates.
In some embodiments, the motion field of each reference pictures in both reference lists is traversed at 4×4 block level. FIG. 12 shows an example of unilateral Motion Estimation (ME) 1200 in the FRUC method. For each 4×4 block, if the motion associated to the block passing through a 4×4 block in the current picture and the block has not been assigned any interpolated motion, the motion of the reference block is scaled to the current picture according to the temporal distance TD0 and TD1 (the same way as that of MV scaling of TMVP in HEVC) and the scaled motion is assigned to the block in the current frame. If no scaled MV is assigned to a 4×4 block, the block's motion is marked as unavailable in the interpolated motion field.
Interpolation and Matching Cost
When a motion vector points to a fractional sample position, motion compensated interpolation is needed. To reduce complexity, bi-linear interpolation instead of regular 8-tap HEVC interpolation can be used for both bilateral matching and template matching.
The calculation of matching cost is a bit different at different steps. When selecting the candidate from the candidate set at the CU level, the matching cost can be the absolute sum difference (SAD) of bilateral matching or template matching. After the starting MV is determined, the matching cost C of bilateral matching at sub-CU level search is calculated as follows:
C=SAD+w·(|MV x −MV x s |+|MV y −MV y s|)  Eq. (14)
Here, w is a weighting factor. In some embodiments, w can be empirically set to 4. MV and MVs indicate the current MV and the starting MV, respectively. SAD may still be used as the matching cost of template matching at sub-CU level search.
In FRUC mode, MV is derived by using luma samples only. The derived motion will be used for both luma and chroma for MC inter prediction. After MV is decided, final MC is performed using 8-taps interpolation filter for luma and 4-taps interpolation filter for chroma.
MV refinement is a pattern based MV search with the criterion of bilateral matching cost or template matching cost. In the JEM, two search patterns are supported—an unrestricted center-biased diamond search (UCBDS) and an adaptive cross search for MV refinement at the CU level and sub-CU level, respectively. For both CU and sub-CU level MV refinement, the MV is directly searched at quarter luma sample MV accuracy, and this is followed by one-eighth luma sample MV refinement. The search range of MV refinement for the CU and sub-CU step are set equal to 8 luma samples.
In the bilateral matching merge mode, bi-prediction is applied because the motion information of a CU is derived based on the closest match between two blocks along the motion trajectory of the current CU in two different reference pictures. In the template matching merge mode, the encoder can choose among uni-prediction from list0, uni-prediction from list1, or bi-prediction for a CU. The selection ca be based on a template matching cost as follows:
If costBi <= factor * min (cost0, cost1)
  bi-prediction is used;
 Otherwise, if cost0 <= cost1
  uni-prediction from list0 is used;
 Otherwise,
  uni-prediction from list1 is used;
Here, cost0 is the SAD of list0 template matching, cost1 is the SAD of list1 template matching and costBi is the SAD of bi-prediction template matching. For example, when the value of factor is equal to 1.25, it means that the selection process is biased toward bi-prediction. The inter prediction direction selection can be applied to the CU-level template matching process.
The sub-block based prediction techniques discussed above can be used to obtain more accurate motion information of each sub-block when the size of sub-blocks is smaller. However, smaller sub-blocks impose a higher bandwidth requirement in motion compensation. On the other hand, motion information derived for smaller sub-block may not be accurate, especially when there are some noises in a block. Therefore, having a fixed sub-block size within one block may be suboptimal.
This document describes techniques that can be used in various embodiments to use non-uniform and/or variable sub-block sizes to address the bandwidth and accuracy problems that a fixed sub-block size introduces. The techniques, also referred to as interweaved prediction, use different ways of dividing a block so that motion information can be obtained more robustly without increasing bandwidth consumption.
Using the interweaved prediction techniques, a block is divided into sub-blocks with one or more dividing patterns. A dividing pattern represents the way to divide a block into sub-blocks, including the size of sub-blocks and the position of sub-blocks. For each dividing pattern, a corresponding prediction block may be generated by deriving motion information of each sub-block based on the dividing pattern. Therefore, in some embodiments, multiple prediction blocks may be generated by multiple dividing patterns even for one prediction direction. In some embodiments, for each prediction direction, only one dividing pattern may be applied.
FIG. 13 shows an example of interweaved prediction with two dividing patterns in accordance with the disclosed technology. A current block 1300 can be divided into multiple patterns. For example, as shown in FIG. 13 , the current block is divided into both Pattern 0 (1301) and Pattern 1 (1302). Two prediction blocks, P0 (1303) and P1 (1304), are generated. A final prediction block P (1305) of the current block 1300 can be generated by computing a weighted sum of P0 (1303) and P1 (1304).
More generally, given X dividing patterns, X prediction blocks of the current block, denoted as P0, P1, . . . , Px-1, can be generated by sub-block based prediction with the X dividing patterns. The final prediction of the current block, denoted as P, can be generated as
P ( x , y ) = Σ i = 0 X - 1 w i ( x , y ) × P i ( x , y ) Σ i = 0 X - 1 w i ( x , y ) Eq . ( 15 )
Here, (x, y) is the coordinate of a pixel in the block and wi(x, y) is the weighting value of Pi. By the way of example, and not by limitation, the weights can be expressed as:
Σi=0 X-1 w i(x,y)=(1<<N)  Eq. (16)
N is a non-negative value. Alternatively, the bit-shifting operation in Eq. (16) can also be expressed as:
Σi=0 X-1 w i(x,y)=(1<<N)  Eq. (17)
The sum of the weights being a power of two allows a more efficient computation of the weighted sum P by performing a bit-shifting operation instead of a floating-point division.
Dividing patterns can have different shapes, or sizes, or positions of sub-blocks. In some embodiments, a dividing pattern may include irregular sub-block sizes. FIGS. 14A-G show several examples of dividing patterns for a 16×16 block. In FIG. 14A, a block is divided into 4×4 sub-blocks in accordance with the disclosed technology. This pattern is also used in JEM. FIG. 14B shows an example of a block being divided into 8×8 sub-blocks in accordance with the disclosed technology. FIG. 14C shows an example of the block being divided into 8×4 sub-blocks in accordance with the disclosed technology. FIG. 14D shows an example of the block being divided into 4×8 sub-blocks in accordance with the disclosed technology. In FIG. 14E, a portion of the block is divided into 4×4 sub-blocks in accordance with the disclosed technology. The pixels at block boundaries are divided in smaller sub-blocks with sizes like 2×4, 4×2 or 2×2. Some sub-blocks may be merged to form larger sub-blocks. FIG. 14F shows an example of adjacent sub-blocks, such as 4×4 sub-blocks and 2×4 sub-blocks, that are merged to form larger sub-blocks with sizes like 6×4, 4×6 or 6×6. In FIG. 14G, a portion of the block is divided into 8×8 sub-blocks. The pixels at block boundaries are divided in smaller sub-blocks with sizes like 8×4, 4×8 or 4×4 instead.
The shapes and sizes of sub-blocks in sub-block based prediction can be determined based on the shape and/or size of the coding block and/or coded block information. Coded block information can include a type of coding algorithm used on the block and/or sub-block, such as whether the motion compensation prediction is (1) an affine prediction method, (2) an alternative temporal motion vector prediction method, (3) a spatial-temporal motion vector prediction method, (4) a bi-directional optical flow method, or (5) a frame-rate up conversion method. For example, in some embodiments, the sub-blocks have a size of 4×N (or 8×N, etc.) when the current block has a size of M×N. That is, the sub-blocks have the same height as the current block. In some embodiments, the sub-blocks have a size of M×4 (or M×8, etc.) when the current block has a size of M×N. That is, the sub-blocks have the same width as the current block. In some embodiments, the sub-blocks have a size of A×B with A>B (e.g., 8×4) when the current block has a size of M×N, where M>N. Alternatively, the sub-blocks can have the size of B×A (e.g. 4×8).
In some embodiments, the current block has a size of M×N. The sub-blocks have a size of A×B when M×N<=T (or Min(M, N)<=T, or Max(M, N)<=T, etc.), and the sub-blocks have a size of C×D when M×N>T (or Min(M, N)>T, or Max(M, N)>T, etc.), where A<=C and B<=D. For example, if M×N<=256, sub-blocks can be in a size of 4×4. In some implementations, the sub-blocks have a size of 8×8.
It is noted that the interweaved prediction techniques disclosed herein can be applied in one, some, or all coding techniques of sub-block based prediction. For example, the interweaved prediction techniques can be applied to affine prediction, while other coding techniques of sub-block based prediction (e.g., ATMVP, STMVP, FRUC or BIO) do not use the interweaved prediction. As another example, all of affine, ATMVP, and STMVP apply the interweaved prediction techniques disclosed herein.
FIG. 15A is an example flowchart of a method 1500 for improving motion compensation in a video system in accordance with the disclosed technology. The method 1500 includes, at 1502, selecting a set of pixels from a video frame to form a block. The method 1500 includes, at 1504, partitioning the block into a first set of sub-blocks according to a first pattern. The method 1500 includes, at 1506, generating a first intermediate prediction block based on the first set of sub-blocks. The method 1500 includes, at 1508, partitioning the block into a second set of sub-blocks according to a second pattern. At least one sub-block in the second set has a different dimension than a sub-block in the first set. The method 1500 includes, at 1510, generating a second intermediate prediction block based on the second set of sub-blocks. The method 1500 also includes, at 1512, determining a prediction block based on the first intermediate prediction block and the second intermediate prediction block.
In some embodiments, the method 1500 may be implemented without explicitly generating the intermediate prediction blocks. For example, the following operations may be performed for the generation of the prediction block: partitioning a video block into a first set of sub-blocks according to a first pattern, partitioning the video block into a second set of sub-blocks according to a second pattern, wherein at least one sub-block in the second set has a different size than a sub-block in the first set, and determining a prediction block that is a combination of a first intermediate prediction block predictively generated from the first set of sub-blocks and a second intermediate prediction block predictively generated from the second set of sub-blocks.
In some embodiments, the first intermediate prediction block or the second intermediate prediction block is generated using at least one of (1) an affine prediction method, (2) an alternative temporal motion vector prediction method, (3) a spatial-temporal motion vector prediction method, (4) a bi-directional optical flow method, or (5) a frame-rate up conversion method. Some example embodiments of these video coding methods have been disclosed in the present document.
In some embodiments, the sub-blocks in the first or the second set have a rectangular shape. For example, the rectangular shape may refer to a non-square shape where widths and heights are not equal to each other. In some embodiments, the sub-blocks in the first set of sub-blocks have non-uniform shapes. In some embodiments, the sub-blocks in the second set of sub-blocks have non-uniform shapes. The non-uniform shapes, for example, may include sub-blocks having different sizes in the first (or the second) set.
In some embodiments, the method includes determining the first pattern or the second pattern based on a size of the video block. For example, a tall rectangular block may be split into multiple horizontal sub-blocks. In some cases, a rectangular block may be split into multiple square sized sub-blocks. In some embodiments, the method includes determining the first pattern or the second pattern based on information from a second block that is temporally or spatially adjacent to the video block. For example, in some cases, the first or the second pattern used for the video block may be exactly same as at least one temporal or spatial neighbor.
In some embodiments, partitioning the block into the first set of sub-blocks is performed for a motion compensation of the block in a first direction. In some embodiments, partitioning the block into the second set of sub-blocks is performed for a motion compensation of the block in a second direction. The first direction and/or the second direction may be, for example, a backward direction for predictive coding (“B prediction”) or a forward direction for predictive coding (“P prediction”).
In some embodiments, partitioning the block into the first set of sub-blocks and partitioning the block into the second set of sub-blocks are performed for a motion compensation of the block in a first direction. In some embodiments, the method further includes performing a motion compensation of the block in a second direction by partitioning the block into a third set of sub-blocks according to a third pattern, generating a third intermediate prediction block based on the third set of sub-blocks, partitioning the block into a fourth set of sub-blocks according to a fourth pattern, wherein at least one sub-block in the fourth set has a different size than a sub-block in the third set, generating a fourth intermediate prediction block based on the fourth set of sub-blocks, determining a second prediction block based on the third intermediate prediction block and the fourth intermediate prediction block, and determining a third prediction block based on the prediction block and the second prediction block.
In some embodiments, the method includes transmitting, to a coding device in the block-based motion compensation video system, information of the first pattern and the second pattern for partitioning the block. In some embodiments, transmitting the information of the first pattern and the second pattern is performed at one of: (1) a sequence level, (2) a picture level, (3) a view level, (4) a slice level, (5) a Coding Tree Unit, (6) a Largest Coding Unit level, (7) a Coding Unit level, (8) a Prediction Unit level, (10) a Tree Unit level, or (11) a region level.
In some embodiments, determining the prediction result includes applying a first set of weights to the first intermediate prediction block to obtain a first weighted prediction block, applying a second set weights to the second intermediate prediction block to obtain a second weighted prediction block, and computing a weighted sum of the first weighted prediction block and the second weighted prediction block to obtain the prediction block.
In some embodiments, the first set of weights or the second set of weights includes fixed-weight values. In some embodiments, the first set of weights or the second set of weights is determined based on information from another block that is temporally or spatially adjacent to the block. In some embodiments, the first set of weights or the second set of weights is determined using a coding algorithm used for generating the first prediction block or the second prediction block. In some implementations, at least one value in the first set of weights is different than another value in the first set of weights. In some implementations, at least one value in the second set of weights is different than another value in the second set of weights. In some implementations, a sum of the weights is equal to a power of two.
In some embodiments, the method includes transmitting the weights to a coding device in the block-based motion compensation video system. In some embodiments, transmitting the weights is performed at one of: (1) a sequence level, (2) a picture level, (3) a view level, (4) a slice level, (5) a Coding Tree Unit, (6) a Largest Coding Unit level, (7) a Coding Unit level, (8) a Prediction Unit level, (10) a Tree Unit level, or (11) a region level.
FIG. 15B is an example flowchart of a method 1550 for improving block-based motion compensation in a video system in accordance with the disclosed technology. The method 1550 includes, at 1552, selecting a set of pixels from a video frame to form a block. The method 1550 includes, at 1554, dividing the block into multiple sub-blocks based on a size of the block or information from another block that is spatially or temporally adjacent to the block. At least one sub-block of the multiple sub-blocks has a different size than other sub-blocks. The method 1550 also includes, at 1556, generating motion vector predictions by applying a coding algorithm to the multiple sub-blocks. In some embodiments, the coding algorithm includes at least one of (1) an affine prediction method, (2) an alternative temporal motion vector prediction method, (3) a spatial-temporal motion vector prediction method, (4) a bi-directional optical flow method, or (5) a frame-rate up conversion method.
An alternative method includes dividing a video block into multiple sub-blocks based on a size of the video block or a type of a coding algorithm associated with the video block, wherein one sub-block of the multiple sub-blocks has a different size than other sub-blocks of the multiple sub-blocks, generating motion vector predictions by applying the coding algorithm to the multiple sub-blocks, and performing further processing of the video block using the motion vector predictions.
In the methods 1500 and 1550, partial interweaving may be implemented. Using this scheme, samples in a first subset of prediction samples are calculated as a weighted combination of the first intermediate prediction block and samples a second subset of the prediction samples are copied from sub-blocked based prediction wherein the first subset and the second subset are based on a dividing pattern. The first subset and the second subset may together make up the entire prediction block, e.g., the block that is currently being processed. As depicted in FIGS. 18A to 18C, in various examples, the second subset that is excluded from interweaving could be made up of (a) corner sub-blocks or (b) uppermost and lowermost row of sub-blocks or (c) left-most or right-most columns of sub-blocks. The size of the block being currently processed may be used as a condition for deciding whether to exclude certain sub-blocks from interweaved prediction. For example, certain conditions are described in this document.
As further described in the present document, the encoding process may refrain from checking affine mode for blocks that are split from a parent block, where the parent block itself is encoded with a mode different from affine mode.
FIG. 16 is a block diagram illustrating an example of the architecture for a computer system or other control device 1600 that can be utilized to implement various portions of the presently disclosed technology. In FIG. 16 , the computer system 1600 includes one or more processors 1605 and memory 1610 connected via an interconnect 1625. The interconnect 1625 may represent any one or more separate physical buses, point to point connections, or both, connected by appropriate bridges, adapters, or controllers. The interconnect 1625, therefore, may include, for example, a system bus, a Peripheral Component Interconnect (PCI) bus, a HyperTransport or industry standard architecture (ISA) bus, a small computer system interface (SCSI) bus, a universal serial bus (USB), IIC (I2C) bus, or an Institute of Electrical and Electronics Engineers (IEEE) standard 674 bus, sometimes referred to as “Firewire.”
The processor(s) 1605 may include central processing units (CPUs) to control the overall operation of, for example, the host computer. In certain embodiments, the processor(s) 1605 accomplish this by executing software or firmware stored in memory 1610. The processor(s) 1605 may be, or may include, one or more programmable general-purpose or special-purpose microprocessors, digital signal processors (DSPs), programmable controllers, application specific integrated circuits (ASICs), programmable logic devices (PLDs), or the like, or a combination of such devices.
The memory 1610 can be or include the main memory of the computer system. The memory 1610 represents any suitable form of random access memory (RAM), read-only memory (ROM), flash memory, or the like, or a combination of such devices. In use, the memory 1610 may contain, among other things, a set of machine instructions which, when executed by processor 1605, causes the processor 1605 to perform operations to implement embodiments of the presently disclosed technology.
Also connected to the processor(s) 1605 through the interconnect 1625 is a (optional) network adapter 1615. The network adapter 1615 provides the computer system 1600 with the ability to communicate with remote devices, such as the storage clients, and/or other storage servers, and may be, for example, an Ethernet adapter or Fiber Channel adapter.
FIG. 17 shows a block diagram of an example embodiment of a mobile device 1700 that can be utilized to implement various portions of the presently disclosed technology. The mobile device 1700 can be a laptop, a smartphone, a tablet, a camcorder, or other types of devices that are capable of processing videos. The mobile device 1700 includes a processor or controller 1701 to process data, and memory 1702 in communication with the processor 1701 to store and/or buffer data. For example, the processor 1701 can include a central processing unit (CPU) or a microcontroller unit (MCU). In some implementations, the processor 1701 can include a field-programmable gate-array (FPGA). In some implementations, the mobile device 1700 includes or is in communication with a graphics processing unit (GPU), video processing unit (VPU) and/or wireless communications unit for various visual and/or communications data processing functions of the smartphone device. For example, the memory 1702 can include and store processor-executable code, which when executed by the processor 1701, configures the mobile device 1700 to perform various operations, e.g., such as receiving information, commands, and/or data, processing information and data, and transmitting or providing processed information/data to another device, such as an actuator or external display. To support various functions of the mobile device 1700, the memory 1702 can store information and data, such as instructions, software, values, images, and other data processed or referenced by the processor 1701. For example, various types of Random Access Memory (RAM) devices, Read Only Memory (ROM) devices, Flash Memory devices, and other suitable storage media can be used to implement storage functions of the memory 1702. In some implementations, the mobile device 1700 includes an input/output (I/O) unit 1703 to interface the processor 1701 and/or memory 1702 to other modules, units or devices. For example, the I/O unit 1703 can interface the processor 1701 and memory 1702 with to utilize various types of wireless interfaces compatible with typical data communication standards, e.g., such as between the one or more computers in the cloud and the user device. In some implementations, the mobile device 1700 can interface with other devices using a wired connection via the I/O unit 1703. The I/O unit 1703 may include wireless sensors such as infrared detectors for detecting remote control signals, or other suitable wireless human interface techniques. The mobile device 1700 can also interface with other external interfaces, such as data storage, and/or visual or audio display devices 1704, to retrieve and transfer data and information that can be processed by the processor, stored in the memory, or exhibited on an output unit of a display device 1704 or an external device. For example, the display device 1704 can display a video frame modified based on the MVPs (e.g., a video frame that includes the prediction block 1305 as shown in FIG. 13 ) in accordance with the disclosed technology.
In some embodiments, a video decoder apparatus may implement a method of video decoding in which the improved block-based motion prediction as described herein is used for video decoding. The method may include forming a block of video using a set of pixels from a video frame. The block may be partitioned into a first set of sub-blocks according to a first pattern. A first intermediate prediction block may correspond to the first set of sub-blocks. The block may include a second set of sub-blocks according to a second pattern. At least one sub-block in the second set has a different size than a sub-block in the first set. The method may further determine a prediction block based on the first intermediate prediction block and a second intermediate prediction block that is generated from the second set of sub-blocks. Other features of this method may be similar to the above-described method 1500.
In some embodiments, a decoder-side method of video decoding may use block-based motion prediction for improving video quality by using blocks of a video frame for prediction, where a block corresponds to a set of pixel blocks. The block may be divided into multiple sub-blocks based on a size of the block or information from another block that is spatially or temporally adjacent to the block, wherein at least one sub-block of the multiple sub-blocks has a different size than other sub-blocks. The decoder may use motion vector predictions that are generated by applying a coding algorithm to the multiple sub-blocks. Other features of this method are described with respect to FIG. 15B and the corresponding description.
In some embodiments, the video decoding methods may be implemented using a decoding apparatus that is implemented on a hardware platform as described with respect to FIG. 16 and FIG. 17 .
Partial Interweaving
In some embodiments, partial interweaved prediction may be achieved as follow.
In some embodiments, interweaved prediction is applied to a part of the current block. Prediction samples at some positions are calculated as the weighted sum of two or more sub-block based predictions. Prediction samples at other positions are not used for the weighted sum. For example, these prediction samples are copied from the sub-block based prediction with a certain dividing pattern.
In some embodiments, the current block is predicted by sub-block based prediction P1 and P2 with dividing pattern D0 and dividing pattern D1, respectively. The final prediction is calculated as P=w0×P0+w1×P1. At some positions, w0≠0 and w1≠0. But at some other positions, w0=1 and w1=0, that is, interweaved prediction is not applied at those positions.
In some embodiments, interweaved prediction is not applied on four corner sub-blocks as shown in FIG. 18A.
In some embodiments, interweaved prediction is not applied on the left-most column of sub-blocks and right-most column of sub-blocks as shown in FIG. 18B.
In some embodiments, interweaved prediction is not applied on the top-most row of sub-blocks and bottom-most row of sub-blocks as shown in FIG. 18C.
Examples of Techniques incorporated within Encoder Embodiments
In some embodiments, interweaved prediction is not applied in the motion estimation (ME) process.
For example, interweaved prediction is not applied in the ME process for the 6-parameter affine prediction.
For example, interweaved prediction is not applied in the ME process if the size of the current block satisfies certain conditions such as follows. Here, it is assumed that the width and height of the current block is W and H respectively and T, T1, T2 are integer values:
W>=T1 and H>=T2;
W<=T1 and H<=T2;
W>=T1 or H>=T2;
W<=T1 or H<=T2;
W+H>=T
W+H<=T
W×H>=T
W×H<=T
For example, interweaved prediction is omitted in the ME process if the current block is split from a parent block, and the parent block does not choose affine mode at encoder.
Alternatively, affine mode is not checked at encoder if the current block is split from a parent block, and the parent block does not choose affine mode at encoder.
Table A illustrates example performance results using conventional 2×2 Affine prediction for a Random Access (RA) configuration.
TABLE A
Example Test Results from 2 × 2 Affine Prediction
Y U V EncT DecT
Class A1 −0.11% −0.18% −0.09% 139% 111%
Class A2  −0.9% −0.85% −0.68% 142% 125%
Class B −0.58% −0.51% −0.67% 136% 114%
Class C −0.26% −0.24% −0.24% 129% 108%
Class D −0.54% −0.52% −0.53% 130% 118%
Class F −0.89% −1.02% −0.97% 125% 108%
Overall −0.47% −0.44% −0.44% 136% 114%
Table B illustrates example performance results obtained by applying interweaved prediction on uni-prediction in accordance with an embodiment of the present technology. Table C illustrates example performance results obtained by applying interweaved prediction on bi-prediction in accordance with an embodiment of the present technology.
TABLE B
Example Test Results from Interleaved Prediction in Uni-prediction
Y U V EncT DecT
Class A1 −0.05% −0.14% −0.02% 101% 100%
Class A2 −0.55% −0.17% −0.11% 102% 101%
Class B −0.33% −0.17% −0.20% 101% 101%
Class C −0.15% −0.16% −0.04% 100% 100%
Class D −0.21% −0.09% −0.02% 106% 106%
Class F −0.39% −0.40% −0.39% 102% 102%
Overall −0.27% −0.16% −0.11% 101% 101%
TABLE C
Example Test Results from Interleaved Prediction in Bi-prediction
Y U V EncT DecT
Class A1 −0.09% −0.18% −0.12% 103% 102%
Class A2 −0.74% −0.40% −0.28% 104% 104%
Class B −0.37% −0.39% −0.35% 103% 102%
Class C −0.22% −0.19% −0.13% 102% 102%
Class D −0.42% −0.28% −0.32% 103% 102%
Class F −0.60% −0.64% −0.62% 102% 102%
Overall −0.38% −0.30% −0.23% 103% 102%
As shown in Table B and Table C, interweaved prediction achieves major coding gain with much lower complexity, compared to conventional 2×2 affine prediction based coding. In particular, interweaved prediction applied in bi-prediction achieves a coding gain of 0.38% as compared to 2×2 Affine method (0.47%). The encoding time and decoding time are 103% and 102% respectively as compared to 136% and 114% in the 2×2 Affine method.
FIG. 19 is a block diagram showing an example video processing system 1900 in which various techniques disclosed herein may be implemented. Various implementations may include some or all of the components of the system 1900. The system 1900 may include input 1902 for receiving video content. The video content may be received in a raw or uncompressed format, e.g., 8 or 10 bit multi-component pixel values, or may be in a compressed or encoded format. The input 1902 may represent a network interface, a peripheral bus interface, or a storage interface. Examples of network interface include wired interfaces such as Ethernet, passive optical network (PON), etc. and wireless interfaces such as Wi-Fi or cellular interfaces. Examples of a peripheral bus interface may include universal serial bus (USB) or high definition multimedia interface (HDMI) or Displayport, and so on. Examples of storage interfaces include SATA (serial advanced technology attachment), PCI, IDE interface, and the like.
The system 1900 may include a coding component 1904 that may implement the various coding methods described in the present document. The coding component 1904 may reduce the average bitrate of video from the input 1902 to the output of the coding component 1904. The coding techniques are therefore sometimes called video compression or video transcoding techniques. The output of the coding component 1904 may be either stored, or transmitted via a communication connected, as represented by the component 1906. The stored or communicated bitstream representation of the video received at the input 1902 may be used by the component 1906 for generating displayable video that is sent to a display interface 1908. The process of generating user-viewable video from the bitstream representation is sometimes called video decompression.
The techniques described in the present document may be embodied in various electronic devices such as mobile phones, laptops, smartphones or other devices that are capable of performing digital data processing and/or video display.
In one example aspect, a method of video processing includes partitioning a video block into a first set of sub-blocks according to a first pattern and partitioning the video block into a second set of sub-blocks according to a second pattern. At least one sub-block in the second set has a different dimension than a sub-block in the first set. The method also includes determining a prediction block that is a combination of a first intermediate prediction block generated from the first set of sub-blocks and a second intermediate prediction block generated from the second set of sub-blocks.
In some embodiments, the first intermediate prediction block or the second intermediate prediction block is generated using at least one of (1) an affine prediction method, (2) an alternative temporal motion vector prediction method, (3) a spatial-temporal motion vector prediction method, (4) a bi-directional optical flow method, or (5) a frame-rate up conversion method.
In some embodiments, the sub-blocks in the first or the second set have a rectangular shape. In some embodiments, the sub-blocks in the first set of sub-blocks have non-uniform shapes. In some embodiments, the sub-blocks in the second set of sub-blocks have non-uniform shapes.
In some embodiments, the method includes determining the first pattern or the second pattern based on a dimension of the video block. In some embodiments, the partitioning the video block into the first set of sub-blocks is performed for a motion compensation of the video block based on a reference picture in a first reference picture list. In some embodiments, the partitioning the block into the second set of sub-blocks is performed for a motion compensation of the video block based on a reference picture in a second reference picture list that is different from the first reference picture list. In some embodiments, the partitioning the video block into the second set of sub-blocks is performed for a motion compensation of the video block from a reference picture in a second reference picture list that is same as the first reference picture list. In some embodiments, the motion compensation of the video block from a reference picture in the second reference picture list is performed by partitioning the video block into a third set of sub-blocks according to a third pattern, generating a third intermediate prediction block based on the third set of sub-blocks, partitioning the video block into a fourth set of sub-blocks according to a fourth pattern, wherein at least one sub-block in the fourth set has a different dimension than a sub-block in the third set, generating a fourth intermediate prediction block based on the fourth set of sub-blocks, determining a second prediction block based on the third intermediate prediction block and the fourth intermediate prediction block, and determining a third prediction block based on the prediction block and the second prediction block.
In some embodiments, the prediction block is determined as a weighted combination of the first intermediate prediction block weighted using a first set of weights and the second intermediate prediction block weighted using a second set of weights. In some embodiments, the first set of weights or the second set of weights includes fixed-weight values. In some embodiments, at least one value in the first set of weights is different than another value in the first set of weights. In some embodiments, at least one value in the second set of weights is different than another value in the second set of weights.
In another example aspect, a video processing method includes dividing a video block into multiple sub-blocks based on a dimension of the video block or a type of a coding algorithm associated with the video block. One sub-block of the multiple sub-blocks has a different dimension than other sub-blocks of the multiple sub-blocks. The method also includes generating motion vector predictions by applying the coding algorithm to the multiple sub-blocks and performing further processing of the video block using the motion vector predictions.
In some embodiments, the coding algorithm includes at least one of (1) an affine prediction method, (2) an alternative temporal motion vector prediction method, (3) a spatial-temporal motion vector prediction method, (4) a bi-directional optical flow method, or (5) a frame-rate up conversion method. In some embodiments, dimensions of the video block are M×N, wherein M>N, a particular sub-block of the video block has a size A×B, wherein A>B, and where M, N, A and B are integers. In some embodiments, dimensions of the block are M×N, wherein M<=N, a particular sub-block of the video block has a size A×B, wherein A<=B. In some embodiments, the method includes performing a prediction for each sub-block in the first set of sub-blocks to determine the first intermediate prediction block. In some embodiments, the method includes performing a prediction for each sub-block in the second set of sub-blocks to determine the second intermediate prediction block.
From the foregoing, it will be appreciated that specific embodiments of the presently disclosed technology have been described herein for purposes of illustration, but that various modifications may be made without deviating from the scope of the invention. Accordingly, the presently disclosed technology is not limited except as by the appended claims.
The disclosed and other embodiments, modules and the functional operations described in this document can be implemented in digital electronic circuitry, or in computer software, firmware, or hardware, including the structures disclosed in this document and their structural equivalents, or in combinations of one or more of them. The disclosed and other embodiments can be implemented as one or more computer program products, i.e., one or more modules of computer program instructions encoded on a computer readable medium for execution by, or to control the operation of, data processing apparatus. The computer readable medium can be a machine-readable storage device, a machine-readable storage substrate, a memory device, a composition of matter effecting a machine-readable propagated signal, or a combination of one or more them. The term “data processing apparatus” encompasses all apparatus, devices, and machines for processing data, including by way of example a programmable processor, a computer, or multiple processors or computers. The apparatus can include, in addition to hardware, code that creates an execution environment for the computer program in question, e.g., code that constitutes processor firmware, a protocol stack, a database management system, an operating system, or a combination of one or more of them. A propagated signal is an artificially generated signal, e.g., a machine-generated electrical, optical, or electromagnetic signal, that is generated to encode information for transmission to suitable receiver apparatus.
A computer program (also known as a program, software, software application, script, or code) can be written in any form of programming language, including compiled or interpreted languages, and it can be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment. A computer program does not necessarily correspond to a file in a file system. A program can be stored in a portion of a file that holds other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub programs, or portions of code). A computer program can be deployed to be executed on one computer or on multiple computers that are located at one site or distributed across multiple sites and interconnected by a communication network.
The processes and logic flows described in this document can be performed by one or more programmable processors executing one or more computer programs to perform functions by operating on input data and generating output. The processes and logic flows can also be performed by, and apparatus can also be implemented as, special purpose logic circuitry, e.g., an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit).
Processors suitable for the execution of a computer program include, by way of example, both general and special purpose microprocessors, and any one or more processors of any kind of digital computer. Generally, a processor will receive instructions and data from a read only memory or a random-access memory or both. The essential elements of a computer are a processor for performing instructions and one or more memory devices for storing instructions and data. Generally, a computer will also include, or be operatively coupled to receive data from or transfer data to, or both, one or more mass storage devices for storing data, e.g., magnetic, magneto optical disks, or optical disks. However, a computer need not have such devices. Computer readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media and memory devices, including by way of example semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices; magnetic disks, e.g., internal hard disks or removable disks; magneto optical disks; and CD ROM and DVD-ROM disks. The processor and the memory can be supplemented by, or incorporated in, special purpose logic circuitry.
While this patent document contains many specifics, these should not be construed as limitations on the scope of any invention or of what may be claimed, but rather as descriptions of features that may be specific to particular embodiments of particular inventions. Certain features that are described in this patent document in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination. Moreover, although features may be described above as acting in certain combinations and even initially claimed as such, one or more features from a claimed combination can in some cases be excised from the combination, and the claimed combination may be directed to a subcombination or variation of a subcombination.
Similarly, while operations are depicted in the drawings in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order, or that all illustrated operations be performed, to achieve desirable results. Moreover, the separation of various system components in the embodiments described in this patent document should not be understood as requiring such separation in all embodiments.
Only a few implementations and examples are described and other implementations, enhancements and variations can be made based on what is described and illustrated in this patent document.

Claims (20)

What is claimed is:
1. A method of video processing, comprising:
partitioning a video block of a current picture into a first set of sub-blocks according to a first pattern;
partitioning the video block into a second set of sub-blocks according to a second pattern, wherein at least one sub-block in the second set has a different dimension than a sub-block in the first set; and
determining a prediction block for the video block, wherein the prediction block is a combination of a first intermediate prediction block generated from the first set of sub-blocks and a second intermediate prediction block generated from the second set of sub-blocks,
wherein the partitioning the video block into the first set of sub-blocks is performed for a motion compensation of the video block based on a reference picture in a first reference picture list, and the partitioning the video block into the second set of sub-blocks is performed for the motion compensation of the video block based on a reference picture in a second reference picture list, wherein reference pictures in the first reference picture list are temporally at a different side of the current picture than reference pictures in the second reference picture list.
2. The method of claim 1, wherein the first intermediate prediction block or the second intermediate prediction block is generated using at least one of (1) an affine prediction method, (2) an alternative temporal motion vector prediction method, (3) a spatial-temporal motion vector prediction method, (4) a bi-directional optical flow method, or (5) a frame-rate up conversion method.
3. The method of claim 1, wherein the sub-blocks in the first or the second set have a rectangular shape.
4. The method of claim 1, wherein the sub-blocks in the first or the second set have non-uniform shapes.
5. The method of claim 1, comprising:
determining the first pattern or the second pattern based on a dimension of the video block.
6. The method of claim 1, wherein the partitioning the video block into the first set of sub-blocks is performed for a motion compensation of the video block based on a reference picture in a first reference picture list, and the partitioning the video block into the second set of sub-blocks is performed for a motion compensation of the video block from a reference picture in a second reference picture list that is same as the first reference picture list.
7. The method of claim 6, wherein the motion compensation of the video block from a reference picture in the second reference picture list is performed by:
partitioning the video block into a third set of sub-blocks according to a third pattern;
generating a third intermediate prediction block based on the third set of sub-blocks;
partitioning the video block into a fourth set of sub-blocks according to a fourth pattern, wherein at least one sub-block in the fourth set has a different dimension than a sub-block in the third set;
generating a fourth intermediate prediction block based on the fourth set of sub-blocks;
determining a second prediction block based on the third intermediate prediction block and the fourth intermediate prediction block; and
determining a third prediction block based on the prediction block and the second prediction block.
8. The method of claim 1, wherein the prediction block is determined as a weighted combination of the first intermediate prediction block weighted using a first set of weights and the second intermediate prediction block weighted using a second set of weights.
9. The method of claim 8, wherein the first set of weights or the second set of weights includes fixed-weight values.
10. The method of claim 9, wherein at least one value in the first set of weights is different than another value in the first set of weights.
11. The method of claim 10, wherein at least one value in the second set of weights is different than another value in the second set of weights.
12. The method of claim 1, comprising:
performing a prediction for each sub-block in the first set of sub-blocks to determine the first intermediate prediction block.
13. The method of claim 1, comprising:
performing a prediction for each sub-block in the second set of sub-blocks to determine the second intermediate prediction block.
14. A video processing apparatus comprising a processor and a non-transitory memory with instructions thereon, wherein the instructions upon execution by the processor, cause the processor to:
partition a video block of a current picture into a first set of sub-blocks according to a first pattern;
partition the video block into a second set of sub-blocks according to a second pattern, wherein at least one sub-block in the second set has a different dimension than a sub-block in the first set; and
determine a prediction block for the video block, wherein the prediction block is a combination of a first intermediate prediction block generated from the first set of sub-blocks and a second intermediate prediction block generated from the second set of sub-blocks,
wherein the partitioning the video block into the first set of sub-blocks is performed for a motion compensation of the video block based on a reference picture in a first reference picture list, and the partitioning the video block into the second set of sub-blocks is performed for the motion compensation of the video block based on a reference picture in a second reference picture list, wherein reference pictures in the first reference picture list are temporally at a different side of the current picture than reference pictures in the second reference picture list.
15. The video processing apparatus of claim 14, wherein the first intermediate prediction block or the second intermediate prediction block is generated using at least one of (1) an affine prediction method, (2) an alternative temporal motion vector prediction method, (3) a spatial-temporal motion vector prediction method, (4) a bi-directional optical flow method, or (5) a frame-rate up conversion method.
16. The video processing apparatus of claim 14, wherein the sub-blocks in the first or the second set have a rectangular shape.
17. The video processing apparatus of claim 14, wherein the sub-blocks in the first or the second set have non-uniform shapes.
18. The video processing apparatus of claim 14, wherein the instructions upon execution by the processor, further cause the processor to:
determine the first pattern or the second pattern based on a dimension of the video block.
19. The video processing apparatus of claim 14, wherein the prediction block is determined as a weighted combination of the first intermediate prediction block weighted using a first set of weights and the second intermediate prediction block weighted using a second set of weights.
20. A non-transitory computer-readable storage medium storing instructions that cause a processor to:
partition a video block of a current picture into a first set of sub-blocks according to a first pattern;
partition the video block into a second set of sub-blocks according to a second pattern, wherein at least one sub-block in the second set has a different dimension than a sub-block in the first set; and
determine a prediction block for the video block, wherein the prediction block is a combination of a first intermediate prediction block generated from the first set of sub-blocks and a second intermediate prediction block generated from the second set of sub-blocks,
wherein the partitioning the video block into the first set of sub-blocks is performed for a motion compensation of the video block based on a reference picture in a first reference picture list, and the partitioning the video block into the second set of sub-blocks is performed for the motion compensation of the video block based on a reference picture in a second reference picture list, wherein reference pictures in the first reference picture list are temporally at a different side of the current picture than reference pictures in the second reference picture list.
US16/951,137 2018-05-31 2020-11-18 Concept of interweaved prediction Active 2039-11-14 US11871022B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/514,228 US20240107053A1 (en) 2018-05-31 2023-11-20 Concept Of Interweaved Prediction

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN2018089242 2018-05-31
CNPCT/CN2018/089242 2018-05-31
WOPCT/CN2018/089242 2018-05-31
PCT/IB2019/054467 WO2019229683A1 (en) 2018-05-31 2019-05-30 Concept of interweaved prediction

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
PCT/IB2019/054467 Continuation WO2019229683A1 (en) 2018-05-31 2019-05-30 Concept of interweaved prediction

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/514,228 Continuation US20240107053A1 (en) 2018-05-31 2023-11-20 Concept Of Interweaved Prediction

Publications (2)

Publication Number Publication Date
US20210092431A1 US20210092431A1 (en) 2021-03-25
US11871022B2 true US11871022B2 (en) 2024-01-09

Family

ID=67145839

Family Applications (2)

Application Number Title Priority Date Filing Date
US16/951,137 Active 2039-11-14 US11871022B2 (en) 2018-05-31 2020-11-18 Concept of interweaved prediction
US18/514,228 Pending US20240107053A1 (en) 2018-05-31 2023-11-20 Concept Of Interweaved Prediction

Family Applications After (1)

Application Number Title Priority Date Filing Date
US18/514,228 Pending US20240107053A1 (en) 2018-05-31 2023-11-20 Concept Of Interweaved Prediction

Country Status (4)

Country Link
US (2) US11871022B2 (en)
CN (3) CN115334318A (en)
TW (2) TWI750475B (en)
WO (2) WO2019229683A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12113984B2 (en) 2019-01-02 2024-10-08 Beijing Bytedance Network Technology Co., Ltd Motion vector derivation between color components

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019229683A1 (en) 2018-05-31 2019-12-05 Beijing Bytedance Network Technology Co., Ltd. Concept of interweaved prediction
CN110602493B (en) * 2018-09-19 2022-06-10 北京达佳互联信息技术有限公司 Method and equipment for interlaced prediction of affine motion compensation
WO2020084476A1 (en) 2018-10-22 2020-04-30 Beijing Bytedance Network Technology Co., Ltd. Sub-block based prediction
WO2020084552A1 (en) 2018-10-24 2020-04-30 Beijing Bytedance Network Technology Co., Ltd. Motion candidate derivation based on spatial neighboring block in sub-block motion vector prediction
WO2020098644A1 (en) 2018-11-12 2020-05-22 Beijing Bytedance Network Technology Co., Ltd. Bandwidth control methods for inter prediction
CN113170171B (en) 2018-11-20 2024-04-12 北京字节跳动网络技术有限公司 Prediction refinement combining inter intra prediction modes
CN117319644A (en) 2018-11-20 2023-12-29 北京字节跳动网络技术有限公司 Partial position based difference calculation
KR102660160B1 (en) 2018-11-22 2024-04-24 베이징 바이트댄스 네트워크 테크놀로지 컴퍼니, 리미티드 Coordination method for subblock-based inter prediction
WO2020143826A1 (en) * 2019-01-13 2020-07-16 Beijing Bytedance Network Technology Co., Ltd. Interaction between interweaved prediction and other coding tools
US11025951B2 (en) * 2019-01-13 2021-06-01 Tencent America LLC Method and apparatus for video coding
CN113366855A (en) 2019-02-03 2021-09-07 北京字节跳动网络技术有限公司 Condition-based asymmetric quadtree partitioning
WO2020177755A1 (en) 2019-03-06 2020-09-10 Beijing Bytedance Network Technology Co., Ltd. Usage of converted uni-prediction candidate
US11323731B2 (en) * 2019-03-08 2022-05-03 Tencent America LLC Method and apparatus for video coding
KR102610709B1 (en) 2019-04-02 2023-12-05 베이징 바이트댄스 네트워크 테크놀로지 컴퍼니, 리미티드 Decoder side motion vector derivation
EP3997877A4 (en) 2019-08-13 2023-05-24 Beijing Bytedance Network Technology Co., Ltd. Motion precision in sub-block based inter prediction
CN114762330A (en) 2019-09-22 2022-07-15 北京字节跳动网络技术有限公司 Sub-picture encoding and decoding of video
KR20220153064A (en) * 2020-03-19 2022-11-17 에프쥐 이노베이션 컴퍼니 리미티드 Device and method for coding video data

Citations (73)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6489995B1 (en) 1998-10-22 2002-12-03 Sony Corporation Method and apparatus for motion vector concealment
US6807231B1 (en) 1997-09-12 2004-10-19 8×8, Inc. Multi-hypothesis motion-compensated video image predictor
US20060193388A1 (en) 2003-06-10 2006-08-31 Renssalear Polytechnic Institute (Rpi) Method and apparatus for scalable motion vector coding
US20060268166A1 (en) * 2005-05-26 2006-11-30 Frank Bossen Method and apparatus for coding motion and prediction weighting parameters
TW200644644A (en) 2004-12-06 2006-12-16 Broadcom Corp Two processor architecture supporting decoupling of outer loop and inner loop in video decoder
CN101252686A (en) 2008-03-20 2008-08-27 上海交通大学 Undamaged encoding and decoding method and system based on interweave forecast
CN101350920A (en) 2007-07-17 2009-01-21 北京华辰广正科技发展有限公司 Method for estimating global motion facing to panorama video
CN101491107A (en) 2006-07-07 2009-07-22 艾利森电话股份有限公司 Video data management
US20090232207A1 (en) 2008-03-12 2009-09-17 Samsung Electronics Co., Ltd. Method and apparatus for encoding/decoding image based on intra prediction
CN101621693A (en) 2009-07-31 2010-01-06 重庆大学 Frame frequency lifting method for combining target partition and irregular block compensation
CN101626505A (en) 2008-07-11 2010-01-13 浙江大学 Mode processing method and device thereof of duplex-prediction
JP2010068103A (en) 2008-09-09 2010-03-25 Fujitsu Ltd Encoding device and encoding program
US20100118943A1 (en) 2007-01-09 2010-05-13 Kabushiki Kaisha Toshiba Method and apparatus for encoding and decoding image
CN101766030A (en) 2007-07-31 2010-06-30 三星电子株式会社 Use video coding and the coding/decoding method and the equipment of weight estimation
CN101833768A (en) 2009-03-12 2010-09-15 索尼株式会社 Method and system for carrying out reliability classification on motion vector in video
US7801217B2 (en) 2002-10-01 2010-09-21 Thomson Licensing Implicit weighting of reference pictures in a video encoder
US20110122942A1 (en) 2009-11-20 2011-05-26 Texas Instruments Incorporated Techniques for perceptual encoding of video frames
US20110200110A1 (en) 2010-02-18 2011-08-18 Qualcomm Incorporated Smoothing overlapped regions resulting from geometric motion partitioning
US8204109B2 (en) 2003-03-28 2012-06-19 Etiip Holdings Inc. Overcomplete basis transform-based motion residual frame coding method and apparatus for video compression
CN102577388A (en) 2009-09-30 2012-07-11 索尼公司 Image-processing device and method
US20130128974A1 (en) 2011-11-18 2013-05-23 Qualcomm Incorporated Adaptive overlapped block motion compensation
US20140044179A1 (en) * 2012-08-07 2014-02-13 Qualcomm Incorporated Multi-hypothesis motion compensation for scalable video coding and 3d video coding
TW201433153A (en) 2012-09-07 2014-08-16 Vid Scale Inc Reference picture lists modification
CN104168483A (en) 2014-07-08 2014-11-26 大连民族学院 Video compression method and system
US20150016528A1 (en) 2013-07-15 2015-01-15 Ati Technologies Ulc Apparatus and method for fast multiview video coding
TW201507443A (en) 2013-05-15 2015-02-16 Vid Scale Inc Single loop decoding based multiple layer video coding
CN104488271A (en) 2013-07-26 2015-04-01 北京大学深圳研究生院 P frame-based multi-hypothesis motion compensation method
CN105103554A (en) 2013-03-28 2015-11-25 华为技术有限公司 Method for protecting video frame sequence against packet loss
US20150341657A1 (en) 2013-01-04 2015-11-26 Patrice Onno Encoding and Decoding Method and Devices, and Corresponding Computer Programs and Computer Readable Media
US20150373343A1 (en) 2014-06-20 2015-12-24 Qualcomm Incorporated Representation format update in multi-layer codecs
CN105791858A (en) 2010-04-14 2016-07-20 联发科技股份有限公司 Method for performing localized multihypothesis prediction, and associated apparatus
CN106303544A (en) 2015-05-26 2017-01-04 华为技术有限公司 A kind of video coding-decoding method, encoder
US9544601B2 (en) 2013-10-15 2017-01-10 Qualcomm Incorporated Wedgelet pattern extension for depth intra coding
US20170048552A1 (en) 2014-05-05 2017-02-16 Jicheng An Method and apparatus for determining residue transform tree representation
WO2017059926A1 (en) 2015-10-09 2017-04-13 Telefonaktiebolaget Lm Ericsson (Publ) Cross component prediction in video coding
CN106688237A (en) 2014-09-30 2017-05-17 凯迪迪爱通信技术有限公司 Moving image coding device, moving image decoding device, moving image compression and transmission system, moving image coding method, moving image decoding method, and program
US20170168709A1 (en) 2014-08-28 2017-06-15 Qualcomm Incorporated Object selection based on region of interest fusion
US20170214932A1 (en) 2014-07-18 2017-07-27 Mediatek Singapore Pte. Ltd Method of Motion Vector Derivation for Video Coding
US20170223377A1 (en) 2016-01-29 2017-08-03 Google Inc. Last frame motion vector partitioning
US9736481B2 (en) 2014-03-14 2017-08-15 Qualcomm Incorporated Quantization parameters for color-space conversion coding
CN107231557A (en) 2016-03-25 2017-10-03 谷歌公司 Reset for the intelligence in the recurrence block subregion of the senior infra-frame prediction in Video coding
US9860562B2 (en) 2014-09-30 2018-01-02 Hfi Innovation Inc. Method of lookup table size reduction for depth modelling mode in depth coding
US9860559B2 (en) 2014-03-17 2018-01-02 Mediatek Singapore Pte. Ltd. Method of video coding using symmetric intra block copy
US20180014017A1 (en) 2015-02-06 2018-01-11 Microsoft Technology Licensing, Llc Skipping evaluation stages during media encoding
US9912925B2 (en) 2013-12-13 2018-03-06 Vid Scale, Inc. Providing 3D look-up table (LUT) estimation for color gamut scalability
CN108028933A (en) 2015-09-10 2018-05-11 三星电子株式会社 Video coding and decoding method and device
CN108109629A (en) 2016-11-18 2018-06-01 南京大学 A kind of more description voice decoding methods and system based on linear predictive residual classification quantitative
TW201820872A (en) 2016-11-29 2018-06-01 聯發科技股份有限公司 Method and apparatus of merge mode derivation for video coding
US9998742B2 (en) 2015-01-27 2018-06-12 Qualcomm Incorporated Adaptive cross component residual prediction
CN108271023A (en) 2017-01-04 2018-07-10 华为技术有限公司 Image prediction method and relevant device
US20180213239A1 (en) 2013-02-11 2018-07-26 Google Llc Motion Vector Dependent Spatial Transformation in Video Coding
US10057578B2 (en) 2014-10-07 2018-08-21 Qualcomm Incorporated QP derivation and offset for adaptive color transform in video coding
CN108702509A (en) 2016-02-25 2018-10-23 株式会社Kt Method and apparatus for handling vision signal
CN108781282A (en) 2016-03-21 2018-11-09 高通股份有限公司 Luminance information is used for by colorimetric prediction with independent luma-chroma frame in video coding
TW201841505A (en) 2017-01-05 2018-11-16 聯發科技股份有限公司 Decoder-side motion vector restoration for video coding
TW201902214A (en) 2017-03-30 2019-01-01 聯發科技股份有限公司 Sub-prediction unit temporal motion vector prediction for video codec
US20190045192A1 (en) 2018-06-29 2019-02-07 Intel Corporation Global motion estimation and modeling for accurate global motion compensation for efficient video processing or coding
US10277910B2 (en) 2015-01-29 2019-04-30 Vid Scale, Inc. Escape color coding for palette coding mode
US20190230350A1 (en) * 2016-05-13 2019-07-25 Vid Scale, Inc Systems and methods for generalized multi-hypothesis prediction for video coding
US10375411B2 (en) 2013-03-15 2019-08-06 Qualcomm Incorporated Predictor for depth map intra coding
US20190246122A1 (en) 2018-02-08 2019-08-08 Qualcomm Incorporated Palette coding for video coding
US20190273943A1 (en) 2016-10-10 2019-09-05 Sharp Kabushiki Kaisha Systems and methods for performing motion compensation for coding of video data
US10462439B2 (en) 2015-10-02 2019-10-29 Vid Scale, Inc. Color correction with a lookup table
US10469847B2 (en) 2014-09-12 2019-11-05 Vid Scale, Inc. Inter-component de-correlation for video coding
US10477214B2 (en) 2013-12-30 2019-11-12 Hfi Innovation Inc. Method and apparatus for scaling parameter coding for inter-component residual prediction
WO2019229705A1 (en) 2018-05-31 2019-12-05 Beijing Bytedance Network Technology Co., Ltd. Weighted interweaved prediction
WO2020008325A1 (en) 2018-07-01 2020-01-09 Beijing Bytedance Network Technology Co., Ltd. Improvement of interweaved prediction
US20200112740A1 (en) 2018-10-04 2020-04-09 Qualcomm Incorporated Affine restrictions for the worst-case bandwidth reduction in video coding
US20200221120A1 (en) 2017-06-26 2020-07-09 Interdigital Vc Holdings, Inc. Multiple predictor candidates for motion compensation
US20200228815A1 (en) 2019-01-11 2020-07-16 Tencent America LLC Method and apparatus for video coding
US10812835B2 (en) 2016-06-30 2020-10-20 Huawei Technologies Co., Ltd. Encoding method and apparatus and decoding method and apparatus
US20210029356A1 (en) 2018-06-21 2021-01-28 Beijing Bytedance Network Technology Co., Ltd. Sub-block mv inheritance between color components
US20210297673A1 (en) 2019-01-02 2021-09-23 Beijing Bytedance Network Technology Co., Ltd. Motion vector derivation between color components

Patent Citations (79)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6807231B1 (en) 1997-09-12 2004-10-19 8×8, Inc. Multi-hypothesis motion-compensated video image predictor
US6489995B1 (en) 1998-10-22 2002-12-03 Sony Corporation Method and apparatus for motion vector concealment
US7801217B2 (en) 2002-10-01 2010-09-21 Thomson Licensing Implicit weighting of reference pictures in a video encoder
US8204109B2 (en) 2003-03-28 2012-06-19 Etiip Holdings Inc. Overcomplete basis transform-based motion residual frame coding method and apparatus for video compression
US20060193388A1 (en) 2003-06-10 2006-08-31 Renssalear Polytechnic Institute (Rpi) Method and apparatus for scalable motion vector coding
TW200644644A (en) 2004-12-06 2006-12-16 Broadcom Corp Two processor architecture supporting decoupling of outer loop and inner loop in video decoder
US20060268166A1 (en) * 2005-05-26 2006-11-30 Frank Bossen Method and apparatus for coding motion and prediction weighting parameters
CN101491107A (en) 2006-07-07 2009-07-22 艾利森电话股份有限公司 Video data management
US20100118943A1 (en) 2007-01-09 2010-05-13 Kabushiki Kaisha Toshiba Method and apparatus for encoding and decoding image
CN101350920A (en) 2007-07-17 2009-01-21 北京华辰广正科技发展有限公司 Method for estimating global motion facing to panorama video
CN101766030A (en) 2007-07-31 2010-06-30 三星电子株式会社 Use video coding and the coding/decoding method and the equipment of weight estimation
US20090232207A1 (en) 2008-03-12 2009-09-17 Samsung Electronics Co., Ltd. Method and apparatus for encoding/decoding image based on intra prediction
CN101252686A (en) 2008-03-20 2008-08-27 上海交通大学 Undamaged encoding and decoding method and system based on interweave forecast
CN101626505A (en) 2008-07-11 2010-01-13 浙江大学 Mode processing method and device thereof of duplex-prediction
JP2010068103A (en) 2008-09-09 2010-03-25 Fujitsu Ltd Encoding device and encoding program
CN101833768A (en) 2009-03-12 2010-09-15 索尼株式会社 Method and system for carrying out reliability classification on motion vector in video
CN101621693A (en) 2009-07-31 2010-01-06 重庆大学 Frame frequency lifting method for combining target partition and irregular block compensation
US20120219216A1 (en) 2009-09-30 2012-08-30 Kazushi Sato Image processing device and method
CN102577388A (en) 2009-09-30 2012-07-11 索尼公司 Image-processing device and method
US20110122942A1 (en) 2009-11-20 2011-05-26 Texas Instruments Incorporated Techniques for perceptual encoding of video frames
US20110200110A1 (en) 2010-02-18 2011-08-18 Qualcomm Incorporated Smoothing overlapped regions resulting from geometric motion partitioning
CN105791858A (en) 2010-04-14 2016-07-20 联发科技股份有限公司 Method for performing localized multihypothesis prediction, and associated apparatus
US20130128974A1 (en) 2011-11-18 2013-05-23 Qualcomm Incorporated Adaptive overlapped block motion compensation
US20140044179A1 (en) * 2012-08-07 2014-02-13 Qualcomm Incorporated Multi-hypothesis motion compensation for scalable video coding and 3d video coding
TW201433153A (en) 2012-09-07 2014-08-16 Vid Scale Inc Reference picture lists modification
US20150341657A1 (en) 2013-01-04 2015-11-26 Patrice Onno Encoding and Decoding Method and Devices, and Corresponding Computer Programs and Computer Readable Media
US20180213239A1 (en) 2013-02-11 2018-07-26 Google Llc Motion Vector Dependent Spatial Transformation in Video Coding
US10375411B2 (en) 2013-03-15 2019-08-06 Qualcomm Incorporated Predictor for depth map intra coding
CN105103554A (en) 2013-03-28 2015-11-25 华为技术有限公司 Method for protecting video frame sequence against packet loss
TW201507443A (en) 2013-05-15 2015-02-16 Vid Scale Inc Single loop decoding based multiple layer video coding
US20150016528A1 (en) 2013-07-15 2015-01-15 Ati Technologies Ulc Apparatus and method for fast multiview video coding
CN104488271A (en) 2013-07-26 2015-04-01 北京大学深圳研究生院 P frame-based multi-hypothesis motion compensation method
US9544601B2 (en) 2013-10-15 2017-01-10 Qualcomm Incorporated Wedgelet pattern extension for depth intra coding
US20190379870A1 (en) 2013-12-13 2019-12-12 Vid Scale, Inc. Providing 3d look-up table (lut) estimation for color gamut scalability
US10440340B2 (en) 2013-12-13 2019-10-08 Vid Scale, Inc. Providing 3D look-up table (LUT) estimation for color gamut scalability
US9912925B2 (en) 2013-12-13 2018-03-06 Vid Scale, Inc. Providing 3D look-up table (LUT) estimation for color gamut scalability
US10477214B2 (en) 2013-12-30 2019-11-12 Hfi Innovation Inc. Method and apparatus for scaling parameter coding for inter-component residual prediction
US9736481B2 (en) 2014-03-14 2017-08-15 Qualcomm Incorporated Quantization parameters for color-space conversion coding
US9860559B2 (en) 2014-03-17 2018-01-02 Mediatek Singapore Pte. Ltd. Method of video coding using symmetric intra block copy
US20170048552A1 (en) 2014-05-05 2017-02-16 Jicheng An Method and apparatus for determining residue transform tree representation
US20150373343A1 (en) 2014-06-20 2015-12-24 Qualcomm Incorporated Representation format update in multi-layer codecs
CN104168483A (en) 2014-07-08 2014-11-26 大连民族学院 Video compression method and system
US20170214932A1 (en) 2014-07-18 2017-07-27 Mediatek Singapore Pte. Ltd Method of Motion Vector Derivation for Video Coding
US20170168709A1 (en) 2014-08-28 2017-06-15 Qualcomm Incorporated Object selection based on region of interest fusion
US10469847B2 (en) 2014-09-12 2019-11-05 Vid Scale, Inc. Inter-component de-correlation for video coding
US9860562B2 (en) 2014-09-30 2018-01-02 Hfi Innovation Inc. Method of lookup table size reduction for depth modelling mode in depth coding
US9986257B2 (en) 2014-09-30 2018-05-29 Hfi Innovation Inc. Method of lookup table size reduction for depth modelling mode in depth coding
CN106688237A (en) 2014-09-30 2017-05-17 凯迪迪爱通信技术有限公司 Moving image coding device, moving image decoding device, moving image compression and transmission system, moving image coding method, moving image decoding method, and program
US10057578B2 (en) 2014-10-07 2018-08-21 Qualcomm Incorporated QP derivation and offset for adaptive color transform in video coding
US9998742B2 (en) 2015-01-27 2018-06-12 Qualcomm Incorporated Adaptive cross component residual prediction
US10277910B2 (en) 2015-01-29 2019-04-30 Vid Scale, Inc. Escape color coding for palette coding mode
US20180014017A1 (en) 2015-02-06 2018-01-11 Microsoft Technology Licensing, Llc Skipping evaluation stages during media encoding
CN106303544A (en) 2015-05-26 2017-01-04 华为技术有限公司 A kind of video coding-decoding method, encoder
CN108028933A (en) 2015-09-10 2018-05-11 三星电子株式会社 Video coding and decoding method and device
US10462439B2 (en) 2015-10-02 2019-10-29 Vid Scale, Inc. Color correction with a lookup table
WO2017059926A1 (en) 2015-10-09 2017-04-13 Telefonaktiebolaget Lm Ericsson (Publ) Cross component prediction in video coding
US20170223377A1 (en) 2016-01-29 2017-08-03 Google Inc. Last frame motion vector partitioning
CN108702509A (en) 2016-02-25 2018-10-23 株式会社Kt Method and apparatus for handling vision signal
CN108781282A (en) 2016-03-21 2018-11-09 高通股份有限公司 Luminance information is used for by colorimetric prediction with independent luma-chroma frame in video coding
CN107231557A (en) 2016-03-25 2017-10-03 谷歌公司 Reset for the intelligence in the recurrence block subregion of the senior infra-frame prediction in Video coding
US20190230350A1 (en) * 2016-05-13 2019-07-25 Vid Scale, Inc Systems and methods for generalized multi-hypothesis prediction for video coding
US10812835B2 (en) 2016-06-30 2020-10-20 Huawei Technologies Co., Ltd. Encoding method and apparatus and decoding method and apparatus
US20190273943A1 (en) 2016-10-10 2019-09-05 Sharp Kabushiki Kaisha Systems and methods for performing motion compensation for coding of video data
CN108109629A (en) 2016-11-18 2018-06-01 南京大学 A kind of more description voice decoding methods and system based on linear predictive residual classification quantitative
TW201820872A (en) 2016-11-29 2018-06-01 聯發科技股份有限公司 Method and apparatus of merge mode derivation for video coding
CN108271023A (en) 2017-01-04 2018-07-10 华为技术有限公司 Image prediction method and relevant device
TW201841505A (en) 2017-01-05 2018-11-16 聯發科技股份有限公司 Decoder-side motion vector restoration for video coding
TW201902214A (en) 2017-03-30 2019-01-01 聯發科技股份有限公司 Sub-prediction unit temporal motion vector prediction for video codec
US20200221120A1 (en) 2017-06-26 2020-07-09 Interdigital Vc Holdings, Inc. Multiple predictor candidates for motion compensation
US20190246122A1 (en) 2018-02-08 2019-08-08 Qualcomm Incorporated Palette coding for video coding
WO2019229705A1 (en) 2018-05-31 2019-12-05 Beijing Bytedance Network Technology Co., Ltd. Weighted interweaved prediction
US20210029356A1 (en) 2018-06-21 2021-01-28 Beijing Bytedance Network Technology Co., Ltd. Sub-block mv inheritance between color components
US20190045192A1 (en) 2018-06-29 2019-02-07 Intel Corporation Global motion estimation and modeling for accurate global motion compensation for efficient video processing or coding
WO2020008325A1 (en) 2018-07-01 2020-01-09 Beijing Bytedance Network Technology Co., Ltd. Improvement of interweaved prediction
US20200112740A1 (en) 2018-10-04 2020-04-09 Qualcomm Incorporated Affine restrictions for the worst-case bandwidth reduction in video coding
US20210297673A1 (en) 2019-01-02 2021-09-23 Beijing Bytedance Network Technology Co., Ltd. Motion vector derivation between color components
US20210329250A1 (en) 2019-01-02 2021-10-21 BEIJING BYTEDANCE NETWORK TECHNOLOGY Co.,Ltd. Motion vector derivation between dividing patterns
US20220312016A1 (en) 2019-01-02 2022-09-29 Beijing Bytedance Network Technology Co., Ltd. Motion vector derivation between color components
US20200228815A1 (en) 2019-01-11 2020-07-16 Tencent America LLC Method and apparatus for video coding

Non-Patent Citations (22)

* Cited by examiner, † Cited by third party
Title
Andersson et al. "CE11: Deblocking of Sub-Block Boundaries for Luma," Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 12th Meeting, Macao, CN, Oct. 3-12, 2018, document JVET-L0074, 2018.
Bordes et al. "CE4-Related: LIC with Reduced Memory Buffer," Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 12th Meeting, Macao, CN, Oct. 3-12, 2018, document JVET-L0203, 2018.
Boyce, Jill M. "Weighted Prediction in the H.264/MPEG AVC Video Coding Standard," Proceedings / 2004 IEEE International Syposium on Circuits and Systems, May 23-26, 2004, Sheraton Vancouver Wall Centre Hotel, Vancouver British Columbia, Piscataway, NJ, May 23, 2004, pp. III 789-792.
Chen et al. "Algorithm Description of Joint Exploration Test Model 7 (JEM 7)," Joint Video Exploration Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 7th Meeting: Torino, IT, Jul. 13-21, 2017, document JVET-G1001, 2017.
Flierl et al. "Multihypothesis Pictures for H.26L," Proceedings 2001 International Conference on Image Processing, ICIP 2001—Thessaloniki, Greece, Oct. 7-10, 2001, Institute of Electrical and Electronics Engineers, New York, NY, 2001, 3:526-529.
International Search Report and Written Opinion from PCT/CN2020/070113 dated Mar. 26, 2020 (9 pages).
International Search Report and Written Opinion from PCT/CN2020/070115 dated Mar. 24, 2020 (10 pages).
International Search Report and Written Opinion from PCT/CN2020/070119 dated Mar. 26, 2020 (10 pages).
International Search Report and Written Opinion from PCT/CN2020/071660 dated Apr. 13, 2020 (11 pages).
International Search Report and Written Opinion from PCT/IB2019/054466 dated Sep. 9, 2019 (18 pages).
International Search Report and Written Opinion from PCT/IB2019/054467 dated Sep. 9, 2019 (17 pages).
International Search Report and Written Opinion from PCT/IB2019/054505 dated Sep. 9, 2019 (18 pages).
International Search Report and Written Opinion from PCT/IB2019/057399 dated Jan. 8, 2020 (17 pages).
International Search Report and Written Opinion from PCT/IB2019/057400 dated Nov. 6, 2019 (12 pages).
Luo et al. "CE9: Addressing the Decoding Latency Issue for Decoder-Side Motion Vector Refinement (DMVR)," Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 12th Meeting: Macau, CN, Oct. 3-12, 2018, document JVET-L0253, 2018.
Non-Final Office Action from U.S. Appl. No. 17/342,900 dated Oct. 25, 2021.
Non-Final Office Action from U.S. Appl. No. 17/359,890 dated May 25, 2023.
Xiu et al. "CE9-Related: A Simplified Design of Bi-Directional Optical Flow (BIO)," Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 12th Meeting, Macao, CN, Oct. 3-12, 2018, document JVET-L0591, 2018.
Zhang et al. "CE10: Interweaved Prediction for Affine Motion Compensation (Test 10.5.1 and Test 10.5.2)," Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 12th Meeting, Macao, CN, Oct. 3-12, 2018, document JVET-L0269, 2018.
Zhang et al. "CE4-Related: Interweaved Prediction for Affine Motion Compensation," Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 11th Meeting, Ljubljana, SI, Jul. 10-18, 2018, document JVET-K0102, 2018.
Zhang et al. "CE4-Related: Simplified Affine Prediction," Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 11th Meeting, Ljubljana, SI, Jul. 10-18, 2018, document JVET-K0103, 2018.
Zhang et al. "Non-CE2: Interweaved Prediction for Affine Motion Compensation," Joint Video Experts Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 13th Meeting, Marrakech, MA, Jan. 9-18, 2019, document JVET-M0268, 2019.

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12113984B2 (en) 2019-01-02 2024-10-08 Beijing Bytedance Network Technology Co., Ltd Motion vector derivation between color components

Also Published As

Publication number Publication date
CN115334318A (en) 2022-11-11
CN110557643B (en) 2022-08-30
TWI729402B (en) 2021-06-01
TWI750475B (en) 2021-12-21
US20240107053A1 (en) 2024-03-28
WO2019229705A1 (en) 2019-12-05
CN110557640A (en) 2019-12-10
WO2019229683A1 (en) 2019-12-05
CN110557640B (en) 2022-09-02
CN110557643A (en) 2019-12-10
TW202005384A (en) 2020-01-16
TW202005389A (en) 2020-01-16
US20210092431A1 (en) 2021-03-25

Similar Documents

Publication Publication Date Title
US11871022B2 (en) Concept of interweaved prediction
US11792421B2 (en) Rounding in pairwise average candidate calculations
US11134268B2 (en) Simplified coding of generalized bi-directional index
US11006106B2 (en) Simplified entropy coding for sub-block based motion information list
US11889108B2 (en) Gradient computation in bi-directional optical flow
US11902535B2 (en) Prediction precision improvements in video coding
US20210029362A1 (en) Restrictions on decoder side motion vector derivation based on coding information
US12120340B2 (en) Constraints for usage of updated motion information
US11039165B2 (en) Interaction of asymmetric weighted merges and other coding tools
US20240121410A1 (en) Interaction Between IBC And Affine
US11956465B2 (en) Difference calculation based on partial position
US20230254487A1 (en) Sub-block based prediction
US11729377B2 (en) Affine mode in video coding and decoding
US20210211677A1 (en) 8-parameter affine mode
WO2020049447A1 (en) Fast encoding methods for interweaved prediction

Legal Events

Date Code Title Description
FEPP Fee payment procedure

Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

AS Assignment

Owner name: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD., CHINA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:LIU, HONGBIN;WANG, YUE;REEL/FRAME:054424/0501

Effective date: 20190513

Owner name: BYTEDANCE INC., CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:ZHANG, KAI;ZHANG, LI;REEL/FRAME:054424/0452

Effective date: 20190510

STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION

STPP Information on status: patent application and granting procedure in general

Free format text: NON FINAL ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: ADVISORY ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS

STPP Information on status: patent application and granting procedure in general

Free format text: AWAITING TC RESP., ISSUE FEE NOT PAID

STPP Information on status: patent application and granting procedure in general

Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT VERIFIED

STCF Information on status: patent grant

Free format text: PATENTED CASE

STPP Information on status: patent application and granting procedure in general

Free format text: WITHDRAW FROM ISSUE AWAITING ACTION

STPP Information on status: patent application and granting procedure in general

Free format text: AWAITING TC RESP., ISSUE FEE NOT PAID

STPP Information on status: patent application and granting procedure in general

Free format text: NOTICE OF ALLOWANCE MAILED -- APPLICATION RECEIVED IN OFFICE OF PUBLICATIONS

STPP Information on status: patent application and granting procedure in general

Free format text: PUBLICATIONS -- ISSUE FEE PAYMENT VERIFIED

STCF Information on status: patent grant

Free format text: PATENTED CASE