JP3083595B2 - Code amount control device - Google Patents

Code amount control device

Info

Publication number
JP3083595B2
JP3083595B2 JP17929591A JP17929591A JP3083595B2 JP 3083595 B2 JP3083595 B2 JP 3083595B2 JP 17929591 A JP17929591 A JP 17929591A JP 17929591 A JP17929591 A JP 17929591A JP 3083595 B2 JP3083595 B2 JP 3083595B2
Authority
JP
Japan
Prior art keywords
code amount
amount
frame
excess
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP17929591A
Other languages
Japanese (ja)
Other versions
JPH0529950A (en
Inventor
由利子 塚原
敏明 渡邊
和夫 大関
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP17929591A priority Critical patent/JP3083595B2/en
Publication of JPH0529950A publication Critical patent/JPH0529950A/en
Application granted granted Critical
Publication of JP3083595B2 publication Critical patent/JP3083595B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、ATM交換器等を用い
て動画像を符号化して伝送する際の符号量を制御する符
号量制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a code amount control device for controlling a code amount when a moving picture is encoded and transmitted using an ATM switch or the like.

【0002】[0002]

【従来の技術】一般に、動画像伝送では入力された画像
を例えば8×8ピクセルの画像ブロックに分割し、各画
像ブロックにDCT等の直交変換を加えた後、所定のス
テップサイズに量子化し、これを符号化して相手局側へ
と伝送する。
2. Description of the Related Art In general, in moving image transmission, an input image is divided into image blocks of, for example, 8 × 8 pixels, and each image block is subjected to an orthogonal transformation such as DCT, and then quantized to a predetermined step size. This is encoded and transmitted to the partner station.

【0003】このとき、入力される画像のデータ量は一
定ではないので、量子化のステップサイズを一定に決め
てしまうと、符号量がデータ量に応じて変動してしま
う。また、符号量は多すぎると画像フレームのコマ落と
し等が発生するという欠点があり、また、少なすぎると
伝送の効率が低下するという欠点があるので、できるだ
け符号量を一定に保持することが要求される。
At this time, since the data amount of the input image is not constant, if the quantization step size is determined to be constant, the code amount fluctuates according to the data amount. Further, if the code amount is too large, there is a drawback that image frames are dropped, and if it is too small, there is a drawback that transmission efficiency is reduced. Therefore, it is necessary to keep the code amount as constant as possible. Is done.

【0004】そこで従来より、符号量を監視しながら量
子化のステップサイズを適宜変更する符号量制御装置が
用いられており、例えば文献「パケットビデオ符号化に
おけるレート制御方式」(PCSJ90:Picture Codi
ng Symposium Japan 1990年,9−5,滝嶋・和
田)に記載されたものが公知技術として知られている。
Therefore, conventionally, a code amount control device that appropriately changes the quantization step size while monitoring the code amount has been used. For example, the document “Rate control method in packet video coding” (PCSJ90: Picture Codi)
ng Symposium Japan 1990, 9-5, Takishima / Wada) is known as a known technique.

【0005】この文献によれけば、予め基準符号量を決
めておき、各画像フレームでの基準符号量に対する超過
符号量を求め、現在フレームまでの累積符号量が所定の
限界値よりも大きくなった場合にはステップサイズを大
きくすることで符号量を減少させるという方法が記載さ
れている。
According to this document, a reference code amount is determined in advance, an excess code amount with respect to the reference code amount in each image frame is obtained, and the accumulated code amount up to the current frame becomes larger than a predetermined limit value. In this case, a method is described in which the code size is reduced by increasing the step size.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、このよ
うな従来の符号量制御装置では、累積超過符号量が限界
値よりも大きいときには、現在の符号量が少なくこの状
態を維持すれば累積超過符号量を処理できる場合であっ
ても、ステップサイズを大きくして符号量を減少させる
方向に動作してしまう。このため、余儀なく画質が劣化
してしまうという欠点があった。また、一時的な符号量
の増減によってステップサイズが頻繁に上下するのでフ
レーム毎の画質のばらつきが大きくなるという問題が発
生していた。
However, in such a conventional code amount control apparatus, when the accumulated excess code amount is larger than the limit value, if the current code amount is small and this state is maintained, the accumulated excess code amount is maintained. Can be processed, the operation is performed in the direction of increasing the step size and decreasing the code amount. For this reason, there is a disadvantage that the image quality is unavoidably deteriorated. In addition, the step size frequently fluctuates due to a temporary increase or decrease in the code amount, so that there is a problem that the variation in image quality between frames becomes large.

【0007】この発明はこのような従来の課題を解決す
るためになされたもので、その目的とするところは、不
必要なステップサイズの変更による画質のばらつきや画
質の劣化を防止する符号量制御装置を提供することにあ
る。
SUMMARY OF THE INVENTION The present invention has been made to solve such a conventional problem. It is an object of the present invention to control code amount for preventing image quality variation and image quality deterioration due to unnecessary step size change. It is to provide a device.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するた
め、本発明は、入力信号を所定フレーム毎に量子化して
符号化された符号データを出力する装置において、量子
化ステップサイズを適宜変更して前記符号化されるデー
タの量を制御する符号量制御装置であって、フレーム毎
に生成された前記符号データの量を監視する符号量監視
手段と、符号データ基準符号量と前記フレーム毎の符号
データ量との差分から現フレームにおける超過符号量を
演算する超過符号量演算手段と、現フレームまでの超過
符号量を順次加算して累積超過符号量を求める累積超過
符号量算出手段と、現フレームにおける基準符号量と現
フレームにおける超過符号量とに基づいて次フレームの
基準符号量を補正する補正手段と、前記累積超過符号量
が第1の所定値よりも大きいときには前記量子化ステッ
プサイズを大きくし、第2の所定値よりも小さいときは
該量子化ステップサイズを小さくする手段とを備えたこ
とを特徴とするものである。
In order to achieve the above object, the present invention provides an apparatus for quantizing an input signal for each predetermined frame and outputting encoded code data by appropriately changing a quantization step size. A code amount control device for controlling the amount of data to be encoded, wherein the code amount monitoring means monitors the amount of the code data generated for each frame; An excess code amount calculating means for calculating an excess code amount in the current frame from a difference from the code data amount; a cumulative excess code amount calculating means for sequentially adding the excess code amount up to the current frame to obtain a cumulative excess code amount; Correction means for correcting the reference code amount of the next frame based on the reference code amount of the frame and the excess code amount of the current frame, wherein the accumulated excess code amount is greater than a first predetermined value. Increasing the quantization step size when large, when the second smaller than a predetermined value is characterized in that a means for reducing the quantization step size.

【0009】[0009]

【作用】上述のような構成を有する本発明によれば、入
力信号を所定フレーム毎に量子化し符号化された符号デ
ータを出力する際に、現在の量子化ステップサイズでは
処理できないと判断した場合、すなわち累積超過符号量
が第1及び第2の所定値で定められる範囲にない場合に
のみステップサイズを変更するため、不必要なステップ
サイズの増減を防止することができる。特に、本発明で
は、次フレームの累積超過符号量を求めるための基準符
号量は、現フレームの超過符号量に基づいて補正される
ため、現フレームにおける超過符号量の変化が大きいほ
ど加速度的に累積超過符号量も変化することとなり、量
子化ステップサイズの変更を敏速に行うことができる。
According to the present invention having the above-described configuration, when it is determined that the input signal cannot be processed with the current quantization step size when the input signal is quantized for each predetermined frame and coded data is output. That is, since the step size is changed only when the accumulated excess code amount is not within the range defined by the first and second predetermined values, unnecessary increase and decrease of the step size can be prevented. In particular, in the present invention, the reference code amount for obtaining the accumulated excess code amount of the next frame is corrected based on the excess code amount of the current frame. The accumulated excess code amount also changes, and the quantization step size can be changed promptly.

【0010】[0010]

【実施例】図1は本発明が適用された符号量制御装置を
含む動画像伝送装置の一実施例の構成を示すブロック図
である。
FIG. 1 is a block diagram showing the configuration of an embodiment of a moving picture transmission apparatus including a code amount control apparatus to which the present invention is applied.

【0011】図示のようにこの動画像伝送装置は、入力
された画像を例えば8×8ピクセルの画像ブロックに分
割するブロック分割回路1と、各ブロックに離散コサイ
ン変換等の直交変換を施す直交変換回路2と、この出力
を所定のステップサイズに量子化する量子化回路3と、
量子化後のデータを可変長符号化する可変長符号化回路
4と、現在の符号量、及び現在までの累積超過符号量を
監視し、所定の条件に基づいてステップサイズの増減を
指示する符号量監視回路6と、このステップサイズの増
減指示に基づいて量子化ステップサイズを決定するステ
ップサイズ決定回路5から構成されている。
As shown in the figure, the moving picture transmission apparatus includes a block dividing circuit 1 for dividing an input image into image blocks of, for example, 8 × 8 pixels, and an orthogonal transform for performing an orthogonal transform such as a discrete cosine transform on each block. A circuit 2, a quantization circuit 3 for quantizing the output to a predetermined step size,
A variable length coding circuit 4 for performing variable length coding on the quantized data; a code for monitoring the current code amount and the accumulated excess code amount up to the present, and instructing an increase or decrease of the step size based on a predetermined condition. It comprises an amount monitoring circuit 6 and a step size determination circuit 5 for determining a quantization step size based on the instruction to increase or decrease the step size.

【0012】次に、本発明の主要部である符号量監視回
路6の動作を図2に示すフローチャートを参照しながら
説明する。なお、同図において、nはフレーム番号、G
n は第nフレームを量子化する際のステップサイズ、D
は累積超過符号量、rは1フレームの基準符号量、sn
は第nフレームを符号化したときの符号量、αは累積超
過符号量の限界値、そしてβは1フレームにおける超過
符号量の限界値である。
Next, the operation of the code amount monitoring circuit 6, which is a main part of the present invention, will be described with reference to the flowchart shown in FIG. In the figure, n is a frame number, G
n is the step size for quantizing the n-th frame, D
The cumulative abnormal code amount, r is the reference code amount of one frame, s n
Is the code amount when the n-th frame is coded, α is the limit value of the accumulated excess code amount, and β is the limit value of the excess code amount in one frame.

【0013】まず、初期設定として、フレーム番号n=
0,累積超過符号量D=0,そして、第1フレームのス
テップサイズを初期値とする(ステップST1)。そし
て、画像データの第1フレームが与えられると(ステッ
プST2)、図1に示す可変長符号化回路4から第1フ
レームの符号量s1 を読み取り(ステップST3)、こ
のs1 から基準符号量rを減じて1フレームの超過符号
量dを求める(ただし、dはマイナスであることもあ
り、この場合は符号量の不足分を示す)。また、この超
過符号量dに累積超過符号量D(ただし、この時点では
ゼロ)を加えて新たな累積超過符号量Dとする(ステッ
プST4)。
First, as an initial setting, a frame number n =
0, the accumulated excess code amount D = 0, and the step size of the first frame is set as an initial value (step ST1). When the first frame of image data is given (step ST2), reads the code amount s 1 of the first frame from the variable length coding circuit 4 shown in FIG. 1 (step ST3), the reference code amount from the s 1 The excess code amount d of one frame is obtained by subtracting r (however, d may be negative, and in this case, indicates an insufficient code amount). Further, the accumulated excess code amount D (however, at this time, zero) is added to the excess code amount d to obtain a new accumulated excess code amount D (step ST4).

【0014】その後、この符号量Dが限界値αよりも大
きいか否かを判定し(ステップST5)、D<αのとき
(ステップST5でNO)には、−αよりも大きいか否
かを判定する(ステップST9)。そして、D>−αの
とき(ステップST9でNO)には、現在の累積超過符
号量Dは限界値±αの範囲内にあるので、ステップサイ
ズを現状のままとする。即ち、次の画像フレームである
第2フレームのステップサイズG2 を、G2 =G1 とす
る(ステップST13)。そして、このステップサイズ
2 を図1に示すステップサイズ決定回路5へ出力する
(ステップST14)。
Thereafter, it is determined whether or not the code amount D is larger than a limit value α (step ST5). When D <α (NO in step ST5), it is determined whether or not the code amount D is larger than -α. A determination is made (step ST9). When D> -α (NO in step ST9), the current accumulated excess code amount D is within the range of the limit value ± α, so the step size is left as it is. That is, the step size G 2 of the second frame is a next image frame, and G 2 = G 1 (step ST13). Then, it outputs to the step size determining circuit 5 indicating the step size G 2 in FIG. 1 (step ST14).

【0015】一方、符号量Dが限界値αよりも大きい場
合(ステップST5でYES)には、超過符号量dが限
界値βよりも大きいか否かを判定する(ステップST
6)。そして、d>βのとき(ステップST6でYE
S)には、累積超過符号量Dが大きく、かつ、現在のフ
レームの超過符号量dも大きいので、累積超過符号量D
を減少させるためにステップサイズを大きくする。即
ち、次の第2フレームにおけるステップサイズG2 をG
1 +△G(△Gは増加分)とする(ステップST8)。
また、d>βのとき(ステップST6でNO)には、累
積超過符号量Dは大きいけれども現在の超過符号量dは
小さいので、ステップサイズを変更しなくても累積分を
処理できると判断し、G2 =G1 とする(ステップST
7)。
On the other hand, if code amount D is larger than limit value α (YES in step ST5), it is determined whether excess code amount d is larger than limit value β (step ST5).
6). When d> β (YE in step ST6)
In S), the accumulated excess code amount D is large, and the excess code amount d of the current frame is also large.
Increase the step size to reduce. That is, the step size G 2 in the next second frame is set to G
1 + ΔG (ΔG is an increment) (step ST8).
When d> β (NO in step ST6), the accumulated excess code amount D is large but the current excess code amount d is small, so it is determined that the accumulated amount can be processed without changing the step size. , G 2 = G 1 (step ST
7).

【0016】また、D<αであり(ステップST5てN
O)、D<−αと判定された場合には(ステップST9
でYES)、超過符号量dと限界値−βとが比較される
(ステップST10)。そして、d<−βのとき(ステ
ップST10でYES)には、累積超過符号量Dが負方
向に大きく(即ち、厳密には超過ではなく不足であ
る)、かつ、現在のフレームの符号量の不足分も大きい
ので、ステップサイズを小さくする。即ち、G2 =G1
−△Gとする(ステップST12)。他方、d>−βの
とき(ステップST10でNO)には、累積超過符号量
Dは負方向に大きいけれども現在の超過符号量dは大き
いので、ステップサイズを変更しなくても累積超過符号
量Dは増加方向に進むと判断し、ステップサイズを変更
しない。即ち、G2 =G1 とする(ステップST1
1)。
D <α (N in step ST5)
O), when it is determined that D <−α (step ST9)
YES), the excess code amount d is compared with the limit value -β (step ST10). When d <-β (YES in step ST10), the accumulated excess code amount D is large in the negative direction (that is, strictly not excess but insufficient), and the code amount of the current frame is small. Since the shortage is large, the step size is reduced. That is, G 2 = G 1
−ΔG is set (step ST12). On the other hand, when d> −β (NO in step ST10), although the accumulated excess code amount D is large in the negative direction, the current excess code amount d is large, so that the accumulated excess code amount can be obtained without changing the step size. D decides to proceed in the increasing direction and does not change the step size. That is, G 2 = G 1 (step ST1)
1).

【0017】そして、以上の操作が繰り返されて、常に
好適なステップサイズが得られるのである。
Then, the above operation is repeated to always obtain a suitable step size.

【0018】このようにして、本実施例では、現在まで
の累積超過符号量Dと、現在フレームの超過符号量dと
に基づいてステップサイズの変更を決定している。従っ
て、符号量に応じた最適なステップサイズによる量子化
が可能となり、かつ、不必要なステップサイズの変更を
避けることができるようになる。
As described above, in this embodiment, the change of the step size is determined based on the accumulated excess code amount D up to the present and the excess code amount d of the current frame. Therefore, quantization with the optimal step size according to the code amount can be performed, and unnecessary change in the step size can be avoided.

【0019】図3は他の実施例の動作を示すフローチャ
ートである。なお、同図において、nはフレーム番号、
Gnは第nフレームを量子化する際のステップサイズ、
rは1フレームの基準符号量、Rnは第nフレームでの
仮想基準符号量、Snは第nフレームを符号化したとき
の符号量、そして、βは所定の限界値である。
FIG. 3 is a flowchart showing the operation of another embodiment. In the figure, n is a frame number,
Gn is a step size when quantizing the n-th frame,
r is a reference code amount of one frame, Rn is a virtual reference code amount in the n-th frame, Sn is a code amount when the n-th frame is coded, and β is a predetermined limit value.

【0020】まず、n=0,R1 =r,G1 =初期値と
して初期設定を行なう(ステップST21)。そして、
画像データの第1フレームが与えられると(ステップS
T22)、図1に示す可変長符号化回路4から第1フレ
ームの符号量S1 を読み取る(ステップST23)。
First, initialization is performed with n = 0, R 1 = r, G 1 = initial value (step ST21). And
When the first frame of the image data is provided (step S
T22), reads the code amount S 1 of the first frame from the variable length coding circuit 4 shown in FIG. 1 (step ST23).

【0021】そして、次の(1)式で累積超過符号量h
を求める(ステップST24)。
Then, the accumulated excess code amount h is calculated by the following equation (1).
Is obtained (step ST24).

【0022】[0022]

【数1】 (Equation 1)

【0023】ここで、mは符号超過量を参照する過去の
フレーム数である。つまり、超過符号量hは、mフレー
ム前からの超過符号量の累積値を示している。
Here, m is the number of past frames referring to the excess code amount. That is, the excess code amount h indicates a cumulative value of the excess code amount from m frames before.

【0024】また、(1)式を適用するためには、少な
くともn>m+1となる必要がある。従って、第mフレ
ームまでは初期設定された一定のステップサイズG1
量子化され、以下、n>m+1となったフレームについ
ての説明をする。
In order to apply the expression (1), it is necessary that at least n> m + 1. Accordingly, the frames up to the m-th frame are quantized by the initially set constant step size G 1 , and hereinafter, the frames where n> m + 1 will be described.

【0025】(1)式で求められた累積超過符号量h
は、まず、限界値βと比較され(ステップST25)、
h<βのとき(ステップST25でNO)にはhと−β
とが比較される(ステップST27)。そして、h>−
βのとき(ステップST27でNO)には、累積値は限
界値の範囲内にあると判断し、ステップサイズを変えな
い。即ち、Gn+1 =Gn とする(ステップST29)。
The accumulated excess code amount h obtained by the equation (1)
Is first compared with a limit value β (step ST25),
When h <β (NO in step ST25), h and −β
Are compared (step ST27). And h>-
If β (NO in step ST27), it is determined that the accumulated value is within the range of the limit value, and the step size is not changed. That is, G n + 1 = G n is set (step ST29).

【0026】一方、h>βのとき(ステップST25で
YES)には、累積値が大きいのでこれを処理するため
に、ステップサイズを大きくする。つまり、Gn+1 =G
n +△Gとする(ステップST26)。
On the other hand, when h> β (YES in step ST25), since the accumulated value is large, the step size is increased to process this. That is, G n + 1 = G
n + △ G (step ST26).

【0027】また、h<−βのとき(ステップST27
でYES)には、符号量の不足分が大きいので、ステッ
プサイズを小さくする。即、Gn+1 =Gn −△Gとする
(ステップST28)。そして、各ステップで決定した
n+1 を次フレームのステップサイズとして出力するの
である(ステップST30)。
When h <-β (step ST27)
In (YES), the step size is reduced because the shortage of the code amount is large. Soku, G n + 1 = G n - and △ G (step ST28). Then, G n + 1 determined in each step is output as the step size of the next frame (step ST30).

【0028】また、次の(2)式により、次フレームの
仮想基準符号量Rn+1 を求める(ステップST31)。
Further, a virtual reference code amount R n + 1 of the next frame is obtained by the following equation (2) (step ST31).

【0029】 Rn+1 =Rn −(sn −r)/γ …(2) (2)式の右辺第2項は、現在フレームの超過符号量に
比例した大きさの数値であり、これが大きいほど、次フ
レームの仮想基準符号量Rn+1 は小さくなる。従って、
例えば現在フレームと次回フレームとで基準符号量rに
対する超過符号量が同じ場合には、次回フレームの方が
仮想基準符号量に対する超過符号量は大きくなる。
R n + 1 = R n − (s n −r) / γ (2) The second term on the right side of the equation (2) is a numerical value having a magnitude proportional to the excess code amount of the current frame. The larger this is, the smaller the virtual reference code amount R n + 1 of the next frame is. Therefore,
For example, when the amount of excess code with respect to the reference code amount r is the same in the current frame and the next frame, the amount of excess code with respect to the virtual reference code amount is larger in the next frame.

【0030】即ち、現在フレームの超過符号量が大きい
ほど加速度的に累積値hが大きくなるので、ステップS
T25の条件h>βが満足され易くなる。また、これと
は反対に、現在フレームの不足符号量が大きいほど加速
度的に累積値hが負方向に大きくなるので、ステップS
T27の条件h<−βが満足され易くなるのである。
That is, as the excess code amount of the current frame increases, the cumulative value h increases at an accelerated rate.
The condition h> β of T25 is more likely to be satisfied. On the other hand, the cumulative value h increases in the negative direction at an accelerated rate as the amount of insufficient code of the current frame increases.
That is, the condition h <−β of T27 is easily satisfied.

【0031】このようにして、他の実施例においても、
現在フレームの超過符号量と、現在まで累積された超過
符号量に基づいたステップサイズの変更を行なうことが
でき、好適なステップサイズを得ることができる。
Thus, in other embodiments,
The step size can be changed based on the excess code amount of the current frame and the excess code amount accumulated up to the present, and a suitable step size can be obtained.

【0032】[0032]

【発明の効果】以上説明したように、本発明では、現在
フレームの超過符号量と現在までの累積超過符号量とに
基づいて量子化ステップサイズを決定している。従っ
て、従来のように不必要にステップサイズを変更するこ
とはないので、画質劣化や画質のばらつきを防止するこ
とができるという効果が得られる。
As described above, in the present invention, the quantization step size is determined based on the excess code amount of the current frame and the accumulated excess code amount up to the present. Therefore, the step size is not changed unnecessarily unlike the conventional case, and the effect of preventing image quality deterioration and image quality variation can be obtained.

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

【図1】本発明の一実施例を示す構成図である。FIG. 1 is a configuration diagram showing one embodiment of the present invention.

【図2】本実施例の動作を示すフローチャートである。FIG. 2 is a flowchart illustrating the operation of the present embodiment.

【図3】他の実施例の動作を示すフローチャートであ
る。
FIG. 3 is a flowchart showing an operation of another embodiment.

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

1 ブロック分割回路 2 直交変換回路 3 量子化回路 4 可変長符号化回路 5 ステップサイズ決定回路 6 符号量監視回路 DESCRIPTION OF SYMBOLS 1 Block division circuit 2 Orthogonal transformation circuit 3 Quantization circuit 4 Variable length encoding circuit 5 Step size determination circuit 6 Code amount monitoring circuit

フロントページの続き (56)参考文献 特開 平2−194734(JP,A) 特開 平2−270490(JP,A) 特開 昭56−48737(JP,A) 特開 平3−10486(JP,A) 特開 平3−140074(JP,A) 特開 平3−49475(JP,A) 特開 平3−66281(JP,A) 特開 平3−113979(JP,A) 特開 平3−263927(JP,A) (58)調査した分野(Int.Cl.7,DB名) H03M 7/30 Continuation of front page (56) References JP-A-2-194734 (JP, A) JP-A-2-270490 (JP, A) JP-A-56-48737 (JP, A) JP-A-3-10486 (JP, A) JP-A-3-140074 (JP, A) JP-A-3-49475 (JP, A) JP-A-3-66281 (JP, A) JP-A-3-113979 (JP, A) 3-263927 (JP, A) (58) Field surveyed (Int. Cl. 7 , DB name) H03M 7/30

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力信号を所定フレーム毎に量子化して
符号化された符号データを出力する装置において、量子
化ステップサイズを適宜変更して前記符号化されるデー
タの量を制御する符号量制御装置であってフレーム毎に生成された前記符号データの量を監視する
符号量監視手段と、 基準符号量と前記フレーム毎の符号データ量との差分か
ら現フレームにおける超過符号量を演算する超過符号量
演算手段と、 現フレームまでの超過符号量を順次加算して累積超過符
号量を求める累積超過符号量算出手段と、 現フレームにおける基準符号量と現フレームにおける超
過符号量とに基づいて次フレームの基準符号量を補正す
る補正手段と、 前記累積超過符号量が第1の 所定値よりも大きいときに
は前記量子化ステップサイズを大きくし、第2の所定値
よりも小さいときは該量子化ステップサイズを小さくす
る手段とを備えたことを特徴とする符号量制御装置。
An input signal is quantized every predetermined frame.
In a device for outputting encoded code data, the quantization step size is appropriately changed to obtain the encoded data.
A code amount control device for controlling the amount of data, monitoring the amount of the code data generated for each frame
Code amount monitoring means, and whether the difference between the reference code amount and the code data amount for each frame is
Excess code amount to calculate the excess code amount in the current frame from
The arithmetic means and the excess code amount up to the current frame are sequentially added to obtain the cumulative excess code.
Means for calculating the amount of accumulated excess code for determining the amount of code
The reference code amount of the next frame is corrected based on the over code amount.
A correction unit that, the when the accumulated excess code amount is greater than a first predetermined value to increase the quantization step size, and means when the second is smaller than the predetermined value to reduce the quantization step size A code amount control device, comprising:
JP17929591A 1991-07-19 1991-07-19 Code amount control device Expired - Fee Related JP3083595B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17929591A JP3083595B2 (en) 1991-07-19 1991-07-19 Code amount control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17929591A JP3083595B2 (en) 1991-07-19 1991-07-19 Code amount control device

Publications (2)

Publication Number Publication Date
JPH0529950A JPH0529950A (en) 1993-02-05
JP3083595B2 true JP3083595B2 (en) 2000-09-04

Family

ID=16063332

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17929591A Expired - Fee Related JP3083595B2 (en) 1991-07-19 1991-07-19 Code amount control device

Country Status (1)

Country Link
JP (1) JP3083595B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005333609A (en) * 2004-04-22 2005-12-02 Sanyo Electric Co Ltd Encoding control circuit and encoding circuit

Also Published As

Publication number Publication date
JPH0529950A (en) 1993-02-05

Similar Documents

Publication Publication Date Title
US6587508B1 (en) Apparatus, method and computer program product for transcoding a coded moving picture sequence
US5038209A (en) Adaptive buffer/quantizer control for transform video coders
JP3688730B2 (en) Quantizer
US6678322B1 (en) Video data coding device, video data coding method, video data transmitting device, and video data recording medium
US6208688B1 (en) Method of selecting a requantization step size and controlling a bit-rate
JP3814321B2 (en) Quantization parameter determination apparatus and method
JPH07322252A (en) Image coder
JP2002112266A (en) Video encoder and video encoding method
EP0427108B1 (en) Picture coding apparatus
JP3083595B2 (en) Code amount control device
EP0545875B1 (en) Method for image coding of a video signal
JP2004040811A (en) Method and apparatus for controlling amount of dct computation performed to encode motion image
JP2768260B2 (en) Image coding control method
JPH07212795A (en) Method and equipment for picture coding
JPH11196424A (en) Device and method for picture processing and presentation medium
JP3189257B2 (en) Image encoder
JP2002204449A (en) Quantization unit setting device, quantization unit setting method, coder and coding method, and information recording medium
JPH0638191A (en) Animation signal coding device
JPH07322254A (en) Coder
JPH06113271A (en) Picture signal coding device
JP3137863B2 (en) Video coding control method
JP3297471B2 (en) Image coding device
JPH06205393A (en) Controller for quantity of generated encoding information for dynamic image
JP3226713B2 (en) Encoding method
JP2000050277A (en) Coding device and coding method

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees