Initialize the current picture reference block vector based on the binary tree

By determining and using appropriate chroma sub-block vectors in the encoding and decoding process of video blocks, the problem of low coding efficiency of video compression systems in the current picture reference mode in the prior art is solved, and the coding efficiency of chroma blocks is improved. and interframe coding performance.

CN113170153BActive Publication Date: 2024-10-11INTERDIGITAL VC HOLDINGS INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980076299.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-11-20
Filing Date
2019-11-19
Publication Date
2024-10-11
Estimated Expiration
2039-11-19

AI Technical Summary

Technical Problem

When the existing video compression system uses the current picture reference mode, the coding efficiency is not high, especially when the co-located luminance sub-block does not use the CPR mode, resulting in the codec being unable to effectively utilize the CPR tool, affecting the bidirectional inter-frame coding of the blocks. Predict performance.

Method used

During the encoding and decoding process of the video block, by obtaining the co-located luma block vector corresponding to the video block, it is determined whether the left or upper chroma sub-block is encoded in the current picture reference mode, and when the determination is true, the chroma sub-block is The block vector is set to the corresponding co-located luma block, left or upper chroma sub-block vector to ensure maximum coding efficiency of the chroma block.

Benefits of technology

Improves the coding efficiency of chroma blocks, allowing CPR mode to encode chroma blocks even when the co-located luma sub-block does not use CPR mode, enhances the block bidirectional prediction capability of inter-frame coding, and improves the overall video compression performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113170153B_ABST
    Figure CN113170153B_ABST
Patent Text Reader

Abstract

When current picture reference is used and binary tree is enabled, the adjacent or co-located luma block vector is used to initialize the chroma component block vectors. In a first embodiment, if the co-located luma block is not coded in the current picture reference mode, the luma vector from the left chroma sub-block is used. When the left chroma sub-block is not coded using the current picture reference mode, the luma vector from the chroma sub-block above is used, or a default vector if it is not available. In a second embodiment, the chroma block vectors are derived using co-located luma block segmentation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] At least one embodiment of the various embodiments of the present application generally relates to a method or device for video encoding or decoding, compression or decompression. Background Art

[0002] In order to achieve high compression efficiency, image and video coding schemes usually use prediction (including motion vector prediction) and transform to exploit spatial and temporal redundancy in video content. Typically, intra-frame or inter-frame prediction is used to exploit intra-frame or inter-frame correlation, and then the difference between the original image and the predicted image, which is often expressed as a prediction error or prediction residual, is transformed, quantized, and entropy-coded. In order to reconstruct the video, the compressed data is decoded by performing the inverse process corresponding to entropy coding, quantization, transform, and prediction. Summary of the invention

[0003] At least one embodiment among various embodiments of the present application generally relates to a method or apparatus for video encoding or decoding, and more particularly to a method or apparatus for simplifying a coding mode based on a parameter model dependent on neighboring samples.

[0004] According to a first aspect, a method is provided. The method comprises the following steps: obtaining a chroma block vector corresponding to a co-located luminance block vector of a video block; determining in sequence whether the co-located luminance block, the left chroma sub-block, or the upper chroma sub-block is encoded in a current picture reference mode; if the determining step is true, setting the current chroma block vector to the corresponding co-located luminance block, the left chroma sub-block vector, or the upper chroma sub-block vector; and encoding the video block using the chroma block vector.

[0005] According to a second aspect, a method is provided. The method includes the following steps: obtaining a chroma block vector corresponding to a co-located luminance block vector of a video block; determining in sequence whether the co-located luminance block, the left chroma sub-block, or the upper chroma sub-block is encoded in a current picture reference mode; if the determining step is true, setting the current chroma block vector to the corresponding co-located luminance block, the left chroma sub-block vector, or the upper chroma sub-block vector; and decoding the video block using the chroma block vector.

[0006] According to another aspect, a device is provided. The device includes a processor. The processor can be configured to encode a video block or decode a bit stream by executing any one of the aforementioned methods.

[0007] According to another general aspect of at least one embodiment, there is provided a device. The device includes the apparatus according to any one of the decoding embodiments; and at least one of an antenna, a band limiter, and a display, wherein (i) the antenna is configured to receive a signal including a video block; (ii) the band limiter is configured to limit the received signal to a frequency band including the video block; and (iii) the display is configured to display an output representing the video block.

[0008] According to another general aspect of at least one embodiment, there is provided a non-transitory computer-readable medium containing data content generated according to any of the above encoding embodiments or variations.

[0009] According to another general aspect of at least one embodiment, there is provided a signal comprising video data generated according to any one of the above encoding embodiments or variations.

[0010] According to another general aspect of at least one embodiment, a bitstream is formatted to include data content generated according to any of the above-described encoding embodiments or variations.

[0011] According to another general aspect of at least one embodiment, a computer program product is provided, which includes instructions, and when a computer executes the program, the instructions cause the computer to execute any one of the above decoding embodiments or variants.

[0012] These and other aspects, features and advantages of the general aspect will become apparent from the following detailed description of exemplary embodiments thereof taken in conjunction with the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 An example of the concepts of Coding Tree Unit (CTU) and Coding Tree (CT) for representing a compressed HEVC picture is shown.

[0014] Figure 2 An example of dividing a coding tree unit into a coding unit, a prediction unit (PU) and a transform unit (TU) is shown.

[0015] Figure 3 An example of a quadtree plus binary tree (QTBT) CTU representation is shown.

[0016] Figure 4 It is shown that the chroma vector is initialized with a default vector according to another scheme.

[0017] Figure 5 Shows a standard, common video compression scheme.

[0018] Figure 6 A standard, common video decompression scheme is shown.

[0019] Figure 7 An example flowchart of chroma block vector derivation according to embodiment 1 is shown.

[0020] Figure 8 An example of chroma block vector derivation using Embodiment 1 is shown.

[0021] Fig. 9 An example of chroma block vector derivation using the embodiment 1 in the case of a default vector is shown.

[0022] Fig.10 An example of chroma block vector derivation according to Embodiment 1 is shown in which an upper chroma sub-block vector is used when a left chroma sub-block vector is unavailable.

[0023] Fig.11 A variation of embodiment 1 is shown, in which the chroma sub-block neighboring blocks may be located outside the current chroma block.

[0024] Fig.12 A case of Embodiment 1 is shown in which chrominance sub-blocks corresponding to the same luminance block do not have the same block vector.

[0025] Fig.13 The chroma block vector derivation according to Embodiment 2 is shown.

[0026] Fig.14 The chrominance block vector derivation according to Embodiment 2 is shown when the block vector of a co-located luminance sub-block is available.

[0027] Fig.15 A flowchart of chroma block vector derivation according to Embodiment 2 is shown.

[0028] Fig.16 An example derivation of a chroma block vector using a 4x4 chroma subblock constraint is shown.

[0029] Fig.17 A processor-based system for encoding / decoding according to the described general aspects is shown.

[0030] Fig.18 One embodiment of a method according to the described general aspects is shown.

[0031] Fig.19 A further embodiment of a method according to the described general aspects is shown.

[0032] Fig. 20 An example apparatus according to the described aspects is shown. DETAILED DESCRIPTION

[0033] The embodiments described herein belong to the field of video compression and generally relate to video compression and video encoding and decoding.

[0034] In order to achieve high compression efficiency, image and video coding schemes usually use prediction (including motion vector prediction) and transformation to exploit spatial and temporal redundancy in video content. Typically, intra-frame or inter-frame prediction is used to exploit intra-frame or inter-frame correlation, and then the difference between the original image and the predicted image, often expressed as a prediction error or prediction residual, is transformed, quantized, and entropy coded. In order to reconstruct the video, the compressed data is decoded by performing the inverse process corresponding to entropy coding, quantization, transformation, and prediction.

[0035] In the HEVC (High Efficiency Video Codec, ISO / IEC 23008-2, ITU-T H.265) video compression standard, motion compensated temporal prediction is used to exploit the redundancy existing between consecutive pictures of a video.

[0036] To this end, a motion vector is associated with each prediction unit (PU). Each coding tree unit (CTU) is represented in the compressed domain by a coding tree. This is a quadtree partitioning of the CTU, where each leaf is called a coding unit (CU).

[0037] Then, some intra-frame or inter-frame prediction parameters (Prediction Info) are set for each CU. To do this, it is spatially divided into one or more prediction units (PUs), and some prediction information is assigned to each PU. Intra-frame or inter-frame coding mode is assigned at the CU level.

[0038] In the JVET (Joint Video Exploration Team) proposal for a new video compression standard called the Joint Exploration model (JEM), it has been proposed to accept a quadtree-binary tree (QTBT) block partitioning structure in view of high compression performance. The block in the binary tree (BT) can be split into two sub-blocks of equal size horizontally or vertically in the middle. Therefore, unlike the blocks in QT where the blocks always have a square shape with equal height and width, the BT blocks can have a rectangular shape with unequal width and height. In HEVC, the angular intra-frame prediction direction is defined to span 180 degrees from 45 degrees to -135 degrees, and has been continued in JEM, which makes the definition of the angular direction independent of the target block shape.

[0039] To encode these blocks, intra prediction is used to provide an estimated version of the block using previously reconstructed neighboring samples. The difference between the source block and the prediction is then encoded. In the above conventional codecs, a single row of reference samples is used to the left and top of the current block.

[0040] In HEVC (High Efficiency Video Codec, H.265), frames of a video sequence are encoded based on a quadtree (QT) block partitioning structure. Frames are divided into square coding tree units (CTUs), which are split into multiple coding units (CUs) based on a quadtree-based splitting based on the rate-distortion (RD) criterion. Each CU is either intra-predicted, that is, it is spatially predicted based on causal neighboring CUs; ​​or inter-predicted, that is, it is temporally predicted based on a decoded reference frame. In I-slices, all CUs are intra-predicted. However, in P and B slices, CUs can be either intra-predicted or inter-predicted. For intra prediction, HEVC defines 35 prediction modes, including one plane mode (indexed as mode 0), one DC mode (indexed as mode 1), and 33 angle modes (indexed as modes 2-34). The angle mode is associated with a prediction direction ranging from 45 degrees to -135 degrees in the clockwise direction. Since HEVC supports a quadtree (QT) block partitioning structure, all prediction units (PUs) have a square shape. Therefore, from the perspective of the PU (prediction unit) shape, the definition of prediction angles from 45 degrees to -135 degrees is reasonable. For a target prediction unit of size N×N pixels, the top reference array and the left reference array each have a size of 2N+1 samples, which are required to cover the aforementioned angle range for all target pixels. Considering that the height and width of the PU have equal lengths, it is also reasonable that the lengths of the two reference arrays are equal.

[0041] The present invention belongs to the field of video compression. Compared with existing video compression systems, its purpose is to improve the bidirectional prediction in inter-frame coding blocks. The present invention also proposes to separate the luminance and chrominance coding trees for inter slices.

[0042] In the HEVC video compression standard, pictures are divided into so-called coding tree units (CTUs), which are usually 64×64, 128×128 or 256×256 pixels in size. Each CTU is represented in the compressed domain by a coding tree. This is a quadtree partitioning of the CTU, where each leaf is called a coding unit (CU), see Figure 1 .

[0043] After that, some intra or inter prediction parameters (Prediction Info) are set for each CU. For this purpose, it is spatially split into one or more prediction units (PUs), and some prediction information is assigned to each PU. Intra or inter coding modes are assigned at the CU level, see Figure 2 .

[0044] Emerging video compression tools including a coding tree unit representation in the compressed domain are proposed to represent picture data in a more flexible way in the compressed domain. The advantage of this more flexible representation of the coding tree is that it improves compression efficiency compared to the CU / PU / TU arrangement of the HEVC standard.

[0045] The Quadtree plus Binary Tree (QTBT) codec tool provides this increased flexibility. It consists essentially in a codec tree in which the codec units can be split in a quadtree manner as well as in a binary tree manner. This codec tree representation of the codec tree units is as follows: Figure 3 shown.

[0046] The splitting of the coding unit is decided at the encoder side by a rate-distortion optimization process, which involves determining the QTBT representation of the CTU with the minimum rate-distortion cost.

[0047] In QTBT technology, a CU has a square or rectangular shape. The size of a coding unit is always a power of 2 and is usually between 4 and 128.

[0048] In addition to the various rectangular shapes used for coding units, this new CTU representation has the following different features compared to HEVC.

[0049] The QTBT decomposition of a CTU consists of two stages: first, the CTU is split in a quadtree manner, and then each quadtree leaf can be further divided in a binary tree manner. Figure 3 It is shown on the right side of , where the solid line represents the quadtree decomposition stage and the dotted line represents the binary tree decomposition spatially embedded into the quadtree leaves.

[0050] In intra slices, the luma and chroma block partitioning structures are separated and determined independently. This feature is also referred to as a binary tree in the following.

[0051] Current Picture Referencing (CPR) as proposed in JVET K0076 is integrated into VTM-3.0 (Versatile Video Coding Test Model). When CPR is enabled, the current picture is added to the reference picture list and P slices are used instead of I-slices. The same prediction mode is used in inter-frame pictures.

[0052] One problem solved by the general aspects described herein is how to maximize the coding efficiency of chroma blocks when using the CPR coding tool and binary trees are activated, and how to initialize the block vectors of chroma components in the current picture reference mode when binary numbers are enabled. A variant of this problem is how to handle the 4×4 chroma subblock constraint when the co-located luminance subblock is 4×4.

[0053] Hereinafter, a "block vector" means a motion vector referring to a current picture.

[0054] The prior art proposal for using binary trees with CPR is as follows:

[0055] In the first method JVET-K0076, the binary tree is used only when the current picture is the only available reference frame. In the case of using separate partitioning trees for luma and chroma, the chroma CU can be encoded in CPR mode, where the corresponding chroma block vector is derived according to the coding mode associated with the co-located luma samples. More specifically, the corresponding luma samples of the chroma CU are checked in terms of the coverage of their samples by the CPR mode. The following method is proposed to handle different situations when the chroma separate coding tree is enabled:

[0056] Full coverage: All corresponding luminance sub-blocks are coded in CPR mode. In this case, the current chrominance CU can be coded in CPR mode. For each chrominance sub-block, its block vector is derived from the block vector of its corresponding luminance block. Other available modes (intra-frame, PCM, etc.) or further splitting can also be selected for the considered chrominance CU.

[0057] No coverage or partial coverage: No corresponding luminance sub-block or only partially corresponding luminance sub-block is coded in CPR mode. In this case, the current chrominance CU will be coded in one of the available modes (intra mode, PCM, etc.) instead of being coded in CPR mode or further split.

[0058] In another method JVET-K0450: CPR is added according to brightness in direct mode (DM):

[0059] - Check the prediction type of the luma block for the five co-located positions covering the current chroma block. The five positions are checked in the order of center (CR), top-right (TL), top-right (TR), bottom-left (BL) and bottom-right (BR). If CPR is used on luma for at least one of the checked positions, the following steps will be applied.

[0060] - The motion vector (MV) of the inter-frame luminance block is scaled according to the resolution difference between luminance and chrominance. Then, the scaled MV is checked to see if it is valid for the current chrominance block to check if the reference sample exists in the DPB copy of the current picture being decoded. This scaling and checking operation is also performed in the order of CR, TL, TR, BL, and BR.

[0061] If a CPR luma block is found after scaling and its MV is valid for the current chroma block, the CPR mode is placed in the candidate list immediately after the CCLM (Cross Component Linear Model) mode. Otherwise, the CPR mode is not added to the list. Placing the CPR mode in the list does not change the length of the list, which means that the traditional intra-frame prediction mode will be removed. In addition, the MV associated with the CPR mode is only the first scaled valid MV of the inter-frame luma block.

[0062] In the application entitled "Separate coding tree for luma chroma in inter slices", the motion vectors for chroma are derived from the co-located luma block. For each chroma sub-block, the co-located luma motion vector is used. If the co-located luma block is intra-coded, a default vector is used, which is either the first motion vector found in the current block or an empty vector, such as Figure 4 shown.

[0063] One object of various aspects described herein is to improve coding efficiency when binary trees are enabled with current picture reference.

[0064] In the above-mentioned JVET-K0076 prior art method, CPR is allowed only in the above-mentioned "full coverage" case. This may make the CPR tool sub-optimal in terms of coding efficiency. In fact, a small portion of co-located luma does not use CPR, which prevents the codec from using CPR for the chroma block under consideration.

[0065]

[0013] Thus, one of the aspects presented herein includes assigning block vectors to chroma blocks through certain strategies, even if certain co-located luma sub-blocks are not coded in CPR mode, allowing CPR in these situations.

[0066] Two of the affected codec modules are Figure 5 The motion estimation 175 module and Figure 6 Motion compensation 275 module.

[0067] In VTM-3.0, when CPR and binary trees are enabled, chroma blocks reuse the co-located block vector for each sub-block. A constraint is verified at the encoder: all co-located luma sub-blocks shall use CPR mode. Non-compliant encoders can create bitstreams that do not use the vectors when the decoder creates unspecified behavior where the co-located vector is not available.

[0068] Chroma current picture reference with no or partial luma block vector coverage

[0069] In a first embodiment, if the co-located luminance block is not CPR coded, the luminance vector from the left chrominance sub-block is used; if the left chrominance sub-block is not CPR coded, the luminance vector from the upper chrominance sub-block is used; if the luminance vector from the upper chrominance sub-block is not available, a default vector is used, such as Figure 7 As shown. The default vector may be initialized to (-2×Width, 0). According to a variant, some other default block vector value may be used or a value may be specified.

[0070] Figure 8 The chroma block vector derivation according to the first embodiment is shown. The co-located block vector is not available for the bottom right sub-block, so the chroma block vector is copied from the left sub-block chroma block vector.

[0071] exist Fig. 9 , another example is shown where a default vector is used at the beginning of a block.

[0072] exist Fig.10 , another example is shown, in which the upper chroma sub-block vector is used when the left chroma sub-block vector is not available.

[0073] In one variation, the left and upper chrominance sub-blocks may be obtained from outside the co-located luminance block, e.g. Fig.11 In this variant embodiment, if the sub-blocks are all located in the same CTU, the sub-blocks can be obtained outside the co-located luma block; otherwise, the data is considered unavailable.

[0074]

[0075] Table 1: Results of Example 1 on BMS2.1 when CPR and binary trees are enabled.

[0076] The results of the proposed technique shown in Table 1 show improvements on class F and TGM (Text and Graphics with Motion) sequences.

[0077] Derivation of chroma block vectors based on luma segmentation

[0078] In a second embodiment, the segmentation of the co-located luminance block is considered to derive the chrominance block vector. In some cases, many chrominance sub-blocks corresponding to the same co-located luminance block may have different block vectors, such as Fig.12 shown.

[0079] The same block vector derivation as in the first embodiment is used, but the derivation is performed only once. Then, all chrominance sub-blocks corresponding to a luminance block share the same block vector, such as Fig.13 In this example, no block vector is found in the co-located luma sub-block, so a block vector from the adjacent (left) chroma sub-block is selected.

[0080] If a block vector is available in one of the co-located luminance sub-blocks, then Fig.14 The vector is selected as shown. Only one co-located sub-block position (eg, the center position) may be checked, or all co-located sub-block positions may be checked until a block vector is found.

[0081] By using the same vector for all chroma sub-blocks corresponding to a luma block, we ensure that there is no motion discontinuity between luma and chroma. Fig.15 The chroma block vector derivation according to the second embodiment is shown in FIG.

[0082] Chroma 4×4 Constraint Processing

[0083] In JVET-L0265, in the case of affine coded blocks, the subblock size of the chrominance component is enlarged from 2×2 to 4×4. This constraint can be extended to all other coding modes. In this case, it is necessary to derive the chrominance block vector from multiple co-located luminance subblocks, such as Fig.16 shown.

[0084] In this case, the proposed solution to derive the block vector of a chroma subblock overlapping several luma subblocks is to use a default position for the luma co-location vector block of the considered chroma subblock. As an example, the top left luma subblock in the luma region covered by the current chroma subblock may be considered.

[0085] Mode fusion (harmonization)

[0086] Depending on the codec mode between separate trees luma / chroma on or off, fusion may be preferred. The above scheme can be used to achieve this fusion:

[0087] - In a first variant, the chroma block vectors of the sub-blocks are derived in a systematic way as described in the first and second embodiments above. In this variant, the CPR mode for chroma is available regardless of the luma mode.

[0088] - In a second variant, only the top left sub-block of luma is used to derive the chroma CPR motion vector. In this case, the CPR chroma mode can advantageously be signaled conditionally together with the luma mode of this sub-block. Typically, when the top left mode of the luma component does not use the CPR coding mode, the CPR mode is not signaled.

[0089] Fig.18 An embodiment of a method 1800 according to the general aspects described herein is shown in FIG. 18. The method begins at start block 1801 and control proceeds to block 1810 to obtain a chroma block vector corresponding to a co-located luminance block vector of a video block. Control proceeds from block 1810 to block 1820 to sequentially determine whether the co-located luminance block, left chroma sub-block, or upper chroma sub-block is encoded in the current picture reference mode. Control proceeds from block 1820 to block 1830 to set the current chroma block vector to the corresponding co-located luminance block, left chroma sub-block vector, or upper chroma sub-block vector, respectively, if the result of the above determination step is true. Control proceeds from block 1830 to block 1840 to encode the video block using the chroma block vector.

[0090] Fig.19 Another embodiment of a method 1900 according to the general aspects described herein is shown in FIG. 19. The method begins at start block 1901 and control proceeds to block 1910 to obtain a chroma block vector corresponding to a co-located luminance block vector of a video block. Control proceeds from block 1910 to block 1920 to sequentially determine whether the co-located luminance block, left chroma sub-block, or upper chroma sub-block is encoded in the current picture reference mode. Control proceeds from block 1920 to block 1930 to set the current chroma block vector to the corresponding co-located luminance block, left chroma sub-block vector, or upper chroma sub-block vector, respectively, if the result of the above determination step is true. Control proceeds from block 1930 to block 1940 to decode the video block using the chroma block vector.

[0091] Fig. 20 An embodiment of an apparatus 2000 for encoding, decoding, compressing or decompressing using a simplified coding mode based on a parameter model dependent on neighboring samples is shown. The apparatus includes a processor 2010 and may be interconnected to a memory 2020 via at least one port. Both the processor 2010 and the memory 2020 may also have one or more other interconnections to external connections.

[0092] The processor 2010 is also configured to insert information into a bitstream or receive information in a bitstream, or to perform compression, encoding or decoding using any of the above aspects.

[0093] This application describes a number of aspects, including tools, features, embodiments, models, methods, etc. Many of these aspects are specifically described to at least illustrate individual features, and are generally described in a manner that sounds limited. However, this is for the purpose of clarity of description, and does not limit the application or scope of those aspects. In fact, all different aspects can be combined and interchanged to provide further aspects. In addition, these aspects can also be combined and interchanged with aspects described in previous applications.

[0094] The aspects described and contemplated in this application may be implemented in a variety of different forms. Figure 5 , 6 and 17 provide some embodiments, but other embodiments are also contemplated. Figure 5 , 6 The discussion of 17 and 18 does not limit the breadth of implementations. At least one of these aspects generally relates to video encoding and decoding, and at least one other aspect generally relates to sending a generated or encoded bitstream. These and other aspects can be implemented as methods, apparatus, a computer-readable storage medium having stored thereon instructions for encoding or decoding video data according to any of the above methods, and / or a computer-readable storage medium having stored thereon a bitstream generated according to any of the above methods.

[0095] In this application, the terms "reconstructed" and "decoded" may be used interchangeably, the terms "pixel" and "sample" may be used interchangeably, and the terms "image", "picture" and "frame" may be used interchangeably. Usually, but not necessarily, the term "reconstructed" is used on the encoder side, while "decoded" is used on the decoder side.

[0096] This article describes a variety of methods, and each method includes one or more steps or actions for implementing the method. Unless a specific order of steps or actions is required for the reasonable operation of the method, the order and / or use of specific steps and / or actions can be modified or combined.

[0097] Various methods and other aspects described in this application can be used to modify modules, such as Figure 5 and Figure 6 Intra-frame prediction, entropy coding, and / or decoding modules (160, 360, 145, 330) of the video encoder 100 and decoder 200 shown. In addition, the various aspects of this document are not limited to VVC or HEVC, but can be applied to, for example, other standards and recommendations and extensions of any of these standards and recommendations (including VVC and HEVC), whether these standards and protocols are pre-existing or developed in the future. Unless otherwise specified or technically excluded, the various aspects described in this application can be used alone or in combination.

[0098] In this application, a number of numerical values ​​are used. The specific values ​​are for illustrative purposes, and the above aspects are not limited to these specific values.

[0099] Figure 5 An encoder 100 is shown. Variations of the encoder 100 are contemplated, but for the sake of clarity, the encoder 100 is described below without describing all contemplated variations.

[0100] Before being encoded, the video sequence may undergo pre-encoding processing (101), for example, applying a color transform to the input color picture (e.g., conversion from RGB 4:4:4 to YCbCr 4:2:0), or performing a remapping of the input picture components to obtain a signal distribution that is more resilient to compression (such as using histogram equalization of one of the color components). Metadata may be associated with the pre-processing and appended to the bitstream.

[0101] In encoder 100, a picture is encoded by encoder elements as described below. The picture to be encoded is segmented (102) and processed in units such as CUs. Each unit is encoded using, for example, intra or inter mode. When a unit is encoded in intra mode, it performs intra prediction (160). In inter mode, motion estimation (175) and compensation (170) are performed. The encoder decides (105) which of intra mode or inter mode to use to encode the unit, and indicates the intra / inter decision by, for example, a prediction mode flag. For example, a prediction residual is calculated by subtracting (110) the prediction block from the original image block.

[0102] Next, the prediction residual is transformed (125) and quantized (130). The quantized transform coefficients, along with motion vectors and other syntax elements, are entropy encoded (145) to output a bitstream. The encoder may skip the transform and directly quantize the untransformed residual signal. The encoder may bypass both the transform and quantization, i.e., directly encode the residual without applying the transform or quantization process.

[0103] The encoder decodes the encoded block to provide a reference for further prediction. The quantized transform coefficients are dequantized (140) and inversely transformed (150) to decode the prediction residual. The image block is reconstructed by combining the prediction block and the decoded prediction residual (155). A loop filter (165) is applied to the reconstructed picture to perform, for example, deblocking / SAO (sample adaptive offset) filtering to reduce coding artifacts. The filtered image is stored in a reference picture buffer (180).

[0104] Figure 6A block diagram of a video decoder 200 is shown. In the decoder 200, a bitstream is decoded by decoder elements as described below. The video decoder 200 generally performs the same Figure 5 The encoder 100 also typically performs video decoding as part of encoding the video data.

[0105] Specifically, the input to the decoder includes a video bitstream generated by the video encoder 100. The bitstream is first entropy decoded (230) to obtain transform coefficients, motion vectors and other coding information. Picture segmentation information indicates how the picture is segmented. Therefore, the decoder can divide the picture according to the decoded picture segmentation information (235). The transform coefficients are dequantized (240) and inverse transformed (250) to decode the prediction residual. The image block is reconstructed by combining the prediction block and the decoded prediction residual (255). The prediction block can be obtained (270) according to intra-frame prediction (260) or motion compensated prediction (i.e., inter-frame prediction) (275). A loop filter (265) is applied to the reconstructed image. The filtered image is stored in a reference picture buffer (280).

[0106] The decoded picture may further undergo post-decoding processing (285), such as an inverse color transform (e.g., conversion from YCbCr 4:2:0 to RGB 4:4:4) or inverse remapping that is the inverse of the remapping process performed in the pre-encoding process (101). The post-decoding processing may use metadata derived in the pre-encoding process and signaled in the bitstream.

[0107] Fig.17 A block diagram of an example of a system in which multiple aspects and embodiments are implemented is shown. System 1000 may be implemented as the following device. The device includes multiple components described below and is configured to perform one or more aspects described in this document. Examples of such devices include, but are not limited to, various electronic devices, such as personal computers, laptop computers, smart phones, tablet computers, digital multimedia set-top boxes, digital television receivers, personal video recording systems, connected household appliances, and servers. The elements of system 1000 may be implemented in a single integrated circuit (IC), multiple ICs, and / or discrete components, either individually or in combination. For example, in at least one embodiment, the processing and encoder / decoder elements of system 1000 are distributed across multiple ICs and / or discrete components. In various embodiments, system 1000 is communicatively coupled to one or more other systems or other electronic devices via, for example, a communication bus or through a dedicated input and / or output port. In various embodiments, system 1000 is configured to implement one or more aspects described in this document.

[0108] The system 1000 includes at least one processor 1010. The processor 1010 is configured to execute instructions loaded therein to implement, for example, various aspects described in this document. The processor 1010 may include embedded memory, input and output interfaces, and various other circuits known in the art. The system 1000 includes at least one memory 1020 (e.g., a volatile memory device and / or a non-volatile memory device). The system 1000 includes a storage device 1040, which may include a non-volatile memory and / or a volatile memory, including but not limited to: an electrically erasable programmable read-only memory (EEPROM), a read-only memory (ROM), a programmable read-only memory (PROM), a random access memory (RAM), a dynamic random access memory (DRAM), a static random access memory (SRAM), a flash memory, a magnetic disk drive, and / or an optical disk drive. As a non-limiting example, the storage device 1040 may include an internal storage device, an attached storage device (including detachable and non-detachable storage devices), and / or a network accessible storage device.

[0109] The system 1000 includes an encoder / decoder module 1030, which is configured to, for example, process data to provide encoded video or decoded video, and the encoder / decoder module 1030 may include its own processor and memory. The encoder / decoder module 1030 represents one or more modules that may be included in a device to perform encoding and / or decoding functions. As is well known, a device may include one or both of an encoding module and a decoding module. In addition, as known to those skilled in the art, the encoder / decoder module 1030 may be implemented as a separate element of the system 1000, or may be incorporated into the processor 1010 as a combination of hardware and software.

[0110] Program code to be loaded onto the processor 1010 or the encoder / decoder 1030 to perform various aspects described in this document may be stored in the storage device 1040 and then loaded onto the memory 1020 for execution by the processor 1010. According to various embodiments, one or more of the processor 1010, the memory 1020, the storage device 1040, and the encoding / decoding module 1030 may store one or more of a plurality of items during the execution of the various processes described in this document. Such stored items may include, but are not limited to: input video, decoded video or a portion of decoded video, bitstreams, matrices, variables, and intermediate or final results of processing equations, formulas, operations, and operation logic.

[0111] In some embodiments, memory internal to the processor 1010 and / or encoder / decoder module 1030 is used to store instructions and provide working memory for processing required during encoding or decoding. However, in other embodiments, memory external to the processing device (e.g., the processing device may be the processor 1010 or the encoder / decoder module 1030) is used for one or more of these functions. The external memory may be memory 1020 and / or storage device 1040, such as dynamic volatile memory and / or non-volatile flash memory. In some embodiments, external non-volatile flash memory is used to store, for example, an operating system for a television. In at least one embodiment, a fast external dynamic volatile memory such as RAM is used as working memory for video encoding and decoding operations. Video encoding and decoding operations such as MPEG-2 (MPEG refers to Moving Picture Experts Group, MPEG-2 also refers to ISO / IEC 13818, 13818-1 is also known as H.222, and 13818-2 is also known as H.262), HEVC (HEVC refers to High Efficiency Video Codec, also known as H.265 and MPEG-H Part 2), or VVC (Versatile Video Codec, a new standard developed by the Joint Video Experts Group JVET).

[0112] As shown in block 1130, input to the elements of system 1000 may be provided through a variety of input devices. Such input devices include, but are not limited to: (i) an RF section that receives a radio frequency (RF) signal, such as that transmitted over the air by a broadcast device, (ii) a component (COMP) input terminal (or a set of COMP input terminals), (iii) a universal serial bus (USB) input terminal, and / or (iv) a high-definition multimedia interface (HDMI) input terminal. Fig.17 Other examples not shown include composite video.

