JP2650590B2 - Recording device - Google Patents

Recording device

Info

Publication number
JP2650590B2
JP2650590B2 JP31306992A JP31306992A JP2650590B2 JP 2650590 B2 JP2650590 B2 JP 2650590B2 JP 31306992 A JP31306992 A JP 31306992A JP 31306992 A JP31306992 A JP 31306992A JP 2650590 B2 JP2650590 B2 JP 2650590B2
Authority
JP
Japan
Prior art keywords
data
recording
macroblock
important data
block
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP31306992A
Other languages
Japanese (ja)
Other versions
JPH06165110A (en
Inventor
達郎 重里
正一 西野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP31306992A priority Critical patent/JP2650590B2/en
Priority to KR1019930024829A priority patent/KR0134166B1/en
Priority to EP93118792A priority patent/EP0599257B1/en
Priority to DE69330157T priority patent/DE69330157T2/en
Publication of JPH06165110A publication Critical patent/JPH06165110A/en
Priority to US08/483,570 priority patent/US5585931A/en
Application granted granted Critical
Publication of JP2650590B2 publication Critical patent/JP2650590B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、映像信号を高能率符号
化して記録または伝送する際に用いる記録装置に関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a recording apparatus used for recording or transmitting a video signal with high efficiency encoding.

【0002】[0002]

【従来の技術】映像信号のデータ量を削減する方法とし
て高能率符号化を用いる方法が知られている。高能率符
号化とは映像信号の持つ冗長を除去してデータ量を削減
する符号化方法である。
2. Description of the Related Art As a method for reducing the data amount of a video signal, a method using high efficiency coding is known. High-efficiency coding is a coding method that removes the redundancy of a video signal to reduce the amount of data.

【0003】高能率符号化方法としては、隣接する画素
を集めてブロックを構成し、ブロック毎に直交変換等を
用いて圧縮する方法がよく用いられる。この直交変換を
実行するブロックを直交変換ブロックと呼ぶ。このよう
に直交変換されたデータは圧縮効率を向上させるために
通常可変長符号化を用いて直交変換ブロック毎に符号化
して記録または伝送されていた。
As a high-efficiency encoding method, a method is often used in which adjacent pixels are collected to form a block, and each block is compressed using an orthogonal transform or the like. A block that performs this orthogonal transformation is called an orthogonal transformation block. In order to improve the compression efficiency, the orthogonally transformed data is usually coded for each orthogonal transform block using variable length coding and recorded or transmitted.

【0004】[0004]

【発明が解決しようとする課題】しかしながら上記のよ
うな構成では可変長符号化を用いるため、記録再生時に
誤りが発生した場合に可変長符号を復号できなくなり、
再生不可能になる問題が有った。これに対して、一定の
記録データ期間毎にその辺りのデータがどの直交変換ブ
ロックに関するデータであるかを示すアドレス情報を記
録する方法が提案されている。この方法によって、伝送
路誤りによって可変長符号の符号同期が外れても、アド
レス情報を用いて符号同期や、直交変換ブロック同期を
復帰することが可能になる。
However, since the above configuration uses variable length coding, if an error occurs during recording and reproduction, the variable length code cannot be decoded.
There was a problem that could not be reproduced. On the other hand, there has been proposed a method of recording address information indicating which orthogonal transformation block the data around the data is for every predetermined recording data period. According to this method, even if the code synchronization of the variable length code is lost due to a transmission path error, the code synchronization and the orthogonal transform block synchronization can be restored using the address information.

【0005】しかしながらアドレス情報を記録するため
に、映像情報と関係の無いデータを記録しなければなら
ないため、高能率符号化の圧縮効率を劣化させてしまう
ことになる。またVTR等で高速再生を実行するために
は、記録されたデータの位置と画面上のデータの位置が
1対1に対応していることが望ましいが、可変長符号化
を用いているために、記録位置と画面上の位置との関係
が不定になる。このため高速再生時の画質を大きく劣化
させてしまう。
However, in order to record the address information, it is necessary to record data that is not related to the video information, so that the compression efficiency of the high-efficiency coding is deteriorated. Further, in order to execute high-speed reproduction with a VTR or the like, it is desirable that the position of recorded data and the position of data on the screen have a one-to-one correspondence, but since variable-length coding is used, , The relationship between the recording position and the position on the screen becomes undefined. For this reason, the image quality during high-speed reproduction is greatly deteriorated.

【0006】本発明はこのような従来の可変長符号化を
用いた記録装置の課題を解決することを目的とする。
An object of the present invention is to solve the problem of such a conventional recording apparatus using variable-length coding.

【0007】[0007]

【課題を解決するための手段】本発明は、入力される映
像信号の隣接する複数個の画素を集めて直交変換ブロッ
クを構成して直交変換を行う直交変換手段と、前記直交
変換された映像信号を直交変換ブロック毎に可変長符号
化する可変長符号化手段とを有し、ある特定個数の前記
直交変換ブロックを集めてマクロブロックを構成してマ
クロブロック毎に特定のフォーマットに基づいて記録す
る記録装置であって、各マクロブロックを記録するため
の特定の長さのマクロブロック記録領域を確保し、前記
マクロブロック内に含まれる複数個の直交変換ブロック
に対して、それぞれの直交変換ブロックが特定の長さの
直交変換ブロック記録領域を確保するように前記マクロ
ブロック記録領域を分割し、前記直交変換ブロック毎
に、その直交変換ブロックに対する符号語を視覚上重要
な符号語の順に、その直交変換ブロックに対する前記直
交変換ブロック記録領域に、その直交変換ブロック記録
領域が満たされるまで記録する重要データ記録手段と、
あるマクロブロックに対して、そのマクロブロック記録
領域内の全ての直交変換ブロック記録領域に前記重要デ
ータ記録手段で重要データが記録された際に、前記重要
データ記録手段で前記直交変換ブロック記録領域に記録
できなかった直交変換ブロックのデータを非重要データ
とし、前記非重要データをマクロブロック内で視覚上重
要な直交変換ブロックに属する非重要データの順に直交
変換ブロック毎に並べて前記マクロブロック単位の非重
要データを生成するマクロブロック非重要データ生成手
段と、前記マクロブロック非重要データ生成手段で生成
されたマクロブロック単位の非重要データを、そのマク
ロブロック記録領域で前記重要データ記録手段で重要デ
ータが記録された際に、重要データが記録されずに残っ
た領域に対して、前記マクロブロック単位の非重要デー
タの先頭から順に前記残った領域が満たされるまで記録
するマクロブロック内非重要データ記録手段と、全ての
マクロブロックに対して前記重要データ記録手段および
前記マクロブロック内非重要データ記録手段で各マクロ
ブロック内のデータをそのマクロブロック記録領域に記
録した際に、前記重要データ記録手段および前記マクロ
ブロック内非重要データ記録手段でまだ記録できていな
いマクロブロックのデータをそのマクロブロックに対す
る残留データとし、複数個のマクロブロックの残留デー
タをマクロブロックの順に集めて複数マクロブロックの
残留データを生成する残留データ生成手段と、前記残留
データ生成手段で生成された残留データを、前記重要デ
ータ記録手段および前記マクロブロック内非重要データ
記録手段で重要データおよびマクロブロック内非重要デ
ータが記録された際に残った領域に対して記録する残留
データ記録手段とを備えることを特徴とする。
SUMMARY OF THE INVENTION The present invention is directed to orthogonal transform means for collecting a plurality of adjacent pixels of an input video signal to form an orthogonal transform block and performing orthogonal transform, and the orthogonal transformed image. A variable-length coding unit for performing variable-length coding on a signal for each orthogonal transform block, collecting a certain number of the orthogonal transform blocks to form a macroblock, and recording each macroblock based on a specific format. A recording device that secures a macroblock recording area of a specific length for recording each macroblock, and for each of a plurality of orthogonal transform blocks included in the macroblock, each orthogonal transform block. Divides the macroblock recording area so as to secure an orthogonal transformation block recording area of a specific length, and for each of the orthogonal transformation blocks, The code words in order of visually important code word for click, the orthogonal transform block recording area for the orthogonal transform block, and critical data recording means for recording to the orthogonal transform block recording area that is filled,
When important data is recorded in the important data recording unit in all the orthogonal transformation block recording areas in the macroblock recording area for a certain macroblock, the important data recording unit records the orthogonal transformation block recording area. The data of the orthogonal transform block that could not be recorded is regarded as non-important data, and the non-important data is arranged for each orthogonal transform block in the macroblock in the order of the non-important data belonging to the visually important orthogonal transform block. Macroblock non-important data generating means for generating important data; and non-important data in macroblock units generated by the macroblock non-important data generating means. When the data was recorded, the important data was recorded A non-important data recording unit in the macro block for recording until the remaining area is filled in order from the beginning of the non-important data in the macro block unit; and the important data recording unit and the non-intra macro data for all the macro blocks. When the data in each macroblock is recorded in the macroblock recording area by the important data recording means, the data of the macroblock that has not yet been recorded by the important data recording means and the non-important data recording means in the macroblock is stored in the important data recording means. Residual data for macroblocks, residual data generating means for collecting residual data of a plurality of macroblocks in the order of macroblocks to generate residual data of a plurality of macroblocks, and residual data generated by the residual data generating means, The important data recording means and the macro block Characterized in that it comprises a residual data recording means for critical data and macroblock in a non-critical data using the clock in the non-critical data recording means for recording on the remaining area when recorded.

【0008】[0008]

【作用】上記のような構成により本発明の記録装置で
は、各マクロブロックおよびそれに含まれる直交変換ブ
ロックの重要データが固定の決められた位置(マクロブ
ロック記録領域および直交変換ブロック記録領域)に記
録されるため、伝送路で誤りが発生しても各直交変換ブ
ロックの重要データはその誤りとは独立に再生可能にな
る。
According to the recording apparatus of the present invention, the important data of each macroblock and the orthogonal transform block included therein are recorded at fixed and fixed positions (macroblock recording area and orthogonal transform block recording area). Therefore, even if an error occurs in the transmission path, important data of each orthogonal transform block can be reproduced independently of the error.

【0009】また、それぞれの直交変換ブロック記録領
域に記録できなかった非重要データもそのうち重要な直
交変換ブロックに関するデータは同一マクロブロック記
録領域内に記録できる。このため、伝送路誤りの発生し
ていないマクロブロック記録領域では、そのマクロブロ
ックに含まれる非重要データのうち重要な直交変換ブロ
ックに含まれるデータは再生可能となる。
[0009] In addition, insignificant data which could not be recorded in each orthogonal transform block recording area, data relating to an important orthogonal transform block among them can be recorded in the same macroblock recording area. Therefore, in a macroblock recording area where no transmission path error has occurred, data included in an important orthogonal transform block among non-important data included in the macroblock can be reproduced.

【0010】[0010]

【実施例】以下に本発明を実施例を用いて説明する。こ
こでは525/60方式で伝送されるTV信号に本発明
を適用した例を用いて説明する。本実施例では1フレー
ム毎に独立に映像信号を高能率符号化して記録するもの
とし、1フレームの輝度信号が水平720画素、垂直4
80ラインで構成されているものとする。また、直交変
換ブロックを水平8画素、垂直8ラインの64画素から
なるデータで構成する。これによって、1フレーム当た
りの輝度信号の直交変換ブロック数は5400個にな
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to embodiments. Here, an example in which the present invention is applied to a TV signal transmitted by the 525/60 system will be described. In this embodiment, the video signal is independently encoded and recorded for each frame with high efficiency, and the luminance signal of one frame is composed of 720 horizontal pixels and 4 vertical pixels.
It is assumed that it is composed of 80 lines. Further, the orthogonal transformation block is constituted by data composed of 64 pixels of 8 horizontal pixels and 8 vertical lines. As a result, the number of orthogonal transform blocks of the luminance signal per frame becomes 5,400.

【0011】次に2つの色差信号(R−Y信号とB−Y
信号)は、それぞれ隣接する4個の輝度信号の直交変換
ブロックと画面上で同じ面積に含まれる画素で、1直交
変換ブロックを構成する。また、画面上で同じ位置にあ
る4つの輝度信号の直交変換ブロックと、1つのR−Y
信号ブロックおよび1つのB−Y信号ブロックの合計6
個の直交変換ブロックを合わせて1マクロブロックと呼
ぶ。このため1フレームは1350マクロブロックで構
成される。
Next, two color difference signals (RY signal and BY signal)
A signal) includes pixels included in the same area on the screen as the orthogonal transform block of four adjacent luminance signals, and constitutes one orthogonal transform block. Also, an orthogonal transform block of four luminance signals at the same position on the screen and one RY
A total of 6 signal blocks and one BY signal block
The orthogonal transform blocks are collectively referred to as one macroblock. Therefore, one frame is composed of 1350 macroblocks.

【0012】図1は本発明の一実施例のブロック図であ
る。図1において、1は入力部、2は直交変換部、3は
可変長符号化部、4は分類部、5は重要データ記録部、
6は非重要データメモリ部、7は非重要データ記録部、
8は出力部である。
FIG. 1 is a block diagram of one embodiment of the present invention. In FIG. 1, 1 is an input unit, 2 is an orthogonal transform unit, 3 is a variable length coding unit, 4 is a classification unit, 5 is an important data recording unit,
6 is an insignificant data memory unit, 7 is an insignificant data recording unit,
8 is an output unit.

【0013】入力部1からマクロブロック単位で入力さ
れる映像データは、直交変換部2でそのマクロブロック
に含まれる直交変換ブロック毎に直交変換される。直交
変換としては、通常離散コサイン変換(DCT)が用い
られるが、ウエーブレット等その他の方式も適用可能で
ある。
Video data input from the input unit 1 in units of macroblocks is subjected to orthogonal transformation by the orthogonal transformation unit 2 for each orthogonal transformation block included in the macroblock. Normally, a discrete cosine transform (DCT) is used as the orthogonal transform, but other methods such as a wavelet are also applicable.

【0014】直交変換ブロック部2で直交変換されたデ
ータは、可変長符号化部3で各直交変換ブロック毎に可
変長符号化される。これによって直交変換ブロック毎に
異なるデータ量に変換されることになる。
The data orthogonally transformed by the orthogonal transformation block unit 2 is subjected to variable length encoding by the variable length encoding unit 3 for each orthogonal transformation block. As a result, data is converted into a different data amount for each orthogonal transform block.

【0015】直交変換されたデータは特定の記録フォー
マットに基づいて記録されるが、図2に本実施例のマク
ロブロックに対する記録フォーマットを示す。図2では
1つのマクロブロックに対してマクロブロック記録領域
を75バイト割当てている。また輝度信号の直交変換ブ
ロック(図2のY0,Y1,Y2,Y3)に対しては各15バイ
ト、色差信号の直交変換ブロック(図2のR-Y,B-Y)に
対しては各7バイトの直交変換ブロック記録領域を割り
当てている。
The orthogonally transformed data is recorded based on a specific recording format. FIG. 2 shows a recording format for a macro block according to the present embodiment. In FIG. 2, 75 bytes of a macroblock recording area are allocated to one macroblock. The orthogonal transform block of luminance signal (Y0, Y1, Y2, Y3 in FIG. 2) has 15 bytes each, and the orthogonal transform block of chrominance signal (RY, BY in FIG. 2) has 7 bytes each. A conversion block recording area is allocated.

【0016】図2の例では全てのマクロブロック記録領
域が、そのマクロブロックに含まれる直交変換ブロック
記録領域に分割されているが、マクロブロック記録領域
の中に直交変換ブロック記録領域に属さない領域を確保
することも可能である。
In the example shown in FIG. 2, all the macroblock recording areas are divided into orthogonal transformation block recording areas included in the macroblock, but the macroblock recording areas do not belong to the orthogonal transformation block recording area. It is also possible to secure

【0017】本実施例では図2のようなマクロブロック
記録領域が1フレーム当たり1350個存在することに
なる。このようにマクロブロックおよび直交変換ブロッ
クが固定の記録位置に記録されることによって、伝送路
誤りの影響が小さく、高速再生にも適した記録が可能に
なる。
In this embodiment, there are 1350 macroblock recording areas per frame as shown in FIG. By recording the macro block and the orthogonal transform block at the fixed recording positions in this manner, the effects of transmission path errors are small, and recording suitable for high-speed reproduction can be performed.

【0018】さて、図1の可変長符号化部3で可変長符
号化された直交変換ブロックのデータは、分類部4で重
要データと非重要データに分離される。ここでまず重要
データと非重要データについて説明する。
The data of the orthogonal transform block, which has been variable-length coded by the variable-length coding unit 3 in FIG. 1, is separated by the classification unit 4 into important data and non-important data. Here, important data and insignificant data will be described first.

【0019】各直交変換ブロック内でその直交変換ブロ
ックの復号に必要な補助データがまず重要データとな
る。その他の重要データとしては、前記補助データのデ
ータ量に、最も低域を表す符号語から順次符号長を加算
し、図2の直交変換ブロック記録領域に記録可能なデー
タ量分までの符号語データも重要データとする。また最
後の符号語の途中で記録可能なデータ量が満たされた場
合には、その符号語の途中までが重要データとなる(符
号語毎に重要データを定義することも可能ではある)。
逆に重要データに定義されなかった符号語データ(直交
変換ブロック記録領域に記録できない比較的高域を表す
データ)を非重要データとする。
In each orthogonal transform block, auxiliary data necessary for decoding the orthogonal transform block first becomes important data. As other important data, the code amount representing the lowest frequency is sequentially added to the data amount of the auxiliary data, and the code word data up to the data amount recordable in the orthogonal transformation block recording area in FIG. Is also important data. If the amount of recordable data is satisfied in the middle of the last code word, the data up to the middle of the code word is important data (important data can be defined for each code word).
Conversely, codeword data that is not defined as important data (data representing a relatively high frequency that cannot be recorded in the orthogonal transformation block recording area) is regarded as non-important data.

【0020】視覚上低域を表す成分の歪は検知され易い
が、高域成分の歪は検知されにくい。このため上記の方
法で重要データと非重要データに分類することにより、
重要データのみで再生した場合にも画質劣化を小さくす
ることが可能になる。また図2の例では、輝度信号に対
する直交変換ブロック記録領域が色差信号に対する直交
変換ブロック記録領域よりも大きい。これによって視覚
上重要な輝度信号の重要データを多くすることが可能に
なり、重要データだけで再生した場合の画質劣化をさら
に小さくできる。
Although the distortion of the component representing the low frequency band is easily detected visually, the distortion of the high frequency component is hardly detected. Therefore, by classifying important data and insignificant data using the method described above,
Even when only important data is reproduced, it is possible to reduce image quality deterioration. In the example of FIG. 2, the orthogonal transformation block recording area for the luminance signal is larger than the orthogonal transformation block recording area for the chrominance signal. As a result, it becomes possible to increase the amount of important data of a visually important luminance signal, and it is possible to further reduce the deterioration in image quality when only important data is reproduced.

【0021】上記のようにして図1の分類部4で分類さ
れた重要データは、重要データ記録部5で図2の記録フ
ォーマットに従って、各直交変換ブロック毎に直交変換
ブロック記録領域の前から順に記録される。また非重要
データは非重要データメモリ部6で重要データが記録さ
れるまで待避させられる。非重要データメモリ部6に集
められた非重要データは非重要データ記録部7で、マク
ロブロック記録領域で重要データ記録部5で記録されず
に余った領域に記録される。ただし、可変長符号化され
ているために、後述するように非重要データは必ずしも
同一マクロブロック記録領域に記録されない。このよう
にして非重要データが記録された後、出力部8にマクロ
ブロック記録領域毎に出力される。
The important data classified by the classifying unit 4 in FIG. 1 as described above is sequentially recorded in the important data recording unit 5 for each orthogonal transform block from the front of the orthogonal transform block recording area in accordance with the recording format of FIG. Be recorded. Unimportant data is saved until the important data is recorded in the non-important data memory unit 6. The insignificant data collected in the insignificant data memory unit 6 is recorded in the insignificant data recording unit 7 in the macroblock recording area, which is not recorded in the important data recording unit 5 but remains. However, since the data is variable-length coded, insignificant data is not always recorded in the same macroblock recording area as described later. After the insignificant data is recorded in this way, it is output to the output unit 8 for each macroblock recording area.

【0022】次に、図3を用いて非重要データの記録方
法について説明する。まず図3(a)は、図1の重要デ
ータ記録部5で重要データが記録されたマクロブロック
記録領域の状態を示している。図3(a)では、Y1およ
びY3の直交変換ブロックのデータ量が少ないため、全て
のデータを直交変換ブロック記録領域に記録してもまだ
空き領域が発生している。これに対してY0,Y2,R-Yおよ
びB-Yの直交変換ブロックのデータ量は、それぞれ直交
変換ブロック記録領域より大きいため記録できないデー
タが発生する。これら記録できないデータが上記の非重
要データである。
Next, a method of recording insignificant data will be described with reference to FIG. First, FIG. 3A shows a state of a macro block recording area in which important data is recorded by the important data recording unit 5 in FIG. In FIG. 3A, since the data amount of the orthogonal transform blocks Y1 and Y3 is small, even if all data is recorded in the orthogonal transform block recording area, an empty area still occurs. On the other hand, since the data amount of the orthogonal transformation blocks Y0, Y2, RY, and BY is larger than the orthogonal transformation block recording area, data that cannot be recorded occurs. These unrecordable data are the above-mentioned insignificant data.

【0023】図3(b)は図1の非重要データメモリ6
に記録される図3(a)のマクロブロックに対する非重
要データを示している。図3(b)に示すように、本実
施例では非重要データはマクロブロック記録領域内で前
にある直交変換ブロックに対する非重要データから順に
並べられている。図2のマクロブロック記録領域のフォ
ーマットのように本実施例では、視覚上最も重要な輝度
信号を前に配置し、次に重要なR-Y信号を輝度信号の次
に配置し、最も重要でないB-Y信号を最後に配置してい
る。このため、図3(b)のようにマクロブロックに対
する非重要データは、視覚上重要な直交変換ブロックの
順に並べられていることになる。
FIG. 3B shows the insignificant data memory 6 of FIG.
3A shows insignificant data for the macroblock shown in FIG. As shown in FIG. 3B, in the present embodiment, the insignificant data is arranged in order from the insignificant data for the preceding orthogonal transform block in the macroblock recording area. In the present embodiment, as in the format of the macroblock recording area in FIG. 2, the most visually important luminance signal is placed before the most important RY signal, and the least important BY signal is placed next to the luminance signal. Is placed last. For this reason, as shown in FIG. 3B, the non-important data for the macroblock is arranged in the order of visually important orthogonal transform blocks.

【0024】図3(c)は図1の非重要データ記録部7
によって同一マクロブロックうちの非重要データが記録
された結果を示している。ここでは図3(a)のY1およ
びY3の直交変換ブロック記録領域の空き領域に対して、
図3(b)で得られたこのマクロブロックに対する非重
要データを先頭から記録する。図3(c)ではY0および
Y1に対する非重要データの全てとR-Yに対する非重要デ
ータの一部が記録されることになる。従って、伝送路誤
りや高速再生等でこのマクロブロック記録領域内のデー
タのみで再生する際には、このマクロブロックに含まれ
る輝度信号の全データと色差信号の重要データを再生す
ることが可能になる。つまり、視覚上重要なほとんどの
データがこのマクロブロック記録領域のみから再生可能
になる。このように、マクロブロックに対する非重要デ
ータをより重要な直交変換ブロックの順に並べることに
よって(図2のフォーマットで輝度信号、R-Y信号、B-Y
信号の順に並べることによって)伝送路誤りの影響を低
減し、高速再生画質を改善することが可能になる。
FIG. 3C shows the non-important data recording section 7 shown in FIG.
Indicates the result of recording insignificant data of the same macroblock. Here, the free area of the orthogonal transformation block recording area of Y1 and Y3 in FIG.
The insignificant data for this macroblock obtained in FIG. 3B is recorded from the beginning. In FIG. 3C, Y0 and
All the unimportant data for Y1 and a part of the unimportant data for RY will be recorded. Therefore, when reproducing only the data in the macroblock recording area due to a transmission path error or high-speed reproduction, it is possible to reproduce all the data of the luminance signal and the important data of the color difference signal included in the macroblock. Become. That is, most visually important data can be reproduced only from this macroblock recording area. In this way, by arranging the insignificant data for the macroblock in the order of the more important orthogonal transform blocks (the luminance signal, the RY signal,
By arranging the signals in order, it is possible to reduce the effects of transmission path errors and to improve the high-speed reproduction image quality.

【0025】図3(d)は図3(c)で同一マクロブロ
ックに対する非重要データを記録した後でまだ記録され
ていないデータ(以後、残留データと呼ぶ)の記録方法
の説明図である。図3(a)のマクロブロックに対する
残留データは図3(d)に示すようにR-YとB-Yの非重要
データである。この残留データと他のマクロブロックの
残留データとを合わせて複数マクロブロックに対する残
留データが構成される。図3(d)のMn-1が現マクロ
ブロックより前のマクロブロックに対する残留データを
示し、Mn+1が現マクロブロックより後のマクロブロッ
クに対する残留データを示している(現マクロブロック
の残留データはMnとなる)。
FIG. 3D is an explanatory diagram of a method of recording data that has not been recorded yet after recording insignificant data for the same macroblock in FIG. 3C (hereinafter referred to as residual data). The residual data for the macroblock in FIG. 3A is the insignificant data of RY and BY as shown in FIG. The residual data and the residual data of other macroblocks are combined to form residual data for a plurality of macroblocks. In FIG. 3D, M n-1 indicates the residual data for the macro block before the current macro block, and M n + 1 indicates the residual data for the macro block after the current macro block (the current macro block). The residual data is Mn ).

【0026】図3(d)のような複数マクロブロック分
の残留データは、同一マクロブロック内の非重要データ
を全て記録後、まだ空き領域が存在するマクロブロック
記録領域に記録される。従って、残留データは同一マク
ロブロックに記録されないため、伝送路誤り発生時や高
速再生時には再生できない可能性がある。また、残留デ
ータの記録も図1の非重要データ記録部7で実行され
る。
The residual data for a plurality of macroblocks as shown in FIG. 3D is recorded in a macroblock recording area in which a vacant area still exists after all the insignificant data in the same macroblock are recorded. Therefore, since the residual data is not recorded in the same macroblock, there is a possibility that the data cannot be reproduced when a transmission path error occurs or during high-speed reproduction. The recording of the residual data is also executed by the non-critical data recording unit 7 in FIG.

【0027】以上のように、実施例を用いて本発明の記
録装置を説明した。上記のように本発明を用いることに
よって、伝送路誤りの影響を低減し、高速再生画質の改
善が実現できる。
As described above, the recording apparatus of the present invention has been described using the embodiment. By using the present invention as described above, the effect of transmission path errors can be reduced, and improvement in high-speed reproduction image quality can be realized.

【0028】本実施例では特定の映像信号に対する記録
フォーマットを示したが、本発明はこれ以外の任意の映
像信号、記録フォーマットに適用可能である。また実施
例では輝度信号と色差信号で構成された映像信号につい
て説明しているが、コンポジット信号、RGB信号、そ
の他の画像信号や音声信号にも適用可能である。
In this embodiment, the recording format for a specific video signal is shown, but the present invention is applicable to any other video signal and recording format. Further, in the embodiment, a video signal composed of a luminance signal and a color difference signal has been described, but the present invention is also applicable to a composite signal, an RGB signal, and other image signals and audio signals.

【0029】また、本発明を実現する構成は図1の実施
例以外にも様々な構成が可能であり、計算機上でソフト
ウエアで実現することも可能である。
The configuration for realizing the present invention can be various configurations other than the embodiment of FIG. 1, and can be realized by software on a computer.

【0030】[0030]

【発明の効果】以上のように、本発明の記録装置は、各
マクロブロックおよびそれに含まれる直交変換ブロック
の重要データが固定の決められた位置(マクロブロック
記録領域および直交変換ブロック記録領域)に記録され
るため、伝送路で誤りが発生しても各直交変換ブロック
の重要データはその誤りとは独立に再生可能になる。
As described above, according to the recording apparatus of the present invention, the important data of each macroblock and the orthogonal transformation block included therein are fixed at fixed positions (the macroblock recording area and the orthogonal transformation block recording area). Since the data is recorded, even if an error occurs in the transmission path, the important data of each orthogonal transform block can be reproduced independently of the error.

【0031】また、それぞれの直交変換ブロック記録領
域に記録できなかった非重要データも、そのうち重要な
直交変換ブロックに関するデータは同一マクロブロック
記録領域内に記録できるため、伝送路誤りの発生してい
ないマクロブロック記録領域では、そのマクロブロック
に含まれる非重要データのうち重要な直交変換ブロック
に含まれるデータは再生可能となる。例えば、記録フォ
ーマット上でマクロブロック内の輝度信号を色差信号に
対して優先して記録すること(輝度信号に対する直交変
換ブロック記録領域を大きくし、しかもマクロブロック
記録領域の前の方に記録する)によって、マクロブロッ
ク内のデータしか利用できない場合でも画質劣化を色差
信号の高域成分だけに集中できる。これによって、実質
的な画質劣化を最小に抑えることが可能になる。
In addition, even for insignificant data that could not be recorded in each orthogonal transform block recording area, data relating to an important orthogonal transform block can be recorded in the same macroblock recording area, so that no transmission path error has occurred. In the macroblock recording area, data included in an important orthogonal transform block among non-important data included in the macroblock can be reproduced. For example, recording a luminance signal in a macroblock in preference to a chrominance signal on a recording format (enlarge an orthogonal transformation block recording area for a luminance signal and record it in the front of the macroblock recording area). Accordingly, even when only the data in the macroblock can be used, the image quality degradation can be concentrated only on the high frequency component of the color difference signal. This makes it possible to minimize substantial image quality degradation.

【0032】本発明は比較的簡単な構成によって、可変
長符号化を用いた高能率符号化装置の欠点を解決できる
ためその実用的効果は非常に大きい。
The present invention can solve the disadvantages of the high-efficiency coding apparatus using variable-length coding with a relatively simple configuration, so that its practical effect is very large.

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

【図1】本発明の記録装置の一実施例のブロック図FIG. 1 is a block diagram of a recording apparatus according to an embodiment of the present invention.

【図2】本発明の記録装置の一実施例のマクロブロック
記録領域および直交変換ブロック記録領域の説明図
FIG. 2 is an explanatory diagram of a macro block recording area and an orthogonal transform block recording area of an embodiment of the recording apparatus of the present invention.

【図3】本発明の記録装置の一実施例の非重要データの
記録方法の説明図
FIG. 3 is a diagram illustrating a method for recording insignificant data according to an embodiment of the recording apparatus of the present invention.

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

2 直交変換部 3 可変長符号化部 4 分類部 5 重要データ記録部 6 非重要データメモリ部 7 非重要データ記録部 2 Orthogonal transformation unit 3 Variable length coding unit 4 Classification unit 5 Important data recording unit 6 Non-important data memory unit 7 Non-important data recording unit

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】入力される映像信号の隣接する複数個の画
素を集めて直交変換ブロックを構成して直交変換を行う
直交変換手段と、前記直交変換された映像信号を直交変
換ブロック毎に可変長符号化する可変長符号化手段とを
有し、ある特定個数の前記直交変換ブロックを集めてマ
クロブロックを構成してマクロブロック毎に特定のフォ
ーマットに基づいて記録する記録装置であって、 各マクロブロックを記録するための特定の長さのマクロ
ブロック記録領域を確保し、前記マクロブロック内に含
まれる複数個の直交変換ブロックに対して、それぞれの
直交変換ブロックが特定の長さの直交変換ブロック記録
領域を確保するように前記マクロブロック記録領域を分
割し、前記直交変換ブロック毎に、その直交変換ブロッ
クに対する符号語を視覚上重要な符号語の順に、その直
交変換ブロックに対する前記直交変換ブロック記録領域
に、その直交変換ブロック記録領域が満たされるまで記
録する重要データ記録手段と、 あるマクロブロックに対して、そのマクロブロック記録
領域内の全ての直交変換ブロック記録領域に前記重要デ
ータ記録手段で重要データが記録された際に、前記重要
データ記録手段で前記直交変換ブロック記録領域に記録
できなかった直交変換ブロックのデータを非重要データ
とし、前記非重要データをマクロブロック内で視覚上重
要な直交変換ブロックに属する非重要データの順に直交
変換ブロック毎に並べて前記マクロブロック単位の非重
要データを生成するマクロブロック非重要データ生成手
段と、 前記マクロブロック非重要データ生成手段で生成された
マクロブロック単位の非重要データを、そのマクロブロ
ック記録領域で前記重要データ記録手段で重要データが
記録された際に、重要データが記録されずに残った領域
に対して、前記マクロブロック単位の非重要データの先
頭から順に前記残った領域が満たされるまで記録するマ
クロブロック内非重要データ記録手段と、 全てのマクロブロックに対して前記重要データ記録手段
および前記マクロブロック内非重要データ記録手段で各
マクロブロック内のデータをそのマクロブロック記録領
域に記録した際に、前記重要データ記録手段および前記
マクロブロック内非重要データ記録手段でまだ記録でき
ていないマクロブロックのデータをそのマクロブロック
に対する残留データとし、複数個のマクロブロックの残
留データをマクロブロックの順に集めて複数マクロブロ
ックの残留データを生成する残留データ生成手段と、 前記残留データ生成手段で生成された残留データを、前
記重要データ記録手段および前記マクロブロック内非重
要データ記録手段で重要データおよびマクロブロック内
非重要データが記録された際に残った領域に対して記録
する残留データ記録手段とを備えることを特徴とする記
録装置。
An orthogonal transformation means for collecting a plurality of adjacent pixels of an input video signal to form an orthogonal transformation block and performing orthogonal transformation, and changing the orthogonally transformed video signal for each orthogonal transformation block. A variable-length encoding means for performing long encoding, a recording apparatus that collects a certain number of the orthogonal transform blocks to form macroblocks and records each macroblock based on a specific format, A macroblock recording area of a specific length for recording a macroblock is secured, and for a plurality of orthogonal transform blocks included in the macroblock, each orthogonal transform block has an orthogonal transform of a specific length. The macroblock recording area is divided so as to secure a block recording area, and for each of the orthogonal transform blocks, a codeword for the orthogonal transform block is visually determined. Important data recording means for recording in the orthogonal transform block recording area for the orthogonal transform block in the order of upper important code words until the orthogonal transform block recording area is filled; When important data is recorded in all the orthogonal transformation block recording areas in the area by the important data recording means, the data of the orthogonal transformation blocks that could not be recorded in the orthogonal transformation block recording area by the important data recording means are unwritten. Macroblock non-significant data generation for generating the non-significant data in macroblock units by arranging the non-significant data in the order of non-significant data belonging to a visually important orthogonal transform block in the macroblock for each orthogonal transform block as important data Means for generating the macroblock insignificant data generating means. When the important data is recorded by the important data recording means in the macro block recording area in the macro block recording area, the non-important data in the macro block A macroblock non-important data recording means for recording until the remaining area is filled in order from the beginning of important data; and an important data recording means and an intra-macroblock non-important data recording means for all macroblocks. When data in a macroblock is recorded in the macroblock recording area, data of a macroblock that has not been recorded by the important data recording means and the non-important data recording means in the macroblock is regarded as residual data for the macroblock. , The residual data of a plurality of macroblocks Data generating means for generating residual data of a plurality of macroblocks; and transmitting the residual data generated by the residual data generating means to important data and macro data by the important data recording means and the non-important data recording means in the macroblock. A recording apparatus comprising: a residual data recording unit that records in an area remaining when non-important data in a block is recorded.
【請求項2】重要データ記録手段は、直交変換ブロック
記録領域に対して直交変換された符号語のうち低周波成
分に対する符号語から順番に記録することを特徴とする
請求項1記載の記録装置。
2. The recording apparatus according to claim 1, wherein the important data recording means records the code words for low-frequency components in code words orthogonally transformed in the orthogonal transformation block recording area in order. .
【請求項3】入力信号が、輝度信号と、赤色を表す信号
と輝度信号との差分信号である第1色差信号と、青色を
表す信号と輝度信号との差分信号である第2色差信号の
3種類の信号で構成されている場合に、マクロブロック
が画面上で同じ面積に含まれる前記3種類の信号に対す
る直交変換ブロックで構成されていることを特徴とする
請求項1記載の記録装置。
3. An input signal comprising: a luminance signal; a first color difference signal which is a difference signal between a signal representing red and the luminance signal; and a second color difference signal which is a difference signal between a signal representing blue and the luminance signal. 2. The recording apparatus according to claim 1, wherein when composed of three types of signals, the macroblock is composed of orthogonal transform blocks for the three types of signals included in the same area on the screen.
【請求項4】マクロブロック内非重要データ記録手段
は、輝度信号に対する直交変換ブロック記録領域が第1
および第2色差信号に対する直交変換ブロック記録領域
よりも大きく、マクロブロック内非重要データを記録す
る際に、輝度信号に対する非重要データ、第1色差信号
に対する非重要データ、第2色差信号に対する非重要デ
ータの順番で記録することを特徴とする請求項3記載の
記録装置。
4. The non-important data recording means in a macro block, wherein the orthogonal transformation block recording area for the luminance signal is the first.
And when the non-important data in the macro block is larger than the orthogonal transform block recording area for the second color difference signal, the non-important data for the luminance signal, the non-important data for the first color difference signal, and the non-important data for the second color difference signal. 4. The recording apparatus according to claim 3, wherein the recording is performed in the order of data.
JP31306992A 1992-11-24 1992-11-24 Recording device Expired - Lifetime JP2650590B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP31306992A JP2650590B2 (en) 1992-11-24 1992-11-24 Recording device
KR1019930024829A KR0134166B1 (en) 1992-11-24 1993-11-20 Video signal recording apparatus and method thereof
EP93118792A EP0599257B1 (en) 1992-11-24 1993-11-23 Video signal recording apparatus and method
DE69330157T DE69330157T2 (en) 1992-11-24 1993-11-23 Device and method for recording video signals
US08/483,570 US5585931A (en) 1992-11-24 1995-06-07 Video signal recording data overflow allocation apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31306992A JP2650590B2 (en) 1992-11-24 1992-11-24 Recording device

Publications (2)

Publication Number Publication Date
JPH06165110A JPH06165110A (en) 1994-06-10
JP2650590B2 true JP2650590B2 (en) 1997-09-03

Family

ID=18036829

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31306992A Expired - Lifetime JP2650590B2 (en) 1992-11-24 1992-11-24 Recording device

Country Status (1)

Country Link
JP (1) JP2650590B2 (en)

Also Published As

Publication number Publication date
JPH06165110A (en) 1994-06-10

Similar Documents

Publication Publication Date Title
KR0134166B1 (en) Video signal recording apparatus and method thereof
JP3298915B2 (en) Encoding device
JPH04326255A (en) Method and device for encoding image
KR100192696B1 (en) Method and apparatus for reproducing picture data
JP3285220B2 (en) Television system for transmitting image signals in digital form
JP3850015B2 (en) Digital video signal recording / reproducing apparatus and transmission apparatus
JP2650590B2 (en) Recording device
JP2827790B2 (en) Video data compression device
JP2650589B2 (en) Recording device
US6219157B1 (en) Image coding apparatus
JPH10322722A (en) Picture signal encoder and picture signal decoder
JPH05153550A (en) Recorder and reproducing device for video signal
EP0772366B1 (en) A digital recording/reproducing apparatus
JPH10200921A (en) Digital data transmission method, data recording and reproducing device and data edit device
JPH0799670A (en) Digital magnetic recording and reproducing device
US6233281B1 (en) Video signal processing apparatus, and video signal processing method
JPH06209462A (en) Recorder
JP3785711B2 (en) Image reproducing apparatus and image reproducing method
JP3186509B2 (en) Image information compression method, image information recording method, image information compression device, image information recording device, image information decompression device, image information reproduction device
JP2985586B2 (en) Recording and playback device
JP3223631B2 (en) Recording device
JP3087563B2 (en) Digital image data transmission equipment
JP2004040662A (en) Digital image signal recording apparatus
JP3741964B2 (en) Video recording method
JPH07123355A (en) Video signal recording and reproducing device and video signal recording and reproducing system

Legal Events

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

Free format text: PAYMENT UNTIL: 20090516

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20100516

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20100516

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20110516

Year of fee payment: 14

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

Free format text: PAYMENT UNTIL: 20120516

Year of fee payment: 15

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

Free format text: PAYMENT UNTIL: 20120516

Year of fee payment: 15

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

Free format text: PAYMENT UNTIL: 20130516

Year of fee payment: 16

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130516

Year of fee payment: 16