JP3093492B2 - Encoding device - Google Patents

Encoding device

Info

Publication number
JP3093492B2
JP3093492B2 JP30393392A JP30393392A JP3093492B2 JP 3093492 B2 JP3093492 B2 JP 3093492B2 JP 30393392 A JP30393392 A JP 30393392A JP 30393392 A JP30393392 A JP 30393392A JP 3093492 B2 JP3093492 B2 JP 3093492B2
Authority
JP
Japan
Prior art keywords
register
output
encoding
adder
multiplexer
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.)
Expired - Fee Related
Application number
JP30393392A
Other languages
Japanese (ja)
Other versions
JPH06152433A (en
Inventor
敬治 石塚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP30393392A priority Critical patent/JP3093492B2/en
Publication of JPH06152433A publication Critical patent/JPH06152433A/en
Application granted granted Critical
Publication of JP3093492B2 publication Critical patent/JP3093492B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、入力されたデータを符
号化する符号化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an encoding device for encoding input data.

【0002】[0002]

【従来の技術】従来、算術符号器は、ISO/IEC
(Committee Draft 11544等)な
どに記載されているように、A(ugent:区間)レ
ジスタとC(ode:符号)レジスタ間で行なわれる演
算がエンコード時時とデコード時で異なっており、以下
説明するような構成でその処理を行っている。
2. Description of the Related Art Conventionally, arithmetic encoders are based on ISO / IEC.
As described in (Committee Draft 11544 and the like), the operation performed between an A (agent: section) register and a C (mode: code) register differs between encoding and decoding, and will be described below. The processing is performed in such a configuration.

【0003】以下、ISO/IEC(Committe
e Draft 11544等)に記載されている符号
化方式を例にとり、その処理を実現するための従来構成
を図2、及び図3を用いて説明する。
[0003] The ISO / IEC (Committe)
e Draft 11544), a conventional configuration for realizing the processing will be described with reference to FIGS. 2 and 3. FIG.

【0004】図2において、1はA(ugent:区
間)レジスタであり、5はC(ode:符号)レジスタ
であり、2はAレジスタとCレジスタの値を加算する加
算器であり、3はCレジスタの値からAレジスタの値を
減ずる減算器であり、4はエンコード時にH側,デコー
ド時にL側を選択するマルチプレクサである。
In FIG. 2, reference numeral 1 denotes an A (agent: section) register, 5 denotes a C (mode: sign) register, 2 denotes an adder for adding the values of the A and C registers, and 3 denotes an adder. A subtractor subtracts the value of the A register from the value of the C register. Reference numeral 4 denotes a multiplexer that selects the H side during encoding and the L side during decoding.

【0005】おのおの処理を行うにあたって、Cレジス
タのビット構成は図3に示す様になっており、Aレジス
タが16ビットのデータで構成されているものとして説
明する。
In performing each process, the bit configuration of the C register is as shown in FIG. 3, and the description will be made assuming that the A register is composed of 16-bit data.

【0006】エンコード時、(Aレジスタ)+(Cレジ
スタ)の演算が必要であり、Aレジスタの値は、図3
(a)のCレジスタのビット構成の中のLSB側から数
えてφ番目から15番目のXに対して加算されなければ
ならない。その動作を図3を用いて説明する。Cレジス
タの上位16ビットをCHIGH、下位16ビットをC
LOWとすると、1のAレジスタの出力と、CHIG
H,CLOWで構成される32ビットのデータを、2の
加算器にて加算し、4のマルチプレクサで加算器出力を
選択し、再び5のCレジスタに書き込むことによりその
目的が達せられる。デコード時、(CHIGH)−(A
レジスタ)の演算が必要であり、Aレジスタの値を図3
(b)の16番目から31番目のXから減じなければな
らない。その動作を図2を用いて説明する。3の減算器
で、CHIGHからAレジスタの値を減算し、その出力
と、CLOWで構成される32ビットデータを4マルチ
プレクサで選択し、再び5のCレジスタに書き込むこと
によりその目的は達せられる。
At the time of encoding, an operation of (A register) + (C register) is required, and the value of the A register is
It must be added to the φth to 15th Xs counted from the LSB side in the bit configuration of the C register in (a). The operation will be described with reference to FIG. The upper 16 bits of the C register are CHIGH and the lower 16 bits are C
When LOW, the output of one A register and CHIG
The purpose can be achieved by adding 32-bit data composed of H and CLOW by an adder of 2, selecting an output of the adder by a multiplexer of 4, and writing again to a C register of 5. When decoding, (CHIGH)-(A
Register) is required, and the value of the A register is
It must be subtracted from the 16th to 31st X in (b). The operation will be described with reference to FIG. The purpose is achieved by subtracting the value of the A register from CHIGH by a subtractor of 3, and selecting its output and 32-bit data composed of CLOW by a 4 multiplexer, and writing it again to the 5 C register.

【0007】[0007]

【発明が解決しようとする課題】しかしながら上記従来
例では、加算器と減算器が必要でありハードウェアが増
大するという欠点があった。
However, the above-mentioned conventional example has a drawback that an adder and a subtractor are required and hardware is increased.

【0008】そこで、本発明は、かかる回路構成を簡略
化することを目的とする。
Accordingly, an object of the present invention is to simplify such a circuit configuration.

【0009】[0009]

【課題を解決するための手段】上記課題を解決するた
め、本発明の画像処理装置は、算術符号化を行う符号化
回路において、符号レジスタ、区間レジスタ、前記区間
レジスタの出力をシフトする手段、前記シフト出力をビ
ット反転する反転回路、区間レジスタと反転回路出力を
符号化時または復号化時かによって選択するマルチプレ
クサ、前記マルチプレクサ出力と符号レジスタ出力を加
算する加算器を備え、前記加算器の桁上り入力が符号化
時または復号化時かによって制御されることを特徴とす
る。
In order to solve the above-mentioned problems, an image processing apparatus according to the present invention comprises a coding circuit for performing arithmetic coding, a code register, a section register, means for shifting the output of the section register, An inverting circuit for bit-inverting the shift output, a section register and a multiplexer for selecting the output of the inverting circuit during encoding or decoding, an adder for adding the multiplexer output and the sign register output, and a digit of the adder. It is characterized in that the uplink input is controlled depending on whether encoding or decoding is performed.

【0010】[0010]

【実施例】本発明の以下の実施例は、区間レジスタ出力
をシフトし反転する手段を設けることにより、加算器一
つで加減算できるようにしたものである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS In the following embodiments of the present invention, means for shifting and inverting the output of a section register is provided so that addition and subtraction can be performed with a single adder.

【0011】図1は本発明の特徴を最もより表す図面で
あり、同図に於いて、1はAレジスタ、2は加算器、4
はマルチプレクサ、5はCレジスタ、6はシフタ、7は
インバーターである。
FIG. 1 is a diagram most clearly showing the features of the present invention. In FIG. 1, 1 is an A register, 2 is an adder,
Is a multiplexer, 5 is a C register, 6 is a shifter, and 7 is an inverter.

【0012】以下、その詳細な動作について説明する。The detailed operation will be described below.

【0013】エンコード時には、2の加算器の桁上り入
力が“なし”になっているので、Aレジスタの出力とC
レジスタの出力をそのまま加算し、再びCレジスタに書
き込むことによってその目的は達せられる。
At the time of encoding, since the carry input of the adder 2 is "none", the output of the A register
The purpose is achieved by adding the output of the register as it is and writing it again to the C register.

【0014】デコード時には、6のシフタによりAレジ
スタ出力は16ビット分シフトされ、7のインバーター
によりビット反転される。7の出力を4のマルチプレク
サで選択し、2に入力する。2の加算器入力が“あり”
になっているので、CHIGH−Aの演算を実行するこ
とができ、2の出力を再びCレジスタに書き込むことに
よりその目的は達せられる。
At the time of decoding, the output of the A register is shifted by 16 bits by the shifter of 6, and the bit is inverted by the inverter of 7. The output of 7 is selected by the multiplexer of 4 and input to 2. There is an adder input of 2
, The operation of CHIGH-A can be executed, and the purpose is achieved by writing the output of 2 again to the C register.

【0015】第1の実施例の構成説明に使用した6のシ
フタは、符号レジスタと区間レジスタ間で演算を行う場
合の桁合せを行うのが目的であって、そのシフト動作は
配線のみによって実現することができ、論理回路を必要
としないことは言うまでもない。
The six shifters used in the description of the configuration of the first embodiment are intended to perform digit alignment when performing an operation between a code register and a section register, and the shift operation is realized only by wiring. Needless to say, no logic circuit is required.

【0016】[0016]

【発明の効果】以上説明したように、加減算器を共通化
することによって、回路規模を低減し、製造コストを下
げるとともに、高速動作できる効果がある。
As described above, by using a common adder / subtractor, the circuit scale can be reduced, the manufacturing cost can be reduced, and high-speed operation can be achieved.

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

【図1】本発明の実施例の構成を示すブロック図。FIG. 1 is a block diagram showing a configuration of an embodiment of the present invention.

【図2】従来例を示す図。FIG. 2 is a diagram showing a conventional example.

【図3】Cレジスタのビット構成を示す図。FIG. 3 is a diagram showing a bit configuration of a C register.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭53−85629(JP,A) 特開 昭56−2043(JP,A) 特開 昭62−135933(JP,A) 特開 昭63−76525(JP,A) 特開 昭63−314918(JP,A) 特開 平2−202267(JP,A) 特開 平4−280517(JP,A) IEEE TRANSACTIONS ON COMMUNICATION S,VOL.COM−29,No.6,J UNE 1981,pp858−867,”Com pression of Black− White Images With Arithmetic Codin g”,by G.G.Langdon. Jr&J.Rissanen (58)調査した分野(Int.Cl.7,DB名) H03M 7/40 G06T 9/00 H04N 1/411 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-53-85629 (JP, A) JP-A-56-2043 (JP, A) JP-A-62-135933 (JP, A) JP-A 63-85933 76525 (JP, A) JP-A-63-314918 (JP, A) JP-A-2-202267 (JP, A) JP-A-4-280517 (JP, A) IEEE TRANSACTIONS ON COMMUNICATION S, VOL. COM-29, no. 6, J UNE 1981, pp 858-867, "Com pression of Black- White Images With Arithmetic Coding", by G.M. G. FIG. Langdon. Jr & J. Rissanen (58) Field surveyed (Int. Cl. 7 , DB name) H03M 7/40 G06T 9/00 H04N 1/411

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 算術符号化を行う符号化回路において、
符号レジスタ、区間レジスタ、前記区間レジスタの出力
をシフトする手段、前記シフト出力をビット反転する反
転回路、区間レジスタと反転回路出力を符号化時または
復号化時かによって選択するマルチプレクサ、前記マル
チプレクサ出力と符号レジスタ出力を加算する加算器を
備え、前記加算器の桁上り入力が符号化時または復号化
時かによって制御されることを特徴とする符号化装置。
1. An encoding circuit for performing arithmetic encoding, comprising:
A code register, a section register, means for shifting the output of the section register, an inverting circuit for bit-inverting the shift output, a multiplexer for selecting the section register and the inverting circuit output during encoding or decoding, and the multiplexer output. An encoding device comprising an adder for adding an output of a code register, wherein the carry input of the adder is controlled depending on whether encoding or decoding is performed.
JP30393392A 1992-11-13 1992-11-13 Encoding device Expired - Fee Related JP3093492B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30393392A JP3093492B2 (en) 1992-11-13 1992-11-13 Encoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30393392A JP3093492B2 (en) 1992-11-13 1992-11-13 Encoding device

Publications (2)

Publication Number Publication Date
JPH06152433A JPH06152433A (en) 1994-05-31
JP3093492B2 true JP3093492B2 (en) 2000-10-03

Family

ID=17927036

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30393392A Expired - Fee Related JP3093492B2 (en) 1992-11-13 1992-11-13 Encoding device

Country Status (1)

Country Link
JP (1) JP3093492B2 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
IEEE TRANSACTIONS ON COMMUNICATIONS,VOL.COM−29,No.6,JUNE 1981,pp858−867,"Compression of Black−White Images With Arithmetic Coding",by G.G.Langdon.Jr&J.Rissanen

Also Published As

Publication number Publication date
JPH06152433A (en) 1994-05-31

Similar Documents

Publication Publication Date Title
US4953115A (en) Absolute value calculating circuit having a single adder
EP0162499B1 (en) Fading circuit for video signals
US5610850A (en) Absolute difference accumulator circuit
JP3313447B2 (en) Image processing device
JP3093492B2 (en) Encoding device
US5305249A (en) Digital signal processor for video signals
JP2503854B2 (en) Mixed circuit
JP2709356B2 (en) Image processing method
KR100253304B1 (en) A letter-box filtering circuit and method
KR100251985B1 (en) The computing apparatus and method of luminance signal for high speed processing
EP0470793B1 (en) Digital signal orthogonal transformer apparatus
JPH0771301B2 (en) Color video signal conversion method
US4748503A (en) Data reduction circuit with a differential pulse code modulator for video signals
JPH05292322A (en) Picture reader
JPS6148275A (en) Picture signal processor
JPS62219082A (en) Space filter circuit with code correction
JP2002094833A (en) Method and apparatus for reducing noise
JPS59123073A (en) Operating circuit device
JPH02276349A (en) Code converter
JPH0713743A (en) Multiplier
JPS61139888A (en) Image arithmetic device
JPS6344237A (en) Floating point computing device
JPS6115278A (en) Inter-picture element arithmetic circuit
KR960038595A (en) Multiplier using a combination of adder and subtractor
JPH01265670A (en) Color picture processing unit

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20000704

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080728

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080728

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090728

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees