Method and apparatus for affine coded block derivation of merge candidates for video coding

By using an affine model to derive translational motion vectors in video coding, the problem of low motion vector coding efficiency in the existing technology is solved, and efficient coding of complex video signals is achieved, especially the coding efficiency of 3D video signals is improved.

CN118541973APending Publication Date: 2024-08-23MEDIATEK INC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380016695.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-01-14
Filing Date
2023-01-06
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing video coding technology has the problem of low efficiency in motion vector coding. Especially when processing complex video signals, especially 3D video signals, it is difficult for the existing technology to effectively utilize affine models to improve coding efficiency.

Method used

An affine model is used to derive translational motion vectors (MVs) from affine coding blocks, generate translational MV candidates in a merge list, and use these candidates in the encoding and decoding processes to improve the efficiency of predictive coding.

Benefits of technology

The translation MV candidates derived through the affine model improve the efficiency of video encoding, especially when processing complex video signals, especially 3D video signals, which significantly improves the encoding efficiency and video quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118541973A
    Figure CN118541973A
Patent Text Reader

Abstract

The invention discloses a video encoding and decoding method and device. According to the method, input data of pixel data of a current block to be encoded or encoded data of the current block to be decoded at a decoder side is received at an encoder side. When one or more reference blocks or sub-blocks of a current block are encoded in an affine mode, the following encoding process is applied: determining, for the current block, one or more derived MVs (Motion Vectors) associated with the one or more reference blocks or sub-blocks according to one or more affine models; generating a merge list containing at least one of the one or more derived MVs as one translation MV candidate; predictive encoding or decoding is applied to the input data using information containing the merge list.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Cross-references

[0002] The present invention is a non-provisional application of and claims priority to U.S. Provisional Patent Application No. 63 / 299,530 filed on January 14, 2022. The entire contents of the U.S. Provisional Patent Application are incorporated herein by reference. Technical Field

[0003] The present invention relates to video coding using motion estimation and motion compensation. In particular, the present invention relates to deriving translation MVs (motion vectors) from affine coded blocks using an affine model. Background Art

[0004] Versatile Video Coding (VVC) is the latest international video coding standard jointly developed by the Joint Video Experts Group (JVET) of the ITU-T Video Coding Experts Group (VCEG) and the ISO / IEC Moving Picture Experts Group (MPEG), which has been published as an ISO standard: ISO / IEC 23090-3:2021, Information technology - Coded representation of immersive media - Part 3: Versatile video coding, published in February 2021. VVC is an improvement over its predecessor HEVC (High Efficiency Video Coding) by adding more codec tools to improve codec efficiency, and can also handle various types of video sources, including 3D video signals.

[0005] Figure 1A An exemplary adaptive inter / intra video coding system including a loop process is described. For intra prediction, prediction data is derived from previously encoded video data in the current picture. For inter prediction 112, motion estimation (ME) is performed on the encoder side and motion compensation (MC) is performed based on the results of ME to provide prediction data derived from other pictures and motion data. Switch 114 selects intra prediction 110 or inter prediction 112 and the selected prediction data is provided to adder 116 to form a prediction error, also known as a residual. The prediction error is then processed by transform (T) 118 and subsequent quantization (Q) 120. The transformed and quantized residual is then encoded by entropy encoder 122 to be included in a video bitstream corresponding to the compressed video data. The bitstream associated with the transform coefficients is then packaged with auxiliary information (such as motion and coding modes associated with intra prediction and inter prediction) and other information (such as parameters associated with loop filters applied to underlying image areas). Auxiliary information associated with intra prediction 110, inter prediction 112, and in-loop filter 130 is provided to entropy encoder 122, such as Figure 1AAs shown. When using inter-frame prediction mode, one or more reference pictures must also be reconstructed at the encoder end. Therefore, the transformed and quantized residual is processed by inverse quantization (IQ) 124 and inverse transform (IT) 126 to recover the residual. The residual is then added back to the prediction data 136 at reconstruction (REC) 128 to reconstruct the video data. The reconstructed video data can be stored in a reference picture buffer 134 and used to predict other frames.

[0006] like Figure 1A As shown, the video data of input is processed in a coding system. Due to a series of processing, the reconstructed video data from REC128 may be subjected to various impairments. Therefore, loop filter 130 is often applied to reconstructed video data to improve video quality before the reconstructed video data is stored in reference picture buffer 134. For example, deblocking filter (DF), sample adaptive offset (SAO) and adaptive loop filter (ALF) can be used. It may be necessary to merge loop filter information into the bit stream so that the decoder can correctly restore the required information. Therefore, loop filter information is also provided to entropy encoder 122 to be merged into the bit stream. Figure 1A In , a loop filter 130 is applied to the reconstructed video before the reconstructed samples are stored in a reference picture buffer 134 . Figure 1A The system in is intended to illustrate an exemplary structure of a typical video encoder. It may correspond to the High Efficiency Video Coding (HEVC) system, VP8, VP9, ​​H.264, or VVC.

[0007] like Figure 1B As shown, the decoder can use similar or identical functional blocks as the encoder, except for transform 118 and quantization 120, because the decoder only needs inverse quantization 124 and inverse transform 126. Instead of entropy encoder 122, the decoder uses entropy decoder 140 to decode the video bitstream into quantized transform coefficients and required encoding information (such as ILPF information, intra-frame prediction information, and inter-frame prediction information). Intra-frame prediction 150 on the decoder side does not need to perform mode search. Instead, the decoder only needs to generate intra-frame prediction based on the intra-frame prediction information received from entropy decoder 140. In addition, for inter-frame prediction, the decoder only needs to perform motion compensation (MC152) based on the inter-frame prediction information received from entropy decoder 140 without motion estimation.

[0008] According to VVC, similar to HEVC, the input picture is divided into non-overlapping square block areas called CTUs (Coding Tree Units). Each CTU can be divided into one or more coding units (CUs) of smaller size. The generated CU partitions can be square or rectangular. In addition, VVC divides CTUs into prediction units (PUs) as units for applying prediction processes such as inter-frame prediction, intra-frame prediction, etc.

[0009] The VVC standard combines various new coding tools to further improve the coding efficiency of the HEVC standard. Among the various new tools, some coding and decoding tools related to the present invention are repeated as follows.

[0010] Merge Mode

[0011] In order to improve the coding efficiency of motion vector (MV) coding in HEVC, HEVC has Skip and Merge modes. Skip and Merge modes obtain motion information from spatially adjacent blocks (spatial candidates) or temporally co-located blocks (temporal candidates). When a PU is encoded or decoded in Skip or Merge mode, no motion information is encoded and decoded, instead, only the index of the selected candidate is encoded and decoded. For Skip mode, the residual signal is forced to zero and is not encoded. In HEVC, if a particular block is encoded as Skip or Merge, the candidate index is signaled to indicate which candidate in the candidate set is used for the merge. Each merged PU reuses the MV, prediction direction, and reference picture index of the selected candidate.

[0012] For the merge mode in HM-4.0 of HEVC, such as Figure 2 As shown, up to four spatial MV candidates are derived from A0, A1, B0 and B1, and from T BR or T CTR Derive a temporal MV candidate (first use T BR , if T BR If not available, use T instead. CTR ) for the current block 210. Note that if any of the four spatial MV candidates is not available, position B2 is then used to derive another MV candidate as a replacement. After the derivation process of four spatial MV candidates and one temporal MV candidate, pruning is applied to remove redundant MV candidates. If the number of available MV candidates is less than five after pruning, three additional candidates are derived and added to the candidate set (candidate list). The encoder selects a final candidate for skip or merge mode in the candidate set based on the rate-distortion optimization (RDO) decision and transmits the index to the decoder.

[0013] In the following, we refer to the Skip and Merge mode as “Merge mode”, i.e., in the following paragraphs, when we say “Merge mode”, we mean the Skip and Merge mode.

[0014] Affine Model

[0015] In the ITU-T13-SG16-C1016 contribution submitted to ITU-VCEG (Iin et al., "Affine transform prediction for next generation video coding", ITU-U, Study Group 16, Issue Q6 / 16, Contribution C1016, September 2015, Geneva, CH), four-parameter affine prediction is disclosed, including an affine merge mode. When an affine motion block is in motion, the motion vector field of the block can be described by two control point motion vectors or four parameters as follows, where (vx, vy) represents the motion vector

[0016]

[0017] An example of a four-parameter affine model is Figure 3 As shown, the corresponding reference block 320 of the current block 310 is located according to an affine model with two control point motion vectors (i.e., v0 and v1). The transformed block is a rectangular block. The motion vector field of each point in the motion block can be expressed by the following formula:

[0018]

[0019] or

[0020]

[0021] In the above equation, (v 0x , v 0y ) is the control point motion vector CPMV (i.e. v0) of the upper left corner of the block, (v 1x ,v 1y ) is another control point motion vector CPMV (i.e., v1) at the upper right corner of the block. When decoding the MV of the two control points, the MV of each 4x4 block of the block can be determined according to the above formula. In other words, the affine motion model of the block can be specified by two motion vectors at the two control points. Further, although the upper left corner and the upper right corner of the block are used as the two control points, other two control points can also be used. An example of determining the motion vector of the current block for each 4x4 sub-block based on the MV of the two control points according to equation (2). Four variables can be defined as follows:

[0022] dHorX=(v 1x -v 0x ) / w→ΔVx when offset by 1 sample in the X direction

[0023] dVerX=(v 1y -v 0y ) / h→ΔVy when offset by 1 sample in the X direction

[0024] dHorY=(v 2x -v 0x ) / w→ΔVx when offset by 1 sample in the Y direction

[0025] dVerY=(v 2y -v 0y ) / h→ΔVy when offset by 1 sample in the Y direction

[0026] In ITU-T13-SG16-C-1016, an affine merge mode is also proposed. If the current block 410 is a merged PU, the five neighboring blocks ( Figure 4 Whether one of the C0, B0, B1, C1 and A0 blocks in the PU is an affine inter mode or an affine merge mode. If so, the affine_flag signal is issued to indicate whether the current PU is an affine mode. When the current PU is applied to the affine merge mode, it obtains the first block encoded in the affine mode from the valid adjacent reconstructed blocks. The selection order of candidate blocks is from left, top, top right, bottom left to top left (i.e. C0→B0→B1→C1→A0), such as Figure 4 As shown in Figure 2, the affine parameters of the first affine coding block are used to derive v0 and v1 of the current PU.

[0027] In affine motion compensation (MC), the current block is divided into multiple 4x4 sub-blocks. For each sub-block, the center point (2, 2) is used to derive the MV by using equation (3) for that sub-block. For this level of MC, a 4x4 sub-block translational MC is performed for each sub-block. Summary of the invention

[0028] A method and apparatus for video encoding and decoding are disclosed. According to the method, input data of a current block to be encoded is received at an encoder side or encoded data of a current block to be decoded is received at a decoder side. When one or more reference blocks or sub-blocks of the current block are encoded in an affine mode, the following encoding process is applied: one or more derived MVs (Motion Vectors) associated with the one or more reference blocks or sub-blocks are determined for the current block according to one or more affine models; a merge list containing at least one of the one or more derived MVs as a translation MV candidate is generated; and predictive encoding or decoding is applied to the input data using information containing the merge list.

[0029] In one embodiment, the one or more derived MVs are determined at one or more locations based on the one or more affine models, the locations comprising the upper left corner, the upper right corner, the center, the lower left corner, the lower right corner, or a combination thereof of the current block. In another embodiment, the one or more locations comprise one or more target locations within the current block, outside the current block, or both.

[0030] In one embodiment, the one or more reference blocks or sub-blocks of the current block correspond to one or more spatially adjacent blocks or sub-blocks of the current block. In another embodiment, the one or more derived MVs are inserted into the merge list as one or more new MV candidates. For example, the at least one of the one or more derived MVs may be inserted into the merge list before or after the spatial MV candidate of the corresponding reference block or sub-block associated with the at least one of the one or more derived MVs. In another embodiment, the spatial MV candidate of the corresponding reference block or sub-block associated with the at least one of the one or more derived MVs in the merge list is replaced by the at least one of the one or more derived MVs.

[0031] In one embodiment, the at least one of the one or more derived MVs is inserted into the merge list after a spatial MV candidate, after a temporal MV candidate, or after an MV category.

[0032] In one embodiment, only the first N derived MVs of the one or more derived MVs are inserted into the merge list, where N is a positive integer.

[0033] In one embodiment, the one or more reference blocks or sub-blocks of the current block correspond to one or more non-adjacent affine coded blocks.

[0034] In one embodiment, the one or more reference blocks or sub-blocks of the current block correspond to one or more affine coded blocks having CPMVs (Control Point MVs) or model parameters stored in a history buffer.

[0035] In one embodiment, only a portion of the one or more derived MVs associated with a portion of the one or more reference blocks or sub-blocks of the current block is inserted into the merge list. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1A An exemplary adaptive inter / intra video coding system incorporating loop processing is shown.

[0037] Figure 1B Show Figure 1A The corresponding decoder of the encoder in .

[0038] Figure 2 Spatially neighboring blocks and temporally co-located blocks used for merging candidate derivation are illustrated.

[0039] Figure 3 FIG. 1 illustrates an example of a four-parameter affine model, where a current block and a reference block are shown.

[0040] Figure 4An example of inherited affine candidate derivation is shown, in which the current block inherits the affine model of the neighboring block by inheriting the control point MV of the neighboring block as the control point MV of the current block.

[0041] Figure 5 An example of deriving a motion vector as a translation MV candidate of a merge list from control point motion vectors of spatial neighboring blocks encoded in an affine mode according to an embodiment of the present invention is illustrated.

[0042] Figure 6 An exemplary flowchart of a video encoding system using a derived MV derived from an affine-encoded reference block or sub-block as a translation MV candidate in a merge list according to an embodiment of the present invention is illustrated. DETAILED DESCRIPTION

[0043] It will be readily appreciated that the components of the present invention as generally described and illustrated in the accompanying drawings herein may be arranged and designed in a variety of different configurations. Therefore, the following more detailed description of the embodiments of the systems and methods of the present invention as shown in the figures is not intended to limit the scope of the claimed invention, but only represents selected embodiments of the present invention. References throughout this specification to "one embodiment," "one embodiment," or similar language mean that a particular feature, structure, or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present invention. Therefore, the phrases "in one embodiment" or "in one embodiment" appearing throughout this specification do not necessarily all refer to the same embodiment.

[0044] In addition, the described features, structures or characteristics may be combined in one or more embodiments in any suitable manner. However, those skilled in the relevant art will recognize that the present invention may be practiced without one or more specific details, or using other methods, components, etc. In other cases, well-known structures or detailed descriptions of operations are not shown or are not shown to avoid obscuring aspects of the present invention. The illustrated embodiments of the present invention will be best understood with reference to the accompanying drawings, in which like parts are represented by like numbers throughout. The following description is intended to be exemplary only and simply illustrates certain selected embodiments of the apparatus and methods consistent with the present invention as claimed herein.

[0045] In normal merge mode or shifted MV merge mode (which includes normal merge mode, MMVD (Merged MVD (Motion Vector Difference)) merge mode, GPM (Geometry Partition Mode) merge mode), spatially adjacent sub-blocks (e.g., 4x4 blocks) MVs or non-adjacent spatial sub-blocks MVs are used to derive MV / MVP (MV prediction) candidates, regardless of whether the corresponding CU of the sub-block is encoded in affine mode.

[0046] According to the above affine model, if the CU is affine-coded, any MV of any sample / point in the current picture can be derived according to equation (2) or (3). Figure 5 In the example, the spatial neighboring CU (i.e., block A1) uses CPMV V0, V1, and V2 codecs at positions (x0, y0), (x1, y1), and (x2, y2) in affine mode. We can use the following equation to represent the position of (x0, y0), (x1, y1), and (x2, y2). LT ,y LT ) to derive MV, V LT :

[0047]

[0048] At the same time, we can derive V by the following equation c :

[0049]

[0050] Similarly, we can derive the MV(x BR ,y BR ). In the present invention, we propose that when deriving a shifted MV candidate in the normal merge mode, the shifted MV merge mode, the AMVP mode or any MV candidate list, if the reference sub-block or the reference block is encoded or decoded in the affine mode, we can use its affine model to derive a shifted MV as the candidate MV for the current block instead of using the reference sub-block MV or the reference block MV. For example, Figure 5 In the example, the neighboring block A1520 of the current block 510 (also in Figure 2 In VVC, the sub-block MV V A1 Used as one of the MV candidates in the merge mode (i.e., translation MV). In the present invention, we can derive one or more MVs at the selected position of the current block according to the affine model instead of using V A1 , and use them as MV candidates from block A1. For example, the selected position can be the upper left corner, upper right corner, center, lower left corner, lower right corner or a combination of them. The derived MVs corresponding to these positions are {V LT , V RT , V C , V LB , and V RB ).

[0051] In another embodiment, not only the MVs derived at the corner and center positions (i.e., {V LT , V RT , V C , V LB , and V RB}), and any MV derived from the target affine model in the current block can be used. In another embodiment, not only {V LT , V RT , V C , V LB , and V RB}, and can also use any MV around the current block derived from the target affine model. Figure 5 , the MVVH of the sub-block 530 outside the lower right corner of the current block is derived and used as one of the MV candidates in the merge mode (ie, the translation MV).

[0052] In another embodiment, V A1 Insert the translation MV derived from the affine model (referred to as translation-affine MV in this disclosure) before or after. For example, in candidate list derivation, V A1 Will not be replaced by the translation-affine MV. The translation-affine MV can be inserted into the candidate list as a new candidate. Figure 2 For example, the translation-affine MV is inserted in V A1 Before, the new order of the candidate list is B1, A 1aff , A1, B0, A0, B2. In another example, the translation-affine MV is inserted in V A1 After that, the new order of the candidate list will be B1, A1, A 1aff , B0, A0, B2. In another example, the translation-affine MV is inserted after the spatially adjacent MV, or after the temporal MV, or after one of the MV categories. As is well known, VVC has various categories of MV candidates, such as spatial MV candidates, temporal MV candidates, affine-derived MV candidates, history-based MV candidates, etc. In the example where the translation-affine MV is inserted after one of the MV categories, the order of the target reference blocks / sub-blocks may follow the block scanning order of the VVC or HEVC merge list or AMVP list. In one embodiment, only the first N translation-affine MVs from one category may be inserted, where N is a positive integer. In another embodiment, only the translation-affine MVs in some blocks may be inserted. In other words, not all derived MV candidates derived for one MV category are inserted into the merge list. For example, only the translation-affine MVs of blocks B1, A1, B0, and A0 may be inserted.

[0053] Although Figure 5The example in illustrates the case where the translation MV of the current block is derived based on the spatial neighboring block A1, but the present invention is not limited to this specific spatial neighboring block. Any other previously encoded neighboring block can be used to derive the translation MV, as long as the neighboring block is encoded in affine mode. In addition, the present invention can not only use spatial neighboring blocks encoded and decoded in affine mode to derive the translation MV, but also use other blocks previously encoded in affine mode to derive the translation MV. In another embodiment, non-adjacent affine encoded blocks can also use the proposed method to derive one or more translation-affine MVs for the candidate list. In another embodiment, the affine CPMV / parameters stored in the history buffer can also use the proposed method to derive one or more translation-affine MVs for the candidate list. Spatial neighboring blocks encoded and decoded with affine blocks, non-adjacent affine encoded blocks, and blocks with affine CPMV / parameters stored in the history buffer are referred to as reference blocks or sub-blocks in the present disclosure.

[0054] Any of the aforementioned proposed methods may be implemented in an encoder and / or a decoder. For example, any of the proposed methods may be implemented in an affine / inter prediction module (e.g., Figure 1A Inter-frame prediction 112 or Figure 1B Alternatively, any of the proposed methods may be implemented as a circuit coupled to an affine / inter prediction module of an encoder and / or decoder.

[0055] Figure 6An exemplary flowchart of a video encoding system using a derived MV derived from an affine-encoded reference block or sub-block as a translation MV candidate in a merge list according to an embodiment of the present invention is illustrated. The steps shown in the flowchart can be implemented as program codes that can be executed on one or more processors (e.g., one or more CPUs) on the encoder side. The steps shown in the flowchart can also be implemented based on hardware, such as one or more electronic devices or processors arranged to perform the steps in the flowchart. According to the method, in step 610, input data including pixel data of a current block to be encoded on the encoder side or encoded data of a current block to be decoded on the decoder side is received. In step 620, it is checked whether one or more reference blocks or sub-blocks of the current block are encoded in an affine mode. If the one or more reference blocks or sub-blocks of the current block are encoded in an affine mode, steps 630 to 650 are performed. Otherwise (i.e., the one or more reference blocks or sub-blocks of the current block are not encoded in an affine mode), steps 630 to 650 are skipped. In step 630, one or more derived MVs (motion vectors) are determined for the current block according to one or more affine models associated with the one or more reference blocks or sub-blocks. In step 640, a merge list is generated that includes at least one of the one or more derived MVs as a candidate for a translation MV. In step 650, predictive encoding or decoding is applied to input data using information including the merge list.

[0056] The flowchart shown is intended to illustrate an example of video encoding according to the present invention. Without departing from the spirit of the present invention, those skilled in the art may modify each step, rearrange the steps, split the steps, or combine the steps to implement the present invention. In this disclosure, specific syntax and semantics have been used to illustrate examples to implement embodiments of the present invention. Without departing from the spirit of the present invention, those skilled in the art may implement the present invention by replacing syntax and semantics with equivalent syntax and semantics.

[0057] The above description is provided to enable one of ordinary skill in the art to practice the present invention as provided in the context of a specific application and its requirements. Various modifications to the described embodiments will be apparent to those skilled 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 specific embodiments shown and described, but to conform to the widest scope consistent with the principles and novel features disclosed herein. In the above detailed description, various specific details are illustrated to provide a thorough understanding of the present invention. However, it will be appreciated by those skilled in the art that the present invention may be implemented.

[0058] The embodiments of the present invention as described above can be implemented in various hardware, software codes or a combination of the two. For example, an embodiment of the present invention can be one or more circuits integrated into a video compression chip or a program code integrated into the video compression software to perform the processing described herein. An embodiment of the present invention can also be a program code to be executed on a digital signal processor (DSP) to perform the processing described herein. The present invention can also be related to many functions performed by a computer processor, a digital signal processor, a microprocessor or a field programmable gate array (FPGA). These processors can be configured to perform specific tasks according to the present invention by executing machine-readable software codes or firmware codes that define the specific methods embodied by the present invention. The software code or firmware code can be developed in different programming languages ​​and different formats or styles. It is also possible to compile software code for different target platforms. However, the different code formats, styles and languages ​​of the software code and other ways of configuring the code to perform tasks according to the present invention will not depart from the spirit and scope of the present invention.

[0059] The present 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 as illustrative and not restrictive. Therefore, the scope of the present invention is indicated by the appended claims rather than by the foregoing description. All changes falling within the meaning and scope of the equivalents of the claims are to be included within their scope.

Claims

1. A video encoding and decoding method, the method comprising: The encoding end receives input data of the current block to be encoded or the decoding end receives encoded data of the current block to be decoded; as well as When one or more reference blocks or sub-blocks of the current block are encoded in affine mode: determining one or more derived motion vectors (MVs) for the current block based on one or more affine models associated with the one or more reference blocks or sub-blocks; generating a merge list including at least one of the one or more derived MVs as a translated MV candidate; as well as Predictive encoding or decoding is applied to input data using information including the merge list.

2. The method according to claim 1, characterized in that: The one or more derived MVs are determined according to the one or more affine models at one or more positions including the upper left corner, the upper right corner, the center, the lower left corner, the lower right corner or a combination thereof of the current block.

3. The method according to claim 2, characterized in that: The one or more locations include one or more target locations within the current block, outside the current block, or both.

4. The method according to claim 1, characterized in that: The one or more reference blocks or sub-blocks of the current block correspond to one or more spatially neighboring blocks or sub-blocks of the current block.

5. The method according to claim 4, characterized in that: The one or more derived MVs are inserted into the merge list as one or more new MV candidates.

6. The method according to claim 5, characterized in that: The at least one of the one or more derived MVs is inserted before or after a spatial MV candidate in the merge list, wherein the spatial MV candidate is a spatial MV candidate of a corresponding reference block or subblock associated with the one or more derived MVs.

7. The method according to claim 4, characterized in that: A spatial MV candidate in the merge list is replaced by at least one of the one or more derived MVs, wherein the spatial MV candidate is used for a corresponding reference block or sub-block associated with the at least one of the one or more derived MVs.

8. The method according to claim 1, characterized in that: The at least one of the one or more derived MVs is inserted after a spatial MV candidate, after a temporal MV candidate, or after one MV category in the merge list.

9. The method according to claim 1, characterized in that Only the first N derived MVs of the one or more derived MVs are inserted into the merge list, where N is a positive integer.

10. The method according to claim 1, characterized in that: The one or more reference blocks or sub-blocks of the current block correspond to one or more non-adjacent affine coded blocks.

11. The method according to claim 1, characterized in that: The one or more reference blocks or sub-blocks of the current block correspond to one or more affine coded blocks having control point MVs (CPMVs) or model parameters stored in a history buffer.

12. The method according to claim 1, characterized in that: Only a portion of the one or more derived MVs associated with a portion of the one or more reference blocks or sub-blocks of the current block is inserted into the merge list.

13. A video encoding and decoding device, the device comprising one or more electronic devices or processors, configured to: The encoding end receives input data of the current block to be encoded or the decoding end receives encoded data of the current block to be decoded; and When one or more reference blocks or sub-blocks of the current block are encoded in affine mode: determining one or more derived motion vectors (MVs) for the current block based on one or more affine models associated with the one or more reference blocks or sub-blocks; generating a merge list including at least one of the one or more derived MVs as a translated MV candidate; as well as Predictive encoding or decoding is applied to the input data using information including the merged list.