JP2002033722A - Decoder - Google Patents

Decoder

Info

Publication number
JP2002033722A
JP2002033722A JP2000216960A JP2000216960A JP2002033722A JP 2002033722 A JP2002033722 A JP 2002033722A JP 2000216960 A JP2000216960 A JP 2000216960A JP 2000216960 A JP2000216960 A JP 2000216960A JP 2002033722 A JP2002033722 A JP 2002033722A
Authority
JP
Japan
Prior art keywords
pts
time information
video
encoded data
write address
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
JP2000216960A
Other languages
Japanese (ja)
Inventor
Mitsuru Hashimoto
充 橋本
Yoichi Fujiwara
陽一 藤原
Hitoshi Ishihara
斉 石原
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2000216960A priority Critical patent/JP2002033722A/en
Publication of JP2002033722A publication Critical patent/JP2002033722A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To solve the problem that conventionally a decoder that requires a complicated circuit for a header analysis to detect a VBV delay parameter and results in increased circuitry scale, because VBV delay registers, counters and coincident detection sections whose number is equal to number of presentation time stamps(PTS) stored in a PTS register are required. SOLUTION: Reproduction start time information is stored with a write address, when coded data are transferred to a buffer; and when the stored write address is coincident with a read address in the case that the coded data are read from the buffer, a decoded frame is subjected to reproduction control, on the basis of the stored reproduction start time information.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、復号装置に関し、
特に再生開始時刻情報を符号化データを復号したフレー
ムと対応づけることにより再生同期を制御する装置に関
わるものである。
TECHNICAL FIELD The present invention relates to a decoding device,
In particular, the present invention relates to an apparatus for controlling reproduction synchronization by associating reproduction start time information with a frame obtained by decoding encoded data.

【0002】[0002]

【従来の技術】ビデオデータの符号化、オーディオデー
タの符号化、ビデオ符号化データとオーディオ符号化デ
ータの多重化方式としてMPEG2規格がある。MPE
G2規格により多重化されたシステムストリームに対す
る復号器は、図2に示すように分離部20、ビデオバッ
ファメモリ13、ビデオデコーダ15、表示制御部1
9、オーディオバッファメモリ23、オーディオデコー
ダ24、再生制御部25から構成される。
2. Description of the Related Art There is the MPEG2 standard as a method for encoding video data, encoding audio data, and multiplexing video encoded data and audio encoded data. MPE
As shown in FIG. 2, a decoder for a system stream multiplexed according to the G2 standard includes a demultiplexer 20, a video buffer memory 13, a video decoder 15, and a display controller 1.
9, an audio buffer memory 23, an audio decoder 24, and a reproduction control unit 25.

【0003】分離部20は、ビデオ符号化データ、オー
ディオ符号化データが多重化されたシステムストリーム
が入力されると、ビデオ符号化データ、オーディオ符号
化データ、制御情報に分離して出力する。ビデオ符号化
データは、ビデオバッファメモリ13を通じてビデオデ
コーダ15に入力され、オーディオ符号化データは、オ
ーディオバッファメモリ23を通してオーディオデコー
ダ24に入力される。制御情報の中には、符号化データ
の再生開始時刻(PTS:Presentation
Time Stamp)が含まれており、復号したビデ
オフレーム、オーディオフレームの再生同期に用いられ
る。
[0003] When a system stream in which coded video data and coded audio data are multiplexed is input, a separating unit 20 separates the coded data into coded video data, coded audio data, and control information and outputs the separated data. The encoded video data is input to the video decoder 15 through the video buffer memory 13, and the encoded audio data is input to the audio decoder 24 through the audio buffer memory 23. The control information includes a reproduction start time (PTS: Presentation) of encoded data.
Time Stamp) is used for synchronizing the reproduction of the decoded video frame and audio frame.

【0004】しかしながら、ビデオバッファメモリ13
には数フレーム分の情報が含まれるため、分離器20か
ら出力されるPTSとビデオデコーダ15から出力され
るビデオフレームとの間には時間的なづれが生じてしま
い、その結果、ビデオデータの再生同期をとることがで
きない。再生同期をとるためには、ビデオ符号化データ
のバッファメモリ遅延時間と等しい時間だけPTSを遅
延させる必要がある。MPEGビデオ規格においては、
前記ビデオ符号化データのバッファメモリ遅延時間を表
すパラメータ(VBVdelay)が定義されており、
PTS遅延のために使用することができる。
However, the video buffer memory 13
Contains several frames of information, a time lag occurs between the PTS output from the separator 20 and the video frame output from the video decoder 15, and as a result, the video data Playback cannot be synchronized. In order to achieve reproduction synchronization, it is necessary to delay the PTS by a time equal to the buffer memory delay time of the encoded video data. In the MPEG video standard,
A parameter (VBVdelay) representing a buffer memory delay time of the video encoded data is defined,
Can be used for PTS delay.

【0005】ビデオの再生同期を制御するための最初の
従来例は、図3に示すように、ヘッダ解析部30、VB
Vdelayレジスタ31、書き込み制御部10、PT
S書き込み制御部11、カウンタ部32、一致検出部1
6、PTSレジスタ17、PTS読み出し制御部18、
ビデオバッファメモリ13、読み出し制御部14、ビデ
オデコーダ15、表示制御部19から構成される。
As shown in FIG. 3, a first conventional example for controlling video playback synchronization is a header analysis unit 30, a VB
Vdelay register 31, write control unit 10, PT
S write control unit 11, counter unit 32, match detection unit 1
6, PTS register 17, PTS read control unit 18,
It comprises a video buffer memory 13, a read control unit 14, a video decoder 15, and a display control unit 19.

【0006】ビデオ符号化データは、ヘッダ解析部3
0、書き込み制御部10を通じてビデオバッファメモリ
13に蓄積される。ヘッダ解析部30はビデオ符号化デ
ータ中のVBVdelayを検出してVBVdelay
レジスタ31へ出力し、VBVdelayレジスタ31
はVBVdelayを保持する。
[0006] The encoded video data is supplied to a header analysis unit 3.
0, stored in the video buffer memory 13 through the write control unit 10. The header analysis unit 30 detects the VBV delay in the video encoded data and detects the VBV delay.
Output to register 31 and VBV delay register 31
Holds VBVdelay.

【0007】PTSは、PTS書き込み制御部11を通
じてPTSレジスタ17に保持される。PTS書き込み
制御部11は、PTSをPTSレジスタ17に書き込む
タイミングでカウンタ32を始動させる。
[0007] The PTS is held in the PTS register 17 through the PTS write control unit 11. The PTS write control unit 11 starts the counter 32 at the timing of writing the PTS to the PTS register 17.

【0008】一致検出部16は、VBVdelayレジ
スタ31から出力されるVBVdelay値とカウンタ
32から出力されるカウンタ値を比較し、一致したとき
にPTS読み出し制御部18にPTSの読み出しを命令
する。
The coincidence detector 16 compares the VBVdelay value output from the VBVdelay register 31 with the counter value output from the counter 32, and instructs the PTS read controller 18 to read the PTS when they match.

【0009】PTS読み出し制御部18は、一致検出部
16からPTS読み出し命令を受け取ると、PTSレジ
スタ17からPTSを読み出して表示制御部19へ出力
する。
When the PTS read control unit 18 receives the PTS read command from the match detection unit 16, it reads the PTS from the PTS register 17 and outputs it to the display control unit 19.

【0010】ビデオバッファメモリ13に蓄積されたビ
デオ符号化データは、読み出し制御部14を通りビデオ
デコーダ15で復号されフレーム画像となる。
The coded video data stored in the video buffer memory 13 passes through the read control unit 14 and is decoded by the video decoder 15 to become a frame image.

【0011】表示制御部19は、内部に持つ基準時刻
(STC:System TimeClock)とPT
Sを比較し、一致したときに復号されたフレーム画像を
表示する。
The display control unit 19 has an internal reference time (STC: System TimeClock) and PT
S is compared, and when they match, a decoded frame image is displayed.

【0012】上記の動作により、PTSをビデオ符号化
データのビデオバッファメモリによる遅延時間と同じ時
間だけ遅延させることができ、結果として復号後のフレ
ーム画像とPTSの対応に時間的なづれが生じないもの
になる。
By the above operation, the PTS can be delayed by the same time as the delay time of the video coded data by the video buffer memory. As a result, there is no time lag between the correspondence between the decoded frame image and the PTS. Become something.

【0013】また、再生同期を制御するための2番目の
従来例は、図4に示すように、ヘッダ解析部41、4
2、PTS挿入部40、書き込み制御部10、ビデオバ
ッファメモリ13、読み出し制御部14、ビデオデコー
ダ15、表示制御部19から構成される。
A second conventional example for controlling reproduction synchronization is, as shown in FIG.
2, the PTS insertion unit 40, the write control unit 10, the video buffer memory 13, the read control unit 14, the video decoder 15, and the display control unit 19.

【0014】ヘッダ解析部42は、入力されたビデオ符
号化データに対して、あらかじめ決められたビデオフレ
ームを構成する符号化データの特定の位置を検出し、そ
の位置情報をビデオ符号化データとともにPTS挿入部
40へ出力する。
The header analysis unit 42 detects a specific position of encoded data constituting a predetermined video frame from the input encoded video data, and converts the position information together with the encoded video data into a PTS. Output to the insertion unit 40.

【0015】ここで、前記検出位置の例として、ビデオ
フレームを構成する符号化データのヘッダ情報の先頭の
位置などが想定される。PTS挿入部40は、入力され
るビデオ符号化データに対し、前記ヘッダ解析部42で
検出した位置にPTSを挿入する。
Here, as an example of the detection position, a head position of header information of encoded data forming a video frame is assumed. The PTS insertion unit 40 inserts a PTS into the input video encoded data at the position detected by the header analysis unit 42.

【0016】PTSが挿入されたビデオ符号化データ
は、書き込み制御部10を通してビデオバッファメモリ
13に蓄積され、その後、読み出し制御部14により読
み出される。ヘッダ解析部41は、あらかじめに決めら
れたPTS挿入位置情報に従いPTSが加えられたビデ
オ符号化データを解析し、PTSを抜き出して表示制御
部19へ出力する。
The video encoded data with the PTS inserted is stored in the video buffer memory 13 through the write control unit 10 and then read out by the read control unit 14. The header analysis unit 41 analyzes the video encoded data to which the PTS has been added according to the predetermined PTS insertion position information, extracts the PTS, and outputs the PTS to the display control unit 19.

【0017】ビデオデコーダ15は、ヘッダ解析部41
から出力されたビデオ符号化データを復号し、フレーム
画像を作成する。
The video decoder 15 includes a header analysis unit 41
And decodes the encoded video data output from to generate a frame image.

【0018】表示制御部19は、内部のSTCとPTS
を比較し、一致したときに復号されたフレーム画像を表
示する。
The display control unit 19 includes an internal STC and a PTS.
Are compared, and when they match, a decoded frame image is displayed.

【0019】上記の動作により、PTSをビデオ符号化
データに多重化してビデオバッファメモリ13を通過さ
せることにより、バッファメモリ通過後のビデオ符号化
データとPTSの遅延時間のづれを防ぐことができる。
これにより、復号後のフレーム画像とPTSの間に時間
のづれが生じることがなく、正しく再生同期を行なうこ
とができる。
By the above operation, the PTS is multiplexed with the coded video data and passed through the video buffer memory 13, so that the difference between the coded video data after passing through the buffer memory and the delay time of the PTS can be prevented.
As a result, there is no time lag between the decoded frame image and the PTS, and correct reproduction synchronization can be performed.

【0020】[0020]

【発明が解決しようとする課題】上記の最初の従来例で
は、ビデオ符号化データに含まれているVBVdela
y値を検出する手段を必要とするが、ビデオ符号化デー
タは各種ヘッダ情報とフレーム画像を可変長符号化した
データから構成されているため、VBVdelay値を
検出するためのヘッダ解析を行なうためには、複雑な回
路が必要とされる。
In the first conventional example described above, VBVdela included in video encoded data is used.
Although a means for detecting the y value is required, since the video encoded data is composed of various header information and data obtained by performing variable length coding on the frame image, it is necessary to perform header analysis for detecting the VBV delay value. Requires a complicated circuit.

【0021】また、ビデオバッファメモリ13に蓄えら
れるビデオ符号化データが数フレーム分の符号化情報を
含むため、全てのビデオフレームに対するPTSが付加
されているシステムストリームを再生する場合、PTS
レジスタ17において同時に複数のPTS値を保持する
ことになり、PTSレジスタ17に保持するPTSの数
だけVBVdelayレジスタ31、カウンタ32、一
致検出部16が必要になり、結果として回路規模が増加
してしまう。
Further, since the video coded data stored in the video buffer memory 13 includes coding information for several frames, when reproducing a system stream to which PTS is added to all video frames, the PTS
Since a plurality of PTS values are held in the register 17 at the same time, the VBV delay register 31, the counter 32, and the coincidence detecting unit 16 are required by the number of PTSs held in the PTS register 17, resulting in an increase in circuit scale. .

【0022】更に、ビデオ符号化データが可変ビットレ
ートの場合、VBVdelayはビデオバッファメモリ
の遅延時間と異なるFFFFが設定されるため、VBV
delayをPTSの遅延時間に利用することができな
い。
Further, when the video encoded data has a variable bit rate, VBV delay is set to FFFF different from the delay time of the video buffer memory.
The delay cannot be used for the delay time of the PTS.

【0023】上記2番目の従来例では、取り扱うPTS
の数に制限は無いものの、ビデオバッファメモリの前段
でPTSを挿入する位置を検出するためのヘッダ解析、
ビデオバッファメモリの後段でPTSが挿入されたビデ
オ符号化データからPTSを抜き出すためのヘッダ解析
は、上記最初の従来例のヘッダ解析と同様に複雑な回路
が必要とされる。
In the second conventional example, the PTS
Although there is no limit on the number of headers, a header analysis for detecting the position where the PTS is inserted in the previous stage of the video buffer memory,
The header analysis for extracting the PTS from the video coded data into which the PTS has been inserted at the subsequent stage of the video buffer memory requires a complicated circuit as in the first conventional header analysis.

【0024】[0024]

【課題を解決するための手段】上記の課題を克服するた
めに、本発明は、再生時刻情報が埋め込まれた符号化デ
ータから再生時刻情報を分離し、符号化データを復号す
ることによって得られた復号フレームの再生タイミング
を前記再生時刻情報によって制御する復号装置におい
て、分離した再生時刻情報を保持する手段と、符号化デ
ータを一時蓄積するメモリと、再生時刻情報に対応する
符号化データを前記メモリに書き込む時の書き込みアド
レスを保持する手段と、前記メモリから符号化データを
読み出す時の読み出しアドレスと前記保持した書き込み
アドレスとを比較する手段とを備え、前記メモリにおけ
る読み出しアドレスと保持された書き込みアドレスとの
一致検出を行ない、アドレスが一致した時の復号フレー
ムに前記保持された再生時刻情報を対応づけることによ
って、符号化データと対応づけられている再生時刻情報
を、復号フレームへの対応に変換することを特徴とす
る。
In order to overcome the above-mentioned problems, the present invention is obtained by separating reproduction time information from encoded data in which reproduction time information is embedded, and decoding the encoded data. A decoding device that controls the reproduction timing of the decoded frame based on the reproduction time information, a unit that holds separated reproduction time information, a memory that temporarily stores encoded data, and the encoded data that corresponds to the reproduction time information. Means for holding a write address when writing to the memory; and means for comparing the read address when reading the encoded data from the memory with the held write address, wherein the read address and the held write A match with the address is detected, and the above information is stored in the decoded frame when the address matches. By associating the raw time information, the reproduction time information associated with the encoded data, and converting the response to the decoded frame.

【0025】ここで、前記再生時刻情報を保持する複数
の手段と、前記メモリへの書き込みアドレスを保持する
複数の手段とを備えることによって、前記メモリに符号
化データが複数フレーム分蓄積される場合でも再生時刻
情報の変換を行なうことを特徴とする。
Here, when a plurality of means for holding the reproduction time information and a plurality of means for holding the write address to the memory are provided, the encoded data for a plurality of frames is stored in the memory. However, the reproduction time information is converted.

【0026】また、同時に保持する再生時刻情報の個数
が所定の数を超過した場合には、続く再生時刻情報を保
持しないことを特徴とする。
When the number of pieces of reproduction time information to be held simultaneously exceeds a predetermined number, the following reproduction time information is not held.

【0027】[0027]

【発明の実施の形態】図1は、本発明の第1の実施形態
を示すブロック図であり、書き込み制御部10、PTS
書き込み制御部11、書き込みアドレスレジスタ12、
ビデオバッファメモリ13、読み出し制御部14、ビデ
オデコーダ15、一致検出部16、PTSレジスタ1
7、PTS読み出し制御部18、表示制御部19から構
成されている。
FIG. 1 is a block diagram showing a first embodiment of the present invention.
A write control unit 11, a write address register 12,
Video buffer memory 13, read control unit 14, video decoder 15, match detection unit 16, PTS register 1
7, a PTS read control unit 18 and a display control unit 19.

【0028】書き込み制御部10は、ビデオバッファメ
モリ13に空き領域があるときにビデオ符号化データを
転送し、書き込みアドレスの値をカウントアップさせ
る。また、ビデオバッファメモリ13への書き込みアド
レスの値を書き込みアドレスレジスタ12へ出力する。
The write control unit 10 transfers the encoded video data when the video buffer memory 13 has an empty area, and counts up the value of the write address. Further, it outputs the value of the write address to the video buffer memory 13 to the write address register 12.

【0029】PTS書き込み制御部11は、システムス
トリームから分離されたPTSが入力されると、PTS
をPTSレジスタ17に書き込むとともに、PTSが入
力されたことを書き込みアドレスレジスタ12へ通知す
る。
When the PTS separated from the system stream is input, the PTS write control unit 11
Is written to the PTS register 17 and the input of the PTS is notified to the write address register 12.

【0030】書き込みアドレスレジスタ12は、PTS
書き込み制御部11からPTSが入力されたことを知ら
されると、書き込み制御部10から入力されてくる書き
込みアドレスの値を内部のレジスタに保持する。
The write address register 12 has a PTS
When notified that the PTS has been input from the write control unit 11, the value of the write address input from the write control unit 10 is held in an internal register.

【0031】読み出し制御部14は、ビデオバッファメ
モリ13にビデオ符号化データが蓄えられているときに
データを読み出してビデオデコーダ15に転送する。ま
た、内部で管理しているビデオバッファメモリ13の読
み出しアドレスの値を一致検出部16へ出力する。
The read control unit 14 reads data when video encoded data is stored in the video buffer memory 13 and transfers the data to the video decoder 15. Further, it outputs the value of the read address of the video buffer memory 13 managed internally to the coincidence detecting unit 16.

【0032】一致検出部16は、書き込みアドレスレジ
スタ12から入力される書き込みアドレスの値と読み出
し制御部14から入力される読み出しアドレスの値の比
較を行なう。
The coincidence detector 16 compares the value of the write address input from the write address register 12 with the value of the read address input from the read controller 14.

【0033】そして、両者の値が一致したときに、PT
S読み出し制御部18にPTSレジスタ17からPTS
の読み出しを命令する。
When the values match, PT
The PTS register 17 sends the PTS
Is read.

【0034】PTS読み出し制御部18は、一致検出部
16からPTS読み出し命令を受けると、PTSレジス
タ17からPTSを読み出し表示制御部19へ転送す
る。
When receiving the PTS read command from the coincidence detector 16, the PTS read controller 18 reads the PTS from the PTS register 17 and transfers it to the display controller 19.

【0035】ビデオデコーダ15は、ヘッダ制御部14
から出力されたビデオ符号化データを復号してフレーム
画像を作成する。
The video decoder 15 includes a header control unit 14
And decodes the encoded video data output from to generate a frame image.

【0036】表示制御部19は、内部のSTCとPTS
を比較し、一致したときに復号されたフレーム画像を表
示する。
The display control unit 19 has an internal STC and PTS
Are compared, and when they match, a decoded frame image is displayed.

【0037】上記の動作により、PTSがシステムスト
リームから分離されたときのビデオバッファメモリの書
き込みアドレスを保持し、その保持した書き込みアドレ
スとビデオバッファメモリの読み出しアドレスとの一致
を検出することにより、ビデオ符号化データがビデオバ
ッファメモリを通過する遅延時間を知ることができる。
By the above operation, the write address of the video buffer memory when the PTS is separated from the system stream is held, and the match between the held write address and the read address of the video buffer memory is detected. It is possible to know the delay time when the encoded data passes through the video buffer memory.

【0038】これにより、PTSとビデオ符号化データ
に含まれるフレーム画像との時間のづれを防ぐことがで
き、再生同期が正しく行なわれる。
As a result, it is possible to prevent time lag between the PTS and the frame image included in the encoded video data, and correct reproduction synchronization is performed.

【0039】図5は、本発明の第2の実施形態を示すブ
ロック図であり、書き込み制御部10、PTS書き込み
制御部11、書き込みアドレスレジスタ50、ビデオバ
ッファメモリ13、読み出し制御部14、ビデオデコー
ダ15、一致検出部16、PTSレジスタ51、PTS
読み出し制御部18、表示制御部19から構成されてい
る。
FIG. 5 is a block diagram showing a second embodiment of the present invention. The write control unit 10, the PTS write control unit 11, the write address register 50, the video buffer memory 13, the read control unit 14, the video decoder 15, match detector 16, PTS register 51, PTS
It comprises a read control unit 18 and a display control unit 19.

【0040】図5の構成は、最初に述べた本発明に対
し、書き込みアドレスレジスタ50で保持するアドレス
の数、およびPTSレジスタ51で保持するPTSの数
を制限したものである。
The configuration of FIG. 5 is different from the first embodiment in that the number of addresses held in the write address register 50 and the number of PTSs held in the PTS register 51 are limited.

【0041】ここで、図5に示された書き込みアドレス
レジスタ50、PTSレジスタ51は3つの値を保持で
きるが、これは一例であり、本発明は3に限定するもの
ではない。
Here, the write address register 50 and the PTS register 51 shown in FIG. 5 can hold three values, but this is only an example, and the present invention is not limited to three.

【0042】本構成では、PTSレジスタ51に保持す
るPTSの数が3未満のときの動作は、最初の発明と同
じであるが、PTSレジスタ51に保持するPTSの数
が制限値の3に達したときに新たなPTSを取得した場
合、PTS書き込み制御部11は、新たなPTS値を破
棄しPTSレジスタ51および書き込みアドレスレジス
タ50で保持している値を更新しないようにする。
In this configuration, the operation when the number of PTSs held in the PTS register 51 is less than three is the same as that of the first invention, but the number of PTSs held in the PTS register 51 reaches the limit value of three. If a new PTS is acquired at this time, the PTS write control unit 11 discards the new PTS value and does not update the values held in the PTS register 51 and the write address register 50.

【0043】これにより、入力される全てのPTSを再
生同期の制御に用いることができないが、PTSレジス
タ51および書き込みアドレスレジスタ50の数を自由
に設定することが可能になる。
As a result, all the input PTSs cannot be used for controlling the reproduction synchronization, but the numbers of the PTS registers 51 and the write address registers 50 can be freely set.

【0044】以上においては、本発明をMPEGビデオ
符号化データに適用した場合について説明したが、オー
ディオ符号化データ等、再生時刻制御されるデータ一般
に使用することが可能である。
In the above, the case where the present invention is applied to MPEG video encoded data has been described. However, the present invention can be generally used for data whose reproduction time is controlled, such as audio encoded data.

【0045】以上の実施例によれば、本発明は、符号化
されたビデオデータの再生において、ビデオの再生同期
情報を取得したときに、ビデオの再生同期情報を保持す
るとともにビデオ符号化データがビデオバッファメモリ
に蓄積されるときの書き込みアドレスを保持し、前記ビ
デオバッファメモリからビデオ符号化データを読み出す
ときの読み出しアドレスと前記保持した書き込みアドレ
スとの比較を行ない、一致した場合に前記保持した再生
同期情報を取り出し、前記ビデオ符号化データの復号後
のビデオフレームの表示タイミングの制御に用いること
により、簡単な回路でビデオ符号化データの復号フレー
ムとPTSを対応づけることができる。
According to the above-described embodiment, the present invention holds the reproduction synchronization information of a video when the reproduction synchronization information of the video is obtained in the reproduction of the encoded video data. The write address stored in the video buffer memory is held, and a read address when reading video encoded data from the video buffer memory is compared with the held write address. By extracting the synchronization information and using it for controlling the display timing of the video frame after decoding the video encoded data, the decoded frame of the video encoded data can be associated with the PTS with a simple circuit.

【0046】本発明は、最初の従来例および2番目の従
来例と比較して、ビデオ符号化データを解析する手段を
必要としない。MPEG2規格により可変長符号化され
たビデオ符号化データを解析するためには、複雑な回路
が必要になるため、本発明を用いることにより、大幅な
回路削減が可能になる。
The present invention does not require a means for analyzing video encoded data, as compared with the first conventional example and the second conventional example. In order to analyze video coded data that has been subjected to variable-length coding according to the MPEG2 standard, a complicated circuit is required. Therefore, by using the present invention, a large number of circuits can be reduced.

【0047】また、最初の従来例と比べて、VBVde
layだけ遅延させるためのカウンタが必要ないため、
カウンタを構成するための回路を削減することができ
る。
In comparison with the first conventional example, VBVde
Because there is no need for a counter to delay by lay,
Circuits for forming the counter can be reduced.

【0048】本発明は、2番目の従来例と比べて、同時
に保持するPTSの数により、複数の書き込みアドレス
レジスタ、PTSレジスタが必要になるが、回路の増加
はわずかなものである。
According to the present invention, a plurality of write address registers and PTS registers are required depending on the number of PTSs simultaneously held as compared with the second conventional example, but the number of circuits is slightly increased.

【0049】このように、本発明の構成を用いることに
より、従来の方法に比べて回路を削減することが可能と
なる。
As described above, by using the configuration of the present invention, it is possible to reduce the number of circuits as compared with the conventional method.

【0050】[0050]

【発明の効果】以上説明したように、本発明は、再生開
始時刻情報および書き込みアドレスを保持するレジス
タ、レジスタ制御部、比較器などの簡単な回路構成で再
生時刻情報を復号フレームに対応づけることができ、従
来例で用いられているカウンタや符号化データのヘッダ
解析等の複雑な回路を必要としない。
As described above, according to the present invention, the reproduction time information is associated with the decoded frame by a simple circuit configuration such as a register holding the reproduction start time information and the write address, a register control unit, and a comparator. This eliminates the need for a complicated circuit such as a counter used in the conventional example and a header analysis of encoded data.

【0051】また、本発明は、再生時刻情報を保持する
レジスタおよび書き込みアドレスを保持するレジスタを
複数用意することにより、同時に複数の再生開始時刻情
報を保持し、複数の復号フレームの対応に変換すること
ができる。
Further, according to the present invention, by preparing a plurality of registers for holding reproduction time information and a plurality of registers for holding write addresses, a plurality of reproduction start time information are simultaneously held and converted to correspond to a plurality of decoded frames. be able to.

【0052】更に、本発明は、同時に保持する再生時刻
情報の個数に制限を設定し、設定した数を超過する再生
時刻情報を取得した場合は保持しないことにより、再生
時刻情報を保持するメモリおよび書き込みアドレスを保
持するレジスタの数を自由に設定することができる。
Further, according to the present invention, a limit is set on the number of pieces of reproduction time information to be held at the same time, and when a piece of reproduction time information exceeding the set number is obtained, it is not stored. The number of registers holding the write address can be freely set.

【0053】これにより、本発明の復号装置は、従来の
装置に比べて回路を削減することが可能になる。
Thus, the decoding device of the present invention can reduce the number of circuits as compared with the conventional device.

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

【図1】本発明の一実施例を示す構成図である。FIG. 1 is a configuration diagram showing one embodiment of the present invention.

【図2】一般的な復号器の構成図である。FIG. 2 is a configuration diagram of a general decoder.

【図3】従来の再生同期制御の構成図である。FIG. 3 is a configuration diagram of a conventional reproduction synchronization control.

【図4】従来の再生同期制御の構成図である。FIG. 4 is a configuration diagram of a conventional reproduction synchronization control.

【図5】本発明の別の実施例を示す構成図である。FIG. 5 is a configuration diagram showing another embodiment of the present invention.

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

10 書き込み制御 11 PTS書き込み制御 12、50 書き込みアドレスレジスタ 13 ビデオバッファメモリ 14 読み出し制御 15 ビデオデコーダ 16 一致検出 17、51 PTSレジスタ 18 PTS読み出し制御 19 表示制御 20 分離器 23 オーディオバッファメモリ 24 オーディオデコーダ 25 再生制御 30、41、42 ヘッダ解析 31 VBVdelayレジスタ 32 カウンタ 40 PTS挿入 10 Write Control 11 PTS Write Control 12, 50 Write Address Register 13 Video Buffer Memory 14 Read Control 15 Video Decoder 16 Match Detection 17, 51 PTS Register 18 PTS Read Control 19 Display Control 20 Separator 23 Audio Buffer Memory 24 Audio Decoder 25 Playback Control 30, 41, 42 Header analysis 31 VBV delay register 32 Counter 40 PTS insertion

フロントページの続き (72)発明者 石原 斉 大阪府大阪市阿倍野区長池町22番22号 シ ャープ株式会社内 Fターム(参考) 5C059 KK32 MA00 ME01 RC04 UA05 UA34 UA35 UA36 5K047 AA16 AA18 DD02 HH54 Continuation of the front page (72) Inventor Hitoshi Ishihara 22-22 Nagaikecho, Abeno-ku, Osaka City, Osaka F-term (reference) 5C059 KK32 MA00 ME01 RC04 UA05 UA34 UA35 UA36 5K047 AA16 AA18 DD02 HH54

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 再生時刻情報が埋め込まれた符号化デー
タから再生時刻情報を分離し、符号化データを復号する
ことによって得られた復号フレームの再生タイミングを
前記再生時刻情報によって制御する復号装置において、 分離した再生時刻情報を保持する手段と、 符号化データを一時蓄積するメモリと、 再生時刻情報に対応する符号化データを前記メモリに書
き込む時の書き込みアドレスを保持する手段と、 前記メモリから符号化データを読み出す時の読み出しア
ドレスと前記保持した書き込みアドレスとを比較する手
段と、 を備え、前記メモリにおける読み出しアドレスと保持さ
れた書き込みアドレスとの一致検出を行ない、アドレス
が一致した時の復号フレームに前記保持された再生時刻
情報を対応づけることによって、符号化データと対応づ
けられている再生時刻情報を復号フレームへの対応に変
換することを特徴とする復号装置。
1. A decoding device for separating reproduction time information from encoded data in which reproduction time information is embedded and controlling the reproduction timing of a decoded frame obtained by decoding the encoded data by the reproduction time information. Means for holding separated playback time information; memory for temporarily storing encoded data; means for holding a write address when writing encoded data corresponding to playback time information to the memory; and code from the memory. Means for comparing a read address when reading encrypted data with the held write address, and detects a match between the read address in the memory and the held write address, and decodes the frame when the addresses match. By associating the held playback time information with the encoded data, Decoding apparatus characterized by converting the reproduction time information associated with the response to the decoded frame with.
【請求項2】 前記再生時刻情報を保持する複数の手段
と、前記メモリへの書き込みアドレスを保持する複数の
手段とを備えることによって、前記メモリに符号化デー
タが複数フレーム分蓄積される場合でも再生時刻情報の
変換を行なうことを特徴とする請求項1記載の復号装置
2. A plurality of means for holding the reproduction time information and a plurality of means for holding a write address to the memory, so that even when encoded data for a plurality of frames is stored in the memory. 2. The decoding device according to claim 1, wherein conversion of the reproduction time information is performed.
【請求項3】 同時に保持する再生時刻情報の個数が所
定の数を超過した場合には、続く再生時刻情報を保持し
ないことを特徴とする請求項2記載の復号装置。
3. The decoding apparatus according to claim 2, wherein when the number of pieces of reproduction time information held simultaneously exceeds a predetermined number, the subsequent reproduction time information is not stored.
JP2000216960A 2000-07-18 2000-07-18 Decoder Pending JP2002033722A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000216960A JP2002033722A (en) 2000-07-18 2000-07-18 Decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000216960A JP2002033722A (en) 2000-07-18 2000-07-18 Decoder

Publications (1)

Publication Number Publication Date
JP2002033722A true JP2002033722A (en) 2002-01-31

Family

ID=18712140

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000216960A Pending JP2002033722A (en) 2000-07-18 2000-07-18 Decoder

Country Status (1)

Country Link
JP (1) JP2002033722A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004096239A (en) * 2002-08-29 2004-03-25 Matsushita Electric Ind Co Ltd Audio transmission system, reception terminal used for system, transmission terminal, decoding processing apparatus, an audio transmission method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004096239A (en) * 2002-08-29 2004-03-25 Matsushita Electric Ind Co Ltd Audio transmission system, reception terminal used for system, transmission terminal, decoding processing apparatus, an audio transmission method

Similar Documents

Publication Publication Date Title
US6262775B1 (en) Caption data processing circuit and method therefor
US6163647A (en) Apparatus for synchronized playback of audio-video signals
JP3641336B2 (en) Data separator
US7359006B1 (en) Audio module supporting audio signature
US6078725A (en) Apparatus for a synchronized playback of audio-video signals
US5521922A (en) Data demultiplexer
US5808722A (en) Apparatus for extending and reproducing video and audio data and a video and audio synchronization controller
US6163646A (en) Apparatus for a synchronized playback of audio-video signals
US5959684A (en) Method and apparatus for audio-video synchronizing
KR960036743A (en) Multiplexed compressed image / audio data decoding device
KR100203262B1 (en) Interface device of video decoder for syncronization of picture
US5818547A (en) Timing detection device and method
WO2004071085A1 (en) Code conversion method and device thereof
JP3644995B2 (en) Time stamp value calculation method in coded transmission system
US6243032B1 (en) Decode apparatus that can accommodate dynamic change in sample data attribute during decoding process
JP3185863B2 (en) Data multiplexing method and apparatus
JP4428779B2 (en) Data multiplexer
JP2002033722A (en) Decoder
US6556626B1 (en) MPEG decoder, MPEG system decoder and MPEG video decoder
US20070058934A1 (en) Decoding/reproducing apparatus
JPH11127435A (en) Device for decoding compression-encoded video and voice signal
JP2001069467A (en) Data reproduction device
EP1148723B1 (en) Special reproduction data generating device, medium, and information aggregate
KR100835909B1 (en) Digital image processing device and operating method therefore
US8098657B2 (en) System and method for providing data commonality in a programmable transport demultiplexer engine