JPH05176178A - Transmitter for digital picture signal - Google Patents

Transmitter for digital picture signal

Info

Publication number
JPH05176178A
JPH05176178A JP35782791A JP35782791A JPH05176178A JP H05176178 A JPH05176178 A JP H05176178A JP 35782791 A JP35782791 A JP 35782791A JP 35782791 A JP35782791 A JP 35782791A JP H05176178 A JPH05176178 A JP H05176178A
Authority
JP
Japan
Prior art keywords
data
component
order
code
circuit
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
JP35782791A
Other languages
Japanese (ja)
Other versions
JP3353317B2 (en
Inventor
Masaki Oguro
正樹 小黒
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 JP35782791A priority Critical patent/JP3353317B2/en
Publication of JPH05176178A publication Critical patent/JPH05176178A/en
Application granted granted Critical
Publication of JP3353317B2 publication Critical patent/JP3353317B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To reduce memory capacity and also to improve picture quality at the time of vari-speed reproduction by packing coefficient data caused by the coding into a synchronizing block in order from low order DC and AC components toward higher order components. CONSTITUTION:A selector SW in a transmitter for a digital picture signal used for a DCT as high efficient coding selects an output of a quantization circuit 1 when a code is received and selects an output of an area detection circuit 4 in a timing when coordinate data HV are inserted. An output from the SW is fed to a variable length coding circuit 5, code signals from the DCT are packed in a synchronizing block sequentially from a DC component DC and a lower order AC component toward higher order AC components and the result is fed to an FIFO 6. Thus, it is not required for the processing arranging regularly the DC component data with high importance, the circuit configuration is simplified, and since data of the reproduced synchronizing block include DC and AC components at the time of speed reproduction, the picture quality of a reproduced picture is improved.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、高能率符号化として
DCTを使用するディジタル画像信号の伝送装置、特
に、伝送データのフレーム化に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital image signal transmission apparatus using DCT as high-efficiency coding, and more particularly to framing of transmission data.

【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, for example, a rotary head is known. Since the amount of information in digital video signals is large,
High-efficiency coding is often used to compress the amount of transmitted data. Among various high efficiency coding, DC
Practical application of T (Discrete Cosine Transform) is progressing.

【0003】DCTは、1フレームの画像を例えば(8
×8)のブロック構造に変換し、このブロックを直交変
換の一種であるコサイン変換処理するものである。その
結果、(8×8)の係数データが発生する。このような
係数データは、ランレングス符号、ハフマン符号等の可
変長符号化の処理を受けてから伝送される。伝送時に
は、一定長のデータ毎にブロック同期信号が付加された
シンクブロックの構成とされるのが普通である。
In the DCT, an image of one frame is, 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, it is usual to form a sync block to which a block synchronization signal is added for each fixed length of data.

【0004】受信側では、シンクブロックに含まれるデ
ータを可変長符号の復号を行った後に、画像データに変
換する逆DCT変換がなされる。可変長符号の復号の場
合には、受信データから各係数データと対応するコード
を正しく抽出する必要がある。従来では、係数データ間
に存在する重要度の相違を考慮して、重要度が高い直流
分、交流分の低次のデータ、すなわち、重要語をなるべ
く正しく抽出できるように考慮された配列を使用してい
た。
On the receiving side, the data contained in the sync block is subjected to the variable length code decoding, and then the inverse DCT conversion for converting it into the image data is performed. When decoding a variable length code, it is necessary to correctly extract the code corresponding to each coefficient data from the received data. Conventionally, in consideration of the difference in importance that exists between coefficient data, low-order data with high importance for direct current and alternating current, that is, an array that is designed to extract important words as accurately as possible is used. Was.

【0005】図8は、従来の伝送データの一例のシンク
ブロックを示す。シンクブロックの先頭にブロック同期
信号SYNCが位置し、その後に、ID信号および付加
コードBAが位置し、付加コードの後に可変長符号化さ
れた係数データが位置する。この係数データの中で重要
度が高い直流分(DC)と低次の交流分(AC0〜AC
2)と座標データHVとが付加コードBAから一定の間
隔Txの位置に配される。PTは、シンクブロックのデ
ータ毎に付加されたエラー訂正符号のパリティである。
図8において、斜線領域は、余った隙間に詰められた他
の交流分の係数データを意味している。
FIG. 8 shows a sync block as an example of conventional transmission data. The block synchronization signal SYNC is located at the beginning of the sync block, the ID signal and the additional code BA are located after that, and the variable-length encoded coefficient data is located after the additional code. Of these coefficient data, the direct current component (DC) with high importance and the low-order alternating current component (AC0-AC)
2) and the coordinate data HV are arranged at a position with a constant interval Tx from the additional code BA. PT is the parity of the error correction code added to each sync block data.
In FIG. 8, the shaded area means the coefficient data of the other alternating current components filled in the extra gap.

【0006】このようなデータ配列を実現するフレーム
化回路の構成の一例を図9に示す。図示せずDCTの変
換器からの係数データDTが量子化回路31および見積
り器32に供給される。見積り器32は、所定期間のデ
ータ量を目標値Am以下とするための量子化ステップを
決定する。この量子化ステップを示す量子化番号QNO
がメモリ33に供給される。メモリ33からの量子化番
号QNOが量子化回路31に供給され、係数データDT
が量子化される。この量子化は、再量子化であって、量
子化回路31の出力には、ビット数が制御された係数デ
ータが発生する。この発生データ量の制御は、ディジタ
ルVTRに特有の処理で、所定期間(例えば1フレー
ム)のデータを1トラック内に記録するために必要であ
る。但し、直流分は、重要であるため再量子化されな
い。
FIG. 9 shows an example of the configuration of a framing circuit that realizes such a data array. Coefficient data DT from a DCT converter (not shown) is supplied to the quantization circuit 31 and the estimator 32. The estimator 32 determines a quantization step for making the data amount in a predetermined period equal to or less than the target value Am. Quantization number QNO indicating this quantization step
Are supplied to the memory 33. The quantization number QNO from the memory 33 is supplied to the quantization circuit 31, and the coefficient data DT
Is quantized. This quantization is requantization, and coefficient data whose number of bits is controlled is generated at the output of the quantization circuit 31. The control of the amount of generated data is a process peculiar to the digital VTR, and is necessary for recording data for a predetermined period (for example, one frame) in one track. However, the DC component is important and is not requantized.

【0007】量子化回路31の出力がエリア検出回路3
4およびセレクタSW1の入力端子に供給される。エリ
ア検出回路34は、量子化された(8×8)のデータ中
で、有意な(零でないという意味)データの存在する範
囲を検出し、この範囲を示す座標データHVを発生す
る。この座標データHVがメモリ39に供給される。
The output of the quantization circuit 31 is the area detection circuit 3
4 and the input terminal of the selector SW1. The area detection circuit 34 detects a range in which significant (non-zero) data exists in the quantized (8 × 8) data, and generates coordinate data HV indicating this range. This coordinate data HV is supplied to the memory 39.

【0008】セレクタSW1は、直流分のコードを出力
端子aを通じてメモリ38に書き込み、その出力端子b
を通じて交流分のコードを可変長符号化回路35に供給
する。可変長符号化回路35によって、ランレングス符
号化、ハフマン符号化等の処理をされた交流分のコード
のうちで、低次のものがメモリ40に供給され、それ以
外のものがFIFO36に供給される。
The selector SW1 writes the code for the direct current into the memory 38 through the output terminal a, and outputs the output terminal b.
The code for the alternating current is supplied to the variable length coding circuit 35 through. Of the alternating current codes that have been subjected to run length coding, Huffman coding, etc. by the variable length coding circuit 35, the low order ones are supplied to the memory 40, and the other ones are supplied to the FIFO 36. It

【0009】メモリ33、38、39、40およびFI
FO36には、所定の書き込み/読み出しアドレス、メ
モリ制御信号が供給され、メモリ38、39、40およ
びFIFO36からの読み出しデータがセレクタSW2
の入力端子a、b、c、dにそれぞれ供給される。セレ
クタSW2の出力データがパッキング回路37に供給さ
れ、図8のように、付加コードを有し、重要度が高いデ
ータが規則的に配列されたデータが出力される。図8中
には、含まれていないが、この図9の構成の場合には、
メモリ33から読み出された量子化番号も、重要語の一
つとして、規則的に配列される。
Memories 33, 38, 39, 40 and FI
A predetermined write / read address and a memory control signal are supplied to the FO 36, and the read data from the memories 38, 39 and 40 and the FIFO 36 is supplied to the selector SW2.
Of the input terminals a, b, c, d. The output data of the selector SW2 is supplied to the packing circuit 37, and as shown in FIG. 8, data having an additional code and in which highly important data are regularly arranged is output. Although not included in FIG. 8, in the case of the configuration of FIG. 9,
The quantization numbers read from the memory 33 are also regularly arranged as one of the important words.

【0010】[0010]

【発明が解決しようとする課題】ディジタルVTRにお
いて、磁気テープの速度が記録時のものに比してより高
速とされる変速再生時には、ヘッドの再生軌跡が複数の
トラックに跨がり、複数のトラックから断片的にデータ
が再生される。通常、1シンクブロックが再生されたデ
ータを有効データとして扱い、変速再生時の再生画像が
構築される。かかる変速再生時では、図8の従来のデー
タ配列では、直流分および低次のデータを得ることがで
きても、そのブロックの交流分のデータは、他のブロッ
クに含まれる場合が殆どであり、得ることができない。
その結果、モザイク状の再生画像しか得られない。直流
分のみを規則的に配する時には、よりこの問題が大き
い。
In a digital VTR, during variable speed reproduction in which the speed of the magnetic tape is higher than that during recording, the reproduction track of the head straddles a plurality of tracks and a plurality of tracks are formed. The data is reproduced in pieces from the. Normally, data in which one sync block is reproduced is treated as valid data, and a reproduced image in variable speed reproduction is constructed. During such variable speed reproduction, although the DC data and the low-order data can be obtained by the conventional data array of FIG. 8, the AC data of the block is mostly included in other blocks. I can't get it.
As a result, only a mosaic-shaped reproduced image can be obtained. This problem is more serious when only the DC component is regularly arranged.

【0011】また、図9に示されるように、重要語を規
則的に配するためのバッファメモリが必要とされ、回路
規模が大きく、処理が複雑化する問題がある。さらに、
重要語以外の可変長コードの区切りの検出を誤った時に
は、このエラーが1シンクブロック内に収まらず、時間
的に前のシンクブロックから後のシンクブロックにま
で、伝搬する問題がある。
Further, as shown in FIG. 9, there is a problem that a buffer memory for regularly arranging important words is required, the circuit scale is large, and the processing becomes complicated. further,
When an error is detected in a variable length code delimiter other than an important word, there is a problem that this error does not fit within one sync block and is propagated from a previous sync block to a later sync block in terms of time.

【0012】従って、この発明は、小さい回路規模で、
簡単な制御によって、変速再生時の画質を向上できるデ
ィジタル画像信号の伝送装置を提供することにある。
Therefore, the present invention has a small circuit scale,
It is an object of the present invention to provide a digital image signal transmission device capable of improving image quality during variable speed reproduction by simple control.

【0013】この発明の他の目的は、エラー伝搬を1シ
ンクブロック内に抑えることができるディジタル画像信
号の伝送装置を提供することにある。
Another object of the present invention is to provide a digital image signal transmission apparatus capable of suppressing error propagation within one sync block.

【0014】[0014]

【課題を解決するための手段】この発明は、入力ディジ
タル画像信号をDCTによって圧縮符号化し、上記符号
化されたディジタル画像信号を伝送するようにしたディ
ジタル画像信号の伝送装置において、符号化によって生
じた係数データを直流分、交流分の低次のものから高次
のものに向かう順序で、ビット方向および所定のビット
幅方向に順次詰め込み、また、一定量のデータ毎にシン
クブロック同期信号を付加するための回路と、シンクブ
ロック同期信号が付加された所定のビット幅のデータを
伝送するための手段とからなることを特徴とするディジ
タル画像信号の伝送装置である。また、この発明は、直
流分の係数データのそのシンクブロック内のバイト位置
およびビット位置を示すポインタを付加し、さらに、一
定量のデータ毎にシンクブロック同期信号を付加して伝
送するものである。
According to the present invention, there is provided a digital image signal transmitting apparatus which compresses and encodes an input digital image signal by DCT and transmits the encoded digital image signal. Coefficient data is packed in the bit direction and the predetermined bit width direction in the order from low order to high order of DC and AC, and a sync block sync signal is added for each fixed amount of data. And a means for transmitting data having a predetermined bit width to which a sync block synchronizing signal is added, and a digital image signal transmitting apparatus. Further, according to the present invention, a pointer indicating the byte position and the bit position in the sync block of the DC coefficient data is added, and a sync block synchronization signal is added for each fixed amount of data for transmission. ..

【0015】[0015]

【作用】重要度が高い直流分のデータを規則的に並べる
処理が不要であって、回路構成が簡単とできる。また、
直流分および交流分の係数データが同じシンクブロック
内に含まれるので、変速再生時の画質を良好とできる。
さらに、ポインタを付加することで、エラー伝搬をシン
クブロック内に抑えることができる。
The circuit configuration can be simplified because the process of regularly arranging the data of the DC component having high importance is unnecessary. Also,
Since the DC component and the AC component coefficient data are included in the same sync block, the image quality during variable speed reproduction can be improved.
Furthermore, by adding a pointer, error propagation can be suppressed within the sync block.

【0016】[0016]

【実施例】以下、この発明の一実施例について図面を参
照して説明する。図1は、この発明によるフレーム化回
路の構成を示す。1は、図示せぬDCTの変換回路で発
生した(8×8)の係数データDTが供給される量子化
回路である。この係数データは、見積り器2にも供給さ
れる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows the configuration of a framing circuit according to the present invention. Reference numeral 1 is a quantization circuit to which (8 × 8) coefficient data DT generated by a DCT conversion circuit (not shown) is supplied. This coefficient data is also supplied to the estimator 2.

【0017】図2Aは、係数データDTの(8×8)の
構成を示す。直流分DCは、例えば9ビットであり、交
流分の係数データAC0〜AC62は、それぞれ10ビ
ット(サインビット+9ビット)である。1ブロックで
64個の係数データDTは、直流分DCを先頭にして、
AC0、AC1、AC2、・・・・のジグザク走査の順
で次数が低いものから高いものに向かって順に配列され
たものである。交流分の次数は、直流分との距離が大き
いほど高いくなる。この交流分の係数データの中で、斜
線を付したAC0〜AC7を低次の交流分として扱って
いる。
FIG. 2A shows the (8 × 8) structure of the coefficient data DT. The DC component DC has, for example, 9 bits, and the AC component coefficient data AC0 to AC62 each has 10 bits (sign bit + 9 bits). The 64 coefficient data DT in one block, with the DC component DC at the top,
In the zigzag scanning order of AC0, AC1, AC2, ..., They are arranged in order from the lowest order to the highest order. The order of the AC component increases as the distance from the DC component increases. In the coefficient data of this AC component, hatched AC0 to AC7 are treated as low-order AC components.

【0018】量子化回路1では、係数データDT内の直
流分は、再量子化されず、交流分が再量子化される。こ
の量子化ステップが見積り器2によって決定される。デ
ィジタルVTRの場合では、編集等の処理がフレーム単
位でなされるので、1フレーム当りの発生データ量が目
標値Amと等しいか、あるいはそれ以下となる必要があ
る。DCTおよび可変長符号化で発生するデータ量は、
符号化の対象の絵柄によって変化するので、所定期間当
りの発生データ量を目標値Am以下とする処理(バッフ
ァリング処理)がなされる。1フレーム毎にバッファリ
ング処理を行っても良いが、この例では、15マクロブ
ロック単位でバッファリングを行う。
In the quantization circuit 1, the DC component in the coefficient data DT is not requantized, but the AC component is requantized. This quantizer step is determined by the estimator 2. In the case of a digital VTR, since processing such as editing is performed in frame units, the amount of data generated per frame must be equal to or less than the target value Am. The amount of data generated by DCT and variable length coding is
Since it changes depending on the pattern to be encoded, a process (buffering process) is performed in which the amount of generated data per predetermined period is set to the target value Am or less. Although the buffering process may be performed for each frame, in this example, the buffering is performed in units of 15 macroblocks.

【0019】マクロブロックは、1ブロック当りの(8
×8)の係数データを複数ブロック集めたものである。
例えばコンポーネント方式の(Y:U:V=4:1:
1)のビデオデータの場合には、1フレーム内の同一位
置の、4個のYブロックと1個のUブロックと1個のV
ブロックとの計6ブロックが1マクロブロックを構成す
る。サンプリング周波数が13.5MHzの場合では、1
フレームの画像が(858サンプル×525ライン)で
あり、その内の有効データが(704サンプル×480
ライン)とされる。上述のコンポーネント方式の場合に
は、1フレームの全ブロック数は、(704×6/4)
×480÷(8×8)=7920として求められる。従
って、7920÷6=1320が1フレーム内のマクロ
ブロックの個数である。
The macroblock has (8
× 8) is a collection of a plurality of blocks of coefficient data.
For example, the component type (Y: U: V = 4: 1:
In the case of 1) video data, four Y blocks, one U block and one V at the same position in one frame.
A total of 6 blocks including blocks form one macroblock. If the sampling frequency is 13.5 MHz, 1
The frame image is (858 samples x 525 lines), and the valid data in it is (704 samples x 480 lines).
Line). In the case of the component method described above, the total number of blocks in one frame is (704 × 6/4)
It is calculated as × 480 ÷ (8 × 8) = 7920. Therefore, 7920/6 = 1320 is the number of macroblocks in one frame.

【0020】見積り器2は、バッファリング期間の発生
データ量を目標値以下とすることができ、且つなるべく
小さい値の量子化ステップを決定する。この方法として
は、複数の量子化ステップで係数データの量子化(すな
わち、係数データの各コードを量子化ステップで割算す
る処理)を並列に行い、その結果のデータ量を監視し、
上述の条件を満足する量子化ステップを択一的に決定す
る。この場合、全ての次数の交流分の係数データに対し
て、共通の量子化ステップを適用するのに限らず、その
次数に応じた量子化ステップを使用しても良い。つま
り、交流分の係数データを次数に応じて、複数のグルー
プに分割し、量子化ステップとして、複数のグループの
それぞれに対するものを用意する。そして、量子化ステ
ップを異ならせる場合、複数のグループに対する量子化
ステップの組を複数個準備し、複数の量子化ステップの
組で量子化を行い、その結果を参照して最適な量子化ス
テップが決定される。
The estimator 2 can make the amount of generated data in the buffering period equal to or less than the target value, and determines a quantization step having a value as small as possible. As this method, quantization of coefficient data in a plurality of quantization steps (that is, processing of dividing each code of coefficient data by the quantization step) is performed in parallel, and the resulting data amount is monitored,
The quantization step that satisfies the above conditions is alternatively determined. In this case, the common quantization step is not limited to the coefficient data of all orders of alternating current, and a quantization step corresponding to the order may be used. That is, the coefficient data for the alternating current is divided into a plurality of groups according to the order, and the quantization step is prepared for each of the plurality of groups. Then, when different quantization steps are used, a plurality of sets of quantization steps for a plurality of groups are prepared, quantization is performed by the plurality of sets of quantization steps, and the optimum quantization step is obtained by referring to the result. It is determined.

【0021】見積り器2において決定された量子化ステ
ップは、量子化番号で表現される。この量子化番号がメ
モリ3に書き込まれる。メモリ3(あるいは見積り器
2)からの量子化番号が後段の処理に送られるととも
に、量子化回路1に供給される。この量子化回路1で、
交流分が量子化番号と対応する量子化ステップで再量子
化がなされる。この再量子化は、上述の量子化ステップ
の決定と同様に、次数に適応したものでも良い。
The quantization step determined by the estimator 2 is represented by a quantization number. This quantization number is written in the memory 3. The quantization number from the memory 3 (or the estimator 2) is sent to the subsequent processing and also supplied to the quantization circuit 1. With this quantization circuit 1,
Requantization is performed in the quantization step in which the AC component corresponds to the quantization number. This requantization may be adapted to the order as in the case of determining the quantization step described above.

【0022】量子化回路1の出力がセレクタSWの入力
端子aおよびエリア検出回路4に供給される。セレクタ
SWの入力端子bには、エリア検出回路4からの座標デ
ータHVが供給される。エリア検出回路4は、量子化回
路1からのコード信号の中で有意な(すなわち、零でな
い)データが存在する範囲を検出する。(8×8)のブ
ロックを2次元座標(H=0、1、・・・7、V=0、
1、2、・・・7)で表し、図2Bに示すように、有意
なコードの存在範囲の2次元座標(H、V)をエリア検
出回路4が検出する。
The output of the quantizing circuit 1 is supplied to the input terminal a of the selector SW and the area detecting circuit 4. The coordinate data HV from the area detection circuit 4 is supplied to the input terminal b of the selector SW. The area detection circuit 4 detects a range in which significant (that is, non-zero) data exists in the code signal from the quantization circuit 1. A block of (8 × 8) is represented by two-dimensional coordinates (H = 0, 1, ... 7, V = 0,
1, 2 ... 7), and as shown in FIG. 2B, the area detection circuit 4 detects the two-dimensional coordinates (H, V) of the significant code existence range.

【0023】セレクタSWは、コードの時には、量子化
回路1の出力を選択し、座標データHVを挿入するタイ
ミングでエリア検出回路4の出力を選択する。セレクタ
SWの出力が可変長符号化回路5に供給される。可変長
符号化回路5の出力がFIFO6に供給され、FIFO
6の出力がパッキング回路7に供給される。パッキング
回路7では、後述するように、アドレス、直流分の位置
を示すポインタ等を含む付加コードBAがDCTのコー
ド信号に対して付加される。FIFO6に対する入力デ
ータのレイトは、可変長コードのために変化するが、そ
の出力データのレイトは、一定とされる。パッキング回
路7は、FIFO6の出力データを順に詰めて、所定の
ビット幅例えばバイト幅のデータを発生する。
The selector SW selects the output of the quantizing circuit 1 at the time of code, and selects the output of the area detecting circuit 4 at the timing of inserting the coordinate data HV. The output of the selector SW is supplied to the variable length coding circuit 5. The output of the variable length coding circuit 5 is supplied to the FIFO 6,
The output of 6 is supplied to the packing circuit 7. In the packing circuit 7, as will be described later, an additional code BA including an address, a pointer indicating the position of the DC component, etc. is added to the DCT code signal. The rate of the input data to the FIFO 6 changes due to the variable length code, but the rate of the output data is made constant. The packing circuit 7 sequentially packs the output data of the FIFO 6 and generates data having a predetermined bit width, for example, a byte width.

【0024】パッキング回路7内あるいはその後には、
図示せずも、ブロック同期信号、ID信号を付加する回
路が設けられ、これによってシンクブロック構成の記録
データが生成される。記録データは、さらに、シャフリ
ング、エラー訂正符号化、チャンネルコーディング等の
処理を受けてから複数の回転ヘッドに供給され、磁気テ
ープ上に記録される。一例として、2本のトラックが二
つの近接して配された回転ヘッドによって同時に形成
れ、10本のトラックに1フレームのデータが分割して
記録される。なお、PCMオーディオ信号は、エラー訂
正符号化され、ビデオデータと混在して記録されるか、
あるいは1トラック内に設けられたオーディオデータ記
録区間に記録される。
In or after the packing circuit 7,
Although not shown, a circuit for adding a block synchronization signal and an ID signal is provided to generate print data having a sync block configuration. The recording data is further processed by shuffling, error correction coding, channel coding, etc., and then supplied to a plurality of rotary heads and recorded on a magnetic tape. As an example, two tracks are simultaneously formed by two rotary heads arranged close to each other, and one frame of data is divided and recorded on ten tracks. It should be noted that the PCM audio signal is error correction coded and recorded together with the video data.
Alternatively, it is recorded in an audio data recording section provided in one track.

【0025】図3Aは、この一実施例のシンクブロック
の構成を示す。2バイトのブロック同期信号SYNCの
後に、2バイトのID信号が付加される。ID信号は、
ビデオデータの方式(NTSC、PAL、HD、S
D)、アフレコの有無等の識別と、ID信号に対するパ
リティとを含む。ID信号の後に、4バイトの付加コー
ドBA0、BA1、BA2、BA3が付加される。この
付加コードの後のデータエリア区間に、DCTで発生し
たコードおよび座標データHVが配される。最後に、パ
リティPTが位置する。
FIG. 3A shows the structure of the sync block of this embodiment. A 2-byte ID signal is added after the 2-byte block synchronization signal SYNC. The ID signal is
Video data format (NTSC, PAL, HD, S
D), identification of presence / absence of post-recording, and parity for the ID signal. After the ID signal, 4-byte additional codes BA0, BA1, BA2, BA3 are added. In the data area section after this additional code, the code generated in DCT and the coordinate data HV are arranged. Finally, the parity PT is located.

【0026】エラー訂正符号として、積符号が使用さ
れ、その水平方向および垂直方向のデータに対して、リ
ード・ソロモン符号の符号化がそれぞれされる。水平方
向のエラー訂正符号が内符号と称され、垂直方向のエラ
ー訂正符号が外符号と称される。内符号は、1シンクブ
ロックのデータエリアに含まれるデータに対してなさ
れ、水平パリティPTが生成される。垂直パリティのみ
を含むシンクブロックもありうる。変速再生時では、シ
ンクブロックとして切り出されたデータが有効として扱
われ、内符号を使用したエラー訂正がなされる。図3C
は、エラー訂正符号の構成を示している。1シンクブロ
ックのデータエリアが2次元配列の1行を構成し、水平
パリティPTが生成される。各列のデータに対して、垂
直パリティが生成される。
A product code is used as the error correction code, and the Reed-Solomon code is encoded with respect to the data in the horizontal and vertical directions, respectively. The error correction code in the horizontal direction is called an inner code, and the error correction code in the vertical direction is called an outer code. The inner code is applied to the data included in the data area of one sync block, and the horizontal parity PT is generated. There may be sync blocks that include only vertical parity. During variable speed reproduction, the data cut out as a sync block is treated as valid, and error correction using the inner code is performed. Figure 3C
Shows the structure of the error correction code. The data area of one sync block constitutes one row of the two-dimensional array, and the horizontal parity PT is generated. Vertical parity is generated for the data in each column.

【0027】DCTのコード信号は、直流分DCを先頭
に、交流分の有意なものが低次から高次に向かって順に
シンクブロック内に詰め込まれる。座標データHVは、
この例では、直流分の後に挿入している。図3の例で
は、付加コードBA3の直後に直流分DC0が位置して
いるが、直流分DCの位置は、ブロックのコードの長さ
が可変であるので、まちまちである。好ましくは、1シ
ンクブロックのデータエリア内に、少なくとも1ブロッ
クのコードが含まれるように、シンクブロックの長さが
規定される。重要なのは、1ブロックの係数データと対
応するコードがひとかたまりでシンクブロック内に存在
していることである。
In the DCT code signal, the DC component DC is headed, and the significant AC components are packed in the sync block in order from the low order to the high order. The coordinate data HV is
In this example, it is inserted after the DC component. In the example of FIG. 3, the DC component DC0 is located immediately after the additional code BA3, but the position of the DC component DC is variable because the length of the block code is variable. Preferably, the length of the sync block is defined so that the code of at least one block is included in the data area of one sync block. What is important is that a code corresponding to one block of coefficient data exists in a sync block as a group.

【0028】付加コードBA0〜BA3のビット構成の
詳細は、図3Bに示される。BA0の先頭の2ビット
(TYPE0、TYPE1)11は、そのシンクブロッ
クがビデオデータか、オーディオデータか、垂直パリテ
ィデータか、ビデオ/オーディオの混在データの識別等
に使用される。BA1の8ビットとBA0の6ビット
(BLKN0〜BLKN13の符号が付されている)の
規定は、下記のものである。
Details of the bit configuration of the additional codes BA0 to BA3 are shown in FIG. 3B. The first two bits (TYPE0, TYPE1) 11 of BA0 are used to identify whether the sync block is video data, audio data, vertical parity data, mixed video / audio data, or the like. The specifications of 8 bits of BA1 and 6 bits of BA0 (denoted by BLKN0 to BLKN13) are as follows.

【0029】(BLKN3〜BLKN13)12:1フ
レーム内の1320個のマクロブロックのアドレス (BLKN0〜BLKN2)13:マクロブロック
(Y、Y、Y、Y、U、V)内のアドレス
(BLKN3 to BLKN13) 12: 1 addresses of 1320 macroblocks in a frame (BLKN0 to BLKN2) 13: addresses in macroblocks (Y, Y, Y, Y, U, V)

【0030】BA2およびBA3のビットの規定を下記
に示す。 (QNO0〜QNO4)14:量子化ステップを規定す
る量子化番号 (NEBIT0〜NEBIT2)15:次の最初の直流
分のコードDCまでの距離(ビット数) (NEBYT0〜NEBIT6)16:次の最初の直流
分のコードDCまでの距離(バイト数) (SHUF)17:シャフリングの態様の識別 1フレーム内で、マクロブロック単位のシャフリングが
され、そのシャフリングのパターンとして複数の態様が
適応的且つ選択的に使用される。
The definition of the bits of BA2 and BA3 is shown below. (QNO0 to QNO4) 14: Quantization number that defines the quantization step (NEBIT0 to NEBIT2) 15: Distance to the next first DC code DC (number of bits) (NEBYT0 to NEBIT6) 16: Next first Distance to DC code DC (number of bytes) (SHUF) 17: Identification of shuffling mode Shuffling is performed in macroblock units within one frame, and a plurality of modes are adaptive as the shuffling pattern. Used selectively.

【0031】上述の付加コードBAの中で、直流分の位
置を規定するポインタ(NEBIT0〜NEBIT2)
15および(NEBYT0〜NEBIT6)16は、可
変長コードの区切りの検出が誤った場合に、このエラー
が伝搬することを断ち切る(リフレッシュ)することが
できる。また、このポインタによって、変速再生時に1
ブロックのデータの取込みの先頭位置が分かる。
In the above-mentioned additional code BA, pointers (NEBIT0 to NEBIT2) that define the position of the DC component
15 and (NEBYT0 to NEBIT6) 16 can cut off the propagation of this error (refresh) when the detection of the delimiter of the variable length code is erroneous. In addition, by this pointer, it is possible to
The start position of block data acquisition can be known.

【0032】上述のポインタの生成について説明する。
図4は、ポインタの生成と関連する信号のタイミングチ
ャートである。クロックCKは、可変長コードのコード
の区切りと同期している。ブロックパルスBLKPは、
1ブロックの64個のコード毎に発生するパルスであ
る。コードは、直流分DCを先頭として、63個の交流
分AC0〜AC62が順に並べられたデータである。こ
こでは、コードの最大のビット長を17ビットとしてお
り、AC0〜AC62は、0〜17ビットの範囲内の有
効ビット長を有する。この有効ビット長を示す5ビット
の長さコードLENがコードと同期して伝送される。
The generation of the above pointer will be described.
FIG. 4 is a timing chart of signals related to pointer generation. The clock CK is synchronized with the code delimiter of the variable length code. The block pulse BLKP is
It is a pulse generated for every 64 codes in one block. The code is data in which 63 alternating current components AC0 to AC62 are arranged in order, starting with the direct current component DC. Here, the maximum bit length of the code is 17 bits, and AC0 to AC62 have effective bit lengths in the range of 0 to 17 bits. A 5-bit length code LEN indicating this effective bit length is transmitted in synchronization with the code.

【0033】図5は、ポインタの生成の説明のためのも
ので、簡単のため座標データHVについては、省略され
ている。シンクブロック内のデータエリア長がDで表さ
れ、データのビット幅(この例ではバイト)がBで表さ
れる。ポインタは、データエリア内の先頭から最初の直
流分のコード迄の距離(バイト数NBYおよびビット数
NBI)を示す。
FIG. 5 is for explaining the generation of the pointer, and the coordinate data HV is omitted for simplification. The data area length in the sync block is represented by D, and the data bit width (byte in this example) is represented by B. The pointer indicates the distance (the number of bytes NBY and the number of bits NBI) from the beginning of the data area to the code of the first DC component.

【0034】図6で示すポインタ生成回路で加算器21
に長さコードLENが供給され、加算器21の出力が1
クロック遅延のためのフリップフロップ22に供給さ
れ、フリップフロップ22の出力が加算器21に帰還さ
れる。フリップフロップ22の出力は、デコーダ24お
よびフリップフロップ26にも供給される。フリップフ
ロップ22は、NORゲート23の出力が“0”の時に
クリアされる。NORゲート23には、クリア信号IN
Cおよびデコーダ24の出力が供給される。
In the pointer generation circuit shown in FIG.
Is supplied with the length code LEN, and the output of the adder 21 becomes 1
It is supplied to the flip-flop 22 for clock delay, and the output of the flip-flop 22 is fed back to the adder 21. The output of the flip-flop 22 is also supplied to the decoder 24 and the flip-flop 26. The flip-flop 22 is cleared when the output of the NOR gate 23 is "0". The NOR gate 23 has a clear signal IN
The outputs of C and decoder 24 are provided.

【0035】フリップフロップ22がクリア信号INC
でゼロクリアされてから、長さコードLENを累算す
る。この累算結果がデコーダ24に供給され、デコーダ
24は、累算結果が(D×B)に到達した時に、出力を
発生し、これによりフリップフロップ22がクリアされ
る。このようにして、モジュロ(D×8)の加算が実現
される。デコーダ24の出力を反転したものがパルスN
XSYとされる。このパルスNXSYは、シンクブロッ
クの有効なデータエリア長Dを飛び越えたタイミング、
すなわち、次のシンクブロックに値が渡ったタイミング
を示す。
The flip-flop 22 outputs the clear signal INC.
The length code LEN is accumulated after being cleared to zero by. This accumulated result is supplied to the decoder 24, and when the accumulated result reaches (D × B), the decoder 24 generates an output, which clears the flip-flop 22. In this way, modulo (D × 8) addition is realized. A pulse N is obtained by inverting the output of the decoder 24.
It is set to XSY. This pulse NXSY is a timing at which the effective data area length D of the sync block is skipped,
That is, it indicates the timing when the value passed to the next sync block.

【0036】このパルスNXSYが発生した後のブロッ
クパルスBLKPは、そのシンクブロックで最初の直流
分のコードDCの位置を示している。コントローラ25
は、パルスNXSYの後のブロックパルスBLKPのタ
イミングでイネーブル信号をフリップフロップ26に与
える。フリップフロップ22がデコーダ24の出力でク
リアされる直前に、フリップフロップ22の出力がコン
トローラ25からのイネーブル信号でフリップフロップ
26に取り込まれる。
The block pulse BLKP after the generation of this pulse NXSY indicates the position of the code DC of the first DC component in the sync block. Controller 25
Gives an enable signal to the flip-flop 26 at the timing of the block pulse BLKP after the pulse NXSY. Immediately before the flip-flop 22 is cleared by the output of the decoder 24, the output of the flip-flop 22 is taken into the flip-flop 26 by the enable signal from the controller 25.

【0037】図7は、上述のブロックパルスBLKPと
パルスNXSYとフリップフロップ22の内容の関係を
示している。フリップフロップ22の内容が(D×B)
の値に到達し、パルスNXSYが発生してから最初にブ
ロックパルスBLKPが発生する迄の値27a、27
b、27c、・・・がそのシンクブロックの最初の直流
分のコードの位置を示している。加算器21フリップフ
ロップ22は、2進数で動作しているので、フリップフ
ロップ26の出力の下位3ビットがNBIを示し、これ
が付加コードにNEBIT0〜2としてそのシンクブロ
ックに挿入され、また、その上位7ビットがNBYを示
し、これが付加コードNEBY0〜6としてそのシンク
ブロックに挿入される。
FIG. 7 shows the relationship among the block pulse BLKP, the pulse NXSY, and the contents of the flip-flop 22 described above. The content of the flip-flop 22 is (D × B)
Value 27a, 27 from when the pulse NXSY is generated until the block pulse BLKP is first generated.
, b, 27c, ... Show the position of the code for the first DC component of the sync block. Since the adder 21 flip-flop 22 operates in a binary number, the lower 3 bits of the output of the flip-flop 26 indicate NBI, and this is inserted into the sync block as NEBIT0 to NEBIT2 in the additional code, and the higher order. 7 bits indicate NBY, which are inserted in the sync block as additional codes NEBY0 to NEBY6.

【0038】なお、この発明は、ディジタルVTRに限
らず、ディスク記録/再生装置、ディジタル画像信号を
通信路を介して伝送する場合等にも適用できる。
The present invention is not limited to the digital VTR, but can be applied to a disk recording / reproducing apparatus, a case of transmitting a digital image signal through a communication path, and the like.

【0039】[0039]

【発明の効果】この発明によれば、シンクブロック内に
1ブロックの係数データと対応するコードをまとめて配
しているので、フレーム化の回路および処理が簡単であ
り、必要なメモリ容量を低減できる。また、変速再生時
には、再生されたシンクブロックのデータが直流分およ
び交流分の両方を含むので、再生画像の画質を良好とで
きる。さらに、この発明は、直流分の位置を示すポイン
タをシンクブロック毎に付加しているので、可変長コー
ドの区切りの検出が誤っても、ポインタを用いてリフレ
ッシュすることができ、エラーの伝搬を最小限に抑える
ことができる。
According to the present invention, since one block of coefficient data and the corresponding code are collectively arranged in the sync block, the framing circuit and processing are simple, and the required memory capacity is reduced. it can. Further, at the time of variable speed reproduction, since the reproduced sync block data includes both the direct current component and the alternating current component, the quality of the reproduced image can be improved. Further, according to the present invention, since the pointer indicating the position of the direct current component is added to each sync block, even if the detection of the delimiter of the variable length code is incorrect, the pointer can be used for refreshing and error propagation can be prevented. Can be kept to a minimum.

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

【図1】この発明の一実施例におけるフレーム化のため
の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration for framing in an embodiment of the present invention.

【図2】DCTで発生した係数データの説明のための略
線図である。
FIG. 2 is a schematic diagram for explaining coefficient data generated by DCT.

【図3】伝送データのシンクブロックの配列、付加コー
ドの構成およびエラー訂正符号の説明のための略線図で
ある。
FIG. 3 is a schematic diagram for explaining an arrangement of sync blocks of transmission data, a configuration of additional codes, and an error correction code.

【図4】ポインタ生成の説明のためのタイミングチャー
トである。
FIG. 4 is a timing chart for explaining pointer generation.

【図5】ポインタの説明のための略線図である。FIG. 5 is a schematic diagram for explaining a pointer.

【図6】ポインタ生成回路の一例のブロック図である。FIG. 6 is a block diagram of an example of a pointer generation circuit.

【図7】ポインタ生成回路の動作説明のためのタイミン
グチャートである。
FIG. 7 is a timing chart for explaining the operation of the pointer generation circuit.

【図8】従来のデータ配列の一例の略線図である。FIG. 8 is a schematic diagram of an example of a conventional data array.

【図9】従来のフレーム化回路のブロック図である。FIG. 9 is a block diagram of a conventional framing circuit.

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

1 量子化回路 2 発生データ量の見積り器 5 可変長符号化回路 7 パッキング回路 1 Quantization circuit 2 Estimator of generated data amount 5 Variable length coding circuit 7 Packing circuit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 H04N 7/133 Z 4228−5C ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Office reference number FI technical display location H04N 7/133 Z 4228-5C

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 入力ディジタル画像信号をDCTによっ
て圧縮符号化し、上記符号化されたディジタル画像信号
を伝送するようにしたディジタル画像信号の伝送装置に
おいて、 上記符号化によって生じた係数データを直流分、交流分
の低次のものから高次のものに向かう順序で、ビット方
向および所定のビット幅方向に順次詰め込み、また、一
定量のデータ毎にシンクブロック同期信号を付加するた
めの手段と、 上記シンクブロック同期信号が付加された上記所定のビ
ット幅のデータを伝送するための手段とからなることを
特徴とするディジタル画像信号の伝送装置。
1. A digital image signal transmitting apparatus, wherein an input digital image signal is compression-encoded by DCT and the encoded digital image signal is transmitted, wherein coefficient data generated by the encoding is DC component, Means for sequentially packing in the bit direction and in the predetermined bit width direction in the order from the low order to the high order of the alternating current component, and adding a sync block synchronization signal for each fixed amount of data, And a means for transmitting the data of the predetermined bit width to which a sync block synchronizing signal is added.
【請求項2】 入力ディジタル画像信号をDCTによっ
て圧縮符号化し、上記符号化されたディジタル画像信号
を伝送するようにしたディジタル画像信号の伝送装置に
おいて、 上記符号化によって生じた係数データを直流分、交流分
の低次のものから高次のものに向かう順序で、ビット方
向および所定のビット幅方向に順次詰め込み、また、上
記直流分の係数データのそのシンクブロック内のバイト
位置およびビット位置を示すポインタを付加し、さら
に、一定量のデータ毎にシンクブロック同期信号を付加
するための手段と、 上記シンクブロック同期信号が付加された上記所定のビ
ット幅のデータを伝送するための手段とからなることを
特徴とするディジタル画像信号の伝送装置。
2. A digital image signal transmitting apparatus, wherein an input digital image signal is compression-encoded by DCT and the encoded digital image signal is transmitted, wherein coefficient data generated by the encoding is DC component, In the order from the low-order AC component to the high-order component, the bits are sequentially packed in the bit direction and the predetermined bit width direction, and the byte position and the bit position in the sync block of the DC component coefficient data are indicated. A means for adding a pointer and further for adding a sync block sync signal for each fixed amount of data, and a means for transmitting the data of the predetermined bit width to which the sync block sync signal is added A digital image signal transmission device characterized by the above.
JP35782791A 1991-12-25 1991-12-25 Digital image signal recording device Expired - Fee Related JP3353317B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35782791A JP3353317B2 (en) 1991-12-25 1991-12-25 Digital image signal recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35782791A JP3353317B2 (en) 1991-12-25 1991-12-25 Digital image signal recording device

Publications (2)

Publication Number Publication Date
JPH05176178A true JPH05176178A (en) 1993-07-13
JP3353317B2 JP3353317B2 (en) 2002-12-03

Family

ID=18456131

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35782791A Expired - Fee Related JP3353317B2 (en) 1991-12-25 1991-12-25 Digital image signal recording device

Country Status (1)

Country Link
JP (1) JP3353317B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999044291A1 (en) * 1998-02-26 1999-09-02 Sony Corporation Coding device and coding method, decoding device and decoding method, program recording medium, and data recording medium
US6026191A (en) * 1995-01-09 2000-02-15 Matsushita Electric Industrial Co., Ltd. Digital coding apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6026191A (en) * 1995-01-09 2000-02-15 Matsushita Electric Industrial Co., Ltd. Digital coding apparatus
WO1999044291A1 (en) * 1998-02-26 1999-09-02 Sony Corporation Coding device and coding method, decoding device and decoding method, program recording medium, and data recording medium
US6661923B1 (en) 1998-02-26 2003-12-09 Sony Corporation Coding device, coding method, decoding device, decoding method, program recording medium and data recording medium

Also Published As

Publication number Publication date
JP3353317B2 (en) 2002-12-03

Similar Documents

Publication Publication Date Title
JP3134424B2 (en) Variable length encoding method and apparatus
JPH05284487A (en) Transmitting device and framing method for digital image signal
JPH0983951A (en) Picture coding, recording and reproducing device
EP0553650B1 (en) Apparatus and methods for transmitting compressed digital image signals
US5995171A (en) Coding and/or decoding apparatus for decoding variable-length coded image information
JP3385623B2 (en) Transmission equipment for digital information signals
JPH06284374A (en) Moving image signal recording device and moving image signal reproducing device
EP0551672A2 (en) Method of and system for transmitting and receiving digitally encoded video images
EP0541029B1 (en) Methods and apparatus for encoding a digital video signal
JPH05344162A (en) Data transmitter
JP2002142192A (en) Apparatus and method for signal processing and for recording
JPH0324887A (en) Encoder for digital image signal
JPH05176178A (en) Transmitter for digital picture signal
US6839385B1 (en) Signal processing apparatus
JP3158603B2 (en) Digital image signal transmission equipment
JP2720717B2 (en) Video signal processing device
JP3216277B2 (en) High-efficiency coding device and decoding device
JP3458398B2 (en) Digital image signal transmission equipment
JP3458388B2 (en) Digital image signal transmission equipment
JP3496885B2 (en) Digital video signal recording device
JP3320125B2 (en) Image decoding device
JPH07322204A (en) Image coding recording and reproducing device
JP2001169243A (en) Recorder and recording method, and reproducing device and reproducing method
JPH06113258A (en) Frame processing unit in digital video signal recorder
JPH0795525A (en) Digital signal recorder

Legal Events

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

Free format text: PAYMENT UNTIL: 20080927

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090927

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees