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