JP3535549B2 - Image signal coding and multiplexing device - Google Patents

Image signal coding and multiplexing device

Info

Publication number
JP3535549B2
JP3535549B2 JP32298593A JP32298593A JP3535549B2 JP 3535549 B2 JP3535549 B2 JP 3535549B2 JP 32298593 A JP32298593 A JP 32298593A JP 32298593 A JP32298593 A JP 32298593A JP 3535549 B2 JP3535549 B2 JP 3535549B2
Authority
JP
Japan
Prior art keywords
channel
code amount
code
circuit
buffer memory
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.)
Expired - Lifetime
Application number
JP32298593A
Other languages
Japanese (ja)
Other versions
JPH07184193A (en
Inventor
崇之 田中
立 渡辺
俊之 秋山
雄一 大波
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.)
Kokusai Electric Corp
Japan Broadcasting Corp
Original Assignee
Hitachi Kokusai Electric Inc
Japan Broadcasting 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 Hitachi Kokusai Electric Inc, Japan Broadcasting Corp filed Critical Hitachi Kokusai Electric Inc
Priority to JP32298593A priority Critical patent/JP3535549B2/en
Publication of JPH07184193A publication Critical patent/JPH07184193A/en
Application granted granted Critical
Publication of JP3535549B2 publication Critical patent/JP3535549B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、複数チャンネルの画像
信号を符号化し多重する画像信号符号化多重装置に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image signal coding / multiplexing apparatus for coding and multiplexing image signals of a plurality of channels.

【0002】[0002]

【従来の技術】近年、蓄積メディア(テープやディスク
等を利用したソフトやデータ等のメディア)や通信の分
野において、動画像信号の高能率符号化について国際標
準化の検討が進められている。図12は、従来技術によ
る動画像信号の高能率符号化に使用される代表的な画像
信号符号化装置の構成を示す。図12において、画像信
号符号化装置の入力端子1に印加された画像信号は、符
号化回路2で符号データに変換され、バッファメモリ3
および符号量カウンタ6へ出力される。バッファメモリ
3に入力された符号データは、バッファメモリ3に一旦
記憶された後、バッファメモリ3から一定の固定レート
で読み出され出力端子4へ出力され、伝送系へ伝送され
る。一方、符号化回路2から符号データを入力された符
号量カウンタ6は、符号データをカウントし、カウント
して得た現フィールドにおける符号データの発生符号量
を複雑度算出回路5へ出力する。複雑度算出回路5は、
符号量カウンタ6から入力された現フィールドにおける
発生符号量と符号化回路2から出力された現フィールド
の符号化で用いた量子化ステップ(発生符号量を調整す
るパラメータで、以下、値が大きいほど符号量が低減す
るものとする)とから、現フィールドの画像信号の複雑
度Xを算出し、量子化ステップ算出回路7へ出力する。
2. Description of the Related Art In recent years, in the fields of storage media (software and data media using tapes, disks, etc.) and communications, international standardization of high-efficiency coding of moving image signals has been under study. FIG. 12 shows the configuration of a typical image signal encoding device used for high-efficiency encoding of a moving image signal according to the related art. In FIG. 12, the image signal applied to the input terminal 1 of the image signal encoding device is converted into encoded data by the encoding circuit 2, and the buffer memory 3
And is output to the code amount counter 6. The code data input to the buffer memory 3 is temporarily stored in the buffer memory 3, then read out from the buffer memory 3 at a constant fixed rate, output to the output terminal 4, and transmitted to the transmission system. On the other hand, the code amount counter 6 to which the code data is input from the encoding circuit 2 counts the code data and outputs the generated code amount of the code data in the current field obtained by the counting to the complexity calculation circuit 5. The complexity calculation circuit 5
The generated code amount in the current field input from the code amount counter 6 and the quantization step used in the encoding of the current field output from the encoding circuit 2 (a parameter for adjusting the generated code amount. Then, the complexity X of the image signal of the current field is calculated and output to the quantization step calculation circuit 7.

【0003】また、前記符号量カウンタ6は、入力され
た符号データから、前記現フィールドにおける発生符号
量とは別途バッファメモリ3内の全符号量をカウントし
て記憶しており、該バッファメモリ3内の全符号量を量
子化ステップ算出回路7へ出力する。その結果、量子化
ステップ算出回路7は、符号量カウンタ6からのバッフ
ァメモリ3内の全符号量と、前記複雑度算出回路5で算
出した複雑度Xと、別途伝送レート指定端子8から印加
される伝送系の固定レート値Rtとから演算を行い、次
のフィールドで発生すべき目標符号量とそのために用い
る量子化ステップ値を算出して符号化回路2へ出力す
る。すなわち、量子化ステップ算出回路7は、画像が複
雑で符号量が増加しそうな場合、あるいはバッファメモ
リ3内に大量の符号が蓄積された場合は、符号化回路2
の発生符号量を減らし、正常状態に回復させるため、大
きい量子化ステップを出力するように演算を行う。そし
て、求めた量子化ステップ値で符号化回路2を再設定
し、次のフィールドの符号化を開始する。以下、同様に
符号化を繰り返すものである。
Further, the code amount counter 6 counts and stores the total code amount in the buffer memory 3 separately from the input code data and the generated code amount in the current field. The total code amount in the above is output to the quantization step calculation circuit 7. As a result, the quantization step calculation circuit 7 is supplied with the total code amount in the buffer memory 3 from the code amount counter 6, the complexity X calculated by the complexity calculation circuit 5, and the transmission rate designation terminal 8 separately. The target code amount to be generated in the next field and the quantization step value used therefor are calculated and output to the encoding circuit 2. That is, the quantization step calculation circuit 7 uses the encoding circuit 2 when the image is complicated and the code amount is likely to increase, or when a large amount of codes is accumulated in the buffer memory 3.
In order to reduce the amount of generated code and restore the normal state, the calculation is performed so as to output a large quantization step. Then, the encoding circuit 2 is reset with the obtained quantization step value, and the encoding of the next field is started. Hereinafter, the encoding is similarly repeated.

【0004】この画像信号符号化装置を放送システムへ
適用することが進められているが、放送システムには特
有の要求がある。その一つは、放送システムでは、大き
な事件が生じた際等同時に複数の画像信号を伝送する必
要が度々生じることである。そのためチャンネル数の限
られたFPU(Field Pick Up)装置等の
放送システムでは、与えられた例えば15Mbpsの伝
送系を5Mbpsづつに3分割すると共に、上記の画像
信号符号化装置をチャンネル数と同じく3台用意し、各
画像信号符号化装置から生じた符号データを時分割多重
化して伝送する画像信号符号化多重装置が提案されてい
る。
The application of this image signal coding apparatus to a broadcasting system is being advanced, but the broadcasting system has unique requirements. One is that in a broadcasting system, it is often necessary to transmit a plurality of image signals at the same time, such as when a large incident occurs. Therefore, in a broadcasting system such as an FPU (Field Pick Up) device having a limited number of channels, a given transmission system of, for example, 15 Mbps is divided into 5 Mbps, and the above image signal encoding device is divided into 3 by the same number of channels. An image signal encoding / multiplexing device has been proposed which prepares a table and time-division-multiplexes and transmits code data generated from each image signal encoding device.

【0005】ところで、画像信号符号化多重装置におい
ては、複雑な絵柄の画像信号を、複雑でない絵柄の画像
信号と同一の量子化ステップで符号化すると、複雑でな
い絵柄の画像信号の符号量を増加させる量子化ステップ
で符号化されることになるため、複雑な絵柄の画像信号
の発生符号量が増加する。したがって符号データを伝送
する伝送レートが固定されている場合、発生した符号量
が伝送レートを越えないように、複雑な絵柄では量子化
ステップを上げ、画質を落として符号化し伝送する必要
がある。逆に簡単な絵柄では発生符号量が不足するた
め、必要以上に量子化ステップを下げ、画質を上げて符
号化し伝送する事になる。上記のように従来の画像信号
符号化多重装置では、各チャンネルの伝送レートがそれ
ぞれ一定値に固定されているため、複雑な絵柄を送るチ
ャンネルの画質は悪く、簡単な絵柄のチャンネルの画質
は良くなる等、各チャンネル間で画質のばらつきが生じ
る。
By the way, in the image signal coding and multiplexing apparatus, if the image signal of a complicated pattern is coded in the same quantization step as that of the image signal of a non-complex pattern, the code amount of the image signal of the uncomplicated pattern is increased. Since the encoding is performed in the quantization step, the generated code amount of the image signal having a complicated pattern increases. Therefore, when the transmission rate for transmitting the code data is fixed, it is necessary to increase the quantization step in a complicated pattern, reduce the image quality, and encode and transmit so that the generated code amount does not exceed the transmission rate. On the contrary, since the amount of generated code is insufficient with a simple picture, the quantization step is lowered more than necessary, the image quality is increased, and the code is transmitted. As described above, in the conventional image signal coding and multiplexing apparatus, since the transmission rate of each channel is fixed at a constant value, the image quality of the channel for sending a complicated pattern is poor and the image quality of the channel for a simple pattern is good. As a result, the image quality varies among the channels.

【0006】この問題を解決する方法として、次の様な
方法が考えられる。すなわち、チャンネル数を3とした
場合、各チャンネルの目標符号量(個別目標符号量)T
chを、各チャンネルの画像の複雑度Xa,Xb,Xc
に応じて、次式 Tch=(Xch/(Xa+Xb+Xc))×Rt・・・・・(1) ただし、Xch:あるチャンネルの複雑度 ch :チャンネル番号a,b,cを表わす Rt :伝送系の固定レート値 に従って割り当てる。また、各チャンネルの伝送レート
(個別レート)Rchには、その個別目標符号量Tch
と同じ符号量を伝送できる個別レートRch=Tchを
割り当てる。
As a method for solving this problem, the following method can be considered. That is, when the number of channels is 3, the target code amount of each channel (individual target code amount) T
ch is the complexity of the image of each channel Xa, Xb, Xc
According to the following equation: Tch = (Xch / (Xa + Xb + Xc)) × Rt (1) where Xch: complexity of a certain channel ch: Rt representing channel number a, b, c: transmission system Allocate according to a fixed rate value. The transmission rate (individual rate) Rch of each channel is set to the individual target code amount Tch.
The individual rate Rch = Tch capable of transmitting the same code amount as is assigned.

【0007】図13は、画像信号符号化多重装置を示し
たもので、複数の図12に示した画像信号符号化装置
に、多重のための目標符号量割当回路9と符号データ多
重化回路10を付加した構成である。図13において、
目標符号量割当回路9は、(1)式に従って個別レート
Rchを求める回路である。この回路で求めた個別レー
トRchの出力を、前述した図12の各チャンネルの伝
送レート指定端子8に入力し、各チャンネルの画像の複
雑度により発生符号量を調整する。また、目標符号量割
当回路9は、同時に各チャンネルのバッファメモリ3を
制御し、各バッファメモリ3から個別レートRchの大
きさに応じた符号データを読み出す。各バッファメモリ
3から読み出された符号データは、符号データ多重化回
路10へ出力され、符号データ多重化回路10で伝送に
必要な符号(ヘッダー)を付加され、多重化されて出力
となり、伝送系へ伝送される。
FIG. 13 shows an image signal coding / multiplexing apparatus. A plurality of image signal coding apparatuses shown in FIG. 12 are provided with a target code amount allocation circuit 9 and a code data multiplexing circuit 10 for multiplexing. Is added. In FIG.
The target code amount allocation circuit 9 is a circuit for obtaining the individual rate Rch according to the equation (1). The output of the individual rate Rch obtained by this circuit is input to the transmission rate designation terminal 8 of each channel shown in FIG. 12, and the generated code amount is adjusted according to the complexity of the image of each channel. Further, the target code amount allocation circuit 9 simultaneously controls the buffer memories 3 of the respective channels, and reads the code data corresponding to the size of the individual rate Rch from the respective buffer memories 3. The code data read from each buffer memory 3 is output to the code data multiplexing circuit 10, the code (header) necessary for transmission is added in the code data multiplexing circuit 10, multiplexed and output, and transmitted. Transmitted to the system.

【0008】図14は、図13に示す画像信号符号化多
重装置を使用して2チャンネルの画像信号を多重伝送し
た場合の、送信側と受信側のバッファメモリ内符号量の
変化を模式的に示したものである。上記模式図は、送信
側には符号器(符号化回路)と2フィールド分のバッフ
ァメモリ、受信側(一般的な復号可能な装置で良く図示
していない)には復号器と2フィールド分のバッファメ
モリがあると想定した場合である。図14において、送
信側の二重線枠11は、現在の1フィールド期間に符号
器(符号化回路)から発生する符号部分を、受信側の二
重線枠12は、現在の1フィールド期間に復号器で復号
し出画する画像符号部分を、中間領域である伝送系13
内にある枠は、現在の1フィールド期間で伝送する符号
部分を示す。また、簡略化のため、符号量は正方形で示
す1ブロックを単位として示す。さらに、個別レート変
更後の伝送レート値をブロック単位で()内に示す。
FIG. 14 schematically shows a change in the code amount in the buffer memory on the transmitting side and the receiving side when two-channel image signals are multiplexed and transmitted using the image signal coding and multiplexing apparatus shown in FIG. It is shown. In the above schematic diagram, an encoder (encoding circuit) and a buffer memory for two fields are provided on the transmission side, and a decoder and two fields for two fields are provided on the reception side (a general decodable device is not shown). This is the case assuming that there is a buffer memory. In FIG. 14, a double-line frame 11 on the transmitting side shows a code portion generated from an encoder (encoding circuit) in the current 1-field period, and a double-line frame 12 on the receiving side shows in the current 1-field period. The image code portion which is decoded by the decoder and output is output by the transmission system 13 which is an intermediate area.
The box inside indicates the code part to be transmitted in the current one field period. Further, for simplification, the code amount is shown in units of one block indicated by a square. Further, the transmission rate value after the individual rate change is shown in the parentheses in block units.

【0009】図14(a)は、aチャンネル,bチャン
ネルとも同一伝送レートで伝送している安定状態の様子
を示している。すなわち、送信側現在の1フィールド期
間は第4フィールドが符号化を、伝送系現在の1フィー
ルド期間は第2フィールドが伝送を、受信側現在の1フ
ィールド期間は第0フィールドが復号化を、それぞれ開
始し、この1フィールド期間の終わりに各動作を終了す
る。図14(b)は、シーンチェンジなどにより、送信
側aチャンネルで第5フィールドの発生符号量が1.5
倍に増加、bチャンネルで第5フィールドの発生符号量
が1/2に減少した場合を示す。この状態が以後継続し
た場合、次のフィールドの各チャンネルの伝送レート
は、aチャンネル第5フィールドの画像の複雑度Xaか
ら求めた新たな個別レートに再設定される。
FIG. 14 (a) shows a stable state in which the a channel and the b channel are transmitting at the same transmission rate. That is, the fourth field is encoded during the current 1-field period on the transmitting side, the second field is transmitted during the current 1-field period of the transmission system, and the 0th field is decoded during the current 1-field period on the receiving side. It starts and ends each operation at the end of this one-field period. In FIG. 14B, the generated code amount of the fifth field is 1.5 in the channel a on the transmission side due to a scene change or the like.
The figure shows a case in which the generated code amount of the fifth field is doubled and the generated code amount of the fifth field is reduced to 1/2 in the b channel. If this state continues thereafter, the transmission rate of each channel of the next field is reset to the new individual rate obtained from the image complexity Xa of the a-channel fifth field.

【0010】すなわち、図14(c)にしめすように、
送信側aチャンネルの伝送レートは第6フィールドが第
5フィールドと同じく3ブロックに増加しており、1フ
ィールド期間に1.5フィールド分の符号データを伝送
する。またbチャンネルの伝送レートは1ブロックに減
少され、1フィールド期間に0.5フィールド分の符号
データが伝送される。このように、各チャンネルの伝送
レートは入力画像の複雑度に応じて変更され、伝送系の
固定レートRtを有効に利用した、画質のばらつきの少
ない多重伝送を実現する事ができる。
That is, as shown in FIG. 14 (c),
The transmission rate of the channel a on the transmitting side is increased to 3 blocks in the sixth field like the fifth field, and code data for 1.5 fields is transmitted in one field period. Further, the transmission rate of the b channel is reduced to one block, and code data for 0.5 field is transmitted in one field period. In this way, the transmission rate of each channel is changed according to the complexity of the input image, and it is possible to realize the multiplex transmission in which the fixed rate Rt of the transmission system is effectively used and the variation in image quality is small.

【0011】ところで、図14(a)送信側の第3フィ
ールド部分は、第2フィールドの符号量が目標符号量よ
り少なかった場合、伝送符号量が不足し誤動作を起こす
のを防止するために、送信側バッファメモリに蓄えられ
ている余裕フィールドに相当する。また、受信側の第1
フィールド部分は、逆に第2フィールドの符号量が多す
ぎて1フィールド期間で伝送仕切れなかった場合、次の
フィールド時間に出画できなくなる誤動作を防止するた
めに、受信側バッファメモリに蓄えられている余裕フィ
ールドに相当する。このように、余裕フィールドは画像
信号符号化装置の誤動作を防止するために必ず必要なも
のである。
By the way, in the third field portion on the transmission side in FIG. 14A, when the code amount of the second field is smaller than the target code amount, in order to prevent the transmission code amount from becoming insufficient and causing a malfunction, It corresponds to a margin field stored in the transmission side buffer memory. Also, the first on the receiving side
On the contrary, the field portion is stored in the buffer memory on the receiving side in order to prevent a malfunction in which the image cannot be output in the next field time when the transmission amount cannot be completed in one field period due to the excessive code amount of the second field. It corresponds to the surplus field. As described above, the margin field is always necessary to prevent malfunction of the image signal encoding device.

【0012】しかし、図13に示した画像信号符号化多
重装置の場合、伝送レート割当を変更した後の安定状態
の図14(d)を経過すると、図14(e)、(f)に
示すように受信側のbチャンネル側に余裕フィールドが
全く無くなってしまう。したがって、bチャンネルの例
えば第5フィールドの符号量が目標符号量より僅かでも
増加すると、図14(d)の段階で1フィールド期間で
は符号データを送りきれなくなり、図14(f)の1フ
ィールド期間に受信側復号器に入力する符号データが欠
如する。そのため、受信側の余裕フィールドを更に1フ
ィールド分増やす必要が生じる。
However, in the case of the image signal encoding / multiplexing apparatus shown in FIG. 13, after passing through the stable state shown in FIG. 14 (d) after changing the transmission rate allocation, as shown in FIGS. 14 (e) and 14 (f). As described above, the margin field is completely eliminated on the b channel side of the receiving side. Therefore, if the code amount of the fifth field of the b channel, for example, slightly increases from the target code amount, the code data cannot be sent in one field period at the stage of FIG. 14D, and the one field period of FIG. There is a lack of coded data to be input to the receiving side decoder. Therefore, it is necessary to increase the margin field on the receiving side by one field.

【0013】[0013]

【発明が解決しようとする課題】上記説明ではチャンネ
ル間の符号量の比が1:3の場合を用いて説明したが、
従来の画像信号符号化多重装置においては、符号量の比
がさらに大きくなると更に数フィールド分の余裕フィー
ルドを増やす必要があり、ますます受信側の余裕フィー
ルドを増やす必要が生じることになる。しかし、余裕フ
ィールドを増加するには、バッファメモリの蓄積容量を
増加するための大規模な回路が必要になるだけでなく、
バッファメモリ内に滞る符号データによる数フィールド
期間の伝送遅延が生じる等の問題が生じる。上記の課題
を解決するため、本発明においては、各チャンネルの目
標符号量あるいは画像の複雑度ではなく、過去の所定期
間例えば1フィールド期間に実際に発生した符号量自身
を用いて個別レートの配分を行なう画像信号符号化多重
装置を提供することを目的とする。
In the above description, the case where the code amount ratio between channels is 1: 3 has been described.
In the conventional image signal coding and multiplexing apparatus, if the ratio of the code amount is further increased, it is necessary to further increase the margin field for several fields, and it is necessary to further increase the margin field on the receiving side. However, increasing the margin field not only requires a large-scale circuit to increase the storage capacity of the buffer memory, but also
There arises a problem such as a transmission delay of several field periods due to code data remaining in the buffer memory. In order to solve the above problems, in the present invention, individual rate allocation is performed using not the target code amount of each channel or the image complexity but the code amount actually generated in a predetermined past period, for example, one field period. It is an object of the present invention to provide an image signal coding / multiplexing device for performing.

【0014】本発明は、上記目的を達成するため、複数
チャンネルの画像信号を各チャンネル毎に符号化する複
数の画像信号符号化回路と、各画像信号符号化回路で
発生した符号データを各チャンネル毎に一時的に記憶す
る複数のバッファメモリと、各バッファメモリから所
定のレートで読み出す符号データを多重化する符号デー
タ多重化回路を有する画像信号符号化多重装置におい
て、前記各画像信号符号化回路における所定期間の発生
符号量と当該所定期間の時間を垂直同期信号を計数した
数で表わした時間番号とを記憶するメモリを持つ複数の
発生符号量記憶回路と、各発生符号量記憶回路に記憶
した時間番号から、最も古い時間番号のチャンネルが1
つの場合はそのチャンネルを選択し、該最も古い時間番
号を持つチャンネルが2つ以上ある場合は、該最も古い
時間番号を持つ2つ以上のチャンネルの内のバッファメ
モリ内の全符号量が最も多いチャンネルを選択するチャ
ンネル選択回路と、チャンネル選択回路から選択信号
を受け、当該選択信号により選択された該当チャンネル
の所定期間の符号量g0とあらかじめ定めた一定符号量
gMAXとの比較演算により算出した読み出すべき符号量
である符号量gtと符号データ読み出し制御信号とを
該チャンネルのバッファメモリへ出力する転送符号量算
出回路とを具備し、当該符号量gtと符号データ読み出
し制御信号とにより各チャンネルのバッファメモリを制
御するようにした画像信号符号化多重装置である。
The present invention, in order to achieve the above object, a plurality of image signal encoding circuit for encoding an image signal of a plurality of channels for each channel, the code data generated by the respective image signal encoding circuit each a plurality of buffer memories for temporarily storing for each channel, in the image signal encoding multiplexing apparatus having a code data multiplexing circuit for multiplexing the encoded data read from said each buffer memory at a predetermined rate, each image signal encoding The number of generated codes in a predetermined period in the digitizing circuit and the time of the predetermined period are counted in the vertical synchronization signal.
A plurality of generated code amount storage circuit having a memory for storing the time number, expressed by the number, from the stored time numbers to the respective generated code amount storage circuit, the channel of the oldest time number 1
If that is the case , select that channel and select the oldest time
If there is more than one channel with an issue, the oldest
Buffer within two or more channels with time numbers
A channel selection circuit total code amount of the memory to select the largest channel selection signal from the channel selection circuit
Corresponding channel selected by the relevant selection signal
Code amount g0 for a predetermined period of time and a predetermined constant code amount
Code amount to be read, calculated by comparison with gMAX
The code amount gt and the code data read control signal and is equivalent
Comprising a transfer code amount calculation circuit for output of the channel to the buffer memory, an image signal encoding multiplexing apparatus adapted to control the buffer memory for each channel by the said code quantity gt and the code data read control signal.

【0015】また、上記目的を達成するため、その他
に、複数チャンネルの画像信号を各チャンネル毎に符号
化する複数の画像信号符号化回路と、該各画像信号符号
化回路で発生した符号データを各チャンネル毎に一時的
に記憶する複数のバッファメモリと、該各バッファメモ
リから所定のレートで読み出す符号データを多重化する
符号データ多重化回路を有する画像信号符号化多重装置
において、前記各バッファメモリに記憶された最後の符
号データ記憶番地と発生した符号データの所定期間の時
間を垂直同期信号を計数した数で表わした時間番号とを
記憶するメモリを持つ複数の発生符号量記憶回路と、該
各発生符号量記憶回路に記憶した時間番号から、最も古
い時間番号のチャンネルが1つの場合はそのチャンネル
を選択し、該最も古い時間番号を持つチャンネルが2つ
以上ある場合は、該最も古い時間番号を持つ2つ以上の
チャンネルの内のバッファメモリ内の全符号量が最も多
いチャンネルを選択するチャンネル選択回路と、前記チ
ャンネル選択回路から選択信号を受け、当該選択信号に
より選択された該当チャンネルのバッファメモリの符号
データ記憶の開始点である読み出し番地brと最後の符
号データを記憶した記憶番地b0とあらかじめ定めた一
定符号量gMAXとから算出した読み出すべき符号データ
の最後の符号データを記憶した記憶番地btを当該チャ
ンネルのバッファメモリへ出力する転送符号量算出回路
とを具備し、当該読み出し番地brと当該記憶番地bt
とにより各チャンネルのバッファメモリを制御するよう
にした画像信号符号化多重装置である。
In order to achieve the above object, other
In addition, the image signals of multiple channels are encoded for each channel.
Image signal encoding circuits for encoding, and each image signal code
The coded data generated by the digitizing circuit is temporarily stored for each channel.
A plurality of buffer memories to be stored in the
Code data to be read at a predetermined rate from the memory
Image signal coding and multiplexing apparatus having code data multiplexing circuit
, The last code stored in each buffer memory
No. of data storage address and generated code data for a predetermined period
And the time number expressed by the number of vertical sync signals
A plurality of generated code amount storage circuits having a memory for storing,
From the time number stored in each generated code amount storage circuit, the oldest
If there is only one channel with a different time number, that channel
And select two channels with the oldest time number.
If there are more than two, the two or more with the oldest time number
The total code amount in the buffer memory of the channel is the largest
Channel selection circuit that selects the desired channel and the channel
The selection signal is received from the channel selection circuit and
Sign of the buffer memory of the corresponding channel selected from
Read address br which is the starting point of data storage and the last code
Memory address b0 storing the number data and a predetermined number
Code data to be read calculated from the constant code amount gMAX
The memory address bt storing the last code data of
Transfer code amount calculation circuit that outputs to the channel buffer memory
And the read address br and the storage address bt
To control the buffer memory of each channel by
The image signal encoding and multiplexing device according to the present invention.

【0016】[0016]

【0017】また、転送符号量算出回路が、チャンネ
ル選択回路から選択信号を受け、発生符号量記憶回路
からの符号量g0とあらかじめ定めた一定符号量gMA
X,gMINとから、読み出すべき符号量gtを、 g0<gMAX を満たすとき gt=g0 g0?gMAX を満たすとき gt=gMAX −gMINとして 算出する回路となっている画像信号符号化多重装
置である。
Further, each transfer code amount calculation circuit receives a selection signal from the channel selection circuit, and the code amount g0 from each generated code amount storage circuit and a predetermined constant code amount gMA.
The image signal encoding / multiplexing device has a circuit for calculating the code amount gt to be read from X and gMIN as follows: when g0 <gMAX is satisfied: gt = g0 g0? GMAX is satisfied: gt = gMAX-gMIN

【0018】また、転送符号量算出回路が、チャンネ
ル選択回路から選択信号を受け、あらかじめ定めた一定
符号量gMAX,gMINと選択したチャンネルのバッファメ
モリの符号データ記憶の開始点である読み出し番地br
と最も古い最後の符号データを記憶した記憶番地b0と
バッファメモリの記憶容量Bとから、読み出すべき符号
データの最後の符号データを記憶した記憶番地btを、 br<b0 のときは b0'=b0 br>b0 のときは b0'=b0+B と、 b0'<b'MAX (=br+gMAX )のときは bt'
=b0' b0'>b'MAX のときは bt'=b'MAX −gMIN と、 bt'<B のときは bt=bt' bt'>B のときは bt=bt'−B によって、最後の符号データが記憶されている記憶番地
btを算出する回路となっている画像信号符号化多重装
置である。
Further, each transfer code amount calculation circuit receives a selection signal from the channel selection circuit, and a read address br which is a starting point of storing code data in the buffer memory of the selected channel with predetermined constant code amounts gMAX and gMIN.
And the storage address b0 storing the oldest last code data and the storage capacity B of the buffer memory, the code to be read
The memory address bt that stores the last coded data of the data is: b0 '= b0 if br <b0, b0' = b0 + B if br> b0, and bt if b0 '<b'MAX (= br + gMAX) '
= B0 'b0'>b'MAX, bt '= b'MAX -gMIN, and bt'<B, bt = bt 'bt'> B, bt = bt'-B. The image signal coding and multiplexing apparatus is a circuit that calculates a storage address bt in which code data is stored.

【0019】また、連続する2画面の画像の動きを補正
した差信号を符号化した符号データP信号と画像すべて
の画像信号を符号化した符号データI信号とを、所定の
フィールド周期Fgで繰り返し出力可能とし、各チャン
ネルの符号データI信号を出力するタイミングを互いに
ずらすように制御するIP同期制御回路を備えた画像信
号符号化多重装置である。
Further, the code data P signal obtained by encoding the difference signal obtained by correcting the movement of the images of two consecutive screens and the code data I signal obtained by encoding the image signals of all the images are repeated at a predetermined field period Fg. The image signal encoding / multiplexing apparatus is provided with an IP synchronization control circuit which enables output and controls so that the output timings of the coded data I signals of the respective channels are mutually shifted.

【0020】[0020]

【作用】本発明の作用は下記のとおりである。画像信号
の符号化において、発生符号量記憶回路に所定期間の発
生符号量あるいはバッファメモリに記憶された最後の符
号データ記憶番地の少なくとも一方と所定期間の相対時
間を表わす時間番号とを記憶し、チャンネル選択回路で
各発生符号量記憶回路の最も古い時間番号のチャンネル
か、あるいは最も古い時間番号を持つ2つ以上のチャン
ネルのバッファメモリ内の全符号量が最も多いチャンネ
ルを選択し、転送符号量算出回路から選択信号により演
算選択した符号量gtと符号データ読み出し制御信号と
を出力し、符号量gtあるいは記憶番地と符号データ読
み出し制御信号を発生させ各チャンネルのバッファメモ
リを制御するもである。
The function of the present invention is as follows. In the encoding of the image signal, the generated code amount storage circuit stores at least one of the generated code amount of the predetermined period or the last code data storage address stored in the buffer memory and the time number indicating the relative time of the predetermined period, The channel selection circuit selects the channel having the oldest time number of each generated code amount storage circuit or the channel having the largest total code amount in the buffer memory of two or more channels having the oldest time numbers, and the transfer code amount is selected. The calculation circuit outputs the code amount gt calculated by the selection signal and the code data read control signal to generate the code amount gt or the memory address and the code data read control signal to control the buffer memory of each channel.

【0021】また、発生符号量記憶回路のメモリで画像
信号符号化回路における所定期間の発生符号量と該所定
期間の相対時間を表わす時間番号とバッファメモリに記
憶された最後の符号データ記憶番地とを記憶し、また一
時的に記憶するメモリで前記メモリに記憶された最も古
い符号量g0と時間番号t0と最後の符号データ記憶番
地b0とを記憶するものである。また、チャンネル選択
回路より選択信号を受けた転送符号量算出回路が、発生
符号量記憶回路からの符号量g0とあらかじめ定めた一
定符号量gMAX とから演算選択した符号量gtあるいは
一時記憶メモリからの記憶番地b0と、符号読み出し制
御信号とを当該チャンネルのバッファメモリへ出力する
ものである。
Further, in the memory of the generated code amount storage circuit, the generated code amount in a predetermined period in the image signal encoding circuit, a time number representing the relative time of the predetermined period, and the last code data storage address stored in the buffer memory. Is the memory for temporarily storing the oldest code amount g0, the time number t0, and the last code data storage address b0 stored in the memory. Further, the transfer code amount calculation circuit receiving the selection signal from the channel selection circuit calculates the code amount gt from the code amount g0 from the generated code amount storage circuit and the predetermined constant code amount gMAX or from the temporary storage memory. The memory address b0 and the code read control signal are output to the buffer memory of the channel.

【0022】また、チャンネル選択回路から選択信号を
受けた転送符号量算出回路が、発生符号量記憶回路から
の符号量g0とあらかじめ定めた一定符号量gMAX ,g
MINとを演算選択するとき、 g0<gMAX を満たすとき gt=g0 g0≧gMAX を満たすとき gt=gMAX −gMIN によって、符号量gtを算出するものである。
Further, the transfer code amount calculation circuit receiving the selection signal from the channel selection circuit, the code amount g0 from the generated code amount storage circuit and the predetermined constant code amounts gMAX, g.
When computing and selecting MIN, when g0 <gMAX is satisfied gt = g0 When g0 ≧ gMAX is satisfied gt = gMAX-gMIN, the code amount gt is calculated.

【0023】また、チャンネル選択回路から選択信号を
受けた転送符号量算出回路が、発生符号量記憶回路から
の符号量g0とあらかじめ定めた一定符号量gMAX ,g
MINと選択したチャンネルのバッファメモリの符号デー
タ記憶の開始点である読み出し番地brと最も古い最後
の符号データを記憶した記憶番地b0とバッファメモリ
の記憶容量Bとを演算選択するとき、 br<b0 のときは b0’=b0 br>b0 のときは b0’=b0+B と、 b0’<b’MAX (=br+gMAX )のときは bt’
=b0’ b0’>b’MAX のときは bt’
=b’MAX −gMIN と、 bt’<B のときは bt=bt’ bt’>B のときは bt=bt’−B によって、最後の符号データが記憶されている記憶番地
btを算出するものである。
Further, the transfer code amount calculation circuit receiving the selection signal from the channel selection circuit, the code amount g0 from the generated code amount storage circuit and the predetermined constant code amounts gMAX and g.
When MIN and the read address br, which is the starting point for storing the code data in the buffer memory of the selected channel, the storage address b0 storing the oldest last code data and the storage capacity B of the buffer memory are selected, br <b0 When b0 '= b0 br> b0, b0' = b0 + B, and b0 '<b'MAX (= br + gMAX) bt'
= B0 'When b0'>b'MAX, bt '
= B'MAX-gMIN, and when bt '<B, bt = bt' bt '> B, bt = bt'-B is used to calculate the memory address bt at which the last coded data is stored. Is.

【0024】また、IP同期制御回路で、連続する2画
面の画像の動きを補正した差信号の符号データP信号と
画像すべての画像信号の符号データI信号とを、所定の
フィールド周期Fgで繰り返し出力し、各チャンネルの
符号データI信号を出力するタイミングを互いにずらす
ように制御するものである。
Further, the IP sync control circuit repeats the code data P signal of the difference signal in which the movement of the images of two consecutive screens is corrected and the code data I signal of the image signals of all the images at a predetermined field cycle Fg. The output timing and the output timing of the code data I signal of each channel are controlled so as to be shifted from each other.

【0025】[0025]

【実施例】【Example】

〔実施例 1〕図1に本発明の第1の実施例を示す。図
1は、本発明による画像信号符号化多重装置の構成を示
し、図13に示した従来技術による画像信号符号化多重
装置に、新たに発生符号量記憶回路14とチャンネル選
択回路15及び転送符号量算出回路16を設けたもの
で、図13と同一物は同一の符号となっている。また、
各チャンネルのバッファメモリ3から符号データ多重化
回路へ出力する符号データの読み出し制御を、従来技術
における目標符号量割当回路9の代わりに、チャンネル
選択回路15からの制御信号によって行なうようにした
点が異なる。
[Embodiment 1] FIG. 1 shows a first embodiment of the present invention. FIG. 1 shows a configuration of an image signal coding / multiplexing apparatus according to the present invention. In the image signal coding / multiplexing apparatus according to the prior art shown in FIG. The quantity calculation circuit 16 is provided, and the same components as those in FIG. 13 are designated by the same reference numerals. Also,
The read control of the code data output from the buffer memory 3 of each channel to the code data multiplexing circuit is performed by the control signal from the channel selection circuit 15 instead of the target code amount allocation circuit 9 in the prior art. different.

【0026】図2に、新たに設けた発生符号量記憶回路
14の構成例を示す。図2において、メモリ17は3種
のデータを1組にして書き込みそして書き込んだ順に読
み出すように構成したFIFO方式のメモリである。こ
のメモリ17は、符号量カウンタ6から入力された現フ
ィールドの発生符号量と、発生符号量記憶回路14に入
力された垂直同期信号をカウンタ19で数え表現した時
間番号と、現フィールドに発生した符号データの最後の
符号データを記憶したバッファメモリ3内の記憶番地と
を順次に記憶する。また、カウンタ18は、メモリ17
にデータを書き込んだとき1を加算し、読み出したとき
1を減算することにより、メモリ17内に記憶されてい
るデータ組数を数えるカウンタである。そして、一時記
憶メモリ20は、FIFO方式のメモリ17から読み出
した最も古い1組のデータ(時間番号:t0,符号量:
g0,終了番地:b0)を一時的に記憶しておくメモリ
である。
FIG. 2 shows a configuration example of the newly-generated code amount storage circuit 14. In FIG. 2, the memory 17 is a FIFO type memory configured to write three types of data as one set and to read in the order of writing. This memory 17 generates the generated code amount of the current field input from the code amount counter 6, the time number of the vertical synchronization signal input to the generated code amount storage circuit 14 by the counter 19, and the generated time number in the current field. The storage address in the buffer memory 3 storing the last code data of the code data is sequentially stored. In addition, the counter 18 has a memory 17
It is a counter that counts the number of data sets stored in the memory 17 by adding 1 when data is written to and subtracting 1 when read. Then, the temporary storage memory 20 reads out the oldest set of data (time number: t0, code amount: read from the FIFO type memory 17).
g0, end address: b0) is a memory for temporarily storing.

