CN101547354A - 实现运动估计的视频编码器与其运动估计方法 - Google Patents

实现运动估计的视频编码器与其运动估计方法 Download PDF

Info

Publication number
CN101547354A
CN101547354A CN200810126623.8A CN200810126623A CN101547354A CN 101547354 A CN101547354 A CN 101547354A CN 200810126623 A CN200810126623 A CN 200810126623A CN 101547354 A CN101547354 A CN 101547354A
Authority
CN
China
Prior art keywords
mentioned
image block
integer
search window
current image
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.)
Granted
Application number
CN200810126623.8A
Other languages
English (en)
Other versions
CN101547354B (zh
Inventor
徐志玮
黄毓文
陈拓维
郭志辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
MediaTek Inc
Original Assignee
MediaTek Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by MediaTek Inc filed Critical MediaTek Inc
Publication of CN101547354A publication Critical patent/CN101547354A/zh
Application granted granted Critical
Publication of CN101547354B publication Critical patent/CN101547354B/zh
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/573Motion compensation with multiple frame prediction using two or more reference frames in a given prediction direction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • H04N19/105Selection of the reference unit for prediction within a chosen coding or prediction mode, e.g. adaptive choice of position and number of pixels used for prediction
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/156Availability of hardware or computational resources, e.g. encoding based on power-saving criteria
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/157Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
    • H04N19/16Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter for a given display mode, e.g. for interlaced or progressive display mode
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/176Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/42Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
    • H04N19/436Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation using parallelised computational arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/523Motion estimation or motion compensation with sub-pixel accuracy
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/57Motion estimation characterised by a search window with variable size or shape
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/60Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
    • H04N19/61Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding

Landscapes

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

Abstract

本发明提供一种实现运动估计的视频编码器与运动估计方法,视频编码器包含:存储单元,用来接收当前图像块以及从至少两个参考帧接收多个搜索窗口;以及整数像素运动估计单元,耦接至存储单元,用来依据当前图像块与多个搜索窗口计算多个整数运动向量;其中参考帧的数量与搜索窗口的尺寸可以自适应的改变,使得其空间需求小于或者等于存储单元的可用空间。本发明提供的实现运动估计的视频编码器及其运动估计方法,能够在硬件资源有限的情况下,实现视频编码的运动估计,因此可产生紧凑的电路设计并且减少制造成本。

Description

实现运动估计的视频编码器与其运动估计方法
技术领域
本发明关于视频编码,特别是关于视频编码器与运动估计方法。
背景技术
以块(block)为基础的视频编码标准(例如MPEG1/2/4与H.26x),主要通过减少多个视频帧之间的时间冗余以及视频帧内的空间冗余来实现数据压缩。符合某一标准的编码器所产生的比特流,可通过符合其它标准的译码器解码。这些视频编码标准提供给编码器灵活性,来开拓最佳技术以增进视频质量。
上述提供给编码器的灵活性之一是帧的类型。对于以块为基础的视频编码器,可编码三种类型帧,即I、P与B帧。I帧是帧内编码帧,不需要任何运动补偿预测(motion-compensated prediction,MCP)。P帧是利用先前参考帧的运动补偿预测的预测帧,B帧是利用先前参考帧与将来参考帧的运动补偿预测的双向预测帧。通常来说,I帧与P帧是运动补偿预测的参考帧。
帧间编码帧,包含P帧与B帧,经由先前编码帧的运动补偿来预测以减少时间冗余,因此,获得高的补偿效率。每一视频帧包含像素阵列(array of pixel)。宏块(macroblock,MB)是一组像素,例如16x16,16x8,8x16,与8x8像素块。8x8像素块可进一步分块成8x4,4x8,或者4x4尺寸的像素块。因此,共支持7种块类型。通常情况下,估计在多个帧之间图像如何运动(以宏块为基础),即运动估计。运动估计通常包含比较当前帧的宏块与多个来自其它参考帧的宏块的相似性。当前视频帧的宏块与参考帧的最相似的宏块之间的空间位移是运动向量(Motion vector)。可由分数像素来估计运动向量,其中该分数像素可通过将来自参考帧的像素进行内插得到。
图1a与图1b绘示了现有的运动估计程序,搜索(先前)参考帧13的搜索窗口(search window)14以寻找当前帧11的图像块12的匹配图像块15,其中图像块16根据运动向量17从先前位置15运动至新位置16。运动向量代表图像块从参考帧至当前帧的位移。可利用块匹配度量(block matching metric)来判断当前块与参考帧的图像块的相似度,例如利用绝对误差总和(Sum of AbsoluteDifferences,SAD)或者均方误差(Mean Squared Error,MSE)。产生最小绝对误差总和或者均方误差的参考帧位置作为最佳匹配位置,并且最小绝对误差总和或者均方误差作为运动向量。当前帧的图像块是宏块。
除了利用搜索窗口来减少空间冗余,MPEG4编码也利用多个参考帧来减少运动估计的时间冗余。因此,需要一种通过多个参考帧与搜索窗口的自适应组合来进行运动估计的视频编码器及其方法。
发明内容
为了解决现有技术中需要通过多个参考帧与搜索窗口的自适应组合来进行运动估计的技术问题,本发明提供一种实现运动估计的视频编码器及其运动估计方法。
依据本发明的一方面,其提供一种实现运动估计的视频编码器,包含:存储单元,用来接收当前图像块以及自至少两个参考帧接收多个搜索窗口;以及整数像素运动估计单元,耦接至存储单元,用来依据当前图像块与多个搜索窗口计算多个整数运动向量;其中上述参考帧的数量与上述搜索窗口的尺寸可以自适应的改变,使得其空间需求小于或者等于存储单元的可用空间。
依据本发明另一方面,其提供一种运动估计方法,包含:提供存储单元,来接收当前图像块以及从至少两个参考帧接收多个搜索窗口;以及提供整数像素运动估计单元,依据当前图像块与多个搜索窗口计算多个整数运动向量;其中上述参考帧的数量与上述搜索窗口的尺寸可以自适应的改变,使得其空间需求小于或者等于存储单元的可用空间。
本发明提供的实现运动估计的视频编码器及其运动估计方法,通过自适应的改变参考帧的数量与搜索窗口的尺寸,能够在硬件资源有限的情况下,实现视频编码的运动估计,因此可产生紧凑的电路设计并且减少制造成本。
附图说明
图1a与图1b绘示了现有的运动估计程序。
图2绘示了在MPEG编码中帧模式与场模式的运动估计程序。
图3a与图3b为依据本发明的实施方式的实现运动估计的视频编码器的方框图。
图4a与图4b为依据本发明的另一个实施方式的实现运动估计的视频编码器的方框图。
图5a与图5b为依据本发明的又一个实施方式的实现运动估计的视频编码器的方框图。
图6a与图6b为依据本发明的再一个实施方式的实现运动估计的视频编码器的方框图。
具体实施方式
图3a与图3b为依据本发明的实施方式的实现运动估计的视频编码器的方框图。该视频编码器包含存储单元30、整数像素运动估计(integer motionestimation,IME)单元32以及分数像素运动估计(fractional motion estimation,FME)单元34,其中存储单元30耦接至整数像素运动估计单元(IME单元)32,并且随后耦接至分数像素运动估计单元(FME单元)34。
存储单元30包含存储器300,用来接收当前图像块CB;以及存储器302,用来接收来自参考帧Ref0与Ref1(至少两个参考帧)的搜索窗口SW0与SW1(或多个搜索窗口)。尽管图3a中只绘示两个搜索窗口与两个参考帧,但其中也可包含多个参考帧与多个搜索窗口。当前图像块CB是宏块,可为包含需要搜索64个像素的8x8的宏块。搜索窗口SW0与SW1包含搜索的像素,以得到与当前图像块CB匹配的图像块。存储器300与存储器302可为任何计算器可存取的存储器,例如动态随机存取存储器(DRAM)、静态随机存取存储器(SRAM)或者快闪存储器(Flash memory)。
整数像素运动估计单元(IME单元)32包含处理元件阵列(processing elementarray)320,用来接收当前图像块CB与搜索窗口SW0与SW1,从而计算整数运动向量MV0与MV1(也可为多个运动向量)。每一处理元件是最小处理单元,从当前图像块CB接收需要搜索的像素、从搜索窗口接收搜索范围、并且计算绝对误差总和。每一处理元件中的搜索范围可与临近处理元件中的搜索范围相差1个像素。处理元件阵列320通过计算当前图像块CB与搜索窗口SW0与SW1中的搜索范围之间的绝对误差总和,来获得每一处理元件的失真值,并且将每一搜索窗口的最小绝对误差总和作为整数运动向量。处理元件阵列320计算搜索窗口SW0与SW1的绝对误差总和以输出整数运动向量MV0与MV1。参考帧的数量与搜索窗口的尺寸可以自适应的改变,使得所有参考帧内的搜索窗口的空间需求小于或者等于存储单元30内的可用空间。例如,当参考帧的数量小时,搜索窗口的尺寸可以自适应的改变以覆盖较大的范围;而当参考帧的数量大时,搜索窗口的尺寸可以自适应的改变以覆盖较小的范围。
分数像素运动估计单元(FME单元)34包含处理元件阵列340,通过将产生整数运动向量的搜索范围内的像素与其临近像素进行内插(interpolate),来计算分数运动向量,以估计内插搜索范围,以及计算当前图像块CB与每一内插搜索范围的像素之间的绝对误差总和,以决定其最小绝对误差总和作为分数运动向量MV。每一处理元件接收来自当前图像块CB与具有不同内插位置的内插搜索范围内的像素,以计算绝对误差总和。处理元件阵列340计算搜索窗口SW0与SW1的绝对误差总和,并选择其最小值来作为输出的分数运动向量MV。
图3a与图3b所示的视频编码器与传统(legacy)的MPEG标准(例如MPEG2)回溯兼容(back-compatible)。如图3b所示,其中只利用单一参考帧来进行预测编码。存储单元30自存储器300的当前帧Cf接收当前图像块CB并自存储器302的参考帧Ref0接收搜索窗口SW。整数像素运动估计单元(IME单元)32自当前图像块CB与搜索窗口SW接收像素,以决定整数运动向量MV。然后分数像素运动估计单元(FME单元)34将产生整数运动向量的搜索范围内的像素进行内插以计算分数运动向量MV。由于存储器302内仅存储一个搜索窗口SW,搜索窗口SW的最大尺寸大于搜索窗口SW0以及搜索窗口SW1的尺寸。
图3a与图3b所示的视频编码器也与MPEG编码的场模式(field mode)兼容。图2绘示了在MPEG编码中帧模式与场模式的运动估计程序。图2的左手边绘示了帧模式运动估计,其中当前图像帧20包含两个隔行扫描场(interlacedfield),即奇数场(odd field)204与偶数场(even field)206。在搜索窗口202中进行以帧为基础的(frame based)搜索,该搜索从以帧为基础的具有最低绝对误差总和的位置的参考图像帧开始,其中该绝对误差总和代表与当前图像块200以帧为基础的最佳匹配图像块。如图2的右手边所示的场模式运动估计,当前图像帧的宏块分成两个:块22与块24,每一块仅包含偶数场(块22)或者仅包含奇数场(块24)。搜索窗口202也分为参考图像块222与242,其中之一仅包含偶数场行,另一仅包含奇数场行,以分别进行运动估计处理。即图3a与图3b所示的视频编码器进行运动估计,以自偶数参考图像块222搜索偶数当前图像块220,自奇数参考图像块242搜索奇数当前图像块240。并且整数像素运动估计单元(IME单元)依据当前图像块与偶数场计算偶数整数运动向量,并依据当前图像块与奇数场计算奇数整数运动向量,以及计算偶数整数运动向量以及奇数整数运动向量的平均值作为每一参考帧的整数运动向量。在一个实施方式中,存储器300接收当前图像块CB中的偶数场块与奇数场块(图示中未显示),并且存储器302自参考帧接收偶数场块与奇数场块的搜索窗口SW0与SW1。整数像素运动估计单元(IME单元)32的每一处理元件计算并输出偶数场块与奇数场块的最小绝对误差总和以作为运动向量MV0与MV1。并且分数像素运动估计单元(FME单元)34更通过内插来计算分数运动向量,以产生所有计算中的最小绝对误差总和以作为最终运动向量MV。
图4a与图4b为依据本发明的另一个实施方式的实现运动估计的视频编码器的方框图。该视频编码器包含存储单元40、整数像素运动估计单元(IME单元)42以及分数像素运动估计单元(FME单元)44,其中存储单元40是耦接至整数像素运动估计单元(IME单元)42,并且随后耦接至分数像素运动估计单元(FME单元)44。
图4a与图4b所示的视频编码器能够在硬件资源有限的条件下,针对多参考帧与大搜索窗口尺寸进行预测编码。例如,在多参考帧的情况下,搜索窗口SW0与SW1分别顺序地进入存储单元40、整数像素运动估计单元(IME单元)42以及分数像素运动估计单元(FME单元)44。然后,针对搜索窗口SW0与SW1依次进行数据缓冲(data buffering)、整数运动向量估计以及分数运动向量估计,以输出当前图像块CB的分数运动向量MV。由于仅需要图3a与图3b所示的视频编码器的一半的硬件,因此可产生紧凑的电路设计并且减少制造成本。同样的,当搜索窗口尺寸超出存储单元40、整数像素运动估计单元(IME单元)42与分数像素运动估计单元(FME单元)44的可用空间时,存储单元40、整数像素运动估计单元(IME单元)42与分数像素运动估计单元(FME单元)44可依次接收搜索窗口SWa与SWb的一半的像素,然后依次进行数据缓冲、整数运动向量估计以及分数运动向量估计,以输出当前图像块CB的分数运动向量MV。硬件资源需求减少的代价为增加数据处理时间。
图5a与图5b为依据本发明的又一个实施方式的实现运动估计的视频编码器的方框图。该视频编码器包含如同图3a与图3b中所示的存储单元30、整数像素运动估计单元(IME单元)32以及分数像素运动估计单元(FME单元)34。图5a中的视频编码器与图3a中所示的视频编码器相同,其中当前图像块CB以及至少来自两个参考帧的两个搜索窗口SW0与SW1存储在存储单元30,然后整数像素运动估计单元(IME单元)32依据当前图像块CB与搜索窗口SW0与SW1来计算多个整数运动向量MVs(例如上述MV0与MV1),接着分数像素运动估计单元(FME单元)34将整数运动向量MVs进行内插以获得分数运动向量MV。参阅图5b,由于较小的搜索窗口尺寸,存储单元30接收搜索窗口SW,该搜索窗口SW仅占用存储器302的可用空间的一半。与利用了全部硬件的图3a与图3b相比,图5a与图5b仅仅利用了存储单元30、整数像素运动估计单元(IME单元)32以及分数像素运动估计单元(FME单元)34的一半硬件资源,使得分数像素运动估计单元(FME单元)34进行快速分数运动向量计算。
图6a与图6b为依据本发明的再一个实施方式的实现运动估计的视频编码器的方框图。该视频编码器包含如同图3a与图3b中所示的存储单元30、整数像素运动估计单元(IME单元)32以及分数像素运动估计单元(FME单元)34。图6a是多个参考MPEG编码的例子。参考帧Ref0与Ref1包含具有不同搜索窗口尺寸的搜索窗口SW0与SW1。搜索窗口SW0的尺寸超出搜索窗口SW1的尺寸。因此,与图3a以及图3b相比,存储器302与处理元件阵列320以及处理元件阵列340需要更多的空间与处理单元,来并行地处理搜索窗口SW0与SW1中的所有像素,并输出当前图像块CB的分数运动向量MV。图6b绘示了利用较大搜索窗口SW(相当于图3b所示的搜索窗口SW)来编码视频帧Cf的视频编码器的实施方式。由于较大搜索窗口SW包含较多的图像像素,因此需要存储器302具有较大的存储空间,并且需要整数像素运动估计单元(IME单元)32以及分数像素运动估计单元(FME单元)34具有较多的处理元件来计算当前块CB与搜索窗口SW的数据之间绝对误差总和。编码器依据搜索窗口尺寸来配置搜索窗口中的像素数据需要的存储空间与处理元件的数量。
图3a至图6b中所示的处理元件是可重构的。上述处理元件可并行地处理多帧,共同地处理一帧,或者以适应不同情况的其它方式工作。
尽管上文所描述的实施方式使用MPEG标准,本领域技术人员可以得知只要做出适当的修改,上述视频编码器与运动估计方法在其它视频编码标准(例如H.263与H.264)下同样适用。
以上所述仅为本发明的较佳实施方式,凡依本发明权利要求所做的均等变化与修饰,都应属于本发明的涵盖范围。

Claims (13)

1.一种实现运动估计的视频编码器,包含:
存储单元,用来接收当前图像块以及从至少两个参考帧接收多个搜索窗口;以及
整数像素运动估计单元,耦接至上述存储单元,用来依据上述当前图像块与上述多个搜索窗口计算多个整数运动向量;
其中上述参考帧的数量与上述搜索窗口的尺寸可以自适应的改变,使得其空间需求小于或者等于上述存储单元的可用空间。
2.根据权利要求1所述的实现运动估计的视频编码器,其中上述整数像素运动估计单元计算上述当前图像块与上述搜索窗口的每一参考图像块之间的多个绝对误差总和,并且决定每一搜索窗口的最小绝对误差总和作为上述整数运动向量。
3.根据权利要求2所述的实现运动估计的视频编码器,更包含分数像素运动估计单元,耦接至上述整数像素运动估计单元,其中上述分数像素运动估计单元将相对应于上述整数运动向量的上述参考图像块内的上述像素与其邻近的多个像素进行内插,以估计多个内插参考图像块,并且计算上述当前图像块与上述每一内插参考图像块之间的多个绝对误差总和,并决定每一搜索窗口的绝对误差总和的最小值作为分数运动向量。
4.根据权利要求1所述的实现运动估计的视频编码器,其特征在于,上述整数像素运动估计单元同时地或者顺序地计算上述整数运动向量。
5.根据权利要求1所述的实现运动估计的视频编码器,其特征在于,上述搜索窗口具有相同的或者不同的尺寸,使得上述存储单元的可用空间超出或者等于上述当前图像块与上述搜索窗口的空间需求。
6.根据权利要求1所述的实现运动估计的视频编码器,其特征在于,每一参考帧的上述搜索窗口包含多个偶数场与多个奇数场,并且上述整数像素运动估计单元依据上述当前图像块与上述偶数场计算多个偶数整数运动向量,并且依据上述当前图像块与上述奇数场计算多个奇数整数运动向量,以及计算上述偶数整数运动向量以及上述奇数整数运动向量的平均值作为每一参考帧的整数运动向量。
7.根据权利要求1所述的实现运动估计的视频编码器,其特征在于,上述存储单元包含多个子存储单元并且上述整数像素运动估计单元包含多个子整数像素运动估计单元,每一子存储单元接收上述当前图像块或者自每一参考帧接收每一搜索窗口,并且每一子整数像素运动估计单元依据上述当前图像块与每一搜索窗口计算上述整数运动向量。
8.一种运动估计方法,包含:
提供存储单元,接收当前图像块以及从至少两个参考帧接收多个搜索窗口;以及
提供整数像素运动估计单元,依据上述当前图像块与上述搜索窗口计算多个整数运动向量;
其中上述参考帧的数量与上述搜索窗口的尺寸可以自适应的改变,使得其空间需求小于或者等于上述存储单元的可用空间。
9.根据权利要求8所述的运动估计方法,其特征在于,提供整数像素运动估计单元的步骤包含:计算上述当前图像块与上述搜索窗口的每一参考图像块之间的多个绝对误差总和,并且决定每一搜索窗口的最小绝对误差总和作为上述整数运动向量。
10.根据权利要求9所述的运动估计方法,其特征在于,更包含提供分数像素运动估计单元,来将相对应于上述整数运动向量的上述参考图像块内的上述像素与其邻近多个像素进行内插,并且计算上述当前图像块与每一内插参考图像块之间的多个绝对误差总和,并决定每一搜索窗口的绝对误差总和的最小值来作为分数运动向量。
11.根据权利要求8所述的运动估计方法,其特征在于,提供整数像素运动估计单元的步骤包含同时地或者顺序地计算上述整数运动向量。
12.根据权利要求8所述的运动估计方法,其特征在于,上述搜索窗口具有相同的或者不同的尺寸,使得上述存储单元的可用空间超出或者等于上述当前图像块与上述搜索窗口的空间需求。
13.根据权利要求8所述的运动估计方法,其特征在于,每一参考帧的上述搜索窗口包含多个偶数场与多个奇数场,并且提供整数像素运动估计单元的步骤包含依据上述当前图像块与上述偶数场计算多个偶数整数运动向量,并且依据上述当前图像块与上述奇数场计算多个奇数整数运动向量,以及计算上述偶数整数运动向量以及上述奇数整数运动向量的平均值作为每一参考帧的上述整数运动向量。
CN200810126623.8A 2008-03-26 2008-06-17 实现运动估计的视频编码器与其运动估计方法 Expired - Fee Related CN101547354B (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US12/055,353 2008-03-26
US12/055,353 US20090245374A1 (en) 2008-03-26 2008-03-26 Video encoder and motion estimation method

Publications (2)

Publication Number Publication Date
CN101547354A true CN101547354A (zh) 2009-09-30
CN101547354B CN101547354B (zh) 2011-04-13

Family

ID=41117162

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810126623.8A Expired - Fee Related CN101547354B (zh) 2008-03-26 2008-06-17 实现运动估计的视频编码器与其运动估计方法

Country Status (3)

Country Link
US (1) US20090245374A1 (zh)
CN (1) CN101547354B (zh)
TW (1) TWI383687B (zh)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581689A (zh) * 2012-08-07 2014-02-12 联咏科技股份有限公司 视频编码方法与视频编码装置
CN103686188A (zh) * 2012-09-14 2014-03-26 扬智电子科技(上海)有限公司 一种运动估计搜索窗映射方法以及运动估计模块
CN103918270A (zh) * 2011-09-30 2014-07-09 英特尔公司 用于视频编码管线的系统、方法和计算机程序产品
CN106165428A (zh) * 2014-03-28 2016-11-23 索尼公司 数据编码和解码
US9549205B2 (en) 2012-07-27 2017-01-17 Novatek Microelectronics Corp. Method and device for encoding video
CN106464863A (zh) * 2014-04-01 2017-02-22 联发科技股份有限公司 视频编码中自适应内插滤波的方法
CN110557642A (zh) * 2018-06-04 2019-12-10 华为技术有限公司 一种视频帧编码运动搜索方法及图像编码器
CN111343456A (zh) * 2018-12-18 2020-06-26 瑞萨电子株式会社 视频编码设备及其操作方法以及配备有视频编码设备的车辆
WO2022061573A1 (zh) * 2020-09-23 2022-03-31 深圳市大疆创新科技有限公司 运动搜索方法、视频编码装置及计算机可读存储介质

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8265155B2 (en) * 2009-01-05 2012-09-11 Electronics And Telecommunications Research Institute Method of block partition for H.264 inter prediction
US20100220786A1 (en) * 2009-02-27 2010-09-02 Hong Kong Applied Science and Technology Research Institute Company Limited Method and apparatus for multiple reference picture motion estimation
TW201035911A (en) * 2009-03-17 2010-10-01 Novatek Microelectronics Corp Video processing method and video processing device
US9036692B2 (en) * 2010-01-18 2015-05-19 Mediatek Inc. Motion prediction method
HUE052897T2 (hu) 2011-06-27 2021-05-28 Samsung Electronics Co Ltd Mozgásinformáció kódolása és dekódolása
WO2013158125A1 (en) 2012-04-20 2013-10-24 Intel Corporation Performance and bandwidth efficient fractional motion estimation
TWI499283B (zh) * 2012-07-05 2015-09-01 Ind Tech Res Inst 視訊壓縮方法與視訊壓縮裝置
KR101560186B1 (ko) 2013-03-18 2015-10-14 삼성전자주식회사 움직임 예측에 있어 적응적 탐색 범위 결정을 이용한 부호화, 복호화 방법 및 장치
EP2814253B1 (en) 2013-06-05 2015-09-16 Axis AB Method for encoding digital video data
KR102276914B1 (ko) * 2013-10-24 2021-07-13 삼성전자주식회사 비디오 인코딩 장치 그리고 이의 구동 방법
JP6490896B2 (ja) * 2013-12-17 2019-03-27 株式会社メガチップス 画像処理装置
US9942560B2 (en) 2014-01-08 2018-04-10 Microsoft Technology Licensing, Llc Encoding screen capture data
US9749642B2 (en) 2014-01-08 2017-08-29 Microsoft Technology Licensing, Llc Selection of motion vector precision
US9774881B2 (en) 2014-01-08 2017-09-26 Microsoft Technology Licensing, Llc Representing motion vectors in an encoded bitstream
US10621731B1 (en) * 2016-05-31 2020-04-14 NGCodec Inc. Apparatus and method for efficient motion estimation for different block sizes
JP2019530299A (ja) * 2016-10-13 2019-10-17 富士通株式会社 画像コーディング/デコーディング方法、装置及び画像処理機器
EP3713235B1 (en) * 2019-03-19 2023-08-02 Axis AB Methods and devices for encoding a video stream using a first and a second encoder

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5485214A (en) * 1993-02-25 1996-01-16 Industrial Technology Research Institute Dual bus dual bank architecture for motion compensation
TW283289B (zh) * 1994-04-11 1996-08-11 Gen Instrument Corp
US6137837A (en) * 1998-01-23 2000-10-24 Motorola, Inc. Motion estimation for digital video with reduced number of search window pixels
JP2000308064A (ja) * 1999-04-22 2000-11-02 Mitsubishi Electric Corp 動きベクトル検出装置
KR20050045746A (ko) * 2003-11-12 2005-05-17 삼성전자주식회사 계층 구조의 가변 블록 크기를 이용한 움직임 추정 방법및 장치
CN100463524C (zh) * 2006-10-20 2009-02-18 西安交通大学 一种用于运动估计的vlsi装置及运动估计的方法
US20090207915A1 (en) * 2008-02-15 2009-08-20 Freescale Semiconductor, Inc. Scalable motion search ranges in multiple resolution motion estimation for video compression

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10602185B2 (en) 2011-09-30 2020-03-24 Intel Corporation Systems, methods, and computer program products for a video encoding pipeline
CN103918270A (zh) * 2011-09-30 2014-07-09 英特尔公司 用于视频编码管线的系统、方法和计算机程序产品
CN103918270B (zh) * 2011-09-30 2018-08-21 英特尔公司 用于视频编码管线的系统、方法和计算机程序产品
US9549205B2 (en) 2012-07-27 2017-01-17 Novatek Microelectronics Corp. Method and device for encoding video
CN103581689A (zh) * 2012-08-07 2014-02-12 联咏科技股份有限公司 视频编码方法与视频编码装置
CN103686188A (zh) * 2012-09-14 2014-03-26 扬智电子科技(上海)有限公司 一种运动估计搜索窗映射方法以及运动估计模块
CN103686188B (zh) * 2012-09-14 2017-02-22 扬智电子科技(上海)有限公司 一种运动估计搜索窗映射方法以及运动估计模块
CN106165428A (zh) * 2014-03-28 2016-11-23 索尼公司 数据编码和解码
US11284105B2 (en) 2014-03-28 2022-03-22 Sony Corporation Data encoding and decoding
US10873759B2 (en) 2014-03-28 2020-12-22 Sony Corporation Data encoding and decoding
CN111770336A (zh) * 2014-03-28 2020-10-13 索尼公司 编码和解码数据的方法、存储介质及数据编码和解码设备
US10321151B2 (en) 2014-04-01 2019-06-11 Mediatek Inc. Method of adaptive interpolation filtering in video coding
CN106464863B (zh) * 2014-04-01 2019-07-12 联发科技股份有限公司 视频编码中自适应内插滤波的方法
US10986365B2 (en) 2014-04-01 2021-04-20 Mediatek Inc. Method of adaptive interpolation filtering in video coding
CN106464863A (zh) * 2014-04-01 2017-02-22 联发科技股份有限公司 视频编码中自适应内插滤波的方法
CN110557642A (zh) * 2018-06-04 2019-12-10 华为技术有限公司 一种视频帧编码运动搜索方法及图像编码器
CN110557642B (zh) * 2018-06-04 2023-05-12 华为技术有限公司 一种视频帧编码运动搜索方法及图像编码器
CN111343456A (zh) * 2018-12-18 2020-06-26 瑞萨电子株式会社 视频编码设备及其操作方法以及配备有视频编码设备的车辆
WO2022061573A1 (zh) * 2020-09-23 2022-03-31 深圳市大疆创新科技有限公司 运动搜索方法、视频编码装置及计算机可读存储介质

Also Published As

Publication number Publication date
US20090245374A1 (en) 2009-10-01
TW200942044A (en) 2009-10-01
TWI383687B (zh) 2013-01-21
CN101547354B (zh) 2011-04-13

Similar Documents

Publication Publication Date Title
CN101547354B (zh) 实现运动估计的视频编码器与其运动估计方法
US11889101B2 (en) Methods and systems for using motion estimation regions in encoding pictures associated with video data
CN102396230B (zh) 图像处理设备和方法
US7693219B2 (en) System and method for fast motion estimation
AU728469B2 (en) Intra-macroblock DC and AC coefficient prediction for interlaced digital video
US20100316129A1 (en) Scaled motion search section with downscaling filter and method for use therewith
JP2014014167A (ja) 複数の動きベクトル・プレディクタを使用して動きベクトルを推定する方法、装置、エンコーダ、デコーダ及びデコーディング方法
US20130051466A1 (en) Method for video coding
JP4793424B2 (ja) 画像符号化装置、画像符号化方法、画像復号装置、画像復号方法、および通信装置
US9729869B2 (en) Adaptive partition subset selection module and method for use therewith
KR20110036886A (ko) 움직임 추정 반복 탐색의 개선 방법 및 시스템, 다음 탐색 영역의 중심점 결정 방법 및 시스템, 지역적 최소값의 회피 방법 및 시스템
WO2012092045A1 (en) Block based sampling coding systems
TWI590083B (zh) 一種產生影像位移偵測之快速搜尋視窗的方法
WO2020055464A1 (en) Motion prediction coding with coframe motion vectors
US20100246682A1 (en) Scaled motion search section with downscaling and method for use therewith
Yang et al. Low complexity fractional motion estimation with adaptive mode selection for H. 264/AVC
Lin et al. Fast multi-frame motion estimation for H. 264 and its applications to complexity-aware streaming
KR100986992B1 (ko) H.264 인코딩 시 고속 인터 모드 결정 방법
KR100757832B1 (ko) 1/4픽셀 움직임 벡터를 이용한 동영상 압축방법
KR100502138B1 (ko) 이웃하는 움직임 벡터를 이용한 가이디드 탐색방법
Wang et al. A fast multiple reference frame selection algorithm based on H. 264/AVC
CN115941957A (zh) 硬件加速的视频编码
Roh et al. H. 264 transcoding of B to P slices by reusing motion vector and residual data
JP2007259206A (ja) 動画像符号化装置および動画像符号化プログラム
Chang et al. A fast fractional motion estimation algorithm and architecture for H. 264/AVC multiview video coding

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110413

Termination date: 20190617

CF01 Termination of patent right due to non-payment of annual fee