JPH0514876A - Moving image encoding system - Google Patents

Moving image encoding system

Info

Publication number
JPH0514876A
JPH0514876A JP3191130A JP19113091A JPH0514876A JP H0514876 A JPH0514876 A JP H0514876A JP 3191130 A JP3191130 A JP 3191130A JP 19113091 A JP19113091 A JP 19113091A JP H0514876 A JPH0514876 A JP H0514876A
Authority
JP
Japan
Prior art keywords
state
amount
quantization parameter
buffer memory
information amount
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
JP3191130A
Other languages
Japanese (ja)
Inventor
Hideaki Suzuki
秀明 鈴木
Masahiro Yasuoka
正博 安岡
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP3191130A priority Critical patent/JPH0514876A/en
Publication of JPH0514876A publication Critical patent/JPH0514876A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To control the average amount of information which is generated after encoding process to the intended amount per unit time, regardless of the nature of inputted moving image data, and to suppress image quality fluctuation of a reproduced image caused by controlling of information amount to a minimum which is required. CONSTITUTION:A transformation coefficient related with orthogonal transformation of an original image data is, by a quantization circuit 5, quantized at a quantization step width corresponding to the quantization parameter which comes from a quantization parameter control circuit 17, and then supplied to a variable length encoding circuit 6 so as to become an encoded data. This encoded data is supplied to a buffer memory 8 so as to be stored, and then read out at a specified speed. The quantization parameter control circuit 17 sets, in proportion to both the amount of accumulated data in the buffer memory 8 as of after encoding processing and to that as of in the past, a quantization parameter so as to obtain a quantization step width by which an information amount can be made optimum in the next encoding process.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ディジタル動画像デー
タのデータ圧縮を行なう動画像符号化方式に係り、特
に、フィードバック型の情報量制御技術を用いた動画像
符号化方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving picture coding system for compressing digital moving picture data, and more particularly to a moving picture coding system using a feedback type information amount control technique.

【0002】[0002]

【従来の技術】高能率符号化されたディジタル動画像デ
ータ(以下、符号化データという)をデータ通信回線に
より伝送、またはデータ記録メディアに記録するには、
データ通信回線の伝送速度やデータ記録メディアの転送
速度に制限があるため、データ圧縮された符号化データ
の発生情報量を制御する情報量制御が必須な技術となっ
ている。
2. Description of the Related Art In order to transmit highly efficient encoded digital moving image data (hereinafter referred to as encoded data) through a data communication line or record it on a data recording medium,
Since the transmission speed of the data communication line and the transfer speed of the data recording medium are limited, the information amount control for controlling the generated information amount of the data-compressed encoded data is an essential technique.

【0003】一般に、このような動画像符号化方式で
は、処理の容易さ等からデータ圧縮された符号化データ
を一旦バッファメモリに蓄え、しかる後、データ通信回
線の伝送速度またはデータ記録メディアの転送速度に応
じた速度でこの符号化データをバッファメモリから読み
出して伝送または記録する。また、バッファメモリに蓄
えられている未送出のデータ量、すなわちバッファメモ
リ蓄積量に応じて、次の符号化処理での量子化回路の量
子化ステップ幅を決定する。バッファメモリ蓄積量が多
くなった場合には、量子化ステップ幅を大きくすること
により、発生情報量を抑えてバッファメモリ蓄積量を減
らすように制御し、逆にバッファメモリ蓄積量が少なく
なった場合には、量子化ステップ幅を小さくすることに
より、発生情報量を多くしてバッファメモリ蓄積量を増
やすように制御する。そして、バッファメモリがオーバ
ーフローした際には、符号化処理を中止するか、あるい
は、決められた範囲の量子化ステップ幅よりもさらに大
きな量子化ステップ幅でもって次の符号化処理を行い、
発生情報量を制御するようにしている。
In general, in such a moving picture coding system, coded data compressed for data processing is temporarily stored in a buffer memory, and then the transmission speed of a data communication line or the transfer of a data recording medium. The encoded data is read from the buffer memory at a speed according to the speed and transmitted or recorded. Also, the quantization step width of the quantization circuit in the next encoding process is determined according to the amount of untransmitted data stored in the buffer memory, that is, the buffer memory storage amount. When the buffer memory storage amount is large, the quantization step width is increased to control the amount of generated information and reduce the buffer memory storage amount. Conversely, when the buffer memory storage amount is reduced In order to reduce the quantization step width, the generated information amount is increased and the buffer memory storage amount is increased. Then, when the buffer memory overflows, the encoding process is stopped, or the next encoding process is performed with a quantization step width larger than the quantization step width of the determined range,
The amount of generated information is controlled.

【0004】バッファメモリ蓄積量によって量子化ステ
ップ幅を決定するフィードバック型の発生情報量制御
は、図15の式(1)で表わされる。ここで、Qは量子
化ステップ幅、BOはバッファメモリ蓄積量、OFSは
量子化ステップ幅のオフセット値、INT()は0に向
かっての切捨て、BMはバッファメモリのバッファサイ
ズ、QRは量子化ステップの個数であり、Sは図15の
式(2)で表わされる。
Feedback type information generation control for determining the quantization step width based on the buffer memory storage amount is expressed by equation (1) in FIG. Here, Q is the quantization step width, BO is the buffer memory storage amount, OFS is the offset value of the quantization step width, INT () is rounded down toward 0, BM is the buffer size of the buffer memory, and QR is the quantization. It is the number of steps, and S is represented by the equation (2) in FIG.

【0005】なお、このような動画像符号化方式に関連
するものは、例えば、特開平2−222388号公報に
記載されている。
A system related to such a moving picture coding system is described in, for example, Japanese Patent Application Laid-Open No. 2-222388.

【0006】[0006]

【発明が解決しようとする課題】上記従来技術は、TV
会議システムやTV電話などのディジタル動画像データ
の高能率圧縮に広く用いられている。TV会議やTV電
話等での画像信号は、背景が固定で人物のみが動くとい
ったように動き領域が小さく静止領域が多い画像、即ち
画面間の相関が非常に強い画像からなつており、このた
め、符号化処理後の発生情報量はほぼ均一になる。従っ
て、上記従来技術によれば、バッファメモリ蓄積量を用
いて、平均発生情報量をデータ通信回線の所定伝送速度
やデータ記録メディアの所定転送速度から求められる単
位時間当りの情報量になるように制御することができ
る。
SUMMARY OF THE INVENTION The above-mentioned prior art is based on a TV.
It is widely used for high-efficiency compression of digital moving image data in conference systems and TV phones. The image signal in a TV conference or a videophone is composed of an image in which the moving area is small and there are many static areas such as only the person moving, that is, an image in which the correlation between screens is very strong. The amount of generated information after the encoding process is almost uniform. Therefore, according to the above-mentioned conventional technique, the buffer memory storage amount is used so that the average generated information amount becomes the information amount per unit time obtained from the predetermined transmission speed of the data communication line or the predetermined transfer speed of the data recording medium. Can be controlled.

【0007】しかし、通常の動画を表わすテレビジョン
信号等のような画像信号の場合には、パニング、ズーミ
ング等のカメラ効果や絵柄の細かい画像、動きの激しい
画像等画像が時々刻々と変化することから、この変化に
応じて発生情報量も大きく変動することになる。このよ
うな画像信号に上記従来技術を用いた場合、発生情報量
が時々刻々と変化することによってバッファメモリ内に
蓄積されているデータ量も変動し、これに伴なって量子
化ステップ幅の切換え制御が頻繁に行なわれることにな
る。このため、平均発生情報量をデータ通信回線やデー
タ記録メディアに適合した単位時間当りの情報量になる
ように制御することが困難になるばかりでなく、量子化
ステップ幅の変化による再生画像の画質の変動を引き起
こしてしまう。
However, in the case of an image signal such as a television signal representing a normal moving image, a camera effect such as panning and zooming, an image with a fine pattern, an image with a large amount of movement, and the like change from moment to moment. Therefore, the amount of generated information also greatly changes according to this change. When the above-mentioned conventional technique is used for such an image signal, the amount of generated information changes from moment to moment, so that the amount of data stored in the buffer memory also changes, and the quantization step width is switched accordingly. Control will be performed frequently. Therefore, it is not only difficult to control the average amount of generated information to be the amount of information per unit time that is suitable for the data communication line and the data recording medium, but also the image quality of the reproduced image due to the change in the quantization step width. Will cause fluctuations in.

【0008】本発明の目的は、かかる問題を解消し、入
力動画像データの性質に関係なく、符号化処理後の平均
発生情報量をデータ通信回線の所定伝送速度やデータ記
録メディアの所定転送速度から求められる単位時間当り
の情報量となるように制御でき、かつ情報量制御に伴な
う再生画像の画質変動を必要最小限に抑えることができ
るようにした動画像符号化方式を提供することにある。
An object of the present invention is to solve such a problem, and to determine the average amount of generated information after encoding processing regardless of the nature of input moving image data by a predetermined transmission rate of a data communication line or a predetermined transfer rate of a data recording medium. To provide a moving picture coding method capable of controlling the amount of information per unit time obtained from the above, and suppressing the image quality fluctuation of a reproduced image due to the information amount control to a necessary minimum. It is in.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、動画像の原画像データを直交変換して得
られる変換係数を量子化、可変長符号化して符号化デー
タとし、該符号化データをバッファメモリに一旦記憶し
て所定の速度で読み出すようにしたものであって、該バ
ッファメモリでの該符号化データの蓄積状態を判定する
蓄積状態判定手段と、該蓄積状態判定手段からの該バッ
ファメモリの過去の蓄積状態の判定出力を保持する状態
記憶手段と、該蓄積状態判定手段の判定出力と該状態記
憶手段の保持判定出力と該バッファメモリの蓄積量とか
ら量子化パラメータを決定する量子化パラメータ制御決
定手段とからなる量子化パラメータ制御手段を設け、次
の上記量子化に際しての量子化ステップ幅を該量子化パ
ラメータに応じたものとする。
To achieve the above object, the present invention quantizes transform coefficients obtained by orthogonally transforming original image data of a moving image and performs variable length coding to obtain coded data, The coded data is temporarily stored in a buffer memory and read at a predetermined speed, and a storage state determination means for determining a storage state of the coded data in the buffer memory and the storage state determination Quantization from state storage means for holding the determination output of the past accumulation state of the buffer memory from the means, the determination output of the accumulation state determination means, the holding determination output of the state storage means, and the storage amount of the buffer memory A quantization parameter control means including a quantization parameter control determination means for determining a parameter is provided, and the quantization step width for the next quantization is determined according to the quantization parameter. And the.

【0010】また、本発明は、動画像の原画像データを
直交変換して得られる変換係数を量子化、可変長符号化
して符号化データを得、該符号化データをバッファメモ
リに一旦記憶して所定の速度で読み出すようにしたもの
であって、該符号化データの発生情報量を算出する情報
量算出手段と、該情報量算出手段からの発生情報量の状
態を判定する情報量状態判定手段と、該情報量状態判定
手段からの判定出力を保持し過去の発生情報量の状態の
判定出力として出力する状態記憶手段と、該情報量状態
判定手段の判定出力と該状態記憶手段からの過去の判定
出力と符号化処理後の該バッファメモリの蓄積量とから
量子化パラメータを決定する量子化パラメータ制御決定
手段とからなる量子化パラメータ制御手段を設け、上記
量子化に際しての量子化ステップ幅を該量子化パラメー
タに応じたものとする。
Further, according to the present invention, transform coefficients obtained by orthogonally transforming original image data of a moving image are quantized and variable length coded to obtain coded data, and the coded data is temporarily stored in a buffer memory. The information amount calculation means for calculating the generated information amount of the encoded data, and the information amount state determination for determining the state of the generated information amount from the information amount calculation means Means, a state storage means for holding the determination output from the information amount state determination means and outputting it as a determination output for the state of the past generated information amount, a determination output of the information amount state determination means, and a state storage means from the state storage means. Quantization parameter control means including a quantization parameter control determination means for determining a quantization parameter from the past determination output and the storage amount of the buffer memory after the encoding processing is provided, Coca step width is assumed in accordance with the quantization parameter.

【0011】さらに、本発明は、量子化パラメータ制御
手段で決定された量子化パラメータを、バッファメモリ
蓄積状態または発生情報量状態に応じて、次の符号化処
理のためのより最適な量子化パラメータへ補正する量子
化パラメータ補正手段を設ける。
Further, according to the present invention, the quantization parameter determined by the quantization parameter control means is converted into a more optimal quantization parameter for the next encoding process according to the buffer memory storage state or the generated information amount state. Quantization parameter correcting means for correcting to is provided.

【0012】[0012]

【作用】蓄積状態比較判定手段は、バッファメモリ蓄積
量、即ちバッファメモリでのデータ通信回線やデータ記
録メディアへの未送出分の符号化データの蓄積度合がど
の程度であるかを判定し、情報量状態判定手段は、符号
化処理後の発生情報量が、動画像符号化方式におけるフ
レーム構造とデータ通信回線の所定伝送速度やデータ記
録メディアの所定転送速度とから決まる符号化されるフ
レームに割り当てられる情報量と比較して発生情報量が
どの程度であるのかを判定する。
The storage state comparison / determination means determines the storage amount of the buffer memory, that is, the storage degree of the untransmitted encoded data to the data communication line or the data recording medium in the buffer memory, and The quantity state determination means assigns the generated information quantity after the coding processing to the coded frame determined by the frame structure in the moving picture coding system and the predetermined transmission rate of the data communication line or the predetermined transfer rate of the data recording medium. The amount of generated information is compared with the amount of information that is generated.

【0013】量子化パラメータ制御手段は、該蓄積量状
態判定手段からのバッファメモリ蓄積状態データまたは
該情報量状態判定手段からの発生情報量状態データとバ
ッファメモリの蓄積量とにより、平均発生情報量を単位
時間当りの情報量へ制御するために適応的に処理し、次
の符号化処理での量子化パラメータを設定する。
The quantization parameter control means determines the average generated information amount by the buffer memory accumulated state data from the accumulated amount state judging means or the generated information amount state data from the information amount state judging means and the accumulated amount of the buffer memory. Is adaptively processed to control the amount of information per unit time, and the quantization parameter for the next encoding process is set.

【0014】量子化パラメータ補正手段は、符号化処理
後のバッファメモリでの蓄積状態または発生情報量状態
の情報を用いることにより、設定された上記の量子化パ
ラメータを、次の符号化処理に対してより最適なものと
するために、適応的に補正する。
The quantization parameter correction means uses the information on the storage state or generated information amount state in the buffer memory after the encoding process to set the above-mentioned quantization parameter to the next encoding process. In order to make it more optimal, it is adaptively corrected.

【0015】このようにして、符号化処理後のバッファ
メモリのデータ蓄積量または発生情報量の状態変化の様
子から、次の符号化処理に最適な量子化パラメータが設
定さ
In this way, the optimum quantization parameter for the next encoding process is set from the state of the state of change in the data storage amount or generated information amount in the buffer memory after the encoding process.

【0016】れることになる。It will be done.

【実施例】以下、本発明の実施例を図面を用いて説明す
る。図1は情報量制御方式を適用した本発明による動画
像符号化装置の一実施例を示すブロック図であって、1
は原画像データの入力端子、2は単位ブロック変換回
路、3はデータ減算回路、4は直交変換回路、5は量子
化回路、6は可変長符号化回路、7はデータ多重回路、
8はバッファメモリ、9は符号化データの出力端子、1
0は逆量子化回路、11は逆直交変換回路、12はデー
タ加算回路、13はフレームメモリ、14は動き補償回
路、15は動きベクトル検出回路、16は動きベクトル
符号化回路、17は量子化パラメータ制御回路である。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a moving picture coding apparatus according to the present invention to which an information amount control method is applied.
Is an input terminal for original image data, 2 is a unit block conversion circuit, 3 is a data subtraction circuit, 4 is an orthogonal conversion circuit, 5 is a quantization circuit, 6 is a variable length coding circuit, 7 is a data multiplexing circuit,
8 is a buffer memory, 9 is an output terminal for encoded data, 1
0 is an inverse quantization circuit, 11 is an inverse orthogonal transformation circuit, 12 is a data addition circuit, 13 is a frame memory, 14 is a motion compensation circuit, 15 is a motion vector detection circuit, 16 is a motion vector coding circuit, and 17 is a quantization. It is a parameter control circuit.

【0017】同図において、ディジタル化された映像信
号である原画像データが入力端子1から入力され、単位
ブロック変換回路2で符号化処理単位となる8×8画素
のブロックに変換される。ブロック化された原画像デー
タはデータ減算回路3で動き補償回路14からの動き補
償予測画像データが減算され、その差である動き補償予
測誤差データが生成される。この動き補償予測画像デー
タは、既に符号化処理済みの過去のフレームの画像デー
タから動き補償によって予測された画像データである。
In the figure, original image data which is a digitized video signal is input from an input terminal 1 and converted by a unit block conversion circuit 2 into a block of 8 × 8 pixels which is a unit of encoding processing. The data subtraction circuit 3 subtracts the motion-compensated prediction image data from the motion compensation circuit 14 from the block-shaped original image data to generate motion-compensated prediction error data which is the difference between them. The motion-compensated predicted image data is image data predicted by motion compensation from image data of past frames that have already been encoded.

【0018】得られた動き補償予測誤差データは直交変
換回路4で8×8画素をブロックとする2次元ディスク
リートコサイン変換処理がなされ、この変換処理によっ
て得られた周波数成分に相当する変換係数は量子化回路
5で所定の量子化ステップ幅で量子化される。そして、
量子化された変換係数に対し、可変長符号化回路6で、
発生頻度が高いデータに短い符号が、発生頻度が低いデ
ータに長い符号が夫々割り当てられるように、符号割当
てが行なわれ、符号化データが形成される。
The obtained motion-compensated prediction error data is subjected to a two-dimensional discrete cosine transform process in which a block of 8 × 8 pixels is performed by the orthogonal transform circuit 4, and the transform coefficient corresponding to the frequency component obtained by this transform process is a quantum. The quantization circuit 5 quantizes with a predetermined quantization step width. And
For the quantized transform coefficient, the variable length coding circuit 6
Code assignment is performed so that short codes are assigned to data with high occurrence frequency and long codes are assigned to data with low occurrence frequency, and encoded data is formed.

【0019】かかる符号化データは、データ多重回路7
により、付加情報の動きベクトル符号化データと量子化
ステップ幅の情報とが多重され、一旦バッファメモリ8
に蓄えられた後、データ通信回線の伝送速度やデータ記
録メディアの転送速度に応じた速度で読み出されて出力
端子9から出力される。この動きベクトル符号化データ
は動き補償に用いられる動きベクトルの情報であり、動
きベクトル符号化回路16で形成されるものである。ま
た、量子化ステップ幅の情報は、1フレームの符号化処
理が終了した時点でバッファメモリ8に蓄えられている
1フレーム分の符号化データのデータ量(バッファメモ
リ蓄積量)から、量子化パラメータ制御回路17によ
り、適応的に決定された量子化パラメータの情報であ
り、この情報によって量子化回路5での量子化ステップ
幅が規定される。
The encoded data is the data multiplexing circuit 7
As a result, the motion vector encoded data of the additional information and the quantization step width information are multiplexed, and once the buffer memory 8
After being stored in, the data is read out at a speed according to the transmission speed of the data communication line or the transfer speed of the data recording medium and output from the output terminal 9. The motion vector coded data is the information of the motion vector used for the motion compensation, and is formed by the motion vector coding circuit 16. Further, the information of the quantization step width is obtained from the quantization parameter from the data amount (buffer memory accumulated amount) of the encoded data for one frame stored in the buffer memory 8 at the time when the encoding process for one frame is completed. This is information on the quantization parameter adaptively determined by the control circuit 17, and this information defines the quantization step width in the quantization circuit 5.

【0020】量子化回路5からの量子化された変換係数
は、また、逆量子化回路10で変換係数に戻され、さら
に、逆直交変換回路11で逆ディスクリートコサイン変
換によって動き補償予測誤差データに戻される。この局
部復号化された動き補償予測誤差データは、データ加算
回路12により、上記のようにデータ減算回路3で減算
に使用された動き補償回路14からの動き補償予測画像
データと加算され、局部復号化画像データとしてフレー
ムメモリ13に書き込まれる。この局部復号化画像デー
タは動画像符号化装置と対になる動画像復号化装置でデ
ータ伸長により再生されるべき画像データであり、フレ
ームメモリ13で1フレーム分遅延されて動き補償回路
14に供給され、次のフレームでの動き補償による動き
補償予測画像データを生成するために用いられる。
The quantized transform coefficient from the quantizer 5 is converted back into a transform coefficient in the inverse quantizer 10 and further converted into motion compensation prediction error data by the inverse discrete cosine transform in the inverse orthogonal transform circuit 11. Will be returned. This locally-decoded motion-compensated prediction error data is added by the data addition circuit 12 to the motion-compensated prediction image data from the motion-compensation circuit 14 used for the subtraction by the data subtraction circuit 3 as described above, and then locally-decoded. The converted image data is written in the frame memory 13. This locally-decoded image data is image data to be reproduced by data expansion in the moving image decoding device paired with the moving image encoding device, and is delayed by one frame in the frame memory 13 and supplied to the motion compensation circuit 14. And is used to generate motion-compensated predicted image data by motion compensation in the next frame.

【0021】動き補償回路14は、動きベクトル検出回
路15で検出された動きベクトルに応じて、フレームメ
モリ13からの1フレーム前の局部復号化画像データを
ブロック単位でずらして動き補償予測画像データを生成
する。動きベクトル検出回路15は、単位ブロック変換
回路2からの現フレームの現ブロックの原画像データを
フレームメモリ13からの1フレーム前の局部符号化画
像データと画素単位でずらしながら比較し、最もブロッ
ク間のブロック差分値が小さくなるブロックのずれ量を
動きベクトルとして検出する。なお、この動きベクトル
は、動きベクトル符号化回路16において、前ブロック
との差分が可変長符号化される。
The motion compensation circuit 14 shifts the locally-decoded image data of one frame before from the frame memory 13 in block units according to the motion vector detected by the motion vector detection circuit 15 to obtain motion-compensated prediction image data. To generate. The motion vector detection circuit 15 compares the original image data of the current block of the current frame from the unit block conversion circuit 2 with the locally encoded image data of the previous frame from the frame memory 13 while shifting the pixel data on a pixel-by-pixel basis. The block shift amount of which the block difference value is reduced is detected as a motion vector. The motion vector coding circuit 16 performs variable length coding on the difference between the motion vector and the preceding block.

【0022】次に、量子化パラメータ制御回路17につ
いて説明する。図2はこの量子化パラメータ制御回路1
7の一具体例を示すブロック図であって、18は蓄積状
態比較判定回路、19は状態判定スレッショルド設定回
路、20は遅延回路、21は量子化パラメータ制御選択
回路、221〜22Nはパラメータ制御回路、23は入
力端子、24は出力端子である。
Next, the quantization parameter control circuit 17 will be described. FIG. 2 shows the quantization parameter control circuit 1
7 is a block diagram showing a specific example of 7, wherein 18 is a storage state comparison / determination circuit, 19 is a state determination threshold setting circuit, 20 is a delay circuit, 21 is a quantization parameter control selection circuit, and 221 to 22N are parameter control circuits. , 23 are input terminals, and 24 are output terminals.

【0023】同図において、バッファメモリ8への1フ
レーム分の符号化データの蓄積が終わって、入力端子2
3からバッファメモリ8(図1)内のデータ蓄積量(即
ちバッファメモリ蓄積量)を表わす情報(以下、蓄積量
情報という)とこのフレームでの量子化パラメータとが
入力され、量子化パラメータ制御選択回路21と蓄積状
態比較判定回路18とに供給される。蓄積状態比較判定
回路18では、この蓄積量情報と状態判定スレッショル
ド設定回路19に設定されているスレッショルド値とに
より、後述する比較判定処理がなされてバッファメモリ
8の蓄積状態が判定され、その判定結果を表わすバッフ
ァメモリ蓄積状態データが量子化パラメータ制御選択回
路21に出力される。また、このバッファメモリ蓄積状
態データは遅延回路20でn(但し、nは1以上の整
数)フレーム分遅延され、nフレーム前のバッファメモ
リ蓄積状態データとして量子化パラメータ制御選択回路
21に供給される。量子化パラメータ制御選択回路21
は、蓄積状態比較判定回路18からのバッファメモリ蓄
積状態データと遅延回路20からのnフレーム前のバッ
ファメモリ蓄積状態データとを基に、後述する選択方法
により、異なるパラメータ制御を行なうパラメータ制御
回路221〜22Nの中から、次のフレームの符号化処
理における量子化パラメータを決定するための最適なパ
ラメータ制御を行なうパラメータ制御回路を選択する。
このようにして選択されたパラメータ制御回路は、バッ
ファメモリ8から入力端子23を介して供給される蓄積
量情報や量子化パラメータから次のフレームの符号化処
理に用いるための量子化パラメータを設定し、出力端子
24から量子化回路5とデータ多重回路7とに供給す
る。
In the figure, after the accumulation of one frame of encoded data in the buffer memory 8 is completed, the input terminal 2
The information (hereinafter, referred to as accumulated amount information) representing the accumulated amount of data in the buffer memory 8 (FIG. 1) (that is, accumulated amount information in the buffer memory) and the quantization parameter in this frame are input from 3 to select the quantization parameter control. It is supplied to the circuit 21 and the storage state comparison / determination circuit 18. In the storage state comparison / determination circuit 18, the storage state of the buffer memory 8 is determined based on the storage amount information and the threshold value set in the state determination threshold setting circuit 19, and the storage state of the buffer memory 8 is determined. The buffer memory accumulated state data representing the is output to the quantization parameter control selection circuit 21. The buffer memory accumulated state data is delayed by n (where n is an integer of 1 or more) frames by the delay circuit 20 and supplied to the quantization parameter control selection circuit 21 as the buffer memory accumulated state data n frames before. . Quantization parameter control selection circuit 21
Is a parameter control circuit 221 that performs different parameter control by a selection method to be described later based on the buffer memory storage state data from the storage state comparison / determination circuit 18 and the buffer memory storage state data of n frames before from the delay circuit 20. 22N to 22N, a parameter control circuit that performs optimum parameter control for determining the quantization parameter in the encoding process of the next frame is selected.
The parameter control circuit thus selected sets the quantization parameter to be used for the encoding process of the next frame from the storage amount information and the quantization parameter supplied from the buffer memory 8 via the input terminal 23. , From the output terminal 24 to the quantizing circuit 5 and the data multiplexing circuit 7.

【0024】ここで、蓄積状態比較判定回路18でのバ
ッファメモリ8の蓄積状態の比較判定処理の1例を図3
で説明する。同図において、状態判定スレッショルド判
定回路19には、例えば3個のスレッショルド値Th1
〜Th3(但し、Th1<Th2<Th3<バッファメ
モリ8の最大データ蓄積量)が設定されており、バッフ
ァメモリ8の蓄積量Dが0≦D<Th1のときは状態
(a)、Th1≦D<Th2のときは状態(b)、Th
2≦D<Th3のときは状態(c)、Th3≦D<バッ
ファフルのときは状態(d)と夫々判定する。かかる判
定結果をバッファメモリ蓄積状態データとして量子化パ
ラメータ制御選択回路21と遅延回路20とに供給す
る。
Here, an example of the comparison judgment processing of the accumulation state of the buffer memory 8 in the accumulation state comparison judgment circuit 18 is shown in FIG.
Described in. In the figure, the state determination threshold determination circuit 19 includes, for example, three threshold values Th1.
To Th3 (where Th1 <Th2 <Th3 <maximum data storage amount of the buffer memory 8) is set, and the storage amount D of the buffer memory 8 is 0 ≦ D <Th1, the state (a), Th1 ≦ D <When Th2, state (b), Th
When 2 ≦ D <Th3, the state (c) is determined, and when Th3 ≦ D <buffer full, the state (d) is determined. The determination result is supplied to the quantization parameter control selection circuit 21 and the delay circuit 20 as buffer memory accumulated state data.

【0025】量子化パラメータ制御選択回路21は蓄積
状態比較判定回路18と遅延回路20とからのバッファ
メモリ蓄積状態データに対応したパラメータ制御回路2
21〜22Nを選択するのであるが、バッファメモリ8
の1フレーム分の符号化データの蓄積が終わった時点で
の蓄積状態が図3で示した4つの状態に区分されて判定
される場合には、図4に示すように、16種類のパラメ
ータ制御1〜16が設定されることになる。但し、図4
における制御i(i=1、2、……、16)は図1にお
けるパラメータ制御回路22iによるパラメータ制御で
ある。そして、例えばバッファメモリ8のデータ蓄積状
態が状態(a)から状態(b)に変化したときには、量
子化パラメータ制御選択回路21はそのデータ蓄積状態
の変化に最適なものとして制御2を選択することにな
る。
The quantization parameter control selection circuit 21 is a parameter control circuit 2 corresponding to the buffer memory storage state data from the storage state comparison / determination circuit 18 and the delay circuit 20.
21 to 22N are selected, but the buffer memory 8
In the case where the accumulation state at the time when the accumulation of the encoded data for one frame is finished is divided into the four states shown in FIG. 3 and judged, 16 types of parameter control are performed as shown in FIG. 1 to 16 will be set. However, FIG.
The control i (i = 1, 2, ..., 16) in is the parameter control by the parameter control circuit 22i in FIG. Then, for example, when the data storage state of the buffer memory 8 changes from the state (a) to the state (b), the quantization parameter control selection circuit 21 selects the control 2 as the optimum one for the change of the data storage state. become.

【0026】図5は量子化パラメータ制御選択回路21
で選択されるパラメータ制御の一具体例を示すものであ
る。この具体例では、説明の便宜上、状態判定スレッシ
ョルド設定回路19に2つの所定のスレッショルド値が
設定されており、バッファメモリの蓄積状態がA、B、
C状態の3つの状態に判定区分されるものとしている。
従って、蓄積状態比較判定回路18と遅延回路20との
出力により、図5に示すように、9種類の量子化パラメ
ータのパラメータ制御が可能となる。A、B、C状態は
夫々図4の状態(a)、(b)、(c)に対応し、9種
類のパラメータ制御は、図4の制御1から制御9までに
相当するものとする。
FIG. 5 shows a quantization parameter control selection circuit 21.
It shows a specific example of the parameter control selected in. In this specific example, for the sake of convenience of explanation, two predetermined threshold values are set in the state determination threshold setting circuit 19, and the accumulation states of the buffer memory are A, B, and
It is assumed that the judgment is divided into three states of C state.
Therefore, the outputs of the storage state comparison / determination circuit 18 and the delay circuit 20 enable parameter control of nine kinds of quantization parameters as shown in FIG. The A, B, and C states correspond to the states (a), (b), and (c) of FIG. 4, respectively, and the nine types of parameter control correspond to control 1 to control 9 of FIG.

【0027】図5において、バッファメモリ8の蓄積状
態は遅延回路20からのバッファメモリ蓄積状態データ
で表わされる蓄積状態Xから蓄積状態比較判定回路18
からのバッファメモリ蓄積状態データで表わされる蓄積
状態Yになるが、これを(X→Y)と表わすと、(A→
A)の場合には制御1が選択されて量子化パラメータの
最小値q_minを次の符号化処理における量子化パラ
メータとする。これにより、量子化回路5の量子化ステ
ップ幅は最小となり、次のフレームでの符号化データの
情報量を増加させる。(A→B)の場合には制御2が選
択されて量子化パラメータの初期値q_initを次の
符号化処理における量子化パラメータとし、量子化回路
5の量子化ステップ幅を初期値(例えば中間の量子化ス
テップ幅)にして、符号化データの情報量を現状に維持
させる。、(A→C)の場合には制御5が選択されて入
力端子23からの量子化パラメータqにオフセットs2
を加えた値q+s2を次の符号化処理における量子化パ
ラメータとし、このオフセット分量子化回路5の量子化
ステップ幅を増加させて情報量を減少させる。(B→
A)の場合には制御3が選択されて量子化パラメータq
からオフセットs1を差し引いた値q_s1を次の符号
化処理における量子化パラメータとし、このオフセット
分量子化回路5の量子化ステップ幅を減少させて情報量
を増加させる。(B→B)の場合には制御4が選択さ
れ、図6(a)に示すように、入力端子23からのバッ
ファメモリ蓄積量に応じた量子化パラメータ制御特性か
ら決定された量子化パラメータを次のフレームでの量子
化パラメータとする。この場合には、B状態が続いても
その中で量子化ステップ幅が制御され、さらにB状態が
維持されるようにする。(B→C)の場合には制御6が
選択されて量子化パラメータqにオフセットs1を加え
た値q+s1を、(C→A)の場合には制御7が選択さ
れて量子化パラメータqからオフセットs2を差し引い
た値q_s2を、(C→B)の場合には制御8が選択さ
れて量子化パラメータの初期値q_initを夫々次の
フレームの量子化パラメータとし、上記と同様の量子化
ステップ幅の制御が行なわれる。(C→C)の場合には
制御9が選択されて量子化パラメータの最大値q_ma
xを次フレームの符号化処理における量子化パラメータ
とし、次のフレームでの量子化ステップ幅を最大として
バッファメモリ蓄積量を最大限で減少させる。
In FIG. 5, the storage states of the buffer memory 8 are changed from the storage state X represented by the buffer memory storage state data from the delay circuit 20 to the storage state comparison / determination circuit 18.
The storage state Y is represented by the storage state data of the buffer memory from, but if this is expressed as (X → Y), (A →
In the case of A), the control 1 is selected and the minimum value q_min of the quantization parameter is set as the quantization parameter in the next encoding process. As a result, the quantization step width of the quantization circuit 5 is minimized, and the information amount of the encoded data in the next frame is increased. In the case of (A → B), the control 2 is selected, the initial value q_init of the quantization parameter is set as the quantization parameter in the next encoding process, and the quantization step width of the quantization circuit 5 is set to the initial value (for example, the intermediate value). Quantization step width) to maintain the information amount of encoded data in the current state. , (A → C), the control 5 is selected and the quantization parameter q from the input terminal 23 is offset by s2.
The added value q + s2 is used as a quantization parameter in the next encoding process, and the amount of information is reduced by increasing the quantization step width of the quantization circuit 5 by this offset. (B →
In the case of A), control 3 is selected and the quantization parameter q
The value q_s1 obtained by subtracting the offset s1 from is used as the quantization parameter in the next encoding process, and the quantization step width of the quantization circuit 5 is reduced by this offset to increase the information amount. In the case of (B → B), the control 4 is selected, and as shown in FIG. 6A, the quantization parameter determined from the quantization parameter control characteristic according to the buffer memory storage amount from the input terminal 23 is set. It is used as the quantization parameter in the next frame. In this case, even if the B state continues, the quantization step width is controlled therein, and the B state is maintained. In the case of (B → C), the control 6 is selected to obtain the value q + s1 obtained by adding the offset s1 to the quantization parameter q, and in the case of (C → A), the control 7 is selected to offset from the quantization parameter q. In the case of (C → B), the value q_s2 obtained by subtracting s2 is selected as the control 8 and the initial value q_init of the quantization parameter is used as the quantization parameter of the next frame, and the same quantization step width as above is used. Control is performed. In the case of (C → C), the control 9 is selected and the maximum value of the quantization parameter q_ma
Let x be the quantization parameter in the encoding process of the next frame, and maximize the quantization step width in the next frame to reduce the buffer memory storage amount to the maximum.

【0028】なお、オフセットs1、s2は、図6
(b)に示すように、入力端子23から入力されるバッ
ファメモリ蓄積量に応じて異なるようにしてもよいし、
また、一定としてもよい。
The offsets s1 and s2 are shown in FIG.
As shown in (b), it may be different according to the buffer memory storage amount input from the input terminal 23.
It may also be constant.

【0029】以上の量子化パラメータ制御が行われたと
きのフレーム毎のバッファメモリ蓄積量の変化を図7に
示す。同図での矢印は1つ前のフレームに対してパラメ
ータ制御が変化したフレームを示している。このように
量子化パラメータ制御を行なうことにより、バッファメ
モリ蓄積量をB状態(即ち、バッファメモリ8の容量の
中間の蓄積量)に制御することができる。
FIG. 7 shows changes in the buffer memory storage amount for each frame when the above quantization parameter control is performed. The arrow in the figure indicates a frame in which the parameter control is changed with respect to the previous frame. By performing the quantization parameter control in this way, the buffer memory storage amount can be controlled to the B state (that is, the storage amount in the middle of the capacity of the buffer memory 8).

【0030】以上説明したように、この実施例によれ
ば、符号化処理の終了時点後及びnフレーム前のバッフ
ァメモリ8のデータ蓄積状態から次のフレームの符号化
処理に最適な量子化パラメータを決定することができる
ため、バッファメモリ8を予め定められた蓄積量の状態
に制御することができ、この予め定められた蓄積量の蓄
積状態を予めデータ通信回線の伝送速度やデータ記録メ
ディアの転送速度から求められる単位時間当りの情報量
になるような蓄積状態に設定しておくことにより、符号
化処理後の平均発生情報量をこの単位時間当りの情報量
になるように制御することが可能となる。また、バッフ
ァメモリ8のオーバーフロー、アンダーフローを防止で
きるという効果もある。
As described above, according to this embodiment, the optimum quantization parameter for the encoding process of the next frame is determined from the data accumulation state of the buffer memory 8 after the end of the encoding process and n frames before. Since it can be determined, the buffer memory 8 can be controlled to a state of a predetermined storage amount, and the storage state of the predetermined storage amount can be determined in advance by the transmission speed of the data communication line or the transfer of the data recording medium. By setting the storage state so that the amount of information per unit time obtained from the speed is set, it is possible to control the average amount of generated information after encoding processing to be the amount of information per unit time. Becomes Further, there is an effect that overflow and underflow of the buffer memory 8 can be prevented.

【0031】なお、この実施例では、情報量制御をフレ
ーム単位で行なったが、符号化ブロックを数個まとめた
ものを情報量制御の単位としてもよいし、また、インタ
ーレース画像を考慮して情報量制御をフィールド単位で
行なうようにしてもよい。過去の蓄積状態についても、
この実施例では1フレーム前のバッファメモリ8の蓄積
状態を用いて説明したが、数フレーム分前までのバッフ
ァメモリ8の蓄積状態をすべて用いるようにしてもよ
い。
In this embodiment, the information amount control is performed on a frame-by-frame basis. However, a group of several coded blocks may be used as the information amount control unit, or the information may be considered in consideration of an interlaced image. The quantity control may be performed in field units. For past accumulation status,
In this embodiment, the accumulation state of the buffer memory 8 one frame before is used for explanation, but all the accumulation states of the buffer memory 8 up to several frames before may be used.

【0032】図8は情報量制御方式を適用した本発明に
よる動画像符号化装置の他の実施例を示すブロック図で
あって、17´は量子化パラメータ制御回路であり、図
1に対応する部分には同一符号をつけて重複する説明を
省略する。
FIG. 8 is a block diagram showing another embodiment of the moving picture coding apparatus according to the present invention to which the information amount control system is applied. 17 'is a quantization parameter control circuit, which corresponds to FIG. The same reference numerals are given to the parts, and the duplicated description will be omitted.

【0033】同図において、量子化パラメータ制御回路
17´は、1フレームの符号化処理が終了した時点でこ
のフレームにおいて発生した情報量(発生情報量)とバ
ッファメモリ8に蓄えられているデータ量(バッファメ
モリ蓄積量)とに応じて、適応的に次のフレームの符号
化処理での量子化パラメータを決定し、その情報を量子
化回路5とデータ多重回路7とに供給する。
In the figure, the quantization parameter control circuit 17 ′ has an amount of information (generated information amount) generated in this frame at the time when the encoding process of one frame is completed and the amount of data stored in the buffer memory 8. The quantization parameter in the encoding process of the next frame is adaptively determined according to the (buffer memory storage amount), and the information is supplied to the quantization circuit 5 and the data multiplexing circuit 7.

【0034】図9は量子化パラメータ制御回路17´の
一具体例を示すブロック図であって、26は情報量加算
回路、27は発生情報量状態比較判定回路、28は割当
情報量設定回路、29は状態判定スレッショルド設定回
路、30は遅延回路であり、図2に対応する部分には同
一符号をつけて重複する説明を省略する。
FIG. 9 is a block diagram showing a specific example of the quantization parameter control circuit 17 ', in which 26 is an information amount addition circuit, 27 is a generated information amount state comparison / determination circuit, 28 is an assigned information amount setting circuit, Reference numeral 29 is a state determination threshold setting circuit, and 30 is a delay circuit. The parts corresponding to those in FIG.

【0035】同図において、まず、データ多重回路7
(図8)から出力される符号化データが入力端子25か
ら入力され、情報量加算回路26でその情報量が累積さ
れて符号化処理後の、即ち、1フレーム分の符号化デー
タの発生情報量が検出される。この発生情報量は発生情
報量状態比較判定回路27で、図15に示す式(3)、
(4)、(5)で表わされる比較判定処理により、デー
タ多重回路7からの符号化データの発生情報量を表わす
状態(上記式(3)、(4)、(5)での状態(a)、
(b)、(c))が判定され、その判定結果を表わす発
生情報量状態データが量子化パラメータ制御選択回路2
1に出力される。但し、これらの式において、Iは発生
情報量、ANは割当情報量設定回路28に設定されてい
る1フレーム毎の割当情報量、Th1、Th2、Th3
は判定スレッショルド設定回路29で設定されているス
レッショルド値であり、Th1<Th2<Th3とす
る。
In the figure, first, the data multiplexing circuit 7
The encoded data output from (FIG. 8) is input from the input terminal 25, the information amount is accumulated in the information amount adding circuit 26, and the generated information of the encoded data after the encoding process, that is, for one frame is generated. The amount is detected. This generated information amount is calculated by the generated information amount state comparison / judgment circuit 27 using the equation (3) shown in FIG.
By the comparison / determination processing represented by (4) and (5), the state (a in the above equations (3), (4), and (5) that represents the generated information amount of the encoded data from the data multiplexing circuit 7 is represented. ),
(B) and (c)) are determined, and the generated information amount state data representing the determination result is the quantization parameter control selection circuit 2
It is output to 1. However, in these equations, I is the generated information amount, AN is the assigned information amount for each frame set in the assigned information amount setting circuit 28, Th1, Th2, Th3.
Is a threshold value set by the determination threshold setting circuit 29, and Th1 <Th2 <Th3.

【0036】発生情報量状態比較判定回路27から出力
される発生情報量状態データは、また、n(但し、nは
1以上の整数)フレーム分の遅延量の遅延回路30で遅
延され、nフレーム前またはnフレーム前までの過去の
発生情報量状態データとして量子化パラメータ制御選択
回路21に供給される。量子化パラメータ制御選択回路
21は、発生情報量状態比較判定回路27からの符号化
処理後の発生情報量状態データと遅延回路30からの過
去の発生情報量状態データとから次のフレームの符号化
処理のための量子化パラメータを決定するための最適な
量子化パラメータ制御(次のフレームで発生情報量がそ
のフレームの割当情報量となるようにする量子化パラメ
ータ制御)を、図1に示した実施例と同様な選択方法に
より、パラメータ制御回路221〜22Nから選択す
る。選択されたパラメータ制御回路は、入力端子23を
介して供給されるバッファメモリ蓄積量や量子化パラメ
ータにより、次のフレームの符号化処理に用いるための
量子化パラメータを適応的に設定し、出力端子24から
量子化回路5とデータ多重回路7(図8)とに供給す
る。これにより、次のフレームでは、この設定された量
子化パラメータにより、データ多重回路7からの符号化
データの発生情報量がそのフレームの割当情報量となる
ように量子化回路5の量子化ステップ幅が設定される。
但し、この量子化パラメータはバッファメモリ蓄積量に
応じたものでもあるため、量子化回路5の量子化ステッ
プ幅はバッファメモリ蓄積量に応じた分変化しており、
これにより、バッファメモリ8のデータ蓄積量もみなが
ら量子化ステップ幅が決められる。
The generated information amount state data output from the generated information amount state comparison / judgment circuit 27 is delayed by the delay circuit 30 having a delay amount of n (where n is an integer of 1 or more) frames, and n frames are obtained. It is supplied to the quantization parameter control selection circuit 21 as past generation information amount state data up to the previous or nth frame. The quantization parameter control selection circuit 21 encodes the next frame from the generated information amount state data after the encoding process from the generated information amount state comparison determination circuit 27 and the past generated information amount state data from the delay circuit 30. The optimum quantization parameter control for determining the quantization parameter for processing (quantization parameter control for making the generated information amount in the next frame equal to the allocated information amount of that frame) is shown in FIG. The parameter control circuits 221 to 22N are selected by the same selection method as in the embodiment. The selected parameter control circuit adaptively sets the quantization parameter to be used for the encoding process of the next frame according to the buffer memory storage amount and the quantization parameter supplied via the input terminal 23, and the output terminal 24 to the quantizing circuit 5 and the data multiplexing circuit 7 (FIG. 8). As a result, in the next frame, the quantization step width of the quantization circuit 5 is set so that the generated information amount of the encoded data from the data multiplexing circuit 7 becomes the allocation information amount of the frame by the set quantization parameter. Is set.
However, since this quantization parameter also corresponds to the buffer memory storage amount, the quantization step width of the quantization circuit 5 changes according to the buffer memory storage amount,
As a result, the quantization step width is determined while also looking at the amount of data stored in the buffer memory 8.

【0037】ここで、量子化パラメータ制御選択回路2
1によって選択される量子化パラメータ制御は、図1に
示した実施例のように一意的に量子化パラメータを決め
るものではなく、さらにバッファメモリ蓄積量に応じて
異なる量子化パラメータが得られるようにしたバッファ
メモリ蓄積量に対する特性を有している。かかる発生情
報量状態データに応じた量子化パラメータ制御の例を図
10、図11に示す。
Here, the quantization parameter control selection circuit 2
The quantization parameter control selected by 1 does not uniquely determine the quantization parameter as in the embodiment shown in FIG. 1, and further, different quantization parameters can be obtained according to the buffer memory storage amount. It has a characteristic with respect to the accumulated buffer memory amount. Examples of quantization parameter control according to the generated information amount state data are shown in FIGS.

【0038】図10はバッファメモリ蓄積量に対する特
性の傾きが等しい量子化パラメータ制御の1例を示して
いる。ここでは、特性が異なる3つの量子化パラメータ
制御を示しており、破線は特性1の、実線は特性2の、
1点鎖線は特性3の量子化パラメータ制御を夫々表わし
ているが、これらは全て傾きが等しい。夫々の量子化パ
ラメータ制御では、バッファメモリ蓄積量が異なると、
量子化パラメータも異なる。例えば、発生情報量状態比
較判定回路27からの符号化処理後の発生情報量状態デ
ータと遅延回路30からの過去の発生情報量状態データ
とによって特性2の量子化パラメータ制御が選択される
と、バッファメモリ蓄積量が1ステップずつ増加するに
つれて量子化パラメータはq1、q2、q3、… …と増加
し、量子化回路5の量子化ステップ幅が増加して符号化
データの情報量が減少する。
FIG. 10 shows an example of the quantization parameter control in which the characteristics have the same slope with respect to the buffer memory storage amount. Here, three quantization parameter controls with different characteristics are shown, the broken line is characteristic 1, the solid line is characteristic 2,
The alternate long and short dash lines respectively represent the quantization parameter control of characteristic 3, but they all have the same slope. In each quantization parameter control, if the buffer memory storage amount is different,
The quantization parameters are also different. For example, when the quantization parameter control of the characteristic 2 is selected by the generated information amount state data after the encoding process from the generated information amount state comparison determination circuit 27 and the past generated information amount state data from the delay circuit 30, As the buffer memory storage amount increases by one step, the quantization parameter increases to q 1 , q 2 , q 3 , ..., And the quantization step width of the quantization circuit 5 increases to increase the information amount of encoded data. Decrease.

【0039】かかる特性の量子化パラメータ制御は1つ
の量子化パラメータを基準とし、この基準の量子化パラ
メータ制御を上下あるいは左右ににシフトすることで他
の量子化パラメータ制御を実現できる。例えば、特性2
の量子化パラメータ制御を基準とすると、特性1の量子
化パラメータ制御は、この特性2の量子化パラメータ制
御を上にシフトすることにより、また、特性3の量子化
パラメータ制御は、特性2の量子化パラメータ制御を横
にシフトすることにより、夫々得られる。
The quantization parameter control having such a characteristic is based on one quantization parameter, and the other quantization parameter control can be realized by shifting the reference quantization parameter control vertically or horizontally. For example, characteristic 2
On the basis of the quantization parameter control of the characteristic 1, the quantization parameter control of the characteristic 1 is shifted upward by the quantization parameter control of the characteristic 2, and the quantization parameter control of the characteristic 3 is controlled by the quantization parameter control of the characteristic 2. Each is obtained by laterally shifting the activation parameter control.

【0040】このような特性の量子化パラメータ制御に
よると、バッファメモリ蓄積量が同じでも、発生情報量
状態比較判定回路27からの符号化処理後の発生情報量
状態データと遅延回路30からのnフレーム前の発生情
報量状態データとに応じて、量子化パラメータが異なる
ことになり、このため、バッファメモリ蓄積量の変動は
少ないが発生情報量と割当情報量とに差がある場合に適
用できる。
According to the quantization parameter control of such characteristics, even if the buffer memory storage amount is the same, the generated information amount state data after the encoding process from the generated information amount state comparison / determination circuit 27 and the n from the delay circuit 30. The quantization parameter differs depending on the generated information amount state data before the frame. Therefore, it can be applied when there is little variation in the buffer memory storage amount but there is a difference between the generated information amount and the assigned information amount. .

【0041】また、図11は発生情報量状態比較判定回
路27からの符号化処理後の発生情報量状態データと遅
延回路30からのnフレーム前の発生情報量状態データ
とに応じた量子化パラメータ制御の他の例を示す。ここ
でも、特性が異なる3つの量子化パラメータ制御を示
し、破線は特性4の、1点鎖線は特性5の、実線は特性
6の量子化パラメータ制御を夫々表わしているが、特性
4、5の量子化パラメータ制御は特性6の量子化パラメ
ータ制御の傾きを変えることで実現できるものである。
傾きが急な特性は量子化パラメータの個数が多い場合や
バッファメモリ蓄積量のわずかな変化に対して量子化パ
ラメータを大きく変化させたいときに適用でき、逆に傾
きが緩やかな特性は量子化パラメータの個数が少くない
場合やバッファメモリ蓄積量が大幅に変化しても量子化
パラメータの変化を小さくさせたいときに適用できる。
Further, FIG. 11 shows a quantization parameter according to the generated information amount state data after the encoding process from the generated information amount state comparison / determination circuit 27 and the generated information amount state data n frames before from the delay circuit 30. Another example of control will be described. Here again, three quantization parameter controls having different characteristics are shown. The broken line represents the characteristic 4, the one-dot chain line represents the characteristic 5, and the solid line represents the characteristic 6 quantization parameter control. The quantization parameter control can be realized by changing the slope of the quantization parameter control of characteristic 6.
The characteristics with a steep slope can be applied when the number of quantization parameters is large or when a large change in the quantization parameters is desired in response to a slight change in the buffer memory storage amount. This can be applied when the number of is not small or when it is desired to reduce the change in the quantization parameter even if the buffer memory storage amount changes significantly.

【0042】このような特性はすべて線形であるが、特
性6のように非線形特性の量子化パラメータ制御として
もよい。かかる非線形な特性では、バッファメモリ蓄積
量が少ないときは量子化パラメータを細かく制御し、逆
に多いときは量子化パラメータを粗く制御する。また、
図示してはいないが、バッファメモリ蓄積量が少ないと
きには量子化パラメータを粗く制御し、逆に多いときは
量子化パラメータを細かく制御するように、非線形特性
とすることもできる。
Although all of these characteristics are linear, the quantization parameter control of a nonlinear characteristic like the characteristic 6 may be used. With such a non-linear characteristic, the quantization parameter is finely controlled when the buffer memory storage amount is small, and conversely, the quantization parameter is roughly controlled when the buffer memory storage amount is large. Also,
Although not shown, a non-linear characteristic can be used so that the quantization parameter is coarsely controlled when the buffer memory storage amount is small and the quantization parameter is finely controlled when it is large.

【0043】かかる実施例をCD−ROMやDAT等の
データ記録メディアに適用した場合には、ランダムアク
セスやスチル再生などの特殊再生機能が要求されるた
め、周期的にフレーム内符号化が行われる。フレーム内
符号化の周期をNフレームとした場合のフレーム構造
は、図12(a)に示すように、1フレームがNフレー
ムで形成されたものであって、このNフレームの先頭の
フレームがフレーム内符号化されたフレームであって、
これに続く(N−1)フレームがフレーム間符号化され
たフレームである。このようなフレーム構造を符号化す
る場合、フレーム内符号化されたフレームとフレーム間
符号化されたフレームとは上記の割当情報量が異なって
おり、フレーム内符号化されたフレームに対する割当情
報量に図15の式(6)で、フレーム間符号化されたフ
レームに対する割当情報量は同じく式(7)で表わされ
る。但し、これら式(6)及び式(7)において、AI
はフレーム内符号化の割当情報量、APはフレーム間符
号化の割当情報量、Nはフレーム内符号化の周期、DR
は平均転送速度(単位は[bit/sec])、Fは1
秒当りのフレーム数(通常のテレビジョン信号の場合:
F=30)、ARはフレーム内/フレーム間符号化の割
当情報量の比率(AI/AP)である。図12(b)は
図12(a)に示したフレーム1、2、3、……に対す
る割当情報量AI、APを示している。また、割当情報
量AI、APは1フレームまたは数ブロックの符号化処
理終了毎にアップデートしてもよい。
When such an embodiment is applied to a data recording medium such as a CD-ROM or DAT, a special reproduction function such as random access or still reproduction is required, so that the intraframe coding is periodically performed. . The frame structure when the intra-frame encoding cycle is N frames is such that one frame is formed of N frames as shown in FIG. 12A, and the first frame of the N frames is the frame. An intra-coded frame,
The following (N-1) frame is an inter-frame coded frame. When encoding such a frame structure, the above-mentioned allocation information amount is different between the intra-coded frame and the inter-frame coded frame, and the allocation information amount for the intra-frame encoded frame is different. In Equation (6) of FIG. 15, the allocation information amount for the inter-frame coded frame is also expressed by Equation (7). However, in these formulas (6) and (7), AI
Is the allocation information amount for intraframe coding, AP is the allocation information amount for interframe coding, N is the cycle of intraframe coding, DR
Is the average transfer rate (unit is [bit / sec]), F is 1
Number of frames per second (for normal television signals:
F = 30), AR is the ratio (AI / AP) of the allocation information amount for intraframe / interframe coding. FIG. 12B shows the allocation information amounts AI and AP for the frames 1, 2, 3, ... Shown in FIG. Further, the allocation information amounts AI and AP may be updated every time the encoding process of one frame or several blocks is completed.

【0044】以上説明したように、この実施例によれ
ば、符号化処理後の発生情報量の状態をそのフレームに
割り当てられた割当情報量から比較判定し、判定された
nフレーム前からの発生情報量状態の変化に応じて量子
化パラメータを適応的に制御することができるため、符
号化処理後の発生情報量を割当情報量に近づけることが
できる。このことは、符号化処理後の平均発生情報量が
データ通信回線の伝送速度やデータ記録メディアの転送
速度から求められる単位時間当りの情報量になるように
制御することに相当する。
As described above, according to this embodiment, the state of the generated information amount after the encoding process is compared and determined from the assigned information amount assigned to the frame, and the generation from the determined n frames before is performed. Since the quantization parameter can be adaptively controlled according to the change in the information amount state, the generated information amount after the encoding process can be brought close to the assigned information amount. This corresponds to controlling so that the average generated information amount after the encoding process becomes the information amount per unit time obtained from the transmission speed of the data communication line or the transfer speed of the data recording medium.

【0045】なお、この実施例では、情報量制御をフレ
ーム単位で行なっているが、符号化データのブロックを
数個まとめたものを情報量制御の単位としてもよいし、
インターレース画像を考慮してフィールド単位で情報量
制御を行なってもよい。また、この実施例における量子
化パラメータ制御は、図10及び図11に示すような特
性を適応的に選択することでなされているが、図1に示
した実施例で用いられたような予め定められた値に量子
化パラメータを設定することもできるし、逆に、図1に
示した実施例において、図8に示した実施例での上記量
子化パラメータ制御を用いることも可能である。
In this embodiment, the information amount control is performed on a frame-by-frame basis, but a unit of several blocks of coded data may be used as the information amount control unit.
Information amount control may be performed in field units in consideration of interlaced images. Further, the quantization parameter control in this embodiment is performed by adaptively selecting the characteristics shown in FIGS. 10 and 11, but it is determined in advance as used in the embodiment shown in FIG. The quantization parameter can be set to the obtained value, and conversely, the quantization parameter control in the embodiment shown in FIG. 8 can be used in the embodiment shown in FIG.

【0046】図13は情報量制御方式を適用した本発明
による動画像符号化装置のさらに他の実施例を示すブロ
ック図であって、31は量子化パラメータ補正回路であ
り、図1に対応する部分には同一符号をつけて重複する
説明を省略する。
FIG. 13 is a block diagram showing still another embodiment of the moving picture coding apparatus according to the present invention to which the information amount control system is applied. Reference numeral 31 is a quantization parameter correction circuit, which corresponds to FIG. The same reference numerals are given to the parts, and the duplicated description will be omitted.

【0047】図1に示した実施例では、バッファメモリ
蓄積量のみによって量子化パラメータ制御が選択される
ため、フレーム毎に符号化データの割当情報量が異なっ
ている場合でも、これに関係なく量子化パラメータが決
められてしまう。ここで説明する実施例は、フレーム毎
に符号化データの割当情報量が異なっても、これに対応
できるようにしたものである。
In the embodiment shown in FIG. 1, since the quantization parameter control is selected only by the buffer memory storage amount, even if the allocation information amount of encoded data differs for each frame, the quantum parameter control is performed regardless of this. Parameterization is decided. In the embodiment described here, even if the allocation information amount of encoded data differs for each frame, this can be dealt with.

【0048】図13において、量子化パラメータ制御回
路17は、図2で説明したのと同様、1フレームの符号
化処理が終了した時点におけるバッファメモリ8(図1
3)に蓄えられているデータ蓄積量(バッファメモリ蓄
積量)から適応的に量子化パラメータを決定するが、さ
らにその情報を量子化パラメータ補正回路31に供給す
る。量子化パラメータ補正回路31では、1フレームの
符号化処理が終了した時点で、量子化パラメータ制御回
路17から出力された量子化パラメータが、データ多重
回路7から出力される符号化データのそのフレームで発
生した情報量により、補正されてより最適化され、その
補正された情報が量子化回路5とデータ多重回路7とに
供給される。
In FIG. 13, the quantization parameter control circuit 17 has a buffer memory 8 (FIG. 1) at the time when the encoding process of one frame is completed, as described in FIG.
The quantization parameter is adaptively determined from the data storage amount (buffer memory storage amount) stored in 3), and the information is further supplied to the quantization parameter correction circuit 31. In the quantization parameter correction circuit 31, when the encoding process of one frame is completed, the quantization parameter output from the quantization parameter control circuit 17 is the same as that of the encoded data output from the data multiplexing circuit 7. It is corrected and further optimized by the amount of generated information, and the corrected information is supplied to the quantization circuit 5 and the data multiplexing circuit 7.

【0049】図14は量子化パラメータ補正回路31の
一具体例を量子化パラメータ制御回路17とともに示す
ブロック図であって、32は入力端子、33は情報量加
算回路、34は発生情報量状態比較判定回路、35は割
当情報量設定回路、36は状態判定スレッショルド設定
回路、37は遅延回路、38はパラメータ補正回路であ
り、図2に対応する部分には同一符号をつけて重複する
説明を省略する。
FIG. 14 is a block diagram showing a specific example of the quantization parameter correction circuit 31 together with the quantization parameter control circuit 17, wherein 32 is an input terminal, 33 is an information amount adding circuit, and 34 is a generated information amount state comparison. A determination circuit, 35 is an allocation information amount setting circuit, 36 is a state determination threshold setting circuit, 37 is a delay circuit, 38 is a parameter correction circuit, and the portions corresponding to those in FIG. To do.

【0050】同図において、量子化パラメータ制御回路
17は、図2で説明したように、1フレームの符号化処
理が終了した時点でのバッファメモリ8(図13)内の
データ蓄積量(バッファメモリ蓄積量)から生成したバ
ッファメモリ蓄積状態データとnフレーム前のまたはn
フレーム前までの過去のバッファメモリ蓄積状態データ
から次のフレームの符号化処理の量子化パラメータを決
定し、この量子化パラメータを量子化パラメータ補正回
路31に供給する。
As shown in FIG. 2, the quantization parameter control circuit 17 shown in FIG. 6 stores the amount of data accumulated in the buffer memory 8 (FIG. 13) at the time when the encoding process for one frame is completed (buffer memory). Buffer memory accumulated state data generated from the accumulated amount) and n frames before or n
The quantization parameter for the encoding process of the next frame is determined from the past buffer memory accumulated state data up to the frame before, and this quantization parameter is supplied to the quantization parameter correction circuit 31.

【0051】量子化パラメータ補正回路31は、図9で
説明した量子化パラメータ制御回路17´と同様に、デ
ータ多重回路7(図13)から出力される符号化データ
が入力端子32から入力され、情報量加算回路33でそ
の情報量が累積されて符号化処理後の、即ち、1フレー
ム分の符号化データの発生情報量が検出される。この発
生情報量は発生情報量状態比較判定回路34で、割当情
報量設定回路35に設定されている1フレーム毎の割当
情報量と判定スレッショルド設定回路36で設定されて
いるスレッショルド値とにより、比較判定処理され、デ
ータ多重回路7からの符号化データの発生情報量を表わ
す状態が判定され、その判定結果を表わす発生情報量状
態データが出力される。この発生情報量状態データは、
パラメータ補正回路38に供給されるとともに、n(但
し、nは1以上の整数)フレーム分の遅延量の遅延回路
30で遅延され、nフレーム前またはnフレーム前まで
の過去の発生情報量状態データとしてパラメータ補正回
路38に供給される。
In the quantization parameter correction circuit 31, the encoded data output from the data multiplexing circuit 7 (FIG. 13) is input from the input terminal 32, similarly to the quantization parameter control circuit 17 'described in FIG. The information amount adding circuit 33 accumulates the information amount and detects the generated information amount of the encoded data after the encoding process, that is, for one frame. The generated information amount is compared in the generated information amount state comparison / determination circuit 34 by the allocation information amount for each frame set in the allocation information amount setting circuit 35 and the threshold value set in the determination threshold setting circuit 36. Judgment processing is performed, the state representing the generated information amount of the encoded data from the data multiplexing circuit 7 is determined, and the generated information amount state data representing the determination result is output. This generated information amount status data is
In addition to being supplied to the parameter correction circuit 38, it is delayed by the delay circuit 30 having a delay amount of n (where n is an integer of 1 or more) frames, and the past generated information amount state data up to n frames before or up to n frames before. Is supplied to the parameter correction circuit 38.

【0052】パラメータ補正回路38は量子化パラメー
タ制御回路17からの量子化パラメータをこれら発生情
報量状態データに応じて(例えば単純にあるオフセット
を加算、減算、またはスケーリングする等して)補正
し、次のフレームの符号化処理のためのより最適な量子
化パラメータとして量子化回路5とデータ多重回路7
(図13)とに供給する。
The parameter correction circuit 38 corrects the quantization parameter from the quantization parameter control circuit 17 according to the generated information amount state data (for example, simply by adding, subtracting, or scaling an offset), The quantization circuit 5 and the data multiplexing circuit 7 are used as more optimal quantization parameters for the encoding process of the next frame.
(FIG. 13).

【0053】以上説明したように、この実施例によれ
ば、符号化処理後とnフレーム前のまたはnフレーム前
までのバッファメモリ蓄積状態から適応的に量子化パラ
メータを設定できるため、図1に示した実施例と同様、
符号化処理後の符号化データの平均発生情報量を単位時
間当りの情報量へ制御でき、さらに、符号化データの発
生情報量の状態を割当情報量から比較判定し、設定され
た量子化パラメータを判定された発生情報量状態に応じ
てより最適な値に補正できるため、図8で示した実施例
と同様、符号化処理後の符号化データの発生情報量を割
当情報量に近づけることができ、符号化処理後の符号化
データの平均発生情報量を単位時間当りの情報量へ制御
することができる。このように設定された量子化パラメ
ータを補正することにより、符号化処理後の符号化デー
タの平均発生情報量をより単位時間当りの情報量となる
ように制御することができる。
As described above, according to this embodiment, the quantization parameter can be adaptively set from the buffer memory accumulation state after the encoding process and before the n frames or up to the n frames before. Similar to the example shown
It is possible to control the average generated information amount of encoded data after encoding processing to the information amount per unit time, and further compare and determine the state of the generated information amount of encoded data from the assigned information amount, and set the quantization parameter. Can be corrected to a more optimal value according to the determined state of generated information, so that the generated information amount of the encoded data after the encoding process can be made closer to the allocated information amount, as in the embodiment shown in FIG. Therefore, the average generated information amount of the encoded data after the encoding process can be controlled to the information amount per unit time. By correcting the quantization parameter set in this way, it is possible to control the average generated information amount of the encoded data after the encoding process to be a more information amount per unit time.

【0054】なお、図13に示した実施例では、まず、
バッファメモリ8のデータ蓄積量状態から量子化パラメ
ータを設定し、次に、符号化データの発生情報量状態か
らより最適な量子化パラメータとなるように補正して情
報量制御をしているが、逆に、符号化データの発生情報
量状態から量子化パラメータを設定し、しかる後、バッ
ファメモリ8のデータ蓄積量状態から量子化パラメータ
がより最適となるように補正するようにしてもよい。
In the embodiment shown in FIG. 13, first,
The quantization parameter is set from the data storage amount state of the buffer memory 8, and then the information amount control is performed by correcting the generated information amount state of the encoded data to a more optimal quantization parameter. On the contrary, the quantization parameter may be set based on the generated information amount state of the encoded data, and thereafter, the quantization parameter may be corrected based on the data storage amount state of the buffer memory 8 so as to be more optimal.

【0055】また、情報量制御はフレーム単位で行なわ
れるが、符号化ブロックを数個まとめた単位で情報量制
御を行なうようにしてもよいし、インターレース画像を
考慮してフィールド単位で情報量制御を行なうようにし
てもよい。
Although the information amount control is performed in frame units, the information amount control may be performed in units of several coded blocks, or in consideration of interlaced images, information amount control is performed in field units. May be performed.

【0056】さらに、図13に示した実施例では、量子
化パラメータの制御に図2に示したのと同様の量子化パ
ラメータ制御回路17を用いたが、図9に示したのと同
様の量子化パラメータ制御回路17´を用いてもよい。
Further, in the embodiment shown in FIG. 13, the same quantization parameter control circuit 17 as that shown in FIG. 2 is used for controlling the quantization parameter, but the same quantization parameter as shown in FIG. 9 is used. The conversion parameter control circuit 17 'may be used.

【0057】[0057]

【発明の効果】以上説明したように、本発明によれば、
符号化処理後のバッファメモリのデータ蓄積量や発生情
報量を状態分けし、その情報の変化をフィードバックし
て次の量子化パラメータを設定及び補正するため、符号
化処理後の平均発生情報量を通信回線の伝送速度あるい
はデータ記録メディアの転送速度で決まる単位時間当り
の情報量に制御することができ、しかも、該バッファメ
モリのオーバーフローやアンダーフローを防止できる。
また、フィードバックされる該バッファメモリの蓄積状
態情報や発生情報量状態の変化から最適な量子化パラメ
ータが設定されて情報量制御がなされるため、再生画像
の画質劣化を必要最小限に抑えることができる。
As described above, according to the present invention,
The amount of data accumulated in the buffer memory after encoding processing and the amount of generated information are divided into states, and the change in the information is fed back to set and correct the next quantization parameter. It is possible to control the amount of information per unit time, which is determined by the transmission speed of the communication line or the transfer speed of the data recording medium, and furthermore, it is possible to prevent overflow or underflow of the buffer memory.
Further, since the optimum quantization parameter is set from the feedback of the accumulated state information of the buffer memory and the change of the generated information amount state to control the information amount, it is possible to suppress the image quality deterioration of the reproduced image to a necessary minimum. it can.

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

【図1】本発明による動画像符号化装置の一実施例を示
すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a moving picture coding apparatus according to the present invention.

【図2】図1における量子化パラメータ制御回路の一具
体例を示すブロック図である。
FIG. 2 is a block diagram showing a specific example of a quantization parameter control circuit in FIG.

【図3】図2における蓄積状態比較判定回路の蓄積状態
判定処理を示す図である。
FIG. 3 is a diagram showing a storage state determination process of a storage state comparison / determination circuit in FIG.

【図4】図2における量子化パラメータ制御選択回路の
動作を示す図である。
FIG. 4 is a diagram showing an operation of the quantization parameter control selection circuit in FIG.

【図5】図2における量子化パラメータ制御選択回路に
よって選択される量子化パラメータ制御の1例を示す図
である。
5 is a diagram showing an example of quantization parameter control selected by a quantization parameter control selection circuit in FIG.

【図6】量子化パラメータ及びオフセットの1例の特性
を示す図である。
FIG. 6 is a diagram showing characteristics of an example of a quantization parameter and an offset.

【図7】図1に示した実施例におけるバッファメモリの
データ蓄積量の変化を示す図である。
FIG. 7 is a diagram showing changes in the amount of data stored in the buffer memory in the embodiment shown in FIG.

【図8】本発明による動画像符号化装置の他の実施例を
示すブロック図である。
FIG. 8 is a block diagram showing another embodiment of the moving picture coding apparatus according to the present invention.

【図9】図8における量子化パラメータ制御回路の一具
体例を示すブロック図である。
9 is a block diagram showing a specific example of a quantization parameter control circuit in FIG.

【図10】図8に示した実施例における量子化パラメー
タ制御の特性の1例を示す図である。
10 is a diagram showing an example of characteristics of quantization parameter control in the embodiment shown in FIG.

【図11】図8に示した実施例における量子化パラメー
タ制御の特性の他の例を示す図である。
FIG. 11 is a diagram showing another example of characteristics of quantization parameter control in the embodiment shown in FIG.

【図12】図8に示した実施例におけるフレーム構造の
1例を示す図である。
FIG. 12 is a diagram showing an example of a frame structure in the embodiment shown in FIG.

【図13】本発明による動画像符号化装置のさらに他の
実施例を示すブロック図である。
FIG. 13 is a block diagram showing still another embodiment of the moving picture encoding device according to the present invention.

【図14】図13における量子化パラメータ制御回路と
量子化パラメータ補正回路の一具体例を示すブロック図
である。
14 is a block diagram showing a specific example of a quantization parameter control circuit and a quantization parameter correction circuit in FIG.

【図15】動画像符号化装置での処理を表わす数式を示
す図である。
[Fig. 15] Fig. 15 is a diagram illustrating mathematical expressions representing a process in the moving image encoding device.

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

4 直交変換回路 5 量子化回路 6 可変長符号化回路 7 データ多重回路 8 バッファメモリ 17、17´ 量子化パラメータ制御回路 18 蓄積状態比較判定回路 19 状態判定スレッショルド設定回路 20 遅延回路 21 量子化パラメータ制御選択回路 221〜22N パラメータ制御回路 26 情報量加算回路 27 発生情報量状態判定回路 28 割当情報量設定回路 30 遅延回路 31 量子化パラメータ補正回路 38 パラメータ補正回路 4 Orthogonal transformation circuit 5 Quantization circuit 6 Variable length coding circuit 7 Data multiplex circuit 8 buffer memory 17, 17 'Quantization parameter control circuit 18 Accumulation state comparison judgment circuit 19 Status judgment threshold setting circuit 20 delay circuit 21 Quantization parameter control selection circuit 221-22N Parameter control circuit 26 Information amount addition circuit 27 Generated information amount state determination circuit 28 Allocation information amount setting circuit 30 delay circuits 31 Quantization parameter correction circuit 38 parameter correction circuit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 動画像の原画像データを直交変換して得
られる変換係数を量子化、可変長符号化して符号化デー
タを得、該符号化データをバッファメモリに一旦記憶し
て所定の速度で読み出すようにした動画像符号化方式に
おいて、 該バッファメモリでの該符号化データの蓄積量から該バ
ッファメモリの蓄積状態を判定する蓄積状態判定手段
と、 該蓄積状態判定手段の判定出力を保持し該バッファメモ
リの過去の蓄積状態の判定出力として出力する状態記憶
手段と、 該蓄積状態判定手段の判定出力と該状態記憶手段からの
過去の判定出力と該バッファメモリの蓄積量とから量子
化パラメータを決定する量子化パラメータ制御決定手段
とからなる量子化パラメータ制御手段を設け、上記量子
化に際しての量子化ステップ幅を該量子化パラメータに
応じたものとし、発生情報量を制御することを特徴とす
る動画像符号化方式。
1. A transform coefficient obtained by orthogonally transforming original image data of a moving image is quantized and variable length coded to obtain coded data, and the coded data is temporarily stored in a buffer memory and a predetermined speed is obtained. In the moving picture coding method which is read out in step S1, the storage state determination means for determining the storage state of the buffer memory from the storage amount of the encoded data in the buffer memory, and the determination output of the storage state determination means are held. Then, the state storage means for outputting as the determination output of the past accumulation state of the buffer memory, the quantization output of the accumulation state determination means, the past determination output from the state storage means, and the accumulation amount of the buffer memory are quantized. A quantization parameter control means including a quantization parameter control determination means for determining a parameter is provided, and the quantization step width at the time of the quantization is set to the quantization parameter. The moving picture coding method is characterized by controlling the amount of generated information.
【請求項2】 請求項1において、 前記符号化データの単位期間の発生情報量を算出する情
報量算出手段と、 該情報量算出手段からの発生情報量の状態を判定する情
報量状態判定手段と、 該情報量状態判定手段の判定出力を保持し過去の発生情
報量の状態の判定出力として出力する状態記憶手段と、 前記パラメータ制御決定手段によって決定された量子化
パラメータを該情報量状態判定手段の判定出力と該状態
記憶手段からの過去の判定出力とに応じて補正するパラ
メータ補正回路とからなる量子化パラメータ補正手段を
設け、補正された該量子化パラメータに応じて符号化処
理の前記量子化ステップ幅を変化させ、発生情報量を制
御することを特徴とする動画像符号化方式。
2. The information amount calculation means for calculating the generated information amount of a unit period of the encoded data, and the information amount state determination means for determining the state of the generated information amount from the information amount calculation means according to claim 1. A state storage unit for holding the determination output of the information amount state determination unit and outputting it as a determination output of the state of the past generated information amount; and a quantization parameter determined by the parameter control determination unit for the information amount state determination. Means and a parameter correction circuit that corrects according to the past judgment output from the state storage means, and a quantizing parameter correcting means is provided, and the encoding processing is performed according to the corrected quantizing parameter. A moving image coding method characterized in that the amount of generated information is controlled by changing the quantization step width.
【請求項3】 動画像の原画像データを直交変換して得
られる変換係数を量子化、可変長符号化して符号化デー
タを得、該符号化データをバッファメモリに一旦記憶し
て所定の速度で読み出すようにした動画像符号化方式に
おいて、 該符号化データの単位期間の発生情報量を算出する情報
量算出手段と、 該情報量算出手段からの発生情報量の状態を判定する情
報量状態判定手段と、 該情報量状態判定手段からの判定出力を保持し過去の発
生情報量の状態の判定出力として出力する状態記憶手段
と、 該情報量状態判定手段の判定出力と該状態記憶手段から
の過去の判定出力と符号化処理後の該バッファメモリの
蓄積量とから量子化パラメータを決定する量子化パラメ
ータ制御決定手段とからなる量子化パラメータ制御手段
を設け、上記量子化に際しての量子化ステップ幅を該量
子化パラメータに応じたものとし、発生情報量を制御す
ることを特徴とする動画像符号化方式。
3. A transform coefficient obtained by orthogonally transforming original image data of a moving image is quantized and variable length coded to obtain coded data, and the coded data is temporarily stored in a buffer memory and a predetermined speed is obtained. In the moving picture coding method which is read out by the method, an information amount calculating means for calculating the generated information amount of the encoded data in a unit period, and an information amount state for judging the state of the generated information amount from the information amount calculating means. Determination means, state storage means for holding the determination output from the information amount state determination means and outputting it as a determination output for the state of the past generated information amount, determination output of the information amount state determination means and the state storage means Quantization parameter control means for determining a quantization parameter from the past judgment output of the above and the storage amount of the buffer memory after the encoding processing, Saishi the quantization step width is assumed in accordance with the quantization parameter of the moving picture coding method, characterized by controlling the amount of information generated.
【請求項4】 請求項3において、 前記バッファメモリの蓄積量から前記バッファメモリの
蓄積状態を判定する蓄積状態判定手段と、 該蓄積状態判定手段の判定出力を保持し該バッファメモ
リの過去の蓄積状態の判定出力として出力する状態記憶
手段と、 前記量子化パラメータ制御決定手段によって決定された
前記量子化パラメータを該蓄積状態判定手段の判定出力
と該状態記憶手段からの過去の判定出力とから補正する
パラメータ補正回路とからなる量子化パラメータ補正手
段を設け、補正された該量子化パラメータに応じて次の
符号化処理の量子化ステップ幅を変化させ、発生情報量
を制御することを特徴とする動画像符号化方式。
4. The accumulation state determination means for determining the accumulation state of the buffer memory from the accumulation amount of the buffer memory, and the determination output of the accumulation state determination means for holding the past accumulation of the buffer memory according to claim 3. A state storage unit that outputs a state determination output, and the quantization parameter determined by the quantization parameter control determination unit is corrected from the determination output of the storage state determination unit and the past determination output from the state storage unit. And a parameter correction circuit for controlling the amount of generated information by changing the quantization step width of the next encoding process according to the corrected quantization parameter. Video coding method.
JP3191130A 1991-07-05 1991-07-05 Moving image encoding system Pending JPH0514876A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3191130A JPH0514876A (en) 1991-07-05 1991-07-05 Moving image encoding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3191130A JPH0514876A (en) 1991-07-05 1991-07-05 Moving image encoding system

Publications (1)

Publication Number Publication Date
JPH0514876A true JPH0514876A (en) 1993-01-22

Family

ID=16269378

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3191130A Pending JPH0514876A (en) 1991-07-05 1991-07-05 Moving image encoding system

Country Status (1)

Country Link
JP (1) JPH0514876A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997039588A1 (en) * 1996-04-12 1997-10-23 Sony Corporation Image encoder, image encoding method and medium on which image encoding program is recorded
JP2002344394A (en) * 2001-05-15 2002-11-29 Kddi Corp Adaptive encoding transmitter and receiver
JP2006319868A (en) * 2005-05-16 2006-11-24 Kddi Corp Video compression coding apparatus
US7765324B2 (en) 2003-06-10 2010-07-27 Sony Corporation Transmission apparatus and method, recording medium, and program thereof

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997039588A1 (en) * 1996-04-12 1997-10-23 Sony Corporation Image encoder, image encoding method and medium on which image encoding program is recorded
US6347117B1 (en) 1996-04-12 2002-02-12 Sony Corporation Apparatus and method for encoding images and medium in which image encoding program has been recorded
US6535556B1 (en) 1996-04-12 2003-03-18 Sony Corporation Apparatus and method for encoding images and medium in which image encoding program has been recorded
JP2002344394A (en) * 2001-05-15 2002-11-29 Kddi Corp Adaptive encoding transmitter and receiver
JP4591939B2 (en) * 2001-05-15 2010-12-01 Kddi株式会社 Adaptive encoding transmission apparatus and receiving apparatus
US7765324B2 (en) 2003-06-10 2010-07-27 Sony Corporation Transmission apparatus and method, recording medium, and program thereof
JP2006319868A (en) * 2005-05-16 2006-11-24 Kddi Corp Video compression coding apparatus
JP4720284B2 (en) * 2005-05-16 2011-07-13 Kddi株式会社 Image compression encoding device

Similar Documents

Publication Publication Date Title
USRE35158E (en) Apparatus for adaptive inter-frame predictive encoding of video signal
JP3268306B2 (en) Image coding method
US4723161A (en) Method and arrangement of coding digital image signals utilizing interframe correlation
US6507615B1 (en) Video signal processing apparatus and video signal processing method
JP3358620B2 (en) Image encoding method and image encoding device
JP3210082B2 (en) Encoding device and method
JPH07112284B2 (en) Predictive encoding device and decoding device
JPH11234668A (en) Video coder
EP0558259B1 (en) Video signal transmission
JP3508916B2 (en) Moving image variable bit rate encoding method and apparatus
JPH06237454A (en) Operation estimating device provided with consideration for variable-length coding
JPH0514876A (en) Moving image encoding system
US5828787A (en) Encoding apparatus and encoding method of motion image
JPH07203456A (en) Coder, decoder and video recording device
US7024052B2 (en) Motion image decoding apparatus and method reducing error accumulation and hence image degradation
JP4073541B2 (en) Video re-encoding device
US5940131A (en) Method and apparatus for coding moving pictures
JP3178233B2 (en) Image encoding method, image encoding device, and optical disk
JPH07131793A (en) Video signal high efficiency coding device
JP3767007B2 (en) Encoding apparatus and encoding method
JP3382292B2 (en) Image encoding apparatus and method
KR0157467B1 (en) Moving image encoding method and device
JP3168723B2 (en) Video signal encoding device
KR100228542B1 (en) Adaptive bit allocation method for controlling bit generation in video encoder
JPH02222388A (en) Moving picture encoding method