JPH08237599A - Inter-frame band compression signal switching circuit - Google Patents

Inter-frame band compression signal switching circuit

Info

Publication number
JPH08237599A
JPH08237599A JP3569395A JP3569395A JPH08237599A JP H08237599 A JPH08237599 A JP H08237599A JP 3569395 A JP3569395 A JP 3569395A JP 3569395 A JP3569395 A JP 3569395A JP H08237599 A JPH08237599 A JP H08237599A
Authority
JP
Japan
Prior art keywords
signal
frame
circuit
switching
inter
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.)
Pending
Application number
JP3569395A
Other languages
Japanese (ja)
Inventor
Kazuharu Niimura
一治 新村
Yumiko Kubo
由美子 久保
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
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP3569395A priority Critical patent/JPH08237599A/en
Publication of JPH08237599A publication Critical patent/JPH08237599A/en
Pending legal-status Critical Current

Links

Landscapes

  • Color Television Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Image Processing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

PURPOSE: To attain a switched image of high quality by outputting only the valid signal for which an intra-frame coding processing is performed once without outputting the image by a difference signal when plural inter-frame band compression signals are switched. CONSTITUTION: When an inter-frame coding processing is executed, both of switches 24 and 25 are turned on. Therefore, the signal corresponding to the difference of an input video signal and the video signal before the one frame is obtained from a subtraction circuit 12. This difference signal is inputted in a DCT circuit 14, the signal is converted from a time base area to a frequency axis area and the signal is quantized in a quantization circuit 15. Because the difference signal and the video signal are added in an addition circuit 21 and are inputted in a frame delay circuit 22, the predictive video signal predicting the input video signal to be the base for preparing the difference signal is prepared and is inputted. By continuously outputting the valid block of the signal for which the intra-frame processing is performed once as a matter of practice the excellent image quality is obtained at the time of switching signals.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、映像信号等をデジタ
ル信号に変換し、フレーム内(ピクチャ内を含む)符号
化処理と、フレーム間(ピクチャ間を含む)符号化処理
とを組み合わせた帯域圧縮を行なう装置に係り、複数の
帯域圧縮装置の出力信号を合成する装置に関する。帯域
圧縮信号合成装置としては、スイッチャーまたは記録再
生装置の編集装置などが上げられる。また、この発明
は、高品位TV(テレビジョン)などの広帯域な信号を
画質劣化なく切り替えたり、編集を施すことができる装
置を提供するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is a band in which a video signal or the like is converted into a digital signal, and an intra-frame (including intra-picture) encoding process and an inter-frame (including inter-picture) encoding process are combined. The present invention relates to a device that performs compression, and relates to a device that synthesizes output signals of a plurality of band compression devices. Examples of the band compression signal synthesizer include a switcher or an editing device of a recording / reproducing device. The present invention also provides a device capable of switching or editing a wideband signal such as a high-definition TV (television) without deterioration of image quality.

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

【0004】そして、量子化回路15から出力された係
数データは、単位ブロック毎に低域より高域へジグザグ
・スキャンされて取り出された後、可変長符号化回路1
6に入力されて、零係数の続く数(ラン・レングス)と
非零係数とを1組にして可変長符号化される。なお、符
号器は、ハフマン符号等の発生頻度により符号長の異な
る可変長符号器である。そして、可変長符号化されたデ
ータは、FIFO(ファースト・イン・ファースト・ア
ウト)回路17に入力されて規定の速度で読み出された
後、出力端子18を介して図示しない次段のマルチプレ
クサー[制御信号、音声データ、同期データ(SYN
C)、後述するNMP等を多重する]に供給され、伝送
路へ送出される。FIFO回路17は、可変長符号化回
路16の出力が可変レートであり、伝送路のレートが固
定レートであるため、この発生符号量と送出符号量の違
いを吸収するバッファの役目をしている。
The coefficient data output from the quantization 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 by combining the number of zero coefficients (run length) 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. Then, 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 in the next stage (not shown). [Control signal, voice data, sync data (SYN
C), NMP and the like described later are multiplexed] and sent 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 each other. 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を介して伝送
路へ出力される。量子化された信号は、逆量子化回路1
9及び逆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 intraframe 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. This 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 the inverse quantization circuit 1
9 and the inverse DCT circuit 20 restores the original signal, and the frame delay circuit 22 delays it. 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 coding process is performed in a proper cycle in units of predetermined blocks and scene changes of the input video signal. This periodic intra-frame encoding process will be described later.

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

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

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

【0010】次に、上記の帯域圧縮システムで処理する
画素の集合の定義を説明する。すなわち、 ブロック:水平方向8画素、垂直方向8画素から構成さ
れる64画素の領域のことである。
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.

【0011】スーパーブロック:輝度信号の水平方向4
ブロック、垂直方向2ブロックからなる領域のことであ
る。この領域に、色信号U、Vとしての1ブロックづつ
が含まれる。また、動き評価回路13から得られる画像
動きベクトルは、スーパーブロック単位で含まれる。
Super block: 4 in the horizontal direction of the luminance signal
A block is an area composed of two blocks in the vertical direction. 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.

【0012】マクロブロック:水平方向の11のスーパ
ーブロックのことである。また、符号が伝送される際に
は、ブロックのDCT係数は、零係数の連続数と、非零
係数の振幅により決められた符号とに変換され、それら
が組になって伝送され、ブロックの最後にはエンド・オ
ブ・ブロック信号が付加されている。そして、スーパー
ブロック単位で行なわれた動き補正の動きベクトルは、
マクロブロック単位で付加されて伝送される。
Macroblock: 11 superblocks in the horizontal direction. In addition, 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. Finally, an end of block signal is added. Then, the motion vector of the motion correction performed in units of super blocks is
It is added and transmitted in macroblock units.

【0013】図33に示した伝送信号について、以後、
特に関連ある事項について、さらに説明を加える。第1
ラインの同期(SYNC)信号は、デコーダにおいてフ
レームの同期信号を示しており、1フレームにつき1つ
の同期信号を用いてデコーダの全てのタイミング信号が
作りだされる。第1ラインのNMP信号は、この信号の
終りから次のフレームのマクロブロックの初めまでのビ
デオデータ数を示している。これは、フレーム内符号化
処理とフレーム間符号化処理とを適応的に切り換えて符
号を構成しているために、1フレームの符号量がフレー
ム毎に異なることになり、符号の位置が異なってくるた
めである。そこで、1フレームに相当する符号の位置を
NMP信号で示している。
Regarding the transmission signal shown in FIG. 33,
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.

【0014】また、使用者がチャンネルを変えた場合の
対策として、周期的フレーム内符号化処理が行なわれ
る。すなわち、この帯域圧縮システムでは、前述したよ
うに、水平方向の11のスーパーブロックをマクロブロ
ックと称しており、1画面の水平方向には、44スーパ
ーブロックが存在している。つまり、1フレームには、
水平方向に4マクロブロック、垂直方向に60マクロブ
ロックの合計240マクロブロックが存在することにな
る。
As a countermeasure when the user changes the channel, periodical intraframe coding processing is performed. That is, in this band compression system, as described above, 11 super blocks in the horizontal direction are called 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, which is 4 macroblocks in the horizontal direction and 60 macroblocks in the vertical direction.

【0015】そして、この帯域圧縮システムでは、図3
4(a)〜(h)及び図35(a)〜(c)に示すよう
に、4つのマクロブロック単位でそれぞれスーパーブロ
ックの縦の一列毎にリフレッシュが行なわれ、11フレ
ーム周期で全てのスーパーブロックがリフレッシュされ
る。すなわち、リフレッシュされたスーパーブロック
を、図35(d)に示すように、11フレーム分蓄積す
ることにより全ての領域においてフレーム内符号化処理
が行なわれることになる。このため、例えばVTR(ビ
デオ・テープレコーダ)等の通常再生時には、上記した
フレーム内符号化処理が11フレーム周期で行なわれる
ため、問題なく再生画像を見ることができる。
In this band compression system, FIG.
4 (a) to (h) and FIGS. 35 (a) to (c), refresh is performed in units of four macroblocks in each vertical column of superblocks, and all superframes are refreshed in 11 frame cycles. The block is refreshed. That is, as shown in FIG. 35 (d), the refreshed super block is accumulated for 11 frames, so that the intra-frame encoding process is performed in all the regions. Therefore, during normal reproduction of a VTR (video tape recorder) or the like, the above-described intra-frame encoding processing is performed at a cycle of 11 frames, so that a reproduced image can be viewed without any problem.

【0016】なお、上記マクロブロックの先頭には、ヘ
ッドデータが挿入されている。このヘッドデータには、
各スーパーブロックの動きベクトル、フィールド・フレ
ーム判定、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.

【0017】ところで、上記した帯域圧縮システムは、
テレビジョン信号の帯域圧縮のためのエンコーダとして
用いられ、受信側ではそのデコーダが用いられる。
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.

【0018】ここで、上記の伝送信号をVTRに記録す
ることを考える。一般的なVTRは、1フィールドの映
像信号を固定長符号に変換し、一定量の情報量を発生さ
せ、X本(Xは正の整数)のトラックに記録する方式で
ある。
Now, let us 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.

【0019】一方、上記帯域圧縮システムで得られた伝
送信号をそのまま用いてVTRに記録再生しようとする
と、フレーム内符号化処理及びフレーム間符号化処理し
た符号にそのまま可変長符号を用いることになるため、
周期的にフレーム内符号化処理した符号が記録される位
置が固定されず、編集,記録信号や再生信号の切り替
え,高速再生などにおいて、リフレッシュされないブロ
ックが発生することになる。
On the other hand, if the transmission signal obtained by the band compression system is used as it is for recording and reproduction on the VTR, the variable length code is used as it is for the intra-frame coding process and the inter-frame coding process. For,
The position where the code that has been subjected to the intraframe coding process is periodically recorded is not fixed, and a block that is not refreshed occurs during editing, switching of recording signals and reproduction signals, high-speed reproduction, and the like.

【0020】具体的に言えば、図36は、上記のように
可変長符号化された信号を磁気テープ26にヘリカル記
録した場合の、トラックパターンを示している。トラッ
クパターンT1 〜T11において、太線で示す部分がフレ
ームF1 〜F11の切り替わり位置を示している。フレー
ムF1 〜F11の切り替わり位置が揃っていないのは、可
変長符号により記録データが作成されているからであ
る。
More specifically, FIG. 36 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.

【0021】そして、この磁気テープ26は、VTRで
通常再生した場合には、全てのトラックパターンT1
11が磁気ヘッドにより順次スキャンされるため、その
再生出力をデコーダに通すことにより、何ら問題なく正
常な映像信号を再生することができる。すなわち、通常
再生時には、磁気テープ26に記録された、フレーム内
符号化処理した符号とフレーム間符号化処理した符号と
を全て再生することができるため、全ての符号を用いて
画像を構成できるからである。
When the magnetic tape 26 is normally reproduced by a VTR, all the track patterns T 1- .
Since T 11 is sequentially scanned by the magnetic head, a normal video signal can be reproduced without any problem by passing the reproduction output through the decoder. That is, at the time of normal reproduction, it is possible to reproduce all of the code that has been subjected to the intra-frame coding process and the code that has been subjected to the inter-frame coding process recorded on the magnetic tape 26, so that an image can be constructed using all the codes. Is.

【0022】しかしながら、VTRでは、編集等のよう
に、限られたトラックから再生する場合がある。この場
合、フレーム内符号化処理された信号のトラックから次
々と再生されれば問題ないが、フレーム間符号化処理さ
れたトラックから再生されると、差分信号による画像し
か得られないことになる。
However, in the VTR, there are cases where reproduction is performed from a limited number of tracks such as editing. 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 reproduced from the tracks subjected to the inter-frame coding process, only the image by the difference signal is obtained.

【0023】[0023]

【発明が解決しようとする課題】以上のように、従来の
帯域圧縮システムを備えたスイッチャや記録再生装置で
は、信号切り替え時や編集時に差分信号による画像しか
得られないという問題点を有している。また、従来の帯
域圧縮システムを備えたスイッチャにおいては、信号切
り替え時に、一度、フレーム内符号化処理が施された信
号が有効信号となるが、これを抽出する手段がないとい
う問題点を有している。
As described above, the conventional switcher and recording / reproducing apparatus having the band compression system have a problem that only an image based on a differential signal can be obtained at the time of signal switching or editing. There is. Further, in a switcher equipped with a conventional band compression system, when a signal is switched, a signal that has undergone intra-frame coding once becomes a valid signal, but there is a problem in that there is no means for extracting this. ing.

【0024】そこで、この発明は上記事情を考慮してな
されたもので、信号切り替え時や編集時に良好な再生画
像を容易に得ることができる極めて良好なフレーム間帯
域圧縮信号切り替え回路を提供することを目的とする。
また、高品位TVなどの広帯域な信号を高画質のままで
切り替えや編集ができる回路を提供することを目的とす
る。さらに、プログレッシブ・リフレッシュを有するフ
レーム間帯域圧縮でデコーダの入力信号切り替え時に、
フレーム内符号化処理を一度施した有効信号のみを出力
し、画像を早く出すことができる回路を提供することを
目的とする。
Therefore, the present invention has been made in view of the above circumstances, and provides an extremely good inter-frame band compression signal switching circuit which can easily obtain a good reproduced image at the time of signal switching or editing. With the goal.
Another object of the present invention is to provide a circuit capable of switching and editing a wideband signal such as that of a high-definition TV while maintaining high image quality. Furthermore, when switching the input signal of the decoder by inter-frame band compression with progressive refresh,
It is an object of the present invention to provide a circuit that can output an effective signal that has been subjected to intra-frame coding processing once and output an image quickly.

【0025】[0025]

【課題を解決するための手段】この発明に係るフレーム
間帯域圧縮信号切り替え回路は、周期的にフレーム内符
号化処理を施すリフレッシュ処理を有する2つのフレー
ム間帯域圧縮信号A,Bを、信号Aから信号Bに切り替
える回路において、一度フレーム内符号化処理を施した
B信号の有効ブロックの連続出力を発生するように構成
している。
An inter-frame band compression signal switching circuit according to the present invention converts two inter-frame band compression signals A and B having refresh processing for periodically performing intra-frame coding processing to signal A In the circuit for switching from the signal to the signal B, the continuous output of the effective block of the B signal, which has been subjected to the intraframe coding processing once, is generated.

【0026】また、この発明に係るフレーム間帯域圧縮
信号切り替え回路は、プログレッシブ・リフレッシュ処
理を有する2つのフレーム間帯域圧縮信号A,Bを、信
号Aから信号Bに切り替える回路において、一度フレー
ム内符号化処理を施したB信号の有効ブロックを連続に
出力する回路と、B信号の切り替え時のリフレッシュ期
間における有効ブロックの総符号量と通常のB信号の開
始時のレートバッファ占有度,A信号のそれぞれのフレ
ームにおけるレートバッファ占有度,A信号の伝送レー
トを用いて切り替え時の符号量を決定し、信号切り替え
を行なうように構成している。
Further, the inter-frame band compression signal switching circuit according to the present invention is a circuit for switching the two inter-frame band compression signals A and B having the progressive refresh processing from the signal A to the signal B once. Circuit for continuously outputting the effective block of the B signal subjected to the conversion process, the total code amount of the effective block in the refresh period at the time of switching the B signal, the rate buffer occupancy at the start of the normal B signal, and the A signal The rate buffer occupancy in each frame and the transmission rate of the A signal are used to determine the code amount at the time of switching, and signal switching is performed.

【0027】さらに、この発明に係るフレーム間帯域圧
縮信号切り替え回路は、プログレッシブ・リフレッシュ
処理を有する2つのフレーム間帯域圧縮信号A,Bを、
信号Aから信号Bに切り替える回路において、一度フレ
ーム内符号化処理を施したB信号の有効ブロックを連続
して出力する回路と、該リフレッシュ時のB信号の各フ
レーム当りの有効符号量ΔRBj とフレーム当りの伝送
レートr,切り替え時によるリフレッシュ期間l,周期
的なリフレッシュ期間f,A信号の切り替え時のレート
バッファ占有度RA(n-l) ,通常のB信号の開始時のレ
ートバッファ占有度PBn に対し、
Furthermore, the inter-frame band compression signal switching circuit according to the present invention outputs two inter-frame band compression signals A and B having progressive refresh processing,
In the circuit for switching from the signal A to the signal B, a circuit for continuously outputting the effective block of the B signal once subjected to the intra-frame encoding processing, and the effective code amount ΔRB j of each frame of the B signal at the time of refreshing Transmission rate r per frame, refresh period 1 at switching, periodic refresh period f, rate buffer occupancy RA (nl) at switching of A signal, rate buffer occupancy PB n at start of normal B signal As opposed to

【数6】 を規定している。(Equation 6) Is prescribed.

【0028】また、この発明に係るフレーム間帯域圧縮
信号切り替え回路は、プログレッシブ・リフレッシュ処
理を有する2つのフレーム間帯域圧縮信号A,Bを、信
号Aから信号Bに切り替える回路において、一度フレー
ム内符号化処理を施したB信号の有効ブロックを連続し
て出力する回路と、該リフレッシュ時のB信号の各フレ
ーム当りの有効符号量ΔRBj とフレーム当りの伝送レ
ートr,切り替え時によるリフレッシュ期間l,周期的
なリフレッシュ期間f,A信号の切り替え時のレートバ
ッファ占有度RA(n-l) ,通常のB信号の開始時のレー
トバッファ占有度PBn に対し、
Further, the inter-frame band compression signal switching circuit according to the present invention is a circuit for switching the two inter-frame band compression signals A and B having progressive refresh processing from the signal A to the signal B once. Circuit for continuously outputting the effective block of the B signal subjected to the conversion processing, the effective code amount ΔRB j of each frame of the B signal at the time of refreshing, the transmission rate r per frame, the refresh period 1 at the time of switching, With respect to the periodic refresh period f, the rate buffer occupancy RA (nl) at the time of switching the A signal, and the rate buffer occupancy PB n at the start of the normal B signal,

【数7】 を規定し、ΔR>0の時、(Equation 7) When ΔR> 0,

【数8】 となるkを決定し、最小フレーム分の延長符号を出力す
るように構成している。
(Equation 8) Is determined, and the extension code for the minimum frame is output.

【0029】さらに、この発明に係るフレーム間帯域圧
縮信号切り替え回路は、プログレッシブ・リフレッシュ
処理を有する2つのフレーム間帯域圧縮信号A,Bを、
信号Aから信号Bに切り替える回路において、一度フレ
ーム内符号化処理を施したB信号の有効ブロックを連続
して出力する回路と、該リフレッシュ時のB信号の各フ
レーム当りの有効符号量ΔRBj とフレーム当りの伝送
レートr,切り替え時によるリフレッシュ期間l,周期
的なリフレッシュ期間f,A信号の切り替え時のレート
バッファ占有度RA(n-l) ,通常のB信号の開始時のレ
ートバッファ占有度PBn に対し、
Further, the inter-frame band compression signal switching circuit according to the present invention outputs two inter-frame band compression signals A and B having progressive refresh processing,
In the circuit for switching from the signal A to the signal B, a circuit for continuously outputting the effective block of the B signal once subjected to the intra-frame encoding processing, and the effective code amount ΔRB j of each frame of the B signal at the time of refreshing Transmission rate r per frame, refresh period 1 at switching, periodic refresh period f, rate buffer occupancy RA (nl) at switching of A signal, rate buffer occupancy PB n at start of normal B signal As opposed to

【数9】 を規定し、ΔR<0の時、[Equation 9] When ΔR <0,

【数10】 となるiを決定し、最小フレーム分のスキップ符号を出
力するように構成している。
[Equation 10] I is determined and the skip code for the minimum frame is output.

【0030】[0030]

【作用】上記のような構成によれば、信号切り替え時や
編集時に良好な再生画像を容易に得ることができ、ま
た、高品位TVなどの広帯域な信号を高画質のままで切
り替えや編集ができ、さらに、プログレッシブ・リフレ
ッシュを有するフレーム間帯域圧縮信号を切り替える際
に、フレーム内符号化処理を一度施した有効信号のみを
出力することが可能となる。
According to the above construction, a good reproduced image can be easily obtained at the time of signal switching or editing, and switching or editing can be performed with a wide band signal of a high-definition TV or the like in high image quality. Further, it is possible to output only the effective signal which has been subjected to the intra-frame coding process once when switching the inter-frame band compression signal having the progressive refresh.

【0031】[0031]

【実施例】以下、この発明の一実施例について、図面を
参照して詳細に説明する。なお、新規な構成は、ブロッ
ク図において2重枠で示すものとする。
An embodiment of the present invention will be described below in detail with reference to the drawings. The new configuration is shown by a double frame in the block diagram.

【0032】1.帯域圧縮装置の基本構成 図1は、この発明における基本構成を示す図である。映
像入力端子27,28,29には、高品位TVなどの輝
度信号Y、色信号U,Vを入力する。これらの信号には
必要な前処理を施した後に、ブロック化回路30で2章
で後述する画素構成のブロックを構成し、入力端子11
に入力する。入力端子11に入力された映像信号は、減
算回路12と動き評価回路13とにそれぞれ供給され
る。この減算回路12では、後述する減算処理が行なわ
れ、その出力は、DCT回路14に入力される。
1. Basic Configuration of Band Compressor FIG. 1 is a diagram showing the basic configuration of the present invention. The luminance signal Y and the color signals U and V of a high definition TV or the like are input to the video input terminals 27, 28 and 29. After subjecting these signals to the necessary pre-processing, the blocking circuit 30 forms a block having a pixel configuration described later in Chapter 2, and the input terminal 11
To enter. 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 described later, and the output thereof is input to the DCT circuit 14.

【0033】DCT回路14は、水平方向8画素、垂直
方向8画素を単位ブロック(8×8画素=64画素)と
して取り込み、画素配列を時間軸領域から周波数軸領域
へ変換した係数を出力する。そして、各係数は、量子化
回路15で量子化される。この場合、量子化回路15
は、10種類あるいは32種類の量子化テーブルを持っ
ており、選択された量子化テーブルに基づいて個々の係
数が量子化される。なお、量子化回路15において、量
子化テーブルを備えているのは、情報の発生量と送出量
とが一定の範囲以内に収まるようにするためである。
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 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 quantizing circuit 15 is provided with a quantizing table so that the amount of information generated and the amount of information sent are within a certain range.

【0034】そして、量子化回路15から出力された係
数データは、単位ブロック毎に低域より高域へジグザグ
・スキャンされて取り出された後、可変長符号化回路1
6に入力されて、零係数の続く数(ラン・レングス)と
非零係数とを1組にして可変長符号化される。なお、符
号器は、ハフマン符号等の発生頻度により符号長の異な
る可変長符号器である。
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 taken out, and then the variable length coding circuit 1
It is inputted to 6 and variable-length coded by combining the number of zero coefficients (run length) 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.

【0035】可変長符号化されたデータは、FIFO回
路17に入力されて規定の速度で読み出された後、出力
端子18を介して次段のマルチプレクサー31[制御信
号、音声データ、同期データ(SYNC)、後述するN
MP等を多重する]に供給され、出力端子32より伝送
路へ送出される。FIFO回路17は、可変長符号化回
路16の出力が可変レートであり、伝送路のレートが固
定レートであるため、この発生符号量と送出符号量の違
いを吸収するバッファの役目をしている。
The variable-length coded data is input to the FIFO circuit 17 and read out at a prescribed speed, and then, via the output terminal 18, the multiplexer 31 of the next stage [control signal, voice data, synchronous data (SYNC), N described later
MP, etc.] is supplied to the transmission line from the output terminal 32. 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. .

【0036】また、量子化回路15の出力は、逆量子化
回路19に入力されて逆量子化される。さらに、この逆
量子化回路19の出力は、逆DCT回路20に入力され
て元の信号に戻される。この信号は、加算回路21を介
してフレーム遅延回路22に入力される。フレーム遅延
回路22の出力は、動き補償回路23と前記動き評価回
路13とにそれぞれ供給されている。
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.

【0037】動き評価回路13は、入力端子11からの
入力信号とフレーム遅延回路22の出力信号とを比較
し、画像の全体的な動きを検出して、動き補償回路23
から出力される信号の位相位置を制御する。静止画の場
合は、原画像と1フレーム前の画像とが一致するように
補償される。動き補償回路23の出力は、スイッチ24
を介して減算回路12に供給されるとともに、スイッチ
25を介して加算回路21からフレーム遅延回路22に
帰還することもできる。
The motion evaluation circuit 13 compares the input signal from the input terminal 11 with the output signal of the frame delay circuit 22, detects the overall motion of the image, and the motion compensation circuit 23.
Controls the phase position of the signal output from. In the case of a still image, the original image and the image one frame before are compensated so as to match each other. The output of the motion compensation circuit 23 is the switch 24.
It is also possible to feed the signal to the subtraction circuit 12 via the switch and feed it back to the frame delay circuit 22 from the adder circuit 21 via the switch 25.

【0038】次に、上記したシステムの基本的な動作を
説明する。
Next, the basic operation of the above system will be described.

【0039】2.画素構成 入力端子11に入力する信号は、1画面内の有効画素を
複数個集めて、ブロック、スーパーブロック、マクロブ
ロックを構成している。なお、この構成は、Digicipher
の例を基本にしているが、MPEGやDSC-HDTV:Zenith+AT
T の方式などで用いているブロック構成を用いても良い
ことは言うまでもない。
2. The signal input to the pixel configuration input terminal 11 forms a block, a super block, and a macro block by collecting a plurality of effective pixels in one screen. In addition, this configuration is a Digicipher
The example is based on MPEG, DSC-HDTV: Zenith + AT
It goes without saying that the block configuration used in the T method or the like may be used.

【0040】図2を用いて、ブロック構成の定義を説明
する。
The definition of the block configuration will be described with reference to FIG.

【0041】ブロック:水平方向8画素、垂直方向8画
素から構成される64画素の領域のことである[図2
(d)参照]。
Block: A 64 pixel area composed of 8 horizontal pixels and 8 vertical pixels [FIG.
See (d)].

【0042】スーパーブロック:輝度信号の水平方向4
ブロック、垂直方向2ブロックからなる領域のことであ
る。この領域に、色信号U,Vとしての1ブロックづつ
が含まれる。また、動き評価回路13から得られる画像
動きベクトルは、スーパーブロック単位で設定できる
[図2(c)参照]。
Super block: 4 in the horizontal direction of the luminance signal
A block is an area composed of two blocks in the vertical direction. This area includes one block as the color signals U and V. Further, the image motion vector obtained from the motion evaluation circuit 13 can be set in units of super blocks [see FIG. 2 (c)].

【0043】マクロブロック:水平方向の11のスーパ
ーブロックのことである。また、符号が伝送される際に
は、ブロックのDCT係数は、零係数の連続数と、非零
係数の振幅により決められた符号とに変換され、それら
が組になって伝送され、ブロックの最後にはエンド・オ
ブ・ブロック信号が付加されている。そして、スーパー
ブロック単位で行なわれた動き補正の動きベクトルは、
マクロブロック単位でオーバーヘッドデータとして付加
されて伝送される[図2(b)参照]。
Macroblock: 11 superblocks in the horizontal direction. In addition, 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. Finally, an end of block signal is added. Then, the motion vector of the motion correction performed in units of super blocks is
It is added as overhead data in units of macroblocks and transmitted [see FIG. 2 (b)].

【0044】すなわち、この帯域圧縮システムでは、前
述したように、水平方向11のスーパーブロックをマク
ロブロックと称しており、1画面の水平方向には、44
スーパーブロックが存在している。つまり、1フレーム
には、水平方向に4マクロブロック、垂直方向に60マ
クロブロックの合計240マクロブロックが存在するこ
とになる。
That is, in this band compression system, as described above, the 11 super blocks in the horizontal direction are called macro blocks, and 44 in the horizontal direction of one screen.
Super block exists. 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.

【0045】そして、この帯域圧縮システムでは、図3
(a)〜(h)及び図4(a)〜(c)に示すように、
4つのマクロブロック単位でそれぞれスーパーブロック
の縦の一列毎にリフレッシュが行なわれ、11フレーム
周期で全てのスーパーブロックがリフレッシュされる。
すなわち、リフレッシュされたスーパーブロックを、図
4(d)に示すように、11フレーム分蓄積することに
より全ての領域においてフレーム内符号化処理が行なわ
れることになる。
Then, in this band compression system, FIG.
As shown in (a) to (h) and FIGS. 4 (a) to (c),
Refreshing is performed in units of four macroblocks in each vertical column of superblocks, and all superblocks are refreshed in a cycle of 11 frames.
That is, as shown in FIG. 4D, the refreshed super block is accumulated for 11 frames, so that the intra-frame coding process is performed in all the regions.

【0046】1画面:1050本の走査線からなり、イ
ンターレースになっている。有効画素は、水平方向14
08画素、垂直方向960画素からなっている。1画面
の映像信号を4つのプロセッサで処理している[図2
(a)参照]。
One screen: 1050 scanning lines, which are interlaced. The effective pixel is horizontal 14
It is composed of 08 pixels and 960 pixels in the vertical direction. Video signals for one screen are processed by four processors [Fig. 2
(See (a)].

【0047】図5に1画面と、スーパーブロックアドレ
ス(以下S.B.A=Super BlockAddress と略す)と
の関係を示す。水平方向に44スーパーブロック、垂直
方向に60スーパーブロックが存在する。そこで、1画
面内には2640個のスーパーブロックが存在する。こ
のそれぞれのスーパーブロックにアドレスS.B.Aを
割り当てる。水平方向のスーパーブロックアドレスを
x、垂直方向のそれをyとすると、S.B.A=60・
x+yの関係がある。
FIG. 5 shows the relationship between one screen and a super block address (hereinafter referred to as SBA = Super Block Address). There are 44 super blocks in the horizontal direction and 60 super blocks in the vertical direction. Therefore, there are 2640 super blocks in one screen. The address S. B. Assign A. If the horizontal superblock address is x and the vertical superblock address is y, S.S. B. A = 60
There is a relationship of x + y.

【0048】3.フレーム内/フレーム間符号化 このシステムの基本動作として、第1に、フレーム内符
号化処理とフレーム間符号化処理とがある。フレーム内
符号化処理は以下のように行なわれる。この処理が行な
われるときは、スイッチ24,25は共にオフである。
入力端子11の映像信号は、DCT回路14で時間軸領
域から周波数軸領域に変換され、量子化回路15におい
て量子化される。この量子化された信号は、可変長符号
化処理を受けた後、FIFO回路17を介して伝送路へ
出力される。
3. Intra-frame / inter-frame coding First, the basic operations of this system are intra-frame coding processing and inter-frame coding processing. The intraframe 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. This quantized signal is subjected to variable length coding processing and then output to the transmission line via the FIFO circuit 17.

【0049】また、量子化された信号は、逆量子化回路
19及び逆DCT回路20で元の信号に戻され、フレー
ム遅延回路22で遅延される。このため、フレーム内符
号化処理のときは、入力映像信号の情報がそのまま可変
長符号化されているのと等価である。このフレーム内符
号化処理は、入力映像信号のシーン・チェンジ及び所定
のブロック単位で適宜な周期で行なわれる。なお、周期
的フレーム内符号化処理に関しては後述する。
The quantized signal is returned to the original signal by the inverse quantization circuit 19 and 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 coding process is performed in a proper cycle in units of predetermined blocks and scene changes of the input video signal. The periodic intra-frame encoding process will be described later.

【0050】次に、フレーム間符号化処理について説明
する。フレーム間符号化処理が実行されるときは、スイ
ッチ24,25が共にオンされる。このため、入力映像
信号と、その1フレーム前の映像信号との差分に相当す
る信号が減算回路12から得られる。この差分信号が、
DCT回路14に入力され、時間軸領域から周波数軸領
域に変換され、次に量子化回路15で量子化されること
になる。
Next, the interframe coding process will be described. When the interframe coding process is executed, both switches 24 and 25 are turned on. Therefore, the subtraction circuit 12 obtains a signal corresponding to the difference between the input video signal and the video signal one frame before. 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.

【0051】また、フレーム遅延回路22には、差分信
号と映像信号とが加算回路21で加算されて入力される
から、差分信号を作成する元となった入力映像信号を予
測した予測映像信号が作成されて入力されることにな
る。一般的にフレーム内符号化処理した画像の発生符号
量は、フレーム間符号化処理した画像の発生符号量より
多くなっている。
Further, since the differential signal and the video signal are added to the frame delay circuit 22 by the adder circuit 21 and input, the predicted video signal that predicts the input video signal from which the differential signal is created is generated. It will be created and entered. Generally, the generated code amount of an image subjected to intra-frame coding processing is larger than the generated code amount of an image subjected to inter-frame coding processing.

【0052】4.フレーム内/フレーム間切り替え処理 4.1 画像適応フレーム内符号化処理 このフレーム内符号化処理とフレーム間符号化処理の切
り替えは、フレーム内/間決定回路33により制御す
る。この制御方法は2種類ある。まず第1の手法は、入
力映像信号の内容に応じ、フレーム間の相関がある信号
は、フレーム間符号化処理を施し、フレーム間の相関の
ない信号に対しては、フレーム内符号化処理を施す手法
である。シーン・チェンジなどが生じた場合は、フレー
ム内符号化処理が施される。フレーム内/間決定回路3
3では、入力端子11からの現フレームの信号と動き補
償回路23の出力の予測信号との予測誤差エネルギー
と、現信号のエネルギーとを比較する。
4. Intra-frame / inter-frame switching process 4.1 Image adaptive intra-frame coding process Switching between the intra-frame coding process and the inter-frame coding process is controlled by the intra-frame / inter-frame determination circuit 33. There are two types of this control method. First, according to the content of the input video signal, the first method performs interframe coding processing on a signal having a correlation between frames and intraframe coding processing on a signal having no correlation between frames. This is the method of applying. When a scene change or the like occurs, the intraframe coding process is performed. In-frame / inter-frame determination circuit 3
In 3, the prediction error energy between the current frame signal from the input terminal 11 and the prediction signal output from the motion compensation circuit 23 is compared with the current signal energy.

【0053】図6において、入力端子11,34,35
及び出力端子36,37は、図1の入力端子11,3
4,35及び出力端子36,37と同一である。入力端
子11には現信号を入力する。この現信号をエネルギー
比較回路38に入力するとともに、減算回路39に入力
する。入力端子35には、動き補償回路23の出力の予
測信号を入力し、減算回路39で現信号と予測信号との
差である予測誤差を求める。現信号は現信号エネルギー
算出回路38aで求め、予測誤差は予測誤差エネルギー
算出回路38bで求め、両エネルギーを比較する。現信
号及び予測誤差のエネルギー算出式の例は次のとおりで
ある。
In FIG. 6, input terminals 11, 34, 35
And the output terminals 36 and 37 are the input terminals 11 and 3 of FIG.
4, 35 and output terminals 36, 37 are the same. The current signal is input to the input terminal 11. This current signal is input to the energy comparison circuit 38 and the subtraction circuit 39. The prediction signal output from the motion compensation circuit 23 is input to the input terminal 35, and the subtraction circuit 39 obtains a prediction error which is the difference between the current signal and the prediction signal. The current signal is calculated by the current signal energy calculation circuit 38a, the prediction error is calculated by the prediction error energy calculation circuit 38b, and both energies are compared. Examples of energy calculation formulas for the current signal and the prediction error are as follows.

【0054】[0054]

【数11】 図7は、エネルギー比較回路38におけるフレーム内/
間判別方法の例を示している。同図において、横軸は現
信号のエネルギー、縦軸は予測誤差のエネルギーを示し
ている。また、原点0から斜めに引いた実線は、予測誤
差のエネルギーと現信号のエネルギーとが等しい場合を
示している。この実線より下の領域は、予測誤差のエネ
ルギーの方が小さいため、フレーム間符号化処理を施
す。また、実線より上の領域は、現信号のエネルギーの
方が小さいため、フレーム内符号化処理を施す。このよ
うにして、エネルギー比較回路38は、入力信号に適応
したフレーム内/間判別信号を出力し、加算回路40を
介して出力端子36から出力する。
[Equation 11] FIG. 7 shows the inside / of the frame in the energy comparison circuit 38.
An example of the method for determining the interval is shown. In the figure, the horizontal axis represents the energy of the current signal and the vertical axis represents the energy of the prediction error. Further, a solid line drawn diagonally from the origin 0 indicates a case where the energy of the prediction error and the energy of the current signal are equal. In the area below this solid line, the energy of the prediction error is smaller, so interframe coding processing is performed. Further, in the area above the solid line, the energy of the current signal is smaller, so that intraframe coding processing is performed. In this way, the energy comparison circuit 38 outputs the intra-frame / inter-frame discrimination signal adapted to the input signal, and outputs it from the output terminal 36 via the addition circuit 40.

【0055】4.2 強制フレーム内符号化処理(リフ
レッシュ) 第2の手法は、映像信号の相関とはかかわりなく強制的
にフレーム内符号化処理を行なう手法である。この場
合、周期的に画面の所定領域にフレーム内符号化処理を
施す。この強制的フレーム内符号化処理を行なう目的は
2つある。使用者がチャンネルを変更した場合に、一定
時間以内に画像を認識できるようにするために必要であ
る。VTRやディスクなどの記録メディアにおいて、特
殊再生が実現できるようにするためである。
4.2 Forced Intra-frame Encoding Processing (Refresh) The second method is a method of forcibly performing the intra-frame encoding processing regardless of the correlation of the video signals. In this case, the intraframe coding process is periodically performed on a predetermined area of the screen. There are two purposes for performing this compulsory intra-frame coding process. It is necessary for the user to be able to recognize the image within a certain time when the channel is changed. This is so that special reproduction can be realized in a recording medium such as a VTR or a disc.

【0056】この強制的にフレーム内符号化処理を施す
ことをリフレッシュと呼ぶ。また、所定の領域がリフレ
ッシュされるのに必要な時間を、リフレッシュタイムと
名づける。この周期的リフレッシュタイミング発生回路
41は、図6に示すように、入力端子34より同期信号
を入力し、この同期信号と同期して所定の周期でフレー
ム内選択信号を発生させる。この信号とエネルギー比較
回路38のフレーム内/間判別信号とを加算回路40で
加算し、フレーム内/間切り替え信号を端子36から出
力する。
This forcible intraframe coding process is called refresh. Further, the time required for refreshing a predetermined area is named refresh time. As shown in FIG. 6, the periodic refresh timing generation circuit 41 inputs a sync signal from the input terminal 34 and generates an intra-frame selection signal at a predetermined cycle in synchronization with the sync signal. This signal and the intra-frame / inter-frame discrimination signal of the energy comparison circuit 38 are added by the adder circuit 40, and the intra-frame / inter-frame switching signal is output from the terminal 36.

【0057】5.リフレッシュ 次の各方式のリフレッシュに関して詳しく説明する。5. Refresh Refresh of each of the following methods will be described in detail.

【0058】5.1 DigiCipherリフレッシュ DigiCipherでは、前述したように、水平方向の11のス
ーパーブロックをマクロブロックと称しており、1画面
の水平方向には、44スーパーブロックが存在してい
る。つまり、1フレームには、水平方向に4マクロブロ
ック、垂直方向に60マクロブロックの合計240マク
ロブロックが存在することになる。そして、本発明で説
明する帯域圧縮システムでは、図3(a)〜(h)及び
図4(a)〜(c)に示すように、4つのマクロブロッ
ク単位でそれぞれスーパーブロックの縦の一列毎にリフ
レッシュが行なわれ、11フレーム周期で全てのスーパ
ーブロックがリフレッシュされる。
5.1 DigiCipher Refresh In the DigiCipher, as described above, 11 super blocks in the horizontal direction are called 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 the band compression system described in the present invention, as shown in FIGS. 3A to 3H and FIGS. Refresh is performed, and all the super blocks are refreshed every 11 frames.

【0059】すなわち、リフレッシュされたスーパーブ
ロックを、図4(d)に示すように、11フレーム分蓄
積することにより全ての領域においてフレーム内符号化
処理が行なわれることになる。このリフレッシュのメリ
ットは、各フレーム当りに均等にリフレッシュが行なわ
れるため、レートバッファとなるFIFO回路17の容
量が小さくて良いという利点がある。
That is, as shown in FIG. 4 (d), the refreshed super block is accumulated for 11 frames, so that the intra-frame coding process is performed in all the regions. The merit of this refresh is that the refresh is performed evenly for each frame, so that the capacity of the FIFO circuit 17 serving as a rate buffer may be small.

【0060】このDigiCipherのリフレッシュを図5に示
したスーパーブロックアドレスを用いて表わすと図8の
ようになる。同図において、縦軸はスーパーブロックア
ドレス、横軸はフレーム番号を示し、rを四角で囲んだ
部分がフレーム内符号化処理した部分を示している。同
図では、リフレッシュブロックのみを示した。同図にお
いては、フレーム番号F0 〜F10の11フレームで一画
面の全てのスーパーブロロックでリフレッシュが施され
る。4つのプロセッサで同一の処理をしているため、図
8の1つのプロセッサ当りのリフレッシュ動作を用い
て、DigiCipherのリフレッシュに関して、図9を用いて
説明する。
This DigiCipher refresh is shown in FIG. 8 using the super block address shown in FIG. In the figure, the vertical axis represents the super block address, the horizontal axis represents the frame number, and the part surrounded by a square r represents the part subjected to the intra-frame coding process. In the figure, only the refresh block is shown. In the figure, refresh is applied to all the super blocks on one screen in 11 frames of frame numbers F 0 to F 10 . Since the same processing is performed by the four processors, the refresh operation of one processor shown in FIG. 8 will be used to explain DigiCipher refresh with reference to FIG.

【0061】すなわち、S.B.アドレス=0〜659
の部分に関して説明する。図9(a)においては、リフ
レッシュ及び画像適応フレーム内符号化処理を施した部
分rを四角で囲んで示した。例えば、F0 ではシーン・
チェンジが発生したことを想定して、S.B.アドレス
0〜659の全ての領域にフレーム内符号化処理が施さ
れている。また、F14では、S.B.アドレス0〜59
の領域でフレーム内符号化処理が施されている。
That is, S. B. Address = 0 to 659
Will be described. In FIG. 9A, the portion r subjected to the refreshing and the image adaptive intra-frame coding processing is shown surrounded by a square. For example, in F 0 the scene
Assuming that a change has occurred, S. B. Intra-frame coding processing is performed on all the areas of addresses 0 to 659. Further, in F 14 , S. B. Address 0-59
Intra-frame coding processing has been performed in the area.

【0062】図9(b)にDigiCipherのリフレッシュ時
間を示す。1フレーム当り一部の領域をリフレッシュし
ていき、11フレーム期間でリフレッシュが完結するた
め11フレームがリフレッシュ時間となる。また、この
リフレッシュはどの11フレーム期間をとっても1画面
のリフレッシュが完結する。すなわち、F0 〜F10の1
1フレーム期間でもF1 〜F11の11フレーム期間でも
リフレッシュが完結する。
FIG. 9B shows the DigiCipher refresh time. A part of the area is refreshed per frame, and the refresh is completed in the 11-frame period, so that 11 frames become the refresh time. In addition, this refresh completes the refresh of one screen no matter what 11-frame period. That is, 1 of F 0 to F 10
Refresh is completed in one frame period or 11 frame periods of F 1 to F 11 .

【0063】図9(c)に示したように、最小アクイジ
ションタイムは、1フレーム期間であり、シーン・チェ
ンジが発生しイニシャライズが始まった時に得られる。
また、図9(d)の最大アクイジションタイムは、画像
適応フレーム内符号化処理が全く発生しない場合であ
り、11フレーム期間となる。リフレッシュブロックを
開始点として信号切り替え及び記録再生装置の編集を実
現する場合には、各リフレッシュブロックアドレスにお
いて、図9(e)に示したように、時間的にずれた11
フレーム期間がリフレッシュインターバルとなる。
As shown in FIG. 9C, the minimum acquisition time is one frame period and is obtained when a scene change occurs and initialization is started.
Further, the maximum acquisition time in FIG. 9D is a case where the image adaptive intra-frame coding process does not occur at all, and is 11 frame periods. When the signal switching and the editing of the recording / reproducing apparatus are realized by using the refresh block as a starting point, at each refresh block address, as shown in FIG.
The frame period becomes the refresh interval.

【0064】5.2 MPEG(Moving Picture Image
Coding Experts Group )のリフレッシュ まず、MPEGで用いられているリフレッシュに関し
て、図10を用いて説明する。MPEGでは、フレーム
単位でリフレッシュが行なわれる。このリフレッシュを
行なったフレームはIピクチャと呼ばれる。このIピク
チャの周期すなわちリフレッシュ周期は、フレーム単位
に設定され、12,15,…フレームなどが選ばれる。
この様子を図10を用いて説明する。なお、説明を簡単
にするため走査線が1050の場合についてのみ説明す
るが、他のブロック構成でも良いことは言うまでもな
い。
5.2 MPEG (Moving Picture Image)
Refresh of Coding Experts Group) First, refresh used in MPEG will be described with reference to FIG. In MPEG, refresh is performed in frame units. The frame that has been refreshed is called an I picture. The cycle of the I picture, that is, the refresh cycle is set in frame units, and 12, 15, ... Frames are selected.
This situation will be described with reference to FIG. Note that only the case where the scanning line is 1050 will be described for simplification of description, but it goes without saying that other block configurations may be used.

【0065】図10(a)において、縦軸はスーパーブ
ロックアドレスを示している。このスーパーブロックア
ドレスは、図2で定義したスーパーブロックアドレスに
対応している。また、横軸はフレーム番号を示してい
る。また、黒くぬりつぶした部分は、フレーム内符号化
処理を施した部分を示している。ここで、フレーム番号
0,12,24,36,…は、周期的に挿入したフレー
ム内符号化処理画像を示し、フレーム番号13,15,
17,19,21,23に示した黒ぬりの部分は画像適
応フレーム内符号化処理を施した部分を示す。
In FIG. 10A, the vertical axis represents the super block address. This super block address corresponds to the super block address defined in FIG. The horizontal axis represents the frame number. Further, the blackened portions indicate the portions that have been subjected to the intraframe coding process. Here, frame numbers 0, 12, 24, 36, ... Show the periodically inserted intra-frame coded images, and frame numbers 13, 15,
The black-colored portions shown in 17, 19, 21, 23 indicate the portions to which the image adaptive intra-frame coding processing has been performed.

【0066】この例では、リフレッシュ時間は、図10
(b)に示したように12フレームである。使用者がチ
ャンネルを変えたイニシャライズの際に、1画面の画像
を得るためには、フレーム内符号化処理が1画面全ての
領域に施されなければならない。そこで、この時間を次
のように定義する。
In this example, the refresh time is as shown in FIG.
It is 12 frames as shown in (b). In order to obtain an image on one screen when the user initializes by changing the channel, the intra-frame coding process must be performed on the entire area of one screen. Therefore, this time is defined as follows.

【0067】アクイジションタイム:1画面全ての領域
にフレーム内符号化処理が施されるまでに関する時間。
Acquisition time: Time required for intra-frame coding processing to be performed on all areas of one screen.

【0068】このアクイジションタイムは、使用者がチ
ャンネルを変えるタイミングにも依存する。図10
(c)に最小アクイジションタイムを示す。最小アクイ
ジションタイムはイニシャライズのスタートとリフレッ
シュまたはシーン・チェンジが同時に起きた時であり、
1フレーム期間で1画面の画像が得られる。図10
(d)に最大アクイジションタイムを示す。最大アクイ
ジションタイムは、リフレッシュを終了した直後に、イ
ニシャライズがスタートした場合である。この場合、1
2フレーム期間で1画面の画像が得られる。
This acquisition time also depends on the timing at which the user changes the channel. Figure 10
(C) shows the minimum acquisition time. The minimum acquisition time is when the start of initialization and refresh or scene change occur at the same time,
One screen image can be obtained in one frame period. Figure 10
The maximum acquisition time is shown in (d). The maximum acquisition time is when the initialization starts immediately after the refresh is completed. In this case, 1
One screen image can be obtained in two frame periods.

【0069】周期的なフレーム内符号化処理であるリフ
レッシュブロックを開始点として、信号切り替え及び記
録再生装置の編集を実現しようとした場合を考える。1
2フレーム周期のリフレッシュを基本としているため、
リフレッシュインターバルは図10(e)に示すように
12フレームとなる。
Consider a case where signal switching and editing of the recording / reproducing apparatus are to be realized with a refresh block, which is a periodical intra-frame encoding process, as a starting point. 1
Since it is based on the refresh of 2 frame cycles,
The refresh interval is 12 frames as shown in FIG.

【0070】10.符号量制御 符号量のコントロール手法としては2種類ある。第1の
手法は、前述したように量子化レベルをコントロールす
る手法である。この場合は、リフレッシュブロックの発
生符号量をおさえることになるため、リフレッシュプロ
ック自体の画質は劣化することになる。しかし、次のフ
レームではリフレッシュブロックのフレーム内符号化処
理信号と、次フレームの映像信号の差分とが送られるた
め、画質は一瞬落ちるだけである。この手法について後
で詳しく説明する。
10. Code amount control 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, the amount of code generated in the refresh block is suppressed, so that the image quality of the refresh block itself deteriorates. However, in the next frame, the difference between the intra-frame coded signal of the refresh block and the video signal of the next frame is sent, so the image quality is only momentarily degraded. This method will be described in detail later.

【0071】第2の手法は、一度量子化した符号を2つ
に分割し、MSBまたは低周波数成分の符号量をVTR
などの記録メディアで高速再生した際に、読み出すこと
が可能な符号量におさえる方法である。これに関しては
11.章で詳しく述べる。
The second method is to divide the code, which has been quantized once, into two, and calculate the code amount of the MSB or low frequency component by VTR.
It is a method that keeps the code amount that can be read out at the time of high-speed reproduction on a recording medium such as. Regarding this, 11. More on this in the chapter.

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

【0073】10.1 マクロブロック符号量制御 本実施例のように、映像信号を可変長符号化を用いて高
能率符号化すると、一般に、その発生情報量は一定にな
らない。これは、映像信号の有する情報量が時間的に変
動しているためである。一方、固定レートの伝送系を用
いる場合には、符号化情報量を一定に抑えるための符号
化制御が必要となる。
10.1 Macroblock Code Amount Control When the video signal is high-efficiency coded using 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. On the other hand, when a fixed rate transmission system is used, encoding control is required to keep the amount of encoded information constant.

【0074】固定レート化の一般的手法は、符号化器の
出力にバッファメモリを用意し、このバッファメモリに
可変レートで入力し、出力は固定レートで行なって符号
化情報量を平滑化するものである。バッファメモリ内の
データ量は、入力情報量に応じて変動するため、オーバ
ーフローあるいはアンダーフローを生じる可能性があ
る。これを防ぐためには、オーバーフローあるいはアン
ダーフローとなりそうなときには、それぞれ符号化情報
量を減少あるいは増加させるように、符号化パラメータ
を変化させる。例えば、量子化特性をより粗く、または
細かくしてやれば良い。
A general method of fixed rate conversion is to prepare a buffer memory at the output of the encoder, input the 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, there is a possibility that overflow or underflow will 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.

【0075】上記バッファメモリの容量は大きいほど平
滑化の効果も高いが、符号化遅延やコスト上の制限があ
る。また、比較的小さなバッファメモリの方が、画像の
局所的性質に応じて細かく符号化制御が行なえるという
こともあり、1フレーム程度のバッファメモリが用いら
れる場合がある。
The larger the capacity of the buffer memory is, the higher the smoothing effect is, but the coding delay and the cost are limited. In addition, a relatively small buffer memory may allow finer control of encoding according to the local characteristics of the image, and thus a buffer memory of about 1 frame may be used.

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

【0077】マクロブロックの符号量制御にはレートバ
ッファの容量が用いられる。レートバッファを用いる手
法では、図11に示すように、エンコーダ及びデコーダ
に等容量のレートバッファ(Rate Buffer )を設ける。
The capacity of the rate buffer is used for controlling the code amount of the macroblock. In the method using the rate buffer, as shown in FIG. 11, the encoder and the decoder are provided with equal-rate rate buffers.

【0078】これらのバッファの入出力の符号量及びバ
ッファの占有率に関して、図11を用いて説明する。図
11中符号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. 11 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. The 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. 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 code input of a fixed rate, and the output signal f is a code output of a variable rate.

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

【0080】図12(a)〜(c)及び図13(a)〜
(c)の縦軸は、符号量を示している。この例では、レ
ートバッファの容量を4Mビット、1フレーム当りの伝
送符号量を0.5Mビット/フレームである場合の例を
示した。なお、図12(a)〜(c)はエンコーダ側、
図13(a)〜(c)はデコーダ側の特性を示してい
る。
12A to 12C and 13A to 13C.
The vertical axis of (c) shows 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. 12A to 12C show encoder side,
13A to 13C show the characteristics on the decoder side.

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

【0082】各フレームの発生符号量の最大値は、バッ
ファ容量と送出符号量との和で決まり、本例の場合はバ
ッファ容量4Mビットであり、1フレーム当りの送出符
号量0.5[Mビット/フレーム]であるため、1フレ
ーム当りの最大発生可能符号量は4.5Mビットとな
る。F20〜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 [M [Bits / 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.

【0083】図12(b)は、エンコーダのバッファの
占有度を示している。この例ではバッファの容量は4M
ビットとしており、バッファの容量を破線で示した。F
1 のフレームで大きな発生符号量が生じているため、F
1 の時点でバッファのオーバーフローが生じている。F
2 〜F9 まで全く符号を発生させない状態が続いている
ため、F9 の時点でバッファのアンダーフローが生じて
いる。
FIG. 12B 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. F
Since the code is not generated at all from 2 to F 9 , the buffer underflow occurs at the time of F 9 .

【0084】図12(c)は、エンコーダからの伝送符
号量を示している。同図内に斜めに引いた実直線Aは累
積送出符号量を示している。この傾きはフレーム当りの
送出符号量を示している。この例では1フレーム時間当
り0.5Mビット送出している。フレームレートが30
[Hz]の場合には30×0.5[M/Frame ]=15
[Mbps]の送出符号量となる。また、破線バッファ
の最大容量で決まる最大値を示している。
FIG. 12C 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.5M 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]. Also, the maximum value determined by the maximum capacity of the broken line buffer is shown.

【0085】また、図12(c)内に示した折れ線は、
累積発生符号量を示している。すなわち、図12(a)
の1フレーム当りの発生符号量の積分値になっている。
この累積発生符号量が破線と接した時は、バッファはオ
ーバーフローになっており、実線と接した時はバッファ
はアンターフローになっている。また、累積発生符号量
と累積送出符号量との間に水平に引いた点線は、発生し
た符号を送出する際のエンコーダバッファでの遅延時間
を示しており、長いものは送出までの時間が長くかかる
ことを示している。
The polygonal line shown in FIG. 12 (c) is
The cumulative generated code amount is shown. That is, FIG. 12 (a)
Is the integrated value of the generated code amount per one frame.
When the accumulated generated code amount contacts the broken line, the buffer overflows, and when it contacts the solid line, the buffer underflows. 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.

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

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

【0088】図13(c)は、映出する符号の1フレー
ム当りの映出符号量を示している。図12(a)と図1
3(c)とは、エンコーダ及びデコーダのバッファ遅延
時間分だけ遅延する。加入者がチャンネルを変えた場合
には、デコーダのバッファに必要な符号量だけ符号を蓄
積した後に、映像を出力することが可能である。この蓄
積量は、図13(a)の点線で示した時間だけ受信符号
量を蓄積する値と等しい。この値は、従来例のNMP信
号(MPEGではvbv delay )と対応関係がある。すな
わち、デコーダではNMP信号で決定する時間だけバッ
ファに符号を蓄積した後に、映像を出力すれば良い。
FIG. 13C shows the projected code amount per frame of the projected code. FIG. 12A and FIG.
3 (c) is delayed by the buffer delay time of the encoder and the decoder. 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 equal to the value that accumulates the received code amount for the time shown by the dotted line in FIG. This value has a corresponding relationship with the NMP signal of the conventional example (vbv delay in MPEG). That is, the decoder may store the code in the buffer for the time determined by the NMP signal and then output the video.

【0089】図12(a)のF1 に示したように、最初
のフレームに最大の符号量が発生した場合には、デコー
ダのバッファにおいて最大のバッファ遅延時間が生じ
る。この場合には、図13(b)にバッファ遅延と記入
した時間だけ受信符号をバッファに蓄積した後、正常な
映像信号を出力することができる。この場合は、デコー
ダのバッファを受信符号で満した後に正常な映像信号を
出力することになる。
As shown in F 1 of FIG. 12A, 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.

【0090】すなわち、F0 〜F8 まで受信符号を蓄積
し、バッファメモリを満たす初期化状態が終了した後に
正常な映像信号を出力することになる。図13(c)の
1で映出符号を出力した際には、デコーダのバッファ
はアンダーフローになっている。また、さらに図13
(c)のF1 〜F9 まで映出符号を出力しない状態が続
いた時、F9 でデコーダのバッファはオーバーフローに
なっている。これはエンコーダのバッファ状態を8フレ
ーム分遅延し、オーバーフロー、アンダーフローを反転
した状態と一致している。なお、加入者がチャンネルを
変更した場合に、正常な映像信号を出力するためにはデ
コーダのバッファをNMP信号に従って時間だけ符号を
蓄積する必要があるが、初期化時にも図13(c)に点
線で示したように不完全な画像を出すことは可能であ
る。
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. 13C, the buffer of the decoder is underflowed. Moreover, FIG.
When the state in which the projection code is not output from F 1 to F 9 in (c) continues, the buffer of the decoder overflows at F 9 . This corresponds to the state in which the buffer state of the encoder is delayed by 8 frames and the overflow and underflow are inverted. When the subscriber changes the channel, in order to output a normal video signal, it is necessary for the buffer of the decoder to store the code for the time according to the NMP signal. It is possible to produce an incomplete image as shown by the dotted line.

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

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

【0093】以上の動作を実現する構成を図15に示
す。マクロブロック量子化レベルを決定するために、量
子化レベル設定回路42及びスーパーブロック符号量算
出回路43を用いた。ここで、スーパーブロックの符号
量の算出方法に関して、図15を用いて詳しく説明す
る。すなわち、量子化回路15の出力を可変長符号化回
路16に入力する。この回路内部では、まず、ジグザグ
スキャン回路16aで8×8画素ブロックのDCTの係
数を読み込み、零係数の連続数と非零係数の振幅とを組
みにし、ハフマン符号回路16bに入力する。
FIG. 15 shows a configuration for realizing the above operation. In order to determine the macroblock quantization level, the quantization level setting circuit 42 and the super block code amount calculating circuit 43 are used. Here, a method of calculating the code amount of the super block will be described in detail with reference to FIG. That is, the output of the quantization circuit 15 is input to the variable length coding circuit 16. In this circuit, first, the zigzag scan circuit 16a reads the DCT coefficient of the 8 × 8 pixel block, combines the continuous number of zero coefficients and the amplitude of the nonzero coefficient, and inputs them to the Huffman coding circuit 16b.

【0094】また、この零係数の連続数と非零係数の振
幅とをスーパーブロック符号量算出回路43に入力す
る。このスーパーブロック符号量算出回路43は、図1
6に示したテーブルを記憶する図示しないROM(リー
ド・オンリー・メモリ)を用いて、発生した符号量を算
出する。図16は従来例でも用いられたものであるが、
横軸に非零係数の振幅、縦軸に零係数の連続数を示して
いる。また、枠内の数字は符号のビット数を示してい
る。この符号のビット数を加算することにより、スーパ
ーブロック単位で発生符号量を算出する。
The number of consecutive zero coefficients and the amplitude of non-zero coefficients are input to the super block code amount calculating circuit 43. This super block code amount calculation circuit 43 is shown in FIG.
The generated code amount is calculated using a ROM (read only memory) (not shown) that stores the table shown in FIG. 16 is also used in the conventional example,
The horizontal axis shows the amplitude of the non-zero coefficient, and the vertical axis shows the number of consecutive zero coefficients. The numbers in the frame indicate the number of bits of the code. The number of bits of this code is added to calculate the generated code amount in units of super blocks.

【0095】さらに、マクロブロックの量子化レベルを
決定するために、マクロブロック符号量算出回路44
で、11個のスーパーブロックの符号量を加算し、マク
ロブロックの符号量を算出する。また、この値から伝送
符号量ROM45に記憶される伝送符号量を差し引きレ
ートバッファ符号量算出回路46でレートバッファの占
有率を計算する。このレートバッファ占有率と、図14
のグラフに基づきマクロブロック量子化レベル設定回路
47で、マクロブロック単位の量子化レベルを設定す
る。
Further, in order to determine the quantization level of the macroblock, the macroblock code amount calculation circuit 44
Then, the code amounts of the 11 super blocks are added to calculate the code amount of the macro block. Further, the transmission code amount stored in the transmission code amount ROM 45 is subtracted from this value, and the rate buffer occupancy rate is calculated by the rate buffer code amount calculation circuit 46. This rate buffer occupancy rate and FIG.
The macroblock quantization level setting circuit 47 sets the quantization level for each macroblock on the basis of the graph.

【0096】10.2 スーパーブロック符号量制御 スーパーブロック当りの符号量制御は、マクロブロック
により決定された量子化レベルより粗くする方向にのみ
制御することができる。これは、例えばフレーム内符号
化処理したスーパーブロックが存在したとすると、フレ
ーム内符号化処理した符号量は、フレーム間符号化処理
した符号量よりも大きいため、このフレーム内符号化処
理したスーパーブロックで符号量が大幅に大きくなる場
合があるためである。
10.2 Super block code amount control The code amount control per super block can be controlled only in the direction in which the quantization level is made coarser than the quantization level determined by the macro block. This is because, for example, if there is a superblock that has undergone intraframe coding processing, the amount of code that has undergone intraframe coding processing is greater than the amount of code that has undergone interframe coding processing. This is because the code amount may be significantly increased.

【0097】一方、人間の視覚特性は映像の内容が変っ
た時、例えばシーン・チェンジが生じた場合や動いてい
る物体の背後に隠れていた部分が現われた場合(これを
カバードバックと呼ぶ)は、目が精細度に迅速に反応で
きず、一定の時間が必要となる。そこで、画像の内容が
変化したことにより生じたフレーム内符号化処理部分
は、量子化レベルを粗くしても画質の劣化が判別しにく
い。すなわち、画像適応フレーム内符号化処理が生じた
部分は符号量を削減することが可能である。
On the other hand, the human visual characteristic is that when the contents of the image change, for example, when a scene change occurs or when a part hidden behind a moving object appears (this is called a covered back). Does not allow the eyes to react quickly and precisely and requires a certain amount of time. Therefore, it is difficult to determine the deterioration of the image quality in the intra-frame coding processing part caused by the change in the content of the image even if the quantization level is roughened. That is, the code amount can be reduced in the portion where the image adaptive intra-frame encoding processing has occurred.

【0098】この動作を実現する構成を図15を用いて
説明する。スーパーブロック量子化レベル設定回路48
には、フレーム内/間決定回路33内のエネルギー比較
回路38の出力である画像適応フレーム内/間判定信号
を接続端子49より入力する。また、DCT回路14の
出力信号を接続端子50からDCT係数エネルギー算出
回路51に入力し、DCT係数のエネルギーを算出し、
このエネルギーにより量子化レベルの補正レベルを決定
する。この値をマクロブロック量子化レベルと加算する
加算回路52を通して、量子化回路15に入力する。こ
のエネルギーと補正レベルの関係は図17(a)に示し
た関係がある。
A configuration for realizing this operation will be described with reference to FIG. Super block quantization level setting circuit 48
The image adaptive intra-frame / interval determination signal output from the energy comparison circuit 38 in the intra-frame / interval determining circuit 33 is input to the connection terminal 49. Further, the output signal of the DCT circuit 14 is input from the connection terminal 50 to the DCT coefficient energy calculation circuit 51 to calculate the DCT coefficient energy,
This energy determines the correction level of the quantization level. This value is input to the quantization circuit 15 through the addition circuit 52 that adds the macro block quantization level. The relationship between this energy and the correction level has the relationship shown in FIG.

【0099】さらに、フレーム間符号化処理が施されて
いるスーパーブロックにおいても、極端にエネルギーが
大きい場合は、高周波成分が多いことを意味しており、
この場合も画質の劣化が判別しにくいため、量子化レベ
ルを粗くしてもよい。この場合は、図17(b)に示し
たように補正レベルを設定する。
Furthermore, even in a super block subjected to interframe coding processing, if the energy is extremely large, it means that there are many high frequency components,
Also in this case, since it is difficult to determine the deterioration of the image quality, the quantization level may be coarse. In this case, the correction level is set as shown in FIG.

【0100】25.デコーダ基本構成 デコーダの基本構成を図18を用いて詳しく説明する。
図19にはオーバーヘッドデータを用いる回路を示す。
図19において、横軸に回路名、縦軸にデータ名を示
し、○印をつけた所が用いる回路である。信号を切り替
えない通常時のビットストリームと放送波のビットスト
リームとは、同一のマクロブロック構成を有している。
25. Decoder Basic Configuration The basic configuration of the decoder will be described in detail with reference to FIG.
FIG. 19 shows a circuit using overhead data.
In FIG. 19, the circuit name is shown on the horizontal axis and the data name is shown on the vertical axis, and the circuit marked with a circle is the circuit used. The normal bit stream in which signals are not switched and the broadcast wave bit stream have the same macroblock configuration.

【0101】放送波のビットストリームの場合は、オー
バーヘッドデータ検出回路53を用いオーバーヘッドデ
ータを検出し、デコードを行なう。通常時の動作は、放
送波をデコードする動作と同じであるため、まず、この
動作を説明する。入力端子54に供給される、図20に
示したマクロブロックのビットストリームの可変長符号
は、レートバッファ(FIFO)回路55及び接続端子
56を介して、可変長符号復号回路57に入力される。
In the case of a broadcast wave bit stream, the overhead data detection circuit 53 is used to detect the overhead data and decode it. Since the normal operation is the same as the operation of decoding a broadcast wave, this operation will be described first. The variable-length code of the bitstream of the macroblock shown in FIG. 20 supplied to the input terminal 54 is input to the variable-length code decoding circuit 57 via the rate buffer (FIFO) circuit 55 and the connection terminal 56.

【0102】この可変長符号を抽出する際には、エンド
・オブ・ブロック(EOB)の検出を行なうことによ
り、ビットストリームから各ブロックの可変長符号を抽
出する。可変長符号復号回路57では、可変長符号の先
頭位置からハフマンテーブルと符号とを比較することに
より、順次ハフマン符号を検出していく。この検出した
ハフマン符号を用いて、量子化後のDCT係数の零係数
の続く数(ラン・レングス)と非零係数(振幅)とを得
る。この係数は、ジグザグスキャンを行なった順序で配
列されているため、後述する逆DCT回路60の必要に
応じて、係数の順序を並び替えられる。
When the variable length code is extracted, the variable length code of each block is extracted from the bit stream by detecting the end of block (EOB). The variable length code decoding circuit 57 sequentially detects the Huffman code by comparing the Huffman table and the code from the head position of the variable length code. Using the detected Huffman code, the number of consecutive zero coefficients (run length) and the non-zero coefficient (amplitude) of the quantized DCT coefficient are obtained. Since the coefficients are arranged in the order in which the zigzag scan is performed, the order of the coefficients can be rearranged according to the need of the inverse DCT circuit 60 described later.

【0103】可変長符号を復号した信号は、接続端子5
8を介して逆量子化回路59に入力される。逆量子化回
路59では、ビットストリーム中の量子化レベルに基づ
き、逆量子化を行なう。次に、1ブロック当り64個の
各係数に先ず、重み付けテーブルに従った重み付け値を
かける。次に、スーパーブロック単位の量子化レベルに
従った量子化スケール値を64個の各係数にかけること
により、逆量子化を行ない、DCT係数を得る。
The signal obtained by decoding the variable length code is connected to the connection terminal 5
It is input to the inverse quantization circuit 59 via 8. The inverse quantization circuit 59 performs inverse quantization based on the quantization level in the bitstream. Next, each of the 64 coefficients per block is first multiplied by a weighting value according to a weighting table. Next, each of the 64 coefficients is multiplied by a quantization scale value according to the quantization level in units of superblocks to perform inverse quantization and obtain DCT coefficients.

【0104】この64個のDCT係数を逆DCT回路6
0を通し、周波数軸領域であった係数を時間軸領域に変
換し、水平方向8画素、垂直方向8画素の64画素の信
号を得る。この逆DCT回路60の出力を加算回路61
に入力する。また、加算回路61には、スイッチ62か
らの信号を入力し、逆DCT回路60の出力信号と加算
する。スイッチ62は、フレーム内/間切り替え回路6
3で制御する。加算回路61の出力信号は、スイッチ6
4を介した後、非ブロック化回路65に入力されるとと
もに、接続端子66を介してフレーム遅延回路67に入
力される。
The inverse DCT circuit 6 outputs the 64 DCT coefficients.
The coefficient in the frequency domain is converted to the time domain by passing 0 to obtain a signal of 64 pixels of 8 pixels in the horizontal direction and 8 pixels in the vertical direction. The output of the inverse DCT circuit 60 is added to the adder circuit 61.
To enter. In addition, the signal from the switch 62 is input to the adder circuit 61 and added to the output signal of the inverse DCT circuit 60. The switch 62 is an intra-frame / inter-frame switching circuit 6
Controlled by 3. The output signal of the adder circuit 61 is the switch 6
Then, the signal is input to the deblocking circuit 65 and then to the frame delay circuit 67 via the connection terminal 66.

【0105】フレーム遅延回路67はフレームメモリで
構成しており、このフレームメモリの出力信号は、動き
補償回路68及び非ブロック化回路65に入力される。
動き補償回路68の出力信号は、スイッチ62に入力さ
れる。非ブロック化回路65は、加算回路61の出力と
スイッチ69を介して供給されるフレーム遅延回路67
の出力とを用いて、帯域圧縮信号処理とTVの走査線の
映出順序を合わす処理を行ない、輝度信号Yと色差信号
U,Vとを出力端子70〜72からそれぞれ出力する。
The frame delay circuit 67 is composed of a frame memory, and the output signal of this frame memory is input to the motion compensation circuit 68 and the deblocking circuit 65.
The output signal of the motion compensation circuit 68 is input to the switch 62. The deblocking circuit 65 includes a frame delay circuit 67 that is supplied from the output of the adder circuit 61 and the switch 69.
Output of the luminance signal Y and the color difference signals U and V are output from the output terminals 70 to 72, respectively.

【0106】デコーダの動作にはフレーム内復号化処理
とフレーム間復号化処理とがある。スイッチ62におい
て、スイッチ62がオフの時がフレーム内復号化処理
で、スイッチ62がオンの時がフレーム間復号化処理で
ある。このスイッチ62のオン・オフの制御をフレーム
内/間切り替え回路63が行なう。
The operation of the decoder includes intraframe decoding processing and interframe decoding processing. In the switch 62, when the switch 62 is off, the intraframe decoding process is performed, and when the switch 62 is on, the interframe decoding process is performed. The on / off control of the switch 62 is performed by the intra-frame / inter-frame switching circuit 63.

【0107】オーバーヘッドデータ検出回路53から得
られるオーバーヘッドデータ内のPCM/DPCM判別
信号を、接続端子73を通してフレーム内/間切り替え
回路63に入力する。ここでPCMとはフレーム内、D
PCMとはフレーム間復号化処理を示している。PCM
でスイッチ62をオフ、DPCMでスイッチ62をオン
にする。なお、3章で述べたように、フレーム内/フレ
ーム間復号化処理は画像適応フレーム内復号化処理と、
リフレッシュ(強制フレーム内復号化処理)がある。
The PCM / DPCM discrimination signal in the overhead data obtained from the overhead data detection circuit 53 is input to the intra-frame / inter-frame switching circuit 63 through the connection terminal 73. Here, PCM is in the frame, D
PCM indicates interframe decoding processing. PCM
The switch 62 is turned off by and the switch 62 is turned on by DPCM. As described in Chapter 3, the intraframe / interframe decoding process is the image adaptive intraframe decoding process.
There is a refresh (forced intraframe decoding process).

【0108】まず、フレーム内復号化処理の動作説明を
行なう。フレーム内復号化処理時は、逆DCT回路60
の出力信号をフレーム遅延回路67及び非ブロック化回
路65に入力し、輝度信号Yと色差信号U,Vを出力す
る。
First, the operation of the intraframe decoding process will be described. During the intraframe decoding process, the inverse DCT circuit 60
Is input to the frame delay circuit 67 and the deblocking circuit 65, and the luminance signal Y and the color difference signals U and V are output.

【0109】次に、フレーム間復号化処理の動作を説明
する。この場合は、フレーム遅延回路67に記憶してい
る1フレーム前の予測信号を読み出し、動き補償回路6
8に入力する。また、接続端子73よりオーバーヘッド
データの動きベクトルを動き補償回路68に入力し、予
測信号の画面上の位置をずらす。逆DCT回路60の出
力信号の画面上の位置と一致する位置に相当する予測信
号を、動き補償回路68から出力し、スイッチ62を通
して加算回路61に入力する。加算回路61では、逆D
CT回路60の出力と予測信号とを加算し、フレーム遅
延回路67及び非ブロック化回路65に入力する。そし
て、輝度信号Yと色差信号U,Vとを分離し、出力端子
70〜72から出力する。
Next, the operation of the interframe decoding process will be described. In this case, the prediction signal of one frame before stored in the frame delay circuit 67 is read out, and the motion compensation circuit 6 is read.
Enter in 8. Also, the motion vector of the overhead data is input to the motion compensation circuit 68 from the connection terminal 73, and the position of the prediction signal on the screen is shifted. A motion compensation circuit 68 outputs a prediction signal corresponding to the position on the screen of the output signal of the inverse DCT circuit 60, and inputs it to the addition circuit 61 through the switch 62. In addition circuit 61, the inverse D
The output of the CT circuit 60 and the prediction signal are added and input to the frame delay circuit 67 and the deblocking circuit 65. Then, the luminance signal Y and the color difference signals U and V are separated and output from the output terminals 70 to 72.

【0110】以上述べた放送波及び通常時における可変
長符号復号回路57、逆量子化回路59、逆DCT回路
60、フレーム遅延回路67への書き込み処理は、常に
マクロブロックを基本として処理していく。すなわち、
1プロセッサ当りのこれらの回路の処理は、マクロブロ
ック内の11スーパーブロックを順次処理することを基
本とし、マクロブロックを画面上、上から下へ順次処理
していく。
The writing process to the variable length code decoding circuit 57, the inverse quantization circuit 59, the inverse DCT circuit 60, and the frame delay circuit 67 in the broadcast wave and the normal time described above is always performed based on the macro block. . That is,
The processing of these circuits per processor is based on the sequential processing of 11 super blocks in the macro block, and the macro blocks are sequentially processed from the top to the bottom of the screen.

【0111】28.フレーム遅延回路 フレーム遅延回路67は、図21に示すように、書き込
みアドレス発生回路67aを持つ。ここでは、DigiCiph
erの場合を例にフレーム遅延回路67の動作説明をす
る。ただし、他の方式(MPEGなど)においても、基
本事項は同様である。DigiCipherの場合には、4プロセ
ッサで処理をしており、水平方向に4マクロブロック存
在しているため、1プロセッサ当り、水平方向に1マク
ロブロックを処理していく。そこで、1プロセッサ当り
では、マクロブロック内の11スーパーブロックを単位
に、上から下にマクロブロックを処理していく。
28. Frame Delay Circuit The frame delay circuit 67 has a write address generation circuit 67a as shown in FIG. Here, DigiCiph
The operation of the frame delay circuit 67 will be described by taking the case of er as an example. However, the basic items are the same in other systems (MPEG, etc.). In the case of DigiCipher, since it is processed by 4 processors and there are 4 macroblocks in the horizontal direction, one macroblock is processed in the horizontal direction for each processor. Therefore, per processor, macro blocks are processed from the top to the bottom in units of 11 super blocks in the macro block.

【0112】この4プロセッサでの処理を行なう回路
は、可変長符号復号回路57、逆量子化回路59、逆D
CT回路60、加算回路61、動き補償回路68、フレ
ーム内/間切り替え回路63及びスイッチ62、さら
に、フレーム遅延回路67内の書き込みアドレス発生回
路67aである。この4つのプロセッサへの符号の振り
分けは、マクロブロックオーバーヘッドデータ内に含ま
れるプロセッサID(PID)を用いて行なう。この4
プロセッサの動作は同じ動作であるため、1プロセッサ
の動作を説明する。なお、他の方式でプロセッサ数が少
ない場合も1つ当りのプロセッサの動作は同様である。
The circuit for performing processing by these four processors is a variable length code decoding circuit 57, an inverse quantization circuit 59, an inverse D.
The CT circuit 60, the adder circuit 61, the motion compensation circuit 68, the intra-frame / inter-frame switching circuit 63 and the switch 62, and the write address generation circuit 67 a in the frame delay circuit 67. Codes are distributed to the four processors by using the processor ID (PID) included in the macroblock overhead data. This 4
Since the operations of the processors are the same, the operation of one processor will be described. The operation of one processor is the same when the number of processors is small in other methods.

【0113】通常時のビットストリームは、図20,図
22に示したマクロブロックのビットストリームになっ
ているため、マクロピクチャ層、すなわち、マクロスラ
イス層の先頭にあるマクロブロックアドレスを用いて、
映出先頭位置を定め、その後プロセッサIDを用いて、
順次通常再生時のアドレスを発生させる。
Since the bit stream in the normal state is the bit stream of the macro blocks shown in FIGS. 20 and 22, the macro block address at the head of the macro picture layer, that is, the macro slice layer is used.
By setting the projection start position, and then using the processor ID,
Addresses for normal reproduction are sequentially generated.

【0114】図23は、通常再生時の書き込みアドレス
発生回路67aの動作を示す図である。まず、マクロス
ライス層の先頭にあるマクロブロックアドレスをオーバ
ーヘッドデータ検出回路53で検出し、接続端子73よ
り書き込みアドレス発生回路67aに入力する。図23
にプロセッサ1の場合の例を示す。まず、ビットストリ
ーム中のM.B.A=0を読み出す。このM.B.A=
0はプロセッサ0のマクロブロックの先頭のスーパーブ
ロックの映出位置を示している。
FIG. 23 is a diagram showing the operation of the write address generating circuit 67a during normal reproduction. First, the head macro block address of the macro slice layer is detected by the overhead data detection circuit 53 and input to the write address generation circuit 67a from the connection terminal 73. FIG. 23
An example of the case of the processor 1 is shown in FIG. First, the M.D. B. Read A = 0. This M. B. A =
0 indicates the projection position of the super block at the head of the macro block of the processor 0.

【0115】プロセッサPIDのマクロブロックの先頭
のスーパーブロックの映出位置は、下式で表わされるた
め、プロセッサPID=1の場合、マクロブロックの先
頭スーパーブロックアドレスは、下式に示すように66
0となる。
Since the projection position of the super block at the head of the macro block of the processor PID is expressed by the following equation, when the processor PID = 1, the head super block address of the macro block is 66 as shown in the following equation.
It becomes 0.

【0116】S.B.A=M.B.A+660×PID = 0 +660×1 =660 通常再生時は、図23に矢印で示したように、まず、横
方向に1マクロブロック分、すなわち、S.B.A=6
60,720,…,1260まで、11スーパーブロッ
クを処理し、縦方向に1マクロブロックずつ処理する。
すなわち、S.B.A=1260の後は、S.B.A=
661,721,…,1261を処理する。
S. B. A = M. B. A + 660 × PID = 0 + 660 × 1 = 660 During normal reproduction, first, as indicated by an arrow in FIG. B. A = 6
Up to 60, 720, ..., 1260, 11 super blocks are processed, and one macro block is processed in the vertical direction.
That is, S. B. After A = 1260, S. B. A =
, 1261 are processed.

【0117】次に、読み出しアドレス発生回路67b
は、輝度信号Y及び色信号U,VをTVの走査線順序に
従がい読み出す。このフレーム遅延回路67、書き込み
読み出しアドレス発生回路67a,67bは、非ブロッ
ク化回路65の動作も兼ねている。
Next, the read address generation circuit 67b.
Reads the luminance signal Y and the color signals U and V according to the scanning line order of the TV. The frame delay circuit 67 and the write / read address generation circuits 67a and 67b also function as the deblocking circuit 65.

【0118】29章 スキップ 符号化スーパーブロックが、まったく予測スーパーブロ
ックと同じときには、この符号化スーパーブロック層の
データをなにも送らず、これをスキップすると言う。こ
の際のビットストリーム構造は、図20のマクロブロッ
クビットストリーム構造で説明したように、トリック量
子化レベルTQLn =31(nはスーパーブロック番
号)に設定し、該当する可変長符号を読み飛ばして次の
スーパーブロックに行く。すなわち、該当するスーパー
ブロックに有効データを発生させない。ここでTQL=
31をスキップコードと呼ぶことにする。なお、スキッ
プを表現する別のビットストリーム構成法として該当す
るスーパーブロックの可変長符号の位置にEOB(エン
ド・オブ・ブロック)を挿入しても良い。
Chapter 29 Skip When a coded superblock is exactly the same as a predicted superblock, it is said that no data of this coded superblock layer is sent and this is skipped. The bit stream structure at this time is set to the trick quantization level TQL n = 31 (n is a super block number) as described in the macro block bit stream structure of FIG. 20, and the corresponding variable length code is skipped. Go to the next super block. That is, no valid data is generated in the corresponding super block. Where TQL =
31 will be called a skip code. As another method of constructing a bit stream for expressing skip, EOB (End of Block) may be inserted at the position of the variable length code of the corresponding super block.

【0119】29.1 スキップ時の回路動作 スキップ時の回路動作を図18,図21を用いて説明す
る。ビットストリーム構造(図20)内のスキップコー
ドをオーバーヘッドデータ検出回路53で検出し、スキ
ップ信号を接続端子73よりスキップ制御回路74に入
力する。スキップ制御回路74では、フレーム遅延回路
67、非ブロック化回路65、スイッチ64、スイッチ
69に必要なスキップ制御信号を生成し、接続端子75
を介して出力している。
29.1 Circuit Operation During Skip The circuit operation during skip will be described with reference to FIGS. 18 and 21. The overhead data detection circuit 53 detects the skip code in the bitstream structure (FIG. 20) and inputs the skip signal to the skip control circuit 74 from the connection terminal 73. The skip control circuit 74 generates a skip control signal necessary for the frame delay circuit 67, the deblocking circuit 65, the switch 64, and the switch 69, and the connection terminal 75.
Is output via.

【0120】図18のスイッチ64及びスイッチ69
は、スキップ時の動作概念を示すものである。スキップ
時には、ビットストリーム中には有効なデータは何も存
在しないため、加算回路61の出力信号は用いない。す
なわちスイッチ64はオープン状態であり、フレーム遅
延回路67への書き込みは行なわない。また、スキップ
時には、予測スーパーブロックの画像データと同一とな
るため、フレーム遅延回路67内に記憶してある画像デ
ータを読み出すことにより、映像信号を出力端子70〜
72に出力する。すなわちスイッチ69はオン状態であ
る。
The switch 64 and the switch 69 shown in FIG.
Shows the operation concept at the time of skip. At the time of skip, since there is no valid data in the bit stream, the output signal of the adder circuit 61 is not used. That is, the switch 64 is in the open state, and writing to the frame delay circuit 67 is not performed. Further, at the time of skip, since it is the same as the image data of the predicted super block, the image data stored in the frame delay circuit 67 is read to output the video signal from the output terminals 70 to 70.
Output to 72. That is, the switch 69 is in the on state.

【0121】非スキップ時は、25章デコーダ基本構
成,28章フレーム遅延回路で説明した動作と同様に、
フレーム遅延回路への書き込み動作を行なう。
At the time of non-skip, similar to the operations explained in Chapter 25 Decoder Basic Configuration and Chapter 28 Frame Delay Circuit,
Performs a write operation to the frame delay circuit.

【0122】29.2 スキップ時の動作例 スキップ時の、フレーム遅延回路67の動作の具体例を
図24及び図25を用いて説明する。ビットストリーム
(図20)において、スーパーブロック0にリフレッシ
ュブロックの可変長符号が存在し、スーパーブロック1
〜スーパーブロック10には可変長符号は存在しない場
合の例で説明する。
29.2 Operation Example During Skipping A specific example of the operation of the frame delay circuit 67 during skipping will be described with reference to FIGS. 24 and 25. In the bit stream (FIG. 20), the variable length code of the refresh block exists in super block 0, and the super block 1
-An example will be described in which the variable length code does not exist in the super block 10.

【0123】トリック量子化レベルTQL0 は、リフレ
ッシュブロックの可変長符号を表わしており、トリック
量子化レベルTQL1 〜TQL10はスキップを表わす3
1になっている。
The trick quantization level TQL 0 represents the variable length code of the refresh block, and the trick quantization levels TQL 1 to TQL 10 represent skip 3.
It is 1.

【0124】図24を用いて、スキップ時の書き込みア
ドレス発生回路67aの動作を示す。デコーダのフレー
ム遅延回路67内の書き込みアドレス発生回路67a
は、まず、図20のマクロブロックビットストリーム内
でトリック量子化レベルTQL1 〜TQL10が全てスキ
ップ状態であることを確認する。これにより、図25に
示したように、マクロブロック内のスーパーブロック1
〜スーパーブロック10は、スキップであることを確認
する。スキップとは、フレームメモリ67c,67d,
67eへの書き込みを行なわないことであるため、スキ
ップ部分はアドレスは発生させない。すなわち、結果的
には、リフレッシュブロックが存在する部分のみアドレ
スを発生させることになるため、縦方向にアドレスを発
生させる。図24にDigiCipherの場合を示す。
The operation of the write address generating circuit 67a at the time of skip will be described with reference to FIG. A write address generation circuit 67a in the frame delay circuit 67 of the decoder
First confirms that all the trick quantization levels TQL 1 to TQL 10 are in the skip state in the macroblock bitstream of FIG. As a result, as shown in FIG. 25, the super block 1 in the macro block is
~ Super block 10 confirms that it is a skip. Skip means frame memories 67c, 67d,
Since writing to 67e is not performed, no address is generated in the skip portion. That is, as a result, the address is generated only in the portion where the refresh block exists, so that the address is generated in the vertical direction. FIG. 24 shows the case of DigiCipher.

【0125】DigiCipherの場合には、図3(a)に示し
たように1プロセッサ当りは必らず、縦方向にリフレッ
シュブロックを配置しているため、書き込みアドレス発
生回路67aは、結果的に縦方向にスーパーブロックア
ドレスを発生させていく。すなわち、 S.B.A:600,601,……,658,659 の順で、スーパーブロックアドレスを発生させる。
In the case of the DigiCipher, as shown in FIG. 3A, the refresh block is arranged in the vertical direction, not necessarily for one processor. The super block address is generated in the direction. That is, S. B. Super block addresses are generated in the order of A: 600, 601, ..., 658, 659.

【0126】次に、読み出しアドレス発生回路67b
は、輝度信号Y及び色信号U,VをTVの走査線順序に
従がい読み出す。なお、このフレーム遅延回路67、書
き込み読み出しアドレス発生回路67a,67bは、非
ブロック化回路65の動作も兼ねている。以上のフレー
ムメモリ書き込み読み出しを行なう際には、読み出しア
ドレスの設定は走査線順に水平方向に読み出し、書き込
み時は縦方向に書き込んでいく。
Next, the read address generation circuit 67b.
Reads the luminance signal Y and the color signals U and V according to the scanning line order of the TV. The frame delay circuit 67 and the write / read address generation circuits 67a and 67b also function as the deblocking circuit 65. When the above frame memory writing and reading are performed, the read address is set in the scanning line order in the horizontal direction, and in the writing, it is written in the vertical direction.

【0127】35.一部領域リフレッシュ信号切り替え
基本動作 5章及び図3,図4を用いて説明したように、1フレー
ム期間に、一画面の一部領域にリフレッシュを施してい
る場合(例えばDigiCipherなどの例)のフレーム間帯域
圧縮信号切り替え回路を説明する。図26は、一画面の
一部の領域にリフレッシュが施されている2つのフレー
ム間帯域圧縮信号を切り替えた出力信号を示す図であ
る。同図は、5章5.1節で説明した図9と同様の図で
ある。
35. Partial area refresh signal switching basic operation As described with reference to Chapter 5 and FIGS. 3 and 4, when a partial area of one screen is refreshed in one frame period (for example, DigiCipher) The inter-frame band compression signal switching circuit will be described. FIG. 26 is a diagram showing an output signal obtained by switching between two inter-frame band compression signals in which a partial area of one screen is refreshed. This figure is similar to FIG. 9 described in Chapter 5, Section 5.1.

【0128】図26(a)は、フレーム間帯域圧縮信号
Aを示しており、四角で囲みrを記入した部分は、A信
号のリフレッシュを施したブロックを示している。図2
6(b)は、フレーム間帯域圧縮信号Bを示しており、
四角で囲みRを記入した部分は、B信号のリフレッシュ
を施したブロックを示している。この2つの信号を切り
替える際のポイントはA信号からB信号に切り替える際
には、B信号にリフレッシュを施したブロックから有効
信号として出力することである。
FIG. 26 (a) shows the inter-frame band compression signal A, and the portion surrounded by a square and having a r in it indicates a block in which the A signal is refreshed. Figure 2
6 (b) shows the inter-frame band compression signal B,
The portion surrounded by a square and having R written therein indicates a block in which the B signal is refreshed. The point of switching between these two signals is that when switching from the A signal to the B signal, the block in which the B signal is refreshed is output as an effective signal.

【0129】すなわち、図26(c)に示すように、F
10で使用者切替要求310があった場合に先ずFB10
信号としては、B信号にリフレッシュを施したスーパー
ブロケックアドレス600〜659の信号のみを送る。
すなわち、図25のように、1マクロブロック内におい
ては、リフレッシュブロックのみを送り、残りのスーパ
ーブロックは、スキップ信号を出力する。次のフレーム
FB11では、スーパーブロックアドレス540〜659
を出力する。
That is, as shown in FIG.
When there is a user switching request 310 at 10 , first, as the FB 10 signal, only signals of super block addresses 600 to 659 obtained by refreshing the B signal are sent.
That is, as shown in FIG. 25, within one macroblock, only the refresh block is sent and the remaining superblocks output the skip signal. In the next frame FB 11 , super block addresses 540 to 659
Is output.

【0130】すなわち、FB11でリフレッシュを施した
スーパーブロックアドレス540〜599の信号と、F
10でリフレッシュを施したスーパーブロックアドレス
600〜659の信号とを出力する。すなわち、図25
に示したように、マクロブロック単位で見ると、リフレ
ッシュブロックと前のフレームでリフレッシュを施して
あるスーパーブロックを送出し、残りのスーパーブロッ
クはスキップ状態にしておく。ここでスキップに関して
は29章スキップで説明した動作をする。
That is, signals of super block addresses 540 to 599 refreshed by FB 11 and F
The signals of the super block addresses 600 to 659 refreshed in B 10 are output. That is, FIG.
As shown in, when viewed in macroblock units, the refresh block and the superblock refreshed in the previous frame are transmitted, and the remaining superblocks are left in the skipped state. Here, regarding the skip, the operation described in Chapter 29 Skip is performed.

【0131】ここで説明したFB11のスーパーブロック
アドレス540〜599,600〜659に対応する切
り替え時リフレッシュ有効ブロックを定義しておく。
Refresh valid blocks at switching corresponding to the super block addresses 540 to 599 and 600 to 659 of the FB 11 described here are defined.

【0132】切り替え時リフレッシュ有効ブロック:切
り替え後の新たな信号に対して、一度リフレッシュを施
したブロック なお、スキップを施すスーパーブロックの可変長符号デ
ータは、映出画像を作る上では用いないため、この無効
スーパーブロックの可変長符号は削除することも可能で
あり、効率上、削除した方が好ましい。
Refresh effective block at the time of switching: A block in which a new signal after switching is refreshed once. The variable length code data of the super block to be skipped is not used in producing a projected image. The variable length code of this invalid superblock can be deleted, and it is preferable to delete it for efficiency.

【0133】36.一部領域リフレッシュ帯域圧縮信号
切り替え時のビットストリーム 35章で述べたように、無効ブロックの可変長符号は削
除することが好ましい。この手法は、フレーム間帯域圧
縮信号切り替え回路内で、不要なスーパーブロックの可
変長符号は削除し、かつ、オーバーヘッドデータ内に、
TQL=31のスキップを示すコードを挿入する方法で
ある。
36. Bitstream at the time of switching partial region refresh band compressed signal As described in Chapter 35, it is preferable to delete the variable length code of the invalid block. In this method, the variable length code of unnecessary super block is deleted in the inter-frame band compression signal switching circuit, and in the overhead data,
This is a method of inserting a code indicating a skip of TQL = 31.

【0134】これは後述するフレーム間帯域圧縮信号切
り替え回路(図27)内の、スイッチ切替制御回路7
6、A及びB書き込み読み出し制御回路77,78を用
いて、A及びBメモリ79,80から読み出す際に、切
り替え時リフレッシュ有効ブロックのみを読み出す。こ
こで、切り替え時リフレッシュ有効ブロックとは、切り
替え後、一度リフレッシュを施したブロックのことを示
しており、35章,36章の図24,図25の説明で定
義したブロックと同一である。
This is the switch switching control circuit 7 in the inter-frame band compression signal switching circuit (FIG. 27) described later.
6, when reading from the A and B memories 79 and 80 using the A and B write / read control circuits 77 and 78, only the refresh valid block at the time of switching is read. Here, the refresh valid block at switching refers to a block that has been refreshed once after switching, and is the same as the block defined in the description of FIGS. 24 and 25 in Chapters 35 and 36.

【0135】37.一部領域リフレッシュフレーム間帯
域圧縮信号切り替え回路 図27に、一部領域リフレッシュフレーム間帯域圧縮信
号切り替え回路の回路構成を示す。35章で述べたよう
に、リフレッシュが以前のフレームでなされていない無
効スーパーブロックの可変長符号は、削除することが好
ましい。そこで、一部領域リフレッシュフレーム間帯域
圧縮信号切り替え回路には、A及びB可変長符号検出回
路81,82が必要となる。そこで、図28に示した構
成となる。図28において、同一機能を有するブロック
は同一番号を付してある。なお、ここで、A及びB書き
込み読み出し制御回路77,78、スイッチ切替制御回
路76、切り替え時オーバーヘッドデータ発生回路83
の動作は、図29に示す。
37. Partial area refresh inter-frame compression signal switching circuit FIG. 27 shows a circuit configuration of a partial area refresh inter-frame compression signal switching circuit. As mentioned in Chapter 35, variable length codes of invalid superblocks that have not been refreshed in the previous frame are preferably deleted. Therefore, the partial region refresh inter-frame band compression signal switching circuit requires the A and B variable length code detection circuits 81 and 82. Therefore, the configuration shown in FIG. 28 is obtained. In FIG. 28, blocks having the same function are assigned the same numbers. Note that, here, the A and B write / read control circuits 77 and 78, the switch switching control circuit 76, and the switching overhead data generation circuit 83.
The operation of is shown in FIG.

【0136】一部領域リフレッシュ信号切り替え回路の
動作 図27の一部領域リフレッシュ信号切り替え回路は、図
29に示したステップで動作する。図28は、図27の
各ブロックの内部を詳細に説明した図である。同図にお
いて、同一番号を割り当ててあるブロックは、同一機能
を有するブロックである。Bリフレッシュ有効領域検出
回路84の内部は、Bスーパーブロック区切り検出回路
84a、Bオーバーヘッドデータ検出回路84b、B可
変長符号検出回路82で構成している。また、スイッチ
切替制御回路76の内部は、スーパーブロック区切り位
置記憶回路76a、切り替え時発生符号量算出回路76
bで構成している。
Operation of Partial Area Refresh Signal Switching Circuit The partial area refresh signal switching circuit of FIG. 27 operates in the steps shown in FIG. FIG. 28 is a diagram illustrating in detail the inside of each block of FIG. 27. In the figure, blocks to which the same number is assigned are blocks having the same function. The inside of the B refresh effective area detection circuit 84 includes a B super block delimiter detection circuit 84a, a B overhead data detection circuit 84b, and a B variable length code detection circuit 82. In addition, inside the switch switching control circuit 76, a super block delimiter position storage circuit 76a and a switching generated code amount calculation circuit 76 are provided.
It consists of b.

【0137】また、B書き込み読み出し制御回路78の
内部は、全スーパーブロック書き込み制御回路78a、
リフレッシュ有効読み出し制御回路78bで構成してい
る。切り替え時オーバーヘッドデータ発生回路83の内
部は、トリック量子化レベル設定回路83a、切り替え
時Macroblock符号長設定回路83b、レートバッファ占
有度設定回路83c、デコーダ映出フレーム設定回路8
3d、レートバッファ容量設定回路83e、伝送レート
設定回路83fで構成している。Bメモリ80の内部
は、各マクロブロックの符号を記憶するメモリM-10
0 からなるマクロブロックメモリ80a、マルチプレ
クサ80bで構成している。
Further, the inside of the B write / read control circuit 78 includes all super block write control circuits 78a,
The refresh effective read control circuit 78b is used. Inside the switching overhead data generation circuit 83, a trick quantization level setting circuit 83a, a switching Macroblock code length setting circuit 83b, a rate buffer occupancy setting circuit 83c, a decoder projection frame setting circuit 8
3d, a rate buffer capacity setting circuit 83e, and a transmission rate setting circuit 83f. The inside of the B memory 80 is a memory M- 10 to store the code of each macroblock.
It is composed of a macroblock memory 80a composed of M 0 and a multiplexer 80b.

【0138】このマクロブロックメモリ80aは、記憶
時には各マクロブロックの全ての符号をいったん記憶す
る。読み出し時には、一度リフレッシュが施されたスー
パーブロックを有効ブロックとし、切り替え時には有効
ブロックのみ読み出す。さらに、マルチプレクサ80b
で、各有効ブロックの符号を合成して出力する。
The macroblock memory 80a temporarily stores all codes of each macroblock during storage. At the time of reading, the super block that has been refreshed once is set as an effective block, and at the time of switching, only the effective block is read. Further, the multiplexer 80b
Then, the codes of the effective blocks are combined and output.

【0139】ステップ1 図26で説明したように、A信号からB信号に切り替え
る場合には、信号Bのリフレッシュブロックを開始ブロ
ックとして切り替える。そこで、A及びBリフレッシュ
有効領域検出回路85,84、A及びB可変長符号検出
回路81,82では、リフレッシュブロックを検出し、
35章〜37章で説明したように、一度リフレッシュが
施されたスーパーブロックを有効ブロックとする。さら
に、有効ブロック以外の無効ブロックの可変長符号は削
除する。また、デコーダにおける切り替え期間l[図3
0(c)のB′切替モードに対応]を決定しておく。
Step 1 As described with reference to FIG. 26, when switching from the A signal to the B signal, the refresh block of the signal B is switched as the start block. Therefore, the A and B refresh effective area detection circuits 85 and 84 and the A and B variable length code detection circuits 81 and 82 detect refresh blocks,
As described in Chapters 35 to 37, the superblock that has been refreshed once is set as the effective block. Furthermore, variable length codes of invalid blocks other than valid blocks are deleted. In addition, the switching period l [see FIG.
Corresponding to B'switching mode of 0 (c)] is determined.

【0140】ステップ2 有効ブロックが決定したら、次の式で示される切り替え
時の有効ブロックの発生符号量RBT(Rate B channel
Transition Value )を算出する。
Step 2 When the effective block is determined, the generated code amount RBT (Rate B channel) of the effective block at the time of switching represented by the following equation
Transition Value) is calculated.

【0141】[0141]

【数12】 ここで、nは信号Bのフレームの全データの出力を開始
するフレームで、(n−f)は、A信号からB信号への
切り替えを開始するフレームとなる。図26では、B信
号のFB10からリフレッシュを開始しているため、(n
−f)=10になる。またfは、リフレッシュ期間を示
しており、5章5.1節DigiCipherのリフレッシュの例
では、11フレームがリフレッシュ期間になっているた
めf=11となる。また、ΔRBj はB信号のフレーム
FBj の1フレームの有効ブロックの発生符号量を示し
ている。そこで、RBTはリフレッシュ期間の有効ブロ
ックの合計の発生符号量を示している。ステップ2で
は、さらに信号Aのバッファ占有度RA(n-l) ,…,R
(n-l-imax)、また信号Bのバッファ占有度RBn を検
出する。
(Equation 12) Here, n is a frame in which output of all data of the frame of the signal B is started, and (n−f) is a frame in which switching from the A signal to the B signal is started. In FIG. 26, since the refresh is started from FB 10 of the B signal, (n
-F) = 10. Further, f indicates a refresh period. In the example of DigiCipher refresh in Chapter 5, Section 5.1, since 11 frames are in the refresh period, f = 11. Further, ΔRB j indicates the generated code amount of the effective block of one frame of the frame FB j of the B signal. Therefore, RBT represents the total generated code amount of valid blocks in the refresh period. In step 2, the buffer occupancy RA (nl) , ..., R of the signal A is further added.
A (nl-imax) and the buffer occupancy RB n of the signal B are detected.

【0142】ステップ3 切り替え時のリフレッシュ期間における有効ブロックの
総符号量より、切り替え時の開始フレームの出力タイミ
ングと切り替え開始点が決まり、その出力タイミングに
よりA信号の終了フレームが決定される。そこで、信号
Bのフレームの全データの出力を開始するフレームFB
n のレートバッファ占有度RBn および切り替え時のリ
フレッシュ期間における有効ブロックの総符号量
Step 3 The output timing of the start frame at the time of switching and the switching start point are determined from the total code amount of the effective blocks in the refresh period at the time of switching, and the output end determines the end frame of the A signal. Therefore, the frame FB that starts outputting all the data of the frame of the signal B
total code amount of the effective blocks in the rate buffer occupancy RB n and the refresh period during the switching of the n

【数13】 及び切り替え時のリフレッシュ期間当りの伝送符号量r
・lと信号Aの切り替え時のレートバッファ占有度RA
(n-l) により
(Equation 13) And the transmission code amount r per refresh period at the time of switching
Rate buffer occupancy RA when switching between l and signal A
by (nl)

【数14】 を算出する。[Equation 14] To calculate.

【0143】ここで、ΔR>0,ΔR=0,ΔR<0の
場合より、図27のフレーム間帯域圧縮信号切り替え回
路の動作は異なる。ΔR>0の場合は次の動作を行な
う。
Here, the operation of the inter-frame band compression signal switching circuit of FIG. 27 differs from the case of ΔR> 0, ΔR = 0, and ΔR <0. When ΔR> 0, the following operation is performed.

【0144】ステップ4.1 この場合、有効ブロックバッファ占有度の初期値Step 4.1 In this case, the initial value of the effective block buffer occupancy

【数15】 よりRA(n-l) が小さいため、FB(n-f) の送出タイミ
ングは、FA(n-l) の送出タイミングより遅い。そし
で、A信号の終了フレームの送出タイミングがB信号の
開始フレームの送出タイミング以降となるような延長フ
レーム量kを発生させる。それは、以下の式を満たすも
のである。
(Equation 15) Since RA (nl) is smaller, the sending timing of FB (nf) is later than the sending timing of FA (nl) . Then, the extended frame amount k is generated such that the transmission timing of the end frame of the A signal is after the transmission timing of the start frame of the B signal. It satisfies the following formula.

【0145】[0145]

【数16】 ステップ5.1 次に、スイッチ切替制御回路76のスイッチ切替動作を
図30(a)を用いて説明する。実線270は、図27
のフレーム間帯域圧縮信号切り替え回路の出力端子86
の信号に相当する。入出力信号の伝送レートは同一であ
るため直線になっている。また、この実線270は、信
号A,信号Bの切り替えタイミングを示している。FA
13で出力を終了するA信号のタイミングは、点401か
ら水平方向に引いた点線と実線270との交点402
で、切り替え時の開始フレームFB9 の出力を開始する
タイミングは点403から水平方向に引いた点線と実線
270との交点404となり、FB9 の送出終了タイミ
ングはFA13の送出タイミングより遅い。そこで、前述
したA信号の終了フレームFA(n-l+k) は、
[Equation 16] Step 5.1 Next, the switch switching operation of the switch switching control circuit 76 will be described with reference to FIG. The solid line 270 is shown in FIG.
Output terminal 86 of the inter-frame band compression signal switching circuit of
Corresponding to the signal. Since the transmission rates of the input and output signals are the same, they are linear. The solid line 270 shows the switching timing of the signal A and the signal B. FA
The timing of the A signal ending the output at 13 is the intersection point 402 of the dotted line drawn from the point 401 in the horizontal direction and the solid line 270.
Then, the timing of starting the output of the start frame FB 9 at the time of switching is the intersection 404 of the dotted line horizontally drawn from the point 403 and the solid line 270, and the transmission end timing of FB 9 is later than the transmission timing of FA 13 . Therefore, the end frame FA (n-l + k) of the A signal described above is

【数17】 を満たすFA19となる。FA19は、A信号の累積符号量
272を延長したものと、点403及び点404から水
平に引いた点線との交点405となり、送出タイミング
は、点404であるので、点404まではA信号を出力
する。通常のB信号が開始されるFB20の出力タイミン
グは、点406から水平方向に引かれた点線と実線27
0との交点407になる。点404から点407の間の
期間はB信号の切り替え時の有効ブロックの発生符号量
が出力される。
[Equation 17] It becomes FA 19 that satisfies the requirement. FA 19 is an intersection 405 of the extension of the accumulated code amount 272 of the A signal and a dotted line drawn horizontally from the points 403 and 404. Since the transmission timing is the point 404, the A signal is transmitted up to the point 404. Is output. The output timing of the FB 20 at which the normal B signal is started is the dotted line drawn from the point 406 in the horizontal direction and the solid line 27.
It becomes the intersection 407 with 0. During the period from point 404 to point 407, the generated code amount of the effective block at the time of switching the B signal is output.

【0146】図30(b)は、同図(a)の信号を、図
18に示したフレーム間帯域圧縮デコーダに入力した際
のデコーダ内部のレートバッファ回路55の状態を示し
ている。図30(a)の実線270の点404まではA
信号のみが入力されているため、実線410上の点41
1まではA信号のみが存在している。実線270の点4
04から点407までは、切り替え時の有効ブロックの
発生符号量が入力されるためレートバッファ内には点4
12以降B信号が存在し、点413でA信号がなくな
り、B信号のみが存在する。
FIG. 30B shows the state of the rate buffer circuit 55 inside the decoder when the signal shown in FIG. 30A is input to the inter-frame band compression decoder shown in FIG. A is up to the point 404 on the solid line 270 in FIG.
Since only the signal is input, the point 41 on the solid line 410
Up to 1, only the A signal is present. Solid line 270, point 4
From 04 to point 407, since the generated code amount of the effective block at the time of switching is input, point 4 is stored in the rate buffer.
After twelve, the B signal exists, the A signal disappears at the point 413, and only the B signal exists.

【0147】図30(c)はデコーダの出力信号を示し
ており、フレーム番号F13まではA信号のみ、F14から
19までは切り替え信号、F20からB信号のみが出力さ
れる。スキップコードを出力する場合、ΔR<0の場合
は次の動作を行なう。
FIG. 30C shows the output signal of the decoder. Only the A signal is output up to frame number F 13 , the switching signal is output from F 14 to F 19, and only the F 20 to B signal is output. When outputting a skip code and ΔR <0, the following operation is performed.

【0148】ステップ4.2 この場合、有効ブロックバッファ占有度の初期値Step 4.2 In this case, the initial value of the effective block buffer occupancy

【数18】 よりRA(n-l) が大きいため、A信号の終了フレームは
RA(n-l) より以前に設定しなければならない。信号A
のバッファ占有度RA(n-l) ,…,RA(n-l-ima x)を用
いて、以下に示す式を満たすスキップフレーム量iだけ
スキップコードを発生させる。
(Equation 18) Since RA (nl) is larger, the end frame of the A signal must be set before RA (nl) . Signal A
The buffer occupancy RA (nl), ..., with RA (nl-ima x), generating a skip code by the skip frame quantity i which satisfies the formula shown below.

【0149】[0149]

【数19】 ステップ5.2 スイッチ切替制御回路76のスイッチ切替動作を、図3
1(a)を用いて説明する。FA13でA信号の出力を終
了するタイミングは、点421から水平方向に引いた点
線と実線270との交点422で、切り替え時の開始フ
レームFB9 の出力を開始するタイミングは点423か
ら水平方向に引いた点線と実線270との交点424と
なり、FB9 の送出タイミングはFA13の送出タイミン
グより早い。そこで、前述したA信号の終了フレームF
(n-l-i)
[Formula 19] Step 5.2 The switch switching operation of the switch switching control circuit 76 is shown in FIG.
This will be described using 1 (a). The timing of ending the output of the A signal in FA 13 is the intersection 422 of the dotted line drawn from the point 421 in the horizontal direction and the solid line 270, and the timing of starting the output of the start frame FB 9 at the time of switching is horizontal from the point 423. An intersection point 424 between the dotted line drawn with the line and the solid line 270 is obtained, and the sending timing of FB 9 is earlier than the sending timing of FA 13 . Therefore, the end frame F of the A signal described above
A (nli) is

【数20】 を満たすFA12となる。FA12は点423及び点424
から水平に引いた点線とA信号の累積符号量272との
交点425のフレームである。通常のB信号が開始され
るFB20の出力タイミングは点426から水平方向に引
かれた点線と実線270と交点427になる。点424
から点427の間の期間はB信号の切り替え時の有効ブ
ロックの発生符号量が出力される。
(Equation 20) FA 12 that satisfies the above conditions. FA 12 points 423 and 424
Is a frame of an intersection 425 between a dotted line drawn horizontally from the above and the accumulated code amount 272 of the A signal. The output timing of the FB 20 at which the normal B signal is started is a dotted line horizontally drawn from the point 426, a solid line 270, and an intersection 427. Point 424
During the period from to point 427, the generated code amount of the effective block when the B signal is switched is output.

【0150】図31(b)は、同図(a)の信号をデコ
ーダに入力した際のレートバッファ回路55の状態を示
している。実線430がレートバッファの占有度を示し
ている。実線270の点423まではA信号のみが入力
されているため、図31(b)の点431まではA信号
のみが存在し、点423以降レートバッファ内にB信号
が存在し、点433でA信号がなくなり、B信号のみが
存在する。
FIG. 31 (b) shows the state of the rate buffer circuit 55 when the signal of FIG. 31 (a) is input to the decoder. A solid line 430 shows the occupancy of the rate buffer. Since only the A signal is input up to the point 423 on the solid line 270, only the A signal exists up to the point 431 in FIG. 31B, and the B signal exists in the rate buffer after the point 423. The A signal disappears and only the B signal exists.

【0151】図31(c)はデコーダ221の出力信号
を示しており、フレーム番号F13まではA信号、F14
13をホールドした画像、F14からF19までは切り替え
信号、F20からB信号のみが出力される。ΔR=0の場
合 ステップ5.3 ΔR=0の場合は、A信号をフレーム番号FA(n-l-1)
まで出力した後に、B信号の有効ブロックのみFB
(n-1) まで送り、B信号の全信号をFBn から出力す
る。
FIG. 31 (c) shows the output signal of the decoder 221, which is the A signal up to frame number F 13 , F 14 is an image holding F 13 , a switching signal from F 14 to F 19 , and F 20. Output only the B signal. When ΔR = 0 Step 5.3 When ΔR = 0, the A signal is transmitted as the frame number FA (nl-1)
After outputting up to FB, only the effective block of B signal is FB
(n-1) , and outputs all B signals from FB n .

【0152】[0152]

【発明の効果】以上説明したように、この発明によれ
ば、複数のフレーム間帯域圧縮信号を切り替える際に、
差分信号による画像が出力されることなく、フレーム内
符号化処理を一度施した有効信号のみを出力し、高画質
の切り替え画像が得られる。
As described above, according to the present invention, when switching a plurality of inter-frame band compression signals,
It is possible to obtain a high-quality switching image by outputting only the effective signal that has been subjected to the intra-frame coding processing once without outputting the image based on the differential signal.

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

【図1】この発明に係るフレーム間帯域圧縮信号切り替
え回路の一実施例を示すブロック構成図。
FIG. 1 is a block diagram showing an embodiment of an inter-frame band compression signal switching circuit according to the present invention.

【図2】同実施例における画素領域を説明するために示
す図。
FIG. 2 is a diagram shown for explaining a pixel region in the embodiment.

【図3】同実施例のリフレッシュを説明するために示す
図。
FIG. 3 is a diagram shown for explaining refreshing of the embodiment.

【図4】同実施例のリフレッシュを説明するために示す
図。
FIG. 4 is a diagram shown for explaining refreshing of the embodiment.

【図5】同実施例におけるスーパーブロックアドレスを
説明するために示す図。
FIG. 5 is a diagram shown for explaining a super block address in the embodiment.

【図6】同実施例におけるフレーム内/間決定回路の詳
細を示すブロック構成図。
FIG. 6 is a block configuration diagram showing details of an intra-frame / inter-frame determination circuit in the embodiment.

【図7】同実施例におけるフレーム内/間判断特性を説
明するために示す図。
FIG. 7 is a diagram for explaining intra-frame / inter-frame determination characteristics according to the embodiment.

【図8】同実施例における強制リフレッシュを説明する
ために示す図。
FIG. 8 is a diagram shown for explaining forced refresh in the embodiment.

【図9】同実施例における1プロセッサ当りの強制リフ
レッシュを説明するために示す図。
FIG. 9 is a diagram for explaining forced refresh per processor in the embodiment.

【図10】同実施例におけるMPEGのリフレッシュを
説明するために示す図。
FIG. 10 is a diagram for explaining MPEG refresh in the embodiment.

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

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

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

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

【図15】同実施例の量子化レベル設定回路の詳細を示
すブロック構成図。
FIG. 15 is a block configuration diagram showing details of a quantization level setting circuit of the same embodiment.

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

【図17】DCT係数エネルギーと補正量子化レベルと
の関係を示す図。
FIG. 17 is a diagram showing the relationship between DCT coefficient energy and corrected quantization level.

【図18】この発明のデコーダ側の一実施例を示すブロ
ック構成図。
FIG. 18 is a block diagram showing an embodiment of the decoder side of the present invention.

【図19】インデックス、オーバーヘッドデータと各回
路との関係を示す図。
FIG. 19 is a diagram showing a relationship between an index, overhead data, and each circuit.

【図20】マクロブロックのビットストリーム構造を説
明するために示す図。
FIG. 20 is a diagram shown for explaining a bitstream structure of a macroblock.

【図21】フレーム遅延回路の詳細を示すブロック構成
図。
FIG. 21 is a block diagram showing details of a frame delay circuit.

【図22】マクロスライス層、ピクチャ層、G.O.P
層の構造を示す図。
[Fig. 22] A macro slice layer, a picture layer, G. O. P
The figure which shows the structure of a layer.

【図23】同フレーム遅延回路の通常時の動作を説明す
るために示す図。
FIG. 23 is a diagram shown for explaining the normal operation of the frame delay circuit.

【図24】同フレーム遅延回路のスキップ時の動作を説
明するために示す図。
FIG. 24 is a diagram for explaining the operation of the frame delay circuit when skipping.

【図25】フレーム間帯域圧縮信号切り替え回路の切り
替え動作の表示動作を示す図。
FIG. 25 is a diagram showing a display operation of the switching operation of the inter-frame band compression signal switching circuit.

【図26】フレーム間帯域圧縮信号切り替え回路の切り
替え動作を示す図。
FIG. 26 is a diagram showing a switching operation of an inter-frame band compression signal switching circuit.

【図27】フレーム間帯域圧縮信号切り替え回路のブロ
ック構成を示す図。
FIG. 27 is a diagram showing a block configuration of an inter-frame band compression signal switching circuit.

【図28】フレーム間帯域圧縮信号切り替え回路の詳細
ブロック構成を示す図。
FIG. 28 is a diagram showing a detailed block configuration of an inter-frame band compression signal switching circuit.

【図29】フレーム間帯域圧縮信号切り替え回路の切り
替え動作を説明するために示すフローチャート。
FIG. 29 is a flowchart shown to explain the switching operation of the inter-frame band compression signal switching circuit.

【図30】フレーム間帯域圧縮信号切り替え回路のレー
トバッファの動作を示す図。
FIG. 30 is a diagram showing the operation of the rate buffer of the inter-frame band compression signal switching circuit.

【図31】フレーム間帯域圧縮信号切り替え回路の他の
実施例のレートバッファの動作を示す図。
FIG. 31 is a diagram showing an operation of a rate buffer of another embodiment of the inter-frame band compression signal switching circuit.

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

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

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

【図35】同従来システムにおける通常再生時にフレー
ム9〜11までの再生可能なリフレッシュブロック及び
11フレーム蓄積したリフレッシュブロックを示す図。
FIG. 35 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.

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

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

11…入力端子、12…減算回路、13…動き評価回
路、14…DCT回路、15…量子化回路、16…可変
長符号化回路、17…FIFO回路、18…出力端子、
19…逆量子化回路、20…逆DCT回路、21…加算
回路、22…フレーム遅延回路、23…動き補償回路、
24,25…スイッチ、26…磁気テープ、27〜29
…映像入力端子、30…ブロック化回路、31…マルチ
プレクサ、32…出力端子、33…フレーム内/間決定
回路、34,35…入力端子、36,37…出力端子、
38…エネルギー比較回路、39…減算回路、40…加
算回路、41…周期的リフレッシュタイミング発生回
路、42…量子化レベル設定回路、43…スーパーブロ
ック符号量算出回路、44…マクロブロック符号量算出
回路、45…伝送符号量ROM、46…レートバッファ
符号量算出回路、47…マクロブロック量子化レベル設
定回路、48…スーパーブロック量子化レベル設定回
路、49,50…接続端子、51…DCT係数エネルギ
ー算出回路、52…加算回路、53…オーバーヘッドデ
ータ検出回路、54…入力端子、55…レートバッファ
回路、56…接続端子、57…可変長符号復号回路、5
8…接続端子、59…逆量しか回路、60…逆DCT回
路、61…加算回路、62…スイッチ、63…フレーム
内/間切り替え回路、64…スイッチ、65…非ブロッ
ク化回路、66…接続端子、67…フレーム遅延回路、
68…動き補償回路、69…スイッチ、70〜72…出
力端子、73…接続端子、74…スキップ制御回路、7
5…接続端子、76…スイッチ切替制御回路、77…A
書き込み読み出し制御回路、78…B書き込み読み出し
制御回路、79…Aメモリ、80…Bメモリ、81…A
可変長符号検出回路、82…B可変長符号検出回路、8
3…切り替え時オーバーヘッドデータ発生回路、84…
Bリフレッシュ有効領域検出回路、85…Aリフレッシ
ュ有効領域検出回路、86…出力端子。
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-29
... Video input terminal, 30 ... Blocking circuit, 31 ... Multiplexer, 32 ... Output terminal, 33 ... In-frame / interval determining circuit, 34, 35 ... Input terminal, 36, 37 ... Output terminal,
38 ... Energy comparison circuit, 39 ... Subtraction circuit, 40 ... Addition circuit, 41 ... Periodic refresh timing generation circuit, 42 ... Quantization level setting circuit, 43 ... Super block code amount calculation circuit, 44 ... Macro block code amount calculation circuit , 45 ... Transmission code amount ROM, 46 ... Rate buffer code amount calculation circuit, 47 ... Macro block quantization level setting circuit, 48 ... Super block quantization level setting circuit, 49, 50 ... Connection terminal, 51 ... DCT coefficient energy calculation Circuits, 52 ... Addition circuit, 53 ... Overhead data detection circuit, 54 ... Input terminal, 55 ... Rate buffer circuit, 56 ... Connection terminal, 57 ... Variable length code decoding circuit, 5
8 ... Connection terminal, 59 ... Inverse amount only circuit, 60 ... Inverse DCT circuit, 61 ... Addition circuit, 62 ... Switch, 63 ... In-frame / between switching circuit, 64 ... Switch, 65 ... Deblocking circuit, 66 ... Connection Terminal, 67 ... frame delay circuit,
68 ... Motion compensation circuit, 69 ... Switch, 70-72 ... Output terminal, 73 ... Connection terminal, 74 ... Skip control circuit, 7
5 ... Connection terminal, 76 ... Switch switching control circuit, 77 ... A
Write / read control circuit, 78 ... B Write / read control circuit, 79 ... A memory, 80 ... B memory, 81 ... A
Variable-length code detection circuit, 82 ... B variable-length code detection circuit, 8
3 ... Overhead data generation circuit at switching, 84 ...
B refresh effective area detection circuit, 85 ... A refresh effective area detection circuit, 86 ... Output terminal.

フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 9/808 H04N 9/80 B 11/04 Continuation of front page (51) Int.Cl. 6 Identification number Office reference number FI Technical display location H04N 9/808 H04N 9/80 B 11/04

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 周期的にフレーム内符号化処理を施すリ
フレッシュ処理を有する2つのフレーム間帯域圧縮信号
A,Bを、信号Aから信号Bに切り替える回路におい
て、一度フレーム内符号化処理を施したB信号の有効ブ
ロックを連続して出力することを特徴とするフレーム間
帯域圧縮信号切り替え回路。
1. An intraframe coding process is performed once in a circuit for switching two interframe band compression signals A and B having a refresh process for periodically performing the intraframe coding process from a signal A to a signal B. An inter-frame band compression signal switching circuit which continuously outputs an effective block of a B signal.
【請求項2】 プログレッシブ・リフレッシュ処理を有
する2つのフレーム間帯域圧縮信号A,Bを、信号Aか
ら信号Bに切り替える回路において、一度フレーム内符
号化処理を施したB信号の有効ブロックを連続に出力す
る回路と、B信号の切り替え時のリフレッシュ期間にお
ける有効ブロックの総符号量と通常のB信号の開始時の
レートバッファ占有度,A信号のそれぞれのフレームに
おけるレートバッファ占有度,A信号の伝送レートを用
いて、切り替え時の符号量を決定し、切り替えを行なう
ことを特徴とする請求項1記載のフレーム間帯域圧縮信
号切り替え回路。
2. In a circuit for switching two inter-frame band compression signals A and B having progressive refresh processing from signal A to signal B, an effective block of B signal which has undergone intra-frame coding processing is made continuous. Output circuit, total code amount of effective block in refresh period when switching B signal, rate buffer occupancy at the start of normal B signal, rate buffer occupancy in each frame of A signal, transmission of A signal 2. The inter-frame band compression signal switching circuit according to claim 1, wherein the rate is used to determine the code amount at the time of switching and switching is performed.
【請求項3】 プログレッシブ・リフレッシュ処理を有
する2つのフレーム間帯域圧縮信号A,Bを、信号Aか
ら信号Bに切り替える回路において、一度フレーム内符
号化処理を施したB信号の有効ブロックを連続して出力
する回路と、該リフレッシュ時のB信号の各フレーム当
りの有効符号量ΔRBj とフレーム当りの伝送レート
r,切り替え時によるリフレッシュ期間l,周期的なリ
フレッシュ期間f,A信号の切り替え時のレートバッフ
ァ占有度RA(n-l) ,通常のB信号の開始時のレートバ
ッファ占有度PBn に対し、 【数1】 を規定する請求項1記載のフレーム間帯域圧縮信号切り
替え回路。
3. A circuit for switching two inter-frame band compression signals A and B having progressive refresh processing from signal A to signal B, in which an effective block of B signal which has been subjected to intra-frame coding processing is made continuous. Output circuit, effective code amount ΔRB j per frame of B signal at the time of refresh, transmission rate r per frame, refresh period 1 at switching, periodic refresh period f, and switching of A signal at switching For the rate buffer occupancy RA (nl) and the rate buffer occupancy PB n at the start of the normal B signal, The inter-frame band compression signal switching circuit according to claim 1, wherein
【請求項4】 プログレッシブ・リフレッシュ処理を有
する2つのフレーム間帯域圧縮信号A,Bを、信号Aか
ら信号Bに切り替える回路において、一度フレーム内符
号化処理を施したB信号の有効ブロックを連続して出力
する回路と、該リフレッシュ時のB信号の各フレーム当
りの有効符号量ΔRBj とフレーム当りの伝送レート
r,切り替え時によるリフレッシュ期間l,周期的なリ
フレッシュ期間f,A信号の切り替え時のレートバッフ
ァ占有度RA(n-l) ,通常のB信号の開始時のレートバ
ッファ占有度PBn に対し、 【数2】 を規定し、ΔR>0の時、 【数3】 となるkを決定し、最小フレーム分の延長符号を出力す
る請求項3記載のフレーム間帯域圧縮信号切り替え回
路。
4. In a circuit for switching two inter-frame band compression signals A and B having progressive refresh processing from signal A to signal B, an effective block of B signal which has been once subjected to intra-frame coding processing is made continuous. Output circuit, the effective code amount ΔRB j per frame of the B signal at the time of refreshing, the transmission rate r per frame, the refresh period 1 at the time of switching, the periodic refresh period f, and the A signal at the time of switching the A signal. For the rate buffer occupancy RA (nl) and the rate buffer occupancy PB n at the start of the normal B signal, Is defined, and when ΔR> 0, 4. The inter-frame band compression signal switching circuit according to claim 3, wherein k is determined so that the extension code for the minimum frame is output.
【請求項5】 プログレッシブ・リフレッシュ処理を有
する2つのフレーム間帯域圧縮信号A,Bを、信号Aか
ら信号Bに切り替える回路において、一度フレーム内符
号化処理を施したB信号の有効ブロックを連続して出力
する回路と、該リフレッシュ時のB信号の各フレーム当
りの有効符号量ΔRBj とフレーム当りの伝送レート
r,切り替え時によるリフレッシュ期間l,周期的なリ
フレッシュ期間f,A信号の切り替え時のレートバッフ
ァ占有度RA(n-l) ,通常のB信号の開始時のレートバ
ッファ占有度PBn に対し、 【数4】 を規定し、ΔR<0の時、 【数5】 となるiを決定し、最小フレーム分のスキップ符号を出
力する請求項3記載のフレーム間帯域圧縮信号切り替え
回路。
5. In a circuit for switching two inter-frame band compression signals A and B having progressive refresh processing from signal A to signal B, an effective block of B signal which has been once subjected to intra-frame coding processing is made continuous. Output circuit, the effective code amount ΔRB j per frame of the B signal at the time of refreshing, the transmission rate r per frame, the refresh period 1 at the time of switching, the periodic refresh period f, and the A signal at the time of switching the A signal. With respect to the rate buffer occupancy RA (nl) and the rate buffer occupancy PB n at the start of the normal B signal, Is defined, and when ΔR <0, 4. The inter-frame band compression signal switching circuit according to claim 3, wherein i is determined so that the skip code for the minimum frame is output.
JP3569395A 1995-02-23 1995-02-23 Inter-frame band compression signal switching circuit Pending JPH08237599A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3569395A JPH08237599A (en) 1995-02-23 1995-02-23 Inter-frame band compression signal switching circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3569395A JPH08237599A (en) 1995-02-23 1995-02-23 Inter-frame band compression signal switching circuit

Publications (1)

Publication Number Publication Date
JPH08237599A true JPH08237599A (en) 1996-09-13

Family

ID=12448985

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3569395A Pending JPH08237599A (en) 1995-02-23 1995-02-23 Inter-frame band compression signal switching circuit

Country Status (1)

Country Link
JP (1) JPH08237599A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006080779A1 (en) * 2005-01-25 2006-08-03 Samsung Electronics Co., Ltd. Method of effectively predicting multi-layer based video frame, and video coding method and apparatus using the same
US7903735B2 (en) 2005-01-25 2011-03-08 Samsung Electronics Co., Ltd. Method of effectively predicting multi-layer based video frame, and video coding method and apparatus using the same
JP2013157679A (en) * 2012-01-26 2013-08-15 Canon Inc Video processing device, video processing method, and program

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006080779A1 (en) * 2005-01-25 2006-08-03 Samsung Electronics Co., Ltd. Method of effectively predicting multi-layer based video frame, and video coding method and apparatus using the same
US7903735B2 (en) 2005-01-25 2011-03-08 Samsung Electronics Co., Ltd. Method of effectively predicting multi-layer based video frame, and video coding method and apparatus using the same
US8165207B2 (en) 2005-01-25 2012-04-24 Samsung Electronics Co., Ltd. Method of effectively predicting multi-layer based video frame, and video coding method and apparatus using the same
US8446952B2 (en) 2005-01-25 2013-05-21 Samsung Electronics Co., Ltd. Method of effectively predicting multi-layer based video frame, and video coding method and apparatus using the same
JP2013157679A (en) * 2012-01-26 2013-08-15 Canon Inc Video processing device, video processing method, and program

Similar Documents

Publication Publication Date Title
KR970007530B1 (en) Band compressed signal processing apparatus
JP3184011B2 (en) Band compression signal processor
US6160849A (en) Selectable field and frame based predictive video coding
JP3268306B2 (en) Image coding method
US6507615B1 (en) Video signal processing apparatus and video signal processing method
JP2801560B2 (en) Improved low-delay coding method for motion picture coding
US6628713B1 (en) Method and device for data encoding and method for data transmission
JPH07264580A (en) Method for transmitting video signal and video signal transmitter and receiver
JPH08237666A (en) Inter-frame band comprssion signal processor
JP2898413B2 (en) Method for decoding and encoding compressed video data streams with reduced memory requirements
JPH08237599A (en) Inter-frame band compression signal switching circuit
JP2820630B2 (en) Image decoding device
JP4320509B2 (en) Video re-encoding apparatus and method
US6904093B1 (en) Horizontal/vertical scanning frequency converting apparatus in MPEG decoding block
JP3501521B2 (en) Digital video signal reproducing apparatus and reproducing method
JPH07131793A (en) Video signal high efficiency coding device
JP2005518728A (en) Image processing method and apparatus
JPH08265759A (en) Compression signal switching device
JPH0767113A (en) Inter-frame band compressing signal switching circuit
JPH07107464A (en) Picture encoding device and decoding device
KR0152024B1 (en) Coding and decoding apparatus of low delay coding method
JP3152730B2 (en) Bandwidth compression processor
JPH08237665A (en) Intr-frame band compression signal switching circuit
JP3235917B2 (en) Image recording and playback device
JPH06141300A (en) Band compression signal processing unit