TWI324484B - Method for reducing calculation complexity of video compression standard - Google Patents

Method for reducing calculation complexity of video compression standard Download PDF

Info

Publication number
TWI324484B
TWI324484B TW95118322A TW95118322A TWI324484B TW I324484 B TWI324484 B TW I324484B TW 95118322 A TW95118322 A TW 95118322A TW 95118322 A TW95118322 A TW 95118322A TW I324484 B TWI324484 B TW I324484B
Authority
TW
Taiwan
Prior art keywords
mode
blk
block
algorithm
macroblock
Prior art date
Application number
TW95118322A
Other languages
Chinese (zh)
Other versions
TW200744385A (en
Inventor
Jiunin Guo
Jinn Shyan Wang
Jia Wei Chen
Chunhao Chang
Yihuan Ouyang
Original Assignee
Jiunin Guo
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 Jiunin Guo filed Critical Jiunin Guo
Priority to TW95118322A priority Critical patent/TWI324484B/en
Publication of TW200744385A publication Critical patent/TW200744385A/en
Application granted granted Critical
Publication of TWI324484B publication Critical patent/TWI324484B/en

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Description

1324484 九、發明說明: 【發明所屬之技術領域】 本發明是有關於一種降低視訊壓縮標準中計算複雜 度之演算法,且特別是有關於一種視訊壓縮標準中以空間 關連性為基礎的降低計算複雜度之演算法。 【先前技術】 H.264/AVC是國際電信聯盟遠程通信標準化組(ITU-T) 内的視訊編瑪專家組(Video Coding Experts Group ; VCEG) 與國際標準組織(ISO)/國際電工協會(IEC)下的動態圖像專 家組(Moving Picture Experts Group ; MPEG)共同組成的聯 合視訊組(Joint Video Team ; JVT)所制訂的視訊壓縮標 準。其中H.264係依據ITU-T以H.26x系列為標準之命名, 而AVC則為ISO/IEC MPEG的稱呼。此標準的第一版最終 草案(Final Draft)已於2003年5月完成。 H.;264/AVC最初的主要目標是希望在近似的視訊品質 下,能較先前的相關技術(比如MPEG-2或者H.263),提供 更高的壓縮率;同時,不需增加很多複雜的編解碼工具, 使得硬體難以實現。另一個目標是可適應性,即該視訊壓 縮標準可在很廣泛的範圍内使用(包含高位元率與低位元 率的視訊,以及不同的視訊解析度),並且能在各種網路和 系統上(如多媒體行動電話系統或高畫質電視)工作。 H.264/AVC内部編碼分為幾個重要部份:内部預測 (Intra Prediction),轉換與量化(DCT/Q/IQ/IDCT),上下文 6 1324484 自適應的可變長度編碼(Context Adaptive Variable Length1324484 IX. Description of the Invention: [Technical Field] The present invention relates to an algorithm for reducing computational complexity in a video compression standard, and more particularly to a reduction calculation based on spatial correlation in a video compression standard The algorithm of complexity. [Prior Art] H.264/AVC is the Video Coding Experts Group (VCEG) and the International Organization for Standardization (ISO)/International Electrotechnical Commission (IEC) in the International Telecommunication Union Telecommunication Standardization Group (ITU-T) The video compression standard developed by the Joint Video Team (JVT), which is composed of Moving Picture Experts Group (MPEG). Among them, H.264 is based on ITU-T's H.26x series, and AVC is the name of ISO/IEC MPEG. The first draft of this standard, the Final Draft, was completed in May 2003. H.; 264/AVC's initial main goal is to provide higher compression ratios than previous related technologies (such as MPEG-2 or H.263) under approximate video quality. At the same time, there is no need to add a lot of complexity. The codec tool makes the hardware difficult to implement. Another goal is adaptability, that is, the video compression standard can be used in a wide range (including high bit rate and low bit rate video, and different video resolution), and can be used on various networks and systems. Work (such as multimedia mobile phone systems or high definition TV). H.264/AVC internal coding is divided into several important parts: Intra Prediction, conversion and quantization (DCT/Q/IQ/IDCT), context 6 1324484 Adaptive variable length coding (Context Adaptive Variable Length)

Coding,CAVLC)、與模式決定(Mode Decision)等部分。备 進行靜態影像壓縮(I-Frame coding)時,其中内部預測與模 式決定兩部分大約佔了内部編碼70%的計算量。 這是由於内部預測必須產生13種不同的亮度預測 值、另外也必須產生4種不同的彩度預測值。為了算出最 小的失真度(Rate-Distortion Cost),每種預測值必須與原先 影像做相減,再經過2維Hadamard轉換,將轉換後的係 數累加’以決定最佳的預測模式。減少預測模式的計算量 將可以大幅的改善整體系統的效能,而減少預測模式相對 的也會影響到影像的晝質。本發明提出一套有效的演算 法,透過準確的預測模式,僅在些微影像失真的狀況下, 可減少大量的計算複雜度。 【發明内容】 為解決上述和其他的問題’並且達到本發明所主張的 技術優點,本發明提供一種視訊壓縮標準中快速編碼之演 算法》 因此本發明的目的就疋在提供一種在視訊壓縮標準 中加速巨集區塊(Macroblock)預測流程之演算法,用以降 低單位時間内因視訊壓縮所產生的亮度(Luminance)計算 量° 本發明的另一目的是在提供一種在視訊壓縮標準中 加速彩度(Chroma)失真度預測流程之演算法,用以降低單 7Coding, CAVLC), Mode Decision, etc. For I-Frame coding, the internal prediction and mode decision are about 70% of the internal code. This is because internal predictions must produce 13 different brightness predictions and must also produce 4 different chroma predictions. In order to calculate the minimum distortion (Rate-Distortion Cost), each predicted value must be subtracted from the original image, and then subjected to a 2-dimensional Hadamard conversion to accumulate the converted coefficients to determine the optimal prediction mode. Reducing the amount of computation in the prediction mode will greatly improve the overall system performance, while reducing the prediction mode will also affect the quality of the image. The present invention proposes an effective algorithm, which can reduce a large amount of computational complexity only under the condition of slight image distortion through an accurate prediction mode. SUMMARY OF THE INVENTION To solve the above and other problems 'and to achieve the technical advantages claimed by the present invention, the present invention provides an algorithm for fast encoding in a video compression standard. Therefore, the object of the present invention is to provide a video compression standard. An algorithm for predicting the process of the Macroblock prediction process to reduce the amount of Luminance calculations due to video compression per unit time. Another object of the present invention is to provide an acceleration color in a video compression standard. Chroma distortion prediction process algorithm to reduce the single 7

Claims (1)

1324484 十、申請專利範圍: 1. 一種降低視訊壓縮標準中計算複雜度之演算法,包 含下列步驟: 執行一内部4x4巨集區塊搜尋演算法以加速巨集區塊 之亮度預測流程’該内部4x4巨集區塊搜尋演算法包含一 狀態關連性搜尋模式,該狀態關連性搜尋模式包含下列搜 尋狀況: 若一影像之一上方區塊與一左方區塊皆不可獲得時,僅進 行模式2(DC模式)之計算; 若僅該上方區塊可獲得時,則進行模式〇、模式2、 模式3與模式7之計算; 若僅該左方區塊可獲得時,則進行模式丨、模式2 與模式8之計算;以及 若該上方區塊與該左方區塊皆可獲得時,則進行一 半域搜尋模式與一前後關連性搜尋模式。 2·如申明專利範圍第1項所述之降低視訊壓縮標準中 計算複雜度之演算法,該半域搜尋模式包括於該上方區塊 被以模式2(DC模式)進行計算時,僅執行模式〇、模式i、 模式2、模式3與模式4。 3.如申吻專利範圍第1項所述之降低視訊壓縮標準中 計算複雜度之演算法,該半域搜尋模式包括於該左方區塊 15 以模式2(DC料)進行計算時 模式2、模式3與模式4。 僅執行模式0、模式1324484 X. Patent application scope: 1. An algorithm for reducing the computational complexity in the video compression standard, comprising the following steps: Performing an internal 4x4 macroblock search algorithm to accelerate the luminance prediction process of the macroblock' The 4x4 macroblock search algorithm includes a state-related search mode, which includes the following search conditions: If one of the upper and the left blocks of an image is not available, only mode 2 is performed. (DC mode) calculation; if only the upper block is available, perform mode 〇, mode 2, mode 3 and mode 7 calculation; if only the left block is available, mode 丨, mode 2 and mode 8 calculation; and if both the upper block and the left block are available, a half domain search mode and a context search mode are performed. 2. The algorithm for reducing the computational complexity in the video compression standard as described in claim 1 of the patent scope, the half domain search mode includes only the execution mode when the upper block is calculated in mode 2 (DC mode) 〇, mode i, mode 2, mode 3 and mode 4. 3. The algorithm for reducing the computational complexity in the video compression standard as described in claim 1, wherein the half-domain search mode is included in the left block 15 when the mode 2 (DC material) is used for mode 2 Mode 3 and Mode 4. Execute only mode 0, mode ▲ 4.如巾4專利範®第1項所述之降低視訊>1縮標準令 :算複雜度之凟算法,該半域搜尋模式包括於該上方區塊 與該左方㈣簡式2(DC模式)進行計算時, 〇'模式i、模式2、模式3與模式4β 、式 ▲ 5.如申請專利_第丨項所述之降低視訊壓縮標準中 汁算複雜度之演算法,該前後關連性搜尋模式包括於該上 方區塊與該左方區塊皆不被以模式2(DC模式)進行計算 時’僅#算與該上方區塊及該左方區塊空間方向性相似 預測模式》 /如_請專利範圍第1項所述之降低視訊壓縮標準中 計算複雜度之演算法,更包括執行-内部16x16巨集區塊 搜尋演算法以加速巨集區塊之亮度預測流程,該内部 16x16巨集區塊搜尋演算法包含對該影像之16個巨集區塊 計算絕對轉換差值之*(SATD),以取得各該巨集區塊之失 真度(cost),計算絕對轉換差值之和(SATD)包括下列步驟: 取得各該巨集區塊之16個轉換餘數(Transf()med Residues); 對各該巨集區塊進行Hadamard轉換;以及 ^月)¾修正替換頁 累加轉換後輸出值之絕對值,以算出16個巨集區塊 的絕對轉換差值之和(SATD)。 7. 如申請專利範圍第1項所述之降低視訊壓縮標準中 计算複雜度之演算法,更包括執行一彩度搜尋演算法以加 速巨集區塊之彩度預測流程,該彩度搜尋演算法包含計算 -U巨集區塊之失真度及—v巨集區塊之失真度,再累加 兩者以代表内部彩度巨集區塊之失真度; 其中,計算該U巨集區塊之失真度係僅計算該影像最 左上方之一區塊之失真度以代表該ϋ巨集區塊之失真度; 以及 計异該V巨|區塊之失真度係僅計算該影|最左上方 之一區塊之失真度以代表該V巨集區塊之失真度。 8. 如申叫專利範圍第.7項所述之降低視訊壓縮標準中 计算複雜度之演算法,其中該^^巨集區塊包含4種預測模 式。 9.如申明專利範圍第7項所述之降低視訊壓縮標準中 计算複雜度之演算法,其中該1]巨集區塊包含4個4χ4區 塊0 10·如申明專利範圍第7項所述之降低視訊壓縮標準 中计算複雜度之演算法’其中該V巨集區塊包含4種預 17 1324484 測模式。 11.如申請專利範圍第7項所述之降低視訊壓縮標 準中計算複雜度之演算法,其中該V巨隼區塊包含4個4x4 區塊。 18 1324484 11 月^^修正本 狀態關聯性搜尋表 上方區塊 不可獲得 可獲得 左方區塊 不可獲得 模式2 模式0, 2, 3, 7 可獲得 1,2,8 半域搜尋及 上下文關聯性搜尋 12 13 半域搜尋表 上方區塊(可獲得) 模式2(DC) 其他預測模式 左方區塊 (可獲得) 模式2(DC) 0,1,2, 3,4 0,1,2, 3,4 其他 預測模式 0,1,2, 3,4 上下文關聯性搜尋▲ 4. The reduced video > 1 standardization command described in item 1 of the towel 4 patent fan®: the algorithm for calculating the complexity, the half domain search mode is included in the upper block and the left side (four). (DC mode) when calculating, 〇 'mode i, mode 2, mode 3 and mode 4β, ▲ 5. The algorithm for reducing the complexity of the juice compression standard in the video compression standard as described in the patent application _ , The contextual correlation search mode includes when the upper block and the left block are not calculated by the mode 2 (DC mode), and the spatial orientation similarity prediction between the upper block and the left block is calculated. Mode / / _ _ patent scope of the first to reduce the computational complexity of the video compression algorithm, including the implementation - internal 16x16 macro block search algorithm to accelerate the brightness prediction process of the macro block, The internal 16x16 macroblock search algorithm includes calculating the absolute conversion difference value (SATD) of the 16 macroblocks of the image to obtain the distortion of each macroblock, and calculating the absolute conversion. The sum of differences (SATD) includes the following steps: Get each of the macros 16 conversion remainders of the block (Transf() med Residues); Hadamard conversion for each macro block; and ^month) 3⁄4 correction replacement page absolute value of the output value after the cumulative conversion to calculate 16 macroblocks The sum of the absolute conversion differences (SATD). 7. The algorithm for reducing the computational complexity in the video compression standard as described in claim 1 of the patent application, further comprising performing a chroma search algorithm to accelerate the chroma prediction process of the macro block, the chroma search algorithm The method includes calculating the distortion of the -U macroblock and the distortion of the -v macroblock, and then adding the two to represent the distortion of the internal chroma macroblock; wherein, calculating the U macroblock The distortion is calculated only by the distortion of one of the top leftmost blocks of the image to represent the distortion of the macroblock; and the distortion of the V-mega block is calculated only for the shadow | top left The distortion of one of the blocks represents the degree of distortion of the V macroblock. 8. The algorithm for reducing computational complexity in video compression standards as described in clause 7. of the patent scope, wherein the ^^ macroblock contains four prediction modes. 9. The algorithm for reducing the computational complexity in the video compression standard according to claim 7 of the patent scope, wherein the 1] macroblock comprises 4 4χ4 blocks 0 10· as described in claim 7 The algorithm for reducing the computational complexity in the video compression standard 'where the V macro block contains 4 pre- 17 1324484 test modes. 11. The algorithm for reducing computational complexity in a video compression standard as described in claim 7 wherein the V-major block comprises four 4x4 blocks. 18 1324484 November ^^Correct this state The correlation block is not available in the upper block. The left block is not available. Mode 2 Mode 0, 2, 3, 7 Get 1, 2, 8 half-domain search and context correlation Search 12 13 Half Domain Search Table Upper Block (Available) Mode 2 (DC) Other Prediction Mode Left Block (Available) Mode 2 (DC) 0,1,2, 3,4 0,1,2, 3,4 Other prediction modes 0, 1, 2, 3, 4 Context-sensitive search 1324484 οο 2037 205781 2816 01234 28137 281465 281540 28164 281703 oo 卜 2037 _1 20573 2703168 01234 2703 2703465 270354 2703614 2703 270381 CO 2037 2057614 26148 01234 261437 26145 261450 2614 2614703 26148 ΙΟ 2037 20574 2540168 01234 254037 25406 2540 254061 254073 254081 寸 2037 205746 246518 01234 246537 2465 24650 24651 2465703 246581 CO 2037 23705 237168 01234 237465 237540 237614 2370 | 23781 CNJ 2037 01234 01234 01234 01234 01234 01234 01234 01234 01234 ▼-Η 2037 2057168 2168 01234 237168 216845 2168540 21684 2168703 2168 CD 2037 2057 2057168 01234 20573 205746 20574 2057614 20573 205781 不可獲得 〇〇 C<l oo 03 i-H OO CNJ OO Cs3 OO oa OO CNJ r-H OO oa i—H OO CNJ r~-J oo 03 PQ 不可獲得 cz> 03 CO LO CO 卜 OO 凾Z浓 1324484 31 32 4x4 blk 0 4x4 blk 1 4x4 blk 2 4x4 blk 3 4x4 blk 4 4x4 blk 5 4x4 blk 6 4x4 blk 7 4x4 blk 8 4x4 blk 9 4x4 blk 10 4x4 blk 11 4x4 blk 12 4x4 blk 13 4x4 blk 14 4x4 blk 15 trO trl tr2 tr3 tr4 tr5 tr6 tr7 tr8 tr9 trlO trll trl2 trl3 trl4 trl5 4x4區塊 Luma 16x16巨集區塊33 15 SATD 4X4 blk Σ tr 34 15 COST, 16MB =4X4 blk=0 Y^SATD 4X4 blk 1324484。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 。 01234 246537 2465 24650 24651 2465703 246581 CO 2037 23705 237168 01234 237465 237540 237614 2370 | 23781 CNJ 2037 01234 01234 01234 01234 01234 01234 01234 01234 01234 ▼-Η 2037 2057168 2168 01234 237168 216845 2168540 21684 2168703 2168 CD 2037 2057 2057168 01234 20573 205746 20574 2057614 20573 205781 Not available &C<l oo 03 iH OO CNJ OO Cs3 OO oa OO CNJ rH OO oa i-H OO CNJ r~-J oo 03 PQ Not available cz> 03 CO LO CO Bu OO 凾Z-rich 1324484 31 32 4x4 blk 0 4x4 blk 1 4x4 blk 2 4x4 blk 3 4x4 blk 4 4x4 blk 5 4x4 blk 6 4x4 blk 7 4x4 blk 8 4x4 blk 9 4x4 blk 10 4x4 blk 11 4x4 blk 12 4x4 blk 13 4x4 blk 14 4x4 blk 15 trO trl tr2 tr3 tr4 tr5 tr6 tr7 tr8 Tr9 trlO trll trl2 trl3 trl4 trl5 4x4 block Luma 16x16 macro block 33 15 SATD 4X4 blk Σ tr 34 15 COST, 16MB =4X4 blk=0 Y^SATD 4X4 blk 1324484 41 4x4 blkO 4x4 blkl 4x4 blk2 4x4 blk3 U 8x8巨集區塊 42 4x4 blkO 4x4 blkl 4x4 blk2 4x4 blk3 V 8x8巨集區塊 43 COST Chroma COST, + COSTv SATD + SATD 4x4 blkO 4x4 blkO41 4x4 blkO 4x4 blkl 4x4 blk2 4x4 blk3 U 8x8 macroblock 42 4x4 blkO 4x4 blkl 4x4 blk2 4x4 blk3 V 8x8 macro block 43 COST Chroma COST, + COSTv SATD + SATD 4x4 blkO 4x4 blkO
TW95118322A 2006-05-23 2006-05-23 Method for reducing calculation complexity of video compression standard TWI324484B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW95118322A TWI324484B (en) 2006-05-23 2006-05-23 Method for reducing calculation complexity of video compression standard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW95118322A TWI324484B (en) 2006-05-23 2006-05-23 Method for reducing calculation complexity of video compression standard

Publications (2)

Publication Number Publication Date
TW200744385A TW200744385A (en) 2007-12-01
TWI324484B true TWI324484B (en) 2010-05-01

Family

ID=45074172

Family Applications (1)

Application Number Title Priority Date Filing Date
TW95118322A TWI324484B (en) 2006-05-23 2006-05-23 Method for reducing calculation complexity of video compression standard

Country Status (1)

Country Link
TW (1) TWI324484B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI499283B (en) * 2012-07-05 2015-09-01 Ind Tech Res Inst Video compression method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI499283B (en) * 2012-07-05 2015-09-01 Ind Tech Res Inst Video compression method and device

Also Published As

Publication number Publication date
TW200744385A (en) 2007-12-01

Similar Documents

Publication Publication Date Title
Yu et al. Overview of AVS-video: tools, performance and complexity
US9332275B2 (en) Methods, apparatuses, and programs for encoding and decoding picture
WO2005062622A1 (en) Image decoding device, image decoding method, and image decoding program
JP2009544225A (en) Parallel processing unit for video compression
KR20050074286A (en) Image encoding device, image encoding method and image encoding program
WO2009134642A2 (en) Apparatus and method for computationally efficient intra prediction in a video coder
KR20060090749A (en) Method and device for coding a video picture in inter or intra mode
US20070133689A1 (en) Low-cost motion estimation apparatus and method thereof
EP2661079A1 (en) H264 transcoding method by multiplexing code stream information
US20160127731A1 (en) Macroblock skip mode judgement method for encoder
WO2001006793A1 (en) Drift-free transcoder and related method
US20070009040A1 (en) Moving picture coding apparatus
TWI324484B (en) Method for reducing calculation complexity of video compression standard
Wang et al. Performance analysis of hardware oriented algorithm modifications in H. 264
KR20010045132A (en) Method for intra frame encoding
Wong et al. Fast mode decision and motion estimation for H. 264 (FMDME)
CN111263158A (en) Multi-transformation-core rapid processing method based on spatial correlation
KR100498445B1 (en) Image encoding method and apparatus for improving performance
Chang et al. Fast integer motion estimation for H. 264 video coding standard
JP2012070152A (en) Video encoding device, video encoding method and program
JP2002374531A (en) Decoder
TWI477152B (en) Method for determining size of adaptive window applied in motion estimation and application thereof
Wang et al. Performance analysis of hardware oriented algorithm modification in H. 264
Yoon et al. Hierarchical integer pixel and adaptive fractional pixel motion estimation
JP2003061099A (en) Motion detection method in encoder

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees