JPH07143479A - Video compression coder - Google Patents

Video compression coder

Info

Publication number
JPH07143479A
JPH07143479A JP28516493A JP28516493A JPH07143479A JP H07143479 A JPH07143479 A JP H07143479A JP 28516493 A JP28516493 A JP 28516493A JP 28516493 A JP28516493 A JP 28516493A JP H07143479 A JPH07143479 A JP H07143479A
Authority
JP
Japan
Prior art keywords
quantization
code amount
data
unit
quantization level
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
JP28516493A
Other languages
Japanese (ja)
Inventor
Yoshihide Kawamura
好英 川村
Yushi Sano
雄史 佐野
Noriaki Tanabiki
範明 田靡
Hideyuki Shimada
秀幸 嶋田
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 JP28516493A priority Critical patent/JPH07143479A/en
Publication of JPH07143479A publication Critical patent/JPH07143479A/en
Priority to US08/744,556 priority patent/US5978544A/en
Pending legal-status Critical Current

Links

Landscapes

  • Image Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To obtain a video compression coder in which video data are compressed while suppressing deterioration in quality of a video image when a large margin of a code quantity is taken. CONSTITUTION:After input video data are transformed into a DCT coefficient by a DCT section 11, a quantization section 12 applies quantization at a quantization level designated by quantization control data and the quantization data are inputted to a variable length coding section 13, in which compression coding is made in the unit of a predetermined block. A code quantity detection section 14 detects the code quantity of coding data and the result of detection is given to a quantization control section 15. A code quantity - quantization level control characteristic representing the quantization level and the code quantity to obtain an average code quantity of input picture data is given in advance in the quantization control section 15 and a quantization level of a succeeding block is decided based on the characteristic and the code quantity information from the code quantity detection section 14 to generate and output corresponding quantization control data.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、映像データの伝送、
記録に利用される映像圧縮符号化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to transmission of video data,
The present invention relates to a video compression encoding device used for recording.

【0002】[0002]

【従来の技術】従来より、映像データの伝送にあって
は、伝送回線のデータ伝送能力の限界またはコストの関
係で、映像データを圧縮符号化して伝送する場合が多
い。また、映像記録装置でも、記録媒体のコスト等の理
由により、映像データを圧縮符号化して記録する場合が
ある。
2. Description of the Related Art Conventionally, in the transmission of video data, there are many cases in which the video data is compressed and encoded for transmission due to the limit of the data transmission capacity of the transmission line or the cost. Further, even in the video recording apparatus, the video data may be compressed and encoded and recorded due to the cost of the recording medium.

【0003】このような映像データの圧縮符号化処理を
行う従来の映像圧縮符号化装置では、伝送回線あるいは
記録媒体の能力に合わせて、単位時間当りの符号量が一
定になるように制御を行っている。
In a conventional video compression coding apparatus for performing such compression coding processing of video data, control is performed so that the code amount per unit time becomes constant according to the capability of the transmission line or the recording medium. ing.

【0004】具体的には、図7に示すように、一定に制
御すべき符号量dcに対して、符号量が多いときは映像
の品質すなわち量子化レベルを落として符号量を減少さ
せ、符号量が少ないときは映像の品質すなわち量子化レ
ベルを上げて符号量を増加させる。
Specifically, as shown in FIG. 7, when the code amount dc to be controlled is constant, when the code amount is large, the quality of the image, that is, the quantization level is lowered to reduce the code amount. When the amount is small, the image quality, that is, the quantization level is increased to increase the code amount.

【0005】このとき、量子化レベルの制御に応じて符
号量が変動する。しかし、平均すると目標符号量dcに
収まるので、出力段にバッファメモリを用いることで符
号量の変動を吸収することができる。これによって、映
像の絵柄によって圧縮後の符号量が変化するのを防ぎ、
符号量を一定に保つようにしている。
At this time, the code amount changes according to the control of the quantization level. However, since the average code amount falls within the target code amount dc, it is possible to absorb the variation in the code amount by using the buffer memory in the output stage. This prevents the code amount after compression from changing depending on the picture pattern,
The code amount is kept constant.

【0006】しかしながら、上記のように符号量を一定
化する映像圧縮符号化装置では、絵柄によって映像の品
質が大きく変化してしまう。図8にある映像データにつ
いて符号量Dが一定になるように制御した場合に、量子
化レベルQが変化する範囲を示す。同図から、絵柄によ
って映像品質の変化が大きいことがわかる。
However, in the video compression coding apparatus which makes the code amount constant as described above, the quality of the video varies greatly depending on the design. FIG. 8 shows a range in which the quantization level Q changes when the code amount D of the video data shown in FIG. 8 is controlled to be constant. From the figure, it can be seen that the image quality greatly changes depending on the design.

【0007】一方、例えば半導体メモリを記録媒体とす
る映像記録装置のように、符号量にある程度の許容範囲
を持つものがある。このような場合には、必ずしも符号
量を一定にする必要はなく、映像の品質をできる限り保
持することが望まれる。
On the other hand, for example, some video recording apparatuses using a semiconductor memory as a recording medium have a certain allowable range of code amount. In such a case, it is not always necessary to make the code amount constant, and it is desirable to maintain the quality of video as much as possible.

【0008】[0008]

【発明が解決しようとする課題】以上述べたように従来
の映像圧縮符号化装置では、符号量一定化方式を採用し
ているため、絵柄によって映像の品質が大きく変化して
しまうという欠点があった。
As described above, the conventional video compression coding apparatus employs the constant code amount method, and therefore has the drawback that the quality of the video varies greatly depending on the design. It was

【0009】この発明は上記の課題を解決するためにな
されたもので、符号量変化のマージンが大きくとれる場
合に、映像の品質劣化を抑制しつつ映像データを圧縮で
きる映像圧縮符号化装置を提供することを目的とする。
The present invention has been made to solve the above problems, and provides a video compression encoding apparatus capable of compressing video data while suppressing deterioration of video quality when a large margin of change in code amount can be taken. The purpose is to do.

【0010】[0010]

【課題を解決するための手段】上記問題点を解決するた
めにこの発明に係る映像圧縮符号化装置は、入力映像デ
ータを量子化制御データで指定される量子化レベルで量
子化する量子化部と、この量子化部から出力される量子
化データを所定ブロック単位で圧縮符号化する可変長符
号化部と、この可変長符号化部から出力される符号化デ
ータの符号量を検出する符号量検出部と、この符号量検
出部の検出結果に基づいて前記量子化部の量子化レベル
が適性レベルとなるように量子化制御データを生成して
前記量子化部に出力する量子化制御部とを具備し、前記
量子化制御部は、予め入力画像データの平均符号量を得
るための符号量と量子化レベルとの関係を示す符号量−
量子化レベル制御特性が与えられ、当該特性と前記符号
量検出部からの符号量情報とに基づいて次ブロックの量
子化レベルを決定し、対応する量子化制御データを生成
出力するようにしたことを特徴とする。
In order to solve the above problems, a video compression coding apparatus according to the present invention is a quantizer for quantizing input video data at a quantization level designated by quantization control data. A variable length coding unit for compressing and coding the quantized data output from the quantizing unit in predetermined block units, and a code amount for detecting the code amount of the coded data output from the variable length coding unit. A detection unit, and a quantization control unit that generates quantization control data so that the quantization level of the quantization unit becomes an appropriate level based on the detection result of the code amount detection unit and outputs the quantization control data to the quantization unit. Wherein the quantization control unit has a code amount indicating a relationship between a code amount and a quantization level for obtaining an average code amount of input image data in advance−
A quantization level control characteristic is given, the quantization level of the next block is determined based on the characteristic and the code amount information from the code amount detection unit, and the corresponding quantization control data is generated and output. Is characterized by.

【0011】[0011]

【作用】上記構成による映像圧縮符号化装置では、量子
化部において量子化制御データによって指定される量子
化レベルで入力映像データを量子化し、この量子化デー
タを可変長符号部に入力して所定ブロック単位で圧縮符
号化する。この符号化データの符号量を符号量検出部で
検出し、その検出結果を量子化制御部に入力する。この
量子化制御部はは、予め入力画像データの平均符号量を
得るための符号量と量子化レベルとの関係を示す符号量
−量子化レベル制御特性が与えられており、当該特性と
符号量検出部からの符号量情報とに基づいて次ブロック
の量子化レベルを決定し、対応する量子化制御データを
生成出力する。
In the video compression coding apparatus having the above configuration, the input video data is quantized at the quantization level specified by the quantization control data in the quantizing unit, and the quantized data is input to the variable length coding unit and predetermined. Compress and encode in block units. The code amount of this encoded data is detected by the code amount detecting unit, and the detection result is input to the quantization control unit. This quantization control unit is previously given a code amount-quantization level control characteristic indicating the relationship between the code amount and the quantization level for obtaining the average code amount of the input image data. The quantization level of the next block is determined based on the code amount information from the detection unit, and the corresponding quantization control data is generated and output.

【0012】[0012]

【実施例】以下、図面を参照してこの発明の一実施例に
ついて説明する。図1はこの発明に係る映像圧縮符号化
装置を用いた映像記録再生装置の構成を示すものであ
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows the configuration of a video recording / reproducing apparatus using the video compression encoding apparatus according to the present invention.

【0013】図1において、入力映像データはDCT部
(離散コサイン変換部)11でDCT係数に変換され、
量子化部12で量子化制御データに基づいて量子化され
た後、可変長符号化部13でフレーム毎に符号化されて
映像データ記録再生装置21に送られる。
In FIG. 1, input video data is converted into DCT coefficients by a DCT unit (discrete cosine transform unit) 11,
After being quantized by the quantizer 12 based on the quantized control data, the variable length encoder 13 encodes each frame and sends it to the video data recording / reproducing device 21.

【0014】符号量検出部14は可変長符号化部13か
ら出力される符号化データを取り込んでその符号量を検
出するもので、その情報は量子化制御部15に送られ
る。この量子化制御部15は、入力した符号量情報から
適性量子化レベルを判別し、判別結果に対応する量子化
制御データを上記量子化部12に送出する。
The code amount detector 14 takes in the encoded data output from the variable length encoder 13 and detects the code amount, and the information is sent to the quantization controller 15. The quantization control unit 15 determines the appropriate quantization level from the input code amount information, and sends the quantization control data corresponding to the determination result to the quantization unit 12.

【0015】映像データ記録再生装置21は、例えば半
導体メモリを記録媒体とし、記録モードでは、可変長符
号化部13から出力される符号化データ、量子化制御部
15から出力される量子化制御データを共に取り込んで
半導体メモリに順次書き込み、再生モードでは半導体メ
モリから任意の符号化データを読み出すと共に対応する
量子化制御データも読み出す。
The video data recording / reproducing apparatus 21 uses, for example, a semiconductor memory as a recording medium, and in the recording mode, encoded data output from the variable length encoding unit 13 and quantization control data output from the quantization control unit 15. Are read together and sequentially written into the semiconductor memory, and in the reproduction mode, arbitrary encoded data is read out from the semiconductor memory and corresponding quantization control data is also read out.

【0016】映像データ記録再生装置21で再生された
符号化データは可変長復号化部31に送られ、量子化制
御データは逆量子化部32に送られる。可変長復号化部
31に入力された符号化データは元の量子化データに戻
され、逆量子化部32で量子化制御データに基づいて逆
量子化される。そして、逆DCT部33で逆DCT変換
処理され、これによって元の映像データが復調される。
The encoded data reproduced by the video data recording / reproducing apparatus 21 is sent to the variable length decoding unit 31, and the quantization control data is sent to the dequantization unit 32. The encoded data input to the variable length decoding unit 31 is restored to the original quantized data, and the dequantization unit 32 dequantizes the dequantized data based on the quantized control data. Then, the inverse DCT unit 33 performs an inverse DCT conversion process, whereby the original video data is demodulated.

【0017】上記構成において、以下、本発明の特徴と
する量子化制御部15のアルゴリズムについて、図2乃
至図4を参照して説明する。いま、画像記録再生部21
の記録条件として、毎フレームの符号量Dが最低dL =
0キロバイトから最大dU =300キロバイトまで許容
できるものとし、映像の品質として確保したい量子化レ
ベルQが最低qL =90%(入力映像データの量子化レ
ベルQを1〜100%で表わすものとする)であるもの
とする。
In the above configuration, the algorithm of the quantization controller 15 which is a feature of the present invention will be described below with reference to FIGS. 2 to 4. Now, the image recording / playback unit 21
As a recording condition of, the code amount D of each frame is at least dL =
From 0 kilobytes to a maximum dU = 300 kilobytes, the quantization level Q to be ensured as video quality is at least qL = 90% (the quantization level Q of input video data is represented by 1 to 100%). Shall be

