JPH0444874B2 - - Google Patents
Info
- Publication number
- JPH0444874B2 JPH0444874B2 JP58126053A JP12605383A JPH0444874B2 JP H0444874 B2 JPH0444874 B2 JP H0444874B2 JP 58126053 A JP58126053 A JP 58126053A JP 12605383 A JP12605383 A JP 12605383A JP H0444874 B2 JPH0444874 B2 JP H0444874B2
- Authority
- JP
- Japan
- Prior art keywords
- frame
- buffer memory
- encoding
- frames
- circuit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/503—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
Description
【発明の詳細な説明】
[発明の利用分野]
本発明は、テレビジヨン(TV)信号のフレー
ム間符号化方式に係り、特に符号器、復号器間の
同期に好適な方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention relates to an interframe coding method for television (TV) signals, and particularly to a method suitable for synchronization between an encoder and a decoder.
[発明の背景]
TV信号を符号化して伝送する場合に、伝送効
率を向上するため、フレーム間符号化方式が知ら
れている。すなわち、フレーム間符号化では、現
フレームの信号が前フレームの信号に較べて変化
している領域を符号化して伝送する方式である。
この方式では符号化された信号が時間的、場所的
に一様に発生するわけではない。このため、伝送
レイトを一様にするため、送信機の出口、受信機
の入口に各々バツフアメモリを置く。バツフアメ
モリに留つている時間は上記信号の発生情況によ
り変化するから、送受信機間の時間の遅れは一様
ではない。TV信号のように、受信機でも受信信
号を表示のため周期的に繰返す必要のある場合に
は、受信側のフレームのタイミングをいかに再生
するかは難かしい問題である。[Background of the Invention] In order to improve transmission efficiency when encoding and transmitting a TV signal, an interframe encoding method is known. That is, interframe coding is a method of encoding and transmitting a region in which the signal of the current frame changes compared to the signal of the previous frame.
In this method, encoded signals are not generated uniformly in time and location. Therefore, in order to make the transmission rate uniform, buffer memories are placed at the exit of the transmitter and the entrance of the receiver. Since the time the signal remains in the buffer memory varies depending on the signal generation situation, the time delay between the transmitter and receiver is not uniform. When a receiver needs to periodically repeat the received signal for display, such as with a TV signal, it is difficult to determine how to reproduce the frame timing on the receiving side.
この一つの解決方法として、伝送する情報のう
ちタイミング情報のみはバツフアメモリを通過さ
せず、バイパスして取出す方式(特公昭53−5124
「画像信号のフレーム間符号化における同期信号
伝送方式」)などがある。 One solution to this problem is a method in which only the timing information of the information to be transmitted is bypassed and retrieved without passing through the buffer memory.
``Synchronous signal transmission method for interframe coding of image signals'').
[発明の目的]
本発明の目的は、TV信号のフレーム間符号化
における新しい同期信号の再生方式を実現するこ
とである。[Object of the Invention] An object of the present invention is to realize a new synchronization signal reproduction method in interframe coding of TV signals.
[発明の概要]
本発明においては、上述の如き手間の掛かる同
期方法はとらず、送信側のTVカメラ、ならびに
受信側のTV受像機(復号器)は、それぞれ独立
の周波数源の信号に基いて動作させる。ただし、
その間の相対誤差εは、たかだかたとえば0.5×
10-4あるいは10-5の如く充分小さいものとする
(通常の水晶発振器の場合、周波数源の精度は
10-6〜10-3は確保されており、この条件は、特に
厳しい条件ではない)。[Summary of the Invention] In the present invention, the time-consuming synchronization method described above is not used, and the TV camera on the transmitting side and the TV receiver (decoder) on the receiving side are based on signals from independent frequency sources. and make it work. however,
The relative error ε between them is, for example, at most 0.5×
10 -4 or 10 -5 (in the case of a normal crystal oscillator, the accuracy of the frequency source is
10 -6 to 10 -3 is guaranteed, and this condition is not particularly severe).
さて、後述するように、受信側周波数の方が低
い場合にはカメラ側のフレーム数の方が多いの
で、データが余つて受信側のバツフアメモリはオ
ーバフローする。そこで、安全のため、送受いず
れの周波よりも低い周波数で符号化すればよい。
具体的には、たとえば104ないし105フレームに1
フレームの割合で、符号化を休止する。この数字
は、考えられる相対誤差εと安全率k(k:たと
えば5)を乗じた値kεの逆数11/(kε)である。
これを第1図、第2図、第3図を用いて説明す
る。 Now, as will be described later, when the frequency on the receiving side is lower, the number of frames on the camera side is greater, so data is left over and the buffer memory on the receiving side overflows. Therefore, for safety, it is sufficient to encode at a lower frequency than both the transmitting and receiving frequencies.
Specifically, for example, 1 every 10 4 or 10 5 frames.
Pause encoding at a frame rate. This number is the reciprocal 11/(kε) of the value kε, which is the product of the possible relative error ε and the safety factor k (k: for example, 5).
This will be explained using FIGS. 1, 2, and 3.
第1図は、送信側のフレーム周波数Sが受信側
のフレーム周波数より低い場合である(図では説
明のため5:4位の長さの比で示してあるが、現
実には前述のように10-3〜10-5程度の差しかな
い。また、広義の伝送遅延は図示していない)。
この場合、フレームAで発生した符号化情報はバ
ツフアを経由して受信側でフレームA′で復号化
される。Bについても同様である。 Figure 1 shows the case where the frame frequency S on the transmitting side is lower than the frame frequency on the receiving side. The difference is only about 10 -3 to 10 -5 . Also, transmission delay in a broad sense is not shown).
In this case, encoded information generated in frame A is decoded in frame A' on the receiving side via a buffer. The same applies to B.
一方、フレームCではフレームの位相の関係か
らフレームCでは復号化できない(バツフアメモ
リで遅れる時間が負ということはありえないから
である)。そこで、フレームC″の時間で復号化す
ればこの問題は解決される。なお、フレームC′で
は、フレーム間符号化の特徴から云つて、復号化
はせず、B′の情報をそのまま繰返せばよい。D
以下のフレームもA,Bと同様である。 On the other hand, frame C cannot be decoded due to the frame phase relationship (this is because the delay time in the buffer memory cannot be negative). Therefore, this problem can be solved by decoding at the time of frame C''.In addition, due to the characteristics of interframe coding, in frame C', the information from B' is repeated without decoding. Goodbye.D
The following frames are also similar to A and B.
このように、S<Rの場合は大きな問題ない。 In this way, there is no major problem when S < R.
一方S<Rの場合には、第2図のようなことが
起きる。 On the other hand, when S < R , something like Figure 2 occurs.
すなわち、受信側でフレームに合わせて復号す
るのが送信側より遅いので、フレームDでバツフ
アメモリが満杯となり、たとえばフレームEの時
間に伝送された情報が欠落してしまう(すなわ
ち、復号されない)。これはバツフアメモリをい
かに大容量にしても、有限である以上いつかは必
ず起きる現象である。 That is, since decoding according to the frame is slower on the receiving side than on the transmitting side, the buffer memory becomes full at frame D, and the information transmitted during frame E, for example, is lost (that is, it is not decoded). No matter how large the buffer memory capacity is, this phenomenon is bound to occur someday since it is limited.
このように、S<Rの場合にはデータの欠落が
生じ、問題がある。もし、これが通常のPCM情
報の場合には、特昭40−27142号で述べられてい
るように欠落があつても問題ない。しかし、フレ
ーム間符号化のように、前のフレームの情報との
変化分を伝送する場合には、1フレーム欠落する
と順次あとのフレームにまで(リセツトするま
で)影響を与え、大きな画質劣化となる。 In this way, when S < R , data is missing and there is a problem. If this is normal PCM information, there is no problem even if it is missing, as described in Tokusho No. 40-27142. However, when transmitting information that has changed from the previous frame, as in interframe coding, if one frame is lost, it will affect subsequent frames (until they are reset), resulting in a significant deterioration of image quality. .
第3図にはこの解決方法を述べる。上述のこと
から、S<Rの場合には大きな問題はない。本発
明は、強制的にこのようにすることにある。 Figure 3 describes this solution. From the above, there is no major problem when S < R. The present invention is to force this to happen.
このため送信側ではTVフレームA,B,C,
Dまでは符号化するが、フレームEでは符号化を
休止する。この休止周期は、送受間の周波数精度
によるが、たとえば104フレームに1回であれば
十分である。休止するとその間に送信側バツフア
メモリが空になることもあるが、適当にフイル情
報(無駄なつめ物)をすればよい。これは通常の
フレーム間符号化において、本発明と関係なく行
なわれていることである。 Therefore, on the transmitting side, TV frames A, B, C,
Encoding is performed up to frame D, but encoding is stopped at frame E. This pause period depends on the frequency accuracy between transmitting and receiving, but once every 10 4 frames is sufficient, for example. During a pause, the transmitting side buffer memory may become empty, but you can fill it with appropriate fill information. This is something that is done in normal interframe coding and is not related to the present invention.
これにより、送信機から送られる符号化情報の
フレーム周波は必ずS<Rとなる。逆に、こうな
るように符号化を休止するフレームの周期を決め
ればよい。 As a result, the frame frequency of encoded information sent from the transmitter always satisfies S < R. Conversely, it is only necessary to decide the period of the frame at which encoding is paused so that this occurs.
[発明の実施例]
以下、本発明の一実施例を第4図により説明す
る。第4図において、点線で囲んだスイツチ1な
らびに分周回路2を除いた部分は、従来のフレー
ム間符号器である。説明の簡単化のため、最も簡
単なフレーム間DPCMの場合を簡略化して示し
た。[Embodiment of the Invention] An embodiment of the present invention will be described below with reference to FIG. In FIG. 4, the portion other than switch 1 and frequency divider circuit 2 surrounded by dotted lines is a conventional interframe encoder. To simplify the explanation, the simplest case of inter-frame DPCM is shown in a simplified manner.
入力端子3から入力されたTV信号は、予測回
路4の出力との差を差分回路5で求めこれを量子
化回路6で量子化する。この出力は可変長符号語
発生器7で符号語を与えられ、バツフアメモリ8
に加えられる。バツフアメモリがオーバーフロー
しそうになると閾値を制御したりサブサンプルを
するなど、モードの制御を行なうのが普通である
が、直接本発明と関係ないので説明は省く。ま
た、バツフアメモリ8が空になるとフイル語を挿
入する回路もあるが、特に本発明によつて追加さ
れるものではないので説明を省略する。 The difference between the TV signal input from the input terminal 3 and the output of the prediction circuit 4 is determined by a difference circuit 5, and the difference is quantized by a quantization circuit 6. This output is given a code word by a variable length code word generator 7, and a buffer memory 8
added to. When the buffer memory is about to overflow, mode control such as threshold control or sub-sampling is normally performed, but since this is not directly related to the present invention, the explanation will be omitted. There is also a circuit for inserting a fill word when the buffer memory 8 becomes empty, but since this is not particularly added by the present invention, a description thereof will be omitted.
TV信号からは水平、垂直などの同期信号を抽
出し、タイミング回路を動作させる。これも従来
からあるものである。タイミング回路は通常のカ
ウンタであり特に説明を要しない。タイミング回
路出力には、フレーム1に1回出力が得られるフ
レームタイミング出力がある。 Horizontal and vertical synchronization signals are extracted from the TV signal to operate the timing circuit. This is also a conventional method. The timing circuit is a normal counter and does not require any special explanation. The timing circuit output includes a frame timing output that is output once in frame 1.
以上は従来のフレーム間符号化の構成と同じで
ある。 The above is the same configuration as the conventional interframe coding.
本発明では、これに電子スイツチ(アンドゲー
ト)1と分周回路2が付加される。分周回路は、
たとえば10000フレームを計数し、10000フレーム
に1フレームだけ出力を出すものである。これに
よりフレーム間符号化出力はスイツチ1により遮
断される。 In the present invention, an electronic switch (AND gate) 1 and a frequency dividing circuit 2 are added to this. The frequency dividing circuit is
For example, it counts 10,000 frames and outputs only one frame out of every 10,000 frames. As a result, the interframe encoded output is cut off by switch 1.
これにより、第3図で示したように1フレーム
分の符号化が停止され、あたかも送信部のTVフ
レーム周波数が1/10000だけ低くなつたようにな
る。 As a result, encoding for one frame is stopped as shown in FIG. 3, and it becomes as if the TV frame frequency of the transmitting section has been lowered by 1/10000.
符号化を休止させる方法には、フレーム間符号
器の構成により他にもいろいろ変形がありうる。
たとえば、量子化回路の入力部にゲートを設ける
場合、さらにバツフアメモリ8入力にゲートを設
ける場合、さらに符号語発生回路7を停止させる
場合、クロツクを停止する場合などである。な
お、前述の如く、特に問題となるのはS<Rの場
合だけであるので、受信側のバツフアメモリがオ
ーバーフローしそうなときのみ受信側にコマンド
を送り、符号化を休止させる方法も考えられる。 There may be other variations in the method of pausing encoding depending on the configuration of the interframe encoder.
For example, when a gate is provided at the input of the quantization circuit, when a gate is further provided at the input of the buffer memory 8, when the code word generation circuit 7 is stopped, when the clock is stopped, etc. Note that, as mentioned above, a problem arises only when S < R , so it is also possible to send a command to the receiving side and suspend encoding only when the buffer memory on the receiving side is likely to overflow.
[発明の効果]
本発明によれば、送信側、受信側がそれぞれ独
立の周波数源により動作することが保証されるの
で、符号器、復号器の構成と容易にすることがで
きるという効果がある。[Effects of the Invention] According to the present invention, since it is guaranteed that the transmitting side and the receiving side each operate using independent frequency sources, there is an effect that the configuration of the encoder and decoder can be simplified.
なお、下記のような変形もありうる。 Note that the following modifications are also possible.
(i) 複合カラーTV信号の符号化の場合にはカラ
ーフレーム(2フレーム)を組にして休止させ
る方が動作上容易である場合が多い。(i) In the case of encoding a composite color TV signal, it is often easier to suspend color frames (two frames) as a set.
(ii) 休止させると送信側バツフアメモリに貯えら
れたデータ量は急速に減少する。フイル語を送
るのはもつたいない。したがつてその前のフレ
ーム(9999番フレーム)では、バツフアメモリ
を一杯にするようにするのがよい。たとえば、
フレーム間符号化でよく行なわれているように
直接モード(PCMそのものを送る)あるいは
フレーム内符号化モードに切替えるのもよい。(ii) When paused, the amount of data stored in the sending buffer memory will rapidly decrease. It's a pain to send file language. Therefore, it is better to fill the buffer memory in the previous frame (frame 9999). for example,
It is also good to switch to direct mode (sending the PCM itself) or intraframe coding mode, as is often done in interframe coding.
(iii) 休止するフレームの最大間隔を上記で決まる
値とすれば、これは必ずしも周期的でなくても
よい。たとえば、送バツフアメモリが満杯にな
るりそうなとき休止し、そこから改めてフレー
ム数を数えるなどの方法もある。(iii) If the maximum interval between paused frames is the value determined above, it does not necessarily have to be periodic. For example, there is a method of pausing when the transmission buffer memory is about to become full and counting the number of frames again from there.
第1図、第2図は本発明の意味を説明するため
のタイムチヤート図、第3図は本発明のタイムチ
ヤート図、第4図は、本発明による方式の一実施
例の構成図である。
1…電子スイツチ、2…フレーム分周回路、4
…予測回路、5…差分回路、6…量子化回路、7
…可変長符号語発生回路、8…バツフアメモリ。
1 and 2 are time charts for explaining the meaning of the present invention, FIG. 3 is a time chart of the present invention, and FIG. 4 is a configuration diagram of an embodiment of the method according to the present invention. . 1...Electronic switch, 2...Frame frequency dividing circuit, 4
...Prediction circuit, 5...Difference circuit, 6...Quantization circuit, 7
...Variable length code word generation circuit, 8...Buffer memory.
Claims (1)
差として考えられる値εよりも大きな値をkεと
するとき(kは1より大きく、1/εより十分小
さい値)、1/(kε)フレームに1回の割で符号
化を休止することを特徴とするテレビジヨン信号
のフレーム間符号化方式。1. If kε is a value larger than the value ε that can be considered as the relative error of the frame frequency of the television signal (k is a value larger than 1 and sufficiently smaller than 1/ε), then once per 1/(kε) frame, An interframe encoding method for television signals characterized by pausing encoding at intervals.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58126053A JPS6019378A (en) | 1983-07-13 | 1983-07-13 | Inter-frame coding system of television signal |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP58126053A JPS6019378A (en) | 1983-07-13 | 1983-07-13 | Inter-frame coding system of television signal |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6019378A JPS6019378A (en) | 1985-01-31 |
| JPH0444874B2 true JPH0444874B2 (en) | 1992-07-23 |
Family
ID=14925470
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP58126053A Granted JPS6019378A (en) | 1983-07-13 | 1983-07-13 | Inter-frame coding system of television signal |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6019378A (en) |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5619154A (en) * | 1979-07-25 | 1981-02-23 | Fujitsu Ltd | Control system for input and output unit |
-
1983
- 1983-07-13 JP JP58126053A patent/JPS6019378A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6019378A (en) | 1985-01-31 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5235618A (en) | Video signal coding apparatus, coding method used in the video signal coding apparatus and video signal coding transmission system having the video signal coding apparatus | |
| EP0460751B1 (en) | Method of transmitting audio and/or video signals | |
| MXPA02011734A (en) | Video error resilience. | |
| JPH09509035A (en) | Audio / video timing mismatch management | |
| EP1088454A1 (en) | Video encoder and encoding method with buffer control | |
| WO1991003128A1 (en) | Control system for encoding image | |
| JP3040336B2 (en) | Data encoder buffer control system and method | |
| JPH04504040A (en) | High Definition TV Encoder/Decoder | |
| US5677980A (en) | Decoder for compressed digital signal | |
| JP3516450B2 (en) | Bitstream transmission method and transmission system | |
| JP2002320228A (en) | Signal processor | |
| JP2520404B2 (en) | Compression decoding device | |
| JP3666047B2 (en) | Information transmission method | |
| JPH0444874B2 (en) | ||
| JPH1013826A (en) | Image encoding device and image encoding method, image decoding device and image decoding method, image transmitting device, image receiving device, and recording medium | |
| JPH08163558A (en) | Picture decoder | |
| US4985782A (en) | Reproduction system capable of reproducing a still image by interrupting a sequence of recorded signals | |
| JP3071579B2 (en) | Encoding apparatus and decoding apparatus for two-screen multiplexed moving image | |
| JPS58150383A (en) | Inter-frame coding and decoding device for television | |
| JPH0831960B2 (en) | Still image coding method and apparatus | |
| KR100238261B1 (en) | Apparatus for decoding of variable bit rate | |
| JP2667804B2 (en) | Receiving-side timing device in variable-length coded transmission | |
| JPH03259688A (en) | Picture coding transmission signal | |
| JPH03101490A (en) | Method and apparatus for picture information transmission | |
| KR20010043292A (en) | Digital signal processing device and method, and providing medium |