JPH04199914A - Variable length-decoding device - Google Patents

Variable length-decoding device

Info

Publication number
JPH04199914A
JPH04199914A JP32596990A JP32596990A JPH04199914A JP H04199914 A JPH04199914 A JP H04199914A JP 32596990 A JP32596990 A JP 32596990A JP 32596990 A JP32596990 A JP 32596990A JP H04199914 A JPH04199914 A JP H04199914A
Authority
JP
Japan
Prior art keywords
buffer memory
variable length
section
variable
decoding
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
Application number
JP32596990A
Other languages
Japanese (ja)
Inventor
Takehiko Fujiyama
武彦 藤山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP32596990A priority Critical patent/JPH04199914A/en
Publication of JPH04199914A publication Critical patent/JPH04199914A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To minimize delay by means of a buffer memory by writing variable length-encoding data in a buffer memory part so as to start the reading of variable length-encoding data and permitting the operation of a variable length- decoding part to stop when the buffer memory part is detected to be empty. CONSTITUTION:The buffer memory part 1 which inputs variable length-encoding data and the variable length-decoding part 2 which decodes variable length- encoding data which is read out from the buffer memory part 1 are provided. A control part 3 starts the reading of variable length-encoding data in such a way that variable length-encoding data is written in the buffer memory part 1 and permits the operation of the variable length-decoding part 2 to stop when the buffer memory part 1 is detected to be empty. Therefore, the decoding of a noise component except for variable length-encoding data is prevented and decoding processing simultaneously starts with the reception of variable length-encoding data. Thus, delay time is minimized and the capacity of the buffer memory part 1 becomes small.

Description

【発明の詳細な説明】 〔概要] 可変長符号化データを復号する可変長復号化装置に関し
、 バッファメモリによる遅延を最小限とすることを目的と
し、 可変長符号化データを復号する可変長復号化装置に於い
て、前記可変長符号化データを入力するバッファメモリ
部と、該バッファメモリ部から読出した前記可変長符号
化データを復号化する可変長復号化部と、前記バッファ
メモリ部に前記可変長符号化データが書込まれることに
より該可変長符号化データの読出しを開始し、且つ該バ
ッファメモリ部が空になったことを検出した時に、前記
可変長復号化部の動作を停止させる制御部とを備えて構
成した。
[Detailed Description of the Invention] [Summary] Regarding a variable length decoding device that decodes variable length encoded data, the purpose is to minimize the delay caused by a buffer memory, and the variable length decoding device decodes variable length encoded data. The encoding device includes a buffer memory section into which the variable-length encoded data is input, a variable-length decoding section that decodes the variable-length encoded data read from the buffer memory section, and a buffer memory section that inputs the variable-length encoded data. When the variable length encoded data is written, reading of the variable length encoded data is started, and when it is detected that the buffer memory section is empty, the operation of the variable length decoding section is stopped. The controller is configured to include a control section.

〔産業上の利用分野〕[Industrial application field]

本発明は、可変長符号化データを復号する可変長復号化
装置に関するものである。
The present invention relates to a variable length decoding device that decodes variable length encoded data.

画像情報等を帯域圧縮して伝送する為に、フレーム間差
分や離散コサイン変換等の処理を行い、更;こ生起確率
の大きいものに短い符号を割当てる可変長符号化が適用
されている。受信側に於いては、−旦ハノファメモリに
蓄積してから可変長符号化データを復号することになり
、効率の良い復号化処理が要望されている。
In order to compress and transmit image information, etc., processing such as inter-frame differences and discrete cosine transform is performed, and variable length coding is applied in which short codes are assigned to items with a high probability of occurrence. On the receiving side, the variable length encoded data must be stored in the Hanofa memory and then decoded, and efficient decoding processing is desired.

二従来の技術〕 第5図は従来例の説明図であり、符号化部41に於いて
画像情報等のフレーム間差分符号化、離散コサイン変換
等の高能率符号化処理が行われ、可変長符号化部42に
於いて可変長符号化され、送信部43から伝送路に送出
される。受信側では、受信部44によりクロック信号が
再生され、このクロック信号を書込クロック信号WCK
として可変長符号化データと共にバッファメモリ部45
に加えられて書込まれる。
2. Prior Art] FIG. 5 is an explanatory diagram of a conventional example, in which the encoding unit 41 performs high-efficiency encoding processing such as inter-frame differential encoding of image information, discrete cosine transform, etc. The signal is subjected to variable length encoding in the encoding section 42 and sent out from the transmitting section 43 to the transmission path. On the receiving side, a clock signal is regenerated by the receiving section 44, and this clock signal is converted into a write clock signal WCK.
The buffer memory section 45 along with the variable length encoded data
will be added to and written to.

可変長復号化部46は、復号終了毎にバッファメモリ部
45に読出クロック信号RCKを加えるもので、それに
よってバッファメモリ部45から読出された可変長符号
化データは可変長復号化部46に加えられて復号され、
復号化データは復号化部49に加えられて、フレーム間
差分復号化や逆離散コサイン変換等の処理により復号さ
れ、元の画像情報等に復元される。
The variable length decoding section 46 applies a read clock signal RCK to the buffer memory section 45 every time decoding is completed, so that the variable length encoded data read from the buffer memory section 45 is added to the variable length decoding section 46. and decrypted,
The decoded data is applied to the decoding unit 49 and decoded by processing such as inter-frame difference decoding and inverse discrete cosine transform, and is restored to the original image information.

前述のように、伝送りロンク信号に相当する書込クロッ
ク信号WCKにより、可変長符号化データはバッファメ
モリ部45に書込まれ、可変長復号化装置内クロック信
号に相当する読出クロック信号RCKによりバッファメ
モリ部45から可変長符号化データが読出されて処理さ
れることになる。
As mentioned above, variable length encoded data is written into the buffer memory section 45 by the write clock signal WCK corresponding to the transmission long signal, and by the read clock signal RCK which corresponds to the internal clock signal of the variable length decoding device. Variable length encoded data is read out from the buffer memory section 45 and processed.

又バッファメモリ容量計算部47は、バッファメモリ部
45に加えられる書込クロック信号WCKと読出クロッ
ク信号RCKとを用いて、バッファメモリ部45に蓄積
された可変長符号化データ量を計算するものであり、又
復号制御部4日は、バッフツメモリ容量計算部47から
バッファメモリ部45に所定量の可変長符号化データが
蓄積されたことを通知されると、可変長復号化部46を
起動し、且つその状態を監視するものである。即ち、受
信開始時には、可変長復号化部46が起動されていない
ので、バッファメモリ部45に読出りo 7り信号RC
Kは加えられておらず、可変長符号化データを受信した
ことによる受信部44からの書込クロック信号WCKが
バッファメモリ部45に加えられて、受信可変長符号化
データがバッファメモリ部45に書込まれる。従って、
バ。
Further, the buffer memory capacity calculation unit 47 calculates the amount of variable length encoded data stored in the buffer memory unit 45 using the write clock signal WCK and read clock signal RCK applied to the buffer memory unit 45. Yes, and when the decoding control unit 4 is notified from the buffer memory capacity calculation unit 47 that a predetermined amount of variable length encoded data has been accumulated in the buffer memory unit 45, it starts the variable length decoding unit 46, It also monitors its status. That is, at the start of reception, since the variable length decoding section 46 is not activated, the readout signal RC is stored in the buffer memory section 45.
K is not added, and the write clock signal WCK from the receiving section 44 upon receiving the variable length encoded data is added to the buffer memory section 45, and the received variable length encoded data is stored in the buffer memory section 45. written. Therefore,
Ba.

ファメモリ容量計算部47では、書込クロック信号WC
Kをカウントすることにより、所定量の可変長符号化デ
ータがバッファメモリ部45に書込まれたことを容易に
検出することができる。
In the file memory capacity calculation unit 47, the write clock signal WC
By counting K, it is possible to easily detect that a predetermined amount of variable length encoded data has been written into the buffer memory unit 45.

バッファメモリ部45に蓄積する可変長符号化データの
所定量は、伝送速度及び可変長復号化部48の復号速度
等を考慮して、通信終了までバッファメモリ部45が空
にならないように設定されているものである。
The predetermined amount of variable-length encoded data to be stored in the buffer memory section 45 is set in consideration of the transmission speed, the decoding speed of the variable-length decoding section 48, etc., so that the buffer memory section 45 will not become empty until the end of communication. It is something that

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

可変長符号化データを受信して元の画像情報等を復元す
る場合に、復号化処理に要する遅延時間が生じる。更に
、バッファメモリ部45が空にならないように設定され
た所定量の可変長符号化データが蓄積されるまで、復号
処理が開始されないものであるから、バッファメモリ部
45に所定量の受信可変長符号化データを蓄積するまで
の時間の遅延が付加される欠点があった。
When receiving variable length encoded data and restoring the original image information, etc., a delay time required for the decoding process occurs. Furthermore, since the decoding process is not started until a predetermined amount of variable-length encoded data that is set so that the buffer memory section 45 does not become empty is stored, a predetermined amount of received variable-length encoded data is stored in the buffer memory section 45. This method has the drawback of adding a time delay until the encoded data is stored.

本発明は、バッファメモリによる遅延を最小限とするこ
とを目的とするものである。
The present invention aims to minimize the delay caused by the buffer memory.

(課題を解決するための手段] 本発明の可変長復号化装置は、可変長符号化データを受
信することより、復号化を開始するものであり、第1図
を参照して説明する。
(Means for Solving the Problems) The variable length decoding device of the present invention starts decoding upon receiving variable length encoded data, and will be described with reference to FIG.

可変長符号化データを入力するバッファメモリ部1と、
このバッファメモリ部1から読出した可変長符号化デー
タを復号化する可変長復号化部2と、バッファメモリ部
1に可変長符号化データが書込まれることにより、その
可変長符号化データの読出しを開始し、且つバッファメ
モリ部1が空になったことを検出した時に、可変長復号
化部2の動作を停止させる制御部3とを備えているもの
である。
a buffer memory section 1 into which variable length encoded data is input;
A variable length decoding section 2 decodes the variable length encoded data read from the buffer memory section 1, and a variable length encoded data is written to the buffer memory section 1, thereby reading out the variable length encoded data. The variable length decoding section 2 is provided with a control section 3 that starts the operation of the variable length decoding section 2 and stops the operation of the variable length decoding section 2 when it is detected that the buffer memory section 1 becomes empty.

又制御部3は、バッファメモリ部1に加える書込クロッ
ク信号と読出クロック信号とを基に、バッファメモリ部
lの容量を計算するバッファメモリ容量計算部を有し、
そのバッファメモリ容量計算部によりバッファメモリ部
1が空になったことを検出した時に、可変長復号化部2
の動作を停止させるものである。
The control unit 3 also includes a buffer memory capacity calculation unit that calculates the capacity of the buffer memory unit l based on the write clock signal and read clock signal applied to the buffer memory unit 1,
When the buffer memory capacity calculation unit detects that the buffer memory unit 1 is empty, the variable length decoding unit 2
This is to stop the operation of the

又バッファメモリ部1を、フラグ付ファーストイン・フ
ァーストアウト・メモリにより構成し、このバッファメ
モリ部lに可変長符号化データを並列データに変換して
書込み、このバッファメモリ部1から並列データを読出
して、可変長符号化データの先頭から所定ビット数を順
次シフトして配列する回転部を設け、バッファメモリ部
1が空になった時に出力されるエンプティフラグを可変
長復号化部2の動作停止制御信号とする構成としたもの
である。
In addition, the buffer memory section 1 is constituted by a first-in first-out memory with a flag, variable-length encoded data is converted into parallel data and written into this buffer memory section 1, and parallel data is read from this buffer memory section 1. A rotating unit is provided to sequentially shift and arrange a predetermined number of bits from the beginning of the variable-length encoded data, and an empty flag output when the buffer memory unit 1 becomes empty is used to stop the operation of the variable-length decoding unit 2. The configuration is such that it is used as a control signal.

(作用〕 請求項1に於いて、可変長符号化データをバッファメモ
リ部1に書込むことにより、制御部3は直ちにその読出
しを制御して可変長復号化部2に加えて復号処理を開始
させるものであり、従って、バッファメモリ部1による
遅延は復号処理に要するビット数分の受信時間で済むこ
とになる。又バッファメモリ部1が空になった時に可変
長復号化部2の動作を停止させることにより、可変長復
号化部2からノイズ成分が復号されることを回避できる
(Operation) In claim 1, by writing the variable-length encoded data into the buffer memory section 1, the control section 3 immediately controls its reading and starts the decoding process in addition to the variable-length decoding section 2. Therefore, the delay caused by the buffer memory section 1 is reduced to the reception time equal to the number of bits required for decoding processing.Also, when the buffer memory section 1 becomes empty, the operation of the variable length decoding section 2 is By stopping the decoding, noise components can be prevented from being decoded by the variable length decoding unit 2.

請求項2に於いて、制御部3は、バッファメモリ部1の
書込クロック信号と読出クロック信号とを基にバッファ
メモリ部1の容量を計算するバッファメモリ容量計算部
により、バッファメモリ部1が空になったことを算出し
た時に、可変長復号化部2の動作を停止させて、可変長
符号化データでないノイズ成分が復号されることを回避
できる。
In claim 2, the control section 3 causes the buffer memory section 1 to be configured by a buffer memory capacity calculation section that calculates the capacity of the buffer memory section 1 based on the write clock signal and the read clock signal of the buffer memory section 1. When it is calculated that the space is empty, the operation of the variable length decoding unit 2 is stopped, thereby preventing noise components that are not variable length encoded data from being decoded.

請求項3に於いて、バッファメモリ部1をフラグ付のフ
ァーストイン・ファーストアウト・メモリにより構成し
て、空の時のエンプティフラグを可変長復号化部2の動
作停止制御信号とし、又バッファメモリ部lを並列デー
タの書込み、読出しを行う構成として、ハフ・ファメモ
リ部lから読出した並列データを、回転部に於いて可変
長復号化部2からの符号長情報に従ってシフトし、可変
長符号化データの先頭ビットが先頭位置となるようにし
て1.可変長復号化部2に加えるものである。
In claim 3, the buffer memory section 1 is constituted by a first-in first-out memory with a flag, and the empty flag when empty is used as an operation stop control signal for the variable length decoding section 2, and the buffer memory section 1 is configured as a first-in first-out memory with a flag. Part I is configured to write and read parallel data, and the parallel data read from the Huff-Flash memory part I is shifted in the rotating part according to the code length information from the variable length decoding part 2, and is variable length encoded. 1. Set the first bit of the data to be the first position. This is added to the variable length decoding section 2.

?実施例〕 以下図面を参照して本発明の実施例について詳細に説明
する。
? Embodiments] Embodiments of the present invention will be described in detail below with reference to the drawings.

第2図は本発明の一実施例のブロンク図であり、11は
バッファメモリ部、12は可変長復号化部、13は制御
部、14は伝送路と可変長復号化装置とのインタフェー
ス部としての受信部、15はバッファメモリ容量計算部
、16は読出クロンク制御部、17は復号制御部である
FIG. 2 is a block diagram of an embodiment of the present invention, in which 11 is a buffer memory section, 12 is a variable length decoding section, 13 is a control section, and 14 is an interface section between the transmission path and the variable length decoding device. 15 is a buffer memory capacity calculation section, 16 is a read clock control section, and 17 is a decoding control section.

送信側からの可変長符号化データはインタフェース部と
しての機能を有する受信部14により受信され、再生さ
れたクロック信号は書込クロック信号WCKとしてバッ
ファメモリ部11に加えられ、受信可変長符号化データ
DTが書込まれる。
The variable length encoded data from the transmitting side is received by the receiving section 14 which functions as an interface section, and the reproduced clock signal is added to the buffer memory section 11 as the write clock signal WCK, and the received variable length encoded data is DT is written.

二〇書込クロック信号WCKはハソファメモリ容量計算
部15と読出クロック制御部I6とに加えられ、この書
込クロック信号WCKに従って読出クロック制御部16
から読出クロック信号RCKが出力され、バッファメモ
リ部11とバッファメモリ容量計算部15とに加えられ
る。
20 The write clock signal WCK is applied to the sofa memory capacity calculation section 15 and the read clock control section I6, and the read clock control section 16 according to this write clock signal WCK.
A read clock signal RCK is outputted from the buffer memory section 11 and the buffer memory capacity calculation section 15.

読出クロック信号RCKに従ってバッファメモリ部11
から読出された可変長符号化データDTは、可変長復号
化部12に加えられ、復号制御部17からの起動信号S
Tが加えられて復号処理が行われ、復号データDDが出
力されて、図示を省略したフレーム間差分復号化部や逆
離散コサイン変換部等の復号化部に加えられ、元の画像
情報等に復元される。又可変長復号化部12の状態情報
SSが復号制御部17に加えられる。従って、可変長符
号化データが受信されると、直ちに復号処理が開始され
ることになる。
Buffer memory section 11 according to read clock signal RCK
The variable-length encoded data DT read from
T is added and decoding processing is performed, and the decoded data DD is output and added to a decoding unit such as an interframe difference decoding unit and an inverse discrete cosine transform unit (not shown), and is converted to the original image information etc. will be restored. Also, state information SS of the variable length decoding section 12 is added to the decoding control section 17. Therefore, when variable length encoded data is received, decoding processing is started immediately.

バッファメモリ容量計算部15は、書込クロック信号W
CKと読出クロック信号RCKとを基乙こバッファメモ
リ部11が空になったか否かを検出できるから、空にな
った時に停止制御信号SPを可変長復号化部12と復号
制御部17とに加え、復号化処理を停止させる。それに
よって復号データDDの出力は停止される。従って、バ
ッファメモリ部11の不確定データが復号されることを
回避できる。
The buffer memory capacity calculation unit 15 receives the write clock signal W.
Since it is possible to detect whether or not the buffer memory unit 11 is empty based on CK and read clock signal RCK, when the buffer memory unit 11 is empty, the stop control signal SP is sent to the variable length decoding unit 12 and the decoding control unit 17. In addition, the decryption process is stopped. As a result, output of the decoded data DD is stopped. Therefore, undefined data in the buffer memory section 11 can be prevented from being decoded.

第3図は本発明の他の実施例のブロック図であり、21
はバッファメモリ部、22は可変長復号化部、23は復
号制御部、24は受信部、25は直列並列変換部、26
は回転部である。
FIG. 3 is a block diagram of another embodiment of the present invention, 21
2 is a buffer memory section, 22 is a variable length decoding section, 23 is a decoding control section, 24 is a receiving section, 25 is a serial/parallel converting section, 26
is the rotating part.

送信側からの可変長符号化データは受信部24により受
信され、受信可変長符号化データと再生されたクロック
信号とが直列並列変換部25に加えられ、可変長符号の
最大符号長を例えば20ビツトとすると、20ピント並
列データに変換されてバッファメモリ部21に書込クロ
ック信号WCK“と共に加えられて書込まれる。
The variable length encoded data from the transmitting side is received by the receiving section 24, and the received variable length encoded data and the regenerated clock signal are applied to the serial/parallel converter 25, and the maximum code length of the variable length code is set to 20, for example. If it is a bit, it is converted into 20-pin parallel data and written into the buffer memory unit 21 together with the write clock signal WCK.

この場合、バッファメモリ部21は2oビット並列デー
タを並列に書込み且つ読出す構成とし、又フラグ付ファ
ーストイン・ファーストアウト・メモリ(FIF○)と
することができるものである。このバッファメモリ部2
1に並列データが書込まれると、バッファメモリ部21
は空でない状態となるから、エンプティフラグEPFは
、ハ・、2ファメモリ部21が空でないことを表示する
例えばビとなり、バッファメモリ部21が空になると“
0″゛となる。この“0゛のエンプティフラグEPFは
、回転部26及び可変長復号化部22に対して動作停止
制御信号となる。
In this case, the buffer memory section 21 has a configuration in which 2o bit parallel data can be written and read in parallel, and can be a first-in first-out memory (FIF○) with a flag. This buffer memory section 2
When parallel data is written to 1, the buffer memory section 21
Since is not empty, the empty flag EPF becomes, for example, B which indicates that the buffer memory section 21 is not empty, and when the buffer memory section 21 becomes empty, the empty flag EPF becomes "
This empty flag EPF of "0" becomes an operation stop control signal for the rotating section 26 and the variable length decoding section 22.

バッファメモリ部21からのエンプティフラグEPFが
“1゛′となると、復号制御部23から回転部26と可
変長復号化部22とに起動信号STが加えられる。又可
変長復号化部22から状態情報SSが復号制御部23に
加えられる。
When the empty flag EPF from the buffer memory section 21 becomes "1", the start signal ST is applied from the decoding control section 23 to the rotation section 26 and the variable length decoding section 22. Information SS is added to the decoding control section 23.

起動された回転部26から読出クロック信号RCK’が
バッファメモリ部21に加えられて並列データが読出さ
れ、可変長符号データの先頭ビットが先頭位置となるよ
うにシフト制御されて可変長復号化部22に加えられ、
この可変長復号化部22からの符号長情報により次のシ
フト動作が制御される。
The read clock signal RCK' is applied to the buffer memory section 21 from the activated rotating section 26, the parallel data is read out, and the shift control is performed so that the first bit of the variable length code data becomes the first position, and then the variable length decoding section Added to 22,
The next shift operation is controlled by the code length information from the variable length decoding section 22.

従って、バッファメモリ部21に並列データが書込まれ
ると、直ちに可変長復号化部22による復号化処理が開
始されることになり、又バッファメモリ部21が空にな
ると、” o ”のエンプティフラグEPFにより可変
長復号化部22の動作が停止される。
Therefore, when parallel data is written into the buffer memory section 21, the decoding process by the variable length decoding section 22 is immediately started, and when the buffer memory section 21 becomes empty, the empty flag of "o" The operation of the variable length decoding section 22 is stopped by the EPF.

第4図は回転部の要部ブロック図であり、31゜32.
36はレジスタ、33は上位シフタ、34は下位シフタ
、35は加算器である。上位シフタ33のシフト終了毎
に、バッファメモリ部21から例えば20ピント並列デ
ータが読出されて、レジスタ31にセットされ、且つ先
に読出された並列データはレジスタ32に転送される。
FIG. 4 is a block diagram of the main parts of the rotating part.
36 is a register, 33 is an upper shifter, 34 is a lower shifter, and 35 is an adder. Every time the upper shifter 33 finishes shifting, for example, 20 pint parallel data is read out from the buffer memory section 21 and set in the register 31, and the previously read parallel data is transferred to the register 32.

このレジスタ32の出力データは上位シフタ33により
、又レジスタ31の出力データは下位シフタ34により
、それぞれ可変長復号化部22からの符号長情報に従っ
てシフトされ、加算器35により上位と下位とが加算さ
れてレジスタ36にセットされ、20ビット並列データ
として可変長復号化部22に加えられる。即ち、レジス
タ36には、可変長符号化データの先頭ビットが先頭位
置となるように上位シフタ33によりシフトされたデー
タと、その後に続くように下位シフタ34によりシフト
されたデータとが、所定の20ビツトとしてセントされ
る。
The output data of this register 32 is shifted by the upper shifter 33 and the output data of the register 31 is shifted by the lower shifter 34 according to the code length information from the variable length decoding section 22, and the upper and lower data are added by the adder 35. is set in the register 36, and added to the variable length decoding unit 22 as 20-bit parallel data. That is, in the register 36, data shifted by the upper shifter 33 so that the first bit of the variable-length encoded data becomes the first position, and data subsequently shifted by the lower shifter 34 are stored in a predetermined position. It is denominated as 20 bits.

なお、起動初期に於いては、バッファメモリ部21から
読出された20ビット並列データは、レジスタ31,3
2.上位シフタ33.加算器35゜レジスタ36を介し
て直ちに可変長復号化部22に加えるように制御するこ
とができる。
Note that at the initial stage of startup, the 20-bit parallel data read from the buffer memory section 21 is stored in the registers 31 and 3.
2. Upper shifter 33. The adder 35 can be controlled to be immediately added to the variable length decoding section 22 via the register 36.

本発明は、前述の実施例にのみ限定されるものではなく
、種々付加変更することができるものである。
The present invention is not limited to the above-described embodiments, but can be modified in various ways.

(発明の効果〕 以上説明したように、本発明は、バッファメモリ部1に
可変長符号化データを書込むことにより、その可変長符
号化データを読出して可変長復号化部2により復号処理
を開始し、バッファメモリ部1が空になった時に可変長
復号化部2の動作を停止して、可変長符号化データ以外
のノイズ成分の復号を行わないようにし、又復号処理の
開始を可変長符号化データの受信とほぼ同時的に行うこ
とができるから、遅延時間を最小限とすることが可能と
なる利点がある。又バッファメモリ部1の容量も小さく
することが可能となり、経済化を図ることができる。
(Effects of the Invention) As explained above, the present invention writes variable length encoded data to the buffer memory unit 1, reads out the variable length encoded data, and performs decoding processing by the variable length decoder 2. The operation of the variable length decoding unit 2 is stopped when the buffer memory unit 1 becomes empty, so that noise components other than variable length encoded data are not decoded, and the start of the decoding process is made variable. Since it can be performed almost simultaneously with the reception of long coded data, it has the advantage of minimizing delay time.It also allows the capacity of the buffer memory section 1 to be reduced, making it more economical. can be achieved.

又バッファメモリ部1が空になったか否かは、バッファ
メモリ部1の書込クロック信号と読出クロック信号とを
基に、バッファメモリ容量計算部により容易に検出でき
るので、可変長復号化部2の制御が容易となる。
Also, whether or not the buffer memory section 1 is empty can be easily detected by the buffer memory capacity calculation section based on the write clock signal and read clock signal of the buffer memory section 1. control becomes easier.

又バッファメモリ部lをフラグ付のFIFOメモリによ
り構成し、且つ並列データの書込み読出しを行う構成と
して、バッファメモリ部1が空になった時の可変長復号
化部2の動作停止の制御を容易にし、又可変長復号化部
2に加える並列データの先頭を、回転部により可変長符
号化データの先頭ビットが位置するようにして、可変長
符号化データの復号処理を容易にすることができる。
In addition, the buffer memory section 1 is configured to be a FIFO memory with a flag, and is configured to read and write data in parallel, so that it is easy to control the operation stop of the variable length decoding section 2 when the buffer memory section 1 becomes empty. In addition, the head of the parallel data to be added to the variable length decoding unit 2 is positioned by the rotation unit so that the head bit of the variable length encoded data is located, thereby facilitating the decoding process of the variable length encoded data. .

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

第1図は本発明の原理説明図、第2図は本発明の一実施
例のフロック図、第3図は本発明の他の実施例のブロア
・り図、第4図は回転部の要部ブロア・り図、第5図は
従来例の説明図である。 1:よバッファメモリ部、2は可変長復号化部、3は制
御部である。
Fig. 1 is a diagram explaining the principle of the present invention, Fig. 2 is a block diagram of one embodiment of the present invention, Fig. 3 is a blower diagram of another embodiment of the present invention, and Fig. 4 is a main part of the rotating part. FIG. 5 is an explanatory diagram of a conventional example. 1 is a buffer memory section, 2 is a variable length decoding section, and 3 is a control section.

Claims (3)

【特許請求の範囲】[Claims] (1)、可変長符号化データを復号する可変長復号化装
置に於いて、 前記可変長符号化データを入力するバッファメモリ部(
1)と、 該バッファメモリ部(1)から読出した前記可変長符号
化データを復号化する可変長復号化部(2)と、 前記バッファメモリ部(1)に前記可変長符号化データ
が書込まれることにより該可変長符号化データの読出し
を開始し、且つ該バッファメモリ部(1)が空になった
ことを検出した時に、前記可変長復号化部(2)の動作
を停止させる制御部(3)と を備えたことを特徴とする可変長復号化装置。
(1) In a variable length decoding device that decodes variable length encoded data, a buffer memory section (
1), a variable length decoding unit (2) for decoding the variable length encoded data read from the buffer memory unit (1), and a variable length decoding unit (2) for decoding the variable length encoded data read from the buffer memory unit (1); control for stopping the operation of the variable-length decoding section (2) when the variable-length decoding section (2) starts reading out the variable-length encoded data and detects that the buffer memory section (1) becomes empty; A variable length decoding device comprising a section (3).
(2)、前記制御部(3)は、前記バッファメモリ部(
1)に加える書込クロック信号と読出クロック信号とを
基に、該バッファメモリ部(1)の容量を計算するバッ
ファメモリ容量計算部を有し、該バッファメモリ容量計
算部により前記バッファメモリ部(1)が空になったこ
とを検出した時に、前記可変長復号化部(2)の動作を
停止させる構成を有することを特徴とする請求項1記載
の可変長復号化装置。
(2), the control unit (3) is configured to control the buffer memory unit (
The buffer memory capacity calculation unit calculates the capacity of the buffer memory unit (1) based on the write clock signal and read clock signal added to the buffer memory unit (1), and the buffer memory capacity calculation unit calculates the capacity of the buffer memory unit (1). 2. The variable length decoding device according to claim 1, further comprising a configuration for stopping the operation of said variable length decoding section (2) when detecting that said variable length decoding section (2) becomes empty.
(3)、前記バッファメモリ部(1)を、フラグ付ファ
ーストイン・ファーストアウト・メモリにより構成し、
該バッファメモリ部(1)に前記可変長符号化データを
並列データに変換して書込み、且つ該バッファメモリ部
(1)から前記並列データを読出して、前記可変長符号
化データの先頭から所定ビット数を順次シフトして配列
する回転部を設け、前記バッファメモリ部(1)が空に
なった時に出力されるエンプティフラグを前記可変長復
号化部(2)の動作停止制御信号とする構成としたこと
を特徴とする請求項1記載の可変長復号化装置。
(3), the buffer memory section (1) is configured with a first-in first-out memory with a flag;
Converting the variable-length encoded data into parallel data and writing it into the buffer memory section (1), and reading out the parallel data from the buffer memory section (1) to read predetermined bits from the beginning of the variable-length encoded data. A rotating section that sequentially shifts and arranges the numbers is provided, and an empty flag output when the buffer memory section (1) becomes empty is used as an operation stop control signal for the variable length decoding section (2). The variable length decoding device according to claim 1, characterized in that:
JP32596990A 1990-11-29 1990-11-29 Variable length-decoding device Pending JPH04199914A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32596990A JPH04199914A (en) 1990-11-29 1990-11-29 Variable length-decoding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32596990A JPH04199914A (en) 1990-11-29 1990-11-29 Variable length-decoding device

Publications (1)

Publication Number Publication Date
JPH04199914A true JPH04199914A (en) 1992-07-21

Family

ID=18182619

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32596990A Pending JPH04199914A (en) 1990-11-29 1990-11-29 Variable length-decoding device

Country Status (1)

Country Link
JP (1) JPH04199914A (en)

Similar Documents

Publication Publication Date Title
JP3022784B2 (en) High-speed variable-length decoding device
JPH06348492A (en) Data pipeline device and data encoding method
JPH04107070A (en) Encoding and decoding device
JP2611637B2 (en) Image compression / decompression device
JPS58129876A (en) Facsimile device
JP2853784B2 (en) Encoding / decoding device
JPH04199914A (en) Variable length-decoding device
US5822770A (en) Memory interfacing method and circuit of variable length decoder for accessing external memory when empty portion of internal memory exceeds a predetermined level
WO2010125616A1 (en) Coded stream decoding apparatus
JP3170967B2 (en) Data compression device
JP3402581B2 (en) Data restoration device
JP4941254B2 (en) Image compression apparatus, printer, and multifunction machine
JPS5859665A (en) Picture and writing transmission device
JPS6316069B2 (en)
JP3152017B2 (en) Code transmission device
JP2943636B2 (en) Signal processing device
JP2721458B2 (en) Channel device and frame transmitting / receiving method thereof
JP2668473B2 (en) Buffer memory output method
JPS5883473A (en) Picture signal encoding system
JPS5892166A (en) Write control system in storage device
JP2556160B2 (en) Compression code decompression device
JPS5923514B2 (en) Two-dimensional sequential encoding method
JP2942738B2 (en) Data decryption IC
JP2869104B2 (en) Facsimile machine with storage function
JPS60143087A (en) Buffer memory control circuit