JPH04157926A - Circuit for converting fixed length code into variable length code - Google Patents

Circuit for converting fixed length code into variable length code

Info

Publication number
JPH04157926A
JPH04157926A JP28497590A JP28497590A JPH04157926A JP H04157926 A JPH04157926 A JP H04157926A JP 28497590 A JP28497590 A JP 28497590A JP 28497590 A JP28497590 A JP 28497590A JP H04157926 A JPH04157926 A JP H04157926A
Authority
JP
Japan
Prior art keywords
bits
data
bit
length code
variable
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.)
Granted
Application number
JP28497590A
Other languages
Japanese (ja)
Other versions
JP3034293B2 (en
Inventor
Mitsuo Yamazaki
山崎 充夫
Kazuo Konishi
和夫 小西
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2284975A priority Critical patent/JP3034293B2/en
Publication of JPH04157926A publication Critical patent/JPH04157926A/en
Application granted granted Critical
Publication of JP3034293B2 publication Critical patent/JP3034293B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To attain high speed processing by devising a circuit receiving a synthesis data of a couple of variable length codes sequentially and converting the data into a fixed length code of a prescribed length of bit number to be made efficient and simplified. CONSTITUTION:For example, the circuit converts a picture data comprising a Huffman code with a maximum bit length of 16-bit and an additional data with a maximum bit length of 11 bits into a fixed length data in 8-bit length. A 4-bit additional data is inputted from a ROM 24 to a shift circuit 28 via an FF 26, in which the data is shifted to high-order 4 bits and a data (c) is obtained by a selector SEa. A 10-bit picture data is outputted from a ROM 22 and synthesized with the data (c) via an FF 25, shifted to high-order bits by a shift circuit 27, the data (c) is obtained by a selector SEb and inputted to a shift circuit 30 via an FF 29. A preceding remaining bit number (6) is given to the circuit 30, and an output of a selector 31 receiving it is a data (f). High-order 8-bits in the data are outputted from a terminal 33, the rest is returned to the selector 31 as a remaining data (g). The clock of the FF 32 is fast.

Description

【発明の詳細な説明】 [発明の目的コ (産業上の利用分野) 本発明は可変長符号の固定長変換回路に関し、特に、画
像圧縮のためのハフマン符じを固定長データに変換する
ものに好適の可変長打穀の固定長変換回路に関する。
[Detailed Description of the Invention] [Objective of the Invention (Industrial Application Field) The present invention relates to a fixed-length conversion circuit for variable-length codes, and in particular, to a circuit for converting Huffman codes for image compression into fixed-length data. The present invention relates to a fixed length conversion circuit for variable long shot grain suitable for.

(従来の技術) 近時、電子機器にお(つるティジタル技術の進歩は名し
い。ディジタル画像処理技術の分野においては、画像圧
縮技術の進歩にI」覚ましいものがある。この画(象圧
縮技術は、ディジタル(云送及び記録等の効率を白土さ
ぜるために、より小さいビットレイI・て画像を符号化
する技術である。この技術としては、予測符号化技術及
び直交符り化技術(「TViilii(象の多次元信号
処理J吹抜敬彦著、[」間工業新聞社刊に詳述) Q−
がある。更に、これらの符号化によって圧縮されん:符
号に対して、可変長符号化を施すことによって、更に一
層の画像圧縮か可能である。i」変長符号fヒはド「号
の発生頻度に応して、符シシ化の571〜幅を変化させ
るものであり、固定J1、;T 4:;に比してヒ・ノ
ルレイlを小さくすることができる。
(Prior art) Recently, the progress of digital technology in electronic devices is remarkable.In the field of digital image processing technology, there has been remarkable progress in image compression technology. This technology is a technology that encodes images using a smaller bit ray in order to improve the efficiency of digital transmission and recording.This technology includes predictive encoding technology and orthogonal encoding technology. (Details in “TViillii (Elephant Multidimensional Signal Processing) by Takahiko Fukinuki, published by Hazama Kogyo Shimbunsha)” Q-
There is. Furthermore, even further image compression is possible by applying variable length encoding to the codes that cannot be compressed by these encoding methods. The variable length code fhi changes the width of the sign according to the frequency of occurrence of the sign, and compared to the fixed J1; Can be made smaller.

次に、可変長符号の一例としてハフマン符号の生成方法
を第12図を参照して説明する。第12図(a)はハフ
マン符号の生成過程を示し、第12図(1))はハフマ
ン符号の木を示している。
Next, a method for generating a Huffman code as an example of a variable length code will be explained with reference to FIG. FIG. 12(a) shows the Huffman code generation process, and FIG. 12(1)) shows the Huffman code tree.

いま、1個の固定長符号S1 、 S2 、・・・、S
tをハフマン符号に変換するものとする。第12図はL
 −6の場合の例を示している。先ず、これらの符号S
1乃至S6をその発生頻度(生起確率)か大きい順に並
べる。符号S1乃至s6の生起確率は、第12図(a)
に示すように、夫々035゜0.20.0.15.0.
15.0.10.0.05テあり、符号sl乃至 S6
の順に並べられている。次に、生起確率が最も小さい方
から2つの符号を1組として、その合成確率(2つの生
起確率の相)を求める。
Now, one fixed length code S1, S2,...,S
Let t be converted into a Huffman code. Figure 12 is L
-6 is shown as an example. First, these codes S
1 to S6 are arranged in descending order of occurrence frequency (occurrence probability). The occurrence probabilities of codes S1 to s6 are shown in Fig. 12(a).
As shown in , respectively, 035°0.20.0.15.0.
15.0.10.0.05, code sl to S6
are arranged in order. Next, the two codes with the lowest probability of occurrence are set as a set, and their combined probability (phase of the two probabilities of occurrence) is determined.

第12図では、符号S6 、S5の生起確率が小さく、
その合成確率は0.15である。
In FIG. 12, the occurrence probabilities of symbols S6 and S5 are small;
Its composite probability is 0.15.

次に、この1組と他の符号について、生起確率(又は合
成籟′率)が大きい順に並べ変える。次いで、生起?i
7I率(又は合成確率)が最も小さい方がへ    − ら2つの符月(又は組)を新たな1絹として、その合成
確率を求める。以後、これらの処理を繰返し、第12図
(a)に示すように、合成確率が1となるまて並び変え
を行う。
Next, this set of codes and the other codes are rearranged in descending order of probability of occurrence (or composite probability). Next, the occurrence? i
7. The one with the smallest I rate (or composite probability) is then set as a new 1 silk, and the composite probability is determined. Thereafter, these processes are repeated until the combined probability becomes 1, as shown in FIG. 12(a).

次に、第12図(a、 )に基ついて、第12図([)
)に示す符号の木を作成する。そして、この符号の木の
枝分かれに従って0”′と” ] ”を割当てる。第1
2図(b)では、上側の枝をパ0′”、下側の枝を” 
] ”にしている。この枝分かれに沿ってハフマン符号
を得る。例えは、固定長符号S4は、第12図の太線で
示すように、” o ”の技を通り、” ] ”の技を
通り、最後に′0“″の枝を通ることによって、” O
] O”′というハフマン符号に変換される。このよう
にして求めた符号S1乃至S6のハフマン符号を下記第
1表に示す。
Next, based on Figure 12 (a, ), Figure 12 ([)
) Create the code tree shown in Then, 0'' and ``]'' are assigned according to the branching of this code tree.The first
In Figure 2(b), the upper branch is 0''' and the lower branch is ''.
] ”.A Huffman code is obtained along this branching.For example, fixed-length code S4 passes through the “o” technique and the “ ] ” technique, as shown by the thick line in Figure 12. , and finally by passing through the branch of ``0'''', ``O''
] O"'. The Huffman codes of codes S1 to S6 thus obtained are shown in Table 1 below.

第1表 この第1表に示すように、生起確率が高い場合には短い
ビット長のハフマン符号に変換され、生起確率が低い場
合には長いビット長のハフマン符号に変換される。これ
により、全体ではビットレイ1〜を低減することができ
る。
Table 1 As shown in Table 1, when the probability of occurrence is high, it is converted into a Huffman code with a short bit length, and when the probability of occurrence is low, it is converted into a Huffman code with a long bit length. As a result, the bit ray 1~ can be reduced overall.

ところで、近時、画像データの圧縮方法の標準化が検討
されている。この標準的な画像圧縮技術によると、第1
3図に示すように、画像データをハフマン符号化した後
に、その下位ビットに付加データを付加するようになっ
ている。付加データは有効ビット〜のみを付加する。例
えば、十進表現の1′°と’15”とでは2進表現にお
けるビット数が異なる(1ビツト、4ピツ)・〉ように
、有効ビット〜のみによって構成された付加データもハ
フマン符号と同様に可変長符号である。なお、付加デー
タは下位ビット側が有効ビットとなることから、付加デ
ータについてはLSB (最下位ビット)から順に配列
するLSBファーストでハフマン符号に付加している。
Incidentally, recently, standardization of image data compression methods is being considered. According to this standard image compression technique, the first
As shown in FIG. 3, after image data is Huffman encoded, additional data is added to its lower bits. Additional data includes only valid bits. For example, the number of bits in binary representation is different for 1'° in decimal representation and '15' (1 bit, 4 bits). Additional data composed only of effective bits is similar to Huffman code. This is a variable-length code. Since the lower bits of the additional data are valid bits, the additional data is added to the Huffman code in LSB (least significant bit) first order.

このような可変長の符号化データを記録する場合には、
記録素子の入力フォーマットに基づいて可変長の符号化
データを固定長に変換して記録する必要がある。例えば
、記録素子としてICカードを採用した場合には、入出
力は1バイト単位で行われており、符号化データを8ピ
ツ)・の固定長に変換しなければならない。
When recording such variable length encoded data,
It is necessary to convert variable-length encoded data into fixed-length data based on the input format of the recording element before recording. For example, when an IC card is used as a recording element, input/output is performed in units of 1 byte, and encoded data must be converted to a fixed length of 8 bits.

第14図はこのような可変長のハフマン符号データを8
ビットの固定長データに変換する従来の可変長符号の固
定長変換回路を示ず117772図である。なお、第1
4図においては各部の信号の状態も図示しており、Mは
MSB (最上位ビット)を示し、LはLSBを示して
いる。また、有効データは斜線にて示している。
Figure 14 shows such variable length Huffman code data
FIG. 117772 shows a conventional variable length code fixed length conversion circuit that converts bits into fixed length data. In addition, the first
FIG. 4 also shows the signal states of each part, where M indicates the MSB (most significant bit) and L indicates the LSB. In addition, valid data is indicated by diagonal lines.

入力端子1,2には夫々独立に生成されたハフマン符号
データ及び付加データを入力する。ハフマン符号データ
をハフマン符号レジスタ3に与えて格納し、付加データ
を付加データレジスタ4に与えて格納する。ハフマン符
号レジスタ3は最大ビット長のハフマン符号を格納可能
なビット幅を有し、付加データレジスタ4は最大ビット
〜長の付加データを格納可能なビット幅を有している。
Input terminals 1 and 2 are input with independently generated Huffman code data and additional data, respectively. Huffman code data is given to the Huffman code register 3 for storage, and additional data is given to the additional data register 4 for storage. The Huffman code register 3 has a bit width capable of storing a Huffman code of the maximum bit length, and the additional data register 4 has a bit width capable of storing additional data of the maximum bit length.

このため、各レジスタ3,4には第14図の斜線にて示
す有効データ5の外に無効データ6が格納される。
Therefore, invalid data 6 is stored in each register 3, 4 in addition to valid data 5 shown by diagonal lines in FIG.

各レジスタ3,4の出力は信号7に示すように合成され
てシリアル変換シフタ8に与えられる。
The outputs of each register 3 and 4 are combined as shown in signal 7 and applied to serial conversion shifter 8.

シリアル変換シフタ8は、付加データの有効データをシ
リアル変換した後に、この有効データがハフマン符号の
有効データと連続するようにシフトする。このシフトに
は、付加データの有効ビット数の情報が必要であり、シ
リアル変換シフタ8は付加データの最大ビット数から有
効ビット数を減算してシフト量を求めている。シリアル
変換シフタ8は付加データを7シリアルに変換した後ク
ロッりに応じて1ビットずつシフトシており、変換処理
にはシフトするビットル数分の時間が必要である。
After serially converting the valid data of the additional data, the serial conversion shifter 8 shifts the valid data so that it is continuous with the valid data of the Huffman code. This shift requires information on the number of effective bits of the additional data, and the serial conversion shifter 8 subtracts the number of effective bits from the maximum number of bits of the additional data to obtain the shift amount. The serial conversion shifter 8 converts the additional data into 7-serial data and then shifts it bit by bit according to the clock, and the conversion process requires time equal to the number of bits to be shifted.

シリアル変換シフタ8からは、信号9の斜線部にて示す
ように、出力データ列の中央にイ」加データ及びハフマ
ン符号の有効ビットが形成され、LSB及びMSB側に
無効ビットが形成されたデータが出力される。このデー
タを余りビット付加回路10を介して固定長変換回路1
1に与える。固定長変換回路11は順次入力されるシリ
アルデータを8ビットのパラレル固定長データに変換し
て出力端子12から出力する。固定長変換回路11はパ
ラレル変換によって得たデータが8し゛ットに満たない
場合には、このデータの各ビット(以下、余りビットと
いう)を余りビット付加回路10に出力する。
From the serial conversion shifter 8, as shown in the shaded area of the signal 9, the output data string has data with added data and effective bits of the Huffman code formed in the center, and invalid bits formed on the LSB and MSB sides. is output. This data is sent to the fixed length conversion circuit 1 via the remainder bit addition circuit 10.
Give to 1. The fixed length conversion circuit 11 converts the sequentially input serial data into 8-bit parallel fixed length data and outputs it from the output terminal 12. If the data obtained by parallel conversion is less than 8 bits, the fixed length conversion circuit 11 outputs each bit of this data (hereinafter referred to as a remainder bit) to the remainder bit adding circuit 10.

例えば、固定長変換回路11に人力されるハフマン符号
及び付加データの有効ピッ)〜の合計ビット数が26ビ
ツI・である場合には、固定長変換回路11からは3組
の8ピツ1へ固定長データが出力端子12に出力され、
2ビットの余りビットが余りビットイ・1加回路1()
に帰還される、 余りビット付加回路10は、信号13の二重斜線部にて
示すように、前データの余りピッl〜14を次のデータ
の有効ビットの先頭に付加して固定長変換回路11に与
えている。こうして、固定長変換回路11からは、ハフ
マン符号及び付加データのビット数に拘らず、8ビット
長のパラレルデータが順次出力される。なお、出力端子
12がら出力される所定の固定長データの先頭は、ハフ
マン符号の有効ピッ)〜数、余りビット〜数及び最大ビ
ットへ長がら算出して求めるようになっている。
For example, if the total number of bits of the Huffman code and additional data manually entered into the fixed length conversion circuit 11 is 26 bits I, then the fixed length conversion circuit 11 outputs three sets of 8 bits 1. Fixed length data is output to the output terminal 12,
The remaining bit of 2 bits is the remaining bit i.1 addition circuit 1 ()
The remainder bit addition circuit 10 adds the remainder bits 1 to 14 of the previous data to the beginning of the effective bits of the next data, as shown by the double hatched part of the signal 13, and converts the remaining bits into a fixed length conversion circuit. It is given to 11. In this way, the fixed length conversion circuit 11 sequentially outputs 8-bit parallel data regardless of the number of bits of the Huffman code and additional data. The beginning of the predetermined fixed length data output from the output terminal 12 is determined by calculating the length from the effective bits to the number, the remainder bits to the number, and the maximum bit of the Huffman code.

ところで、処理を簡単化するために、シリアル変換シフ
タ8は付加データの有効ビットをシフトするときに、入
力されるデータをシリアルに変換するようにしている。
By the way, in order to simplify the processing, the serial conversion shifter 8 converts the input data into serial data when shifting the valid bits of the additional data.

このため、固定長変換処理に長時間を要してしまう。し
たがって、例えば、電子スチルカメラの画像データ圧縮
用として採用した場合には、メモリカードに対する書込
みに長時間を要してしまうことから、比救的早い速度で
連写することかできないという問題点があった。
Therefore, fixed length conversion processing takes a long time. Therefore, when used for compressing image data in an electronic still camera, for example, it takes a long time to write to the memory card, so there is a problem that continuous shooting cannot be performed at a comparatively fast speed. there were.

(発明が解決しようとする課題) −1,1−− このように、上述した従来の可変長符号の固定長変換回
路においては、変換処理に長時間を要してしまうという
問題点かあっl:。
(Problems to be Solved by the Invention) -1,1-- As described above, in the conventional fixed-length conversion circuit for variable-length codes mentioned above, there is a problem that the conversion process takes a long time. :.

本発明はかかる問題点に鑑みてなされたものであって、
高速処理を可能にすることができる可変長符号の固定長
変換回路を提供することを目的とする。
The present invention has been made in view of such problems, and includes:
An object of the present invention is to provide a fixed-length conversion circuit for variable-length codes that can perform high-speed processing.

[発明の構成] (課題を解決するための手段) 本発明の請求項]に係る可変長符号の固定長変換回路は
、順次入力される一対のパラレル可変長符号の合成デー
タを所定ビット〜数のパラレル固定長符号に変換して出
力する可変長符号の固定長変換回路において、有効ビッ
ト〜がいずれも下位ビット側に配列された前記一対の°
【可変長符号の一方をシフト〜させて他方の可変長符号
と合成することにより双方の有効ビットが連続した合成
う一一一夕を得る第]のシフト−手段と、この第1の9
71〜手段からの合成う一一夕を前記他方の可変長符号
の無効ヒラ1数に基ついてシフト〜さぜることにより前
記1 ′2  − 合成データの有効ビットを上位ビット側に配列させる第
2のシフト手段と、入力されるデータを上位の所定ビッ
トとその他の下位のビットとに分割して夫々パラレル出
力すると共に前記その他の下位のビットのビット数が前
記上位の所定ビットのビット数よりも少なくなった場合
には前記その他の下位のビットを余りビットとしてその
ビット〜数の情報を出力する出力手段と、前記余りビッ
トのビットへ数の情報に基づいて前記第2のシフト手段
からの合成データをこの余りビットのビット数だ(′)
下位ビット側にシフトする第3のシフト〜手段と、前記
余りビットが発生ずるまでは前記その他の下位のビット
を選択的に前記出力手段に与え余りビットが発生ずると
この余りビットを前記第3のシフト手段の出力の上位ビ
ット側に付加して前記出カニf−段に与−える選択手段
とを具備したものであり、本発明の請求項2に係る可変
長符号の固定長変換回路は、前記第1のシフト手段に代
えて、前記−・対の可変長打すのうちの有効ビットが上
位ビット側(、ご配列さhた一方の可変長符号と有効ビ
ットが下位ビット側に配列された他方の用変長符号とを
合成することにより双方の有効ビットが連続した合成デ
ータを得て前記第2のシフト手段に与える第1の合成手
段を具備したものであり、本発明の請求項3に係る可変
」Q符号の固定長変換回路は、請求項2に係る可変長符
号の固定長変換回路において、前記第1の合成手段及び
第2のシフト手段に代えて、前記一対のり変長符号のう
ちの有効ビットが」−位ビット側に配列されたー・方の
可変長符号を有効ビットが」−位ビット側に配列された
他方の可変長符号の無効ビット数に基づいたシフトへ量
でシフ)〜した後に前記他方の可変長符号に合成して前
記第3のシフト手段に与える第2の合成手段を具備した
ちのてあり、 本発明の請求項4に係る可変長符号の固定長変換回路は
、請求項2に係る可変長打−弓の固定長変換回路におい
て、前記第2及び第3のシフト手段に代えて、前記一対
の可変長打すのうちの他方の14変長符号の無効ビット
数及び前記余りビット数に基−ノいたジフト(1:な(
つ前記第1の合成手段かr。
[Structure of the Invention] (Means for Solving the Problems) A fixed-length conversion circuit for variable-length codes according to the claims of the present invention converts composite data of a pair of parallel variable-length codes sequentially input into predetermined bits to a number of bits. In a variable length code fixed length conversion circuit that converts the variable length code into a parallel fixed length code and outputs it, the pair of °
A shifting means [shifting one of the variable length codes and combining it with the other variable length code to obtain a combination in which both effective bits are continuous];
71~ Shifting the synthesis bits from the means based on the number of invalid fillers of the other variable length code, the effective bits of the 1 '2 - synthesized data are arranged on the upper bit side. 2, the input data is divided into upper predetermined bits and other lower order bits and outputted in parallel, and the number of bits of the other lower order bits is greater than the bit number of the upper predetermined bits. an output means for outputting information from the bits to the number by using the other lower bits as surplus bits when the number of bits decreases; The number of bits of the composite data is this remainder bit (′)
a third shifting means for shifting to the lower bit side; and a third shifting means for selectively supplying the other lower bits to the output means until the surplus bit is generated; The variable length code fixed length conversion circuit according to claim 2 of the present invention is provided with a selection means added to the upper bit side of the output of the shift means and applied to the output f-stage. , instead of the first shifting means, the effective bits of the pair of variable length codes are arranged on the upper bit side (, and the effective bits of one variable length code and the effective bits are arranged on the lower bit side). and the other variable length code to obtain composite data in which both effective bits are continuous, and provide the obtained composite data to the second shifting means. The fixed-length conversion circuit for variable-length codes according to claim 3 is the fixed-length conversion circuit for variable-length codes according to claim 2, in which, in place of the first combining means and the second shifting means, the pair of variable length The variable-length code whose valid bits are arranged on the ``-'' bit side is shifted based on the number of invalid bits of the other variable-length code whose valid bits are arranged on the ``-'' bit side. the variable length code according to claim 4 of the present invention, further comprising a second combining means for combining the variable length code with the other variable length code and applying it to the third shifting means after performing In the fixed length conversion circuit for a variable long shot-bow according to claim 2, the fixed length conversion circuit replaces the second and third shifting means with the other 14 variable length code of the pair of variable long shot. The shift based on the number of invalid bits and the number of remaining bits (1:
or the first synthesis means.

1・1 の合成データをシフトへして前記選択手段に与える第4
のシフト手段を具備したものである。
A fourth shifter shifts the composite data of 1.1 and supplies it to the selection means.
It is equipped with a shifting means.

(作用) 本発明の請求項1においては、第1のシフト1段によっ
て一対のパラレル可変長符号のうちの一方がシフト〜さ
れて他方に合成され、双方の有効ビットが連続した合成
テークか生成されて第2のシフト手段に与えられる。第
2のシフト手段は有効ビットを」三位ビット側にシフト
させ、第3のシフト手段は余りビットのビット数分だけ
下位ビット側にシフトさせる。第3のシフト手段の出力
を3匹択手段を介して出力手段に与え、出力手段は上位
の所定ビットを固定長符号として出力する。残りの下位
ビットは選択手段を介して出力手段に帰還されて順次所
定ビットの固定長符号に変換されて出力される。第3の
シフト手段出力の有効ピッl〜の先頭は余すヒッI・分
だけ下位ビット側にシフトしており、出力手段からの余
りビットは選択手段によって次のデータの上位ビットに
付加されてj1冒)3手段にIjλちれる。第1乃至第
3のシフト手−1,5 段及び選択手段によって、シリアル変換することなく合
成データの有効ピッlをデータの先頭にシフトしており
、固定長変換に要する時間が短い。
(Operation) In claim 1 of the present invention, one of the pair of parallel variable length codes is shifted and combined with the other by the first shift stage, and a combined take or a combination in which the effective bits of both are continuous is generated. and is applied to the second shifting means. The second shifting means shifts the valid bits to the third-order bit side, and the third shifting means shifts the effective bits to the lower bit side by the number of bits of the remaining bits. The output of the third shift means is applied to the output means via the three-option means, and the output means outputs the upper predetermined bits as a fixed length code. The remaining lower bits are fed back to the output means via the selection means, and are sequentially converted into a fixed length code of predetermined bits and output. The head of the effective bit l ~ output from the third shift means is shifted to the lower bit side by the remaining bit I, and the remaining bit from the output means is added to the upper bit of the next data by the selection means and j1 bla) Ijλ falls into three means. The first to third shifters 1 and 5 and the selection means shift the effective bits of the composite data to the beginning of the data without serial conversion, and the time required for fixed length conversion is short.

本発明のn!’I求項2においては、第1の合成手段が
双方の有効ビット〜か連続した合成データを生成して第
2のシフト手段に与えている。これにより、第1のシフ
ト手段を不要にして、回路規模を低減している。
n of the present invention! In the 'I requirement 2, the first combining means generates continuous combined data of both effective bits and supplies it to the second shifting means. This eliminates the need for the first shift means and reduces the circuit scale.

本発明の請求項3において、第2の合成手段は−・方の
可変長11号をシフト−させて他方の可変長符号と合成
することにより、双方の有効ビットが連続し、目つこの
有効ヒラ1−か上位ビット側に配列された合成テークを
省1て第3のシフト手段に与えている。これにより、第
1の合成−■段及び第2のシフトへ手段を省略して回路
規模を低減している。
In claim 3 of the present invention, the second combining means shifts the variable length code No. 11 on the one side and combines it with the other variable length code, so that the effective bits of both sides are continuous and the effective bit of the second one is shifted. The synthesized take arranged on the high-order bit side is omitted and given to the third shift means. As a result, the circuit scale is reduced by omitting the means for the first synthesis stage and the second shift stage.

本発明の請求項4においては、第4のシフト手段が他方
の可変長符号の無効ビット数及び余りピッI数に;、(
−Jいて第1の合成手段からの合成ア゛−タをシフト−
させることにより、第3のシフト〜手段の出力と同様の
出力をtl)ている。これにより、第2及び第3のシフ
ト手段を省略して回路規模を低減している。
In claim 4 of the present invention, the fourth shift means adjusts the number of invalid bits and the number of remaining bits of the other variable length code;
-J shifts the synthesis data from the first synthesis means-
By doing so, an output similar to the output of the third shift means is obtained. This reduces the circuit scale by omitting the second and third shifting means.

(実施例) 以下、図面に基づいて本発明の実施例を詳細に説明する
。第1図は本発明の第1の実施例に係る可変長符号の固
定長変換回路を示すブロック図である。本実施例は最大
ビット長が]6ビ・y l・のハフマン符号と最大ビッ
ト長が11ビツトの伺加データとからなる画像データを
8ピツI・長のパラレル固定長データに変換する例を示
している。
(Example) Hereinafter, an example of the present invention will be described in detail based on the drawings. FIG. 1 is a block diagram showing a fixed length conversion circuit for variable length codes according to a first embodiment of the present invention. This example describes an example in which image data consisting of a Huffman code with a maximum bit length of 6 bits and addition data with a maximum bit length of 11 bits is converted into parallel fixed-length data with a maximum bit length of 8 bits. It shows.

ROM22はハフマン符号とハフマン符号のビット長を
格納しており、入力端子21を介して入力される画像デ
ータによってアドレスが指定されてこの画像データをハ
フマン符号に変換して出力する。
The ROM 22 stores Huffman codes and the bit lengths of the Huffman codes, and an address is designated by image data input through the input terminal 21, and the image data is converted into a Huffman code and output.

また、R,0M24には可変長のイ」加データを格納し
ており、入力端子23を介して入力されるデータを可変
長の付加データに変換して出力する。R,0M22の出
力はフリップフロップ(以下、FFという〉25にIj
−え、FF25はクロック端に入力されるクロックCK
 1のタイミングでROM 22の出力をシフ] 7 
− 1〜回路27に出力する。一方、ROM 24の出力は
FF26に与えており、FF2Gはクロック端に入力さ
れるクロックCK1のタイミングでR,OM 24の出
力をシフト回路28に出力するようにな−、)ですする
Further, variable length additional data is stored in R, 0M24, and the data input through the input terminal 23 is converted into variable length additional data and output. The output of R,0M22 is connected to a flip-flop (hereinafter referred to as FF)25.
-Well, FF25 is the clock CK input to the clock end.
Shift the output of ROM 22 at timing 1] 7
−1 to output to circuit 27; On the other hand, the output of the ROM 24 is given to the FF 26, and the FF 2G outputs the output of the R, OM 24 to the shift circuit 28 at the timing of the clock CK1 input at the clock end.

シフト回路28は1ビットシフタSa1乃至10ビット
シフタ5alO及びこれらのシフタSa1乃至S al
oの出力をil択1灼に出力するセレクタS Eaによ
って構成している。シフト凹i?fi28はFF2Gか
らのデータをそのまま出力するか又は制御信号に基つい
て1乃至10ビット〜MSB側にシフト〜して出力する
ようになっている。また、シフl−回路27は1ヒツl
〜シフタSb1乃至13ヒツ1−シフタS b13及び
これらのシフタSbi乃至S IN3の出力を選択的に
出力するセレクタS ELによって構成している。シフ
ト回路27は入力されたテークをそのまま出力するか又
は制御信号に基ついてコ乃至]3ピッI−M S 13
側にシフトシて出力するようになっている。
The shift circuit 28 includes 1-bit shifters Sa1 to 10-bit shifters 5alO and these shifters Sa1 to Sal.
It is constituted by a selector S Ea which outputs the output of o in one choice. Shift concave i? The fi28 outputs the data from the FF2G as is, or shifts 1 to 10 bits to the MSB side based on the control signal and outputs the data. In addition, the Schiff l-circuit 27 has one hit l.
- shifters Sb1 to 13 - shifter Sb13 and a selector SEL that selectively outputs the outputs of these shifters Sbi to SIN3. The shift circuit 27 outputs the input take as it is, or outputs it based on the control signal.
The output is shifted to the side.

第2図は第1図中の各シフト〜回路を構成するジッタ及
び41トタクを説明するl−めの21772図てあり、
5ビットのシフト回路を示している。第1図中の各シフ
ト回路は第2図のシフト回路と同様の構成となっている
Figure 2 is the 1-th 21772 diagram explaining the jitter and 41 totak that constitute each shift to circuit in Figure 1.
A 5-bit shift circuit is shown. Each shift circuit in FIG. 1 has the same structure as the shift circuit in FIG. 2.

入力端子40乃至44には夫々データのMSB乃至1、
、、 S Bを与えられる。Oヒ”ツト目のセレクタ4
5には入力端子40乃至44からM S B、乃至LS
Bの全データを入力する。1ビット目のセレクタ46は
端子41乃至44から下位第4ピツ1〜乃至L S B
の下位4ビツトを入力する。1ビット目のセレクタ46
は入力された4ピツ1〜のデータを上位4ビツトのデー
タに変換し、0”′のL S Bを付加して出力するよ
うになっている。2ビット目のセレクタ47は入力端子
42乃至44から入力データの下位3ビツトを入力し、
このデータを上位3ビツトのデータに変換し0″のL 
S B及び下位第2ビツトをイ」加して出力する。同様
に、3ビツト目のセレクタ48は入力データの下位2ピ
ツI・を入力し、このデータを上位2ビットに変換し下
位3ピツ1〜には“0″を(−1加して出力する。また
、4ピツI・目のセレクタ49は入力データのLSBを
取入れ、このチーター]、9 −−− をMSBに変換して下位4ビツトにはO°′を付 ・加
して出力するようになっている。
The input terminals 40 to 44 have data MSB to 1, respectively.
,, given SB. Selector 4 for Ohi”
5 has input terminals 40 to 44, MSB to LS
Enter all data of B. The selector 46 for the first bit selects the lower fourth bits 1 to LS B from the terminals 41 to 44.
Input the lower 4 bits of . 1st bit selector 46
converts the input data of 4 bits 1 to 4 bits into data of the upper 4 bits, adds LSB of 0"', and outputs it. The selector 47 of the 2nd bit is connected to the input terminals 42 to 4. Input the lower 3 bits of the input data from 44,
Convert this data to the upper 3 bits and
SB and the second lower bit are added and output. Similarly, the third bit selector 48 inputs the lower two bits I of the input data, converts this data to the upper two bits, adds "0" (-1) to the lower three bits 1 and outputs it. In addition, the selector 49 of the 4th bit I takes in the LSB of the input data, converts this cheater], 9 --- to MSB, adds O°' to the lower 4 bits, and outputs it. It has become.

各セレクタ45乃至49には制御信号が与、えちれてお
り、この制御信号に基つくセレクタの出力が選択的に出
力される。例えは、制御信−弓によって2ビットL1の
セレクタ47をjγ択すると、入力データの下位3ビツ
トは2ビット目のセレクタ47によって上位3ビットに
変換され、史に下位2ビットとして0″か(=J加され
て出力される。ずなわぢ、入力4j了42乃至44から
入力されるデータが2ヒッ1− M S B 1則にシ
フ)〜されて出力されることになる。
A control signal is applied to each selector 45 to 49, and the output of the selector based on this control signal is selectively output. For example, when the 2-bit L1 selector 47 is selected by the control signal, the lower 3 bits of the input data are converted to the upper 3 bits by the 2nd bit selector 47, and the lower 2 bits are 0'' or ( =J is added and output.The data input from the inputs 42 to 44 are shifted according to the 2 hit 1-M S B 1 rule and output.

制御イ:τ−最によって各セレクタを房択することによ
り、入力データを0乃至4ピツ1へたけMSB側にシフ
ト−する、二とかできる。
Control A: By selecting each selector according to τ, input data can be shifted from 0 to 4 bits to the MSB side.

第1図のシフト回路28のセレクタSt?aにはROM
24からI=J加データのし・ノ1数を示すデータを人
力してJ′3つ(Iンl示省略)、セレクタS E a
はこのデータに基ついて1ヒッ1−シフタSai乃至1
0ピツ1〜シフクS aloのうちの1つの出力をj巽
択的に出Jlする。1、)にプf・)ている5、ニノし
により、1・」加データの有効ビットをMSB側にシフ
トシ、セレクタSEaの出力はFF25の出力と合成さ
れてシフト回路27に与えられる。シフト回路27はF
F25出力を上位]6ビツトのデータとして取入れ、セ
レクタSEa出力を下位11ピツI・とじて取入れてお
り、FF25出力の有効ビットとセレクタSEa出力の
有効ビットとは連続した状態となる。
Selector St? of shift circuit 28 in FIG. a has ROM
From 24, manually input the data indicating the number of I=J addition data to J'3 (Indication omitted), selector S E a
Based on this data, 1 hit 1-shifter Sai to 1
Selectively outputs one of the outputs 0, 1 to 1 to 1, S alo. 1, ), the valid bits of the added data are shifted to the MSB side, and the output of the selector SEa is combined with the output of the FF 25 and given to the shift circuit 27. The shift circuit 27 is F
The F25 output is taken in as upper 6-bit data, and the selector SEa output is taken in as lower 11 bits, and the valid bits of the FF25 output and the valid bits of the selector SEa output are in a continuous state.

シフトへ回路27の1ビットシフタS旧乃至]3ビ・y
l・シフタ51113は、夫々、入力された27ビツト
のデータをMSB側に1乃至13ビツトシフトしてセレ
クタSEbに出力する。セレクタSEbにはR O M
 22からハフマン符号の有効ビットへ数のデータかり
ーえられており、セレクタSEbはこのデータに基づく
シフタSb1乃至Sb13の出力を選択的に出力するこ
とにより、ハフマン符号及び付加データの有効ビットを
MSB側にシフトするようになっている。シフト回路2
7の出力をFI?29を介してシフト回路30に与える
。FF29はクロック端に入力されるクロックC K 
1のタイミングでシフI〜凹1烙27の出力をシフト回
路28に出力するよう= 21 − になっている。
Shift to circuit 27 1-bit shifter S old to] 3 bit y
The l shifters 51113 each shift the input 27-bit data by 1 to 13 bits toward the MSB side and output the shifted data to the selector SEb. Selector SEb has ROM
22 to the effective bits of the Huffman code, and the selector SEb selectively outputs the outputs of shifters Sb1 to Sb13 based on this data, thereby converting the effective bits of the Huffman code and additional data to the MSB. It is supposed to shift to the side. Shift circuit 2
FI the output of 7? 29 to the shift circuit 30. FF29 is the clock input to the clock end.
= 21 - so that the outputs of the shift I to concave 1 heat 27 are output to the shift circuit 28 at a timing of 1.

シフト回路30は1ビットシフタSC1乃至7ビツトシ
フタSC7及びこれらの各シフタSc1乃至SC7の出
力を3’J1択的に出力するセレクタSECによって構
成している。1ビットシフタSC1乃至7ビツトシフタ
Sc7は夫々入力されたデータを1ビット乃至7ビット
1. S B側にシフl− L.てセレクタSEcに出
力する。セレクタ3ECは余すビットの情報が与えられ
ており、この情報に基づいてシフタS(:1乃至SC7
を選択することにより、余りビットに基づいたシフb 
3だζ)FF29出力をL S B側にシフトさせるよ
うになってい。シフト回路30からの34ビットの出力
をデータ■1としてセレクタ31に与える。セレクタ3
1の出力をFF32に与え、Fl”−”32はクロック
端にクロックCKIよりも短い周期のクロックC K 
Oを入力して、このクロックC K Oのタイミングで
セレタク31出力の上位8ピツ)〜を出力端子33に出
力し、下位26ビツトをう一一夕丁2としてセレクタ3
1(、こJQ還させる。
The shift circuit 30 is composed of 1-bit shifters SC1 to 7-bit shifters SC7 and a selector SEC that selectively outputs the outputs of these shifters Sc1 to SC7. 1-bit shifter SC1 to 7-bit shifter Sc7 convert input data into 1-bit to 7-bit 1. Schiff L-L on the SB side. and outputs it to selector SEc. The selector 3EC is given information on the remaining bits, and based on this information, the shifter S (:1 to SC7
Shift b based on the remainder bits by selecting
3) It is designed to shift the FF29 output to the LSB side. The 34-bit output from the shift circuit 30 is given to the selector 31 as data 1. selector 3
1 is given to FF32, and Fl"-"32 receives a clock CK with a shorter period than the clock CKI at the clock end.
0 is input, and at the timing of this clock CKO, the upper 8 bits of the output of the selector 31 are outputted to the output terminal 33, and the lower 26 bits are set as 2 and output to the selector 3.
1 (, I will return this JQ.

第3し1は第1図中のセレクタ31の具体的な構成−.
   2  :) を示すブロック図である。
The third item 1 is the specific configuration of the selector 31 in FIG.
2:) is a block diagram showing the system.

セレクタ31は選択回路SEI乃至5E34によって構
成している。セレクタ31の各選択量i¥8s Ei乃
至S1Σ34の各入力端0には夫々シフト回路30から
のデータ■1のMSB乃至L S Bを与え、選択回路
S1う1乃至5E26の入力端1には夫々Fl−″32
からのデータ■2のMSB乃至L S Bを与える。
The selector 31 is composed of selection circuits SEI to 5E34. The MSB to LSB of the data 1 from the shift circuit 30 are applied to the input terminals 0 of each selection amount i\8s Ei to S1Σ34 of the selector 31, and the input terminals 1 of the selection circuits S11 to 5E26 are Each Fl-″32
Data ■2 MSB to LSB are given.

選択回路SEl乃至SE7は余りビットに基つく制御信
号ssOによって制御され、選択回路Sl’:8乃至5
E34は余りビットに基づく制御信号sslによって制
御される。選択回路SEl乃至5E34は、制御信号s
so、sslによって、制御信号入力端Sかハイレベル
(以下、” H”という)になると入力端]を選択し、
ローレベル(以下、I7”′という)になると入力端0
を選択するようになっている。
The selection circuits SEl to SE7 are controlled by a control signal ssO based on the remainder bit, and the selection circuits S1': 8 to 5
E34 is controlled by a control signal ssl based on the remainder bit. The selection circuits SEl to 5E34 receive the control signal s
so, ssl, when the control signal input terminal S becomes high level (hereinafter referred to as "H"), select the input terminal],
When it goes to low level (hereinafter referred to as I7''), the input terminal becomes 0.
You can now choose.

次に、このように構成された可変長符号の固定J(変換
回路の動作について第4図の説明図を参照して説明する
。第4図(a)乃至(h)は夫々第11′A中のa乃至
11点に現れるデータの状態を示している。なお、第4
図では破線にて有効ビットを示している。
Next, the operation of the fixed J (conversion circuit) of the variable length code configured in this way will be explained with reference to the explanatory diagram of FIG. It shows the state of data appearing at points a to 11 in the middle.
In the figure, valid bits are indicated by broken lines.

ROM22は入力端子21を介して入力される画像デー
タをハフマン符号に変換してFF25に出力する。また
、ROM24はROM22からのハフマン符号に付加す
るイ・1加テータをFl?26に出力する。I・′F2
.’+、26のクロック端にはクロックCK1が与えら
れており、[・’F25,26はクロックCK iのタ
イミンク′て、第4図(a、)、(b)に夫々示すハフ
マン符すう一一夕及びイ・1加テータを出力する。なお
、第4し]てはROM22からのハフマン符号データの
有効ビットを下位]0ビットとし、ROM24からの付
加データの有効ヒラ1〜を下位4ビットとしている。
The ROM 22 converts image data input through the input terminal 21 into Huffman codes and outputs the Huffman codes to the FF 25 . Also, the ROM 24 stores the I-1 addition data Fl? to be added to the Huffman code from the ROM 22. Output to 26. I・'F2
.. The clock CK1 is applied to the clock ends of '+ and 26, and the clock ends of [F25 and 26 are the timing of the clock CK i', and the Huffman codes shown in FIGS. 4(a) and (b), respectively. Outputs Ichiyo and I/1 addition data. Note that the effective bits of the Huffman code data from the ROM 22 are set to the lower 0 bits, and the effective bits of the additional data from the ROM 24 are set to the lower 4 bits.

FF2Gからσ)(−1加データをシフト回路28に与
える。ジノl[1!l :(328のセレクタS E 
1にはROM24からイ・1加データの無効ヒン)〜数
(“7″)を示すデータか−17−えられており、セレ
クタSF、aは7ビツトシフタsa7の出力をjπ択的
に出力する。こうして 第4しl (c )に示ツー」
:うに、イ・1加テータの−,−24− 有効ビットはMSB叫Gこ7ビツトシフトFF25の出
力とセレクタSEaの出力とを合成し、第4図(d)に
示すように、ハフマン符号データと付加データの有効ビ
ットが連続した状態てシフト回路27に与える。シフト
回路27のセレクタSEbにはR.0M22からハフマ
ン符号データの無効ビット数(”6”)を示すデータが
与えられており、セレクタSEbは6ビツ)・シフタS
b6の出力を選択する。こうして、シフト回路27にお
いてデータは6ビットMSB側にシフ)〜し、ハフマン
符号データの有効ビットの先頭ビットがMSBとなって
FF29に与えられる(第4図(e))。
FF2G to σ)(-1 added data is given to the shift circuit 28.
1 is loaded with data indicating the number ("7") from the ROM 24, and the selector SF, a selectively outputs the output of the 7-bit shifter sa7. . Thus, as shown in Part 4 (c).
The valid bits are the MSB and the output of the selector SEa is combined with the output of the 7-bit shift FF25 and the output of the selector SEa, and as shown in FIG. 4(d), the Huffman code data is generated. and the valid bits of the additional data are supplied to the shift circuit 27 in a continuous state. The selector SEb of the shift circuit 27 has R. Data indicating the number of invalid bits ("6") of Huffman code data is given from 0M22, and selector SEb is 6 bits) and shifter S.
Select the output of b6. In this way, the data is shifted to the 6-bit MSB side in the shift circuit 27, and the first bit of the valid bits of the Huffman code data becomes the MSB and is applied to the FF 29 (FIG. 4(e)).

17F29はクロックCK1のタイミングで入力された
27ビットのデータをシフト回路30に出力する。
17F29 outputs 27 bits of data input at the timing of clock CK1 to shift circuit 30.

こうして、]クロックでR.0M22. 24の出力が
シフト回路30まで転送される。シフト回路30のセレ
クタSF〕Cには、余りビット数のデータが与えられて
おり、セレクタSEcは余りビット数に基づくシフタS
CI乃至SC7を選択する。いま、第4図(f>の梨地
模様に示すように、前データの余り一  2 5  − ヒラ1〜数か6ヒツ1〜であるものとする。この場合に
は、セレクタSICは0ビットシフタScGの出力を選
択し、シフト回路30は入力されたデータを6ビットL
. S 13側にシフトしてセレクタ31に出力する。
Thus, R. 0M22. The output of 24 is transferred to shift circuit 30. The selector SF]C of the shift circuit 30 is given the data of the number of remaining bits, and the selector SEc is supplied with the data of the number of remaining bits.
Select CI to SC7. Now, as shown in the satin pattern in Fig. 4 (f>), it is assumed that the remainder of the previous data is 1 2 5 - 1 to 6 or 1 to 6. In this case, the selector SIC is set to the 0 bit shifter ScG. The shift circuit 30 selects the output of the 6-bit L
.. S: Shift to the 13 side and output to the selector 31.

セレクタ31は、制御信号SSO,SSIによって、選
択回路S f=: i乃至S E Gの制御入力端か”
 l−ピとなり、選択回路SP.7乃至SE34の制御
入力端か■、°′となー:・て、酸データの余りビ・)
1へをーl二位6ヒツ1〜とし、シフト回路30の出力
を上位7ビット乃至1. S l−1としてト’F32
に出力釘る(第4図(f))。
The selector 31 selects the control input terminals of the selection circuits S f=: i to S E G by the control signals SSO and SSI.
l-pi, and the selection circuit SP. Is it the control input terminal of 7 or SE34? ■, °':・te, remainder of acid data Bi・)
1 to 1, and the output of the shift circuit 30 is set to the upper 7 bits to 1. To'F32 as S l-1
The output is fixed (Fig. 4(f)).

F I? 32はり17ツク端に人力されるクロックC
KOのタイミングで入力された34ヒツ1へのデータの
十−位8ビット(第41図(h))を出力端子33に出
力し、下位26ビツト(第4図(g))をセレクタ31
にデータ12として帰還させる。セレクタ31は、制御
信号sso,ss+によって、選択量b’!f. S 
F 1乃至S E 34の制御入力端か゛トビとなり、
データ■2のうらの一t11212ビットの有効う一〜
−夕とト位22ヒッ1の,h)「効)−一夕をFF32
に出力する。FF32はクロックCKOのタイミンクで
に1位8ピツ1〜の有効データと下位26ビツトをセレ
クタ31に帰還させる。これにより、4ビットの余りビ
ットかセレクタ31に帰還されることになる。
FI? Clock C manually operated at the 17th end of the 32 beam
The 8 bits of the tenth place (Fig. 41 (h)) of the data inputted to 34 hit 1 at the timing of KO are output to the output terminal 33, and the lower 26 bits (Fig. 4 (g)) are sent to the selector 31.
is returned as data 12. The selector 31 selects the selection amount b'! by the control signals sso, ss+. f. S
The control input terminals of F 1 to S E 34 become redundant,
Data ■ The other valid bit of t11212 bits
-Yu and Toi 22 hit 1, h) "effect) - Ichiyuki FF32
Output to. The FF 32 feeds back the valid data of the 1st and 8th bits 1 to 1 and the lower 26 bits to the selector 31 at the timing of the clock CKO. As a result, the remaining 4 bits are fed back to the selector 31.

次のタイミングては、シフト〜回路30は上位第5ビッ
ト目以降に有効ビットを右するデータをセレクタ31に
データ11として与える。セレクタ31はシフト回路3
0の出力の上位ビットに余りビットを付加して出力する
。こうして、次のクロックCK Oのタイミンク°でF
F32から出力端子33に8ピツ1〜のパラレルの固定
長データが出力される。
At the next timing, the shift circuit 30 supplies the selector 31 with data 11 indicating the valid bits starting from the fifth most significant bit. Selector 31 is shift circuit 3
The remainder bit is added to the upper bit of the 0 output and output. In this way, at the timing of the next clock CKO
8-bit parallel fixed-length data is output from F32 to output terminal 33.

このように、本実施例においては、クロックCK1のタ
イミングてR,0M22.24の出力を所定−1tなけ
シフトシて転送し、クロックCKOのタイミンクで8ビ
ツトの固定長データとして出力しており、可変長符号デ
ータから固定長データへの変換時間を著しく短縮するこ
とができる。
As described above, in this embodiment, the output of R,0M22.24 is shifted by a predetermined amount of -1t at the timing of the clock CK1 and is transferred, and is output as 8-bit fixed length data at the timing of the clock CKO. The time required to convert long code data to fixed length data can be significantly reduced.

第5図は本発明の第2の実施例に係る可変長符号の固定
長変換回路を示すブロック図である。第5図にょういて
第1し1と同一の構成要素には同一符号をイ・jして説
明を省略する。
FIG. 5 is a block diagram showing a variable length code fixed length conversion circuit according to a second embodiment of the present invention. Components in FIG. 5 that are the same as those shown in FIG.

本実施例が第1の実施例と異なる点は、シフト〜回路2
8を省略し、ROM24に代えて170M51を採用し
た点である。R,OM 51は付加データを格納してお
り、入力端子23を介して入力されるデータに基づいた
(=J加テデーをFF2Gを介してシフト回路27に出
力する。ROM!ilからの付加データは上位ビット側
か有効ビットてあり、下位ヒy )側か無効ヒラ1〜と
なっている。
This embodiment differs from the first embodiment in that the shift ~ circuit 2
8 is omitted and 170M51 is used instead of ROM24. R, OM 51 stores additional data, and outputs (=J addition data) to the shift circuit 27 via FF2G based on the data input via the input terminal 23.Additional data from the ROM!il The upper bit side is the valid bit, and the lower bit side is the invalid bit.

このようにtfi成された実施例の動作について第6図
を参!!9 して説明する。第6図(a)、(b>。
See FIG. 6 for the operation of the embodiment configured with TFI in this way! ! 9 Explain. FIG. 6(a),(b>.

(cl)乃至(11)は夫々第5図中のa、b、d乃至
l1点に現iするデータの状態を示している。第6図で
は斜線部分によって有効ビットを示している。
(cl) to (11) respectively show the states of data present at points a, b, d to l1 in FIG. In FIG. 6, valid bits are indicated by diagonal lines.

なお、第6図ではハフマン符号データの有効ビット数は
10ピツ1〜であり、付加データの有効ビット数は4ヒ
ツ1である。
In FIG. 6, the number of effective bits of Huffman code data is 10 bits 1 to 1, and the number of effective bits of additional data is 4 bits 1.

本実施例においては、R,0M51の出力はFF26か
らクロックOK1のタイミ〉′りて′出力される。
In this embodiment, the output of R,0M51 is output from the FF26 at the timing of the clock OK1.

ROM51からの付加データの有効ビット〜は上位ビッ
ト側に配列されており、FF2Bからは、第6図(1)
)に示すように、上位4ビットが有効ビットで下位7ビ
ットが無効ビットの付加データが出力される。このデー
タは第1図のシフト回路28の出力(第4図(c)参照
)と同様であり、以降の動作は第1図の実施例と同様で
ある。
The effective bits of the additional data from the ROM 51 are arranged on the upper bit side, and from the FF2B, as shown in Fig. 6 (1)
), additional data is output in which the upper 4 bits are valid bits and the lower 7 bits are invalid bits. This data is the same as the output of the shift circuit 28 in FIG. 1 (see FIG. 4(c)), and the subsequent operation is the same as in the embodiment shown in FIG.

本実施例においてはシフト回路28を削減して回路構成
を簡略化することができるという利点がある。
This embodiment has the advantage that the shift circuit 28 can be eliminated and the circuit configuration can be simplified.

第7図は本発明の第3の実施例に係る可変長符号の固定
長変換回路を示すブロック図である。第7し1において
第5図と同一の構成要素には同一符号をイ」シて説明を
省略する。
FIG. 7 is a block diagram showing a variable length code fixed length conversion circuit according to a third embodiment of the present invention. In FIG. 7-1, the same components as in FIG. 5 are designated by the same reference numerals and their explanations are omitted.

ROM52はハフマン符号データを格納しており、入力
端子21を介して入力される画像データによってアドレ
スが指定されて、この画像データに基づくハフマン符号
データを出力する。R,0M52からのハフマン符号デ
ータは上位ビット〜側が有効ビットてあり、■位ヒッ1
側が無効ビットとなっている。ROM52の出力をFF
25を介してデータ■3として合成回路54に与える。
The ROM 52 stores Huffman code data, has an address designated by image data input through the input terminal 21, and outputs Huffman code data based on this image data. The Huffman code data from R, 0M52 has the upper bits ~ side as valid bits, and the
side is an invalid bit. FF output of ROM52
25 to the synthesis circuit 54 as data 3.

一方、ROM51からの最大11ビット長の付加データ
を]?F26を介してシフト回路;)3に与える。
On the other hand, additional data with a maximum length of 11 bits from the ROM 51]? It is applied to the shift circuit ;)3 via F26.

シフト回路53は第2図のシフト回路と同様の構成であ
り、R,0M52から無効データの情報を入力して、F
ド26の出力をハフマン符号データの無効ビット〜数だ
けMSB側にシフl−して合成回路54に出力するよう
になっている。これにより、シソ1回路53からはビッ
ト〜数が27ビツトの付加データがデータ14として合
成回il′854に与えられる。
The shift circuit 53 has the same configuration as the shift circuit shown in FIG.
The output of the code 26 is shifted to the MSB side by the number of invalid bits of the Huffman code data and output to the synthesis circuit 54. As a result, additional data of 27 bits is supplied from the shiso1 circuit 53 to the synthesis circuit il'854 as data 14.

第8図は第7図中の合成回路54の具体的な構成を示す
フロック図である。
FIG. 8 is a block diagram showing a specific configuration of the synthesis circuit 54 in FIG. 7.

合成回路54は選択回路Se1乃至S e16によって
構成している。選択回路Sel乃1jse1Gの入力端
0には夫々FF25からのハフマン符号データのMSB
乃至L S 13 (上位第16ヒツ1〜)を与える。
The synthesis circuit 54 is composed of selection circuits Se1 to Se16. The MSB of the Huffman code data from the FF25 is input to the input terminal 0 of the selection circuit Selno1jse1G.
to L S 13 (Top 16 hits 1 to 1) are given.

また、選択回路Sel乃至5e16の入力端1には夫々
シフト回路53からの付加データのMSP3乃至上位第
16ビツ)・(下位第12ビツト)を与える。
Further, MSP3 to upper 16th bit) and (lower 12th bit) of the additional data from the shift circuit 53 are applied to the input terminals 1 of the selection circuits Sel to 5e16, respectively.

選択回路SOl乃至5e16の制御入力端Sにはハフマ
ン符号データの有効ビット数に基づく制御信号ssを与
えており、選択回路Sel乃至S elGは制御入力端
Sが′°トビとなることにより入力端1を選択し、“r
7”′になると入力端0を選択するようになっている。
A control signal ss based on the effective number of bits of the Huffman code data is applied to the control input terminals S of the selection circuits SOL to 5e16, and the selection circuits Sel to SelG have the input terminals Select 1 and press “r
When it reaches 7''', input terminal 0 is selected.

これにより、合成回路54はFF25からのハフマン符
号データの有効ビットとシフト回路53からの付加デー
タとを合成するようになっている。こうして、合成回路
54からは選択回路Se1乃q S elGの出力を上
位16ビツトとし、シフト回路53の出力の下位11ピ
ツ1へを下位ビットとするデータがFF29に出力され
る。
Thereby, the combining circuit 54 combines the valid bits of the Huffman code data from the FF 25 and the additional data from the shift circuit 53. In this way, the synthesis circuit 54 outputs data to the FF 29, in which the outputs of the selection circuits Se1 to qSelG are the upper 16 bits, and the lower 11 bits 1 of the output of the shift circuit 53 are the lower bits.

次に、このように構成された第3の実施例の動作につい
て第9図を参照して説明する。第9図(a、 )乃至(
c)、(e)乃至(h)は夫々第7図のa、b、c、e
乃至す点に現れるデータの状態を示している。第9図の
斜線部は有効ビットを示している。なお、第9図はハフ
マン符号の有効ピッ)−が10ビツトであり、イー1加
データの有効ビ・・/1・か4ヒツl〜の例を示してい
る。
Next, the operation of the third embodiment configured as described above will be explained with reference to FIG. 9. Figures 9(a, ) to (
c), (e) to (h) are a, b, c, and e in Figure 7, respectively.
It shows the state of data appearing at points. The shaded areas in FIG. 9 indicate valid bits. In addition, FIG. 9 shows an example in which the effective bits of the Huffman code are 10 bits, and the effective bits of the addition data are 4 bits.

R,OM 52,51からのハフマン符号データ及びイ
」加データは夫々FF25,26を介して出力される。
The Huffman code data and the I' addition data from R and OM 52 and 51 are outputted via FFs 25 and 26, respectively.

これらのデータは第9図(a)、(b)に示すように、
有効ビットがMSB側に配列されている。
These data are shown in Figures 9(a) and (b),
Valid bits are arranged on the MSB side.

これらのデータから第9図(e)に示ずテークを得るた
めに、先ず、イ」加データをシフト回路53に与えてシ
フトさせている。ずなわら、シフト回路53はハフマン
符月データの無効ビット数のデータ(′6”′)を収入
れて、(」加データをMSB側に()ビットたりシフト
〜され、下位ビットに無効データをイ・1加して27ビ
ツトのテーク■4を合成回路54に出力する。
In order to obtain the take shown in FIG. 9(e) from these data, first, the I' addition data is supplied to the shift circuit 53 and shifted. Of course, the shift circuit 53 receives the invalid bit number data ('6''') of the Huffman note month data, shifts the additional data to the MSB side by () bits, and fills the lower bits with invalid data. A and 1 are added to the 27-bit take 4, which is output to the synthesis circuit 54.

合成回路54にはハフマン符号データの有効ヒフ)数に
基ついた制御信号ssを与える。これにより、合成回路
54の選択回路Se1乃至S eloの制御入力端Sは
” l−”′となってjπ択回路Sel乃至5010は
入力端Oを選択し、選択回路S ell乃至S elG
の制御入力端Sは“’ IT ’″となって選択回路S
 ell乃至S elGは入力端1を選択する。ずなわ
ち、)X根回路Se1乃ff5e10からはFF25か
らの−,−32−−− ハフマン符号データの有効ビット〜が出力され、選択回
路S ell乃至S elGかちはシフト回路53から
のイ・1加テータが出力される。こうして、第9図(e
)に示すデータが合成回路54からITF29に与えら
れる。
A control signal ss based on the effective number of Huffman code data is supplied to the synthesis circuit 54. As a result, the control input terminals S of the selection circuits Se1 to S elo of the synthesis circuit 54 become "l-"', and the jπ selection circuits Sel to 5010 select the input terminal O, and the selection circuits S ell to S elG
The control input terminal S becomes "'IT'" and the selection circuit S
ell to SelG select input terminal 1. That is, the effective bits of the Huffman code data from the FF 25 are output from the ) A 1-added theta is output. In this way, Figure 9 (e
) is given to the ITF 29 from the synthesis circuit 54.

以降の動作は第2の実施例と同様である。The subsequent operation is similar to that of the second embodiment.

本実施例においては、第2の実施例と同様の効果が得ら
れると共に、付加データのみをシフトすればよく回路+
14成を小規模化することができるという利点がある。
In this embodiment, the same effect as in the second embodiment can be obtained, and it is only necessary to shift the additional data.
There is an advantage that the 14-layer structure can be downsized.

第10図は本発明の第4の実施例に係る可変長符号の固
定長変換回路を示すブロック図である。
FIG. 10 is a block diagram showing a variable length code fixed length conversion circuit according to a fourth embodiment of the present invention.

第10図において第5図と同一の構成要素には同一符号
を付して説明を省略する。
In FIG. 10, the same components as in FIG. 5 are given the same reference numerals, and their explanations will be omitted.

本実施例は第2の実施例のシフト回路27に代えてシフ
ト回路60を採用し、シフト回路30を省略した点が第
2の実施例と異なる。第2の実施例においては、シフト
回路27によってハフマン符号データとi=J加データ
との有効ビットをMSB側にシフトした後に、シフト回
路30によって余りビット分だけLS13側にシフl−
させているか、本実施例ではシフト〜回路60が余りビ
ットを一7JtしてMSB側にシフ)−させるようにし
ている。シフト回路60は他のシフト回路と同様の構成
であり、FF25,26からハフマン「1−号データ及
びイイ加データの有効ヒフ1−が連続したデータを入力
する。シフト〜回路60には余りヒフ1への情報か与え
られており、シフトへ回路GOはハフマン符号データの
無効ビット数から余りビット数を減算してシフl−量を
求め、入力されたデータをMSB側(シフト量が負の場
合にはL S F3叫)にシフトさせる。更に、シフト
回路60はシフ)〜したデータのL S B側に無効ビ
ットを付加し3/lビットのデータをドF29に出力す
るようになっている。
This embodiment differs from the second embodiment in that a shift circuit 60 is used in place of the shift circuit 27 of the second embodiment, and the shift circuit 30 is omitted. In the second embodiment, after the shift circuit 27 shifts the effective bits of the Huffman code data and i=J addition data to the MSB side, the shift circuit 30 shifts the remaining bits to the LS13 side.
In this embodiment, the shift circuit 60 shifts the remaining bits by 17 Jt and shifts them to the MSB side. The shift circuit 60 has the same configuration as other shift circuits, and receives data in which Huffman "1-" data and valid "1-" data are successive from the FFs 25 and 26. 1 is given, and the shift circuit GO subtracts the number of remaining bits from the number of invalid bits of the Huffman code data to obtain the shift l- amount, and converts the input data to the MSB side (if the shift amount is negative). In addition, the shift circuit 60 adds an invalid bit to the LSB side of the shifted data and outputs 3/l bit data to the F29. There is.

この、1:うKl li4成された第4の実施例の動作
について第11し1の、説明図を多照1−で説明する。
The operation of the fourth embodiment, which is completed in 1:U Kl li4, will be explained with reference to the 11th and 1 explanatory diagrams.

第11図<21) 、  (t)) 、  (d)乃至
(11)は夫々第1、 OU21中のH,b、cl乃’
4J、 h点に現れるう〜−夕の状態を示している。第
11 rs;lては斜線部にてイj効ヒフlを示してい
る。
Figure 11<21), (t)), (d) to (11) are H, b, cl to ' in 1st and OU21, respectively.
4J, shows the evening state that appears at point h. In the 11th rs; the shaded area indicates the high effect.

FF25は第11図(a)に示すように有効ビットがL
 S B側に配列されたハフマン符号データを出力し、
FF26は第11図(b)に示すように有効ビット〜が
MSEI側に配列された付加データを出力する。これら
のデータは合成されてシフト回路60に入力される(第
11図(d))。シフト回路60はハフマン符号データ
の無効ビット数から余りビット数を減算してシフト〜量
を求め、このシフト〜量で入力されたデータをシフトす
る(第11図(e))、FF29はこのデータをクロッ
クCK1のタイミングでセレクタ31に出力する。以降
の動作は第2の実施例と同様である。
As shown in FIG. 11(a), the effective bit of FF25 is L.
Output the Huffman code data arranged on the S B side,
The FF 26 outputs additional data in which the effective bits are arranged on the MSEI side as shown in FIG. 11(b). These data are combined and input to the shift circuit 60 (FIG. 11(d)). The shift circuit 60 subtracts the number of remaining bits from the number of invalid bits of the Huffman code data to obtain a shift amount, and shifts the input data by this shift amount (FIG. 11(e)). is output to the selector 31 at the timing of clock CK1. The subsequent operation is similar to that of the second embodiment.

本実施例においては、第2の実施例と同様の効果を有す
ると共に、シフト回路を省略することにより、回路構成
を更に一層簡略化することができるという利点を有する
This embodiment has the same effect as the second embodiment, and has the advantage that the circuit configuration can be further simplified by omitting the shift circuit.

[発明の効果] 以上説明したように本発明によれば、高速処理を可能に
すると共に、回路規模を縮小することができるという効
果を有する − 35〜
[Effects of the Invention] As explained above, the present invention has the effect of enabling high-speed processing and reducing the circuit scale.

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

第1図は本発明の第1の実施例に係る可変長符号の固定
長変換回路を示すブロック図、第2図はシフト回路を説
明するためのブロック図、第3図はセレクタ31の具体
的な構成を示すブロック図、第4図は第1の実施例の動
作を説明するための説明図、第5図は本発明の第2の実
施例に係る可変長符号の固定長変換回路を示すブロック
図、第6図は第2の実施例の動作を説明するだめの説明
図、第7図は本発明の第3の実施例に係る可変長符号の
固定長変換回路を示すブロック図、第8図は第7図中の
合成回路54の具体的な構成を示すブロック図、第9図
は第3の実施例の動作を説明するための説明図、第10
図は本発明の第4の実施例に係る可変長符号の固定長変
換回路を示ず11372図、第11図は第4の実施例の
動作を説明するための説明図、第12図はハフマン符号
を説明するための説明図、第13図は画像データを示ず
説明図、第14図は従来の可変長符号の固定長変換回路
を示すブロック図である。 22,24・・・ROM、 25.26,29.32・、・FF、 27、28.30・シフト〜回路、 31・・・セレクタ。 −〜η寸Inψ
FIG. 1 is a block diagram showing a variable length code fixed length conversion circuit according to the first embodiment of the present invention, FIG. 2 is a block diagram for explaining a shift circuit, and FIG. 3 is a concrete diagram of the selector 31. FIG. 4 is an explanatory diagram for explaining the operation of the first embodiment, and FIG. 5 shows a fixed-length conversion circuit for variable-length codes according to the second embodiment of the present invention. A block diagram, FIG. 6 is an explanatory diagram for explaining the operation of the second embodiment, and FIG. 7 is a block diagram showing a fixed length conversion circuit for a variable length code according to a third embodiment of the present invention. 8 is a block diagram showing a specific configuration of the synthesis circuit 54 in FIG. 7, FIG. 9 is an explanatory diagram for explaining the operation of the third embodiment, and FIG.
The figure does not show a fixed length conversion circuit for variable length codes according to the fourth embodiment of the present invention, but FIG. 11 is an explanatory diagram for explaining the operation of the fourth embodiment, and FIG. FIG. 13 is an explanatory diagram for explaining the code, FIG. 13 is an explanatory diagram without image data, and FIG. 14 is a block diagram showing a conventional fixed-length conversion circuit for variable-length codes. 22, 24...ROM, 25.26, 29.32...FF, 27, 28.30 Shift~circuit, 31...Selector. −~η dimension Inψ

Claims (4)

【特許請求の範囲】[Claims] (1)順次入力される一対のパラレル可変長符号の合成
データを所定ビット数のパラレル固定長符号に変換して
出力する可変長符号の固定長変換回路において、 有効ビットがいずれも下位ビット側に配列された前記一
対の可変長符号の一方をシフトさせて他方の可変長符号
と合成することにより双方の有効ビットが連続した合成
データを得る第1のシフト手段と、 この第1のシフト手段からの合成データを前記他方の可
変長符号の無効ビット数に基づいてシフトさせることに
より前記合成データの有効ビットを上位ビット側に配列
させる第2のシフト手段と、入力されるデータを上位の
所定ビットとその他の下位のビットとに分割して夫々パ
ラレル出力すると共に前記その他の下位のビットのビッ
ト数が前記上位の所定ビットのビット数よりも少なくな
った場合には前記その他の下位のビットを余りビットと
してそのビット数の情報を出力する出力手段と、 前記余りビットのビット数の情報に基づいて前記第2の
シフト手段からの合成データをこの余りビットのビット
数だけ下位ビット側にシフトする第3のシフト手段と、 前記余りビットが発生するまでは前記その他の下位のビ
ットを選択的に前記出力手段に与え余りビットが発生す
るとこの余りビットを前記第3のシフト手段の出力の上
位ビット側に付加して前記出力手段に与える選択手段と
を具備したことを特徴とする可変長符号の固定長変換回
路。
(1) In a variable-length code fixed-length conversion circuit that converts the combined data of a pair of parallel variable-length codes that are sequentially input into a parallel fixed-length code with a predetermined number of bits and outputs the same, all effective bits are on the lower bit side. a first shifting means for obtaining composite data in which both effective bits are continuous by shifting one of the pair of arranged variable length codes and combining it with the other variable length code; and from the first shifting means. a second shifting means for arranging the valid bits of the composite data on the upper bit side by shifting the composite data based on the number of invalid bits of the other variable length code; and other lower bits and output them in parallel, and if the number of bits of the other lower bits is less than the number of upper predetermined bits, the other lower bits are output in parallel. output means for outputting information on the number of bits as bits; and a second shift means for shifting the composite data from the second shifting means to the lower bit side by the number of bits of the remainder bits based on the information on the number of bits of the remainder bits. 3 shift means; and until the surplus bit is generated, the other lower bits are selectively supplied to the output means, and when the surplus bit is generated, the surplus bit is transferred to the upper bit side of the output of the third shift means. A fixed length conversion circuit for a variable length code, further comprising a selection means for supplying the output means to the output means.
(2)前記第1のシフト手段に代えて、前記一対の可変
長符号のうちの有効ビットが上位ビット側に配列された
一方の可変長符号と有効ビットが下位ビット側に配列さ
れた他方の可変長符号とを合成することにより双方の有
効ビットが連続した合成データを得て前記第2のシフト
手段に与える第1の合成手段を具備したことを特徴とす
る請求項1に記載の可変長符号の固定長変換回路。
(2) Instead of the first shifting means, one of the pair of variable length codes has effective bits arranged on the upper bit side, and the other variable length code has effective bits arranged on the lower bit side. 2. The variable length code according to claim 1, further comprising a first combining means which obtains combined data in which both effective bits are continuous by combining the variable length code with the variable length code and supplies the obtained data to the second shifting means. Fixed length code conversion circuit.
(3)前記第1の合成手段及び第2のシフト手段に代え
て、前記一対の可変長符号のうちの有効ビットが上位ビ
ット側に配列された一方の可変長符号を有効ビットが上
位ビット側に配列された他方の可変長符号の無効ビット
数に基づいたシフト量でシフトした後に前記他方の可変
長符号に合成して前記第3のシフト手段に与える第2の
合成手段を具備したことを特徴とする請求項2に記載の
可変長符号の固定長変換回路。
(3) Instead of the first synthesizing means and the second shifting means, use one of the pair of variable length codes in which the effective bits are arranged on the upper bit side. and a second combining means which synthesizes the variable-length code with the other variable-length code after shifting by a shift amount based on the number of invalid bits of the other variable-length code arranged in the second variable-length code and supplies the same to the third shifting means. 3. The variable length code fixed length conversion circuit according to claim 2.
(4)前記第2及び第3のシフト手段に代えて、前記一
対の可変長符号のうちの他方の可変長符号の無効ビット
数及び前記余りビット数に基づいたシフト量だけ前記第
1の合成手段からの合成データをシフトして前記選択手
段に与える第4のシフト手段を具備したことを特徴とす
る請求項2に記載の可変長符号の固定長変換回路。
(4) Instead of the second and third shifting means, the first synthesis is performed by a shift amount based on the number of invalid bits and the number of surplus bits of the other variable length code of the pair of variable length codes. 3. The fixed length conversion circuit for variable length codes according to claim 2, further comprising fourth shifting means for shifting the composite data from said means and applying it to said selection means.
JP2284975A 1990-10-22 1990-10-22 Fixed length conversion circuit for variable length code Expired - Fee Related JP3034293B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2284975A JP3034293B2 (en) 1990-10-22 1990-10-22 Fixed length conversion circuit for variable length code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2284975A JP3034293B2 (en) 1990-10-22 1990-10-22 Fixed length conversion circuit for variable length code

Publications (2)

Publication Number Publication Date
JPH04157926A true JPH04157926A (en) 1992-05-29
JP3034293B2 JP3034293B2 (en) 2000-04-17

Family

ID=17685507

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2284975A Expired - Fee Related JP3034293B2 (en) 1990-10-22 1990-10-22 Fixed length conversion circuit for variable length code

Country Status (1)

Country Link
JP (1) JP3034293B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002543460A (en) * 1999-04-27 2002-12-17 ミスチェンコ、ヴァレンティン・アレクサンドロヴィッチ Method for encrypting information and apparatus for implementing the method
WO2003084077A1 (en) * 2002-03-25 2003-10-09 Allied-Telesis, K.K. Variable/fixed length data conversion method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002543460A (en) * 1999-04-27 2002-12-17 ミスチェンコ、ヴァレンティン・アレクサンドロヴィッチ Method for encrypting information and apparatus for implementing the method
WO2003084077A1 (en) * 2002-03-25 2003-10-09 Allied-Telesis, K.K. Variable/fixed length data conversion method and device

Also Published As

Publication number Publication date
JP3034293B2 (en) 2000-04-17

Similar Documents

Publication Publication Date Title
EP0098153B1 (en) Digital data code conversion circuit for variable-word-length data code
US5809176A (en) Image data encoder/decoder system which divides uncompresed image data into a plurality of streams and method thereof
JPH03145223A (en) Variable length code demodulator
JPH03274920A (en) Signal encoder
JPH04500595A (en) Vector quantizer codebook processing circuit
US5146220A (en) Data conversion method and apparatus for converting undefined length data to fixed length data
JPH04157926A (en) Circuit for converting fixed length code into variable length code
US5761348A (en) Data processing apparatus with data bit width conversion
US5111283A (en) Electronic camera with digital signal processing circuit
US6901419B2 (en) Arithmetic unit
US6496602B2 (en) Sorting device of variable-length code
JPS63133724A (en) System transmitting or storing input signal
JPH05304480A (en) Fixed length converting circuit
JP3134362B2 (en) Variable length / fixed length coding circuit
JPS595779A (en) Run-length decoding device
JPH04258025A (en) Variable length coding/decoding circuit
US5604496A (en) Data processing device using data correlation
JP2775790B2 (en) Information processing device
KR0182499B1 (en) Variable-length code converter and conversion method thereof
JP2690216B2 (en) Variable length decoder
JPH05206870A (en) Encoding circuit
JP3083153B2 (en) Encoding circuit
JPS595780A (en) Run-length encoding device
JP2003140881A (en) Serial-parallel conversion circuit, and parallel-serial conversion circuit
JPH11259453A (en) Data processor

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees