WO2019174594A1 - Method and apparatus of optimized splitting structure for video coding - Google Patents
Method and apparatus of optimized splitting structure for video coding Download PDFInfo
- Publication number
- WO2019174594A1 WO2019174594A1 PCT/CN2019/077960 CN2019077960W WO2019174594A1 WO 2019174594 A1 WO2019174594 A1 WO 2019174594A1 CN 2019077960 W CN2019077960 W CN 2019077960W WO 2019174594 A1 WO2019174594 A1 WO 2019174594A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- sub
- current
- block
- tree
- partition
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/90—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
- H04N19/96—Tree coding, e.g. quad-tree coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods 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/17—Methods 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/174—Methods 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 slice, e.g. a line of blocks or a group of blocks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/63—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets
- H04N19/64—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets characterised by ordering of coefficients or of bits for transmission
- H04N19/647—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding using sub-band based transform, e.g. wavelets characterised by ordering of coefficients or of bits for transmission using significance based coding, e.g. Embedded Zerotrees of Wavelets [EZW] or Set Partitioning in Hierarchical Trees [SPIHT]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/65—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using error resilience
- H04N19/66—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using error resilience involving data partitioning, i.e. separation of data into packets or partitions according to importance
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/70—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by syntax aspects related to video coding, e.g. related to compression standards
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/85—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
- H04N19/89—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression involving methods or arrangements for detection of transmission errors at the decoder
Definitions
- the present invention relates to video coding using the flexible block partition types and/or Inter mode.
- the present invention discloses methods to reduce complexity by restricting coding-tree partition if a certain test condition is met.
- the complexity of Inter tools is reduced if a certain test condition is met.
- the High Efficiency Video Coding (HEVC) standard is developed under the joint video project of the ITU-T Video Coding Experts Group (VCEG) and the ISO/IEC Moving Picture Experts Group (MPEG) standardization organizations, and is especially with partnership known as the Joint Collaborative Team on Video Coding (JCT-VC) .
- HEVC High Efficiency Video Coding
- one slice is partitioned into multiple coding tree units (CTU) .
- CTU coding tree units
- SPS sequence parameter set
- the allowed CTU size can be 8x8, 16x16, 32x32, or 64x64.
- the CTUs within the slice are processed according to a raster scan order.
- the CTU is further partitioned into multiple coding units (CU) to adapt to various local characteristics.
- a quadtree denoted as the coding tree, is used to partition the CTU into multiple CUs.
- CTU size be MxM, where M is one of the values of 64, 32, or 16.
- the CTU can be a single CU (i.e., no splitting) or can be split into four smaller units of equal sizes (i.e., M/2xM/2 each) , which correspond to the nodes of the coding tree. If units are leaf nodes of the coding tree, the units become CUs.
- the quadtree splitting process can be iterated until the size for a node reaches a minimum allowed CU size as specified in the SPS (Sequence Parameter Set) .
- This representation results in a recursive structure as specified by a coding tree (also referred to as a partition tree structure) 120 in Fig. 1.
- the CTU partition 110 is shown in Fig. 1, where the solid lines indicate CU boundaries.
- the decision whether to code a picture area using Inter-picture (temporal) or Intra-picture (spatial) prediction is made at the CU level. Since the minimum CU size can be 8x8, the minimum granularity for switching between different basic prediction types is 8x8.
- each CU can be partitioned into one or more prediction units (PU) .
- the PU works as a basic representative block for sharing the prediction information. Inside each PU, the same prediction process is applied and the relevant information is transmitted to the decoder on a PU basis.
- a CU can be split into one, two or four PUs according to the PU splitting type.
- HEVC defines eight shapes for splitting a CU into PU as shown in Fig. 2, including 2Nx2N, 2NxN, Nx2N, NxN, 2NxnU, 2NxnD, nLx2N and nRx2N partition types. Unlike the CU, the PU may only be split once according to HEVC.
- the partitions shown in the second row correspond to asymmetric partitions, where the two partitioned parts have different sizes.
- the prediction residues of a CU can be partitioned into transform units (TU) according to another quadtree structure which is analogous to the coding tree for the CU as shown in Fig. 1.
- the solid lines indicate CU boundaries and dotted lines indicate TU boundaries.
- the TU is a basic representative block having residual or transform coefficients for applying the integer transform and quantization. For each TU, one integer transform having the same size to the TU is applied to obtain residual coefficients. These coefficients are transmitted to the decoder after quantization on a TU basis.
- coding tree block CB
- CB coding block
- PB prediction block
- TB transform block
- JCTVC-P1005 a binary tree block partitioning structure is proposed in JCTVC-P1005 (D. Flynn, et al, “HEVC Range Extensions Draft 6” , Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 16th Meeting: San Jose, US, 9 –17 January 2014, Document: JCTVC-P1005) .
- a block can be recursively split into two smaller blocks using various binary splitting types as shown in Fig. 3. The most efficient and simplest ones are the symmetric horizontal and vertical split as shown in the top two splitting types in Fig. 3.
- a flag is signalled to indicate whether the given block is split into two smaller blocks. If yes, another syntax element is signalled to indicate which splitting type is used. If the horizontal splitting is used, the given block is split into two blocks of size MxN/2. If the vertical splitting is used, the given block is split into two blocks of size M/2xN.
- the binary tree splitting process can be iterated until the size (width or height) for a splitting block reaches a minimum allowed block size (width or height) .
- the minimum allowed block size can be defined in high level syntax such as SPS. Since the binary tree has two splitting types (i.e., horizontal and vertical) , the minimum allowed block width and height should be both indicated.
- Non-horizontal splitting is implicitly implied when splitting would result in a block height smaller than the indicated minimum.
- Non-vertical splitting is implicitly implied when splitting would result in a block width smaller than the indicated minimum.
- Fig. 4 illustrates an example of block partitioning 410 and its corresponding binary tree 420.
- each splitting node i.e., non-leaf node
- one flag is used to indicate which splitting type (horizontal or vertical) is used, where 0 may indicate horizontal splitting and 1 may indicate vertical splitting.
- the binary tree structure can be used for partitioning an image area into multiple smaller blocks such as partitioning a slice into CTUs, a CTU into CUs, a CU into PUs, or a CU into TUs, and so on.
- the binary tree can be used for partitioning a CTU into CUs, where the root node of the binary tree is a CTU and the leaf node of the binary tree is CU.
- the leaf nodes can be further processed by prediction and transform coding. For simplification, there is no further partitioning from CU to PU or from CU to TU, which means CU equal to PU and PU equal to TU. Therefore, in other words, the leaf node of the binary tree is the basic unit for prediction and transforms coding.
- Quadtree plus binary tree (QTBT) structure a method to combine the quadtree and binary tree structure, which is also called as quadtree plus binary tree (QTBT) structure.
- QTBT quadtree plus binary tree
- the leaf quadtree block is not larger than the maximum allowed binary tree root node size, it can be further partitioned by a binary tree structure and the binary tree splitting can be iterated until the size (width or height) for a splitting block reaches the minimum allowed binary tree leaf node size (width or height) or the binary tree depth reaches the maximum allowed binary tree depth.
- the minimum allowed quadtree leaf node size, the maximum allowed binary tree root node size, the minimum allowed binary tree leaf node width and height, and the maximum allowed binary tree depth can be indicated in the high level syntax such as in SPS.
- Fig. 5 illustrates an example of block partitioning 510 and its corresponding QTBT 520.
- the solid lines indicate quadtree splitting and dotted lines indicate binary tree splitting.
- each splitting node (i.e., non-leaf node) of the binary tree one flag indicates which splitting type (horizontal or vertical) is used, 0 may indicate horizontal splitting and 1 may indicate vertical splitting.
- the above QTBT structure can be used for partitioning an image area (e.g. a slice, CTU or CU) into multiple smaller blocks such as partitioning a slice into CTUs, a CTU into CUs, a CU into PUs, or a CU into TUs, and so on.
- the QTBT can be used for partitioning a CTU into CUs, where the root node of the QTBT is a CTU which is partitioned into multiple CUs by a QTBT structure and the CUs are further processed by prediction and transform coding.
- the QTBT tree structure usually applied with the luma/chroma separate coding.
- the QTBT tree structure is applied separately to luma and chroma components for I-slice, and applied simultaneously to both luma and chroma (except when certain minimum sizes being reached for chroma) for P-and B-slices.
- the luma CTB has its QTBT-structured block partitioning and the two chroma CTBs have another QTBT-structured block partitioning.
- the two chroma CTBs can also have their own QTBT-structured block partitions.
- coding unit For block-based coding, there is always a need to partition an image into blocks (e.g. CUs, PUs and TUs) for the coding purpose.
- the image may be divided into smaller images areas, such as slices, tiles, CTU rows or CTUs before applying the block partition.
- the process to partition an image into blocks for the coding purpose is referred as partitioning the image using a coding unit (CU) structure.
- the particular partition method to generate CUs, PUs and TUs as adopted by HEVC is an example of the coding unit (CU) structure.
- the QTBT tree structure is another example of the coding unit (CU) structure.
- triple tree partitioning method is designed to capture objects which locate in the block center while quad-tree and binary tree partitioning methods always split along the block center.
- Fig. 6 illustrates vertical triple tree partitioning (610) and horizontal triple tree partitioning (620) .
- the triple tree partitioning method may provide capability to faster localize small object along block boundaries, by allowing one-quarter partitioning vertically or horizontally.
- Multi-Type-Tree (MTT) block partitioning extends the concept of the two-level tree structure in QTBT by allowing both the binary tree and triple tree (or also called as ternary tree) partitioning methods in the second level of MTT.
- the two levels of trees in MTT are called region tree (RT) and prediction tree (PT) respectively.
- the first level RT is always quad-tree (QT) partitioning, and the second level PT may be either binary tree (BT) partitioning or triple tree (TT) partitioning.
- QT quad-tree
- BT binary tree
- TT triple tree
- a CTU is firstly partitioned by RT, which is QT partitioning, and each RT leaf node may be further split by PT, which is either BT or TT partitioning.
- a block partitioned by PT may be further split with PT until a maximum PT depth is reached.
- a block may be first partitioned by vertical BT partitioning to generate a left sub-block and a right sub-block, and the left sub-block is further split by horizontal TT partitioning while the right sub-block is further split by horizontal BT partitioning.
- a PT leaf node is the basic Coding Unit (CU) for prediction and transform and will not be further split.
- Fig. 7 illustrates an example of tree-type signalling in MTT. As shown in Fig. 7, whether a block is split for RT is checked at node 710. A “1” is signalled to indicate the RT split is applied to the current block as indicated by node 720. A “0” is signalled to indicate the RT split is not applied to the current block. In this case, whether BT or TT is applied to the current block is checked as indicated by node 730. If neither BT nor TT is applied to the current block (i.e., the “0” branch) , the partition process reaches a leaf node (i.e., no partition) as indicated by node 740.
- BT or TT is applied to the current block
- BT or TT is applied to the block (i.e., the “1” branch)
- the system will further signal to indicate whether it is a horizontal split or vertical split as indicated by node 750.
- a “0” is signalled to indicate the BT/TT split is horizontal as indicated by node 760.
- a “1” is signalled to indicate the BT/TT split is vertical as indicated by node 770.
- an additional bit is signalled to indicate whether it is BT as indicated by node 780 (i.e., the “0” branch) or TT as indicated by node 790 (i.e., the “1” branch) .
- Similar signalling is also applied to the case of horizontal BT/TT at node 760.
- MTT leaf nodes are CUs, which are used for prediction and transform without any further partitioning.
- the proposed tree structure is coded separately for luma and chroma in I slice, and applied simultaneously to both luma and chroma (except when certain minimum sizes are reached for chroma) in P and B slice. That is to say that, in I slice, the luma CTB has its QTBT-structured block partitioning, and the two chroma CTBs has another QTBT-structured block partitioning.
- MTT is able to improve performance by adaptively partitioning blocks for prediction and transform, it is desirable to further improve the performance whenever possible in order to achieve an overall efficiency target.
- HEVC has the Skip and Merge modes.
- Skip and Merge modes obtain the motion information from spatially neighbouring blocks (spatial candidates) or a temporal co-located block (temporal candidate) .
- spatial candidates spatially neighbouring blocks
- temporal co-located block temporary candidate
- the residual signal is forced to be zero and not coded.
- a candidate index is signalled to indicate which candidate among the candidate set is used for merging.
- Each merged PU reuses the MV, prediction direction, and reference picture index of the selected candidate.
- MV candidates For Merge mode in HEVC reference software HM-4.0, as shown in Fig. 8, up to four spatial MV candidates are derived from A 0 , A 1 , B 0 and B 1 , and one temporal MV candidate is derived from T BR or T CTR (T BR is used first, if T BR is not available, T CTR is used instead) . Note that if any of the four spatial MV candidates is not available, the position B2 is then used to derive MV candidate as a replacement. After the derivation process of the four spatial MV candidates and one temporal MV candidate, removing redundancy (pruning) is applied to remove redundant MV candidates.
- pruning redundancy
- the encoder selects one final candidate within the candidate set for Skip, or Merge modes based on the rate-distortion optimization (RDO) decision, and transmits the index to the decoder.
- RDO rate-distortion optimization
- both Skip and Merge modes may be referred as “Merge mode” for convenience.
- the “Merge mode” in this disclosure hereafter may mean both Skip and Merge mode.
- Intra prediction and Inter prediction For each PUInter , there are two kinds of prediction modes (i.e., Intra prediction and Inter prediction) for each PUInter .
- Intra prediction modes the spatial neighbouring reconstructed pixels can be used to generate the directional predictions.
- Inter prediction modes the temporal reconstructed reference frames can be used to generate motion compensated predictions.
- AMVP Inter Advanced Motion Vector Prediction
- motion-compensated prediction is performed with transmitted motion vector differences (MVDs) that can be used together with Motion Vector Predictors (MVPs) for deriving motion vectors (MVs) .
- MVPs Motion Vector Predictors
- AMVP advanced motion vector prediction
- MVP index for MVP and the corresponding MVDs are required to be encoded and transmitted.
- the Inter prediction direction to specify the prediction directions among bi-prediction, and uni-prediction which are list 0 (i.e., L0) and list 1 (i.e., L1) , accompanied with the reference frame index for each list should also be encoded and transmitted.
- MVP motion vector predictor
- the residual signal is also omitted.
- the Merge scheme is used to select a motion vector predictor among a Merge candidate set containing four spatial MVPs and one temporal MVP.
- Fig. 8 shows the neighbouring PUs used to derive the spatial and temporal MVPs for both AMVP and Merge scheme.
- the left MVP is the first available one from A 0 , A 1
- the top MVP is the first available one from B 0 , B 1 , B 2
- the temporal MVP is the first available one from T BR or T CTR (T BR is used first, if T BR is not available, T CTR is used instead) .
- T BR is used first, if T BR is not available, T CTR is used instead
- the left MVP is not available and the top MVP is not scaled MVP
- the second top MVP can be derived if there is a scaled MVP among B 0 , B 1 , and B 2 .
- the list size of MVPs of AMVP is 2 in HEVC. Therefore, after the derivation process of the two spatial MVPs and one temporal MVP, only the first two MVPs can be included in the MVP list. If after removing redundancy, the number of
- up to four spatial Merge index are derived from A 0 , A 1 , B 0 and B 1 , and one temporal Merge index is derived from T BR or T CTR (T BR is used first, if T BR is not available, T CTR is used instead) .
- T BR is used first, if T BR is not available, T CTR is used instead
- the position B 2 is then used to derive Merge index as a replacement.
- removing redundancy is applied to remove redundant Merge index. If after removing redundancy, the number of available Merge index is smaller than five, three types of additional candidates are derived and are added to the candidates list.
- Additional bi-predictive Merge candidates are created by using original Merge candidates.
- the additional candidates are divided into three candidate types:
- Fig. 9 illustrates an example of the derivation process for combined bi-predictive Merge candidate.
- the candidate set 910 corresponds to an original candidate list, which includes mvL0_A, ref0 (931) in L0 and mvL1_B, ref (932) in L1.
- a bi-prediction MVP 933 can be formed by combining the candidates in L0 and L1.
- scaled bi-predictive Merge candidates are created by scaling original Merge candidate.
- one candidate in original candidates which have mvLX (the motion vector in list X) and refIdxLX (the reference picture index in list X) , X can be 0 or 1, is used to created bi-predictive Merge candidates.
- one candidate A is list 0 uni-predictive with mvL0_A and ref0, ref0 is firstly copied to reference index ref0’ in list 1. After that, mvL0’ _A is calculated by scaling mvL0_A with ref0 and ref0’ .
- bi-predictive Merge candidate which has mvL0_A and ref0 in list 0 and mvL0’ _A and ref0’ in list 1, is created and added into Merge candidate list.
- An example of the derivation process of the scaled bi-predictive Merge candidate is shown in Fig. 10, where candidate list 1010 corresponds to an original candidate list and candidate list 1020 corresponds to the expanded candidate list including two generated bi-prediction MVPs.
- Fig. 11A illustrates an example for adding zero vector Merge candidates, where candidate list 1110 corresponds to an original Merge candidate list and candidate list 1120 corresponds to the extended Merge candidate list by adding zero candidates.
- Fig. 11B illustrates an example for adding zero vector AMVP candidates, where candidate lists 1130 (L0) and 1132 (L1) correspond to original AMVP candidate lists and the candidate list 1140 (L0) and 1142 (L1) correspond to the extended AMVP candidate lists by adding zero candidates. If zero vector candidates are not duplicated, it is added to Merge/AMVP candidates list.
- the PMVD (Pattern-based Motion Vector Derivation) mode (or named as PMMVD (Pattern Matched Motion Vector Derivation) or FRUC (Frame-Rate Up-Conversion) mode) is a coding tool disclosed in JVET Test Model 3 (Joint Video Exploration Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11 : 3rd Meeting: Geneva, CH, 26 May –1 June 2016, Document Title: Algorithm Description of Joint Exploration Test Model 3 ) , which can use an L-shape template or bi-lateral template to refine the MV of Merge mode and save the bits of MVD.
- JVET Test Model 3 Joint Video Exploration Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11 : 3rd Meeting: Geneva, CH, 26 May –1 June 2016, Document Title: Algorithm Description of Joint Exploration Test Model 3
- a method and apparatus of video coding for a video encoding system or video decoding system are disclosed.
- the current block is partitioned into multiple final sub-blocks using one or more stages of sub-tree partition comprising ternary tree partition and at least one other-type partition, where ternary tree partition is excluded from the sub-tree partition if a current sub-tree depth associated with a current sub-block is greater than a first threshold and the first threshold is an integer greater than or equal to 1.
- Said at least one other-type partition comprises quadtree partition, binary-tree partition or both.
- the current block may correspond to one Coding Tree Unit (CTB) and each of the multiple final sub-blocks corresponds to one Coding Unit (CU) , Prediction Unit (PU) or Transform Unit (TU) .
- CTB Coding Tree Unit
- CU Coding Unit
- PU Prediction Unit
- TU Transform Unit
- the first threshold can be pre-determined or is inferred at the decoder side.
- An indicator for indicating whether the ternary tree partition is selected for the current sub-block can be omitted if the current sub-tree depth associated with the current sub-block is greater than the first threshold.
- the first threshold may correspond to a maximum allowed sub-tree partitioning depth minus a second threshold, where the second threshold is an integer smaller than the maximum allowed sub-tree partitioning depth and greater than or equal to 0.
- the value of the second threshold may be dependent on whether the current image is in an Intra slice or an Inter slice.
- the value of the second threshold can be signalled in a video parameter set (VPS) , a sequence parameter set (SPS) , a picture parameter set (PPS) , a slice header, a coding unit, or a combination thereof.
- a method and apparatus of video coding using an Inter mode are disclosed. If a test condition is satisfied, the current block is encoded at an encoder side or decoded at a decoder side using a current Inter mode selected from a modified group of Inter tools, where the modified group of Inter tools is derived from an initial group of Inter tools by removing one or more first Inter tools from the initial group of Inter tools, replacing one or more second Inter tools with one or more complexity-reduced Inter tools, or both.
- Said one or more first Inter tools can be selected from a set comprising AMVP (Advanced Motion Vector Prediction) , Merge, PMVD (Pattern Matched Motion Vector Derivation) , LIC, Affine coding, NPO, OBMC (Overlap Block Motion Compensation) or a combination thereof.
- AMVP Advanced Motion Vector Prediction
- PMVD Pattern Matched Motion Vector Derivation
- LIC Affine coding
- NPO Next Block Motion Compensation
- OBMC Overlap Block Motion Compensation
- Whether the test condition is satisfied may depend on a coding-tree depth associated with the current block. Whether the test condition is satisfied may depend on a block size of the current block. Whether the test condition is satisfied may also depend on a coding-tree depth associated with the current block and a block size of the current block.
- the test condition is satisfied if a coding-tree depth associated with the current block is equal to a pre-defined value and a block size of the current block is greater than or equal to a threshold.
- a syntax element associated with the target first Inter tool is not signalled at an encoder side or is not parsed at a decoder side for the current block.
- the current block uses a candidate list with reduced number of candidates in the candidate list by excluding said one or more first Inter tools from the candidate list.
- Another method and apparatus of video coding using an Inter mode are disclosed. If a test condition is satisfied, the current block is partitioned into multiple final sub-blocks using restricted coding-tree structure comprising one or more stages of multi-type partitions, wherein the restricted-coding tree structure terminates coding-tree partition for a target sub-block having a coding-tree partition depth equal to a threshold.
- Whether the test condition is satisfied may depend on a block size of the current block. Whether the test condition is satisfied may depend on a temporal layer of current slice, where the current slice includes the current block. The temporal layer is referring to the layer associated with the temporal structure of pictures (e.g. I, B and P pictures) . Whether the test condition is satisfied may depend on a best predicted mode of the current block. Whether the test condition is satisfied may depend on a ratio of width and height of the current block. Whether the test condition is satisfied may depend on a partition decision for a predecessor sub-block of the target sub-block at a second coding-tree partition depth smaller than the threshold. Whether the test condition is satisfied may also depend on a quantization parameter of current slice, wherein the current slice includes the current block.
- Fig. 1 illustrates an example of block partition using quadtree structure to partition a coding tree unit (CTU) into coding units (CUs) .
- CTU coding tree unit
- CUs coding units
- Fig. 2 illustrates asymmetric motion partition (AMP) according to High Efficiency Video Coding (HEVC) , where the AMP defines eight shapes for splitting a CU into PU.
- AMP asymmetric motion partition
- HEVC High Efficiency Video Coding
- Fig. 3 illustrates an example of various binary splitting types used by a binary tree partitioning structure, where a block can be recursively split into two smaller blocks using the splitting types.
- Fig. 4 illustrates an example of block partitioning and its corresponding binary tree, where in each splitting node (i.e., non-leaf node) of the binary tree, one syntax is used to indicate which splitting type (horizontal or vertical) is used, where 0 may indicate horizontal splitting and 1 may indicate vertical splitting.
- each splitting node i.e., non-leaf node
- one syntax is used to indicate which splitting type (horizontal or vertical) is used, where 0 may indicate horizontal splitting and 1 may indicate vertical splitting.
- Fig. 5 illustrates an example of block partitioning and its corresponding quad-tree plus binary tree structure (QTBT) , where the solid lines indicate quadtree splitting and dotted lines indicate binary tree splitting.
- QTBT binary tree structure
- Fig. 6 illustrates vertical triple tree partitioning and horizontal triple tree partitioning.
- Fig. 7 illustrates an example of tree-type signalling in Multi-Type-Tree (MTT) block partitioning.
- Fig. 8 shows the neighbouring PUs used to derive the spatial and temporal MVPs for both AMVP and Merge scheme.
- Fig. 9 illustrates an example of the derivation process for combined bi-predictive Merge candidate.
- Fig. 10 illustrates an example of the derivation process of the scaled bi-predictive Merge candidate, where candidate list on the left corresponds to an original candidate list and the candidate list on the right corresponds to the expanded candidate list including two generated bi-prediction MVPs.
- Fig. 11A illustrates an example of adding zero vector Merge candidates, where the candidate list on the left corresponds to an original Merge candidate list and the candidate list on the right corresponds to the extended Merge candidate list by adding zero candidates.
- Fig. 11B illustrates an example for adding zero vector AMVP candidates, where the candidate lists on the top correspond to original AMVP candidate lists (L0 on the left and L1 on the right) and the candidate lists at the bottom correspond to the extended AMVP candidate lists (L0 on the left and L1 on the right) by adding zero candidates.
- Fig. 12 illustrates one example of the hierarchical splitting decision tree of MTT with the maximal PT depth equal to 3.
- Fig. 13 illustrates one example of the hierarchical splitting decision tree of MTT with the proposed prohibited partitioning based on the hierarchical splitting decision tree of MTT shown in Fig. 12.
- Fig. 14 illustrates one example of the hierarchical splitting decision tree of MTT with the proposed prohibited partitioning based on the hierarchical splitting decision tree of MTT shown in Fig. 12.
- Fig. 15 illustrates one example of the hierarchical splitting decision tree of MTT with the prohibited partitioning based on the hierarchical splitting decision tree of MTT shown in Fig. 12.
- Fig. 16A illustrates an example of prohibited partitioning, where the solid line indicates vertical BT partitioning at a previous partition level (e.g. level i) and the dash line indicates vertical BT partitioning for the first sub-blocks at a current partition level (e.g. level i+1) .
- Fig. 16B illustrates an example of prohibited partitioning, where the solid line indicates horizontal BT partitioning at a previous partition level (e.g. level i) and the dash line indicates horizontal BT partitioning for the first sub-blocks at a current partition level (e.g. level i+1) .
- Fig. 17 illustrates an example of adaptive block partition according to an embodiment of the present invention, where the current CU is marked by the slant-line filled area, and the eight 4 ⁇ 4 neighbouring sub-CUs are marked by areas filled with dots.
- Fig. 18A to Fig. 18E illustrate an example of split cost evaluation associated with a current partition type based on accumulated cost of the coat of previous coded blocks and the cost of currently coded sub-block, where Fig. 18A shows a CTU that is still under the encoding process and Fig. 18B through Fig. 18E show the accumulated cost calculations at depths 3, 2, 1 and 0 respectively.
- Fig. 19 illustrates an example of calculating weighted average area of the current sub-CUs according to an embodiment of the present invention, where each sub-CU size is 4x4.
- Fig. 20 illustrates a flowchart of an exemplary coding system with constraints on coding-tree partition according to an embodiment of the present invention.
- Fig. 21 illustrates a flowchart of an exemplary coding system with complexity reduced Inter mode according to an embodiment of the present invention.
- Fig. 22 illustrates a flowchart of another exemplary coding system with constraints on coding-tree partition according to an embodiment of the present invention.
- the coding efficiency has been shown noticeable improvement since more flexible partitions become available.
- MTT block partition increases computational complexity. It is desirable to develop methods to reduce computational complexity when MTT is used. Accordingly, various methods to reduce the computational complexity associated with MTT are disclosed.
- the constrained block partitioning methods are proposed to avoid redundancy or to reduce complexity.
- the proposed constrained block partitioning methods involve modified encoding or decoding processing by prohibiting a certain partition type and partition direction for splitting a current sub-block according to the partition type or partition direction of a previous partitioning.
- BT Binary Tree partitioning
- the first sub-block 610a, the middle sub-block 610b and the third sub-block 610c are taken as the sub-blocks resulted from the Vertical TT partitioning 610 respectively
- the first sub-block 620a, the middle sub-block 620b and the third sub-block 620c are taken as the sub-blocks resulted from the Horizontal TT partitioning 620 respectively.
- Fig. 12 shows the example of the hierarchical splitting decision tree of MTT with the maximal PT (Prediction Tree) depth equal to 3.
- Fig. 13 shows one example of the hierarchical splitting decision tree of MTT with the proposed prohibited partitioning based on the hierarchical splitting decision tree of MTT shown in Fig. 12.
- TT 1310 when the current partitioning is TT 1310, only BT 1312 is allowed (i.e., TT is prohibited or excluded for 1312) .
- BT 1322 is allowed (i.e., TT is prohibited or excluded for 1322) .
- the split types (BT or TT partitioning) of the first sub-block, the middle sub-block, or the third sub-block resulted from the TT partitioning may not be signalled and may be inferred to be BT partitioning.
- Fig. 14 shows the hierarchical splitting decision tree of MTT with the proposed prohibited partitioning based on the hierarchical splitting decision tree of MTT shown in Fig. 12. As shown in Fig. 14, when the current partitioning is TT 1410, only BT 1412 is allowed (i.e., TT is prohibited or excluded for 1412) .
- BT 1412 For this BT 1412, only BT 1414 is allowed (i.e., TT is prohibited or excluded for 1414) since the BT 1412 is the sub-block of the TT 1410 and the BT 1414 is the sub-block of such kind of BT 1412. In other words, only BT partitioning is allowed for splitting all of the sub-blocks 1412 and 1414 within the sub-block 1412 resulted from the TT partitioning 1410.
- TT 1420 When the current partitioning is TT 1420, only BT 1422 is allowed (i.e., TT is prohibited or excluded for 1422) .
- the split types (BT or TT partitioning) for all of the sub-blocks within the first sub-block, the middle sub-block, or the third sub-block resulted from the TT partitioning may not be signalled and may be inferred to be BT partitioning.
- Fig. 15 shows the hierarchical splitting decision tree of MTT with the prohibited partitioning based on the hierarchical splitting decision tree of MTT shown in Fig. 12.
- TT 1510 when the current partitioning is TT 1510, only one layer BT 1512 is allowed (i.e., only one-layer partitioning 1512, partitioning of which is only allowed to be BT but not TT) .
- TT 1520 when the current partitioning is TT 1520, only one layer BT 1522 is allowed.
- the split types (BT or TT partitioning) of the first sub-block, the middle sub-block, or the third sub-block resulted from the TT partitioning may not be signalled and may be inferred to be BT partitioning.
- the split decisions (split or non-split) of the first sub-block or the second-block resulted from the BT partitioning may not be signalled and may be inferred to be the non-split case.
- the prohibited partition type and partition direction for splitting a current sub-block can depend on not only the partition type and partition direction of a previous partition level but also the partition type, partition direction and a position of the current sub-block.
- the second sub-block split type and the second sub-block split direction for splitting the second sub-block are determined by prohibiting splitting the second sub-block by the first partition type and the first partition direction of the first sub-block.
- Fig. 16A illustrates an example of the prohibited partitioning.
- the solid line in Fig. 16A indicates vertical BT partitioning at a previous partition level (e.g. level i) and the dash line indicates vertical BT partitioning for the first sub-blocks at a current partition level (e.g. level i+1) .
- the dash-dotted line indicates vertical BT partitioning for the second sub-blocks at a current partition level (e.g. level i+1) that is prohibited for splitting the second sub-block.
- BT partitioning is prohibited to further split the second sub-block resulted from BT partitioning in the parent block because the resulting sub-blocks will be exactly the same as applying vertical TT partitioning at the previous partition level first and then apply vertical BT partitioning for the middle sub-block resulting from the TT partitioning at the current partition level.
- horizontal BT partitioning is disabled for further splitting a second sub-block split by horizontal BT partitioning as shown in Fig. 16B.
- the solid line in Fig. 16B indicates horizontal BT partitioning at a previous partition level (e.g. level i) and the dash line indicates horizontal BT partitioning for the first sub-block at a current partition level (e.g. level i+1) . ) .
- the dash-dotted line indicates horizontal BT partitioning for the second sub-blocks at a current partition level (e.g. level i+1) that is prohibited for splitting the second sub-block.
- the second sub-block split type may not be signalled and may be inferred to be TT partitioning if the second sub-block partition direction is horizontal partitioning.
- the parent block is split by horizontal BT partitioning and the first sub-block is further split by horizontal BT partitioning.
- the second sub-block partition type may not be signalled and may be inferred to be TT partitioning if the current partition direction is vertical partitioning, the parent block is split by vertical BT partitioning and the first sub-block is further split by vertical BT partitioning.
- the second sub-block split direction in cases when the syntax of the current partition type is signalled before the syntax of the current partition direction, the second sub-block split direction may not be signalled and may be inferred to be vertical if the second sub-block partition type is BT partitioning, the parent block is split by horizontal BT partitioning and the first sub-block is further split by horizontal BT partitioning.
- the second sub-block partition direction may not be signalled and may be inferred to be horizontal partitioning if the second sub-block partition type is BT partitioning, the parent block is split by vertical BT partitioning and the first sub-block is further split by vertical BT partitioning.
- the ternary-tree partition is allowed for splitting the current block when the current sub-tree depth is equal to or smaller than the maximum allowed sub-tree partitioning depth minus a threshold N.
- the threshold N is predetermined and can be inferred at the decoder side.
- the indicator for selecting the ternary-tree partition type is absent when the current sub-tree partition depth is larger than the maximum allowed sub-tree partitioning depth minus a threshold N.
- the current sub-tree partition depth is S and the maximum allowed sub-tree partition depth is M
- the ternary-tree partition is allowed for splitting the current block when S ⁇ (M -N) , where M >N ⁇ 0.
- the indicator for selecting ternary-tree partition is absent.
- the ternary-tree partition is allowed for splitting the current block when the current sub-tree depth is equal to or smaller than the maximum allowed sub-tree partitioning depth minus a threshold N.
- the setting of the threshold N could be varied according to the slice type, colour component of the current slice, or the temporal layer ID of the current slice or any other test condition (for example, such variation can be achieved by determining the setting of the threshold N according to the slice type, colour component of the current slice, or the temporal layer ID of the current slice) .
- all threshold values are predetermined and inferred at decoder side, and the indicator for selecting the ternary-tree partition type is absent when the current sub-tree partition depth is larger than the maximum allowed sub-tree partitioning depth minus the corresponding threshold N.
- the threshold is N 1 for an Intra-slice and N 2 for an Inter-slice.
- the current sub-tree partition depth is S
- the maximum allowed sub-tree partition depth is M. If the current slice is Intra-slice, then the ternary-tree partition is allowed for splitting the current block when S ⁇ (M -N 1 ) , and the indicator for selecting ternary-tree partition is omitted or absent (for example, being omitted or absent by not signaling or not parsing such indicator) once S > (M -N 1 ) .
- the ternary-tree partition is allowed for splitting the current block when S ⁇ (M -N 2 ) , and the indicator for selecting ternary-tree partition is omitted or absent (for example, being omitted or absent by not signaling or not parsing such indicator) once S > (M -N 2 ) .
- the ternary-tree partition is allowed for splitting the current block when the current sub-tree depth is equal to or smaller than the maximum allowed sub-tree partitioning depth minus a threshold N, and N > 0.
- the threshold N can be signalled in a video parameter set (VPS) , a sequence parameter set (SPS) , a picture parameter set (PPS) , a slice header, a coding unit, or any combination thereof.
- VPS video parameter set
- SPS sequence parameter set
- PPS picture parameter set
- slice header a coding unit
- the indicator for selecting the ternary-tree partition type can be omitted or absent (for example, being omitted or absent by not signaling or not parsing such indicator) when the current sub-tree partition depth is larger than the maximum allowed sub-tree partitioning depth minus a threshold N.
- the current sub-tree partition depth is S and the maximum allowed sub-tree partition depth is M
- the ternary-tree partition is allowed for splitting the current block when S ⁇ (M -N) , where M > N > 0.
- the indicator for selecting ternary-tree partition can be omitted or absent (for example, being omitted or absent by not signaling or not parsing such indicator) .
- the ternary-tree partition is allowed for splitting the current block when the current sub-tree depth is equal to or smaller than the maximum allowed ternary-tree partitioning depth (MaxTTDepth) .
- MaxTTDepth only can be equal to or smaller than sub-tree partitioning depth.
- MaxTTDepth can be signalled in a video parameter set (VPS) , a sequence parameter set (SPS) , a picture parameter set (PPS) , a slice header, a coding unit, or any combination thereof.
- the indicator for selecting the ternary-tree partition type can be omitted or absent (for example, being omitted or absent by not signaling or not parsing such indicator) when the current sub-tree partition depth is larger than MaxTTDepth.
- the current sub-tree partition depth is S
- the maximum allowed sub-tree partition depth is M
- MaxTTDepth is N.
- the ternary-tree partition is allowed for splitting the current block when S ⁇ M, where M ⁇ N.
- the indicator for selecting ternary-tree partition can be omitted or absent (for example, being omitted or absent by not signaling or not parsing such indicator) .
- any of the foregoing proposed methods can be implemented in encoders and/or decoders.
- any of the proposed methods can be implemented in an Inter/Intra/prediction/transform module of an encoder, and/or an inverse transform/Inter/Intra/prediction module of a decoder.
- any of the proposed methods can be implemented as a circuit coupled to the inverse transform/Inter/Intra/prediction module of the encoder and/or the Inter/Intra/prediction/transform module of the decoder, so as to provide the information needed by the Inter/Intra/prediction/transform module.
- the QT Depth is defined as the depth of Quad Tree.
- the BT Depth is defined as the splitting depth of binary tree (BT) .
- the TT Depth is defined as the splitting depth of ternary tree or triple tree (TT) .
- the CT depth is defined as the depth of splitting of binary tree (BT) or triple tree (TT) . It is the total number of binary tree (BT) or triple tree (TT) splitting. In other words, if the total number of BT splitting is 3, the coding-tree structure is split 3 times by the BT.
- the CT depth can also be the number of binary tree (BT) splitting only.
- the CT depth can be the number of triple tree (TT) only splitting. The larger the maximum CT depth in video encoder, the larger the encoding complexity overhead. Therefore, it is desirable to reduce the computation complexity.
- the Inter mode includes AMVP, Merge mode, FRUC mode, or other inter-prediction modes or tools.
- Inter coding tools such as AMVP, Merge, FRUC/PMVD, LIC (local illumination compensation) , Affine coding, NPO (Neighboring-derived Prediction Offset) , OBMC (Overlap Block Motion Compensation) , and so on.
- an initial group of Inter tools can be determined from these Inter coding tools.
- one or more Inter modes (or tools) or a portion of certain Inter modes on an encoder side can be skipped or eliminated if a certain condition (or called a test condition) is satisfied.
- a certain condition or called a test condition
- a portion of a certain Inter mode means a simplified version of a certain Inter mode on the encoder side.
- a partial procedure of Merge mode can be skipped in the encoder if a certain condition is satisfied.
- the simplified Merge mode can have only 3 candidates (Merge candidates 0, 1 and 2) , instead of Merge candidates 0, 1, 2, ..., (MAX-1) ) .
- a partial procedure of FRUC mode can be skipped in the encoder if a certain condition is satisfied.
- the simplified FRUC mode instead of the conventional FRUC mode, which includes bi-lateral FRUC and template-matching FRUC, the simplified FRUC mode can have only bi-lateral FRUC.
- the simplified FRUC mode can have only template-matching FRUC.
- one or more Inter modes (or tools) or a portion of a certain Inter mode can be skipped or eliminated on the encoder side (or on both encoder and decoder sides) if a certain condition (denoted as COND_REDUOFF) is satisfied.
- the term “depth” can mean the CT depth or QT depth or BT depth or TT depth.
- Embodiment 1 When the depth of current CU equals N, the condition is satisfied, where N is a pre-defined value.
- Embodiment 2 When depth of current CU is larger than a threshold, the condition is satisfied.
- Embodiment 3 When depth of current CU is smaller than a threshold, the condition is satisfied.
- Embodiment 5 When the current CU size is smaller than a threshold, the condition is satisfied.
- Embodiment 6 When the QP (control signal of quantization) value of current CU size is larger than a threshold, the condition is satisfied.
- Embodiment 7 When the QP (control signal of quantization) value of current CU size is smaller than a threshold, the condition is satisfied.
- Embodiment 8 When the depth of current CU equals N and current CU size is larger than a threshold, the condition is satisfied.
- Embodiment 9 When the depth of current CU equals N and current CU size is smaller than a threshold, the condition is satisfied.
- Embodiment 10 When the depth of current CU equals N and current CU QP is larger than a threshold, the condition is satisfied.
- Embodiment 11 When the depth of current CU equals N and current CU QP is smaller than a threshold, the condition is satisfied.
- Embodiment 12 When depth of current CU equals N and current CU temporal layer is larger than a threshold, the condition is satisfied.
- Embodiment 13 When depth of current CU equals N and current CU temporal layer is smaller than a threshold, the condition is satisfied.
- Embodiment 14 When depth of current CU equals N and current CU aspect ratio (width/height or height/width) is larger than a threshold, the condition is satisfied.
- Embodiment 15 When depth of current CU equals N and current CU aspect ratio is smaller than a threshold, the condition is satisfied.
- Embodiment 16 When the parent mode of current CU (i.e., the mode of parent block of coding-tree splitting) is Skip mode, the condition is satisfied.
- the parent mode of current CU i.e., the mode of parent block of coding-tree splitting
- Embodiment 17 When the parent mode of current CU (i.e., the mode of parent block of coding-tree splitting) is some certain mode, the condition is satisfied.
- the parent mode of current CU i.e., the mode of parent block of coding-tree splitting
- Embodiment 18 When current CU aspect ratio (width/height or height/width) is larger than a threshold, the condition is satisfied.
- Embodiment 19 When current CU aspect ratio is smaller than a threshold, the condition is satisfied.
- the certain condition for turning-off some Inter tools it can turn-off some Inter tools and/or reduce complexity of some other Inter tools.
- FRUC mode can be turned off and the Merge mode can be modified to have only 2 candidates to reduce the complexity of the Merge mode by reducing the candidate number for the Merge mode.
- the reduced complexity Merge mode is referred as a low-complexity Merge mode.
- a reduced complexity Inter tool is referred as a low-complexity Inter tool.
- the FRUC mode can be reduced to only include the bilateral mode and the Merge mode can be modified to have only 2 candidates to reduce the complexity of the Merge mode.
- the FRUC in this case is referred as a low-complexity FURC.
- Inter tool A can be turned off depending on the RD cost of Inter tool B in the encoder.
- FRUC mode can be turned off if the AMVP RD cost is lower than a threshold.
- FRUC mode can be turned off if the RDO cost of the low-complexity FRUC is lower than the RDO cost of low-complexity AMVP.
- the related syntax element can be eliminated (or saved) for improving coding gain.
- the Merge mode is modified to have only 2 candidates. In this case, the unary code encoding of Merge index in the conventional method can be modified to reduce the bits of Merge index.
- the proposed method can be extended to turn off some Intra tools. If a certain condition is met, some Intra tools (e.g. Intra prediction, or other Intra tool) can be turned off and/or some other Intra tools can be reduced, such that the mode-flag (such as affine merge flag, LIC flag) can be eliminated for that CU or the mode-index (such as merge index) can be reduced for unary code.
- some Intra tools e.g. Intra prediction, or other Intra tool
- some other Intra tools can be reduced, such that the mode-flag (such as affine merge flag, LIC flag) can be eliminated for that CU or the mode-index (such as merge index) can be reduced for unary code.
- Method 2 Skip Some Inter Mode according to Surrounding Condition or Current CU
- This method firstly check the spatial surrounding Inter modes.
- To check the Inter mode of spatial surrounding CUs it can count the histogram of the Inter modes of the CUs which is surrounding (i.e., left and/or top neighbouring of) the current CU according to one embodiment.
- a certain Inter mode e.g. FRUC mode
- this Inter mode can be designated as most_freq_inter_mode. Accordingly, some Inter modes can be turned off according to the most_freq_inter_mode.
- Embodiment 1 the Inter mode corresponding to most_freq_inter_mode can be turned off for the current CU.
- Embodiment 2 the Inter mode which is not the mode of most_freq_inter_mode can be turned off for the current CU.
- This method can be added a size condition, in which the current CU size (CU width *CU height) larger than a pre-defined threshold or smaller than a pre-defined threshold.
- the Inter mode of its parent sub-block is checked during coding-tree splitting. If its parent sub-block (e.g. CU) is a certain Inter mode (denoted as inter_mode_parent) , then the Inter mode that is equal to inter_mode_parent is turned off in the current CU according to embodiment 1. In embodiment 2, the Inter mode that is not equal to inter_mode_parent is turned off in the current CU. This method is not restricted to embodiments 1 and 2. According to this method, some Inter tools can be turned off and/or reduced according to inter_mode_parent.
- the foregoing proposed methods for complexity reduction for coding-tree splitting structure associated with Inter mode can be implemented in encoders and/or decoders.
- the proposed method can be implemented in an Inter prediction module of an encoder, and/or an Inter prediction module of a decoder.
- the maximum CT depth of binary tree (BT) splitting or triple tree (TT) splitting is up to 3. Allowing TT splitting will increase the complexity at the encoder side significantly.
- Some methods are proposed to reduce the computation complexity especially for some specific CT depth equal to X, where X is an integer greater than or equal to 0.
- X is an integer greater than or equal to 0.
- X equal to 3 is used as an example for illustration purpose and CT splitting is terminated (or called skipped) at CT depth equal to 3 conditionally.
- the maximum CU depth of BT splitting or TT splitting will be up to 2 in some cases.
- MxN where M and N can be any integer such as 64, 128, 256, and so on, then CT splitting is terminated at CT depth equal to 3.
- the values of M and N can be predefined or signalled at the sequence level, picture level or slice level. Alternatively, the values of M and N are related to the video resolution or standard profile. In another embodiment, the condition to terminate or skip CT splitting for CT depth equal to 3 is based on the temporal layer ID of coded slices.
- CT splitting CT splitting is terminated at CT depth equal to 3.
- K, L, and P can be any integers, e.g. 2, 4, 6, and so on.
- the condition to allow CT depth equal to 3 is based on the best predicted mode of current CU. If the best mode of current CU is Skip mode, then CT splitting is terminated at CT depth equal to 3.
- the decision to allow CT depth equal to 3 is made based on the ratio of CU’s width and height.
- CT splitting is terminated at CT depth equal to 3.
- T can be any integers, e.g. 2, 4, 8, and so on.
- the values of T can be predefined or signalled at sequence level, picture level or slice level. Or the value of T is related to the video resolution or standard profile.
- the condition to perform CT depth equal to 3 is based on the decision of CT depth equal to 1 or equal to 2. For example, if no TT splitting is used in the previous CT depth or the partition in CT depth equal to 1 is not TT, then CT depth equal to 3 is allowed.
- the condition to terminate CT splitting at CT depth 3 is based on current slice QP. If current slice QP is larger than a pre-defined threshold, then skip CT depth equal to 3.
- CT splitting is terminated at CT depth equal to 3 only when CU size is larger than MxN and the best mode of CU is Skip mode.
- These methods can be applied as an encoder only or be normative changes. If these methods are applied as normative changes, we can also benefit from some syntax saving for conditionally coding splitting flags on CT depth equal to 3.
- termination of CT splitting at CT depth equal to 3 can be applied on TT splitting only or BT splitting only.
- TT splitting or BT splitting only In other words, only terminate TT splitting or terminate BT splitting at CT depth equal to 3, and the remaining splitting type still can be applied at CT depth equal to 3.
- the foregoing proposed methods can be implemented in encoders and/or decoders.
- the proposed method can be implemented in a CU splitting process in an encoder, and/or a CU splitting process in a decoder.
- fast CU partition decision methods are disclosed for reducing video encoder complexity and also maintaining the coding efficiency. These methods can be designed as encoder-only fast CU partitioning methods, or with normative changes for saving signalling overhead. Details of these embodiment are described as follows.
- Embodiment 1 Allow/Skip CU Partitioning Methods according to Weighted Neighbouring Sub-CUs Area
- the usage of a CU portioning method for the current CU is based on the weighted neighbouring sub-CUs area.
- the neighbouring sub-CUs can be the upper neighbouring sub-CUs or/and the left neighbouring sub-CUs. Besides, only the partitioning method or/and partition direction of the used CU partition methods are signalled.
- FIG. 17 An example of adaptive block partition 1700 according to an embodiment of the present invention is shown in Fig. 17.
- the current CU 1710 is marked by the slant-line filled area, and the eight 4 ⁇ 4 neighbouring sub-CUs 1720a and 1720b are marked by areas filled with dots.
- the upper four 4 ⁇ 4 neighbouring sub-CUs 1720a all belong to a 16 ⁇ 8 CU, and the left four 4 ⁇ 4 neighbouring sub-CUs 1720b belong to 8 ⁇ 8, 8 ⁇ 4 and 8 ⁇ 4 CUs.
- the weighted neighbouring CU area, y is calculated as:
- k belongs to a real number and x is the average area of the neighboring sub-CUs. Therefore, if the current CU area is denoted as a and a ⁇ y, then only no partition or QT partition can be selected to split the current CU into smaller CUs (i.e., sub-CUs) .
- the weighted left sub-CUs area, y is calculated as:
- the weighted upper sub-CU area, y is calculated as:
- the weighted neighbouring CU area, y is calculated as:
- k is to a real number and x is the average area of the neighboring sub-CUs. If the current CU area is denoted as a and a ⁇ y, then only the no partitioning method is used.
- the weighted neighbouring CU area, y is calculated as:
- the weighted neighbouring CU area, y is calculated as:
- k is a real number and x is the average area of the upper neighbouring sub-CUs. If the current CU area is denoted as a and a ⁇ y, then only no CU partitioning method is used.
- Embodiment 2 Skip CU Partitioning Methods according to Weighted Side Length Ratio
- All available CU partitioning methods are classified into two sets, and only one CU partition set is used for splitting the current CU into smaller CUs if the weighted side length ratio is in a given range.
- the side length ratio can be the weighted average height of the left neighbouring CUs over the current CU height, or the weighted average width of the upper neighbouring CUs over the current CU width.
- the partitioning method or/and partition direction of the selected CU partition set are signalled.
- the side length ratio is the average width of the upper neighbouring CUs over the current CU width, a, is calculated as:
- the side length ratio is the average height of the left neighbouring CUs over the current CU width, b, is calculated as:
- Embodiment 3 Skip CU Partitioning Methods according to Current Best Sub-CUs/CUs Partitioning Direction
- the current best CU partitioning method is horizontal BT or TT split, and its top-left sub-CU and bottom-right sub-CU are both further split by horizontal BT or TT partitioning method, then the test of the vertical BT/TT partitioning methods are skipped.
- the current best CU partitioning method is vertical BT or TT split, and its top-left sub-CU and bottom-right sub-CU are both further split by vertical BT or TT partitioning method, then the test of the horizontal BT/TT partitioning methods are skipped.
- Embodiment 4 Skip CU Partitioning Methods According to Early Testing the CU Partitioning Methods in the Other Split Direction
- the vertical TT partitioning method is tested earlier than the horizontal TT partitioning method. After that, if the current best is changed to vertical TT and the middle sub-CU is not further spit, the test of horizontal TT partitioning method is skipped.
- the horizontal TT partitioning method is tested earlier than the vertical TT partitioning method. After that, if the current best is changed to horizontal TT and the middle sub-CU is not further spit, the test of vertical TT partitioning method is skipped.
- Embodiment 5 Skip CU Partitioning Methods According to Temporary Best Split Cost in Each Partitioning Set
- the classification of partitioning methods can be based on partitioning direction or partitioning type. Suppose only partial partitioning methods in P 1 and P 2 has been tested, and the best split cost of the tested partitioning methods in P 1 and P 2 is and If then the remaining CU partition modes in P 1 are skipped. Or if then the remaining CU partition modes in P 2 are skipped.
- the partitioning methods are classified by split direction, and these two partitioning sets are ⁇ Horizontal BT, Horizontal ABT, Horizontal TT ⁇ and ⁇ Vertical BT, Vertical ABT, Vertical TT ⁇ .
- the ABT is abbreviation for Asymmetric BT. If ⁇ Horizontal BT, Horizontal ABT ⁇ and ⁇ Vertical BT, Vertical ABT ⁇ have been tested and the best split cost for these two sets are and If then the split test of the horizontal TT partitioning method is skipped.
- the partitioning methods are classified by the split type, and these two partitioning sets are ⁇ Horizontal TT, Vertical TT, Horizontal ABT, Vertical ABT ⁇ and ⁇ Horizontal BT, Vertical BT ⁇ . If ⁇ Horizontal BT, Vertical BT ⁇ and ⁇ Horizontal TT, Vertical TT ⁇ have been tested and the best split cost for these two sets are and If then the split tests of the horizontal/vertical ABT partitioning methods are skipped.
- Embodiment 6 Skip CU Partitioning Methods According to Temporary Best Split Cost among Earlier Partitioning Methods
- the available CU partitioning methods are ⁇ No Split, Horizontal BT, Vertical BT, QT, Horizontal TT, and Vertical TT ⁇ .
- No Split, Horizontal BT, Vertical BT, and QT are tested, and the current best CU partition method is the no split partition type. If the weighted cost of the no split method is smaller than the cost of Horizontal BT, Vertical BT, and QT, then the split tests of horizontal TT and vertical TT are skipped.
- Embodiment 7 Skip CU Partitioning Methods by Comparing to Costs of Upper Depth CU
- the CU partitioning method is skipped early once the accumulated split cost is equal to or larger than any best split cost of each split depth.
- Accumulated split cost is defined as the summation of the current coded sub-CUs and the parent coded CUs in the upper split depth.
- Fig. 18A shows a CTU that is still under the encoding process.
- the currently encoded CU 1810 is demoted by the area filled with slant lines, and the fully coded CUs are indicated by the area enclosed by thick dash lines.
- FIG. 18C other coded CUs correspond to areas filled with backlash-lines above area A for splitting depth-2 block 1832 as indicated by a thick-line rectangle.
- FIG. 18D other coded CUs correspond to areas filled with backlash-lines above area A for splitting depth-1 block 1834 as indicated by a thick-line square.
- Fig. 18E other coded CUs correspond to areas filled with backlash-lines for splitting depth-0 block 1836 as indicated by a thick-line square.
- Embodiment 8 Reuse Previous Same Position and Same Size CU Split Decision
- a CU can be encoded many times by different CU partitioning methods or in different CU split depths. Due to the spatial position, CU size, or even the neighbours of the CU is not changed, the CU split decision can be reused once the CU is revisited.
- the partitioning method when the CU is revisited, the partitioning method has the best split cost will always be tested, and the partitioning method has the second best split cost that is less than the weighted best split cost will also be tested. Other tested partitioning methods will be skipped. Note that, the partitioning method that does not test at the first-time being encoded CU can be tested at the revisited time.
- Embodiment 9 Skip CU Partitioning Methods According to the Weighted Average Area of Current Sub-CUs
- the CU partitioning methods are skipped when the weighted average area of the current sub-CUs is equal to or smaller than TH 1 , and the current CU area/size is also equal to or larger than TH 2 . For example, if the current best CU is split as shown in Fig. 19, and each sub-CU size is 4x4. Then the weighted average area of the current sub-CUs, a, is calculated as:
- Embodiment 10 Skip CU partitioning methods According to QT Partitioning Results
- the CU partitioning methods are skipped when the best CU’s QT depth is deeper than the current CU, and the current CU area is equal to or larger than a threshold.
- the TT partitioning methods are skipped when the best CU’s QT depth is deeper than the current CU, and the current CU area is equal to or larger than 16384.
- Fig. 20 illustrates a flowchart of an exemplary coding system with constraints on coding-tree partition according to an embodiment of the present invention.
- the steps shown in the flowchart, as well as other following flowcharts in this disclosure, may be implemented as program codes executable on one or more processors (e.g., one or more CPUs) at the encoder side and/or the decoder side.
- the steps shown in the flowchart may also be implemented based hardware such as one or more electronic devices or processors arranged to perform the steps in the flowchart.
- input data associated with a current block in a current image from a video sequence is received in step 2010.
- the current block is partitioned into multiple final sub-blocks using one or more stages of sub-tree partition comprising ternary partition and at least one other-type partition, wherein the ternary partition is excluded from the sub-tree partition if a current sub-tree depth associated with a current sub-block is greater than a first threshold and the first threshold is an integer greater than or equal to 1.
- said multiple final sub-blocks is encoded to generate compressed bits to include in a video bitstream in an encoder side or said multiple final sub-blocks is decoded from the video bitstream in a decoder side.
- Fig. 21 illustrates a flowchart of an exemplary coding system with complexity reduced Inter mode according to an embodiment of the present invention.
- input data associated with a current block in a current image from a video sequence is received in step 2110.
- An initial group of Inter tools is determined in step 2120.
- a test condition is then determined for the current block in step 2130.
- the current block is encoded or decoded using a current Inter mode selected from a modified group of Inter tools, wherein the modified group of Inter tools is derived from the initial group of Inter tools by removing one or more first Inter tools from the initial group of Inter tools, replacing one or more second Inter tools with one or more complexity-reduced Inter tools, or both.
- Fig. 22 illustrates a flowchart of another exemplary coding system with constraints on coding-tree partition according to an embodiment of the present invention.
- input data associated with a current block in a current image from a video sequence is received in step 2210.
- a test condition is determined for the current block in step 2220.
- the current block is partitioned into multiple final sub-blocks using restricted coding-tree structure comprising one or more stages of multi-type partitions, wherein the restricted-coding tree structure terminates coding-tree partition for a target sub-block having a coding-tree partition depth equal to a threshold.
- said multiple final sub-blocks is encoded to generate compressed bits to include in a video bitstream in an encoder side or said multiple final sub-blocks is decoded from the video bitstream in a decoder side.
- Embodiment of the present invention as described above may be implemented in various hardware, software codes, or a combination of both.
- an embodiment of the present invention can be one or more circuit circuits integrated into a video compression chip or program code integrated into video compression software to perform the processing described herein.
- An embodiment of the present invention may also be program code to be executed on a Digital Signal Processor (DSP) to perform the processing described herein.
- DSP Digital Signal Processor
- the invention may also involve a number of functions to be performed by a computer processor, a digital signal processor, a microprocessor, or field programmable gate array (FPGA) .
- These processors can be configured to perform particular tasks according to the invention, by executing machine-readable software code or firmware code that defines the particular methods embodied by the invention.
- the software code or firmware code may be developed in different programming languages and different formats or styles.
- the software code may also be compiled for different target platforms.
- different code formats, styles and languages of software codes and other means of configuring code to perform the tasks in accordance with the invention will not depart from the spirit and scope of the invention.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
In one method, the current block is partitioned into multiple final sub-blocks using one or more stages of sub-tree partition comprising ternary tree partition and at least one other-type partition, where ternary partition tree is excluded from the sub-tree partition if a current sub-tree depth associated with a current sub-block is greater than a first threshold and the first threshold is an integer greater than or equal to 1. In another method, if a test condition is satisfied, the current block is encoded or decoded using a current Inter mode selected from a modified group of Inter tools, where the modified group of Inter tools is derived from an initial group of Inter tools by removing one or more first Inter tools from the initial group of Inter tools, replacing one or more second Inter tools with one or more complexity-reduced Inter tools, or both.
Description
CROSS REFERENCE TO RELATED APPLICATIONS
The present invention claims priority to U.S. Provisional Patent Application, Serial No. 62/642,661 filed on March 14, 2018, U.S. Provisional Patent Application, Serial No. 62/647,910 filed on March 26, 2018, U.S. Provisional Patent Application, Serial No. 62/647,914 filed on March 26, 2018, 2018, U.S. Provisional Patent Application, Serial No. 62/647,917 filed on March 26, 2018 and U.S. Provisional Patent Application, Serial No. 62/664,382 filed on April 30, 2018. The U.S. Provisional Patent Applications are hereby incorporated by reference in their entireties.
The present invention relates to video coding using the flexible block partition types and/or Inter mode. In particular, the present invention discloses methods to reduce complexity by restricting coding-tree partition if a certain test condition is met. In another aspect, the complexity of Inter tools is reduced if a certain test condition is met.
BACKGROUND AND RELATED ART
The High Efficiency Video Coding (HEVC) standard is developed under the joint video project of the ITU-T Video Coding Experts Group (VCEG) and the ISO/IEC Moving Picture Experts Group (MPEG) standardization organizations, and is especially with partnership known as the Joint Collaborative Team on Video Coding (JCT-VC) . In HEVC, one slice is partitioned into multiple coding tree units (CTU) . In main profile, the minimum and the maximum sizes of CTU are specified by the syntax elements in the sequence parameter set (SPS) . The allowed CTU size can be 8x8, 16x16, 32x32, or 64x64. For each slice, the CTUs within the slice are processed according to a raster scan order.
The CTU is further partitioned into multiple coding units (CU) to adapt to various local characteristics. A quadtree, denoted as the coding tree, is used to partition the CTU into multiple CUs. Let CTU size be MxM, where M is one of the values of 64, 32, or 16. The CTU can be a single CU (i.e., no splitting) or can be split into four smaller units of equal sizes (i.e., M/2xM/2 each) , which correspond to the nodes of the coding tree. If units are leaf nodes of the coding tree, the units become CUs. Otherwise, the quadtree splitting process can be iterated until the size for a node reaches a minimum allowed CU size as specified in the SPS (Sequence Parameter Set) . This representation results in a recursive structure as specified by a coding tree (also referred to as a partition tree structure) 120 in Fig. 1. The CTU partition 110 is shown in Fig. 1, where the solid lines indicate CU boundaries. The decision whether to code a picture area using Inter-picture (temporal) or Intra-picture (spatial) prediction is made at the CU level. Since the minimum CU size can be 8x8, the minimum granularity for switching between different basic prediction types is 8x8.
Furthermore, according to HEVC, each CU can be partitioned into one or more prediction units (PU) . Coupled with the CU, the PU works as a basic representative block for sharing the prediction information. Inside each PU, the same prediction process is applied and the relevant information is transmitted to the decoder on a PU basis. A CU can be split into one, two or four PUs according to the PU splitting type. HEVC defines eight shapes for splitting a CU into PU as shown in Fig. 2, including 2Nx2N, 2NxN, Nx2N, NxN, 2NxnU, 2NxnD, nLx2N and nRx2N partition types. Unlike the CU, the PU may only be split once according to HEVC. The partitions shown in the second row correspond to asymmetric partitions, where the two partitioned parts have different sizes.
After obtaining the residual block by the prediction process based on PU splitting type, the prediction residues of a CU can be partitioned into transform units (TU) according to another quadtree structure which is analogous to the coding tree for the CU as shown in Fig. 1. The solid lines indicate CU boundaries and dotted lines indicate TU boundaries. The TU is a basic representative block having residual or transform coefficients for applying the integer transform and quantization. For each TU, one integer transform having the same size to the TU is applied to obtain residual coefficients. These coefficients are transmitted to the decoder after quantization on a TU basis.
The terms coding tree block (CTB) , coding block (CB) , prediction block (PB) , and transform block (TB) are defined to specify the 2-D sample array of one colour component associated with CTU, CU, PU, and TU, respectively. Thus, a CTU consists of one luma CTB, two chroma CTBs, and associated syntax elements. A similar relationship is valid for CU, PU, and TU. The tree partitioning is generally applied simultaneously to both luma and chroma, although exceptions apply when certain minimum sizes are reached for chroma.
Alternatively, a binary tree block partitioning structure is proposed in JCTVC-P1005 (D. Flynn, et al, “HEVC Range Extensions Draft 6” , Joint Collaborative Team on Video Coding (JCT-VC) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11, 16th Meeting: San Jose, US, 9 –17 January 2014, Document: JCTVC-P1005) . In the proposed binary tree partitioning structure, a block can be recursively split into two smaller blocks using various binary splitting types as shown in Fig. 3. The most efficient and simplest ones are the symmetric horizontal and vertical split as shown in the top two splitting types in Fig. 3. For a given block of size MxN, a flag is signalled to indicate whether the given block is split into two smaller blocks. If yes, another syntax element is signalled to indicate which splitting type is used. If the horizontal splitting is used, the given block is split into two blocks of size MxN/2. If the vertical splitting is used, the given block is split into two blocks of size M/2xN. The binary tree splitting process can be iterated until the size (width or height) for a splitting block reaches a minimum allowed block size (width or height) . The minimum allowed block size can be defined in high level syntax such as SPS. Since the binary tree has two splitting types (i.e., horizontal and vertical) , the minimum allowed block width and height should be both indicated. Non-horizontal splitting is implicitly implied when splitting would result in a block height smaller than the indicated minimum. Non-vertical splitting is implicitly implied when splitting would result in a block width smaller than the indicated minimum. Fig. 4 illustrates an example of block partitioning 410 and its corresponding binary tree 420. In each splitting node (i.e., non-leaf node) of the binary tree, one flag is used to indicate which splitting type (horizontal or vertical) is used, where 0 may indicate horizontal splitting and 1 may indicate vertical splitting.
The binary tree structure can be used for partitioning an image area into multiple smaller blocks such as partitioning a slice into CTUs, a CTU into CUs, a CU into PUs, or a CU into TUs, and so on. The binary tree can be used for partitioning a CTU into CUs, where the root node of the binary tree is a CTU and the leaf node of the binary tree is CU. The leaf nodes can be further processed by prediction and transform coding. For simplification, there is no further partitioning from CU to PU or from CU to TU, which means CU equal to PU and PU equal to TU. Therefore, in other words, the leaf node of the binary tree is the basic unit for prediction and transforms coding.
Binary tree structure is more flexible than quadtree structure since more partition shapes can be supported, which is also the source of coding efficiency improvement. However, the encoding complexity will also increase in order to select the best partition shape. In order to balance the complexity and coding efficiency, a method to combine the quadtree and binary tree structure, which is also called as quadtree plus binary tree (QTBT) structure, has been disclosed. According to the QTBT structure, a block is firstly partitioned by a quadtree structure and the quadtree splitting can be iterated until the size for a splitting block reaches the minimum allowed quadtree leaf node size. If the leaf quadtree block is not larger than the maximum allowed binary tree root node size, it can be further partitioned by a binary tree structure and the binary tree splitting can be iterated until the size (width or height) for a splitting block reaches the minimum allowed binary tree leaf node size (width or height) or the binary tree depth reaches the maximum allowed binary tree depth. In the QTBT structure, the minimum allowed quadtree leaf node size, the maximum allowed binary tree root node size, the minimum allowed binary tree leaf node width and height, and the maximum allowed binary tree depth can be indicated in the high level syntax such as in SPS. Fig. 5 illustrates an example of block partitioning 510 and its corresponding QTBT 520. The solid lines indicate quadtree splitting and dotted lines indicate binary tree splitting. In each splitting node (i.e., non-leaf node) of the binary tree, one flag indicates which splitting type (horizontal or vertical) is used, 0 may indicate horizontal splitting and 1 may indicate vertical splitting.
The above QTBT structure can be used for partitioning an image area (e.g. a slice, CTU or CU) into multiple smaller blocks such as partitioning a slice into CTUs, a CTU into CUs, a CU into PUs, or a CU into TUs, and so on. For example, the QTBT can be used for partitioning a CTU into CUs, where the root node of the QTBT is a CTU which is partitioned into multiple CUs by a QTBT structure and the CUs are further processed by prediction and transform coding. For simplification, there is no further partitioning from CU to PU or from CU to TU. That means CU equal to PU and PU equal to TU. Therefore, in other words, the leaf node of the QTBT structure is the basic unit for prediction and transform.
For I-slice, the QTBT tree structure usually applied with the luma/chroma separate coding. For example, the QTBT tree structure is applied separately to luma and chroma components for I-slice, and applied simultaneously to both luma and chroma (except when certain minimum sizes being reached for chroma) for P-and B-slices. In other words, in an I-slice, the luma CTB has its QTBT-structured block partitioning and the two chroma CTBs have another QTBT-structured block partitioning. In another example, the two chroma CTBs can also have their own QTBT-structured block partitions.
For block-based coding, there is always a need to partition an image into blocks (e.g. CUs, PUs and TUs) for the coding purpose. As known in the field, the image may be divided into smaller images areas, such as slices, tiles, CTU rows or CTUs before applying the block partition. The process to partition an image into blocks for the coding purpose is referred as partitioning the image using a coding unit (CU) structure. The particular partition method to generate CUs, PUs and TUs as adopted by HEVC is an example of the coding unit (CU) structure. The QTBT tree structure is another example of the coding unit (CU) structure.
To further support more partition shapes to achieve more flexible partitioning, triple tree partitioning method is designed to capture objects which locate in the block center while quad-tree and binary tree partitioning methods always split along the block center. Fig. 6 illustrates vertical triple tree partitioning (610) and horizontal triple tree partitioning (620) . The triple tree partitioning method may provide capability to faster localize small object along block boundaries, by allowing one-quarter partitioning vertically or horizontally.
Multi-Type-Tree (MTT) block partitioning extends the concept of the two-level tree structure in QTBT by allowing both the binary tree and triple tree (or also called as ternary tree) partitioning methods in the second level of MTT. The two levels of trees in MTT are called region tree (RT) and prediction tree (PT) respectively. The first level RT is always quad-tree (QT) partitioning, and the second level PT may be either binary tree (BT) partitioning or triple tree (TT) partitioning. For example, a CTU is firstly partitioned by RT, which is QT partitioning, and each RT leaf node may be further split by PT, which is either BT or TT partitioning. A block partitioned by PT may be further split with PT until a maximum PT depth is reached. For example, a block may be first partitioned by vertical BT partitioning to generate a left sub-block and a right sub-block, and the left sub-block is further split by horizontal TT partitioning while the right sub-block is further split by horizontal BT partitioning. A PT leaf node is the basic Coding Unit (CU) for prediction and transform and will not be further split.
Fig. 7 illustrates an example of tree-type signalling in MTT. As shown in Fig. 7, whether a block is split for RT is checked at node 710. A “1” is signalled to indicate the RT split is applied to the current block as indicated by node 720. A “0” is signalled to indicate the RT split is not applied to the current block. In this case, whether BT or TT is applied to the current block is checked as indicated by node 730. If neither BT nor TT is applied to the current block (i.e., the “0” branch) , the partition process reaches a leaf node (i.e., no partition) as indicated by node 740. If BT or TT is applied to the block (i.e., the “1” branch) , the system will further signal to indicate whether it is a horizontal split or vertical split as indicated by node 750. A “0” is signalled to indicate the BT/TT split is horizontal as indicated by node 760. A “1” is signalled to indicate the BT/TT split is vertical as indicated by node 770. In this case, an additional bit is signalled to indicate whether it is BT as indicated by node 780 (i.e., the “0” branch) or TT as indicated by node 790 (i.e., the “1” branch) . Similar signalling is also applied to the case of horizontal BT/TT at node 760.
After constructing the MTT block partition, MTT leaf nodes are CUs, which are used for prediction and transform without any further partitioning. In MTT, the proposed tree structure is coded separately for luma and chroma in I slice, and applied simultaneously to both luma and chroma (except when certain minimum sizes are reached for chroma) in P and B slice. That is to say that, in I slice, the luma CTB has its QTBT-structured block partitioning, and the two chroma CTBs has another QTBT-structured block partitioning.
While the MTT is able to improve performance by adaptively partitioning blocks for prediction and transform, it is desirable to further improve the performance whenever possible in order to achieve an overall efficiency target.
Merge mode
To increase the coding efficiency of motion vector (MV) coding in HEVC, HEVC has the Skip and Merge modes. Skip and Merge modes obtain the motion information from spatially neighbouring blocks (spatial candidates) or a temporal co-located block (temporal candidate) . When a PU is Skip or Merge mode, no motion information is coded. Instead, only the index of the selected candidate is coded. For Skip mode, the residual signal is forced to be zero and not coded. In HEVC, if a particular block is encoded as Skip or Merge, a candidate index is signalled to indicate which candidate among the candidate set is used for merging. Each merged PU reuses the MV, prediction direction, and reference picture index of the selected candidate.
For Merge mode in HEVC reference software HM-4.0, as shown in Fig. 8, up to four spatial MV candidates are derived from A
0, A
1, B
0 and B
1, and one temporal MV candidate is derived from T
BR or T
CTR (T
BR is used first, if T
BR is not available, T
CTR is used instead) . Note that if any of the four spatial MV candidates is not available, the position B2 is then used to derive MV candidate as a replacement. After the derivation process of the four spatial MV candidates and one temporal MV candidate, removing redundancy (pruning) is applied to remove redundant MV candidates. If after removing redundancy (pruning) , the number of available MV candidates is smaller than five, three types of additional candidates are derived and are added to the candidate set (i.e., candidate list) . The encoder selects one final candidate within the candidate set for Skip, or Merge modes based on the rate-distortion optimization (RDO) decision, and transmits the index to the decoder.
Hereafter, both Skip and Merge modes may be referred as “Merge mode” for convenience. In other words, the “Merge mode” in this disclosure hereafter may mean both Skip and Merge mode.
Merge mode and AMVP mode
To achieve the best coding efficiency of hybrid coding architecture in HEVC, there are two kinds of prediction modes (i.e., Intra prediction and Inter prediction) for each PUInter . For Intra prediction modes, the spatial neighbouring reconstructed pixels can be used to generate the directional predictions. There are up to 35 directions in HEVC. For Inter prediction modes, the temporal reconstructed reference frames can be used to generate motion compensated predictions. There are three different modes, including Skip, Merge and Inter Advanced Motion Vector Prediction (AMVP) modes.
When a PU is coded in Inter AMVP mode, motion-compensated prediction is performed with transmitted motion vector differences (MVDs) that can be used together with Motion Vector Predictors (MVPs) for deriving motion vectors (MVs) . To decide MVP in Inter AMVP mode, the advanced motion vector prediction (AMVP) scheme is used to select a motion vector predictor among an AMVP candidate set including two spatial MVPs and one temporal MVP. So, in AMVP mode, MVP index for MVP and the corresponding MVDs are required to be encoded and transmitted. In addition, the Inter prediction direction to specify the prediction directions among bi-prediction, and uni-prediction which are list 0 (i.e., L0) and list 1 (i.e., L1) , accompanied with the reference frame index for each list should also be encoded and transmitted.
When a PU is coded in either Skip or Merge mode, no motion information is transmitted except for the Merge index of the selected candidate since the Skip and Merge modes utilize motion inference methods. Since the motion vector difference (MVD) is zero for the Skip and Merge modes, the MV for the Skip or Merge coded block is the same as the motion vector predictor (MVP) (i.e., MV=MVP+MVD = MVP) . Accordingly, the Skip or Merge coded block obtains the motion information from spatially neighbouring blocks (spatial candidates) or a temporal block (temporal candidate) located in a co-located picture. The co-located picture is the first reference picture in list 0 or list 1, which is signalled in the slice header. In the case of a Skip PU, the residual signal is also omitted. To decide the Merge index for the Skip and Merge modes, the Merge scheme is used to select a motion vector predictor among a Merge candidate set containing four spatial MVPs and one temporal MVP.
Fig. 8 shows the neighbouring PUs used to derive the spatial and temporal MVPs for both AMVP and Merge scheme. In AMVP, the left MVP is the first available one from A
0, A
1, the top MVP is the first available one from B
0, B
1, B
2, and the temporal MVP is the first available one from T
BR or T
CTR (T
BR is used first, if T
BR is not available, T
CTR is used instead) . If the left MVP is not available and the top MVP is not scaled MVP, the second top MVP can be derived if there is a scaled MVP among B
0, B
1, and B
2. The list size of MVPs of AMVP is 2 in HEVC. Therefore, after the derivation process of the two spatial MVPs and one temporal MVP, only the first two MVPs can be included in the MVP list. If after removing redundancy, the number of available MVPs is less than two, zero vector candidates are added to the candidates list.
For Skip and Merge mode, as shown in Fig. 8, up to four spatial Merge index are derived from A
0, A
1, B
0 and B
1, and one temporal Merge index is derived from T
BR or T
CTR (T
BR is used first, if T
BR is not available, T
CTR is used instead) . Note that if any of the four spatial Merge index is not available, the position B
2 is then used to derive Merge index as a replacement. After the derivation process of the four spatial Merge index and one temporal Merge index, removing redundancy is applied to remove redundant Merge index. If after removing redundancy, the number of available Merge index is smaller than five, three types of additional candidates are derived and are added to the candidates list.
Additional bi-predictive Merge candidates are created by using original Merge candidates. The additional candidates are divided into three candidate types:
1. Combined bi-predictive Merge candidate (candidate type 1)
2. Scaled bi-predictive Merge candidate (candidate type 2)
3. Zero vector Merge/AMVP candidate (candidate type 3)
In candidate type 1, combined bi-predictive Merge candidates are created by combining original Merge candidate. In particular, two candidates in original candidates, which have mvL0 (the motion vector in list 0) and refIdxL0 (the reference picture index in list 0) or mvL1 (the motion vector in list 1) and refIdxL1 (the reference picture index in list 1) , are used to created bi-predictive Merge candidates. Fig. 9 illustrates an example of the derivation process for combined bi-predictive Merge candidate. The candidate set 910 corresponds to an original candidate list, which includes mvL0_A, ref0 (931) in L0 and mvL1_B, ref (932) in L1. A bi-prediction MVP 933 can be formed by combining the candidates in L0 and L1.
In candidate type 2, scaled bi-predictive Merge candidates are created by scaling original Merge candidate. In particular, one candidate in original candidates, which have mvLX (the motion vector in list X) and refIdxLX (the reference picture index in list X) , X can be 0 or 1, is used to created bi-predictive Merge candidates. For example, one candidate A is list 0 uni-predictive with mvL0_A and ref0, ref0 is firstly copied to reference index ref0’ in list 1. After that, mvL0’ _A is calculated by scaling mvL0_A with ref0 and ref0’ . Then, bi-predictive Merge candidate which has mvL0_A and ref0 in list 0 and mvL0’ _A and ref0’ in list 1, is created and added into Merge candidate list. An example of the derivation process of the scaled bi-predictive Merge candidate is shown in Fig. 10, where candidate list 1010 corresponds to an original candidate list and candidate list 1020 corresponds to the expanded candidate list including two generated bi-prediction MVPs.
In candidate type 3, Zero vector Merge/AMVP candidates are created by combining zero vectors and reference index which can be referred. Fig. 11A illustrates an example for adding zero vector Merge candidates, where candidate list 1110 corresponds to an original Merge candidate list and candidate list 1120 corresponds to the extended Merge candidate list by adding zero candidates. Fig. 11B illustrates an example for adding zero vector AMVP candidates, where candidate lists 1130 (L0) and 1132 (L1) correspond to original AMVP candidate lists and the candidate list 1140 (L0) and 1142 (L1) correspond to the extended AMVP candidate lists by adding zero candidates. If zero vector candidates are not duplicated, it is added to Merge/AMVP candidates list.
PMVD mode or FRUC mode
The PMVD (Pattern-based Motion Vector Derivation) mode (or named as PMMVD (Pattern Matched Motion Vector Derivation) or FRUC (Frame-Rate Up-Conversion) mode) is a coding tool disclosed in JVET Test Model 3 (Joint Video Exploration Team (JVET) of ITU-T SG 16 WP 3 and ISO/IEC JTC 1/SC 29/WG 11 : 3rd Meeting: Geneva, CH, 26 May –1 June 2016, Document Title: Algorithm Description of Joint Exploration Test Model 3 ) , which can use an L-shape template or bi-lateral template to refine the MV of Merge mode and save the bits of MVD.
BRIEF SUMMARY OF THE INVENTION
A method and apparatus of video coding for a video encoding system or video decoding system are disclosed. According to this method, the current block is partitioned into multiple final sub-blocks using one or more stages of sub-tree partition comprising ternary tree partition and at least one other-type partition, where ternary tree partition is excluded from the sub-tree partition if a current sub-tree depth associated with a current sub-block is greater than a first threshold and the first threshold is an integer greater than or equal to 1.
Said at least one other-type partition comprises quadtree partition, binary-tree partition or both. The current block may correspond to one Coding Tree Unit (CTB) and each of the multiple final sub-blocks corresponds to one Coding Unit (CU) , Prediction Unit (PU) or Transform Unit (TU) . The first threshold can be pre-determined or is inferred at the decoder side.
An indicator for indicating whether the ternary tree partition is selected for the current sub-block can be omitted if the current sub-tree depth associated with the current sub-block is greater than the first threshold.
The first threshold may correspond to a maximum allowed sub-tree partitioning depth minus a second threshold, where the second threshold is an integer smaller than the maximum allowed sub-tree partitioning depth and greater than or equal to 0. The value of the second threshold may be dependent on whether the current image is in an Intra slice or an Inter slice. The value of the second threshold can be signalled in a video parameter set (VPS) , a sequence parameter set (SPS) , a picture parameter set (PPS) , a slice header, a coding unit, or a combination thereof.
A method and apparatus of video coding using an Inter mode are disclosed. If a test condition is satisfied, the current block is encoded at an encoder side or decoded at a decoder side using a current Inter mode selected from a modified group of Inter tools, where the modified group of Inter tools is derived from an initial group of Inter tools by removing one or more first Inter tools from the initial group of Inter tools, replacing one or more second Inter tools with one or more complexity-reduced Inter tools, or both.
Said one or more first Inter tools can be selected from a set comprising AMVP (Advanced Motion Vector Prediction) , Merge, PMVD (Pattern Matched Motion Vector Derivation) , LIC, Affine coding, NPO, OBMC (Overlap Block Motion Compensation) or a combination thereof.
Whether the test condition is satisfied may depend on a coding-tree depth associated with the current block. Whether the test condition is satisfied may depend on a block size of the current block. Whether the test condition is satisfied may also depend on a coding-tree depth associated with the current block and a block size of the current block.
In one embodiment, the test condition is satisfied if a coding-tree depth associated with the current block is equal to a pre-defined value and a block size of the current block is greater than or equal to a threshold.
In one embodiment, when a target first Inter tool is removed from the initial group of Inter tools, a syntax element associated with the target first Inter tool is not signalled at an encoder side or is not parsed at a decoder side for the current block. In another embodiment, when said one or more first Inter tools are removed from the initial group of Inter tools, the current block uses a candidate list with reduced number of candidates in the candidate list by excluding said one or more first Inter tools from the candidate list.
Another method and apparatus of video coding using an Inter mode are disclosed. If a test condition is satisfied, the current block is partitioned into multiple final sub-blocks using restricted coding-tree structure comprising one or more stages of multi-type partitions, wherein the restricted-coding tree structure terminates coding-tree partition for a target sub-block having a coding-tree partition depth equal to a threshold.
Whether the test condition is satisfied may depend on a block size of the current block. Whether the test condition is satisfied may depend on a temporal layer of current slice, where the current slice includes the current block. The temporal layer is referring to the layer associated with the temporal structure of pictures (e.g. I, B and P pictures) . Whether the test condition is satisfied may depend on a best predicted mode of the current block. Whether the test condition is satisfied may depend on a ratio of width and height of the current block. Whether the test condition is satisfied may depend on a partition decision for a predecessor sub-block of the target sub-block at a second coding-tree partition depth smaller than the threshold. Whether the test condition is satisfied may also depend on a quantization parameter of current slice, wherein the current slice includes the current block.
A syntax element for indicating a partition decision of the target sub-block if the coding-tree partition depth is equal to the threshold.
Fig. 1 illustrates an example of block partition using quadtree structure to partition a coding tree unit (CTU) into coding units (CUs) .
Fig. 2 illustrates asymmetric motion partition (AMP) according to High Efficiency Video Coding (HEVC) , where the AMP defines eight shapes for splitting a CU into PU.
Fig. 3 illustrates an example of various binary splitting types used by a binary tree partitioning structure, where a block can be recursively split into two smaller blocks using the splitting types.
Fig. 4 illustrates an example of block partitioning and its corresponding binary tree, where in each splitting node (i.e., non-leaf node) of the binary tree, one syntax is used to indicate which splitting type (horizontal or vertical) is used, where 0 may indicate horizontal splitting and 1 may indicate vertical splitting.
Fig. 5 illustrates an example of block partitioning and its corresponding quad-tree plus binary tree structure (QTBT) , where the solid lines indicate quadtree splitting and dotted lines indicate binary tree splitting.
Fig. 6 illustrates vertical triple tree partitioning and horizontal triple tree partitioning.
Fig. 7 illustrates an example of tree-type signalling in Multi-Type-Tree (MTT) block partitioning.
Fig. 8 shows the neighbouring PUs used to derive the spatial and temporal MVPs for both AMVP and Merge scheme.
Fig. 9 illustrates an example of the derivation process for combined bi-predictive Merge candidate.
Fig. 10 illustrates an example of the derivation process of the scaled bi-predictive Merge candidate, where candidate list on the left corresponds to an original candidate list and the candidate list on the right corresponds to the expanded candidate list including two generated bi-prediction MVPs.
Fig. 11A illustrates an example of adding zero vector Merge candidates, where the candidate list on the left corresponds to an original Merge candidate list and the candidate list on the right corresponds to the extended Merge candidate list by adding zero candidates.
Fig. 11B illustrates an example for adding zero vector AMVP candidates, where the candidate lists on the top correspond to original AMVP candidate lists (L0 on the left and L1 on the right) and the candidate lists at the bottom correspond to the extended AMVP candidate lists (L0 on the left and L1 on the right) by adding zero candidates.
Fig. 12 illustrates one example of the hierarchical splitting decision tree of MTT with the maximal PT depth equal to 3.
Fig. 13 illustrates one example of the hierarchical splitting decision tree of MTT with the proposed prohibited partitioning based on the hierarchical splitting decision tree of MTT shown in Fig. 12.
Fig. 14 illustrates one example of the hierarchical splitting decision tree of MTT with the proposed prohibited partitioning based on the hierarchical splitting decision tree of MTT shown in Fig. 12.
Fig. 15 illustrates one example of the hierarchical splitting decision tree of MTT with the prohibited partitioning based on the hierarchical splitting decision tree of MTT shown in Fig. 12.
Fig. 16A illustrates an example of prohibited partitioning, where the solid line indicates vertical BT partitioning at a previous partition level (e.g. level i) and the dash line indicates vertical BT partitioning for the first sub-blocks at a current partition level (e.g. level i+1) .
Fig. 16B illustrates an example of prohibited partitioning, where the solid line indicates horizontal BT partitioning at a previous partition level (e.g. level i) and the dash line indicates horizontal BT partitioning for the first sub-blocks at a current partition level (e.g. level i+1) .
Fig. 17 illustrates an example of adaptive block partition according to an embodiment of the present invention, where the current CU is marked by the slant-line filled area, and the eight 4×4 neighbouring sub-CUs are marked by areas filled with dots.
Fig. 18A to Fig. 18E illustrate an example of split cost evaluation associated with a current partition type based on accumulated cost of the coat of previous coded blocks and the cost of currently coded sub-block, where Fig. 18A shows a CTU that is still under the encoding process and Fig. 18B through Fig. 18E show the accumulated cost calculations at depths 3, 2, 1 and 0 respectively.
Fig. 19 illustrates an example of calculating weighted average area of the current sub-CUs according to an embodiment of the present invention, where each sub-CU size is 4x4.
Fig. 20 illustrates a flowchart of an exemplary coding system with constraints on coding-tree partition according to an embodiment of the present invention.
Fig. 21 illustrates a flowchart of an exemplary coding system with complexity reduced Inter mode according to an embodiment of the present invention.
Fig. 22 illustrates a flowchart of another exemplary coding system with constraints on coding-tree partition according to an embodiment of the present invention.
The following description is of the best-contemplated mode of carrying out the invention. This description is made for the purpose of illustrating the general principles of the invention and should not be taken in a limiting sense. The scope of the invention is best determined by reference to the appended claims.
In the video coding based on the Multi-Type-Tree (MTT) Block Partition structure, the coding efficiency has been shown noticeable improvement since more flexible partitions become available. However, the MTT block partition increases computational complexity. It is desirable to develop methods to reduce computational complexity when MTT is used. Accordingly, various methods to reduce the computational complexity associated with MTT are disclosed.
Multi-Type-Tree (MTT) Block Partition Constraints
In order to reduce signalling overhead and improve the performance of Multi-Type-Tree (MTT) partitioning method, the constrained block partitioning methods are proposed to avoid redundancy or to reduce complexity. The proposed constrained block partitioning methods involve modified encoding or decoding processing by prohibiting a certain partition type and partition direction for splitting a current sub-block according to the partition type or partition direction of a previous partitioning.
MTT Block Partition Constraints -Method 1
In one embodiment, if the current partitioning is TT (Ternary Tree) partitioning, only BT (Binary Tree) partitioning is allowed for splitting the sub-blocks (i.e., the first sub-block, the middle sub-block or the third sub-block) resulted from the TT partitioning. Take Fig. 6 for example, the first sub-block 610a, the middle sub-block 610b and the third sub-block 610c are taken as the sub-blocks resulted from the Vertical TT partitioning 610 respectively, and the first sub-block 620a, the middle sub-block 620b and the third sub-block 620c are taken as the sub-blocks resulted from the Horizontal TT partitioning 620 respectively. Fig. 12 shows the example of the hierarchical splitting decision tree of MTT with the maximal PT (Prediction Tree) depth equal to 3. Fig. 13 shows one example of the hierarchical splitting decision tree of MTT with the proposed prohibited partitioning based on the hierarchical splitting decision tree of MTT shown in Fig. 12. As shown in Fig. 13, when the current partitioning is TT 1310, only BT 1312 is allowed (i.e., TT is prohibited or excluded for 1312) . When the current partitioning is TT 1320, only BT 1322 is allowed (i.e., TT is prohibited or excluded for 1322) .
In another embodiment, if the current partitioning is TT partitioning, and only BT partitioning is allowed for splitting the first sub-block, the middle sub-block or the third sub-block resulted from the TT partitioning, the split types (BT or TT partitioning) of the first sub-block, the middle sub-block, or the third sub-block resulted from the TT partitioning may not be signalled and may be inferred to be BT partitioning.
MTT Block Partition Constraints -Method 2
In one embodiment, if the current partitioning is split by TT partitioning, only BT partitioning is allowed for splitting all of the sub-blocks within the first sub-block, the middle sub-block, or the third sub-block resulted from the TT partitioning. Fig. 14 shows the hierarchical splitting decision tree of MTT with the proposed prohibited partitioning based on the hierarchical splitting decision tree of MTT shown in Fig. 12. As shown in Fig. 14, when the current partitioning is TT 1410, only BT 1412 is allowed (i.e., TT is prohibited or excluded for 1412) . For this BT 1412, only BT 1414 is allowed (i.e., TT is prohibited or excluded for 1414) since the BT 1412 is the sub-block of the TT 1410 and the BT 1414 is the sub-block of such kind of BT 1412. In other words, only BT partitioning is allowed for splitting all of the sub-blocks 1412 and 1414 within the sub-block 1412 resulted from the TT partitioning 1410. When the current partitioning is TT 1420, only BT 1422 is allowed (i.e., TT is prohibited or excluded for 1422) .
In another embodiment, if the current partitioning is TT partitioning, and only BT partitioning is allowed for splitting all of the sub-blocks within the first sub-block, the middle sub-block, or the third sub-block resulted from the TT partitioning, the split types (BT or TT partitioning) for all of the sub-blocks within the first sub-block, the middle sub-block, or the third sub-block resulted from the TT partitioning may not be signalled and may be inferred to be BT partitioning.
MTT Block Partition Constraints -Method 3
In one embodiment, if the current partitioning is TT partitioning, only one-layer BT partitioning is allowed for splitting the first sub-block, the middle sub-block, or the third sub-block resulted from the TT partitioning. Fig. 15 shows the hierarchical splitting decision tree of MTT with the prohibited partitioning based on the hierarchical splitting decision tree of MTT shown in Fig. 12. As shown in Fig. 15, when the current partitioning is TT 1510, only one layer BT 1512 is allowed (i.e., only one-layer partitioning 1512, partitioning of which is only allowed to be BT but not TT) . When the current partitioning is TT 1520, only one layer BT 1522 is allowed.
In another embodiment, if the current partitioning is TT partitioning and only one-layer BT partitioning is allowed for splitting the first sub-block, the middle sub-block, or the third sub-block resulted from the TT partitioning, the split types (BT or TT partitioning) of the first sub-block, the middle sub-block, or the third sub-block resulted from the TT partitioning may not be signalled and may be inferred to be BT partitioning. Besides, the split decisions (split or non-split) of the first sub-block or the second-block resulted from the BT partitioning may not be signalled and may be inferred to be the non-split case.
MTT Block Partition Constraints -Method 4
The prohibited partition type and partition direction for splitting a current sub-block can depend on not only the partition type and partition direction of a previous partition level but also the partition type, partition direction and a position of the current sub-block.
In one embodiment, if the first sub-block split from the parent block by BT partitioning is further split by a first partition type same as the parent partition type and a first partition direction same as the parent partition direction, the second sub-block split type and the second sub-block split direction for splitting the second sub-block are determined by prohibiting splitting the second sub-block by the first partition type and the first partition direction of the first sub-block.
Fig. 16A illustrates an example of the prohibited partitioning. The solid line in Fig. 16A indicates vertical BT partitioning at a previous partition level (e.g. level i) and the dash line indicates vertical BT partitioning for the first sub-blocks at a current partition level (e.g. level i+1) . The dash-dotted line indicates vertical BT partitioning for the second sub-blocks at a current partition level (e.g. level i+1) that is prohibited for splitting the second sub-block. BT partitioning is prohibited to further split the second sub-block resulted from BT partitioning in the parent block because the resulting sub-blocks will be exactly the same as applying vertical TT partitioning at the previous partition level first and then apply vertical BT partitioning for the middle sub-block resulting from the TT partitioning at the current partition level. Similarly, horizontal BT partitioning is disabled for further splitting a second sub-block split by horizontal BT partitioning as shown in Fig. 16B. The solid line in Fig. 16B indicates horizontal BT partitioning at a previous partition level (e.g. level i) and the dash line indicates horizontal BT partitioning for the first sub-block at a current partition level (e.g. level i+1) . ) . The dash-dotted line indicates horizontal BT partitioning for the second sub-blocks at a current partition level (e.g. level i+1) that is prohibited for splitting the second sub-block.
In one embodiment, in cases when the syntax of the current partition direction is signalled before the syntax of the current partition type, the second sub-block split type may not be signalled and may be inferred to be TT partitioning if the second sub-block partition direction is horizontal partitioning. The parent block is split by horizontal BT partitioning and the first sub-block is further split by horizontal BT partitioning. Similarly, the second sub-block partition type may not be signalled and may be inferred to be TT partitioning if the current partition direction is vertical partitioning, the parent block is split by vertical BT partitioning and the first sub-block is further split by vertical BT partitioning.
In another embodiment, in cases when the syntax of the current partition type is signalled before the syntax of the current partition direction, the second sub-block split direction may not be signalled and may be inferred to be vertical if the second sub-block partition type is BT partitioning, the parent block is split by horizontal BT partitioning and the first sub-block is further split by horizontal BT partitioning. Similarly, the second sub-block partition direction may not be signalled and may be inferred to be horizontal partitioning if the second sub-block partition type is BT partitioning, the parent block is split by vertical BT partitioning and the first sub-block is further split by vertical BT partitioning.
MTT Block Partition Constraints -Method 5
During the sub-tree partition, the ternary-tree partition is allowed for splitting the current block when the current sub-tree depth is equal to or smaller than the maximum allowed sub-tree partitioning depth minus a threshold N. Moreover, the threshold N is predetermined and can be inferred at the decoder side. The indicator for selecting the ternary-tree partition type is absent when the current sub-tree partition depth is larger than the maximum allowed sub-tree partitioning depth minus a threshold N.
For example, the current sub-tree partition depth is S and the maximum allowed sub-tree partition depth is M, then the ternary-tree partition is allowed for splitting the current block when S ≤ (M -N) , where M >N ≥ 0. Besides, if the current sub-tree partition depth is larger than (M -N) , then the indicator for selecting ternary-tree partition is absent.
MTT Block Partition Constraints -Method 6
During the sub-tree partition, the ternary-tree partition is allowed for splitting the current block when the current sub-tree depth is equal to or smaller than the maximum allowed sub-tree partitioning depth minus a threshold N. Moreover, the setting of the threshold N could be varied according to the slice type, colour component of the current slice, or the temporal layer ID of the current slice or any other test condition (for example, such variation can be achieved by determining the setting of the threshold N according to the slice type, colour component of the current slice, or the temporal layer ID of the current slice) . Besides, all threshold values are predetermined and inferred at decoder side, and the indicator for selecting the ternary-tree partition type is absent when the current sub-tree partition depth is larger than the maximum allowed sub-tree partitioning depth minus the corresponding threshold N.
In another example, the threshold is N
1 for an Intra-slice and N
2 for an Inter-slice. Then, assume that the current sub-tree partition depth is S, and the maximum allowed sub-tree partition depth is M. If the current slice is Intra-slice, then the ternary-tree partition is allowed for splitting the current block when S ≤ (M -N
1) , and the indicator for selecting ternary-tree partition is omitted or absent (for example, being omitted or absent by not signaling or not parsing such indicator) once S > (M -N
1) . Similarly, if the current slice is inter-slice, then the ternary-tree partition is allowed for splitting the current block when S ≤ (M -N
2) , and the indicator for selecting ternary-tree partition is omitted or absent (for example, being omitted or absent by not signaling or not parsing such indicator) once S > (M -N
2) .
MTT Block Partition Constraints -Method 7
During the sub-tree partition, the ternary-tree partition is allowed for splitting the current block when the current sub-tree depth is equal to or smaller than the maximum allowed sub-tree partitioning depth minus a threshold N, and N > 0. The threshold N can be signalled in a video parameter set (VPS) , a sequence parameter set (SPS) , a picture parameter set (PPS) , a slice header, a coding unit, or any combination thereof. For example, 0 is signalled in SPS to represent N is 1; 1 is signalled in SPS to represent N is 2; and so on. Moreover, the indicator for selecting the ternary-tree partition type can be omitted or absent (for example, being omitted or absent by not signaling or not parsing such indicator) when the current sub-tree partition depth is larger than the maximum allowed sub-tree partitioning depth minus a threshold N.
In yet another example, the current sub-tree partition depth is S and the maximum allowed sub-tree partition depth is M, then the ternary-tree partition is allowed for splitting the current block when S ≤ (M -N) , where M > N > 0. Besides, if the current sub-tree partition depth is larger than (M -N) , then the indicator for selecting ternary-tree partition can be omitted or absent (for example, being omitted or absent by not signaling or not parsing such indicator) .
MTT Block Partition Constraints -Method 8
During the sub-tree partition, the ternary-tree partition is allowed for splitting the current block when the current sub-tree depth is equal to or smaller than the maximum allowed ternary-tree partitioning depth (MaxTTDepth) . MaxTTDepth only can be equal to or smaller than sub-tree partitioning depth. Besides, MaxTTDepth can be signalled in a video parameter set (VPS) , a sequence parameter set (SPS) , a picture parameter set (PPS) , a slice header, a coding unit, or any combination thereof. Moreover, the indicator for selecting the ternary-tree partition type can be omitted or absent (for example, being omitted or absent by not signaling or not parsing such indicator) when the current sub-tree partition depth is larger than MaxTTDepth.
In yet another example, the current sub-tree partition depth is S, the maximum allowed sub-tree partition depth is M, and MaxTTDepth is N. Then, the ternary-tree partition is allowed for splitting the current block when S ≤ M, where M ≤ N. Besides, if the current sub-tree partition depth is larger than M, then the indicator for selecting ternary-tree partition can be omitted or absent (for example, being omitted or absent by not signaling or not parsing such indicator) .
Any of the foregoing proposed methods can be implemented in encoders and/or decoders. For example, any of the proposed methods can be implemented in an Inter/Intra/prediction/transform module of an encoder, and/or an inverse transform/Inter/Intra/prediction module of a decoder. Alternatively, any of the proposed methods can be implemented as a circuit coupled to the inverse transform/Inter/Intra/prediction module of the encoder and/or the Inter/Intra/prediction/transform module of the decoder, so as to provide the information needed by the Inter/Intra/prediction/transform module.
Complexity Reduction associated with Inter Mode
In this disclosure, the QT Depth is defined as the depth of Quad Tree. The BT Depth is defined as the splitting depth of binary tree (BT) . The TT Depth is defined as the splitting depth of ternary tree or triple tree (TT) .
The CT depth is defined as the depth of splitting of binary tree (BT) or triple tree (TT) . It is the total number of binary tree (BT) or triple tree (TT) splitting. In other words, if the total number of BT splitting is 3, the coding-tree structure is split 3 times by the BT. The CT depth can also be the number of binary tree (BT) splitting only. The CT depth can be the number of triple tree (TT) only splitting. The larger the maximum CT depth in video encoder, the larger the encoding complexity overhead. Therefore, it is desirable to reduce the computation complexity.
Method 1 : Skip Some Inter Modes
The Inter mode includes AMVP, Merge mode, FRUC mode, or other inter-prediction modes or tools. There are many Inter coding tools, such as AMVP, Merge, FRUC/PMVD, LIC (local illumination compensation) , Affine coding, NPO (Neighboring-derived Prediction Offset) , OBMC (Overlap Block Motion Compensation) , and so on. And an initial group of Inter tools can be determined from these Inter coding tools.
In the proposed method, one or more Inter modes (or tools) or a portion of certain Inter modes on an encoder side (or on both the encoder and decoder sides) can be skipped or eliminated if a certain condition (or called a test condition) is satisfied. Here "a portion of a certain Inter mode" means a simplified version of a certain Inter mode on the encoder side. For example, a partial procedure of Merge mode can be skipped in the encoder if a certain condition is satisfied. In this example, instead of checking MAX candidates (MAX being the maximum number of Merge candidates) in the conventional RDO process, the simplified Merge mode can have only 3 candidates ( Merge candidates 0, 1 and 2) , instead of Merge candidates 0, 1, 2, ..., (MAX-1) ) . In another example, a partial procedure of FRUC mode can be skipped in the encoder if a certain condition is satisfied. In this case, instead of the conventional FRUC mode, which includes bi-lateral FRUC and template-matching FRUC, the simplified FRUC mode can have only bi-lateral FRUC. In yet another example, the simplified FRUC mode can have only template-matching FRUC.
In the proposed method, one or more Inter modes (or tools) or a portion of a certain Inter mode can be skipped or eliminated on the encoder side (or on both encoder and decoder sides) if a certain condition (denoted as COND_REDUOFF) is satisfied. In the following embodiments, the term “depth” can mean the CT depth or QT depth or BT depth or TT depth.
Embodiment 1: When the depth of current CU equals N, the condition is satisfied, where N is a pre-defined value.
Embodiment 2: When depth of current CU is larger than a threshold, the condition is satisfied.
Embodiment 3: When depth of current CU is smaller than a threshold, the condition is satisfied.
Embodiment 4: When the current CU size (CU size = CU width *CU height) is larger than a threshold, the condition is satisfied.
Embodiment 5: When the current CU size is smaller than a threshold, the condition is satisfied.
Embodiment 6: When the QP (control signal of quantization) value of current CU size is larger than a threshold, the condition is satisfied.
Embodiment 7: When the QP (control signal of quantization) value of current CU size is smaller than a threshold, the condition is satisfied.
Embodiment 8: When the depth of current CU equals N and current CU size is larger than a threshold, the condition is satisfied.
Embodiment 9: When the depth of current CU equals N and current CU size is smaller than a threshold, the condition is satisfied.
Embodiment 10: When the depth of current CU equals N and current CU QP is larger than a threshold, the condition is satisfied.
Embodiment 11: When the depth of current CU equals N and current CU QP is smaller than a threshold, the condition is satisfied.
Embodiment 12: When depth of current CU equals N and current CU temporal layer is larger than a threshold, the condition is satisfied.
Embodiment 13: When depth of current CU equals N and current CU temporal layer is smaller than a threshold, the condition is satisfied.
Embodiment 14: When depth of current CU equals N and current CU aspect ratio (width/height or height/width) is larger than a threshold, the condition is satisfied.
Embodiment 15: When depth of current CU equals N and current CU aspect ratio is smaller than a threshold, the condition is satisfied.
Embodiment 16: When the parent mode of current CU (i.e., the mode of parent block of coding-tree splitting) is Skip mode, the condition is satisfied.
Embodiment 17: When the parent mode of current CU (i.e., the mode of parent block of coding-tree splitting) is some certain mode, the condition is satisfied.
Embodiment 18: When current CU aspect ratio (width/height or height/width) is larger than a threshold, the condition is satisfied.
Embodiment 19: When current CU aspect ratio is smaller than a threshold, the condition is satisfied.
In addition to the embodiments listed above, the certain condition for turning-off some Inter tools can be the combination of the listed embodiments. For example, Embodiment 2 and Embodiment 4 can be combined, and the combined condition is “When depth of current CU is larger than a threshold” and/or “When current CU size (CU size = CU width *CU height) is larger than a threshold” .
If the certain condition for turning-off some Inter tools is met, it can turn-off some Inter tools and/or reduce complexity of some other Inter tools. For example, if the condition of embodiment 14 is met, FRUC mode can be turned off and the Merge mode can be modified to have only 2 candidates to reduce the complexity of the Merge mode by reducing the candidate number for the Merge mode. In this case, the reduced complexity Merge mode is referred as a low-complexity Merge mode. For convenience, a reduced complexity Inter tool is referred as a low-complexity Inter tool. In another example, if the condition of Embodiment 15 is met, the FRUC mode can be reduced to only include the bilateral mode and the Merge mode can be modified to have only 2 candidates to reduce the complexity of the Merge mode. The FRUC in this case is referred as a low-complexity FURC.
In another embodiment, if the certain condition for turning-off some Inter tools is met (COND_REDUOFF being asserted) , Inter tool A can be turned off depending on the RD cost of Inter tool B in the encoder. For example, FRUC mode can be turned off if the AMVP RD cost is lower than a threshold. In another example, FRUC mode can be turned off if the RDO cost of the low-complexity FRUC is lower than the RDO cost of low-complexity AMVP.
In another embodiment, if the certain condition for turning-off some Inter tools is met, in addition to turn-off some Inter tools and/or reduce some other Inter tools, the related syntax element can be eliminated (or saved) for improving coding gain. For example, for the condition that CT depth == 3 and CU size >= 4096, the FRUC mode and AMVP mode are turned off. Therefore, the syntax element of Merge mode and FRUC mode can be totally eliminated for any CU with condition of "CT depth == 3, and CU size >= 4096" . In another example, for the condition that CT depth == 3 and CU size >= 4096, the Merge mode is modified to have only 2 candidates. In this case, the unary code encoding of Merge index in the conventional method can be modified to reduce the bits of Merge index.
The proposed method can be extended to turn off some Intra tools. If a certain condition is met, some Intra tools (e.g. Intra prediction, or other Intra tool) can be turned off and/or some other Intra tools can be reduced, such that the mode-flag (such as affine merge flag, LIC flag) can be eliminated for that CU or the mode-index (such as merge index) can be reduced for unary code.
Method 2: Skip Some Inter Mode according to Surrounding Condition or Current CU
Here the term "surrounding" means left and/or top neighbouring blocks of the current CU. This method firstly check the spatial surrounding Inter modes. To check the Inter mode of spatial surrounding CUs, it can count the histogram of the Inter modes of the CUs which is surrounding (i.e., left and/or top neighbouring of) the current CU according to one embodiment. In another embodiment, it counts the histogram of the Inter modes of minimum locks (e.g. smallest block 4x4, or other sizes by different system or different embodiment) which is surrounding (i.e., left and/or top neighbouring of) the current CU. In yet another embodiment, it counts the histogram of the Inter modes of surrounding CU or blocks or pixels.
After the counting (or forming histogram) , if a certain Inter mode (e.g. FRUC mode) has the maximum number of occurrence among all Inter modes (such as Merge mode, AMVP mode, FRUC mode, or other Inter tools) , this Inter mode can be designated as most_freq_inter_mode. Accordingly, some Inter modes can be turned off according to the most_freq_inter_mode. There are some embodiments as follows.
Embodiment 1: the Inter mode corresponding to most_freq_inter_mode can be turned off for the current CU.
Embodiment 2: the Inter mode which is not the mode of most_freq_inter_mode can be turned off for the current CU.
This method is not restricted to embodiments 1 and 2. In other embodiments, some Inter tools can be turned off and/or reduced according to most_freq_inter_mode.
This method can be added a size condition, in which the current CU size (CU width *CU height) larger than a pre-defined threshold or smaller than a pre-defined threshold.
Method 3: Skip Some Inter Mode according to Parent Mode Condition
In an encoder, for the current sub-block (e.g. CU) , the Inter mode of its parent sub-block (e.g. CU) is checked during coding-tree splitting. If its parent sub-block (e.g. CU) is a certain Inter mode (denoted as inter_mode_parent) , then the Inter mode that is equal to inter_mode_parent is turned off in the current CU according to embodiment 1. In embodiment 2, the Inter mode that is not equal to inter_mode_parent is turned off in the current CU. This method is not restricted to embodiments 1 and 2. According to this method, some Inter tools can be turned off and/or reduced according to inter_mode_parent.
The foregoing proposed methods for complexity reduction for coding-tree splitting structure associated with Inter mode can be implemented in encoders and/or decoders. For example, the proposed method can be implemented in an Inter prediction module of an encoder, and/or an Inter prediction module of a decoder.
Simplification of Coding Tree (CT) Structure
In existing practice, the maximum CT depth of binary tree (BT) splitting or triple tree (TT) splitting is up to 3. Allowing TT splitting will increase the complexity at the encoder side significantly. Some methods are proposed to reduce the computation complexity especially for some specific CT depth equal to X, where X is an integer greater than or equal to 0. In the following, X equal to 3 is used as an example for illustration purpose and CT splitting is terminated (or called skipped) at CT depth equal to 3 conditionally. In other words, the maximum CU depth of BT splitting or TT splitting will be up to 2 in some cases. In one embodiment, if CU size is larger than MxN, where M and N can be any integer such as 64, 128, 256, and so on, then CT splitting is terminated at CT depth equal to 3. The values of M and N can be predefined or signalled at the sequence level, picture level or slice level. Alternatively, the values of M and N are related to the video resolution or standard profile. In another embodiment, the condition to terminate or skip CT splitting for CT depth equal to 3 is based on the temporal layer ID of coded slices. The temporal layer is referring to the layer associated with the temporal structure of pictures (e.g. I, B and P pictures) . For example, an I picture can be assigned to Temporal Layer=0 since the I picture does not refer to any other picture, and a B picture, which refer to more pictures directly and/or indirectly, can be assigned to the Temporal Layer with a larger value. If the temporal layer of current slice is equal to K, greater than L, or smaller than P, then CT splitting CT splitting is terminated at CT depth equal to 3. K, L, and P can be any integers, e.g. 2, 4, 6, and so on. In another embodiment, the condition to allow CT depth equal to 3 is based on the best predicted mode of current CU. If the best mode of current CU is Skip mode, then CT splitting is terminated at CT depth equal to 3. In another embodiment, for large quad-tree (QT) leaves or CUs with large size (e.g. 64x64, 128x128) , the decision to allow CT depth equal to 3 is made based on the ratio of CU’s width and height. For example, if the ratio of CU’s width and height is smaller than T, then CT splitting is terminated at CT depth equal to 3. T can be any integers, e.g. 2, 4, 8, and so on. The values of T can be predefined or signalled at sequence level, picture level or slice level. Or the value of T is related to the video resolution or standard profile. In another embodiment, the condition to perform CT depth equal to 3 is based on the decision of CT depth equal to 1 or equal to 2. For example, if no TT splitting is used in the previous CT depth or the partition in CT depth equal to 1 is not TT, then CT depth equal to 3 is allowed. In another embodiment, the condition to terminate CT splitting at CT depth 3 is based on current slice QP. If current slice QP is larger than a pre-defined threshold, then skip CT depth equal to 3.
Furthermore, the proposed methods can be combined to make the decision of terminating CT depth equal to 3. For example, CT splitting is terminated at CT depth equal to 3 only when CU size is larger than MxN and the best mode of CU is Skip mode. These methods can be applied as an encoder only or be normative changes. If these methods are applied as normative changes, we can also benefit from some syntax saving for conditionally coding splitting flags on CT depth equal to 3.
Moreover, termination of CT splitting at CT depth equal to 3 can be applied on TT splitting only or BT splitting only. In other words, only terminate TT splitting or terminate BT splitting at CT depth equal to 3, and the remaining splitting type still can be applied at CT depth equal to 3.
The foregoing proposed methods can be implemented in encoders and/or decoders. For example, the proposed method can be implemented in a CU splitting process in an encoder, and/or a CU splitting process in a decoder.
Fast CT/CU Splitting
In another aspect of the present invention, several fast CU partition decision methods are disclosed for reducing video encoder complexity and also maintaining the coding efficiency. These methods can be designed as encoder-only fast CU partitioning methods, or with normative changes for saving signalling overhead. Details of these embodiment are described as follows.
Embodiment 1: Allow/Skip CU Partitioning Methods according to Weighted Neighbouring Sub-CUs Area
The usage of a CU portioning method for the current CU is based on the weighted neighbouring sub-CUs area. The neighbouring sub-CUs can be the upper neighbouring sub-CUs or/and the left neighbouring sub-CUs. Besides, only the partitioning method or/and partition direction of the used CU partition methods are signalled.
In one example, if the current CU area is equal to or larger than the weighted neighbouring sub-CUs area, then only no partition and QT partitioning methods are used and BT/TT partitioning methods are not used. An example of adaptive block partition 1700 according to an embodiment of the present invention is shown in Fig. 17. As shown in Fig. 17, the current CU 1710 is marked by the slant-line filled area, and the eight 4×4 neighbouring sub-CUs 1720a and 1720b are marked by areas filled with dots. The upper four 4×4 neighbouring sub-CUs 1720a all belong to a 16×8 CU, and the left four 4×4 neighbouring sub-CUs 1720b belong to 8×8, 8×4 and 8×4 CUs. Then, the weighted neighbouring CU area, y, is calculated as:
y = k × x,
x = (4 × (16 × 8) + 2× (8 × 8) + (8 × 4) + (8 × 4) ) /8 = 88,
= > y = k × 88,
In the above equations, k belongs to a real number and x is the average area of the neighboring sub-CUs. Therefore, if the current CU area is denoted as a and a≥y, then only no partition or QT partition can be selected to split the current CU into smaller CUs (i.e., sub-CUs) .
In another embodiment, if the current CU area is equal to or larger than the weighted left sub-CUs area, then only no partition or QT partitioning can be used and BT/TT partitioning methods are not used. For example, as shown in Fig. 17, the weighted left sub-CUs area, y, is calculated as:
y = k × x,
x = (2 × (8 × 8) + (8 × 4) + (8 × 4) ) /8 = 24,
= > y = k × 24,
In the above equations, k is a real number and x is the average area of the left neighbouring sub-CUs. Therefore, if the current CU area is denoted as a and a≥y, then only no partition or QT partitioning can be selected to split the current CU into smaller CUs.
In still another embodiment, if the current CU area is equal to or larger than the weighted upper sub-CUs area, then only no partition or QT partitioning can be used and BT/TT partitioning methods are not used. For example, as shown in Fig. 17, the weighted upper sub-CU area, y, is calculated as:
y = k × x,
x = (4 × (16 × 8) ) /8 = 64,
= > y = k × 64,
In the above equations, k is a real number and x is the average area of the upper neighbouring sub-CUs. Therefore, if the current CU area is denoted as a and a≥y, then only no partition or QT partitioning can be selected to split the current CU into smaller CUs.
In still another embodiment, only the no split partitioning method is used if the current CU area is equal to or smaller than the weighted neighbouring sub-CUs area. For example, as shown in Figure 3, the weighted neighbouring CU area, y, is calculated as:
y = k × x,
x = (4 × (16 × 8) +2× (8 × 8) + (8 × 4) + (8 × 4) ) /8=88,
= > y = k × 88,
In the above equations, k is to a real number and x is the average area of the neighboring sub-CUs. If the current CU area is denoted as a and a≤y, then only the no partitioning method is used.
In still another embodiment, only the no split partitioning method is used if the current CU area is equal to or smaller than the weighted left sub-CUs area. For example, as shown in Fig. 17, the weighted neighbouring CU area, y, is calculated as:
y = k × x,
x = (2 × (8 × 8) + (8 × 4) + (8 × 4) ) /8 = 24,
= > y = k × 24,
In the above equations, k is a real number and x is the average area of the left neighbouring sub-CUs. If the current CU area is denoted as a and a≤y, then only no CU partitioning method is used.
In still another embodiment, only the no split partitioning method is used if the current CU area is equal to or smaller than the weighted upper sub-CUs area. For example, as shown in Fig. 17, the weighted neighbouring CU area, y, is calculated as:
y = k × x,
x = (4 × (16 × 8) ) /8 = 64,
= > y = k × 64,
In the above equations, k is a real number and x is the average area of the upper neighbouring sub-CUs. If the current CU area is denoted as a and a≤y, then only no CU partitioning method is used.
Embodiment 2: Skip CU Partitioning Methods according to Weighted Side Length Ratio
All available CU partitioning methods are classified into two sets, and only one CU partition set is used for splitting the current CU into smaller CUs if the weighted side length ratio is in a given range. The side length ratio can be the weighted average height of the left neighbouring CUs over the current CU height, or the weighted average width of the upper neighbouring CUs over the current CU width. Besides, if the current CU satisfies the side length ratio constraint, then only the partitioning method or/and partition direction of the selected CU partition set are signalled.
In one embodiment, as shown in Fig. 17, the side length ratio is the average width of the upper neighbouring CUs over the current CU width, a, is calculated as:
If a≥n, then only horizontal BT/TT CU partitioning methods are used to split the current CU into smaller CUs, where n is a real number.
In another embodiment, as shown in Fig. 17, the side length ratio is the average height of the left neighbouring CUs over the current CU width, b, is calculated as:
If b≥q, then only vertical BT/TT CU partitioning methods are used to split the current CU into smaller CUs, where q is a real number.
Embodiment 3: Skip CU Partitioning Methods according to Current Best Sub-CUs/CUs Partitioning Direction
Before testing a CU partitioning method (which is denoted as P) , if the current best CU partitioning directions are not the same as the partitioning direction of P and its sub-CUs are not further split in direction of P, then the test of P is skipped.
In one embodiment, if the current best CU partitioning method is horizontal BT or TT split, and its top-left sub-CU and bottom-right sub-CU are both further split by horizontal BT or TT partitioning method, then the test of the vertical BT/TT partitioning methods are skipped.
In another embodiment, if the current best CU partitioning method is vertical BT or TT split, and its top-left sub-CU and bottom-right sub-CU are both further split by vertical BT or TT partitioning method, then the test of the horizontal BT/TT partitioning methods are skipped.
Embodiment 4: Skip CU Partitioning Methods According to Early Testing the CU Partitioning Methods in the Other Split Direction
Before testing a CU partitioning method (denoted as P) , if the current best CU partitioning direction is not the same as P, then other CU partitioning methods with the same partitioning direction of the current best CU partitioning method are tested earlier than P. After that, if the current best CU partitioning direction is still not the same as P and more than a percentage of sub-CUs of the current best CU are not further split, then the test of P is skipped.
In one embodiment, if the current best CU partitioning method is vertical BT split, then the vertical TT partitioning method is tested earlier than the horizontal TT partitioning method. After that, if the current best is changed to vertical TT and the middle sub-CU is not further spit, the test of horizontal TT partitioning method is skipped.
In another embodiment, if the current best CU partitioning method is horizontal BT split, then the horizontal TT partitioning method is tested earlier than the vertical TT partitioning method. After that, if the current best is changed to horizontal TT and the middle sub-CU is not further spit, the test of vertical TT partitioning method is skipped.
Embodiment 5: Skip CU Partitioning Methods According to Temporary Best Split Cost in Each Partitioning Set
All available CU partitioning methods are classified into two sets, and these two sets are P
1= and P
2. The classification of partitioning methods can be based on partitioning direction or partitioning type. Suppose only partial partitioning methods in P
1 and P
2 has been tested, and the best split cost of the tested partitioning methods in P
1 and P
2 is
and
If
then the remaining CU partition modes in P
1 are skipped. Or if
then the remaining CU partition modes in P
2 are skipped.
In one embodiment, the partitioning methods are classified by split direction, and these two partitioning sets are {Horizontal BT, Horizontal ABT, Horizontal TT} and {Vertical BT, Vertical ABT, Vertical TT} . The ABT is abbreviation for Asymmetric BT. If {Horizontal BT, Horizontal ABT} and {Vertical BT, Vertical ABT} have been tested and the best split cost for these two sets are
and
If
then the split test of the horizontal TT partitioning method is skipped.
In another embodiment, the partitioning methods are classified by the split type, and these two partitioning sets are {Horizontal TT, Vertical TT, Horizontal ABT, Vertical ABT} and {Horizontal BT, Vertical BT} . If {Horizontal BT, Vertical BT} and {Horizontal TT, Vertical TT} have been tested and the best split cost for these two sets are
and
If
then the split tests of the horizontal/vertical ABT partitioning methods are skipped.
Embodiment 6: Skip CU Partitioning Methods According to Temporary Best Split Cost among Earlier Partitioning Methods
Assume the number of total available CU partitioning methods for current CU is M, and N out of M partitioning methods have been tested and the split cost for these N partitioning methods are denoted as {c
1, c
2, c
3, ..., c
N} . Suppose the current best CU split cost is c
best and c
best=min
j (c
1, c
2, c
3, ..., c
N) . If c
i>w×c
best, (where i=1, ..., N and i≠j, ) and the current best CU partition method is no split, then the split tests of the remaining (M-N) CU partitioning methods are skipped.
For example, assume the available CU partitioning methods are {No Split, Horizontal BT, Vertical BT, QT, Horizontal TT, and Vertical TT} . Suppose No Split, Horizontal BT, Vertical BT, and QT are tested, and the current best CU partition method is the no split partition type. If the weighted cost of the no split method is smaller than the cost of Horizontal BT, Vertical BT, and QT, then the split tests of horizontal TT and vertical TT are skipped.
Embodiment 7: Skip CU Partitioning Methods by Comparing to Costs of Upper Depth CU
According to this embodiment, the CU partitioning method is skipped early once the accumulated split cost is equal to or larger than any best split cost of each split depth. Accumulated split cost is defined as the summation of the current coded sub-CUs and the parent coded CUs in the upper split depth. For example, Fig. 18A shows a CTU that is still under the encoding process. The currently encoded CU 1810 is demoted by the area filled with slant lines, and the fully coded CUs are indicated by the area enclosed by thick dash lines. For the currently encoded CU, there are 4 parent blocks from the split depth 0, 1, 2, 3 which are indicated by corresponding bold solid lines (i.e., 1836, 1834, 1832 and 1830 respectively) in Fig. 18B-Fig. 18E, respectively. Assume that the current testing method is the horizontal BT partitioning method, and the first sub-CU marked as “A” is already coded. Before coding the second sub-CU marked as “B” , if the split cost of “A” plus the cost of other coded CUs marked by backslash-lines is equal to or larger than the weighted split cost of the parent blocks of each split depth, then the CU partitioning method is early skipped. For example, in Fig. 18B, other coded CUs correspond to null (i.e., no other coded CUs being used) for splitting depth-3 block 1830 as indicated by a thick-line square. In Fig. 18C, other coded CUs correspond to areas filled with backlash-lines above area A for splitting depth-2 block 1832 as indicated by a thick-line rectangle. In Fig. 18D, other coded CUs correspond to areas filled with backlash-lines above area A for splitting depth-1 block 1834 as indicated by a thick-line square. In Fig. 18E, other coded CUs correspond to areas filled with backlash-lines for splitting depth-0 block 1836 as indicated by a thick-line square.
Embodiment 8: Reuse Previous Same Position and Same Size CU Split Decision
A CU can be encoded many times by different CU partitioning methods or in different CU split depths. Due to the spatial position, CU size, or even the neighbours of the CU is not changed, the CU split decision can be reused once the CU is revisited.
In one example, only the partitioning methods have less split cost than the weighted best split cost will be tested when the CU is revisited.
In another embodiment, when the CU is revisited, the partitioning method has the best split cost will always be tested, and the partitioning method has the second best split cost that is less than the weighted best split cost will also be tested. Other tested partitioning methods will be skipped. Note that, the partitioning method that does not test at the first-time being encoded CU can be tested at the revisited time.
Embodiment 9: Skip CU Partitioning Methods According to the Weighted Average Area of Current Sub-CUs
The CU partitioning methods are skipped when the weighted average area of the current sub-CUs is equal to or smaller than TH
1, and the current CU area/size is also equal to or larger than TH
2. For example, if the current best CU is split as shown in Fig. 19, and each sub-CU size is 4x4. Then the weighted average area of the current sub-CUs, a, is calculated as:
If a≤TH
1 and the current CU area/size is equal to or larger than TH
2, then the following non-tested CU partitioning methods are skipped.
Embodiment 10: Skip CU partitioning methods According to QT Partitioning Results
The CU partitioning methods are skipped when the best CU’s QT depth is deeper than the current CU, and the current CU area is equal to or larger than a threshold. In one example, the TT partitioning methods are skipped when the best CU’s QT depth is deeper than the current CU, and the current CU area is equal to or larger than 16384.
Fig. 20 illustrates a flowchart of an exemplary coding system with constraints on coding-tree partition according to an embodiment of the present invention. The steps shown in the flowchart, as well as other following flowcharts in this disclosure, may be implemented as program codes executable on one or more processors (e.g., one or more CPUs) at the encoder side and/or the decoder side. The steps shown in the flowchart may also be implemented based hardware such as one or more electronic devices or processors arranged to perform the steps in the flowchart. According to this method, input data associated with a current block in a current image from a video sequence is received in step 2010. In step 2020, the current block is partitioned into multiple final sub-blocks using one or more stages of sub-tree partition comprising ternary partition and at least one other-type partition, wherein the ternary partition is excluded from the sub-tree partition if a current sub-tree depth associated with a current sub-block is greater than a first threshold and the first threshold is an integer greater than or equal to 1. In step 2030, said multiple final sub-blocks is encoded to generate compressed bits to include in a video bitstream in an encoder side or said multiple final sub-blocks is decoded from the video bitstream in a decoder side.
Fig. 21 illustrates a flowchart of an exemplary coding system with complexity reduced Inter mode according to an embodiment of the present invention. According to this method, input data associated with a current block in a current image from a video sequence is received in step 2110. An initial group of Inter tools is determined in step 2120. A test condition is then determined for the current block in step 2130. In step 2140, when the test condition is satisfied, the current block is encoded or decoded using a current Inter mode selected from a modified group of Inter tools, wherein the modified group of Inter tools is derived from the initial group of Inter tools by removing one or more first Inter tools from the initial group of Inter tools, replacing one or more second Inter tools with one or more complexity-reduced Inter tools, or both.
Fig. 22 illustrates a flowchart of another exemplary coding system with constraints on coding-tree partition according to an embodiment of the present invention. According to this method, input data associated with a current block in a current image from a video sequence is received in step 2210. A test condition is determined for the current block in step 2220. In step 2230, when the test condition is satisfied, the current block is partitioned into multiple final sub-blocks using restricted coding-tree structure comprising one or more stages of multi-type partitions, wherein the restricted-coding tree structure terminates coding-tree partition for a target sub-block having a coding-tree partition depth equal to a threshold. In step 2240, said multiple final sub-blocks is encoded to generate compressed bits to include in a video bitstream in an encoder side or said multiple final sub-blocks is decoded from the video bitstream in a decoder side.
The flowcharts shown are intended to illustrate an example of video coding according to the present invention. A person skilled in the art may modify each step, re-arranges the steps, split a step, or combine steps to practice the present invention without departing from the spirit of the present invention. In the disclosure, specific syntax and semantics have been used to illustrate examples to implement embodiments of the present invention. A skilled person may practice the present invention by substituting the syntax and semantics with equivalent syntax and semantics without departing from the spirit of the present invention.
The above description is presented to enable a person of ordinary skill in the art to practice the present invention as provided in the context of a particular application and its requirement. Various modifications to the described embodiments will be apparent to those with skill in the art, and the general principles defined herein may be applied to other embodiments. Therefore, the present invention is not intended to be limited to the particular embodiments shown and described, but is to be accorded the widest scope consistent with the principles and novel features herein disclosed. In the above detailed description, various specific details are illustrated in order to provide a thorough understanding of the present invention. Nevertheless, it will be understood by those skilled in the art that the present invention may be practiced.
Embodiment of the present invention as described above may be implemented in various hardware, software codes, or a combination of both. For example, an embodiment of the present invention can be one or more circuit circuits integrated into a video compression chip or program code integrated into video compression software to perform the processing described herein. An embodiment of the present invention may also be program code to be executed on a Digital Signal Processor (DSP) to perform the processing described herein. The invention may also involve a number of functions to be performed by a computer processor, a digital signal processor, a microprocessor, or field programmable gate array (FPGA) . These processors can be configured to perform particular tasks according to the invention, by executing machine-readable software code or firmware code that defines the particular methods embodied by the invention. The software code or firmware code may be developed in different programming languages and different formats or styles. The software code may also be compiled for different target platforms. However, different code formats, styles and languages of software codes and other means of configuring code to perform the tasks in accordance with the invention will not depart from the spirit and scope of the invention.
The invention may be embodied in other specific forms without departing from its spirit or essential characteristics. The described examples are to be considered in all respects only as illustrative and not restrictive. The scope of the invention is therefore, indicated by the appended claims rather than by the foregoing description. All changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope.
Claims (28)
- A method of video coding, the method comprising:receiving input data associated with a current block in a current image from a video sequence;partitioning the current block into multiple final sub-blocks using one or more stages of sub-tree partition comprising ternary tree partition and at least one other-type partition, wherein the ternary tree partition is excluded from the sub-tree partition if a current sub-tree depth associated with a current sub-block is greater than a first threshold and the first threshold is an integer greater than or equal to 1; andencoding said multiple final sub-blocks to generate compressed bits to include in a video bitstream in an encoder side or decoding said multiple final sub-blocks from the video bitstream in a decoder side.
- The method of Claim 1, wherein said at least one other-type partition comprises quadtree partition, binary-tree partition or both.
- The method of Claim 1, wherein the current block corresponds to one Coding Tree Unit (CTB) and each of the multiple final sub-blocks corresponds to one Coding Unit (CU) , Prediction Unit (PU) or Transform Unit (TU) .
- The method of Claim 1, wherein the first threshold is pre-determined.
- The method of Claim 1, wherein the first threshold is inferred at the decoder side.
- The method of Claim 1, wherein an indicator for indicating whether the ternary tree partition is selected for the current sub-block is omitted if the current sub-tree depth associated with the current sub-block is greater than the first threshold.
- The method of Claim 1, wherein the first threshold corresponds to a maximum allowed sub-tree partitioning depth minus a second threshold, wherein the second threshold is an integer smaller than the maximum allowed sub-tree partitioning depth and greater than or equal to 0.
- The method of Claim 7, wherein a value of the second threshold is dependent on whether the current image is in an Intra slice or an Inter slice.
- The method of Claim 7, wherein a value of the second threshold is signalled in a video parameter set (VPS) , a sequence parameter set (SPS) , a picture parameter set (PPS) , a slice header, a coding unit, or a combination thereof.
- An apparatus of video coding for a video encoder of a video decoder, the apparatus comprising one or more electronic circuits or processors arranged to:receive input data associated with a current block in a current image from a video sequence;partition the current block into multiple final sub-blocks using one or more stages of sub-tree partition comprising ternary tree partition and at least one other-type partition, wherein the ternary tree partition is excluded from the sub-tree partition if a current sub-tree depth associated with a current sub-block is greater than a first threshold and the first threshold is an integer greater than or equal to 1; andencode said multiple final sub-blocks to generate compressed bits to include in a video bitstream in an encoder side or decode said multiple final sub-blocks from the video bitstream in a decoder side.
- Amethod of video coding using an Inter mode, the method comprising:receiving input data associated with a current block in a current image from a video sequence;determining an initial group of Inter tools;determining a test condition for the current block; andwhen the test condition is satisfied, encoding or decoding the current block using a current Inter mode selected from a modified group of Inter tools, wherein the modified group of Inter tools is derived from the initial group of Inter tools by removing one or more first Inter tools from the initial group of Inter tools, replacing one or more second Inter tools with one or more complexity-reduced Inter tools, or both.
- The method of Claim 11, wherein said one or more first Inter tools are selected from a set comprising AMVP (Advanced Motion Vector Prediction) , Merge, PMVD (Pattern Matched Motion Vector Derivation) , LIC (Local Illumination Compensation) , Affine coding, NPO (Neighboring-derived Prediction Offset) , OBMC (Overlap Block Motion Compensation) or a combination thereof.
- The method of Claim 11, wherein whether the test condition is satisfied depends on a coding-tree depth associated with the current block.
- The method of Claim 11, wherein whether the test condition is satisfied depends on a block size of the current block.
- The method of Claim 11, wherein whether the test condition is satisfied depends on a coding-tree depth associated with the current block and a block size of the current block.
- The method of Claim 11, wherein the test condition is satisfied if a coding-tree depth associated with the current block is equal to a pre-defined value and a block size of the current block is greater than or equal to a threshold.
- The method of Claim 11, wherein when a target first Inter tool is removed from the initial group of Inter tools, a syntax element associated with the target first Inter tool is not signalled at an encoder side or is not parsed at a decoder side for the current block.
- The method of Claim 11, wherein when said one or more first Inter tools are removed from the initial group of Inter tools, the current block uses a candidate list with reduced number of candidates in the candidate list by excluding said one or more first Inter tools from the candidate list.
- An apparatus of video coding using an Inter mode, the apparatus comprising one or more electronic circuits or processors arranged to:receive input data associated with a current block in a current image from a video sequence;determine an initial group of Inter tools;determine a test condition for the current block; andwhen the test condition is satisfied, encode or decode the current block using a current Inter mode selected from a modified group of Inter tools, wherein the modified group of Inter tools is derived from the initial group of Inter tools by removing one or more first Inter tools from the initial group of Inter tools, replacing one or more second Inter tools with one or more complexity-reduced Inter tools, or both.
- A method of video coding, the method comprising:receiving input data associated with a current block in a current image from a video sequence;determining a test condition for the current block;when the test condition is satisfied, partitioning the current block into multiple final sub-blocks using restricted coding-tree structure comprising one or more stages of multi-type partitions, wherein the restricted-coding tree structure terminates coding-tree partition for a target sub-block having a coding-tree partition depth equal to a threshold; andencoding said multiple final sub-blocks to generate compressed bits to include in a video bitstream in an encoder side or decoding said multiple final sub-blocks from the video bitstream in a decoder side.
- The method of Claim 20, wherein whether the test condition is satisfied depends on a block size of the current block.
- The method of Claim 20, wherein whether the test condition is satisfied depends on a temporal layer of current slice, wherein the current slice includes the current block.
- The method of Claim 20, wherein whether the test condition is satisfied depends on a best predicted mode of the current block.
- The method of Claim 20, wherein whether the test condition is satisfied depends on a ratio of width and height of the current block.
- The method of Claim 20, wherein whether the test condition is satisfied depends on a partition decision for a predecessor sub-block of the target sub-block at a second coding-tree partition depth smaller than the threshold.
- The method of Claim 20, wherein whether the test condition is satisfied depends on a quantization parameter of current slice, wherein the current slice includes the current block.
- The method of Claim 20, wherein a syntax element for indicating a partition decision of the target sub-block is omitted if the coding-tree partition depth is equal to the threshold.
- An apparatus of video coding for a video encoder of a video decoder, the apparatus comprising one or more electronic circuits or processors arranged to:receive input data associated with a current block in a current image from a video sequence;determine a test condition for the current block;when the test condition is satisfied, partition the current block into multiple final sub-blocks using restricted coding-tree structure comprising one or more stages of multi-type partitions, wherein the restricted-coding tree structure terminates coding-tree partition for a target sub-block having a coding-tree partition depth equal to a threshold; andencode said multiple final sub-blocks to generate compressed bits to include in a video bitstream in an encoder side or decode said multiple final sub-blocks from the video bitstream in a decoder side.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US16/977,158 US11516513B2 (en) | 2018-03-14 | 2019-03-13 | Method and apparatus of optimized splitting structure for video coding |
CN201980015725.9A CN111819857B (en) | 2018-03-14 | 2019-03-13 | Method and apparatus for optimizing partition structure for video encoding and decoding |
EP19766852.8A EP3763128A4 (en) | 2018-03-14 | 2019-03-13 | Method and apparatus of optimized splitting structure for video coding |
TW108108582A TWI702839B (en) | 2018-03-14 | 2019-03-14 | Method and apparatus of optimized splitting structure for video coding |
Applications Claiming Priority (10)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US201862642661P | 2018-03-14 | 2018-03-14 | |
US62/642,661 | 2018-03-14 | ||
US201862647910P | 2018-03-26 | 2018-03-26 | |
US201862647917P | 2018-03-26 | 2018-03-26 | |
US201862647914P | 2018-03-26 | 2018-03-26 | |
US62/647,914 | 2018-03-26 | ||
US62/647,917 | 2018-03-26 | ||
US62/647,910 | 2018-03-26 | ||
US201862664382P | 2018-04-30 | 2018-04-30 | |
US62/664,382 | 2018-04-30 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019174594A1 true WO2019174594A1 (en) | 2019-09-19 |
Family
ID=67907328
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/077960 WO2019174594A1 (en) | 2018-03-14 | 2019-03-13 | Method and apparatus of optimized splitting structure for video coding |
Country Status (5)
Country | Link |
---|---|
US (1) | US11516513B2 (en) |
EP (1) | EP3763128A4 (en) |
CN (1) | CN111819857B (en) |
TW (1) | TWI702839B (en) |
WO (1) | WO2019174594A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111212292A (en) * | 2020-01-16 | 2020-05-29 | 郑州轻工业大学 | H.266-based adaptive CU partitioning and skip mode method |
CN112601082A (en) * | 2020-11-30 | 2021-04-02 | 南京邮电大学 | Video-based rapid dynamic point cloud coding method and system |
WO2021073521A1 (en) * | 2019-10-14 | 2021-04-22 | Mediatek Inc. | Signaling block partitioning structure of image and video |
WO2021110045A1 (en) * | 2019-12-03 | 2021-06-10 | Huawei Technologies Co., Ltd. | Coding method, device, system with merge mode |
JP7519767B2 (en) | 2019-09-30 | 2024-07-22 | マクセル株式会社 | Image encoding method and image decoding method |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3804315A4 (en) * | 2018-05-31 | 2022-03-09 | Sharp Kabushiki Kaisha | Systems and methods for partitioning video blocks in an inter prediction slice of video data |
US11546592B2 (en) * | 2020-01-08 | 2023-01-03 | Tencent America LLC | Flexible block partitioning for chroma component |
CN113163199B (en) * | 2021-05-10 | 2023-06-30 | 浙江裕瀚科技有限公司 | H265-based video rapid prediction method, rapid coding method and system |
CN117501693A (en) * | 2021-05-24 | 2024-02-02 | 北京达佳互联信息技术有限公司 | Method and apparatus for overlapped block motion compensation for inter prediction |
CN113613006B (en) * | 2021-07-30 | 2023-08-18 | 浙江裕瀚科技有限公司 | Video coding method, system and device |
CN113747177B (en) * | 2021-08-05 | 2023-06-20 | 中山大学 | Intra-frame coding speed optimization method, device and medium based on historical information |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080062018A1 (en) | 2006-09-11 | 2008-03-13 | Apple Computer, Inc. | Complexity-aware encoding |
WO2014166340A1 (en) * | 2013-04-09 | 2014-10-16 | Lg Electronics (China) R & D Center Co., Ltd. | Depth picture inter enconding and decoding method, encoder and decoder |
CN104285447A (en) * | 2012-04-16 | 2015-01-14 | 高通股份有限公司 | Simplified non-square quadtree transforms for video coding |
US20170347128A1 (en) * | 2016-05-25 | 2017-11-30 | Arris Enterprises Llc | Binary ternary quad tree partitioning for jvet |
WO2018028615A1 (en) * | 2016-08-12 | 2018-02-15 | Mediatek Inc. | Methods and apparatuses of predictor-based partition in video processing system |
US20180070110A1 (en) * | 2016-09-07 | 2018-03-08 | Qualcomm Incorporated | Tree-type coding for video coding |
Family Cites Families (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
HUE039299T2 (en) | 2010-09-09 | 2018-12-28 | Fraunhofer Ges Forschung | Entropy encoding and decoding scheme |
KR20130050403A (en) * | 2011-11-07 | 2013-05-16 | 오수미 | Method for generating rrconstructed block in inter prediction mode |
US9237358B2 (en) * | 2011-11-08 | 2016-01-12 | Qualcomm Incorporated | Context reduction for context adaptive binary arithmetic coding |
TWI720750B (en) * | 2011-12-28 | 2021-03-01 | 日商Jvc建伍股份有限公司 | Dynamic image encoding device and dynamic image encoding method |
CN103248893B (en) * | 2013-05-10 | 2015-12-23 | 四川大学 | From H.264/AVC standard to code-transferring method and transcoder thereof the fast frame of HEVC standard |
WO2015006884A1 (en) * | 2013-07-19 | 2015-01-22 | Qualcomm Incorporated | 3d video coding with partition-based depth inter coding |
US20150262404A1 (en) | 2014-03-13 | 2015-09-17 | Huawei Technologies Co., Ltd. | Screen Content And Mixed Content Coding |
WO2015192372A1 (en) * | 2014-06-20 | 2015-12-23 | Mediatek Singapore Pte. Ltd. | A simplified method for illumination compensation in multi-view and 3d video coding |
CN104023234B (en) * | 2014-06-24 | 2017-02-22 | 华侨大学 | Fast inter-frame prediction method applicable to high efficiency video coding (HEVC) |
EP3282700B1 (en) * | 2015-04-08 | 2021-07-07 | LG Electronics Inc. | Method decoding video signals |
US10212444B2 (en) * | 2016-01-15 | 2019-02-19 | Qualcomm Incorporated | Multi-type-tree framework for video coding |
CN105704494B (en) * | 2016-03-09 | 2018-08-17 | 西安电子科技大学 | Screen content based on depth correlation encodes interframe fast encoding method |
CN108713320B (en) * | 2016-03-16 | 2022-05-17 | 寰发股份有限公司 | Method and apparatus for processing video data with block size limitation in video coding |
EP3453172B1 (en) * | 2016-05-28 | 2023-08-09 | HFI Innovation Inc. | Methods and apparatuses of video data processing with conditionally quantization parameter information signaling |
US10448056B2 (en) * | 2016-07-15 | 2019-10-15 | Qualcomm Incorporated | Signaling of quantization information in non-quadtree-only partitioned video coding |
GB2557430B (en) * | 2016-10-12 | 2020-01-15 | Mediatek Inc | Methods and apparatuses of constrained multi-type-tree block partition for video coding |
CN116567236A (en) * | 2016-12-16 | 2023-08-08 | 夏普株式会社 | Image decoding method |
US10848788B2 (en) * | 2017-01-06 | 2020-11-24 | Qualcomm Incorporated | Multi-type-tree framework for video coding |
CN109845260B (en) * | 2017-02-06 | 2021-06-22 | 华为技术有限公司 | Encoding and decoding method and device |
KR102164399B1 (en) * | 2017-07-17 | 2020-10-12 | 한양대학교 산학협력단 | Video encoding/decoding method and apparatus |
WO2019022568A1 (en) * | 2017-07-28 | 2019-01-31 | 한국전자통신연구원 | Image processing method, and image encoding/decoding method and device which use same |
CN118214857A (en) * | 2017-10-26 | 2024-06-18 | 英迪股份有限公司 | Method and apparatus for asymmetric subblock-based image encoding/decoding |
US10827173B2 (en) * | 2017-11-13 | 2020-11-03 | Electronics And Telecommunications Research Institute | Method and apparatus for quantization |
-
2019
- 2019-03-13 CN CN201980015725.9A patent/CN111819857B/en active Active
- 2019-03-13 EP EP19766852.8A patent/EP3763128A4/en active Pending
- 2019-03-13 US US16/977,158 patent/US11516513B2/en active Active
- 2019-03-13 WO PCT/CN2019/077960 patent/WO2019174594A1/en unknown
- 2019-03-14 TW TW108108582A patent/TWI702839B/en active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080062018A1 (en) | 2006-09-11 | 2008-03-13 | Apple Computer, Inc. | Complexity-aware encoding |
CN104285447A (en) * | 2012-04-16 | 2015-01-14 | 高通股份有限公司 | Simplified non-square quadtree transforms for video coding |
WO2014166340A1 (en) * | 2013-04-09 | 2014-10-16 | Lg Electronics (China) R & D Center Co., Ltd. | Depth picture inter enconding and decoding method, encoder and decoder |
US20170347128A1 (en) * | 2016-05-25 | 2017-11-30 | Arris Enterprises Llc | Binary ternary quad tree partitioning for jvet |
WO2018028615A1 (en) * | 2016-08-12 | 2018-02-15 | Mediatek Inc. | Methods and apparatuses of predictor-based partition in video processing system |
US20180070110A1 (en) * | 2016-09-07 | 2018-03-08 | Qualcomm Incorporated | Tree-type coding for video coding |
Non-Patent Citations (1)
Title |
---|
See also references of EP3763128A4 |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7519767B2 (en) | 2019-09-30 | 2024-07-22 | マクセル株式会社 | Image encoding method and image decoding method |
WO2021073521A1 (en) * | 2019-10-14 | 2021-04-22 | Mediatek Inc. | Signaling block partitioning structure of image and video |
TWI792074B (en) * | 2019-10-14 | 2023-02-11 | 寰發股份有限公司 | Signaling block partitioning of image and video |
US11589044B2 (en) | 2019-10-14 | 2023-02-21 | Hfi Innovation Inc. | Video encoding and decoding with ternary-tree block partitioning |
US11924426B2 (en) | 2019-10-14 | 2024-03-05 | Hfi Innovation Inc. | Signaling block partitioning of image and video |
WO2021110045A1 (en) * | 2019-12-03 | 2021-06-10 | Huawei Technologies Co., Ltd. | Coding method, device, system with merge mode |
CN111212292A (en) * | 2020-01-16 | 2020-05-29 | 郑州轻工业大学 | H.266-based adaptive CU partitioning and skip mode method |
CN111212292B (en) * | 2020-01-16 | 2023-04-28 | 郑州轻工业大学 | H.266-based adaptive CU partitioning and skip mode method |
CN112601082A (en) * | 2020-11-30 | 2021-04-02 | 南京邮电大学 | Video-based rapid dynamic point cloud coding method and system |
CN112601082B (en) * | 2020-11-30 | 2023-12-12 | 南京邮电大学 | Video-based fast dynamic point cloud coding method and system |
Also Published As
Publication number | Publication date |
---|---|
EP3763128A4 (en) | 2022-04-06 |
US11516513B2 (en) | 2022-11-29 |
CN111819857B (en) | 2024-08-23 |
CN111819857A (en) | 2020-10-23 |
TW201941616A (en) | 2019-10-16 |
TWI702839B (en) | 2020-08-21 |
US20210014536A1 (en) | 2021-01-14 |
EP3763128A1 (en) | 2021-01-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11516513B2 (en) | Method and apparatus of optimized splitting structure for video coding | |
KR102695787B1 (en) | Interaction between on-screen block copy mode and cross-screen prediction tools | |
CN114928744B (en) | System and method for signaling motion merge mode in video codec | |
WO2021104474A1 (en) | Selective switch for parallel processing | |
WO2019210857A1 (en) | Method and apparatus of syntax interleaving for separate coding tree in video coding | |
WO2020228578A1 (en) | Method and apparatus of luma most probable mode list derivation for video coding | |
US12047596B2 (en) | Method and apparatus of combined inter and intra prediction for video coding | |
CN113228638B (en) | Method and apparatus for conditionally encoding or decoding video blocks in block partitioning | |
WO2018028615A1 (en) | Methods and apparatuses of predictor-based partition in video processing system | |
WO2020140876A1 (en) | Method and apparatus of luma-chroma separated coding tree coding with constraints | |
WO2021036939A1 (en) | Method and apparatus of partitioning small size coding units with partition constraints | |
WO2020035022A1 (en) | Method and apparatus of simplified merge candidate list for video coding | |
WO2020035029A1 (en) | Method and apparatus of simplified sub-mode for video coding | |
WO2020156454A1 (en) | Method and apparatus of transform type assignment for intra sub-partition in video coding | |
US20220224890A1 (en) | Method and Apparatus of Partitioning Small Size Coding Units with Partition Constraints | |
CN118828024A (en) | Method and apparatus for optimizing partition structure for video encoding and decoding |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19766852 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 2019766852 Country of ref document: EP Effective date: 20201005 |