JPH02302193A - Picture encoder - Google Patents

Picture encoder

Info

Publication number
JPH02302193A
JPH02302193A JP1123331A JP12333189A JPH02302193A JP H02302193 A JPH02302193 A JP H02302193A JP 1123331 A JP1123331 A JP 1123331A JP 12333189 A JP12333189 A JP 12333189A JP H02302193 A JPH02302193 A JP H02302193A
Authority
JP
Japan
Prior art keywords
signal
parallel
variable length
transmission
speed
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
JP1123331A
Other languages
Japanese (ja)
Other versions
JP2820718B2 (en
Inventor
Kenichi Asano
浅野 研一
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP12333189A priority Critical patent/JP2820718B2/en
Publication of JPH02302193A publication Critical patent/JPH02302193A/en
Application granted granted Critical
Publication of JP2820718B2 publication Critical patent/JP2820718B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE:To reduce the scale of a circuit actually operated at a high speed to make the whole of a device small in size and low in cost by temporarily converting a variable length code to a parallel signal having a fixed bit width without converting it to a serial signal and converting the parallel signal to a serial signal just before transmission to a transmission line. CONSTITUTION:A variable/fixed parallel converter 13 converts the multiplexed variable length code to the parallel signal having the fixed bit width. An output signal 112 having the k-bit fixed width ((k) is a natural number) is written in a transmission buffer 14 with the output strobe as the control signal. The signal is read out from the transmission buffer 14 at a speed fT/k(b/s) when the transmission speed of the transmission line is set to fT(b/a), and the signal is converted to the serial signal by a parallel/serial converter 15 and is outputted to the transmission line. As the result, the processing is performed at a sufficiently allowable low speed though the transmission speed fT of the transmission line is considerably high, and it is unnecessary to extend the circuit scale.

Description

【発明の詳細な説明】 【産業上の利用分野〕 この発明は画像符号化装置、特にテレビ会議、テレビ電
話等に適用する画像符号化装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention relates to an image encoding device, and particularly to an image encoding device applied to video conferences, video telephones, and the like.

〔従来の技術〕[Conventional technology]

第4図は例えば文献、電子情報通信学会春季全国大会(
1989)予稿D−104r適応的量子化特性制御によ
る動画像符号化」に示された符号化ブロック図であり、
図において、(1)はディジタル化された画像信号を入
力して符号化に適した走査順に変換して出力する入力バ
ッファ、(2)は入力画像信号の1フレーム前の符号化
、復号化後の画像信号を記憶するフレームメモリ、(3
)は動き補償予測を行なって動きベクトル(109)と
予a−1信号(103)を出力する動き補償予測部、(
4)は予flPl信号(103)と入力画像信号(10
1)の差演算を行ってフレーム間差分信号(104)を
出力するフレーム間減算器、(5)はフレーム間差分信
号(104)を量子化・符号化する量子化・符号化部、
(6)は量子化・符号化信号(105)を復号化する量
子化・復号化部、(7)は予測信号(103)と量子化
・復号化信号(106)を加算するフレーム間加算器、
(8a)、(8b)は各々量子化・符号化信号(105
)、動きベクトル(109)を可変長符号化する第1.
第2の可変長符号化部、(9)は2種の可変長符号(1
0″B)、  (110)を多重化する多重化部、(l
O)は多重化された多重化信号(111)を人力する速
度変換バッファ、(11)は速度変換バッファ(10)
から出力されたパラレル信号をシリアル信号に変換する
パラレル/シリアル変換部、(12)は伝送バッファで
ある。
Figure 4 shows, for example, literature, the Institute of Electronics, Information and Communication Engineers Spring National Conference (
1989) Proceedings D-104r Moving Image Coding Using Adaptive Quantization Characteristic Control” is an encoding block diagram shown in
In the figure, (1) is an input buffer that inputs a digitized image signal, converts it to a scanning order suitable for encoding, and outputs it, and (2) represents the input image signal after encoding and decoding one frame before. a frame memory that stores image signals of (3)
) is a motion compensation prediction unit that performs motion compensation prediction and outputs a motion vector (109) and a pre-a-1 signal (103);
4) is the pre-flPl signal (103) and the input image signal (10
1) an interframe subtractor that performs the difference calculation and outputs an interframe difference signal (104); (5) a quantization/encoding unit that quantizes and encodes the interframe difference signal (104);
(6) is a quantization/decoding unit that decodes the quantized/encoded signal (105), and (7) is an interframe adder that adds the predicted signal (103) and the quantized/decoded signal (106). ,
(8a) and (8b) are the quantized and encoded signals (105
), the first .
The second variable length encoding unit (9) has two types of variable length codes (1
0″B), a multiplexing unit that multiplexes (110), (l
O) is a speed conversion buffer that manually inputs the multiplexed signal (111), and (11) is a speed conversion buffer (10).
A parallel/serial converter (12) is a transmission buffer that converts a parallel signal outputted from a serial signal into a serial signal.

次に動作について説明する。入力されたデジタル画像信
号は、入力バッファ(1)に−担格納された後、後段の
動き補償子ΔPjに適した(a X b)画素単位にブ
ロック化されて読み出される(a。
Next, the operation will be explained. The input digital image signal is stored in the input buffer (1) and then read out in blocks (a x b) in pixel units suitable for the subsequent motion compensator ΔPj (a).

b=自然数)。読み出された入力画像信号(101)は
動き補償予測部(3)に入力される。
b = natural number). The read input image signal (101) is input to the motion compensation prediction unit (3).

動き補償予測部(3)には、フレームメモリ(2)から
人力画像信号(101)と画面上同一位置を含む複数の
ブロックに相当する前画像信号(102)が読み込まれ
、入力画像信号(101)と複数の前画像信号(102
)との間で歪が計算される。歪計算には、例えば(a 
X b)画素のブロックの同一位置の画素データ同士の
差分絶対値和などが用いられる。
The motion compensation prediction unit (3) reads the previous image signal (102) corresponding to a plurality of blocks including the same position on the screen as the human image signal (101) from the frame memory (2), and reads the input image signal (101) from the frame memory (2). ) and a plurality of previous image signals (102
) is calculated. For example, (a
X b) The sum of absolute differences between pixel data at the same position in a block of pixels is used.

歪計算の結果、最も歪が小さい前画面データ(102)
が予測信号(103)として選択されて出力されると同
時に選択された前画面データ(102)の画面上の位置
を入力画像信号(101)の位置からの変位に変換した
ものが、動きベクトル(109)として出力される。
As a result of distortion calculation, the previous screen data with the smallest distortion (102)
is selected and output as a prediction signal (103), and at the same time the position of the selected previous screen data (102) on the screen is converted into a displacement from the position of the input image signal (101), the motion vector ( 109).

入力画像信号(101)と予al信号(103)はフレ
ーム間減算器(4)に入力され、減算されてフレーム間
差分信号(IO2)となる。このフレーム間差分信号(
104)は量子化・符号化器(5)に人力されて量子化
・符号化信号(105)となる。
The input image signal (101) and the pre-al signal (103) are input to an interframe subtracter (4), where they are subtracted and become an interframe difference signal (IO2). This interframe difference signal (
104) is manually input to a quantizer/encoder (5) and becomes a quantized/encoded signal (105).

量子化・符号化の方法としては、前記文献に示されるよ
うな離散的コサイン変換(D CT)等が用いられる。
As a quantization/encoding method, a discrete cosine transform (DCT) or the like as shown in the above-mentioned document is used.

量子化・符号化信号(105)は可変長符号化部(8a
)で発生確率に応じた可変長符号(108)に変換され
る。
The quantized/encoded signal (105) is sent to the variable length encoder (8a
) is converted into a variable length code (108) according to the probability of occurrence.

一方、動きベクトル(109)も可変長符号化部(8b
)で可変長符号(110)に変換される。
On the other hand, the motion vector (109) is also
) is converted into a variable length code (110).

可変長符号(108)および可変長符号(110)は多
重化部(9)において伝送する順序に多重化されて多重
化信号(111)として出力される。
The variable length code (108) and the variable length code (110) are multiplexed in the transmission order in the multiplexer (9) and output as a multiplexed signal (111).

多重化信号(111)は速度変換バッファ(1o)に−
担格納された後、適宜読み出され、パラレル/シリアル
変換器(11)にてシリアル信号(113)に変換され
、伝送バッファ(12)に蓄積され、伝送路の速度に合
わせて読み出される。
The multiplexed signal (111) is sent to the speed conversion buffer (1o).
After being stored, it is read out as appropriate, converted into a serial signal (113) by a parallel/serial converter (11), stored in a transmission buffer (12), and read out in accordance with the speed of the transmission line.

量子化・符号化信号(105)は可変長符号化部(8a
)に入力されると同時に量子化・復号化部(6)にも入
力され、復号化されて量子化・復号化信号(106)と
なる。この量子化復号化信号(106)と予測信号(1
03)がフレーム間加算器(7)に入力されて加算され
、符号化・復号化済画像信号(l O7)となってフレ
ームメモリ(2)に格納される。
The quantized/encoded signal (105) is sent to the variable length encoder (8a
), it is also input to the quantization/decoding section (6), where it is decoded and becomes a quantized/decoded signal (106). This quantized decoded signal (106) and the predicted signal (1
03) is input to the interframe adder (7) and added, resulting in an encoded/decoded image signal (lO7) and stored in the frame memory (2).

上記のようなフレーム間差分信号(104)を符号化す
る装置においては、フレーム間差分信号(104)の大
きい部分、言い換えれば画面中の動きの大きな部分で大
量の情報が発生する。この様子を第5図を用いて説明す
る。
In the apparatus for encoding the interframe difference signal (104) as described above, a large amount of information is generated in a large part of the interframe difference signal (104), in other words, in a part of the screen where there is large movement. This situation will be explained using FIG.

第5図<a>は、画面中の8画素×8画素の領域を1つ
のブロックとして、動き補償および離散的コサイン変換
をこのブロック単位にかける場合の例である。
FIG. 5 <a> is an example in which a region of 8 pixels by 8 pixels on the screen is treated as one block, and motion compensation and discrete cosine transformation are applied to each block.

この例では第5図(b)に示されるように、ブロック(
1)、  (2)、  (4)、  (5)はフレーム
間差分信号が小さく可変長符号化した結果、発生する符
号量が非常に少なく、逆にブロック(3)では多量の符
号が発生している。各ブロックの多重化信号(111)
の出力周期を10秒とし、ブロック当りの最大可変長符
号量をnobitとし、これをよどみなくパラレル/シ
リアル変換しようとすればto/no秒周期で処理を行
なう必要がある。
In this example, as shown in FIG. 5(b), the block (
In blocks 1), (2), (4), and (5), the interframe difference signal is small and the amount of code generated is very small as a result of variable-length encoding, whereas in block (3), a large amount of code is generated. ing. Multiplexed signal for each block (111)
Assuming that the output cycle of is 10 seconds and the maximum variable length code amount per block is nobit, in order to perform parallel/serial conversion without stagnation, it is necessary to perform processing at a cycle of to/no seconds.

このtO/nO周期の処理は、符号化装置全体の処理周
期と比べて非常に高速となり、回路規模の増大を招き、
また高速の素子を必要とする等の問題をかかえている。
This tO/nO period processing is much faster than the processing period of the entire encoding device, leading to an increase in circuit scale.
It also has problems such as the need for high-speed elements.

このため、通常は発生符号量の少ないブロック(パラレ
ル/シリアル変換に必要な時間が短い)の空き時間を有
効に使用して、パラレル/シリアル変換の処理速度を低
下させるために速度変換バッファ(1G)を持つことに
なる。
For this reason, the speed conversion buffer (1G ).

現在実用化されている装置においては、入力画像の画素
クロック(入力画素数7秒)をfO1符号化済信号の伝
送路上の速度をfT (b/s)とすると、 oafT となるものが一般的である。即ち、入力画像を1bit
/画素以下に圧縮している。そのため、速度変換バッフ
ァ(10)を用いれば、伝送バッファ(12)の書き込
み側までは画素クロック(もしくはその分周したもの)
を用いることが可能になっている。
In devices currently in practical use, the pixel clock of the input image (number of input pixels: 7 seconds) is generally oafT, where the speed of the fO1 encoded signal on the transmission path is fT (b/s). It is. In other words, the input image is 1 bit
It is compressed to less than / pixel. Therefore, if you use the speed conversion buffer (10), the pixel clock (or its frequency divided version) will be used up to the writing side of the transmission buffer (12).
It is now possible to use

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

従来の画像符号化装置は以上のように構成されているの
で、広帯域の伝送路で高品質の画像を伝送したいような
場合、即ち、入力画像の圧縮程度が低い場合には、発生
符号量の少ないブロックが少なく、又発生符号量の多い
ブロックの最大発生量も多くなるので、速度変換バッフ
ァによる時間変換効果が期待できず、パラレル/シリア
ル変換器(11)及び伝送バッファ(12)を高速で動
作させねばならず、回路規模の増大を招くという問題点
があった。
Conventional image encoding devices are configured as described above, so when it is desired to transmit a high-quality image over a wideband transmission path, that is, when the degree of compression of the input image is low, the amount of generated code can be reduced. Since there are fewer blocks with fewer codes and the maximum number of blocks with a larger amount of generated codes increases, the time conversion effect of the speed conversion buffer cannot be expected, and the parallel/serial converter (11) and transmission buffer (12) are not operated at high speed. There is a problem in that the circuit must be operated, which increases the circuit scale.

この発明は上記のような問題点を解消することを課題に
なされたもので、伝送速度の高い、高品質画像の符号化
装置においても、可変長符号のパラレル/シリアル変換
、伝送バッファへの入出力速度を比較的低速に押さえて
、高速素子を使用せずに小規模な回路で該当部を構成し
、全体とじて小型、低価格な画像符号化装置を得ること
を目的とする。
This invention has been made to solve the above-mentioned problems, and even in high-quality image encoding devices with high transmission speeds, parallel/serial conversion of variable length codes and input into transmission buffers are required. The purpose of the present invention is to keep the output speed relatively low, configure the corresponding part with a small-scale circuit without using high-speed elements, and obtain an image encoding device that is small and inexpensive as a whole.

〔課題を解決するための手段〕[Means to solve the problem]

この発明に係る画像符号化装置は、可変長符号化された
信号をシリアルデータに変換することなしに固定ビット
幅のパラレル信号に変換して、伝送バッファに格納する
可変/固定パラレル変換器と、伝送バッファから読み出
した固定ビット幅のバレレル信号をシリアル信号に変換
して伝送路に送出するパラレル/シリアル変換器を具備
したものである。
An image encoding device according to the present invention includes a variable/fixed parallel converter that converts a variable length encoded signal into a fixed bit width parallel signal without converting it into serial data, and stores the parallel signal in a transmission buffer; It is equipped with a parallel/serial converter that converts a fixed bit width barrel signal read from a transmission buffer into a serial signal and sends it to a transmission path.

〔作用〕[Effect]

この発明における画像符号化装置は、可変長符号を固定
ビット幅のパラレル信号に変換して伝送バッファに格納
し、この伝送バッファから読み出してから固定ビット幅
のパラレル/シリアル変換を行って伝送路にシリアル信
号を送出することにより、伝送路の伝送速度が高速な場
合でも、パラレル/シリアル変換以外は低い速度で処理
が可能となり、回路規模を小さくすることを可能とする
The image encoding device in this invention converts a variable length code into a fixed bit width parallel signal, stores it in a transmission buffer, reads it from the transmission buffer, performs fixed bit width parallel/serial conversion, and sends it to a transmission path. By sending serial signals, even if the transmission speed of the transmission line is high, processes other than parallel/serial conversion can be performed at low speeds, making it possible to reduce the circuit scale.

〔実施例〕〔Example〕

以下、この発明の一実施例を第1図について説明する。 An embodiment of the present invention will be described below with reference to FIG.

第1図において(1)はデジタル化された画像信号を入
力して符号化に適した走査順に変化して出力する人力バ
ッファ、(2)は入力画像信号の1フレーム前の符号化
・復号化後の画像信号を記憶するフレームメモリ、(3
)は動き補償予測を行なって動きベクトル(109)と
予測信号(103)を出力する動き補償子C1部、(4
)は予Δ−1信号(103)と入力画像信号(101)
の差演算を行ってフレーム間差分信号(104)を出力
するフレーム間減算器、(5)はフレーム間差分信号を
量子化・符号化する量子化・符号化部、(6)は量子化
・符号化信号(105)を復号化する量子化・復号化部
、(7)は予JIIJ信号(103)と量子化・復号化
信号(106)を加算するフレーム間加算器、(8a)
、  (8b)は各々量子化・符号化信号<105) 
、動きベクトル(209)を可変長符号化する第1、第
2の可変長符号化部、(9)は2FIiの可変長符号を
多重化する多重化部であり、以上は前記第2図に示す従
来装置と全く同一の構成である。
In Figure 1, (1) is a manual buffer that inputs a digitized image signal, changes the scanning order suitable for encoding, and outputs it, and (2) encodes/decodes the previous frame of the input image signal. Frame memory for storing subsequent image signals (3
) is a motion compensator C1 unit that performs motion compensation prediction and outputs a motion vector (109) and a prediction signal (103);
) is the pre-Δ-1 signal (103) and the input image signal (101)
(5) is a quantization/encoding unit that quantizes and encodes the interframe difference signal, and (6) is a quantization/encoding unit that performs a difference calculation and outputs an interframe difference signal (104). A quantization/decoding unit that decodes the encoded signal (105), (7) an interframe adder that adds the pre-JIIJ signal (103) and the quantized/decoded signal (106), (8a)
, (8b) are each quantized/encoded signal <105)
, first and second variable-length encoding units that variable-length encode the motion vector (209), and (9) a multiplexing unit that multiplexes 2FIi variable-length codes. It has exactly the same configuration as the conventional device shown in FIG.

(13)は多重化された可変長符号を固定ビット幅のパ
ラレル信号に変換する可変/固定パラレル変換器、(1
4)は固定ビット幅のパラレル信号を格納する伝送バッ
ファ、(15)は固定ビット幅から1ビツトに変換する
パラレル/シリアル変換器である。
(13) is a variable/fixed parallel converter that converts a multiplexed variable length code into a fixed bit width parallel signal;
4) is a transmission buffer that stores a fixed bit width parallel signal, and (15) is a parallel/serial converter that converts from a fixed bit width to 1 bit.

次に上記実施例の動作について説明する。画像入力から
可変長符号化された量子化・符号化信号(10B)と可
変長符号化された動きベクトル(110)が多重化部(
9)で多重されるまでの動作は前記第2図に示す従来例
と同一である。
Next, the operation of the above embodiment will be explained. A quantized/coded signal (10B) subjected to variable length coding from an image input and a motion vector (110) subjected to variable length coding are transferred to a multiplexing unit (
The operation up to multiplexing in step 9) is the same as the conventional example shown in FIG.

第2図は上記多重化部(9)より出力される多重化信号
(111)の信号フォーマット図を示すもので、この図
は発生する可変長符号の符号長l(J:自然数)の最大
値Jmaxが4の場合の例を示している。多重化信号(
111)は符号長aおよび可変長符号bO,bl、b2
.b3よりなっており、可変長符号は文字通り可変長で
あるので、J!<、t!ma xの場合には意味を持た
ないビットが存在する。
Figure 2 shows a signal format diagram of the multiplexed signal (111) output from the multiplexer (9), and this figure shows the maximum value of the code length l (J: natural number) of the generated variable length code. An example in which Jmax is 4 is shown. Multiplexed signal (
111) is code length a and variable length code bO, bl, b2
.. b3, and the variable length code is literally variable length, so J! <、t! In the case of max, there are bits that have no meaning.

第3図は上記多重化信号(111)が入力される可変ゾ
固定パラレル変換器(13)の内部構成を示すブロック
図であり、この図は最大符号長1maxの可変長符号が
入力された時ににビットパラレル(l(:自然数)の信
号に変換する機能を果たしている様子を表わすものであ
る。
FIG. 3 is a block diagram showing the internal configuration of the variable length fixed parallel converter (13) to which the multiplexed signal (111) is input, and this figure shows that when a variable length code with a maximum code length of 1max is input This shows how the function of converting into a bit-parallel (l (: natural number) signal) is performed.

第3図において、(16)は加算器、(17)は入力値
とkとの大小関係を調べる比較器、(18)は(入力値
)−にの演算を行う減算器、(19)は加算信号(20
3)と減算信号(204)を入力し、セレクタ信号(2
06)を出力するセレクタ、(20)は残符号長前値保
持用レジスタ、(21)は出力信号用セレクタ、(22
)は残符号用セレクタ、(23)は残符号前値保持用レ
ジスタである。
In Figure 3, (16) is an adder, (17) is a comparator that checks the magnitude relationship between the input value and k, (18) is a subtracter that performs the operation of (input value) -, and (19) is Addition signal (20
3) and the subtraction signal (204), and selector signal (2
06), (20) is a register for holding the previous value of residual code length, (21) is a selector for output signal, (22)
) is a selector for the remaining code, and (23) is a register for holding the previous value of the remaining code.

今回入力された符号長が10であり、前回迄の残符号長
がOであったと仮定する。
Assume that the code length input this time is 10, and the remaining code length up to the previous time was O.

符号長信号(201)は加算器(16)に入力され、前
回の残符号長信号(202)と加算される。加算信号(
203)は比較器(17)に入力されてkの値との比較
が行われる。J!Oくkの場合を考えると、(J!O+
0)<kという結果が比較信号(205)として出力さ
れる。加算信号(203)がkより小さい場合には、セ
レクタ(19)にて加算信号<203)そのものが選択
され、残符号長前値保持用レジスタ(20)に格納され
る。
The code length signal (201) is input to an adder (16) and is added to the previous remaining code length signal (202). Addition signal (
203) is input to the comparator (17) and compared with the value of k. J! Considering the case of Okk, (J!O+
0)<k is output as a comparison signal (205). When the addition signal (203) is smaller than k, the addition signal <203) itself is selected by the selector (19) and stored in the residual code length previous value holding register (20).

入力された可変長符号(210)は出力信号用セレクタ
(21)と残符号用セレクタ(22)に人力されている
。また、この両者(21) 、  (22)には符号長
信号(201)および残符号長信号(202)が制御信
号として入力されており、この例では出力信号は何も選
択せず残符号用セレクタ(22)では可変長符号(21
0)がそのまま選択されて残符号前値保持用セレクタ(
23)に格納される。以上の動作により、今回はにビッ
トのパラレル信号は生成されないことになる。
The input variable length code (210) is manually input to an output signal selector (21) and a residual code selector (22). In addition, the code length signal (201) and the residual code length signal (202) are input as control signals to both (21) and (22), and in this example, no output signal is selected and the residual code signal is used. The selector (22) uses a variable length code (21
0) is selected as is and the selector for holding the residual code previous value (
23). As a result of the above operation, a parallel signal of two bits will not be generated this time.

次に可変長符号(210)が入力され、この符号長信号
(201)が11であったとする。残符号長信号(20
2)のJ!0と符号長信号(201)の11が加算され
加算信号(203)となる。
Next, assume that a variable length code (210) is input, and this code length signal (201) is 11. Remaining code length signal (20
2) J! 0 and 11 of the code length signal (201) are added to form an addition signal (203).

ノθ+J!1>kと仮定すると、前回までの残符号長と
今回の符号長の和がkを越え1ケのにビットパラレル信
号の生成が可能となる。この場合、J1max5になる
kであることが前提となる。
ノθ+J! Assuming that 1>k, the sum of the remaining code length up to the previous time and the current code length exceeds k, making it possible to generate a bit parallel signal. In this case, it is assumed that k is J1max5.

出力信号用セレクタ(22)では残符号信号(211)
の10ビツトと今回の可変長符号(210)の71ビツ
トの内、先に伝送すべき(k−、&0)ビットでにビッ
トのパラレル信号を生成して出力信号として出力する。
The output signal selector (22) outputs the residual code signal (211)
A parallel signal of bits is generated from the 10 bits of the current variable length code (210) and the (k-, &0) bits to be transmitted first among the 71 bits of the current variable length code (210) and output as an output signal.

比較器(17)ではJO+、Zl>kなる比較結果を出
力し、これが出力信号が存在することを示す出力ストロ
ーブとなる。同時にセレクタ(19)では減算器(18
)で演算した(f O+f 1−k)なる値を選択して
残符号長として残符号長前値保持用レジスタ(20)に
格納する。
The comparator (17) outputs a comparison result of JO+, Zl>k, which becomes an output strobe indicating the presence of an output signal. At the same time, the selector (19) uses the subtracter (18
) is selected and stored in the residual code length previous value holding register (20) as the residual code length.

残符号用セレクタ(21)では、可変長符号(210)
のJ!1ビットの内、出力信号として出力した残りの、
!!1−(klO)ビットを選択して残符号信号として
出力し、残符号前値保持用レジスタ(23)に格納する
In the residual code selector (21), the variable length code (210)
J! The remaining 1 bit output as an output signal,
! ! The 1-(klO) bit is selected and output as a residual code signal, and stored in the register (23) for holding the previous residual code value.

以上のように入力される可変長符号と前回迄の残符号お
よび各々の符号長から、kビットパラレル信号の生成が
できるかどうか判別し、生成可能な場合には出力信号と
出カットローブという形式で出力し、余ったビットを残
符号とし、生成できない場合には、出力ストローブを出
力しないと行った動作を繰り返すことにより、可変長の
パラレル信号をにビット幅の固定長パラレル信号に変換
することが可能となる。
As described above, it is determined whether a k-bit parallel signal can be generated from the input variable length code, the residual code from the previous time, and each code length, and if it can be generated, the output signal and output cut lobe are used. Convert the variable-length parallel signal to a fixed-length parallel signal with a bit width of becomes possible.

kビット固定幅となった出力信号(112)は、出力ス
トローブを制御信号として伝送バッファ(14)に書き
込まれる。伝送路の伝送速度をfT(b/s)とすると
、伝送バッファ(14)からはfT/k (b/s)の
速度で信号が読み出され、パラレル/シリアル変換器(
15)にてシリアル信号に変化さtて伝送路上に出力さ
れる。
The output signal (112) having a fixed width of k bits is written to the transmission buffer (14) using the output strobe as a control signal. If the transmission speed of the transmission line is fT (b/s), a signal is read out from the transmission buffer (14) at a speed of fT/k (b/s), and the signal is read out from the transmission buffer (14) at a speed of fT/k (b/s).
At step 15), the signal is converted into a serial signal and output onto the transmission line.

以上の説明のとおり、この発明によれば、可変長符号を
にビットパラレル信号に変換する部分の処理および伝送
バッファの書き込みは一番頻繁な場合でも可変長符号が
発生する毎に行っており、処理速度としては前記従来例
の説明に用いた画素クロックfOを上回る必要がなく、
伝送バッファ(14)からの読み出し速度もfT/にな
るクロック速度で実現している。
As explained above, according to the present invention, the processing of converting a variable length code into a bit parallel signal and writing to the transmission buffer are performed every time a variable length code is generated, even in the most frequent case. The processing speed does not need to exceed the pixel clock fO used in the explanation of the conventional example,
The read speed from the transmission buffer (14) is also realized at a clock speed of fT/.

この結果、伝送路の伝送速度fTがかなり高速な場合で
も、再終段の固定ビット幅のパラレル/シリアル変換部
(15)以外は十分余裕のある低い速度で処理が可能と
なり、回路規模を大きくする必要がなくなる。
As a result, even if the transmission speed fT of the transmission path is quite high, processing can be performed at a sufficiently low speed except for the fixed bit width parallel/serial converter (15) at the final stage, which allows the circuit size to be increased. There is no need to do so.

また、高速で動く部分もパラレル/シリアル変換が固定
幅で行えることにより、小規模で単純な素子で実現が可
能となる。
Furthermore, since parallel/serial conversion can be performed with a fixed width even in parts that move at high speed, it can be realized using small-scale and simple elements.

〔発明の効果〕〔Effect of the invention〕

以上のように、この発明によれば可変長符号をシリアル
信号に変換することなく一担固定ビット幅のパラレル信
号に変換し、伝送路へ送出する直残にシリアル信号に変
換するように構成したので、伝送路が高速な場合でも、
実際に高速で動作する回路規模を小さくすることができ
、全体として小形で低価格なものが得られる効果がある
As described above, according to the present invention, a variable length code is converted into a parallel signal with a fixed bit width per unit without converting it into a serial signal, and is then converted into a serial signal directly transmitted to a transmission path. Therefore, even if the transmission path is high-speed,
The scale of the circuit that actually operates at high speed can be reduced, and the overall effect is that a compact and low-cost product can be obtained.

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

第1図はこの発明の一実施例による画像符号化装置を示
すブロック図、第2図は多重化信号のフォーマット図、
第3図はこの発明の装置における可変/固定パラレル変
換器の内部構成を示すブロック図、第4図は従来の画像
符号化装置のブロック図、第5図は従来の画像符号化装
置の局所的な情報発生の様子を示す図である。 図において、(3)は動き補償予測部、(5)は量子化
・符号化部、(8a)、(8b)は第1゜第2の可変長
符号化部、(9)は多重化部、(13)は可変/固定パ
ラレル変換器、(14)は伝送バッファ、(15)はパ
ラレル/シリアル変換部である。 なお、図中、同一符号は同−又は相当部分を示す。 代理人 弁理士 大 岩 増 雄 (外2名) 多重化信号のフォーマット図 第2図 ブロック1  ブロック2 ブロック3 ブロック4 
ブロック51画素 第5図
FIG. 1 is a block diagram showing an image encoding device according to an embodiment of the present invention, FIG. 2 is a format diagram of a multiplexed signal,
FIG. 3 is a block diagram showing the internal configuration of the variable/fixed parallel converter in the device of the present invention, FIG. 4 is a block diagram of a conventional image encoding device, and FIG. FIG. 2 is a diagram showing how information is generated. In the figure, (3) is a motion compensation prediction unit, (5) is a quantization/encoding unit, (8a) and (8b) are first and second variable length encoding units, and (9) is a multiplexing unit. , (13) is a variable/fixed parallel converter, (14) is a transmission buffer, and (15) is a parallel/serial converter. In addition, in the figures, the same reference numerals indicate the same or corresponding parts. Agent Patent attorney Masuo Oiwa (2 others) Multiplexed signal format diagram Figure 2 Block 1 Block 2 Block 3 Block 4
Block 51 pixels Figure 5

Claims (1)

【特許請求の範囲】  デジタル化された入力画像信号と1フレーム前の画像
信号を入力して動きベクトルと予測信号を出力する動き
補償予測部と、 前記入力画像信号と前記予測信号を入力してフレーム間
差分信号を出力するフレーム間減算器と、前記フレーム
間差分信号を量子化・符号化する量子化・符号化部と、 前記量子化・符号化部から出力された量子化・符号化信
号と前記動き補償予測部から出力された動きベクトルを
可変長符号化する第1、第2の可変長符号化部と、 前記第1、第2の可変長符号化部で可変長符号化され多
重化された多重化信号を固定ビット幅のパラレル信号に
変換して伝送バッファに格納する可変/固定パラレル変
換器と、 前記伝送バッファから再生された固定ビット幅のパラレ
ル信号をシリアル信号に変換するパラレル/シリアル変
換器とを備えた画像符号化装置。
[Scope of Claims] A motion compensation prediction unit that inputs a digitized input image signal and an image signal of one frame before and outputs a motion vector and a predicted signal; an interframe subtracter that outputs an interframe difference signal; a quantization/encoding section that quantizes/encodes the interframe difference signal; and a quantization/encoding signal output from the quantization/encoding section. and first and second variable length encoding units that variable length encode the motion vector output from the motion compensation prediction unit; and variable length encoding and multiplexing in the first and second variable length encoding units. a variable/fixed parallel converter that converts the multiplexed signal into a parallel signal with a fixed bit width and stores it in a transmission buffer; and a parallel converter that converts the parallel signal with a fixed bit width reproduced from the transmission buffer into a serial signal. /A serial converter.
JP12333189A 1989-05-17 1989-05-17 Image coding device Expired - Lifetime JP2820718B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12333189A JP2820718B2 (en) 1989-05-17 1989-05-17 Image coding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12333189A JP2820718B2 (en) 1989-05-17 1989-05-17 Image coding device

Publications (2)

Publication Number Publication Date
JPH02302193A true JPH02302193A (en) 1990-12-14
JP2820718B2 JP2820718B2 (en) 1998-11-05

Family

ID=14857917

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12333189A Expired - Lifetime JP2820718B2 (en) 1989-05-17 1989-05-17 Image coding device

Country Status (1)

Country Link
JP (1) JP2820718B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100433088C (en) * 2004-06-30 2008-11-12 佳能株式会社 Driving circuit of display element, image display apparatus, and television apparatus

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6439890A (en) * 1987-08-05 1989-02-10 Hitachi Medical Corp Image compressing and encoding circuit

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6439890A (en) * 1987-08-05 1989-02-10 Hitachi Medical Corp Image compressing and encoding circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100433088C (en) * 2004-06-30 2008-11-12 佳能株式会社 Driving circuit of display element, image display apparatus, and television apparatus

Also Published As

Publication number Publication date
JP2820718B2 (en) 1998-11-05

Similar Documents

Publication Publication Date Title
US7865024B2 (en) Encoding apparatus, video camera
US5940130A (en) Video transcoder with by-pass transfer of extracted motion compensation data
KR960010195B1 (en) Image coding/decoding apparatus
KR0129558B1 (en) Adaptive variable length coding method and apparatus
JP2986039B2 (en) Statistical multiplexer for multi-channel image compression system
KR0155784B1 (en) Adaptable variable coder/decoder method of image data
KR970002483B1 (en) A high speed variable length decoder
WO1991003128A1 (en) Control system for encoding image
JPH06507285A (en) video signal compression equipment
KR940008487A (en) Image Coder Using Adaptive Frame / Field Transform Coding
CA2187793C (en) A transcoder
JP3918263B2 (en) Compression encoding apparatus and encoding method
WO2002073973A2 (en) Method and apparatus for temporal wavelet compression
US5889560A (en) MPEG video decoder
JPH02302193A (en) Picture encoder
WO2000001158A1 (en) Encoder and encoding method
JPH036187A (en) Inter-frame encoding device
KR100418874B1 (en) Method of Buffering Video in the Video Compression System
KR0129796B1 (en) Encoding device of moving picture
JPH0216887A (en) Picture encodor
KR100386374B1 (en) A transcoder
KR100197364B1 (en) Apparatus for adaptively quantizing vectors in image encoding system
JPH05199421A (en) Picture transmission method
JPH04269084A (en) Image converter
JP2696869B2 (en) Image coding device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070828

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20080828

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20080828

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090828

Year of fee payment: 11

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090828

Year of fee payment: 11