[0113] In various embodiments, the input device of block 1130 has associated corresponding input processing elements as known in the art. For example, the RF section may be associated with elements suitable for the following operations. The operations include: (i) selecting a desired frequency (also referred to as selecting a signal, or band limiting a signal within a frequency band); (ii) down-converting the selected signal; (iii) again band limiting to limit the frequency band to a narrower frequency band to select a signal band that may be referred to as a channel in some embodiments (for example); (iv) demodulating the down-converted and band-limited signal; (v) performing error correction; and (vi) performing demultiplexing to select a desired data packet stream. The RF section of various embodiments includes one or more elements that perform these functions, such as a frequency selector, a signal selector, a band limiter, a channel selector, a filter, a down-converter, a demodulator, an error corrector, and a demultiplexer. The RF section may include a tuner that performs a variety of these functions, including, for example, down-converting a received signal to a lower frequency (e.g., an intermediate frequency or a near-baseband frequency) or baseband. In a set-top box embodiment, the RF part and its associated input processing element receive the RF signal sent by wired (e.g., cable) medium, and by filtering, down-converting and filtering to the desired frequency band to perform frequency selection. Various embodiments have rearranged the order of above-mentioned (and other) elements, removed some of these elements, and / or added other elements that perform similar or different functions. Adding elements can include inserting elements between existing elements, for example, inserting amplifiers and analog-to-digital converters. In various embodiments, the RF part includes an antenna.

[0114] In addition, the USB and / or HDMI terminals may include corresponding interface processors for connecting the system 1000 to other electronic devices across the USB and / or HDMI connections. It should be understood that various aspects of input processing, such as Reed-Solomon error correction, can be implemented as needed, for example, in a separate input processing IC or in the processor 1010. Similarly, various aspects of USB or HDMI interface processing can be implemented as needed in a separate interface IC or in the processor 1010. The demodulated, error-corrected, and demultiplexed streams are provided to various processing elements, including, for example, the processor 1010 and the encoder / decoder 1030 operating in combination with memory and storage elements, so that the data streams are processed as needed for presentation on the output device.

[0115] The various components of system 1000 may be disposed in an integrated housing in which the various components are interconnected and transmit data between each other by using suitable connection devices, such as internal buses known in the art, including inter-IC (I2C) buses, wiring, and printed circuit boards.

[0116] The system 1000 includes a communication interface 1050 that enables communication with other devices via a communication channel 1060. The communication interface 1050 may include, but is not limited to, a transceiver configured to send and receive data over the communication channel 1060. The communication interface 1050 may include, but is not limited to, a modem or a network card, and the communication channel 1060 may be implemented, for example, within a wired and / or wireless medium.

[0117] In various embodiments, a wireless network such as a Wi-Fi network, such as IEEE 802.11 (IEEE refers to the Institute of Electrical and Electronics Engineers), is used to stream data or otherwise provide it to the system 1000. The Wi-Fi signal of these embodiments is received via a communication channel 1060 and a communication interface 1050 suitable for Wi-Fi communication. The communication channel 1060 of these embodiments is usually connected to an access point or a router, which provides access to an external network including the Internet to allow streaming applications and other air communications. Other embodiments use a set-top box that transmits data through an HDMI connection of an input block 1130 to provide streaming data to the system 1000. Still other embodiments use an RF connection of an input block 1130 to provide streaming data to the system 1000. As described above, various embodiments provide data in a non-streaming manner. In addition, various embodiments use a wireless network other than Wi-Fi, such as a cellular network or a Bluetooth network.

[0118] The system 1000 can provide output signals to various output devices, including a display 1100, a speaker 1110, and other peripheral devices 1120. The display 1100 of various embodiments includes, for example, one or more of a touch screen display, an organic light emitting diode (OLED) display, a curved display, and / or a foldable display. The display 1100 can be used for a television, a tablet computer, a laptop computer, a mobile phone (mobile phone), or other devices. The display 1100 can also be integrated with other components (for example, as in a smart phone), or separated (for example, an external monitor for a laptop). In various examples of embodiments, the other peripheral devices 1120 include one or more of a stand-alone digital video disc (or digital versatile disc) (DVR, for both terms), a disk player, a stereo system, and / or a lighting system. Various embodiments use one or more peripheral devices 1120 that provide functions based on the output of the system 1000. For example, a disk player performs the function of playing the output of the system 1000.

[0119] In various embodiments, control signals are communicated between the system 1000 and the display 1100, speaker 1110, or other peripheral device 1120 using the following signaling. The signaling is such as AV.Link, Consumer Electronics Control (CEC), or other communication protocols that enable device-to-device control with or without user intervention. The output device can be communicatively coupled to the system 1000 via a dedicated connection through the corresponding interfaces 1070, 1080, and 1090. Alternatively, the output device can be connected to the system 1000 by using the communication channel 1060 via the communication interface 1050. The display 1100 and the speaker 1110 can be integrated with other components of the system 1000 in a single unit in an electronic device such as a television. In various embodiments, the display interface 1070 includes a display driver, for example, a timing controller (T Con) chip.

[0120] For example, if the RF portion of input 1130 is part of a separate set-top box, the display 1100 and speaker 1110 may alternatively be separate from one or more of the other components. In various embodiments in which the display 1100 and speaker 1110 are external components, the output signal may be provided via a dedicated output connection including, for example, an HDMI port, a USB port, or a COMP output.

[0121] The embodiments may be implemented by computer software implemented by the processor 1010, or by hardware, or by a combination of hardware and software. As a non-limiting example, the embodiments may be implemented by one or more integrated circuits. The memory 1020 may be of any type suitable for the technical environment and may be implemented using any appropriate data storage technology. As non-limiting examples, these data storage technologies include, for example, optical memory devices, magnetic memory devices, semiconductor-based memory devices, fixed memory, and removable memory. As a non-limiting example, the processor 1010 may be of any type suitable for the technical environment and may include one or more of a microprocessor, a general-purpose computer, a special-purpose computer, and a processor based on a multi-core architecture.

[0122] Various implementations involve decoding. As used in this application, "decoding" may include, for example, all or part of a process performed on a received encoded sequence to produce a final output suitable for display. In various embodiments, such a process includes one or more of the processes typically performed by a decoder, such as entropy decoding, inverse quantization, inverse transform, and differential decoding. In various embodiments, such a process also or alternatively includes a process performed by a decoder of the various implementations described in this application.

[0123] As a further example, in one embodiment, "decoding" refers only to entropy decoding, in another embodiment, "decoding" refers only to differential decoding, and in another embodiment, "decoding" refers to a combination of entropy decoding and differential decoding. Whether the phrase "decoding process" refers specifically to a subset of operations or broadly to a broader decoding process will be apparent based on the context of the particular description and is believed to be well understood by those skilled in the art.

[0124] Various implementations involve encoding. In a manner similar to the above discussion of "decoding", "encoding" as used in this application may include, for example, all or part of a process performed on an input video sequence to produce an encoded bitstream. In various embodiments, such a process includes one or more of the processes typically performed by an encoder, such as segmentation, differential encoding, transforms, quantization, and entropy encoding. In various embodiments, such a process also or alternatively includes a process performed by an encoder of the various implementations described in this application.

[0125] As a further example, in one embodiment, "encoding" refers only to entropy encoding, in another embodiment, "encoding" refers only to differential encoding, and in another embodiment, "encoding" refers to a combination of differential encoding and entropy encoding. Whether the phrase "encoding process" refers specifically to a subset of operations or broadly to a broader encoding process will be apparent based on the context of the particular description and is believed to be well understood by those skilled in the art.

[0126] It should be noted that the grammatical elements used herein are descriptive terms. Therefore, they do not exclude the use of other grammatical element names.

[0127] When the figures are presented as flow charts, it should be understood that they also provide block diagrams of the corresponding apparatus. Similarly, when the figures are presented as block diagrams, it should be understood that they also provide flow charts of the corresponding methods / processes.

[0128] Various embodiments may refer to parameter models or rate-distortion optimization. Specifically, during the encoding process, constraints on computational complexity are usually given, so a balance or trade-off between bit rate and distortion is considered. It can be measured by rate distortion optimization (RDO) metric, or by least mean square (LMS), mean of absolute error (MAE) or other such measurements. Rate distortion optimization is usually formulated as minimizing a rate distortion function, which is a weighted sum of rate and distortion. There are many methods for solving the rate distortion optimization problem. For example, these methods can be based on extensive testing of all coding options including all considered modes or coding parameter values, thereby comprehensively evaluating their coding costs and the associated distortion of the reconstructed signal after encoding and decoding. Faster methods can also be used to save coding complexity, especially for calculating approximate distortion based on prediction or prediction residual signals rather than reconstructed signals. A mixture of these two methods can also be used, for example, using approximate distortion only for some possible coding options and using full distortion for other coding options. Other methods evaluate only a subset of possible coding options. More generally, many methods employ any of a variety of techniques to perform optimization, which is not necessarily a comprehensive evaluation of the coding cost and associated distortion.

[0129] The implementations and aspects described herein may be implemented, for example, in the form of methods or processes, devices, software programs, data streams, or signals. Even if only discussed in a single form of implementation (e.g., discussed only as a method), the implementation of the features discussed may also be implemented in other forms (e.g., devices or programs). The device may be implemented, for example, in appropriate hardware, software, and firmware. The method may be implemented, for example, in a processor, which generally refers to a processing device, including, for example, a computer, a microprocessor, an integrated circuit, or a programmable logic device. Processors also include communication devices, such as computers, mobile phones, portable / personal digital assistants ("PDAs"), and other devices that facilitate information communication between end users.

[0130] With respect to "one embodiment" or "an embodiment" or "an implementation" or "an implementation", and other variations thereof, it is meant that a particular feature, structure, characteristic, etc. described in conjunction with the embodiment is included in at least one embodiment. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" or "in an implementation" or "in an implementation" and any other variations appearing throughout this application are not necessarily all referring to the same embodiment.

[0131] Additionally, the present application may refer to “determining” various information. Determining the information may include, for example, one or more of estimating the information, calculating the information, predicting the information, or retrieving the information from a memory.

[0132] Further, the present application may involve "accessing" various information. Accessing information may include one or more of the following: for example, receiving information, retrieving information (e.g., from a memory), storing information, moving information, copying information, calculating information, determining information, predicting information, or estimating information.

[0133] In addition, the present application may involve "receiving" various information. Receiving, like "accessing," is a broad term. Receiving information may include, for example, one or more of accessing the information or retrieving the information (e.g., from a memory). Moreover, "receiving" is generally involved in some form during operations such as storing information, processing information, sending information, moving information, copying information, erasing information, calculating information, determining information, predicting information, or estimating information.

[0134] It should be understood that the use of " / ", "and / or", and "at least one of" below, such as in the case of "A / B", "A and / or B", and "at least one of A and B", is intended to include selecting only the first listed option (A), or only the second listed option (B), or both options (A and B). As a further example, in the case of "A, B, and / or C" and "at least one of A, B, and C", such phrases are intended to include selecting only the first listed option (A), or only the second listed option (B), or only the third listed option (C), or only the first and second listed options (A and B), or only the first and third listed options (A and C), or only the second and third listed options (B and C), or all three options (A and B and C). As will be apparent to one of ordinary skill in this and related arts, this can be extended to as many as the items listed.

[0135] In addition, as used herein, the word "signal" particularly refers to a corresponding decoder indicating something. For example, in some embodiments, the encoder sends a specific one of a plurality of transforms, coding modes or flags with a signal. In this way, in one embodiment, the same transform, parameter or mode is used on both the encoder side and the decoder side. Thus, for example, the encoder can send (explicit signaling) a specific parameter to the decoder so that the decoder can use the same specific parameter. On the contrary, if the decoder already has a specific parameter and other parameters, signaling (implicit signaling) can be used without sending to simply make the decoder know and select the specific parameter. By avoiding the transmission of any actual function, bit saving is achieved in various embodiments. It should be understood that signaling can be completed in a variety of ways. For example, in various embodiments, one or more grammatical elements, flags, etc. are used to send information to the corresponding decoder with a signal. Although the verb form of the word "signal" is related to the above, the word "signal" can also be used as a noun in this article.

[0136] As will be apparent to one of ordinary skill in the art, implementations may generate multiple signals formatted to carry information that may, for example, be stored or transmitted. Information may include, for example, instructions for executing a method or data generated by one of the described implementations. For example, a signal may be formatted to carry a bit stream of the described embodiments. Such a signal may be formatted as, for example, an electromagnetic wave (e.g., using a radio frequency portion of a spectrum) or a baseband signal. Formatting may include, for example, encoding a data stream and modulating a carrier with the encoded data stream. The information carried by the signal may be, for example, analog or digital information. As is well known, the signal may be transmitted over a variety of different wired or wireless links. Such a signal may be stored on a processor readable medium.

[0137] Various embodiments have been described. Features of these embodiments may be provided individually or in any combination. In addition, embodiments may include one or more of the following features, devices, or aspects that may encompass multiple claim categories and classes, individually or in any combination:

[0138] • Initialize the block vectors of the chroma components for use in the decoder and / or encoder.

[0139] Enable binary tree and current picture referencing in the decoder and / or encoder.

[0140] • If the co-located luma block is not coded using the current picture reference, the luma vector from the neighboring sub-block is applied.

[0141] • Deriving at least one chroma block vector from the co-located luma block segmentation.

[0142] Ensure that the same vector is used for all chroma sub-blocks corresponding to a luma block applied in the decoder and / or encoder.

[0143] • A bitstream or signal comprising one or more of the described syntax elements or variants thereof.

[0144] • Inserting syntax elements into the signaling to let the decoder determine the coding mode in a way that corresponds to the way used by the encoder.

[0145] • Creating and / or sending and / or receiving and / or decoding a bitstream or signal comprising one or more of the described syntax elements or variants thereof.

[0146] A television, set-top box, mobile phone, tablet or other electronic device that performs the transformation method(s) according to any of the described embodiments.

[0147] A television, set-top box, mobile phone, tablet or other electronic device that performs the transformation method(s) according to any of the described embodiments and displays (e.g., using a monitor, screen or other display) the resulting image.

[0148] A television, set-top box, mobile phone, tablet or other electronic device that tunes to a channel (eg using a tuner) to receive a signal comprising an encoded image and performs the transformation method(s) according to any of the described embodiments.

[0149] A television, set-top box, mobile phone, tablet or other electronic device that receives over the air (eg, using an antenna) a signal including the encoded image and performs the transform method(s).

Claims

1. A method comprising: Obtaining a chrominance block vector corresponding to a co-located luminance block vector of the video block, wherein the block vector is a motion vector with reference to a current picture; determining, in order, whether the co-located luma block, the left chroma sub-block, or the upper chroma sub-block is partially coded in a current picture reference mode and partially coded in another mode that is not the current picture reference mode, wherein the current picture reference mode is defined as adding the current picture to a reference picture list and being coded as a P picture; For the determining step being true, the current chroma block vector is set to the corresponding co-located luminance block vector, the left chroma sub-block vector, or the upper chroma sub-block vector, respectively, and if none of the determining steps is true, a default vector is used for the current chroma block vector, and wherein, when the sub-blocks are located in the same coding tree unit, the left chroma sub-block and the upper chroma sub-block are obtained from outside the co-located luminance sub-block, and for the lower right sub-block, the chroma block vector is copied from the left sub-block chroma block vector; and The video block is encoded using the chroma block vector.

2. A device comprising: The processor is configured as: Obtaining a chrominance block vector corresponding to a co-located luminance block vector of the video block, wherein the block vector is a motion vector with reference to a current picture; determining, in order, whether the co-located luma block, the left chroma sub-block, or the upper chroma sub-block is partially coded in a current picture reference mode and partially coded in another mode that is not the current picture reference mode, wherein the current picture reference mode is defined as adding the current picture to a reference picture list and being coded as a P picture; For the determining step being true, the current chroma block vector is set to the corresponding co-located luminance block vector, the left chroma sub-block vector, or the upper chroma sub-block vector, respectively, and if none of the determining steps is true, a default vector is used for the current chroma block vector, and wherein, when the sub-blocks are located in the same coding tree unit, the left chroma sub-block and the upper chroma sub-block are obtained from outside the co-located luminance sub-block, and for the lower right sub-block, the chroma block vector is copied from the left sub-block chroma block vector; and The video block is encoded using the chroma block vector.

3. A method comprising: Obtaining a chrominance block vector corresponding to a co-located luminance block vector of the video block, wherein the block vector is a motion vector with reference to a current picture; determining, in order, whether the co-located luma block, the left chroma sub-block, or the upper chroma sub-block is partially coded in a current picture reference mode and partially coded in another mode that is not the current picture reference mode, wherein the current picture reference mode is defined as adding the current picture to a reference picture list and being coded as a P picture; For the determining step being true, the current chroma block vector is set to the corresponding co-located luminance block vector, the left chroma sub-block vector, or the upper chroma sub-block vector, respectively, and if none of the determining steps is true, a default vector is used for the current chroma block vector, and wherein, when the sub-blocks are located in the same coding tree unit, the left chroma sub-block and the upper chroma sub-block are obtained from outside the co-located luminance sub-block, and for the lower right sub-block, the chroma block vector is copied from the left sub-block chroma block vector; and The video block is decoded using the chroma block vector.

4. A device comprising: The processor is configured as: Obtaining a chrominance block vector corresponding to a co-located luminance block vector of the video block, wherein the block vector is a motion vector with reference to a current picture; determining, in order, whether the co-located luma block, the left chroma sub-block, or the upper chroma sub-block is partially coded in a current picture reference mode and partially coded in another mode that is not the current picture reference mode, wherein the current picture reference mode is defined as adding the current picture to a reference picture list and being coded as a P picture; For the determining step being true, the current chroma block vector is set to the corresponding co-located luminance block vector, the left chroma sub-block vector, or the upper chroma sub-block vector, respectively, and if none of the determining steps is true, a default vector is used for the current chroma block vector, and wherein, when the sub-blocks are located in the same coding tree unit, the left chroma sub-block and the upper chroma sub-block are obtained from outside the co-located luminance sub-block, and for the lower right sub-block, the chroma block vector is copied from the left sub-block chroma block vector; and The video block is decoded using the chroma block vector.

5. The method according to claim 1 or claim 3, or the apparatus according to claim 2 or claim 4, wherein a binary tree mode and a current picture reference defined as luma and chroma block partitioning structures being separate and independently determined are enabled.

6. A method according to claim 1 or claim 3, or an apparatus according to claim 2 or claim 4, wherein if the co-located luma block is not coded using the current picture reference, a luma vector from a neighboring sub-block is applied.

7. The method according to claim 1 or claim 3, or the device according to claim 2 or claim 4, wherein: At least one chrominance block vector is derived from the co-located luminance block segmentation.

8. The method according to claim 1 or claim 3, or the apparatus according to claim 2 or claim 4, wherein: The same vector is applied to all chroma sub-blocks corresponding to the luma block.

9. The method according to claim 1 or claim 3, or the apparatus according to claim 2 or claim 4, wherein: The upper chroma sub-block vector is used when the left chroma sub-block vector is not available.

10. The method according to claim 1 or claim 3, or the apparatus according to claim 2 or claim 4, wherein: Co-located luminance block segmentation is used to derive the chrominance block vector.

11. The method according to claim 1 or claim 3, or the apparatus according to claim 2 or claim 4, wherein: When a co-located luma sub-block is not available, another co-located sub-block position is checked until a block vector is found.

12. A device comprising: The device according to any one of claims 4 to 11; as well as At least one of the following: (i) an antenna configured to receive a signal including a video block; (ii) a band limiter configured to limit the received signal to a frequency band including the video block; and (iii) a display configured to display an output representing the video block.

13. A non-transitory computer readable medium having stored thereon instructions which, when executed by a computer, cause the computer to perform the method according to any one of claims 1, 3, and 5 to 11.

14. A computer program product comprising instructions, which, when a computer executes the program, cause the computer to perform the method according to any one of claims 1, 3, and 5 to 11.