[go: up one dir, main page]

JPH05268568A - Band compression processing unit - Google Patents

Band compression processing unit

Info

Publication number
JPH05268568A
JPH05268568A JP9488692A JP9488692A JPH05268568A JP H05268568 A JPH05268568 A JP H05268568A JP 9488692 A JP9488692 A JP 9488692A JP 9488692 A JP9488692 A JP 9488692A JP H05268568 A JPH05268568 A JP H05268568A
Authority
JP
Japan
Prior art keywords
refresh
frame
code amount
signal
code
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
JP9488692A
Other languages
Japanese (ja)
Other versions
JP3152730B2 (en
Inventor
Kazuharu Niimura
一治 新村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority to JP9488692A priority Critical patent/JP3152730B2/en
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to US07/954,037 priority patent/US5450209A/en
Priority to EP92116707A priority patent/EP0536630B1/en
Priority to EP99106820A priority patent/EP0935397B1/en
Priority to EP08153397A priority patent/EP1947864A3/en
Priority to DE69233538T priority patent/DE69233538T2/en
Priority to KR1019920017870A priority patent/KR970007530B1/en
Priority to EP03001127A priority patent/EP1320268A1/en
Priority to DE69230310T priority patent/DE69230310T2/en
Publication of JPH05268568A publication Critical patent/JPH05268568A/en
Application granted granted Critical
Publication of JP3152730B2 publication Critical patent/JP3152730B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Color Television Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE:To easily obtain an excellent reproduced picture at the high speed reproduction by controlling a generated code quantity of a refresh block so that a prescribed maximum code quantity is not exceeded. CONSTITUTION:The arrangement on a track of a refresh block and a non- refresh block is differentiated. Then, e.g. 24 refresh blocks are recorded to one sector. Since one track consists of 10 sectors, 240 refresh blocks are inserted to one track and it is coincident with the number of refresh blocks in one frame of a video signal. A refresh block control circuit 40 generates a code location signal of the refresh block and gives the signal to a code replacement circuit 39, the code replacement circuit 39 rearranges the refresh blocks and the non-refresh blocks based on the inputted video code and the code location signal. An output of the code replacement circuit 39 is fed to an index insertion circuit 41 and its output is fed to heads A, B.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、映像信号等をデジタ
ル信号に変換し、フレーム内符号化処理とフレーム間符
号化処理とを組み合わせた帯域圧縮を行う装置に係り、
この出力信号を例えばテープにヘリカルスキャン方式で
記録しそれを再生する記録再生装置に伝送した際に、特
にその高速再生時に良好な再生画像を容易に得られるよ
うにしたものに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for converting a video signal or the like into a digital signal and performing band compression by combining intra-frame coding processing and inter-frame coding processing.
The present invention relates to a device which can easily obtain a good reproduced image when the output signal is recorded on, for example, a tape by a helical scan method and transmitted to a recording / reproducing device for reproducing the recorded signal.

【0002】[0002]

【従来の技術】周知のように、映像信号をデジタル伝送
するにあたっては、可変長符号化方式を利用した伝送方
法や、フレーム内符号化処理とフレーム間符号化処理と
を組み合わせて帯域圧縮を行ない伝送する方法等が検討
されている。このうち、フレーム内符号化処理とフレー
ム間符号化処理とを組み合わせて帯域圧縮を行ない伝送
する技術は、例えば文献 IEEE Trans.on Broadcasting
Vol.36 NO.4 DEC 1990に記載されたWoo Paik:“Digit
al compatible HD-TV Broadcast system”に示されて
いるように帯域圧縮技術であり、以下にその特徴的な部
分を説明する。
2. Description of the Related Art As is well known, when digitally transmitting a video signal, band compression is performed by combining a transmission method using a variable length coding method or a combination of intraframe coding processing and interframe coding processing. Transmission methods are being studied. Among them, a technique for performing band compression by combining intraframe coding processing and interframe coding processing and transmitting the data is disclosed in, for example, the document IEEE Trans.on Broadcasting.
Vol.36 NO.4 DEC 1990 Woo Paik: “Digit
It is a band compression technology as shown in "al compatible HD-TV Broadcast system", and its characteristic part is explained below.

【0003】図24において、入力端子11に入力され
た映像信号は、減算回路12と動き評価回路13とにそ
れぞれ供給される。この減算回路12では、後述する減
算処理が行なわれ、その出力は、DCT(離散コサイン
変換)回路14に入力される。DCT回路14は、水平
方向8画素,垂直方向8画素を単位ブロック(8×8画
素=64画素)として取り込み、画素配列を時間軸領域
から周波数領域へ変換した係数を出力する。そして、各
係数は、量子化回路15で量子化される。この場合、量
子化回路15は、10種類あるいは32種類の量子化テ
ーブルを持っており、選択された量子化テーブルに基づ
いて個々の係数が量子化される。なお、量子化回路15
において、量子化テーブルを備えているのは、情報の発
生量と送出量とが一定の範囲以内に収まるようにするた
めである。
In FIG. 24, the video signal input to the input terminal 11 is supplied to the subtraction circuit 12 and the motion evaluation circuit 13, respectively. The subtraction circuit 12 performs a subtraction process, which will be described later, and the output thereof is input to a DCT (discrete cosine transform) circuit 14. The DCT circuit 14 takes in 8 pixels in the horizontal direction and 8 pixels in the vertical direction as a unit block (8 × 8 pixels = 64 pixels), and outputs a coefficient obtained by converting the pixel array from the time axis domain to the frequency domain. Then, each coefficient is quantized by the quantization circuit 15. In this case, the quantization circuit 15 has 10 or 32 types of quantization tables, and each coefficient is quantized based on the selected quantization table. The quantization circuit 15
In the above, the reason why the quantization table is provided is that the amount of information generated and the amount of information transmitted are kept within a certain range.

【0004】そして、量子化回路15から出力された係
数データは、単位ブロック毎に低域より高域へジグザグ
・スキャンされて取り出された後、可変長符号化回路1
6に入力されて、零係数の続く数(ラン・レングス)と
非零係数とを1組にして可変長符号化される。なお、符
号器は、ハフマン符号等の発生頻度により符号長の異な
る可変長符号器である。そして、可変長符号化されたデ
ータは、FIFO(ファースト・イン・ファースト・ア
ウト)回路17に入力されて規定の速度で読み出された
後、出力端子18を介して図示しない次段のマルチプレ
クサー[制御信号,音声データ,同期データ(SYN
C),後述するNMP等を多重する]に供給され、伝送
路へ送出される。FIFO回路17は、可変長符号化回
路16の出力が可変レートであり、伝送路のレートが固
定レートであるため、この発生符号量と送出符号量の違
いを吸収するバッファの役目をしている。
The coefficient data output from the quantizing circuit 15 is zigzag-scanned from the low frequency band to the high frequency band for each unit block, and is extracted.
It is inputted to 6 and variable-length coded with the number (run length) following the zero coefficient and the non-zero coefficient as one set. The encoder is a variable length encoder having a different code length depending on the frequency of occurrence of Huffman code or the like. The variable-length coded data is input to a FIFO (first-in-first-out) circuit 17 and read out at a prescribed speed, and then, via an output terminal 18, a multiplexer at the next stage (not shown). [Control signals, voice data, sync data (SYN
C), multiplex NMP etc. described later] is supplied to the transmission path. Since the output of the variable length coding circuit 16 has a variable rate and the rate of the transmission path is a fixed rate, the FIFO circuit 17 serves as a buffer that absorbs the difference between the generated code amount and the transmitted code amount. ..

【0005】また、量子化回路15の出力は、逆量子化
回路19に入力されて逆量子化される。さらに、この逆
量子化回路19の出力は、逆DCT回路20に入力され
て元の信号に戻される。この信号は、加算回路21を介
してフレーム遅延回路22に入力される。フレーム遅延
回路22の出力は、動き補償回路23と前記動き評価回
路13とにそれぞれ供給されている。動き評価回路13
は、入力端子11からの入力信号とフレーム遅延回路2
2の出力信号とを比較し、画像の全体的な動きを検出し
て、動き補償回路23から出力される信号の位相位置を
制御する。静止画の場合は、原画像と1フレーム前の画
像とが一致するように補償される。動き補償回路23の
出力は、スイッチ24を介して減算回路12に供給され
るとともに、スイッチ25を介して加算回路21からフ
レーム遅延回路22に帰還することもできる。
The output of the quantization circuit 15 is input to the inverse quantization circuit 19 and inversely quantized. Further, the output of the inverse quantization circuit 19 is input to the inverse DCT circuit 20 and returned to the original signal. This signal is input to the frame delay circuit 22 via the adder circuit 21. The output of the frame delay circuit 22 is supplied to the motion compensation circuit 23 and the motion evaluation circuit 13, respectively. Motion evaluation circuit 13
Is the input signal from the input terminal 11 and the frame delay circuit 2
The output signal of 2 is compared to detect the overall motion of the image, and the phase position of the signal output from the motion compensation circuit 23 is controlled. In the case of a still image, the original image and the image one frame before are compensated so as to match. The output of the motion compensation circuit 23 can be supplied to the subtraction circuit 12 via the switch 24, and can also be fed back from the addition circuit 21 to the frame delay circuit 22 via the switch 25.

【0006】次に、上記したシステムの基本的な動作を
説明する。このシステムの基本動作としては、フレーム
内符号化処理とフレーム間符号化処理とがある。フレー
ム内符号化処理は以下のように行なわれる。この処理が
行なわれるときは、スイッチ24,25は共にオフであ
る。入力端子11の映像信号は、DCT回路14で時間
軸領域から周波数領域に変換され、量子化回路15にお
いて量子化される。この量子化された信号は、可変長符
号化処理を受けた後、FIFO回路17を介して伝送路
へ出力される。量子化された信号は、逆量子化回路19
及び逆DCT回路20で元の信号に戻され、フレーム遅
延回路22で遅延される。したがって、フレーム内符号
化処理のときは、入力映像信号の情報がそのまま可変長
符号化されているのと等価である。このフレーム内処理
は、入力映像信号のシーン・チェンジ及び所定のブロッ
ク単位で適宜な周期で行われる。周期的フレーム内処理
に関しては後述する。
Next, the basic operation of the above system will be described. The basic operation of this system includes intraframe coding processing and interframe coding processing. The intra-frame coding process is performed as follows. When this process is performed, both switches 24 and 25 are off. The video signal of the input terminal 11 is converted from the time domain to the frequency domain by the DCT circuit 14 and quantized by the quantization circuit 15. The quantized signal is subjected to variable length coding processing and then output to the transmission line via the FIFO circuit 17. The quantized signal is supplied to the inverse quantization circuit 19
The signal is returned to the original signal by the inverse DCT circuit 20, and delayed by the frame delay circuit 22. Therefore, in the intra-frame coding process, it is equivalent to that the information of the input video signal is variable length coded as it is. This intra-frame processing is performed in a proper cycle in units of predetermined blocks and scene changes of the input video signal. The periodic in-frame processing will be described later.

【0007】次に、フレーム間符号化処理について説明
する。フレーム間符号化処理が実行されるときは、スイ
ッチ24,25が共にオンされる。このため、入力映像
信号と、その1フレーム前の映像信号との差分に相当す
る信号が減算回路12から得られる。この差分信号が、
DCT回路14に入力され、時間軸領域から周波数軸領
域に変換され、次に量子化回路15で量子化されること
になる。またフレーム遅延回路22には、差分信号と映
像信号とが加算回路21で加算されて入力されるから、
差分信号を作成する元となった入力映像信号を予測した
予測映像信号が作成されて入力されることになる。
Next, the interframe coding process will be described. When the inter-frame coding process is executed, both the switches 24 and 25 are turned on. Therefore, a signal corresponding to the difference between the input video signal and the video signal one frame before is obtained from the subtraction circuit 12. This difference signal is
It is input to the DCT circuit 14, converted from the time domain to the frequency domain, and then quantized by the quantization circuit 15. Further, since the differential signal and the video signal are added by the adding circuit 21 and input to the frame delay circuit 22,
A predicted video signal that predicts the input video signal from which the differential signal was created is created and input.

【0008】図25には、高品位テレビジョン信号のビ
デオ信号が、上記のようにフレーム内処理とフレーム間
処理とを施され、伝送路上に送出された状態のライン信
号を示している。この信号は、伝送路の信号であり、コ
ントロール信号,音声信号,同期信号(SYNC),シ
ステム制御信号,NMP等が多重された状態で示してい
る。図25(a)は、第1ラインの信号を示し、同図
(b)は、第2ライン以降の信号を示している。この映
像信号がフレーム内処理されているものであれば、逆変
換すれば正常な映像信号が得られる。しかし、フレーム
間符号化処理を施されている映像信号の場合は、この信
号を逆変換しても差分信号が再現されるだけである。し
たがって、この差分信号に、1フレーム前に再現してい
る映像信号(または予測映像信号)を加算することによ
って、正常な映像信号が再現できることになる。
FIG. 25 shows a line signal in a state in which a video signal of a high-definition television signal is subjected to the intraframe processing and the interframe processing as described above and sent out on the transmission path. This signal is a signal of a transmission line, and is shown in a state in which a control signal, a voice signal, a synchronization signal (SYNC), a system control signal, NMP and the like are multiplexed. FIG. 25A shows signals on the first line, and FIG. 25B shows signals on the second and subsequent lines. If this video signal has undergone intra-frame processing, a normal video signal can be obtained by inverse conversion. However, in the case of a video signal that has been subjected to interframe coding processing, the difference signal is only reproduced even if this signal is inversely converted. Therefore, a normal video signal can be reproduced by adding the video signal (or predicted video signal) reproduced one frame before to this difference signal.

【0009】上記のシステムによると、フレーム内処理
された信号は、全情報を可変長符号化しており、次のフ
レーム以後でフレーム間処理された信号は、差分情報を
伝送することになり、帯域圧縮を実現していることにな
る。
According to the above system, all the information in the signal processed in the frame is variable-length coded, and the signal processed in the inter-frame after the next frame transmits the difference information. It means that compression is realized.

【0010】次に、上記の帯域圧縮システムで処理する
画素の集合の定義を説明する。すなわち、 ブロック:水平方向8画素,垂直方向8画素から構成さ
れる64画素の領域のことである。 スーパーブロック:輝度信号の水平方向4ブロック,垂
直方向2ブロックからなる領域のことである。この領域
に、色信号U、Vとしての1ブロックづつが含まれる。
また、動き評価回路13から得られる画像動きベクトル
は、スーパーブロック単位で含まれる。 マクロブロック:水平方向の11のスーパーブロックの
ことである。また、符号が伝送される際には、ブロック
のDCT係数は、零係数の連続数と、非零係数の振幅に
より決められた符号とに変換され、それらが組になって
伝送され、ブロックの最後にはエンド・オブ・ブロック
信号が付加されている。そして、スーパーブロック単位
で行なわれた動き補正の動きベクトルは、マクロブロッ
ク単位で付加されて伝送される。
Next, the definition of the set of pixels processed by the band compression system will be described. That is, a block: an area of 64 pixels composed of 8 pixels in the horizontal direction and 8 pixels in the vertical direction. Super block: An area consisting of 4 blocks in the horizontal direction and 2 blocks in the vertical direction of the luminance signal. This area includes one block as the color signals U and V.
The image motion vector obtained from the motion evaluation circuit 13 is included in units of super blocks. Macroblock: 11 superblocks in the horizontal direction. Also, when the code is transmitted, the DCT coefficient of the block is converted into a code determined by the number of consecutive zero coefficients and the amplitude of the non-zero coefficient, and these are transmitted as a set to transmit the code of the block. The end of block signal is added at the end. Then, the motion vector of the motion correction performed in units of super blocks is added and transmitted in units of macro blocks.

【0011】図25に示した伝送信号について、以後、
特に関連ある事項について、さらに説明を加える。第1
ラインの同期(SYNC)信号は、デコーダにおいてフ
レームの同期信号を示しており、1フレームにつき1つ
の同期信号を用いてデコーダの全てのタイミング信号が
作りだされる。第1ラインのNMP信号は、この信号の
終りから次のフレームのマクロブロックの初めまでのビ
デオデータ数を示している。これは、フレーム内符号化
処理とフレーム間符号化処理とを適応的に切り換えて符
号を構成しているために、1フレームの符号量がフレー
ム毎に異なることになり、符号の位置が異なってくるた
めである。そこで、1フレームに相当する符号の位置を
NMP信号で示している。
With respect to the transmission signal shown in FIG.
Further explanations will be given on particularly relevant matters. First
The line synchronization (SYNC) signal indicates a frame synchronization signal in the decoder, and one timing synchronization signal is used for one frame to generate all timing signals of the decoder. The NMP signal on the first line indicates the number of video data from the end of this signal to the beginning of the macroblock of the next frame. This is because the code is configured by adaptively switching between the intra-frame coding process and the inter-frame coding process, so that the code amount of one frame differs for each frame, and the code position differs. This is because of Therefore, the position of the code corresponding to one frame is indicated by the NMP signal.

【0012】また、使用者がチャンネルを変えた場合の
対策として、周期的フレーム内処理が行なわれる。すな
わち、この帯域圧縮システムでは、前述したように、水
平方向の11のスーパーブロックをマクロブロックと称
しており、1画面の水平方向には、44スーパーブロッ
クが存在している。つまり、1フレームには、水平方向
に4マクロブロック、垂直方向に60マクロブロックの
合計240マクロブロックが存在することになる。そし
て、この帯域圧縮システムでは、図26(a)〜(h)
及び図27(a)〜(c)に示すように、4つのマクロ
ブロック単位でそれぞれスーパーブロックの縦の一列毎
にリフレッシュが行なわれ、11フレーム周期で全ての
スーパーブロックがリフレッシュされる。すなわち、リ
フレッシュされたスーパーブロックを、図27(d)に
示すように、11フレーム分蓄積することにより全ての
領域においてフレーム内処理が行なわれることになる。
このため、例えばVTR(ビデオ・テープレコーダ)等
の通常再生時には、上記したフレーム内処理が11フレ
ーム周期で行なわれるため、問題なく再生画像を見るこ
とができる。
Further, as a countermeasure when the user changes the channel, periodical intraframe processing is performed. That is, in this band compression system, as described above, 11 super blocks in the horizontal direction are referred to as macro blocks, and 44 super blocks exist in the horizontal direction of one screen. That is, in one frame, there are a total of 240 macroblocks of 4 macroblocks in the horizontal direction and 60 macroblocks in the vertical direction. Then, in this band compression system, FIGS.
As shown in FIGS. 27A to 27C, refresh is performed for each column of four super blocks in units of four macro blocks, and all the super blocks are refreshed every 11 frame periods. That is, as shown in FIG. 27 (d), the refreshed super block is accumulated for 11 frames, so that the intra-frame processing is performed in all areas.
Therefore, for example, during normal reproduction of a VTR (video tape recorder) or the like, the above-described intraframe processing is performed at an 11-frame cycle, so that the reproduced image can be viewed without any problem.

【0013】なお、上記マクロブロックの先頭には、ヘ
ッドデータが挿入されている。このヘッドデータには、
各スーパーブロックの動きベクトル,フィールド・フレ
ーム判定,PCM/DPCM判定及び量子化レベル等が
まとめて挿入されている。
Head data is inserted at the beginning of the macroblock. This head data contains
The motion vector, field / frame determination, PCM / DPCM determination, quantization level, etc. of each super block are inserted together.

【0014】ところで、上記した帯域圧縮システムは、
テレビジョン信号の帯域圧縮のためのエンコーダとして
用いられ、受信側ではそのデコーダが用いられる。ここ
で、上記の伝送信号をVTRに記録することを考える。
一般的なVTRは、1フィールドの映像信号を固定長符
号に変換し、一定量の情報量を発生させ、X本(Xは正
の整数)のトラックに記録する方式である。
By the way, the band compression system described above is
It is used as an encoder for band compression of television signals, and the decoder is used on the receiving side. Now, consider recording the above transmission signal in a VTR.
A general VTR is a system in which a video signal of one field is converted into a fixed length code, a certain amount of information is generated, and recorded on X (X is a positive integer) tracks.

【0015】一方、上記帯域圧縮システムで得られた伝
送信号をそのまま用いてVTRに記録再生しようとする
と、フレーム内処理及びフレーム間処理した符号にその
まま可変長符号を用いることになるため、周期的にフレ
ーム内処理した符号が記録される位置が固定されず、高
速再生時において、リフレッシュされないブロックが発
生することになる。
On the other hand, when the transmission signal obtained by the band compression system is used as it is for recording / reproducing on the VTR, the variable length code is used as it is for the code subjected to the intra-frame processing and the inter-frame processing. Since the position where the code processed in the frame is recorded is not fixed, a block that is not refreshed may occur during high speed reproduction.

【0016】具体的に言えば、図28は、上記のように
可変長符号化された信号を磁気テープ26にヘリカル記
録した場合の、トラックパターンを示している。トラッ
クパターンT1 〜T11において、太線で示す部分がフレ
ームF1 〜F11の切り替わり位置を示している。フレー
ムF1 〜F11の切り替わり位置が揃っていないのは、可
変長符号により記録データが作成されているからであ
る。そして、この磁気テープ26は、VTRで通常再生
した場合には、全てのトラックパターンT1 〜T11が磁
気ヘッドにより順次スキャンされるため、その再生出力
をデコーダに通すことにより、何ら問題なく正常な映像
信号を再生することができる。すなわち、通常再生時に
は、磁気テープ26に記録された、フレーム内処理した
符号とフレーム間処理した符号とを全て再生することが
できるため、全ての符号を用いて画像を構成できるから
である。
More specifically, FIG. 28 shows a track pattern when the variable-length coded signal as described above is helically recorded on the magnetic tape 26. In track patterns T 1 through T 11, a portion indicated by a thick line indicates the switching position of the frame F 1 to F 11. The switching positions of the frames F 1 to F 11 are not aligned because the record data is created by the variable length code. In the magnetic tape 26, when normally reproduced by a VTR, all track patterns T 1 to T 11 are sequentially scanned by the magnetic head. Therefore, by passing the reproduction output to the decoder, no problem occurs. It is possible to reproduce various video signals. That is, during normal reproduction, it is possible to reproduce all of the intra-frame processed code and the inter-frame processed code recorded on the magnetic tape 26, so that an image can be constructed using all the codes.

【0017】しかしながら、VTRでは、例えば特殊再
生における倍速再生モード等のように、限られたトラッ
クのみを再生する場合がある。このとき、磁気ヘッド
は、トラックをジャンプして記録信号をピックアップす
ることになる。この場合、フレーム内符号化処理された
信号のトラックが次々と再生されれば問題ないが、フレ
ーム間符号化処理されたトラックが再生されると、差分
信号による画像しか得られないことになる。
However, in the VTR, there are cases in which only a limited number of tracks are reproduced, as in the double speed reproduction mode in special reproduction. At this time, the magnetic head jumps the track and picks up the recording signal. In this case, there is no problem if the tracks of the signal subjected to the intra-frame coding process are reproduced one after another, but if the tracks subjected to the inter-frame coding process are reproduced, only the image by the differential signal is obtained.

【0018】図29は、2倍速再生を行なった場合の磁
気ヘッドのトレース軌跡X1 〜X11を示している。図2
9において、フレームF1 〜F24にそれぞれフレーム内
符号化処理された信号が分散されて記録されているた
め、画面内で再生されるフレーム内処理部分の位置は不
定となっている。2倍速再生時に再生することができる
フレーム内処理した信号を、図30(a)〜(h)及び
図31(a)〜(c)に示している。そして、これら1
1フレームを蓄積すると、図31(d)に示すように、
周期的にフレーム内処理を施した符号が存在していな
い、つまり、リフレッシュされたスーパーブロックが存
在しない部分があり、再生画像を構成することができな
い部分が生じることになる。
FIG. 29 shows the trace loci X 1 to X 11 of the magnetic head when the double speed reproduction is performed. Figure 2
In 9, since the signal in the frame F 1 to F 24 are respectively processed frame coding is recorded is distributed, the position of the frame in the processing portion to be reproduced in the screen has become unstable. The intra-frame processed signals that can be reproduced at the double speed reproduction are shown in FIGS. 30 (a) to 30 (h) and FIGS. 31 (a) to 31 (c). And these 1
When one frame is accumulated, as shown in FIG. 31 (d),
There is no code for which intra-frame processing is performed periodically, that is, there is a portion where a refreshed super block does not exist, and a portion that cannot compose a reproduced image occurs.

【0019】[0019]

【発明が解決しようとする課題】以上のように、従来の
帯域圧縮システムを備えたヘリカルスキャン方式の記録
再生装置では、倍速再生等の高速再生が困難になるとい
う問題を有している。
As described above, the helical scan type recording / reproducing apparatus having the conventional band compression system has a problem that high-speed reproduction such as double-speed reproduction becomes difficult.

【0020】そこで、この発明は上記事情を考慮してな
されたもので、高速再生時に良好な再生画像を容易に得
ることができる極めて良好な帯域圧縮処理装置を提供す
ることを目的とする。
Therefore, the present invention has been made in view of the above circumstances, and an object thereof is to provide an extremely good band compression processing device which can easily obtain a good reproduced image at high speed reproduction.

【0021】[0021]

【課題を解決するための手段】この発明に係る帯域圧縮
処理装置は、1画面の映像信号にa個(aは正の整数)
の画像領域を形成し、この映像信号に対して、フレーム
内の情報を用いてフレーム内符号化処理を施したフレー
ム内処理信号と、フレーム間の差分情報を用いてフレー
ム間符号化処理を施したフレーム間処理信号とを作成
し、フレーム内符号化処理の後はフレーム間符号化処理
を施し、この信号処理方式を入力映像信号の動き評価に
応じて適応的に繰り返す帯域圧縮手段と、fフレーム
(fはf≧2の整数)を周期とし1フレーム毎にa個の
領域のうちb個づつの画像領域の信号に周期的にフレー
ム内符号化処理を施すリフレッシュ符号化処理手段と、
該リフレッシュ符号化処理を施した、リフレッシュブロ
ックの発生符号量を算出する回路と、所定数のリフレッ
シュブロックで所定の最大符号量を越えないように、リ
フレッシュブロックの発生符号量を制御する手段とを備
えるようにしたものである。
The band compression processing apparatus according to the present invention has a number (a is a positive integer) for one screen image signal.
Image area is formed, and the video signal is subjected to intra-frame coding processing using intra-frame coding processing using information within the frame and inter-frame coding processing using difference information between frames. And an inter-frame coding process after the intra-frame coding process and adaptively repeats the signal processing method according to the motion evaluation of the input video signal. Refresh encoding processing means for periodically performing intraframe encoding processing on a signal of b image areas of a areas for each frame, with a frame (f is an integer of f ≧ 2) as a cycle;
A circuit for calculating the generated code amount of the refresh block, which has been subjected to the refresh encoding process, and a means for controlling the generated code amount of the refresh block so as not to exceed a predetermined maximum code amount in a predetermined number of refresh blocks. It was prepared.

【0022】また、この発明に係る帯域圧縮処理装置
は、1画面の映像信号にa個(aは正の整数)の画像領
域を形成し、この映像信号に対して、フレーム内の情報
を用いてフレーム内符号化処理を施したフレーム内処理
信号と、フレーム間の差分情報を用いてフレーム間符号
化処理を施したフレーム間処理信号とを作成し、フレー
ム内符号化処理の後はフレーム間符号化処理を施し、こ
の信号処理方式を入力映像信号の動き評価に応じて適応
的に繰り返す帯域圧縮手段と、fフレーム(fはf≧2
の整数)を周期としa個の画像領域の信号に周期的にフ
レーム内符号化処理を施すリフレッシュ符号化処理手段
とを備え、リフレッシュ符号化処理の発生符号量を算出
する回路と、該リフレッシュ符号化発生符号量算出回路
の出力信号により、リフレッシュ符号化処理の量子化レ
ベルを設定する回路と、リフレッシュ符号化処理を施さ
ない非リフレッシュ符号化処理とリフレッシュ符号化処
理の合計の符号量を算出する符号量算出回路と、該符号
量算出回路の出力信号で非リフレッシュ符号化処理の量
子化レベルを設定する回路を有するようにしたものであ
る。
Further, the band compression processing apparatus according to the present invention forms a (a is a positive integer) image area in one screen of the video signal, and uses the information in the frame for this video signal. To generate an intra-frame processed signal that has been subjected to intra-frame coding processing and an inter-frame processed signal that has been subjected to inter-frame coding processing using the difference information between frames, and Band compression means that performs coding processing and adaptively repeats this signal processing method according to the motion evaluation of the input video signal, and f frames (f is f ≧ 2).
A circuit for calculating the generated code amount of the refresh coding processing, and a refresh coding processing means for periodically performing the intraframe coding processing on the signals of the a number of a A circuit for setting the quantization level of the refresh coding process and the total code amount of the non-refresh coding process and the refresh coding process without the refresh coding process are calculated from the output signal of the coding code generation calculation circuit. A code amount calculation circuit and a circuit for setting the quantization level of the non-refresh coding process by the output signal of the code amount calculation circuit are provided.

【0023】[0023]

【作用】上記のような構成によれば、高速再生時にフレ
ーム内符号化処理した信号を正確に得られるので、良好
な再生画像を得ることができる。
According to the above construction, since the signal subjected to the intra-frame coding processing can be accurately obtained at the time of high speed reproduction, a good reproduced image can be obtained.

【0024】[0024]

【実施例】以下、この発明の一実施例について図面を参
照して詳細に説明する。この実施例では、11フレーム
で1画面2640個の領域にフレーム内符号化処理が施
されるため、1画面内の領域数a=2640個、フレー
ム内符号化処理周期f=11フレームである。また、こ
こでは、a=2640個の領域は互いに重複していない
例を用いるが、重複していても差し支えない。さらに、
1本のトラックを10分割し、1フレーム分の平均映像
符号を1トラックに記録する場合を説明するため、1ト
ラックの分割数d=10個、1フレーム分の平均映像符
号を記録するトラック数c=1本とする。そこで、記録
媒体領域数d×c×f=10×1×11=110個とな
る。画面領域と記録媒体領域との対応は、等配分する場
合に関して述べる。なお、この発明においては、必ずし
も等配分で入れる必要はない。そこで、1つの記録媒体
領域に入る画面の領域数e=a/d×c×f=2640
/10×1×11=24個となり、e=24個づつをd
×c×f=110個の領域に対応付ける場合を述べる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings. In this embodiment, the intraframe coding processing is performed on 2640 areas per screen in 11 frames, so the number of areas in one screen is a = 2640, and the intraframe coding processing period f is 11 frames. Further, here, an example in which the a = 2640 areas do not overlap each other is used, but they may overlap. further,
In order to describe the case where one track is divided into ten and the average video code for one frame is recorded in one track, the number of divisions of one track d = 10, and the number of tracks for recording the average video code for one frame c = 1. Therefore, the number of recording medium areas is d × c × f = 10 × 1 × 11 = 110. The correspondence between the screen area and the recording medium area will be described in the case of equal distribution. It should be noted that in the present invention, it is not always necessary to equally distribute. Therefore, the number of screen areas in one recording medium area e = a / d × c × f = 2640
/ 10 × 1 × 11 = 24, and d = e = 24
The case of associating with × c × f = 110 regions will be described.

【0025】図1において、図24と同一部分には同一
符号を付して示し、従来のシステムと異なる部分を中心
に説明することにする。また、図2には、このシステム
の動作タイミングを示している。ここで、この実施例は
説明を簡単にするためエンコーダ側のブロック図を用い
て説明するが、図25に示した伝送データを受信するデ
コーダ側においても実現することができる。図1に関し
て説明する。入力端子27には、入力映像信号の同期信
号SYNCが供給される。この同期信号SYNCは、S
YNC信号検出回路28に入力されて検出される。SY
NC信号検出回路28は、同期信号SYNCに同期した
SYNCパルスを発生してトラック形成信号発生回路2
9に供給している。なお、デコーダにおいて実現する場
合には、図25に示した伝送データ内の同期信号SYN
Cを検出し、SYNC信号検出回路28に入力すれば良
い。
In FIG. 1, the same parts as those in FIG. 24 are designated by the same reference numerals, and different parts from the conventional system will be mainly described. Further, FIG. 2 shows the operation timing of this system. Here, this embodiment will be described using a block diagram on the encoder side for simplification of description, but it can also be realized on the decoder side for receiving the transmission data shown in FIG. Referring to FIG. The sync signal SYNC of the input video signal is supplied to the input terminal 27. This synchronization signal SYNC is S
It is input to the YNC signal detection circuit 28 and detected. SY
The NC signal detection circuit 28 generates a SYNC pulse synchronized with the synchronization signal SYNC to generate the track formation signal generation circuit 2
9 is being supplied. In the case of being realized by the decoder, the synchronization signal SYN in the transmission data shown in FIG.
C may be detected and input to the SYNC signal detection circuit 28.

【0026】図2(a)は、入力映像信号を示してお
り、Yは輝度信号、U,Vは色信号を示し、枠内に記入
してある数字はフレームの番号を示している。図2
(b)は、SYNC信号検出回路28から得られるSY
NCパルスを示し、図2(a)に示した入力映像信号の
フレームの切り替わり点に同期して発生されている。図
2(c)は、トラック形成信号発生回路29から得られ
るトラック形成信号を示している。このトラック形成信
号に付しているA,Bは、Aヘッド及びBヘッドがそれ
ぞれ交互にトラックを形成する期間を指定している。A
ヘッド及びBヘッドは、図1に示すように、回転ドラム
30に180°対向した位置に取り付けられている。こ
こでは、対向してヘッドを1個づつ取り付けた場合を説
明するが、1トラックで記録できる符号量が少ない場合
には、対向してp個(pは正の整数)づつのヘッドを配
置すれば良い。この実施例では、図2(b)に示すSY
NCパルスの発生タイミングと、図2(c)に示すトラ
ック形成信号の切り替わりタイミングとが同期してい
る。図2(d)は、Aヘッド及びBヘッドにより形成さ
れるトラックを示し、枠内に記入してある数字はトラッ
クの番号を示している。
FIG. 2A shows an input video signal, Y is a luminance signal, U and V are chrominance signals, and the numbers entered in the frame indicate the frame numbers. Figure 2
(B) is an SY signal obtained from the SYNC signal detection circuit 28.
The NC pulse is generated and is generated in synchronization with the switching point of the frame of the input video signal shown in FIG. FIG. 2C shows the track formation signal obtained from the track formation signal generation circuit 29. A and B added to the track forming signal specify a period in which the A head and the B head alternately form tracks. A
As shown in FIG. 1, the head and the B head are attached at a position opposed to the rotary drum 30 by 180 °. Here, the case where heads are attached one by one facing each other will be described. However, when the code amount that can be recorded in one track is small, p heads (p is a positive integer) are arranged facing each other. Good. In this embodiment, SY shown in FIG.
The generation timing of the NC pulse and the switching timing of the track formation signal shown in FIG. 2C are synchronized. FIG. 2D shows tracks formed by the A head and the B head, and the numbers written in the frame indicate the track numbers.

【0027】そして、トラック形成信号発生回路29か
ら出力されるトラック形成信号は、トラック形成制御回
路31に供給される。このトラック形成制御回路31
は、回転ドラム30の回転位相を制御するとともに、A
ヘッド及びBヘッドへの記録信号供給タイミングを制御
している。なお、この実施例では、1フレームの平均符
号発生量と1トラックとが対応するため、回転ドラム3
0の回転数は900rpmとなっている場合を説明す
る。ただし、1フレームの平均発生符号をc回の磁気ヘ
ッドのスキャンでc本(cは正の整数)のトラックに記
録し、回転ドラム30の回転数を1800rpm等異な
る回転数にしてもよい。
The track formation signal output from the track formation signal generation circuit 29 is supplied to the track formation control circuit 31. This track formation control circuit 31
Controls the rotation phase of the rotary drum 30, and
The timing of supplying a recording signal to the head and the B head is controlled. In this embodiment, since the average code generation amount of one frame corresponds to one track, the rotary drum 3
A case where the number of revolutions of 0 is 900 rpm will be described. However, the average generated code of one frame may be recorded in c (c is a positive integer) tracks by scanning the magnetic head c times, and the rotational speed of the rotary drum 30 may be set to a different rotational speed such as 1800 rpm.

【0028】次に、VTRの高速再生を可能とするため
に、この実施例で用いた符号入れ替え方法について説明
する。まず、入力端子32,33に供給された色信号
U,Vをデシメータ34,35に通した各信号と、入力
端子36に供給された輝度信号Yとを、マルチプレクサ
37で結合させたものが、入力映像信号として減算回路
12や動き評価回路13に供給されており、可変長符号
化回路16から帯域圧縮符号化されたビデオ符号が出力
されている。
Next, the code exchange method used in this embodiment in order to enable the high speed reproduction of the VTR will be described. First, a combination of the color signals U and V supplied to the input terminals 32 and 33 through the decimators 34 and 35 and the luminance signal Y supplied to the input terminal 36 by the multiplexer 37 is obtained. It is supplied to the subtraction circuit 12 and the motion evaluation circuit 13 as an input video signal, and the variable-length coding circuit 16 outputs the band compression-coded video code.

【0029】ここで、図24に示した従来の帯域圧縮シ
ステムでは、映像信号を可変長符号化して伝送してお
り、図2(i)に示すように、ビデオ符号のフレームの
切り替わり点はフレームによって異なっている。図2
(h)に示したNMP信号は、このビデオ信号のフレー
ムの切り替わり点を示している。従来では、1フレーム
に2640個のスーパーブロックが存在しており、この
2640個のスーパーブロックが図2(h)のNMP信
号で示した1フレーム期間内に入っている。
Here, in the conventional band compression system shown in FIG. 24, the video signal is variable length coded and transmitted, and as shown in FIG. 2I, the switching point of the frame of the video code is the frame. Depends on Figure 2
The NMP signal shown in (h) indicates the switching point of the frame of this video signal. Conventionally, there are 2640 super blocks in one frame, and these 2640 super blocks are within one frame period shown by the NMP signal in FIG. 2 (h).

【0030】また、従来では、1画面上に、水平方向に
4つのマクロブロックが存在しており、このマクロブロ
ックは11スーパーブロックで構成されている。そし
て、1フレーム当たりマイクロブロック内のうち1つの
スーパーブロックは、強制的にフレーム内処理を用いて
いる。また、この強制的にフレーム内処理を用いるシー
ケンスは、図25のシステムコントロール信号内に含ま
れている。ここで、この強制的にフレーム内処理を行な
うスーパーブロックをリフレッシュブロックと称し、さ
らに、強制的にフレーム内処理を行なわなかったスーパ
ーブロックを非リフレッシュブロックと称することにす
る。
Further, conventionally, there are four macro blocks in the horizontal direction on one screen, and these macro blocks are composed of 11 super blocks. Then, one superblock in the microblock per frame is forced to use the intraframe processing. The sequence in which the in-frame processing is forcibly used is included in the system control signal shown in FIG. Here, the super block for which the intra-frame processing is forcibly performed is referred to as a refresh block, and the super block for which the intra-frame processing is not forcibly performed is referred to as a non-refresh block.

【0031】つまり、言葉の定義として、 リフレッシュブロック:マクロブロックのうち1フレー
ム期間に1スーパーブロックづつ強制的にフレーム内処
理を行なうとき、このフレーム内処理を行なったスーパ
ーブロックをリフレッシュブロックと称する。マクロブ
ロックは、11スーパーブロックで構成されるため、1
1フレーム周期で強制的にフレーム内処理が行なわれ
る。 非リフレッシュブロック:上述したリフレッシュブロッ
ク以外のスーパーブロックで、このスーパーブロック内
には画像の内容により、フレーム内処理を行なったブロ
ックとフレーム間処理を行なったブロックとが存在す
る。例えば入力映像信号にシーンチェンジ等が発生した
場合、フレーム内処理が用いられる場合もあるが、これ
も非リフレッシュブロックとする。
In other words, as the definition of words, when the intra-frame processing is forcibly performed by one super block in one frame period of the refresh block: macro block, the super block subjected to the intra-frame processing is called a refresh block. A macro block consists of 11 super blocks, so 1
In-frame processing is forcibly performed in one frame cycle. Non-refresh block: A super block other than the above-mentioned refresh block. Within this super block, there are a block subjected to intra-frame processing and a block subjected to inter-frame processing depending on the contents of the image. For example, when a scene change or the like occurs in the input video signal, in-frame processing may be used, but this is also a non-refresh block.

【0032】ここで、1フレーム期間には、リフレッシ
ュブロックは240個(=2640÷11)存在してい
る。そこで、従来では、図2(h)に示す1フレーム期
間に同図(g)に示すように240個のリフレッシュブ
ロックが存在する。そして、従来の信号をそのままVT
Rで記録すると、リフレッシュブロックの位置が定まら
なくなり、前述したように高速再生ができなくなる。
Here, 240 refresh blocks (= 2640/11) are present in one frame period. Therefore, conventionally, 240 refresh blocks are present in one frame period shown in FIG. 2H as shown in FIG. Then, the conventional signal is used as it is for VT.
When recording with R, the position of the refresh block is not fixed and high-speed reproduction cannot be performed as described above.

【0033】図3(a),(b)は、それぞれフレーム
番号F5 ,F6 の映像信号を示している。同図におい
て、G5 ,G6 で示した部分がリフレッシュブロックを
示し、H5 ,H6 で示した部分が非リフレッシュブロッ
クを示している。そして、以後、フレーム番号,リフレ
ッシュブロック番号及び非リフレッシュブロック番号の
間において、フレーム番号Fn (nは整数)のフレーム
のリフレッシュブロック番号をGn 、非リフレッシュブ
ロック番号をHn とする。
FIGS. 3A and 3B show video signals of frame numbers F 5 and F 6 , respectively. In the figure, the portions indicated by G 5 and G 6 indicate refresh blocks, and the portions indicated by H 5 and H 6 indicate non-refresh blocks. Then, thereafter, the frame number, during the refresh block number and the non-refresh block number, frame number F n (n is an integer) the refresh block number G n frames, the non-refresh block number and H n.

【0034】この発明では、リフレッシュブロックと非
リフレッシュブロックとのトラック上の配置を異なった
ものにしている。
In the present invention, the arrangement of the refresh block and the non-refresh block on the track is different.

【0035】この実施例では、1トラックを10分割し
て記録する場合を示している。1トラックを10分割し
た場合、高速再生としては10倍速まで再生が可能とな
る。11倍以上の高速再生時には、リフレッシュブロッ
クをすべて再生できなくなるため、図31(d)で示し
た図と同様に、画像を構成できない領域が発生すること
になる。もし、VTRの仕様として、20倍速の高速再
生を実現したい場合には、1トラックを20分割すれば
よい。さらに、速い高速再生を実現したい場合には、リ
フレッシュブロックをトラック上に等間隔に配置すれば
よい。
In this embodiment, one track is divided into ten and recorded. When one track is divided into 10, high-speed reproduction can be performed up to 10 times speed. During high-speed reproduction of 11 times or more, all refresh blocks cannot be reproduced, so that an area in which an image cannot be formed occurs as in the case shown in FIG. 31 (d). If, as a VTR specification, high-speed reproduction at 20 times speed is desired, one track may be divided into 20. Further, when it is desired to realize fast high speed reproduction, refresh blocks may be arranged on the track at equal intervals.

【0036】図2(e)は、1トラックを10分割する
タイミングパルスを示しており、同図(b),(c)に
示した1トラック期間をほぼ等分に10分割している。
そして、この分割された1期間をセクタと称する。
FIG. 2 (e) shows a timing pulse for dividing one track into ten, and the one track period shown in FIGS. 2 (b) and 2 (c) is divided into ten equal parts.
Then, this one divided period is referred to as a sector.

【0037】つまり、言葉の定義として、 セクタ:1トラック期間をほぼ等分にd(この場合1
0)分割した期間をいう。
In other words, as a definition of the word, sector: 1 track period is divided into approximately equal parts (in this case, 1
0) The divided period.

【0038】この実施例においては、図2(f)に示す
ように1セクタに24個のリフレッシュブロックを入れ
ている。このようにすれば、1トラックは10セクタか
らなるため、1トラックで240個のリフレッシュブロ
ックが挿入されることになり、映像信号の1フレームの
リフレッシュブロック数と一致している。つまり、1セ
クタに入るリフレッシュブロック数eは、周期的にフレ
ーム内処理が行なわれるスーパーブロック数をbとし、
b個のフレーム内処理信号をc本のトラックに記録した
とすると、e=b/c×d(この場合240/1×10
=24)となっている。
In this embodiment, as shown in FIG. 2 (f), 24 refresh blocks are placed in one sector. In this way, one track consists of 10 sectors, and 240 refresh blocks are inserted in one track, which is equal to the number of refresh blocks in one frame of the video signal. That is, the number of refresh blocks e in one sector is b, which is the number of super blocks on which periodic intraframe processing is performed.
If b intra-frame processed signals are recorded on c tracks, e = b / c × d (in this case, 240/1 × 10
= 24).

【0039】以上のような符号入れ替えを行なうことに
よって、従来ではNMP信号が示した1フレーム期間に
1フレーム分のリフレッシュブロックが配置されていた
ものを、1トラック期間に1フレーム分のリフレッシュ
ブロックが存在するように配置することができる。
By performing the code exchange as described above, the refresh block for one frame is arranged in one frame period indicated by the NMP signal in the past, but the refresh block for one frame is replaced in one track period. Can be arranged to be present.

【0040】図4はトラックパターンを示している。す
なわち、磁気テープ26上におけるトラックT1 〜T11
の枠内に記入したG1 〜G11は、前述したリフレッシュ
ブロック番号Gn に対応する。このリフレッシュブロッ
クとトラックTn との関係は、トラックTn 内に番号G
n のリフレッシュブロックが記録されるという関係にな
っている。また、トラックT1 〜T11の枠内に記入した
1 〜H11は、前述した非リフレッシュブロック番号H
n に対応する。この非リフレッシュブロックの切り替わ
り点は、トラックT1 〜T11の枠内に示した太線の部分
となっている。
FIG. 4 shows a track pattern. That is, the tracks T 1 to T 11 on the magnetic tape 26.
The G 1 to G 11 entered in the frame of No. correspond to the refresh block number G n described above. The relationship between this refresh block and the track T n is the number G in the track T n .
The relationship is that n refresh blocks are recorded. Further, H 1 to H 11 entered in the frames of the tracks T 1 to T 11 are the non-refresh block numbers H described above.
Corresponds to n . The switching point of the non-refresh block is the thick line portion shown in the frame of the tracks T 1 to T 11 .

【0041】図4のトラック38にセクタとトラックと
の関係を示している。トラック38は10分割されd=
10個のセクタに分割される。この1つのセクタには、
e=24個づつのリフレッシュブロックが配置されてい
る。非リフレッシュブロックは、リフレッシュブロック
を配置した間に入れる。
Track 38 in FIG. 4 shows the relationship between sectors and tracks. The track 38 is divided into 10 and d =
It is divided into 10 sectors. In this one sector,
e = 24 refresh blocks are arranged. The non-refresh block is inserted between the refresh blocks.

【0042】ここで、トラックT5 ,T6 を例にとって
詳しく説明すると、トラックT5 にはフレームF5 のリ
フレッシュブロックG5 を記録する。また、トラックT
6 にはフレームF6 のリフレッシュブロックG6 を記録
する。このリフレッシュブロックを配置した空き部分に
非リフレッシュブロックを記録する。トラックT5 には
非リフレッシュブロックH5 ,H6 を記録し、トラック
6 には非リフレッシュブロックH6 ,H7 を記録す
る。
[0042] Here, if the track T 5, T 6 will be described in detail as an example, the track T 5 to record refresh blocks G 5 of the frame F 5. Also, track T
The 6 records the refresh block G 6 of the frame F 6. A non-refresh block is recorded in the free space where this refresh block is arranged. The track T 5 records non refresh block H 5, H 6, the track T 6 records the non-refresh block H 6, H 7.

【0043】そこで、以上のような記録形態を実現する
ために、再び図1において、可変長符号化回路16から
得られる帯域圧縮符号化されたビデオ符号は、符号入れ
替え回路39に供給される。また、リフレッシュブロッ
ク制御回路40は、前述したリフレッシュブロックの符
号位置信号を発生するもので、この符号位置信号は符号
入れ替え回路39に供給される。この符号入れ替え回路
39は、入力されたビデオ符号と符号位置信号とに基づ
いて、リフレッシュブロックと非リフレッシュブロック
との並べ替えを行なう。
Therefore, in order to realize the above recording mode, the band compression encoded video code obtained from the variable length encoding circuit 16 in FIG. 1 is supplied to the code exchange circuit 39 again. Further, the refresh block control circuit 40 generates the code position signal of the refresh block described above, and this code position signal is supplied to the code exchange circuit 39. The code exchange circuit 39 rearranges refresh blocks and non-refresh blocks based on the input video code and code position signal.

【0044】すなわち、1トラック内に設けた10個の
セクタそれぞれに24個づつのリフレッシュブロックを
挿入する処理が行なわれる。この処理を行なうために
は、一旦、符号を図示しないメモリに記憶し、該メモリ
から符号を読み出す際に、リフレッシュブロックを1セ
クタに24個入るように読み出すことによって実現され
る。
That is, a process of inserting 24 refresh blocks into each of 10 sectors provided in one track is performed. In order to perform this processing, the code is temporarily stored in a memory (not shown), and when the code is read from the memory, 24 refresh blocks are read in one sector.

【0045】そして、符号入れ替え回路39の出力は、
インデックス挿入回路41に供給される。このインデッ
クス挿入回路41は、非リフレッシュブロックが一部分
離されて記録されていることを再生時に検出することが
できるように、インデックス信号を各セクタの制御デー
タ部に挿入する。なお、このインデックス信号は、リフ
レッシュブロック制御回路40からの符号位置信号が供
給されるインデックス発生回路42により準備されてい
る。そして、このインデックス挿入回路41の出力が、
マルチプレクサ43を介してAヘッド及びBヘッドに供
給され、磁気テープ26に記録される。
The output of the code exchange circuit 39 is
It is supplied to the index insertion circuit 41. The index insertion circuit 41 inserts an index signal into the control data section of each sector so that it can be detected during reproduction that the non-refresh block is partially separated and recorded. The index signal is prepared by the index generation circuit 42 to which the code position signal from the refresh block control circuit 40 is supplied. The output of the index insertion circuit 41 is
The data is supplied to the A head and the B head via the multiplexer 43 and recorded on the magnetic tape 26.

【0046】なお、デコーダにおいて、リフレッシュブ
ロックと非リフレッシュブロックとの入れ替えを行なう
場合には、図25に示したビデオ符号の内部のマクロブ
ロックの先頭に存在するヘッドデータのPCM/DPC
M判定符号及びシステムコントロール信号内に含まれる
リフレッシュシーケンス符号を検出し、リフレッシュブ
ロック制御回路40の出力信号として用いれば良い。
When the refresh block and the non-refresh block are exchanged in the decoder, the PCM / DPC of the head data existing at the head of the macro block inside the video code shown in FIG.
A refresh sequence code included in the M determination code and the system control signal may be detected and used as an output signal of the refresh block control circuit 40.

【0047】図5(a),(b)は、2倍速再生時にお
けるヘッドのトレース軌跡X1 〜X11を示している。な
お、各トラックT1 〜T22の枠内には、図4と同様にリ
フレッシュブロックGn 及び非リフレッシュブロックH
n を示している。そして、この図5に示す2倍速再生時
のヘッドトレースにおいて、再生可能なリフレッシュブ
ロックを図6(a)〜(h)及び図7(a)〜(c)に
示している。この図6(a)〜(h)及び図7(a)〜
(c)に示すフレーム1〜11は、図5(b)に示す2
倍速再生時のヘッドトレース軌跡X1 〜X11で再生可能
なリフレッシュブロックを示している。
FIGS. 5A and 5B show trace traces X 1 to X 11 of the head during double speed reproduction. It should be noted that the refresh block G n and the non-refresh block H are arranged in the frame of each track T 1 to T 22 as in FIG.
n is shown. Then, in the head trace at the time of double speed reproduction shown in FIG. 5, reproducible refresh blocks are shown in FIGS. 6 (a) to 6 (h) and FIGS. 7 (a) to 7 (c). 6 (a) to (h) and FIG. 7 (a) to
Frames 1 to 11 shown in (c) are 2 shown in FIG.
Speed indicates playable refresh block at a head trace loci X 1 to X 11 at the time of reproduction.

【0048】例えばフレーム1においては、ヘッドトレ
ースX1 を行なうことにより、画面の上半分にリフレッ
シュブロックG1を表示し、画面の下半分にリフレッシ
ュブロックG2 を表示することが可能となる。同様にフ
レーム2〜11においては、リフレッシュブロックG3
〜G22までを再生することが可能となる。このため、再
生可能なリフレッシュブロックをフレーム1〜11まで
蓄積すると、図7(d)に示すように、全ての画面領域
の符号を再生することができる。
For example, in the frame 1, by performing the head trace X 1 , it is possible to display the refresh block G1 in the upper half of the screen and the refresh block G 2 in the lower half of the screen. Similarly, in the frames 2 to 11, the refresh block G 3
Up to G 22 can be reproduced. Therefore, when reproducible refresh blocks are stored in frames 1 to 11, the codes of all screen areas can be reproduced as shown in FIG. 7 (d).

【0049】フレーム間処理した符号及び画像の内容に
応じてフレーム内処理した符号は、周期的にフレーム内
符号化処理を施した符号の間にいれる。そして、これら
の符号は、画像領域と記録媒体領域に対応関係がない。
The code subjected to inter-frame processing and the code subjected to intra-frame processing according to the contents of the image are put between the codes subjected to the intra-frame coding processing periodically. Then, these codes have no correspondence between the image area and the recording medium area.

【0050】なお本発明においては、a個の画像領域と
d×c×f個の記録媒体用領域との対応付けは、1:1
に対応付けても良いし、1:2,2:1の対応付けや、
記録媒体の領域に空白を入れた対応付けなど、どのよう
な対応付けをしても良い。なお、記録媒体としては、磁
気テープ26に限らず、ビデオディスクでも適用可能で
あり、この場合はディスクの1周がテープの1トラック
に相当する。
In the present invention, the correspondence between a image areas and d × c × f recording medium areas is 1: 1.
May be associated with, or 1: 2, 2: 1
Any correspondence may be made, such as a correspondence in which a blank is put in the area of the recording medium. The recording medium is not limited to the magnetic tape 26 but can be a video disk, and in this case, one round of the disk corresponds to one track of the tape.

【0051】VTRのトラック上の所定の領域にリフレ
ッシュブロックを入れることにより高速再生が可能にな
るが、符号量が所定の領域に記録可能な符号量を越える
ことをさける必要がある。
High-speed reproduction is possible by inserting a refresh block in a predetermined area on the VTR track, but it is necessary to prevent the code amount from exceeding the code amount recordable in the predetermined region.

【0052】所定のリフレッシュブロックの符号量が、
記録媒体の所定の領域の記録可能な符号量を越えた場合
には、越えた符号に相当する画面上の位置において、リ
フレッシュが行なわれなくなる。
The code amount of a predetermined refresh block is
When the amount of code that can be recorded in a predetermined area of the recording medium is exceeded, refresh is not performed at the position on the screen corresponding to the exceeded code.

【0053】これをさけなくても、画像上のある決まっ
た位置からはリフレッシュが行なわれるため、画像の内
容を判断することは可能である可能性は高いが、より確
実に、リフレッシュを行うためにはリフレッシュブロッ
クの発生符号量のコントロールが必要である。
Even if this is not avoided, since the refresh is performed from a certain position on the image, it is highly possible that the content of the image can be determined, but in order to perform the refresh more reliably. It is necessary to control the amount of code generated in the refresh block.

【0054】そこで、リフレッシュブロックの符号量の
コントロールに関して詳細に説明を行なう。
Therefore, the control of the code amount of the refresh block will be described in detail.

【0055】2次元DCT回路に関して説明する。The two-dimensional DCT circuit will be described.

【0056】まず、画像を水平・垂直方向ともN画素か
らなる小ブロック(N×N)に分割し、おのおののブロ
ックに2次元DCTを施す。このときのNの大きさは変
換効率から8〜16に設定される。本実施例では、N=
8を用いる。
First, the image is divided into small blocks (N × N) each consisting of N pixels in the horizontal and vertical directions, and two-dimensional DCT is applied to each block. The size of N at this time is set to 8 to 16 from the conversion efficiency. In this embodiment, N =
8 is used.

【0057】2次元DCTの変換係数は式1で、その逆
変換式は式2で与えられる。
The transform coefficient of the two-dimensional DCT is given by equation 1, and its inverse transform equation is given by equation 2.

【0058】[0058]

【数1】 ここで、F(0,0)は直流成分の係数を表し、F
(u,v)はuが大きくなるほど高周波の水平周波数成
分を含み、vが大きくなるほど高周波の垂直周波数成分
を含む。
[Equation 1] Here, F (0,0) represents the coefficient of the DC component, and F (0,0)
(U, v) includes a high frequency horizontal frequency component as u increases, and includes a high frequency vertical frequency component as v increases.

【0059】先ずF(0,0)の直流成分の係数の性質
を述べる。F(0,0)は画像ブロック内の平均輝度値
を表わす直流成分に対応し、その平均電力は通常他の成
分に比べてかなり大きくなる。
First, the property of the coefficient of the DC component of F (0,0) will be described. F (0,0) corresponds to a DC component representing the average luminance value in the image block, and its average power is usually considerably higher than other components.

【0060】さらに直流成分を粗く量子化した場合に
は、視覚的に大きな画質劣化に感じられる直交変換特有
の雑音(ブロック歪)が生じる。そこで、F(0,0)
には多くのビット数(通常8ビット以上)を割り当てて
均等量子化する。
Further, when the DC component is roughly quantized, noise (block distortion) peculiar to the orthogonal transformation, which is visually noticeable as a large image quality deterioration, occurs. Therefore, F (0,0)
Is assigned a large number of bits (usually 8 bits or more) and is uniformly quantized.

【0061】次に直流成分を除く変換係数F(u,v)
の性質を述べる。F(u,v)の平均値は、式1より、
直流成分F(0,0)のそれを除いて“0”となる。
Next, the conversion coefficient F (u, v) excluding the DC component
Describe the nature of. The average value of F (u, v) is
It becomes “0” excluding that of the DC component F (0,0).

【0062】効率が良い符号化を行うために、画像の小
ブロックに一定のビット数を割り当てて符号化する場
合、低周波成分の変換係数には多くの符号化ビット数を
配分し、逆に高周波成分の変換係数には少ない符号化ビ
ット数を配分して符号化することにより、画質劣化を少
なくし、かつ高圧縮率の符号化ができる。
In order to perform efficient encoding, when a certain number of bits are assigned to a small block of an image for encoding, a large number of encoded bits are allocated to the transform coefficient of the low frequency component, and conversely. By assigning a small number of coding bits to the transform coefficient of the high frequency component and performing the coding, it is possible to reduce the image quality deterioration and perform the coding with a high compression rate.

【0063】画像を水平方向、垂直方向とも8画素から
なる8×8=64画素の小ブロックに変換し、2次元D
CTを施すと、変換された各周波数成分に対する係数は
図8に示すように8×8=64個の2次元の係数とな
る。図8では、左上がDC係数(直流成分)である。そ
れ以外の63個はAC係数(交流成分)であり、右下に
いくほど空間周波数が高くなる。AC成分は2次元的な
広がりをもつために符号化、伝送に際して0〜63の順
番で示すジグザグスキャンにより一次元に変換する。
The image is converted into a small block of 8 × 8 = 64 pixels consisting of 8 pixels in both the horizontal and vertical directions, and a two-dimensional D
When CT is applied, the converted coefficients for each frequency component become 8 × 8 = 64 two-dimensional coefficients as shown in FIG. In FIG. 8, the upper left is the DC coefficient (direct current component). The other 63 are AC coefficients (AC components), and the spatial frequency increases toward the lower right. Since the AC component has a two-dimensional spread, it is converted into one dimension by zigzag scanning shown in the order of 0 to 63 at the time of encoding and transmission.

【0064】ここで、64個のDCTの係数をDCTi
[i=0〜63]で表わすこととする。
Here, the 64 DCT coefficients are converted to DCT i
It is represented by [i = 0 to 63].

【0065】各画素を量子化する際の量子化ビット数
は、画像信号の場合、8ビットで量子化することが多
い。
In the case of an image signal, the number of quantization bits for quantizing each pixel is often 8 bits.

【0066】この8ビットの画素をDCT変換した出力
のDCTの係数は12ビットで表わされる場合がある。
The DCT coefficient of the output obtained by DCT converting the 8-bit pixel may be represented by 12 bits.

【0067】次に量子化に関して説明する。Next, the quantization will be described.

【0068】前述した64個のDCT係数は、各係数こ
どの量子化ステップサイズを定めた量子化テーブルを用
いて、係数位置ごとに異なるステップサイズで線形量子
化される。
The above-mentioned 64 DCT coefficients are linearly quantized with a different step size for each coefficient position, using a quantization table that defines a quantization step size for each coefficient.

【0069】量子化ステップの設定方法は2種類ある
が、基本的には同一手法である。
There are two kinds of quantization step setting methods, but basically the same method.

【0070】第1の手法は、64個のDCT係数ごとに
量子化ステップを定めた量子化テーブルを用い、量子化
テーブルを示すコードを伝送する手法である。
The first method is a method of transmitting a code indicating the quantization table using a quantization table in which a quantization step is determined for each of 64 DCT coefficients.

【0071】図9に量子化テーブルの例を示す。同図に
おいてq=0〜q=9は、量子化テーブルを表す量子化
テーブルコードであり、このコードを伝送することによ
り、復号器は逆量子化を行うことができる。
FIG. 9 shows an example of the quantization table. In the figure, q = 0 to q = 9 are quantization table codes that represent a quantization table, and by transmitting this code, the decoder can perform inverse quantization.

【0072】また、正方形に並んだ64個の数字は量子
化ビット数を示しており、図8に示した64個の2次元
の係数と対応関係がある。例えば、q=0の量子化テー
ブルの左上の7は、DC成分を7ビットで量子化するこ
とを示している。
Further, 64 numbers arranged in a square represent the number of quantization bits, and have a correspondence relationship with the 64 two-dimensional coefficients shown in FIG. For example, 7 at the upper left of the quantization table for q = 0 indicates that the DC component is quantized with 7 bits.

【0073】以下、各係数に関して同様に、量子化テー
ブルに示されたビット数で量子化する。
Hereinafter, each coefficient is similarly quantized with the number of bits shown in the quantization table.

【0074】第2の手法は、先ず、64個のDCT係数
に重み付け(Weighting )マトリックスで、各係数に重
みづけをする。
In the second method, first, 64 DCT coefficients are weighted by a weighting matrix.

【0075】この後に量子化幅データQS(Quantize-S
cale)を用い、各係数を一律に割り算した後、量子化す
る手法である。伝送する際には、量子化幅データに対応
するコードを送る。また、重み付けマトリックスはディ
フォルト値が決められている。更に、特定種類の重み付
けマトリックスを伝送することもできる。
After this, the quantization width data QS (Quantize-S
cale) is used to uniformly divide each coefficient and then quantize it. When transmitting, a code corresponding to the quantization width data is sent. Also, the weighting matrix has a predetermined default value. Furthermore, it is possible to transmit a specific type of weighting matrix.

【0076】なお、例としてMPEG.Iでは、量子化
幅データQSのコードに5ビットが割り当てられてお
り、32種類指定できる。そこでこの値をQSj [j
=0〜31] で表わす。
As an example, MPEG. In I, 5 bits are assigned to the code of the quantization width data QS, and 32 types can be designated. Therefore, this value is set to QS j [j
= 0 to 31].

【0077】ここで、量子化幅データQSj に関して定
義しておく。
Here, the quantization width data QS j will be defined.

【0078】DCTの係数値を最大の量子化ビット数
で、量子化する場合をj=0で表し、QS0 =1 とす
る。
The coefficient value of the DCT is quantized with the maximum number of quantization bits, and j = 0 is used for quantization, and QS 0 = 1.

【0079】また、DCTの係数値を伝送しない場合を
j=31で表わし、この時は後述する量子化ビット数を
QL31=0 とする。
Further, the case where the coefficient value of the DCT is not transmitted is represented by j = 31, and at this time, the number of quantization bits described later is QL 31 = 0.

【0080】ここでjを量子化レベルと名づける。Here, j is named a quantization level.

【0081】図10に、MPEG.Iで用いられた、輝
度信号の重み付け(Weighting )マトリクスのディフォ
ルト値を示す。
FIG. 10 shows MPEG. The default value of the weighting matrix of the luminance signal used in I is shown.

【0082】同図において、8×8の64個の数字は、
図8に示した64個の2次元の係数と対応関係があり、
各DCT係数に対する重み付け値を示している。
In the figure, the 64 numbers of 8 × 8 are
There is a correspondence relationship with the 64 two-dimensional coefficients shown in FIG.
The weighting value for each DCT coefficient is shown.

【0083】符号器においては、DCTの各係数を対応
する重み付け値および量子化幅データQSで割り算す
る。
In the encoder, each DCT coefficient is divided by the corresponding weighting value and the quantization width data QS.

【0084】64個のDCTの係数をDCTi [i=0
〜63]で表わし、重み付けマトリックスの各値をWEIG
HTi [i=0〜63]量子化後の各値をQi [i=0〜
63]で表わすと、
The coefficients of 64 DCTs are converted into DCT i [i = 0
~ 63] and each value of the weighting matrix is WEIG
HT i [i = 0 to 63] Each value after quantization is Q i [i = 0 to
63],

【0085】[0085]

【数2】 で表わされる。[Equation 2] It is represented by.

【0086】また、この時の量子化ビット数は、The number of quantization bits at this time is

【0087】[0087]

【数3】 で表わされる。[Equation 3] It is represented by.

【0088】例を次に示す。An example is shown below.

【0089】MPEG.Iの輝度信号の垂直方向の第1
番目のAC成分は、前述した図8のDCT1 で表わされ
る。
MPEG. First vertical direction of I luminance signal
The th AC component is represented by DCT 1 in FIG. 8 described above.

【0090】また、重み付けマトリックスのDCT1
対応する値は、WEIGHT1 =16である。これは、図10
において○印をつけた部分に対応する。また、量子化幅
データQS0 =1の場合は、
The value corresponding to DCT 1 of the weighting matrix is WEIGHT 1 = 16. This is shown in FIG.
It corresponds to the part marked with a circle. When the quantization width data QS 0 = 1

【0091】[0091]

【数4】 DCTi の係数は12ビットで表わされるため log2
CTi の最大値は12である。この時の量子化ビット数
は、
[Equation 4] Since the coefficient of DCT i is represented by 12 bits, log 2 D
The maximum value of CT i is 12. The number of quantization bits at this time is

【0092】[0092]

【数5】 となる。[Equation 5] Becomes

【0093】図11は、QS0 =1の場合の重み付けマ
トリックスを通した後に、必要な最大の量子化ビット数
を表わしている。この図は8×8=64個の量子化ビッ
ト数を表わすマトリックスとなっており、それぞれの数
字は、図8に示したDCT係数のそれぞれの位置に対応
する量子化ビット数を示している。
FIG. 11 shows the maximum number of quantization bits required after passing through the weighting matrix when QS 0 = 1. This figure is a matrix representing the number of quantization bits of 8 × 8 = 64, and each number indicates the number of quantization bits corresponding to each position of the DCT coefficient shown in FIG.

【0094】図12及び図13は、32種類の量子化幅
データQSj を設定した際の量子化テーブルのうち代表
的な9種類の量子化テーブルを定量的に示したものであ
る。
FIGS. 12 and 13 quantitatively show typical 9 types of quantization tables among the quantization tables when 32 types of quantization width data QS j are set.

【0095】量子化テーブルに関する前述した第2の手
法を用いた場合について説明するため、このテーブルは
量子化幅データQSに基づいている。
This table is based on the quantization width data QS in order to explain the case of using the above-mentioned second method regarding the quantization table.

【0096】ここで、j=31はデータを全く発生させ
ない例であり、全ての係数を0ビットで量子化すること
に相当する。また、j=0は量子化幅データQS0 =1
であるため、重み付けテーブルで量子化することに相当
する。すなわち、この場合は、図11に示した重み付け
テーブルによるビット配分になる。
Here, j = 31 is an example in which no data is generated at all, and corresponds to quantizing all coefficients with 0 bits. Further, j = 0 is the quantization width data QS 0 = 1
Therefore, it is equivalent to quantization with a weighting table. That is, in this case, the bit allocation is based on the weighting table shown in FIG.

【0097】図12及び図13において、横軸はDCT
の64個の各係数を示しており、図8に示したジグザグ
スキャンした際の順番と対応している。また、縦軸はD
CTの各係数において、伝送するビット数を示してい
る。
12 and 13, the horizontal axis is DCT.
64 coefficients of the above, which correspond to the order of the zigzag scanning shown in FIG. The vertical axis is D
In each coefficient of CT, the number of bits to be transmitted is shown.

【0098】なお、DCTの係数を量子化する際に、M
SB(Most Significant Bit)からLSB(Least Sign
ificant Bit )が存在している。伝送するビット数を制
限する場合、当然のことながらMSBが優先して伝送さ
れる。
When quantizing the DCT coefficient, M
SB (Most Significant Bit) to LSB (Least Sign
ificant Bit) exists. When limiting the number of bits to be transmitted, naturally, the MSB is preferentially transmitted.

【0099】なお前述したように、DC成分に関しては
量子化ビット数を削減すると、ブロック歪みなどが目立
つためDC成分に関しては別に扱かう。
As described above, when the number of quantization bits for the DC component is reduced, block distortion becomes conspicuous, so the DC component is treated separately.

【0100】MPEG.Iの輝度信号の例の場合は、前
述したようにAC成分の最大値は8ビットとなってい
る。
MPEG. In the case of the luminance signal of I, the maximum value of the AC component is 8 bits as described above.

【0101】図12及び図13に関して、量子化ビット
数と量子化幅データに関して定量的に説明する。
The number of quantization bits and the quantization width data will be quantitatively described with reference to FIGS.

【0102】発生符号量が最大となるのはj=0の場合
であり、jが増加するに従い発生符号量は減少し、j=
31で0となり符号は発生しなくなる。
The generated code amount becomes maximum when j = 0, and as j increases, the generated code amount decreases and j =
It becomes 0 at 31 and no code is generated.

【0103】この量子化幅データをコントロールするこ
とにより発生する符号量のコントロールが可能である。
It is possible to control the code amount generated by controlling the quantization width data.

【0104】符号量のコントロール手法としては2種類
ある。第1の手法は、前述した様に量子化レベルをコン
トロールする手法である。この場合は、リフレッシュブ
ロックの発生符号量をおさえることになるため、リフレ
ッシュブロック自体の画質は劣化することになる。しか
し、次のフレームではリフレッシュブロックのフレーム
内処理信号と、次フレームの映像信号の差分が送られる
ため、画質は一瞬落ちるだけである。この手法について
後で詳しく説明する。
There are two types of code amount control methods. The first method is a method of controlling the quantization level as described above. In this case, since the generated code amount of the refresh block is suppressed, the image quality of the refresh block itself is deteriorated. However, in the next frame, since the difference between the intra-frame processed signal of the refresh block and the video signal of the next frame is sent, the image quality is only momentarily degraded. This method will be described in detail later.

【0105】第2の手法は、一度量子化した符号を2つ
に分割し、MSBまたは低周波数成分の符号量をVTR
などの記録メディアで高速再生した際に、読み出すこと
が可能な符号量におさえる方法である。
The second method divides the code, which has been quantized once, into two, and determines the code amount of the MSB or the low frequency component by VTR.
This is a method that keeps the code amount that can be read out at high speed on a recording medium such as.

【0106】第1の手法を用いた場合の符号化情報量の
制御に関して次に述べる。
The control of the encoded information amount when the first method is used will be described below.

【0107】本実施例の様に、映像信号を可変長符号化
を用いて高能率符号化すると、一般に、その発生情報量
は一定にならない。これは、映像信号の有する情報量が
時間的に変動しているためである。
When the video signal is high-efficiency coded by using the variable length coding as in the present embodiment, the generated information amount is generally not constant. This is because the amount of information contained in the video signal varies with time.

【0108】一方、固定レートの伝送系を用いる場合に
は、符号化情報量を一定に抑えるための符号化制御が必
要となる。
On the other hand, when a fixed rate transmission system is used, coding control is required to keep the coded information amount constant.

【0109】固定レート化の一般的手法は、符号化器の
出力にバッファメモリを用意し、このバッファメモリに
可変レートで入力し、出力は固定レートで行なって符号
化情報量を平滑化するものである。バッファメモリ内の
データ量は、入力情報量に応じて変動するため、オーバ
ーフローあるいはアンダーフローを生じる可能性があ
る。これを防ぐためには、オーバーフローあるいはアン
ダーフローとなりそうなときには、それぞれ符号化情報
量を減少あるいは増加させるように、符号化パラメータ
を変化させる。例えば、量子化特性をより粗く、または
細かくしてやれば良い。
The general method of fixed rate conversion is to prepare a buffer memory at the output of the encoder, input it at a variable rate to this buffer memory, and output at a fixed rate to smooth the encoded information amount. Is. Since the amount of data in the buffer memory changes according to the amount of input information, overflow or underflow may occur. In order to prevent this, when overflow or underflow is likely, the encoding parameter is changed so as to reduce or increase the encoded information amount, respectively. For example, the quantization characteristic may be made coarser or finer.

【0110】上記バッファメモリの容量は大きいほど平
滑化の効果も高いが、符号化遅延やコスト上の制限があ
る。
The larger the capacity of the buffer memory is, the higher the smoothing effect is, but there is a limitation on coding delay and cost.

【0111】また、比較的小さなバッファメモリの方
が、画像の局所的性質に応じて細かく符号化制御が行な
えるということもあり、1フレーム程度のバッファメモ
リが用いられる場合がある。
Further, since a relatively small buffer memory allows finer control of encoding depending on the local nature of the image, a buffer memory of about 1 frame may be used.

【0112】従来例も、同様の符号化情報量の制御をし
ている。図32は、従来例の符号化情報量の制御を示す
図である。同図において、バッファメモリーを構成する
FIFO回路17の占有量を量子化レベル設定回路44
に入力し、これにより量子化回路15の量子化レベルj
を設定することにより、量子化幅データを設定し、DC
T係数の量子化を行なう。
The conventional example also controls the amount of coded information in the same manner. FIG. 32 is a diagram showing control of the coded information amount in the conventional example. In the figure, the occupancy of the FIFO circuit 17 which constitutes the buffer memory is represented by the quantization level setting circuit 44.
To the quantization level j of the quantization circuit 15.
, The quantization width data is set by setting
Quantize the T coefficient.

【0113】マクロブロック単位の量子化レベルの設定
は、前述したFIFOの占有率をフィードバックし、設
定する。
The quantization level for each macroblock is set by feeding back the occupancy rate of the FIFO described above.

【0114】更に、量子化レベルの微調は、スーパーブ
ロック単位に行うことができる。これは、1マクロブロ
ック内で発生した符号量に基づき、発生する符号量を減
少する方向に量子化レベルを設定することができる。こ
れは複雑な映像のシーンチェンジなどの極端な場合に、
バッファのオーバーフローをさけるためにある。
Further, the fine adjustment of the quantization level can be performed in units of super blocks. This allows the quantization level to be set in the direction of decreasing the generated code amount based on the code amount generated in one macroblock. This is for extreme cases such as scene changes of complicated images,
This is to avoid a buffer overflow.

【0115】従来例では、リフレッシュブロックはマク
ロブロックに1つ存在しており、レートバッファの占有
率によりコントロールされているため、リフレッシュブ
ロック単独では符号量のコントロールは行なわれていな
い。
In the conventional example, since one refresh block exists in the macro block and is controlled by the rate buffer occupancy, the refresh block alone does not control the code amount.

【0116】すなわち、任意にリフレッシュブロックの
符号量が決定されてしまう。
That is, the code amount of the refresh block is arbitrarily determined.

【0117】一方、VTRなどの記録メディアにおい
て、リフレッシュブロックを用いて特殊再生を実現する
場合は、リフレッシュブロックの符号量を所定の符号量
におさえることにより、画面のリフレッシュが一定周期
で確実に行える。
On the other hand, in a recording medium such as a VTR, when special playback is realized using refresh blocks, the code amount of the refresh blocks is suppressed to a predetermined code amount so that the screen can be refreshed reliably at a constant cycle. ..

【0118】これに関しては、特願平3−250671
号などに記載してある。
Regarding this, Japanese Patent Application No. 3-250671
No. etc.

【0119】VTRの特殊再生の手法により、次の2つ
の方法がある。
There are the following two methods depending on the special reproduction method of the VTR.

【0120】第1の方法は、VTRのサーボ方式として
DTFを用いる手法である。1スキャンで形成するP本
のトラックに記録できる最大記録符号量をαとし、1フ
レーム当りc回のヘッドスキャンで、映像信号を記録す
る場合に、1フレームの映像の1/cの領域のリフレッ
シュブロックの最大の符号量を前述したα以下におさえ
ることが必要となる。
The first method is a method using DTF as the servo system of the VTR. Let α be the maximum recording code amount that can be recorded on P tracks formed in one scan, and refresh the area of 1 / c of the image of one frame when recording a video signal with a head scan of c times per frame. It is necessary to keep the maximum code amount of the block below the above-mentioned α.

【0121】第2の方法としてはDTFを用いない場合
である。DTFを用いない場合、高速再生速度がiの場
合には1スキャンで形成したP本のトラックのうち1/
iの領域をトレースすることになる。
The second method is a case where DTF is not used. When the DTF is not used and the high-speed reproduction speed is i, 1 / th of P tracks formed in one scan
The area of i will be traced.

【0122】前述と同様に、1スキャンで形成するP本
のトラックに記録できる最大符号量をαとし、1フレー
ム当りc回のスキャンで映像信号を記録する場合に、1
フレームのリフレッシュブロックの1/c×iの領域の
最大の符号量を前述したα/i以下におさえることが必
要となる。なお、この場合は特殊再生用ヘッドとして極
端にヘッド幅が広いものは用いない場合を示した。
Similarly to the above, when the maximum code amount that can be recorded on P tracks formed in one scan is α, and when a video signal is recorded by scanning c times per frame, 1
It is necessary to limit the maximum code amount in the 1 / c × i area of the refresh block of the frame to α / i or less. In this case, the case where an extremely wide head width is not used as the special reproduction head is shown.

【0123】符号量の制御に関して、具体的に説明す
る。
The control of the code amount will be specifically described.

【0124】先ず、従来例でも用いられている手法に関
して、詳しく説明する。レートバッファを用いる手法で
は、図14に示す様に、エンコーダ及びデコーダに等容
量のレートバッファ(Rate Buffer )を設ける。
First, the method used in the conventional example will be described in detail. In the method using the rate buffer, as shown in FIG. 14, an equal capacity rate buffer is provided in the encoder and the decoder.

【0125】これらのバッファの入出力の符号量および
バッファの占有率に関して、図14を用いて説明する。
図14中符号aはエンコーダのレートバッファbの入力
信号を示している。この信号は、エンコーダの可変長符
号化回路16の出力信号となっている。この信号の特徴
としては、各ブロックは一定の周期で入力されるが、各
ブロックの発生符号は可変長符号となっているため可変
長レートになっている。また、エンコーダのレートバッ
ファの出力信号cは、伝送データになっており固定レー
トで符号が出力される。更に、デコーダのレートバッフ
ァeの入力信号dは、固定レートの符号入力になってお
り、出力信号fは可変レートの符号出力となっている。
The input / output code amount of these buffers and the buffer occupancy will be described with reference to FIG.
Reference numeral a in FIG. 14 indicates an input signal of the rate buffer b of the encoder. This signal is the output signal of the variable length coding circuit 16 of the encoder. A characteristic of this signal is that each block is input at a constant cycle, but the generated code of each block is a variable length code, so that it has a variable length rate. Further, the output signal c of the rate buffer of the encoder is transmission data, and the code is output at a fixed rate. Further, the input signal d of the rate buffer e of the decoder is a fixed rate code input, and the output signal f is a variable rate code output.

【0126】エンコーダ側及びデコーダ側の特性に関し
て、それぞれ図15及び図16を用いて詳しく説明す
る。図15(a)〜(c)及び図16(a)〜(c)の
横軸はフレーム番号を示している。ここで、図15
(a)〜(c)及び図16(a),(b)は、入力のフ
レーム番号と同一になっているが、図16(c)のフレ
ーム番号は8フレーム分だけずれている。これは可変長
符号を用いることによるエンコーダおよびデコーダの伝
送符号の遅延時間の変動を吸収するために必要である。
The characteristics on the encoder side and the decoder side will be described in detail with reference to FIGS. 15 and 16. The horizontal axes in FIGS. 15A to 15C and 16A to 16C indicate frame numbers. Here, FIG.
16 (a) to 16 (c) and FIGS. 16 (a) and 16 (b) are the same as the input frame numbers, but the frame numbers in FIG. 16 (c) are shifted by 8 frames. This is necessary in order to absorb the fluctuation of the delay time of the transmission code of the encoder and the decoder due to the use of the variable length code.

【0127】図15(a)〜(c)及び図16(a)〜
(c)の縦軸は符号量を示している。この例では、レー
トバッファの容量を4Mビット、1フレーム当りの伝送
符号量を0.5Mビット/フレームである場合の例を示
した。なお図15(a)〜(c)はエンコーダ側、図1
6(a)〜(c)はデコーダ側の特性を示している。
FIGS. 15A to 15C and FIGS. 16A to 16C.
The vertical axis of (c) indicates the code amount. In this example, the capacity of the rate buffer is 4 Mbits, and the transmission code amount per frame is 0.5 Mbits / frame. 15 (a) to 15 (c) are on the encoder side, FIG.
6 (a) to 6 (c) show the characteristics on the decoder side.

【0128】図15(a)は、1フレーム当りの発生符
号量を示している。図中破線は、レートバッファの容量
を参考に示した。可変長符号を用いているため、各フレ
ームの発生符号量はフレームにより異なる。フレーム番
号をFn で表わした。F1 〜F9 には、バッファがオー
バーフローとアンダーフローが生じる場合の符号の発生
例を示した。F1 では、4.5Mビットの符号が発生
し、F2 〜F9 まで発生符号が0とした。
FIG. 15A shows the generated code amount per frame. The broken line in the figure indicates the capacity of the rate buffer for reference. Since the variable length code is used, the generated code amount of each frame differs depending on the frame. The frame number represented by F n. F 1 to F 9 show examples of code generation when the buffer overflows and underflows. A code of 4.5 M bits is generated in F 1 , and the generated code is set to 0 in F 2 to F 9 .

【0129】各フレームの発生符号量の最大値は、バッ
ファ容量と送出符号量の和で決まり、本例の場合はバッ
ファ容量4Mビットであり、1フレーム当りの送出符号
量0.5〔Mビット/フレーム〕であるため、1フレー
ム当りの最大発生可能符号量は4.5Mビットとなる。
20〜F30までは、バッファの占有度により各フレーム
の発生符号量をコントロールした場合の例を示した。
The maximum value of the generated code amount of each frame is determined by the sum of the buffer capacity and the transmitted code amount. In this example, the buffer capacity is 4 Mbits, and the transmitted code amount per frame is 0.5 [Mbits. / Frame], the maximum possible code amount per frame is 4.5 Mbits.
F 20 to F 30 are examples in which the generated code amount of each frame is controlled by the occupancy of the buffer.

【0130】図15(b)は、エンコーダのバッファの
占有度を示している。この例ではバッファの容量は4M
ビットとしており、バッファの容量を破線で示した。F
1 のフレームで大きな発生符号量が生じているため、F
1 の時点でバッファのオーバーフローが生じている。ま
た、F2 〜F9 まで全く符号を発生させない状態が続い
ているため、F9 の時点でバッファのアンダーフローが
生じている。
FIG. 15B shows the occupancy of the encoder buffer. In this example, the buffer capacity is 4M
The capacity of the buffer is indicated by a broken line. F
Since a large amount of generated code is generated in 1 frame, F
At the time of 1 , a buffer overflow has occurred. Further, since a state in which no code is generated continues from F 2 to F 9 , the buffer underflow occurs at the time of F 9 .

【0131】図15(c)は、エンコーダからの伝送符
号量を示している。同図内に斜めに引いた実直線Aは累
積送出符号量を示している。この傾きはフレーム当りの
送出符号量を示している。この例では1フレーム時間当
り0.5Mビット送出している。フレームレートが30
[Hz]の場合には30×0.5[M/Frame ]=15
[Mbps]の送出符号量となる。また、破線はバッフ
ァの最大容量で決まる最大値を示している。
FIG. 15C shows the transmission code amount from the encoder. A solid straight line A drawn diagonally in the figure shows the cumulative transmission code amount. This inclination indicates the amount of transmitted code per frame. In this example, 0.5 M bits are transmitted per frame time. Frame rate is 30
In the case of [Hz], 30 × 0.5 [M / Frame] = 15
The transmission code amount is [Mbps]. The broken line shows the maximum value determined by the maximum capacity of the buffer.

【0132】また、図15(c)内に示した折れ線は、
累積発生符号量を示している。すなわち、図15(a)
の1フレーム当りの発生符号量の積分値になっている。
この累積発生符号量が破線と接した時は、バッファはオ
ーバーフローになっており、実線と接した時はバッファ
はアンダーフローになっている。また、累積発生符号量
と累積送出符号量との間に水平に引いた点線は、発生し
た符号を送出する際のエンコーダバッファでの遅延時間
を示しており、長いものは送出までの時間が長くかかる
ことを示している。
The polygonal line shown in FIG. 15C is
The cumulative generated code amount is shown. That is, FIG. 15 (a)
Is the integrated value of the generated code amount per frame.
When the accumulated generated code amount contacts the broken line, the buffer overflows, and when it contacts the solid line, the buffer underflows. Also, the dotted line drawn horizontally between the cumulative generated code amount and the cumulative transmitted code amount indicates the delay time in the encoder buffer when transmitting the generated code, and the longer one indicates the longer time until transmission. This shows that.

【0133】図16(a)において、実直線Bは累積受
信符号量を示している。この実直線Bは、図15(c)
の実直線Aと同一である。折れ線は画像を出力した際の
各フレームの映出符号量を示している。これは図16
(c)の1フレーム当りの映出符号量を積分した値に相
当する。また、水平に引いた点線は、受信した符号を映
出する際の遅延時間を表わしており、エンコーダにおけ
る遅延時間とデコーダにおける遅延時間の和は全て等し
く、図16(b)に示したバッファ遅延時間(Buffer D
elay)と等しくなる。
In FIG. 16 (a), the solid line B shows the cumulative received code amount. This solid line B is shown in FIG.
Is the same as the real straight line A. The polygonal line indicates the projection code amount of each frame when the image is output. This is shown in FIG.
This corresponds to a value obtained by integrating the projection code amount per frame in (c). Also, the dotted line drawn horizontally represents the delay time when the received code is projected, and the sum of the delay time in the encoder and the delay time in the decoder are all equal, and the buffer delay shown in FIG. Time (Buffer D
elay).

【0134】図16(b)は、デコーダのバッファの占
有率を示している。ここで、図15(b)と図16
(b)とを比較する。バッファの遅延時間分だけ、図1
5(b)をシフトすると図15(b)と図16(b)と
は上下方向に反転した関係になっている。すなわち、エ
ンコーダのオーバーフローはデコーダのアンダーフロー
になり、エンコーダのアンダーフローはデコーダのオー
バーフローになる。
FIG. 16B shows the occupation rate of the buffer of the decoder. Here, FIG. 15B and FIG.
Compare with (b). Figure 1 shows only the buffer delay time.
When 5 (b) is shifted, FIGS. 15 (b) and 16 (b) are vertically inverted. That is, an encoder overflow results in a decoder underflow, and an encoder underflow results in a decoder overflow.

【0135】図16(c)は、映出する符号の1フレー
ム当りの映出符号量を示している。図15(a)と図1
6(c)とは、エンコーダおよびデコーダのバッファ遅
延時間分だけ遅延する。
FIG. 16C shows the projected code amount per frame of the projected code. FIG. 15A and FIG.
6 (c) is delayed by the buffer delay time of the encoder and the decoder.

【0136】加入者がチャンネルを変えた場合には、デ
コーダのバッファに必要な符号量だけ符号を蓄積した後
に、映像を出力することが可能である。この蓄積量は、
図16(a)の点線で示した時間だけ受信符号量を蓄積
する値と等しい。この値は、従来例のNMP信号と対応
関係がある。すなわち、デコーダではNMP信号で決定
する時間だけバッファに符号を蓄積した後に、映像を出
力すれば良い。
When the subscriber changes the channel, it is possible to output the video after accumulating the code of the required code amount in the buffer of the decoder. This accumulated amount is
It is equal to the value for accumulating the received code amount only for the time shown by the dotted line in FIG. This value has a corresponding relationship with the NMP signal of the conventional example. That is, the decoder may store the code in the buffer for the time determined by the NMP signal and then output the video.

【0137】図15(a)のF1 に示した様に、最初の
フレームに最大の符号量が発生した場合には、デコーダ
のバッファにおいて最大のバッファ遅延時間が生じる。
この場合には、図16(b)にバッファ遅延と記入した
時間だけ受信符号をバッファに蓄積した後、正常な映像
信号を出力することができる。この場合は、デコーダの
バッファを受信符号で満たした後に正常な映像信号を出
力することになる。
As shown in F 1 of FIG. 15A, when the maximum code amount occurs in the first frame, the maximum buffer delay time occurs in the decoder buffer.
In this case, it is possible to output a normal video signal after accumulating the received code in the buffer for the time indicated as buffer delay in FIG. In this case, a normal video signal is output after the buffer of the decoder is filled with the reception code.

【0138】すなわち、F0 〜F8 まで受信符号を蓄積
し、バッファメモリを満たす初期化状態が終了した後に
正常な映像信号を出力することになる。図16(c)の
1で映出符号を出力した際には、デコーダのバッファ
はアンダーフローになっている。また、更に図16
(c)のF1 〜F9 まで映出符号を出力しない状態が続
いた時、F9 でデコーダのバッファはオーバーフローに
なっている。これはエンコーダのバッファ状態を8フレ
ーム分遅延し、オーバーフロー、アンダーフローを反転
した状態と一致している。
That is, the received codes are accumulated from F 0 to F 8 and a normal video signal is output after the initialization state filling the buffer memory is completed. When the projection code is output at F 1 in FIG. 16C, the buffer of the decoder is underflowed. In addition, FIG.
When the state in which the projection code is not output continues from F 1 to F 9 in (c), the buffer of the decoder overflows at F 9 . This coincides with the state in which the buffer state of the encoder is delayed by 8 frames and the overflow and underflow are inverted.

【0139】なお、加入者がチャンネルを変更した場合
に、正常な映像信号を出力するためにはデコーダのバッ
ファをNMP信号に従った時間だけ符号を蓄積する必要
があるが、初期化時にも図16(c)に点線で示したよ
うに不完全な画像を出すことは可能である。
When the subscriber changes the channel, in order to output a normal video signal, it is necessary to store the code in the buffer of the decoder for the time according to the NMP signal. It is possible to output an incomplete image as shown by the dotted line in 16 (c).

【0140】図17にバッファの占有率と、マクロブロ
ック単位に設定した量子化レベルの増減の関係の例を示
す。バッファの占有率が所定の値にある間は量子化レベ
ルを変更せずに、所定の値を越えた時に量子化レベルの
増減を行なう。図17においては、バッファの占有率が
45〜55%である時は量子化レベルを変化させずに、
この値を越えた時に量子化レベルを変える。これによ
り、バッファのレートコントロールが可能となる。
FIG. 17 shows an example of the relationship between the occupancy rate of the buffer and the increase / decrease of the quantization level set for each macroblock. The quantization level is not changed while the buffer occupancy rate is at a predetermined value, and the quantization level is increased or decreased when the buffer occupancy exceeds the predetermined value. In FIG. 17, when the buffer occupancy is 45 to 55%, the quantization level is not changed,
When this value is exceeded, the quantization level is changed. This makes it possible to control the rate of the buffer.

【0141】量子化レベルはjの値が大きい時に粗く量
子化し発生符号量が少なくなるので、バッファの占有率
が小さい時に量子化レベルを下げる方向に、バッファの
占有率が大きい時に量子化レベルを上げる方向に動作さ
せる。
Since the quantization level is roughly quantized when the value of j is large and the generated code amount is small, the quantization level is lowered when the buffer occupancy is small, and the quantization level is decreased when the buffer occupancy is large. Operate in the raising direction.

【0142】図18は本発明の他の実施例を示す図であ
る。同図において従来例と同じ構成部分には同一番号を
付してある。また、本実施例は従来例からの違いをもっ
とも少なくすることを考慮しているため最小限の変更と
なっているが、本発明の主旨を変更しない範囲で、ブロ
ック構成を種々変更できることは言うまでもない。
FIG. 18 is a diagram showing another embodiment of the present invention. In the figure, the same components as those in the conventional example are designated by the same reference numerals. Further, the present embodiment is a minimum change in consideration of minimizing the difference from the conventional example, but it goes without saying that the block configuration can be variously changed without changing the gist of the present invention. Yes.

【0143】本発明の主旨はfフレームを周期に画面の
全領域にフレーム内処理を施すリフレッシュブロックの
発生符号量をVCRなどの記録メディアから決定される
所定の符号量以下におさえることである。
The gist of the present invention is to keep the generated code amount of the refresh block for performing the intra-frame processing in the entire area of the screen in a cycle of f frames to a predetermined code amount or less determined from the recording medium such as VCR.

【0144】この主旨を実現するために、本実施例では
リフレッシュブロックの符号量を独立に算出し、この値
を用いてリフレッシュブロックの量子化レベルを設定す
る。構成としては、リフレッシュブロック符号量算出回
路45、リフレッシュブロック量子化レベル設定回路4
6を従来例以外の主要構成として用いた。リフレッシュ
ブロック符号量算出回路45は、所定の期間のリフレッ
シュブロックの符号量を算出する。
In order to realize this purpose, in this embodiment, the code amount of the refresh block is calculated independently, and the quantization level of the refresh block is set using this value. The configuration is such that the refresh block code amount calculation circuit 45 and the refresh block quantization level setting circuit 4
6 was used as the main configuration other than the conventional example. The refresh block code amount calculation circuit 45 calculates the code amount of the refresh block for a predetermined period.

【0145】リフレッシュブロックの符号量の算出方法
に関して詳しく説明する。
A method of calculating the code amount of the refresh block will be described in detail.

【0146】先ず、量子化回路15の出力を可変長符号
化回路16に入力する。この回路内部では、先ず、ジグ
ザグスキャン回路16aで図8に示したスキャン方法で
8×8のDCTの係数を読み込み、0係数の連続数と非
零係数の振幅を組みにし、ハフマン符号化回路16bに
入力する。
First, the output of the quantization circuit 15 is input to the variable length coding circuit 16. In this circuit, first, the zigzag scanning circuit 16a reads the 8 × 8 DCT coefficient by the scanning method shown in FIG. To enter.

【0147】また、この0係数の連続数と非零係数の振
幅をブロック符号量算出回路47に入力する。このブロ
ック符号量算出回路47は、図19に示したテーブルを
記憶するROMを用いて、発生した符号量を算出する。
Further, the number of consecutive 0 coefficients and the amplitude of the non-zero coefficient are input to the block code amount calculating circuit 47. The block code amount calculation circuit 47 calculates the generated code amount using the ROM that stores the table shown in FIG.

【0148】図19は従来例でも用いられたものである
が、横軸に非零係数の振幅、縦軸に0係数の連続数を示
している。また、枠内の数字は符号のビット数を示して
いる。この符号のビット数を加算することにより、ブロ
ック単位やスーパーブロック単位で発生符号量を算出す
ることができる。また、リフレッシュを行ったスーパー
ブロックすなわちリフレッシュブロックの発生符号量を
ブロック符号量算出回路47から出力し、リフレッシュ
ブロック符号量算出回路45で、このリフレッシュブロ
ックの符号量を順次加算する。この実施例では、テープ
上の1セクタに入れようとする120個のスーパーブロ
ックの期間、加算する。
FIG. 19 shows the amplitude of the non-zero coefficient on the horizontal axis and the number of consecutive zero coefficients on the vertical axis, which is also used in the conventional example. Also, the numbers in the frame indicate the number of bits of the code. By adding the number of bits of this code, the generated code amount can be calculated in block units or super block units. Further, the generated code amount of the refreshed super block, that is, the refresh block is output from the block code amount calculation circuit 47, and the refresh block code amount calculation circuit 45 sequentially adds the code amounts of the refresh blocks. In this embodiment, the addition is performed during the period of 120 super blocks that are going to be put in one sector on the tape.

【0149】VTRのサーボとしてDTFを用いず、1
フレーム当りc=1回のヘッドスキャンで映像信号を記
録し特殊再生速度としてi=2倍速を実現する場合に、
1フレームの映像の1/c×i=1/2の領域ごとのリ
フレッシュブロックの符号量を算出する場合について説
明する。このリフレッシュブロックの符号量を1スキャ
ンで形成するP本のトラックに記録できる最大記録符号
量αである場合に、1フレームの1/2の領域のリフレ
ッシュブロックの符号量をα/c×i=α/2以下にな
る様に、リフレッシュブロック量子化レベル設定回路5
2で量子化レベルを設定する。
1 is used without using DTF as the VTR servo.
When a video signal is recorded by c = 1 head scan per frame and i = 2 × speed is realized as a special reproduction speed,
A case will be described in which the code amount of the refresh block is calculated for each 1 / c × i = 1/2 area of one frame of video. When the code amount of this refresh block is the maximum recording code amount α that can be recorded on P tracks formed in one scan, the code amount of the refresh block in the area of 1/2 of one frame is α / c × i = Refresh block quantization level setting circuit 5 so that it becomes α / 2 or less
2 sets the quantization level.

【0150】リフレッシュブロック量子化レベル設定回
路46では、リフレッシュブロック累積符号量とバッフ
ァメモリの占有率から決まるマクロブロック量子化レベ
ルとDCT回路14の出力係数を入力し、リフレッシュ
ブロック量子化レベルを出力する。
The refresh block quantization level setting circuit 46 inputs the macro block quantization level determined by the refresh block cumulative code amount and the buffer memory occupancy rate and the output coefficient of the DCT circuit 14, and outputs the refresh block quantization level. ..

【0151】先ずリフレッシュブロックの符号量のコン
トロールに関して説明する。
First, the control of the code amount of the refresh block will be described.

【0152】図20は、詳細は後述するが、リフレッシ
ュブロック符号量算出回路45の出力信号により、量子
化レベルを設定する際の設定方法を示している。この例
では、VTRのヘッドスキャンが1スキャンで、1フレ
ームの映像信号の平均符号量を記録する場合について述
べる。また、特殊再生速度は2倍速を実現する場合を述
べる。実施例では1フレーム当り240個のリフレッシ
ュブロックが存在するため、1セクター当り120個の
リフレッシュブロックを記録する。これに関して、詳し
く説明する。
FIG. 20, which will be described in detail later, shows a setting method when the quantization level is set by the output signal of the refresh block code amount calculating circuit 45. In this example, the case where the head scan of the VTR is one scan and the average code amount of the video signal of one frame is recorded will be described. In addition, a case will be described in which the special reproduction speed is doubled. In the embodiment, since there are 240 refresh blocks per frame, 120 refresh blocks are recorded per sector. This will be described in detail.

【0153】図21(a),(b)は、1画面内のリフ
レッシュブロックと、さらにリフレッシュブロックを分
割した際の分割手法を示している。図21(a)内に示
したFn はn番目のフレームの画面を示している。ま
た、Gn はn番目のフレームにおけるリフレッシュブロ
ックを示している。このリフレッシュブロックは240
個存在している。さらに、画面の左側に示したG
n (0)、Gn (1)は、240個のリフレッシュブロ
ックを上下方向に2等分したリフレッシュブロックをそ
れぞれ示している。すなわち、Gn (0)はGn のリフ
レッシュブロックのうち画面の上方に存在する120個
のリフレッシュブロックを示している。Gn (1)は、
画面の下方の領域におけるリフレッシュブロックを示し
ており、120個のリフレッシュブロックが含まれる。
図21(b)には、フレーム番号Fn+1 のリフレッシュ
ブロックを示しており、Gn+1 (0)〜Gn+1 (1)の
定義は、図21(a)と同様である。
21 (a) and 21 (b) show a refresh block in one screen and a dividing method when the refresh block is further divided. F n shown in FIG. 21A shows the screen of the nth frame. Further, G n represents a refresh block in the nth frame. This refresh block is 240
There are individuals. In addition, G shown on the left side of the screen
n (0) and G n (1) indicate refresh blocks obtained by dividing 240 refresh blocks into two equal parts in the vertical direction. That is, G n (0) indicates 120 refresh blocks existing above the screen among the G n refresh blocks. G n (1) is
The refresh block in the lower area of the screen is shown and includes 120 refresh blocks.
FIG. 21B shows the refresh block of frame number F n + 1 , and the definitions of G n + 1 (0) to G n + 1 (1) are the same as in FIG. 21 (a). ..

【0154】次に、VTRのトラックパターンについて
説明する。図22は、磁気テープ26上のトラックパタ
ーンを示している。T0 〜T11は、回転ヘッド30を用
いて記録したトラックを示している。ここでは、1フレ
ームの平均発生符号量を1トラックに記録する場合を説
明する。すなわち、前述したC=1の場合について説明
する。これは、前記b=240個のリフレッシュブロッ
クを1本のトラックに記録する場合に相当している。つ
まり、フレーム番号Fn のリフレッシュブロックG
n は、トラックTn に記録されることになる。
Next, the track pattern of the VTR will be described. FIG. 22 shows a track pattern on the magnetic tape 26. T 0 to T 11 indicate tracks recorded by using the rotary head 30. Here, a case where the average generated code amount of one frame is recorded on one track will be described. That is, the case of C = 1 described above will be described. This corresponds to the case where the b = 240 refresh blocks are recorded on one track. That is, the refresh block G having the frame number F n
n will be recorded on track T n .

【0155】この構成において、2倍速の再生を行なう
場合、再生ヘッドは2本のトラックを横切ることにな
る。そこで、1本のトラックを略等分に2分割した1/
2の領域を再生しながら、2本のトラックに跨がって再
生信号を得ることになる。ここで、2分割した1つの部
分をセクタと称すれば、1フレーム当たり1本のトラッ
クを構成しているため図22に示すように2個のセクタ
番号S0 ,S1 を割り当てる。
In this structure, when reproducing at a double speed, the reproducing head will cross two tracks. Therefore, one track is divided into two equal parts.
While reproducing the area of 2, the reproduction signal is obtained over two tracks. Here, if one part divided into two is called a sector, one track is formed per frame, so that two sector numbers S 0 and S 1 are assigned as shown in FIG.

【0156】なお、一般的には、1本のトラックを略等
分にd分割した領域をセクタと名付けることにする。
Incidentally, in general, an area obtained by dividing one track into approximately equal parts is named a sector.

【0157】i倍速の高速再生を実現するためには、ヘ
ッドは、i本のトラックを跨がることになるため、1本
のトラックは1/iの領域を再生されることになる。そ
こで、最高の高速再生速度をimax とすると、imax
dの関係に設定する。そして、セクタ名をS0 〜Sd-1
で表わす。
In order to realize high-speed reproduction at i-times speed, the head is to straddle i tracks, so that one track is reproduced in an area of 1 / i. Therefore, assuming that the maximum high-speed playback speed is i max , i max
Set to the relationship of d. Then, the sector names are S 0 to S d-1
Express with.

【0158】次に、リフレッシュブロックとセクタの関
係を説明する。フレーム番号nのリフレッシュブロック
n を1本のトラックTn に記録する際に、Gn (0)
…S0 ,Gn (1)…S1 となるように記録する。
Next, the relationship between the refresh block and the sector will be described. When recording the refresh block G n of the frame number n in one track T n, G n (0)
... S 0 , G n (1) ... S 1 is recorded.

【0159】ここで、1セクタ内に入るリフレッシュブ
ロック数を均等に配置したとすると、1セクタに入るリ
フレッシュブロック数は以下のようになる。つまり、1
フレーム当たりのリフレッシュブロック数をb、b個の
リフレッシュブロックを記録するトラック数をc、トラ
ックの分割数をd、1セクタ内に入るリフレッシュブロ
ック数をeとすると、e=b/c×dとなる。すなわち
e=240/1×2=120となる。
If the number of refresh blocks in one sector is evenly arranged, the number of refresh blocks in one sector is as follows. That is, 1
If the number of refresh blocks per frame is b, the number of tracks for recording b refresh blocks is c, the number of track divisions is d, and the number of refresh blocks in one sector is e, then e = b / c × d Become. That is, e = 240/1 × 2 = 120.

【0160】図22において、X0 〜X4 のヘッドトレ
ースが2倍速時のヘッド軌跡を表わしている。すなわ
ち、X0 のヘッドトレースにおいては、トラックT0
セクタS0 (リフレッシュブロックG0 (0))、トラ
ックT1 のセクタS1 (リフレッシュブロックG
1 (1)),トラックT2 のセクタS0 (リフレッシュ
ブロックG2 (0))を再生できることを示している。
In FIG. 22, the head traces X 0 to X 4 represent the head locus at double speed. That is, in the head trace X 0, sector S 0 of the track T 0 (refresh block G 0 (0)), the sector S 1 of the track T 1 (refresh block G
1 (1)), sector S 0 (refresh block G 2 (0)) of track T 2 can be reproduced.

【0161】ここで、テープ上の記録媒体のセクタ
0 ,S1 に記録できる記録容量は決まっているので、
この記録容量以内にリフレッシュブロックGn (0),
n (1)の発生符号量をおさえなくてはならない。
Here, since the recording capacity which can be recorded in the sectors S 0 and S 1 of the recording medium on the tape is determined,
Within this recording capacity, the refresh block G n (0),
The generated code amount of G n (1) must be suppressed.

【0162】図20において、横軸はリフレッシュブロ
ック番号を示す。本実施例では、2セクタで1フレーム
のリフレッシュブロックを記録するためセクタ0のリフ
レッシュブロック番号とセクタ1のリフレッシュブロッ
ク番号を示した。また、この例では、120リフレッシ
ュブロックで1セクタの記録符号量α/2を越えないよ
うにする。
In FIG. 20, the horizontal axis represents the refresh block number. In this embodiment, the refresh block number of the sector 0 and the refresh block number of the sector 1 are shown to record the refresh block of one frame in two sectors. Further, in this example, the recording code amount α / 2 of one sector is not exceeded in 120 refresh blocks.

【0163】図20の縦軸はリフレッシュブロックの符
号量を示している。最大符号量は前述したようにα/2
に設定する。ここでは仮にα/2=250Kビットとす
る。図20(a)中、実線Cはリフレッシュブロックの
目標符号量であり、この線を越えない様に発生符号量を
コントロールする。なお、この実線Cは制御のための一
例であるため、直線である必要もなく、必要であるのは
1セクタ当りの発生符号量をα/2におさえることであ
る。折れ線Dは、リフレッシュブロック累積符号量の変
化の例を示す線である。これはリフレッシュブロック符
号量算出回路45の出力信号を示している。リフレッシ
ュブロック目標符号量(実線C)を越えないように量子
化レベルを決定する。
The vertical axis of FIG. 20 shows the code amount of the refresh block. The maximum code amount is α / 2 as described above.
Set to. Here, it is assumed that α / 2 = 250 K bits. In FIG. 20A, the solid line C is the target code amount of the refresh block, and the generated code amount is controlled so as not to exceed this line. Since this solid line C is an example for control, it need not be a straight line, and what is necessary is to suppress the generated code amount per sector to α / 2. The polygonal line D is a line showing an example of changes in the refresh block cumulative code amount. This shows the output signal of the refresh block code amount calculation circuit 45. The quantization level is determined so that the refresh block target code amount (solid line C) is not exceeded.

【0164】図23にマクロブロック量子化レベルと、
リフレッシュブロックの量子化レベルの設定例に関して
述べる。
FIG. 23 shows macroblock quantization levels,
An example of setting the quantization level of the refresh block will be described.

【0165】図18に示したように、先ずバッファメモ
リからの占有率によりマクロブロックの量子化レベルを
決定する。このマクロブロックの量子化レベルに対し、
量子化レベルを必要に応じて増加させることにより、発
生符号量を減少させる方向にのみ、リフレッシュブロッ
クの量子化レベルを設定する。このマクロブロックの量
子化レベルと、リフレッシュブロックの量子化レベルの
差の量子化レベルを示す量子化レベル補正用レベルは付
加データとして伝送することが可能である。
As shown in FIG. 18, first, the quantization level of the macroblock is determined by the occupation rate from the buffer memory. For the quantization level of this macroblock,
By increasing the quantization level as necessary, the quantization level of the refresh block is set only in the direction of decreasing the generated code amount. The quantization level correction level indicating the quantization level of the difference between the quantization level of the macro block and the quantization level of the refresh block can be transmitted as additional data.

【0166】図23において横軸はマクロブロックの量
子化レベルj=31〜0を示している。j=31で符号
が発生しない状態、j=0で最大の符号量が発生する状
態を示している。さらに、この下に記入した数字は、量
子化レベル補正用レベルを示すために用いるビット数の
例を示している。
In FIG. 23, the horizontal axis represents the quantization level j = 31 to 0 of the macro block. It shows a state where no code is generated when j = 31 and a state where the maximum code amount is generated when j = 0. Further, the numbers entered below this are examples of the number of bits used to indicate the quantization level correction level.

【0167】縦軸は、リフレッシュブロックの量子化レ
ベルj=31〜0を示している。図中の○印はリフレッ
シュブロックとして取り得る量子化レベルを示してい
る。いずれもマクロブロック量子化レベルより符号発生
量が減少する量子化レベルを割り当ててある。
The vertical axis represents the quantization level j = 31 to 0 of the refresh block. A circle mark in the drawing indicates a quantization level that can be taken as a refresh block. In each case, a quantization level that reduces the code generation amount is assigned to the macroblock quantization level.

【0168】リフレッシュブロック量子化レベル設定回
路46には、DCT回路14の出力信号を入力している
ため、リフレッシュブロック蓄積符号量と比較すること
により、リフレッシュブロック目標符号量を越えない様
に、量子化テーブルを選ぶことが可能である。
Since the output signal of the DCT circuit 14 is input to the refresh block quantization level setting circuit 46, by comparing with the refresh block accumulated code amount, the quantum value is set so that the refresh block target code amount is not exceeded. It is possible to choose a chemical table.

【0169】図20(b)を用いて詳細に説明する。Details will be described with reference to FIG.

【0170】図20(b)は、図20(a)の横軸を拡
大した図である。リフレッシュブロック番号80から8
1への量子化レベルの決定の仕方を図20(b)を用い
て説明する。先ず、リフレッシュブロック符号量算出回
路45から、リフレッシュブロック番号80までの符号
量は算出されており、図20(b)のEで示される符号
量になっていたとする。また、目標符号量はリフレッシ
ュブロック番号により決まり、リフレッシュブロック番
号81では図20(b)のFで示される符号量になって
いたとする。
FIG. 20 (b) is an enlarged view of the horizontal axis of FIG. 20 (a). Refresh block number 80 to 8
A method of determining the quantization level to 1 will be described with reference to FIG. First, it is assumed that the refresh block code amount calculation circuit 45 has calculated the code amounts up to the refresh block number 80, which is the code amount indicated by E in FIG. Further, it is assumed that the target code amount is determined by the refresh block number, and the refresh block number 81 has the code amount indicated by F in FIG.

【0171】マクロブロック量子化レベルがj=15で
設定されていたとすると図23に示した量子化レベル関
係がある場合は、リフレッシュブロック量子化レベルと
してはj=15,19,23,27が設定可能である。
Assuming that the macroblock quantization level is set at j = 15, if the quantization level relationship shown in FIG. 23 exists, j = 15, 19, 23, 27 is set as the refresh block quantization level. It is possible.

【0172】リフレッシュブロック量子化レベル設定回
路46には、DCT回路14の出力信号として映像信号
をDCTした係数の信号が入力されているため、量子化
レベルをj=15,19,23,27に設定した際の発
生符号量を計算できる。この結果がそれぞれG,H,
I,Jで決まったとする。この発生符号量G,H,I,
Jと目標符号量Fとを比較し、Iの符号量となるリフレ
ッシュブロック量子化レベルj=23を選ぶことができ
る。
Since the refresh block quantization level setting circuit 46 is supplied with the coefficient signal obtained by DCT of the video signal as the output signal of the DCT circuit 14, the quantization level is set to j = 15, 19, 23, 27. The generated code amount when set can be calculated. The results are G, H,
Suppose it is decided by I and J. This generated code amount G, H, I,
By comparing J with the target code amount F, it is possible to select the refresh block quantization level j = 23 which is the code amount of I.

【0173】この様にリフレッシュブロックの符号量を
制御し、前述した符号入れ替え回路39、インデックス
挿入回路41に入力し記録することにより、高速再生を
行った時に、確実にリフレッシュを行うことが可能とな
る。
In this way, by controlling the code amount of the refresh block and inputting it to the above-mentioned code exchange circuit 39 and index insertion circuit 41 for recording, it is possible to surely perform refresh at the time of high speed reproduction. Become.

【0174】なお、この発明は上記各実施例に限定され
るものではなく、この外その要旨を逸脱しない範囲で種
々変形して実施することができる。
The present invention is not limited to the above embodiments, but can be variously modified and implemented without departing from the scope of the invention.

【0175】[0175]

【発明の効果】以上詳述したようにこの発明によれば、
高速再生時に良好な再生画像を容易に得ることができる
極めて良好な帯域圧縮処理装置を提供することができ
る。
As described in detail above, according to the present invention,
It is possible to provide an extremely good band compression processing device that can easily obtain a good reproduced image during high-speed reproduction.

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

【図1】この発明に係る帯域圧縮処理装置の一実施例を
示すブロック構成図。
FIG. 1 is a block configuration diagram showing an embodiment of a band compression processing device according to the present invention.

【図2】同実施例の動作を説明するために示すタイミン
グ図。
FIG. 2 is a timing chart shown for explaining the operation of the embodiment.

【図3】同実施例におけるフレーム番号F5 ,F6 のリ
フレッシュブロックと非リフレッシュブロックとの関係
を示す図。
FIG. 3 is a view showing a relationship between refresh blocks having frame numbers F 5 and F 6 and non-refresh blocks in the embodiment.

【図4】同実施例におけるトラックパターンを示す図。FIG. 4 is a diagram showing a track pattern in the same embodiment.

【図5】同実施例における2倍速再生時のヘッドトレー
ス軌跡を示す図。
FIG. 5 is a diagram showing a head trace locus during double speed reproduction in the example.

【図6】同実施例におけるフレーム1〜8までの再生可
能なリフレッシュブロックを示す図。
FIG. 6 is a diagram showing refreshable refresh blocks of frames 1 to 8 in the embodiment.

【図7】同実施例におけるフレーム9〜11までの再生
可能なリフレッシュブロック及び11フレーム蓄積した
リフレッシュブロックを示す図。
FIG. 7 is a diagram showing a reproducible refresh block of frames 9 to 11 and a refresh block in which 11 frames are accumulated in the embodiment.

【図8】DCT係数をジグザグスキャンする際のスキャ
ン順序を示す図。
FIG. 8 is a diagram showing a scan order when performing zigzag scanning of DCT coefficients.

【図9】量子化テーブルの例を示す図。FIG. 9 is a diagram showing an example of a quantization table.

【図10】重みづけテーブルの例を示す図。FIG. 10 is a diagram showing an example of a weighting table.

【図11】同重みづけテーブルをビット数に変換した例
を示す図。
FIG. 11 is a diagram showing an example in which the same weighting table is converted into the number of bits.

【図12】量子化テーブルによる発生ビット数を示す
図。
FIG. 12 is a diagram showing the number of generated bits based on a quantization table.

【図13】量子化テーブルによる発生ビット数を示す
図。
FIG. 13 is a diagram showing the number of generated bits based on a quantization table.

【図14】レートバッファの構成を示す図。FIG. 14 is a diagram showing a configuration of a rate buffer.

【図15】エンコーダ側のレートバッファの動作を示す
図。
FIG. 15 is a diagram showing an operation of a rate buffer on the encoder side.

【図16】デコーダ側のレートバッファの動作を示す
図。
FIG. 16 is a diagram showing the operation of the rate buffer on the decoder side.

【図17】バッファの占有度と量子化レベルの増減を示
す図。
FIG. 17 is a diagram showing increase / decrease in buffer occupancy and quantization level.

【図18】この発明の他の実施例を示す図。FIG. 18 is a diagram showing another embodiment of the present invention.

【図19】可変長符号化を行った際の発生符号量を示す
図。
FIG. 19 is a diagram showing a generated code amount when variable length coding is performed.

【図20】リフレッシュブロックの符号量の制御の動作
を示す図。
FIG. 20 is a diagram showing an operation of controlling the code amount of a refresh block.

【図21】同実施例におけるフレーム番号Fn ,Fn+1
のリフレッシュブロックと非リフレッシュブロックとの
関係を示す図。
FIG. 21 is a diagram showing frame numbers F n and F n + 1 in the same embodiment.
FIG. 6 is a diagram showing the relationship between refresh blocks and non-refresh blocks of FIG.

【図22】同実施例における2倍速再生時のヘッドトレ
ース軌跡を示す図。
FIG. 22 is a diagram showing a head trace locus during double speed reproduction in the example.

【図23】マクロブロックとリフレッシュブロックの量
子化レベルの例を示す図。
FIG. 23 is a diagram showing an example of quantization levels of a macro block and a refresh block.

【図24】従来の帯域圧縮システムを示すブロック構成
図。
FIG. 24 is a block diagram showing a conventional band compression system.

【図25】同従来システムから送出される信号のフォー
マットを示す図。
FIG. 25 is a diagram showing a format of a signal transmitted from the conventional system.

【図26】同従来システムにおける通常再生時にフレー
ム1〜8までの再生可能なリフレッシュブロックを示す
図。
FIG. 26 is a diagram showing refresh blocks that can be reproduced in frames 1 to 8 during normal reproduction in the conventional system.

【図27】同従来システムにおける通常再生時にフレー
ム9〜11までの再生可能なリフレッシュブロック及び
11フレーム蓄積したリフレッシュブロックを示す図。
FIG. 27 is a diagram showing refreshable blocks that can be played back from frames 9 to 11 and refresh blocks that have accumulated 11 frames during normal playback in the conventional system.

【図28】同従来システムにおけるトラックパターンを
示す図。
FIG. 28 is a diagram showing a track pattern in the conventional system.

【図29】同従来システムにおける2倍速再生時のヘッ
ドトレース軌跡を示す図。
FIG. 29 is a diagram showing a head trace locus during double-speed reproduction in the conventional system.

【図30】同従来システムにおける2倍速再生時にフレ
ーム1〜8までの再生可能なリフレッシュブロックを示
す図。
FIG. 30 is a diagram showing refresh blocks capable of reproducing frames 1 to 8 during double speed reproduction in the conventional system.

【図31】同従来システムにおける2倍速再生時にフレ
ーム9〜11までの再生可能なリフレッシュブロック及
び11フレーム蓄積したリフレッシュブロックを示す
図。
FIG. 31 is a diagram showing refreshable blocks that can be played back from frames 9 to 11 and refresh blocks that have accumulated 11 frames during double-speed playback in the conventional system.

【図32】他の従来例を示す図。FIG. 32 is a view showing another conventional example.

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

11…入力端子、12…減算回路、13…動き評価回
路、14…DCT回路、15…量子化回路、16…可変
長符号化回路、17…FIFO回路、18…出力端子、
19…逆量子化回路、20…逆DCT回路、21…加算
回路、22…フレーム遅延回路、23…動き補償回路、
24,25…スイッチ、26…磁気テープ、27…入力
端子、28…SYNC信号検出回路、29…トラック形
成信号発生回路、30…回転ドラム、31…トラック形
成制御回路、32,33…入力端子、34,35…デシ
メータ、36…入力端子、37…マルチプレクサ、38
…トラック、39…符号入れ替え回路、40…リフレッ
シュブロック制御回路、41…インデックス挿入回路、
42…インデックス発生回路、43…マルチプレクサ、
44…量子化レベル設定回路、45…リフレッシュブロ
ック符号量算出回路、46…リフレッシュブロック量子
化レベル設定回路、47…ブロック符号量算出回路。
11 ... Input terminal, 12 ... Subtraction circuit, 13 ... Motion evaluation circuit, 14 ... DCT circuit, 15 ... Quantization circuit, 16 ... Variable length coding circuit, 17 ... FIFO circuit, 18 ... Output terminal,
19 ... Inverse quantization circuit, 20 ... Inverse DCT circuit, 21 ... Addition circuit, 22 ... Frame delay circuit, 23 ... Motion compensation circuit,
24, 25 ... Switch, 26 ... Magnetic tape, 27 ... Input terminal, 28 ... SYNC signal detecting circuit, 29 ... Track forming signal generating circuit, 30 ... Rotating drum, 31 ... Track forming control circuit, 32, 33 ... Input terminal, 34, 35 ... Decimator, 36 ... Input terminal, 37 ... Multiplexer, 38
... track, 39 ... code exchange circuit, 40 ... refresh block control circuit, 41 ... index insertion circuit,
42 ... Index generating circuit, 43 ... Multiplexer,
44 ... Quantization level setting circuit, 45 ... Refresh block code amount calculating circuit, 46 ... Refresh block quantization level setting circuit, 47 ... Block code amount calculating circuit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 1画面の映像信号にa個(aは正の整
数)の画像領域を形成し、この映像信号に対して、フレ
ーム内の情報を用いてフレーム内符号化処理を施したフ
レーム内処理信号と、フレーム間の差分情報を用いてフ
レーム間符号化処理を施したフレーム間処理信号とを作
成し、前記フレーム内符号化処理の後は前記フレーム間
符号化処理を施し、この信号処理方式を入力映像信号の
動き評価に応じて適応的に繰り返す帯域圧縮手段と、 fフレーム(fはf≧2の整数)を周期とし1フレーム
毎に前記a個の領域のうちb個づつの画像領域の信号に
周期的に前記フレーム内符号化処理を施すリフレッシュ
符号化処理手段と、 該リフレッシュ符号化処理を施した、リフレッシュブロ
ックの発生符号量を算出する回路と、所定数のリフレッ
シュブロックで所定の最大符号量を越えないように、リ
フレッシュブロックの発生符号量を制御する手段とを具
備したことを特徴とする帯域圧縮処理装置。
1. A frame in which a (a is a positive integer) image area is formed in a video signal of one screen, and the video signal is subjected to intraframe coding processing using information in the frame. An intra-processed signal and an inter-frame processed signal that has been subjected to inter-frame encoded processing using difference information between frames are created, and after the intra-frame encoded processing, the inter-frame encoded processing is applied, and this signal A band compression unit that adaptively repeats the processing method according to the motion evaluation of the input video signal, and f frames (f is an integer of f ≧ 2) as a cycle, and b units of the a regions are set for each frame Refresh encoding processing means for periodically performing the intraframe encoding processing on the signal in the image area, a circuit for calculating the generated code amount of the refresh block subjected to the refresh encoding processing, and a predetermined number of refreshes So as not to exceed the predetermined maximum encoding amount in block, band compressor system being characterized in that and means for controlling the generation code amount of the refresh blocks.
【請求項2】 1画面の映像信号にa個(aは正の整
数)の画像領域を形成し、この映像信号に対して、フレ
ーム内の情報を用いてフレーム内符号化処理を施したフ
レーム内処理信号と、フレーム間の差分情報を用いてフ
レーム間符号化処理を施したフレーム間処理信号とを作
成し、前記フレーム内符号化処理の後は前記フレーム間
符号化処理を施し、この信号処理方式を入力映像信号の
動き評価に応じて適応的に繰り返す帯域圧縮手段と、 fフレーム(fはf≧2の整数)を周期とし前記a個の
画像領域の信号に周期的に前記フレーム内符号化処理を
施すリフレッシュ符号化処理手段とを備え、 前記リフレッシュ符号化処理の発生符号量を算出する回
路と、該リフレッシュ符号化発生符号量算出回路の出力
信号により、前記リフレッシュ符号化処理の量子化レベ
ルを設定する回路と、前記リフレッシュ符号化処理を施
さない非リフレッシュ符号化処理と前記リフレッシュ符
号化処理の合計の符号量を算出する符号量算出回路と、
該符号量算出回路の出力信号で前記非リフレッシュ符号
化処理の量子化レベルを設定する回路を有したことを特
徴とする帯域圧縮処理装置。
2. A frame in which a (a is a positive integer) image region is formed in a video signal of one screen, and the video signal is subjected to intraframe coding processing using information in the frame. An intra-processed signal and an inter-frame processed signal that has been subjected to inter-frame encoded processing using difference information between frames are created, and after the intra-frame encoded processing, the inter-frame encoded processing is applied, and this signal A band compression means that adaptively repeats the processing method according to the motion evaluation of the input video signal; and a period of f frames (where f is an integer of f ≧ 2) as the period of a signals of the a image regions. Refresh code processing means for performing a coding process, a circuit for calculating the generated code amount of the refresh coding process, and the refresh code by the output signal of the refresh code generated code amount calculation circuit. A circuit for setting the quantization levels of the process, the code amount calculation circuit for calculating the sum of the code amount of the refresh encoding a non-refresh encoding process is not applied the refresh encoding process,
A band compression processing apparatus comprising a circuit for setting a quantization level of the non-refresh coding processing with an output signal of the code amount calculation circuit.
【請求項3】 上記のリフレッシュブロックの符号量制
御手段を有した信号処理手段は、磁気記録再生装置に設
けられており、前記所定の最大符号量とは、ヘッドの1
スキャンで形成されるPトラックの記録符号量αである
ことを特徴とする請求項1記載の帯域圧縮処理装置。
3. The signal processing means having the code amount control means for the refresh block is provided in a magnetic recording / reproducing apparatus, and the predetermined maximum code amount means 1 of the head.
2. The band compression processing apparatus according to claim 1, wherein the recording code amount α of the P track formed by scanning.
【請求項4】 高速再生速度をi(iは正の整数)と
し、高速逆転再生速度をk=2−iとし、1フレーム当
りの平均符号量をcスキャンで記録する装置において、
ヘッドの1スキャン当りの記録符号量αに対し、α/c
×iの最大符号量以内に、前記b個のうちb/c×i個
のリフレッシュブロックの発生符号量をおさえることを
特徴とする請求項1記載の帯域圧縮処理装置。
4. An apparatus for recording an average code amount per frame by c-scan, wherein the high-speed reproduction speed is i (i is a positive integer), the high-speed reverse reproduction speed is k = 2-i,
Α / c for the print code amount α per head scan
2. The band compression processing device according to claim 1, wherein the generated code amount of b / c × i refresh blocks of the b blocks is suppressed within a maximum code amount of × i.
JP9488692A 1991-09-30 1992-03-23 Bandwidth compression processor Expired - Fee Related JP3152730B2 (en)

Priority Applications (9)

Application Number Priority Date Filing Date Title
JP9488692A JP3152730B2 (en) 1992-03-23 1992-03-23 Bandwidth compression processor
EP92116707A EP0536630B1 (en) 1991-09-30 1992-09-30 Band-compressed signal processing apparatus and VTR
EP99106820A EP0935397B1 (en) 1991-09-30 1992-09-30 Band-compressed signal recording/reproducing processing apparatus
EP08153397A EP1947864A3 (en) 1991-09-30 1992-09-30 Band-compressed signal recording/reproducing processing apparatus
US07/954,037 US5450209A (en) 1991-09-30 1992-09-30 Band-compressed signal processing apparatus
DE69233538T DE69233538T2 (en) 1991-09-30 1992-09-30 Device for processing band-compressed signals for recording / playback
KR1019920017870A KR970007530B1 (en) 1991-09-30 1992-09-30 Band Compression Signal Processing Unit
EP03001127A EP1320268A1 (en) 1991-09-30 1992-09-30 Band-compressed signal recording/reproducing processing apparatus
DE69230310T DE69230310T2 (en) 1991-09-30 1992-09-30 Device for processing band-compressed signals and VTR

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9488692A JP3152730B2 (en) 1992-03-23 1992-03-23 Bandwidth compression processor

Publications (2)

Publication Number Publication Date
JPH05268568A true JPH05268568A (en) 1993-10-15
JP3152730B2 JP3152730B2 (en) 2001-04-03

Family

ID=14122532

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9488692A Expired - Fee Related JP3152730B2 (en) 1991-09-30 1992-03-23 Bandwidth compression processor

Country Status (1)

Country Link
JP (1) JP3152730B2 (en)

Also Published As

Publication number Publication date
JP3152730B2 (en) 2001-04-03

Similar Documents

Publication Publication Date Title
US5537215A (en) Apparatus for processing band-compressed signals having inter-frame and intra-frame signals
US6101313A (en) High efficiency encoding and decoding of picture signals and recording medium containing same
US5374958A (en) Image compression based on pattern fineness and edge presence
JP3470335B2 (en) Decoding method and apparatus
JPH05234260A (en) Digital vtr
US20080285647A1 (en) Picture processing apparatus, picture processing method, picture processing program and recording medium
EP0600690A2 (en) Digital image recording
JP3152730B2 (en) Bandwidth compression processor
JP3175328B2 (en) Image coding device
EP0772366B1 (en) A digital recording/reproducing apparatus
JP3231833B2 (en) Band compression signal processor
KR100681992B1 (en) Recording device and method
JP3152729B2 (en) Bandwidth compression processor
JPH0993537A (en) Digital video signal recording and reproducing device and digital video signal coding method
JPH08237599A (en) Inter-frame band compression signal switching circuit
JPH0767113A (en) Inter-frame band compressing signal switching circuit
JPH0638171A (en) Band compression signal processing unit
JP3127629B2 (en) Error correction device for digital image signal
JP3105046B2 (en) Recording and playback device
JP4069823B2 (en) Special reproduction data creation device
JP3181411B2 (en) Band compression signal processor
JP3210425B2 (en) Recording and playback device
JP3082302B2 (en) Digital video signal recording / reproducing device
JPH08237665A (en) Intr-frame band compression signal switching circuit
JPH08265759A (en) Compression signal switching device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees