[go: up one dir, main page]

JP2000165784A - Data reproducing apparatus and data reproducing method - Google Patents

Data reproducing apparatus and data reproducing method

Info

Publication number
JP2000165784A
JP2000165784A JP33616598A JP33616598A JP2000165784A JP 2000165784 A JP2000165784 A JP 2000165784A JP 33616598 A JP33616598 A JP 33616598A JP 33616598 A JP33616598 A JP 33616598A JP 2000165784 A JP2000165784 A JP 2000165784A
Authority
JP
Japan
Prior art keywords
data
read
buffer
input stream
decoding
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
JP33616598A
Other languages
Japanese (ja)
Inventor
Koichi Kurihara
弘一 栗原
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
Toshiba AVE Co Ltd
Original Assignee
Toshiba Corp
Toshiba AVE Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp, Toshiba AVE Co Ltd filed Critical Toshiba Corp
Priority to JP33616598A priority Critical patent/JP2000165784A/en
Publication of JP2000165784A publication Critical patent/JP2000165784A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】 【課題】メモリ容量を低減して、コストを削減する。 【解決手段】パック識別回路4は、入力ストリームの符
号化種類を識別する。入力ストリームはデータバッファ
5に記憶される。また、このデータバッファ5の記憶内
容及び記憶アドレスは、符号化種類毎に各ポインタ11乃
至14において記憶される。デコーダ7,8からのデータ
転送要求は、リード/ライト調停回路15からリード/ラ
イト制御回路6に供給され、リード/ライト制御回路6
は、各ポインタ11乃至14の情報に基づいて、対応するパ
ケットをデータバッファ5から読出して各デコーダ7,
8に供給する。これにより、ストリームバッファを省略
した場合でも、同期をとりながらデコーダが可能であ
る。
(57) [Summary] [PROBLEMS] To reduce cost by reducing memory capacity. A pack identification circuit identifies an encoding type of an input stream. The input stream is stored in the data buffer 5. The storage contents and storage addresses of the data buffer 5 are stored in the pointers 11 to 14 for each encoding type. The data transfer request from the decoders 7 and 8 is supplied from the read / write arbitration circuit 15 to the read / write control circuit 6, and the read / write control circuit 6
Reads out the corresponding packet from the data buffer 5 based on the information of the pointers 11 to 14 and
8 Thus, even when the stream buffer is omitted, the decoder can be performed while maintaining synchronization.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、DVD又はビデオ
CD等に記録された符号化データの再生に好適なデータ
再生装置及びデータ再生方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data reproducing apparatus and a data reproducing method suitable for reproducing encoded data recorded on a DVD or a video CD.

【0002】[0002]

【従来の技術】近年、画像のディジタル処理が普及して
きており、ディジタルテレビジョン信号を記録するDV
D(Digital Versatile Disc)も開発されている。DV
Dに記録するテレビジョン信号は可変ビットレート(以
下、VBRという)を考慮したMPEG方式によって符
号化するようになっている。
2. Description of the Related Art In recent years, digital processing of images has become widespread.
D (Digital Versatile Disc) has also been developed. DV
The television signal to be recorded on D is encoded by the MPEG system in consideration of a variable bit rate (hereinafter, referred to as VBR).

【0003】伝送路が固定ビットレートである場合に
は、GOP(Group Of Picture)毎の符号量の変動が少
なくなるように符号化が行われる。また、伝送レートが
可変である可変ビットレート(以下、VBRという)で
ある場合には、伝送路の特性を利用して画質の変動が少
なくなるように符号化が行われる。従って、VBRで
は、シーン毎に符号化データのビットレートは著しく変
動する。
When the transmission path has a fixed bit rate, encoding is performed so that the amount of code per GOP (Group Of Picture) varies less. In addition, when the transmission rate is a variable bit rate (hereinafter, referred to as VBR), encoding is performed using characteristics of a transmission path so that a change in image quality is reduced. Therefore, in VBR, the bit rate of encoded data fluctuates remarkably for each scene.

【0004】DVDからの再生信号を復号する装置とし
て、特開平9−282848号公報によって開示された
「情報記録媒体並びにその記録装置及び再生装置」が挙
げられる。
[0004] As an apparatus for decoding a reproduction signal from a DVD, there is an "information recording medium and its recording apparatus and reproducing apparatus" disclosed by JP-A-9-282848.

【0005】この提案の再生装置によれば、DVDディ
スクに記録された再生信号はトラックバッファを介して
デコーダに供給される。トラックバッファは、ディスク
アクセスに要する時間及びエラー訂正に伴う処理時間等
を相殺するために、ディスクからの再生信号を保持して
デコーダに出力する。トラックバッファとしては例えば
4Mビットの容量のものが用いられる。
According to the proposed reproducing apparatus, a reproduced signal recorded on a DVD disk is supplied to a decoder via a track buffer. The track buffer holds a reproduction signal from the disk and outputs it to the decoder in order to cancel the time required for disk access and the processing time required for error correction. For example, a track buffer having a capacity of 4 Mbits is used.

【0006】再生信号はMPEG2のプログラムストリ
ーム(PS)であり、ストリーム分離回路によってビデ
オデータ及び音声データ等に分離されてビデオデコーダ
及びオーディオデコーダ等に供給される。符号化データ
の発生符号量は絵柄によって相違すると共に、同一絵柄
であってもピクチャタイプによって相違する。従って、
各デコーダにおいて各ピクチャを実時間で復号化するた
めに、発生符号量のバースト性を吸収するためのストリ
ームバッファが設けられる。ストリーム分離回路からの
各データは各ストリームバッファを介して各デコーダに
供給されるのである。
The reproduced signal is an MPEG2 program stream (PS), which is separated into video data and audio data by a stream separation circuit and supplied to a video decoder and an audio decoder. The generated code amount of the encoded data differs depending on the picture, and even the same picture differs depending on the picture type. Therefore,
In order to decode each picture in each decoder in real time, a stream buffer for absorbing the burstiness of the generated code amount is provided. Each data from the stream separation circuit is supplied to each decoder via each stream buffer.

【0007】ストリームバッファのうち、ビデオデコー
ダが必要とするVBV(Video Buffering Verifier)バ
ッファは、データ配置等を考慮して例えばMPEGでは
約30フレーム分のデータを保持可能な容量に規定され
ており、2Mビット以上もの容量が必要であり、メモリ
容量が大きい。
[0007] Of the stream buffers, a VBV (Video Buffering Verifier) buffer required by a video decoder is defined, for example, in MPEG to have a capacity capable of holding data for about 30 frames in consideration of data arrangement and the like. A memory capacity of 2 Mbits or more is required, and the memory capacity is large.

【0008】[0008]

【発明が解決しようとする課題】このように、従来、D
VDに記録されているテレビジョン信号を再生して復号
する装置においては、トラックバッファの他に各デコー
ダがストリームバッファを必要とし、必要なメモリ容量
が極めて大きく、コスト高であるという問題点があっ
た。
As described above, conventionally, D
In an apparatus for reproducing and decoding a television signal recorded on a VD, each decoder requires a stream buffer in addition to a track buffer, and the required memory capacity is extremely large and the cost is high. Was.

【0009】本発明はかかる問題点に鑑みてなされたも
のであって、必要なメモリ容量を削減可能にすることに
より、コストを低減することができるデータ再生装置及
びデータ再生方法を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and an object of the present invention is to provide a data reproducing apparatus and a data reproducing method which can reduce the cost by enabling the required memory capacity to be reduced. Aim.

【0010】[0010]

【課題を解決するための手段】本発明の請求項1に係る
データ再生装置は、複数の符号化種類の符号化データが
パケット化された入力ストリームが入力されて記憶する
記憶手段と、前記入力ストリームの符号化種類毎に前記
記憶手段の記憶アドレスを示す情報を記憶するポインタ
手段と、前記ポインタ手段が記憶した情報に基づいて前
記記憶手段から対応する符号化種類の符号化データを読
出して前記入力ストリームに基づくデコード開始時刻に
デコードするデコード手段とを具備したものであり、本
発明の請求項4に係るデータ再生方法は、複数の符号化
種類の符号化データがパケット化された入力ストリーム
を記憶手段に記憶する処理と、前記入力ストリームの符
号化種類毎に前記記憶手段の記憶アドレスを示す情報を
記憶するポインタ記憶処理と、前記ポインタ記憶処理に
おいて記憶した情報に基づいて前記記憶手段から対応す
る符号化種類の符号化データを読出して前記入力ストリ
ームに基づくデコード開始時刻にデコードする処理とを
具備したものである。
According to a first aspect of the present invention, there is provided a data reproducing apparatus, comprising: storage means for inputting and storing an input stream obtained by packetizing encoded data of a plurality of encoding types; Pointer means for storing information indicating a storage address of the storage means for each coding type of the stream; and reading out coded data of the corresponding coding type from the storage means based on the information stored by the pointer means. Decoding means for decoding at a decoding start time based on the input stream. The data reproducing method according to claim 4 of the present invention provides a method for decoding an input stream in which encoded data of a plurality of encoding types is packetized. A process for storing in a storage unit, and a pointer for storing information indicating a storage address of the storage unit for each encoding type of the input stream. And a process of reading encoded data of a corresponding encoding type from the storage unit based on the information stored in the pointer storage process and decoding the encoded data at a decoding start time based on the input stream. .

【0011】本発明の請求項1においては、入力ストリ
ームは記憶手段に記憶される。ポインタ手段は、入力ス
トリームの符号化種類毎に記憶手段の記憶アドレスを示
す情報を記憶する。この情報を用いて、デコード手段は
記憶手段に記憶されたデータのうち対応する符号化種類
の符号化データを読出してデコードする。
According to the first aspect of the present invention, the input stream is stored in the storage means. The pointer means stores information indicating a storage address of the storage means for each encoding type of the input stream. Using this information, the decoding means reads and decodes the coded data of the corresponding coding type among the data stored in the storage means.

【0012】本発明の請求項4においては、入力ストリ
ームを記憶手段に記憶するとと共に、この記憶手段の記
憶アドレスを示す情報を符号化種類毎に記憶する。この
情報を用いて、記憶手段から対応する符号化種類の符号
化データを読出してデコードする。
According to a fourth aspect of the present invention, the input stream is stored in the storage means, and information indicating the storage address of the storage means is stored for each encoding type. Using this information, encoded data of the corresponding encoding type is read from the storage means and decoded.

【0013】[0013]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態について詳細に説明する。図1は本発明に係る
データ再生装置の一実施の形態を示すブロック図であ
る。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a block diagram showing one embodiment of a data reproducing apparatus according to the present invention.

【0014】本実施の形態は、トラックバッファに代え
てトラックバッファと同様の容量のデータバッファを用
いてデータバッファに格納するデータにポインタを付す
ことによって、データバッファからのランダムアクセス
を可能にし、これによりストリームバッファを省略可能
にしたものである。
According to the present embodiment, a data buffer having the same capacity as the track buffer is used in place of the track buffer and pointers are assigned to data to be stored in the data buffer, thereby enabling random access from the data buffer. , The stream buffer can be omitted.

【0015】ディスク1は、図示しないスピンドルモー
タによって、所定の回転数で回転する。ピックアップ2
はディスク1のトラックにレーザ光を照射することによ
り、トラック上に記憶されている圧縮符号化されたディ
ジタルデータを読み出す。トラッキングサーボ回路3
は、ピックアップ2のディスク径方向の移動を制御し
て、トラッキングを行うようになっている。
The disk 1 is rotated at a predetermined rotational speed by a spindle motor (not shown). Pickup 2
Irradiates the track of the disk 1 with a laser beam to read out the compression-encoded digital data stored on the track. Tracking servo circuit 3
Is adapted to control the movement of the pickup 2 in the radial direction of the disk to perform tracking.

【0016】なお、ディスク1のトラックには、例え
ば、MPEG2のプログラムストリームと同様なストリ
ームが記録されている。MPEG2のプログラムストリ
ームの1パックは、DVD等においては、映像、音声等
の同一種類のパケットで構成されている。
A stream similar to an MPEG2 program stream is recorded on a track of the disk 1, for example. In a DVD or the like, one pack of the MPEG2 program stream is composed of packets of the same type such as video and audio.

【0017】ピックアップ2からのディジタルデータは
パック識別回路4に供給される。パック識別回路4は、
入力ストリームからパックの先頭を検出すると共に、各
パックにパッキングされているパケットの符号化種類を
検出する。符号化種類としては、例えばMPEGの場合
には映像パケット、音声パケット及びSCR(SystemCl
ock Reference)パケット等がある。SCRパケット
は、ストリーム中に所定の間隔で挿入されて、ストリー
ムの時間基準となる。 また、MPEGにおいては、復
号再生処理の時間管理のためのタイムスタンプとして、
PTS(Presentation Time Stamp )が規定されてい
る。
The digital data from the pickup 2 is supplied to a pack identification circuit 4. The pack identification circuit 4
The head of the pack is detected from the input stream, and the encoding type of the packet packed in each pack is detected. For example, in the case of MPEG, video packets, audio packets, and SCRs (SystemCl
ock Reference) packet. The SCR packet is inserted into the stream at a predetermined interval and serves as a time reference for the stream. In MPEG, as a time stamp for managing the time of the decoding / reproducing process,
PTS (Presentation Time Stamp) is defined.

【0018】パック識別回路4は、検出した符号化種類
を示すフラグをバス10に供給すると共に、パケットデー
タをデータバッファ5に供給する。データバッファ5は
リード/ライト制御回路6に書き込み及び読み出しが制
御されて、入力されたパケットデータを例えばパケット
単位で書込むと共に読出す。データバッファ5からのパ
ケットデータは、符号化種類毎に対応するデコーダ7,
8及びSTCカウンタ9に供給されるようになってい
る。
The pack identification circuit 4 supplies a flag indicating the detected encoding type to the bus 10 and supplies packet data to the data buffer 5. Writing and reading of the data buffer 5 are controlled by a read / write control circuit 6, and the input packet data is written and read, for example, in packet units. The packet data from the data buffer 5 is supplied to a decoder 7 corresponding to each encoding type.
8 and the STC counter 9.

【0019】一方、パック識別回路4からのフラグは、
バス10を介して、リード/ライトポインタ11、デコーダ
7リードポインタ12、デコーダ8リードポインタ13及び
SCRリードポインタ14に供給される。リード/ライト
ポインタ11は、データバッファ5のアドレス毎に、書き
込み又は読み出しが行われたことを示す情報を格納す
る。デコーダ7リードポインタ12及びデコーダ8リード
ポインタ13は、夫々デコーダ7,8に対する読み出しが
行われたデータバッファ5のアドレスの情報を格納す
る。また、SCRリードポインタ14は、SCRパケット
の読出し時に必要なポインタである。
On the other hand, the flag from the pack identification circuit 4 is
Via a bus 10, the data is supplied to a read / write pointer 11, a decoder 7 read pointer 12, a decoder 8 read pointer 13, and an SCR read pointer 14. The read / write pointer 11 stores information indicating that writing or reading has been performed for each address of the data buffer 5. The decoder 7 read pointer 12 and the decoder 8 read pointer 13 store information on the address of the data buffer 5 from which the data was read from the decoders 7 and 8, respectively. The SCR read pointer 14 is a pointer required when reading an SCR packet.

【0020】リード/ライト制御回路6は、各ポインタ
11乃至14に格納する情報に対応して、データバッファ5
の書き込み及び読出しを制御するようになっている。リ
ード/ライト調停回路15は、リード/ライト制御回路6
との間でデータを送受して、各デコーダ7,8及びST
Cカウンタ9の書き込み及び読出しを調停するようにな
っている。リード/ライト調停回路15は、各デコーダ
7,8及びSTCカウンタ9からの要求信号reqが与
えられると、リード/ライト制御回路6にデータの読出
しを要求する。また、リード/ライト調停回路15は、バ
リッド信号valを出力してデコード開始を許可するデ
コーダを決定する。
The read / write control circuit 6 includes a pointer
In accordance with the information stored in 11 to 14, the data buffer 5
Is controlled to write and read. The read / write arbitration circuit 15 includes a read / write control circuit 6
Between the decoders 7, 8 and ST
The writing and reading of the C counter 9 are arbitrated. The read / write arbitration circuit 15 requests the read / write control circuit 6 to read data when a request signal req from each of the decoders 7, 8 and the STC counter 9 is given. Further, the read / write arbitration circuit 15 outputs a valid signal val and determines a decoder that permits the start of decoding.

【0021】デコーダ7,8は各符号化種類に夫々対応
したデコーダであり、夫々入力されたパケットをデコー
ドしてデコード出力を出力する。STCカウンタ9は、
入力されたSCRに基づいてカウント値がセットされ、
カウント値に基づいてデコーダ7,8のデコードを制御
する。即ち、デコーダ7,8は、STCカウント値が入
力ストリームに含まれるPTSに一致したときに、入力
ストリームをデコードしてデコード出力を出力するよう
になっている。
The decoders 7 and 8 are decoders corresponding to the respective encoding types, and decode the input packets and output decoded outputs. STC counter 9
A count value is set based on the input SCR,
The decoding of the decoders 7 and 8 is controlled based on the count value. That is, when the STC count value matches the PTS included in the input stream, the decoders 7 and 8 decode the input stream and output a decoded output.

【0022】次に、このように構成された実施の形態の
動作について図2及び図3を参照して説明する。図2は
各ポインタ11乃至14の内容を説明するための説明図であ
り、図2(a)乃至(e)は夫々ポインタ11乃至14の内
容を示している。図3はデータバッファ5の動作を説明
するための説明図であり、図3(a)はデータバッファ
の占有量を示し、図3(b)はSTCカウンタのカウン
ト値を示している。
Next, the operation of the embodiment configured as described above will be described with reference to FIGS. FIG. 2 is an explanatory diagram for explaining the contents of the pointers 11 to 14, and FIGS. 2A to 2E show the contents of the pointers 11 to 14, respectively. FIGS. 3A and 3B are explanatory diagrams for explaining the operation of the data buffer 5. FIG. 3A shows the occupancy of the data buffer, and FIG. 3B shows the count value of the STC counter.

【0023】ディスク1は、図示しないスピンドルモー
タによって所定の回転数で回転し、ピックアップ2はト
ラッキングサーボ回路3によって、トラッキングが制御
されて、ディスク1のトラックに記録されているデータ
を読出す。いま、ディスク1に、例えばMPE2で符号
化されたプログラムストリームが記録されているものと
する。
The disk 1 is rotated at a predetermined number of revolutions by a spindle motor (not shown), and the tracking of the pickup 2 is controlled by a tracking servo circuit 3 to read data recorded on the tracks of the disk 1. Now, it is assumed that a program stream encoded by, for example, the MPE 2 is recorded on the disk 1.

【0024】なお、デコーダ7が音声データをデコード
し、デコーダ8がビデオデータをデコードするものと
し、音声パケットをA0 ,A1 ,…で表し、映像パケッ
トをV0 ,V1 ,V2 ,…で表すものとする。
Assume that the decoder 7 decodes audio data, the decoder 8 decodes video data, and audio packets are represented by A0, A1,..., And video packets are represented by V0, V1, V2,. I do.

【0025】ピックアップ2によって再生されたディジ
タルデータは、パック識別回路4に供給される。パック
識別回路4ではパックの先頭の検出とそこにパッキング
されているパケットの符号化種類を検出する。また、パ
ック識別回路4に入力されたストリームデータは、その
ままデータバッファ5に供給される。いま、音声パケッ
トA0 、映像パケットV0 ,V1 、音声パケットA1 、
映像パケットV2 ,V3,…,Vm の順にパック識別回
路4に入力ストリームが入力されるものとする。データ
バッファ5は入力ストリームを、図2(a)に示すよう
に、供給された順番に順次記憶する。なお、図2のデー
タバッファ5の内容を示す枠の左側の符号は、データバ
ッファ5のアドレスに対応する値であり、図2(a)乃
至(e)で共通の値を付している。なお、データバッフ
ァ5の各領域は、MPEG規格のパケットデータを格納
する場合には、約2kバイトの容量を有する。
The digital data reproduced by the pickup 2 is supplied to a pack identification circuit 4. The pack identification circuit 4 detects the head of the pack and the encoding type of the packet packed therein. The stream data input to the pack identification circuit 4 is supplied to the data buffer 5 as it is. Now, audio packet A0, video packet V0, V1, audio packet A1,
It is assumed that the input stream is input to the pack identification circuit 4 in the order of the video packets V2, V3,..., Vm. The data buffer 5 sequentially stores the input streams in the order in which they are supplied, as shown in FIG. The symbols on the left side of the frame indicating the contents of the data buffer 5 in FIG. 2 are values corresponding to the addresses of the data buffer 5, and are assigned the same values in FIGS. 2 (a) to 2 (e). Each area of the data buffer 5 has a capacity of about 2 kbytes when storing packet data of the MPEG standard.

【0026】一方、パック識別回路4は各パケットの符
号化種別を示すフラグをバス10に出力する。リード/ラ
イト制御回路6は、各パケット毎のフラグに基づいて、
データバッファ5及び各ポインタ11乃至14を制御する。
リード/ライト制御回路6は、各パケットを入力順にデ
ータバッファ5に書込むと共に、データバッファ5への
書き込みに対応して、データバッファ5に書込みを行っ
たことを示す論理値“1”をリード/ライトポインタ11
の対応する位置に書込む(図2(b))。
On the other hand, the pack identification circuit 4 outputs a flag indicating the coding type of each packet to the bus 10. The read / write control circuit 6 performs the
The data buffer 5 and the pointers 11 to 14 are controlled.
The read / write control circuit 6 writes each packet to the data buffer 5 in the order of input, and reads a logical value “1” indicating that writing to the data buffer 5 has been performed in response to writing to the data buffer 5. / Light pointer 11
(FIG. 2B).

【0027】また、リード/ライト制御回路6は、フラ
グに基づいて、デコーダ7に対するデコーダ7データリ
ードポインタ12及びデコーダ8に対するデコーダ8デー
タリードポインタ13に対する書込みを行う。図2の例で
は、データバッファ5のアドレス(0),(3)に音声
パケットを格納し、アドレス(1,2),(4〜n)に
映像パケットを格納するので、デコーダ7データリード
ポインタ12には0,3を書き込み、デコーダ8データリ
ードポインタ13には1,2,4,5,…,nを書き込
む。
The read / write control circuit 6 writes data to the decoder 7 data read pointer 12 for the decoder 7 and to the decoder 8 data read pointer 13 for the decoder 8 based on the flag. In the example of FIG. 2, the audio packet is stored at the addresses (0) and (3) of the data buffer 5, and the video packet is stored at the addresses (1, 2) and (4 to n). .., N are written in the decoder 8 data read pointer 13.

【0028】SCRリードポインタ14には、データバッ
ファ5にSCRパケットを書込むときに“1”が書込ま
れ、SCRパケットの読み出し時に“0”が書込まれ
る。SCRは、ビットストリームがデコーダに到着する
時間を示しており、また、PTSはデコード開始時間を
示している。STCカウンタ9がこれらの値を用いてデ
コーダ7,8を制御することにより、異なる符号化種類
のストリーム、例えば映像及び音声符号化データ復号を
同期化することが可能である。
In the SCR read pointer 14, "1" is written when writing an SCR packet to the data buffer 5, and "0" is written when reading an SCR packet. SCR indicates the time when the bit stream arrives at the decoder, and PTS indicates the decoding start time. When the STC counter 9 controls the decoders 7 and 8 using these values, it is possible to synchronize streams of different encoding types, for example, video and audio encoded data decoding.

【0029】STCカウンタ9は、リード/ライト調停
回路15に制御されて、データバッファ5から入力ストリ
ームを読出して入力ストリーム中のSCRを抽出する。
この場合には、リード/ライト制御回路6は、データバ
ッファ5から読み出されたストリームの数だけリードし
たことを示す“0”をSCRリードポインタ14の対応す
るアドレスにセットする。
The STC counter 9 is controlled by the read / write arbitration circuit 15 to read the input stream from the data buffer 5 and extract the SCR in the input stream.
In this case, the read / write control circuit 6 sets “0” indicating that the number of streams read from the data buffer 5 has been read to the corresponding address of the SCR read pointer 14.

【0030】SCRがデータバッファ5に書込まれたこ
とはSCRリードポインタ14によって示されており、S
TCカウンタ9は、順次入力されたSCR値をリアルタ
イムで取得することができる。STCカウンタ9は、S
CR及びPTSに基づくSTCカウント値によって、デ
コーダ7,8のデコードタイミングを規定する。
The fact that the SCR has been written to the data buffer 5 is indicated by the SCR read pointer 14,
The TC counter 9 can acquire the sequentially input SCR values in real time. The STC counter 9 sets the S
The decoding timing of the decoders 7 and 8 is defined by the STC count value based on the CR and the PTS.

【0031】データバッファ5には、オーバーフロー及
びアンダーフローが生じないように、ディスク1から順
次ストリームが入力される。所定のデータ量だけデータ
バッファ5に蓄積されると、格納されているデータはリ
ード/ライト制御回路6によって読出されて、各デコー
ダ7,8に供給される。デコーダ7,8に入力されるス
トリームに含まれる各符号化種類毎のPTSが夫々ST
Cカウント値に一致すると、デコーダ7,8はデコード
を介してデコード出力を出力する。
To the data buffer 5, streams are sequentially input from the disk 1 so that overflow and underflow do not occur. When a predetermined amount of data is accumulated in the data buffer 5, the stored data is read by the read / write control circuit 6 and supplied to each of the decoders 7, 8. The PTS for each encoding type included in the streams input to the decoders 7 and 8 is ST
When the values match the C count value, the decoders 7 and 8 output a decode output via the decode.

【0032】リード/ライト調停回路15は、デコーダ
7,8からの要求信号reqに応じて、リード/ライト
制御回路6にデータの読出しを指示する。リード/ライ
ト制御回路6は、リード/ライト調停回路15に制御され
て、デコーダ7,8が音声及び映像の実時間に対応して
デコード処理可能なように、読み出しを制御する。
The read / write arbitration circuit 15 instructs the read / write control circuit 6 to read data in response to a request signal req from the decoders 7, 8. The read / write control circuit 6 is controlled by the read / write arbitration circuit 15 to control reading so that the decoders 7 and 8 can perform decoding processing in real time of audio and video.

【0033】例えば、音声デコーダ7によって音声デー
タをデコードするものとする。リード/ライト制御回路
6は、リード/ライト調停回路15からの要求が発生する
と、デコーダ7データリードポインタ12に書込まれてい
るデータバッファ5のアドレスを順番に読み出して、デ
ータバッファ5に読み出しアドレスを供給する。図2
(c)の例では、データバッファ5のアドレス(0)に
書込まれている音声パケットA0 を読み出し、次いで、
アドレス(3)に書込まれている音声パケットA1 を読
出す。
For example, it is assumed that audio data is decoded by the audio decoder 7. When a request from the read / write arbitration circuit 15 occurs, the read / write control circuit 6 reads the address of the data buffer 5 written in the data read pointer 12 of the decoder 7 in order, and reads the read address to the data buffer 5. Supply. FIG.
In the example of (c), the audio packet A0 written to the address (0) of the data buffer 5 is read out,
The voice packet A1 written at the address (3) is read.

【0034】この場合には、リード/ライト制御回路6
は、データバッファ5から読み出したアドレス部分につ
いて、リード/ライトポインタ11にデータリードしたこ
とを示す“0”を書込む。つまり、リードライトポイン
タ11のアドレス(0,3)が“0”となる。
In this case, the read / write control circuit 6
Writes "0" indicating that data has been read into the read / write pointer 11 for the address portion read from the data buffer 5. That is, the address (0, 3) of the read / write pointer 11 becomes “0”.

【0035】一方、映像デコーダ8によって映像データ
をデコードする場合には、リード/ライト制御回路6
は、デコーダ8データリードポインタ13に書込まれてい
るデータバッファ5のアドレスを順番に読み出して、デ
ータバッファ5に読み出しアドレスを供給する。図2
(d)の例では、データバッファ5のアドレス(1,
2,4,5〜n)に書込まれている映像パケットV0 ,
V1 ,…を順次読み出す。
On the other hand, when video data is decoded by the video decoder 8, the read / write control circuit 6
Reads the address of the data buffer 5 written in the data read pointer 13 of the decoder 8 in order, and supplies the read address to the data buffer 5. FIG.
In the example of (d), the address (1,
Video packets V0 written in (2, 4, 5-n)
.. Are sequentially read.

【0036】この場合にも同様に、リード/ライト制御
回路6は、データバッファ5から読み出したアドレス部
分について、リード/ライトポインタ11にデータリード
したことを示す“0”を書込む。つまり、リードライト
ポインタ11の対応するアドレスが“0”となる。
In this case, similarly, the read / write control circuit 6 writes "0" indicating that data has been read into the read / write pointer 11 for the address portion read from the data buffer 5. That is, the address corresponding to the read / write pointer 11 becomes “0”.

【0037】このように、ポインタを使用することで、
デコーダ7,8が所望するパケットを自由にデータバッ
ファ5から読出すことができる。また、各デコーダ7,
8がデータバッファ5の連続しないアドレスからパケッ
トデータを読み出す場合でも、リード/ライトポインタ
11によってデータが読出されたアドレスは判明するの
で、このアドレスに新たな入力ストリームを書込んだ場
合でも読出し可能である。つまり、リードライトポイン
タ11の“0”のアドレスに対応するデータバッファ5の
アドレスにデータを書き込めばよい。
As described above, by using the pointer,
Packets desired by the decoders 7 and 8 can be freely read from the data buffer 5. Also, each decoder 7,
8 reads the packet data from the discontinuous address of the data buffer 5, the read / write pointer
Since the address from which the data was read is determined by 11, the data can be read even when a new input stream is written to this address. That is, it is only necessary to write data to the address of the data buffer 5 corresponding to the address “0” of the read / write pointer 11.

【0038】また、各符号化種類毎のデコーダに対応し
たリードポインタに、その符号化データの書き込みを行
ったデータバッファ5のアドレスを記憶させるようにな
っているので、符号化種類毎の読み出しが可能である。
Further, since the address of the data buffer 5 in which the encoded data has been written is stored in the read pointer corresponding to the decoder for each encoding type, the reading for each encoding type can be performed. It is possible.

【0039】これにより、VBVバッファ等のストリー
ムバッファを用いない場合でも、STCカウンタによっ
て同期を取りながら復号処理が可能である。
Thus, even when a stream buffer such as a VBV buffer is not used, decoding can be performed while synchronizing with the STC counter.

【0040】次に、データバッファ5の容量について説
明する。
Next, the capacity of the data buffer 5 will be described.

【0041】図3(a)は横軸に時間をとり縦軸にデー
タバッファの占有量をとってデータバッファの占有量の
遷移を示している。図3(a)の最大値はデータバッフ
ァ5の容量を示している。また、図3(b)は横軸に時
間をとり縦軸にSTCカウント値をとって、STCカウ
ンタの遷移を示している。図3によって、デコーダ7が
デコードする際のデータバッファ内のデータ量の遷移と
STCカウンタとの関係が示される。なお、図3は映像
データのみについて示しているが、音声データ等の他の
符号化種類のデータのデータバッファ占有量は極めて小
さく、映像データの占有量に比べると無視することがで
きる。従って、データバッファ5の容量としては映像デ
ータの占有量のみを考慮すればよい。
FIG. 3A shows the transition of the occupancy of the data buffer by taking the time on the horizontal axis and the occupancy of the data buffer on the vertical axis. The maximum value in FIG. 3A indicates the capacity of the data buffer 5. FIG. 3B shows the transition of the STC counter by taking the time on the horizontal axis and the STC count value on the vertical axis. FIG. 3 shows the relationship between the transition of the data amount in the data buffer and the STC counter when the decoder 7 performs decoding. Although FIG. 3 shows only video data, the data buffer occupancy of data of another encoding type such as audio data is extremely small and can be ignored compared to the occupancy of video data. Therefore, only the occupation amount of the video data needs to be considered as the capacity of the data buffer 5.

【0042】映像ストリーム中にはSCR0 ,SCR1
,SCR2 ,…及びPTS0 ,PTS1 ,PTS2 ,
…が順次挿入されているものとする。上述したように、
SCR0 ,SCR1 ,…は各パケットがデコーダに到着
する時間を示しており、PTS0 ,PTS1 ,…は各デ
コーダがデコードを開始して出力する時間を示してい
る。
In the video stream, SCR0, SCR1
, SCR2, ... and PTS0, PTS1, PTS2,
Are sequentially inserted. As mentioned above,
.. Indicate the time when each packet arrives at the decoder, and PTS0, PTS1,... Indicate the time at which each decoder starts decoding and outputs.

【0043】ディスク1からのデータの再生開始時にお
いてはデコードは行われず、入力ストリームはデータバ
ッファ5に順次蓄積される。これにより、図3(a)に
示すように、データバッファ5の占有量はディスク1か
らの再生レートに応じて増加する。次にPTS0 のタイ
ミングになると、デコーダ7はデコードを開始する。図
3(a)では、デコードに要する時間は無視して示して
あり、デコードによって、図3(a)のPTS0 の時間
において、データバッファ5のデータ量がデコードした
データ量だけ減少する。
At the start of reproduction of data from the disk 1, decoding is not performed, and the input stream is sequentially stored in the data buffer 5. Thereby, as shown in FIG. 3A, the occupancy of the data buffer 5 increases in accordance with the reproduction rate from the disk 1. Next, at the timing of PTS0, the decoder 7 starts decoding. In FIG. 3A, the time required for decoding is neglected, and the decoding reduces the data amount of the data buffer 5 by the decoded data amount during the time of PTS0 in FIG. 3A.

【0044】なお、デコードされたデータは、デコーダ
内のメモリに蓄積され、表示タイミングに応じて出力さ
れる。
The decoded data is stored in the memory in the decoder, and is output according to the display timing.

【0045】次のデコードが開始されるまでは、入力ス
トリームが蓄積されて、データバッファ5の占有量が増
加する。データバッファ5の容量一杯までデータが蓄積
されると、ディスク1からの再生を停止させて、データ
バッファ5ヘの入力を停止させる。
Until the next decoding starts, the input stream is accumulated, and the occupancy of the data buffer 5 increases. When the data is accumulated to the full capacity of the data buffer 5, the reproduction from the disk 1 is stopped and the input to the data buffer 5 is stopped.

【0046】PTS1 のタイミングになると、デコーダ
7において次のデコードが開始される。これにより、デ
ータバッファ5から読み出しが行われて、占有量が低下
する。そうすると、ディスク1からの再生が再開されて
データバッファ5へのデータの蓄積が始まる。
At the timing of PTS1, the next decoding is started in the decoder 7. As a result, the data is read from the data buffer 5 and the occupancy is reduced. Then, reproduction from the disk 1 is restarted, and accumulation of data in the data buffer 5 starts.

【0047】しかし、データバッファ5に供給されるデ
ータは、回転しているディスク1からピックアップ2に
よって読み取るものであるので、再生を停止後にディス
ク1上の再生位置までピックアップ2を移動させるため
に所定の時間(以下、キックバック時間という)が経過
する。即ち、このキックバック時間中は、データバッフ
ァ5へのデータの蓄積は行われない。
However, since the data supplied to the data buffer 5 is to be read from the rotating disk 1 by the pickup 2, it is necessary to move the pickup 2 to the reproduction position on the disk 1 after stopping the reproduction. (Hereinafter referred to as kickback time). That is, during this kickback time, data is not accumulated in the data buffer 5.

【0048】一方、デコーダにおけるデコードはピクチ
ャ単位で行われ、ピクチャ毎にデータバッファ5から一
度に読出されるデータ量は異なる。従来例におけるスト
リームバッファは、例えばMPEGでは、一度に読出さ
れる最大データ量(最大読み出しデータレート)の容量
に規定されている。換言すると、符号化時には、1ピク
チャにつきストリームバッファの容量を越える容量以下
に符号量を抑制して符号化している。
On the other hand, decoding in the decoder is performed in units of pictures, and the amount of data read from the data buffer 5 at one time differs for each picture. The stream buffer in the conventional example is defined by the capacity of the maximum data amount (maximum read data rate) read at a time in MPEG, for example. In other words, at the time of encoding, encoding is performed with the code amount suppressed to a value less than the capacity of the stream buffer per picture.

【0049】キックバック時間と最大読み出しデータレ
ートの読出しとが同時に且つ繰り返し行われた場合に、
データバッファ5の占有量が最も低下してアンダーフロ
ーが発生する可能性がある。なお、ディスク1からの再
生を停止させれば、データ占有量は増加しないので、オ
ーバーフローについては問題は生じない。
When the kickback time and the read at the maximum read data rate are performed simultaneously and repeatedly,
There is a possibility that the occupation amount of the data buffer 5 is reduced most and an underflow occurs. If the reproduction from the disk 1 is stopped, the data occupancy does not increase, so that there is no problem with overflow.

【0050】図3(a)では、データバッファ5の容量
を一度に読出される最大データ量の2倍の容量に設定す
ると共に、最大読み出しデータレートでの読出しが連続
して3回繰り返され、キックバック時間がデコード周期
の1.5倍である場合を示している。PTS1 ,PTS
2 ,PTS3 のタイミングにおいて、最大読み出しデー
タレートでデータバッファ5からの読出しを行う。図3
はこの場合においてもアンダーフローが発生しない状態
を示している。
In FIG. 3A, the capacity of the data buffer 5 is set to twice the maximum amount of data read at one time, and reading at the maximum reading data rate is repeated three times continuously. The case where the kickback time is 1.5 times the decoding cycle is shown. PTS1, PTS
At the timing of 2, PTS3, reading from the data buffer 5 is performed at the maximum reading data rate. FIG.
Indicates a state in which no underflow occurs even in this case.

【0051】即ち、アンダーフローしないためのトラッ
クバッファ5の容量は下記(1)式によって与えられ
る。
That is, the capacity of the track buffer 5 for preventing underflow is given by the following equation (1).

【0052】 トラックバッファの容量=(2Tk +tj +4Te )×MAX_V0 …(1) 但し、Tk はキックバック時間(回転待ち時間)を示
し、tj はトラックシーク時間を示し、Te は1ECC
ブロックの読み込み時間を示し、MAX_V0 はトラッ
クバッファからの最大読み出しデータレートを示してい
る。
Track buffer capacity = (2Tk + tj + 4Te) × MAX_V0 (1) where Tk indicates a kickback time (rotation waiting time), tj indicates a track seek time, and Te indicates one ECC.
MAX_V0 indicates the maximum read data rate from the track buffer.

【0053】なお、現実的には最大データ量での読み出
しが連続して3回繰返されることは考えられず、(1)
式に基づく容量は、データバッファ5の容量としては十
分であると考えられる。
In practice, it is unlikely that reading with the maximum data amount is repeated three times in succession.
The capacity based on the expression is considered to be sufficient as the capacity of the data buffer 5.

【0054】つまり、従来例におけるトラックバッファ
と同様の容量のデータバッファによって、トラックバッ
ファとストリームバッファとの機能を兼用することがで
きる。
That is, the data buffer having the same capacity as the track buffer in the conventional example can serve both functions of the track buffer and the stream buffer.

【0055】例えば、Tk =104.5,tj =14
6,Te =24,MAX_V0 =8Mbpsであるもの
として、DVDから再生を行う場合について説明する。
上述したように、映像データのバッファ占有量は他のデ
ータのバッファ占有量に比して極めて大きいので、全符
号化データについて考慮することなく、映像データのみ
について考慮する。
For example, Tk = 104.5, tj = 14
Assuming that 6, Te = 24 and MAX_V0 = 8 Mbps, a case where reproduction is performed from a DVD will be described.
As described above, the buffer occupancy of the video data is extremely large as compared with the buffer occupancy of the other data. Therefore, only the video data is considered without considering all the encoded data.

【0056】この条件では、(1)式は3.6Mビット
となる。実際のハードウェアとしては、4MビットDR
AMを用いることが考えられる。データバッファ5が一
杯になったときは上記(1)式を満足するので、このと
きデータバッファには約4Mビットのデータが蓄えられ
ている。デコーダ7に伝送されるデータのレートは8M
bpsである。映像デコードにおいて瞬時に1フレーム
当たり2Mビットの符号量を必要とする場合もあるが、
基本的には、入力される最大データレートに基づいてデ
ータがデコードされる。
Under this condition, the expression (1) is 3.6 M bits. The actual hardware is 4Mbit DR
It is conceivable to use AM. When the data buffer 5 is full, the above expression (1) is satisfied. At this time, about 4M bits of data are stored in the data buffer. The data rate transmitted to the decoder 7 is 8M
bps. Video decoding may require a code amount of 2 Mbits per frame instantaneously,
Basically, data is decoded based on the input maximum data rate.

【0057】また、DVDの最大転送レートを考慮する
と、全てのフレームが2Mビットの符号量で符号化され
ているとは考えられず、一般的には、最大データレート
で転送された次のフレームは最大データレートよりも低
いデータレートで転送が行われる。
In consideration of the maximum transfer rate of a DVD, it is not considered that all frames are coded with a code amount of 2 Mbits. Generally, the next frame transferred at the maximum data rate is not considered. Is transferred at a data rate lower than the maximum data rate.

【0058】つまり、映像デコードも平均的にはMAX
_V0 である8Mbpsでデータをデコードするので、
データバッファ5に蓄えられている最大4Mビットの符
号化データを、映像デコーダが全て消費するには、4M
ビット/8Mbps=500msの時間が必要である。
In other words, the video decoding is, on average, also MAX.
Since the data is decoded at 8 Mbps which is _V0,
In order for the video decoder to consume all the encoded data of a maximum of 4M bits stored in the data buffer 5, 4M bits are required.
A time of bit / 8 Mbps = 500 ms is required.

【0059】一方、データバッファ5の容量一杯までデ
ータが蓄積されてた後ディスク1から次のデータが読出
されるまでの時間は、上記(1)式に各値を代入して4
51msであるので、データバッファ5内の全ての符号
化データが消費される前にディスク1からのデータ読み
出しが行われることになり、データバッファ5がアンダ
ーフローすることはない。
On the other hand, the time from when data is accumulated to the full capacity of the data buffer 5 until the next data is read from the disk 1 is calculated by substituting each value into the above equation (1).
Since the time is 51 ms, the data is read from the disk 1 before all the encoded data in the data buffer 5 is consumed, and the data buffer 5 does not underflow.

【0060】このように、本実施の形態においては、ス
トリームバッファを削除して、トラックバッファと同容
量のデータバッファによって、トラックバッファとスト
リームバッファの機能を兼用することにより、メモリ容
量を低減することができる。
As described above, in this embodiment, the memory capacity can be reduced by deleting the stream buffer and using the data buffer having the same capacity as the track buffer so that the functions of the track buffer and the stream buffer are also used. Can be.

【0061】ところで、本実施の形態においては、トラ
ックバッファに代えて用いたデータバッファによって従
来のストリームバッファの機能を達成した。これに対
し、トラックバッファを省略して、ストリームバッファ
と同様のバッファによってトラックバッファとストリー
ムバッファの機能を達成することが考えられる。
Incidentally, in the present embodiment, the function of the conventional stream buffer is achieved by the data buffer used in place of the track buffer. On the other hand, it is conceivable that the track buffer is omitted and the functions of the track buffer and the stream buffer are achieved by a buffer similar to the stream buffer.

【0062】トラックバッファを省略するので、ストリ
ームバッファと同様のバッファにトラックバッファの機
能を付加する必要がある。つまり、ディスクのジャンプ
に要する時間等では、アンダーフローが発生しないよう
に、十分な容量を備える必要がある。
Since the track buffer is omitted, it is necessary to add a track buffer function to a buffer similar to the stream buffer. In other words, it is necessary to provide a sufficient capacity so that the underflow does not occur in the time required for the disc jump or the like.

【0063】DVDストリームのデータレートは、ビデ
オ、オーディオ、サブピクチャの全て最大10.08M
bpsに制限されている。一方、各符号化データの最大
データレートは9.8Mbpsに制限されている。
The data rate of the DVD stream is a maximum of 10.08M for all of video, audio and sub-picture.
bps. On the other hand, the maximum data rate of each encoded data is limited to 9.8 Mbps.

【0064】例えば、ビデオデータのデータレートが
9.8Mbpsであるものとすると、他のデータに許容
されるデータレートは0.28Mbpsとなる。トラッ
クバッファの容量は、このようなDVDストリームのデ
ータレートに依存する。トラックバッファ(又はデータ
バッファ)では、これらのデータを多重したまま記憶す
るので、容量としては4Mビット程度でよい。
For example, assuming that the data rate of video data is 9.8 Mbps, the data rate allowed for other data is 0.28 Mbps. The capacity of the track buffer depends on the data rate of such a DVD stream. In the track buffer (or data buffer), these data are stored while being multiplexed, so that the capacity may be about 4M bits.

【0065】しかし、各パケットを分割して各ストリー
ムバッファに格納する場合には、各パケットが最大のデ
ータレートである場合を考慮する必要があり、いずれの
バッファにおいても、4Mビットの容量を備える必要が
あり、トラックバッファとストリームバッファとを別々
に設ける場合よりも必要なメモリ容量が増加してしま
う。
However, when each packet is divided and stored in each stream buffer, it is necessary to consider the case where each packet has the maximum data rate, and any buffer has a capacity of 4 Mbits. And the required memory capacity increases as compared with the case where the track buffer and the stream buffer are separately provided.

【0066】この理由から、本実施の形態においては、
ストリームバッファを省略し、トラックバッファに代え
てデータバッファを用いている。
For this reason, in the present embodiment,
The stream buffer is omitted, and a data buffer is used instead of the track buffer.

【0067】図4は本発明の他の実施の形態を示すブロ
ック図である。図4において図1と同一の構成要素には
同一符号を付して説明を省略する。本実施の形態はパッ
ク識別回路4を省略し、外部のHOST21によって符号
化種類を示すフラグを供給するようにしたものである。
FIG. 4 is a block diagram showing another embodiment of the present invention. 4, the same components as those in FIG. 1 are denoted by the same reference numerals, and description thereof will be omitted. In this embodiment, the pack identification circuit 4 is omitted, and an external HOST 21 supplies a flag indicating the encoding type.

【0068】外部のHOST21は、データバッファ5に
書込むデータの符号化種類が予め明らかである場合に
は、パケット種類を示すフラグをバス10上に送出するよ
うになっている。また、デコード7,8がデータバッフ
ァ5からデータを読み出す場合においても、HOST21
はデータバッファ5からの読出しを制御することができ
るようになっている。
The external HOST 21 sends a flag indicating the packet type onto the bus 10 if the encoding type of the data to be written into the data buffer 5 is known in advance. Also, when the decoders 7 and 8 read data from the data buffer 5, the HOST 21
Can control reading from the data buffer 5.

【0069】このように構成された実施の形態は、例え
ば、DVDオーディオで定められるオーディオ符号化デ
ータと静止画符号化データとが記録されているディスク
等を再生する装置に採用される。この場合には、始めに
静止画データのパケットが再生されてデータバッファ5
に記憶される。次に、オーディオデータのパケットをデ
ィスクから再生して、データバッファ5へ供給しながら
デコードする。また、オーディオデータのデコードの合
間に、データバッファ5内に蓄えられている静止画デー
タをHOST21によって指示されたパケット毎にビデオ
デコーダに転送してデコードさせる。
The embodiment configured as described above is adopted, for example, in an apparatus for reproducing a disk or the like on which audio encoded data defined by DVD audio and still picture encoded data are recorded. In this case, the packet of the still image data is reproduced first, and the data buffer 5
Is stored. Next, audio data packets are reproduced from the disk and decoded while being supplied to the data buffer 5. Further, during the decoding of the audio data, the still image data stored in the data buffer 5 is transferred to the video decoder for each packet specified by the HOST 21 and decoded.

【0070】このように、本実施の形態においても、図
1の実施の形態と同様の効果を得ることができる。ま
た、本実施の形態をDVDオーディオ規格に適用する
と、オーディオを聞きながら静止画を表示すること等も
容易に実現することができる。
As described above, also in the present embodiment, the same effect as in the embodiment of FIG. 1 can be obtained. In addition, when this embodiment is applied to the DVD audio standard, it is possible to easily realize, for example, displaying a still image while listening to audio.

【0071】図5は本発明の他の実施の形態を示すブロ
ック図である。図5において図1と同一の構成要素には
同一符号を付して説明を省略する。本実施の形態はバッ
ファへの書き込みを処理プロセッサ31によりソフトフェ
ア的に実行するようにものである。
FIG. 5 is a block diagram showing another embodiment of the present invention. 5, the same components as those in FIG. 1 are denoted by the same reference numerals, and description thereof will be omitted. In the present embodiment, the writing to the buffer is executed by the processor 31 in a software manner.

【0072】データRAM32は作業用及びデータ蓄積用
のRAMである。処理プロセッサ31は、例えばRISC
プロセッサのようなソフトウェア処理が可能な一般的な
プロセッサであり、データRAM32を用いて、命令RA
M33に記憶された命令コードを逐次解釈実行する。これ
により、処理プロセッサ31は、入力されたストリームに
対してトラックバッファ及びストリームバッファの機能
を実現するようになっている。
The data RAM 32 is a work RAM and a data storage RAM. The processing processor 31 is, for example, a RISC
This is a general processor capable of performing software processing, such as a processor.
The instruction codes stored in M33 are sequentially interpreted and executed. Thereby, the processor 31 realizes the functions of the track buffer and the stream buffer for the input stream.

【0073】即ち、本実施の形態においては、図1及び
図4の実施の形態におけるデータバッファ5及びポイン
タ11乃至14をデータRAM32に置き換え、処理プロセッ
サ31によってデータRAM32内の領域を分割してデータ
を記憶することにより、バッファ機能を達成する。ま
た、処理プロセッサ31は、図1及び図4の実施の形態に
おけるパック識別回路4、リード/ライト制御回路6及
びリード/ライト調停回路15の機能も実現するようにな
っている。
That is, in the present embodiment, the data buffer 5 and the pointers 11 to 14 in the embodiment of FIGS. 1 and 4 are replaced with a data RAM 32, and the processor 31 divides the area in the data RAM 32 to To achieve the buffer function. Further, the processor 31 also realizes the functions of the pack identification circuit 4, the read / write control circuit 6, and the read / write arbitration circuit 15 in the embodiments of FIGS.

【0074】次に、このように構成された実施の形態の
動作について図6を参照して説明する。図6は実施の形
態の動作を説明するためのフローチャートである。図6
はC言語に対応して記述したものであるが、いずれの言
語で記述してもよいことは明らかである。
Next, the operation of the embodiment configured as described above will be described with reference to FIG. FIG. 6 is a flowchart for explaining the operation of the embodiment. FIG.
Is described corresponding to the C language, but it is obvious that the description may be made in any language.

【0075】図6において、配列databuffer[]は図1及
び図4の実施の形態におけるデータバッファ5に相当
し、配列read_write_point[]はリード/ライトポインタ
11に相当し、配列dec1data_read_point[]はデコーダ7
データリードポインタ12に相当し、配列dec2data_read_
point[]はデコーダ8データリードポインタ13に相当
し、配列scr_read_point[]はSCRリードポインタ14に
相当する。
In FIG. 6, an array databuffer [] corresponds to the data buffer 5 in the embodiment of FIGS. 1 and 4, and an array read_write_point [] is a read / write pointer.
11 and the array dec1data_read_point []
It corresponds to the data read pointer 12, and the array dec2data_read_
point [] corresponds to the decoder 8 data read pointer 13, and the array scr_read_point [] corresponds to the SCR read pointer 14.

【0076】処理プロセッサ31は、入力ストリームが入
力されると、図6のステップS1 において、databuffer
[]に記憶させる。また、この場合には、処理プロセッサ
31は、配列read_write_point[]及び配列scr_read_point
[]に“1”を書込む。
When the input stream is input, the processing processor 31 proceeds to step S1 in FIG.
Store in []. In this case, the processing processor
31 is array read_write_point [] and array scr_read_point
Write "1" in [].

【0077】次に、処理プロセッサ31は、ステップS2
において、入力ストリームのパック内の各パケットがい
ずれの符号化種類であるかを識別する。入力パックがデ
コーダ7でデコードすべきパケットである場合には、配
列dec1data_read_point[]に配列databuffer[]に書込ん
だ際のアドレスad0を書き込み、入力パックがデコーダ
8でデコードすべきパケットである場合には、配列dec2
data_read_point[]に配列databuffer[]に書込んだ際の
アドレスad0を書き込む。
Next, the processing processor 31 proceeds to step S2
, The type of encoding of each packet in the pack of the input stream is identified. If the input pack is a packet to be decoded by the decoder 7, the address ad0 at the time of writing to the array databuffer [] is written to the array dec1data_read_point [], and if the input pack is a packet to be decoded by the decoder 8 Is the array dec2
Write address ad0 when writing to array databuffer [] to data_read_point [].

【0078】デコーダ7,8から出力要求が発生する
と、処理プロセッサ31は、ステップS3 において出力処
理を実行する。即ち、デコーダ7からの出力要求が発生
すると、配列dec1data_read_point[ad2]のアドレスで示
される配列databuffer内のパケットを読出して出力す
る。また、この場合には、配列read_wreite_point[]に
データを読出したことを示す“0”を書込む。
When an output request is issued from the decoders 7, 8, the processor 31 executes an output process in step S3. That is, when an output request from the decoder 7 occurs, the packet in the array databuffer indicated by the address of the array dec1data_read_point [ad2] is read and output. In this case, “0” indicating that the data has been read is written to the array read_wreite_point [].

【0079】同様に、デコーダ8からの出力要求が発生
すると、配列dec1data_read_point[ad3]のアドレスで示
される配列databuffer内のパケットを読出して出力する
と共に、配列read_wreite_point[]にデータを読出した
ことを示す“0”を書込む。次のステップS4 では、各
配列のアドレスad0,ad1,ad2,ad3をカウントアップさせ
て、ステップS1 の処理に戻る。
Similarly, when an output request from the decoder 8 occurs, a packet in the array databuffer indicated by the address of the array dec1data_read_point [ad3] is read and output, and also indicates that the data has been read to the array read_wreite_point []. Write "0". In the next step S4, the addresses ad0, ad1, ad2, and ad3 of each array are counted up, and the process returns to step S1.

【0080】このように、本実施の形態においては、従
来のトラックバッファと略々同様の容量のデータRAM
を用いて、ソフトウェア処理によって、トラックバッフ
ァ及びストリームバッファ機能を実現することができ
る。
As described above, in this embodiment, the data RAM having substantially the same capacity as the conventional track buffer is used.
, A track buffer and a stream buffer function can be realized by software processing.

【0081】[0081]

【発明の効果】以上説明したように本発明によれば、必
要なメモリ容量を削減可能にすることにより、コストを
低減することができるという効果を有する。
As described above, according to the present invention, the required memory capacity can be reduced, so that the cost can be reduced.

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

【図1】本発明に係るデータ再生装置の一実施の形態を
示すブロック図。
FIG. 1 is a block diagram showing an embodiment of a data reproducing apparatus according to the present invention.

【図2】図1の実施の形態の動作を説明するための説明
図。
FIG. 2 is an explanatory diagram for explaining the operation of the embodiment in FIG. 1;

【図3】図1の実施の形態の動作を説明するための説明
図。
FIG. 3 is an explanatory diagram for explaining the operation of the embodiment of FIG. 1;

【図4】本発明の他の実施の形態を示すブロック図。FIG. 4 is a block diagram showing another embodiment of the present invention.

【図5】本発明の他の実施の形態を示すブロック図。FIG. 5 is a block diagram showing another embodiment of the present invention.

【図6】図5の実施の形態の動作を説明するためのフロ
ーチャート。
FIG. 6 is a flowchart for explaining the operation of the embodiment of FIG. 5;

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

1…ディスク、4…パック識別回路、5…データバッフ
ァ、6…リード/ライト制御回路、7,8…デコーダ、
9…STCカウンタ、11乃至14…ポインタ、15…リード
/ライト調停回路
1 disk, 4 pack identification circuit, 5 data buffer, 6 read / write control circuit, 7, 8 decoder,
9 STC counter, 11 to 14 pointer, 15 read / write arbitration circuit

───────────────────────────────────────────────────── フロントページの続き Fターム(参考) 5C052 AA02 AA17 AB03 AB04 BB02 CC06 CC11 DD04 5C053 FA24 FA27 GB37 HA33 JA07 JA24 KA04 KA19 KA24 LA06 5C059 KK08 MA00 SS13 UA05 UA32 UA34 UA36  ──────────────────────────────────────────────────続 き Continued on the front page F term (reference) 5C052 AA02 AA17 AB03 AB04 BB02 CC06 CC11 DD04 5C053 FA24 FA27 GB37 HA33 JA07 JA24 KA04 KA19 KA24 LA06 5C059 KK08 MA00 SS13 UA05 UA32 UA34 UA36

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 複数の符号化種類の符号化データがパケ
ット化された入力ストリームが入力されて記憶する記憶
手段と、 前記入力ストリームの符号化種類毎に前記記憶手段の記
憶アドレスを示す情報を記憶するポインタ手段と、 前記ポインタ手段が記憶した情報に基づいて前記記憶手
段から対応する符号化種類の符号化データを読出して前
記入力ストリームに基づくデコード開始時刻にデコード
するデコード手段とを具備したことを特徴とするデータ
再生装置。
A storage unit configured to receive and store an input stream in which encoded data of a plurality of encoding types is packetized; and store information indicating a storage address of the storage unit for each encoding type of the input stream. Pointer means for storing, and decoding means for reading coded data of a corresponding coding type from the storage means based on the information stored by the pointer means and decoding the coded data at a decoding start time based on the input stream. A data reproducing device characterized by the above-mentioned.
【請求項2】 前記入力ストリームの符号化種類は、前
記入力ストリーム内のパケット識別子を検出する手段に
よって又は外部からの指示によって前記ポインタ手段に
通知されることを特徴とする請求項1に記載のデータ再
生装置。
2. The pointer according to claim 1, wherein the encoding type of the input stream is notified to the pointer unit by means for detecting a packet identifier in the input stream or by an external instruction. Data playback device.
【請求項3】 前記デコード手段におけるデコード開始
時刻は、前記入力ストリームから得たデコード基準時間
及び前記入力ストリームに多重されているデコード開始
情報によって決定されるか又は外部からの指示によって
決定されることを特徴とする請求項1に記載のデータ再
生装置。
3. The decoding start time in the decoding means is determined by a decoding reference time obtained from the input stream and decoding start information multiplexed on the input stream, or is determined by an external instruction. The data reproducing apparatus according to claim 1, wherein:
【請求項4】 複数の符号化種類の符号化データがパケ
ット化された入力ストリームを記憶手段に記憶する処理
と、 前記入力ストリームの符号化種類毎に前記記憶手段の記
憶アドレスを示す情報を記憶するポインタ記憶処理と、 前記ポインタ記憶処理において記憶した情報に基づいて
前記記憶手段から対応する符号化種類の符号化データを
読出して前記入力ストリームに基づくデコード開始時刻
にデコードする処理とを具備したことを特徴とするデー
タ再生方法。
4. A process of storing an input stream in which encoded data of a plurality of encoding types is packetized in a storage unit, and storing information indicating a storage address of the storage unit for each encoding type of the input stream. A pointer storing process for reading the encoded data of the corresponding encoding type from the storage unit based on the information stored in the pointer storing process, and decoding the encoded data at a decoding start time based on the input stream. A data reproducing method characterized by the following.
JP33616598A 1998-11-26 1998-11-26 Data reproducing apparatus and data reproducing method Pending JP2000165784A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33616598A JP2000165784A (en) 1998-11-26 1998-11-26 Data reproducing apparatus and data reproducing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33616598A JP2000165784A (en) 1998-11-26 1998-11-26 Data reproducing apparatus and data reproducing method

Publications (1)

Publication Number Publication Date
JP2000165784A true JP2000165784A (en) 2000-06-16

Family

ID=18296353

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33616598A Pending JP2000165784A (en) 1998-11-26 1998-11-26 Data reproducing apparatus and data reproducing method

Country Status (1)

Country Link
JP (1) JP2000165784A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013005452A (en) * 2011-06-20 2013-01-07 Intel Corp Configurable buffer allocation for multi-format video processing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013005452A (en) * 2011-06-20 2013-01-07 Intel Corp Configurable buffer allocation for multi-format video processing
US9037761B2 (en) 2011-06-20 2015-05-19 Intel Corporation Configurable buffer allocation for multi-format video processing

Similar Documents

Publication Publication Date Title
KR100405249B1 (en) Decoding and reverse playback apparatus and method
JPH08214260A (en) Special reproduction method and special reproduction device for encoded data
JPH0918829A (en) Data playback device
JPH0879709A (en) Data reproducing method and data reproducing apparatus
KR100616048B1 (en) Data reproducing apparatus and method
JP3156597B2 (en) Image information decoding and reproducing apparatus and image information decoding and reproducing method
JP2001211405A (en) Data reproducing apparatus and method
KR20010101566A (en) Reverse playback of a MPEG video stream
US7043584B2 (en) Interrupt prioritization in a digital disk apparatus
JPH09186966A (en) Video reproduction method and reproduction system
JPH07212768A (en) Picture recording medium and its reproduction method
KR100556717B1 (en) Bitstream processing apparatus and method, and player
US20040233806A1 (en) Recording device and method, recording medium and program
JP3019638B2 (en) Variable rate information reproducing apparatus and reproducing method
JP2000165784A (en) Data reproducing apparatus and data reproducing method
JP3173950B2 (en) Disc playback device
JP3173949B2 (en) Disc playback device
US6320826B1 (en) Transducer repositioning
CN1311458C (en) Disk playback apparatus
JPH0879710A (en) Disc data reproducing method and reproducing device
JP4169569B2 (en) Recording method, recording medium, and recording / reproducing apparatus
JP3070572B2 (en) Image recording medium reproducing apparatus and reproducing method
KR980011293A (en) A decoding apparatus of a digital video disk system
US20060093314A1 (en) Editing of data frames
JP2007104703A (en) Playback bitstream processing