TWI458268B - Parallel based 5 bypass bin cabac decoder - Google Patents

Parallel based 5 bypass bin cabac decoder Download PDF

Info

Publication number
TWI458268B
TWI458268B TW099107667A TW99107667A TWI458268B TW I458268 B TWI458268 B TW I458268B TW 099107667 A TW099107667 A TW 099107667A TW 99107667 A TW99107667 A TW 99107667A TW I458268 B TWI458268 B TW I458268B
Authority
TW
Taiwan
Prior art keywords
multiplexer
output
decoder
circuit
input
Prior art date
Application number
TW099107667A
Other languages
Chinese (zh)
Other versions
TW201134106A (en
Inventor
Chien Chang Lin
Original Assignee
Himax Media Solutions 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 Himax Media Solutions Inc filed Critical Himax Media Solutions Inc
Priority to TW099107667A priority Critical patent/TWI458268B/en
Publication of TW201134106A publication Critical patent/TW201134106A/en
Application granted granted Critical
Publication of TWI458268B publication Critical patent/TWI458268B/en

Links

Landscapes

  • Error Detection And Correction (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Description

並聯的五旁路位元全文自適應二進制算術編碼解碼器Parallel five-pass bit full-text adaptive binary arithmetic codec

本發明係有關於一種多位元全文自適應二進制算術編碼的解碼器,尤指一種並聯的五旁路位元全文自適應二進制算術編碼解碼器。The invention relates to a multi-bit full-text adaptive binary arithmetic coding decoder, in particular to a parallel five-pass bit full-text adaptive binary arithmetic coding decoder.

全文自適應二進制算術編碼(Context-adaptive Binary Arithmetic Coding,CABAC)解碼演算法是利用基本的連續運算去計算用於情境變數的範圍、偏移和查閱表。全文自適應二進制算術編碼解碼的資料相依特性,導致在即時處理高清晰度影像時,全文自適應二進制算術編碼解碼須做每秒30億次的運算,因此使全文自適應二進制算術編碼解碼很難達到高速解碼。基本上,全文自適應二進制算術編碼之位元解碼器包含一決定位元解碼器和一旁路位元解碼器,透過實驗,可知所有位元中的80%-90%位元被編碼成決定位元,而其餘位元被編碼成旁路位元。雖然Jahanghir等發明人的美國專利第7,262,722號已揭露使用利用平行架構改善全文自適應二進制算術編碼的效能的方法,但全文自適應二進制算術編碼解碼演算法不像其他H.264/AVC標準之視訊解碼工具,要利用平行架構去改善全文自適應二進制算術編碼的效能並不容易。因為全文自適應二進制算術編碼解碼係使用連續順序的解碼,然而連續順序的解碼會使得全文自適應二進制算術編碼解碼成為H.264/AVC標準主要的瓶頸。The Context-adaptive Binary Arithmetic Coding (CABAC) decoding algorithm uses basic continuous operations to calculate ranges, offsets, and look-up tables for context variables. Full-text adaptive binary arithmetic coding and decoding data dependent characteristics, resulting in full-time adaptive binary arithmetic coding decoding must be 3 billion operations per second when processing high-definition images in real time, thus making full-text adaptive binary arithmetic coding and decoding difficult Achieve high speed decoding. Basically, the bit-encoding decoder of full-text adaptive binary arithmetic coding includes a decision bit decoder and a bypass bit decoder. Through experiments, it is known that 80%-90% of all bits are encoded into decision bits. Yuan, and the remaining bits are encoded as bypass bits. Although the method of using parallel architecture to improve the performance of full-text adaptive binary arithmetic coding has been disclosed in U.S. Patent No. 7,262,722 to Jahanghir et al., the full-text adaptive binary arithmetic coding decoding algorithm is not like the video of other H.264/AVC standards. Decoding tools, it is not easy to use parallel architecture to improve the performance of full-text adaptive binary arithmetic coding. Because full-text adaptive binary arithmetic coding and decoding uses sequential sequential decoding, continuous sequential decoding makes full-text adaptive binary arithmetic coding decoding a major bottleneck in the H.264/AVC standard.

本發明之一實施例提供一種並聯的五旁路位元全文自適應二進制算術編碼解碼器,其包含一三旁路位元解碼器,適當地耦接一二旁路位元解碼器。該三旁路位元解碼器包含一第一輸入端用以接收一位元流、一第二輸入端用以接收複數個範圍值、一第一輸出端用以輸出一第一旁路位元、一第二輸出端用以輸出一第二旁路位元、一第三輸出端用以輸出一第三旁路位元和一第四輸出端用以輸出一移位位元流至該二旁路位元解碼器。該二旁路位元解碼器包含一第一輸入端用以接收該移位位元流、一第二輸入端用以接收該複數個範圍值、一第一輸出端用以輸出一第四旁路位元和一第二輸出端用以輸出一第五旁路位元。An embodiment of the present invention provides a parallel five-pass bit full-text adaptive binary arithmetic codec, which includes a three-by-pass bit decoder, suitably coupled to a two-way bypass bit decoder. The three bypass bit decoder includes a first input for receiving a bit stream, a second input for receiving a plurality of range values, and a first output for outputting a first bypass bit a second output terminal for outputting a second bypass bit, a third output terminal for outputting a third bypass bit and a fourth output terminal for outputting a shift bit stream to the second Bypass bit decoder. The second bypass bit decoder includes a first input for receiving the shift bit stream, a second input for receiving the plurality of range values, and a first output for outputting a fourth side The road bit and a second output are used to output a fifth bypass bit.

該三旁路位元解碼器另包含一第一電路具有串聯耦接的該第一輸入端、一第一加法器、一第一多工器和該第一輸出端;一第二電路並聯於該第一電路,該第二電路具有串聯耦接的該第二輸入端、該第一加法器、該第一多工器和該第一輸出端;一第三電路具有串聯耦接的該第一輸入端、一第二多工器、一第三多工器和該第二輸出端,其中該第三多工器受該第一多工器的輸出控制;一第四電路並聯於該第三電路,該第四電路具有串聯耦接的該第二輸入端、一第二加法器、該第二多工器、該第三多工器和該第二輸出端,其中該第二多工器受該第二加法器的輸出控制;一第五電路並聯於該第三電路,該第五電路具有串聯耦接的該第一輸入端、一第三加法器、一第四多工器、該第三多工器和該第二輸出端;一第六電路並聯於該第三電路,該第六電路具有串聯耦接的該第二輸入端、一第四加法器、該第四多工器、該第三多工器和該第六輸出端,其中該第四多工器受該第四加法器的輸出控制;一第七電路具有串聯耦接的該第一輸入端、一第五多工器、一第六多工器、一第七多工器和該第三輸出端;一第八電路並聯於該第七電路,該第八電路具有串聯耦接的該第一輸入端、一第五加法器、一第八多工器、一第九多工器、該第七多工器和該第三輸出端,其中該三旁路位元解碼器的該第三多工器、該第五多工器和該第九多工器皆受到一相同訊號控制。The third bypass bit decoder further includes a first circuit having the first input coupled in series, a first adder, a first multiplexer, and the first output; a second circuit coupled in parallel The first circuit has a second input coupled in series, the first adder, the first multiplexer, and the first output; a third circuit having the series coupled in series An input terminal, a second multiplexer, a third multiplexer, and the second output, wherein the third multiplexer is controlled by an output of the first multiplexer; a fourth circuit is connected in parallel with the first multiplexer a third circuit having the second input terminal coupled in series, a second adder, the second multiplexer, the third multiplexer, and the second output, wherein the second multiplexer The device is controlled by the output of the second adder; a fifth circuit is connected in parallel to the third circuit, the fifth circuit has the first input terminal, a third adder, and a fourth multiplexer coupled in series, The third multiplexer and the second output end; a sixth circuit is connected in parallel to the third circuit, the sixth circuit has a series connection a second input terminal, a fourth adder, the fourth multiplexer, the third multiplexer, and the sixth output terminal, wherein the fourth multiplexer is controlled by an output of the fourth adder a seventh circuit having the first input terminal, a fifth multiplexer, a sixth multiplexer, a seventh multiplexer, and the third output coupled in series; an eighth circuit is connected in parallel a seventh circuit, the eighth circuit having the first input end coupled in series, a fifth adder, an eighth multiplexer, a ninth multiplexer, the seventh multiplexer, and the third output The third multiplexer, the fifth multiplexer and the ninth multiplexer of the three bypass bit decoders are all controlled by the same signal.

該二旁路位元解碼器包含一第一電路具有串聯耦接的該第一輸入端、一第一加法器、一第一多工器和該第一輸出端;一第二電路並聯於該第一電路,該第二電路具有串聯耦接的該第二輸入端、該第一加法器、該第一多工器和該第一輸出端;一第三電路具有串聯耦接的該第一輸入端、一第二多工器、一第三多工器和該第二輸出端,其中該第三多工器受該第一多工器的輸出控制。The second bypass bit decoder includes a first circuit having the first input coupled in series, a first adder, a first multiplexer, and the first output; a second circuit is coupled in parallel a first circuit, the second circuit having the second input coupled in series, the first adder, the first multiplexer, and the first output; a third circuit having the first coupled in series An input terminal, a second multiplexer, a third multiplexer, and the second output, wherein the third multiplexer is controlled by an output of the first multiplexer.

該二旁路位元解碼器另包含一第四電路並聯於該第三電路,該第四電路具有串聯耦接的該第二輸入端、一第二加法器、該第二多工器、該第三多工器和該第二輸出端,其中該第二多工器受該第二加法器的輸出控制;一第五電路並聯於該第三電路,該第五電路具有串聯耦接的該第一輸入端、一第三加法器、一第四多工器、該第三多工器和該第二輸出端;一第六電路並聯於該第三電路,該第六電路具有串聯耦接的該第二輸入端、一第四加法器、該第四多工器、該第三多工器和該第六輸出端,其中該第四多工器受該第四加法器的輸出控制。The second bypass bit decoder further includes a fourth circuit connected in parallel to the third circuit, the fourth circuit having the second input terminal coupled in series, a second adder, the second multiplexer, the a third multiplexer and the second output, wherein the second multiplexer is controlled by an output of the second adder; a fifth circuit is coupled in parallel to the third circuit, the fifth circuit having the series coupled a first input end, a third adder, a fourth multiplexer, the third multiplexer and the second output end; a sixth circuit is connected in parallel to the third circuit, the sixth circuit has a series coupling The second input terminal, a fourth adder, the fourth multiplexer, the third multiplexer, and the sixth output, wherein the fourth multiplexer is controlled by an output of the fourth adder.

第1圖是決定多位元的位元解碼器(bin decoder)的視訊處理系統10之示意圖。視訊處理系統10包含一視訊源11、一視訊處理器12和一視訊顯示器13。視訊源11可以是已利用H.264/AVC標準進行壓縮及/或編碼的重製或傳輸的視訊訊號,其中H.264/AVC標準是採用全文自適應二進制算術編碼(context-based adaptive binary arithmetic coding,CABAC)技術進行壓縮及/或編碼。視訊源11輸出H.264/AVC訊號至視訊處理器12進行解碼和重組成原始視訊訊號,完成後再藉由視訊處理器12輸出至視訊顯示器13以供使用者觀看。Figure 1 is a schematic diagram of a video processing system 10 that determines a multi-bit bin decoder. The video processing system 10 includes a video source 11, a video processor 12, and a video display 13. The video source 11 may be a reproduced or transmitted video signal that has been compressed and/or encoded using the H.264/AVC standard, wherein the H.264/AVC standard uses context-based adaptive binary arithmetic coding (context-based adaptive binary arithmetic coding). The coding, CABAC) technique performs compression and/or coding. The video source 11 outputs the H.264/AVC signal to the video processor 12 for decoding and reconstitution of the original video signal, and then outputs the video signal to the video display 13 for viewing by the user.

視訊處理器12可包含一處理器、一解碼器20和一記憶體。該處理器用以控制視訊處理器12的操作;解碼器20用以對傳來的視訊訊號進行解碼;記憶體用以暫存視訊訊號、用以儲存在解碼過程中所使用的資料及/或查閱表,以及用以當作工作區,除此之外,記憶體也用作匯流區和視訊處理器12中不同部分的聯結。另外,解碼器20可包含一或多個暫存器25、40,一決定位元解碼器(decision bin decoder) 35,以及一旁路位元解碼器(bypass bin decoder) 30。The video processor 12 can include a processor, a decoder 20, and a memory. The processor is configured to control the operation of the video processor 12; the decoder 20 is configured to decode the transmitted video signal; the memory is used to temporarily store the video signal, to store the data used in the decoding process, and/or to view The table is used as a work area, and in addition, the memory is also used as a junction between the sink area and different parts of the video processor 12. Additionally, decoder 20 may include one or more registers 25, 40, a decision bin decoder 35, and a bypass bin decoder 30.

第2圖係說明適用於第1圖的視訊處理系統10的串聯的旁路位元解碼器200之示意圖。在第2圖中,一第一連結模組205的輸入端用以接收目前偏移和位元流中的n-1個位元,而第一連結模組205的輸出端耦接於一第一多工器221的第一輸入端和一第一加法器231的第一輸入端。第一連結模組205連結目前偏移和位元流中的n-1個位元後,輸出包含移位偏移和位元流中的n-1個位元的一第一結果至第一多工器221;第一加法器231的第二輸入端用以接收範圍訊號,在第一加法器231中,第一結果將扣除範圍訊號產生一第一差值,然後第一加法器231輸出第一差值至第一多工器221的第二輸入端,其中第一差值另輸入至第一多工器221的控制輸入端做為第一多工器221的控制訊號。2 is a schematic diagram showing a series of bypass bit decoders 200 applied to the video processing system 10 of FIG. In FIG. 2, the input end of a first connection module 205 is configured to receive n-1 bits in the current offset and bit stream, and the output end of the first connection module 205 is coupled to a first A first input of a multiplexer 221 and a first input of a first adder 231. The first link module 205 joins the current offset and n-1 bits in the bit stream, and outputs a first result including the shift offset and n-1 bits in the bit stream to the first The second input end of the first adder 231 is configured to receive the range signal. In the first adder 231, the first result will deduct the range signal to generate a first difference, and then the first adder 231 outputs The first difference is input to the second input end of the first multiplexer 221, wherein the first difference is further input to the control input of the first multiplexer 221 as the control signal of the first multiplexer 221.

一第二連結模組207的第一輸入端用以接收位元流中的n-2個位元,第二連結模組207的第二輸入端耦接於第一多工器221的輸出端,用以接收第一多工器221輸出的訊號,第二連結模組207的輸出端耦接於一第二多工器223的第一輸入端和一第二加法器233的第一輸入端。第二連結模組207連結第一多工器221輸出的訊號和位元流中的n-2個位元後,輸出一第二結果至第二多工器223;第二加法器233的第二輸入端用以接收第一多工器221輸出的第一差值,在第二加法器233中,第二結果將扣除第一差值產生一第二差值,然後第二加法器233輸出第二差值至第二多工器223的第二輸入端,其中第二差值另輸入至第二多工器223的控制輸入端做為第二多工器223的控制訊號。The first input end of the second connection module 207 is configured to receive n-2 bits in the bit stream, and the second input end of the second connection module 207 is coupled to the output end of the first multiplexer 221. The output of the second multiplexer 207 is coupled to the first input end of a second multiplexer 223 and the first input end of a second adder 233. . The second connection module 207 connects the signal output by the first multiplexer 221 and the n-2 bits in the bit stream, and outputs a second result to the second multiplexer 223; the second adder 233 The second input terminal is configured to receive the first difference value output by the first multiplexer 221, and in the second adder 233, the second result is subtracted from the first difference value to generate a second difference value, and then the second adder 233 outputs The second difference is input to the second input of the second multiplexer 223, and the second difference is further input to the control input of the second multiplexer 223 as the control signal of the second multiplexer 223.

一第三連結模組209的第一輸入端用以接收位元流中的n-3個位元,第三連結模組209的第二輸入端耦接於第二多工器223的輸出端,用以接收第二多工器223輸出的訊號,第三連結模組209的輸出端耦接於一第三多工器225的第一輸入端和一第三加法器235的第一輸入端。第三連結模組209連結第二多工器223輸出的訊號和位元流中的n-3個位元後,輸出一第三結果至第三多工器225;第三加法器235的第二輸入端用以接收第二多工器223輸出的第二差值,在第三加法器235中,第三結果將扣除第二差值產生一第三差值,然後第三加法器235輸出第三差值至第三多工器225的第二輸入端,其中第三差值另輸入至第三多工器225的控制輸入端做為第二多工器223的控制訊號。The first input end of the third connection module 209 is configured to receive n-3 bits in the bit stream, and the second input end of the third connection module 209 is coupled to the output end of the second multiplexer 223. The output of the third connection module 209 is coupled to the first input end of a third multiplexer 225 and the first input end of a third adder 235. . The third connection module 209 connects the signal output by the second multiplexer 223 and the n-3 bits in the bit stream, and outputs a third result to the third multiplexer 225; the third adder 235 The second input terminal is configured to receive the second difference value output by the second multiplexer 223. In the third adder 235, the third result is subtracted from the second difference value to generate a third difference value, and then the third adder 235 outputs The third difference is input to the second input of the third multiplexer 225, wherein the third difference is further input to the control input of the third multiplexer 225 as the control signal of the second multiplexer 223.

一第四連結模組211的第一輸入端用以接收位元流中的n-4個位元,第四連結模組211的第二輸入端耦接於第三多工器225的輸出端,用以接收第三多工器225輸出的訊號,第四連結模組211的輸出端耦接於一第四多工器227的第一輸入端和一第四加法器237的第一輸入端。第四連結模組211連結第三多工器225輸出的訊號和位元流中的n-4個位元後,輸出一第四結果至第四多工器227;第四加法器237的第二輸入端用以接收第三多工器225輸出的第三差值,在第四加法器237中,第四結果將扣除第三差值產生一第四差值,然後第四加法器237輸出第四差值至第四多工器227的第二輸入端,其中第四差值另輸入至第四多工器227的控制輸入端做為第四多工器227的控制訊號。The first input end of the fourth connection module 211 is configured to receive n-4 bits in the bit stream, and the second input end of the fourth connection module 211 is coupled to the output end of the third multiplexer 225. The output of the fourth connection module 211 is coupled to the first input end of a fourth multiplexer 227 and the first input end of a fourth adder 237. . The fourth connection module 211 connects the signal output by the third multiplexer 225 and the n-4 bits in the bit stream, and outputs a fourth result to the fourth multiplexer 227; the fourth adder 237 The second input terminal is configured to receive the third difference value output by the third multiplexer 225. In the fourth adder 237, the fourth result is subtracted from the third difference value to generate a fourth difference value, and then the fourth adder 237 outputs The fourth difference is to the second input of the fourth multiplexer 227, wherein the fourth difference is further input to the control input of the fourth multiplexer 227 as the control signal of the fourth multiplexer 227.

如第2圖所示,串聯過程可依設計考量無限延伸。另外,也應明瞭,每循環旁路位元解碼器的數目和串聯鏈的長度(第2圖虛線所示的關鍵路徑)直接相關。As shown in Figure 2, the series process can be extended infinitely depending on design considerations. In addition, it should be understood that the number of bypass bit decoders per cycle is directly related to the length of the series chain (the critical path shown by the dashed line in Fig. 2).

請參照第3圖。第3圖係本發明的一實施例說明並聯的二旁路位元解碼器300的示意圖。如第3圖所示,二旁路位元解碼器300包含一BYPASS1_A 305和一BYPASS2_B 350。BYPASS1_A 305與BYPASS2_B 350一起達成每循環解碼二旁路位元的結果。Please refer to Figure 3. Figure 3 is a schematic diagram showing a parallel two-pass bit decoder 300 in accordance with an embodiment of the present invention. As shown in FIG. 3, the second bypass bit decoder 300 includes a BYPASS1_A 305 and a BYPASS2_B 350. BYPASS1_A 305 and BYPASS2_B 350 together achieve the result of decoding the two bypass bits per cycle.

在BYPASS1_A 305中,BYPASS1_A 305的第一輸入端耦接於一多工器315的第一輸入端和一加法器310的第一輸入端,用以接收由一移位偏移值和位元流中的4個位元連結後所產生一第一連結值,BYPASS1_A 305的第二輸入端耦接於加法器310的第二輸入端,用以接收範圍值,BYPASS1_A 305的輸出端耦接於多工器315的輸出端。在加法器310中,第一連結值將扣除由加法器310的第二輸入端所接收之範圍值,然後多工器315的第二輸入端接收加法器310輸出的一差值。而多工器315的輸出端用以輸出bin1和offset1,亦即BYPASS1_A 305的輸出端輸出bin1和offset1。In the BYPASS1_A 305, the first input end of the BYPASS1_A 305 is coupled to the first input end of a multiplexer 315 and the first input end of an adder 310 for receiving a shift offset value and a bit stream. The first input value is generated after the four bits are connected, and the second input end of the BYPASS1_A 305 is coupled to the second input end of the adder 310 for receiving the range value, and the output end of the BYPASS1_A 305 is coupled to the The output of the tool 315. In adder 310, the first concatenated value will be subtracted from the range value received by the second input of adder 310, and then the second input of multiplexer 315 receives a difference output by adder 310. The output of the multiplexer 315 is used to output bin1 and offset1, that is, the output of BYPASS1_A 305 outputs bin1 and offset1.

在BYPASS2_B 350中,BYPASS2_B 350的第一輸入端用以接收由一偏移二位元值和位元流中的第三和第四位元連結後所產生一第二連結值,BYPASS2_B 350的第二輸入端用以接收範圍值,BYPASS2_B 350的輸出端耦接於多工器390的輸出端。In BYPASS2_B 350, the first input of BYPASS2_B 350 is used to receive a second link value generated by an offset two-bit value and a third and fourth bit in the bit stream, BYPASS2_B 350 The two inputs are used to receive the range value, and the output of the BYPASS2_B 350 is coupled to the output of the multiplexer 390.

一多工器380的第一輸入端和一第一加法器365的第一輸入端耦接於BYPASS2_B 350的第一輸入端用以接收第二連結值。在第一加法器365中,第二連結值扣除第一加法器365的第二輸入端所接收的範圍值,產生一第一結果差值。多工器380的第二輸入端和控制輸入端耦接於第一加法器365的輸出端,用以接收第一結果差值,根據第一結果差值是否大於一預定值,例如零,去決定切換多工器380輸出的訊號。一第二加法器360的第一輸入端耦接於BYPASS2_B 350的第一輸入端用以接收第二連結值。在第二加法器360中,第二連結值扣除第二加法器360的第二輸入端所接收之二位元的範圍值,產生一第二結果差值。多工器385的第一輸入端耦接於第二加法器360的輸出端,用以接收第二結果差值。一第三加法器355的第一輸入端耦接於BYPASS2_B 350的第一輸入端用以接收第二連結值。在一第三加法器355中,第二連結值扣除第三加法器355的第二輸入端所接收之三位元的範圍值,產生一第三結果差值。多工器385的第二輸入端和控制輸入端耦接於第三加法器355的輸出端,用以接收第三結果差值,根據第三結果差值是否大於一預定值,例如零,去決定切換多工器385輸出的訊號。一多工器390的第一輸入端接收多工器380輸出的訊號,第二輸入端接收多工器385輸出的訊號,控制輸入端接收BYPASS1_A 305的多工器315輸出的訊號。根據BYPASS1_A 305的多工器315輸出的訊號是否大於一預定值,例如零,去控制多工器390輸出的訊號。而多工器390的輸出端用以輸出bin2和offset2,亦即BYPASS2_B 350的輸出端輸出bin2和offset2。A first input of a multiplexer 380 and a first input of a first adder 365 are coupled to the first input of the BYPASS2_B 350 for receiving the second link value. In the first adder 365, the second link value is subtracted from the range value received by the second input of the first adder 365 to generate a first result difference. The second input end of the multiplexer 380 and the control input end are coupled to the output end of the first adder 365 for receiving the first result difference, according to whether the first result difference is greater than a predetermined value, such as zero, It is decided to switch the signal output by the multiplexer 380. A first input end of the second adder 360 is coupled to the first input end of the BYPASS2_B 350 for receiving the second link value. In the second adder 360, the second link value is subtracted from the range value of the two bits received by the second input of the second adder 360 to generate a second result difference. The first input end of the multiplexer 385 is coupled to the output of the second adder 360 for receiving the second resulting difference. A first input end of the third adder 355 is coupled to the first input end of the BYPASS2_B 350 for receiving the second link value. In a third adder 355, the second link value is subtracted from the range value of the three bits received by the second input of the third adder 355 to generate a third result difference. The second input end of the multiplexer 385 and the control input end are coupled to the output end of the third adder 355 for receiving the third result difference, according to whether the third result difference is greater than a predetermined value, such as zero, It is decided to switch the signal output by the multiplexer 385. The first input end of a multiplexer 390 receives the signal output from the multiplexer 380, the second input receives the signal output from the multiplexer 385, and the control input receives the signal output from the multiplexer 315 of the BYPASS1_A 305. The signal output from the multiplexer 390 is controlled according to whether the signal output from the multiplexer 315 of the BYPASS1_A 305 is greater than a predetermined value, such as zero. The output of the multiplexer 390 is used to output bin2 and offset2, that is, the output of BYPASS2_B 350 outputs bin2 and offset2.

一二旁路位元解碼器和一三旁路位元解碼器的設計理念是相同的。根據以下方程式:The design concept of the one-two bypass bit decoder and the one-by-three bypass bit decoder is the same. According to the following equation:

Off’1=offset<<1+stream[4]或offset<<1+stream[4]-range(1)Off’1=offset<<1+stream[4] or offset<<1+stream[4]-range(1)

Off’2=Off’1<<1+stream[3]或Off’1<<1+stream[3]-range(2)Off'2=Off’1<<1+stream[3] or Off’1<<1+stream[3]-range(2)

將Off’1代入到方程式(2)可得Substituting Off'1 into equation (2)

Off’2={(offset<<1+stream[4])<<1+stream[3]或(offset<<1+stream[4]-range)<<1+stream[3]或{(offset<<1+stream[4])<<1+stream[3]}-range或(offset<<1+stream[4]-range)<<1+stream[3]-rangeOff'2={(offset<<1+stream[4])<<1+stream[3] or (offset<<1+stream[4]-range)<<1+stream[3] or {(offset <<1+stream[4])<<1+stream[3]}-range or (offset<<1+stream[4]-range)<<1+stream[3]-range

Off’2=offset<<2+stream[4:3]或offset<<2+stream[4:3]-2*range或offset<<2+stream[4:3]-1*range或offset<<2+stream[4:3]-3*rangeOff'2=offset<<2+stream[4:3] or offset<<2+stream[4:3]-2*range or offset<<2+stream[4:3]-1*range or offset< <2+stream[4:3]-3*range

因此,可藉由off’1(bin1)選擇Off’2(bin2),產生比串聯架構更快的時脈。Therefore, Off'2 (bin2) can be selected by off'1 (bin1) to generate a clock faster than the serial architecture.

請參照第4圖,第4圖係本發明的另一實施例說明一並聯的三旁路位元解碼器400的示意圖。如第4圖所示,三旁路位元解碼器400包含一BYPASS1a 405、一BYPASS2a 420和一BYPASS3 450。BYPASS1a 405和第3圖的BYPASS1_A 305一樣有相對應的元件和功能,其中BYPASS1a 405的第一輸入端和BYPASS1_A 305的第一輸入端一樣,係用以接收由一移位偏移值和位元流中的4個位元連結後所產生第一連結值,BYPASS1a 405的第二輸入端和BYPASS1_A 305的第二輸入端一樣,係用以接收範圍值,BYPASS1a 405的輸出端和BYPASS1_A 305的輸出端一樣輸出bin1和offset1。第4圖的加法器410對應第3圖的加法器310,第4圖的多工器415則對應第3圖的多工器315,因此,不再贅述加法器410和多工器415的運作過程。Please refer to FIG. 4, which is a schematic diagram of a parallel three-pass bit decoder 400 according to another embodiment of the present invention. As shown in FIG. 4, the triple bypass bit decoder 400 includes a BYPASS1a 405, a BYPASS2a 420, and a BYPASS3 450. BYPASS1a 405 has the same components and functions as BYPASS1_A 305 of Figure 3. The first input of BYPASS1a 405 is the same as the first input of BYPASS1_A 305. It is used to receive a shift offset value and a bit. The first link value generated after the four bits in the stream are connected, the second input of BYPASS1a 405 is the same as the second input of BYPASS1_A 305, and is used to receive the range value, the output of BYPASS1a 405 and the output of BYPASS1_A 305. The same output bin1 and offset1. The adder 410 of Fig. 4 corresponds to the adder 310 of Fig. 3, and the multiplexer 415 of Fig. 4 corresponds to the multiplexer 315 of Fig. 3, therefore, the operation of the adder 410 and the multiplexer 415 will not be described again. process.

BYPASS2a 420和第3圖的BYPASS2_B 350一樣有相對應的元件和功能,其中BYPASS2a 420的第一輸入端和BYPASS2_B 350的第一輸入端一樣,係用以接收由一偏移二位元值和位元流中的第三和第四位元後所產生第二連結值,BYPASS2a 420的第二輸入端和BYPASS2_B 350的第二輸入端一樣,係用以接收範圍值,BYPASS2a 420的輸出端和BYPASS2_B 350的輸出端一樣輸出bin2和offset2。此外,BYPASS2a 420的加法器426、424和422對應於BYPASS2_B 350的加法器365、360和355;BYPASS2a 420的多工器430、440和435則對應於BYPASS2_B 350的多工器380、385和390。因此,不再贅述BYPASS2a 420的運作過程。BYPASS2a 420 has the same components and functions as BYPASS2_B 350 in Figure 3. The first input of BYPASS2a 420 is the same as the first input of BYPASS2_B 350. It is used to receive an offset two bit value and bit. The second connection value generated after the third and fourth bits in the meta-stream, the second input of BYPASS2a 420 is the same as the second input of BYPASS2_B 350, and is used to receive the range value, the output of BYPASS2a 420 and BYPASS2_B The output of the 350 outputs bin2 and offset2 as well. Further, adders 426, 424, and 422 of BYPASS2a 420 correspond to adders 365, 360, and 355 of BYPASS2_B 350; multiplexers 430, 440, and 435 of BYPASS2a 420 correspond to multiplexers 380, 385, and 390 of BYPASS2_B 350. . Therefore, the operation of BYPASS2a 420 will not be described again.

現在加入BYPASS3 450用以改善第3圖的二旁路位元解碼器300成為第4圖的三旁路位元解碼器400。BYPASS3 450的第一輸入端用以接收由一移位偏移值和位元流中的第四至第二位元連結後所產生一第三連結值。BYPASS3 450的第二輸入端用以接收範圍值,BYPASS3 450的輸出端耦接於第七多工器485的輸出端。The BYPASS 3 450 is now added to improve the second bypass bit decoder 300 of FIG. 3 to become the triple bypass bit decoder 400 of FIG. The first input of the BYPASS3 450 is configured to receive a third link value generated by a shift offset value and a fourth to second bit in the bit stream. The second input of the BYPASS3 450 is used to receive the range value, and the output of the BYPASS3 450 is coupled to the output of the seventh multiplexer 485.

在BYPASS3 450中,一第一多工器470的第一輸入端、一第一加法器451的第一輸入端、一第二加法器453的第一輸入端、一第三加法器455的第一輸入端、一第四加法器457的第一輸入端、一第五加法器459的第一輸入端、一第六加法器461的第一輸入端以及一第七加法器463的第一輸入端耦接於BYPASS3 450的第一輸入端用以接收第三連結值。In BYPASS3 450, a first input end of a first multiplexer 470, a first input end of a first adder 451, a first input end of a second adder 453, and a third adder 455 An input, a first input of a fourth adder 457, a first input of a fifth adder 459, a first input of a sixth adder 461, and a first input of a seventh adder 463 The end is coupled to the first input of the BYPASS3 450 for receiving the third connection value.

在第一加法器451中,第三連結值扣除第一加法器451的第二輸入端所接收的一位元的範圍值,產生一第一差值。第一多工器470的第二輸入端和控制輸入端耦接於第一加法器451的輸出端,用以接收第一差值,根據第一差值是否大於一預定值,例如零,去決定切換第一多工器470輸出的訊號。In the first adder 451, the third link value is deducted from the range value of the one bit received by the second input terminal of the first adder 451 to generate a first difference value. The second input end of the first multiplexer 470 and the control input end are coupled to the output end of the first adder 451 for receiving the first difference, according to whether the first difference is greater than a predetermined value, such as zero, It is decided to switch the signal output by the first multiplexer 470.

在第二加法器453中,第三連結值扣除第二加法器453的第二輸入端所接收的二位元的範圍值,產生一第二差值。一第二多工器472的第一輸入端耦接於第二加法器453的輸出端,用以接收第二差值。在第三加法器455中,第三連結值扣除第三加法器455的第二輸入端所接收的三位元的範圍值,產生一第三差值。第二多工器472的第二輸入端和控制輸入端耦接於第三加法器455的輸出端,用以接收第三差值,根據第三差值是否大於一預定值,例如零,去決定切換第二多工器472輸出的訊號。In the second adder 453, the third link value is subtracted from the range value of the two bits received by the second input terminal of the second adder 453 to generate a second difference value. The first input end of the second multiplexer 472 is coupled to the output of the second adder 453 for receiving the second difference. In the third adder 455, the third link value is subtracted from the range value of the three bits received by the second input of the third adder 455 to generate a third difference. The second input end of the second multiplexer 472 and the control input end are coupled to the output end of the third adder 455 for receiving the third difference, according to whether the third difference is greater than a predetermined value, such as zero, It is decided to switch the signal output by the second multiplexer 472.

在第四加法器457中,第三連結值扣除第四加法器457的第二輸入端所接收的四位元的範圍值,產生一第四差值。一第三多工器474的第一輸入端耦接於第四加法器457的輸出端,用以接收第四差值。在第五加法器459中,第三連結值扣除第五加法器459的第二輸入端所接收的五位元的範圍值,產生一第五差值。第三多工器474的第二輸入端和控制輸入端耦接於第五加法器459的輸出端,用以接收第五差值,根據第五差值是否大於一預定值,例如零,去決定切換第三多工器474輸出的訊號。In the fourth adder 457, the third link value is deducted from the range value of the four bits received by the second input of the fourth adder 457 to generate a fourth difference value. The first input end of the third multiplexer 474 is coupled to the output of the fourth adder 457 for receiving the fourth difference. In the fifth adder 459, the third link value is subtracted from the range value of the five-bit received by the second input of the fifth adder 459 to generate a fifth difference. The second input end of the third multiplexer 474 and the control input end are coupled to the output end of the fifth adder 459 for receiving the fifth difference, according to whether the fifth difference is greater than a predetermined value, such as zero, It is decided to switch the signal output by the third multiplexer 474.

在第六加法器461中,第三連結值扣除第六加法器461的第二輸入端所接收的六位元的範圍值,產生一第六差值。一第四多工器476的第一輸入端耦接於第六加法器461的輸出端,用以接收第六差值。在第七加法器463中,第三連結值扣除第七加法器463的第二輸入端所接收的七位元的範圍值,產生一第七差值。第四多工器476的第二輸入端和控制輸入端耦接於第七加法器463的輸出端,用以接收第七差值,根據第七差值是否大於一預定值,例如零,去決定切換第四多工器476輸出的訊號。In the sixth adder 461, the third link value deducts the range value of the six-bit received by the second input terminal of the sixth adder 461 to generate a sixth difference value. A first input end of a fourth multiplexer 476 is coupled to an output of the sixth adder 461 for receiving a sixth difference. In the seventh adder 463, the third link value is subtracted from the range value of the seven-bit received by the second input of the seventh adder 463 to generate a seventh difference. The second input end of the fourth multiplexer 476 and the control input end are coupled to the output end of the seventh adder 463 for receiving the seventh difference, according to whether the seventh difference is greater than a predetermined value, such as zero, It is decided to switch the signal output by the fourth multiplexer 476.

一第五多工器480的第一輸入端接收第一多工器470輸出的訊號,第二輸入端接收第二多工器472輸出的訊號,控制輸入端接收BYPASS1a 405的多工器415輸出的訊號,根據BYPASS1a 405的多工器415輸出的訊號是否大於一預定值,例如零,去控制第五多工器480輸出的訊號。一第六多工器482的第一輸入端接收第三多工器474輸出的訊號,第二輸入端接收第四多工器476輸出的訊號,控制輸入端接收BYPASS1a 405的多工器415輸出的訊號,根據BYPASS1a 405的多工器415輸出的訊號是否大於一預定值,例如零,去控制第六多工器482輸出的訊號。一第七多工器485的第一輸入端接收第五多工器480輸出的訊號,第二輸入端接收第六多工器482輸出的訊號,控制輸入端接收BYPASS2a 420的多工器435輸出的訊號。而第七多工器485的輸出端用以輸出bin3和offset3,亦即BYPASS3 450的輸出端輸出bin3和offset3。The first input of the fifth multiplexer 480 receives the signal output by the first multiplexer 470, the second input receives the signal output by the second multiplexer 472, and the control input receives the output of the multiplexer 415 of the BYPASS1a 405. The signal is output according to whether the signal output by the multiplexer 415 of the BYPASS1a 405 is greater than a predetermined value, such as zero, to control the signal output by the fifth multiplexer 480. The first input of the sixth multiplexer 482 receives the signal output by the third multiplexer 474, the second input receives the signal output by the fourth multiplexer 476, and the control input receives the output of the multiplexer 415 of the BYPASS1a 405. The signal is controlled according to whether the signal output by the multiplexer 415 of the BYPASS1a 405 is greater than a predetermined value, such as zero, to control the signal output by the sixth multiplexer 482. The first input of the seventh multiplexer 485 receives the signal output by the fifth multiplexer 480, the second input receives the signal output by the sixth multiplexer 482, and the control input receives the output of the multiplexer 435 of the BYPASS2a 420. Signal. The output of the seventh multiplexer 485 is used to output bin3 and offset3, that is, the output of the BYPASS3 450 outputs bin3 and offset3.

請參照第5圖。第5圖係說明如何藉由耦合第4圖的三旁路位元解碼器400和第3圖的二旁路位元解碼器300去形成一並聯的五旁路位元解碼器500的示意圖。Please refer to Figure 5. Figure 5 illustrates a schematic diagram of how to form a parallel five-pass bit decoder 500 by coupling the three-pass bit decoder 400 of Figure 4 and the two-pass bit decoder 300 of Figure 3.

如第5圖所示,三旁路位元解碼器400的輸入端接收適當的位元流和範圍值,三旁路位元解碼器400的輸出端用以輸出bin1、bin2、bin3和移位位元流。然後二旁路位元解碼器300的輸入端接收移位位元流和範圍值,而二旁路位元解碼器300的輸出端用以輸出bin4和bin5。As shown in FIG. 5, the input of the triple bypass bit decoder 400 receives the appropriate bit stream and range values, and the output of the triple bypass bit decoder 400 is used to output bin1, bin2, bin3, and shift. Bit stream. The input of the second bypass bit decoder 300 then receives the shift bit stream and range values, while the output of the second bypass bit decoder 300 is used to output bin4 and bin5.

總結來說,傳統的旁路位元解碼器是一具有冗長的運算路徑以及容易實現的序列設計。本發明所提出的旁路位元解碼器能夠改善傳統的旁路位元解碼器具有冗長的運算路徑的缺點,可節省大約40%的運算時間。例如,一傳統的五旁路位元解碼器,其每循環解碼五位元的運算時間需要約6.66ns(150MHz),但本發明的五旁路位元解碼器僅需要4ns(250MHz,Fujitsu 90nm製程)。In summary, the traditional bypass bit decoder is a sequence design with a lengthy computation path and easy implementation. The bypass bit decoder proposed by the invention can improve the shortcoming of the traditional bypass bit decoder with a long operation path, and can save about 40% of the operation time. For example, a conventional five-pass bit decoder that requires about 6.66 ns (150 MHz) of decoding time per cycle to decode five bits, but the five-pass bit decoder of the present invention requires only 4 ns (250 MHz, Fujitsu 90 nm) Process).

以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。The above are only the preferred embodiments of the present invention, and all changes and modifications made to the scope of the present invention should be within the scope of the present invention.

10...視訊處理系統10. . . Video processing system

11...視訊源11. . . Video source

12...視訊處理器12. . . Video processor

13...視訊顯示器13. . . Video display

20...解碼器20. . . decoder

25、40...暫存器25, 40. . . Register

35...決定位元解碼器35. . . Decision bit decoder

30、200...旁路位元解碼器30, 200. . . Bypass bit decoder

205...第一連結模組205. . . First link module

207...第二連結模組207. . . Second link module

209...第三連結模組209. . . Third link module

211...第四連結模組211. . . Fourth link module

221、470...第一多工器221, 470. . . First multiplexer

223、472...第二多工器223, 472. . . Second multiplexer

225、474...第三多工器225, 474. . . Third multiplexer

227、476...第四多工器227, 476. . . Fourth multiplexer

480...第五多工器480. . . Fifth multiplexer

482...第六多工器482. . . Sixth multiplexer

485...第七多工器485. . . Seventh multiplexer

231、451...第一加法器231, 451. . . First adder

233、453...第二加法器233, 453. . . Second adder

235、455...第三加法器235, 455. . . Third adder

237、457...第四加法器237,457. . . Fourth adder

459...第五加法器459. . . Fifth adder

461...第六加法器461. . . Sixth adder

463...第七加法器463. . . Seventh adder

300...二旁路位元解碼器300. . . Second bypass bit decoder

305...BYPASS1_A305. . . BYPASS1_A

350...BYPASS2_B350. . . BYPASS2_B

315、380、385、390、415、430、440、435...多工器315, 380, 385, 390, 415, 430, 440, 435. . . Multiplexer

310、365、360、355、410、426、424、422...加法器310, 365, 360, 355, 410, 426, 424, 422. . . Adder

400...三旁路位元解碼器400. . . Triple bypass bit decoder

405...BYPASS1a405. . . BYPASS1a

420...BYPASS2a420. . . BYPASS2a

450...BYPASS3450. . . BYPASS3

500...五旁路位元解碼器500. . . Five bypass bit decoder

第1圖係視訊處理系統之示意圖。Figure 1 is a schematic diagram of a video processing system.

第2圖說明適用於第1圖的視訊處理系統的串聯旁路位元解碼器之示意圖。Figure 2 illustrates a schematic diagram of a series bypass bit decoder suitable for use in the video processing system of Figure 1.

第3圖係本發明的一實施例說明並聯的二旁路位元解碼器之示意圖。Figure 3 is a schematic diagram showing a parallel two-pass bit decoder in accordance with an embodiment of the present invention.

第4圖係本發明的另一實施例說明並聯的三旁路位元解碼器之示意圖。Figure 4 is a schematic illustration of another embodiment of the present invention illustrating a parallel three-pass bit decoder.

第5圖係本發明的另一實施例說明並聯的五旁路位元解碼器之示意圖。Figure 5 is a schematic illustration of another embodiment of the present invention illustrating a parallel five-pass bit decoder.

300...二旁路位元解碼器300. . . Second bypass bit decoder

400...三旁路位元解碼器400. . . Triple bypass bit decoder

500...五旁路位元解碼器500. . . Five bypass bit decoder

Claims (17)

 一種並聯的五旁路位元全文自適應二進制算術編碼解碼器,包含:一三旁路位元解碼器,具有一第一輸入端用以接收一位元流,一第二輸入端用以接收複數個範圍值,一第一輸出端用以輸出一第一旁路位元,一第二輸出端用以輸出一第二旁路位元,一第三輸出端用以輸出一第三旁路位元,和一第四輸出端用以輸出一移位位元流;及一二旁路位元解碼器,具有一第三輸入端耦接於該三旁路位元解碼器的第四輸出端,用以接收該移位位元流,一第四輸入端用以接收該複數個範圍值,一第五輸出端用以輸出一第四旁路位元,和一第六輸出端用以輸出一第五旁路位元。A parallel five-pass bit full-text adaptive binary arithmetic codec includes: a three-by-pass bit decoder, having a first input for receiving a bit stream and a second input for receiving a plurality of range values, a first output terminal for outputting a first bypass bit, a second output terminal for outputting a second bypass bit, and a third output terminal for outputting a third bypass bit a bit, and a fourth output terminal for outputting a shift bit stream; and a second bypass bit decoder having a third input coupled to the fourth output of the three bypass bit decoder The terminal is configured to receive the shift bit stream, a fourth input end is configured to receive the plurality of range values, a fifth output end is configured to output a fourth bypass bit, and a sixth output end is used to output a fourth bypass bit. A fifth bypass bit is output. 如請求項1所述之解碼器,其中該二旁路位元解碼器另包含:一第一電路,具有串聯耦接的該二旁路位元解碼器的第三輸入端、一第一加法器、一第一多工器和該二旁路位元解碼器的第五輸出端;及一第二電路,並聯於該第一電路,該第二電路具有串聯耦接的該二旁路位元解碼器的第四輸入端、該第一加法器、該第一多工器和該二旁路位元解碼器的第五輸出端。The decoder of claim 1, wherein the two bypass bit decoder further comprises: a first circuit having a third input of the two bypass bit decoders coupled in series, a first addition a first multiplexer and a fifth output of the second bypass bit decoder; and a second circuit coupled in parallel with the first circuit, the second circuit having the two bypass bits coupled in series a fourth input of the meta decoder, the first adder, the first multiplexer, and a fifth output of the two bypass bit decoder. 如請求項2所述之解碼器,其中該二旁路位元解碼器另包含:一第三電路,具有串聯耦接的該二旁路位元解碼器的第三輸入端、一第二多工器、一第三多工器和該二旁路位元解碼器的第六輸出端;其中該第三多工器受該第一多工器輸出的訊號控制。The decoder of claim 2, wherein the two bypass bit decoder further comprises: a third circuit having a third input end of the two bypass bit decoders coupled in series, a second plurality a sixth output of the second multiplexer and the second bypass bit decoder; wherein the third multiplexer is controlled by a signal output by the first multiplexer. 如請求項3所述之解碼器,其中該二旁路位元解碼器另包含:一第四電路,並聯於該第三電路,該第四電路具有串聯耦接的該二旁路位元解碼器的第四輸入端、一第二加法器、該第二多工器、該第三多工器和該二旁路位元解碼器的第六輸出端;其中該第二多工器受該第二加法器輸出的訊號控制。The decoder of claim 3, wherein the two bypass bit decoder further comprises: a fourth circuit parallel to the third circuit, the fourth circuit having the two bypass bit decoding coupled in series a fourth input of the device, a second adder, the second multiplexer, the third multiplexer, and a sixth output of the second bypass bit decoder; wherein the second multiplexer is The signal control of the second adder output. 如請求項4所述之解碼器,其中該二旁路位元解碼器另包含:一第五電路,並聯於該第三電路,該第五電路具有串聯耦接的該二旁路位元解碼器的第三輸入端、一第三加法器、一第四多工器、該第三多工器和該二旁路位元解碼器的第六輸出端;及一第六電路,並聯於該第三電路,該第六電路具有串聯耦接的該二旁路位元解碼器的第四輸入端、一第四加法器、該第四多工器、該第三多工器和該二旁路位元解碼器的第六輸出端;其中該第四多工器受該第四加法器輸出的訊號控制。The decoder of claim 4, wherein the two bypass bit decoder further comprises: a fifth circuit connected in parallel to the third circuit, the fifth circuit having the two bypass bit decoding coupled in series a third input terminal, a third adder, a fourth multiplexer, the third multiplexer, and a sixth output of the second bypass bit decoder; and a sixth circuit connected in parallel a third circuit, the sixth circuit having a fourth input end of the two bypass bit decoder coupled in series, a fourth adder, the fourth multiplexer, the third multiplexer, and the two sides a sixth output of the road bit decoder; wherein the fourth multiplexer is controlled by a signal output by the fourth adder. 一種並聯的五旁路位元全文自適應二進制算術編碼解碼器,包含一三旁路位元解碼器,具有一第一輸入端用以接收一位元流,一第二輸入端用以接收複數個範圍值,一第一輸出端用以輸出一旁路位元,一第二輸出端用以輸出一旁路位元,一第三輸出端用以輸出一旁路位元,和一第四輸出端用以輸出一移位位元流;及一二旁路位元解碼器,具有一第一輸入端用以接收該移位位元流,一第二輸入端用以接收該複數個範圍值,一第一輸出端用以輸出一旁路位元,和一第二輸出端用以輸出一旁路位元。A parallel five-pass bit full-text adaptive binary arithmetic codec, comprising a three-by-pass bit decoder, having a first input for receiving a bit stream and a second input for receiving a complex number Range values, a first output for outputting a bypass bit, a second output for outputting a bypass bit, a third output for outputting a bypass bit, and a fourth output for a fourth output And outputting a shift bit stream; and a bypass bit decoder having a first input for receiving the shift bit stream, and a second input for receiving the plurality of range values, The first output terminal is for outputting a bypass bit, and the second output terminal is for outputting a bypass bit. 如請求項6所述之解碼器,其中該三旁路位元解碼器另包含:一第一電路,具有串聯耦接的該三旁路位元解碼器的第一輸入端、一第一加法器、一第一多工器和該三旁路位元解碼器的第一輸出端;及一第二電路,並聯於該第一電路,具有串聯耦接的該三旁路位元解碼器的第二輸入端、該第一加法器、該第一多工器和該三旁路位元解碼器的第一輸出端。The decoder of claim 6, wherein the three bypass bit decoder further comprises: a first circuit having a first input of the three bypass bit decoder coupled in series, a first addition a first multiplexer and a first output of the three bypass bit decoder; and a second circuit coupled in parallel with the first circuit, having the three bypass bit decoder coupled in series a second input, the first adder, the first multiplexer, and a first output of the three bypass bit decoder. 如請求項7所述之解碼器,其中該三旁路位元解碼器另包含:一第三電路,具有串聯耦接的該三旁路位元解碼器的第一輸入端、一第二多工器、一第三多工器和該三旁路位元解碼器的第二輸出端;其中該第三多工器受該第一多工器輸出的訊號控制。The decoder of claim 7, wherein the three bypass bit decoder further comprises: a third circuit having a first input end of the three bypass bit decoder coupled in series, a second plurality a second output of the third multiplexer and the third bypass bit decoder; wherein the third multiplexer is controlled by a signal output by the first multiplexer. 如請求項8所述之解碼器,其中該三旁路位元解碼器另包含:一第四電路,並聯於該第三電路,該第四電路具有串聯耦接的該三旁路位元解碼器的第二輸入端、一第二加法器、該第二多工器、該第三多工器和該三旁路位元解碼器的第二輸出端;其中該第二多工器受該第二加法器輸出的訊號控制。The decoder of claim 8, wherein the three bypass bit decoder further comprises: a fourth circuit parallel to the third circuit, the fourth circuit having the three bypass bit decoding coupled in series a second input of the second input, a second adder, the second multiplexer, and a second output of the three bypass bit decoder; wherein the second multiplexer is The signal control of the second adder output. 如請求項9所述之解碼器,其中該三旁路位元解碼器另包含:一第五電路,並聯於該第三電路,該第五電路具有串聯耦接的該三旁路位元解碼器的第一輸入端、一第三加法器、一第四多工器、該第三多工器和該三旁路位元解碼器的第二輸出端;及一第六電路,並聯於該第三電路,具有串聯耦接的該三旁路位元解碼器的第二輸入端、一第四加法器、該第四多工器、該第三多工器和該三旁路位元解碼器的第二輸出端;其中該第四多工器受該第四加法器輸出的訊號控制。The decoder of claim 9, wherein the three bypass bit decoder further comprises: a fifth circuit connected in parallel to the third circuit, the fifth circuit having the three bypass bit decoding coupled in series a first input end, a third adder, a fourth multiplexer, the third multiplexer, and a second output of the three bypass bit decoder; and a sixth circuit coupled in parallel a third circuit having a second input of the triple bypass bit decoder coupled in series, a fourth adder, the fourth multiplexer, the third multiplexer, and the third bypass bit decoding a second output of the device; wherein the fourth multiplexer is controlled by a signal output by the fourth adder. 如請求項10所述之解碼器,其中該三旁路位元解碼器另包含:一第七電路,具有串聯耦接的該三旁路位元解碼器的第一輸入端、一第五多工器、一第六多工器、一第七多工器和該三旁路位元解碼器的第三輸出端;及一第八電路,並聯於該第七電路,該第八電路具有串聯耦接的該三旁路位元解碼器的第一輸入端、一第五加法器、一第八多工器、一第九多工器、該第七多工器和該三旁路位元解碼器的第三輸出端。The decoder of claim 10, wherein the three bypass bit decoder further comprises: a seventh circuit having a first input terminal, a fifth plurality of the three bypass bit decoders coupled in series a third output of the third multiplexer, a seventh multiplexer, and the third bypass bit decoder; and an eighth circuit connected in parallel to the seventh circuit, the eighth circuit having a series a first input end of the three bypass bit decoder coupled, a fifth adder, an eighth multiplexer, a ninth multiplexer, the seventh multiplexer, and the third bypass bit The third output of the decoder. 如請求項11所述之解碼器,其中該三旁路位元解碼器的該第三多工器的控制輸入端、該第五多工器的控制輸入端和該第九多工器的控制輸入端耦接於該第一多工器的輸出端,該第一多工器輸出的訊號係用以控制該第三多工器、該第五多工器和該第九多工器。The decoder of claim 11, wherein a control input of the third multiplexer of the three bypass bit decoder, a control input of the fifth multiplexer, and a control of the ninth multiplexer The input end is coupled to the output end of the first multiplexer, and the signal output by the first multiplexer is used to control the third multiplexer, the fifth multiplexer and the ninth multiplexer. 如請求項12所述之解碼器,其中該三旁路位元解碼器的該第七多工器的控制輸入端耦接於第三多工器的輸出端,該第三多工器輸出的訊號係用以控制該第七多工器。The decoder of claim 12, wherein a control input of the seventh multiplexer of the three bypass bit decoder is coupled to an output of the third multiplexer, the output of the third multiplexer The signal is used to control the seventh multiplexer. 如請求項13所述之解碼器,其中該二旁路位元解碼器另包含:一第一電路,具有串聯耦接的該二旁路位元解碼器的第一輸入端、一第一加法器、一第一多工器和該二旁路位元解碼器的第一輸出端;及一第二電路,並聯於該第一電路,該第二電路具有串聯耦接的該二旁路位元解碼器的第二輸入端、該第一加法器、該第一多工器和該二旁路位元解碼器的第一輸出端。The decoder of claim 13, wherein the two bypass bit decoder further comprises: a first circuit having a first input of the two bypass bit decoders coupled in series, a first addition a first multiplexer and a first output of the second bypass bit decoder; and a second circuit coupled in parallel with the first circuit, the second circuit having the two bypass bits coupled in series a second input of the meta decoder, the first adder, the first multiplexer, and a first output of the two bypass bit decoder. 如請求項14所述之解碼器,其中該二旁路位元解碼器另包含:一第三電路,具有串聯耦接的該二旁路位元解碼器的第一輸入端、一第二多工器、一第三多工器和該二旁路位元解碼器的第二輸出端;其中該第三多工器受該第一多工器輸出的訊號控制。The decoder of claim 14, wherein the two bypass bit decoder further comprises: a third circuit having a first input end of the two bypass bit decoders coupled in series, a second plurality a second output of the second multiplexer and the second bypass bit decoder; wherein the third multiplexer is controlled by a signal output by the first multiplexer. 如請求項15所述之解碼器,其中該二旁路位元解碼器另包含:一第四電路,並聯於該第三電路,該第四電路具有串聯耦接的該二旁路位元解碼器的第二輸入端、一第二加法器、該第二多工器、該第三多工器和該二旁路位元解碼器的第二輸出端;其中該第二多工器受該第二加法器輸出的訊號控制。The decoder of claim 15, wherein the two bypass bit decoder further comprises: a fourth circuit parallel to the third circuit, the fourth circuit having the two bypass bit decoding coupled in series a second input of the second input, a second adder, the second multiplexer, and a second output of the second bypass bit decoder; wherein the second multiplexer is The signal control of the second adder output. 如請求項16所述之解碼器,其中該二旁路位元解碼器另包含:一第五電路,並聯於該第三電路,該第五電路具有串聯耦接的該二旁路位元解碼器的第一輸入端、一第三加法器、一第四多工器、該第三多工器和該二旁路位元解碼器的第二輸出端;及一第六電路,並聯於該第三電路,該第六電路具有串聯耦接的該二旁路位元解碼器的第二輸入端、一第四加法器、該第四多工器、該第三多工器和該二旁路位元解碼器的第六輸出端;其中該第四多工器受該第四加法器輸出的訊號控制。The decoder of claim 16, wherein the two bypass bit decoder further comprises: a fifth circuit connected in parallel to the third circuit, the fifth circuit having the two bypass bit decoding coupled in series a first input end, a third adder, a fourth multiplexer, the third multiplexer, and a second output of the second bypass bit decoder; and a sixth circuit coupled in parallel a third circuit, the sixth circuit having a second input of the two bypass bit decoders coupled in series, a fourth adder, the fourth multiplexer, the third multiplexer, and the two sides a sixth output of the road bit decoder; wherein the fourth multiplexer is controlled by a signal output by the fourth adder.
TW099107667A 2010-03-16 2010-03-16 Parallel based 5 bypass bin cabac decoder TWI458268B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW099107667A TWI458268B (en) 2010-03-16 2010-03-16 Parallel based 5 bypass bin cabac decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW099107667A TWI458268B (en) 2010-03-16 2010-03-16 Parallel based 5 bypass bin cabac decoder

Publications (2)

Publication Number Publication Date
TW201134106A TW201134106A (en) 2011-10-01
TWI458268B true TWI458268B (en) 2014-10-21

Family

ID=46751383

Family Applications (1)

Application Number Title Priority Date Filing Date
TW099107667A TWI458268B (en) 2010-03-16 2010-03-16 Parallel based 5 bypass bin cabac decoder

Country Status (1)

Country Link
TW (1) TWI458268B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070080832A1 (en) * 2005-10-12 2007-04-12 Huawei Technologies Co., Ltd. Decoding system and method based on context-based adaptive binary arithmetic coding
US20090089549A1 (en) * 2007-09-27 2009-04-02 Qualcomm Incorporated H.264 Video Decoder CABAC Core Optimization Techniques
US7656326B2 (en) * 2006-06-08 2010-02-02 Via Technologies, Inc. Decoding of context adaptive binary arithmetic codes in computational core of programmable graphics processing unit

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070080832A1 (en) * 2005-10-12 2007-04-12 Huawei Technologies Co., Ltd. Decoding system and method based on context-based adaptive binary arithmetic coding
US7656326B2 (en) * 2006-06-08 2010-02-02 Via Technologies, Inc. Decoding of context adaptive binary arithmetic codes in computational core of programmable graphics processing unit
US20090089549A1 (en) * 2007-09-27 2009-04-02 Qualcomm Incorporated H.264 Video Decoder CABAC Core Optimization Techniques

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
陳建文, "H.264中全文自適應二進制算術編碼的硬體設計",國立清華大學碩士論文, 2005. *

Also Published As

Publication number Publication date
TW201134106A (en) 2011-10-01

Similar Documents

Publication Publication Date Title
US6215424B1 (en) System for variable length codeword processing suitable for video and other applications
US7343542B2 (en) Methods and apparatuses for variable length encoding
JP2003023635A (en) Video frame compression/decompression hardware system
US20180091815A1 (en) Multi-bin decoding systems and methods
US7961122B1 (en) Multi-bin CABAC bypass bin decoder
JP4065425B2 (en) Variable length coding packing architecture
KR0179103B1 (en) High speed variable length decoder apparatus
KR970049857A (en) Low Power High Speed MPEG Video Variable Length Decoder
TWI458268B (en) Parallel based 5 bypass bin cabac decoder
TW200405203A (en) Apparatus and method for dynamic program decompression
US20110125987A1 (en) Dedicated Arithmetic Decoding Instruction
CN102201816B (en) Parallel five-bypass bin context-adaptive binary arithmetic coder-decoder
US20050174270A1 (en) Programmable variable length decoder including interface of cpu processor
JPH0738445A (en) Variable-length sign decoder
US6781528B1 (en) Vector handling capable processor and run length encoding
US6707398B1 (en) Methods and apparatuses for packing bitstreams
George et al. A new fast architecture for HD H. 264 CAVLC multi-syntax decoder and its FPGA implementation
TWI396450B (en) Binary arithmetic decoding device with high operation frequency
CA2212099C (en) Apparatus and method for removing error data decoding delay in a dtv
CN102201815B (en) Binary operation decoding device with high operation frequency
George et al. The Architecture of Fast H. 264 CAVLC decoder and its FPGA implementation
JP3386638B2 (en) Variable length code decoding method and apparatus
US6707397B1 (en) Methods and apparatus for variable length codeword concatenation
KR100283088B1 (en) Asynchronous variable length decoder
Chen et al. Efficient VLSI architecture of CAVLC decoder with power optimized

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent
MM4A Annulment or lapse of patent due to non-payment of fees