JPH06245203A - Coder for digital video signal - Google Patents
Coder for digital video signalInfo
- Publication number
- JPH06245203A JPH06245203A JP5157193A JP5157193A JPH06245203A JP H06245203 A JPH06245203 A JP H06245203A JP 5157193 A JP5157193 A JP 5157193A JP 5157193 A JP5157193 A JP 5157193A JP H06245203 A JPH06245203 A JP H06245203A
- Authority
- JP
- Japan
- Prior art keywords
- frame
- data
- class
- encoding
- output
- 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.)
- Granted
Links
Landscapes
- Image Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】この発明は、ディジタルビデオ信
号を圧縮符号化するのに適用されるディジタルビデオ信
号の符号化装置に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital video signal coding apparatus applied to compression-coding a digital video signal.
【0002】[0002]
【従来の技術】ディジタルビデオ信号を例えば回転ヘッ
ドにより磁気テープに記録するディジタルVTRが知ら
れている。ディジタルビデオ信号の情報量が多いので、
その伝送データ量を圧縮するための高能率符号化が採用
されることが多い。種々の高能率符号化の中でも、DC
T(Discrete Cosine Transform)の実用化が進んでい
る。2. Description of the Related Art A digital VTR for recording a digital video signal on a magnetic tape by a rotary head is known. Since the amount of information in a digital video signal is large,
High-efficiency coding for compressing the amount of transmitted data is often adopted. Among various high efficiency coding, DC
Practical application of T (Discrete Cosine Transform) is progressing.
【0003】DCTは、1フレームの画像を例えば(8
×8)のブロック構造に変換し、このブロックを直交変
換の一種であるコサイン変換処理するものである。その
結果、(8×8)の係数データが発生する。このような
係数データは、ランレングス符号、ハフマン符号等の可
変長符号化の処理を受けてから伝送される。伝送時に
は、再生側でのデータ処理を容易とするために、符号化
出力であるコード信号を一定長のシンクブロックのデー
タエリア内に挿入し、コード信号に対して同期信号、I
D信号が付加されたシンクブロックを構成するフレーム
化がなされる。In the DCT, one frame image is converted into, for example, (8
X8) is converted into a block structure, and this block is subjected to cosine transform processing which is a kind of orthogonal transform. As a result, (8 × 8) coefficient data is generated. Such coefficient data is transmitted after being subjected to variable-length coding processing such as run-length coding and Huffman coding. At the time of transmission, in order to facilitate data processing on the reproducing side, a code signal, which is an encoded output, is inserted into the data area of a sync block of a certain length, and a sync signal, I
The sync block to which the D signal is added is framed.
【0004】磁気テープを使用するディジタルVTR、
ディスク状記録媒体を使用するディスク記録装置等で
は、1フィールドあるいは1フレームのビデオデータが
複数個のトラックに記録されるのが普通である。しかし
ながら、上述のDCTのように、可変長出力が形成され
る時には、これらの所定期間のデータ量が変動し、それ
によりフィールドあるいはフレーム単位の編集が面倒と
なる問題があった。このため、所定期間のデータ量を目
標値以下とするための固定長化処理(バッファリング処
理と称する)がなされる。所定期間としては、1フィー
ルド、1フレームでも良いが、必要なメモリ容量を少な
くするために、より短い期間(バッファリング単位と称
する)のデータ量を制御し、結果的に1フィールド、1
フレームのデータ量を一定量としている。A digital VTR using a magnetic tape,
In a disc recording device or the like using a disc-shaped recording medium, it is usual that one field or one frame of video data is recorded on a plurality of tracks. However, when a variable length output is formed as in the DCT described above, there is a problem that the amount of data in these predetermined periods fluctuates, which makes editing in field or frame units troublesome. For this reason, fixed lengthening processing (referred to as buffering processing) is performed to reduce the amount of data in the predetermined period to the target value or less. The predetermined period may be one field and one frame, but in order to reduce the required memory capacity, the data amount in a shorter period (referred to as a buffering unit) is controlled, resulting in one field and one frame.
The amount of frame data is fixed.
【0005】[0005]
【発明が解決しようとする課題】525/60システム
のような標準解像度ビデオ信号(SD−H信号と称す
る)に関しては、記録/再生データの伝送レートが例え
ば25MBPSとされる。若し、この伝送レートを半分
の12.5MBPSとできれば、消費するテープ量を半
分とすることが可能となる。例えば所定のトラックピッ
チで、二つの回転ヘッドにより交互にトラックを形成す
るのに対して、テープ速度を半分とし、一方の回転ヘッ
ドのみによりトラックを形成することが可能となる。さ
らに、高解像度ビデオ信号(HD信号と称する)は、S
D−H信号に対して水平方向の画素数が約2倍、水平走
査線数が約2倍であるので、その情報量がSD信号のそ
れの4倍である。かかるHD信号を記録/再生するため
には、なるべく圧縮率が高い符号化が望ましい。For standard resolution video signals (referred to as SD-H signals) such as the 525/60 system, the transmission rate of the recording / reproducing data is set to 25 MBPS, for example. If this transmission rate could be halved to 12.5 MBPS, the amount of tape consumed could be halved. For example, at a predetermined track pitch, two rotary heads alternately form tracks, whereas the tape speed can be halved and only one rotary head can form tracks. Further, the high resolution video signal (referred to as HD signal) is S
Since the number of pixels in the horizontal direction is about twice and the number of horizontal scanning lines is about twice that of the D-H signal, the amount of information is four times that of the SD signal. In order to record / reproduce such an HD signal, it is desirable to perform encoding with a compression rate as high as possible.
【0006】圧縮率を高めるための手法の一つとして、
10〜15フレーム毎にイントラフレーム符号化を行な
い、残りのフレームは、フレーム差を符号化する方法が
知られている。しかしながら、ディジタルVTRの場合
では、編集をより短いフレームで行う必要があるので、
このような多くのフレームを単位とする符号化は不適当
である。イントラ2フレームの符号化であれば、2フレ
ーム単位の編集が可能となる。上述の符号化出力のデー
タ量の固定長化は、2フレームの期間をバッファリング
処理の対象とするものとなる。As one of the methods for increasing the compression rate,
A method is known in which intra-frame coding is performed every 10 to 15 frames and the frame difference is coded for the remaining frames. However, in the case of a digital VTR, since it is necessary to edit in a shorter frame,
Encoding in units of such many frames is inappropriate. If the intra 2 frames are encoded, editing can be performed in units of 2 frames. In the above-described fixed length of the encoded output data amount, the buffering process is performed for the period of two frames.
【0007】従って、この発明の目的は、高圧縮率を達
成することが可能であり、また、バッファリング処理を
良好に行うことが可能なディジタルビデオ信号の符号化
装置を提供することにある。Therefore, an object of the present invention is to provide a digital video signal coding apparatus which can achieve a high compression rate and can perform a good buffering process.
【0008】[0008]
【課題を解決するための手段】請求項1記載の発明は、
入力ディジタルビデオ信号のデータ量を圧縮するための
符号化装置であって、所定の大きさの符号化ブロック毎
に変換符号化するための直交変換回路と、直交変換回路
と結合され、固定長化単位内の符号化出力のデータ量を
複数のシンクブロックのデータ領域内に収まるように、
制御するための適応量子化回路と、適応量子化回路と結
合された可変長符号化回路と、可変長符号化回路の出力
をシンクブロックの構成の伝送データとするためのフレ
ーム化回路と、適応量子化回路の出力を局部復号するた
めの回路と、局部復号されたデータを蓄えるためのフレ
ームメモリと、フレームメモリからの第1のフレームの
復号データと第1のフレームに引き続く第2のフレーム
との間のフレーム差を符号化ブロック毎に検出し、フレ
ーム差がしきい値より小さい第1のクラスと、フレーム
差がしきい値より大きい第2のクラスとへ符号化ブロッ
クをクラス分けし、第1のクラスの符号化ブロックに関
しては、フレーム差を直交変換回路に与え、第2のクラ
スの符号化ブロックに関しては、第2のフレームのデー
タを直交変換回路に与えるように制御し、固定長化単位
内での第1のフレームの符号化出力と第2のフレームの
符号化出力に対するビット割り当てをクラス分け情報に
応答して制御するための符号化制御回路とからなること
を特徴とするディジタルビデオ信号の符号化装置であ
る。The invention according to claim 1 is
An encoding device for compressing the amount of data of an input digital video signal, which is an orthogonal transform circuit for transform encoding for each encoding block of a predetermined size, and a fixed length by combining with an orthogonal transform circuit. In order to fit the encoded output data amount within a unit within the data area of multiple sync blocks,
An adaptive quantizing circuit for controlling, a variable length coding circuit coupled to the adaptive quantizing circuit, a framing circuit for making the output of the variable length coding circuit into transmission data of a sync block configuration, A circuit for locally decoding the output of the quantization circuit, a frame memory for storing the locally decoded data, decoded data of the first frame from the frame memory, and a second frame following the first frame. A frame difference between the coding blocks is detected for each coding block, and the coding block is classified into a first class in which the frame difference is smaller than a threshold value and a second class in which the frame difference is larger than the threshold value. For the first class coding block, the frame difference is given to the orthogonal transformation circuit, and for the second class coding block, the second frame data is transformed to the orthogonal transformation circuit. And an encoding control circuit for controlling bit allocation for the encoded output of the first frame and the encoded output of the second frame within the fixed length unit in response to the classification information. An encoding device for a digital video signal, which comprises:
【0009】請求項5記載の発明は、入力ディジタルビ
デオ信号のデータ量を圧縮するための符号化装置であっ
て、所定の大きさの符号化ブロック毎に変換符号化する
ための直交変換回路と、直交変換回路と結合され、固定
長化単位内の符号化出力のデータ量を複数のシンクブロ
ックのデータ領域内に収まるように、制御するための適
応量子化回路と、適応量子化回路と結合された可変長符
号化回路と、可変長符号化回路の出力をシンクブロック
の構成の伝送データとするためのフレーム化回路と、適
応量子化回路の出力を局部復号するための回路と、局部
復号されたデータを蓄えるためのフレームメモリと、フ
レームメモリからの第1のフレームの復号データと第1
のフレームに引き続く第2のフレームとの間のフレーム
差を符号化ブロック毎に検出し、フレーム差がしきい値
より小さい第1のクラスと、フレーム差がしきい値より
大きい第2のクラスとへ符号化ブロックをクラス分け
し、第1のクラスの符号化ブロックに関しては、フレー
ム差を直交変換回路に与え、第2のクラスの符号化ブロ
ックに関しては、第2のフレームのデータを直交変換回
路に与えるように制御し、固定長化単位内での第1のフ
レームの符号化出力と第2のフレームの符号化出力に対
するビット割り当てがクラス分け情報に応答して適応制
御される第1のモードと、ビット割り当てがシーンチェ
ンジ等を考慮した固定比とされる第2のモードとを選択
的に制御するための符号化制御回路とからなることを特
徴とするディジタルビデオ信号の符号化装置である。According to a fifth aspect of the present invention, there is provided an encoding device for compressing the data amount of an input digital video signal, which comprises an orthogonal transformation circuit for performing transformation coding for each coding block of a predetermined size. , Coupled with an orthogonal transformation circuit, and coupled with an adaptive quantization circuit for controlling the data amount of the encoded output in the fixed length unit so that the data amount of the coded output is within the data area of a plurality of sync blocks, and the adaptive quantization circuit Variable length coding circuit, a framing circuit for converting the output of the variable length coding circuit into transmission data having a sync block configuration, a circuit for locally decoding the output of the adaptive quantization circuit, and a local decoding A frame memory for storing the stored data, the decoded data of the first frame from the frame memory and the first
Frame difference between the second frame and the second frame subsequent to the frame is detected for each coding block, and a first class in which the frame difference is smaller than a threshold and a second class in which the frame difference is larger than the threshold are detected. The coding blocks are divided into classes, the frame difference is given to the orthogonal transformation circuit for the first class coding blocks, and the data of the second frame is transformed to the orthogonal transformation circuit for the second class coding blocks. And a bit allocation for the coded output of the first frame and the coded output of the second frame within the fixed length unit is adaptively controlled in response to the classification information. And a coding control circuit for selectively controlling a second mode in which bit allocation is a fixed ratio in consideration of scene changes and the like. An encoding device Deo signal.
【0010】[0010]
【作用】イントラ2フレームの符号化によって発生する
データ量を固定長化する時に、固定長化単位内におい
て、第2フレームの発生データ量を予測して、予測結果
に応じて第2フレームに対する割り当てデータ量を決定
する。固定長化単位内の残りのデータ量を第1フレーム
に割り当てる。第2フレームの符号化出力のデータ量が
少ない時には、第1フレームに対して所定値以上のビッ
ト数が割り当てられる。このように、データ伝送期間を
有効に利用できる。When the data amount generated by the encoding of the intra 2 frames is fixed length, the generated data amount of the second frame is predicted within the fixed length unit and the allocation to the second frame is performed according to the prediction result. Determine the amount of data. The remaining amount of data in the fixed length unit is assigned to the first frame. When the data amount of the encoded output of the second frame is small, the number of bits of a predetermined value or more is assigned to the first frame. In this way, the data transmission period can be effectively used.
【0011】[0011]
【実施例】以下、この発明をディジタルVTRに対して
適用した一実施例について図面を参照して説明する。図
1は、ディジタルVTRの記録側に設けられるビデオデ
ータの処理回路の構成を示す。図1において、1で示す
入力端子には、ディジタルビデオ信号が供給される。こ
のディジタルビデオ信号が前処理回路2に供給され、前
処理回路2の出力信号がブロック化およびシャフリング
回路3に供給される。前処理回路2は、データレートを
下げるために設けられた間引きフィルタ、線順次化回路
等である。ブロック化およびシャフリング回路3では、
インターレス走査の順序のビデオデータが例えば(8×
8)のブロック(DCTブロック)の構造のデータに変
換されるブロック化の処理と、1フレーム内で、ビデオ
データの空間的な位置を元のものと異ならせる処理、す
なわち、シャフリングがなされる。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to a digital VTR will be described below with reference to the drawings. FIG. 1 shows the configuration of a video data processing circuit provided on the recording side of a digital VTR. In FIG. 1, a digital video signal is supplied to the input terminal indicated by 1. This digital video signal is supplied to the preprocessing circuit 2, and the output signal of the preprocessing circuit 2 is supplied to the blocking and shuffling circuit 3. The preprocessing circuit 2 is a thinning filter, a line-sequentializing circuit, or the like provided to reduce the data rate. In the blocking and shuffling circuit 3,
If the video data in the interlaced scanning order is (8 ×
8) Blocking processing that is converted into data of the block (DCT block) structure and processing that makes the spatial position of video data different from the original within one frame, that is, shuffling is performed. .
【0012】ブロック化およびシャフリング回路3の出
力が減算回路4に供給され、減算回路4の出力信号がD
CT(コサイン変換)回路5に供給される。DCT回路
5からは(8×8)の係数データ(すなわち、直流分D
C、交流分ACの係数データ)が発生する。DCT回路
5で発生した(8×8)の係数データの内の直流分DC
が圧縮されずに後段の回路に伝送され、その内の63個
の交流分が適応量子化回路6に供給される。The output of the blocking and shuffling circuit 3 is supplied to the subtraction circuit 4, and the output signal of the subtraction circuit 4 is D
It is supplied to the CT (cosine transform) circuit 5. From the DCT circuit 5, (8 × 8) coefficient data (that is, the DC component D
C, AC component AC coefficient data) is generated. DC component DC of (8 × 8) coefficient data generated in the DCT circuit 5
Is transmitted to the circuit at the subsequent stage without being compressed, and 63 of the alternating current components are supplied to the adaptive quantization circuit 6.
【0013】交流分の係数データは、ジグザク走査の順
で次数が低い交流分からこれが高いものに向かって順に
伝送される。また、この交流分の係数データがデータ量
見積り器7に供給される。見積り器7からの量子化ステ
ップと対応する量子化番号QNoは、量子化回路6に供
給されるとともに、記録データ中に挿入される。The alternating current coefficient data is transmitted in order of zigzag scanning from the low order alternating current to the high order alternating current. Further, the coefficient data for the alternating current is supplied to the data amount estimating device 7. The quantization number QNo corresponding to the quantization step from the estimator 7 is supplied to the quantization circuit 6 and inserted into the recording data.
【0014】量子化回路6では、係数データ内の交流分
が量子化される。すなわち、適切な量子化ステップで交
流分の係数データが割算され、その商が整数化される。
この量子化ステップが見積り器7からの量子化番号QN
oによって決定される。DCTおよび可変長符号化で発
生するデータ量は、符号化の対象の絵柄によって変化す
るので、1フィールドあるいは1フレーム期間より短い
バッファリング単位の発生データ量を目標値以下とする
ためのバッファリング処理がなされる。バッファリング
単位を短くするのは、バッファリングのためのメモリ容
量を低減するなど、バッファリング回路の簡略化のため
である。この例では、所定期間(バッファリング単位)
で発生したデータを5シンクブロック内に収まるよう
に、量子化ステップを制御している。In the quantizing circuit 6, the AC component in the coefficient data is quantized. That is, the coefficient data for the alternating current is divided by an appropriate quantization step, and the quotient is converted into an integer.
This quantization step is the quantization number QN from the estimator 7.
determined by o. The amount of data generated by DCT and variable-length coding varies depending on the pattern to be coded. Therefore, a buffering process for reducing the amount of generated data in a buffering unit shorter than one field or one frame period to a target value or less. Is done. The reason for shortening the buffering unit is to simplify the buffering circuit, such as reducing the memory capacity for buffering. In this example, the predetermined period (buffering unit)
The quantization step is controlled so that the data generated in step 5 can be contained within 5 sync blocks.
【0015】量子化回路6の出力が可変長符号化回路8
に供給され、ランレングス符号化、ハフマン符号化等が
なされる。例えば係数データの“0”の連続数であるラ
ンレングスと係数データの値とをROM内に格納された
ハフマンテーブルに与え、可変長コード(符号化出力)
を発生する2次元ハフマン符号化が採用される。可変長
符号化回路8からのコード信号が後段に供給される。見
積り器7は、可変長符号化回路8で参照されるのと同一
のハフマンテーブルを有している。このハフマンテーブ
ルは、可変長符号化した時の出力コードのビット数デー
タを発生する。見積り器7で最適な量子化ステップが判
定され、量子化回路6がこの量子化ステップで係数デー
タを量子化する。The output of the quantization circuit 6 is the variable length coding circuit 8
And run-length coding, Huffman coding, etc. are performed. For example, the run length, which is the number of consecutive "0" s of coefficient data, and the value of coefficient data are given to a Huffman table stored in the ROM, and a variable length code (encoded output) is given.
Two-dimensional Huffman coding is used to generate The code signal from the variable length coding circuit 8 is supplied to the subsequent stage. The estimator 7 has the same Huffman table as that referred to by the variable length coding circuit 8. This Huffman table generates bit number data of an output code when variable length coding is performed. The estimator 7 determines the optimum quantization step, and the quantization circuit 6 quantizes the coefficient data at this quantization step.
【0016】図1中のDCT回路5、適応量子化回路
6、見積り器7および可変長符号化回路8は、基本的な
構成であって、DCT変換を静止ブロックと動きブロッ
クとで区別する処理、係数データの量子化ステップをブ
ロックの精細度(アクティビィティ)に応じて可変する
処理、係数データの次数によって量子化ステップを可変
する処理、HD信号の符号化を並列化する処理等が行わ
れる。動き検出の結果(動きフラグ)、アクティビィテ
ィを識別するためのアクティビィティコードも記録され
る。The DCT circuit 5, the adaptive quantization circuit 6, the estimator 7 and the variable length coding circuit 8 in FIG. 1 have a basic configuration, and a process for distinguishing a DCT transform between a still block and a motion block. , A process of varying the quantization step of coefficient data according to the definition (activity) of the block, a process of varying the quantization step according to the order of the coefficient data, a process of parallelizing the encoding of the HD signal, etc. . The result of motion detection (motion flag) and the activity code for identifying the activity are also recorded.
【0017】上述の符号化処理で発生したデータ(直流
分データ、可変長符号化出力、量子化番号QNo、動き
フラグ、アクティビィティコード)が後段のフレーム化
回路9に供給される。フレーム化回路9において、エラ
ー訂正符号化の処理と記録データのフレーム構造への変
換の処理とトラックシャフリングとがなされる。フレー
ム化回路9の出力端子に記録データが現れる。記録デー
タは、チャンネル符号化回路、記録アンプを介して回転
ヘッドに供給され、磁気テープ上に記録される。The data (DC component data, variable length coded output, quantization number QNo, motion flag, activity code) generated by the above-described coding process is supplied to the framing circuit 9 in the subsequent stage. In the framing circuit 9, error correction coding processing, conversion processing of recording data into a frame structure, and track shuffling are performed. Recording data appears at the output terminal of the framing circuit 9. The recording data is supplied to the rotary head via the channel encoding circuit and the recording amplifier and recorded on the magnetic tape.
【0018】この発明は、圧縮率をより高くするため
に、イントラ2フレーム符号化を行う。すなわち、時間
的に連続する第1フレームIおよび第2フレームPのペ
アPOPが符号化の対象である。第1フレームIに含ま
れるブロックと第2フレームPに含まれ、フレームIの
ブロックと同一位置のブロックとのペアが符号化の単位
である。第1フレームIのブロックは、上述のようにD
CT、可変長符号化の処理で圧縮される。第1フレーム
に関する局部復号出力と第2フレームに関するビデオデ
ータとの間で、画素毎に差分が計算され、この差分の絶
対値がブロック毎に積算される。この積算値の大きさに
応じて適応的に、第2フレームPのブロックの符号化が
制御される。通常、第1フレームおよび第2フレーム間
では、画像の相関が存在し、フレーム間差の値が小さく
なる。このフレーム間差をDCT、可変長符号化する
と、符号化出力のデータ量が元のデータを符号化出力し
た時のものに比して減少する。According to the present invention, intra 2 frame coding is performed in order to increase the compression rate. That is, the pair POP of the first frame I and the second frame P that are temporally consecutive is the target of encoding. A pair of a block included in the first frame I and a block included in the second frame P and located at the same position as the block of the frame I is an encoding unit. The block of the first frame I is D as described above.
It is compressed by CT and variable length coding processing. A difference is calculated for each pixel between the locally decoded output regarding the first frame and the video data regarding the second frame, and the absolute value of this difference is integrated for each block. The coding of the block of the second frame P is adaptively controlled according to the magnitude of this integrated value. Usually, there is an image correlation between the first frame and the second frame, and the value of the inter-frame difference is small. When this frame difference is DCT and variable length coded, the data amount of the coded output is smaller than that when the original data is coded and output.
【0019】図1において、適応量子化回路6と接続さ
れた逆量子化回路10と逆量子化回路10と接続された
逆DCT回路11が局部復号回路を構成する。局部復号
された第1フレームIのデータがフレームメモリ12に
蓄えられる。第2フレームPのビデオデータとフレーム
メモリ12から読出され、ゲート回路13を介された復
号データとが減算回路4において減算される。In FIG. 1, an inverse quantization circuit 10 connected to the adaptive quantization circuit 6 and an inverse DCT circuit 11 connected to the inverse quantization circuit 10 form a local decoding circuit. The locally decoded data of the first frame I is stored in the frame memory 12. The video data of the second frame P and the decoded data read from the frame memory 12 and passed through the gate circuit 13 are subtracted by the subtraction circuit 4.
【0020】ゲート回路13は、符号化制御回路14で
生成されたコントロール信号によってオン/オフされ
る。符号化制御回路14に対して、入力ビデオデータと
フレームメモリ12からのデータとの両者が供給され
る。符号化制御回路14は、さらに、固定長化単位内に
おけるフレームIに対して割り当てられるビット数とフ
レームPに割り当てられるビット数とを制御する機能を
も有する。ビット割り当て情報がメモリ15に蓄えられ
る。現在のPOPで生成されたビット割り当て情報は、
一旦メモリ15に蓄えられ、次のPOPに関して適用さ
れる。The gate circuit 13 is turned on / off by a control signal generated by the encoding control circuit 14. Both the input video data and the data from the frame memory 12 are supplied to the encoding control circuit 14. The coding control circuit 14 also has a function of controlling the number of bits assigned to the frame I and the number of bits assigned to the frame P in the fixed length unit. The bit allocation information is stored in the memory 15. The bit allocation information generated by the current POP is
It is temporarily stored in the memory 15 and applied to the next POP.
【0021】また、イントラ2フレーム符号化は、シー
ンチェンジが発生すると、第1および第2フレーム間の
相関がなくなり、符号化出力のデータ量を削減できで、
場合によってはデータ量がかえって増加する。シーンチ
ェンジは、検出回路16によって検出され、この検出結
果が見積り器7に供給される。入力ビデオ信号の時間的
に連続する2フレーム間のフレーム差を検出し、このフ
レーム差がある程度大きい時に、シーンチェンジが発生
したものと判定される。全画面のフレーム差を検出する
必要はなく、数ラインに関するフレーム差を検出すれば
良い。In addition, in intra 2 frame encoding, when a scene change occurs, the correlation between the first and second frames disappears, and the data amount of encoded output can be reduced.
In some cases, the amount of data will rather increase. The scene change is detected by the detection circuit 16, and the detection result is supplied to the estimator 7. A frame difference between two temporally consecutive frames of the input video signal is detected, and when the frame difference is large to some extent, it is determined that a scene change has occurred. It is not necessary to detect the frame difference of the entire screen, but the frame difference of several lines may be detected.
【0022】図2を参照して符号化制御回路14の一例
について説明する。入力端子21には、フレームIのデ
ータが供給され、入力端子22には、フレームPの局部
復号データが供給される。減算回路23において、両フ
レームのデータが画素毎に減算され、フレーム差が生成
される。減算回路23に対して絶対値化回路24が接続
される。絶対値に変換されたフレーム差が積算回路25
に供給され、1ブロック分のフレーム差絶対値が積算さ
れる。An example of the encoding control circuit 14 will be described with reference to FIG. The data of the frame I is supplied to the input terminal 21, and the locally decoded data of the frame P is supplied to the input terminal 22. The subtraction circuit 23 subtracts the data of both frames for each pixel to generate a frame difference. An absolute value conversion circuit 24 is connected to the subtraction circuit 23. The frame difference converted into the absolute value is the integrating circuit 25.
And the absolute value of the frame difference for one block is integrated.
【0023】積算回路25の出力Efが比較回路26に
供給される。比較回路26には、しきい値Th1および
Th2(Th1<Th2)も供給される。比較回路26
は、EfとTh1,Th2との大小関係に応じて2ビッ
トのフラグ(クラス分け情報)を発生する。すなわち、
Ef≦Th1のブロックがクラスNONEに分けられ、
Th1<Ef<Th2のブロックがクラスPREDに分
けられ、Ef≧Th2のブロックがクラスINTRAに
分けられる。The output Ef of the integrating circuit 25 is supplied to the comparing circuit 26. The threshold values Th1 and Th2 (Th1 <Th2) are also supplied to the comparison circuit 26. Comparison circuit 26
Generates a 2-bit flag (classification information) according to the magnitude relationship between Ef and Th1 and Th2. That is,
Blocks with Ef ≦ Th1 are divided into class NONE,
The block of Th1 <Ef <Th2 is divided into the class PRED, and the block of Ef ≧ Th2 is divided into the class INTRA.
【0024】このフラグが出力端子27に取り出され
る。フラグによって、図1のゲート回路13のオン/オ
フが制御される。クラスNONEの場合では、ゲート回
路13がオンあるいはオフの何れでも良い。クラスNO
NEのブロックは、積算出力Efが小さいブロック、す
なわち、フレーム差が小さいブロックである。典型的に
は、静止画の場合では、ノイズを除けば、Ef=0であ
る。かかるクラスNONEに属するフレームPのブロッ
クは、記録が省略される。再生側では、ペアPOPの他
のフレームIのブロックの復号データをフレームPのブ
ロックとして再度使用する。This flag is taken out to the output terminal 27. ON / OFF of the gate circuit 13 of FIG. 1 is controlled by the flag. In the case of class NONE, the gate circuit 13 may be on or off. Class NO
The NE block is a block having a small integrated output Ef, that is, a block having a small frame difference. Typically, in the case of a still image, Ef = 0 except noise. Recording is omitted in the blocks of the frame P belonging to the class NONE. On the reproducing side, the decoded data of the block of the other frame I of the pair POP is used again as the block of the frame P.
【0025】クラスPREDのブロックは、フレーム差
の絶対値の積算出力Efがある程度存在するものであ
る。このブロックでは、ゲート回路13がオンされる。
従って、図1の減算回路4で生成されたフレーム差がD
CT、可変長符号化される。クラスPREDのブロック
がイントラ2フレームの処理を受けるブロックである。
クラスINTRAのブロックに関しては、ゲート回路1
3がオフされ、減算回路4からは、フレームPのデータ
自身が生じる。従って、クラスINTRAのフレームP
のデータは、フレーム内符号化の処理を受ける。クラス
INTRAは、フレーム間相関が小さく、差データを符
号化しても圧縮率の改善を期待できないクラスである。In the block of class PRED, the integrated output Ef of the absolute value of the frame difference exists to some extent. In this block, the gate circuit 13 is turned on.
Therefore, the frame difference generated by the subtraction circuit 4 in FIG.
CT, variable length coding. A block of class PRED is a block that receives intra 2 frame processing.
For blocks of class INTRA, gate circuit 1
3 is turned off, and the data itself of the frame P is generated from the subtraction circuit 4. Therefore, frame P of class INTRA
Data is subjected to intra-frame encoding processing. The class INTRA is a class in which the correlation between frames is small and improvement of the compression rate cannot be expected even if the difference data is encoded.
【0026】上述のクラス分け情報を示すフラグは、固
定長化単位内のビット割り当てを決定するためにも使用
される。この実施例は、標準解像度のコンポーネントビ
デオ信号を記録/再生するものであり、フレームIの5
マクロブロックの符号化データ量とこれと同一位置のフ
レームPの5マクロブロックの符号化データ量との和が
所定の目標ビット数と等しいか、またはそれ以下となる
ように、データ量を制御している。目標ビット数は、5
個のシンクブロックに挿入できるデータ量である。ここ
で、マクロブロックは、コンポーネントビデオ信号の各
コンポーネントをブロック化した時に、Y信号の4ブロ
ックと色差信号の2ブロックとの合計6ブロックからな
る大きさの処理単位である。従って、5マクロブロック
は、30ブロックである。The flag indicating the above classification information is also used to determine the bit allocation in the fixed length unit. This embodiment is for recording / reproducing a standard-definition component video signal.
The data amount is controlled so that the sum of the coded data amount of the macroblock and the coded data amount of the 5 macroblocks of the frame P at the same position as this is equal to or less than a predetermined target bit number. ing. The target number of bits is 5
This is the amount of data that can be inserted into each sync block. Here, the macroblock is a processing unit having a size of 6 blocks, that is, 4 blocks of the Y signal and 2 blocks of the color difference signal when each component of the component video signal is divided into blocks. Therefore, 5 macroblocks are 30 blocks.
【0027】図3は、この処理を説明するもので、5+
5=10マクロブロック(バッファリング単位)のデー
タ量の目標ビット数がTで表されている。フレームIの
5マクロブロックの符号化データとフレームPの5マク
ロブロックの符号化データとに対して、どのように目標
ビット数Tを割り当てるかが制御される。このビット割
り当てのモードとしては、PRE、FIX、SCHの3
個のモードが存在する。図4に示すように、PREで
は、フレームIに対してT−B(ビット)が割り当てら
れ、フレームPに対してB(ビット)が割り当てられ
る。但し、T−Bは、(3/4)T以上である。FIX
では、フレームIおよびフレームPのそれぞれに対する
ビット割り当てがT×(3/4)、T/4に固定され
る。SCHでは、フレームIおよびフレームPのそれぞ
れに対するビット割り当てがT/2、T/2に固定され
る。FIG. 3 illustrates this process, 5+
The target number of bits of the data amount of 5 = 10 macroblocks (buffering unit) is represented by T. It is controlled how to assign the target number of bits T to the coded data of the 5 macroblocks of the frame I and the coded data of the 5 macroblocks of the frame P. The bit allocation modes are PRE, FIX, and SCH.
There are 3 modes. As shown in FIG. 4, in PRE, TB (bit) is assigned to the frame I and B (bit) is assigned to the frame P. However, TB is (3/4) T or more. FIX
In, the bit allocation for each of the frame I and the frame P is fixed to T × (3/4) and T / 4. In the SCH, the bit allocation for each of the frame I and the frame P is fixed to T / 2 and T / 2.
【0028】ビット割り当てが適応的に制御されるモー
ドPREについて説明する。このモードでは、上述のよ
うに、フレームIに対して、少なくとも(3/4)Tが
割り当てられる。従って、残りのT/4がフレームPに
対して割り当てられたビット数である。フレームIに比
してフレームPの方が発生データ量が少ないことに照応
して、割り当てビット数の基準がこのように設定されて
いる。さらに、フレームPの符号化は、上述のように、
3個のクラス(NONE、PRED、INTRA)が存
在し、その結果、5マクロブロックの符号化データ量が
一定ではない。極端な例として、5マクロブロックの全
てがNONEのクラスであれば、発生するデータ量が0
である。従って、フレームPに対するビット割り当てが
フレームIに対するものより少なくても、フレームPが
T/4を必要としない場合がありうる。その場合る生じ
た余裕のビット数をフレームI用の(3/4)Tに対し
て加算する。フレームI用に割り当てられるビット数が
増大することは、フレームIの復号画像の画質の向上に
とって有利である。A mode PRE in which bit allocation is adaptively controlled will be described. In this mode, at least (3/4) T is assigned to the frame I as described above. Therefore, the remaining T / 4 is the number of bits allocated to the frame P. Since the amount of generated data in the frame P is smaller than that in the frame I, the standard of the number of allocated bits is set in this way. Further, the encoding of the frame P, as described above,
There are three classes (NONE, PRED, INTRA), and as a result, the amount of encoded data of 5 macroblocks is not constant. As an extreme example, if all 5 macroblocks are in the NONE class, the amount of generated data is 0.
Is. Therefore, frame P may not require T / 4 even though the bit allocation for frame P is less than that for frame I. In that case, the number of bits of margin generated is added to (3/4) T for frame I. The increase in the number of bits allocated for the frame I is advantageous for improving the image quality of the decoded image of the frame I.
【0029】この適応割り当ての制御が符号化制御回路
14によりなされる。図2に示すように、フラグがスラ
イス数発生回路28に供給され、クラス分け情報を示す
フラグに応じた数のスライス数が回路28から発生す
る。スライスは、ビット割り当ての適応制御のために導
入されたデータ量の単位であって、例えばT/4を30
等分したビット数が1スライスに選定される。スライス
数発生回路28は、NONEのクラスに対して0スライ
ス、PREDのクラスに対して2スライス、INTRA
のクラスに対して3スライスをそれぞれ発生する。この
スライス数は、統計的、経験的な根拠に基づいて決定さ
れた一例である。The adaptive allocation control is performed by the coding control circuit 14. As shown in FIG. 2, the flag is supplied to the slice number generation circuit 28, and the number of slices corresponding to the flag indicating the classification information is generated from the circuit 28. A slice is a unit of data amount introduced for adaptive control of bit allocation, and for example, T / 4 is 30
The number of bits equally divided is selected for one slice. The slice number generation circuit 28 has 0 slices for the NONE class, 2 slices for the PRED class, and INTRA.
3 slices are generated for each class. The number of slices is an example determined based on statistical and empirical grounds.
【0030】スライス数発生回路28の出力信号が積算
回路29に供給され、5マクロブロック(=30ブロッ
ク)分積算される。積算回路29に対してクリップ回路
30が接続される。クリップ回路30は、積算されたス
ライス数を30(=T/4)でクリップする。クリップ
回路30に対してデータ変換回路31が接続される。デ
ータ変換回路31は、スライス数をビット数に変換す
る。このデータ変換回路31から出力端子32へフレー
ムPに対して割り当てられるビット数Bのデータが発生
する。演算回路33では、T−Bの演算がされ、出力端
子34には、フレームIに対して割り当てられるビット
数T−Bのデータが発生する。The output signal of the slice number generating circuit 28 is supplied to an integrating circuit 29 and integrated for 5 macroblocks (= 30 blocks). The clipping circuit 30 is connected to the integrating circuit 29. The clipping circuit 30 clips the integrated number of slices by 30 (= T / 4). A data conversion circuit 31 is connected to the clip circuit 30. The data conversion circuit 31 converts the number of slices into the number of bits. Data of the number of bits B allocated to the frame P is generated from the data conversion circuit 31 to the output terminal 32. In the arithmetic circuit 33, the calculation of T-B is performed, and the data of the number of bits T-B allocated to the frame I is generated at the output terminal 34.
【0031】このように生成されたビット割り当てデー
タは、図1中のメモリ15に蓄えられる。2フレームの
ペアPOPには、例えば270個のバッファリング単位
が含まれている。上述のように、バッファリング単位毎
に決定された270個のビット割り当て情報がメモリ1
5に記憶される。このメモリ15のビット割り当てデー
タが次のPOPの符号化処理時に読出され、見積り器7
に供給される。見積り器7は、各バッファリング単位の
ビット割り当てデータを参照してバッファリング処理を
行う。ビット数の代わりにスライス数で表されるビット
割り当て情報をメモリ15に記憶するようにしても良
い。The bit allocation data generated in this way is stored in the memory 15 in FIG. The two-frame pair POP includes, for example, 270 buffering units. As described above, 270 pieces of bit allocation information determined for each buffering unit are stored in the memory 1
Stored in 5. The bit allocation data of the memory 15 is read at the time of the next POP encoding process, and the estimation unit 7
Is supplied to. The estimator 7 refers to the bit allocation data of each buffering unit to perform the buffering process. Bit allocation information represented by the number of slices instead of the number of bits may be stored in the memory 15.
【0032】一つ前のPOPのデータによって決定され
たビット割り当て情報は、符号化を開始した時の2フレ
ームとシーンチェンジとでは、使用できない。そこで、
図4に示す3個のビット割り当てモードを用意し、場合
に応じてモードを選択する。予測モード(PRE)は、
上述した適応制御のモードであり、ノーマルモードであ
る。符号化を開始した時は、固定(FIX)モードが選
択される。このモードでは、フレームIに対して(3/
4)T(ビット)が割り当てられ、フレームPに対して
(T/4)が割り当てられる。The bit allocation information determined by the previous POP data cannot be used in the two frames and the scene change at the time of starting the encoding. Therefore,
The three bit allocation modes shown in FIG. 4 are prepared, and the mode is selected according to the case. Prediction mode (PRE) is
This is the above-mentioned adaptive control mode, which is the normal mode. When encoding is started, the fixed (FIX) mode is selected. In this mode, for frame I (3 /
4) T (bits) are allocated, and (T / 4) is allocated to the frame P.
【0033】図5は、ビット割り当てモードを説明する
ためのもので、F1、F2、F3、・・・は、フレーム
を表し、FiとFi+1 (i=1,3,5,・・・)とに
より2フレームのペアPOPが構成される。符号化が開
始されるフレームF1、F2では、FIXのモードが採
用される。シーンチェンジは、図5Aと図5Bにそれぞ
れ示す二通りの場合で発生する。図5Aの例では、PO
Pのフレーム間でシーンチェンジが発生し、図5Bの例
では、POPと次のPOPの間でシーンチェンジが発生
している。図5Aの場合では、シーンチェンジが発生し
たPOPに対するビット割り当てモードがSCHとされ
る。これは、ビット割り当てをT/2ずつとするモード
である。図5Bの場合では、符号化の開始の場合と等価
であり、従って、シーンチェンジのあとのPOPのモー
ドがFIXとされる。FIG. 5 is for explaining the bit allocation mode. F1, F2, F3, ... Represent frames, and Fi and Fi + 1 (i = 1, 3, 5, ...). ) And, a two-frame pair POP is formed. The FIX mode is adopted in the frames F1 and F2 in which encoding is started. Scene changes occur in two cases shown in FIGS. 5A and 5B, respectively. In the example of FIG. 5A, PO
A scene change occurs between P frames, and in the example of FIG. 5B, a scene change occurs between the POP and the next POP. In the case of FIG. 5A, the bit allocation mode for the POP in which the scene change has occurred is SCH. This is a mode in which the bit allocation is T / 2 each. In the case of FIG. 5B, this is equivalent to the case of the start of encoding, and therefore the POP mode after the scene change is set to FIX.
【0034】シーンチェンジ検出回路16は、これらの
二つのシーンチェンジをそれぞれ検出し、検出結果を見
積り器7に与える。見積り器7は、検出結果に応答して
モードFIXまたはSCHのビット割り当てデータを発
生し、このビット割り当てデータをメモリ15からの適
応割り当てのデータの代わりに使用する機能を有してい
る。The scene change detection circuit 16 detects each of these two scene changes and gives the detection result to the estimator 7. The estimator 7 has a function of generating bit allocation data of the mode FIX or SCH in response to the detection result and using this bit allocation data instead of the data of adaptive allocation from the memory 15.
【0035】以上の符号化によって、1フレーム内でD
CT、可変長符号化する場合と比して、データレートを
半分の12.5Mbpsとすることができる。なお、上
述の例では、フレームIおよびPの同一場所のブロック
間で差分をとっているが、動き補償してから差分をとる
ことも可能である。これは、圧縮率をより高くすること
を可能とする。By the above encoding, D within one frame
The data rate can be halved to 12.5 Mbps as compared with the case of CT and variable length coding. In the above example, the difference is calculated between blocks at the same location in frames I and P, but it is also possible to calculate the difference after motion compensation. This allows a higher compression rate.
【0036】[0036]
【発明の効果】この発明は、イントラ2フレームの符号
化を採用しているので、圧縮率をイントラ1フレームの
ものに比してより高くすることができ、また、2フレー
ム単位の編集が可能である。この発明は、2フレーム間
の発生データ量を制御するために、バッファリング単位
内の二つのフレームに対するビット割り当てを適応的に
制御するので、目標ビット数で表される制限された区間
内に効率的に符号化データを詰め込むことができる。Since the present invention employs intra 2 frame encoding, the compression rate can be made higher than that of intra 1 frame, and editing in units of 2 frames is possible. Is. Since the present invention adaptively controls the bit allocation for two frames in the buffering unit in order to control the amount of generated data between two frames, the efficiency can be improved within the limited interval represented by the target number of bits. It is possible to stuff the encoded data in a physical manner.
【図1】ディジタルVTRの符号化回路の一実施例のブ
ロック図である。FIG. 1 is a block diagram of an embodiment of an encoding circuit of a digital VTR.
【図2】符号化制御回路の一例のブロック図である。FIG. 2 is a block diagram of an example of an encoding control circuit.
【図3】2フレームの符号化出力に対するビット割り当
ての適応的制御の説明のための略線図である。FIG. 3 is a schematic diagram for explaining adaptive control of bit allocation for encoded outputs of two frames.
【図4】ビット割り当てのモードの説明に用いる略線図
である。FIG. 4 is a schematic diagram used to describe a bit allocation mode.
【図5】ビット割り当てモードの選択の説明に用いる略
線図である。FIG. 5 is a schematic diagram used to explain selection of a bit allocation mode.
4 減算回路 5 DCT回路 6 適応量子化回路 7 見積り器 13 ゲート回路 14 符号化制御回路 16 シーンチェンジ検出回路 4 Subtraction circuit 5 DCT circuit 6 Adaptive quantization circuit 7 Estimator 13 Gate circuit 14 Coding control circuit 16 Scene change detection circuit
Claims (9)
圧縮するための符号化装置であって、 所定の大きさの符号化ブロック毎に変換符号化するため
の直交変換手段と、 上記直交変換手段と結合され、固定長化単位内の符号化
出力のデータ量を複数のシンクブロックのデータ領域内
に収まるように、制御するための適応量子化手段と、 上記適応量子化手段と結合された可変長符号化手段と、 上記可変長符号化手段の出力を上記シンクブロックの構
成の伝送データとするためのフレーム化手段と、 上記適応量子化手段の出力を局部復号するための手段
と、 上記局部復号されたデータを蓄えるためのフレームメモ
リと、 上記フレームメモリからの第1のフレームの復号データ
と上記第1のフレームに引き続く第2のフレームとの間
のフレーム差を上記符号化ブロック毎に検出し、上記フ
レーム差が上記しきい値より小さい第1のクラスと、上
記フレーム差が上記しきい値より大きい第2のクラスと
へ上記符号化ブロックをクラス分けし、上記第1のクラ
スの符号化ブロックに関しては、上記フレーム差を上記
直交変換手段に与え、上記第2のクラスの符号化ブロッ
クに関しては、上記第2のフレームのデータを上記直交
変換手段に与えるように制御し、 上記固定長化単位内での上記第1のフレームの符号化出
力と上記第2のフレームの符号化出力に対するビット割
り当てを上記クラス分け情報に応答して制御するための
符号化制御手段とからなることを特徴とするディジタル
ビデオ信号の符号化装置。1. An encoding device for compressing a data amount of an input digital video signal, comprising orthogonal transform means for transform-encoding for each encoded block of a predetermined size, and the orthogonal transform means. An adaptive quantization unit for controlling the combined data amount of the encoded output in the fixed length unit so that the data amount of the encoded output is contained in the data areas of a plurality of sync blocks; and a variable length unit combined with the adaptive quantization unit. Encoding means, framing means for making the output of the variable length encoding means into transmission data having the structure of the sync block, means for locally decoding the output of the adaptive quantizing means, and the local decoding A frame memory for storing the stored data, a frame between the decoded data of the first frame from the frame memory and a second frame following the first frame. Is detected for each of the coded blocks, and the coded blocks are classified into a first class in which the frame difference is smaller than the threshold value and a second class in which the frame difference is larger than the threshold value. , The frame difference is given to the orthogonal transform means for the first class coded block, and the second frame data is given to the orthogonal transform means for the second class coded block. For controlling the bit allocation for the coded output of the first frame and the coded output of the second frame within the fixed length unit in response to the classification information. An encoding device for a digital video signal, comprising: a control means.
しきい値と、上記第1のしきい値より大きい第2のしき
い値と比較し、上記フレーム差が上記第1および第2の
しきい値の間に存在する第1のクラスと、上記フレーム
差が上記第2のしきい値より大きい第2のクラスと、上
記フレーム差が上記第1のしきい値より小さい第3のク
ラスとへ上記符号化ブロックをクラス分けし、上記第1
のクラスの符号化ブロックに関しては、上記フレーム差
を上記直交変換手段に与え、上記第2のクラスの符号化
ブロックに関しては、上記第2のフレームのデータを上
記直交変換手段に与え、上記第3のクラスの符号化ブロ
ックを非伝送とするように制御することを特徴とするデ
ィジタルビデオ信号の符号化装置。2. The encoding device according to claim 1, wherein the encoding control means sets the detected frame difference to a first threshold value and a second threshold value larger than the first threshold value. A first class in which the frame difference is between the first and second thresholds as compared to a threshold, and a second class in which the frame difference is greater than the second threshold , Classifying the coded block into a third class in which the frame difference is smaller than the first threshold,
For the coded block of the class, the frame difference is given to the orthogonal transforming means, and for the coded block of the second class, the data of the second frame is given to the orthogonal transforming means and the third transforming means. An encoding apparatus for digital video signals, characterized in that the encoding block of the above class is controlled so as not to be transmitted.
てが少なくとも上記固定長化単位内で、1/2以上とさ
れたことを特徴とするディジタルビデオ信号の符号化装
置。3. The encoding device according to claim 1, wherein the bit allocation for the encoded output of the first frame is at least ½ within at least the fixed length unit. Digital video signal encoding device.
力と上記第2のフレームの符号化出力に対するビット割
り当てが一つ前のクラス分け情報に応答して制御される
ことを特徴とするディジタルビデオ信号の符号化装置。4. The encoding device according to claim 1, wherein one bit allocation is provided for the encoded output of the first frame and the encoded output of the second frame within the fixed length unit. An encoding device for a digital video signal, characterized in that it is controlled in response to previous classification information.
圧縮するための符号化装置であって、 所定の大きさの符号化ブロック毎に変換符号化するため
の直交変換手段と、 上記直交変換手段と結合され、固定長化単位内の符号化
出力のデータ量を複数のシンクブロックのデータ領域内
に収まるように、制御するための適応量子化手段と、 上記適応量子化手段と結合された可変長符号化手段と、 上記可変長符号化手段の出力を上記シンクブロックの構
成の伝送データとするためのフレーム化手段と、 上記適応量子化手段の出力を局部復号するための手段
と、 上記局部復号されたデータを蓄えるためのフレームメモ
リと、 上記フレームメモリからの第1のフレームの復号データ
と上記第1のフレームに引き続く第2のフレームとの間
のフレーム差を上記符号化ブロック毎に検出し、上記フ
レーム差が上記しきい値より小さい第1のクラスと、上
記フレーム差が上記しきい値より大きい第2のクラスと
へ上記符号化ブロックをクラス分けし、上記第1のクラ
スの符号化ブロックに関しては、上記フレーム差を上記
直交変換手段に与え、上記第2のクラスの符号化ブロッ
クに関しては、上記第2のフレームのデータを上記直交
変換手段に与えるように制御し、 上記固定長化単位内での上記第1のフレームの符号化出
力と上記第2のフレームの符号化出力に対するビット割
り当てが上記クラス分け情報に応答して適応制御される
第1のモードと、上記ビット割り当てがシーンチェンジ
等を考慮した固定比とされる第2のモードとを選択的に
制御するための符号化制御手段とからなることを特徴と
するディジタルビデオ信号の符号化装置。5. An encoding device for compressing the data amount of an input digital video signal, comprising orthogonal transforming means for transform coding for each coding block of a predetermined size, and said orthogonal transforming means. An adaptive quantization unit for controlling the combined data amount of the encoded output in the fixed length unit so that the data amount of the encoded output is contained in the data areas of a plurality of sync blocks; and a variable length unit combined with the adaptive quantization unit. Encoding means, framing means for making the output of the variable length encoding means into transmission data having the structure of the sync block, means for locally decoding the output of the adaptive quantizing means, and the local decoding A frame memory for storing the stored data, a frame between the decoded data of the first frame from the frame memory and a second frame following the first frame. Is detected for each of the coded blocks, and the coded blocks are classified into a first class in which the frame difference is smaller than the threshold value and a second class in which the frame difference is larger than the threshold value. , The frame difference is given to the orthogonal transform means for the first class coded block, and the second frame data is given to the orthogonal transform means for the second class coded block. And the bit allocation for the coded output of the first frame and the coded output of the second frame within the fixed length unit is adaptively controlled in response to the classification information. And a coding control means for selectively controlling the second mode in which the bit allocation is a fixed ratio in consideration of a scene change and the like. Encoding apparatus of a digital video signal to.
特徴とするディジタルビデオ信号の符号化装置。6. The encoding device for a digital video signal according to claim 5, wherein the second mode is a scene change mode.
るシーンチェンジ用のモードであることを特徴とするデ
ィジタルビデオ信号の符号化装置。7. The encoding device according to claim 6, wherein the second mode is a mode for scene change occurring between the first and second frames. Encoding device.
2以上であり、第2のフレームに対する割り当てがその
残りの所定値であることを特徴とするディジタルビデオ
信号の符号化装置。8. The encoding device according to claim 5, wherein the second mode assigns 1 / to the first frame.
An encoding device for a digital video signal, which is equal to or more than 2 and the allocation for the second frame is the remaining predetermined value.
第2のフレームからなるペア同士の間で発生するシーン
チェンジ用のモードであることを特徴とするディジタル
ビデオ信号の符号化装置。9. The encoding device according to claim 8, wherein the second mode is an initial state or a mode for scene change that occurs between pairs of first, first and second frames. An encoding device for a digital video signal, characterized by being:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5157193A JP3309474B2 (en) | 1993-02-17 | 1993-02-17 | Digital video signal encoding device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP5157193A JP3309474B2 (en) | 1993-02-17 | 1993-02-17 | Digital video signal encoding device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH06245203A true JPH06245203A (en) | 1994-09-02 |
JP3309474B2 JP3309474B2 (en) | 2002-07-29 |
Family
ID=12890652
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP5157193A Expired - Fee Related JP3309474B2 (en) | 1993-02-17 | 1993-02-17 | Digital video signal encoding device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3309474B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
USRE41533E1 (en) | 1997-07-25 | 2010-08-17 | Panasonic Corporation | Image processing method, image processing apparatus and data recording medium |
-
1993
- 1993-02-17 JP JP5157193A patent/JP3309474B2/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
USRE41533E1 (en) | 1997-07-25 | 2010-08-17 | Panasonic Corporation | Image processing method, image processing apparatus and data recording medium |
Also Published As
Publication number | Publication date |
---|---|
JP3309474B2 (en) | 2002-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2931732B2 (en) | Video compression method and decompression method and apparatus using variable length coding | |
US5835672A (en) | Apparatus for coding and decoding a digital video signal having duplicate pictures and frames with fields originating from different film source frames | |
KR100299202B1 (en) | Digital image signal processing device and processing method | |
US5703889A (en) | High efficiency coding signal processing apparatus with error propagation influence reduction | |
US8325799B2 (en) | Moving picture encoding method, device using the same, and computer program | |
EP0928111A2 (en) | Video and audio digital recording and playback apparatus and method therefor | |
JPH0583696A (en) | Picture encoding device | |
US5291283A (en) | Decoding apparatus of a compressed digital video signal | |
JPH0522715A (en) | Picture encoder | |
JP3531186B2 (en) | Video signal encoding method and apparatus | |
JP3089941B2 (en) | Inter prediction coding device | |
JP3900534B2 (en) | Moving picture coding apparatus and coding method | |
JPH07203456A (en) | Encoding device, decoding device, and video recording device | |
JP3309474B2 (en) | Digital video signal encoding device | |
JP3232750B2 (en) | Digital video signal coding and framing apparatus | |
EP0927954B1 (en) | Image signal compression coding method and apparatus | |
JP2897585B2 (en) | Image coding recording and playback device | |
JP3127629B2 (en) | Error correction device for digital image signal | |
JPH1066092A (en) | Video data compressor and its method | |
JPH07288809A (en) | Coder for digital picture signal | |
Yanagihara et al. | A video coding scheme with a high compression ratio for consumer digital VCRs | |
JPH06350993A (en) | Moving picture compression encoding device, decoding device, and recording / reproducing device | |
JPH0514739A (en) | Picture encoding device | |
JPH0514873A (en) | Image encoder | |
JPH04367183A (en) | Picture encoder |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090524 Year of fee payment: 7 |
|
LAPS | Cancellation because of no payment of annual fees |