JPH06245190A - Encoding and framing device for digital video signal - Google Patents

Encoding and framing device for digital video signal

Info

Publication number
JPH06245190A
JPH06245190A JP5482593A JP5482593A JPH06245190A JP H06245190 A JPH06245190 A JP H06245190A JP 5482593 A JP5482593 A JP 5482593A JP 5482593 A JP5482593 A JP 5482593A JP H06245190 A JPH06245190 A JP H06245190A
Authority
JP
Japan
Prior art keywords
frame
data
circuit
coding
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
Application number
JP5482593A
Other languages
Japanese (ja)
Other versions
JP3232750B2 (en
Inventor
Hisafumi Yanagihara
尚史 柳原
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP5482593A priority Critical patent/JP3232750B2/en
Publication of JPH06245190A publication Critical patent/JPH06245190A/en
Application granted granted Critical
Publication of JP3232750B2 publication Critical patent/JP3232750B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To improve picture quality with a simple circuit by stuffing the coded output of a first frame whose importance is higher in a fixed section at the time of stuffing the buffering unit of intra-two-frame code output in a sync block. CONSTITUTION:The output of a subtracting circuit 4 is supplied to a DCT circuit 5 and AC components in coefficient data are supplied to a quantization circuit 6 and quantized. A data amount generated by DCT and variable length encoding is buffering-processed so as to make the generated data amount of the buffering unit equal to or less than a target value. The output of the circuit 6 is supplied to a variable encoding circuit 8, Huffman-encoding or the like are performed and code signals from the circuit 8 are supplied to a poststage. In a framing circuit 9, the coded output of the AC components of the first frame is stuffed in the stipulated data section of the sync block starting from low-band components and the coded output of the AC components of a second frame and the overflowing coded output of the AC components of the first frame are stuffed in the blank data section of the sync block.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、ディジタルビデオ信
号を圧縮符号化し、符号化出力を所定のフォーマットの
データ構成へフレーム化するのに適用されるディジタル
ビデオ信号の符号化およびフレーム化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital video signal coding and framing apparatus which is used for compression coding a digital video signal and framing a coded output into a data structure of a predetermined format.

【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】525/60システムのような標準解像度
ビデオ信号(SD−H信号と称する)に関しては、記録
/再生データの伝送レートが例えば25MBPSとされ
る。若し、この伝送レートを半分の12.5MBPSと
できれば、消費するテープ量を半分とすることが可能と
なる。例えば所定のトラックピッチで、二つの回転ヘッ
ドにより交互にトラックを形成するのに対して、テープ
速度を半分とし、一方の回転ヘッドのみによりトラック
を形成することが可能となる。
Regarding the standard resolution video signal (referred to as SD-H signal) such as the 525/60 system, the transmission rate of the recording / reproducing data is, for example, 25 MBPS. 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.

【0006】さらに、高解像度ビデオ信号(HD信号と
称する)は、SD−H信号に対して水平方向の画素数が
約2倍、水平走査線数が約2倍であるので、その情報量
がSD信号のそれの4倍である。かかるHD信号を記録
/再生するためには、なるべく圧縮率が高い符号化が望
ましい。圧縮率を高めるための手法の一つとして、10
〜15フレーム毎にイントラフレーム符号化を行ない、
残りのフレームは、フレーム差を符号化する方法が知ら
れている。しかしながら、ディジタルVTRの場合で
は、編集をより短いフレームで行う必要があるので、こ
のような多くのフレームを単位とする符号化が不適当で
ある。イントラ2フレームの符号化であれば、2フレー
ム単位の編集が可能となる。上述の符号化出力のデータ
量の固定長化は、2フレームの期間をバッファリング処
理の対象とするものとなる。
Further, since the number of pixels in the horizontal direction and the number of horizontal scanning lines of the high resolution video signal (referred to as HD signal) are about twice as large as those of the SD-H signal, the amount of information is high. It 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. As one of the methods for increasing the compression rate, 10
Intra-frame coding is performed every ~ 15 frames,
For the remaining frames, a method of coding the frame difference is known. However, in the case of the digital VTR, since it is necessary to edit in a shorter frame, the 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】[0007]

【発明が解決しようとする課題】イントラ2フレームの
符号化を行ない、その結果の符号化出力のバッファリン
グ単位を複数個例えば5個のシンクブロック内に詰め込
むフレーム化を想定する。シンクブロック単位で有効/
無効が決定される変速再生動作を考慮すると、シンクブ
ロック内に1以上の整数のマクロブロックが含まれるこ
とが効率的である。マクロブロックは、同一位置を占め
る、4個の輝度信号ブロックと2個の色差信号ブロック
とからなり、これらの6個のブロックの再生データが全
て得られる時に、このブロックの画像を復元できるから
である。
It is assumed that intra 2 frames are encoded and the resulting encoded output buffering units are packed in a plurality of, for example, 5 sync blocks. Enabled per sync block /
Considering the variable speed reproduction operation that is determined to be invalid, it is efficient that the sync block includes one or more integer macroblocks. A macroblock consists of four luminance signal blocks and two color difference signal blocks occupying the same position, and when the reproduction data of these six blocks can be obtained, the image of this block can be restored. is there.

【0008】イントラ2フレームの第1のフレームの符
号化出力と第2のフレームの符号化出力とを含むバッフ
ァリング単位例えば10マクロブロックを5個のシンク
ブロック内に配する場合には、各シンクブロックに2マ
クロブロック分のデータ区間をそれぞれ設定することに
なる。しかしながら、第1および第2フレーム間では、
符号化出力の重要度が相違している。すなわち、第1フ
レームの符号化出力は、フレーム内符号化出力であるの
で、それ自身から復号データを得ることが可能であるの
に対し、第2フレームの符号化出力は、差分の復号デー
タしか得られず、第1フレームの復号データに復号差分
データを加算することで、はじめて復号データを得るこ
とができる。
In the case of arranging a buffering unit, for example, 10 macroblocks including the coded output of the first frame and the coded output of the second frame of the intra 2 frame in 5 sync blocks, each sync A data section for two macroblocks is set in each block. However, between the first and second frames,
The importance of the encoded output is different. That is, since the encoded output of the first frame is the intra-frame encoded output, it is possible to obtain the decoded data from itself, whereas the encoded output of the second frame is only the decoded data of the difference. If not obtained, the decoded data can be obtained only by adding the decoded difference data to the decoded data of the first frame.

【0009】上述のように、イントラ1フレームの符号
化出力のデータ量をイントラ2フレームの符号化は、半
分とすることができる。従って、5シンクブロックのデ
ータ区間には、2倍の数のマクロブロックの符号化出力
を詰め込む必要がある。シンクブロックの構成は、エラ
ー伝播の影響をなるべく少なくすることを考慮して設定
されているが、各ブロックのデータの詰め込む区間長が
イントラ1フレームのものの半分となることは、エラー
伝播の影響をより強く受ける問題を生じる。重要度の相
違を考慮しないならば、第1のフレームおよび第2のフ
レームの双方に対して、この問題が同等に発生する。
As described above, the data amount of the encoded output of the intra 1 frame can be halved for the encoding of the intra 2 frame. Therefore, it is necessary to pack the coded outputs of twice as many macroblocks in the data section of 5 sync blocks. The configuration of the sync block is set in consideration of minimizing the influence of error propagation, but the fact that the section length of the data packed in each block is half that of the intra-one frame reduces the influence of error propagation. It causes problems that are more strongly affected. If the difference in importance is not taken into consideration, this problem occurs equally for both the first frame and the second frame.

【0010】従って、この発明の目的は、高圧縮率を達
成するためにイントラ2フレームの符号化を採用する時
に、二つのフレームの符号化出力の重要度の相違にマッ
チしたフレーム化が可能なディジタルビデオ信号の符号
化およびフレーム化装置を提供することにある。
Therefore, an object of the present invention is to enable framing that matches the difference in importance of the coded outputs of two frames when the intra 2 frame coding is adopted to achieve a high compression rate. An object is to provide a coding and framing device for a digital video signal.

【0011】[0011]

【課題を解決するための手段】請求項1記載の発明は、
入力ディジタルビデオ信号のデータ量を圧縮符号化し、
符号化出力を所定のデータフォーマットにフレーム化し
て伝送するようにした符号化およびフレーム化装置であ
って、所定の大きさの符号化ブロック毎に変換符号化す
るための直交変換回路と、直交変換回路と結合され、固
定長化単位内の符号化出力のデータ量を複数のシンクブ
ロックのデータ領域内に収まるように、制御するための
適応量子化回路と、適応量子化回路と結合された可変長
符号化回路と、適応量子化回路の出力を局部復号するた
めの回路と、局部復号されたデータを蓄えるためのフレ
ームメモリと、フレームメモリからの第1のフレームの
復号データと第1のフレームに引き続く第2のフレーム
との間のフレーム差を符号化ブロック毎に検出し、フレ
ーム差がしきい値より小さい第1のクラスと、フレーム
差がしきい値より大きい第2のクラスとへ符号化ブロッ
クをクラス分けし、第1のクラスの符号化ブロックに関
しては、フレーム差を直交変換回路に与え、第2のクラ
スの符号化ブロックに関しては、第2のフレームのデー
タを直交変換回路に与えるように制御するための符号化
制御回路と、可変長符号化回路の出力を複数のシンクブ
ロックの構成の伝送データとするためのフレーム化回路
であって、第1のフレームの交流成分の符号化出力を低
域成分から開始して複数のシンクブロックの予め規定さ
れているデータ区間内へ詰め込み、そして、第2のフレ
ームの交流成分の符号化出力およびオーバーフローした
第1のフレームの交流成分の符号化出力を複数のシンク
ブロックの余白のデータ区間内へ詰め込むようにされた
フレーム化回路とからなることを特徴とするディジタル
ビデオ信号の符号化およびフレーム化装置である。
The invention according to claim 1 is
Compression coding the data amount of the input digital video signal,
An encoding and framing device adapted to frame and transmit an encoded output into a predetermined data format, and an orthogonal transformation circuit for transform encoding for each encoding block of a predetermined size, and an orthogonal transformation An adaptive quantization circuit for controlling the data amount of the coded output in the fixed length unit so that the data amount of the encoded output is contained in the data areas of the plurality of sync blocks, and a variable circuit coupled with the adaptive quantization circuit. Long coding circuit, circuit for locally decoding output of adaptive quantization circuit, frame memory for storing locally decoded data, decoded data of first frame from frame memory and first frame The frame difference between the following second frame and the second frame is detected for each coding block, and the first class in which the frame difference is smaller than the threshold value and the frame difference in which the frame difference is smaller than the threshold value are detected. The coding block is classified into a threshold second class, a frame difference is given to the orthogonal transform circuit for the first class coding block, and a second frame is applied for the second class coding block. An encoding control circuit for controlling the data of the above to be given to the orthogonal transformation circuit, and a framing circuit for converting the output of the variable length encoding circuit into transmission data of a plurality of sync blocks. Starting from the low-frequency component, the AC output of the AC frame of the first frame is packed into a predetermined data section of the plurality of sync blocks, and the AC output of the second frame and the overflowed first It is characterized by comprising a framing circuit configured to pack the encoded output of the AC component of one frame into the data section of the margin of a plurality of sync blocks. It is an encoding and framing apparatus in a digital video signal to.

【0012】[0012]

【作用】イントラ2フレームの符号化によってデータを
圧縮する。第1および第2のフレームの符号化出力から
なるバッファリング単位が例えば5個のシンクブロック
のデータ区間内へ詰め込まれる。この場合に、重要度が
より高い第1のフレームの符号化出力から先にデータ区
間内へ詰め込まれる。第1のフレームの符号化出力が詰
め込まれた後に、第2のフレームの符号化出力は、5個
のシンクブロック内に生じた余白のデータ区間内へ詰め
込まれる。
The data is compressed by encoding the intra 2 frames. A buffering unit composed of encoded outputs of the first and second frames is packed into the data section of, for example, five sync blocks. In this case, the encoded output of the first frame having higher importance is packed into the data section first. After the coded output of the first frame is packed, the coded output of the second frame is packed into the blank data interval generated in the five sync blocks.

【0013】[0013]

【実施例】以下、この発明をディジタル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. .

【0014】ブロック化およびシャフリング回路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 subtracting circuit 4, and the output signal of the subtracting 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.

【0015】交流分の係数データは、ジグザグ走査の順
で次数が低い交流分からこれが高いものに向かって順に
伝送される。また、この交流分の係数データがデータ量
見積り器7に供給される。見積り器7からの量子化ステ
ップと対応する量子化番号QNoは、量子化回路6に供
給されるとともに、記録データ中に挿入される。
The coefficient data of the AC component is transmitted in order of zigzag scanning from the AC component having a lower order to the AC component having a higher order. 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.

【0016】量子化回路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.

【0017】量子化回路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.

【0018】図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.

【0019】上述の符号化処理で発生したデータ(直流
分データ、可変長符号化出力、量子化番号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.

【0020】この発明は、圧縮率をより高くするため
に、イントラ2フレーム符号化を行う。すなわち、時間
的に連続する第1フレームIおよび第2フレームPのペ
アPOPが符号化の対象である。第1フレームIに含ま
れるブロックと第2フレームPに含まれ、フレームIの
ブロックと同一位置のブロックとのペアが符号化の単位
である。第1フレームIのブロックは、上述のようにD
CT、可変長符号化の処理で圧縮される。第1フレーム
に関する局部復号出力と第2フレームに関するビデオデ
ータとの間で、画素毎に差分が計算され、この差分の絶
対値がブロック毎に積算される。この積算値の大きさに
応じて適応的に、第2フレームPのブロックの符号化が
制御される。通常、第1フレームおよび第2フレーム間
では、画像の相関が存在し、フレーム間差の値が小さく
なる。このフレーム間差をDCT、可変長符号化する
と、符号化出力のデータ量が元のデータを符号化出力し
た時のものに比して減少する。
In 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.

【0021】図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.

【0022】ゲート回路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.

【0023】また、イントラ2フレーム符号化は、シー
ンチェンジが発生すると、第1および第2フレーム間の
相関がなくなり、符号化出力のデータ量を削減でき、場
合によってはデータ量がかえって増加する。シーンチェ
ンジは、検出回路16によって検出され、この検出結果
が見積り器7に供給される。入力ビデオ信号の時間的に
連続する2フレーム間のフレーム差を検出し、このフレ
ーム差がある程度大きい時に、シーンチェンジが発生し
たものと判定される。全画面のフレーム差を検出する必
要はなく、数ラインに関するフレーム差を検出すれば良
い。
In intra 2 frame encoding, when a scene change occurs, the correlation between the first and second frames disappears, the amount of encoded output data can be reduced, and in some cases the amount of data increases rather. 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.

【0024】図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.

【0025】積算回路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.

【0026】このフラグが出力端子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.

【0027】クラス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.

【0028】上述のクラス分け情報を示すフラグは、固
定長化単位内のビット割り当てを決定するためにも使用
される。この実施例は、標準解像度のコンポーネントビ
デオ信号を記録/再生するものであり、フレーム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 within 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.

【0029】図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.

【0030】ビット割り当てが適応的に制御されるモー
ド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.

【0031】この適応割り当ての制御が符号化制御回路
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.

【0032】スライス数発生回路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 the 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.

【0033】このように生成されたビット割り当てデー
タは、図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.

【0034】一つ前の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 when the encoding is started. 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.

【0035】図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.

【0036】シーンチェンジ検出回路16は、これらの
二つのシーンチェンジをそれぞれ検出し、検出結果を見
積り器7に与える。見積り器7は、検出結果に応答して
モードFIXまたはSCHのビット割り当てデータを発
生し、このビット割り当てデータをメモリ15からの適
応割り当てのデータの代わりに使用する機能を有してい
る。
The scene change detection circuit 16 detects each of these two scene changes and supplies 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.

【0037】以上の符号化によって、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.

【0038】この発明は、標準解像度のカラービデオ信
号(SD信号と称する)および高解像度のカラービデオ
信号(HD信号と称する)に対して適用できる。ディジ
タルビデオ信号の幾つかの例について以下に説明する。
The present invention can be applied to standard resolution color video signals (referred to as SD signals) and high resolution color video signals (referred to as HD signals). Some examples of digital video signals are described below.

【0039】最初にSD信号のフォーマットについて説
明する。図6は、SD信号のフォーマットを示す。SD
信号は、ライン数およびフィールド数でそれぞれ規定さ
れる二つの方式(525/60システムおよび625/
50システム)が知られている。 525/60(SD−H60)システム(輝度データの
場合) サンプリング周波数:13.5MHz サンプル数/ライン:858 有効サンプル数/ライン:720 有効ライン数/フレーム:480
First, the format of the SD signal will be described. FIG. 6 shows the format of the SD signal. SD
The signals are defined in two systems (525/60 system and 625 /
50 systems) are known. 525/60 (SD-H60) system (for luminance data) Sampling frequency: 13.5 MHz Number of samples / line: 858 Number of effective samples / line: 720 Number of effective lines / frame: 480

【0040】625/50(SD−H50)システム
(輝度データの場合) サンプリング周波数:13.5MHz サンプル数/ライン:864 有効サンプル数/ライン:720 有効ライン数/フレーム:576
625/50 (SD-H50) system (for luminance data) Sampling frequency: 13.5 MHz Number of samples / line: 864 Number of effective samples / line: 720 Number of effective lines / frame: 576

【0041】コンポーネント方式の輝度データYおよび
色差データCR 、CB を処理するために、マクロブロッ
クが規定される。SD−H60システムでは、図7Aに
示すように、1フレーム内の同一位置の、4個のYブロ
ックと2個の色差信号ブロックとの計6ブロックが1マ
クロブロックを構成する。Y信号に関しては、図7Bに
示すように、1フレームの全ブロック数が(90×60
=5400)であり、図7Cに示すように、一つの色差
信号のブロック数が(22.5×60=1350)であ
り、全体で8100ブロック/フレームが存在する。従
って、8100÷6=1350が1フレーム内のマクロ
ブロックの個数である。マクロブロック数は、色差信号
のブロック数と等しい。
Macroblocks are defined for processing the component type luminance data Y and color difference data C R , C B. In the SD-H60 system, as shown in FIG. 7A, a total of 6 blocks of 4 Y blocks and 2 color difference signal blocks at the same position in one frame constitute one macroblock. Regarding the Y signal, as shown in FIG. 7B, the total number of blocks in one frame is (90 × 60).
= 5400), and as shown in FIG. 7C, the number of blocks of one color difference signal is (22.5 × 60 = 1350), and there are 8100 blocks / frame in total. Therefore, 8100 ÷ 6 = 1350 is the number of macroblocks in one frame. The number of macro blocks is equal to the number of color difference signal blocks.

【0042】SD−H50システムでは、図7Dに示す
ように、1フレーム内の同一位置の、4個のYブロック
と2個の色差信号ブロックとの計6ブロックが1マクロ
ブロックを構成する。Y信号に関しては、図7Eに示す
ように、1フレームの全ブロック数が(90×72=6
480)であり、図7Fに示すように、一つの色差信号
のブロック数が(45×36=1620)であり、全体
で9720ブロック/フレームが存在する。従って、9
720÷6=1620が1フレーム内のマクロブロック
の個数である。
In the SD-H50 system, as shown in FIG. 7D, a total of 6 blocks of 4 Y blocks and 2 color difference signal blocks at the same position in one frame constitute one macroblock. As for the Y signal, as shown in FIG. 7E, the total number of blocks in one frame is (90 × 72 = 6).
480), and as shown in FIG. 7F, the number of blocks of one color difference signal is (45 × 36 = 1620), and there are 9720 blocks / frame in total. Therefore, 9
720/6 = 1620 is the number of macroblocks in one frame.

【0043】イントラ2フレーム符号化では、2フレー
ム(フレームIおよびP)のデータ量が所定ビット数以
下となるようにバッファリングがなされる。525/6
0システムの場合では、1350×2=2700マクロ
ブロックが符号化され、テープ上の10トラックに記録
される。ここで、1トラック内のシンクブロック数が1
35であるので、135×10=1350シンクブロッ
クに2フレーム分の符号化データが詰め込まれる。
In intra two-frame encoding, buffering is performed so that the data amount of two frames (frames I and P) is equal to or less than a predetermined number of bits. 525/6
In the case of the 0 system, 1350 × 2 = 2700 macroblocks are encoded and recorded on 10 tracks on the tape. Here, the number of sync blocks in one track is 1.
Since it is 35, 135 × 10 = 1350 sync blocks are filled with coded data for two frames.

【0044】具体的には、バッファリング単位(すなわ
ち、固定長化の単位)を5シンクブロックに詰め込むの
で、 (2700/1350)×5=10マクロブロック=6
0ブロック(525/60システム) がバッファリング単位となる。
Specifically, since the buffering unit (that is, the unit of fixed length) is packed in 5 sync blocks, (2700/1350) × 5 = 10 macroblocks = 6
0 block (525/60 system) becomes a buffering unit.

【0045】625/50システムも同様に、2フレー
ム分のデータを12トラックに記録するので、 (3240/1620)×5=10マクロブロック=6
0ブロック がバッファリング単位となる。
Similarly, the 625/50 system records data for 2 frames on 12 tracks, so that (3240/1620) × 5 = 10 macroblocks = 6.
0 block is the buffering unit.

【0046】上述のイントラ2フレーム符号化では、I
およびPの各フレームの符号化出力のデータ量を制御す
る時に、各フレームの5マクロブロック(30ブロッ
ク)が所定のデータ量(ビット数)となるように制御
し、合計の10マクロブロックの目標ビット数がTとさ
れる。上述のビット割り当ての適応制御では、割り当て
ビット数T−BとBとが270個のバッファリング単位
毎に決定される。
In the intra 2 frame encoding described above, I
When controlling the data amount of the encoded output of each frame of P and P, control is performed so that 5 macroblocks (30 blocks) of each frame have a predetermined data amount (bit number), and the target of 10 macroblocks in total. The number of bits is T. In the above-described adaptive control of bit allocation, the allocated bit numbers T-B and B are determined for each 270 buffering units.

【0047】イントラ1フレームの符号化の場合では、
1フレーム分のデータが等しいトラック数(10トラッ
ク(SD−H60)、12トラック(SD−H50))
に記録される。従って、バッファリング単位が5マクロ
ブロックである。上述のイントラ2フレームの符号化
は、符号化データ量を半減できるので、2フレーム分の
データが上述の数のトラックに記録できる。
In the case of encoding one intra frame,
Number of tracks in which data for one frame is equal (10 tracks (SD-H60), 12 tracks (SD-H50))
Recorded in. Therefore, the buffering unit is 5 macroblocks. Since the amount of encoded data can be reduced by half in the above-described intra 2 frame encoding, data for 2 frames can be recorded in the above-mentioned number of tracks.

【0048】次に、この発明を適用てきるHD信号のフ
ォーマットについて説明する。図8に示すように、HD
信号としては、1125/60システム(ハイビジョン
システムとも称される)、または1250/50システ
ム(HD−MACシステムとも称される)が知られてい
る。サンプリング周波数は、サンプリング位置が2次元
格子状に並ぶためには、水平ライン周波数の整数倍の必
要がある。信号の帯域とサンプリング後の情報量のトレ
ードオフとして、44.55MHz(1125/60シス
テム)と45.0MHz(1250/50システム)を選
ぶ。これは、Y信号の場合であるが、色信号に関して
は、Y信号のものの半分のサンプリング周波数(22.
275MHz/22.5MHz)を選ぶ。
Next, an HD signal format to which the present invention is applied will be described. As shown in FIG.
Known signals are the 1125/60 system (also called a high-definition system) or the 1250/50 system (also called a HD-MAC system). The sampling frequency must be an integral multiple of the horizontal line frequency in order for the sampling positions to be arranged in a two-dimensional grid. As a trade-off between the signal bandwidth and the amount of information after sampling, 44.55 MHz (1125/60 system) and 45.0 MHz (1250/50 system) are selected. This is the case for the Y signal, but for the color signal, half the sampling frequency (22.
275MHz / 22.5MHz).

【0049】また、色信号は、前処理回路によって、線
順次信号への変換と1/2の間引き処理を受ける。この
ような前処理の後に、ブランキング区間等を除いた部分
が有効領域として圧縮符号化される。1125/60シ
ステムの場合では、図9Aのマクロブロックが構成さ
れ、図9Bに示すような輝度信号の有効領域が規定さ
れ、図9Cに示すような色差信号の有効領域が規定され
る。1250/50システムの場合では、図10Aのマ
クロブロックが構成され、図10Bに示すような輝度信
号の有効領域が規定され、図10Cに示すような色差信
号の有効領域が規定される。図9Cおよび図10Cの色
差信号の有効領域が1フレームのマクロブロック数とそ
れぞれ等しい。
The color signal is subjected to conversion to a line-sequential signal and 1/2 thinning processing by the preprocessing circuit. After such preprocessing, the portion excluding the blanking interval and the like is compression-coded as an effective area. In the case of the 1125/60 system, the macroblock of FIG. 9A is configured to define the effective area of the luminance signal as shown in FIG. 9B and the effective area of the color difference signal as shown in FIG. 9C. In the case of the 1250/50 system, the macroblock of FIG. 10A is configured, the effective area of the luminance signal as shown in FIG. 10B is defined, and the effective area of the color difference signal as shown in FIG. 10C is defined. The effective areas of the color difference signals in FIGS. 9C and 10C are equal to the number of macroblocks in one frame, respectively.

【0050】すなわち、1フレーム内のマクロブロック
数は、 72×65=4680(1125/60システム) 75×72=5400(1250/50システム) である。
That is, the number of macroblocks in one frame is 72 × 65 = 4680 (1125/60 system) 75 × 72 = 5400 (1250/50 system).

【0051】イントラ2フレーム符号化では、2フレー
ムのデータ量が所定ビット数以下となるようにバッファ
リングがなされる。すなわち、1125/60システム
の場合では、4680×2=9360マクロブロックが
符号化され、テープ上の40トラックに記録される。こ
こで、1トラック内のシンクブロック数が135(これ
はSD−H信号と等しい)であるので、135×40=
5400シンクブロックに符号化データが詰め込まれ
る。
In intra 2 frame encoding, buffering is performed so that the amount of data of 2 frames is equal to or less than a predetermined number of bits. That is, in the case of the 1125/60 system, 4680 × 2 = 9360 macroblocks are encoded and recorded on 40 tracks on the tape. Here, since the number of sync blocks in one track is 135 (this is equal to the SD-H signal), 135 × 40 =
Encoded data is packed in the 5400 sync block.

【0052】具体的には、SD−H信号の処理と同様
に、バッファリング単位(すなわち、固定長化の単位)
を5シンクブロックに詰め込むので、 (9360/5400)×5×6=52ブロック=8マ
クロブロック+4ブロック(1125/60システム) 1250/50システムでは、2フレーム分のデータを
48トラック(135×48=6480シンクブロッ
ク)に記録するので、同様に、 (10800/6480)×5×6=50ブロック=8
マクロブロック+2ブロック がバッファリング単位となる。さらに、HD用ディジタ
ルVTRでは、磁気テープ上に2本のトラックが二つの
近接して配された回転ヘッドによって同時に形成され
る。
Specifically, similar to the processing of the SD-H signal, a buffering unit (that is, a fixed length unit).
Since it is packed in 5 sync blocks, (9360/5400) × 5 × 6 = 52 blocks = 8 macroblocks + 4 blocks (1125/60 system) In the 1250/50 system, data for 2 frames is 48 tracks (135 × 48). = 6480 sync block), similarly, (10800/6480) × 5 × 6 = 50 blocks = 8
The macroblock + 2 blocks are the buffering unit. Further, in a digital VTR for HD, two tracks are simultaneously formed on a magnetic tape by two rotary heads arranged close to each other.

【0053】さらに、ディジタルHD信号のフォーマッ
トとして、図11に示すように、1250/50システ
ムであって、サンプリング周波数が54MHz(13.5
×4)に選定されたものが存在する。このフォーマット
の有効サンプル数、有効ライン数は、図11に示すもの
であり、1フレームには、図12に示すように、90×
72=6480マクロブロックが含まれる。この図11
および図12に示されるHD信号を記録/再生するディ
ジタルVTRに対してもこの発明を適用できる。
Further, as a format of the digital HD signal, as shown in FIG. 11, a 1250/50 system and a sampling frequency of 54 MHz (13.5) are used.
There are those selected in 4). The number of effective samples and the number of effective lines in this format are as shown in FIG. 11, and one frame is 90 × 90 × as shown in FIG.
72 = 6480 macroblocks are included. This FIG.
The present invention can be applied to the digital VTR for recording / reproducing the HD signal shown in FIG.

【0054】上述と同様に、バッファリング単位(すな
わち、固定長化の単位)を5シンクブロックに詰め込
み、2フレーム分のデータを48トラック(135×4
8=6480シンクブロック)に記録するので、 (12960/6480)×5×6=60ブロック=1
0マクロブロック がバッファリング単位となる。
Similarly to the above, buffering units (that is, fixed length units) are packed into 5 sync blocks, and data for 2 frames is 48 tracks (135 × 4).
8 = 6480 sync blocks), so (12960/6480) × 5 × 6 = 60 blocks = 1
0 macroblock is the buffering unit.

【0055】フレーム化回路9において、一つのバッフ
ァリング単位が5個のシンクブロックに含まれる記録デ
ータとされ、この記録データが磁気テープに記録され
る。SD−Hシステムに関して、一つのバッファリング
単位が含まれる5シンクブロックのフォーマットを上か
ら順に並べて図13に示す。また、1250/50シス
テムに関して、一つのバッファリング単位が含まれる5
シンクブロックのフォーマットを上から順に並べて図1
4に示す。図13及び図14にそれぞれ示すシンクブロ
ック構成の間で、1シンクブロックの長さおよびデータ
区間の長さがそれぞれ等しく選定されている。
In the framing circuit 9, one buffering unit is set as recording data contained in five sync blocks, and this recording data is recorded on the magnetic tape. With respect to the SD-H system, the formats of 5 sync blocks including one buffering unit are shown in FIG. 13 arranged in order from the top. Also, for the 1250/50 system, one buffering unit is included 5
Figure 1 shows the sync block formats arranged in order from the top.
4 shows. In the sync block configurations shown in FIGS. 13 and 14, the length of one sync block and the length of the data section are selected to be equal.

【0056】SD−H信号の場合には、5シンクブロッ
ク内に10マクロブロックが平均的に含まれる。第1の
フレーム(フレームI)からの符号化出力は、5マクロ
ブロックであるので、図13に示すように、各シンクブ
ロックにフレームIの1マクロブロックの符号化出力が
配される区間が設定される。すなわち、4個の輝度信号
の交流成分用区間と2個の色差信号の交流成分用区間と
が各シンクブロックに設けられる。シンクブロック長が
90バイトであり、直流成分用区間と動きフラグMおよ
びアクティビィティコードATの区間と交流成分用区間
とからなるデータ区間の長さが(14×4+9×2=7
4バイト)である。
In the case of the SD-H signal, 10 macroblocks are included on average in 5 sync blocks. Since the coded output from the first frame (frame I) is 5 macroblocks, as shown in FIG. 13, a section in which the coded output of one macroblock of frame I is arranged is set in each sync block. To be done. That is, four sync signal sections for the AC component and two AC signal sections for the color difference signals are provided in each sync block. The sync block length is 90 bytes, and the length of the data section including the DC component section, the motion flag M and the activity code AT section, and the AC component section is (14 × 4 + 9 × 2 = 7).
4 bytes).

【0057】さらに、1250/50システムのバッフ
ァリング単位も、上述したように、10マクロブロック
である。従って、図13のフォーマットは、このシステ
ムに対してもそのまま適用可能である。
Further, the buffering unit of the 1250/50 system is also 10 macroblocks as described above. Therefore, the format of FIG. 13 can be directly applied to this system.

【0058】データフォーマットについて説明すると、
シンクブロックの先頭にブロック同期信号SYNC(2
バイト)が位置し、その後に、ID信号が位置する。こ
のID信号は、2バイトのID信号(ID0、ID1)
およびID信号に対するパリティIDP(1バイト)か
らなる。この後に、量子化ステップを識別するための1
バイトの量子化番号QNOおよび補助コードAUXが位
置する。残りのバイトの内の74バイトがデータ(直流
成分、動きフラグM、アクティビィティコードAT、可
変長コードあるいは外符号化のパリティ)区間であっ
て、最後の8バイトが積符号の内符号のパリティであ
る。
Explaining the data format,
The block sync signal SYNC (2
Byte), followed by the ID signal. This ID signal is a 2-byte ID signal (ID0, ID1)
And a parity IDP (1 byte) for the ID signal. After this, a 1 for identifying the quantization step
The quantization number QNO of bytes and the auxiliary code AUX are located. Of the remaining bytes, 74 bytes are a data (DC component, motion flag M, activity code AT, variable length code or outer coded parity) section, and the last 8 bytes are the parity of the inner code of the product code. Is.

【0059】74バイトの区間が例えば14バイトの長
さの4個の区間と9バイトの長さの2個の区間とに分割
される。分割された区間の固定位置に、YまたはCのD
CTブロックで発生した直流成分(9ビット)、動きフ
ラグMおよびアクティビィティコードATが配置され
る。14バイトの区間には、輝度信号のブロックで発生
した交流分の係数データが低域成分から順に、すなわ
ち、ジグザグ走査の順に詰め込まれる。7バイトの二つ
の区間の一方には、一方の色差信号のブロックで発生し
た交流分の係数データが低域から順に詰め込まれ、その
他方の区間には、他方の色差信号の交流成分の係数デー
タが低域から順に詰め込まれる。
The 74-byte section is divided into, for example, four sections having a length of 14 bytes and two sections having a length of 9 bytes. D of Y or C at the fixed position of the divided section
A DC component (9 bits) generated in the CT block, a motion flag M and an activity code AT are arranged. In the 14-byte section, the AC component coefficient data generated in the block of the luminance signal is packed in order from the low frequency component, that is, in the order of zigzag scanning. In one of the two 7-byte sections, the coefficient data of the AC component generated in one color difference signal block is packed in order from the low frequency band, and in the other section, the coefficient data of the AC component of the other color difference signal. Are packed in order from the low range.

【0060】さらに、各シンクブロックの固定区間にブ
ロックのデータが全て入りきらない場合は、ワードの切
れ目で詰めるのを停止し、入りきらなかったデータをオ
ーバーフローメモリに格納する。この操作をYおよびC
の文字を記入した各固定区間について、バッファリング
単位のブロックについて行う。ここで、最初に上述のデ
ータ区間に詰め込まれるのは、フレームIの符号化出力
である。そして、次に、オーバーフローしたフレームI
のデータが固定区間の余った領域に順次詰め込まれる。
さらに、引き続いてフレームPのデータが余っている領
域に順次詰め込まれる。
Further, when all the block data cannot fit in the fixed section of each sync block, the packing at the break of the word is stopped and the data that does not fit are stored in the overflow memory. This operation is Y and C
For each fixed section in which the character is written, perform the block in the buffering unit. Here, it is the encoded output of frame I that is first packed in the above-mentioned data section. And then, the overflowed frame I
Data is sequentially packed in the remaining area of the fixed section.
Further, subsequently, the data of the frame P is sequentially packed in the remaining area.

【0061】図14に示す1125/60システムに適
用されるシンクブロックのフォーマットについて説明す
る。これは、図13と基本的に同一のものであるが、バ
ッファリング単位が52ブロック(8マクロブロック+
4ブロック)であるのに対応して、26ブロック分(4
マクロブロック+2ブロック)の固定領域が設定され
る。すなわち、5シンクブロックの内、4シンクブロッ
クに関しては、各シンクブロックが1マクロブロック
(=6ブロック)分の固定領域に区切られる。残りの1
シンクブロックは、2ブロック分の固定領域を持ち、残
りがACH区間と設定される。
A sync block format applied to the 1125/60 system shown in FIG. 14 will be described. This is basically the same as FIG. 13, but the buffering unit is 52 blocks (8 macroblocks +
4 blocks), 26 blocks (4
A fixed area of (macro block + 2 blocks) is set. That is, with respect to 4 sync blocks out of 5 sync blocks, each sync block is divided into fixed areas for 1 macroblock (= 6 blocks). The remaining one
The sync block has a fixed area for two blocks, and the rest is set as the ACH section.

【0062】この図14のフォーマットに対して符号化
出力を詰める方法は、上述と同様である。まず、フレー
ムIの26ブロックについて、各ブロックのデータを固
定区間に低域係数から順に詰めていく。固定区間に入り
きらないデータは、一旦オーバーフローメモリに蓄え
る。この操作を各ブロックについて順次行う。そして、
次に、固定区間内の余白領域とACH領域に対して、オ
ーバーフローメモリに蓄えられているデータを詰め込
み、引き続いてフレームPの26ブロックのデータを詰
め込む。
The method of packing the encoded output for the format of FIG. 14 is the same as described above. First, for the 26 blocks of frame I, the data of each block is packed into a fixed section in order from the low frequency coefficient. Data that does not fit into the fixed section is temporarily stored in the overflow memory. This operation is sequentially performed for each block. And
Next, the blank area and the ACH area in the fixed section are filled with the data stored in the overflow memory, and subsequently, the data of 26 blocks of the frame P are filled.

【0063】このようにして、イントラ2フレームの符
号化で発生したデータを2ステップで効率良く、簡単な
回路構成でシンクブロックのデータ区間へ詰め込むこと
ができる。
In this way, the data generated by the intra 2 frame encoding can be efficiently packed in 2 steps into the data section of the sync block with a simple circuit configuration.

【0064】さらに、図示しないが、この発明は、12
50/50システムに関しても、1125/60システ
ムと同様にフレーム化することができる。このシステム
では、バッファリング単位が50ブロックであるから、
フレームIの25ブロック(4マクロブロック+1ブロ
ック)と対応して、5シンクブロックの内、4シンクブ
ロックの各シンクブロックは、1マクロブロック(=6
ブロック)分の固定領域に区切られ、残りの1シンクブ
ロックは、1ブロック分の固定領域とACH区間とを有
するフォーマットとされる。
Further, although not shown, the present invention is 12
The 50/50 system can be framed similarly to the 1125/60 system. In this system, since the buffering unit is 50 blocks,
Corresponding to 25 blocks (4 macro blocks + 1 block) of frame I, each sync block of 4 sync blocks among 5 sync blocks is 1 macro block (= 6).
The fixed area is divided into fixed areas for one block, and the remaining one sync block has a format having a fixed area for one block and an ACH section.

【0065】[0065]

【発明の効果】この発明は、イントラ2フレームの符号
化で発生したデータを固定長化し、バッファリング単位
を複数のシンクブロックのデータ区間内に詰め込む時
に、データ区間内の固定区間に対して、フレームIの符
号化データを最初に詰め、次に、フレームIのオーバー
フローデータを余白領域に詰め、さらに、その後にフレ
ームPの符号化データを詰めている。従って、エラー伝
播の影響が少ない固定区間により重要度が高いフレーム
Iの符号化出力を詰めることができる。従って、再生さ
れたデータから復元される画像の品質を良好とできる。
According to the present invention, when the data generated by the encoding of intra 2 frames is fixed length and the buffering unit is packed in the data section of a plurality of sync blocks, the fixed section in the data section is The coded data of the frame I is packed first, then the overflow data of the frame I is packed in the margin area, and then the coded data of the frame P is packed. Therefore, the coded output of the frame I having a high degree of importance can be packed by the fixed section in which the influence of error propagation is small. Therefore, the quality of the image restored from the reproduced data can be improved.

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

【図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.

【図6】この発明を適用できるディジタルビデオ信号
(SDH)信号の説明に用いる略線図である。
FIG. 6 is a schematic diagram used for explaining a digital video signal (SDH) signal to which the present invention can be applied.

【図7】マクロブロックの説明に用いる略線図である。FIG. 7 is a schematic diagram used to describe a macroblock.

【図8】この発明を適用できるディジタルHD信号の説
明に用いる略線図である。
FIG. 8 is a schematic diagram used for explaining a digital HD signal to which the present invention can be applied.

【図9】マクロブロックの説明に用いる略線図である。FIG. 9 is a schematic diagram used to describe a macroblock.

【図10】マクロブロックの説明に用いる略線図であ
る。
FIG. 10 is a schematic diagram used to describe a macroblock.

【図11】この発明を適用できるディジタルHD信号の
他の例の説明に用いる略線図である。
FIG. 11 is a schematic diagram used for explaining another example of a digital HD signal to which the present invention can be applied.

【図12】マクロブロックの説明に用いる略線図であ
る。
FIG. 12 is a schematic diagram used to describe a macroblock.

【図13】SDHシステムおよび1250/50システ
ムにおけるバッファリング単位の5シンクブロックのデ
ータ構成の一例を示す略線図である。
FIG. 13 is a schematic diagram showing an example of a data configuration of 5 sync blocks in a buffering unit in the SDH system and the 1250/50 system.

【図14】1125/60システムにおけるバッファリ
ング単位の5シンクブロックのデータ構成の一例を示す
略線図である。
FIG. 14 is a schematic diagram showing an example of a data configuration of 5 sync blocks in a buffering unit in the 1125/60 system.

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

4 減算回路 5 DCT回路 6 適応量子化回路 7 見積り器 9 フレーム化回路 13 ゲート回路 14 符号化制御回路 16 シーンチェンジ検出回路 4 Subtraction circuit 5 DCT circuit 6 Adaptive quantization circuit 7 Estimator 9 Framer circuit 13 Gate circuit 14 Coding control circuit 16 Scene change detection circuit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 入力ディジタルビデオ信号のデータ量を
圧縮符号化し、符号化出力を所定のデータフォーマット
にフレーム化して伝送するようにした符号化およびフレ
ーム化装置であって、 所定の大きさの符号化ブロック毎に変換符号化するため
の直交変換手段と、 上記直交変換手段と結合され、固定長化単位内の符号化
出力のデータ量を複数のシンクブロックのデータ領域内
に収まるように、制御するための適応量子化手段と、 上記適応量子化手段と結合された可変長符号化手段と、 上記適応量子化手段の出力を局部復号するための手段
と、 上記局部復号されたデータを蓄えるためのフレームメモ
リと、 上記フレームメモリからの第1のフレームの復号データ
と上記第1のフレームに引き続く第2のフレームとの間
のフレーム差を上記符号化ブロック毎に検出し、上記フ
レーム差が上記しきい値より小さい第1のクラスと、上
記フレーム差が上記しきい値より大きい第2のクラスと
へ上記符号化ブロックをクラス分けし、上記第1のクラ
スの符号化ブロックに関しては、上記フレーム差を上記
直交変換手段に与え、上記第2のクラスの符号化ブロッ
クに関しては、上記第2のフレームのデータを上記直交
変換手段に与えるように制御するための符号化制御手段
と、 上記可変長符号化手段の出力を上記複数のシンクブロッ
クの構成の伝送データとするためのフレーム化手段であ
って、上記第1のフレームの交流成分の符号化出力を低
域成分から開始して上記複数のシンクブロックの予め規
定されているデータ区間内へ詰め込み、そして、上記第
2のフレームの交流成分の符号化出力およびオーバーフ
ローした上記第1のフレームの交流成分の符号化出力を
上記複数のシンクブロックの余白のデータ区間内へ詰め
込むようにされたフレーム化手段とからなることを特徴
とするディジタルビデオ信号の符号化およびフレーム化
装置。
1. An encoding and framing device which compresses and encodes the data amount of an input digital video signal and frames the encoded output into a predetermined data format for transmission, and a code of a predetermined size. An orthogonal transform unit for transform coding for each encoded block, and the orthogonal transform unit are combined so as to control the data amount of the encoded output in the fixed length unit so that the data amount falls within the data area of a plurality of sync blocks. An adaptive quantization means for performing, a variable length coding means coupled to the adaptive quantization means, a means for locally decoding the output of the adaptive quantization means, and a means for storing the locally decoded data. The frame difference between the first frame decoded data from the frame memory and the second frame following the first frame. Each coding block is detected, and the coding block is 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. For the first class coded block, the frame difference is given to the orthogonal transform means, and for the second class coded block, the data of the second frame is given to the orthogonal transform means. Coding control means for controlling, and framing means for converting the output of the variable length coding means into transmission data having the configuration of the plurality of sync blocks, the code of the AC component of the first frame. Start the low-frequency component from the low-frequency component, stuff it into the predefined data section of the plurality of sync blocks, and then encode the AC component of the second frame. And a framing means adapted to pack the encoded output of the AC component of the overflowed first frame into the blank data section of the plurality of sync blocks. And framing equipment.
【請求項2】 請求項1記載のディジタルビデオ信号の
符号化およびフレーム化装置であって、 上記フレーム化手段において、上記第1のフレームの符
号化出力が詰め込まれるデータ区間は、上記固定長化単
位内の上記第1のフレームの符号化ブロック数と等しい
数のデータ区間からなることを特徴とするディジタルビ
デオ信号の符号化およびフレーム化装置。
2. A digital video signal coding and framing device according to claim 1, wherein the framing means packs the coded output of the first frame into a fixed data section. A coding and framing device for a digital video signal, comprising a number of data sections equal to the number of coding blocks of the first frame in a unit.
【請求項3】 請求項1または請求項2において、上記
入力ディジタルビデオ信号が標準解像度ディジタルビデ
オ信号であることを特徴とするディジタルビデオ信号の
符号化およびフレーム化装置。
3. A coding and framing device for a digital video signal according to claim 1 or 2, wherein the input digital video signal is a standard resolution digital video signal.
【請求項4】 請求項1または請求項2において、上記
入力ディジタルビデオ信号が高解像度信号であることを
特徴とするディジタルビデオ信号の符号化およびフレー
ム化装置。
4. The encoding and framing device for digital video signals according to claim 1 or 2, wherein the input digital video signal is a high resolution signal.
JP5482593A 1993-02-19 1993-02-19 Digital video signal coding and framing apparatus Expired - Fee Related JP3232750B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5482593A JP3232750B2 (en) 1993-02-19 1993-02-19 Digital video signal coding and framing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5482593A JP3232750B2 (en) 1993-02-19 1993-02-19 Digital video signal coding and framing apparatus

Publications (2)

Publication Number Publication Date
JPH06245190A true JPH06245190A (en) 1994-09-02
JP3232750B2 JP3232750B2 (en) 2001-11-26

Family

ID=12981459

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5482593A Expired - Fee Related JP3232750B2 (en) 1993-02-19 1993-02-19 Digital video signal coding and framing apparatus

Country Status (1)

Country Link
JP (1) JP3232750B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6678327B1 (en) 1997-12-29 2004-01-13 Samsung Electronics Co., Ltd. Image signal compression coding method and apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6678327B1 (en) 1997-12-29 2004-01-13 Samsung Electronics Co., Ltd. Image signal compression coding method and apparatus

Also Published As

Publication number Publication date
JP3232750B2 (en) 2001-11-26

Similar Documents

Publication Publication Date Title
US5703889A (en) High efficiency coding signal processing apparatus with error propagation influence reduction
RU2191469C2 (en) Video transmitting device using intraframe video compression compatible with mpeg-2 code
JP2931732B2 (en) Video compression method and decompression method and apparatus using variable length coding
JP3428033B2 (en) Digital VTR
US7756202B2 (en) High-efficiency encoder and video information recording/reproducing apparatus
EP0554086A2 (en) High-efficiency encoder and video information recording/reproducing apparatus
US5291283A (en) Decoding apparatus of a compressed digital video signal
KR100904329B1 (en) Image processing device, image processing method, and recording medium
US5680266A (en) Bit-stream allocating and restoring method for digital VCR and data compressing/decompressing apparatus using the same
JPH09168148A (en) Dynamic image coding method and device and recording medium
JP3232750B2 (en) Digital video signal coding and framing apparatus
JP3309474B2 (en) Digital video signal encoding device
KR100251930B1 (en) Apparatus for recording and reproducing video data
JP2957340B2 (en) Digital recording device
JP3127629B2 (en) Error correction device for digital image signal
JP2897585B2 (en) Image coding recording and playback device
KR100268489B1 (en) Method and apparatus of recording and playing video data and digital video cassette recorder
KR100224623B1 (en) Image data storage device
JPH04337989A (en) Image recording and reproducing device
JPH05308610A (en) Band compression signal processor
JPH0530536A (en) Image coding device
JPH0767113A (en) Inter-frame band compressing signal switching circuit
JP2001292417A (en) Digital image signal recorder
JPH06284376A (en) Recording/reproducing device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080921

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090921

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees