[go: up one dir, main page]

JPH1141608A - Image transmitter, image coding method and image coder - Google Patents

Image transmitter, image coding method and image coder

Info

Publication number
JPH1141608A
JPH1141608A JP19671697A JP19671697A JPH1141608A JP H1141608 A JPH1141608 A JP H1141608A JP 19671697 A JP19671697 A JP 19671697A JP 19671697 A JP19671697 A JP 19671697A JP H1141608 A JPH1141608 A JP H1141608A
Authority
JP
Japan
Prior art keywords
transmission
image
encoded data
unit
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP19671697A
Other languages
Japanese (ja)
Inventor
Noboru Katsuta
昇 勝田
Toshiaki Mori
敏昭 森
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP19671697A priority Critical patent/JPH1141608A/en
Priority to EP97119430A priority patent/EP0841820A3/en
Priority to CNB971264694A priority patent/CN1162001C/en
Priority to US08/967,351 priority patent/US6381254B1/en
Publication of JPH1141608A publication Critical patent/JPH1141608A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PROBLEM TO BE SOLVED: To transit data encoded by plural encoders within a limited frequency and while keeping image quality of data uniform. SOLUTION: A multiplexing part 10 takes in data existing in intermediate buffers 7, 8, 9 to a multiplex transmission buffer at each multiplexing time and outputs to a transmission line at a prescribed rate. In this case, a buffer occupied amount (transmission delay) is fed to each encoder. Each encoder controls the rate and the transmission amount to the multiplexing part 10 so as to avoid overflow/underflow at a receiver side. The configuration with distributed encoders is available and VBR transmission on a network is realized.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、映像信号のディジ
タル圧縮符号化装置および符号化したデータを効率よく
伝送する伝送装置に関するものであり、特に衛星通信に
おける映像の多チャンネル伝送あるいはLANなどのよう
なネットワーク上での映像伝送といった限られた帯域内
に複数の画像データを圧縮符号化して伝送する技術に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital compression encoding apparatus for video signals and a transmission apparatus for efficiently transmitting encoded data, and more particularly to multi-channel transmission of images in satellite communication or LAN. The present invention relates to a technique for compressing and encoding a plurality of image data within a limited band such as video transmission on a simple network and transmitting the image data.

【0002】[0002]

【従来の技術】複数の画像データを伝送する従来の技術
としては、個々の画像にそれぞれ固定の帯域を割り当
て、各符号化装置は、決められた帯域で符号化をおこな
いそれを多重化するものがあった。しかし、画像の複雑
さは、時間的に変化していくため、常に劣化の目立たな
いように符号化して伝送するためには、割り当てる帯域
を最も難しい画像が入力された場合でも画質の劣化がめ
だたない程度にする必要があり、伝送効率の悪い伝送に
なっていた。そこで符号化している画像の符号化困難さ
に応じて帯域を変動させて簡単な画像のときは帯域を下
げて伝送することで効率のよい伝送を行い同じ伝送帯域
幅でより多くのチャンネルを伝送する方法が従来より試
みられていた。従来の技術の例としては、たとえば、WO
95/32565にその記述がある。図13は、従来の画像伝
送装置の構成図である。図13で101、102、10
3は、映像符号化部、104は、多重化部である。
2. Description of the Related Art As a conventional technique for transmitting a plurality of image data, a fixed band is assigned to each image, and each coding apparatus performs coding in a predetermined band and multiplexes the data. was there. However, since the complexity of the image changes over time, in order to always encode and transmit so that the deterioration is not noticeable, even if an image whose input band is the most difficult to allocate is input, the image quality deteriorates. It is necessary to reduce the transmission efficiency, resulting in poor transmission efficiency. Therefore, the bandwidth is changed according to the coding difficulty of the image being coded, and when the image is simple, the bandwidth is reduced and transmitted, so that efficient transmission is performed and more channels are transmitted with the same transmission bandwidth. There have been attempts to do so. Examples of the prior art include, for example, WO
95/32565 has that description. FIG. 13 is a configuration diagram of a conventional image transmission device. In FIG. 13, 101, 102, 10
Reference numeral 3 denotes a video encoding unit, and 104 denotes a multiplexing unit.

【0003】上記構成においてその動作を説明する。映
像符号化部101、102、103は、多重化部104
から指示される目標レートにしたがって入力映像を符号
化する。多重化部104は、映像符号化部101、10
2、103からの符号化データを多重して伝送路に出力
するとともに各映像符号化部に、目標レートを指示す
る。この目標レートは、その合計値が伝送レートに一致
するよう設定される。その際、各映像符号化部は、一定
周期毎に符号化にともなう符号化歪み量を多重化部10
4に送る。多重化部104は、全体の目標レートの合計
は伝送レートを守りながら、各エンコーダの歪みの量に
応じて、歪みの多い映像には、設定する目標レートを上
げ、歪みが少ないところの目標レートを下げる。したが
って、各符号化部で符号化された映像は、その符号化の
困難さに応じてビットレートが割り当てられる。
The operation of the above configuration will be described. The video encoding units 101, 102, and 103 include a multiplexing unit 104
The input video is coded according to the target rate specified by. The multiplexing unit 104 includes the video encoding units 101 and 10
It multiplexes the coded data from 2, 103 and outputs the multiplexed data to the transmission path, and instructs each video coding unit on the target rate. The target rate is set so that the total value matches the transmission rate. At this time, each video encoding unit encodes the amount of encoding distortion caused by encoding at every fixed period by the multiplexing unit 10.
Send to 4. The multiplexing unit 104 raises the target rate to be set for a video with much distortion according to the amount of distortion of each encoder while maintaining the transmission rate for the total of the total target rates, Lower. Therefore, a video encoded by each encoding unit is assigned a bit rate according to the difficulty of encoding.

【0004】[0004]

【発明が解決しようとする課題】しかしながら上記のよ
うな構成では、歪みが発生してからそれを是正するよう
にレートに修正を行っていくため、符号化が難しいシー
ンへの変わりめなどにおいては画質が劣化してしまう問
題があった。
However, in the above-described configuration, since the rate is corrected so as to correct the distortion after the distortion has occurred, it is difficult to change the scene to a scene where encoding is difficult. There was a problem that image quality deteriorated.

【0005】また、多重化部で全符号化部でのひずみ情
報に基づき、各符号化部に割り当てる目標のレートを計
算する必要があるため、多重化部に接続する符号化部の
数が多い場合は、レートを振り分ける計算量が増加する
問題があるし、また、各符号化部がネットワーク上に分
散して存在し、ネットワーク上で映像データを伝送する
場合には、その歪み情報を集め、各符号化部のレートを
設定するのは困難である問題があった。
Further, since it is necessary for the multiplexing unit to calculate a target rate to be assigned to each encoding unit based on distortion information in all the encoding units, the number of encoding units connected to the multiplexing unit is large. In such a case, there is a problem that the amount of calculation for distributing the rate increases, and also, when each encoding unit exists in a distributed manner on the network and transmits video data over the network, the distortion information is collected. There is a problem that it is difficult to set the rate of each encoding unit.

【0006】本発明は上記問題を解決し、各符号化部で
符号化される映像の画質をシーンの変わりめにおいても
均一性を保ち、また、各エンコーダが分散して存在する
場合においても、その全体で許される帯域内で、それぞ
れ入力される映像に応じてレートが割り当てられ、画質
が均一化されるような映像伝送方法および装置を提供す
ることを目的とする。
The present invention solves the above-mentioned problems, and maintains the uniformity of the image quality of the video encoded by each encoding unit even when changing scenes. It is an object of the present invention to provide a video transmission method and apparatus in which a rate is assigned according to each input video within a band allowed by the whole, and the image quality is made uniform.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
に、本発明の画像伝送装置は、複数の画像符号化部と伝
送処理部を具備し、前記伝送処理部は、多重タイミング
毎に各画像符号化部から指示される符号化データを多重
化し所定の伝送路に伝送するとともに、前記各画像符号
化部の符号化データ量に基づいて計算され、デコーダに
伝送されるまでの遅延量が計算できる多重化情報を前記
各画像符号化部に送り、前記複数の画像符号化部は、前
記伝送処理部からの多重化情報に基づき、画像の符号化
における量子化の際の量子化幅を決定し、前記画像を符
号化するとともに前記符号化データを前記多重タイミン
グ毎に伝送処理部に伝送し指示することを特徴とするも
のである。
In order to achieve the above object, an image transmission apparatus according to the present invention comprises a plurality of image encoding units and a transmission processing unit, wherein the transmission processing unit is provided for each multiplex timing. The coded data specified by the image coding unit is multiplexed and transmitted to a predetermined transmission path, and calculated based on the amount of coded data of each image coding unit, and the amount of delay before transmission to the decoder is calculated. Sends multiplexed information that can be calculated to each of the image encoding units, and the plurality of image encoding units determine a quantization width at the time of quantization in image encoding based on the multiplexed information from the transmission processing unit. And determining the image, encoding the image, and transmitting the encoded data to the transmission processing unit at each multiplex timing to instruct the transmission processing unit.

【0008】また、本発明の伝送処理部は、伝送用バッ
ファを具備し、多重タイミング毎に各画像符号化部が指
示する符号化データを伝送用バッファに取り込み、取り
込み順に所定の伝送レートにしたがって出力するととも
に符号化データの伝送用バッファ中の占有量を多重化情
報として出力することを特徴とするものである。
Further, the transmission processing unit of the present invention includes a transmission buffer, and fetches the coded data specified by each image coding unit into the transmission buffer at each multiplex timing, and according to a predetermined transmission rate in the fetching order. And outputting, as multiplexed information, the occupation amount of the encoded data in the transmission buffer.

【0009】また、本発明の画像符号化部は、量子化幅
決定手段と前記量子化幅決定手段により指示される量子
化幅で量子化することによって画像を符号化する基本符
号化処理部をもち、前記量子化幅決定手段は、前記各画
像符号化部から伝送処理部を通して伝送された符号化デ
ータを受信する複数のデコーダのデコーダバッファ占有
量を多重化情報より算出し、算出したデコーダバッファ
占有量および符号化後未伝送にある符号化データの量に
基づき量子化幅を設定することを特徴とするものであ
る。
The image encoding unit according to the present invention includes a quantization width determining unit and a basic encoding processing unit that encodes an image by performing quantization with the quantization width specified by the quantization width determining unit. The quantization width determination means calculates the decoder buffer occupancy of the plurality of decoders that receive the encoded data transmitted from each of the image encoding units through the transmission processing unit from the multiplexing information, and calculates the calculated decoder buffer. The quantization width is set based on the occupation amount and the amount of coded data that has not been transmitted after coding.

【0010】また、本発明の画像符号化部はさらに、符
号化データを一時記憶する符号化データ記憶部をもち、
前記符号化データ記憶部は、伝送タイミング毎に前記符
号化データのうち、伝送処理部に送られていない未伝送
データを一時記憶し、予め全画像符号化部で設定してお
かれた上限値、あるいは受信側で想定されるデコーダバ
ッファサイズより多重化情報に基づき算出されたデコー
ダ占有量を減算したものの値を上限値として前記符号化
データを伝送処理部に伝送することを特徴とするもので
ある。
Further, the image encoding unit of the present invention further has an encoded data storage unit for temporarily storing encoded data,
The coded data storage unit temporarily stores untransmitted data that has not been sent to the transmission processing unit among the coded data for each transmission timing, and an upper limit value previously set in the entire image coding unit. Or transmitting the encoded data to the transmission processing unit with a value obtained by subtracting the decoder occupancy calculated based on the multiplexing information from the decoder buffer size assumed on the receiving side as an upper limit value. is there.

【0011】また、本発明の画像伝送装置は、伝送路上
の帯域管理を行う帯域管理部と1つ以上の画像符号化部
からなり、前記帯域管理部は、伝送路上にある前記1つ
以上の画像符号化部の伝送レートの総計の帯域を定め、
伝送タイミング毎にある画像符号化部で伝送要求される
符号化データの送信を許可し、その許可にしたがって変
化する送信遅延に関する伝送情報を伝送路上の別の画像
符号化部に送信し、前記1つ以上の画像符号化部はそれ
ぞれ、前記伝送情報および未送信の符号化データおよび
想定される受信側のバッファサイズに基づいた量子化幅
で量子化することによって画像を符号化することを特徴
とするものである。
Further, the image transmission apparatus of the present invention comprises a band management unit for performing band management on a transmission line and one or more image encoding units, and the band management unit includes the one or more image encoding units on the transmission line. Determine the total bandwidth of the transmission rate of the image encoding unit,
The transmission of coded data requested to be transmitted by a certain image encoding unit at each transmission timing is permitted, and transmission information relating to a transmission delay that changes according to the permission is transmitted to another image encoding unit on a transmission path. The one or more image encoding units each encodes an image by quantizing the transmission information and the untransmitted encoded data and a quantization width based on an assumed buffer size of a receiving side. Is what you do.

【0012】[0012]

【発明の実施の形態】以下、本発明の実施の形態につい
て図1から図12を用いて説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below with reference to FIGS.

【0013】(実施の形態1)図1は、本発明の実施の
形態である画像伝送装置の構成図である。図1において
1、2、3は、入力画像を符号化する映像符号化部であ
り、それぞれ符号化部4、5、6および中間バッファ
7、8、9からなり、10は、多重化部であり、読み込
み送出制御部10aと送出バッファ10bで構成され
る。
(Embodiment 1) FIG. 1 is a configuration diagram of an image transmission apparatus according to an embodiment of the present invention. In FIG. 1, reference numerals 1, 2, and 3 denote video coding units for coding an input image, each including coding units 4, 5, and 6 and intermediate buffers 7, 8, and 9, and 10 a multiplexing unit. Yes, it is composed of a reading and sending control unit 10a and a sending buffer 10b.

【0014】以上の構成において以下その動作をする。
映像符号化部1、2、3は、それぞれ入力された映像信
号を圧縮符号化する。各映像符号化部中の符号化部4、
5、6は、MPEG2エンコーダであり、映像信号をI
SO/IEC13818−2(通称MPEG2 ビデオ)のM
P@MLに準拠した映像信号に符号化し、多重タイミン
グ毎に中間出力バッファ7、8、9にそれぞれ次の多重
周期内に多重化したい符号化データを出力する。多重化
部10は、多重送出バッファ10bを具備し、読み出し
送出制御部10aの制御に基づき多重周期毎に各映像符
号化部1、2、3の中間バッファ7、8、9にある符号
化データをすべて送出バッファ内に取り込み、送出バッ
ファ内の取り込み順に応じて伝送路に伝送レートにした
がってデータを送出する。この際の各映像符号化部中の
バッファからの取り込み順序は、この期間の符号化デー
タを送出バッファに取り込みさえすれば特に順序は制限
されない。そして、さらに取り込みが完了した時点での
送出バッファ10b内にある符号化データのバッファ占
有量値Bmux_ocを各映像符号化部に送る。このBmux
_oc値から出力伝送レートをRとするとBmux_oc/Rによっ
て各符号化部は多重化した符号化データの相対的な伝送
遅延時間を見積もることができ、これを用いて各映像符
号化部は、入力映像を符号化する。以下、各映像符号化
部での符号化処理を説明する。
The above operation is performed in the above configuration.
The video encoders 1, 2, and 3 respectively compress and encode the input video signals. Encoding unit 4 in each video encoding unit,
Reference numerals 5 and 6 denote MPEG2 encoders that convert video signals into I / O signals.
M of SO / IEC13818-2 (commonly known as MPEG2 video)
The encoded data is encoded into a video signal conforming to P @ ML, and encoded data to be multiplexed in the next multiplexing cycle is output to the intermediate output buffers 7, 8, and 9 at each multiplexing timing. The multiplexing unit 10 includes a multiplex transmission buffer 10b, and controls the coded data stored in the intermediate buffers 7, 8, and 9 of the video encoding units 1, 2, and 3 for each multiplex cycle under the control of the read transmission control unit 10a. Are all fetched into the transmission buffer, and the data is transmitted to the transmission path according to the transmission rate according to the fetching order in the transmission buffer. At this time, the order of taking in the data from the buffer in each video encoding unit is not particularly limited as long as the encoded data in this period is taken into the transmission buffer. Then, the buffer occupancy value Bmux_oc of the encoded data in the transmission buffer 10b at the time when the capturing is further completed is sent to each video encoding unit. This Bmux
Assuming that the output transmission rate is R from the _oc value, each encoding unit can estimate the relative transmission delay time of the multiplexed encoded data by Bmux_oc / R, and using this, each video encoding unit Encode the video. Hereinafter, the encoding process in each video encoding unit will be described.

【0015】映像符号化部では、映像信号をMPEG2ビデ
オデータに圧縮符号化する。MPEG2における符号化で
は、映像信号は、フレーム間の予測符号化されたのち、
予測誤差成分がDCT(離散コサイン変換)符号化され
る。符号化データの符号量は、DCT係数を量子化する際
の量子化幅を増減させることで行われる。量子化幅が小
さい場合は、発生符号量は増加するが、より原画像に近
い圧縮画像に符号化される。一方、量子化幅を大きくし
た場合は、発生符号量は少なくなるが量子化誤差による
歪みにより劣化の目立った画像となる。したがって、よ
り原画像に近く均一な画質に符号化するためには、量子
化幅をできるだけ小さくかつできるだけ一定に近いよう
に変化量を少なく制御する必要がある。本実施の形態に
おいては、量子化幅によって画質および発生符号量の制
御を行うため、量子化幅の制御以外は、符号化部の詳細
については公知の技術(例えば「最新MPEG教科書」
(アスキー出版、1995年)第103〜105ペー
ジ)で行うものとして以下で量子化幅の制御について詳
細を説明する。
The video encoder compresses and encodes the video signal into MPEG2 video data. In encoding in MPEG2, a video signal is subjected to predictive encoding between frames,
The prediction error component is DCT (discrete cosine transform) coded. The code amount of the encoded data is performed by increasing or decreasing the quantization width when quantizing the DCT coefficient. When the quantization width is small, the generated code amount increases, but the image is encoded into a compressed image closer to the original image. On the other hand, when the quantization width is increased, the generated code amount decreases, but the image becomes noticeably deteriorated due to distortion due to a quantization error. Therefore, in order to encode the image with a uniform image quality closer to the original image, it is necessary to control the amount of change so that the quantization width is as small as possible and as constant as possible. In this embodiment, since the image quality and the generated code amount are controlled by the quantization width, details of the encoding unit other than the quantization width control are described in a known technique (for example, “the latest MPEG textbook”).
(ASCII Publishing, 1995), pp. 103-105), the control of the quantization width will be described in detail below.

【0016】図2は、映像符号化部内の符号化部の構成
図である。図2において11は、基本符号化部であり、
差分処理部11a、DCT処理部11b、量子化処理部11
c、可変長符号化部11d、およびフレーム間予測部1
1eで構成され、12は、ビットカウンタ、13は、符
号化されたデータを一時記憶し送出するバッファ、14
は、制御部である。
FIG. 2 is a configuration diagram of an encoding unit in the video encoding unit. In FIG. 2, reference numeral 11 denotes a basic encoding unit,
Difference processing unit 11a, DCT processing unit 11b, quantization processing unit 11
c, variable-length coding unit 11d, and inter-frame prediction unit 1
1e, 12 is a bit counter, 13 is a buffer for temporarily storing and transmitting encoded data, 14
Is a control unit.

【0017】基本符号化部11は、MPEG2ビデオフ
ォーマットに符号化する基本符号化部であり、フレーム
間予測部11eからの予測値の予測誤差を差分処理部1
1aで算出し、DCT処理部11bでDCT処理し、量子化処
理部11cで量子化したのち可変長符号化部11dで符
号化する。この際、基本符号化部11は、量子化処理部
11cに制御部14から量子化幅を受け取り、その量子
化幅にしたがって入力映像信号を符号化し、生成データ
をバッファ13に伝送する。ビットカウンタ12は、基
本符号化部11の生成するデータのビット数をカウント
し、多重タイミング毎に発生ビット数を制御部14に送
る。制御部14は、多重化部10からのバッファ占有量
値Bmux_ocとビットカウンタ12からのビット発生
量値に基づき量子化幅を決定し、基本符号化部11に送
るとともに中間バッファに送る送出ビット数を算出しバ
ッファ13にそれを指示する。バッファ13は、基本符
号化部11からのデータを制御部14が示す送出バッフ
ァ数にしたがって出力し、中間バッファ7、8、9に送
る。
The basic encoding unit 11 is a basic encoding unit that encodes an image into an MPEG2 video format, and calculates a prediction error of a prediction value from the inter-frame prediction unit 11e by a difference processing unit 1.
It is calculated in 1a, subjected to DCT processing by the DCT processing unit 11b, quantized by the quantization processing unit 11c, and then encoded by the variable length encoding unit 11d. At this time, the basic encoding unit 11 receives the quantization width from the control unit 14 in the quantization processing unit 11c, encodes the input video signal according to the quantization width, and transmits the generated data to the buffer 13. The bit counter 12 counts the number of bits of data generated by the basic encoding unit 11 and sends the number of generated bits to the control unit 14 at each multiplex timing. The control unit 14 determines the quantization width based on the buffer occupancy value Bmux_oc from the multiplexing unit 10 and the bit generation amount value from the bit counter 12, and sends the number of bits to be sent to the basic encoding unit 11 and to the intermediate buffer. And instructs it to the buffer 13. The buffer 13 outputs the data from the basic encoding unit 11 in accordance with the number of transmission buffers indicated by the control unit 14 and sends the data to the intermediate buffers 7, 8, and 9.

【0018】図3は、制御部14での量子化幅の算出処
理の説明図である。図3において、201は、開始処
理、202は、基準量子化幅、符号化部内バッファ占有
量、中間バッファ占有量およびパラメータDiの初期化処
理、203は、符号化終了検出処理、204は終了処
理、205は、量子化幅算出処理、206は、ビット発
生量検出処理、207は、送出ビット数算出処理、20
8は、パラメータBmux_oc受信処理、209は、パラメ
ータDi算出処理、210は、アンダーフロー回避処理、
211は、符号化スキップ処理である。図1における符
号化部群は、入力映像に対して同一動作を行うものであ
り、ここでは以下代表してi番目の映像符号化部の処理
として説明する。制御部14は、初期化処理の後、符号
化が終了するまで、i番目の映像符号化部が符号化した
データを再生する受信側の想定デコーダのバッファサイ
ズをBdec_sizeとして、各多重周期毎の量子化幅を以下
の式で計算する。
FIG. 3 is an explanatory diagram of the calculation process of the quantization width in the control unit 14. In FIG. 3, reference numeral 201 denotes a start process; 202, a process for initializing the reference quantization width, the buffer occupancy in the encoding unit, the intermediate buffer occupancy, and the parameter Di; 203, an encoding end detection process; , 205 is a quantization width calculation process, 206 is a bit generation amount detection process, 207 is a transmission bit number calculation process, 20
8 is a parameter Bmux_oc receiving process, 209 is a parameter Di calculating process, 210 is an underflow avoiding process,
211 is an encoding skip process. The group of encoding units in FIG. 1 performs the same operation on an input video, and here, as an example, will be described as the processing of the i-th video encoding unit. The control unit 14 sets the buffer size of the assumed decoder on the receiving side that reproduces the data encoded by the i-th video encoding unit as Bdec_size until the encoding is completed after the initialization process, and sets Bdec_size for each multiplexing cycle. The quantization width is calculated by the following equation.

【0019】[0019]

【数1】 (Equation 1)

【0020】ここでq_stは、基準となる量子化幅で初期
化の段階で予め設定するものであり、実現したい画質が
得られる程度の量子化幅に設定する。Diは、多重周期毎
に変わる変数であり、その算出方法を説明する。符号化
部は、各多重周期毎に符号化データを中間バッファBmi
に送出する。この際、制御部14は、その期間のビット
発生量をビットカウンタ12より検出し、それ以前に未
送出となっているデータのビット数REMiとの合計が中間
バッファのサイズより小さい場合には、符号化されてい
るデータを規格書にある上限レートを超えない範囲(た
とえば、MP@MLの場合15Mbps)ですべて中間バッファ
に送出する(REMiと発生ビット数との和)ことをバッフ
ァ13に送出指示量Bmiとして指示する。中間バッファ
サイズより大きい場合は、中間バッファの容量をBmiの
値として指示し、残りを未送出データとして保持する。
また、Bmux_ocから算出できるこの多重周期で多重され
た場合に受信側到着時でのこの符号化部で符号化されて
未再生状態にあるデータ量(例えば、Bmux_ocがBmux_si
zeのとき遅延時間なしで再生されるように再生時刻のタ
イムスタンプをつけている場合には、(Bmux_size−Bmu
x_oc)/R時刻内で発生したbTの合計値で求められ
る。)がBdec_size以上となる場合は、未再生状態のデ
ータ量からBdec_sizeを引いた値がREMiとなるようにBmi
を設定する(すなわち、未再生データで受信側に到着し
ているデータ量がBdec_sizeになるようにしてオーバー
フローしないようにする。)。つまり、符号化データの
上限値をデコーダバッファサイズよりデコーダ占有量を
減算したものとする。そして、未送出データのビット数
を以下の式で算出する。
Here, q_st is set in advance at the stage of initialization with a reference quantization width, and is set to a quantization width sufficient to obtain an image quality to be realized. Di is a variable that changes for each multiplex cycle, and its calculation method will be described. The encoding unit stores the encoded data in the intermediate buffer Bmi for each multiplexing cycle.
To send to. At this time, the control unit 14 detects the bit generation amount in the period from the bit counter 12, and when the sum of the bit number REMi of the data that has not been transmitted before that is smaller than the size of the intermediate buffer, It sends to the buffer 13 that all encoded data is sent to the intermediate buffer within the range not exceeding the upper limit rate specified in the standard (for example, 15 Mbps for MP @ ML) (the sum of REMi and the number of generated bits). An instruction is given as the instruction amount Bmi. If the size is larger than the intermediate buffer size, the capacity of the intermediate buffer is designated as the value of Bmi, and the rest is held as untransmitted data.
Also, when multiplexing is performed at this multiplexing cycle that can be calculated from Bmux_oc, the amount of data that has been encoded by this encoding unit at the time of arrival on the receiving side and is in an unreproduced state (for example, Bmux_oc is equal to Bmux_si
In the case of ze, if the time stamp of the playback time is attached so that playback is performed without delay time, (Bmux_size−Bmux
x_oc) / R is obtained by the total value of bT generated within the time. ) Is equal to or larger than Bdec_size, Bmi is set so that the value obtained by subtracting Bdec_size from the unplayed data amount becomes REMi.
(That is, the amount of unreproduced data arriving at the receiving end is set to Bdec_size to prevent overflow). That is, the upper limit of the encoded data is obtained by subtracting the decoder occupancy from the decoder buffer size. Then, the number of bits of the untransmitted data is calculated by the following equation.

【0021】[0021]

【数2】 (Equation 2)

【0022】ただし、bTは、多重周期内で発生したビ
ット数である。次に現在の多重化部10の送出バッファ
のデータ占有量Bmux_ocを受け取り、Diを以下の式で算
出する。
Where bT is the number of bits generated in the multiplex period. Next, the current data occupancy Bmux_oc of the transmission buffer of the multiplexing unit 10 is received, and Di is calculated by the following equation.

【0023】[0023]

【数3】 (Equation 3)

【0024】ただし、However,

【0025】[0025]

【数4】 (Equation 4)

【0026】とする。以上のように算出したDiから(数
1)にしたがって量子化幅を算出し符号化を行う。ま
た、Bdec_size−Diが0以下にならないように、Bdec_
size−Diが閾値K以下になった場合は、基本符号化部
11にスキップ処理を指示し、基本符号化部11は、そ
のときデータを符号化しないでスキップ処理をおこな
う。
It is assumed that From the Di calculated as described above, a quantization width is calculated according to (Equation 1) and coding is performed. In addition, Bdec_size-Di is not reduced to 0 or less, so that Bdec_size
When the size-Di becomes equal to or smaller than the threshold K, the basic encoding unit 11 is instructed to perform a skip process, and the basic encoding unit 11 performs the skip process without encoding the data at that time.

【0027】多重化部10では、各映像符号化部の中間
バッファ内のデータを多重タイミング毎に取り込みISO/
IEC13818−1(通称MPEG2 TSストリーム)にパケッ
ト化多重し、伝送路に出力する。なお、その際、各映像
の再生タイミングを示すタイムスタンプは、伝送バッフ
ァの占有量にしたがってつけるものとし、送信バッファ
容量いっぱいで多重化されるデータが遅延時間なしで再
生されるタイミングを基準としタイムスタンプをつけ送
信する。
The multiplexing unit 10 fetches the data in the intermediate buffer of each video encoding unit at each multiplexing timing.
It is packetized and multiplexed to IEC13818-1 (commonly called MPEG2 TS stream) and output to the transmission path. At this time, the time stamp indicating the playback timing of each video shall be attached according to the occupation amount of the transmission buffer, and the time stamp will be based on the timing at which the data multiplexed when the transmission buffer capacity is full is reproduced without delay time. Add a stamp and send.

【0028】以上のように動作する実施の形態において
以下その有効性を説明する。多重化部10の最初の送信
開始時刻、送出バッファサイズBmux_sizeなどは、多重
化部10に接続されている符号部の数Nや伝送レートな
どによって変更すべきであるが、ここでは、Bmux_size
=N×Bdec_size、符号化直後のデータが送出バッファの
占有量が0のときに多重化されデコーダに到達した際に
Xピクチャー後に再生されるとする(すなわち、デコー
ダには、最大Xピクチャー分のデータが溜まる可能性が
ある)。送出バッファの占有量Bmux_ocで多重されるデ
ータのBmux_ocが0のときを基準とした相対的な遅延時
間は、Bmux_oc/Rで計算されるため、そのデータがデコ
ーダに到達したときにデコーダ内にあるピクチャーデー
タ数は、x・(Bmux_size−Bmux_oc(t))/Bmux_siz
eとなる(ただし、未送信データが0の場合)。このと
き、各映像データが受信側でアンダーフローすることな
く到達することを説明する。
The effectiveness of the embodiment operating as described above will be described below. The initial transmission start time of the multiplexing unit 10, the transmission buffer size Bmux_size, and the like should be changed according to the number N of encoding units connected to the multiplexing unit 10, the transmission rate, and the like. Here, Bmux_size
= N × Bdec_size, when data immediately after encoding is multiplexed when the occupancy of the sending buffer is 0 and reaches the decoder
It is assumed that data is reproduced after X pictures (that is, data for a maximum of X pictures may accumulate in the decoder). Since the relative delay time of the data multiplexed with the occupation amount Bmux_oc of the transmission buffer with respect to when Bmux_oc is 0 is calculated by Bmux_oc / R, the data is in the decoder when the data reaches the decoder. The number of picture data is x · (Bmux_size−Bmux_oc (t)) / Bmux_siz
e (however, when the untransmitted data is 0). At this time, it will be described that each video data arrives without underflow on the receiving side.

【0029】まず、REMi=0のとき、(数1)(数3)
より
First, when REMi = 0, (Equation 1) (Equation 3)
Than

【0030】[0030]

【数5】 (Equation 5)

【0031】となり、Bmux_ocがBmux_sizeに近づくと量
子化幅が大きくなり、ビット発生量が抑制され、アンダ
ーフローが起こらない。また、極端に複雑な映像入力に
対しても図3にあるスキップ処理がはたらき、常にBmux
_ocがBmux_sizeより小さく制御されるため、アンダーフ
ローがおこらない。
When Bmux_oc approaches Bmux_size, the quantization width increases, the amount of bits generated is suppressed, and no underflow occurs. In addition, the skip processing shown in FIG. 3 works even for extremely complicated video input,
Since _oc is controlled to be smaller than Bmux_size, no underflow occurs.

【0032】次にREMi≠0のとき、Next, when REMi ≠ 0,

【0033】[0033]

【数6】 (Equation 6)

【0034】となり、REMiがBdec_size×(Bmux_size−
Bmux_oc)/Bmux_sizeより小さくエンコーダは制御され
る。また、図3では、極端に複雑な映像が入力された場
合においても強制的にスキップ処理(ステップ211)
してビット発生量を減らして、REMiがBdec_size×(Bmu
x_size−Bmux_oc)/Bmux_sizeより小さく制御する。一
方、他の符号化部全部が最大のデータ量の多重を要求し
てきても、各符号化部は、少なくとも伝送レートを符号
化部の数で割った平均レートでの多重は可能である。Bd
ec_size×(Bmux_size−Bmux_oc)/Bmux_sizeは、(Bm
ux_size−Bmux_oc)/R時間内に平均レートで送ること
ができるデータに相当するため、受信側でアンダーフロ
ーしない。
Then, REMi is Bdec_size × (Bmux_size−
The encoder is controlled to be smaller than (Bmux_oc) / Bmux_size. In FIG. 3, skip processing is forcibly performed even when an extremely complicated video is input (step 211).
To reduce the bit generation, and REMi is Bdec_size × (Bmu
x_size−Bmux_oc) / Bmux_size. On the other hand, even if all the other encoding units request multiplexing of the maximum data amount, each encoding unit can perform multiplexing at an average rate obtained by dividing at least the transmission rate by the number of encoding units. Bd
ec_size × (Bmux_size−Bmux_oc) / Bmux_size is (Bmx
ux_size−Bmux_oc) / R Since this data corresponds to data that can be sent at the average rate within the time, no underflow occurs on the receiving side.

【0035】また、デコーダのバッファ容量を越えるデ
ータは、未送信データとなるため、オーバーフローも起
こらず各映像符号化部で符号化されたデータは、それぞ
れ正しく再生可能である。
Data that exceeds the buffer capacity of the decoder is untransmitted data, so that overflow does not occur and the data encoded by each video encoding unit can be correctly reproduced.

【0036】以上のような構成では、各映像符号化部が
同じ基準に従って量子化幅を決定するため未送信データ
がない場合には、すべてのエンコーダの量子化幅は、入
力映像に関わらず同じになるため、入力されている各映
像は、ほぼ同じ画質で符号化することができる。また、
特定の入力画像にシーンチェンジ等が発生した場合で
も、量子化幅により制御しているため、その時点で画質
が極端に劣化することなく、その困難さの増加に応じて
ビットが割り当てられる一方、そのビット増加分は、全
映像符号化部でのビット発生量にしたがって量子化幅を
制御するため、その影響も小さく画質の変化も小さい。
また、各映像符号化部は、符号化したデータが受信側で
オーバーフローアンダーフローしないようにそのビット
発生量および多重データ量を制御するため、多重化部1
0は、従来のように全映像データについての情報を処理
することなく規則的にそれを多重化するのみとなり、処
理が分散されて、装置構成が容易にできる。
In the above configuration, since each video encoder determines the quantization width according to the same standard, if there is no untransmitted data, the quantization width of all encoders is the same regardless of the input video. Therefore, each input video can be encoded with almost the same image quality. Also,
Even when a scene change or the like occurs in a specific input image, since it is controlled by the quantization width, the image quality does not extremely deteriorate at that time, and bits are allocated according to the increase in the difficulty, The bit increment is controlled by the quantization width according to the bit generation amount in the entire video encoding unit, so that the influence is small and the change in image quality is small.
Each video encoding unit controls the bit generation amount and the multiplexed data amount so that the encoded data does not overflow and underflow on the receiving side.
A value of 0 only multiplexes information on all video data regularly without processing the information as in the related art, and the processing is dispersed and the device configuration can be simplified.

【0037】なお、本実施の形態では、量子化幅の計算
式を(数1)としたが、Bdec_size−Di>0が保てる
ような特性であれば、ほかのものでもよい。
In the present embodiment, the formula for calculating the quantization width is (Equation 1), but any other formula may be used as long as Bdec_size-Di> 0 can be maintained.

【0038】また、f(REMi)=REMiは異なる関数にし
てもよいし、特定の映像信号の画質をより高く維持する
ため、意図的に特定の符号化部の量子化幅の決定特性や
f(REMi)を変更してもよい。たとえば、特定のj番目
の符号化部について中間バッファの容量をM倍にした場
合、f(REMi)=REMi/Mとしてもよい。こうすること
で本実施の形態において許されるREMiの約M倍に近い量
まで未多重データを増やすことができる。通常全体の平
均よりも複雑な映像が入力されている場合、Bmux_ocの
時点で多重化されたデータがデコーダに到達した時点で
すでに符号化されているx・(Bmux_size−Bmux_oc
(t))/Bmux_sizeピクチャー分のデータの大きさ
は、Bdec_size+REMiで制限されるため、未送信データ
量が多く持てることで符号化が困難な画像に対してより
相対的に多くのビットを割り当てることが可能になる。
Further, f (REMi) = REMi may be a different function, and in order to maintain the image quality of a specific video signal higher, the characteristic of determining the quantization width of a specific encoding unit or f (REMi) is intentionally set. (REMi) may be changed. For example, when the capacity of the intermediate buffer is multiplied by M for a specific j-th encoding unit, f (REMi) = REMi / M may be set. By doing so, unmultiplexed data can be increased to an amount close to about M times REMi allowed in the present embodiment. Normally, when a video that is more complex than the average of the entirety is input, x · (Bmux_size−Bmux_oc) that has already been encoded when the data multiplexed at the time of Bmux_oc reaches the decoder.
(T)) / Bmux_size Since the data size of a picture is limited by Bdec_size + REMi, more bits should be allocated to an image that is difficult to encode due to a large amount of untransmitted data. Becomes possible.

【0039】また、本実施の形態においての多重周期で
あるが、周期を短くすれば、より精度よく制御できる
が、MPEG2データにおける数マクロブロックあるいは、
数スライス(映像信号の数ライン周期)程度が適当であ
るが、さらに1ピクチャーなど長い周期で制御してもよ
い。
The multiplexing cycle in the present embodiment can be controlled more accurately by shortening the cycle. However, several macroblocks in MPEG2 data or
A few slices (several line periods of the video signal) are appropriate, but control may be performed at a longer period such as one picture.

【0040】また、本実施の形態では、すべての映像符
号化部の符号化方法およびデータ送出方法を同一にした
が特定の基本符号化部の処理のみ他の標準的なものより
異なった画質制御を行うことも可能である。例えば、
(数1)の量子化幅の決定関数は、Diの増加にしたがっ
て量子化幅を増加させる関数であればよく、量子化幅の
変化率を少なくしてより画質を均一化することもできる
し、大半の映像符号化部を実施の形態のように動作させ
ておけば、特定の映像符号化部が量子化幅を固定にして
画質を均一化したり、固定レートの符号化を行ってビッ
トを発生させても全体としては、Diの増加にしたがって
ビット発生量が減少する傾向が支配的となり、全体の帯
域は伝送帯域内にすることができる。
Further, in the present embodiment, the encoding method and the data transmission method of all the video encoding units are the same, but only the processing of a specific basic encoding unit is different from the other standard ones in image quality control. It is also possible to do. For example,
The function of determining the quantization width in (Equation 1) may be any function that increases the quantization width as Di increases, and it is possible to reduce the rate of change of the quantization width to achieve more uniform image quality. However, if most of the video coding units are operated as in the embodiment, the specific video coding unit can fix the quantization width to make the image quality uniform, or perform coding at a fixed rate to convert bits. Even if it occurs, the tendency that the bit generation amount decreases as Di increases becomes dominant, and the entire band can be within the transmission band.

【0041】(実施の形態2)次に本発明の第2の実施
の形態を図4から図9を用いて説明する。図4は、本発
明の第2の実施の形態の画像伝送装置の説明図である。
同図において、15は、LAN上の帯域制御を行う帯域管
理ノード、16、17、18、19は、画像符号化部を
もったLAN上に接続されたノードである。ノード16、
17、18、19は画像符号化部と共に画像再生部をも
ち、画像符号化部は送信先のノードがもつ画像再生部の
デコーダバッファサイズBdec_size及びデコーダバッフ
ァ占有量を想定して画像符号化する。
(Embodiment 2) Next, a second embodiment of the present invention will be described with reference to FIGS. FIG. 4 is an explanatory diagram of an image transmission device according to the second embodiment of the present invention.
In the figure, reference numeral 15 denotes a band management node that performs band control on the LAN, and 16, 17, 18, and 19 denote nodes connected to the LAN having an image encoding unit. Node 16,
Reference numerals 17, 18, and 19 each have an image reproducing unit together with the image encoding unit. The image encoding unit performs image encoding by assuming the decoder buffer size Bdec_size and the decoder buffer occupancy of the image reproducing unit of the destination node.

【0042】上記の構成において以下その動作を説明す
る。本実施の形態は、画像符号化部が、ローカルエリア
ネットワーク(LAN)上に分散して接続されているノー
ド上に接続されており、LAN上のほかのノードへ符号化
した映像信号を伝送するものである。ネットワーク上で
は、パケット化されたデータが伝送される。パケット
は、伝送に必要なヘッダ情報と送信データからなる。図
5に、ヘッダフォーマットを示す。ヘッダ情報として
は、データを正しく送るために必要な情報、すなわち、
公知と考えられるLAN上で必要な情報も含まれるが、こ
こでは送信側アドレス、受信側アドレス、映像パケット
フラグ、伝送周期No.についてのみ説明する。ネット
ワークは、一方向の伝送路が各ノード間に接続され、リ
ング状の構成をとっている。パケットの生成は、帯域管
理ノードが制御しており、各ノードからのリクエストに
応じて帯域を確保し、その送信用パケットを生成する。
図6は、各ノード間の通信方法の説明図である。ノード
1からノード4へ通信する場合、帯域管理ノードは、送
信側アドレスに1、受信側アドレスに4を書き込んだパ
ケットを生成して空いているパケットタイミングでネッ
トワーク上に出力する。各ノードは、自分に関係ないパ
ケットの場合、何もせずに隣のノードにパケットを伝送
する。ノード1は、送信側アドレス1のパケットを受け
たとき、送信したいデータを送信データ内に載せ、隣の
ノードに送る。ノード2、3は、何もせずにパケットを
順に送る。ノード4は、受信側アドレスに自分のアドレ
スを検出すると送信データを受信し、パケットを解放す
る。
The operation of the above configuration will be described below. In the present embodiment, an image encoding unit is connected to nodes distributed and connected on a local area network (LAN), and transmits an encoded video signal to another node on the LAN. Things. On the network, packetized data is transmitted. The packet includes header information necessary for transmission and transmission data. FIG. 5 shows the header format. As header information, information necessary for correctly transmitting data, that is,
Although necessary information on the LAN considered to be publicly known is also included, here, the sender address, the receiver address, the video packet flag, the transmission cycle No. Will be described only. The network has a ring-like configuration in which one-way transmission paths are connected between the nodes. The generation of the packet is controlled by the band management node. The band is secured in response to a request from each node, and the transmission packet is generated.
FIG. 6 is an explanatory diagram of a communication method between the nodes. When communication is performed from the node 1 to the node 4, the bandwidth management node generates a packet in which 1 is written in the transmission side address and 4 is written in the reception side address, and outputs the packet to the network at an empty packet timing. Each node transmits a packet to an adjacent node without doing anything if the packet is not related to itself. When receiving the packet of the transmission side address 1, the node 1 puts the data to be transmitted in the transmission data and sends it to the adjacent node. Nodes 2 and 3 send packets in order without doing anything. When the node 4 detects its own address as the receiving side address, it receives the transmission data and releases the packet.

【0043】次に、映像データの通信について図7から
図11を用いて説明する。帯域管理ノードは、ネットワ
ーク内の伝送する映像データの全体の帯域を割り当て
る。たとえば、ネットワーク内の映像データを送信する
ノードが4つで平均レートをそれぞれ3Mbps程度と考え
た場合には、12Mbpsの帯域を映像帯域として帯域管理
ノードは確保し、12Mbps分映像伝送用パケットを送出
する。その際、映像伝送用パケットに多重周期番号を設
け、一定時刻毎に各ノードがその多重周期番号内に送出
したい映像データのパケット数を申告させる。
Next, communication of video data will be described with reference to FIGS. The bandwidth management node allocates the entire bandwidth of the video data to be transmitted in the network. For example, if there are four nodes transmitting video data in the network and the average rate is about 3 Mbps each, the bandwidth management node secures a 12 Mbps bandwidth as a video bandwidth and sends out 12 Mbps video transmission packets. I do. At this time, a multiplex cycle number is provided to the video transmission packet, and each node is made to declare the number of video data packets to be transmitted within the multiplex cycle number at each fixed time.

【0044】図7は、パケット数申告パケットの伝送例
を示している。パケットの送受信側アドレスをともにf
fとし、映像パケットフラグを1としてパケット数申告
パケットとして各ノードに識別させる。そして、伝送周
期番号を表示した期間に伝送したいパケット数を各ノー
ドに表示させる。ネットワーク上を一周したパケットを
帯域管理ノードが読み取る。
FIG. 7 shows a transmission example of the packet number report packet. Both the sending and receiving addresses of the packet are f
f, the video packet flag is set to 1, and each node is identified as a packet number report packet. Then, the number of packets to be transmitted during the period in which the transmission cycle number is displayed is displayed on each node. The bandwidth management node reads the packet that has made a round on the network.

【0045】その伝送周期番号のついた映像データを伝
送するパケットは、申告値の数だけ出力する。図8は、
映像伝送パケットによる映像データ伝送例を示してい
る。帯域管理ノードは、映像パケットフラグを1とし、
伝送周期番号を示してネットワーク上に生成する。この
パケットは、映像伝送を申告したどのノードも利用可能
であり、その伝送周期に送りたいデータがある場合、そ
のパケットの送受信側アドレスをヘッダに書き込み、映
像データを載せて目的のノードに映像データを送る。図
8では、ノード1からノード4への伝送を示している。
ノード4は、受信後パケットを解放する。帯域管理ノー
ドに最も近いノード1がヘッダに示された伝送周期内に
送りたいパケットをすべて伝送したら、それ以降の同じ
伝送周期番号がついたパケットは、そのまま通過させ
る。そして、次に近いノード2が伝送周期内のデータを
先のノード1と同様に映像パケットによりデータ伝送す
る。そのように申告したパケット数どおり帯域管理ノー
ドに近いノードから順にその伝送周期内に送るべきデー
タを映像パケットにより伝送していく。同じ伝送周期番
号のついたパケット数は、各ノードから申告されている
ので、各ノードの伝送周期内に送るべきデータを伝送す
るためのパケットは過不足なく生成される。その後、次
の多重周期のパケットが各ノードからの申告にしたがっ
て生成される。
Packets for transmitting the video data with the transmission cycle number are output by the number of declared values. FIG.
5 shows an example of video data transmission by a video transmission packet. The bandwidth management node sets the video packet flag to 1,
It is generated on the network by indicating the transmission cycle number. This packet can be used by any node that has declared video transmission, and if there is data to be sent in the transmission cycle, the sender / receiver address of the packet is written in the header, the video data is loaded, and the video data is sent to the target node. Send. FIG. 8 shows transmission from the node 1 to the node 4.
The node 4 releases the packet after receiving. When the node 1 closest to the bandwidth management node has transmitted all the packets to be transmitted within the transmission cycle indicated in the header, the subsequent packets with the same transmission cycle number are passed as they are. Then, the next closest node 2 transmits the data within the transmission cycle by the video packet in the same manner as the previous node 1. Data to be sent within the transmission cycle is transmitted by video packets in order from the node close to the bandwidth management node in accordance with the number of declared packets. Since the number of packets with the same transmission cycle number has been declared by each node, packets for transmitting data to be sent within the transmission cycle of each node are generated without excess or deficiency. Then, the next multi-period packet is generated according to the declaration from each node.

【0046】この多重周期は、第1の実施の形態の多重
タイミング周期に相当し、実際にその多重周期番号の付
いたパケットを帯域管理ノードが生成するまでの遅延時
間をその申告に基づき算出する。例えば、多重周期をT
とし、k多重周期後の遅延データ量をDD(kT)とする
とDD((k+1)T)は、そのときの申告パケット数の
和をPn、1パケットあたりのデータ量をP_DATAとしたと
This multiplex cycle corresponds to the multiplex timing cycle of the first embodiment, and the delay time until the band management node actually generates a packet with the multiplex cycle number is calculated based on the declaration. . For example, if the multiple period is T
If the amount of delay data after k multiplex cycles is DD (kT), DD ((k + 1) T) is the sum of the declared packet number at that time is Pn, and the data amount per packet is P_DATA.

【0047】[0047]

【数7】 (Equation 7)

【0048】で算出する。Rは帯域管理ノードが確保し
た、映像伝送用の帯域である。そして、申告されたノー
ド数Nから多重仮想バッファサイズBmux_sizeを
Is calculated. R is a band for video transmission secured by the band management node. Then, the multiplexed virtual buffer size Bmux_size is calculated from the declared number of nodes N.

【0049】[0049]

【数8】 (Equation 8)

【0050】で相対遅延パラメータdelay_muxをThe relative delay parameter delay_mux is

【0051】[0051]

【数9】 (Equation 9)

【0052】で算出し、生成する映像伝送用パケット中
に図5のフォーマットにしたがって載せる。
In the video transmission packet calculated and generated in the above, the packet is placed according to the format shown in FIG.

【0053】delay_initは、遅延データ量DDが0のとき
伝送されたデータが到着してから再生されるまでの遅延
時間であり、ネットワーク内の各ノードで共有されてい
る値である。計算された値は、直ちにその後に生成され
るパケットのヘッダーに載せられて伝送される。
The delay_init is a delay time from when the transmitted data arrives to when it is reproduced when the delay data amount DD is 0, and is a value shared by each node in the network. The calculated value is immediately transmitted in the header of a subsequently generated packet.

【0054】図9は、帯域管理ノードが生成するパケッ
トを説明した図である。パケット数申告パケットは、一
定周期で生成される。映像伝送パケットは、パケット数
申告パケットによって申告されたパケット数を帯域管理
ノードが確保している映像全体で確保しているレートR
で生成する。したがって、伝送周期内に申告されたパケ
ット数を生成できないときでもそのまま申告数になるま
でその伝送周期番号のついたパケットを生成する。ただ
し、遅延データ量DDがdelay_init×Rを超える場合は、d
elay_init×Rと一致した時点で申告数に満たない場合で
も多重番号を更新してパケットを生成する。多重周期内
に申告パケット数を生成し終えた場合、次の多重周期に
なってから多重周期番号を更新したパケットを生成す
る。以上のように各ノードで申告されたパケット数の映
像データは、多重遅延量DDがdelay_init×Rを超えない
範囲で伝送される。
FIG. 9 is a diagram illustrating a packet generated by the bandwidth management node. The packet number report packet is generated at a constant cycle. For video transmission packets, the rate R that secures the number of packets declared by the packet number declaration packet for the entire video secured by the bandwidth management node
Generated by Therefore, even when the number of declared packets cannot be generated within the transmission cycle, a packet with the transmission cycle number is generated as it is until the declared number is reached. However, if the delay data amount DD exceeds delay_init × R, d
Even if the number of declarations is less than the value when elay_init × R is matched, the multiplex number is updated to generate a packet. When the number of report packets has been generated within the multiplex cycle, a packet having an updated multiplex cycle number is generated after the next multiplex cycle. As described above, the video data of the number of packets declared by each node is transmitted within a range where the multiplex delay amount DD does not exceed delay_init × R.

【0055】次に、映像伝送を行う各ノード内の処理を
説明する。図10は、ノード内の構成図である。20
は、パケットの入出力処理をするパケット処理部、21
は、制御部、22は、中間バッファ、23は、符号化
部、24は映像再生部である。パケット処理部20は、
ネットワーク中から送られてくるパケットを受信し、そ
のヘッダを検出する。受信アドレスが自分のアドレスの
場合、制御部21へ送るとともに、パケット中のパラメ
ータをリセットして送出する。受信したパケットのヘッ
ダ中の送信側アドレスが自分である場合は、制御部21
の制御のもと、制御部あるい中間バッファ22の情報に
基づきパケットを書き変えて送出する。また、ヘッダ情
報がパケット数申告パケットを示す場合は、制御部21
に伝送周期番号とともに検出信号を送る。制御部21
は、この伝送周期の申告値をパケット処理部20に送
る。各伝送周期の申告値は、符号化部23が、伝送周期
毎に中間バッファに送るデータ量を中間バッファがカウ
ントし、制御部21は、その値をその伝送周期の申告値
とする。パケット処理部20は、その申告値をパケット
に書き込み伝送する。
Next, the processing in each node that performs video transmission will be described. FIG. 10 is a configuration diagram of a node. 20
Is a packet processing unit that performs packet input / output processing, 21
Denotes a control unit, 22 denotes an intermediate buffer, 23 denotes an encoding unit, and 24 denotes a video reproduction unit. The packet processing unit 20
It receives a packet sent from the network and detects its header. If the received address is its own address, it sends it to the control unit 21 and resets and sends out the parameters in the packet. If the sender address in the header of the received packet is its own, the control unit 21
Under the above control, the packet is rewritten and transmitted based on the information in the control unit or the intermediate buffer 22. If the header information indicates a packet number report packet, the control unit 21
And a detection signal together with the transmission cycle number. Control unit 21
Sends the report value of the transmission cycle to the packet processing unit 20. The intermediate buffer counts the amount of data sent to the intermediate buffer by the encoding unit 23 for each transmission cycle, and the control unit 21 uses the value as the declared value of the transmission cycle. The packet processing unit 20 writes the report value in a packet and transmits the packet.

【0056】受信データが映像データの場合、制御部2
1は、そのまま映像再生部24に受信データを送って映
像を再生する。
When the received data is video data, the control unit 2
1 transmits the received data to the video reproducing unit 24 as it is to reproduce the video.

【0057】次に、受信パケットが映像伝送パケットの
場合、パケット処理部20から検出信号を受けた制御部
21は、その送信周期信号を読み取り、その伝送周期中
に送出したパケット数が申告値に満たない場合、映像書
き込み指示と受信側アドレスをパケット処理部20に送
る。パケット処理部20は、送信側アドレスに自分のア
ドレスを、受信側アドレスに送り先のアドレスを書き込
み、1パケット分の映像データを中間バッファ取り込み
パケットのデータ部に書き込んで送出する。伝送周期内
のデータがすべて送り出されたら、制御部21は、伝送
周期番号を更新する。送られていたパケットの更新周期
番号のデータがすでに送出されている場合は、制御部2
1は、パケット処理部20に送出指示信号を送り、その
パケットに何も処理せずに送出させる。また、映像伝送
パケットを受け取ったとき制御部21は、パケット処理
部20から多重仮想バッファサイズおよび相対遅延パラ
メータを受け取り、符号化部23に送る。これは、伝送
タイミングに関係なく常に検出し、先に読んだ値と異な
っている場合に直ちに送る。
Next, when the received packet is a video transmission packet, the control unit 21 having received the detection signal from the packet processing unit 20 reads the transmission cycle signal and sets the number of packets transmitted during the transmission cycle to the declared value. If not, the instruction to write the video and the address of the receiver are sent to the packet processing unit 20. The packet processing unit 20 writes its own address in the transmission-side address and the destination address in the reception-side address, writes one packet of video data in the data portion of the packet captured in the intermediate buffer, and sends it out. When all the data within the transmission cycle has been sent out, the control unit 21 updates the transmission cycle number. If the data of the update cycle number of the transmitted packet has already been transmitted, the control unit 2
1 sends a transmission instruction signal to the packet processing unit 20 to cause the packet to be transmitted without any processing. Further, when receiving the video transmission packet, the control unit 21 receives the multiplex virtual buffer size and the relative delay parameter from the packet processing unit 20 and sends them to the encoding unit 23. This is always detected irrespective of the transmission timing, and is immediately sent if it differs from the previously read value.

【0058】次に、符号化部23の動作を説明する。符
号化部23は、第1の実施の形態における図2の符号化
部とほぼ同じ動作をする。図2の構成において制御部1
4は、図10の制御部21より多重仮想バッファサイズ
Bmux_sizeおよび相対遅延パラメータdelay_muxを受け取
る。これをそれぞれ第1の実施の形態における多重化部
10のバッファサイズBmux_sizeおよび多重化部10内
のバッファ占有量Bmux_ocに置き換えて実施の形態1の
動作と同じ動作をする。そのとき、帯域管理ノード15
が設定したRが実施の形態1の多重化部10が送出する
伝送路の伝送レートと等価になるため、ネットワーク上
にある符号化部で生成されるデータレートは、Rとな
り、各符号化部で符号化されたデータは、受信側でオー
バーフローアンダーフローすることなく再生可能なタイ
ミングで伝送される。
Next, the operation of the encoding unit 23 will be described. The encoding unit 23 operates substantially the same as the encoding unit in FIG. 2 according to the first embodiment. In the configuration of FIG.
4 is the multiplex virtual buffer size from the control unit 21 of FIG.
Receives Bmux_size and relative delay parameter delay_mux. These operations are replaced with the buffer size Bmux_size of the multiplexing unit 10 and the buffer occupancy Bmux_oc in the multiplexing unit 10 in the first embodiment, respectively, and the same operation as in the first embodiment is performed. At that time, the bandwidth management node 15
Is equal to the transmission rate of the transmission line transmitted by the multiplexing unit 10 of the first embodiment, the data rate generated by the encoding unit on the network is R, and each encoding unit Is transmitted at a timing that can be reproduced without overflow and underflow on the receiving side.

【0059】以上のように本実施の形態によれば、ネッ
トワーク上で伝送している映像信号の画質をほぼ均一に
して伝送することができる。図11は、従来のネットワ
ーク上での可変レートの映像データの伝送と本実施の形
態によるものとの帯域の利用度の比較を説明する図であ
る。従来のネットワーク上の可変レートデータの伝送の
場合、画像符号化部がその画像の難しさに応じて符号化
したデータについてその帯域を伝送路上で確保するもの
であり、図中(a)のように有効に利用できない帯域が
できる。本実施の形態のように行えば、常に帯域いっぱ
いで符号化を行うので帯域をすべて有効に利用すること
ができ、各映像データも多くのビット量を使って符号化
されることになり、高画質を実現できる。また、同等の
画質であれば、より多くの映像をネットワーク上で伝送
することができる。
As described above, according to the present embodiment, it is possible to transmit a video signal transmitted over a network with almost uniform image quality. FIG. 11 is a diagram illustrating a comparison of bandwidth utilization between a conventional transmission of variable-rate video data over a network and that according to the present embodiment. In the case of transmission of variable rate data on a conventional network, the image encoding unit secures the band of data encoded according to the difficulty of the image on a transmission path, as shown in FIG. There is a band that cannot be used effectively. According to the present embodiment, encoding is always performed with the entire band, so that the entire band can be used effectively, and each video data is also encoded using a large number of bits, which results in high coding. Image quality can be realized. Also, if the image quality is the same, more images can be transmitted on the network.

【0060】なお、本実施の形態では、各ノードが環状
に接続されたネットワーク上での形態を示したが、伝送
路上の映像に割り当てられるレートが保証され、伝送す
る際の遅延量が各ノードに送られ、符号化部が決めたデ
ータを伝送可能なネットワークであれば、他の形状のネ
ットワーク、伝送プロトコルが異なるネットワークでも
同様のことが行える。また、delay_initで示された遅延
時間は、Bmux_size−(delay_init×R)≧0の範囲内で
任意に設定できる。特に等号が成立するときは、最も効
率的な可変長符号化が行える。また、実施の形態1と同
様、特定の符号化部の設定を変えることで特定の映像の
み高画質に符号化することができる。また、本発明の方
法によれば、伝送周期毎に許される最大のデータ量を多
重することで少なくとも全帯域をそのエントリー数で割
った平均レートを確保することが可能であるため、平均
レートで符号化した映像信号を伝送することができる。
In the present embodiment, the form on the network in which the nodes are connected in a ring is shown. However, the rate assigned to the video on the transmission path is guaranteed, and the amount of delay in transmission is reduced by each node. If the network can transmit the data determined by the encoding unit, the same operation can be performed on a network of another shape or a network with a different transmission protocol. The delay time indicated by delay_init can be set arbitrarily within a range of Bmux_size− (delay_init × R) ≧ 0. In particular, when the equal sign holds, the most efficient variable length coding can be performed. Also, as in the first embodiment, by changing the setting of a specific encoding unit, only a specific video can be encoded with high image quality. Further, according to the method of the present invention, it is possible to secure an average rate at least by dividing the entire band by the number of entries by multiplexing the maximum data amount allowed for each transmission cycle. An encoded video signal can be transmitted.

【0061】また、本実施の形態では、伝送を行ってい
る映像数が変化していないときを説明したが、伝送する
映像数が途中で変ってもよい。そのときは、Bmux_size
およびdelay_mux値を更新してやればよい。また、delay
_mux値が映像の伝送数の変化によって負になってしまう
場合には、新たな映像を追加する前に、delay_mux値を
(数9)に基づいた値よりも小さく設定していき、新た
な映像を追加しても負にならない程度の遅延量を減らし
た後追加すればよい。
In this embodiment, the case where the number of transmitted images has not changed has been described. However, the number of transmitted images may change in the middle. In that case, Bmux_size
And update the delay_mux value. Also delay
If the _mux value becomes negative due to a change in the number of video transmissions, the delay_mux value is set smaller than the value based on (Equation 9) before adding a new video, and a new video is set. May be added after reducing the amount of delay that does not become negative even if is added.

【0062】また、本実施の形態における各ノードは、
図12に示すように、汎用のコンピュータに本実施の形
態で示したようなアルゴリズムをソフトウエアとして搭
載して実現することも可能であり、カメラで撮り込まれ
てくる映像信号、あるいは汎用コンピュータのハードデ
ィスクなどの記憶装置内の映像信号を符号化するような
構成も考えらる。
Each node in the present embodiment is
As shown in FIG. 12, it is also possible to implement the algorithm shown in the present embodiment as software on a general-purpose computer, and realize the image signal captured by a camera or the general-purpose computer. A configuration for encoding a video signal in a storage device such as a hard disk is also conceivable.

【0063】[0063]

【発明の効果】以上で説明したように本発明は、全体の
符号化量に基づき個々の符号化部が、その符号量および
多重するデータ量を制御するため、多重化部では、単純
な処理により規則的に多重するだけでよく、可変レート
での映像データ多重処理が各符号化部に分散された構成
となるため、特に処理能力が大きいプロセッサを多重化
部に用意する必要もなく実現が容易になる。各符号化部
が同じ多重化情報に基づき符号化するため、各符号化部
は、ほぼ同じ量子化幅で符号化することになり、多重化
される各映像信号は、その複雑さに応じて均等にデータ
が割り当てられることになり、多重化する映像の画質を
均等にすることができる。
As described above, according to the present invention, since each encoding unit controls the amount of code and the amount of data to be multiplexed based on the entire amount of encoding, the multiplexing unit uses simple processing. It is only necessary to multiplex the data in a regular manner, and the multiplexing process of video data at a variable rate is distributed to each encoding unit. Therefore, it is not necessary to prepare a processor with large processing capacity in the multiplexing unit. It will be easier. Since each encoding unit encodes based on the same multiplexing information, each encoding unit encodes with substantially the same quantization width, and each multiplexed video signal is divided according to its complexity. Data is evenly allocated, and the image quality of the multiplexed video can be equalized.

【0064】また、シーンチェンジなどの予期せぬ場合
であっても、その複雑さの増加に見合った符号量が割り
当てられ画質を維持できる。
Further, even in an unexpected case such as a scene change, a code amount commensurate with the increase in complexity is allocated and the image quality can be maintained.

【0065】また、本発明をLANのようなネットワーク
上での映像伝送に適用すると帯域を無駄無く各映像デー
タに分けて伝送が行うことができ、多チャンネルで高画
質で映像の途切れのない映像伝送が可能にでき、本発明
の実用的効果は大きい。
When the present invention is applied to video transmission over a network such as a LAN, the transmission can be performed by dividing the video data without wasting bandwidth, and the video can be transmitted on multiple channels with high image quality and without interruption. Transmission is possible, and the practical effect of the present invention is great.

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

【図1】本発明の第1の実施の形態における画像伝送装
置の構成図
FIG. 1 is a configuration diagram of an image transmission device according to a first embodiment of the present invention.

【図2】本発明の第1の実施の形態における映像符号化
部内にある符号化部の構成図
FIG. 2 is a configuration diagram of an encoding unit in a video encoding unit according to the first embodiment of the present invention.

【図3】本発明の第1の実施の形態における制御部14
での量子化幅の算出処理の説明図
FIG. 3 is a control unit 14 according to the first embodiment of the present invention.
Of the calculation of the quantization width in the system

【図4】本発明の第2の実施の形態における画像伝送装
置の説明図
FIG. 4 is an explanatory diagram of an image transmission device according to a second embodiment of the present invention.

【図5】本発明の第2の実施の形態におけるパケットの
ヘッダフォーマットの説明図
FIG. 5 is an explanatory diagram of a header format of a packet according to the second embodiment of the present invention.

【図6】本発明の第2の実施の形態における各ノード間
の通信方法の説明図
FIG. 6 is an explanatory diagram of a communication method between each node according to the second embodiment of the present invention.

【図7】本発明の第2の実施の形態における反応係数制
御部の説明図
FIG. 7 is an explanatory diagram of a reaction coefficient control unit according to the second embodiment of the present invention.

【図8】本発明の第2実施の形態において映像伝送パケ
ットのによる映像データ伝送例の説明図
FIG. 8 is an explanatory diagram of an example of video data transmission using a video transmission packet in the second embodiment of the present invention.

【図9】本発明の第2の実施の形態における帯域管理ノ
ードが生成するパケットを説明する図
FIG. 9 is a diagram illustrating a packet generated by a bandwidth management node according to the second embodiment of the present invention.

【図10】本発明の第2の実施の形態におけるノードの
構成図
FIG. 10 is a configuration diagram of a node according to the second embodiment of the present invention;

【図11】従来技術と第2の実施の形態によるものとの
帯域の利用度の比較の説明図
FIG. 11 is an explanatory diagram of comparison of band utilization between the prior art and the second embodiment.

【図12】本発明を汎用のコンピュータにアルゴリズム
を搭載したときの構成図
FIG. 12 is a configuration diagram when the present invention is installed in a general-purpose computer.

【図13】従来の画像伝送装置の構成図FIG. 13 is a configuration diagram of a conventional image transmission device.

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

1,2,3 映像符号化部 4,5,6 符号化部 7,8,9 中間出力バッファ 10 多重化部 10a 読み込み送出制御部 10b 送出バッファ 11 基本符号化部 11a 差分処理部 11b DCT処理部 11c 量子化処理部 11d 可変長符号化部 11e フレーム間予測部 12 ビットカウンタ 13 バッファ 14 制御部 15 帯域管理ノード 16,17,18,19 ノード 20 パケット処理部 21 制御部 22 中間バッファ 23 符号化部 24 映像再生部 101,102,103 映像符号化部 104 多重化部画像並び替え処理部 1,2,3 Video encoding unit 4,5,6 Encoding unit 7,8,9 Intermediate output buffer 10 Multiplexing unit 10a Reading / transmission control unit 10b Transmission buffer 11 Basic encoding unit 11a Difference processing unit 11b DCT processing unit 11c Quantization processing unit 11d Variable length coding unit 11e Inter-frame prediction unit 12 Bit counter 13 Buffer 14 Control unit 15 Band management node 16, 17, 18, 19 node 20 Packet processing unit 21 Control unit 22 Intermediate buffer 23 Encoding unit 24 video reproducing unit 101, 102, 103 video encoding unit 104 multiplexing unit image rearrangement processing unit

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 複数の画像符号化部と伝送処理部を具備
し、 前記伝送処理部は、多重タイミング毎に各画像符号化部
から指示される符号化データを多重化し所定の伝送路に
伝送するとともに、前記各画像符号化部の符号化データ
量に基づいて計算され、デコーダに伝送されるまでの遅
延量が計算できる多重化情報を前記各画像符号化部に送
り、 前記複数の画像符号化部は、前記伝送処理部からの多重
化情報に基づき、画像の符号化における量子化の際の量
子化幅を決定し、前記画像を符号化するとともに前記符
号化データを前記多重タイミング毎に伝送処理部に伝送
し指示することを特徴とする画像伝送装置。
1. A transmission processing unit comprising: a plurality of image encoding units; and a transmission processing unit, wherein the transmission processing unit multiplexes encoded data specified by each image encoding unit at each multiplex timing and transmits the multiplexed data to a predetermined transmission path. And multiplexing information, which is calculated based on the amount of encoded data of each of the image encoding units and can calculate the amount of delay until transmission to a decoder, is sent to each of the image encoding units. The encoding unit determines a quantization width at the time of quantization in image encoding based on the multiplexing information from the transmission processing unit, encodes the image, and encodes the encoded data for each of the multiplex timings. An image transmission device for transmitting and instructing a transmission processing unit.
【請求項2】 伝送処理部は、伝送用バッファを具備
し、 多重タイミング毎に各画像符号化部が指示する符号化デ
ータを伝送用バッファに取り込み、取り込み順に所定の
伝送レートにしたがって出力するとともに符号化データ
の伝送用バッファ中の占有量を多重化情報として出力す
ることを特徴とする請求項1記載の画像伝送装置。
2. A transmission processing unit includes a transmission buffer, fetches coded data designated by each image coding unit into a transmission buffer at each multiplex timing, and outputs the coded data according to a predetermined transmission rate in the fetching order. 2. The image transmission apparatus according to claim 1, wherein the occupation amount of the encoded data in the transmission buffer is output as multiplexing information.
【請求項3】 各画像符号化部は、量子化幅決定手段と
前記量子化幅決定手段により指示される量子化幅で量子
化することによって画像を符号化する基本符号化処理部
をもち、 前記量子化幅決定手段は、前記各画像符号化部から伝送
処理部を通して伝送された符号化データを受信する複数
のデコーダのデコーダバッファ占有量を多重化情報より
算出し、算出したデコーダバッファ占有量および符号化
後未伝送にある符号化データの量に基づき量子化幅を設
定することを特徴とする請求項1記載の画像伝送装置。
3. Each of the image encoding units has a quantization width determination unit and a basic encoding processing unit that encodes an image by performing quantization with a quantization width indicated by the quantization width determination unit. The quantization width determination means calculates the decoder buffer occupancy of the plurality of decoders that receive the coded data transmitted from each of the image coding units through the transmission processing unit from the multiplexing information, and calculates the calculated decoder buffer occupancy. 2. The image transmission apparatus according to claim 1, wherein the quantization width is set based on the amount of encoded data that has not been transmitted after encoding.
【請求項4】 各画像符号化部はさらに、符号化データ
を一時記憶する符号化データ記憶部をもち、 前記符号化データ記憶部は、伝送タイミング毎に前記符
号化データのうち、伝送処理部に送られていない未伝送
データを一時記憶し、予め全画像符号化部で設定してお
かれた上限値、あるいは受信側で想定されるデコーダバ
ッファサイズより多重化情報に基づき算出されたデコー
ダ占有量を減算したものの値を上限値として前記符号化
データを伝送処理部に伝送することを特徴とする請求項
1記載の画像伝送装置。
4. Each of the image encoding units further includes an encoded data storage unit that temporarily stores encoded data, wherein the encoded data storage unit includes a transmission processing unit of the encoded data for each transmission timing. Temporarily stores the untransmitted data that has not been sent to the decoder, and the decoder occupancy calculated based on the multiplexing information from the upper limit value set in advance by the entire image encoding unit or the decoder buffer size assumed on the receiving side. 2. The image transmission apparatus according to claim 1, wherein the coded data is transmitted to a transmission processing unit using a value obtained by subtracting the amount as an upper limit.
【請求項5】 複数の画像符号化部から符号化データを
入力する伝送処理装置であって、伝送用バッファを具備
し多重タイミング毎に各画像符号化部が指示する符号化
データを伝送用バッファに取り込み、取り込み順に伝送
レートにしたがって出力するとともに、符号化データの
伝送用バッファ中の占有量を多重化情報として出力する
ことを特徴とした伝送処理装置。
5. A transmission processing device for inputting encoded data from a plurality of image encoding units, comprising a transmission buffer, and transmitting the encoded data designated by each image encoding unit for each multiplex timing. A transmission processing device for outputting the occupied amount of encoded data in a transmission buffer as multiplexed information while outputting the data in accordance with the transmission rate in the order of capture.
【請求項6】 量子化幅決定手段と前記量子化幅決定手
段により指示される量子化幅で量子化することによって
画像を符号化する基本符号化処理部をもち、 前記量子化幅決定手段は、仮想デコーダに伝送されるま
での遅延量が計算できる多重化情報と、前記多重化情報
より算出した仮想デコーダバッファ占有量と、符号化後
未伝送にある符号化データの量とに基づき量子化幅を決
定することを特徴とする画像符号化装置。
6. A quantization width determination unit, comprising: a basic encoding processing unit that encodes an image by performing quantization with a quantization width specified by the quantization width determination unit; Quantization based on multiplexing information that can calculate the amount of delay before transmission to the virtual decoder, virtual decoder buffer occupancy calculated from the multiplexing information, and the amount of encoded data that has not been transmitted after encoding. An image coding apparatus for determining a width.
【請求項7】 符号化データを一時記憶する符号化デー
タ記憶部をさらにもち、 前記符号化データ記憶部は、伝送タイミング毎に前記符
号化データのうち、まだ送られていない未伝送データを
一時記憶し、予め画像符号化装置で設定しておかれた上
限値、あるいは受信側で想定されるデコーダバッファサ
イズより多重化情報に基づき算出された仮想デコーダバ
ッファ占有量を減算したものの値を上限値として前記符
号化データを出力することを特徴とする請求項6記載の
画像符号化装置。
7. An encoded data storage unit for temporarily storing encoded data, wherein the encoded data storage unit temporarily stores untransmitted data that has not been transmitted among the encoded data at each transmission timing. The upper limit value stored and subtracted from the virtual decoder buffer occupancy calculated based on the multiplexing information from the decoder buffer size assumed on the receiving side or the decoder buffer size assumed on the receiving side. 7. The image encoding apparatus according to claim 6, wherein the encoded data is output as a value.
【請求項8】 伝送路上の帯域管理を行う帯域管理部と
1つ以上の画像符号化部からなり、 前記帯域管理部は、伝送路上にある前記1つ以上の画像
符号化部の伝送レートの総計の帯域を定め、伝送タイミ
ング毎にある画像符号化部で伝送要求される符号化デー
タの送信を許可し、その許可にしたがって変化する送信
遅延に関する伝送情報を伝送路上の別の画像符号化部に
送信し、 前記1つ以上の画像符号化部はそれぞれ、前記伝送情報
および未送信の符号化データおよび想定される受信側の
バッファサイズに基づいた量子化幅で量子化することに
よって画像を符号化することを特徴とする画像伝送装
置。
8. A band management unit for performing band management on a transmission path, and one or more image encoding units, wherein the band management unit determines a transmission rate of the one or more image encoding units on the transmission path. A total bandwidth is determined, transmission of encoded data requested to be transmitted by one image encoding unit is permitted at each transmission timing, and transmission information on a transmission delay that changes according to the permission is transmitted to another image encoding unit on the transmission path. The one or more image encoding units each encode an image by quantizing with the quantization width based on the transmission information, the untransmitted encoded data, and the assumed buffer size of the receiving side. An image transmission apparatus characterized in that the image transmission apparatus comprises:
【請求項9】 複数の画像符号化部の伝送レートを管理
する帯域管理装置であって、 伝送路上のすべての画像符号化部の伝送レートの総計の
帯域を定め、伝送タイミング毎にある画像符号化部で伝
送要求される符号化データの送信を許可し、その許可に
したがって変化する送信遅延に関する伝送情報を伝送路
上の別の画像符号化部に送信することを特徴とする帯域
管理装置。
9. A band management device for managing transmission rates of a plurality of image encoding units, comprising: determining a total bandwidth of transmission rates of all image encoding units on a transmission path; A band management device that permits transmission of encoded data requested to be transmitted by an encoding unit, and transmits transmission information relating to a transmission delay that changes according to the permission to another image encoding unit on a transmission path.
【請求項10】 送信許可量にしたがって変化する送信
遅延に関する伝送情報および未送信の符号化データおよ
び想定される受信側のバッファサイズに基づき量子化す
る量子化幅を設定し画像を符号化することを特徴とする
画像符号化装置。
10. Encoding an image by setting a quantization width to be quantized based on transmission information relating to transmission delay that changes according to a transmission permission amount, untransmitted encoded data, and an assumed buffer size on a receiving side. An image encoding device characterized by the above-mentioned.
【請求項11】 量子化幅決定ステップと前記量子化幅
決定ステップにより指示される量子化幅で量子化するこ
とによって画像を符号化する基本符号化処理ステップを
もち、 前記量子化幅決定ステップは、仮想デコーダに伝送され
るまでの遅延量が計算できる多重情報と、前記多重化情
報より算出した仮想デコーダバッファ占有量と、符号化
後未伝送にある符号化データの量に基づき量子化幅を設
定することを特徴とする画像符号化方法。
11. A quantization width determination step, and a basic encoding processing step of encoding an image by quantizing with a quantization width indicated by the quantization width determination step, wherein the quantization width determination step is performed. The quantization width is calculated based on multiplexed information from which the amount of delay until transmission to the virtual decoder can be calculated, the virtual decoder buffer occupancy calculated from the multiplexed information, and the amount of coded data that has not been transmitted after encoding. An image encoding method characterized by setting.
【請求項12】 伝送タイミング毎に、符号化データの
うちまだ送られていない未伝送データを一時記憶し、予
め画像符号化装置で設定しておかれた上限値、あるいは
受信側で想定されるデコーダバッファサイズより多重化
情報に基づき算出されたデコーダ占有量を減算したもの
値を上限値として前記符号化データを出力することを特
徴とする請求項11記載の画像符号化方法。
12. At each transmission timing, untransmitted data that has not been transmitted among encoded data is temporarily stored, and an upper limit value previously set in the image encoding device or assumed on the receiving side. 12. The image encoding method according to claim 11, wherein the encoded data is output with a value obtained by subtracting a decoder occupancy calculated based on multiplexing information from a decoder buffer size as an upper limit value.
【請求項13】 送信許可量にしたがって変化する送信
遅延に関する伝送情報および未送信の符号化データおよ
び想定される受信側のバッファサイズに基づき量子化す
る量子化幅を設定し画像を符号化することを特徴とする
画像符号化方法。
13. Encoding an image by setting a quantization width for quantization based on transmission information relating to a transmission delay that changes according to a transmission permission amount, untransmitted encoded data, and an assumed buffer size on a receiving side. An image encoding method characterized by the following.
JP19671697A 1996-11-08 1997-07-23 Image transmitter, image coding method and image coder Pending JPH1141608A (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP19671697A JPH1141608A (en) 1997-07-23 1997-07-23 Image transmitter, image coding method and image coder
EP97119430A EP0841820A3 (en) 1996-11-08 1997-11-06 Method and apparatus for encoding, multiplexing and transmitting a video signal
CNB971264694A CN1162001C (en) 1996-11-08 1997-11-07 Motion picture coding apparatus and method for coding a plurality of moving pictures
US08/967,351 US6381254B1 (en) 1996-11-08 1997-11-07 Moving image encoding device/method, moving image multiplexing device/method, and image transmission device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19671697A JPH1141608A (en) 1997-07-23 1997-07-23 Image transmitter, image coding method and image coder

Publications (1)

Publication Number Publication Date
JPH1141608A true JPH1141608A (en) 1999-02-12

Family

ID=16362415

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19671697A Pending JPH1141608A (en) 1996-11-08 1997-07-23 Image transmitter, image coding method and image coder

Country Status (1)

Country Link
JP (1) JPH1141608A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004054148A1 (en) * 2002-12-11 2004-06-24 Sony Corporation Encoding/transmission device and encoding/transmission method
JP2006345063A (en) * 2005-06-07 2006-12-21 Oki Electric Ind Co Ltd Quantization apparatus, coding apparatus, quantization method, and coding method
JP2008125120A (en) * 2008-01-07 2008-05-29 Sony Corp Encoder
JP2012222571A (en) * 2011-04-07 2012-11-12 Canon Inc Distribution apparatus and video distribution method
JP2017525311A (en) * 2014-06-20 2017-08-31 サムスン エレクトロニクス カンパニー リミテッド Method and apparatus for providing heterogeneous network-based broadcast service

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004054148A1 (en) * 2002-12-11 2004-06-24 Sony Corporation Encoding/transmission device and encoding/transmission method
US8699527B2 (en) 2002-12-11 2014-04-15 Sony Corporation Encoding/transmitting apparatus and encoding/transmitting method
US9843798B2 (en) 2002-12-11 2017-12-12 Sony Corporation Encoding/transmitting apparatus and encoding/transmitting method
US10264251B2 (en) 2002-12-11 2019-04-16 Sony Corporation Encoding/transmitting apparatus and encoding/transmitting method
US10812789B2 (en) 2002-12-11 2020-10-20 Sony Corporation Encoding/transmitting apparatus and encoding/transmitting method
JP2006345063A (en) * 2005-06-07 2006-12-21 Oki Electric Ind Co Ltd Quantization apparatus, coding apparatus, quantization method, and coding method
JP2008125120A (en) * 2008-01-07 2008-05-29 Sony Corp Encoder
JP2012222571A (en) * 2011-04-07 2012-11-12 Canon Inc Distribution apparatus and video distribution method
JP2017525311A (en) * 2014-06-20 2017-08-31 サムスン エレクトロニクス カンパニー リミテッド Method and apparatus for providing heterogeneous network-based broadcast service
US10903921B2 (en) 2014-06-20 2021-01-26 Samsung Electronics Co., Ltd. Method and device for providing heterogeneous network-based broadcast service

Similar Documents

Publication Publication Date Title
KR100932692B1 (en) Transmission of Video Using Variable Rate Modulation
US7958532B2 (en) Method of transmitting layered video-coded information
US6381254B1 (en) Moving image encoding device/method, moving image multiplexing device/method, and image transmission device
US8923410B2 (en) Information transmission apparatus and information transmission method
JPH07107096A (en) Method and apparatus for two-layer encoding of video signal for atm network
JP2003244695A (en) Video information transmission system, device and program used therefor
JP3908789B2 (en) Video transmission system
JPH09510070A (en) Buffer management for variable bit rate compression systems
JP2009182442A (en) Video encoding / decoding system, video encoding device and video decoding device used therefor
JP3668110B2 (en) Image transmission system and image transmission method
JP2001094997A (en) Data transmission rate controller adaptive to network bandwidth
WO2002005566A1 (en) Image coding apparatus and image coding method
JP2005322995A (en) Buffer control method in real-time video image transfer, transmitting terminal, receiving terminal, video image distributing system and program
US20070110168A1 (en) Method for generating high quality, low delay video streaming
US7558323B2 (en) Video data transmission method for changing transmission data amounts in accordance with a transmission speed and a transmission system therefor
JPH09512396A (en) Multiplexer system with constant bit rate encoder
JPH1141608A (en) Image transmitter, image coding method and image coder
US6674804B1 (en) Method for generating a multiplexed sequence of media units
US20100272170A1 (en) Image encoding apparatus, image encoding method and medium on which image encoding program is recorded
JPH1013826A (en) Picture encoder, its method, picture decoder, its method, picture transmitter, picture receiver and recording medium
JPH09512400A (en) A system for dynamically allocating scarce resources
KR100665102B1 (en) A video coding rate control method considering the length of a transport packet and a video encoding apparatus using the same
CN113747209A (en) Method and device for recombining multi-channel TS (transport stream) programs
KR100899666B1 (en) Distributed multistreaming transmission device
JP5031230B2 (en) Data transmission apparatus and method