【0027】以下、図1〜図5により本発明による画像
信号符号化多重装置の動作をさらに説明する。なお、図
1において、印加された複数の画像信号の符号化と目標
符号量の割当は図13の装置と同様に行なうので当該部
分の説明は省略する。新たに設けた各チャンネルの各発
生符号量記憶回路14では、一時記憶メモリ20に記憶
された最も古いフィールドについての1組のデータ(t
0,g0,b0)をチャンネル選択回路15へ出力す
る。チャンネル選択回路15は、各チャンネルの発生符
号量記憶回路14の一時記憶メモリ20から得た各一組
のデータの中の時間番号(t0)を比較し、最も古い時
間番号を持つチャンネル番号を選択する。この場合、も
し同じ時間番号を持つチャンネルが複数有った場合は、
さらに該当する各チャンネルの符号量カウンタ6からバ
ッファメモリ3の全蓄積符号量を読み出して比較し、最
も蓄積符号量の多いチャンネル番号を選択する。そして
選択したチャンネル番号のチャンネルの転送符号量算出
回路16へ選択信号を出力する。(図3に、前述したチ
ャンネル選択回路15の処理過程のフローチャート例を
模式的に示す。) なお、チャンネル選択回路15は、例えばマイクロコン
ピュータ等を用いて構成しても良く、その他各種の構成
が可能である。
The operation of the image signal coding and multiplexing apparatus according to the present invention will be further described below with reference to FIGS. Note that, in FIG. 1, the encoding of a plurality of applied image signals and the allocation of the target code amount are performed in the same manner as in the device of FIG. In each newly-generated code amount storage circuit 14 of each channel, a set of data (t) for the oldest field stored in the temporary storage memory 20 is stored.
0, g0, b0) is output to the channel selection circuit 15. The channel selection circuit 15 compares the time number (t0) in each set of data obtained from the temporary storage memory 20 of the generated code amount storage circuit 14 of each channel, and selects the channel number having the oldest time number. To do. In this case, if there are multiple channels with the same time number,
Further, the total accumulated code amount of the buffer memory 3 is read from the corresponding code amount counter 6 of each channel and compared, and the channel number having the largest accumulated code amount is selected. Then, the selection signal is output to the transfer code amount calculation circuit 16 of the channel of the selected channel number. (FIG. 3 schematically shows an example of a flowchart of the processing steps of the channel selection circuit 15 described above.) The channel selection circuit 15 may be configured by using, for example, a microcomputer, or other various configurations. It is possible.

【0028】チャンネル選択回路15からチャンネル選
択の選択信号を受けた該当チャンネルの転送符号量算出
回路16は、前記発生符号量記憶回路14の一時記憶メ
モリ20に記憶されている当該フィールドの符号量(g
0)と、あらかじめ定めた一定符号量gMAX とを比較
し、小さい方の符号量をgt=MIN (g0またはgMA
X)として選択する。そして、転送符号量算出回路16
は、選択した符号量gtと符号データ読み出し制御信号
を当該チャンネルのバッファメモリ3へ出力する。(図
4に、前述した転送符号量算出回路16で行なう符号量
選択の処理過程のフローチャート例を模式的に示す。) 符号量gtと符号データ読み出し制御信号によりバッフ
ァメモリ3から読み出された符号量gtの符号データ
は、符号データ多重化回路10で伝送に必要な符号(ヘ
ッダー)を付加した後、順次出力される。
The transfer code amount calculation circuit 16 of the corresponding channel which receives the channel selection signal from the channel selection circuit 15 causes the code amount of the field stored in the temporary storage memory 20 of the generated code amount storage circuit 14 ( g
0) is compared with a predetermined constant code amount gMAX, and the smaller code amount is gt = MIN (g0 or gMA
Select as X). Then, the transfer code amount calculation circuit 16
Outputs the selected code amount gt and the code data read control signal to the buffer memory 3 of the channel. (FIG. 4 schematically shows an example of a flowchart of a process of selecting the code amount performed by the transfer code amount calculating circuit 16 described above.) The code read from the buffer memory 3 by the code amount gt and the code data read control signal. The code data of the amount gt is sequentially output after the code (header) necessary for transmission is added by the code data multiplexing circuit 10.

【0029】なお、転送符号量算出回路16は、選択し
た符号量gtをバッファメモリ3へ出力すると同時に発
生符号量記憶回路14へも出力する。発生符号量記憶回
路14は、一時記憶メモリ20内に記憶されている符号
量(g0)から符号量gtを差し引いた値(g0−g
t)を求め、(g0−gt)>0の時は、この値(g0
−gt)を、これまで記憶されていた符号量(g0)の
代わりに一時記憶メモリ20内に記憶し直す。これに対
し(g0−gt)=0となる場合は、メモリ17から改
めて最も古いフィールドのデータを一時記憶メモリ20
内に読み出し、再度各チャンネルの一時記憶メモリ20
内のデータをチャンネル選択回路15へ出力し、前記同
様の動作を繰り返す。
The transfer code amount calculation circuit 16 outputs the selected code amount gt to the buffer memory 3 and at the same time to the generated code amount storage circuit 14. The generated code amount storage circuit 14 subtracts the code amount gt from the code amount (g0) stored in the temporary storage memory 20 (g0-g).
t), and when (g0-gt)> 0, this value (g0
-Gt) is stored again in the temporary storage memory 20 instead of the code amount (g0) stored so far. On the other hand, when (g0-gt) = 0, the oldest field data is newly stored in the memory 17 and temporarily stored in the memory 20.
It is read inside and again the temporary storage memory 20 of each channel
The data in the above is output to the channel selection circuit 15, and the same operation as described above is repeated.

【0030】前述の一連の動作による送信側と受信側の
バッファメモリ内の符号量の変化の様子を図5に示す。
ただし、正方形の1ブロックが符号量gMAX を表わすも
のとする。本実施例による画像信号符号多重装置では、
常に、最も古いフィールド番号の符号データから伝送す
る。したがって図5(b)に示すように、実効的な伝送
レートの配分は、現フィールドの画像信号符号化で発生
する符号量が増減しても、その影響を直接受けることは
ない。すなわち、図5(c)に示すように、1フィール
ド期間においてaチャンネルの伝送レートを図14
(c)の従来例のように直ちに上げることをせず、まず
a,b両チャンネルの第4フィールドの符号データを伝
送する。この結果、送信側バッファメモリに蓄えられて
いるシーンチェンジ前の符号が一掃される。したがって
充分に時間が経過し定常状態に達した図5(f)におい
ても、図14(f)のように余裕フィールド数のアンバ
ランスは生じない。そのため従来技術のような余裕フィ
ールド数の増加は必要なく、バッファメモリの蓄積容量
と余裕フィールドによる伝送遅延を最小限に抑える事が
できる。
FIG. 5 shows how the code amounts in the buffer memories on the transmitting side and the receiving side are changed by the series of operations described above.
However, one square block represents the code amount gMAX. In the image signal code multiplexer according to the present embodiment,
Always transmit the code data of the oldest field number. Therefore, as shown in FIG. 5B, the effective transmission rate distribution is not directly affected by the increase or decrease of the code amount generated in the current field image signal coding. That is, as shown in FIG. 5C, the transmission rate of the a channel in one field period is shown in FIG.
Unlike the conventional example of (c), the code data of the fourth field of both channels a and b is transmitted first without raising immediately. As a result, the code before the scene change stored in the transmission side buffer memory is wiped out. Therefore, even in FIG. 5 (f) in which a sufficient time has elapsed and the steady state is reached, the imbalance in the number of margin fields does not occur as in FIG. 14 (f). Therefore, it is not necessary to increase the number of spare fields as in the conventional technique, and the transmission delay due to the storage capacity of the buffer memory and the spare field can be minimized.

【0031】このように本発明による画像信号符号化多
重装置においては、1チャンネルだけに歪が集中するこ
とが無く、余裕フィールド数を最小限の数に抑えること
ができる。したがってバッファメモリの回路規模の小さ
い、また、無駄な伝送遅延の無い良好な画像信号符号化
多重装置を得ることができる。また、本発明による画像
信号符号化多重装置においては、実際に発生した符号量
に応じた伝送レートの割当が自動的に行なわれる。その
ため実際に発生した符号量が目標符号量からずれていて
も、伝送レート割当が自動的に変更され誤差量が複数の
チャンネルに分散されるため、更にバッファメモリの蓄
積容量を低減することが可能になる。
As described above, in the image signal coding and multiplexing apparatus according to the present invention, distortion is not concentrated on only one channel, and the number of spare fields can be suppressed to the minimum number. Therefore, it is possible to obtain a good image signal coding and multiplexing apparatus in which the circuit scale of the buffer memory is small and there is no useless transmission delay. Further, in the image signal coding and multiplexing apparatus according to the present invention, the transmission rate is automatically assigned according to the actually generated code amount. Therefore, even if the code amount actually generated deviates from the target code amount, the transmission rate allocation is automatically changed and the error amount is distributed to multiple channels, so the storage capacity of the buffer memory can be further reduced. become.

【0032】〔実施例 2〕図6に本発明の第2の実施
例を示す。図6は、本発明による画像信号符号化多重装
置の特に転送符号量算出回路16を別手段とした演算フ
ローチャートの模式図を示す。画像信号符号化多重装置
の他の回路とその動作は第1の実施例と同様である。本
実施例における転送符号量算出回路16の転送符号量の
算出は次のように行なう。すなわち、転送符号量算出回
路16は、入力された発生符号量記憶回路14(図2参
照)の一時記憶メモリ20に記憶されている当該フィー
ルドの符号量(g0)と、あらかじめ定めた一定符号量
gMAX とを比較し、g0<gMAX の時はgt=g0を、
また、g0≧gMAX の時は、gMAX からあらかじめ定め
た一定符号量gMIN を差し引いた値gt=gMAX −gMI
N をバッファメモリ3へ出力する。そしてバッファメモ
リ3から、読み出された符号量gtの符号データは、符
号データ多重化回路10で伝送に必要な符号(ヘッダ
ー)を付加した後、順次出力される。
[Embodiment 2] FIG. 6 shows a second embodiment of the present invention. FIG. 6 is a schematic diagram of a calculation flowchart in which the transfer code amount calculating circuit 16 of the image signal coding and multiplexing apparatus according to the present invention is used as another means. The other circuits of the image signal coding and multiplexing apparatus and their operations are the same as those in the first embodiment. The transfer code amount calculation circuit 16 in the present embodiment calculates the transfer code amount as follows. That is, the transfer code amount calculation circuit 16 receives the code amount (g0) of the field stored in the temporary storage memory 20 of the input generated code amount storage circuit 14 (see FIG. 2) and a predetermined constant code amount. Compare with gMAX, and when g0 <gMAX, gt = g0,
When g0 ≧ gMAX, a value obtained by subtracting a predetermined constant code amount gMIN from gMAX gt = gMAX-gMI
Output N to the buffer memory 3. Then, the code data of the code amount gt read out from the buffer memory 3 is sequentially output after a code (header) required for transmission is added by the code data multiplexing circuit 10.

【0033】図4に示した第1の実施例における転送符
号量算出回路のフローチャートでは、g0≧gMAX の場
合gt=gMAX となる。そのため極端な場合、当該フィ
ールドの残りの符号量が1ビットになり、次に符号デー
タを伝送する際はこの1ビットのために数十ビットの伝
送用符号(ヘッダー)を付加して伝送する場合が生じ
る。これに対し、図6に示した本実施例の転送符号量算
出回路のようにgt=gMAX −gMIN に設定すると、次
に符号データを伝送する際にも最低gMIN の符号量が確
保できる。このように本実施例による転送符号量算出回
路16を用いると、数ビットの画像符号を伝送するため
に数十ビットの伝送用符号(ヘッダー)を付加して伝送
しなければならないような不合理の生じない、良好な伝
送レート配分を実現することができる。
In the flow chart of the transfer code amount calculating circuit in the first embodiment shown in FIG. 4, gt = gMAX when g0 ≧ gMAX. Therefore, in an extreme case, the remaining code amount of the field becomes 1 bit, and when the code data is transmitted next time, a transmission code (header) of several tens of bits is added for this 1 bit to transmit. Occurs. On the other hand, if gt = gMAX-gMIN is set as in the transfer code amount calculating circuit of the present embodiment shown in FIG. 6, the minimum code amount of gMIN can be secured when the code data is transmitted next time. As described above, when the transfer code amount calculating circuit 16 according to the present embodiment is used, it is unreasonable that a transmission code (header) of several tens of bits must be added to transmit an image code of several bits. It is possible to realize a good transmission rate allocation that does not occur.

【0034】〔実施例 3〕図7に本発明の第3の実施
例を示す。図7は、本発明による画像信号符号化多重装
置の特に転送符号量算出回路16を別手段とした演算フ
ローチャートの模式図を示す。なお、本実施例の場合バ
ッファメモリ3は、循環的に記憶する構造であると仮定
する。すなわち、図8に模式的に示すように、番地0か
ら順次記憶を開始し、最後の番地B−1(記憶容量はB
とする)に達した時は、再び番地0に戻って順次記憶を
続ける構造を持つものとする。図8において番地br
は、バッファメモリ3に記憶されているデータの開始点
であり、次のデータ読み出しの開始点を表わす番地であ
る。また番地bwは、新しいデータ入力の開始点を表わ
す番地である。画像信号符号化多重装置の他の回路とそ
の動作は第1の実施例と同様である。
[Embodiment 3] FIG. 7 shows a third embodiment of the present invention. FIG. 7 is a schematic diagram of a calculation flowchart in which the transfer code amount calculation circuit 16 of the image signal coding and multiplexing apparatus according to the present invention is used as another means. In the case of the present embodiment, it is assumed that the buffer memory 3 has a structure of cyclically storing. That is, as schematically shown in FIG. 8, the storage is sequentially started from the address 0 and the last address B-1 (the storage capacity is B
When it has reached (0), it has a structure to return to address 0 again and continue to store the data sequentially. Address br in FIG.
Is the starting point of the data stored in the buffer memory 3 and is the address representing the starting point of the next data reading. The address bw is an address representing the starting point of new data input. The other circuits of the image signal coding and multiplexing apparatus and their operations are the same as those in the first embodiment.

【0035】本実施例の転送符号量算出回路16では、
バッファメモリ3から符号データを読み出す符号量の選
択を、読み出すべき符号データの最後の符号データを記
憶したバッファメモリ3内の記憶番地(終了番地)を指
定することで行なうようにした点が、第1および第2の
実施例と異なっている。すなわち、転送符号量算出回路
16は、発生符号量記憶回路14の一時記憶メモリ20
から、当該フィールドに発生した符号の終了番地(b
0)を、また、バッファメモリ3からデータ蓄積の開始
点である読み出し番地brを読み出す。そして次式 br<b0の時は b0'=b0・・・・・(2) br>b0の時は b0'=b0+B によって、無限の記憶容量を持つ(循環的に記憶する構
造)仮想のメモリ上における仮想の番地b0'(図8参
照)を求める。
In the transfer code amount calculation circuit 16 of this embodiment,
The point that the code amount for reading the code data from the buffer memory 3 is selected by designating the storage address (end address) in the buffer memory 3 storing the last code data of the code data to be read is Different from the first and second embodiments. That is, the transfer code amount calculation circuit 16 uses the temporary code memory 20 of the generated code amount storage circuit 14.
From the end address of the code generated in the field (b
0) and the read address br which is the starting point of data accumulation from the buffer memory 3. When the following expression br <b0, b0 '= b0 (2) When br> b0, b0' = b0 + B The virtual address b0 ′ (see FIG. 8) above is obtained.

【0036】そしてこの仮想の番地数と、別に読出し番
地brから求めた数値b’MAX =br+gMAX とを比較
し、次式 b0’<b’MAX (=br+gMAX )の時はbt’=b0’・・・・・(3) b0’>b’MAX の時は bt’=
b’MAX −gMIN により、伝送する一連の符号の最後の符号が蓄積されて
いるバッファメモリ3の記憶番地btの、仮想のメモリ
上における番地bt’を求める。この値bt’から、次
式 bt’<Bの時bt=bt’・・・・・(4) bt’>Bの時bt=bt’−B によって実際のバッファメモリの番地btを求め、その
値をバッファメモリ3へ出力する。バッファメモリ3で
は、読み出し開始番地brからこの番地btまでの符号
データを読み出し、符号データ多重化回路10で伝送に
必要な符号(ヘッダー)を付加した後、順次出力する。
このように本実施例においても、他の回路とその動作は
第1の実施例と同様に行なうので、第1あるいは第2の
実施例と同様の効果を得ることができる。
Then, this virtual number of addresses is compared with a numerical value b'MAX = br + gMAX separately obtained from the read address br, and when the following expression b0 '<b'MAX (= br + gMAX), bt' = b0 '. ... (3) When b0 '>b'MAX,bt' =
The address bt 'on the virtual memory of the storage address bt of the buffer memory 3 in which the last code of the series of codes to be transmitted is accumulated is obtained by b'MAX-gMIN. From this value bt ', when the following equation bt'<B, bt = bt '(4) When bt'> B, the actual address bt of the buffer memory is calculated by bt = bt'-B. The value is output to the buffer memory 3. In the buffer memory 3, the code data from the read start address br to the address bt is read, the code data multiplexing circuit 10 adds a code (header) required for transmission, and then sequentially outputs.
As described above, also in this embodiment, the other circuits and their operations are performed in the same manner as in the first embodiment, so that the same effect as in the first or second embodiment can be obtained.

【0037】〔実施例 4〕図9に本発明の第4の実施
例を示す。図9は、本発明による画像信号符号化多重装
置の構成を示す。図1に示す第1の実施例の画像信号符
号化多重装置に、さらにIP同期制御回路21を設けた
ものである。一般に、動画像における連続する2フィー
ルドあるいは2フレームの画像は非常に類似した画像で
あり、2画像の被写体の動きを補正して差し引いて求め
た差信号(以下P信号と記す)はほとんど0となる。し
たがって、この差信号を符号化に使用している場合、符
号量を大幅に低減することができる。しかし、この差信
号のみを伝送し続ける場合、伝送系に外乱が一度入ると
それ以後の画像を再現できなくなる。そのため差信号を
使用している通常の画像信号符号化装置では、一定のフ
ィールド周期Fg毎に画像全部の画像信号を符号化した
信号(以下I信号と記す)を伝送し、外乱が入っても画
像の再生が続行できるようにしている。
[Embodiment 4] FIG. 9 shows a fourth embodiment of the present invention. FIG. 9 shows the configuration of an image signal coding and multiplexing apparatus according to the present invention. The image signal coding and multiplexing apparatus of the first embodiment shown in FIG. 1 is further provided with an IP synchronization control circuit 21. In general, two consecutive fields or two frames of images in a moving image are very similar images, and the difference signal (hereinafter referred to as P signal) obtained by correcting and subtracting the movement of the subject in the two images is almost zero. Become. Therefore, when this difference signal is used for encoding, the code amount can be significantly reduced. However, if only the difference signal is continuously transmitted, the image after that cannot be reproduced once the disturbance enters the transmission system. Therefore, in a normal image signal encoding device using a difference signal, a signal obtained by encoding the image signal of the entire image (hereinafter referred to as I signal) is transmitted at a constant field period Fg, and even if disturbance occurs. The image can be played back continuously.

【0038】このように構成した符号データを、図13
に示す従来の画像信号符号化多重装置を通して伝送する
際の、送信側と受信側のバッファメモリ内符号量の変化
の様子を図10に模式的に示す。図10においての第3
フィールドと第8フィールドはI信号、それ以外のフィ
ールドはP信号である。このような場合、a,b2チャ
ンネルの符号量が同時に増加するため、受信側に余裕フ
ィールドあるいはその一部である余裕符号が全く無い危
険な状態が生じる(図10(d))。したがって、通常
はP信号の符号量を伝送レートより若干少なくなるよう
に調整しておき、徐々に復帰するようにする。しかし、
一時的に余裕フィールドが無くなることにかわり無く、
さらに1フィールド分の余裕が必要になる。また正規な
状態への復帰には前記一定のフィールド周期Fgという
長い期間を要する。
The code data thus constructed is shown in FIG.
FIG. 10 schematically shows how the code amount in the buffer memory on the transmitting side and the receiving side changes when transmitting through the conventional image signal encoding and multiplexing apparatus shown in FIG. Third in FIG.
The field and the eighth field are I signals, and the other fields are P signals. In such a case, since the code amounts of the a and b2 channels increase at the same time, there arises a dangerous state in which there is no margin field or a margin code which is a part of the margin field on the receiving side (FIG. 10 (d)). Therefore, normally, the code amount of the P signal is adjusted to be slightly smaller than the transmission rate, and the signal is gradually returned. But,
In spite of the fact that the margin field temporarily disappears,
Furthermore, a margin for one field is required. In addition, it takes a long period of the constant field period Fg to return to the normal state.

【0039】そこで本実施例では、図1に示した画像信
号符号化多重装置の構成に、I信号を送るタイミングを
チャンネル毎に互いにずらすように制御するIP同期制
御回路21を新たに設けた。このように制御した時の送
信側と受信側のバッファメモリ内の符号量の変化の様子
を図11に模式的に示す。図11(d)に示すように、
本実施例においても受信側の余裕フィールドの減少が生
じる。しかし、図10(d)受信側の様に余裕フィール
ドの符号が完全になくなることはない。したがって、増
加すべき余裕フィールドの符号量も少なくてすみ、バッ
ファメモリの回路規模と伝送遅延の増加を小さく抑える
ことができる。また図10の場合の約1/2以下の期間
で正規の状態に復帰する事ができ(図10では図10
(f)受信側で余裕フィールドが、図11では図11
(e)受信側で余裕フィールドがある)、誤動作を起こ
す危険度を大幅に低減することができる。
In view of this, in this embodiment, an IP synchronization control circuit 21 is newly added to the configuration of the image signal encoding / multiplexing device shown in FIG. 1 so as to shift the timing of transmitting the I signal for each channel. FIG. 11 schematically shows how the code amounts in the buffer memories on the transmitting side and the receiving side change in this way. As shown in FIG. 11 (d),
Also in this embodiment, the margin field on the receiving side is reduced. However, the sign of the margin field does not completely disappear like the receiving side in FIG. Therefore, the code amount of the margin field to be increased can be small, and the increase of the circuit scale of the buffer memory and the transmission delay can be suppressed to a small level. In addition, it is possible to return to the normal state in a period of about 1/2 or less of that in the case of FIG.
(F) The margin field on the receiving side is shown in FIG.
(E) There is a margin field on the receiving side), and the risk of malfunction can be greatly reduced.

【0040】IP同期制御回路21におけるI信号を送
るタイミングの制御法としては、例えば一方のチャンネ
ルの一定のフィールド周期Fgの値を、一時的に(Fg
+1)等の1フィールド以上大きい値に設定し、徐々に
あるいは一挙に目標のタイミング位置にずらせば良い。
また、この時一定のフィールド周期Fgの値を小さい値
に設定しても良いが、一時的に符号量が増加することは
同様である。このように本実施例による画像信号符号化
多重装置においては、第1の実施例と同様の効果の他
に、I信号による符号量増加による受信側の余裕フィー
ルド不足を小さく抑え、バッファメモリの回路規模の小
さい、また無駄な伝送遅延の無い良好な画像信号符号化
多重装置を得ることができる。
As a method of controlling the timing of transmitting the I signal in the IP synchronization control circuit 21, for example, the value of the constant field period Fg of one channel is temporarily (Fg
It may be set to a value larger than one field, such as +1), and gradually or all at once shifted to the target timing position.
At this time, the value of the constant field period Fg may be set to a small value, but the code amount is temporarily increased in the same manner. As described above, in the image signal coding and multiplexing apparatus according to the present embodiment, in addition to the same effects as the first embodiment, the shortage of the margin field on the receiving side due to the increase in the code amount due to the I signal is suppressed to a small level, and the buffer memory circuit It is possible to obtain a good image signal coding and multiplexing apparatus that is small in scale and has no useless transmission delay.

【0041】なお、上記各実施例で用いる時間番号とし
ては、充分大きな数F(フィールド)を用意し、これを
循環的に用いるようにすれば良い。すなわちフィールド
番号を0から数え始め、設定したFを越える時は0に戻
るように時間番号を付けるようにする。そして前もって
定めた数をF0、2つの時間番号をf1,f2とすると
き、 |f1−f2|≦F0の時、 f1,f2の内の数字の小さい時間番号 |f1−f2|>F0の時、 f1,f2の内の数字の大きい時間番号・・・ ・・(5) によって時間番号の古さを判別するようにすれば良い。
数Fは(2F0+1)以上であれば任意に設定できる。
しかし、本発明による方法では、互いに比較すべきフィ
ールド時間番号の差は原理的に±1以上離れることはな
い。そのためF0は1以上の任意の数字に設定すること
ができ、Fは3以上の数字を数えられるように設定すれ
ば良い。
As the time number used in each of the above embodiments, a sufficiently large number F (field) may be prepared and used cyclically. That is, the field number is counted from 0, and the time number is added so as to return to 0 when the set F is exceeded. When the predetermined number is F0 and the two time numbers are f1 and f2, when | f1-f2 | ≦ F0, when the time number with the smallest number among f1 and f2 is | f1-f2 |> F0 , F1 and f2, the time number with the largest number ... (5) may be used to determine the age of the time number.
The number F can be arbitrarily set as long as it is (2F0 + 1) or more.
However, in the method according to the present invention, the difference between the field time numbers to be compared with each other is in principle not more than ± 1. Therefore, F0 can be set to an arbitrary number of 1 or more, and F can be set to count a number of 3 or more.

【0042】また、図2に示した発生符号量記憶回路で
は、フィールド符号量(g0)とフィールド符号の最後
の記憶番地(b0)をメモリ17に記憶するようにし
た。しかし、記憶するのは最後の記憶番地(b0)のみ
とし、フィールド符号量(g0)は連続する2フィール
ドの記憶番地の差から求めるようにしても良い。また、
第2の実施例のように符号量(g0)のみを用いて選択
する時は、符号量(g0)のみを記憶するようにしても
良いのは明らかである。また、メモリ17にはフィール
ド符号の最後の記憶番地(b0)を記憶するようにした
が、符号の開始番地を記憶するようにしても良いのは明
らかである。
In the generated code amount storage circuit shown in FIG. 2, the field code amount (g0) and the last storage address (b0) of the field code are stored in the memory 17. However, only the last storage address (b0) is stored, and the field code amount (g0) may be obtained from the difference between the storage addresses of two consecutive fields. Also,
When selecting using only the code amount (g0) as in the second embodiment, it is obvious that only the code amount (g0) may be stored. Further, although the memory 17 stores the last storage address (b0) of the field code, it is obvious that the start address of the code may be stored.

【0043】また、図2に示した発生符号量記憶回路で
は、メモリ17として、一度読み出すと記憶内容が消え
てしまうFIFO方式のメモリを用いたため、読み出し
たデータを一時記憶しておく一時記憶メモリ20も用い
た。しかし、メモリ17として、読み出しても記憶内容
が消えず、何度でも読み出せるタイプのメモリ(例えば
RAM)を用いる場合は、一時記憶メモリ20を用い
ず、直接メモリ17からg0や他のデータを読み出すよ
うにしても良いのは明らかである。また、上記各実施例
の転送符号量算出回路16では、g0とgMAX を比較
し、小さい方の値を伝送する符号量gtを選択するよう
にしたが、常にgt=g0(gMAX を十分大きな値に設
定したことに相当)としても良いのは明らかである。
Further, in the generated code amount storage circuit shown in FIG. 2, since the memory of the FIFO system in which the stored contents are erased once read is used as the memory 17, a temporary storage memory for temporarily storing the read data. 20 was also used. However, when a memory (for example, a RAM) of a type that does not lose the stored contents even if it is read and is used as the memory 17 is used, the temporary storage memory 20 is not used, and g0 and other data are directly stored in the memory 17. Obviously, it may be read. Further, in the transfer code amount calculation circuit 16 of each of the above-described embodiments, g0 and gMAX are compared and the code amount gt for transmitting the smaller value is selected, but gt = g0 (gMAX is a sufficiently large value). It is clear that it may be set as).

【0044】また、図2に示すメモリ17に記憶してあ
る新たなフィールドの1組のデータを読みに行く場合、
カウンタ18の数字が0、すなわち次のフィールドの符
号化を完了していない場合、しかも符号量カウンタ6の
値がgMIN ,gMAX 等の一定量を越えていない場合は、
伝送すべき符号が無いことを示す時間番号(例えばF+
1)を一時記憶メモリ20に記憶する等の方法により、
チャンネル選択回路15での選択対象から除外しておく
ことが望ましい。これにより、伝送すべき符号データが
無いにもかかわらず、バッファメモリ3の符号データの
読み出しを開始するような誤動作を防止することができ
る。
When reading a set of data of a new field stored in the memory 17 shown in FIG. 2,
When the number of the counter 18 is 0, that is, when the coding of the next field is not completed, and the value of the code amount counter 6 does not exceed a certain amount such as gMIN, gMAX,
A time number indicating that there is no code to be transmitted (for example, F +
By storing 1) in the temporary storage memory 20 or the like,
It is desirable to exclude it from the selection target in the channel selection circuit 15. As a result, it is possible to prevent an erroneous operation that starts reading the code data from the buffer memory 3 even though there is no code data to be transmitted.

【0045】なお、上述の各実施例では、過去の所定期
間に発生した符号量を、一般的なフィールド単位でまと
める場合を用いて説明してきたが、所定期間としてはフ
レーム単位はもちろんのこと例えばフィールドの整数分
の1等、任意の所定期間に設定しても良いことは明らか
であり、本発明の権利範囲に含まれる。また前記のよう
に、所定期間が例えばフィールドの整数分の1等の場合
は、各チャンネルの垂直同期信号等の同期信号とは別の
任意の時間に設定することができるため、同期していな
い複数チャンネルの画像信号を多重化し伝送することが
可能になる。また、上述各実施例の符号量は、必ずしも
ビット単位である必要はない。例えばバイト,ワードあ
るいは更に任意のビット数を単位に表現した値を用いて
も良いことは明らかである。ただしこの場合、フィール
ドの最後の符号単位には不足が生じる可能性がある。そ
のため不足分をダミー符号で満たす、あるいは次のフィ
ールドの符号の一部でこれを満たし、完結した符号単位
を形成するようにしておく必要があることは言うまでも
ない。
In each of the above-mentioned embodiments, the case has been described in which the code amounts generated in the past predetermined period are put together in a general field unit, but the predetermined period is not limited to the frame unit, for example. Obviously, it may be set to an arbitrary predetermined period such as an integer fraction of the field, and this is within the scope of the present invention. In addition, as described above, when the predetermined period is, for example, an integer fraction of the field, it can be set to an arbitrary time different from the synchronization signal such as the vertical synchronization signal of each channel, so that it is not synchronized. It becomes possible to multiplex and transmit image signals of a plurality of channels. Further, the code amount in each of the above-mentioned embodiments does not necessarily have to be in bit units. For example, it is obvious that a byte, a word, or a value expressed in units of an arbitrary number of bits may be used. However, in this case, a shortage may occur in the last code unit of the field. Therefore, it goes without saying that it is necessary to fill the deficiency with a dummy code or fill this with a part of the code of the next field to form a complete code unit.

【0046】また、図1では各チャンネル毎に発生符号
量記憶回路14及び転送符号量算出回路16を設けた。
しかし、これらの中の少なくとも一方の回路を一つにま
とめ、集中制御するようにしても良いことは明らかであ
る。また、上述の各実施例では、一まとめに伝送する最
大の符号量gMAX を定めたが、このような制限を設け
ず、1フィールド単位で伝送するようにしても良いこと
は明らかである。
Further, in FIG. 1, the generated code amount storage circuit 14 and the transfer code amount calculation circuit 16 are provided for each channel.
However, it is obvious that at least one of these circuits may be combined into one and centralized control may be performed. Further, in each of the above-mentioned embodiments, the maximum code amount gMAX to be transmitted collectively is defined, but it is obvious that the transmission may be performed in a unit of one field without providing such a limitation.

【0047】[0047]

【発明の効果】以上説明したように、本発明による画像
信号符号化多重装置は、常に最も古いフィールドの符号
データから順に伝送するので、1チャンネルだけに歪が
集中することが無い。そのため余裕フィールド数を最小
限の数に抑えることができ、バッファメモリの回路規模
の小さい、また無駄な伝送遅延の無い良好な画像信号符
号化多重装置を得ることができる。また、実際に発生し
た符号量に応じた伝送レートの割当が自動的に行なわれ
るため、実際に発生した符号量が目標符号量からずれて
いても、伝送レート割当が自動的に変更され誤差が複数
のチャンネルに分散されるため、さらにバッファメモリ
の記憶容量を低減することが可能になる。
As described above, in the image signal coding and multiplexing apparatus according to the present invention, since the coded data of the oldest field is always transmitted in sequence, distortion is not concentrated on only one channel. Therefore, the number of spare fields can be suppressed to a minimum number, and a good image signal coding and multiplexing apparatus with a small circuit scale of the buffer memory and without unnecessary transmission delay can be obtained. Further, since the transmission rate is automatically assigned according to the actually generated code amount, even if the actually generated code amount deviates from the target code amount, the transmission rate allocation is automatically changed and the error is reduced. Since it is distributed over a plurality of channels, it becomes possible to further reduce the storage capacity of the buffer memory.

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

【図1】本発明第1の実施例による画像信号符号化多重
装置の構成図。
FIG. 1 is a configuration diagram of an image signal coding and multiplexing apparatus according to a first embodiment of the present invention.

【図2】本発明による発生符号量記憶回路の構成図。FIG. 2 is a configuration diagram of a generated code amount storage circuit according to the present invention.

【図3】本発明によるチャンネル選択回路の演算フロー
チャート図。
FIG. 3 is a calculation flowchart of a channel selection circuit according to the present invention.

【図4】本発明による転送符号量算出回路の演算フロー
チャート図。
FIG. 4 is a calculation flowchart of a transfer code amount calculation circuit according to the present invention.

【図5】本発明第1の実施例における記憶符号量の変化
説明図。
FIG. 5 is an explanatory diagram of changes in the storage code amount according to the first embodiment of the present invention.

【図6】本発明第2の実施例の転送符号量算出回路の演
算フローチャート図。
FIG. 6 is a calculation flowchart of the transfer code amount calculation circuit according to the second embodiment of the present invention.

【図7】本発明第3の実施例の転送符号量算出回路の演
算フローチャート図。
FIG. 7 is a calculation flowchart of the transfer code amount calculation circuit according to the third embodiment of the present invention.

【図8】循環的に記憶するバッファメモリ構造の模式
図。
FIG. 8 is a schematic diagram of a buffer memory structure for cyclically storing.

【図9】本発明第4の実施例による画像信号符号化多重
装置の構成図。
FIG. 9 is a configuration diagram of an image signal coding and multiplexing apparatus according to a fourth embodiment of the present invention.

【図10】従来の画像信号符号化多重装置における記憶
符号量の変化説明図。
FIG. 10 is an explanatory diagram of changes in the storage code amount in the conventional image signal encoding and multiplexing apparatus.

【図11】本発明第4の実施例の画像信号符号化多重装
置における記憶符号量の変化説明図。
FIG. 11 is an explanatory diagram showing changes in the storage code amount in the image signal coding and multiplexing apparatus according to the fourth embodiment of the present invention.

【図12】従来の画像信号符号化装置の構成図。FIG. 12 is a configuration diagram of a conventional image signal encoding device.

【図13】従来の画像信号符号化多重装置の構成図。FIG. 13 is a block diagram of a conventional image signal coding and multiplexing apparatus.

【図14】従来の画像信号符号化多重装置における記憶
符号量の変化説明図。
FIG. 14 is an explanatory diagram of changes in the storage code amount in the conventional image signal encoding and multiplexing apparatus.

【符号の説明】[Explanation of symbols]

2…符号化回路、3…バッファメモリ、5…複雑度算出
回路、6…符号量カウンタ、7…量子化ステップ算出回
路、9…目標符号量割当回路、10…符号データ多重化
回路、14…発生符号量記憶回路、15…チャンネル選
択回路、16…転送符号量算出回路、17…メモリ、1
8…カウンタ、19…カウンタ、20…一時記憶メモ
リ、21…IP同期制御回路。
2 ... Encoding circuit, 3 ... Buffer memory, 5 ... Complexity calculation circuit, 6 ... Code amount counter, 7 ... Quantization step calculation circuit, 9 ... Target code amount allocation circuit, 10 ... Code data multiplexing circuit, 14 ... Generated code amount storage circuit, 15 ... Channel selection circuit, 16 ... Transfer code amount calculation circuit, 17 ... Memory, 1
8 ... Counter, 19 ... Counter, 20 ... Temporary storage memory, 21 ... IP synchronization control circuit.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 秋山 俊之 東京都小平市御幸町32番地 日立電子株 式会社 小金井工場内 (72)発明者 大波 雄一 東京都小平市御幸町32番地 日立電子株 式会社 小金井工場内 (56)参考文献 特開 昭52−38811(JP,A) 特開 昭58−145284(JP,A) 特開 平3−163979(JP,A) 特開 平4−160888(JP,A) 特開 平5−64175(JP,A) 特開 平5−111014(JP,A) 特開 平5−227516(JP,A) 特開 平6−62393(JP,A) 特開 平6−86261(JP,A) 特開 平6−268985(JP,A) 特開 平6−326986(JP,A) 特開 平7−111649(JP,A) 米国特許5159447(US,A) T.KOGA, et al.,St atistical Performa nce Analysis of an Interframe Encode r for Broadcast Te levision Signals,I EEE Transactions o n Communications,I EEE,1981年12月,Vol.COM− 29, No.12,p.1868−1876 (58)調査した分野(Int.Cl.7,DB名) H04N 7/24 - 7/68 H04N 7/00 - 7/088 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Toshiyuki Akiyama 32 Miyuki-cho, Kodaira-shi, Tokyo Hitachi Electronics Co., Ltd.Koganei factory (72) Inventor Yuichi Ohnami 32 Miyuki-cho, Kodaira-shi, Tokyo Hitachi Electronic Co., Ltd. Koganei Factory (56) Reference JP-A-52-38811 (JP, A) JP-A-58-145284 (JP, A) JP-A-3-163979 (JP, A) JP-A-4-160888 (JP, A) JP 5-64175 (JP, A) JP 5-111014 (JP, A) JP 5-227516 (JP, A) JP 6-62393 (JP, A) JP 6 -86261 (JP, A) JP-A-6-268985 (JP, A) JP-A-6-326986 (JP, A) JP-A-7-111649 (JP, A) US Patent 5159447 (US, A) T.S. KOGA, et al. , Statistical Performance Analysis of an Interframe Encoder for Broadcast Television Revision Signals, IEE Transactions on Communications, Ill. COM-29, No. 12, p. 1868-1876 (58) Fields investigated (Int.Cl. 7 , DB name) H04N 7/ 24-7/68 H04N 7/ 00-7/088

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】複数チャンネルの画像信号を各チャンネル
毎に符号化する複数の画像信号符号化回路と、各画像
信号符号化回路で発生した符号データを各チャンネル毎
に一時的に記憶する複数のバッファメモリと、各バッ
ファメモリから所定のレートで読み出す符号データを多
重化する符号データ多重化回路を有する画像信号符号化
多重装置において、前記各画像信号符号化回路における
所定期間の発生符号量と当該所定期間の時間を垂直同期
信号を計数した数で表わした時間番号とを記憶するメモ
リを持つ複数の発生符号量記憶回路と、各発生符号量
記憶回路に記憶した時間番号から、最も古い時間番号の
チャンネルが1つの場合はそのチャンネルを選択し、該
最も古い時間番号を持つチャンネルが2つ以上ある場合
は、該最も古い時間番号を持つ2つ以上のチャンネルの
内のバッファメモリ内の全符号量が最も多いチャンネル
を選択するチャンネル選択回路と、チャンネル選択回
路から選択信号を受け、当該選択信号により選択された
該当チャンネルの所定期間の符号量g0とあらかじめ定
めた一定符号量gMAXとの比較演算により算出した読み
出すべき符号量である符号量gtと符号データ読み出し
制御信号とを当該チャンネルのバッファメモリへ出力す
る転送符号量算出回路とを具備し、当該符号量gtと
号データ読み出し制御信号とにより各チャンネルのバッ
ファメモリを制御することを特徴とする画像信号符号化
多重装置。
1. A plurality of image signal encoding circuit for encoding an image signal of a plurality of channels for each channel, a plurality of temporarily storing code data generated by the respective image signal encoding circuit for each channel and a buffer memory, an image signal encoding multiplexing apparatus having a code data multiplexing circuit for multiplexing the encoded data read from said each buffer memory at a predetermined rate, the generated code quantity of a predetermined period in each of the picture signal encoding circuit And vertical synchronization of the predetermined period of time
A plurality of generated code amount storage circuit having a memory for storing the time number, expressed by the number of counting signals, from the stored time numbers to the respective generated code amount storage circuit, when the channel of the oldest time number is one Selects that channel ,
If there is more than one channel with the oldest time number
Of the two or more channels with the oldest time number
The channel with the largest total code amount in the buffer memory
A channel selection circuit for selecting a channel, a selection signal from the channel selection circuit, and a selection signal selected by the selection signal .
The code amount g0 of the corresponding channel for a predetermined period is determined in advance.
Reading calculated by comparison with the fixed code amount gMAX
A code amount gt and the code data read control signal is a code quantity to give to and a transfer code amount calculation circuit to be output to the buffer memory of the channel, the code quantity gt and marks <br/> No. data read control signal An image signal coding and multiplexing apparatus characterized in that a buffer memory of each channel is controlled by and.
【請求項2】 複数チャンネルの画像信号を各チャンネル
毎に符号化する複数の画像信号符号化回路と、該各画像
信号符号化回路で発生した符号データを各チャンネル毎
に一時的に記憶する複数のバッファメモリと、該各バッ
ファメモリから所定のレートで読み出す符号データを多
重化する符号データ多重化回路を有する画像信号符号化
多重装置において、前記各バッファメモリに記憶された
最後の符号データ記憶番地と発生した符号データの所定
期間の時間を垂直同期信号を計数した数で表わした時間
番号とを記憶するメモリを持つ複数の発生符号量記憶回
路と、該各発生符号量記憶回路に記憶した時間番号か
ら、最も古い時間番号のチャンネルが1つの場合はその
チャンネルを選択し、該最も古い時間番号を持つチャン
ネルが2つ以上ある場合は、該最も古い時間番号を持つ
2つ以上のチャンネルの内のバッファメモリ内の全符号
量が最も多いチャンネルを選択するチャンネル選択回路
と、前記チャンネル選択回路から選択信号を受け、当該
選択信号により選択された該当チャンネルのバッファメ
モリの符号データ記憶の開始点である読み出し番地br
と最後の符号データを記憶した記憶番地b0とあらかじ
め定めた一定符号量gMAXとから算出した読み出すべき
符号データの最後の符号データを記憶した記憶番地bt
を当該チャンネルのバッファメモリへ出力する転送符号
量算出回路とを具備し、当該読み出し番地brと当該記
憶番地btとにより各チャンネルのバッファメモリを制
御することを特徴とする画像信号符号化多重装置。
2. A plurality of image signal encoding circuits for encoding image signals of a plurality of channels for each channel, and a plurality of temporarily storing code data generated by the image signal encoding circuits for each channel. In the image signal encoding / multiplexing device having the buffer memory and the code data multiplexing circuit for multiplexing the code data read from each buffer memory at a predetermined rate, the last code data storage address stored in each buffer memory. And a plurality of generated code amount storage circuits having a memory for storing the time of a predetermined period of the generated code data represented by the number of vertical synchronization signals counted, and the time stored in each generated code amount storage circuit. From the numbers, if there is one channel with the oldest time number, select that channel, and there are two or more channels with the oldest time number. In the case of two or more channels having the oldest time number, a channel selection circuit that selects the channel with the largest total code amount in the buffer memory, and a selection signal from the channel selection circuit, The read address br which is the start point of the code data storage of the buffer memory of the corresponding channel selected by
And a storage address b0 storing the last code data and a predetermined fixed code amount gMAX, the storage address bt storing the last code data of the code data to be read.
And a transfer code amount calculating circuit for outputting to the buffer memory of the channel, and controlling the buffer memory of each channel by the read address br and the storage address bt.
【請求項3】 請求項1記載のものにおいて、前記各転送
符号量算出回路が、前記チャンネル選択回路から選択信
号を受け、前記各発生符号量記憶回路からの符号量g0
とあらかじめ定めた一定符号量gMAX,gMINとから、読
み出すべき符号量gtを、 g0<gMAX を満たすとき gt=g0 g0?gMAX を満たすとき gt=gMAX −gMIN として算出する回路であることを特徴とする画像信号符
号化多重装置。
3. A code amount g0 from each of the generated code amount storage circuits according to claim 1, wherein each of the transfer code amount calculation circuits receives a selection signal from the channel selection circuit.
And a predetermined constant code amount gMAX, gMIN, the code amount gt to be read is calculated as gt <gMAX gt = g0 g0? GMAX is satisfied gt = gMAX-gMIN Image signal encoding and multiplexing device.
【請求項4】 請求項2記載のものにおいて、前記各転送
符号量算出回路が、前記チャンネル選択回路から選択信
号を受け、あらかじめ定めた一定符号量gMAX,gMINと
選択したチャンネルのバッファメモリの符号データ記憶
の開始点である読み出し番地brと最も古い最後の符号
データを記憶した記憶番地b0とバッファメモリの記憶
容量Bとから、読み出すべき符号データの最後の符号デ
ータを記憶した記憶番地btを、 br<b0 のときは b0'=b0 br>b0 のときは b0'=b0+B と、 b0'<b'MAX (=br+gMAX )のときは bt'
=b0' b0'>b'MAX のときは bt'=b'MAX −gMIN と、 bt'<B のときは bt=bt' bt'>B のときは bt=bt'−B によって、最後の符号データが記憶されている記憶番地
btを算出する回路であることを特徴とする画像信号符
号化多重装置。
4. A ones according to claim 2, wherein each transfer bitrate calculating circuit receives a selection signal from the channel selection circuit, a predetermined constant code amount gmax, the code buffer memory of the selected channel and gMIN From the read address br, which is the starting point of data storage, the storage address b0 that stores the oldest last code data, and the storage capacity B of the buffer memory, the storage address bt that stores the last code data of the code data to be read, When br <b0, b0 '= b0 When br> b0, b0' = b0 + B, and when b0 '<b'MAX (= br + gMAX), bt'
= B0 'b0'>b'MAX, bt '= b'MAX -gMIN, and bt'<B, bt = bt 'bt'> B, bt = bt'-B. An image signal coding / multiplexing device, which is a circuit for calculating a storage address bt in which code data is stored.
【請求項5】 請求項1又は請求項2記載のものにおい
て、連続する2画面の画像の動きを補正した差信号を符
号化した符号データP信号と画像すべての画像信号を符
号化した符号データI信号とを、所定のフィールド周期
Fgで繰り返し出力し、各チャンネルの符号データI信
号を出力するタイミングを互いにずらすように制御する
IP同期制御回路を備えたことを特徴とする画像信号符
号化多重装置。
5. The code data P according to claim 1 or 2, wherein the difference signal is generated by correcting the movement of images on two consecutive screens, and the code data obtained by encoding the image signals of all the images. I signal and I signal are repeatedly output at a predetermined field period Fg, and an IP synchronization control circuit is provided for controlling the timings of outputting the code data I signals of the respective channels to be shifted from each other. apparatus.
JP32298593A 1993-12-22 1993-12-22 Image signal coding and multiplexing device Expired - Lifetime JP3535549B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32298593A JP3535549B2 (en) 1993-12-22 1993-12-22 Image signal coding and multiplexing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32298593A JP3535549B2 (en) 1993-12-22 1993-12-22 Image signal coding and multiplexing device

Publications (2)

Publication Number Publication Date
JPH07184193A JPH07184193A (en) 1995-07-21
JP3535549B2 true JP3535549B2 (en) 2004-06-07

Family

ID=18149860

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32298593A Expired - Lifetime JP3535549B2 (en) 1993-12-22 1993-12-22 Image signal coding and multiplexing device

Country Status (1)

Country Link
JP (1) JP3535549B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE69433630T2 (en) * 1994-04-20 2005-02-03 Thomson Consumer Electronics, Inc., Indianapolis DEVICE FOR GENERATING AN ASYNCHRONOUS CONTROL SIGNAL
DE69432933T2 (en) * 1994-04-22 2004-06-03 Thomson Consumer Electronics, Inc., Indianapolis DEVICE FOR DYNAMIC ALLOCATION OF LIMITED AVAILABILITY
AU2003283028A1 (en) 2002-11-15 2004-06-15 Thomson Licensing S.A. Method and system for staggered statistical multiplexing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
T.KOGA, et al.,Statistical Performance Analysis of an Interframe Encoder for Broadcast Television Signals,IEEE Transactions on Communications,IEEE,1981年12月,Vol.COM−29, No.12,p.1868−1876

Also Published As

Publication number Publication date
JPH07184193A (en) 1995-07-21

Similar Documents

Publication Publication Date Title
US5550589A (en) Method of adaptively multiplexing a plurality of video channel data using channel data assignment information obtained from a look-up table
JP4067579B2 (en) Video signal encoding system
US5260783A (en) Layered DCT video coder for packet switched ATM networks
JP3360844B2 (en) Digital image signal transmission apparatus and framing method
CA2172010C (en) Subtitle data encoding/decoding method and apparatus and recording medium for the same
US5887110A (en) Video data playback system using effective scheme for producing coded video data for fast playback mode
EP0460751B1 (en) Method of transmitting audio and/or video signals
KR100382690B1 (en) Dynamic Allocation of Communication Channel Bandwidth Between Contending Applications
KR100290074B1 (en) A system for multiplexing and compressing compressed video and auxiliary data
US5504528A (en) Method and apparatus for transmitting a video signal, and apparatus for receiving a video signal
JP4156040B2 (en) Apparatus for transmitting a plurality of television signals via a transmission channel
JPH08505512A (en) Channel Buffer Management in Video Decoder
EP0076505B1 (en) Digital transmitting system
JPH06326986A (en) Encoding transmission system for picture signal
US6754239B2 (en) Multiplexing apparatus and method, transmitting apparatus and method, and recording medium
EP0759677B1 (en) Intermediate storage of packetized real-time data and conversion from variable to fixed data rate
US5534926A (en) Multiplex transmission method for motion picture signals and apparatus therefor
JP3644995B2 (en) Time stamp value calculation method in coded transmission system
JP3535549B2 (en) Image signal coding and multiplexing device
US7593463B2 (en) Video signal coding method and video signal encoder
US7050497B2 (en) Process and device for the video coding of high definition images
JP2002171529A (en) Video encoder and method, recording medium, and decoder
JP3441257B2 (en) Data transmission equipment
JP2661122B2 (en) Inter-frame prediction coding / decoding device
JP3231833B2 (en) Band compression signal processor

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040309

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20040312

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080319

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090319

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20100319

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100319

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20110319

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20120319

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120319

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130319

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130319

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20140319

Year of fee payment: 10

EXPY Cancellation because of completion of term