JPS58175366A - Decoding circuit - Google Patents

Decoding circuit

Info

Publication number
JPS58175366A
JPS58175366A JP57057586A JP5758682A JPS58175366A JP S58175366 A JPS58175366 A JP S58175366A JP 57057586 A JP57057586 A JP 57057586A JP 5758682 A JP5758682 A JP 5758682A JP S58175366 A JPS58175366 A JP S58175366A
Authority
JP
Japan
Prior art keywords
code
output
bits
adder
special code
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
JP57057586A
Other languages
Japanese (ja)
Other versions
JPH0234508B2 (en
Inventor
Kiichi Matsuda
松田 喜一
Toshihiro Honma
敏弘 本間
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 JP57057586A priority Critical patent/JPS58175366A/en
Publication of JPS58175366A publication Critical patent/JPS58175366A/en
Publication of JPH0234508B2 publication Critical patent/JPH0234508B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/41Bandwidth or redundancy reduction

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To eliminate an effect of a bit error for a decoding circuit which decodes the variable length code of a picture signal, by inserting a special code with each fixed period at the transmitting side and setting the reading address at a fixed value every time the special code is detected. CONSTITUTION:A variable length code train supplied from an input terminal 1 is stored in a buffer memory 2 and delivered to an FF3 as well as fed to a special code detecting circuit 9. When no special code is detected, a selector SEL sets the output of an adder to an FF7a to feed it back to the adder as well as to supply it to a multiplexer 4. As a result, a differentially coded variable length code is decoded. When a special code is detected by the circuit 9, a comparator CMP compares the output of the adder with the position of the head bit of the special code set to an FF10. Based on the result of this comparison, the output of the adder or the output of the FF10 is set to the FF7a. At the same time, the result of comparison is set to an FF7b and the number of bits of the special code read out previously is inspected. The output of the adder shows the head bit of the next code.

Description

【発明の詳細な説明】 (1)発明の技術分計 本発明は、一定速度で受信した可変長符号化信号列を復
号するための復号化回路に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (1) Technical Summary of the Invention The present invention relates to a decoding circuit for decoding a variable length encoded signal sequence received at a constant speed.

(2)技術の背景 1jje信号を符号化して伝送する時に帯域圧縮のため
に差分符号化方式が適用されている。この時差分に応じ
てビット長を変え艷に復号化を容易にするためにパター
ンも固定的に割当てて可変長の符号とし、送信する時は
、伝送連ft一定とする九めに固定長の符号とする方式
が実施されている0このことに第1図1−用いて説明す
る。(1)図の如く、養分が1+10″の時” 000
1”、+5の時”001”、+2(1)時@01’−2
0時”IO”、−10ノ時@1001”と固定的にパタ
ーンを割当て、送信する時は例えば8ビツトの固定長と
して送信する。この固定長に変換する様子t (b)図
に示す。差分データt@+lo”。
(2) Background of the Technology A differential encoding method is applied for band compression when encoding and transmitting a 1JJE signal. At this time, the bit length is changed according to the difference, and a pattern is fixedly assigned in order to make decoding easier. When transmitting, the transmission sequence is kept constant. This will be explained with reference to FIG. 1. (1) As shown in the figure, when the nutrients are 1+10" 000
1", +5 "001", +2 (1) @01'-2
A fixed pattern is assigned such as "IO" at 0 o'clock and @1001 at -10 o'clock, and when it is transmitted, it is transmitted as a fixed length of, for example, 8 bits.The conversion to this fixed length is shown in Figure t(b). Difference data t@+lo”.

”+5”、  ”+2″、−2″、  ”−10’ノl
[K送るとすると、最初#i”+10”を表わす′″0
o01“と1+5@を表わす”001’″と1+2”を
表わす”01“の内先頭の′″Omを送信バッファにセ
ットして送信する。
"+5", "+2", -2", "-10' nol
[If you send K, first ``0'' representing #i''+10''
o01", "001'" representing 1+5@, and "01" representing 1+2", the first ``Om'' is set in the transmission buffer and transmitted.

次は+2を表わす101”の11と1−2″t−表わす
110″と−10”を表わす1001″を順に送信バッ
ファにセットする。
Next, 11 of 101'' representing +2, 110'' representing 1-2''t-, and 1001'' representing -10'' are sequentially set in the transmission buffer.

この様に固定長符号に変化して送信されたデータの*号
は、パターンと差分とが対応しているので、パターンの
検出+hなうことにより行なわれる0 (3)従来枝術及びij1題点 上記方式において、従来用いられている復号仕え 回路として、第1図に示す構成が提案されている〇すな
わち、図中1は入力端子、2はバッファメモリ、3は相
拡張回路、4はマルチプレクサ、5は可変長復号器、6
は出力端子、7け復号符号長管理回路である。
Since the * symbol of the data changed to a fixed length code and transmitted in this way corresponds to the pattern and the difference, it is performed by detecting the pattern + h (3) Conventional branch technique and ij1 problem In the above system, the configuration shown in Figure 1 has been proposed as a conventional decoding circuit. In the figure, 1 is an input terminal, 2 is a buffer memory, 3 is a phase expansion circuit, and 4 is a multiplexer. , 5 is a variable length decoder, 6
is an output terminal and a 7-digit decoding code length management circuit.

パックァメモリハ入力端子1から入力された定速度の固
定符号を定速度のまま順次書き込みにビット(例えば8
ビツト)づつ並列に出方する様にする。相拡張回路3は
7リツプフロツプで構成され、バッファメモリ2から′
送′られて来る信号を交互に記憶し、2にビット分を並
列出力すゐ。マルチプレクサ4は、復号符号長管理回路
7がらの指示を受けて、相拡張回路3から送られてくる
2にビットの信号の中から次に復号されるべき符号を先
頭とする@号系列をにビット分の形で並列に出力する。
Packer memory bits (for example, 8
(bits) appear in parallel. The phase expansion circuit 3 consists of 7 lip-flops, and
The incoming signals are stored alternately and the two bits are output in parallel. The multiplexer 4 receives instructions from the decoding code length management circuit 7 and selects the @code sequence starting with the code to be decoded next from among the 2-bit signals sent from the phase expansion circuit 3. Output in parallel in the form of bits.

該マルチプレクサ4Fi、上記復号符号長管理回路7か
らの指示(シフト量)1が与えられると上記2にビット
の信号を例えば左方向に1ビqゝ ット分ワイヤド論理によってシフトしにビットの信gを
並列に出力するようにされる。可変長復号tisti、
マルチプレクサ4より出力された信号系タtit−人力
して予め約束されている可変長符号パターンを検出し、
復号された符号を出力端子6に出力し、販出力された杓
−号の符号長を2Mnビットで表して、復号符号長管理
回路7に送出する。例えば出力さtた符号が5ビツトの
符号長をもっていれば「0101」の形で管理回路7に
送出する。
When the multiplexer 4Fi is given an instruction (shift amount) 1 from the decoding code length management circuit 7, it shifts the bit signal to the 2 bit, for example, by 1 bit to the left by wired logic. g are output in parallel. variable length decoding tisti,
The signal system data output from the multiplexer 4 manually detects a predetermined variable length code pattern,
The decoded code is outputted to the output terminal 6, and the code length of the sold-out code is expressed in 2Mn bits and sent to the decoded code length management circuit 7. For example, if the output code has a code length of 5 bits, it is sent to the management circuit 7 in the form of "0101".

後号符号長f#埋回路7はそれ自体の出力値と可変長復
号器5から送られてくる信号と會加算する(n+1)ビ
ット加震器で構成され、その出力値即ち加算結果は相拡
張回路3の中に配憶されている信号の内で埃時点までに
信号芒れているビット数を表わしている。この加算器G
et(n+1)ビットの2進数の杉でマルチプレクサ4
に送られ該マルチプレクサ4において制御信号として使
用される。
The subsequent code length f# embedding circuit 7 is composed of an (n+1) bit exciter that adds its own output value and the signal sent from the variable length decoder 5, and its output value, that is, the addition result is mutually exclusive. It represents the number of bits of the signal stored in the expansion circuit 3 up to the point in time. This adder G
et(n+1) bit binary number multiplexer 4
The signal is sent to the multiplexer 4 and used as a control signal.

さらに復号符号長管理回路7の出力の内nビット目のイ
=sはバッファメモリ2からの絖み出しクロックとして
用いられ、(n+1)ビット目であるMSBF′i相拡
張回鮎3に対するクロックとして使用される。なお上記
においてにビットは2(n+1)ビットであると考えて
よい。
Furthermore, the n-th bit i=s of the output of the decoding code length management circuit 7 is used as a clock for starting from the buffer memory 2, and is used as a clock for the (n+1)-th bit MSBF'i phase expansion circuit 3. used. Note that in the above, the bits may be considered to be 2(n+1) bits.

説明を判り易くするため、例を挙けて説明する。In order to make the explanation easier to understand, an example will be given.

今仮にバッファ・メモリ2に対して符号長「2」、「8
」、「5」、「4」、  ・の如き可変長符号がliK
格納され、ファーストイン・ファーストアウト形式で出
力端子6から送出されてゆくものとし、n=3、K=2
  =16とする。
Now, suppose code length is “2” and “8” for buffer memory 2.
”, “5”, “4”, ・Variable length codes such as liK
It is assumed that the data is stored and sent out from the output terminal 6 in a first-in, first-out format, n = 3, K = 2
=16.

(1)この場合、上記符号長「2」、「3」、「5」、
「4」と「6」の最初の2ビツト分との16ビツト分が
図示下段のフリラグ・フロップにセットされ、符号長「
6」の残る4ビツト、「1」、「4」、「7」の16ビ
ツト分が図示上段の7リツプeフロツプにセットされ、
マルチプレクサ4に供給される。
(1) In this case, the code lengths “2”, “3”, “5”,
The first 2 bits of "4" and "6", 16 bits, are set in the free lag flop shown in the lower part of the figure, and the code length is "4".
The remaining 4 bits of ``6'' and 16 bits of ``1'', ``4'', and ``7'' are set in the 7-lip e-flop in the upper row of the diagram.
It is supplied to multiplexer 4.

(2)この場合復号符号長管理回路7の(n+1)ビッ
ト加算器の加算値は[0OOOJであり、このためマル
チプレクサ4は07フト即ち入力信号をシフトすること
なく上記最初の符号長「2」の可変長符号を先頭とする
16ビツト分を復号器5に供給する。
(2) In this case, the added value of the (n+1) bit adder of the decoding code length management circuit 7 is [0OOOJ, and therefore the multiplexer 4 outputs 07 feet, that is, the first code length "2" without shifting the input signal. The 16 bits starting with the variable length code are supplied to the decoder 5.

(3)この状態で可変長符号器5は先ず符号長1’2J
の符号を復号して出力端子6に出力する。このとき同時
に″OI角器5は(n+1)ビット加簀器に7tシて2
進数[0010Jを供給する。
(3) In this state, the variable length encoder 5 first has a code length of 1'2J.
The code is decoded and output to the output terminal 6. At the same time, the OI squarer 5 sends 7t to the (n+1) bit adder and 2
Supply the base number [0010J.

(4)  こねにより(n+1)ビット加算器により加
算結果Fi[0001O]となり、その旨はマルチプレ
クサ4に通知される。これによりマルチプレクサ4は入
力信号を2ビット分シフトした形で上記復号済みの符号
長「2」全除去して符号長「3」の可変符号會先顧とす
ゐ16ビツト分を復号器5に供給する。
(4) As a result of kneading, the addition result Fi[0001O] is obtained by the (n+1) bit adder, and the multiplexer 4 is notified of this fact. As a result, the multiplexer 4 shifts the input signal by 2 bits, completely removes the decoded code length "2", and transfers the 16 bits to the decoder 5 as a variable code association with a code length "3". supply

(5)可変長復号器5は、これにより符号長「3」の符
号′fr後号して出力端子6に出力し、同時に(n+1
)ビット加jI器に対して2過数「0OIIJを供給す
る。
(5) The variable length decoder 5 thereby post-codes the code 'fr of code length "3" and outputs it to the output terminal 6, and at the same time (n+1
) Supply the 2-overnumber "0OIIJ" to the bit adder jI.

(6)  これによシ(n+1)ビット加算器による加
算結果Fir2J +r3J即ち「00101」となり
、その旨はマルチプレクサ4 K通知されゐ。
(6) As a result, the addition result by the (n+1) bit adder becomes Fir2J +r3J, that is, "00101", and the multiplexer 4K is notified of this fact.

これによタマルチグレクサ4Fi上記と1Wlf!II
K入力傷49′を5ビット分シフトした形で復号済みの
上記O!号長「2」と「3」とを除去して符号長「5」
の回置長符号を先−とする16ビツト分を復号−5に供
給する0 (η 復号@5Fi、これKより符号長「5」の符号を
復号して出力端子6に出力し、同時に(n−+1)ビッ
ト加算器に対して2進数[0101Jを供給する。
This includes the multi-graxer 4Fi above and 1Wlf! II
The above O! has been decoded with the K input flaw 49' shifted by 5 bits. Remove code lengths “2” and “3” to obtain code length “5”
16 bits starting with the inverted length code of - are supplied to decoding-5 (0 Supply the binary number [0101J to the n-+1) bit adder.

(8)  これKよC(n+1)ビット加算器による加
算結果はr5J +r5J即ち「01010 Jとなり
、その旨はマルチプレクサ4に通知される。
(8) The result of addition by the K+C(n+1) bit adder is r5J +r5J, that is, "01010 J," and the multiplexer 4 is notified of this fact.

(9)このとき(n+1)ビット加算器の加算結果にお
いてnビット目即ちこの場合4ビツト目が論理「1」に
変化するので、この条件によりバッファメモリ2にクロ
ックが供給されて読出しが行なわれる。このとき(n+
1)と、ト加算器の加算結果において(n+1)ビット
0卸ちMSBFi論理「0」Kあるので、図示下段の7
リツプ70ツグに上記仮定した符号長「3」を先駒処す
る16ビツト分がセットされる。
(9) At this time, in the addition result of the (n+1) bit adder, the n-th bit, that is, the 4th bit in this case, changes to logic "1", so according to this condition, a clock is supplied to the buffer memory 2 and reading is performed. . At this time (n+
1), and in the addition result of the adder, there are (n+1) bits 0 and MSBFi logic "0" K, so 7 in the lower part of the diagram
The 16 bits corresponding to the assumed code length "3" are set in the lip 70.

(1@  上記(8)の処理においてマルチプレクサ4
には加算結果「01010 Jが通知され、マルチグレ
クf4は上記と同様に上記符号長「4」の符号を先験と
する16ビツト分を復号器5Vc供給する。
(1@ In the process of (8) above, multiplexer 4
is notified of the addition result "01010 J", and the multi-grec f4 supplies 16 bits of code having the code length "4" as a priori to the decoder 5Vc in the same way as above.

(1リ  可変長復号器5Fi、これにより符号長「4
」の符号を復号して出力端子6に出力し、同時に(n+
1)ビット加算器に対して2進数「01oO」を供給す
る。
(1) Variable length decoder 5Fi, which allows the code length to be 4
” is decoded and output to output terminal 6, and at the same time (n+
1) Supply the binary number "01oO" to the bit adder.

以上の様にして復号を行なう。Decryption is performed as described above.

ところが、この回路では、伝送鮎でビット誤りが生じる
と、例えば符号長r2Jの町f長符号が、符号長「2」
では復号できないが符号長「3」。
However, in this circuit, if a bit error occurs in the transmission Ayu, for example, a f-length code with code length r2J becomes code length "2".
Although it cannot be decoded, the code length is "3".

「4」の可蒼長符号としてt1号されることが生じる。The code may be coded as t1 as a blue length code of "4".

ところが、一度はたまたt復号化されても、次の相号か
らにパターンが一致しないので、復号さhなくなってし
まう欠点がある。
However, even if it happens to be decoded once, the patterns do not match from the next phase sign onward, so there is a drawback that the decoding is no longer possible.

(4)発明の1的 本発明は、上記の点に亀みてなされた吃ので、ビット−
まりが生じても(゛の敦及會できるだけ小さくできる復
号化回路を提供する仁と會1的とするものである。
(4) One aspect of the invention The present invention has been made in view of the above points, and is therefore a bit-
It is our aim to provide a decoding circuit that can minimize the effects of interference even if it occurs.

(5)発明の偽成 上iiC目的に、口」五長符号列に一足周期で%殊符号
r挿入した1]変調符号化信号列を一定速度で受信バッ
ファで受信し、該受信バッファから予め定められたビッ
ト長単位で読み出して保持回路で保持し、加算回路出力
で示されるビット位置を先頭ビットとして読み出し、ビ
ットパターンに応じてt14geにより復角するととも
に各ビットパターンに対応するビット数を該加算回路に
入力して、前回の読出し位置に加算し、骸特殊符号全検
出した時は、級力1算回路出力と該特殊符号の先験ビッ
トの該予め定められたビット長内における位置との比較
を行ない、一致した時又は該加X器出力が小さくなった
時に実際に伝送されたビットn′数と特殊符号間に含ま
れるべきビット数nとの比較を行ない、n′がnより小
さい時、nとn′が勢しくなるまで該保持回路からの読
出しを停止し n/が大きい時は、前記予め定められた
ビット長単位で胱取りを次の特殊符号?検出するまで竹
ない、この時点でnと前記予め定められたビット長単位
で胱堆りたビット数n″とn’ −nの値を加算した櫨
とnとの差のビット数だけTIIt、取シ全停止する徐
にしたことを〜倣とする復号化回路によりて違成される
(5) For the purpose of false creation of the invention (iiC), a modulation coded signal sequence (1) in which a special code r is inserted into a five-length code sequence at one cycle is received by a reception buffer at a constant speed, and Read in units of a predetermined bit length and hold it in a holding circuit, read out the bit position indicated by the output of the adder circuit as the first bit, decode it by t14ge according to the bit pattern, and calculate the number of bits corresponding to each bit pattern. It is input to the adder circuit and added to the previous read position, and when all the Mukuro special codes are detected, the output of the class 1 arithmetic circuit and the position of the a priori bit of the special code within the predetermined bit length are calculated. When they match or when the output of the When it is small, reading from the holding circuit is stopped until n and n' become strong, and when n/ is large, the data is read in units of the predetermined bit length until the next special code? There is no bamboo until it is detected, and at this point, the number of bits is equal to the difference between n and n, which is the sum of n, the number of bits stored in the predetermined bit length unit, n'', and the value of n' - n. This is done by a decoding circuit that imitates the fact that the transfer is completely stopped.

(6)発明の実施例 本発明でに、送信側で一定周期毎に1特殊符号運びに%
殊符号間のビット数を示す符号t7柳入し、この待株符
七倉輌出する毎に1保持l路からめ読出し位置を補正す
る。
(6) Embodiment of the Invention In the present invention, on the transmitting side, one special code is carried by % at every fixed period.
A code t7 indicating the number of bits between special codes is entered, and each time this waiting stock code is output, the read position is corrected from the 1-way.

以下第3図に従って説明する。This will be explained below according to FIG.

し1中8Fi制両回路、9#′i%株符号検出回路、7
a。
8Fi control circuit in 1, 9#'i% stock sign detection circuit, 7
a.

7b、IOHOHフリラグフロップELFiセレクタ、
CM P h比ms、0RFi#7ゲート、ANDI。
7b, IOHOH free lag flop ELFi selector,
CM Ph ratio ms, 0RFi#7 gate, ANDI.

AND2はアンドゲートであり、w71.2図と同一部
材には同一符号を付与している。
AND2 is an AND gate, and the same members as in Figure w71.2 are given the same symbols.

動作を歌明すると、入力端子1がらの可変長符号列をバ
ッファメモリ2にストアし、フリップフロッグ3に出力
するとともにVa符号検出回路9に人力する。%泳杓号
は例えば12ビツトで摘成し、そのパターンとしては、
 r 100000000001 Jとする。%殊符号
を検出していない時は、セレクタ5ELe−を加xiの
出力を7リツプフロツプ7aにセットし、加算器にフィ
ードバックすゐとともにマルチプレクサ4に入力する。
When the operation is confirmed, the variable length code string from the input terminal 1 is stored in the buffer memory 2, outputted to the flip-flop 3, and also inputted to the Va code detection circuit 9. For example, the % swimming dip number is extracted using 12 bits, and its pattern is as follows.
r 100000000001 J. When no special sign is detected, selector 5ELe- sets the output of adder xi to 7 lip-flop 7a, and inputs it to multiplexer 4 along with feedback to the adder.

一方検出回路9で特殊符号を検出すると、検−出したこ
とを示すビットとにビット内での特殊符号の先頭ビット
の位tkを7リツプフロツプ1oに★ッ卜する。そして
比較器CMPで加算器出方と7リツプフロツプにセット
した特殊符号の先願ビット位置とを比較する0加薯器出
方が小さい時は比較器CMP出カにより、セレクタSE
Lでは、加算器出力をセ□レクトし7リツグフロツプ7
aKセツトする。−去勢しくなった時又は加算器出力が
小さくなった時は比較餡CMP出カにより7リツプフロ
ツプ10の出刃をセレクトし、7す、プフロ、プ7aK
セットし、マルチプレクt4から特殊符号′lkwk、
み出し可変長符号列6にセットする。
On the other hand, when the detection circuit 9 detects a special code, the bit indicating the detection and the position tk of the first bit of the special code in the bits are loaded into the 7-lip-flop 1o. Then, a comparator CMP compares the output of the adder with the earlier application bit position of the special code set in the 7 lip-flop. When the output of the 0 adder is small, the comparator CMP output selector SE
At L, select the adder output and select the 7 logic flop 7.
Set aK. - When it becomes necessary to castrate or when the adder output becomes small, select the cutting edge of 7 lip flop 10 by comparison CMP output,
set, and from multiplex t4 the special code 'lkwk,
Set to variable length code string 6.

史に比f器出力はフリップフロップ7bにセットされる
。フリップフロップ7bの出方は制御回路8並びにオア
ゲー)OR,アンドゲートANDI ’i介して、フリ
ップフロッグ3.10に人力する。
Historically, the f/f ratio output is set in flip-flop 7b. The output of the flip-flop 7b is manually inputted to the flip-flop 3.10 via the control circuit 8, the OR gate, and the AND gate ANDI'i.

制御回路8iJフリツプフpツブ8の出方が入力される
と、第4図に示す如き処mを行なう。
When the output of the control circuit 8iJ flip-flop p-tube 8 is inputted, the process shown in FIG. 4 is performed.

すなわち(a)図の如く、n1ビツト毎に!#殊符号u
wt−挿入して、送信すると仮定する。そして、前述の
如く、マルチプレクサ4がら%殊符号UWを読み出した
場合、前回読出した特殊符号からのビット数を検足し、
n1ビツトであった場合Kti、1’L&長後号器5内
の符号長検出回路から特殊符号のビット畝f強fllJ
的に出力する様にする。
In other words, (a) As shown in the figure, every n1 bits! #Special sign u
Assume wt-insert and send. Then, as mentioned above, when the special code UW is read from the multiplexer 4, the number of bits from the previously read special code is checked,
If it is n1 bits, Kti, 1'L & bit length fllJ of the special code is determined from the code length detection circuit in the long postcoder 5.
Make it output as follows.

これにより加算器出力は、特殊符号の次の符号の先頭ビ
ットのアドレスを示すwになる。
As a result, the adder output becomes w, which indicates the address of the first bit of the code following the special code.

一方(bJ図の如く送出ビット数より受信したビット数
が少ない場合は、ビット数の差(n+  i)だけアン
ドゲートAND2 ’i閉じて、クロックを禁止し、加
算器のJl!新を禁止する。そして受信ビット数がnl
になった時点で、符号長検出回路から%体符号のビット
数を強制的に出力する。史に(e)図の如く、受信した
ビット数nl がnl  より大きい場合は、符号長検
出回路から最大固定符号長、図の例ではビット数Kt遅
続して、次の特殊符号を恨出するまで出力し、早読みを
行なう。そして久の%殊行号を検出した時点で、n+ 
 (1Dr+nx)ビットだけ読取9を禁止すゐ。
On the other hand, if the number of received bits is less than the number of transmitted bits (as shown in the bJ figure), close the AND gate AND2 'i by the difference in the number of bits (n + i), disable the clock, and disable Jl!New of the adder. .And the number of received bits is nl
When the code length detecting circuit reaches , the number of bits of the % field code is forcibly output. (e) As shown in the figure, when the number of received bits nl is larger than nl, the code length detection circuit outputs the next special code with a delay of the maximum fixed code length, in the example shown in the figure, the number of bits Kt. Output until it is, then read quickly. Then, at the moment when the %jugyo sign of Ku is detected, n+
Prohibits reading 9 by (1Dr+nx) bits.

しかる後特殊符号のビット数を出力させる。After that, the number of bits of the special code is output.

(7)発明の効果 以上の如く本発明によれば、特殊符号を一定周期で挿入
し、この特殊符号を検出すゐたびに1続出しアドルスを
一定の値にセットする様にしているため、ビット−iシ
による影響を従来に比較して少なくすることが可能とな
る。
(7) Effects of the Invention As described above, according to the present invention, a special code is inserted at a constant period, and each time this special code is detected, one consecutive address is set to a constant value. The influence of bit-i can be reduced compared to the conventional method.

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

第1図は、可変長符号を固定長符号に変換する過程を示
す図、w!、2図は従来のり号回路を示す図、第3図は
本発明による復号回路を示す図、第4図は本発明による
復号回路の動作を示す図である。 図中2Fi=Q)ファメモリ、3. 7m、  7b、
10はフリラグ191ツブ、4Fiwルチプレクサ、5
は可変長復号器、7は復号符号長管理回路、8は制(i
Kl(ロ)路、9は特殊符号検出回路である。
FIG. 1 is a diagram showing the process of converting a variable length code to a fixed length code, w! , 2 is a diagram showing a conventional coder circuit, FIG. 3 is a diagram showing a decoding circuit according to the present invention, and FIG. 4 is a diagram showing the operation of the decoding circuit according to the present invention. In the figure, 2Fi=Q) family memory, 3. 7m, 7b,
10 is Furiragu 191 Tsubu, 4 Fiw Multiplexer, 5
is a variable length decoder, 7 is a decoding code length management circuit, and 8 is a control (i)
Kl (b) path 9 is a special code detection circuit.

Claims (1)

【特許請求の範囲】[Claims] 可変長符号列に一定周期で特殊符号を挿入した可変調符
号化信号列を一定速度で受信ノ(ツファで受信し、該受
信バッファから予め定められたビット長単位で読み出し
て保持回路で保持し、加算回路出力で示されるビット位
置を先−ビットとして絖み出し、ピットノ(ターンに応
じて復号器により復号するとともに各ピットノ(ターン
に対応するビット数を該加算回路に入力して、前回の吸
出し位置に加算し、tf%殊符号を検出した時は、比較
赫により、該加算回路出力と訪特殊符号の先餉ピッくな
った時に実際に伝送され九ビr)n’数と特殊符号間に
含まれるべきビット数nとの比軟thないn′がnよシ
小さい時、nとn′が等しくなるまで該保持回路からの
軌出し會停止し n /が大きい時は、前記予め定めら
れたビット長単位で読取ルを次の特殊符号を検出するま
で行ない、この時点でnと前記予め定められたビット長
巣位で読取ったビット数n#とn’ −nの値を加算し
た値とnとの差のビット数だffa取りを停止する様に
したことt49黴とする復号化回路。
A variable-length encoded signal string in which a special code is inserted at a fixed period into a variable-length code string is received at a constant speed, read out in units of a predetermined bit length from the reception buffer, and held in a holding circuit. , the bit position indicated by the output of the adder circuit is set as the first bit, and is decoded by a decoder according to the pit no (turn), and the number of bits corresponding to each pit no (turn) is input to the adder circuit to calculate the previous bit. When adding to the extraction position and detecting the tf% special code, it is actually transmitted when the adder circuit output and the special code become the first pitch by comparison. When n' is smaller than n, which is less than the number of bits n that should be included in between, the output from the holding circuit is stopped until n and n' are equal. Read in predetermined bit length units until the next special code is detected, and at this point add n, the number of bits read in the predetermined bit length position n#, and the value of n' - n. The decoding circuit is designed to stop the ffa extraction when the number of bits is the difference between the given value and n.
JP57057586A 1982-04-07 1982-04-07 Decoding circuit Granted JPS58175366A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57057586A JPS58175366A (en) 1982-04-07 1982-04-07 Decoding circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57057586A JPS58175366A (en) 1982-04-07 1982-04-07 Decoding circuit

Publications (2)

Publication Number Publication Date
JPS58175366A true JPS58175366A (en) 1983-10-14
JPH0234508B2 JPH0234508B2 (en) 1990-08-03

Family

ID=13059945

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57057586A Granted JPS58175366A (en) 1982-04-07 1982-04-07 Decoding circuit

Country Status (1)

Country Link
JP (1) JPS58175366A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04167624A (en) * 1990-03-22 1992-06-15 Nippon Columbia Co Ltd Code conversion method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04167624A (en) * 1990-03-22 1992-06-15 Nippon Columbia Co Ltd Code conversion method

Also Published As

Publication number Publication date
JPH0234508B2 (en) 1990-08-03

Similar Documents

Publication Publication Date Title
JPH06348492A (en) Data pipeline device and data encoding method
KR940006020A (en) Decoding apparatus for signals encoded with variable length code
KR100462261B1 (en) Multi-code-book variable length decoder
EP0145396B1 (en) Codeword decoding
KR970068648A (en) Variable length decoder and method for decoding two codes per clock cysle
KR100573626B1 (en) Apparatus and method for converting a sequence of m-bit information words into a modulated signal
JPS583350A (en) Method of encoding binary data
US5686915A (en) Interleaved Huffman encoding and decoding method
JPS58175366A (en) Decoding circuit
US6020835A (en) Code decoding apparatus
US5652582A (en) Method of high speed Huffman coding and decoding of lab color images
KR890009127A (en) Frame Synchronization Method and System
US6867715B2 (en) System, method, and apparatus for variable length decoder
GB1569076A (en) Digital transmission system using discrepancy line coding
JPH0786956A (en) Additive bit processor for marking identification
CN101729714A (en) Encoding device, decoding device, image forming device and method
JP2712502B2 (en) Transmission line encoding / decoding method
JPH0242275B2 (en)
JPS63197151A (en) Serial data transfer system
JPH05300486A (en) Variable length encoding and decoding circuit
JPH038140B2 (en)
JPS54114112A (en) Reception picture information correcting system for facsimile
KR100209881B1 (en) Memory controller in high speed variable length decoder
JPH02241248A (en) Transmission line coding/decoding system
KR0125126B1 (en) High-speed apparatus for decoding variable length code