JP2003133961A - Dequantizing circuit - Google Patents

Dequantizing circuit

Info

Publication number
JP2003133961A
JP2003133961A JP2001327061A JP2001327061A JP2003133961A JP 2003133961 A JP2003133961 A JP 2003133961A JP 2001327061 A JP2001327061 A JP 2001327061A JP 2001327061 A JP2001327061 A JP 2001327061A JP 2003133961 A JP2003133961 A JP 2003133961A
Authority
JP
Japan
Prior art keywords
bit
output
circuit
inverse quantization
unit
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.)
Withdrawn
Application number
JP2001327061A
Other languages
Japanese (ja)
Inventor
Hiroshi Komazaki
弘 駒崎
Hiroshi Nakayama
寛 中山
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2001327061A priority Critical patent/JP2003133961A/en
Publication of JP2003133961A publication Critical patent/JP2003133961A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an inverse quantization circuit adapted to MPEG-4 and the like, which can bring decrease in power consumption and size reduction of a chip mounted on the inverse quantization circuit, by decreasing the number of wiring. SOLUTION: At a double increment unit 5, processing is conducted to determine an OR processed value for a section of the bit 11 and the bit 10 of |QF[i] (AC/DC quantization coefficient)| as the value of the bit 11 of an output A[i], a section from the bit 9 to the bit 0 of |QF[i]| as a section from the bit 10 to the bit 1 of the output A[i], and the bit 0 of the output A[i] as '1'.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、MPEG(Moving
Picture Experts Group)−4などに対応した逆量子化
回路に関する。
BACKGROUND OF THE INVENTION The present invention relates to MPEG (Moving
Picture Experts Group) -4, etc.

【0002】MPEG−4は、ISO-IEC/JTC1/SC29/W
G11で論議され、標準案として採択されたものであり、
主に低ビットレートにおける動画像伝送に主眼が置かれ
ており、携帯電話や携帯端末向けの動画像配信などへの
期待が持たれているが、そのためにはバッテリでの駆動
を主体とした低消費電力化が必須である。
MPEG-4 is ISO-IEC / JTC1 / SC29 / W
It was discussed at G11 and adopted as a standard draft,
The main focus is on moving image transmission at low bit rates, and there are expectations for moving image distribution for mobile phones and mobile terminals. Power consumption is essential.

【0003】[0003]

【従来の技術】図6は従来提案されているMPEG−4
デコーダ用の逆量子化回路の一例を示す回路図である。
図6中、QF[i]はAC/DC量子化係数(64個の
1次元の配列)であり、Y0が64個、Y1が64
個、...、Crが64個というように順番に入ってい
る。
2. Description of the Related Art FIG. 6 shows a previously proposed MPEG-4.
It is a circuit diagram which shows an example of the inverse quantization circuit for decoders.
In FIG. 6, QF [i] is an AC / DC quantized coefficient (64 one-dimensional array), and Y0 is 64 and Y1 is 64.
Individual,. . . , Cr are 64 in order.

【0004】1はAC/DC量子化係数(QF[i])
の絶対値(|QF[i]|)を2倍処理するシフト部、
2はシフト部1の出力(2×|QF[i]|)を+1処
理するインクリメント部、3はインクリメント部2の出
力(2×|QF[i]|+1)と量子化スケール(quan
tiser_scale)を入力して数1に示す第2逆量子化処理
を行い、中間変数(F″[i])の絶対値(|F″
[i]|)を出力する乗算部である。
1 is an AC / DC quantized coefficient (QF [i])
A shift unit that doubles the absolute value of (| QF [i] |)
2 is an increment unit that processes the output of the shift unit 1 (2 × | QF [i] |) by 1 and 3 is the output of the increment unit 2 (2 × | QF [i] | +1) and the quantization scale (quan
tiser_scale) is input to perform the second dequantization process shown in Formula 1, and the absolute value (| F ″) of the intermediate variable (F ″ [i]) is input.
[I] |) is a multiplication unit that outputs.

【0005】[0005]

【数1】 [Equation 1]

【0006】4は乗算部3の出力(|F″[i]|)と
AC/DC量子化係数(QF[i])の符号(sign(Q
F[i]))を入力して、逆量子化係数(F′[i])
の絶対値(|F′[i]|)として、乗算部3の出力
(|F″[i]|)が飽和していない場合には、乗算部
3の出力(|F″[i]|)のビット11〜ビット0の
部分を出力し、乗算部3の出力(|F″[i]|)が正
の方向に飽和している場合には、2047を出力し、乗
算部3の出力(|F″[i]|)が負の方向に飽和して
いる場合には、2048を出力する飽和処理部である。
Reference numeral 4 denotes the sign (sign (Q) of the output (| F ″ [i] |) of the multiplication unit 3 and the AC / DC quantization coefficient (QF [i]).
F [i])) and input the inverse quantization coefficient (F '[i])
If the output (| F ″ [i] |) of the multiplication unit 3 is not saturated as the absolute value of (| F ′ [i] |), the output of the multiplication unit 3 (| F ″ [i] | ) Is output, and when the output (| F ″ [i] |) of the multiplication unit 3 is saturated in the positive direction, 2047 is output and the output of the multiplication unit 3 is output. The saturation processing unit outputs 2048 when (| F ″ [i] |) is saturated in the negative direction.

【0007】図7はシフト部1及びインクリメント部2
の動作を説明するための図である。|QF[i]|は、
MPEG−4規格上、最大2048とされているので、
|QF[i]|を[X1110…X02と記述すると、シ
フト部1は、[X1110…X 02を左に1ビットシフト
処理して[X1110…X00]2とすることにより、2×
|QF[i]|を算出する。したがって、シフト部1の
出力は13ビットとなる。
FIG. 7 shows a shift unit 1 and an increment unit 2.
6 is a diagram for explaining the operation of FIG. | QF [i] |
According to the MPEG-4 standard, the maximum is 2048, so
| QF [i] |11XTen... X0]2If you write
The shift part 1 is [X11XTen... X 0]2Shift 1 bit to the left
Process it [X11XTen... X00]22 x
| QF [i] | is calculated. Therefore, the shift unit 1
The output is 13 bits.

【0008】また、インクリメント部2は、シフト部1
から出力される[X1110…X00]2をインクリメント
処理して[X1110…X01]とすることにより、(2
×|QF[i]|+1)を算出する。したがって、イン
クリメント部2の出力も13ビットとなる。
Further, the increment unit 2 is composed of the shift unit 1
By incrementing [X 11 X 10 ... X 0 0] 2 output from [X 11 X 10 ... X 0 1] to obtain (2
× | QF [i] | +1) is calculated. Therefore, the output of the increment unit 2 is also 13 bits.

【0009】乗算部3では、インクリメント部2の出力
(13ビット)と量子化スケールとの乗算が行われる
が、量子化スケールは、1〜31の範囲の整数値である
ため、6ビットが必要となる。したがって、乗算部3の
出力として19ビットが必要となる。
The multiplication unit 3 multiplies the output (13 bits) of the increment unit 2 by the quantization scale. Since the quantization scale is an integer value in the range of 1 to 31, 6 bits are required. Becomes Therefore, 19 bits are required as the output of the multiplication unit 3.

【0010】[0010]

【発明が解決しようとする課題】MPEG−4規格上、
逆量子化係数(F′[i])は、−2048〜2047
の範囲の整数値に収めるようにされており、2の補数形
式で最大12ビットあれば足りるにも関わらず、図6に
示す逆量子化回路では、途中の処理でビット数が多くな
り、例えば、シフト部1の出力が13ビット、インクリ
メント部2の出力が13ビット、乗算部3の出力が19
ビットとなり、これが配線を増加させ、消費電力の増加
や逆量子化回路搭載チップのサイズの増加を招いてしま
うという問題点があった。
According to the MPEG-4 standard,
The inverse quantization coefficient (F ′ [i]) is −2048 to 2047.
Although the maximum number is 12 bits in the 2's complement format, the inverse quantization circuit shown in FIG. , The output of the shift unit 1 is 13 bits, the output of the increment unit 2 is 13 bits, and the output of the multiplication unit 3 is 19 bits.
This is a bit, and this causes an increase in wiring, resulting in an increase in power consumption and an increase in the size of the chip with the inverse quantization circuit.

【0011】本発明は、かかる点に鑑み、配線を減ら
し、消費電力の低減化と逆量子化回路搭載チップのサイ
ズの縮小化を図ることができるようにしたMPEG−4
などに対応の逆量子化回路を提供することを目的とす
る。
In view of the above point, the present invention makes it possible to reduce wiring, reduce power consumption, and reduce the size of a chip equipped with an inverse quantization circuit.
It is an object of the present invention to provide an inverse quantization circuit corresponding to the above.

【0012】[0012]

【課題を解決するための手段】本発明の逆量子化回路
は、|QF[i]|のビット11、ビット10の部分の
OR(論理和)処理値を新たなビット11の値とし、|
QF[i]|のビット9〜ビット0の部分を新たなビッ
ト10〜ビット1とし、新たなビット0を“1”とする
処理を行う第1処理部を有するというものである。
In the inverse quantization circuit of the present invention, the OR (logical sum) processed value of the bit 11 and bit 10 portions of | QF [i] | is set as a new bit 11 value, and |
The bit 9 to bit 0 portion of QF [i] | is set as a new bit 10 to bit 1, and the new bit 0 is set to "1".

【0013】本発明によれば、第1処理部において、第
2逆量子化処理に必要な(2×|QF[i]|+1)な
る演算を飽和処理を先取りした形で行うことができ、そ
の出力を12ビットとすることができる。
According to the present invention, the operation (2 × | QF [i] | +1) necessary for the second dequantization processing can be performed in the first processing unit in a form in which the saturation processing is taken in advance. The output can be 12 bits.

【0014】[0014]

【発明の実施の形態】図1は本発明の一実施形態の要部
を示す回路図であり、本発明の一実施形態はMPEG−
4対応の逆量子化回路の例である。図1中、5は第1処
理部をなす2倍・インクリメント部、6は制御信号に制
御されて2倍・インクリメント部5の出力又は|QF
[i]|を選択するセレクタ、7は第2処理部をなす乗
算部、8はdc_scaler(DCスケーラ)をテーブルから
引くスケールテーブル部、9は制御信号に制御されて量
子化スケール又はスケールテーブル部8から出力される
dc_scalerを選択するセレクタ、10は第3処理部をな
す飽和処理部である。
1 is a circuit diagram showing a main part of one embodiment of the present invention. One embodiment of the present invention is MPEG-
It is an example of an inverse quantization circuit corresponding to 4. In FIG. 1, reference numeral 5 is a double / increment unit that constitutes the first processing unit, and reference numeral 6 is the output of the double / increment unit 5 or | QF controlled by a control signal.
[I] | Selector, 7 is a multiplication unit that forms a second processing unit, 8 is a scale table unit that draws dc_scaler (DC scaler) from the table, and 9 is a quantization scale or scale table unit controlled by a control signal. Output from 8
A selector 10 that selects dc_scaler is a saturation processing unit that forms a third processing unit.

【0015】図2は2倍・インクリメント部5の動作を
説明するための図であり、図2中、A[i]は2倍・イ
ンクリメント部5の出力、11はOR回路である。2倍
・インクリメント部5は、|QF[i]|を[X1110
…X02と記述すると、|QF[i]|のビット11の
値[X11]とビット10の値[X10]とのOR処理値
(X11+X10)をA[i]のビット11の値とし、|Q
F[i]|のビット9〜ビット0の値[X98…X02
を左に1ビットシフト処理してA[i]のビット10〜
ビット1の値とし、A[i]のビット0の値を[1]と
する処理を行い、A[i]として[(X11+X10)X9
8…X01]2を出力するものである。
FIG. 2 is a diagram for explaining the operation of the double / increment unit 5. In FIG. 2, A [i] is the output of the double / increment unit 5, and 11 is an OR circuit. The double / increment unit 5 changes | QF [i] | to [X 11 X 10
.. X 0 ] 2 , the OR processing value (X 11 + X 10 ) of the value [X 11 ] of bit 11 and the value [X 10 ] of bit 10 of | QF [i] | Set the value of bit 11 to | Q
Value of bit 9 to bit 0 of F [i] | [X 9 X 8 ... X 0 ] 2
Is shifted to the left by 1 bit and bits 10 to 10 of A [i]
A process of setting the value of bit 1 to the value of bit 0 of A [i] to [1] is performed, and setting the value of A [i] to [(X 11 + X 10 ) X 9
X 8 ... X 0 1] 2 is output.

【0016】すなわち、2倍・インクリメント部5は、
|QF[i]|が最大値である[2048]10=[10
0000000000]2である場合には、[204
9]10=[100000000001]2を出力し、|
QF[i]|が[2047]10=[011111111
111]2以下の場合には、|QF[i]|について2
倍処理し、更に+1処理した(2×|QF[i]|+
1)を出力するものであり、言わば飽和処理を先取りし
た形で、(2×|QF[i]|+1)なる演算を行うも
のである。
That is, the double / increment unit 5 is
| QF [i] | is the maximum value [2048] 10 = [10
0000000000] 2 and then [204
9] 10 = [100000000001] 2 is output, and |
QF [i] | is [2047] 10 = [011111111
111] 2 or less, then | QF [i] |
Double processing and further +1 processing (2 × | QF [i] | +
1) is output, so to speak, the operation of (2 × | QF [i] | +1) is performed in a form in which saturation processing is taken in advance.

【0017】図3は乗算部7の要部を示す回路図であ
る。図3中、12は2倍・インクリメント部5の出力A
[i]と量子化スケールとを第2逆量子化処理に合致す
るように乗算する乗算器である。ここで、2倍・インク
リメント部5の出力A[i]は12ビットであるので、
量子化スケールを6ビットとすると、乗算器12の出力
は18ビットとなる。
FIG. 3 is a circuit diagram showing a main part of the multiplication unit 7. In FIG. 3, 12 is the output A of the double / increment unit 5.
It is a multiplier that multiplies [i] and the quantization scale so as to match the second inverse quantization process. Here, since the output A [i] of the double / increment unit 5 is 12 bits,
If the quantization scale is 6 bits, the output of the multiplier 12 will be 18 bits.

【0018】また、13は乗算器12の出力のビット1
7〜ビット12の部分をOR処理するOR回路、14は
乗算器12の出力のビット11〜ビット0の部分にOR
回路13の出力をビット12の値として付加した結果を
出力する上位1ビット拡張回路である。
Further, 13 is bit 1 of the output of the multiplier 12.
An OR circuit for ORing the portion of 7 to 12 bits, and 14 ORs the portion of bits 11 to 0 of the output of the multiplier 12
It is a high-order 1-bit expansion circuit that outputs the result of adding the output of the circuit 13 as the value of bit 12.

【0019】すなわち、乗算器12の出力を[Y1716
…Y02と記述すると、OR回路13は、Y17、Y16
…、Y12をOR処理して(Y17+Y16+…+Y12)を出
力し、上位1ビット拡張回路14は、[(Y17+Y16
…+Y12)Y1110…Y02を出力することになる。
That is, the output of the multiplier 12 is [Y 17 Y 16
.., Y 0 ] 2 , the OR circuit 13 has Y 17 , Y 16 ,
, Y 12 is OR-processed and (Y 17 + Y 16 + ... + Y 12 ) is output, and the upper 1-bit expansion circuit 14 outputs [(Y 17 + Y 16 +
... + Y 12) Y 11 Y 10 ... Y 0] will output a 2.

【0020】この結果、上位1ビット拡張回路14は、
(Y17+Y16+…+Y12)=1の場合には、[1Y11
10…Y02を出力することになるが、[1000000
000000]2は[4096]10であるから、乗算部
7の出力B[i]のビット12は乗算で飽和したか否か
を示すフラグビットの役割を果たすことになる。
As a result, the high-order 1-bit expansion circuit 14
When (Y 17 + Y 16 + ... + Y 12 ) = 1, [1Y 11 Y
10 ... Y 0 ] 2 will be output, but [1000000
Since 000000] 2 is [4096] 10 , the bit 12 of the output B [i] of the multiplication unit 7 serves as a flag bit indicating whether or not the multiplication is saturated.

【0021】なお、乗算器12は、処理中のマクロブロ
ックがイントラ・マクロブロックであり、かつ、DC成
分(AC/DC量子化係数QF[i]の0番目(i=
0)の係数)の場合には、|QF[i]|×dc_scaler
(DCスケーラ)なる演算を行うように制御される。
In the multiplier 12, the macro block being processed is an intra macro block, and the DC component (AC / DC quantization coefficient QF [i] 0th (i =
0) coefficient), | QF [i] | × dc_scaler
It is controlled so as to perform an operation of (DC scaler).

【0022】dc_scalerの値は、表1から導出できる
が、必要時に表1に従い、いちいち、「2×quantiser_
scale」等という計算を行うのではなく、あらかじめ、
表1で指定されている計算をしておいて、その結果をテ
ーブルに格納しておき、必要時にスケールテーブル部7
を介して取り出すようにする。このようにすると、計算
量の削減を図ることができる。
The value of dc_scaler can be derived from Table 1, but if necessary, according to Table 1, "2 × quantiser_"
Instead of performing calculations such as "scale",
The calculations specified in Table 1 are performed, the results are stored in a table, and the scale table unit 7 is used when necessary.
I will take it out through. In this way, the amount of calculation can be reduced.

【0023】[0023]

【表1】 [Table 1]

【0024】図4は飽和処理部10の要部を示す回路図
である。図4中、15は[100000000000]
2(=[2048]10)を出力する2048出力回路、
16は[010000000000](=[2047]
10)を出力する2047出力回路、17は乗算部7の出
力(B[i])のビット11〜ビット0の部分、又は、
2048出力回路15の出力、又は、2047出力回路
16の出力を選択して出力するセレクタである。ここで
は、パラメータbits_per_pixelは固定値8としている。
FIG. 4 is a circuit diagram showing a main part of the saturation processing section 10. In FIG. 4, 15 is [100000000000000]
2048 output circuit that outputs 2 (= [2048] 10 ),
16 is [010000000000000] (= [2047]
20 ) output circuit for outputting 10 ), 17 is a part of bits 11 to 0 of the output (B [i]) of the multiplication unit 7, or
It is a selector that selects and outputs the output of the 2048 output circuit 15 or the output of the 2047 output circuit 16. Here, the parameter bits_per_pixel has a fixed value of 8.

【0025】18は乗算部7の出力(B[i])のビッ
ト12、ビット11の部分をOR処理するOR回路、1
9はOR回路18の出力及びQF[i]の符号を入力し
てセレクタ17のセレクト動作を制御するセレクタ制御
回路である。QF[i]の符号は、“0”の場合には、
QF[i]が正の値であることを示し、“1”の場合に
は、QF[i]が負の値であることを示す。
Reference numeral 18 is an OR circuit for ORing the bit 12 and bit 11 portions of the output (B [i]) of the multiplication unit 7, 1
Reference numeral 9 is a selector control circuit for controlling the select operation of the selector 17 by inputting the output of the OR circuit 18 and the sign of QF [i]. When the code of QF [i] is "0",
It shows that QF [i] is a positive value, and when it is "1", it shows that QF [i] is a negative value.

【0026】セレクタ制御回路19において、20はO
R回路18の出力とQF[i]の符号とをAND処理す
るAND回路、21はQF[i]の符号を反転するNO
T回路、22はOR回路18の出力とNOT回路21の
出力とをAND処理するAND回路である。
In the selector control circuit 19, 20 is O.
An AND circuit for ANDing the output of the R circuit 18 and the sign of QF [i], and 21 for inverting the sign of QF [i]
A T circuit, 22 is an AND circuit for ANDing the output of the OR circuit 18 and the output of the NOT circuit 21.

【0027】また、SEL1、SEL0はセレクタ制御
信号であり、SEL1はAND回路20の出力、SEL
0はAND回路22の出力である。表2はセレクタ制御
回路19の真理値表であり、表3はセレクタ17の真理
値表である。
SEL1 and SEL0 are selector control signals, and SEL1 is the output of the AND circuit 20 and SEL.
0 is the output of the AND circuit 22. Table 2 is a truth table of the selector control circuit 19, and Table 3 is a truth table of the selector 17.

【0028】[0028]

【表2】 [Table 2]

【0029】[0029]

【表3】 [Table 3]

【0030】すなわち、飽和処理部10は、SEL1=
“0”、SEL0=“0”の場合には、乗算部7の出力
B[i]は飽和していないので、乗算部7の出力B
[i]のビット11〜ビット0の部分を出力し、SEL
1=“0”、SEL0=“1”の場合には、乗算部7の
出力B[i]は正の方向に飽和しているので、[011
111111111]2(=[2047]10)を出力
し、SEL1=“1”、SEL0=“0”の場合には、
乗算部7の出力B[i]は負の方向に飽和しているの
で、[100000000000]2(=[2048]
10)を出力する。
That is, the saturation processing section 10 selects SEL1 =
When “0” and SEL0 = “0”, the output B [i] of the multiplication unit 7 is not saturated, so the output B of the multiplication unit 7 is B.
The bits 11 to 0 of [i] are output and SEL
When 1 = “0” and SEL0 = “1”, the output B [i] of the multiplication unit 7 is saturated in the positive direction.
111111111] 2 (= [2047] 10 ) is output, and when SEL1 = "1" and SEL0 = "0",
Since the output B [i] of the multiplication unit 7 is saturated in the negative direction, [100000000000000] 2 (= [2048]
10 ) is output.

【0031】飽和処理後においては、必要であれば符号
を付ける処理を行う。例えば、QF[i]の符号が
“0”(QF[i]が正値)の場合には、飽和処理の結
果をそのまま使用し、最上位ビット(ビット11)に
“0”を代入しておき、QF[i]の符号が“1”(Q
F[i]が負値)の場合には、飽和処理の結果の全ビッ
トを反転して“1”を加え、最上位ビット(ビット1
1)に“1”を代入する。この代わりに、飽和処理の結
果(絶対値)と、飽和処理の結果に付すべき符号の2系
統の信号を使用するようにしても良い。
After the saturation process, a process of adding a sign is performed if necessary. For example, when the sign of QF [i] is “0” (QF [i] is a positive value), the result of saturation processing is used as it is, and “0” is assigned to the most significant bit (bit 11). Every other time, the code of QF [i] is “1” (Q
When F [i] is a negative value, all the bits of the saturation processing result are inverted and "1" is added, and the most significant bit (bit 1) is added.
Substitute “1” for 1). Instead of this, it is also possible to use two systems of signals, the result of saturation processing (absolute value) and the code to be added to the result of saturation processing.

【0032】以上のように、本発明の一実施形態によれ
ば、2倍・インクリメント部5を設け、言わば飽和処理
を先取りした形で、(2×|QF[i]|+1)なる演
算を行い、その出力を12ビットにし、すなわち、乗算
器12の入力を12ビットにし、乗算器12の出力を1
8ビットにすることができ、このようにしても、MPE
G−4規格で要求されている第2逆量子化処理及び飽和
処理を行うことができる。ちなみに、図6に示す逆量子
化回路では、乗算部3の入力は13ビット、乗算部3の
出力は19ビットである。したがって、本発明の一実施
形態によれば、配線を減らし、消費電力の低減化と逆量
子化回路搭載チップのサイズの縮小化を図ることができ
る。
As described above, according to the embodiment of the present invention, the operation of (2 × | QF [i] | +1) is performed by providing the doubling / incrementing unit 5 and, so to speak, the saturation process in advance. The output of the multiplier 12 is 12 bits, that is, the input of the multiplier 12 is 12 bits, and the output of the multiplier 12 is 1
It can be 8 bits, and even with this, MPE
The second inverse quantization process and the saturation process required by the G-4 standard can be performed. By the way, in the inverse quantization circuit shown in FIG. 6, the input of the multiplication unit 3 is 13 bits, and the output of the multiplication unit 3 is 19 bits. Therefore, according to the embodiment of the present invention, it is possible to reduce wiring, reduce power consumption, and reduce the size of the inverse quantization circuit mounting chip.

【0033】また、近年の微細化プロセスにおいては、
配線が多いと、信号が届きにくくなるといった不利な点
があることが指摘されている(「性能指向の回路設計」
第1回、配線優先時代の回路設計、Design Wave MAGAZI
NE, JULY, 2001.CQ出版社)。本発明の一実施形態に
よれば、配線を減らすことができるので、このような問
題を回避することができる。
In the recent miniaturization process,
It has been pointed out that if there are many wires, there is a disadvantage that it becomes difficult for signals to reach ("Performance-oriented circuit design").
1st, Circuit design in the wiring priority era, Design Wave MAGAZI
NE, JULY, 2001. CQ publisher). According to the embodiment of the present invention, the number of wirings can be reduced, so that such a problem can be avoided.

【0034】ちなみに、図5は本発明の一実施形態の逆
量子化回路を使用したMPEG−4デコーダの要部を示
す回路図である。図5中、23は可変長復号化回路、2
4は本発明の一実施形態の逆量子化回路、25は逆DC
T回路、26は動き補償処理回路、27は加算回路、2
8はフレームメモリ、29はフレームメモリ28に書き
込まれた画像を表示するディスプレイである。
By the way, FIG. 5 is a circuit diagram showing a main part of an MPEG-4 decoder using an inverse quantization circuit according to an embodiment of the present invention. In FIG. 5, 23 is a variable length decoding circuit, 2
4 is an inverse quantization circuit of one embodiment of the present invention, 25 is an inverse DC
T circuit, 26 motion compensation processing circuit, 27 addition circuit, 2
Reference numeral 8 is a frame memory, and 29 is a display for displaying the image written in the frame memory 28.

【0035】このMPEG−4デコーダにおいては、可
変長復号化回路23でMPEG−4符号化データからA
C/DC量子化係数と動きベクトルデータが取り出さ
れ、AC/DC量子化係数は、逆量子化回路24で処理
された後、逆DCT回路25で逆DCT処理を施され
る。また、動きベクトルデータは、動き補償処理回路2
6を通り、逆DCT処理後の係数と加算されてフレーム
メモリ28に書込まれ、復号化された画像データとさ
れ、復号化された画像データは、ディスプレイ29上に
表示される。
In this MPEG-4 decoder, the variable length decoding circuit 23 converts the MPEG-4 encoded data into A
The C / DC quantized coefficient and the motion vector data are extracted, and the AC / DC quantized coefficient is processed by the inverse quantization circuit 24 and then subjected to the inverse DCT processing by the inverse DCT circuit 25. In addition, the motion vector data is stored in the motion compensation processing circuit 2
After passing through 6, the coefficient is added to the coefficient after the inverse DCT processing and written in the frame memory 28 to be decoded image data, and the decoded image data is displayed on the display 29.

【0036】[0036]

【発明の効果】以上のように、本発明によれば、第1処
理部において、第2逆量子化処理に必要な(2×|QF
[i]|+1)なる演算を飽和処理を先取りした形で行
い、その出力を12ビットとすることができるので、配
線を減らし、消費電力の低減化と逆量子化回路搭載チッ
プのサイズの縮小化を図ることができる。
As described above, according to the present invention, in the first processing unit, (2 × | QF) necessary for the second inverse quantization processing is obtained.
The operation [i] | +1) can be performed with the saturation processing pre-empted and the output can be set to 12 bits, so wiring is reduced, power consumption is reduced, and the size of the chip with the inverse quantization circuit is reduced. Can be realized.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施形態の要部を示す回路図であ
る。
FIG. 1 is a circuit diagram showing a main part of an embodiment of the present invention.

【図2】本発明の一実施形態が備える2倍・インクリメ
ント部の動作を説明するための図である。
FIG. 2 is a diagram for explaining an operation of a double / increment unit included in an embodiment of the present invention.

【図3】本発明の一実施形態が備える乗算部の要部を示
す回路図である。
FIG. 3 is a circuit diagram showing a main part of a multiplication unit included in an embodiment of the present invention.

【図4】本発明の一実施形態が備える飽和処理部の要部
を示す回路図である。
FIG. 4 is a circuit diagram showing a main part of a saturation processing unit included in one embodiment of the present invention.

【図5】本発明の一実施形態の逆量子化回路を使用した
MPEG−4デコーダの要部を示す回路図である。
FIG. 5 is a circuit diagram showing a main part of an MPEG-4 decoder using an inverse quantization circuit according to an embodiment of the present invention.

【図6】従来提案されているMPEG−4デコーダ用の
逆量子化回路の一例を示す回路図である。
FIG. 6 is a circuit diagram showing an example of a conventionally proposed inverse quantization circuit for an MPEG-4 decoder.

【図7】図6に示す逆量子化回路が備えるシフト部及び
インクリメント部の動作を説明するための図である。
7 is a diagram for explaining operations of a shift unit and an increment unit included in the inverse quantization circuit shown in FIG.

【符号の説明】[Explanation of symbols]

QF[i]…AC/DC量子化係数 F′[i]…逆量子化係数 QF [i] ... AC / DC quantized coefficient F '[i] ... Dequantized coefficient

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C059 KK49 KK50 MA31 MC33 MC35 MC38 ME01 UA05 5J064 AA04 BA16 BC01 BC02 BC03 BC09 BC16 BC25 BD02    ─────────────────────────────────────────────────── ─── Continued front page    F term (reference) 5C059 KK49 KK50 MA31 MC33 MC35                       MC38 ME01 UA05                 5J064 AA04 BA16 BC01 BC02 BC03                       BC09 BC16 BC25 BD02

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】AC/DC量子化係数の絶対値のビット1
1、ビット10の部分のOR処理値を新たなビット11
の値とし、前記AC/DC量子化係数の絶対値のビット
9〜ビット0の部分を新たなビット10〜ビット1と
し、新たなビット0を“1”とする処理を行う第1処理
部を有することを特徴とする逆量子化回路。
1. A bit 1 of an absolute value of an AC / DC quantized coefficient
1 and bit 10 are ORed with new bit 11
Of the absolute value of the AC / DC quantized coefficient is set as a new bit 10 to bit 1, and the new bit 0 is set to “1”. An inverse quantization circuit having.
【請求項2】前記第1処理部の出力と量子化スケールと
の乗算値のビット11〜ビット0の部分に前記乗算値の
ビット17〜ビット12の部分のOR処理値をビット1
2として付加した結果を出力する第2処理部を有するこ
とを特徴とする請求項1記載の逆量子化回路。
2. An OR-processed value of the bit 17 to bit 12 portion of the multiplication value is set to bit 1 to bit 0 of the multiplication value of the output of the first processing unit and the quantization scale.
The inverse quantization circuit according to claim 1, further comprising a second processing unit that outputs a result added as 2.
【請求項3】前記第2処理部の出力のビット12、ビッ
ト11の部分のOR処理値に応じて、逆量子化係数の絶
対値として、前記第2処理部の出力のビット11〜ビッ
ト0の部分、2048又は2047を出力する第3処理
部を有することを特徴とする請求項2記載の逆量子化回
路。
3. The bit 11 to bit 0 of the output of the second processing unit are determined as the absolute value of the inverse quantization coefficient in accordance with the OR processed value of the bit 12 and bit 11 portions of the output of the second processing unit. 3. The inverse quantization circuit according to claim 2, further comprising a third processing unit for outputting the portion 2048 or 2047.
【請求項4】DCスケーラをテーブルから引くスケール
テーブル部を有し、イントラマクロブロックのDC成分
の逆量子化処理にも対応するようにされていることを特
徴とする請求項1記載の逆量子化回路。
4. The inverse quantum according to claim 1, further comprising a scale table unit for drawing a DC scaler from the table, which is adapted to correspond to an inverse quantization process of a DC component of an intra macroblock. Circuit.
JP2001327061A 2001-10-25 2001-10-25 Dequantizing circuit Withdrawn JP2003133961A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001327061A JP2003133961A (en) 2001-10-25 2001-10-25 Dequantizing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001327061A JP2003133961A (en) 2001-10-25 2001-10-25 Dequantizing circuit

Publications (1)

Publication Number Publication Date
JP2003133961A true JP2003133961A (en) 2003-05-09

Family

ID=19143338

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001327061A Withdrawn JP2003133961A (en) 2001-10-25 2001-10-25 Dequantizing circuit

Country Status (1)

Country Link
JP (1) JP2003133961A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008120433A1 (en) * 2007-03-28 2008-10-09 Panasonic Corporation Dequantization circuit, dequantization method, and image reproduction device
US10284855B2 (en) 2011-01-18 2019-05-07 Dolby International Ab Video decoder with reduced dynamic range transform with inverse transform shifting memory

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008120433A1 (en) * 2007-03-28 2008-10-09 Panasonic Corporation Dequantization circuit, dequantization method, and image reproduction device
US8401073B2 (en) 2007-03-28 2013-03-19 Panasonic Corporation Inverse quantization circuit, inverse quantization method and image reproducing apparatus
US10284855B2 (en) 2011-01-18 2019-05-07 Dolby International Ab Video decoder with reduced dynamic range transform with inverse transform shifting memory
US10652545B2 (en) 2011-01-18 2020-05-12 Dolby International Ab Video decoder with reduced dynamic range transform with inverse transform shifting memory
US10958910B2 (en) 2011-01-18 2021-03-23 Dolby International Ab Video decoder with reduced dynamic range transform with inverse transform shifting memory
US11431982B2 (en) 2011-01-18 2022-08-30 Dolby International Ab Video decoder with reduced dynamic range transform with inverse transform shifting memory
US12003730B2 (en) 2011-01-18 2024-06-04 Dolby International Ab Video decoder with reduced dynamic range transform with inverse transform shifting memory

Similar Documents

Publication Publication Date Title
US7760950B2 (en) Low complexity and unified transforms for video coding
CA2886119C (en) An image decoding apparatus for obtaining a decoded image by decoding an encoded data
US6717988B2 (en) Scalable MPEG-2 decoder
US7627187B2 (en) Low complexity and unified transforms for video coding
JP2007151131A (en) Method for decoding data or video or image
JP2010505154A (en) Error reduction in inverse discrete cosine transform calculation
US8311107B2 (en) Image data compression device, compressing method, image data decompression device, decompressing method, and recording medium
JP2005327298A (en) Fast video codec transformation implementation
US20020111978A1 (en) Approximate inverse discrete cosine transform for scalable computation complexity video and still image decoding
JP2005017484A (en) Unit, method, and program for image display
US20130022114A1 (en) Method and related apparatuses for decoding multimedia data
JP2003133961A (en) Dequantizing circuit
JP2010135885A (en) Image coding apparatus and method
US20050008259A1 (en) Method and device for changing image size
JP4514666B2 (en) Video encoding device
EP1841237B1 (en) Method and apparatus for video encoding
Bartkowiak Optimisations of color transformation for real time video decoding
JP2005020294A (en) Block distortion reducing apparatus
JP2005354307A (en) Inverse quantizer and image decoder employing same
JPH11146395A (en) Image transmission system and image coder
US9432666B2 (en) CAVLC decoder with multi-symbol run before parallel decode
KR100313882B1 (en) Skip macro block processor
JP2007158804A (en) Code amount controller, code amount control method and code amount control program
JP2009232360A (en) Information processor
JP2004166255A (en) Image encoding method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050104