CN102769748B - Motion vector prediction method, device and system - Google Patents
Motion vector prediction method, device and system Download PDFInfo
- Publication number
- CN102769748B CN102769748B CN201210225276.0A CN201210225276A CN102769748B CN 102769748 B CN102769748 B CN 102769748B CN 201210225276 A CN201210225276 A CN 201210225276A CN 102769748 B CN102769748 B CN 102769748B
- Authority
- CN
- China
- Prior art keywords
- motion vector
- block
- detecting
- upper right
- available
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
本发明提供一种运动矢量预测方法、装置及系统。该方法包括:检测当前块的第一相邻位置的参考块的运动矢量是否可用,若可用,则记录为空域候选运动矢量;检测当前块的第二相邻位置的参考块的运动矢量是否可用,若可用,则记录为空域候选运动矢量;若所述当前块的第二相邻位置的参考块的运动矢量不可用,则对所述第一相邻位置的参考块和/或所述第二相邻位置的参考块的、经比例调节的运动矢量是否可用进行检测,若可用,则记录为空域候选运动矢量;获取并记录时域候选运动矢量;根据所记录的空域候选运动矢量和时域候选运动矢量,对所述当前块进行运动矢量预测。
The invention provides a motion vector prediction method, device and system. The method includes: detecting whether the motion vector of the reference block at the first adjacent position of the current block is available, and if available, recording it as a candidate motion vector in space; detecting whether the motion vector of the reference block at the second adjacent position of the current block is available , if available, record it as a candidate motion vector in the spatial domain; if the motion vector of the reference block at the second adjacent position of the current block is not available, the reference block at the first adjacent position and/or the second adjacent position Check whether the scaled motion vectors of reference blocks in two adjacent positions are available, and if available, record them as candidate motion vectors in space; obtain and record candidate motion vectors in time domain; A candidate motion vector is used to predict the motion vector of the current block.
Description
技术领域 technical field
本发明涉及视频编解码技术,尤其涉及一种运动矢量预测方法、装置及系统,属于通信技术领域。The present invention relates to video encoding and decoding technology, in particular to a motion vector prediction method, device and system, and belongs to the field of communication technology.
背景技术 Background technique
视频编码压缩的基本原理是,利用空域、时域和码字之间的相关性,尽可能去除冗余。因此,如何利用相邻编码块对当前块进行运动矢量(MotionVector,MV)预测,是影响编、解码的执行效率和增益的重要因素。The basic principle of video coding and compression is to use the correlation between space domain, time domain and code words to remove redundancy as much as possible. Therefore, how to use adjacent coding blocks to predict the motion vector (MotionVector, MV) of the current block is an important factor affecting the execution efficiency and gain of coding and decoding.
JCTVC工作组正在制定下一代视频编码标准,即高效视频编码(HighEfficiency Video Coding,HEVC)标准。HEVC标准利用多运动矢量竞争的方法进行运动矢量预测,即利用空域相邻编码块导出空域候选运动矢量,利用时域相邻编码块导出时域候选运动矢量,从这些候选运动矢量中选择一个最佳的运动矢量作为当前块的运动矢量的预测值。The JCTVC working group is developing the next-generation video coding standard, the High Efficiency Video Coding (HEVC) standard. The HEVC standard uses the method of multi-motion vector competition for motion vector prediction, that is, the space-domain candidate motion vector is derived from the spatial-domain adjacent coding block, and the time-domain candidate motion vector is derived from the temporal-domain adjacent coding block, and the best candidate motion vector is selected from these candidate motion vectors. The best motion vector is used as the predictor of the motion vector of the current block.
图1为HEVC标准草案中用于导出空域候选运动矢量的空域相邻编码块的示意图。如图1所示,A0为当前块左下角位置对应的左下块,A1为当前块左下角位置对应的左边块,B0为当前块右上角位置对应的右上块,B1为当前块右上角位置对应的上边块,B2为当前块左上角位置对应的左上块。结合图1,HEVC标准草案中导出空域候选运动矢量包括顺次执行的如下步骤:FIG. 1 is a schematic diagram of spatial adjacent coding blocks used for deriving spatial candidate motion vectors in the draft HEVC standard. As shown in Figure 1, A0 is the lower left block corresponding to the lower left corner of the current block, A1 is the left block corresponding to the lower left corner of the current block, B0 is the upper right block corresponding to the upper right corner of the current block, and B1 is the upper right block corresponding to the current block B2 is the upper left block corresponding to the upper left corner of the current block. With reference to Figure 1, the derivation of spatial candidate motion vectors in the draft HEVC standard includes the following steps performed in sequence:
步骤a,依次检测A0,A1的MV是否可用,若MV可用,则把该MV作为空域候选运动矢量A;Step a, sequentially detect whether the MV of A0 and A1 is available, and if the MV is available, use the MV as the candidate motion vector A in the space;
步骤b,若步骤a的MV不可用,则依次检测A0、A1的经比例调节的MV(scaled MV)是否可用,若scaled MV可用,则把该scaled MV作为空域候选运动矢量A;Step b, if the MV in step a is not available, then sequentially detect whether the scaled MV (scaled MV) of A0 and A1 is available, and if the scaled MV is available, use the scaled MV as the spatial candidate motion vector A;
步骤c,依次检测B0、B1、B2的MV是否可用,若MV可用,则把该MV作为空域候选运动矢量B;Step c, sequentially detect whether the MVs of B0, B1, and B2 are available, and if the MV is available, use the MV as the spatial candidate motion vector B;
步骤d,若步骤c的MV不可用,并且步骤a的MV和步骤b的scaled MV都不可用,则依次检测B0、B1、B2的scaled MV是否可用,若scaled MV可用,则把该scaled MV作为空域候选运动矢量B。Step d, if the MV of step c is not available, and the MV of step a and the scaled MV of step b are not available, then check whether the scaled MV of B0, B1, B2 is available in turn, and if the scaled MV is available, the scaled MV As the spatial domain candidate motion vector B.
通过上述步骤,可以获得至多两个空域候选运动矢量,包括空域候选运动矢量A和空域候选运动矢量B。Through the above steps, at most two spatial candidate motion vectors can be obtained, including the spatial candidate motion vector A and the spatial candidate motion vector B.
可以看出,上述推导空域候选运动矢量的过程较为复杂,从而降低了编码、解码的执行效率。It can be seen that the above-mentioned process of deriving the motion vector candidate in the space domain is relatively complicated, thereby reducing the execution efficiency of encoding and decoding.
发明内容 Contents of the invention
针对现有技术存在的缺陷,本发明实施例提供一种运动矢量预测方法、装置及系统,用以实现较为简便的运动矢量预测、提高编码、解码的执行效率。Aiming at the defects existing in the prior art, the embodiments of the present invention provide a motion vector prediction method, device and system, so as to realize relatively simple motion vector prediction and improve the execution efficiency of encoding and decoding.
根据本发明实施例的第一方面,提供一种运动矢量预测方法,包括:According to a first aspect of an embodiment of the present invention, a motion vector prediction method is provided, including:
检测当前块的第一相邻位置的参考块的运动矢量是否可用,若可用,则记录为空域候选运动矢量;Detect whether the motion vector of the reference block at the first adjacent position of the current block is available, and if available, record it as a spatial candidate motion vector;
检测当前块的第二相邻位置的参考块的运动矢量是否可用,若可用,则记录为空域候选运动矢量;Detecting whether the motion vector of the reference block at the second adjacent position of the current block is available, and if available, recording it as a spatial candidate motion vector;
若所述当前块的第二相邻位置的参考块的运动矢量不可用,则对所述第一相邻位置的参考块和/或所述第二相邻位置的参考块的、经比例调节的运动矢量是否可用进行检测,若可用,则记录为空域候选运动矢量;If the motion vector of the reference block of the second neighboring position of the current block is not available, the scaled adjustment of the reference block of the first neighboring position and/or the reference block of the second neighboring position Whether the motion vector of is available for detection, if available, then recorded as the space domain candidate motion vector;
获取并记录时域候选运动矢量;Acquiring and recording candidate motion vectors in time domain;
根据所记录的空域候选运动矢量和时域候选运动矢量,对所述当前块进行运动矢量预测。Perform motion vector prediction on the current block according to the recorded space-domain candidate motion vectors and time-domain candidate motion vectors.
根据本发明实施例的第二方面,提供一种运动矢量预测装置,包括空域候选运动矢量获取模块、时域候选运动矢量获取模块,和分别与所述空域候选运动矢量获取模块和所述时域候选运动矢量获取模块连接的运动矢量预测模块,其中:According to the second aspect of the embodiments of the present invention, there is provided a motion vector prediction device, including a spatial domain candidate motion vector acquisition module, a time domain candidate motion vector acquisition module, and the spatial domain candidate motion vector acquisition module and the time domain candidate motion vector acquisition module respectively The motion vector prediction module connected to the candidate motion vector acquisition module, wherein:
所述空域候选运动矢量获取模块包括:The airspace candidate motion vector acquisition module includes:
第一检测单元,用于检测当前块的第一相邻位置的参考块的运动矢量是否可用,若可用,则记录为空域候选运动矢量;The first detection unit is used to detect whether the motion vector of the reference block at the first adjacent position of the current block is available, and if available, record it as a candidate motion vector in the space;
第二检测单元,用于检测当前块的第二相邻位置的参考块的运动矢量是否可用,若可用,则记录为空域候选运动矢量;以及The second detection unit is used to detect whether the motion vector of the reference block at the second adjacent position of the current block is available, and if available, record it as a spatial candidate motion vector; and
第三检测单元,用于若所述当前块的第二相邻位置的参考块的运动矢量不可用,则对所述第一相邻位置的参考块和/或所述第二相邻位置的参考块的、经比例调节的运动矢量是否可用进行检测,若可用,则记录为空域候选运动矢量;The third detection unit is configured to, if the motion vector of the reference block at the second adjacent position of the current block is not available, perform the motion vector detection on the reference block at the first adjacent position and/or the second adjacent position detecting whether the scaled motion vector of the reference block is available, and recording it as a spatial candidate motion vector if available;
所述时域候选运动矢量获取模块,用于获取并记录时域候选运动矢量;The time-domain candidate motion vector acquisition module is used to acquire and record the time-domain candidate motion vector;
所述运动矢量预测模块,用于根据所记录的空域候选运动矢量和时域候选运动矢量,对所述当前块进行运动矢量预测。The motion vector prediction module is configured to perform motion vector prediction on the current block according to the recorded space-domain candidate motion vectors and time-domain candidate motion vectors.
根据本发明实施例的第三方面,提供一种编码器,包括本发明实施例的运动矢量预测装置。According to a third aspect of the embodiments of the present invention, an encoder is provided, including the motion vector prediction apparatus of the embodiments of the present invention.
根据本发明实施例的第四方面,提供一种解码器,包括本发明实施例的运动矢量预测装置。According to a fourth aspect of the embodiments of the present invention, a decoder is provided, including the motion vector prediction apparatus of the embodiments of the present invention.
根据本发明实施例的第五方面,提供一种编解码系统,包括本发明实施例的编码器和解码器。According to a fifth aspect of the embodiments of the present invention, a codec system is provided, including the encoder and the decoder of the embodiments of the present invention.
根据本发明实施例提供的运动矢量预测方法、装置及系统,在获取空域候选运动矢量的过程中,由于首先检测当前块的第一相邻位置和第二相邻位置的参考块的运动矢量是否可用,并当该两个位置其中之一不可用时,再检测经比例调节的运动矢量是否可用,使得最差情况下,需通过三个步骤来获取空域候选运动矢量。而现有技术中,在最差情况下,需执行四个步骤来获取空域候选运动矢量。因此,可以看出,本实施例的运动矢量预测方法相对于现有技术降低了复杂度,缩减了现有技术中执行运动矢量预测的流程,从而提高了编码、解码的执行效率。According to the motion vector prediction method, device, and system provided by the embodiments of the present invention, in the process of obtaining the candidate spatial motion vector, firstly, it is detected whether the motion vector of the reference block at the first adjacent position and the second adjacent position of the current block is available, and when one of the two positions is not available, then check whether the scaled motion vector is available, so that in the worst case, three steps are required to obtain the spatial candidate motion vector. However, in the prior art, in the worst case, four steps need to be performed to obtain the spatial candidate motion vector. Therefore, it can be seen that, compared with the prior art, the motion vector prediction method of this embodiment reduces the complexity and reduces the flow of performing motion vector prediction in the prior art, thereby improving the execution efficiency of encoding and decoding.
附图说明 Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1为HEVC标准草案中用于导出空域候选运动矢量的空域相邻编码块的示意图;FIG. 1 is a schematic diagram of spatial adjacent coding blocks used to derive spatial candidate motion vectors in the draft HEVC standard;
图2为本发明一个实施例的运动矢量预测方法的流程示意图;FIG. 2 is a schematic flowchart of a motion vector prediction method according to an embodiment of the present invention;
图3为本发明一个实施例中用于导出空域候选运动矢量的参考块的示意图;FIG. 3 is a schematic diagram of reference blocks used to derive spatial candidate motion vectors in an embodiment of the present invention;
图4为本发明一个实施例的运动矢量预测装置的结构示意图;FIG. 4 is a schematic structural diagram of a motion vector prediction device according to an embodiment of the present invention;
图5为本发明一个实施例提供的编解码系统的系统架构图。FIG. 5 is a system architecture diagram of a codec system provided by an embodiment of the present invention.
具体实施方式 Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
图2为本发明一个实施例的运动矢量预测方法的流程示意图。如图2所示,该运动矢量预测方法包括:Fig. 2 is a schematic flowchart of a motion vector prediction method according to an embodiment of the present invention. As shown in Figure 2, the motion vector prediction method includes:
101,检测当前块的第一相邻位置的参考块的运动矢量是否可用,若可用,则记录为空域候选运动矢量;101. Detect whether the motion vector of the reference block at the first adjacent position of the current block is available, and if available, record it as a spatial candidate motion vector;
102,检测当前块的第二相邻位置的参考块的运动矢量是否可用,若可用,则记录为空域候选运动矢量;102. Detect whether the motion vector of the reference block at the second adjacent position of the current block is available, and if available, record it as a spatial candidate motion vector;
103,若所述当前块的第二相邻位置的参考块的运动矢量不可用,则对所述第一相邻位置的参考块和/或所述第二相邻位置的参考块的、经比例调节的运动矢量是否可用进行检测,若可用,则记录为空域候选运动矢量;103. If the motion vector of the reference block at the second adjacent position of the current block is unavailable, perform the motion vector of the reference block at the first adjacent position and/or the reference block at the second adjacent position, Whether the scaled motion vector is available is detected, and if available, it is recorded as a spatial candidate motion vector;
104,获取并记录时域候选运动矢量;104. Acquire and record the time-domain candidate motion vector;
105,根据所记录的空域候选运动矢量和时域候选运动矢量,对所述当前块进行运动矢量预测。105. Perform motion vector prediction on the current block according to the recorded candidate motion vectors in the space domain and the candidate motion vectors in the time domain.
上述101-105中,101-103与104的执行次序不做限定,即既可以在执行101-103后,执行104;也可以先执行104,再执行101-103;还可以将101-103和104并行执行。类似地,101与102的执行次序也不做限定。In the above 101-105, the execution order of 101-103 and 104 is not limited, that is, 104 can be executed after 101-103 is executed; 104 can be executed first, and then 101-103 can be executed; 101-103 and 101 can also be executed 104 are executed in parallel. Similarly, the execution order of 101 and 102 is not limited.
在本实施例的运动矢量预测方法中,将当前块的第一相邻的参考块和当前块的第二相邻位置的参考块作为空域相邻参考块,用于导出至多两个空域候选运动矢量。其中,当前块的第一相邻位置可以是当前块的左边位置,当前块的第二相邻位置可以是当前块的上边位置;当前块的第一相邻位置的参考块和当前块的第二相邻位置的参考块,既可以是帧间(Inter)编码块,也可以是帧内(Intra)编码块,此处不做限定。In the motion vector prediction method of this embodiment, the first adjacent reference block of the current block and the second adjacent reference block of the current block are used as spatial adjacent reference blocks for deriving at most two spatial candidate motions vector. Wherein, the first adjacent position of the current block may be the left position of the current block, the second adjacent position of the current block may be the upper position of the current block; the reference block of the first adjacent position of the current block and the first adjacent position of the current block The reference blocks at two adjacent positions may be inter-frame (Inter) coding blocks or intra-frame (Intra) coding blocks, which are not limited here.
具体地,在获取空域候选运动矢量的过程中,首先对当前块的第一相邻位置的参考块和当前块的第二相邻位置的参考块进行检测,判断当前块的第一相邻位置的参考块和当前块的第二相邻位置的参考块的MV是否可用,其中,“可用”是指MV存在并且MV对应的参考图像与当前块的参考图像相同。更为具体地,检测参考块是否可用的步骤包括:检测参考块是否具有MV,当参考块为帧间编码块时,其具有MV,当参考块为帧内编码块时,其不具有MV。若不存在MV,则直接判定不可用;若存在MV,则比较参考块的MV对应的参考图像索引与当前块的参考图像索引是否相同,若相同,则判定MV可用,将相应的MV记录为空域候选运动矢量;若不同,则判定不可用。Specifically, in the process of obtaining the spatial candidate motion vector, firstly, the reference block at the first adjacent position of the current block and the reference block at the second adjacent position of the current block are detected, and the first adjacent position of the current block is judged Whether the MV of the reference block and the second adjacent reference block of the current block are available, where "available" means that the MV exists and the reference image corresponding to the MV is the same as the reference image of the current block. More specifically, the step of detecting whether the reference block is available includes: detecting whether the reference block has an MV. When the reference block is an inter-coded block, it has an MV. When the reference block is an intra-frame coded block, it does not have an MV. If there is no MV, it is directly determined that it is not available; if there is an MV, then compare whether the reference image index corresponding to the MV of the reference block is the same as the reference image index of the current block, if they are the same, then determine that the MV is available, and record the corresponding MV as Spatial candidate motion vector; if different, the decision is not available.
当完成上述过程后,若当前块的第一相邻位置的参考块的MV可用(即导出一个空域候选运动矢量,例如记录为candidate A),并且当前块的第二相邻位置的参考块的MV可用(即导出一个空域候选运动矢量,例如记录为candidate B),则已满足HEVC标准所需的导出至多两个空域候选运动矢量的要求,此时无需执行103的操作。After the above process is completed, if the MV of the reference block at the first adjacent position of the current block is available (that is, a spatial candidate motion vector is derived, for example, recorded as candidate A), and the MV of the reference block at the second adjacent position of the current block If the MV is available (that is, one spatial candidate motion vector is derived, for example, it is recorded as candidate B), then the requirement of deriving at most two spatial candidate motion vectors required by the HEVC standard has been met, and there is no need to perform the operation of 103 at this time.
若获知当前块的第二相邻位置的参考块的MV不可用时(即上述过程导出一个空域候选运动矢量,或未导出空域候选运动矢量),则检测第一相邻位置的参考块和/或所述第二相邻位置的参考块的、经比例调节后的MV(scaledMV)是否可用。更为具体地,检测scaled MV是否可用包括:检测参考块是否存在MV,若不存在,则判定scaled MV不可用;若存在,则判定scaled MV可用;在判断可用后,对MV进行适当的比例调节,即缩放处理(scaling),以使scaled MV对应的参考图像与当前块的参考图像相同,则将该scaled MV记录为空域候选运动矢量。If it is known that the MV of the reference block at the second adjacent position of the current block is not available (that is, the above process derives a spatial candidate motion vector, or does not derive a spatial candidate motion vector), then detect the reference block at the first adjacent position and/or Whether the scaled MV (scaledMV) of the reference block at the second adjacent position is available. More specifically, detecting whether the scaled MV is available includes: detecting whether there is an MV in the reference block, if it does not exist, then judging that the scaled MV is unavailable; if it exists, then judging that the scaled MV is available; Adjustment, that is, scaling processing (scaling), so that the reference image corresponding to the scaled MV is the same as the reference image of the current block, then the scaled MV is recorded as a spatial candidate motion vector.
对第一相邻位置的参考块和第二相邻位置的参考块的scaled MV的检测次序可以为:首先对第一相邻位置的参考块的scaled MV进行检测,若检测结果为scaled MV可用,则停止执行103;若检测结果为scaled MV不可用,则继续对第二相邻位置的参考块的scaled MV进行检测;再例如:若101的检测结果为可用,102的检测结果为不可用,则在103中,首先对第二相邻位置的参考块的scaled MV进行检测,并当检测结果为不可用时,再对第一相邻位置的参考块的scaled MV进行检测。The detection order of the scaled MV of the reference block at the first adjacent position and the reference block at the second adjacent position can be: first, the scaled MV of the reference block at the first adjacent position is detected, and if the detection result is scaled MV available , then stop executing 103; if the detection result is that the scaled MV is unavailable, continue to detect the scaled MV of the reference block at the second adjacent position; another example: if the detection result of 101 is available, the detection result of 102 is unavailable , then in 103, first detect the scaled MV of the reference block at the second adjacent position, and when the detection result is unavailable, then detect the scaled MV of the reference block at the first adjacent position.
通过上述101-103,获取到空域候选运动矢量。在104中,采用现有的时域候选运动矢量导出方法,获取时域候选运动矢量,具体地,例如根据时域参考块信息,如参考块的模式信息是inter还是intra,或者MV运动矢量信息等,来获取时域候选运动矢量。这些空域候选运动矢量,与时域候选运动矢量一起,构成一个运动矢量列表。Through the above steps 101-103, the spatial candidate motion vectors are obtained. In 104, adopt the existing time-domain candidate motion vector derivation method to obtain the time-domain candidate motion vector, specifically, for example, according to the time-domain reference block information, such as whether the mode information of the reference block is inter or intra, or the MV motion vector information etc., to obtain the candidate motion vectors in time domain. These spatial candidate motion vectors, together with temporal candidate motion vectors, constitute a motion vector list.
在编码端进行编码时,从该运动矢量列表中,选择一个最佳的运动矢量作为当前块的运动矢量预测值,其中选择的最佳的,可以是率失真(Rate-distortion)意义上最佳的,也可以是根据需要基于其它性能指标等来选择,本文中不做限定。编码器将所选择的运动矢量在列表中的位置索引号写入码流。When encoding at the encoding end, select the best motion vector from the motion vector list as the motion vector predictor of the current block, and the best one can be the best in the sense of rate-distortion It can also be selected based on other performance indicators as required, which is not limited herein. The encoder writes the position index number of the selected motion vector in the list into the code stream.
相应地,在解码端进行解码时,通过解码获得运动矢量索引号,并根据当前块的已解码的参考块的运动矢量信息,采用本实施例中的101-104构造运动矢量列表,并通过从该运动矢量列表中,选择与解码获得运动矢量索引号对应的运动矢量,作为当前块的运动矢量预测值。Correspondingly, when decoding at the decoding end, obtain the motion vector index number through decoding, and according to the motion vector information of the decoded reference block of the current block, use 101-104 in this embodiment to construct a motion vector list, and pass from In the motion vector list, the motion vector corresponding to the motion vector index number obtained through decoding is selected as the motion vector predictor of the current block.
根据本实施例的运动矢量预测方法,在获取空域候选运动矢量的过程中,由于首先检测当前块的第一相邻位置和第二相邻位置的参考块的运动矢量是否可用,并当第二相邻位置的参考块的运动矢量不可用时,再检测经比例调节的运动矢量是否可用,使得最差情况下,需通过三个步骤来获取空域候选运动矢量。而现有技术中,在最差情况下,需执行四个步骤来获取空域候选运动矢量。因此,可以看出,本实施例的运动矢量预测方法相对于现有技术降低了复杂度,缩减了现有技术中执行运动矢量预测的流程,从而提高了编码、解码的执行效率。According to the motion vector prediction method of this embodiment, in the process of obtaining the candidate motion vector in the spatial domain, it is firstly detected whether the motion vectors of the reference blocks at the first adjacent position and the second adjacent position of the current block are available, and when the second When the motion vectors of the adjacent reference blocks are not available, it is checked whether the scaled motion vectors are available, so that in the worst case, three steps are required to obtain the spatial candidate motion vectors. However, in the prior art, in the worst case, four steps need to be performed to obtain the spatial candidate motion vector. Therefore, it can be seen that, compared with the prior art, the motion vector prediction method of this embodiment reduces the complexity and reduces the flow of performing motion vector prediction in the prior art, thereby improving the execution efficiency of encoding and decoding.
实施例二Embodiment two
在实施例一的基础上,本实施例中对获取空域候选运动矢量的过程进行扩展说明。On the basis of the first embodiment, in this embodiment, an extended description is made on the process of obtaining the candidate motion vector in the spatial domain.
图3为本发明一个实施例中用于导出空域候选运动矢量的参考块的示意图。如图3所示,第一相邻位置的参考块包括左下角位置对应的左下块A0和左边块A1;第二相邻位置的参考块包括右上角位置对应的右上块B0和上边块B1。Fig. 3 is a schematic diagram of reference blocks used for deriving spatial candidate motion vectors in an embodiment of the present invention. As shown in Figure 3, the reference block at the first adjacent position includes the lower left block A0 and the left block A1 corresponding to the lower left corner; the reference block at the second adjacent position includes the upper right block B0 and the upper block B1 corresponding to the upper right corner.
具体地,本实施例的空域候选运动矢量包括:Specifically, the spatial candidate motion vectors in this embodiment include:
201,检测当前块的左下角位置对应的左下块A0和/或左边块A1的MV是否可用,若可用,则记录为candidateA;201. Detect whether the MV of the lower left block A0 and/or the left block A1 corresponding to the lower left corner of the current block is available, and if available, record it as candidateA;
具体地,例如:先检测左下块A0的MV是否可用,若可用,则将左下块A0的MV记录为空域候选运动矢量A(candidate A),并直接执行202;若不可用,则检测左边块A1的MV是否可用,若左边块A1的MV可用,则将左边块A1的MV记录为candidate A,并执行202;若左边块A1的MV不可用,执行202。Specifically, for example: first detect whether the MV of the lower left block A0 is available, if available, record the MV of the lower left block A0 as a candidate motion vector A (candidate A) in the spatial domain, and directly execute 202; if not, detect the left block Whether the MV of A1 is available, if the MV of the left block A1 is available, record the MV of the left block A1 as candidate A, and execute 202; if the MV of the left block A1 is not available, execute 202.
202,检测当前块的右上角位置对应的右上块B0和/或上边块B1的MV是否可用,若可用,则记录为candidate B;202. Detect whether the MV of the upper right block B0 and/or the upper block B1 corresponding to the upper right corner of the current block is available, and if available, record it as candidate B;
具体地,例如:先检测右上块B0的MV是否可用,若可用,则将右上块B0的MV记录为空域候选运动矢量B(candidate B),并直接执行203;若不可用,则检测上边块B1的MV是否可用,若上边块B1的MV可用,则将上边块B1的MV记录为candidate B,并执行203;若上边块B1的MV不可用,执行203。Specifically, for example: first detect whether the MV of the upper right block B0 is available, if available, record the MV of the upper right block B0 as a candidate motion vector B in the space, and directly execute 203; if not, detect the upper block Whether the MV of B1 is available, if the MV of the upper block B1 is available, record the MV of the upper block B1 as candidate B, and execute 203; if the MV of the upper block B1 is not available, execute 203.
203,是否未记录有candidate B;若是,则执行204,若否,则结束流程;203, whether there is no candidate B recorded; if so, execute 204, if not, end the process;
204,检测当前块的左下角位置对应的左下块A0或左边块A1的scaledMV是否可用;若可用,则记录为空域候选运动矢量,例如记录为candidate B,并结束流程;若不可用,则执行205;204. Detect whether the scaledMV of the lower left block A0 or the left block A1 corresponding to the lower left corner of the current block is available; if available, record it as a candidate motion vector in the space, for example, as candidate B, and end the process; if not available, execute 205;
具体地,选择左下块A0和左边块A1中的一个,检测其是否存在MV,若存在,则对其MV进行比例调节,获得scaled MV,以使scaled MV对应的参考图像与当前块的参考图像相同,并将该scaled MV记录为candidate B。其中,对于左下块A0和左边块A1的选择方式,既可以是根据在先配置固定选择左下块A0,也可以是根据在先配置固定选择左边块A1。Specifically, select one of the lower left block A0 and the left block A1, detect whether there is an MV in it, and if it exists, adjust the proportion of its MV to obtain the scaled MV, so that the reference image corresponding to the scaled MV is the same as the reference image of the current block The same, and record the scaled MV as candidate B. Wherein, for the selection method of the lower left block A0 and the left block A1, the lower left block A0 may be fixedly selected according to the previous configuration, or the left block A1 may be fixedly selected according to the previous configuration.
205,检测当前块的右上角位置对应的右上块B0或上边块B1的scaledMV是否可用;若可用,则记录为空域候选运动矢量,例如记录为candidate B,并结束流程,若不可用,则直接结束流程。205. Detect whether the scaledMV of the upper right block B0 or the upper block B1 corresponding to the upper right corner of the current block is available; if available, record it as a candidate motion vector in the space, for example record as candidate B, and end the process; if not available, directly End the process.
具体地,选择右上块B0和上边块B1中的一个,检测其是否存在MV,若存在,则对其MV进行比例调节,获得scaled MV,以使scaled MV对应的参考图像与当前块的参考图像相同,并将该scaled MV记录为candidate B。其中,对于右上块B0和上边块B1的选择方式,既可以是根据在先配置固定选择右上块B0,也可以是根据在先配置固定选择上边块B1。Specifically, select one of the upper right block B0 and the upper block B1, detect whether there is an MV in it, and if it exists, adjust the proportion of its MV to obtain the scaled MV, so that the reference image corresponding to the scaled MV is the same as the reference image of the current block The same, and record the scaled MV as candidate B. Wherein, for the selection method of the upper right block B0 and the upper block B1, either the upper right block B0 can be fixedly selected according to the previous configuration, or the upper block B1 can be fixedly selected according to the previous configuration.
根据本实施例的运动矢量预测方法,由于在采用左下块A0和左边块A1同时作为左下角位置的参考块,并采用右上块B0和上边块B1同时作为右上角位置的参考块时,当需检测左下角位置的参考块和/或所述右上角位置的参考块的scaled MV是否可用时,分别选取左下块A0和左边块A1中的一个,以及右上块B0和上边块B1中的一个作为待检测对象,而无需对左下块A0和左边块A1,以及右上块B0和上边块B1均进行scaled MV检测。因此,相对于现有技术中的步骤b和步骤d,进一步降低了复杂度,缩减了执行运动矢量预测的流程,提高了编码、解码的执行效率。According to the motion vector prediction method of this embodiment, since the lower left block A0 and the left block A1 are used as the reference blocks at the lower left corner at the same time, and the upper right block B0 and the upper block B1 are used as the reference blocks at the upper right corner at the same time, when the When detecting whether the scaled MV of the reference block at the lower left corner position and/or the reference block at the upper right corner position is available, select one of the lower left block A0 and the left block A1, and one of the upper right block B0 and the upper block B1 as The object to be detected does not need to perform scaled MV detection on the lower left block A0 and the left block A1, as well as the upper right block B0 and the upper block B1. Therefore, compared with step b and step d in the prior art, the complexity is further reduced, the flow of executing motion vector prediction is reduced, and the execution efficiency of encoding and decoding is improved.
实施例三Embodiment three
在上述实施例的基础上,本实施例的运动矢量预测方法包括:On the basis of the foregoing embodiments, the motion vector prediction method of this embodiment includes:
301,检测当前块的左下角位置对应的左下块A0和/或左边块A1的MV是否可用,若可用,则记录为空域候选运动矢量;301. Detect whether the MV of the lower left block A0 and/or the left block A1 corresponding to the lower left corner of the current block is available, and if available, record it as a candidate spatial motion vector;
该步骤与上述实施例中的201相同,故此处不再赘述。This step is the same as step 201 in the above embodiment, so it will not be repeated here.
302,检测当前块的右上角位置对应的右上块B0和/或上边块B1的MV是否可用,若可用,则记录为空域候选运动矢量;302. Detect whether the MV of the upper right block B0 and/or the upper block B1 corresponding to the upper right corner of the current block is available, and if available, record it as a candidate spatial motion vector;
该步骤与上述实施例中的201相同,故此处不再赘述。This step is the same as step 201 in the above embodiment, so it will not be repeated here.
303,若302的检测结果为不可用,则检测当前块的左下角位置对应的左边块A1的scaled MV是否可用;若可用,则记录为空域候选运动矢量,并执行305;若不可用,则执行305;303, if the detection result of 302 is unavailable, then detect whether the scaled MV of the left block A1 corresponding to the lower left corner of the current block is available; if available, record it as a candidate motion vector in the space, and execute 305; if unavailable, then Execute 305;
304,检测当前块的右上角位置对应的上边块B1的scaled MV是否可用;若可用,则记录为空域候选运动矢量,并执行305;若不可用,则直接执行305;304. Detect whether the scaled MV of the upper block B1 corresponding to the upper right corner of the current block is available; if available, record it as a spatial candidate motion vector, and execute 305; if not, directly execute 305;
上述303和304中,所检测的参考块的次序可以互换,即:可以在303中检测当前块的右上角位置对应的上边块B1的scaled MV是否可用,并在304中检测当前块的左下角位置对应的左边块A1的scaled MV是否可用。In the above 303 and 304, the order of the detected reference blocks can be interchanged, that is: in 303, it can be detected whether the scaled MV of the upper block B1 corresponding to the upper right corner of the current block is available, and in 304, the lower left of the current block can be detected Whether the scaled MV of the left block A1 corresponding to the corner position is available.
305,获取并记录时域候选运动矢量;305. Acquire and record a time-domain candidate motion vector;
306,根据所记录的空域候选运动矢量和时域候选运动矢量,对所述当前块进行运动矢量预测。306. Perform motion vector prediction on the current block according to the recorded candidate motion vectors in the space domain and the candidate motion vectors in the time domain.
上述步骤305、306与实施例一中的104、105相同,故此处不再赘述。The above steps 305 and 306 are the same as the steps 104 and 105 in the first embodiment, so they are not repeated here.
在HEVC参考软件平台HM7.0上,将本发明实施例的运动矢量预测方法与现有技术进行了多种配置下的性能对比试验,试验所得的对比结果如下表1-3所示。具体地,表1为在随机接入场景下的对比结果(包括该场景下复杂度较低的Main配置和复杂度较高的HE10配置),表2为在低延迟B场景下的对比结果(包括该场景下复杂度较低的Main配置和复杂度较高的HE10配置),表3为在低延迟P场景下的对比结果(包括该场景下复杂度较低的Main配置和复杂度较高的HE10配置)。On the HEVC reference software platform HM7.0, the motion vector prediction method of the embodiment of the present invention is compared with the prior art in various configurations. The comparison results are shown in Table 1-3 below. Specifically, Table 1 shows the comparison results in the random access scenario (including the Main configuration with lower complexity and the HE10 configuration with higher complexity in this scenario), and Table 2 shows the comparison results in the low-latency B scenario ( Including the lower-complexity Main configuration and the more-complex HE10 configuration in this scenario), Table 3 shows the comparison results in the low-latency P scenario (including the lower-complexity Main configuration and the higher-complexity HE10 configuration).
表1Table 1
表2Table 2
表3table 3
如表1-3所示,各百分比数值为本发明实施例的运动矢量预测方法相对于现有技术的差异。例如,对于表1中随机接入场景Main配置下,类A(ClassA)对应的视频亮度分量值(Y)为0.0%,表示对于该参数,本发明实施例的运动矢量预测方法相对于现有技术耗费比特相同;类A对应的色度分量值(U)为-0.1%,表示对于该参数,本发明实施例的运动矢量预测方法相对于现有技术节省了0.1%的比特。综合表1-3中的总体性能差值,能够看出,采用本发明实施例的运动矢量预测方法相比于现有技术,在降低了复杂度、缩减了流程的情况下,并未导致视频性能的降低,而且在部分场景下还能够在一定程度上提高视频性能。As shown in Tables 1-3, each percentage value is the difference between the motion vector prediction method of the embodiment of the present invention and the prior art. For example, under the Main configuration of the random access scene in Table 1, the video luminance component value (Y) corresponding to Class A (ClassA) is 0.0%, which means that for this parameter, the motion vector prediction method of the embodiment of the present invention is better than the existing The technology consumes the same bit; the chrominance component value (U) corresponding to class A is -0.1%, which means that the motion vector prediction method of the embodiment of the present invention saves 0.1% of bits compared with the prior art for this parameter. Based on the overall performance difference in Tables 1-3, it can be seen that compared with the prior art, the motion vector prediction method of the embodiment of the present invention reduces the complexity and process, and does not cause video The performance is reduced, and in some scenarios, the video performance can be improved to a certain extent.
实施例四Embodiment four
在实施例一的基础上,本实施例中对获取空域候选运动矢量的过程进行扩展说明。On the basis of the first embodiment, in this embodiment, an extended description is made on the process of obtaining the candidate motion vector in the spatial domain.
本实施例中,采用图1作为用于导出空域候选运动矢量的参考块的示意图。即:第一相邻位置的参考块包括左下角位置对应的左下块和左边块;所述第二相邻位置的参考块包括右上角位置对应的右上块和上边块,以及左上角位置对应的左上块。In this embodiment, FIG. 1 is used as a schematic diagram of a reference block for deriving a candidate spatial motion vector. That is: the reference block at the first adjacent position includes the lower left block and the left block corresponding to the lower left corner position; the reference block at the second adjacent position includes the upper right block and upper side block corresponding to the upper right corner position, and the upper left block corresponding to the upper left corner position Upper left block.
具体地,本实施例的空域候选运动矢量包括:Specifically, the spatial candidate motion vectors in this embodiment include:
401,检测当前块的左下角位置对应的左下块A0和/或左边块A1的MV是否可用,若可用,则记录为candidate A;401. Detect whether the MV of the lower left block A0 and/or the left block A1 corresponding to the lower left corner of the current block is available, and if available, record it as candidate A;
具体地,例如:先检测左下块A0的MV是否可用,若可用,则将左下块A0的MV记录为空域候选运动矢量A(candidate A),并直接执行202;若不可用,则检测左边块A1的MV是否可用,若左边块A1的MV可用,则将左边块A1的MV记录为candidate A,并执行402;若左边块A1的MV不可用,执行402。Specifically, for example: first detect whether the MV of the lower left block A0 is available, if available, record the MV of the lower left block A0 as a candidate motion vector A (candidate A) in the spatial domain, and directly execute 202; if not, detect the left block Whether the MV of A1 is available, if the MV of the left block A1 is available, record the MV of the left block A1 as candidate A, and execute 402; if the MV of the left block A1 is not available, execute 402.
402,检测当前块的右上角位置对应的右上块B0、上边块B1和/或左上角位置对应的左上块B2的MV是否可用,若可用,则记录为candidate B;402. Detect whether the MV of the upper right block B0 corresponding to the upper right corner of the current block, the upper block B1 and/or the upper left block B2 corresponding to the upper left corner of the current block is available, and if available, record it as candidate B;
具体地,例如:先检测右上块B0的MV是否可用,若可用,则将右上块B0的MV记录为空域候选运动矢量B(candidate B),并结束流程;若不可用,则检测上边块B1的MV是否可用,若上边块B1的MV可用,则将上边块B1的MV记录为candidate B,并结束流程;若上边块B1的MV不可用,则检测左上块B2的MV是否可用,若左上块B2的MV可用,则将左上块B2的MV记录为candidate B,并结束流程;若左上块B2的MV不可用,则执行403。Specifically, for example: first check whether the MV of the upper right block B0 is available, if available, record the MV of the upper right block B0 as a candidate motion vector B (candidate B) in the space domain, and end the process; if not, detect the upper block B1 Whether the MV of the upper block B1 is available, if the MV of the upper block B1 is available, record the MV of the upper block B1 as candidate B, and end the process; if the MV of the upper block B1 is not available, check whether the MV of the upper left block B2 is available. If the MV of block B2 is available, record the MV of the upper left block B2 as candidate B, and end the process; if the MV of the upper left block B2 is not available, execute 403.
403,检测当前块的左下角位置对应的左下块A0或左边块A1的scaledMV是否可用;若可用,则记录为空域候选运动矢量,例如记录为candidate B,并结束流程;若不可用,则执行404;403. Detect whether the scaledMV of the lower left block A0 or the left block A1 corresponding to the lower left corner of the current block is available; if available, record it as a candidate motion vector in the space, for example, as candidate B, and end the process; if not available, execute 404;
具体地,选择左下块A0和左边块A1中的一个,检测其是否存在MV,若存在,则对其MV进行比例调节,获得scaled MV,以使scaled MV对应的参考图像与当前块的参考图像相同,并将该scaled MV记录为candidate B。其中,对于左下块A0和左边块A1的选择方式,既可以是根据在先配置固定选择左下块A0,也可以是根据在先配置固定选择左边块A1。Specifically, select one of the lower left block A0 and the left block A1, detect whether there is an MV in it, and if it exists, adjust the proportion of its MV to obtain the scaled MV, so that the reference image corresponding to the scaled MV is the same as the reference image of the current block The same, and record the scaled MV as candidate B. Wherein, for the selection method of the lower left block A0 and the left block A1, the lower left block A0 may be fixedly selected according to the previous configuration, or the left block A1 may be fixedly selected according to the previous configuration.
404,检测当前块的右上角位置对应的右上块B0或上边块B1的scaledMV是否可用;若可用,则记录为空域候选运动矢量,例如记录为candidate B,并结束流程,若不可用,则直接结束流程。404. Detect whether the scaledMV of the upper right block B0 or the upper block B1 corresponding to the upper right corner of the current block is available; if available, record it as a candidate motion vector in the space, for example record as candidate B, and end the process; if not available, directly End the process.
具体地,选择右上块B0和上边块B1中的一个,检测其是否存在MV,若存在,则对其MV进行比例调节,获得scaled MV,以使scaled MV对应的参考图像与当前块的参考图像相同,并将该scaled MV记录为candidate B。其中,对于右上块B0和上边块B1的选择方式,既可以是根据在先配置固定选择右上块B0,也可以是根据在先配置固定选择上边块B1。Specifically, select one of the upper right block B0 and the upper block B1, detect whether there is an MV in it, and if it exists, adjust the proportion of its MV to obtain the scaled MV, so that the reference image corresponding to the scaled MV is the same as the reference image of the current block The same, and record the scaled MV as candidate B. Wherein, for the selection method of the upper right block B0 and the upper block B1, either the upper right block B0 can be fixedly selected according to the previous configuration, or the upper block B1 can be fixedly selected according to the previous configuration.
根据本实施例的运动矢量预测方法,由于在采用左下块A0和左边块A1同时作为左下角位置的参考块,并采用右上块B0和上边块B1同时作为右上角位置的参考块时,当需检测左下角位置的参考块和/或所述右上角位置的参考块的scaled MV是否可用时,分别选取左下块A0和左边块A1中的一个,以及右上块B0和上边块B1中的一个作为待检测对象,而无需对左下块A0和左边块A1,以及右上块B0和上边块B1均进行scaled MV检测。因此,相对于现有技术中的步骤b和步骤d,进一步降低了复杂度,缩减了执行运动矢量预测的流程,提高了编码、解码的执行效率。According to the motion vector prediction method of this embodiment, since the lower left block A0 and the left block A1 are used as the reference blocks at the lower left corner at the same time, and the upper right block B0 and the upper block B1 are used as the reference blocks at the upper right corner at the same time, when the When detecting whether the scaled MV of the reference block at the lower left corner position and/or the reference block at the upper right corner position is available, select one of the lower left block A0 and the left block A1, and one of the upper right block B0 and the upper block B1 as The object to be detected does not need to perform scaled MV detection on the lower left block A0 and the left block A1, as well as the upper right block B0 and the upper block B1. Therefore, compared with step b and step d in the prior art, the complexity is further reduced, the flow of executing motion vector prediction is reduced, and the execution efficiency of encoding and decoding is improved.
实施例五Embodiment five
在上述实施例四的基础上,本实施例中对获取空域候选运动矢量的过程进行扩展说明。On the basis of the fourth embodiment above, in this embodiment, an extended description is given to the process of obtaining a candidate motion vector in the spatial domain.
本实施例中,仍采用图1作为用于导出空域候选运动矢量的参考块的示意图。具体地,本实施例的空域候选运动矢量包括:In this embodiment, Fig. 1 is still used as a schematic diagram of a reference block used for deriving a candidate spatial motion vector. Specifically, the spatial candidate motion vectors in this embodiment include:
501,检测当前块的左下角位置对应的左下块A0和/或左边块A1的MV是否可用,若可用,则记录为candidate A;501. Detect whether the MV of the lower left block A0 and/or the left block A1 corresponding to the lower left corner of the current block is available, and if available, record it as candidate A;
具体地,例如:先检测左下块A0的MV是否可用,若可用,则将左下块A0的MV记录为空域候选运动矢量A(candidate A),并直接执行202;若不可用,则检测左边块A1的MV是否可用,若左边块A1的MV可用,则将左边块A1的MV记录为candidate A,并执行502;若左边块A1的MV不可用,执行502。Specifically, for example: first detect whether the MV of the lower left block A0 is available, if available, record the MV of the lower left block A0 as a candidate motion vector A (candidate A) in the spatial domain, and directly execute 202; if not, detect the left block Whether the MV of A1 is available, if the MV of the left block A1 is available, record the MV of the left block A1 as candidate A, and execute 502; if the MV of the left block A1 is not available, execute 502.
502,检测当前块的右上角位置对应的右上块B0、上边块B1和/或左上角位置对应的左上块B2的MV是否可用,若可用,则记录为candidate B;502. Detect whether the MV of the upper right block B0 corresponding to the upper right corner of the current block, the upper block B1 and/or the upper left block B2 corresponding to the upper left corner of the current block is available, and if available, record it as candidate B;
具体地,例如:先检测右上块B0的MV是否可用,若可用,则将右上块B0的MV记录为空域候选运动矢量B(candidate B),并结束流程;若不可用,则检测上边块B1的MV是否可用,若上边块B1的MV可用,则将上边块B1的MV记录为candidate B,并结束流程;若上边块B1的MV不可用,则检测左上块B2的MV是否可用,若左上块B2的MV可用,则将左上块B2的MV记录为candidate B,并结束流程;若左上块B2的MV不可用,则执行503。Specifically, for example: first check whether the MV of the upper right block B0 is available, if available, record the MV of the upper right block B0 as a candidate motion vector B (candidate B) in the space domain, and end the process; if not, detect the upper block B1 Whether the MV of the upper block B1 is available, if the MV of the upper block B1 is available, record the MV of the upper block B1 as candidate B, and end the process; if the MV of the upper block B1 is not available, check whether the MV of the upper left block B2 is available. If the MV of block B2 is available, record the MV of the upper left block B2 as candidate B, and end the process; if the MV of the upper left block B2 is not available, execute 503.
503,若502的检测结果为不可用,则检测当前块的左下角位置对应的左下块A0或左边块A1的scaled MV是否可用;若可用,则记录为空域候选运动矢量,例如记录为candidate B,并结束流程;若不可用,则执行504;503, if the detection result of 502 is unavailable, then detect whether the scaled MV of the lower left block A0 or the left block A1 corresponding to the lower left corner of the current block is available; if available, record it as a candidate motion vector in the space, for example, as candidate B , and end the process; if not available, execute 504;
具体地,选择左下块A0和左边块A1中的一个,检测其是否存在MV,若存在,则对其MV进行比例调节,获得scaled MV,以使scaled MV对应的参考图像与当前块的参考图像相同,并将该scaled MV记录为candidate B。其中,对于左下块A0和左边块A1的选择方式,既可以是根据在先配置固定选择左下块A0,也可以是根据在先配置固定选择左边块A1。Specifically, select one of the lower left block A0 and the left block A1, detect whether there is an MV in it, and if it exists, adjust the proportion of its MV to obtain the scaled MV, so that the reference image corresponding to the scaled MV is the same as the reference image of the current block The same, and record the scaled MV as candidate B. Wherein, for the selection method of the lower left block A0 and the left block A1, the lower left block A0 may be fixedly selected according to the previous configuration, or the left block A1 may be fixedly selected according to the previous configuration.
504,检测当前块的右上角位置对应的右上块B0或上边块B1的scaledMV是否可用;若可用,则记录为空域候选运动矢量,例如记录为candidate B,并结束流程,若不可用,则执行505;504. Detect whether the scaledMV of the upper right block B0 or the upper block B1 corresponding to the upper right corner of the current block is available; if available, record it as a candidate motion vector in the space, for example record as candidate B, and end the process; if not available, execute 505;
具体地,选择右上块B0和上边块B1中的一个,检测其是否存在MV,若存在,则对其MV进行比例调节,获得scaled MV,以使scaled MV对应的参考图像与当前块的参考图像相同,并将该scaled MV记录为candidate B。其中,对于右上块B0和上边块B1的选择方式,既可以是根据在先配置固定选择右上块B0,也可以是根据在先配置固定选择上边块B1。Specifically, select one of the upper right block B0 and the upper block B1, detect whether there is an MV in it, and if it exists, adjust the proportion of its MV to obtain the scaled MV, so that the reference image corresponding to the scaled MV is the same as the reference image of the current block The same, and record the scaled MV as candidate B. Wherein, for the selection method of the upper right block B0 and the upper block B1, either the upper right block B0 can be fixedly selected according to the previous configuration, or the upper block B1 can be fixedly selected according to the previous configuration.
505,检测当前块的左上角位置对应的左上块B2的scaled MV是否可用;若可用,则记录为空域候选运动矢量,例如记录为candidate B,并结束流程,若不可用,则结束流程。505. Detect whether the scaled MV of the upper left block B2 corresponding to the upper left corner of the current block is available; if available, record it as a candidate motion vector in space, for example, as candidate B, and end the process; if not available, end the process.
具体地,检测左上块B2是否存在MV,若存在,则对其MV进行比例调节,获得scaled MV,以使scaled MV对应的参考图像与当前块的参考图像相同,并将该scaled MV记录为candidate B。Specifically, detect whether there is an MV in the upper left block B2, and if so, adjust the proportion of the MV to obtain the scaled MV, so that the reference image corresponding to the scaled MV is the same as the reference image of the current block, and record the scaled MV as a candidate b.
实施例六Embodiment six
图4为本发明一个实施例的运动矢量预测装置的结构示意图。如图4所示,该运动矢量预测装置包括空域候选运动矢量获取模块41、时域候选运动矢量获取模块42,和分别与所述空域候选运动矢量获取模块41和所述时域候选运动矢量获取模块42连接的运动矢量预测模块43,其中:Fig. 4 is a schematic structural diagram of a motion vector prediction device according to an embodiment of the present invention. As shown in Figure 4, the motion vector prediction device includes a spatial candidate motion vector acquisition module 41, a time domain candidate motion vector acquisition module 42, and is connected with the spatial domain candidate motion vector acquisition module 41 and the temporal domain candidate motion vector acquisition module respectively. Module 42 is connected to a motion vector prediction module 43, wherein:
所述空域候选运动矢量获取模块41包括:The spatial candidate motion vector acquisition module 41 includes:
第一检测单元41a,用于检测当前块的第一相邻位置的参考块的运动矢量是否可用,若可用,则记录为空域候选运动矢量;The first detection unit 41a is configured to detect whether the motion vector of the reference block at the first adjacent position of the current block is available, and if available, record it as a spatial candidate motion vector;
第二检测单元41b,用于检测当前块的第二相邻位置的参考块的运动矢量是否可用,若可用,则记录为空域候选运动矢量;以及The second detection unit 41b is configured to detect whether the motion vector of the reference block at the second adjacent position of the current block is available, and if available, record it as a spatial candidate motion vector; and
第三检测单元41c,用于若所述当前块的第二相邻位置的参考块的运动矢量不可用,则对所述第一相邻位置的参考块和/或所述第二相邻位置的参考块的、经比例调节的运动矢量是否可用进行检测,若可用,则记录为空域候选运动矢量;The third detection unit 41c is configured to, if the motion vector of the reference block at the second adjacent position of the current block is unavailable, perform a check on the reference block at the first adjacent position and/or at the second adjacent position Check whether the scaled motion vector of the reference block is available, and if available, record it as a spatial candidate motion vector;
所述时域候选运动矢量获取模块42,用于获取并记录时域候选运动矢量;The time-domain candidate motion vector acquisition module 42 is configured to acquire and record the time-domain candidate motion vector;
所述运动矢量预测模块43,用于根据所记录的空域候选运动矢量和时域候选运动矢量,对所述当前块进行运动矢量预测。The motion vector prediction module 43 is configured to perform motion vector prediction on the current block according to the recorded space-domain candidate motion vectors and time-domain candidate motion vectors.
本实施例的运动矢量预测装置执行运动矢量预测的流程与上述实施例的运动矢量预测方法相同,故此处不再赘述。本实施例的运动矢量预测装置例如为编码器或者解码器,或者集成设置在编码器或者解码器中。其中,空域候选运动矢量获取模块41、时域候选运动矢量获取模块42以及运动矢量预测模块43均可以是处理器,并且第一检测单元41a、第二检测单元41b以及第三检测单元41c可以由同一处理器或不同处理器来实现。The motion vector prediction apparatus of this embodiment executes the motion vector prediction process is the same as the motion vector prediction method of the above embodiment, so it will not be repeated here. The motion vector prediction apparatus in this embodiment is, for example, an encoder or a decoder, or is integrated in an encoder or a decoder. Wherein, the spatial domain candidate motion vector acquisition module 41, the time domain candidate motion vector acquisition module 42 and the motion vector prediction module 43 can all be processors, and the first detection unit 41a, the second detection unit 41b and the third detection unit 41c can be composed of implemented on the same processor or different processors.
根据本实施例的运动矢量预测装置,在获取空域候选运动矢量的过程中,由于首先检测当前块的第一相邻位置和第二相邻位置的参考块的运动矢量是否可用,并当第二相邻位置的参考块的运动矢量不可用时,再检测经比例调节的运动矢量是否可用,使得最差情况下,需通过三个步骤来获取空域候选运动矢量。而现有技术中,在最差情况下,需执行四个步骤来获取空域候选运动矢量。因此,可以看出,相对于现有技术降低了复杂度,缩减了现有技术中执行运动矢量预测的流程,从而提高了编码、解码的执行效率。According to the motion vector prediction device of this embodiment, in the process of obtaining the candidate spatial motion vector, it is firstly detected whether the motion vectors of the reference blocks at the first adjacent position and the second adjacent position of the current block are available, and when the second When the motion vectors of the adjacent reference blocks are not available, it is checked whether the scaled motion vectors are available, so that in the worst case, three steps are required to obtain the spatial candidate motion vectors. However, in the prior art, in the worst case, four steps need to be performed to obtain the spatial candidate motion vector. Therefore, it can be seen that compared with the prior art, the complexity is reduced, and the flow of performing motion vector prediction in the prior art is reduced, thereby improving the execution efficiency of encoding and decoding.
进一步地,在上述实施例的运动矢量预测装置中,所述第一相邻位置的参考块包括左下角位置对应的左下块和左边块;所述第二相邻位置的参考块包括右上角位置对应的右上块和上边块。Further, in the motion vector prediction device of the above embodiment, the reference block at the first adjacent position includes the lower left block and the left block corresponding to the lower left corner position; the reference block at the second adjacent position includes the upper right corner position Corresponding upper right block and upper block.
进一步地,在上述实施例的运动矢量预测装置中,所述第一检测单元用于检测所述左下角位置对应的左下块的运动矢量是否可用,并仅当不可用时,检测所述左下角位置对应的左边块的运动矢量是否可用;Further, in the motion vector prediction device of the above embodiment, the first detection unit is configured to detect whether the motion vector of the lower left block corresponding to the lower left corner position is available, and detect the lower left corner position only when it is not available Whether the motion vector of the corresponding left block is available;
所述第二检测单元用于检测所述右上角位置对应的右上块的运动矢量是否可用,并仅当不可用时,检测所述右上角位置对应的上边块的运动矢量是否可用。The second detection unit is configured to detect whether the motion vector of the upper right block corresponding to the upper right corner position is available, and only if it is unavailable, detect whether the motion vector of the upper right block corresponding to the upper right corner position is available.
进一步地,在上述实施例的运动矢量预测装置中,所述第二相邻位置的参考块还包括左上角位置对应的左上块。Further, in the motion vector prediction apparatus of the above embodiment, the reference block at the second adjacent position further includes the upper left block corresponding to the upper left corner position.
进一步地,在上述实施例的运动矢量预测装置中,所述第一检测单元用于检测所述左下角位置对应的左下块的运动矢量是否可用,并仅当不可用时,检测所述左下角位置对应的左边块的运动矢量是否可用;Further, in the motion vector prediction device of the above embodiment, the first detection unit is configured to detect whether the motion vector of the lower left block corresponding to the lower left corner position is available, and detect the lower left corner position only when it is not available Whether the motion vector of the corresponding left block is available;
所述第二检测单元用于检测所述右上角位置对应的右上块的运动矢量是否可用,并仅当不可用时,检测所述右上角位置对应的上边块的运动矢量是否可用,并仅当不可用时,检测所述左上角位置对应的左上块的运动矢量是否可用。The second detection unit is used to detect whether the motion vector of the upper right block corresponding to the upper right corner position is available, and only if it is unavailable, detect whether the motion vector of the upper right block corresponding to the upper right corner position is available, and only if it is unavailable When used, it is detected whether the motion vector of the upper left block corresponding to the upper left corner position is available.
进一步地,在上述实施例的运动矢量预测装置中,所述第三检测单元用于选择所述第一相邻位置的参考块中的至少一个,和/或选择所述第二相邻位置的参考块中的至少一个,检测经比例调节的运动矢量是否可用。Further, in the motion vector prediction device of the above embodiment, the third detection unit is used to select at least one of the reference blocks at the first adjacent position, and/or select at least one of the reference blocks at the second adjacent position With reference to at least one of the blocks, it is detected whether scaled motion vectors are available.
进一步地,在上述实施例的运动矢量预测装置中,所述第三检测单元用于对左下角位置对应的左边块,和/或右上角位置对应的上边块的、经比例调节的运动矢量是否可用进行检测。Further, in the motion vector prediction device of the above-mentioned embodiment, the third detection unit is used to determine whether the scale-adjusted motion vector of the left block corresponding to the lower left corner position and/or the upper block corresponding to the upper right corner position is available for testing.
进一步地,在上述实施例的运动矢量预测装置中,所述第三检测单元用于检测所述左下角位置对应的左边块的经比例调节后的运动矢量是否可用,并仅当不可用时,检测所述右上角位置对应的上边块的经比例调节后的运动矢量是否可用;或者Further, in the motion vector prediction device of the above embodiment, the third detection unit is configured to detect whether the scaled motion vector of the left block corresponding to the lower left corner position is available, and only when it is unavailable, detect whether the scaled motion vector of the upper block corresponding to the upper right corner position is available; or
检测所述右上角位置对应的上边块的经比例调节后的运动矢量是否可用,并仅当不可用时,检测所述左下角位置对应的左边块的经比例调节后的运动矢量是否可用。Detecting whether the scaled motion vector of the upper block corresponding to the upper right corner position is available, and only if not available, detecting whether the scaled motion vector of the left block corresponding to the lower left corner position is available.
进一步地,在上述实施例的运动矢量预测装置中,所述第三检测单元用于对左下角位置对应的左边块,和/或右上角位置对应的上边块,和/或左上角位置对应的左上块的、经比例调节的运动矢量是否可用进行检测。Further, in the motion vector prediction device of the above-mentioned embodiment, the third detection unit is used to detect the left block corresponding to the lower left corner position, and/or the upper block corresponding to the upper right corner position, and/or the upper left block corresponding to the upper left corner position Whether the scaled motion vector of the upper left block is available is detected.
进一步地,在上述实施例的运动矢量预测装置中,所述第三检测单元用于检测所述左下角位置对应的左边块的经比例调节后的运动矢量是否可用,并仅当不可用时,检测所述右上角位置对应的上边块的经比例调节后的运动矢量是否可用,并仅当不可用时,检测所述左上角位置对应的左上块的经比例调节后的运动矢量是否可用;或者Further, in the motion vector prediction device of the above embodiment, the third detection unit is configured to detect whether the scaled motion vector of the left block corresponding to the lower left corner position is available, and only when it is unavailable, detect whether the scaled motion vector of the upper block corresponding to the upper right corner position is available, and only if not available, detecting whether the scaled motion vector of the upper left block corresponding to the upper left corner position is available; or
检测所述右上角位置对应的上边块的经比例调节后的运动矢量是否可用,并仅当不可用时,检测所述左下角位置对应的左边块的经比例调节后的运动矢量是否可用,并仅当不可用时,检测所述左上角位置对应的左上块的经比例调节后的运动矢量是否可用。Detecting whether the scaled motion vector of the upper block corresponding to the upper right corner position is available, and only if not available, detecting whether the scaled motion vector of the left block corresponding to the lower left corner position is available, and only When not available, it is detected whether the scaled motion vector of the upper left block corresponding to the upper left corner position is available.
实施例七Embodiment seven
本发明实施例提供一种编码器,包括上述实施例的运动矢量预测装置。An embodiment of the present invention provides an encoder, including the apparatus for predicting a motion vector in the foregoing embodiment.
本实施例的编码器执行运动矢量预测的流程与上述实施例的运动矢量预测装置的工作流程相同,故此处不再赘述。The flow of motion vector prediction performed by the encoder in this embodiment is the same as that of the motion vector prediction apparatus in the above embodiment, so it will not be repeated here.
在本实施例的编码器中,运动矢量预测装置的运动矢量预测模块的执行编码端进行编码时,是根据预设规则从运动矢量列表中,选择一个最佳的运动矢量作为当前块的运动矢量预测值,其中选择的最佳的,可以是率失真(Rate-distortion)意义上最佳的,也可以是根据需要基于其它性能指标等来选择,本文中不做限定。其中,运动矢量列表包括所记录的空域候选运动矢量和时域候选运动矢量,并且各空域候选运动矢量和时域候选运动矢量在运动矢量列表中均具有一个位置索引号。In the encoder of this embodiment, when the encoding end of the motion vector prediction module of the motion vector prediction device performs encoding, it selects an optimal motion vector from the motion vector list according to preset rules as the motion vector of the current block The predicted value, where the best one is selected, may be the best in the sense of rate-distortion (Rate-distortion), or may be selected based on other performance indicators as required, which is not limited herein. Wherein, the motion vector list includes the recorded spatial candidate motion vectors and temporal candidate motion vectors, and each spatial candidate motion vector and temporal candidate motion vector has a position index number in the motion vector list.
编码器还可包括一个编码发送装置,用于将所选择的运动矢量在列表中的位置索引号写入码流,并将码流发送。The encoder may also include an encoding and sending device for writing the position index number of the selected motion vector in the list into the code stream and sending the code stream.
根据本实施例的编码器,在获取空域候选运动矢量的过程中,由于首先检测当前块的第一相邻位置和第二相邻位置的参考块的运动矢量是否可用,并当第二相邻位置的参考块的运动矢量不可用时,再检测经比例调节的运动矢量是否可用,使得最差情况下,需通过三个步骤来获取空域候选运动矢量。而现有技术中,在最差情况下,需执行四个步骤来获取空域候选运动矢量。因此,可以看出,相对于现有技术降低了复杂度,缩减了现有技术中执行运动矢量预测的流程,从而提高了编码的执行效率。According to the encoder of this embodiment, in the process of obtaining the motion vector candidates in the spatial domain, it is firstly detected whether the motion vectors of the reference blocks at the first adjacent position and the second adjacent position of the current block are available, and when the second adjacent When the motion vector of the reference block at the location is not available, it is checked whether the scaled motion vector is available, so that in the worst case, three steps are required to obtain the spatial candidate motion vector. However, in the prior art, in the worst case, four steps need to be performed to obtain the spatial candidate motion vector. Therefore, it can be seen that compared with the prior art, the complexity is reduced, and the flow of performing motion vector prediction in the prior art is reduced, thereby improving the execution efficiency of encoding.
实施例八Embodiment eight
本发明实施例提供一种编码器,包括上述实施例的运动矢量预测装置。An embodiment of the present invention provides an encoder, including the apparatus for predicting a motion vector in the foregoing embodiment.
本实施例的编码器执行运动矢量预测的流程与上述实施例的运动矢量预测装置的工作流程相同,故此处不再赘述。The flow of motion vector prediction performed by the encoder in this embodiment is the same as that of the motion vector prediction apparatus in the above embodiment, so it will not be repeated here.
本实施例的解码器中,还可以包括接收解码装置,该接收解码装置接收编码器发送的码流,对码流进行解码,获得当前块的运动矢量索引号,提供给运动矢量预测装置。由运动矢量预测装置获取当前块的空域候选运动矢量和时域候选运动矢量,生成包括空域候选运动矢量和时域候选运动矢量的运动矢量列表,从该运动矢量列表中选取与接收解码装置提供的运动矢量索引号对应的候选运动矢量,作为当前块的运动矢量预测值。The decoder in this embodiment may further include a receiving and decoding device, which receives the code stream sent by the encoder, decodes the code stream, obtains the motion vector index number of the current block, and provides it to the motion vector prediction device. The motion vector prediction device obtains the space candidate motion vector and the time domain candidate motion vector of the current block, generates a motion vector list including the space domain candidate motion vector and the time domain candidate motion vector, selects and receives the motion vector provided by the decoding device from the motion vector list The candidate motion vector corresponding to the motion vector index number is used as the motion vector predictor of the current block.
根据本实施例的解码器,在获取空域候选运动矢量的过程中,由于首先检测当前块的第一相邻位置和第二相邻位置的参考块的运动矢量是否可用,并当第二相邻位置的参考块的运动矢量不可用时,再检测经比例调节的运动矢量是否可用,使得最差情况下,需通过三个步骤来获取空域候选运动矢量。而现有技术中,在最差情况下,需执行四个步骤来获取空域候选运动矢量。因此,可以看出,相对于现有技术降低了复杂度,缩减了现有技术中执行运动矢量预测的流程,从而提高了解码的执行效率。According to the decoder of this embodiment, in the process of obtaining the candidate motion vector in the spatial domain, it is firstly detected whether the motion vectors of the reference blocks at the first adjacent position and the second adjacent position of the current block are available, and when the second adjacent When the motion vector of the reference block at the location is not available, it is checked whether the scaled motion vector is available, so that in the worst case, three steps are required to obtain the spatial candidate motion vector. However, in the prior art, in the worst case, four steps need to be performed to obtain the spatial candidate motion vector. Therefore, it can be seen that compared with the prior art, the complexity is reduced, and the flow of performing motion vector prediction in the prior art is reduced, thereby improving the execution efficiency of decoding.
实施例九Embodiment nine
图5为本发明一个实施例提供的编解码系统的系统架构图。如图5所示,该编解码系统包括上述实施例的编码器51,以及上述实施例的解码器52。FIG. 5 is a system architecture diagram of a codec system provided by an embodiment of the present invention. As shown in FIG. 5 , the codec system includes the encoder 51 of the above embodiment and the decoder 52 of the above embodiment.
本实施例的编解码系统实现编解码的流程与上述实施例中编码器和解码器的工作流程相同,故此处不再赘述。The encoding and decoding process of the encoding and decoding system in this embodiment is the same as that of the encoder and decoder in the above embodiments, so it will not be repeated here.
根据本实施例的编解码系统,在获取空域候选运动矢量的过程中,由于首先检测当前块的第一相邻位置和第二相邻位置的参考块的运动矢量是否可用,并当第二相邻位置的参考块的运动矢量不可用时,再检测经比例调节的运动矢量是否可用,使得最差情况下,需通过三个步骤来获取空域候选运动矢量。而现有技术中,在最差情况下,需执行四个步骤来获取空域候选运动矢量。因此,可以看出,相对于现有技术降低了复杂度,缩减了现有技术中执行运动矢量预测的流程,从而提高了编码、解码的执行效率。According to the encoding and decoding system of this embodiment, in the process of obtaining the motion vector candidates in the spatial domain, it is firstly detected whether the motion vectors of the reference blocks at the first adjacent position and the second adjacent position of the current block are available, and when the second phase When the motion vector of the adjacent reference block is not available, it is checked whether the scaled motion vector is available, so that in the worst case, three steps are required to obtain the spatial candidate motion vector. However, in the prior art, in the worst case, four steps need to be performed to obtain the spatial candidate motion vector. Therefore, it can be seen that compared with the prior art, the complexity is reduced, and the flow of performing motion vector prediction in the prior art is reduced, thereby improving the execution efficiency of encoding and decoding.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the It includes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims (23)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210225276.0A CN102769748B (en) | 2012-07-02 | 2012-07-02 | Motion vector prediction method, device and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201210225276.0A CN102769748B (en) | 2012-07-02 | 2012-07-02 | Motion vector prediction method, device and system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN102769748A CN102769748A (en) | 2012-11-07 |
| CN102769748B true CN102769748B (en) | 2014-12-24 |
Family
ID=47096984
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201210225276.0A Expired - Fee Related CN102769748B (en) | 2012-07-02 | 2012-07-02 | Motion vector prediction method, device and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102769748B (en) |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103024397B (en) * | 2013-01-07 | 2015-07-08 | 华为技术有限公司 | Method and device for determining time domain motion vector predictor |
| CN103067714B (en) * | 2013-01-09 | 2016-08-03 | 北京大学 | A kind of method of motion-vector prediction |
| CN103747264B (en) * | 2014-01-03 | 2017-10-17 | 华为技术有限公司 | Method, encoding device and the decoding device of predicted motion vector |
| KR102260146B1 (en) | 2014-03-31 | 2021-06-03 | 인텔렉추얼디스커버리 주식회사 | Method and device for creating inter-view merge candidates |
| CN112954325B (en) | 2019-03-11 | 2022-09-30 | 杭州海康威视数字技术股份有限公司 | Encoding and decoding method, device and equipment |
| CN109996068A (en) * | 2019-04-12 | 2019-07-09 | 中国科学技术大学 | A kind of video motion information coding method and device |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102227132A (en) * | 2011-05-25 | 2011-10-26 | 深圳市融创天下科技股份有限公司 | Motion vector prediction coding and decoding method, apparatus thereof and coding and decoding system |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040258154A1 (en) * | 2003-06-19 | 2004-12-23 | Microsoft Corporation | System and method for multi-stage predictive motion estimation |
| WO2011046008A1 (en) * | 2009-10-16 | 2011-04-21 | シャープ株式会社 | Video coding device and video decoding device |
| WO2011146451A1 (en) * | 2010-05-20 | 2011-11-24 | Thomson Licensing | Methods and apparatus for adaptive motion vector candidate ordering for video encoding and decoding |
| US8711940B2 (en) * | 2010-11-29 | 2014-04-29 | Mediatek Inc. | Method and apparatus of motion vector prediction with extended motion vector predictor |
-
2012
- 2012-07-02 CN CN201210225276.0A patent/CN102769748B/en not_active Expired - Fee Related
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102227132A (en) * | 2011-05-25 | 2011-10-26 | 深圳市融创天下科技股份有限公司 | Motion vector prediction coding and decoding method, apparatus thereof and coding and decoding system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102769748A (en) | 2012-11-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109862368B (en) | Coding and decoding method and equipment thereof | |
| CN102769748B (en) | Motion vector prediction method, device and system | |
| US12483723B2 (en) | Method and apparatus for encoding or decoding video data with sub-pixel motion vector refinement | |
| CN105898325B (en) | Method and device for deriving motion vector predictor candidate item set | |
| CN101605256A (en) | Method and device for video encoding and decoding | |
| CN106170093A (en) | A kind of infra-frame prediction performance boost coded method | |
| CN112602326A (en) | Motion vector prediction method and device and coder-decoder | |
| CN102685479A (en) | Video encoding and decoding processing method and device | |
| WO2020124040A1 (en) | Method for deriving constructed affine merge candidates | |
| CN105992012B (en) | A method and apparatus for error concealment | |
| CN116569549A (en) | Inter prediction method, encoder, decoder and storage medium | |
| CN103179400B (en) | Method for video coding and device, video encoding/decoding method and device | |
| CN112422971B (en) | Encoding and decoding method, device and equipment | |
| CN112449180B (en) | A codec method, device and equipment thereof | |
| KR101624422B1 (en) | Reference frame and inter-mode selection method and apparatus | |
| WO2025007693A1 (en) | Methods and apparatus of inheriting cross-component models from non-intra coded blocks for cross-component prediction merge mode | |
| CN113709487B (en) | A codec method, device and equipment thereof | |
| CN114710662B (en) | A decoding and encoding method, device and equipment thereof | |
| CN117979022A (en) | Contour-based inter-frame prediction method, system, device and storage medium | |
| HK40064058B (en) | Coding and decoding method, device and equipment | |
| HK40098017A (en) | Method and apparatus for encoding and decoding video data by sub-pixel motion vector refinement | |
| HK40098016A (en) | Method and apparatus for encoding and decoding video data by sub-pixel motion vector refinement | |
| HK40097145A (en) | Method and apparatus for encoding and decoding video data by sub-pixel motion vector refinement | |
| HK40098018A (en) | Method and apparatus for encoding and decoding video data by sub-pixel motion vector refinement |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20170605 Address after: 510640 Guangdong City, Tianhe District Province, No. five, road, public education building, unit 371-1, unit 2401 Patentee after: Guangdong Gaohang Intellectual Property Operation Co., Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: Huawei Technologies Co., Ltd. |
|
| TR01 | Transfer of patent right | ||
| CB03 | Change of inventor or designer information |
Inventor after: Sun Le Inventor before: Lin Yongbing |
|
| CB03 | Change of inventor or designer information | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20170912 Address after: Eight bridge village of Huaiyin District of Ji'nan city in Shandong province 250000 22-1 No. 3 ranked No. 10 Patentee after: Sun Le Address before: 510640 Guangdong City, Tianhe District Province, No. five, road, public education building, unit 371-1, unit 2401 Patentee before: Guangdong Gaohang Intellectual Property Operation Co., Ltd. |
|
| TR01 | Transfer of patent right | ||
| CP02 | Change in the address of a patent holder |
Address after: 541199 Lingui County, Guilin, Lingui County, Lingui Town, Xinglin Road, No. 1, unit 202, Room 202 Patentee after: Sun Le Address before: Eight bridge village of Huaiyin District of Ji'nan city in Shandong province 250000 22-1 No. 3 ranked No. 10 Patentee before: Sun Le |
|
| CP02 | Change in the address of a patent holder | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20180808 Address after: 510000 A4, building 48-50, Jianzhong Road, Tianhe District, Guangzhou, Guangdong (for office use only) Patentee after: Guangzhou Han Dao computer science and Technology Co., Ltd. Address before: 541199 room 2, unit 8, Xinglin Road, Lingui Town, Lingui, the Guangxi Zhuang Autonomous Region, 202, Guilin, 202 Patentee before: Sun Le |
|
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20191008 Address after: 233000 Xianghe Home Floor No.9, Xinhuai Road, Dongsheng Street, Longzihu District, Bengbu City, Anhui Province Patentee after: Bengbu Qibang Science and Technology Information Consulting Co., Ltd. Address before: 510000 A4, building 48-50, Jianzhong Road, Tianhe District, Guangzhou, Guangdong (for office use only) Patentee before: Guangzhou Han Dao computer science and Technology Co., Ltd. |
|
| TR01 | Transfer of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20141224 Termination date: 20210702 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |