JPH04219027A - Decoding method for modified huffman code - Google Patents
Decoding method for modified huffman codeInfo
- Publication number
- JPH04219027A JPH04219027A JP7278291A JP7278291A JPH04219027A JP H04219027 A JPH04219027 A JP H04219027A JP 7278291 A JP7278291 A JP 7278291A JP 7278291 A JP7278291 A JP 7278291A JP H04219027 A JPH04219027 A JP H04219027A
- Authority
- JP
- Japan
- Prior art keywords
- data
- code
- decoding
- modified huffman
- register
- 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.)
- Pending
Links
Landscapes
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明はモデファイドハフマン符
号の復号化方法に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for decoding modified Huffman codes.
【0002】0002
【従来の技術】モデファイドハフマン符号(以後MH符
号と呼称する)は、各符号毎にそのビット数が異なる可
変長符号である。このためMH符号が連続して伝送され
ると受信側ではその符号長を予測できないため、記憶回
路中にMH復号表を記憶させ、これを解読して復号する
方法がとられている。2. Description of the Related Art Modified Huffman codes (hereinafter referred to as MH codes) are variable length codes in which the number of bits differs for each code. For this reason, when MH codes are transmitted continuously, the code length cannot be predicted on the receiving side, so a method is used in which an MH decoding table is stored in a storage circuit and the MH decoding table is decoded.
【0003】MH復号表の作成方法は、従来から復号化
の処理速度と記憶回路の容量に応じていくつか提案され
ている。例えば、入力されたMH符号によって記憶回路
のアドレスを修飾する方法がある。この場合、記憶回路
のデータにはMH符号に対応したランレングスが書き込
まれており、また対応するランレングスが存在しない場
合には意味のない内容が書き込まれている。しかし、上
記の例に示す方法によると、例えばファクシミリ通信の
場合MH符号の最長符号長13ビットあるため、213
バイト(約8Kバイト)の記憶容量を有する記憶回路が
必要になる。[0003] Several methods of creating an MH decoding table have been proposed in the past, depending on the decoding processing speed and the capacity of the storage circuit. For example, there is a method of modifying the address of a storage circuit with an input MH code. In this case, a run length corresponding to the MH code is written in the data in the storage circuit, and if a corresponding run length does not exist, meaningless content is written. However, according to the method shown in the above example, for example, in the case of facsimile communication, the maximum code length of the MH code is 13 bits, so 213
A storage circuit with a storage capacity of bytes (approximately 8 Kbytes) is required.
【0004】そこで、MH符号の特徴に着目して記憶容
量を削減する方法がいくつか提案されている。例えば、
ファクシミリ通信の場合MH符号の9ビット目以上は全
て「0」の符号になっているため、入力符号の下位8ビ
ットだけを記憶回路のアドレスの下位バイトの修飾に使
用し、アドレスの上位バイトは符号長によって区別でき
る様に復号表を作成する。この方法によると、約3Kバ
イトの記憶容量を有する記憶回路でMH復号表を作成す
ることができる。[0004] Several methods have therefore been proposed to reduce the storage capacity by focusing on the characteristics of MH codes. for example,
In the case of facsimile communication, the 9th bit and above of the MH code are all "0" codes, so only the lower 8 bits of the input code are used to modify the lower byte of the address in the memory circuit, and the upper byte of the address is Create a decoding table so that it can be distinguished by code length. According to this method, the MH decoding table can be created using a storage circuit having a storage capacity of about 3 Kbytes.
【0005】しかし、周知の様にファクシミリ通信にお
けるMH符号は、白と黒のそれぞれについてターミネイ
ティングコード(Terminating Code
)が64個(ランレングス0,1,2,……,63)で
あり、白と黒のそれぞれについてメイクアップコード(
Make Up Code)が40個(ランレング
ス64,128,192,……,2560)であり、全
て合計しても208個しかない。従って、従来のMH符
号の復号化方式では、MH復号表を記憶する記憶回路に
まだ相当の無駄が存在していた。However, as is well known, the MH code in facsimile communication has a terminating code for each of white and black.
) are 64 (run length 0, 1, 2, ..., 63), and the makeup code (
There are 40 Make Up Codes (run lengths 64, 128, 192, . . . , 2560), and there are only 208 in total. Therefore, in the conventional MH code decoding system, there is still considerable waste in the storage circuit that stores the MH decoding table.
【0006】[0006]
【発明が解決しようとする課題】本発明は上記した従来
のMH符号の復号化方式の欠点に鑑みなされたもので、
記憶容量の小さい記憶回路を用い、しかも復号化の処理
速度を低下させることのないMH符号の復号化方式を提
供することを目的としている。[Problems to be Solved by the Invention] The present invention has been made in view of the drawbacks of the conventional MH code decoding method described above.
It is an object of the present invention to provide a MH code decoding method that uses a storage circuit with a small storage capacity and does not reduce the decoding processing speed.
【0007】[0007]
【課題を解決するための手段】本発明のMH符号の復号
化方式は、MH符号を用いて情報伝送を行うシステムに
おいて、受信側で復号化する際に、入力されるMH符号
を枝分かれ式に逆変換する為の復号表を記憶した記憶回
路を備え、入力されるMH符号に応じて記憶回路に記憶
された復号表を順次参照し、復号化するものである。更
に詳しく説明すると、記憶回路の各アドレスには、MH
符号生成過程を示す木構造における一つの分枝点の下位
に位置する二つの分枝点を示すアドレスデータが記憶さ
れ、更に下位の分枝点が存在しない場合には該当するラ
ンレングスが記憶されている(前記復号表に該当する)
。又、入力されるMH符号と、上記アドレスデータ(木
構造のトップの分枝点の次の二つの分枝点の場合は不用
)とを用いて二つの分枝点のうちの一つを示す読み出し
アドレス信号を形成する読み出しアドレス信号形成手段
が設けられている。[Means for Solving the Problems] The MH code decoding method of the present invention is such that in a system that transmits information using MH codes, input MH codes are processed in a branched manner when decoding on the receiving side. It is provided with a storage circuit that stores a decoding table for inverse conversion, and decodes by sequentially referring to the decoding table stored in the storage circuit according to the input MH code. To explain in more detail, each address of the memory circuit has MH
Address data indicating two branch points located lower than one branch point in a tree structure indicating the code generation process is stored, and if there is no lower branch point, the corresponding run length is stored. (corresponds to the decoding table above)
. Also, one of the two branch points is indicated using the input MH code and the above address data (not needed for the next two branch points after the top branch point of the tree structure). A read address signal forming means is provided for forming a read address signal.
【0008】[0008]
【作用】プロセッサ1はMH符号Sが1ビット入力され
るたびに記憶回路2に記憶されているMH復号表を参照
して復号化を実行する。初めにランレングス符号は必ず
白と黒の繰り返しであり、MH復号表の白または黒の上
位アドレスをレジスタHにセットし、次に下位アドレス
の初期値(00)16をレジスタLにセットする。この
状態でMH符号Sが1ビット入力されるとレジスタLの
D0に加え、次にレジスタH,Lのデータをアドレス信
号としてMH復号表のデータを読み出し分岐の最終か否
かを判定する。[Operation] Every time one bit of the MH code S is input, the processor 1 refers to the MH decoding table stored in the storage circuit 2 and executes decoding. First, the run-length code always repeats white and black, and the upper address of white or black in the MH decoding table is set in register H, and then the initial value (00) 16 of the lower address is set in register L. When 1 bit of MH code S is input in this state, it is added to D0 of register L, and then the data of the MH decoding table is read using the data of registers H and L as address signals to determine whether or not it is the final branch.
【0009】[0009]
【実施例】以下添付の図面によって更に詳細に本発明に
ついて説明する。DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be explained in more detail below with reference to the accompanying drawings.
【0010】図1は、MH符号の生成過程を木構造で示
す図である。即ち、MH符号の生成では全てのランレン
グスの中で最も出現確率の小さい二つのランレングスを
統合する方法がとられる。そして、統合によって形式的
に新しい確率要素が生まれ、その確率は統合された二つ
の確率要素の和として与えられる。1回の統合によって
見掛上ランレングスの数は1つ減り、ランレングス群は
新たに出現確率順に並び替えられる。ランレングス群の
統合を繰り返し実行し、最終的に全部のランレングスが
一つの確率要素に統合されるところでこの操作は終了す
る。n個のランレングスは(n−1)回の統合で一つの
確率要素に統合される。FIG. 1 is a diagram showing the MH code generation process in a tree structure. That is, in generating the MH code, a method is used in which two run lengths with the lowest probability of appearance among all run lengths are integrated. The integration formally creates a new probability element, and its probability is given as the sum of the two integrated probability elements. One integration apparently reduces the number of run lengths by one, and the run length groups are newly rearranged in order of appearance probability. Integration of run lengths is performed repeatedly, and the operation ends when all run lengths are finally integrated into one stochastic element. The n run lengths are integrated into one stochastic element by (n-1) integrations.
【0011】図1は上記MH符号生成過程を示すもので
、Pn(n=1,2,…,6)が各ランレングスを表わ
し、そのカッコ内の数字が出現確率を表わしている。
そして、箱形で囲んだ部分に各符号語が示されている。
例えばランレングスP1〜P6の中で最も確率の小さい
二つのランレングスはP4とP6であり、この二つのラ
ンレングスが先ず最初に統合されランレングスG1にな
る。
そしてランレングスG1の出現確率はランレングスP4
,P6の出現確率の和で表わされ、0.17になる。続
いて、同様の処理がランレングスP1,P2,P3,P
5,G1において繰り返し実行され、最終的に一つのラ
ンレングスG5に統合される。FIG. 1 shows the above MH code generation process, where Pn (n=1, 2, . . . , 6) represents each run length, and the number in parentheses represents the probability of occurrence. Each code word is shown in the boxed area. For example, the two run lengths with the lowest probability among the run lengths P1 to P6 are P4 and P6, and these two run lengths are first integrated to form the run length G1. And the probability of appearance of run length G1 is run length P4
, P6, which is 0.17. Subsequently, similar processing is performed on run lengths P1, P2, P3, P
5 and G1, and are finally integrated into one run length G5.
【0012】本発明のMH符号の復号化方式は、以上に
記載したMH符号生成方法に着目して、復号化に際して
図1に示す様な木構造をMH符号生成の場合と逆にたど
り、入力符号を各ランレングスに変換するものである。
更に詳しく説明すると、例えば入力された最初のMH符
号が1の場合にはランレングスG5からランレングスG
3に分枝する。次に入力されたMH符号が0の場合には
ランレングスP5に分枝し、1つのコードの復号化が終
了する。そして、前記復号化表は、この木構造における
各分枝点を示すアドレスデータから構成されるものであ
る。The MH code decoding method of the present invention focuses on the MH code generation method described above, and upon decoding, a tree structure as shown in FIG. It converts the code into each run length. To explain in more detail, for example, if the first MH code input is 1, the run length G5 is changed from the run length G5 to the run length G5.
Branches into 3. If the next input MH code is 0, the process branches to run length P5, and the decoding of one code ends. The decoding table is composed of address data indicating each branch point in this tree structure.
【0013】図2は本発明をファクシミリ通信に適用し
た場合の一実施例を示す復号化回路のブロック図である
。FIG. 2 is a block diagram of a decoding circuit showing an embodiment of the present invention applied to facsimile communication.
【0014】プロセッサ(CPU)1には、アドレスバ
スとデータバスを介して記憶回路2が接続されている。
この記憶回路2にはMH復号表の他に、復号化処理を実
施するためのプログラムが書き込まれている。尚、この
実施例ではプロセッサ1及び記憶回路2は8ビット単位
で構成されている。A memory circuit 2 is connected to the processor (CPU) 1 via an address bus and a data bus. In addition to the MH decoding table, a program for carrying out decoding processing is written in this storage circuit 2. In this embodiment, the processor 1 and the memory circuit 2 are configured in units of 8 bits.
【0015】プロセッサ1はMH符号Sが1ビット入力
されるたびに記憶回路2に記憶されているMH復号表に
参照し、復号化を実行する。記憶回路2には白のランレ
ングスに対応する復号化表と黒のランレングスに対応す
る復号表は別のアドレスに割当てられている。Each time one bit of the MH code S is input, the processor 1 refers to the MH decoding table stored in the storage circuit 2 and executes decoding. In the storage circuit 2, the decoding table corresponding to the white run length and the decoding table corresponding to the black run length are assigned to different addresses.
【0016】図3は記憶回路2に記憶されたMH復号表
のデータ構造である。ここで、例えばD0ビットを「P
ole/Final」ビットとし、D0が「0」の場合
に「Pole」、D0が「1」の場合に「Final」
と定義する。次に上記「Pole」と「Final」の
意味について説明する。FIG. 3 shows the data structure of the MH decoding table stored in the storage circuit 2. Here, for example, set the D0 bit to "P
ole/Final” bit, “Pole” when D0 is “0”, and “Final” when D0 is “1”.
It is defined as Next, the meanings of the above "Pole" and "Final" will be explained.
【0017】(イ)「Pole」はプロセッサ1に入力
されたMH符号Sがまだ完結していないことを意味する
。また、図3に示すD7〜D0が全て「0」の場合には
、MH符号として「0」符号が8個連続して入力された
ことを意味する。以後この様に8個のビットD7〜D0
が全て「0」のデータを(00)16と表示する。この
ため、その後の処理はEOL(END OF LI
NE)検出モードになる。(a) "Pole" means that the MH code S input to the processor 1 is not yet completed. Further, when D7 to D0 shown in FIG. 3 are all "0", it means that eight "0" codes have been input consecutively as MH codes. After that, 8 bits D7 to D0 like this
Data where all are "0" is displayed as (00)16. Therefore, the subsequent processing is EOL (END OF LI
NE) Enter detection mode.
【0018】「Pole」でかつ記憶回路2のMH復号
表から読み出されるデータ(00)16でない場合、図
3に示すデータD7〜D1を次に参照すべきMH復号表
のアドレスビットA7〜A1のアドレス信号に使用する
。このアドレスビットA7〜A1は分枝点の次の二つの
分枝点を示すアドレス信号である。そして新たに入力さ
れたMH符号S(「0」又は「1」の符号)をMH復号
表のアドレスビットA0のアドレス信号として使用する
。そして、このアドレス信号A7〜A0により、次の二
つの分枝点のうちの一方の分枝点を示す読み出しアドレ
ス信号を形成し、新たにMH復号表からデータを読み出
す。If the data is "Pole" and the data is not (00)16 read from the MH decoding table of the storage circuit 2, the data D7 to D1 shown in FIG. Used for address signals. These address bits A7 to A1 are address signals indicating the next two branch points after the branch point. Then, the newly inputted MH code S (a code of "0" or "1") is used as an address signal for address bit A0 of the MH decoding table. Then, based on these address signals A7 to A0, a read address signal indicating one of the next two branch points is formed, and data is newly read from the MH decoding table.
【0019】(ロ)「Final」は入力されたMH符
号Sが完結したことを意味する。この場合、例えば図3
に示すデータD7ビットをMH符号のターミネイティン
グコードとメイクアップコード区別のために割り付ける
。そして、残りのD6〜D1の6ビットでターミネイテ
ィングコード64個とメイクアップコード40個を表現
する。つまり、D6〜D1ビットでターミネイティング
コード又はメイクアップコードのランレングスを表わし
、ターミネイティングコードの場合には各々25〜20
ビットを意味し、メイクアップコードの場合には211
〜26ビットを意味するものとなる。(b) "Final" means that the input MH code S has been completed. In this case, for example, FIG.
The data D7 bit shown in is allocated to distinguish between the terminating code and the make-up code of the MH code. The remaining 6 bits D6 to D1 represent 64 terminating codes and 40 makeup codes. In other words, bits D6 to D1 represent the run length of the terminating code or make-up code, and in the case of a terminating code, they each represent 25 to 20 bits.
means bit, 211 in case of make-up code
~26 bits.
【0020】以上説明した様に、プロセッサ1に入力さ
れるMH符号によって記憶回路2に記憶されたMH復号
表のアドレス信号を順次修飾し、入力されるMH符号S
が「Final」に行き着くまで、「Pole」のデー
タによって分枝を繰り返す。As explained above, the address signals of the MH decoding table stored in the storage circuit 2 are sequentially modified by the MH code input to the processor 1, and the input MH code S
Branching is repeated according to the data of "Pole" until it reaches "Final".
【0021】図4は図2に示す実施例の動作の概略を示
すフローチャートである。FIG. 4 is a flowchart outlining the operation of the embodiment shown in FIG.
【0022】先ず初めに、EOL検出後初めに入力され
るランレングスは必ず白であり、かつランレングスは必
ず白と黒の繰り返しであるため、MH復号表の白又は黒
の上位アドレスをレジスタHにセットする。次に下位ア
ドレスの初期値(00)16をレジスタLにセットする
。
この状態でMH符号Sが1ビット入力されると、これを
レジスタLの最下位ビットに加える。次にレジスタH,
Lに収納されたデータをアドレス信号として記憶回路2
からMH復号表のデータを読み出し、アキュームレータ
Aに入力する。そして、該入力データの「Pole/F
inal」の判定を実行する。First, the first run length input after EOL detection is always white, and since the run length is always a repetition of white and black, the upper address of white or black in the MH decoding table is stored in register H. Set to . Next, the initial value (00) 16 of the lower address is set in register L. When one bit of MH code S is input in this state, it is added to the least significant bit of register L. Next, register H,
The storage circuit 2 uses the data stored in L as an address signal.
The data of the MH decoding table is read from the MH decoding table and inputted to the accumulator A. Then, “Pole/F” of the input data
inal” is executed.
【0023】「Pole/Final」の判定の結果、
「Final」の場合にはD6〜D1の内容をランレン
グスとして出力する。「Pole/Final」の判定
の結果、「Pole」でしかもデータが(00)16の
場合、EOL検出処理に移行する。「Pole」でしか
もデータが(00)16でない場合には、アキュームレ
ータA内のデータをレジスタLに移し、新たにプロセッ
サ1に入力されるMH符号SをレジスタLの最下位ビッ
トに加える。そして、上記の場合と全く同様にMH復号
表の参照とそのデータの「Pole/Final」判定
を繰り返し実行する。[0023] As a result of the "Pole/Final" determination,
In the case of "Final", the contents of D6 to D1 are output as a run length. If the result of the determination of "Pole/Final" is "Pole" and the data is (00)16, the process moves to EOL detection processing. If it is "Pole" and the data is not (00)16, the data in accumulator A is moved to register L, and the MH code S newly input to processor 1 is added to the least significant bit of register L. Then, in exactly the same way as in the above case, reference to the MH decoding table and "Pole/Final" determination of the data are repeatedly executed.
【0024】尚、以上の説明ではプロセッサ1及び記憶
回路2を1ワード8ビット単位で構成したが、本発明は
これに限定されるものではなく、9ビット単位以上にし
ても全く同様に実施することができる。In the above explanation, the processor 1 and the memory circuit 2 are configured in units of 8 bits per word, but the present invention is not limited to this, and can be implemented in exactly the same way even if the unit is 9 bits or more. be able to.
【0025】[0025]
【発明の効果】本発明のMH符号の復号化方法によれば
、ファクシミリ通信の場合を例にして説明すると、MH
符号が白と黒の各々について104個存在し、更に白と
黒の夫々について木構造の分枝点に相当する次のアドレ
スに書き込まれたデータが103個(104−1=10
3)必要になる。そして、EOL検出のためにデータ(
00)16を記憶したアドレスが1個存在する。従って
、本発明のMH符号の復号化方式によれば、MH復号表
を416バイトで実現でき、一般に従来のMH符号の復
号化方式と比較して必要とされる記憶容量を大幅に削減
できる効果を有する。Effects of the Invention According to the MH code decoding method of the present invention, to explain the case of facsimile communication as an example, MH
There are 104 codes for each of white and black, and 103 data for each of white and black are written to the next address corresponding to the branch point of the tree structure (104-1=10
3) It becomes necessary. Then, data (
There is one address that stores 00)16. Therefore, according to the MH code decoding method of the present invention, the MH decoding table can be realized in 416 bytes, which has the effect of greatly reducing the required storage capacity compared to the conventional MH code decoding method. has.
【0026】また、本発明のMH符号の復号化方式によ
る復号化処理時間は、入力符号の数に比例し、従来方式
による復号化処理時間とほとんど同じであり、この点で
も優れた効果を有している。Furthermore, the decoding processing time according to the MH code decoding method of the present invention is proportional to the number of input codes, and is almost the same as the decoding processing time according to the conventional method, which also has an excellent effect. are doing.
【図1】MH符号の生成過程を示す木構造の説明図、FIG. 1 is an explanatory diagram of a tree structure showing the process of generating an MH code;
【
図2】本発明の一実施例を示すブロック図、[
FIG. 2 is a block diagram showing an embodiment of the present invention;
【図3】図
2に示す実施例における記憶回路内のデータ構成を示す
説明図、FIG. 3 is an explanatory diagram showing the data structure in the memory circuit in the embodiment shown in FIG. 2;
【図4】図2に示す実施例の動作の概略を示すフローチ
ャートである。FIG. 4 is a flowchart outlining the operation of the embodiment shown in FIG. 2;
1…プロセッサ(CPU)、 2…記憶回路、 A…アキュームレータ、 H,L…レジスタ、 S…入力MH符号列。 1... Processor (CPU), 2...Memory circuit, A...Accumulator, H, L...Register, S...Input MH code string.
Claims (1)
分かれ式に逆変換するための復号表及びモデファイドハ
フマンの符号生成過程を示す木構造における一つの分枝
点の下位に位置する二つの分枝点を示すアドレスデータ
を各アドレスに記憶し、かつ一つの分枝点に下位の分枝
点が存在しない場合には入力された一連のモデファイド
ハフマン符号列に対応するランレングス及びターミネイ
ティングコードかメイクアップコードかの区別を示すデ
ータを当該アドレスに記憶した記憶回路と、上記入力さ
れるモデファイドハフマン符号に応じて上記記憶回路に
記憶された復号表を順次参照して復号化する復号化処理
手段とを具えたモデファイドハフマン符号の復号化方法
において、上記復号化処理手段が、レジスタH,L及び
アキュームレータを含み、上記記憶回路のモデファイド
ハフマン復号表の白又は黒の上位アドレスを上記レジス
タHにセットするステップと、上記モデファイドハフマ
ン復号表の白又は黒の下位アドレスの初期値を上記レジ
スタLにセットするステップと、上記復号化処理手段に
モデファイドハフマン信号が1ビット入力された時、こ
れを上記レジスタLの最下位ビットに加えるステップと
、上記レジスタH,Lに収納されたデータをアドレス信
号として、上記記憶回路からモデファイドハフマン復号
表のデータを読み出し、該読み出しデータを上記アキュ
ームレータAに入力するステップと、該アキュームレー
タに入力された入力データ(D0)のPole/Fon
alの判定をするステップと、上記判定の結果、Pol
eの時、上記入力データの一部(D6〜D1)をランレ
ングスとして出力するステップと、Poleでしかもデ
ータが上記下位アドレスの初期値でない時、上記アキュ
ームレータA内のデータを上記レジスタLに移すステッ
プと、上記復号化処理手段に新たに入力されるモデファ
イドハフマン符号信号Sを上記レジスタLの最下位ビッ
トに加えるステップと、上記モデファイドハフマン復号
表の参照及び上記記憶回路からのデータPole/Fi
nalの判定を繰り返すステップと、からなることを特
徴とするモデファイドハフマン符号の復号化方法。Claim 1: A decoding table for inversely converting an input modified Huffman code into a branch formula, and two branches located below one branch point in a tree structure showing the modified Huffman code generation process. Address data indicating a point is stored in each address, and if there is no lower branch point at one branch point, the run length and terminating code corresponding to the input series of modified Huffman code strings are stored. A memory circuit that stores data indicating whether the code is a make-up code at the address, and a decoding process that sequentially refers to a decoding table stored in the memory circuit according to the input modified Huffman code and performs decoding. In the modified Huffman code decoding method, the decoding processing means includes registers H, L and an accumulator, and stores a white or black upper address of the modified Huffman decoding table in the storage circuit in the register. H, and setting the initial value of the white or black lower address of the modified Huffman decoding table to the register L, and when one bit of the modified Huffman signal is input to the decoding processing means. , adding this to the least significant bit of the register L, reading the data of the modified Huffman decoding table from the storage circuit using the data stored in the registers H and L as address signals, and transmitting the read data to the accumulator. The step of inputting to A and the Pole/Fon of the input data (D0) input to the accumulator
The step of determining al, and the result of the above determination, Pol
At the time of e, a step of outputting a part of the input data (D6 to D1) as a run length, and when it is a pole and the data is not the initial value of the lower address, the data in the accumulator A is transferred to the register L. a step of adding the modified Huffman code signal S newly input to the decoding processing means to the least significant bit of the register L; referring to the modified Huffman decoding table and reading the data Pole/from the storage circuit; Fi
A method for decoding a modified Huffman code, comprising the steps of repeating determination of nal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7278291A JPH04219027A (en) | 1991-04-05 | 1991-04-05 | Decoding method for modified huffman code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP7278291A JPH04219027A (en) | 1991-04-05 | 1991-04-05 | Decoding method for modified huffman code |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP55156458A Division JPS5943863B2 (en) | 1980-11-08 | 1980-11-08 | Modified Huffman code decoding method |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04219027A true JPH04219027A (en) | 1992-08-10 |
Family
ID=13499305
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP7278291A Pending JPH04219027A (en) | 1991-04-05 | 1991-04-05 | Decoding method for modified huffman code |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04219027A (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5390749A (en) * | 1977-01-19 | 1978-08-09 | Nec Corp | Huffman decoder circuit |
JPS55102968A (en) * | 1979-01-31 | 1980-08-06 | Sharp Corp | Run-length decoding system for mh code |
-
1991
- 1991-04-05 JP JP7278291A patent/JPH04219027A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5390749A (en) * | 1977-01-19 | 1978-08-09 | Nec Corp | Huffman decoder circuit |
JPS55102968A (en) * | 1979-01-31 | 1980-08-06 | Sharp Corp | Run-length decoding system for mh code |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5032838A (en) | Variable length code parallel decoding apparatus and method | |
JPH0352268B2 (en) | ||
JPH09181921A (en) | Digital information encoding device, digital information decoding device, digital information encoding/decoding device, digital information encoding method and digital information decoding method | |
JP3621512B2 (en) | Digital information encoding apparatus, digital information decoding apparatus, digital information encoding / decoding apparatus, digital information encoding method, and digital information decoding method | |
JPH09298668A (en) | Digital information coder, digital information decoder, digital information coding/decoding device, digital information coding method and digital information decoding method | |
JP2962518B2 (en) | Image data encoding device | |
JPS6338153B2 (en) | ||
JPH04219027A (en) | Decoding method for modified huffman code | |
KR20080075773A (en) | Method and apparatus for WIFF decompression using fixed size codeword table | |
JPS5943863B2 (en) | Modified Huffman code decoding method | |
JPH0255987B2 (en) | ||
CN1154363C (en) | Method for encoding image information and method for decoding | |
JP3199291B2 (en) | Method of configuring Huffman decoding table | |
JPH03131176A (en) | Decoding system for tree structure variable length code | |
JPH0377708B2 (en) | ||
JPS59117375A (en) | MH encoding method | |
JP3009007B2 (en) | Binary code decoding circuit | |
JP3138342B2 (en) | Variable length code decoding device | |
JP2842094B2 (en) | Huffman decoding circuit | |
JPS60194875A (en) | Modified huffman code decoding system | |
JP2757716B2 (en) | Huffman code decoding circuit | |
JPS6051077A (en) | Decoding system of modified huffman code | |
JP3146092B2 (en) | Encoding device and decoding device | |
JPH06152434A (en) | Encoder | |
JP2002171412A (en) | Simd type information processing apparatus provided with x-branch tree instruction |