【0018】まず、毎フレームの符号量Dを長時間に渡
って蓄積し、蓄積したフレーム数で除算することで平均
符号量davを求める。さらに、可変長符号化部13の出
力データがこの平均符号量davになるように量子化レベ
ルを制御するD−Q(符号量−量子化レベル)制御特性
を求める。この特性は絵柄に依存するため、様々な絵柄
の映像を符号化し、その傾向を調べてみる必要がある。
一例を図3に示す。尚、図3ではわずかでも圧縮効果が
得られるように、量子化レベルQを最大qH =96%と
している。
First, the code amount D of each frame is accumulated for a long time and divided by the number of accumulated frames to obtain the average code amount dav. Further, a DQ (code amount-quantization level) control characteristic for controlling the quantization level so that the output data of the variable length coding unit 13 has the average code amount dav is obtained. Since this characteristic depends on the design, it is necessary to encode images of various designs and investigate the tendency.
An example is shown in FIG. In FIG. 3, the quantization level Q is set to qH = 96% at the maximum so that a slight compression effect can be obtained.

【0019】図2は図3に示したD−Q制御特性を量子
化制御部15に設定したときの制御フローを示すもので
ある。まずステップS1において、現在の量子化レベル
qi が90%以上か否か判別する。90%に未満ならば
(NO)、さらにステップS2において、現在の符号量
di が300キロバイト以下か否か判別する。300以
下ならば(YES)、ステップS3で量子化レベルを1
ステップ増大させる量子化制御データを生成し、300
キロバイトを越えるときは(NO)、ステップS4で量
子化レベルを1ステップ減少させる量子化制御データを
生成してステップS1に戻り、次のフレームについて処
理する。
FIG. 2 shows a control flow when the DQ control characteristic shown in FIG. 3 is set in the quantization controller 15. First, in step S1, it is determined whether or not the current quantization level qi is 90% or more. If it is less than 90% (NO), it is further determined in step S2 whether or not the current code amount di is 300 kilobytes or less. If it is less than 300 (YES), the quantization level is set to 1 in step S3.
Generate quantized control data for increasing the number of steps, and
If it exceeds the kilobyte (NO), the quantization control data for reducing the quantization level by one step is generated in step S4, and the process returns to step S1 to process the next frame.

【0020】一方、ステップS1において、量子化レベ
ルが90%以上のときは(YES)、ステップS5でD
−Q制御特性を参照し、同じ符号量di に相当する特性
上の量子化レベルqa を求める。そして、ステップS6
でq0 =k(qi +qa )(但し、kは標準で0.5)
の近似計算によって次のフレームに対する量子化レベル
q0 を決定し、ステップS7で対応する量子化制御デー
タを生成し、ステップS1に戻って次のフレームについ
て処理する。
On the other hand, when the quantization level is 90% or more in step S1 (YES), D in step S5.
Referring to the -Q control characteristic, the quantization level qa on the characteristic corresponding to the same code amount di is obtained. Then, step S6
Where q0 = k (qi + qa) (where k is 0.5 as standard)
To determine the quantization level q0 for the next frame, generate corresponding quantization control data in step S7, and return to step S1 to process the next frame.

【0021】上記制御フローに量子化制御を行った場
合、符号量Dは、図4に示すように、許容符号量dU の
範囲内で絵柄(量子化レベル90%以上、符号量300
キロバイト以下)に応じて大きく変化する。しかしなが
ら、長時間について平均化してみると、先に求めた平均
符号量に近付くことになる。
When the control flow is quantized, as shown in FIG. 4, the code amount D is a pattern (quantization level 90% or more, code amount 300) within the allowable code amount dU.
(Kilobytes or less) will vary greatly. However, averaging over a long period of time approaches the average code amount previously obtained.

【0022】ここで、予め求めた平均符号量は予測値で
あるため、実際に入力した映像データの平均符号量と一
致しない場合が起こり得る。このような場合には、入力
映像データについて過去の規定フレーム数における平均
符号量を求め、この平均符号量に基づいてkの値を補正
することで対応可能である。
Since the average code amount obtained in advance is a predicted value, it may happen that the average code amount does not match the average code amount of the actually input video data. In such a case, it is possible to deal with the input video data by calculating the average code amount in the past specified number of frames and correcting the value of k based on the average code amount.

【0023】また、kの値を変えず、D−Q制御特性そ
のものを実測の平均符号量から調整しても同様に対応で
きる。この場合、フィードバック制御により自動調整が
可能である。図5にその制御フローを示し、図6にその
制御によってD−Q制御特性が変化する様子を示す。
Further, even if the value of k is not changed and the DQ control characteristic itself is adjusted from the actually measured average code amount, the same effect can be obtained. In this case, automatic adjustment is possible by feedback control. FIG. 5 shows the control flow, and FIG. 6 shows how the DQ control characteristic changes due to the control.

【0024】まず、ステップS11で現在のフレームの
符号量を取り込み、ステップS12で現フレームの符号
量を合わせた過去1000フレームの平均符号量を算出
する。そして、ステップS13で現在のD−Q制御特性
の基礎となっている平均符号量と比較する。
First, in step S11, the code amount of the current frame is fetched, and in step S12, the average code amount of the past 1000 frames including the code amount of the current frame is calculated. Then, in step S13, the average code amount which is the basis of the current DQ control characteristic is compared.

【0025】ここで、両者の差が±10%以内のときD
−Q制御特性は図5中Aに示すようにそのままとする
(ステップS14)。また、−10%以下のときは図5
中Bに示すようにD−Q制御特性の傾斜を1ステップ上
げる(ステップS15)。逆に、+10%以上のときは
図5中Cに示すようにD−Q制御特性の傾斜を1ステッ
プ下げる(ステップS16)。
Here, when the difference between the two is within ± 10%, D
The -Q control characteristic is left unchanged as indicated by A in FIG. 5 (step S14). Further, when it is less than -10%,
As shown in the middle B, the slope of the DQ control characteristic is increased by one step (step S15). On the contrary, when it is + 10% or more, the slope of the DQ control characteristic is lowered by one step as shown by C in FIG. 5 (step S16).

【0026】最終的に、ステップS17において、新た
に求められたD−Q制御特性を元に、近似計算によって
次のフレームの量子化レベルQを算出し、対応する量子
化制御データを生成して量子化部12に送る。これによ
り、常に最適なD−Q制御特性が得られるようになり、
より効果的な圧縮符号化を実現することができる。
Finally, in step S17, the quantization level Q of the next frame is calculated by approximation calculation based on the newly obtained DQ control characteristic, and corresponding quantization control data is generated. It is sent to the quantizer 12. As a result, the optimum DQ control characteristic can always be obtained,
More effective compression encoding can be realized.

【0027】尚、上記実施例では符号量変化のマージン
が大きくとれる映像記録再生装置に適用した場合につい
て説明したが、この発明はこれに限定されるものではな
く、例えばATM伝送のように伝送レートに弾力性があ
る場合にも適用可能である。また、符号化はフレーム単
位によらず、フィールド単位等の任意のブロック単位で
あってもかまわない。その他、この発明の要旨を変更し
ない範囲で種々変形しても同様に実施可能であることは
いうまでもない。
In the above embodiment, the case where the present invention is applied to the video recording / reproducing apparatus in which the margin of the code amount change is large has been described. However, the present invention is not limited to this, and a transmission rate such as ATM transmission can be used. It can also be applied when there is elasticity. The encoding may be performed in arbitrary block units such as field units instead of frame units. Needless to say, the present invention can also be implemented in various ways without departing from the scope of the invention.

【0028】[0028]

【発明の効果】以上述べたようにこの発明によれば、符
号量変化のマージンが大きくとれる場合に、映像の品質
劣化を抑制しつつ映像データを圧縮できる映像圧縮符号
化装置を提供することができる。
As described above, according to the present invention, it is possible to provide a video compression coding apparatus capable of compressing video data while suppressing deterioration of video quality when a large margin of change in code amount can be taken. it can.

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

【図1】この発明に係る映像圧縮符号化装置の一実施例
として当該装置を用いた映像記録再生装置の構成を示す
ブロック回路図である。
FIG. 1 is a block circuit diagram showing a configuration of a video recording / reproducing apparatus using the video compression encoding apparatus according to an embodiment of the present invention.

【図2】同実施例の量子化制御部の基本的な制御アルゴ
リズムを示すフローチャートである。
FIG. 2 is a flowchart showing a basic control algorithm of the quantization controller of the same embodiment.

【図3】上記量子化制御部に予め設定する符号量−量子
化レベル制御特性を示す特性図である。
FIG. 3 is a characteristic diagram showing a code amount / quantization level control characteristic preset in the quantization control unit.

【図4】上記量子化制御部の制御による符号量変化を示
す波形図である。
FIG. 4 is a waveform diagram showing a change in code amount under the control of the quantization controller.

【図5】上記量子化制御部の符号量−量子化レベル制御
特性を自動調整するための制御フローを示すフローチャ
ートである。
FIG. 5 is a flowchart showing a control flow for automatically adjusting the code amount-quantization level control characteristic of the quantization controller.

【図6】図5の制御フローにより符号量−量子化レベル
制御特性が調整される様子を示す特性図である。
FIG. 6 is a characteristic diagram showing how the code amount-quantization level control characteristic is adjusted by the control flow of FIG.

【図7】従来の映像圧縮符号化装置による符号量変化を
示す波形図である。
FIG. 7 is a waveform diagram showing a change in code amount by a conventional video compression encoding device.

【図8】従来の映像圧縮符号化装置の量子化レベルの制
御幅を示す図である。
FIG. 8 is a diagram showing a control width of a quantization level of a conventional video compression encoding device.

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

11…DCT部、12…量子化部、13…可変長符号化
部、14…符号量検出部、15…量子化制御部、21…
映像データ記録再生装置、31…可変長復号化部、32
…逆量子化部、33…逆DCT部。
11 ... DCT unit, 12 ... Quantization unit, 13 ... Variable length coding unit, 14 ... Code amount detection unit, 15 ... Quantization control unit, 21 ...
Video data recording / reproducing device, 31 ... Variable length decoding unit, 32
... inverse quantization section, 33 ... inverse DCT section.

フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 1/41 B (72)発明者 嶋田 秀幸 神奈川県川崎市幸区小向東芝町1番地 株 式会社東芝小向工場内Continuation of front page (51) Int.Cl. 6 Identification number Office reference number FI Technical indication location H04N 1/41 B (72) Inventor Hideyuki Shimada 1 Komukai Toshiba-cho, Saiwai-ku, Kawasaki-shi, Kanagawa Toshiba Corporation Komukai Factory

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 入力映像データを量子化制御データで指
定される量子化レベルで量子化する量子化部と、 この量子化部から出力される量子化データを所定ブロッ
ク単位で圧縮符号化する可変長符号化部と、 この可変長符号化部から出力される符号化データの符号
量を検出する符号量検出部と、 この符号量検出部の検出結果に基づいて前記量子化部の
量子化レベルが適性レベルとなるように量子化制御デー
タを生成して前記量子化部に出力する量子化制御部とを
具備し、 前記量子化制御部は、予め入力画像データの平均符号量
を得るための符号量と量子化レベルとの関係を示す符号
量−量子化レベル制御特性が与えられ、当該特性と前記
符号量検出部からの符号量情報とに基づいて次ブロック
の量子化レベルを決定し、対応する量子化制御データを
生成出力するようにしたことを特徴とする映像圧縮符号
化装置。
1. A quantizer that quantizes input video data at a quantization level specified by quantization control data, and a variable that compresses and encodes the quantized data output from the quantizer in predetermined block units. A long encoding unit, a code amount detecting unit for detecting the code amount of encoded data output from the variable length encoding unit, and a quantization level of the quantizing unit based on the detection result of the code amount detecting unit. , And a quantization control unit that generates quantization control data so as to be an appropriate level and outputs the quantization control data to the quantization unit, wherein the quantization control unit is for obtaining the average code amount of the input image data in advance. A code amount-quantization level control characteristic indicating the relationship between the code amount and the quantization level is given, and the quantization level of the next block is determined based on the characteristic and the code amount information from the code amount detection unit. The corresponding quantization control data Video compression encoding apparatus is characterized in that so as to generate output data.
【請求項2】 前記量子化制御部は、現ブロックを量子
化レベルqi で圧縮したとき、圧縮後の符号量をdi と
し、前記符号量−量子化レベル制御特性からdi に相当
する量子化レベルqa を求め、0<k<1なる定数を用
いてk(qi+qa )の近似演算を行い、この演算結果
を次のブロックの量子化レベルとして決定するようにし
たことを特徴とする請求項1記載の映像圧縮符号化装
置。
2. The quantization control unit, when the current block is compressed at a quantization level qi, sets the code amount after compression to di, and a quantization level corresponding to di from the code amount-quantization level control characteristic. 2. The method according to claim 1, wherein qa is obtained, k (qi + qa) is approximated using a constant of 0 <k <1, and the result of the calculation is determined as the quantization level of the next block. Video compression encoding device.
【請求項3】 前記量子化制御部は、前記kの値を0<
k<1の範囲で任意に補正する機能を有することを特徴
とする請求項2記載の映像圧縮符号化装置。
3. The quantization controller sets the value of k to 0 <
3. The video compression encoding apparatus according to claim 2, which has a function of arbitrarily correcting in the range of k <1.
【請求項4】 前記量子化制御部は、前記符号量検出部
からの符号量情報を入力する毎に過去の規定ブロック数
の平均符号量を求め、この平均符号量と現在の符号量−
量子化レベル制御特性の基礎としている平均符号量とを
比較し、その比較結果に応じて制御特性を調整すること
を特徴とする請求項1記載の映像圧縮符号化装置。
4. The quantization control unit obtains an average code amount of past specified number of blocks every time the code amount information from the code amount detection unit is input, and the average code amount and the current code amount-
2. The video compression coding apparatus according to claim 1, wherein the average code amount which is the basis of the quantization level control characteristic is compared, and the control characteristic is adjusted according to the comparison result.
JP28516493A 1993-06-28 1993-11-15 Video compression coder Pending JPH07143479A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP28516493A JPH07143479A (en) 1993-11-15 1993-11-15 Video compression coder
US08/744,556 US5978544A (en) 1993-06-28 1996-11-06 Video compression coding apparatus and video compression recording/playback apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28516493A JPH07143479A (en) 1993-11-15 1993-11-15 Video compression coder

Publications (1)

Publication Number Publication Date
JPH07143479A true JPH07143479A (en) 1995-06-02

Family

ID=17687925

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28516493A Pending JPH07143479A (en) 1993-06-28 1993-11-15 Video compression coder

Country Status (1)

Country Link
JP (1) JPH07143479A (en)

Similar Documents

Publication Publication Date Title
JP3419497B2 (en) Video compression method and decompression method and apparatus for fixing bits
KR100610520B1 (en) Video data encoder, video data encoding method, video data transmitter, and video data recording medium
CA2011034C (en) A highly efficient coding apparatus
JP2963416B2 (en) Video encoding method and apparatus for controlling bit generation amount using quantization activity
US7065138B2 (en) Video signal quantizing apparatus and method thereof
US7388995B2 (en) Quantization matrix adjusting method for avoiding underflow of data
JPH07177464A (en) Real time picture compression processing unit
US5506623A (en) Data compression methods and systems with quantization distortion measurement means
JPH06141298A (en) Variable transfer rate coder and recording medium
JP4081727B2 (en) Image encoding apparatus, image encoding method, recording apparatus, and recording method
JPH11196410A (en) Method and device for dynamic picture encoding and dynamic picture signal record medium
JPH07143479A (en) Video compression coder
JPH08149413A (en) Variable bit rate encoder, recorder and recording medium
JP3178233B2 (en) Image encoding method, image encoding device, and optical disk
JPH09261638A (en) Image coder
JPH08340531A (en) Variable rate coder
JP3307367B2 (en) Variable transfer rate coding device
JPH0799810B2 (en) Encoding output data amount control system and decoding device thereof
US8817890B2 (en) System and method for controlling the long term generation rate of compressed data
US7327892B2 (en) JPEG2000 encoder
JP2931328B2 (en) Image signal compression coding device
JP2633118B2 (en) Image data compression apparatus and method
JPH1042293A (en) Encoding controller, encoding device and encoding control method
KR0135788B1 (en) Quantization width deciding method in hd-dvcr
JP3224666B2 (en) Data compression device