JPH077730A - Synchronous control device and method - Google Patents
Synchronous control device and methodInfo
- Publication number
- JPH077730A JPH077730A JP2830794A JP2830794A JPH077730A JP H077730 A JPH077730 A JP H077730A JP 2830794 A JP2830794 A JP 2830794A JP 2830794 A JP2830794 A JP 2830794A JP H077730 A JPH077730 A JP H077730A
- Authority
- JP
- Japan
- Prior art keywords
- decoder
- difference data
- data
- time
- clock
- 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
Links
Landscapes
- Synchronizing For Television (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Signal Processing For Digital Recording And Reproducing (AREA)
Abstract
(57)【要約】
【目的】 記録媒体から読みだした複合データからデコ
ード後の複数種のデータ間でのタイミング同期を確実に
とることのできる同期制御装置および方法を提供する。
【構成】 システムデコーダ(ホストCPU)、ビデオ
デコーダ、および音声デコーダがそれぞれマスタクロッ
ク回路としての機能およびスレーブ回路としての機能を
持ち、これらの機能を選択的に切り替えて使用できるよ
うに構成される。
(57) [Abstract] [PROBLEMS] To provide a synchronization control device and method capable of ensuring timing synchronization between a plurality of types of data after decoding from composite data read from a recording medium. [Structure] A system decoder (host CPU), a video decoder, and an audio decoder each have a function as a master clock circuit and a function as a slave circuit, and these functions can be selectively switched and used.
Description
【0001】[0001]
【産業上の利用分野】この発明は、表示制御システムに
関し、特に画像データと音声データの同期をとる同期制
御装置および方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a display control system, and more particularly to a synchronization control device and method for synchronizing image data and audio data.
【0002】[0002]
【従来の技術】近時、複数種のデジタルデータ、例えば
映像データと音声データとを複合化してCD−ROM等
の記録媒体に記録しておき、必要に応じてこれらのデー
タを読出して出力させるマルチメディア個人情報機器が
企画、開発されている。この種の機器で、記録媒体から
読出した複合データをその種類毎のデータにデコード
し、各種データ毎にさらに必要なデコードを行なうデコ
ーダについて、マルチメディア国際標準化団体のMPE
G(Moving Picture coding image Experts Group)が
種々の規格を設けており、該規格には画像信号及び音声
信号の圧縮/伸長方式が含まれている。2. Description of the Related Art Recently, a plurality of types of digital data, for example, video data and audio data, are combined and recorded on a recording medium such as a CD-ROM, and these data are read and output as needed. Multimedia personal information equipment is planned and developed. This kind of equipment decodes the composite data read from the recording medium into data of each type, and performs a necessary decoding for each type of data.
G (Moving Picture coding Image Experts Group) has established various standards, which include compression / expansion methods for image signals and audio signals.
【0003】このMPEGによる基本デコーディングシ
ステムを図6に示す。同図でデジタルデータ記録媒体1
は例えばCD−ROM等で構成され、複数種のデジタル
データ、例えば画像データと音声データとを複合化して
記録する。このデジタルデータ記録媒体1に記録されて
いる複合データが図示しないピックアップにより読出さ
れ、順次システムデコーダ(ホストCPU)3へ送られ
る。A basic decoding system based on this MPEG is shown in FIG. In the figure, the digital data recording medium 1
Is composed of, for example, a CD-ROM or the like, and records a plurality of types of digital data such as image data and audio data in a composite form. The composite data recorded on the digital data recording medium 1 is read by a pickup (not shown) and sequentially sent to the system decoder (host CPU) 3.
【0004】システムデコーダ3は、複合データをデコ
ーディングすることにより時間情報を取出してクロック
コントローラ5へ出力すると共に、音声データを音声デ
コーダ7へ、画像データを画像デコーダ9へそれぞれ分
配出力する。クロックコントローラ5は、システムデコ
ーダ3からの時間情報を基に音声デコーダ7及び画像デ
コーダ9へシステムクロックを供給する。The system decoder 3 extracts the time information by decoding the composite data and outputs it to the clock controller 5, and also outputs the audio data to the audio decoder 7 and the image data to the image decoder 9, respectively. The clock controller 5 supplies a system clock to the audio decoder 7 and the image decoder 9 based on the time information from the system decoder 3.
【0005】そして、音声デコーダ7及び画像デコーダ
9は、それぞれクロックコントローラ5と時間情報の送
受を行なうことで同期をとりながら音声データ、画像デ
ータのデコーディングを実行し、得られたデータをそれ
ぞれ画像出力装置8および音声出力装置10へ送出す
る。The audio decoder 7 and the image decoder 9 transmit and receive time information to and from the clock controller 5, respectively, to perform decoding of audio data and image data in synchronization with each other, and obtain the obtained data respectively as images. It is sent to the output device 8 and the audio output device 10.
【0006】このようなデコードシステムでは、システ
ムデコーダ3がデジタルデータ記録媒体1から読出した
データの流れからの時間情報に基づき、複数種、例えば
音声データと画像データとが多重化されたデジタルデー
タを音声デコーダ7、画像デコーダ9の入力として供す
るべく、音声や画像それぞれのデータの流れに分配、デ
コーディングしている。In such a decoding system, a plurality of types of digital data, for example, audio data and image data are multiplexed based on time information from the data flow read from the digital data recording medium 1 by the system decoder 3. In order to serve as an input to the audio decoder 7 and the image decoder 9, the data streams of audio and video are distributed and decoded.
【0007】このMPEGの規格によるビットストリー
ムのシンタックスは、シーケンスヘッダと、6つのレイ
ヤー(上から順に、シーケンス、GOP(Group
ofPictures)、ピクチャ−、スライス、マク
ロブロック(16x16ピクセルのブロック、動き補償
ベクトルの算出単位となる)、およびブロック(8x8
要素で構成されるDCTの算出単位となる))から構成
される。32ビットのバイト配置されたスタートコード
が用意される。これらのビットパターンは、ビデオのビ
ットストリーム中において、スタート以外では発生しな
い。シーケンスエラーコード(蓄積メディアからの訂正
不可能エラーを表す)以外のスタートコードはシンタッ
クスの中で定義されている。スタートコードの前にはバ
イト配置を保つために任意の個数の0が付けられる。シ
ーケンスヘッダは画面のフォーマットなどを指定する。
途中からの再生を可能にするため、シーケンスヘッダは
全てのGOPの先頭に付けることができるが、途中のG
OPに付いたシーケンスヘッダは量子化マトリクスだけ
しか変更できない。シーケンススタートコードの後の内
容は、画像の水平サイズ(12ビット)、垂直サイズ
(12ビット)、画素アスペクト比(4ビット)、ピク
チャーレート(4ビット)、ビットレート(18ビッ
ト)、VBV(vide buffering ver
ifier)バッファサイズ(10ビット)、制限パラ
メータフラッグ(1ビット)、2つの量子化マトリクス
のフラッグ(1ビット)と内容(64x8ビット)など
からなる。The syntax of a bit stream according to the MPEG standard is a sequence header and six layers (from top to bottom: sequence, GOP (Group).
ofPictures), pictures, slices, macroblocks (16 × 16 pixel blocks, which are units for calculating motion compensation vectors), and blocks (8 × 8)
It becomes the unit of calculation of DCT composed of elements)). A 32-bit byte-arranged start code is prepared. These bit patterns do not occur in the video bitstream except at the start. Start codes other than sequence error codes (which represent uncorrectable errors from storage media) are defined in the syntax. In front of the start code, an arbitrary number of 0s are added to keep the byte arrangement. The sequence header specifies the screen format and so on.
To enable playback from the middle, the sequence header can be added to the beginning of all GOPs.
The sequence header attached to OP can change only the quantization matrix. The contents after the sequence start code are the horizontal size (12 bits) of the image, the vertical size (12 bits), the pixel aspect ratio (4 bits), the picture rate (4 bits), the bit rate (18 bits), and the VBV (vide). buffering ver
ifier) buffer size (10 bits), limit parameter flag (1 bit), two quantization matrix flags (1 bit) and contents (64 × 8 bits).
【0008】GOPは完全には独立ではない。シーケン
スの最初のGOPでは、原画面順で、Iピクチャから始
まることを許すが、一般のGOPの先頭にあるのは、M
−1(MはP−ピクチャの周期、通常3及至6程度)枚
のB−ピクチャである。そのいくつかのB−ピクチャ
は、以前のGOPの最後のI,P−ピクチャからの予測
を使うことができる。途中からの再生のために、シーケ
ンスヘッダが付いたGOPでは、途中からの再生のとき
は、最初のM−1枚のB−ピクチャを捨てる必要があ
る。GOPレイヤには、クローズGOPフラッグと、ブ
ロークンリンク(Broken Link)フラッグが
設けられている。クローズGOPフラッグはそのGOP
が以前のGOPの画面を必要としないことを表す。GO
Pの先頭のM−1枚のB−ピクチャは後方予測のみを使
うことを意味する。これはエンコード時に設定されるフ
ラッグである。クローズGOPでないシーケンスをGO
P単位で編集した場合に、結合部分の次のGOPのブロ
ークンリンクフラッグを立てないといけない。デコーダ
はブロークンリンクフラッグが立っているGOPの先頭
のM−1枚のB−ピクチャは表示せずに捨てなくてはな
らない。グループスタートコードのあとに、タイムコー
ド(25bits)、クローズGOP(1bit)、ブ
ロークンリンクフラッグ(1bit)などが続く。GOPs are not completely independent. The first GOP in the sequence allows starting with an I-picture in original screen order, but at the beginning of a general GOP is M
-1 (M is a P-picture period, usually about 3 to 6) B-pictures. The some B-pictures can use predictions from the last I, P-picture of the previous GOP. For reproduction from the middle, in a GOP with a sequence header, it is necessary to discard the first M-1 B-pictures when reproducing from the middle. The GOP layer is provided with a closed GOP flag and a broken link (Broken Link) flag. The closed GOP flag is the GOP
Indicates that the previous GOP screen is not required. GO
The first M-1 B-pictures of P mean that only backward prediction is used. This is a flag set during encoding. GO a sequence that is not a closed GOP
When editing in P units, it is necessary to set a broken link flag for the GOP next to the joining part. The decoder must discard the first M-1 B-pictures of the GOP having the broken link flag, without displaying them. The group start code is followed by a time code (25 bits), a closed GOP (1 bit), a broken link flag (1 bit) and the like.
【0009】ピクチャは機能的に異なる4種のタイプを
持つ。D−ピクチャは高速フィード、高速リバースのと
きに使うDC成分だけの画像データである。D−ピクチ
ャはデコーダ必須要件であるが、D−ピクチャは別シー
ケンスにはいる。I,P,Bーピクチャの通常画像とは
シーケンスが異なる。ピクチャスタートコードのあと
に、テンポラルリファレンス(10bits),ピクチ
ャタイプのピクチャコードタイプ(3 bits)、デ
コーダの入力仮想バッファの値を示す、vbv(16b
its)のあとに、動ベクトルが整数単位であること、
動ベクトルのフレーム間隔をP,Bタイプでは必要な個
数記述する。その他、シーケンス、GOPヘッダと同様
であるがイクステンションやユーザデータが続きうる。Pictures have four types that are functionally different. The D-picture is image data of only the DC component used for high speed feed and high speed reverse. The D-picture is a decoder essential requirement, but the D-picture is included in another sequence. The sequence is different from the normal image of I, P, B-pictures. After the picture start code, the temporal reference (10 bits), the picture code type of the picture type (3 bits), and the value of the input virtual buffer of the decoder are indicated by vbv (16b).
after its), the motion vector must be an integer unit,
Describe the required number of motion vector frame intervals for P and B types. Other than the sequence and GOP header, extension and user data may follow.
【0010】スライスは任意の長さの16画素幅の帯で
あり、ピクチャをまたがることはできない。最初と最後
のマクロブロックはノンスキップ(Nonskippe
d)であり、最低1個のマクロブロックがノンスキップ
である。スライスの垂直位置を含んだスライススタート
コードの後に量子化スケール(quantizersc
ale)(5bits)が続き、エクストラインフォメ
ーションンが続きうる。A slice is a 16-pixel wide band of arbitrary length and cannot extend over a picture. The first and last macroblocks are non-skip (Nonskippe
d), and at least one macroblock is non-skip. A quantization scale (quantizersc) is added after the slice start code including the vertical position of the slice.
ale) (5 bits), followed by extra information.
【0011】マクロブロックはスタートコードをもたな
い。MBAのあと、マクロブロックタイプがくる。タイ
プによって、量子化スケールが続きうる。また動きベク
トルが必要な個数付く。intra以外のCodedタ
イプでは、マクロブロックパターン(CBP)が付く。Macroblocks do not have a start code. After MBA comes the macroblock type. Depending on the type, the quantization scale may follow. Also, the required number of motion vectors is attached. In Coded types other than intra, a macroblock pattern (CBP) is attached.
【0012】ブロックレイヤ−は、DCT係数がEOB
まで続く。CBPのため落とされたブロックはブロック
レイヤ自体がない。一般に、図8に示すように画像情報
のシーケンスはいくつかのパケットに分けられており、
各パケットは複数のピクチャ(1静止画面)とその下層
データからなるGOP(Group of Pictu
res)と称される単位で構成されている。シーケンス
情報は、コーディング階層を表わす最上層であり、ヘッ
ダ及びいくつかのGOPからなっている。1つのGOP
はそのままランダムアクセス可能な単位となっている。
このGOPは、シーケンスの範囲内で独立してデコーデ
ィング可能な最小コーディング単位であり、1つのヘッ
ダ及び複数のピクチャからなる。1つのピクチャが動画
像や映画の1フレームに対応する。図7はMPEG規格
で定義されているGOPを構成する3タイプのピクチ
ャ、すなわち、I,P,Bピクチャの相互関係を示すも
のであり、各1つのピクチャが動画像あるいは映画の1
フレームに対応する。すなわち、 Iピクチャ:このIピクチャは、基本的なデータ圧縮し
か施されておらずデータ量が3タイプのピクチャの中で
最も多い、ランダムアクセス用のピクチャであり、他の
ピクチャに関係なくコーディング可能である。 すなわ
ち、フレーム内(Intra frame)符号化画面
であり、すべてのマクロブロックがIntra符号化さ
れる。この目的は、GOPの独立性を容易に保つためで
ある。In the block layer, the DCT coefficient is EOB.
Continues until. The block dropped due to CBP does not have the block layer itself. Generally, the sequence of image information is divided into several packets as shown in FIG.
Each packet is a GOP (Group of Pictu) consisting of a plurality of pictures (one still screen) and its lower layer data.
Res). The sequence information is the top layer that represents the coding hierarchy, and consists of a header and some GOPs. 1 GOP
Is a unit that can be randomly accessed as it is.
This GOP is a minimum coding unit that can be independently decoded within the range of a sequence, and is composed of one header and a plurality of pictures. One picture corresponds to one frame of a moving image or movie. FIG. 7 shows the interrelationship of three types of pictures that compose a GOP defined by the MPEG standard, that is, I, P, and B pictures, and each one picture is one of a moving image or a movie.
Corresponds to the frame. That is, I picture: This I picture is a random access picture that has the most data amount among the three types of pictures and is only subjected to basic data compression, and can be coded regardless of other pictures. Is. That is, it is an intra-frame (Intra frame) encoded screen, and all macroblocks are Intra encoded. The purpose is to easily maintain the independence of GOPs.
【0013】Pピクチャ:このPピクチャは前のIまた
はPピクチャの動き補正用にコーディングされる。すな
わち、フレーム間(Predictive)予測符号化
画面であり、CCITT H.261と同じくマクロブ
ロック毎にIntra符号化とInter符号化が選択
できる画面タイプである。P picture: This P picture is coded for motion compensation of the previous I or P picture. That is, it is an inter-frame (Predictive) predictive coding screen, and is CCITT H.264. Similar to H.261, this is a screen type in which Intra coding and Inter coding can be selected for each macroblock.
【0014】Bピクチャ:このBピクチャは3タイプの
ピクチャの中で最もデータ量の圧縮率が高いピクチャで
あり、前後のIまたはPピクチャの動き補正用にコーデ
ィングされる。すなわち、双方向(bidirecti
onal)予測符号化画面であり、MPEG特有の画面
タイプであり、過去のI、Pピクチャを予測に使うだけ
でなく、未来のI,Pピクチャも予測に使うことができ
る画面タイプである。B picture: This B picture is a picture with the highest data rate compression rate among the three types of pictures, and is coded for motion compensation of the preceding or following I or P picture. That is, bidirectional
This is a screen type which is a predictive coding screen and is a screen type peculiar to MPEG, and not only the past I and P pictures can be used for prediction but also the future I and P pictures can be used for prediction.
【0015】上述したI,P及びBピクチャの従属関係
を図7中に矢印で示すように、Iピクチャのみが独立し
て存在し、Pピクチャはその前に位置するIまたはPピ
クチャに、Bピクチャは前後のIまたはPピクチャにそ
れぞれ依存することとなる。As shown by the arrows in FIG. 7, the above-mentioned dependency relationship between I, P and B pictures is such that only an I picture exists independently, and a P picture is a B picture in the preceding I or P picture. The picture depends on the preceding or following I or P picture.
【0016】いくつかのアプリケーションでは、画像信
号を逆方向に再生する要求がなされている。しかしなが
ら、上記のように前あるいは前後のピクチャに依存して
生成されるピクチャがあるため、1つのGOPを構成す
るピクチャ全部を記憶可能なだけの容量を有するメモリ
を使用し、一旦順方向でGOP内のピクチャを再生して
該メモリに記憶させた後に、メモリ内のピクチャを逆方
向に読出していくようなデコーダ構成としなければ、上
記のような要求を実現することができない。したがっ
て、順方向に画像を再生する場合に比してデコーディン
グしたピクチャを記憶しておくための表示用メモリがた
くさん必要となるが、現状の回路構成で表示用メモリの
容量を考慮するとそのような余裕はなく、結果として上
記のような逆再生の実現は事実上困難であった。In some applications, there is a demand to reproduce the image signal in the reverse direction. However, since there are pictures generated depending on the previous or next pictures as described above, a memory having a capacity capable of storing all the pictures forming one GOP is used, and once the GOP is forwarded. If the decoder configuration is such that the pictures in the memory are reproduced and stored in the memory and then the pictures in the memory are read in the reverse direction, the above requirements cannot be realized. Therefore, a large amount of display memory is required to store the decoded picture as compared with the case of reproducing the image in the forward direction. As a result, it was practically difficult to realize the reverse reproduction as described above.
【0017】また、GOP内で他のピクチャに依存しな
い独立したピクチャであるIピクチャのみを使って逆再
生を行なえば、上記表示用メモリの容量の問題を回避す
ることができるが、その反面、実際に表示に用いられる
ピクチャの数が大幅に減少してしまうため、動きが粗く
滑らかさのない、表示品質の低い動画像しか得ることが
できず、実用的ではなかった。Further, if the reverse reproduction is performed by using only the I picture which is an independent picture that does not depend on other pictures in the GOP, the problem of the capacity of the display memory can be avoided, but on the other hand, Since the number of pictures actually used for display is greatly reduced, it is not practical because only a moving image with rough motion and no smoothness and low display quality can be obtained.
【0018】また、MPEGのアルゴリズムでは、周波
数を自由に選択してコーディングすること及び他のピク
チャに依存しないIピクチャのGOP内の位置等に関し
て特に規定しておらず、自由に設定可能となっている。
そのため、ランダムアクセス機能が重要なアプリケーシ
ョンでは、特にIピクチャを秒に2回程度配設して使用
される。Further, the MPEG algorithm does not specify the frequency to be freely selected and coded and the position in the GOP of the I picture that does not depend on other pictures, and can be freely set. There is.
Therefore, in an application in which the random access function is important, I pictures are arranged and used about twice a second.
【0019】このように現在利用し得るMPEGの画像
デコーダでは、正転/逆転双方向のスキャン機能につい
て何らサポートしておらず、外部アプリケーションソフ
トウェアを用いてIピクチャをスキャニングすることの
みが唯一可能であった。As described above, the currently available MPEG image decoder does not support the forward / reverse bidirectional scanning function at all, and can only scan the I picture by using the external application software. there were.
【0020】しかるに、高速の正転/逆転スキャン機能
を実現するために、画像デコーダにIピクチャを表示の
順序で分配する外部システムを用いることが期待されて
いる。しかし、従来のMPEGシステムでは、アプリケ
ーションソフトウェアによりMPEGピクチャの正転/
逆転のスキャン機能を画像デコーダの外部システムがビ
ットストリームをデコーディングして識別し、スキャニ
ングのためのIピクチャの位置を見付けなければならな
い。これは、外部のシステムデコーダ3に多大な負荷を
強いることとなる。However, in order to realize a high-speed forward / reverse scanning function, it is expected to use an external system for distributing I-pictures to the image decoder in the display order. However, in the conventional MPEG system, the forward / reverse rotation of the MPEG picture is dependent on the application software.
The reverse scanning function must be identified by the external system of the image decoder by decoding the bitstream to find the position of the I-picture for scanning. This imposes a great load on the external system decoder 3.
【0021】また、一般に使用されるMPEGの画像デ
コーディング用の半導体チップでは、ビットストリーム
中のIピクチャの位置に関する情報を記憶保持すること
がないので、該情報の記録を上位のシステムデコーダ3
が保持しなければならず、やはりシステムデコーダ3の
負担が大きかった。In addition, since the generally used semiconductor chip for MPEG image decoding does not store and hold the information regarding the position of the I picture in the bit stream, the recording of this information is performed by the upper system decoder 3
Must be held, and the burden on the system decoder 3 was heavy.
【0022】また、デジタルデコーダはコード化された
ビットストリームデータを受取り、デコードして外部メ
モリに格納し、表示する前にフレームの順番ずけを行
う。MPEGの場合には、I、P,Bタイプの動画があ
るので、各動画は、外部メモリの3つのバッファに瞬時
に格納されなければならない。この格納された動画に対
して、種々の再生機能がデジタルデコーダにより実現さ
れる。このような機能としては、例えば、ノーマルプレ
イ、高速/低速プレイ、静止画、サーチ等がある。しか
し、従来MPEG規格あるいは他のデジタルビデオデコ
ーダでは、デコードした動画を反転する機能は有してい
ない。The digital decoder also receives coded bitstream data, decodes it, stores it in an external memory, and arranges the frames in order before displaying. In the case of MPEG, since there are I, P, and B type moving images, each moving image must be instantly stored in three buffers of the external memory. Various reproduction functions are realized by the digital decoder for the stored moving image. Such functions include, for example, normal play, high speed / low speed play, still image, and search. However, conventional MPEG standards or other digital video decoders do not have the function of inverting the decoded moving image.
【0023】JPEGの場合には、種々の動画操作(動
画の反転を含む)がデコードされた動画に対して成され
るが、ビデオデコーダの他にDSPあるいはグラフィッ
クチップがさらに必要になる。このように、現在市販の
デジタルビデオデコーダでは、表示する前に動画を反転
する(右ー左あるいは上ー下等)動画反転機能を有しな
い。現在市販のデジタルビデオデコーダを使ってこの機
能を実現するためには、デコードした動画データを受け
取るビデオシステムに、グラフィックチップおよびフレ
ームメモリが必要となる。In the case of JPEG, various moving image operations (including inversion of moving images) are performed on the decoded moving image, but a DSP or graphic chip is additionally required in addition to the video decoder. As described above, currently commercially available digital video decoders do not have a function of inverting a moving image (right-left or up-down) before displaying it. In order to realize this function by using a commercially available digital video decoder, a graphic chip and a frame memory are required in the video system that receives the decoded moving image data.
【0024】また、記録媒体から読みだした複合データ
をその種類毎のデータにデコードし、各種データ毎にさ
らに必要なデコードを行うデコーダにおいては、複合デ
ータからデコードした複数種のデータ間でタイミング同
期をとる必要がある。この同期をとる一般的な方法とし
ては、記録媒体から固定比率でデータを読みだし、各種
データをそれぞれのデコーダブロックに割り当てる。こ
のような場合、記録媒体から各種データを読みだす際の
固定比率を全体の動作タイミングと同期にもとずいて決
定する。Further, in a decoder which decodes composite data read from a recording medium into data of each type and further performs necessary decoding for each type of data, timing synchronization is performed between a plurality of types of data decoded from the composite data. Need to take. As a general method for achieving this synchronization, data is read from the recording medium at a fixed ratio and various data are assigned to respective decoder blocks. In such a case, the fixed ratio when reading various data from the recording medium is determined in synchronization with the overall operation timing.
【0025】[0025]
【発明が解決しようとする課題】この場合、音声データ
と映像データが記録媒体からデコードされる場合には、
デコーダ出力後のそれら各データ間で同期がとられるこ
とはなく、例えば”停止”と”再生開始”とを繰り返し
行うことで、結果的に音声と映像との出力タイミングに
ずれが生じるという不具合が発生することになる。In this case, when audio data and video data are decoded from the recording medium,
There is no synchronization between the respective data after the decoder output. For example, by repeatedly performing "stop" and "playback start", there is a problem that the output timings of audio and video are misaligned. Will occur.
【0026】すなわち、従来、システムの種々のデコー
ダに供給されるマルチデータストリーム間の同期は、図
9に示すようにシステムデコーダ267が記録媒体26
3から一定のレートでデータをリードし、分離して各デ
ータストリーム(DS1及至DSn)をそれぞれのデコ
ーダに供給している。この場合、データを記録媒体から
読みだすレートにより、各デコーダのタイミングと同期
が決定される。従って、音声データとビデオデータが共
通の記録媒体からデコードされる場合には、デコード後
にビデオデータの表示と音声出力との同期がとれていな
い場合、実際の音声出力タイミングおよびビデオ出力タ
イミングと相関性が無くなってしまう。That is, conventionally, the synchronization between the multiple data streams supplied to the various decoders of the system is performed by the system decoder 267 as shown in FIG.
Data is read at a constant rate from No. 3, separated, and each data stream (DS1 to DSn) is supplied to each decoder. In this case, the timing and synchronization of each decoder are determined by the rate of reading data from the recording medium. Therefore, when audio data and video data are decoded from a common recording medium, if the display of the video data and the audio output are not synchronized after decoding, there is a correlation with the actual audio output timing and video output timing. Disappears.
【0027】この発明の目的は、記録媒体から読みだし
た複合データからデコード後の複数種のデータ間でのタ
イミング同期を確実にとることのできる同期制御装置お
よび方法を提供することである。An object of the present invention is to provide a synchronization control device and method capable of ensuring timing synchronization between a plurality of types of decoded data from composite data read from a recording medium.
【0028】この実施例では、各デコーダ、例えばビデ
オデコーダおよび音声デコーダにマスタクロック回路と
しての機能およびスレーブクロック回路としての機能を
持たせ、これらの機能を選択的に切り替えて使用できる
ように構成されている。この結果、システムデコーダ2
69はマスタクロック信号を各種デコーダに供給する必
要が無いので、負荷が軽減され、他のアプリケーション
にサービスすることができる。また、各デコーダが例え
ばデータバッファを有している場合、データのアンダー
フローやオーバフローを防止することができる。また、
各デコーダは、残りの他のデコーダとの同期をとるマス
タタイムキーパの役割を果たすことができるので、シス
テム設計に柔軟性をもたせることができる。さらに、多
重ストリーム間の同期は、共通データストリームにおけ
るプレゼンテーションタイムスタンプにより取ることが
できる。従って、1つのデータストリームの再生を他の
データストリームの再生に合わせるのではなく、すべて
のデータストリームの再生をマスタタイムベースに調整
することによりN個のストリームの再生の同期をとるこ
とができる。In this embodiment, each decoder such as a video decoder and an audio decoder is provided with a function as a master clock circuit and a function as a slave clock circuit, and these functions can be selectively switched and used. ing. As a result, the system decoder 2
Since 69 does not need to supply the master clock signal to various decoders, the load is reduced and it is possible to service other applications. Further, when each decoder has a data buffer, for example, it is possible to prevent data underflow or overflow. Also,
Each decoder can act as a master timekeeper that synchronizes with the rest of the other decoders, allowing flexibility in system design. Moreover, synchronization between multiple streams can be achieved by presentation time stamps in the common data stream. Therefore, it is possible to synchronize the reproduction of N streams by adjusting the reproduction of all the data streams to the master time base rather than adjusting the reproduction of one data stream to the reproduction of another data stream.
【0029】[0029]
【実施例】以下、この実施例について図面を参照して説
明する。図1は、この発明の同期制御回路が適用された
第1デコーダ273および第2デコーダ275を示すブ
ロック図である。図1においてDSM(digials
torage medium)263はビデオデータと
音声データの複合データ(ISO11172規格のデジ
タルデータ)を記憶する記録媒体である。システムデコ
ーダ269は例えばホストシステムのCPUと制御プロ
グラムにより実現され、DSM263から複合データを
読みだし、ビデオデータと音声データとに分離し、それ
ぞれ第1デコーダ273と第2デコーダ275に供給す
る。すなわち、システムデコーダ269はビデオデータ
と時間に関する情報(system clock re
ference(SCR),presentation
time stamp (PTS),and deco
ding time stamp (DTS))とを分
離し、ビデオデータをビデオバッファ277に、時間情
報をシステムタイムクロックカウンタ(STCC)27
9に出力する。さらに、システムデコーダ269は音声
データと時間情報(SCR,PTS,DTS)を分離
し、音声データを音声バッファ281に、時間情報をS
TCC283に出力する。ビデオバッファ277から出
力されるビデオデータおよび音声バッファ281から出
力される音声データはそれぞれビデオデコーダ285お
よびオーディオデコーダ287によりデコードされ、そ
れぞれ出力制御回路289および291に出力される。
出力制御回路289は、STCC279からのPTSに
もとずいてビデオデータの出力制御およびタイミング制
御を行う。同様にして、出力制御回路291は、STC
C283からのPTSにもとずいて、音声データの出力
制御およびタイミング制御を行う。DESCRIPTION OF THE PREFERRED EMBODIMENTS This embodiment will be described below with reference to the drawings. FIG. 1 is a block diagram showing a first decoder 273 and a second decoder 275 to which the synchronization control circuit of the present invention is applied. In FIG. 1, DSM (digitals)
A storage medium 263 is a recording medium for storing composite data of video data and audio data (digital data of ISO11172 standard). The system decoder 269 is realized by, for example, the CPU of the host system and a control program, reads composite data from the DSM 263, separates it into video data and audio data, and supplies them to the first decoder 273 and the second decoder 275, respectively. That is, the system decoder 269 receives information about video data and time (system clock re).
ference (SCR), presentation
time stamp (PTS), and deco
ing time stamp (DTS), video data is stored in a video buffer 277, and time information is stored in a system time clock counter (STCC) 27.
Output to 9. Further, the system decoder 269 separates the audio data and the time information (SCR, PTS, DTS), the audio data into the audio buffer 281, and the time information into the S.
Output to TCC283. The video data output from the video buffer 277 and the audio data output from the audio buffer 281 are decoded by the video decoder 285 and the audio decoder 287, and output to the output control circuits 289 and 291 respectively.
The output control circuit 289 performs video data output control and timing control based on the PTS from the STCC 279. Similarly, the output control circuit 291 controls the STC
Based on the PTS from C283, output control of audio data and timing control are performed.
【0030】この実施例では、3つのモードがある。
i)システムデコーダがタイムマスタになる場合、i
i)第1デコーダがタイムマスタになる場合、iii)
第2デコーダがタイムマスタになる場合である。システ
ムデコーダがタイムマスタになる場合、第1および第2
デコーダはそれぞれスレーブとして動作する。システム
デコーダ269はそれぞれSTCC279、283にシ
ステムクロックおよび時間情報(SCR,DTS,PT
S)を供給する。各STCC279、283は供給され
たSCRを用いてシステムタイムクロックを補正する。In this embodiment, there are three modes.
i) If the system decoder becomes the time master, then i
i) if the first decoder becomes the time master, iii)
This is the case where the second decoder becomes the time master. When the system decoder becomes the time master, the first and second
Each decoder operates as a slave. The system decoder 269 transmits the system clock and time information (SCR, DTS, PT) to the STCCs 279 and 283, respectively.
S) is supplied. Each STCC 279, 283 corrects the system time clock using the supplied SCR.
【0031】第1デコーダ273がタイムマスタになる
場合、システムデコーダ269および第2デコーダ27
5がスレーブとして動作する。システムデコーダ269
は第1デコーダ273からの割り込み信号に応答して第
1デコーダ273内のSTCC279により生成される
差分データをリードする。システムデコーダ269は読
み取った差分データにもとずいて自己のシステムタイム
クロックを補正するとともに、前記差分データをスレー
ブである第2デコーダ275内のSTCC283に供給
する。システムデコーダ269は、第1デコーダ273
および第2デコーダ275に設けられるSTCC27
9、283と同様のハードウエア構成を有するかもしく
は、システムデコーダ269によるソフトウエア制御に
より、第1デコーダ273からリードした差分データに
もとずいてシステムタイムクロックを補正する。When the first decoder 273 becomes the time master, the system decoder 269 and the second decoder 27 are used.
5 operates as slaves. System decoder 269
Reads the differential data generated by the STCC 279 in the first decoder 273 in response to the interrupt signal from the first decoder 273. The system decoder 269 corrects its own system time clock based on the read difference data and supplies the difference data to the STCC 283 in the second decoder 275 which is a slave. The system decoder 269 is the first decoder 273.
And STCC 27 provided in the second decoder 275
The system time clock is corrected on the basis of the difference data read from the first decoder 273 by having the same hardware configuration as that of No. 9, 283 or by software control by the system decoder 269.
【0032】第2デコーダ275がタイムマスタの場
合、システムデコーダ269および第1デコーダ273
はスレーブとして動作する。この場合には、システムデ
コーダ269はSTCC283からの差分データをリー
ドする。システムデコーダ269はリードした差分デー
タにもとずいて自己のシステムタイムクロックを補正す
るとともに、リードした差分データをスレーブである第
1デコーダ273に供給する。When the second decoder 275 is the time master, the system decoder 269 and the first decoder 273.
Acts as a slave. In this case, the system decoder 269 reads the difference data from the STCC 283. The system decoder 269 corrects its own system time clock based on the read difference data, and supplies the read difference data to the first decoder 273 which is a slave.
【0033】以下、STCC279、283における差
分データの生成について詳細に説明する。図2は図1に
示したSTCC279およびその周辺回路を示す詳細ブ
ロック図である。なお、第2デコーダのSTCC283
も同様の構成である。The generation of difference data in STCC 279 and 283 will be described in detail below. FIG. 2 is a detailed block diagram showing the STCC 279 shown in FIG. 1 and its peripheral circuits. The second decoder STCC283
Has the same configuration.
【0034】図2において、システムデコーダ269内
のクロックコントローラ271からのシステムクロック
が分周回路293へ入力され、ここで適宜分周されてI
SO11172規格の90KHzのクロック信号が作ら
れ、STCC279に供給される。STCC279は、
90KHzのクロック信号に同期して差分レジスタ29
5に保持される差分データの値だけアップまたはダウン
カウントを行う。STCC279からのカウント値は比
較回路297に送られる他、同期制御のためのクロック
信号としてビデオバッファ277、ビデオデコーダ28
5、および出力制御回路289に送られる。In FIG. 2, the system clock from the clock controller 271 in the system decoder 269 is input to the frequency dividing circuit 293, where it is appropriately frequency-divided to I.
A 90 KHz clock signal of SO11172 standard is created and supplied to the STCC 279. STCC279 is
Difference register 29 in synchronization with the 90 KHz clock signal
The value of the difference data held in 5 is counted up or down. The count value from the STCC 279 is sent to the comparison circuit 297 and also used as a clock signal for synchronization control as a video buffer 277 and a video decoder 28.
5 and output control circuit 289.
【0035】上記比較回路297にはまた、システムデ
コーダ269からの時間情報TSとしてSCR299、
DTS301、及びPTS303が適宜入力される。比
較回路297はこれらの時間情報とSTCC279のカ
ウント値とを比較し、その差分データをセレクタ305
に出力する。セレクタ305はタイムマスタモードのと
きは、比較回路297からの差分データを、スレーブモ
ードのときはタイムマスタから供給された差分データを
選択して、差分レジスタ295にロードする。なお、こ
のセレクタ305へのセレクト信号はシステムデコーダ
269から供給される。The comparison circuit 297 also uses the SCR 299 as the time information TS from the system decoder 269.
The DTS 301 and PTS 303 are appropriately input. The comparison circuit 297 compares the time information and the count value of the STCC 279, and the difference data thereof is selected by the selector 305.
Output to. The selector 305 selects the difference data from the comparison circuit 297 in the time master mode and the difference data supplied from the time master in the slave mode and loads it into the difference register 295. The select signal to the selector 305 is supplied from the system decoder 269.
【0036】SCR299、DTS301、PTS30
3は所定時間(MPEG1の規格では、0.7秒未満)
毎に定期的に入力される。従って、STCC279のカ
ウント値も上記所定時間毎に補正される。ビデオバッフ
ァ277はSCR299にもとずいて、そのタイミング
制御がなされ、ビデオデコーダ285はDTS301に
もとずいて、出力制御回路289はPTS303にもと
ずいてそのタイミング制御が行われる。SCR299, DTS301, PTS30
3 is a predetermined time (less than 0.7 seconds in the MPEG1 standard)
It is input periodically every time. Therefore, the count value of the STCC 279 is also corrected every predetermined time. The video buffer 277 is controlled in timing based on SCR299, the video decoder 285 is controlled in accordance with DTS301, and the output control circuit 289 is controlled in accordance with PTS303.
【0037】これらのタイミング制御の結果、映像デー
タと音声データとの間に時間的な「ずれ」が生じたとし
ても、これをリアルタイムで補正し、同期のとれた映像
データと音声データを出力させることができる。As a result of these timing controls, even if a temporal "deviation" occurs between the video data and the audio data, this is corrected in real time and synchronized video data and audio data are output. be able to.
【0038】上記STCC279はマスタクロックモー
ドまたはスレーブクロックモードとして動作する。ST
CC279がマスタクロックモードで動作する場合に
は、第2デコーダ275内のSTCC283およびホス
トシステムはスレーブモードで動作する。この場合、第
1デコーダ273は、差分レジスタ295にセットされ
た差分データをシステムデコーダ269に知らせるため
に、システムデコーダ269に対して割り込み信号を出
力する。この割り込み信号に応答してシステムデコーダ
269は、差分レジスタ295内の差分データをリード
する。このリードした差分データをスレーブである第2
デコーダ275内のSTCC283の差分レジスタにロ
ードする。The STCC 279 operates in the master clock mode or the slave clock mode. ST
When CC 279 operates in the master clock mode, STCC 283 in the second decoder 275 and the host system operate in the slave mode. In this case, the first decoder 273 outputs an interrupt signal to the system decoder 269 to notify the system decoder 269 of the difference data set in the difference register 295. In response to this interrupt signal, the system decoder 269 reads the difference data in the difference register 295. The read difference data is the second slave
Load to STCC 283 difference register in decoder 275.
【0039】すなわち、システムデコーダ269のシス
テムタイムクロックおよび第2デコーダ275内のST
CC283のシステムタイムクロックは、第1デコーダ
273内の差分レジスタ295から出力される差分デー
タにより補正される。どのデコーダのSTCCがタイム
マスタになるかはシステムデコーダが決定する。(例え
ばホストシステム側におけるセットアップメニュウプロ
グラムによりユーザが選択する)。That is, the system time clock of the system decoder 269 and the ST in the second decoder 275.
The system time clock of CC 283 is corrected by the difference data output from the difference register 295 in the first decoder 273. The system decoder determines which decoder's STCC will be the time master. (For example, the user selects it by the setup menu program on the host system side).
【0040】図3および図4は、マスタモードおよびス
レーブモードにおける動作を示すフローチャートであ
る。なお、この例では、第1デコーダ273がマスタモ
ードの場合について説明するが第2デコーダ275がマ
スタモードの場合においても同様の制御が行われる。3 and 4 are flowcharts showing the operation in the master mode and the slave mode. In this example, the case where the first decoder 273 is in the master mode will be described, but similar control is performed even when the second decoder 275 is in the master mode.
【0041】ステップ311において、システムデコー
ダ269はSCR299およびデータを抽出する。次
に、ステップ313において、各デコーダは自分がマス
タモードかスレーブモードかを判断する。自分がマスタ
モードの場合には、ステップ315において、最初のS
CR299かどうか判断する。最初のSCR299でな
ければステップ321に進む。ステップ315におい
て、最初のSCR299であると判断すると、ステップ
317においてSCR299の値をSTCC279にセ
ットする。そしてステップ319においてデコードを開
始する。ステップ321において、STCC279の値
がPTS303と等しいかどうか、すなわち差分レジス
タ295の値が”0”かどうかをコンパレータ297で
比較する。差分レジスタ295の値が”0”でない場合
には、ステップ323において、STCC279の値と
PTS303との差を差分レジスタ295にセットし、
差分レジスタ295にセットされた値にもとずいてST
CC279の値を補正する。そしてステップ325にお
いてデータを表示するとともに、ステップ327におい
て差分レジスタ295にセットされた差分データをシス
テムデコーダ269に出力する。In step 311, system decoder 269 extracts the SCR 299 and data. Next, in step 313, each decoder determines whether it is the master mode or the slave mode. If the user is in master mode, the first S
Determine whether it is CR299. If it is not the first SCR 299, the process proceeds to step 321. If it is determined in step 315 that it is the first SCR 299, the value of SCR 299 is set in STCC 279 in step 317. Then, in step 319, decoding is started. In step 321, the comparator 297 compares whether the value of the STCC 279 is equal to the PTS 303, that is, the value of the difference register 295 is “0”. If the value of the difference register 295 is not “0”, the difference between the value of STCC 279 and the PTS 303 is set in the difference register 295 in step 323,
ST based on the value set in the difference register 295
Correct the value of CC279. Then, the data is displayed in step 325, and the difference data set in the difference register 295 in step 327 is output to the system decoder 269.
【0042】一方、ステップ313においてスレーブモ
ードであると判断すると、ステップ329において、最
初のSCRかどうか判断し、最初のSCRであれば、ス
テッップ331において、SCR299の値をSTCC
279にセットし、差分レジスタ295に”0”をセッ
トする。そしてステップ333においてデコードを開始
する。ステップ335において、差分レジスタ295の
値が”0”かどうか判断する。”0”でなければ、ステ
ップ337において、差分レジスタ295の値をSTC
C279に加え、STCC279の値を補正し、ステッ
プ335に戻る。差分レジスタ295の値が”0”の場
合には、ステップ339において、STCC279の値
がPTS293と一致するかどうか比較回路297によ
り比較する。一致する場合にはステップ341におい
て、データを表示し、ステップ335に戻る。ステップ
339において、一致しない場合には、ステップ343
において、PTS293の方がSTCC279の値より
も大きいか否か判断する。大きい場合には、ステップ3
45において、PTS293とSTCC279の値が一
致するまでウエイトし、ステップ341に進む。他方、
PTS293がSTCC279の値よりも小さい場合に
は、ステップ347において表示をスキップしステップ
335に戻る。On the other hand, when it is judged in the slave mode in step 313, it is judged in step 329 whether it is the first SCR, and if it is the first SCR, in step 331, the value of SCR299 is set to STCC.
279 and the difference register 295 is set to "0". Then, in step 333, decoding is started. In step 335, it is determined whether the value of the difference register 295 is "0". If not "0", in step 337, the value of the difference register 295 is set to STC.
In addition to C279, the value of STCC279 is corrected, and the process returns to step 335. When the value of the difference register 295 is “0”, the comparison circuit 297 compares in step 339 whether the value of the STCC 279 matches the PTS 293. If they match, the data is displayed in step 341, and the process returns to step 335. If they do not match in step 339, step 343.
At, it is determined whether PTS 293 is larger than the value of STCC 279. If so, step 3
At 45, wait until the values of PTS 293 and STCC 279 match, and proceed to step 341. On the other hand,
When PTS293 is smaller than the value of STCC279, the display is skipped in step 347 and the process returns to step 335.
【0043】なお、図2に示す実施例では差分レジスタ
を用いてその差分データをSTCC279に加算するよ
うに構成したが、図5に示すようにPLL(phase
locked loop)回路351を用いてSTC
C279を制御するように構成してもよい。In the embodiment shown in FIG. 2, the difference register is used to add the difference data to the STCC 279. However, as shown in FIG. 5, the PLL (phase) is used.
STC using the locked loop circuit 351
It may be configured to control C279.
【0044】また、上記実施例では、ビデオデコーダお
よび音声デコーダに含まれる同期制御回路はいずれも図
2に示す回路構成としたが、例えばビデオデコーダをマ
スタデコーダとして、その同期制御回路を図2に示すよ
うな回路構成とし、音声デコーダをスレーブデコーダと
してその同期制御回路は、STCCと差分レジスタのみ
を有する構成として、マスタデコーダからの差分データ
をスレーブデコーダの差分レジスタに供給するように構
成してもよい。In the above embodiment, the synchronization control circuits included in the video decoder and the audio decoder both have the circuit configuration shown in FIG. 2. However, for example, the video decoder is the master decoder, and the synchronization control circuit is shown in FIG. A circuit configuration as shown in the figure may be used, and the audio decoder is used as a slave decoder, and the synchronization control circuit is configured to have only STCC and a difference register so as to supply the difference data from the master decoder to the difference register of the slave decoder. Good.
【0045】さらに、図2に示す実施例では、割り込み
信号に応答してシステムデコーダがタイムマスタの差分
レジスタにセットされた差分データをリードし、スレー
ブの差分レジスタにセットするように構成したが、差分
データレジスタをポーリングするように構成してもよい
し、タイムマスタとスレーブを接続するデータバスを設
け、タイムマスタから直接スレーブに差分データを供給
するように構成してもよい。Further, in the embodiment shown in FIG. 2, the system decoder is configured to read the difference data set in the difference register of the time master and set it in the difference register of the slave in response to the interrupt signal. The difference data register may be configured to be polled, or a data bus connecting the time master and the slave may be provided and the difference data may be directly supplied from the time master to the slave.
【0046】[0046]
【発明の効果】この発明の同期制御装置および方法によ
れば、ビデオデコーダおよび音声デコーダにマスタクロ
ック回路としての機能およびスレーブクロック回路とし
ての機能を持たせ、これらの機能を選択的に切り替えて
使用できるように構成されている。この結果、システム
デコーダ269(ホストシステムのCPU43)はマス
タクロック信号を各種デコーダに供給する必要が無いの
で、負荷が軽減され、他のアプリケーションにサービス
することができる。また、各デコーダが例えばデータバ
ッファを有している場合、データのアンダーフローやオ
ーバフローを防止することができる。また、各デコーダ
は、残りの他のデコーダとの同期をとるマスタタイムキ
ーパの役割を果たすことができるので、システム設計に
柔軟性をもたせることできる。さらに、多重ストリーム
間の同期は、共通データストリームにおけるプレゼンテ
ーションタイムスタンンプにより取ることができる。従
って、1つのデータストリームの再生を他のデータスト
リームの再生に合わせるのではなく、すべてのデータス
トリームの再生をマスタタイムベースに調整することに
よりN個のストリームの再生の同期をとることができ
る。According to the synchronous control apparatus and method of the present invention, the video decoder and the audio decoder are provided with the functions of the master clock circuit and the slave clock circuit, and these functions are selectively switched for use. It is configured to be able to. As a result, the system decoder 269 (CPU 43 of the host system) does not need to supply the master clock signal to various decoders, which reduces the load and can serve other applications. Further, when each decoder has a data buffer, for example, it is possible to prevent data underflow or overflow. In addition, each decoder can play the role of a master time keeper that synchronizes with the rest of the decoders, thus providing flexibility in system design. Furthermore, synchronization between multiple streams can be achieved by presentation time stamping on the common data stream. Therefore, it is possible to synchronize the reproduction of N streams by adjusting the reproduction of all the data streams to the master time base rather than adjusting the reproduction of one data stream to the reproduction of another data stream.
【図1】この発明の同期制御装置をMPEG1規格のデ
コーダシステムに適用した場合の内部構成を示すブロッ
ク図。FIG. 1 is a block diagram showing an internal configuration when a synchronization control device of the present invention is applied to an MPEG1 standard decoder system.
【図2】図1に示すシステムタイムクロックカウンタ
(STCC)およびその周辺部を示す詳細回路図。FIG. 2 is a detailed circuit diagram showing a system time clock counter (STCC) shown in FIG. 1 and its peripheral portion.
【図3】図2に示す同期制御装置がそれぞれマスタモー
ドおよびスレーブモードで動作する場合の制御を示すフ
ローチャートの一部。FIG. 3 is a part of a flowchart showing control when the synchronous control device shown in FIG. 2 operates in a master mode and a slave mode, respectively.
【図4】図2に示す同期制御装置がそれぞれマスタモー
ドおよびスレーブモードで動作する場合の制御を示すフ
ローチャートの残りの部分。FIG. 4 is the rest of the flowchart showing the control when the synchronous control device shown in FIG. 2 operates in the master mode and the slave mode, respectively.
【図5】図2に示す同期制御装置の変形例を示す回路
図。5 is a circuit diagram showing a modification of the synchronization control device shown in FIG.
【図6】MPEG規格にもとずいた、一般的なデコーデ
ィングシステムの構成を示すブロック図;FIG. 6 is a block diagram showing the configuration of a general decoding system based on the MPEG standard;
【図7】MPEG規格にもとずいた、GOP内のピクチ
ャの依存関係を示す図;FIG. 7 is a diagram showing a dependency relationship of pictures in a GOP based on the MPEG standard;
【図8】MPEG規格にもとずいた、データパケット内
のピクチャの構成の一例を示す図;FIG. 8 is a diagram showing an example of the structure of a picture in a data packet based on the MPEG standard;
【図9】従来行われている同期制御を示すブロック図;FIG. 9 is a block diagram showing conventional synchronization control;
1...デジタル記録媒体、3...システムデコー
ダ、5...クロック制御回路、7...音声デコー
ダ、9...ビデオデコーダ、263...デジタルデ
ータ記録媒体、267...システムデコーダ、268
−1及至268−n...デコーダ、269...シス
テムデコーダ、271...クロックコントローラ、2
73...第1デコーダ、275...第2デコーダ、
277...ビデオバッファ、279、283...シ
ステムタイムクロックカウンタ、285...ビデオデ
コーダ、289...出力制御回路、281...オー
ディオバッファ、287...オーディオデコーダ、2
93...分周器、295...差分レジスタ、29
7...比較器、299...システムクロックリファ
レンス(SCR)、301...デコーディングタイム
スタンプ(DTS)、303...プレゼンテーション
タイムスタンプ(PTS)、305...セレクタ、3
51...PLL1. . . Digital recording medium, 3. . . System decoder, 5. . . Clock control circuit, 7. . . Audio decoder, 9. . . Video decoder, 263. . . Digital data recording medium 267. . . System decoder, 268
-1 to 268-n. . . Decoder, 269. . . System decoder, 271. . . Clock controller, 2
73. . . First decoder, 275. . . Second decoder,
277. . . Video buffer 279, 283. . . System time clock counter, 285. . . Video decoder, 289. . . Output control circuit, 281. . . Audio buffer, 287. . . Audio decoder, 2
93. . . Frequency divider, 295. . . Difference register, 29
7. . . Comparator, 299. . . System clock reference (SCR), 301. . . Decoding Time Stamp (DTS), 303. . . Presentation time stamp (PTS), 305. . . Selector, 3
51. . . PLL
Claims (12)
のデコーダの動作を同期させる装置において、 前記システムおよび各デコーダは、 前記システムから供給されるシステムクロックにもとず
いてシステムタイムクロックをカウントするシステムタ
イムクロックカウンタ手段と;前記システムタイムクロ
ックカウンタ手段から出力されるシステムタイムクロッ
ク信号と前記システムから供給されるシステムクロック
リファレンスと比較し、その差分データを出力する比較
手段と;前記比較手段からの差分データおよび前記シス
テムまたは他のデコーダから供給される差分データを選
択的に出力するセレクタ手段と;前記セレクタ手段から
出力される差分データを保持する手段と;前記保持手段
に保持された差分データを前記システムクロックタイム
カウンタ手段に供給する手段とを備えることを特徴とす
る同期制御装置。1. A device for synchronizing the operation of various decoders of a system for real time display, wherein the system and each decoder count a system time clock based on a system clock supplied from the system. Time clock counter means; comparing means for comparing the system time clock signal output from the system time clock counter means with a system clock reference supplied from the system and outputting difference data thereof; difference from the comparing means Selector means for selectively outputting data and difference data supplied from the system or another decoder; means for holding the difference data output from the selector means; and difference data held in the holding means System black Synchronous control apparatus comprising: a means for providing the click time counter means.
り込み信号を発生する手段を有し、前記システムはこの
割り込み信号に応答して割り込み信号を発生したデコー
ダ内の差分データ保持手段に保持されている差分データ
をリードし、他のデコーダに供給する手段を有すること
を特徴とする請求項1記載の同期制御装置。2. Each of the decoders has means for generating an interrupt signal to the system, and the system is held by differential data holding means in the decoder which has generated the interrupt signal in response to the interrupt signal. 2. The synchronization control device according to claim 1, further comprising means for reading the difference data stored therein and supplying it to another decoder.
タにするかを設定する手段を有し、タイムマスタに設定
されたデコーダ内の保持手段をポーリングし、保持され
ている差分データをリードし、他のデコーダに供給する
手段を有することを特徴とする請求項1記載の同期制御
装置。3. The system has means for setting which decoder is to be the time master, polls the holding means in the decoder set as the time master, reads the held difference data, etc. 2. The synchronization control device according to claim 1, further comprising means for supplying to the decoder of.
デコーダ内のセレクタ手段には前記比較手段からの差分
データを選択するための選択信号を供給し、それ以外の
デコーダに対しては、システムからの差分データを選択
するための選択信号を供給する手段を有することを特徴
とする請求項3記載の同期制御装置。4. The system supplies a selection signal for selecting the difference data from the comparison means to selector means in the decoder set as a time master, and the other selectors from the system to the decoder. 4. The synchronization control device according to claim 3, further comprising means for supplying a selection signal for selecting the difference data of.
のデコーダの動作を同期させる装置において、 前記システムおよび各デコーダは、 前記システムから供給されるシステムクロックにもとず
いてシステムタイムクロックをカウントするシステムタ
イムクロックカウンタ手段と;前記システムタイムクロ
ックカウンタ手段から出力されるシステムタイムクロッ
ク信号と前記システムから供給されるシステムクロック
リファレンスとを比較し、その差分データを出力する比
較手段と;前記比較手段からの差分データおよび前記シ
ステムまたは他のデコーダから供給される差分データを
選択的に出力するセレクタ手段と;前記セレクタ手段か
ら出力される差分データを保持する手段と; および前
記保持手段に保持された差分データを前記システムクロ
ックタイムカウンタ手段にフィードバックするフェーズ
ロックループ手段とを備えることを特徴とする同期制御
装置。5. A device for synchronizing the operation of various decoders of a system for real-time display, wherein the system and each decoder count a system time clock based on a system clock supplied from the system. Time clock counter means; comparing means for comparing the system time clock signal output from the system time clock counter means with a system clock reference supplied from the system and outputting difference data thereof; Selector means for selectively outputting difference data and difference data supplied from the system or another decoder; means for holding the difference data output from the selector means; and difference data held in the holding means The cis Synchronization control unit, characterized in that it comprises a phase-locked loop means for feeding back to the beam clock time counter means.
り込み信号を発生する手段を有し、前記システムはこの
割り込み信号に応答して割り込み信号を発生したデコー
ダ内の差分データ保持手段に保持されている差分データ
をリードし、他のデコーダに供給する手段を有すること
を特徴とする請求項5記載の同期制御装置。6. Each of the decoders has means for generating an interrupt signal to the system, and the system is held by differential data holding means in the decoder which has generated the interrupt signal in response to the interrupt signal. 6. The synchronization control device according to claim 5, further comprising means for reading the difference data stored therein and supplying it to another decoder.
タにするかを設定する手段を有し、タイムマスタに設定
されたデコーダ内の保持手段をポーリングし、保持され
ている差分データをリードし、他のデコーダに供給する
手段を有することを特徴とする請求項5記載の同期制御
装置。7. The system has means for setting which decoder is to be the time master, polls the holding means in the decoder set as the time master, reads the held differential data, etc. 6. The synchronous control device according to claim 5, further comprising means for supplying the decoder to the decoder.
デコーダ内のセレクタ手段には前記比較手段からの差分
データを選択するための選択信号を供給し、それ以外の
デコーダに対しては、システムからの差分データを選択
するための選択信号を供給する手段を有することを特徴
とする請求項7記載の同期制御装置。8. The system supplies a selection signal for selecting the differential data from the comparison means to selector means in the decoder set as a time master, and to the other decoders from the system. 8. The synchronization control device according to claim 7, further comprising means for supplying a selection signal for selecting the difference data of.
のデコーダの動作を同期させる方法において、前記シス
テムおよび各デコーダの動作は、 a)前記システムから供給されるシステムクロックにも
とずいてシステムタイムクロック信号をカウントするス
テップと; b)ステップa)においてカウントされたシステムタイ
ムクロック信号と前記システムから供給されるシステム
クロックリファレンス信号とを比較し、その差分データ
を出力するステップと; c)前記差分データおよび前記システムまたは他のデコ
ーダから供給される差分データを選択的に出力するステ
ップと; d)前記選択された差分データを前記ステップa)のカ
ウント値に加算するステップとで構成されることを特徴
とする同期制御方法。9. A method for synchronizing the operation of various decoders of a system for real-time display, the operation of said system and each decoder comprising: a) a system time clock based on a system clock provided by said system. B) comparing the system time clock signal counted in step a) with a system clock reference signal supplied from the system and outputting difference data thereof; c) the difference data And selectively outputting difference data supplied from the system or another decoder; and d) adding the selected difference data to the count value of step a). And the synchronous control method.
デコーダ内の差分データをリードし、他のデコーダに供
給するステップをさらに有することを特徴とする請求項
9記載の同期制御方法。10. The synchronization control method according to claim 9, wherein the system further comprises a step of reading differential data in a decoder which has generated an interrupt signal and supplying the differential data to another decoder.
スタにするかを設定するステップと、タイムマスタに設
定されたデコーダをポーリングして差分データをリード
し、他のデコーダに供給するステップをさらに有するこ
とを特徴とする請求項9記載の同期制御方法。11. The system further comprises the steps of setting which decoder is the time master and polling the decoder set as the time master to read the difference data and supplying it to another decoder. The synchronization control method according to claim 9, wherein
ムマスタに設定されたデコーダにおいては、前記ステッ
プb)の比較ステップにおいて得られた差分データを選
択し、それ以外のデコーダにおいては、前記システムか
らの差分データを選択することを特徴とする請求項9記
載の同期制御方法。12. The step of selecting step c) selects the difference data obtained in the comparing step of step b) in the decoder set as the time master, and selects the difference data from the system in other decoders. 10. The synchronization control method according to claim 9, wherein the difference data of is selected.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2830794A JPH077730A (en) | 1993-02-26 | 1994-02-25 | Synchronous control device and method |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP5-38945 | 1993-02-26 | ||
| JP3894593 | 1993-02-26 | ||
| JP2830794A JPH077730A (en) | 1993-02-26 | 1994-02-25 | Synchronous control device and method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH077730A true JPH077730A (en) | 1995-01-10 |
Family
ID=26366376
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2830794A Pending JPH077730A (en) | 1993-02-26 | 1994-02-25 | Synchronous control device and method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH077730A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08511891A (en) * | 1993-03-31 | 1996-12-10 | カレイダ ラブズ インコーポレイテッド | Synchronous clock and media player |
| JPH09149411A (en) * | 1995-11-24 | 1997-06-06 | Ekushingu:Kk | Decryption device |
| JP2009141802A (en) * | 2007-12-07 | 2009-06-25 | Toshiba Corp | Reproduction device and separation circuit |
| US7881584B2 (en) | 2003-03-28 | 2011-02-01 | Samsung Electronics Co., Ltd. | Reproducing apparatus and method, and recording medium |
| WO2013145126A1 (en) * | 2012-03-27 | 2013-10-03 | 富士通株式会社 | Coding system, coding device, coding method, program, and computer-readable recording medium on which program is recorded |
-
1994
- 1994-02-25 JP JP2830794A patent/JPH077730A/en active Pending
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08511891A (en) * | 1993-03-31 | 1996-12-10 | カレイダ ラブズ インコーポレイテッド | Synchronous clock and media player |
| JPH09149411A (en) * | 1995-11-24 | 1997-06-06 | Ekushingu:Kk | Decryption device |
| US7881584B2 (en) | 2003-03-28 | 2011-02-01 | Samsung Electronics Co., Ltd. | Reproducing apparatus and method, and recording medium |
| US7894704B2 (en) | 2003-03-28 | 2011-02-22 | Samsung Electronics Co., Ltd. | Reproducing apparatus and method, and recording medium |
| US8233780B2 (en) | 2003-03-28 | 2012-07-31 | Samsung Electronics Co., Ltd. | Reproducing apparatus and method, and recording medium |
| JP2009141802A (en) * | 2007-12-07 | 2009-06-25 | Toshiba Corp | Reproduction device and separation circuit |
| WO2013145126A1 (en) * | 2012-03-27 | 2013-10-03 | 富士通株式会社 | Coding system, coding device, coding method, program, and computer-readable recording medium on which program is recorded |
| JPWO2013145126A1 (en) * | 2012-03-27 | 2015-08-03 | 富士通株式会社 | ENCODING SYSTEM, ENCODING DEVICE, ENCODING METHOD, PROGRAM, AND COMPUTER-READABLE RECORDING MEDIUM CONTAINING THE PROGRAM |
| US9560381B2 (en) | 2012-03-27 | 2017-01-31 | Fujitsu Limited | Encoding system, device, and method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5623311A (en) | MPEG video decoder having a high bandwidth memory | |
| JP3215087B2 (en) | Audio and video synchronization method and digital video processor | |
| US7333545B2 (en) | Digital video decoding, buffering and frame-rate converting method and apparatus | |
| US7027713B1 (en) | Method for efficient MPEG-2 transport stream frame re-sequencing | |
| US6859612B2 (en) | Decoder and reproducing unit | |
| EP0710033A2 (en) | MPEG video decoder having a high bandwidth memory | |
| US20090010334A1 (en) | Decoding device, decoding method, recording medium, and program | |
| WO1995002946A1 (en) | Decoding method and apparatus | |
| JP3147792B2 (en) | Video data decoding method and apparatus for high-speed playback | |
| US20060120462A1 (en) | Compressed stream decoding apparatus and method | |
| JP3168922B2 (en) | Digital image information recording and playback device | |
| WO1997004593A1 (en) | Letter box converter | |
| KR100629097B1 (en) | Information signal decoding method and apparatus | |
| US7446819B2 (en) | Apparatus and method for processing video signals | |
| JP2002015527A (en) | Clock generating device and recording / reproducing device | |
| JP2872104B2 (en) | Time stamp adding apparatus and method, and moving image compression / expansion transmission system and method using the same | |
| JPH077730A (en) | Synchronous control device and method | |
| US6122020A (en) | Frame combining apparatus | |
| JP3637823B2 (en) | Video signal switching device and video signal switching method thereof | |
| US6128340A (en) | Decoder system with 2.53 frame display buffer | |
| JPH08116532A (en) | Image decoding system and device therefor | |
| JP2001238182A (en) | Image reproduction device and image reproduction method | |
| JP4289055B2 (en) | Transcoder and recording / reproducing apparatus using the same | |
| JP3570785B2 (en) | Moving image expansion / reproduction method and apparatus | |
| JP4906197B2 (en) | Decoding device and method, and recording medium |