JP2011147057A - Playback apparatus, control method and program - Google Patents

Playback apparatus, control method and program Download PDF

Info

Publication number
JP2011147057A
JP2011147057A JP2010007925A JP2010007925A JP2011147057A JP 2011147057 A JP2011147057 A JP 2011147057A JP 2010007925 A JP2010007925 A JP 2010007925A JP 2010007925 A JP2010007925 A JP 2010007925A JP 2011147057 A JP2011147057 A JP 2011147057A
Authority
JP
Japan
Prior art keywords
data
pts
picture
image data
designated
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.)
Granted
Application number
JP2010007925A
Other languages
Japanese (ja)
Other versions
JP5525831B2 (en
Inventor
Koji Numata
考司 沼田
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.)
NEC Embedded Products Ltd
Original Assignee
NEC Embedded Products 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 NEC Embedded Products Ltd filed Critical NEC Embedded Products Ltd
Priority to JP2010007925A priority Critical patent/JP5525831B2/en
Publication of JP2011147057A publication Critical patent/JP2011147057A/en
Application granted granted Critical
Publication of JP5525831B2 publication Critical patent/JP5525831B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a playback apparatus capable of achieving special reproduction such as seeking, reverse-slow and film-frame-back functions while designating a PTS (Presentation Time Stamp). <P>SOLUTION: A playback apparatus (100) includes: an acquisition means (2) for acquiring at least data of a first GOP (Group of Picture) and data of a second GOP just before the first GOP, including data of a designated PTS for outputting image data, when the designated PTS is received; and a control means (43) for decoding the data acquired by the acquisition means (2) to the data of the designated PTS, and outputting image data of the designated PTS. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、MPEG(Moving Picture Image Coding Experts Group)方式の圧縮画像データを再生する技術に関する。   The present invention relates to a technique for reproducing compressed image data of the MPEG (Moving Picture Image Coding Experts Group) method.

圧縮画像データの符号化方式としては、MPEG方式が標準化されている。また、MPEG方式の画像符号化アルゴリズムでは、ランダムアクセス機能を可能にするために、GOP(Group of Picture)単位で符号化が行われている。各GPOは、Iピクチャと、Pピクチャと、Bピクチャと、で構成している。   The MPEG method is standardized as a method for encoding compressed image data. In the MPEG image encoding algorithm, encoding is performed in GOP (Group of Picture) units in order to enable a random access function. Each GPO is composed of an I picture, a P picture, and a B picture.

Iピクチャは、Intra-coded picture(フレーム内符号化画像)のことを示し、フレーム内符号化した画像データであり、動き補償を行わないピクチャである。
Pピクチャは、Predictive-coded picture(順方向予測符号化画像)のことを示し、1つ前の再生画像データ(Iピクチャ又はPピクチャ)から動き補償を行い、フレーム間符号化を行ったピクチャである。
Bピクチャは、Bi-directionally predictive-coded picture(双方向予測符号化画像)のことを示し、1つ前と1つ後の再生画像データ(Iピクチャ又はPピクチャ)から動き補償を行い、両方向予測のフレーム間符号化を行ったピクチャである。
The I picture indicates an intra-coded picture (intra-frame coded picture), is picture data that is intra-frame coded, and is a picture that is not subjected to motion compensation.
A P picture indicates a Predictive-coded picture (forward prediction coded picture), and is a picture that has been subjected to motion compensation from the previous reproduced picture data (I picture or P picture) and subjected to interframe coding. is there.
A B picture indicates a bi-directionally predictive-coded picture (bidirectional predictive-coded picture), and bi-directional prediction is performed by performing motion compensation from the previous and next reproduced image data (I picture or P picture). This is a picture subjected to the inter-frame coding.

なお、上述したMPEG方式の符号化を行う再生装置においてフレーム単位の画像再生を実現するためには、ユーザ操作による、シーク、順方向スロー、逆方向スロー、コマ送り、コマ戻し機能が必要になる。   Note that in order to realize frame-by-frame image reproduction in the above-described MPEG encoding encoding apparatus, seek, forward slow, reverse slow, frame advance, and frame return functions are required by user operations. .

順方向スロー、コマ送り機能は、公知のDirect Showの機能を用いて実現することができる。   The forward throw and frame advance functions can be implemented using the well-known Direct Show function.

しかし、シーク、逆方向スロー、コマ戻し機能等の特殊再生は、公知のDirect Showの機能を用いて実現することができない。   However, special playback such as seek, reverse throw, and frame return functions cannot be realized using the well-known Direct Show function.

このようなことから、シーク、逆方向スロー、コマ戻し機能等の特殊再生を実現するための新たな制御方法の開発が必要視されることになる。   For this reason, it is necessary to develop a new control method for realizing special reproduction such as seek, reverse throw, and frame return function.

なお、本発明より先に出願された技術文献として、MPEG方式の圧縮動画像データを逆方向再生する場合の方法について開示された文献がある(例えば、特許文献1参照)。   In addition, as a technical document filed prior to the present invention, there is a document that discloses a method for reproducing MPEG compressed moving image data in the reverse direction (see, for example, Patent Document 1).

上記特許文献1では、MPEG方式の圧縮動画像データは、逆方向再生の場合にGOP単位で順方向再生の場合と逆の順序で入力される。その入力系列に対し、スイッチ回路8,9,5を切換え制御し、1GOPのIピクチャとPピクチャ、及び順方向で前のGOPに係るIピクチャを復号・再生してフレームメモリ2aへ格納する。一方、1GOPのBピクチャは、符号化データのままデータメモリ7へ格納する。そして、各メモリ7,2aのデータをFILO方式で書換えながら、データメモリ7のBピクチャを復号・再生すると共に、スイッチ回路6を切換え制御して各ピクチャの再生画像データを連続的に逆方向順で出力させることにしている。   In the above-mentioned patent document 1, MPEG compressed moving image data is input in reverse order to forward playback in GOP units for backward playback. The switching circuits 8, 9, and 5 are controlled to switch the input series, and 1 GOP I picture and P picture, and I picture related to the previous GOP in the forward direction are decoded and reproduced, and stored in the frame memory 2a. On the other hand, a 1 GOP B picture is stored in the data memory 7 as encoded data. The B picture in the data memory 7 is decoded and reproduced while rewriting the data in the memories 7 and 2a by the FIFO method, and the switch circuit 6 is controlled to switch the reproduced image data of each picture in the reverse order. It is decided to make it output.

特開平8−102913号公報JP-A-8-102913

特許文献1には、IピクチャとPピクチャをフレームメモリ2aへ格納し、Bピクチャをデータメモリ7へ格納し、各メモリ7,2aのデータをFILO方式で書換えながら、各ピクチャの再生画像データを連続的に逆方向順で出力させる点について開示されている。   In Patent Document 1, the I picture and the P picture are stored in the frame memory 2a, the B picture is stored in the data memory 7, and the reproduced image data of each picture is rewritten while the data in each of the memories 7 and 2a is rewritten by the FIFO method. It is disclosed that the signals are continuously output in the reverse direction.

しかし、上記特許文献1には、PTSを指定して、シーク、逆方向スロー、コマ戻し機能等の特殊再生を実現する点については何ら記載されていない。   However, the above-mentioned patent document 1 does not describe anything about realizing special reproduction such as seek, reverse direction throw, and frame return function by specifying PTS.

本発明は、上記事情に鑑みてなされたものであり、PTSを指定して、シーク、逆方向スロー、コマ戻し機能等の特殊再生を実現することができる再生装置、制御方法及びプログラムを提供することを目的とする。   The present invention has been made in view of the above circumstances, and provides a playback apparatus, a control method, and a program capable of specifying special PTS and realizing special playback such as seek, reverse throw, and frame rewind function. For the purpose.

かかる目的を達成するために、本発明は、以下の特徴を有することとする。   In order to achieve this object, the present invention has the following features.

<再生装置>
本発明にかかる再生装置は、
画像データを出力するための指定PTS(Presentation Time Stamp)を受け付けた場合に、当該指定PTSのデータを含む第1のGOP(Group of Picture)及び当該第1のGOPの1つ前の第2のGOPのデータを少なくとも取得する取得手段と、
前記取得手段で取得したデータを前記指定PTSのデータまでデコードし、前記指定PTSの画像データを出力する制御手段と、
を有することを特徴とする。
<Reproducing device>
The playback apparatus according to the present invention is
When a designated PTS (Presentation Time Stamp) for outputting image data is received, a first GOP (Group of Picture) including the data of the designated PTS and a second immediately before the first GOP An acquisition means for acquiring at least GOP data;
Control means for decoding the data acquired by the acquisition means up to the data of the designated PTS, and outputting the image data of the designated PTS;
It is characterized by having.

<制御方法>
本発明にかかる制御方法は、
再生装置で行う制御方法であって、
画像データを出力するための指定PTS(Presentation Time Stamp)を受け付けた場合に、当該指定PTSのデータを含む第1のGOP(Group of Picture)及び当該第1のGOPの1つ前の第2のGOPのデータを少なくとも取得する取得工程と、
前記取得工程で取得したデータを前記指定PTSのデータまでデコードし、前記指定PTSの画像データを出力する制御工程と、
を有することを特徴とする。
<Control method>
The control method according to the present invention includes:
A control method performed by a playback device,
When a designated PTS (Presentation Time Stamp) for outputting image data is received, a first GOP (Group of Picture) including the data of the designated PTS and a second immediately before the first GOP An acquisition process for acquiring at least GOP data;
Decoding the data acquired in the acquisition step up to the data of the designated PTS, and outputting the image data of the designated PTS;
It is characterized by having.

<プログラム>
本発明にかかるプログラムは、
画像データを出力するための指定PTS(Presentation Time Stamp)を受け付けた場合に、当該指定PTSのデータを含む第1のGOP(Group of Picture)及び当該第1のGOPの1つ前の第2のGOPのデータを少なくとも取得する取得処理と、
前記取得処理で取得したデータを前記指定PTSのデータまでデコードし、前記指定PTSの画像データを出力する制御処理と、
をコンピュータに実行させることを特徴とする。
<Program>
The program according to the present invention is:
When a designated PTS (Presentation Time Stamp) for outputting image data is received, a first GOP (Group of Picture) including the data of the designated PTS and a second immediately before the first GOP An acquisition process that acquires at least GOP data;
Decoding the data acquired in the acquisition process up to the data of the designated PTS, and outputting the image data of the designated PTS;
Is executed by a computer.

本発明によれば、PTSを指定して、シーク、逆方向スロー、コマ戻し機能等の特殊再生を実現することができる。   According to the present invention, it is possible to realize special reproduction such as seek, reverse direction throw, and frame rewind function by specifying PTS.

第1の実施形態の再生装置100の内部構成例を示す図である。1 is a diagram illustrating an example of an internal configuration of a playback device 100 according to a first embodiment. 第1の実施形態の再生装置100の処理動作例を示す図である。It is a figure which shows the processing operation example of the reproducing | regenerating apparatus 100 of 1st Embodiment. 第1の実施形態の再生装置100の処理動作例を説明するための具体例を示す図である。It is a figure which shows the specific example for demonstrating the processing operation example of the reproducing | regenerating apparatus 100 of 1st Embodiment. 第2の実施形態の再生装置100の内部構成例を示す図である。It is a figure which shows the example of an internal structure of the reproducing | regenerating apparatus 100 of 2nd Embodiment. 第2の実施形態の再生装置100の処理動作例を示す図である。It is a figure which shows the processing operation example of the reproducing | regenerating apparatus 100 of 2nd Embodiment. 第2の実施形態の再生装置100の処理動作例を説明するための具体例を示す図である。It is a figure which shows the specific example for demonstrating the processing operation example of the reproducing | regenerating apparatus 100 of 2nd Embodiment. 第2の実施形態の再生装置100の処理動作例を説明するための具体例を示す図である。It is a figure which shows the specific example for demonstrating the processing operation example of the reproducing | regenerating apparatus 100 of 2nd Embodiment. 第2の実施形態の再生装置100の処理動作例を説明するための具体例を示す図である。It is a figure which shows the specific example for demonstrating the processing operation example of the reproducing | regenerating apparatus 100 of 2nd Embodiment. 本実施形態の再生装置100を構成するVideo Decoder43の内部構成例を示す図である。FIG. 3 is a diagram illustrating an internal configuration example of a Video Decoder 43 configuring the playback device 100 of the present embodiment. Video Decoder43の処理動作例を示す図である。It is a figure which shows the processing operation example of Video Decoder43.

<再生装置100の概要>
まず、図1、図4を参照しながら、本実施形態の再生装置100の概要について説明する。
<Outline of playback device 100>
First, an overview of the playback apparatus 100 of the present embodiment will be described with reference to FIGS. 1 and 4.

本実施形態の再生装置100は、図1に示すように、画像データを出力するための指定PTS(Presentation Time Stamp)を受け付けた場合に、当該指定PTSのデータを含む第1のGOP(Group of Picture)及び当該第1のGOPの1つ前の第2のGOPのデータを少なくとも取得する取得手段(ファイルリーダ2に相当)と、取得手段(2)で取得したデータを指定PTSのデータまでデコードし、指定PTSの画像データを出力する制御手段(Video Decoder43に該当)と、を有して構成する。これにより、本実施形態の再生装置100は、PTSを指定して、シーク、逆方向スロー、コマ戻し機能等の特殊再生を実現することができる。   As shown in FIG. 1, the playback apparatus 100 according to the present embodiment, when receiving a designated PTS (Presentation Time Stamp) for outputting image data, receives a first GOP (Group of) including data of the designated PTS. Picture) and acquisition means (corresponding to the file reader 2) that acquires at least the data of the second GOP immediately before the first GOP, and the data acquired by the acquisition means (2) is decoded to the data of the specified PTS And control means (corresponding to Video Decoder 43) for outputting the image data of the designated PTS. As a result, the playback apparatus 100 according to the present embodiment can implement special playback such as seek, reverse throw, and frame return function by specifying PTS.

また、本実施形態の再生装置100は、図4に示すように、デコード済のI(Intra-coded)ピクチャ及びP(Predictive-coded)ピクチャの画像データを格納するバッファ(内部バッファ438に相当)を有し、制御手段(43)は、バッファ(438)に格納されたデコード済のIピクチャ及びPピクチャの画像データを用いて、指定PTSの画像データを出力する。これにより、本実施形態の再生装置100は、バッファ(438)に格納されたデコード済のIピクチャ及びPピクチャの画像データを用いて、指定PTSの画像データを出力することになるため、指定PTSの画像データを出力するまでの処理時間を短くすることができる。以下、添付図面を参照しながら、本実施形態の再生装置100について詳細に説明する。   Further, as shown in FIG. 4, the playback apparatus 100 of the present embodiment is a buffer (corresponding to the internal buffer 438) that stores image data of decoded I (Intra-coded) pictures and P (Predictive-coded) pictures. The control means (43) outputs the image data of the designated PTS using the decoded I picture and P picture image data stored in the buffer (438). As a result, the playback apparatus 100 according to the present embodiment outputs the image data of the designated PTS using the decoded I picture and P picture image data stored in the buffer (438). The processing time until the image data is output can be shortened. Hereinafter, the playback apparatus 100 of the present embodiment will be described in detail with reference to the accompanying drawings.

(第1の実施形態)
<再生装置100の内部構成例>
まず、図1を参照しながら、本実施形態の再生装置100の内部構成例について説明する。
(First embodiment)
<Internal configuration example of playback device 100>
First, an example of the internal configuration of the playback apparatus 100 of this embodiment will be described with reference to FIG.

本実施形態の再生装置100は、メモリ1と、ファイルリーダ2と、Demux3と、Decoder4と、Video Render5と、Audio Render6と、ディスプレイ7と、スピーカ8と、を含んで構成している。   The playback device 100 of this embodiment includes a memory 1, a file reader 2, a Demux 3, a Decoder 4, a Video Render 5, an Audio Render 6, a display 7, and a speaker 8.

メモリ1は、各種情報を記憶するものであり、例えば、録画番組等のMPEGデータを格納する。   The memory 1 stores various information, and stores, for example, MPEG data such as a recorded program.

ファイルリーダ2は、MPEGデータを読み込む機能を行う。ファイルリーダ2は、ディスプレイ7に表示する画像データの指定PTSを受け付けた場合に、その指定PTSに応じたMPEGデータをメモリ1から読み取る。本実施形態のファイルリーダ2は、指定PTSを含むGOPの1つ前のGOPのMPEGデータから順にメモリ1から読み取る。ファイルリーダ2は、メモリ1から順に読み取ったMPEGデータを指定PTSと共にDemux3に出力する。   The file reader 2 performs a function of reading MPEG data. When the file reader 2 receives a designated PTS of image data to be displayed on the display 7, the file reader 2 reads MPEG data corresponding to the designated PTS from the memory 1. The file reader 2 of this embodiment reads from the memory 1 in order from the MPEG data of the GOP immediately before the GOP including the designated PTS. The file reader 2 outputs the MPEG data read sequentially from the memory 1 to the Demux 3 together with the designated PTS.

Demux3は、MPEGデータをVideo符号データ、Audio符号データに分離する機能を行う。Demux3は、ファイルリーダ2から受け付けたMPEGデータをVideo符号データとAudio符号データとに分離し、その分離したVideo符号データとAudio符号データと共に指定PTSをDecoder4に出力する。   Demux3 performs a function of separating MPEG data into Video code data and Audio code data. The Demux 3 separates the MPEG data received from the file reader 2 into Video code data and Audio code data, and outputs a designated PTS to the Decoder 4 together with the separated Video code data and Audio code data.

Decoder4は、MPEGデータを出力データに変換する機能を行う。Decoder4は、Buffer41,42を含んで構成し、Demux3から受け付けたVideo符号データとAudio符号データをBuffer41,42に格納する。Video Decoder43は、Demux3から受け付けた指定PTSを基に、Buffer41に格納したVideo符号データをデコードする。Audio Decoder44は、Demux3から受け付けた指定PTSを基に、Buffer42に格納したAudio符号データをデコードする。但し、Audio Decoder44は、状況に応じて、Audio符号データをデコードしなくても良い。   Decoder 4 performs a function of converting MPEG data into output data. Decoder 4 includes Buffers 41 and 42, and stores Video code data and Audio code data received from Demux 3 in Buffers 41 and 42, respectively. The Video Decoder 43 decodes the video code data stored in the Buffer 41 based on the designated PTS received from the Demux 3. The Audio Decoder 44 decodes the Audio code data stored in the Buffer 42 based on the designated PTS received from the Demux 3. However, the Audio Decoder 44 may not decode the Audio code data depending on the situation.

Video Render5は、画像データを出力する機能を行う。Video Render5は、Video Decoder43でデコードした画像データをディスプレイ7に出力し、ディスプレイ7上に画像データを表示する。   Video Render5 performs a function of outputting image data. The Video Render 5 outputs the image data decoded by the Video Decoder 43 to the display 7 and displays the image data on the display 7.

Audio Render6は、音声データを出力する機能を行う。Audio Render6は、Audio Decoder44でデコードした音声データをスピーカ8に出力し、スピーカ8から音声データを出力する。但し、Audio Render6は、状況に応じて、音声データを出力しなくても良い。   Audio Render 6 performs a function of outputting audio data. The Audio Render 6 outputs the audio data decoded by the Audio Decoder 44 to the speaker 8 and outputs the audio data from the speaker 8. However, Audio Render 6 may not output audio data depending on the situation.

<再生装置100の処理動作例>
次に、図2を参照しながら、本実施形態の再生装置100の処理動作例について説明する。以下の処理動作例は、シーク、逆方向スロー、コマ戻しを行う場合である。シーク、逆方向スロー、コマ戻しは、図2に示す以下の処理動作を繰り返すことで実現することができる。
<Example of processing operation of playback device 100>
Next, an example of the processing operation of the playback apparatus 100 of this embodiment will be described with reference to FIG. The following processing operation example is a case where seek, backward throw, and frame return are performed. Seek, reverse throw, and frame return can be realized by repeating the following processing operations shown in FIG.

本実施形態の再生装置100においてシーク、逆方向スロー、コマ戻しを開始する場合は、ユーザ操作により、シーク、逆方向スロー、コマ戻しの再生開始時にディスプレイ7に表示する画像データをPTS(Presentation Time Stamp)で指定する(ステップA1)。   In the playback device 100 of the present embodiment, when seek, backward slow, and frame return are started, image data to be displayed on the display 7 at the start of playback of seek, backward slow, and frame backward is specified by a user operation as PTS (Presentation Time (Step A1).

再生装置100は、ディスプレイ7に表示する画像データのPTSが指定された場合に(ステップA1/Yes)、ファイルリーダ2は、その指定PTSを基に、その指定PTSを含むGOPの1つ前のGOPのMPEGデータから順にメモリ1から読み取る。そして、メモリ1から順に読み取ったMPEGデータと共に指定PTSをDemux3に出力する。   When the PTS of the image data to be displayed on the display 7 is designated (Step A1 / Yes), the playback device 100 uses the designated PTS to make the file reader 2 the previous GOP including the designated PTS. Read from memory 1 in order from MPEG data of GOP. Then, the designated PTS is output to the Demux 3 together with the MPEG data read sequentially from the memory 1.

Demux3は、ファイルリーダ2からMPEGデータを受け付けた場合に、その受け付けたMPEGデータをVideo符号データとAudio符号データとに分離し、その分離したVideo符号データとAudio符号データと共に指定PTSをDecoder4に出力する。   Demux3, when receiving MPEG data from the file reader 2, separates the received MPEG data into Video code data and Audio code data, and outputs the specified PTS together with the separated Video code data and Audio code data to Decoder4 To do.

これにより、再生装置100は、PTSが指定された場合に(ステップA1/Yes)、その指定PTSを含むGOPの1つ前のGOPのMPEGデータ(Video符号データとAudio符号データ)から順にDecoder4に入力することができる(ステップA2)。   As a result, when the PTS is designated (step A1 / Yes), the playback apparatus 100 sequentially adds MPEG data (Video code data and Audio code data) of the GOP immediately preceding the GOP including the designated PTS to the Decoder 4 It can be entered (step A2).

Decoder4は、Demux3から受け付けたVideo符号データとAudio符号データをBuffer41,42に格納する。   Decoder 4 stores Video code data and Audio code data received from Demux 3 in Buffers 41 and 42.

Video Decoder43は、Demux3から受け付けた指定PTSを基に、Buffer41に格納したI,P,BピクチャのVideo符号データを指定PTSまでデコードする(ステップA3)。   The Video Decoder 43 decodes the video code data of the I, P, and B pictures stored in the Buffer 41 to the designated PTS based on the designated PTS received from the Demux 3 (Step A3).

また、Audio Decoder44は、Demux3から受け付けた指定PTSを基に、Buffer42に格納したAudio符号データをデコードする。但し、Audio Decoder44は、状況に応じて、Audio符号データをデコードしなくても良い。   The Audio Decoder 44 decodes the audio code data stored in the Buffer 42 based on the designated PTS received from the Demux 3. However, the Audio Decoder 44 may not decode the Audio code data depending on the situation.

Video Render5は、Decoder4でデコードした画像データをディスプレイ7に出力し、ディスプレイ7上に画像データを表示する。これにより、Video Render5は、指定PTSの画像データをディスプレイ7に表示することができる(ステップA4)。   Video Render 5 outputs the image data decoded by Decoder 4 to display 7 and displays the image data on display 7. Thereby, Video Render 5 can display the image data of the designated PTS on the display 7 (step A4).

また、Audio Render6は、Audio Decoder44でデコードした音声データをスピーカ8に出力し、スピーカ8から音声データを出力することになる。但し、Audio Render6は、状況に応じて、音声データを出力しなくても良い。   The Audio Render 6 outputs the audio data decoded by the Audio Decoder 44 to the speaker 8 and outputs the audio data from the speaker 8. However, Audio Render 6 may not output audio data depending on the situation.

<上記処理動作の具体例>
次に、図3を参照しながら、上述した図2に示す処理動作の具体例について説明する。以下の処理動作では、シーク、逆方向スロー、コマ戻しの再生を、『B24』から開始した場合について説明する。なお、本実施形態では、説明の簡略化のために、1GOP単位を、9フレームで構成しているが、通常は、1GOP単位を、MPEGに準拠したフレーム数で構成することになる。また、各ピクチャを示す記号(I,P,B)に付した数字は、各ピクチャを区分するためのものであり、Decoder4に入力する前のデータは、図3に示す『符号順』で示す順序で構成し、Decoder4でデコードした後のデータは、図3に示す『表示順』で示す順序で構成する。例えば、『GOP1』は、Decoder4に入力する前は、『I01→B02→B03→P04→B05→B06→P07→B08→B09』で構成しており、Decoder4でデコードした後は、『B02→B03→I01→B05→B06→P04→B08→B09→P07』で構成している。また、Decoder4で行うデコードは、MPEGに準拠した処理であるため、具体的な処理については割愛する。
<Specific example of the above processing operation>
Next, a specific example of the processing operation shown in FIG. 2 will be described with reference to FIG. In the following processing operation, a case where playback of seek, reverse direction slowdown and frame return is started from “B24” will be described. In this embodiment, for simplification of description, a 1 GOP unit is composed of 9 frames, but normally, a 1 GOP unit is composed of the number of frames conforming to MPEG. Also, the numbers given to the symbols (I, P, B) indicating each picture are for dividing each picture, and the data before being input to the Decoder 4 is indicated by “code order” shown in FIG. The data configured in the order and decoded by the Decoder 4 is configured in the order indicated by “display order” shown in FIG. For example, “GOP1” is composed of “I01 → B02 → B03 → P04 → B05 → B06 → P07 → B08 → B09” before being input to Decoder4. After decoding with Decoder4, “B02 → B03 → I01 → B05 → B06 → P04 → B08 → B09 → P07 ”. In addition, since the decoding performed by Decoder 4 is a process compliant with MPEG, specific processing is omitted.

再生装置100は、ユーザ操作により、シーク、逆方向スロー、コマ戻しの再生開始時にディスプレイ7に表示する『B24』のPTSが指定された場合は(ステップA1/Yes)、ファイルリーダ2は、その『B24』の指定PTSを基に、その『B24』の指定PTSを含むGOP3の1つ前のGOP2のMPEGデータから順にメモリ1から読み取る。そして、メモリ1から順に読み取ったMPEGデータと共に指定PTSをDemux3に出力する。   When the PTS of “B24” to be displayed on the display 7 at the start of playback of seek, reverse slow-down, and frame return is specified by the user operation (step A1 / Yes), the playback device 100 determines that the file reader 2 Based on the designated PTS of “B24”, the MPEG data of GOP2 immediately preceding GOP3 including the designated PTS of “B24” is read from the memory 1 in order. Then, the designated PTS is output to the Demux 3 together with the MPEG data read sequentially from the memory 1.

Demux3は、ファイルリーダ2からMPEGデータを受け付けた場合に、その受け付けたMPEGデータをVideo符号データとAudio符号データとに分離し、その分離したVideo符号データとAudio符号データと共に指定PTSをDecoder4に出力する。   Demux3, when receiving MPEG data from the file reader 2, separates the received MPEG data into Video code data and Audio code data, and outputs the specified PTS together with the separated Video code data and Audio code data to Decoder4 To do.

これにより、再生装置100は、『B24』のPTSが指定された場合に(ステップA1/Yes)、その『B24』の指定PTSを含むGOP3の1つ前のGOP2のMPEGデータ(Video符号データとAudio符号データ)から順にDecoder4に入力することができる(ステップA2)。   As a result, when the “B24” PTS is designated (step A1 / Yes), the playback device 100 allows the GOP2 MPEG data (Video code data and the video data immediately before GOP3 including the designated “B24” PTS to be included). Audio code data) can be input to Decoder 4 in order (step A2).

Decoder4は、Demux3から受け付けたVideo符号データとAudio符号データをBuffer41,42に格納する。Video Decoder43は、Demux3から受け付けた『B24』の指定PTSを基に、Buffer41に格納したI,P,BピクチャのVideo符号データをデコードする。この時、Video Decoder43は、2GOPの先頭のデータ(I10)からデコードし、指定PTSの『B24』のデータまで(I10〜B24のデータまで)デコードする(ステップA3)。   Decoder 4 stores Video code data and Audio code data received from Demux 3 in Buffers 41 and 42. The Video Decoder 43 decodes the video code data of the I, P, and B pictures stored in the Buffer 41 based on the designated PTS of “B24” received from the Demux 3. At this time, the Video Decoder 43 decodes from the head data (I10) of the 2GOP, and decodes up to “B24” data of the designated PTS (up to I10 to B24 data) (step A3).

これにより、Video Render5は、Video Decoder43でデコードした指定PTSの『B24』の画像データをディスプレイ7に表示することができる(ステップA4)。   Thereby, the Video Render 5 can display the image data of “B24” of the designated PTS decoded by the Video Decoder 43 on the display 7 (Step A4).

再生装置100は、上記の処理動作を繰り返すことで、シーク、逆方向スロー、コマ戻しの再生を実現することができる。   The playback device 100 can achieve seek, reverse slow, and frame reverse playback by repeating the above processing operations.

<本実施形態の再生装置100の作用・効果>
このように、本実施形態の再生装置100は、画像データを出力するための指定PTS(Presentation Time Stamp)を受け付けた場合に、当該指定PTSのデータを含む第1のGOP(Group of Picture)及び当該第1のGOPの1つ前の第2のGOPのデータを少なくとも取得する。そして、その取得したデータを指定PTSのデータまでデコードし、指定PTSの画像データを出力する。これにより、本実施形態の再生装置100は、PTSを指定して、シーク、逆方向スロー、コマ戻し機能等の特殊再生を実現することができる。
<Operation / Effect of Playback Device 100 of this Embodiment>
As described above, when receiving a designated PTS (Presentation Time Stamp) for outputting image data, the playback apparatus 100 according to the present embodiment receives a first GOP (Group of Picture) including data of the designated PTS and At least the data of the second GOP immediately before the first GOP is acquired. Then, the acquired data is decoded up to the data of the designated PTS, and the image data of the designated PTS is output. As a result, the playback apparatus 100 according to the present embodiment can implement special playback such as seek, reverse throw, and frame return function by specifying PTS.

(第2の実施形態)
次に、第2の実施形態について説明する。
(Second Embodiment)
Next, a second embodiment will be described.

第1の実施形態の再生装置100は、図2に示す処理動作を繰り返すことで、シーク、逆方向スロー、コマ戻しの再生を実現することにした。   The playback apparatus 100 according to the first embodiment repeats the processing operation illustrated in FIG. 2 to realize seek, reverse slow, and frame reverse playback.

しかし、図2に示す処理動作を繰り返すと、2GOPの先頭のデータから指定PTSのデータまでのデータを何度もデコードすることになるため、指定PTSの画像データをディスプレイ7に表示するまでの処理時間が長くなってしまう。   However, if the processing operation shown in FIG. 2 is repeated, the data from the top 2GOP data to the designated PTS data will be decoded many times, so the process until the designated PTS image data is displayed on the display 7 The time will be longer.

第2の実施形態の再生装置100は、図4に示すように、デコード済のI(Intra-coded)ピクチャ及びP(Predictive-coded)ピクチャの画像データを格納するバッファ438を設け、Video Decoder43は、バッファ438に格納されたデコード済のIピクチャ及びPピクチャの画像データを用いて、指定PTSの画像データを出力する。これにより、本実施形態の再生装置100は、バッファ438に格納されたデコード済のIピクチャ及びPピクチャの画像データを用いて、指定PTSの画像データを出力することになるため、指定PTSの画像データを出力するまでの処理時間を短くすることができる。以下、図4〜図8を参照しながら、第2の実施形態について説明する。   As shown in FIG. 4, the playback apparatus 100 according to the second embodiment includes a buffer 438 for storing image data of decoded I (Intra-coded) pictures and P (Predictive-coded) pictures. Using the decoded I picture and P picture image data stored in the buffer 438, the image data of the designated PTS is output. As a result, the playback device 100 according to the present embodiment outputs the image data of the designated PTS using the decoded I picture and P picture image data stored in the buffer 438, so that the image of the designated PTS is output. Processing time until data is output can be shortened. Hereinafter, the second embodiment will be described with reference to FIGS.

<再生装置100の内部構成例>
まず、図4を参照しながら、本実施形態の再生装置100の内部構成例について説明する。
<Internal configuration example of playback device 100>
First, an example of the internal configuration of the playback apparatus 100 of this embodiment will be described with reference to FIG.

本実施形態の再生装置100は、第1の実施形態と同様に、メモリ1と、ファイルリーダ2と、Demux3と、Decoder4と、Video Render5と、Audio Render6と、ディスプレイ7と、スピーカ8と、を含んで構成している。各部の機能は、第1の実施形態と同様であるため、具体的な説明は割愛する。   Similar to the first embodiment, the playback device 100 of the present embodiment includes a memory 1, a file reader 2, a Demux 3, a Decoder 4, a Video Render 5, an Audio Render 6, a display 7, and a speaker 8. Including. Since the function of each part is the same as in the first embodiment, a specific description is omitted.

なお、本実施形態のVideo Decoder43は、内部バッファ437,438を有しており、Video Decoder43でデコードした画像データを内部バッファ437,438に格納する。内部バッファ437,438は、Video Decoder43でデコードしたBピクチャの画像データを格納するBピクチャ専用の内部バッファ437と、Video Decoder43でデコードしたI,Pピクチャの画像データを格納するI,Pピクチャ専用の内部バッファ438と、を有している。I,Pピクチャ専用の内部バッファ438は、I,Pピクチャの画像データと、PTS値と、を対応付けて格納する。なお、内部バッファ437,438のデータ容量は、特に限定せず、任意のフレーム分を格納するように適宜設計することが可能である。但し、本発明を実現するためには、Bピクチャ専用の内部バッファ437は、少なくとも、1フレーム分の画像データが格納できるデータ容量で構成し、I,Pピクチャ専用の内部バッファ438は、少なくとも、2GOPに含まれるI,Pピクチャのフレーム分の画像データが格納できるデータ容量で構成することが好ましい。   Note that the Video Decoder 43 of this embodiment has internal buffers 437 and 438, and stores the image data decoded by the Video Decoder 43 in the internal buffers 437 and 438. The internal buffers 437 and 438 are an internal buffer 437 dedicated to the B picture that stores the image data of the B picture decoded by the Video Decoder 43, and an internal buffer dedicated to the I and P picture that stores the image data of the I and P pictures decoded by the Video Decoder 43. 438. The internal buffer 438 dedicated to I and P pictures stores I and P picture image data and PTS values in association with each other. The data capacity of the internal buffers 437 and 438 is not particularly limited, and can be appropriately designed to store an arbitrary frame. However, in order to implement the present invention, the internal buffer 437 dedicated to B pictures is configured with a data capacity capable of storing at least one frame of image data, and the internal buffer 438 dedicated to I and P pictures is at least It is preferable to configure with a data capacity capable of storing image data for I and P picture frames included in 2 GOP.

<再生装置100の第1の処理動作例>
次に、図5を参照しながら、本実施形態の再生装置100の第1の処理動作例について説明する。以下の第1の処理動作例は、通常再生を行った後に、コマ戻しを行う場合である。
<First Processing Operation Example of Playback Device 100>
Next, a first processing operation example of the playback apparatus 100 of the present embodiment will be described with reference to FIG. The following first processing operation example is a case where frame rewinding is performed after normal playback.

本実施形態の再生装置100において通常再生を行った場合は、通常再生時にVideo Decoder43でデコードした2GOP分のI,Pピクチャの画像データを、I,Pピクチャ専用の内部バッファ438に格納することになる。また、通常再生時にVideo Decoder43でデコードした1フレーム分のBピクチャの画像データを、Bピクチャ専用の内部バッファ437に格納することになる。   When normal playback is performed in the playback device 100 of the present embodiment, I / P picture data for 2 GOP decoded by the Video Decoder 43 during normal playback is stored in the internal buffer 438 dedicated to the I and P pictures. Become. Further, the B-picture image data for one frame decoded by the video decoder 43 during normal reproduction is stored in the internal buffer 437 dedicated to the B picture.

また、本実施形態の再生装置100において通常再生を行った後に、コマ戻しを開始する場合は、ユーザ操作により、コマ戻し開始時にディスプレイ7に表示する画像データをPTSで指定する(ステップB1)。   In addition, when frame return is started after normal playback is performed in the playback device 100 of the present embodiment, image data to be displayed on the display 7 at the start of frame return is designated by PTS by a user operation (step B1).

再生装置100は、PTSが指定された場合に(ステップB1/Yes)、ファイルリーダ2は、その指定PTSを基に、その指定PTSを含むGOPの1つ前のGOPのMPEGデータから順にメモリ1から読み取る。そして、メモリ1から順に読み取ったMPEGデータと共に指定PTSをDemux3に出力する。   When the PTS is designated (step B1 / Yes), the playback device 100, based on the designated PTS, the memory 1 in order from the MPEG data of the GOP immediately preceding the GOP including the designated PTS. Read from. Then, the designated PTS is output to the Demux 3 together with the MPEG data read sequentially from the memory 1.

Demux3は、ファイルリーダ2からMPEGデータを受け付けた場合に、その受け付けたMPEGデータをVideo符号データとAudio符号データとに分離し、その分離したVideo符号データとAudio符号データと共に指定PTSをDecoder4に出力する。   Demux3, when receiving MPEG data from the file reader 2, separates the received MPEG data into Video code data and Audio code data, and outputs the specified PTS together with the separated Video code data and Audio code data to Decoder4 To do.

これにより、再生装置100は、PTSが指定された場合に(ステップB1/Yes)、その指定PTSを含むGOPの1つ前のGOPのMPEGデータ(Video符号データとAudio符号データ)から順にDecoder4に入力することができる(ステップB2)。   As a result, when the PTS is designated (step B1 / Yes), the playback apparatus 100 sequentially adds MPEG data (Video code data and Audio code data) of the GOP immediately preceding the GOP including the designated PTS to the Decoder 4. It can be entered (step B2).

Decoder4は、Demux3から受け付けたVideo符号データとAudio符号データをBuffer41,42に格納する。   Decoder 4 stores Video code data and Audio code data received from Demux 3 in Buffers 41 and 42.

Video Decoder43は、Demux3から受け付けた指定PTSを基に、Buffer41に格納したI,P,BピクチャのVideo符号データをデコードする。この時、Video Decoder43は、I,Pピクチャ専用の内部バッファ438を参照し、その内部バッファ438に格納されていないI,PピクチャのVideo符号データのみを指定PTSまでデコードし、PTS値と関連付けて内部バッファ438に格納する。また、Video Decoder43は、指定PTSがBピクチャの場合は、I,Pピクチャ専用の内部バッファ438を参照し、内部バッファ438に格納済のI,Pピクチャを用いて、Bピクチャのデータもデコードし、Bピクチャ専用の内部バッファ437に格納する(ステップB3)。   The Video Decoder 43 decodes the video code data of the I, P, and B pictures stored in the Buffer 41 based on the designated PTS received from the Demux 3. At this time, the Video Decoder 43 refers to the internal buffer 438 dedicated to the I and P pictures, decodes only the video code data of the I and P pictures not stored in the internal buffer 438 to the specified PTS, and associates them with the PTS value. Store in the internal buffer 438. In addition, when the designated PTS is a B picture, the Video Decoder 43 refers to the internal buffer 438 dedicated to the I and P pictures and decodes the B picture data using the I and P pictures stored in the internal buffer 438. And stored in the internal buffer 437 dedicated to B pictures (step B3).

これにより、Video Decoder43は、コマ戻し開始時に内部バッファ438に格納済のI,PピクチャのVideo符号データについてはデコード処理を行わず、コマ戻し開始時に内部バッファ438に未格納のI,PピクチャのVideo符号データ、及び、コマ戻し開始時に指定した指定PTSのBピクチャのVideo符号データのみをデコードすることができる。なお、コマ戻し開始時に指定した指定PTSがI、Pピクチャの場合は、その指定PTSのI,Pピクチャが内部バッファ438に格納済である場合は、デコード処理を行わず、内部バッファ438に未格納である場合に、デコード処理を行うことになる。   As a result, the video decoder 43 does not decode the video code data of the I and P pictures stored in the internal buffer 438 at the start of frame return, and does not decode the I and P pictures stored in the internal buffer 438 at the start of frame return. Only the video code data and the video code data of the B picture of the designated PTS designated at the start of frame return can be decoded. If the designated PTS specified at the start of frame return is an I or P picture, if the I and P pictures of the designated PTS have already been stored in the internal buffer 438, the decoding process is not performed and the I and P pictures are not stored in the internal buffer 438. In the case of storage, decoding processing is performed.

なお、Audio Decoder44は、Demux3から受け付けた指定PTSを基に、Buffer42に格納したAudio符号データをデコードする。但し、Audio Decoder44は、状況に応じて、Audio符号データをデコードしなくても良い。   The Audio Decoder 44 decodes the Audio code data stored in the Buffer 42 based on the designated PTS received from the Demux 3. However, the Audio Decoder 44 may not decode the Audio code data depending on the situation.

Video Render5は、内部バッファ437,438に格納した画像データをディスプレイ7に出力し、ディスプレイ7上に画像データを表示する。これにより、Video Render5は、指定PTSの画像データをディスプレイ7に表示することができる(ステップB4)。   The Video Render 5 outputs the image data stored in the internal buffers 437 and 438 to the display 7 and displays the image data on the display 7. Thereby, Video Render 5 can display the image data of the designated PTS on the display 7 (step B4).

また、Audio Render6は、Audio Decoder44でデコードした音声データをスピーカ8に出力し、スピーカ8から音声データを出力することになる。但し、Audio Render6は、状況に応じて、音声データを出力しなくても良い。   The Audio Render 6 outputs the audio data decoded by the Audio Decoder 44 to the speaker 8 and outputs the audio data from the speaker 8. However, Audio Render 6 may not output audio data depending on the situation.

<第1の処理動作の具体例>
次に、図6を参照しながら、上述した第1の処理動作の具体例について説明する。以下の処理動作では、図6に示す『B24』まで通常再生し、その後、1コマ戻し、2コマ戻しを行った場合について説明する。
<Specific example of first processing operation>
Next, a specific example of the first processing operation described above will be described with reference to FIG. In the following processing operation, a case where normal reproduction is performed up to “B24” shown in FIG. 6 and then one frame return and two frame return are performed will be described.

本実施形態の再生装置100において、図6(a)に示す『B24』まで通常再生を行う場合は、GOP1,GOP2,GOP3の順で『B24』まで通常再生を行うことになる。このため、Video Decoder43は、GOP1の先頭からGOP3の『B24』まで(I01〜B24まで)デコードし、Video Render5は、Video Decoder43でデコードした『B24』をディスプレイ7に表示することになる。   In the playback apparatus 100 of this embodiment, when normal playback is performed up to “B24” shown in FIG. 6A, normal playback is performed up to “B24” in the order of GOP1, GOP2, and GOP3. Therefore, the video decoder 43 decodes from the beginning of GOP1 to “B24” of GOP3 (from I01 to B24), and the video renderer 5 displays “B24” decoded by the video decoder 43 on the display 7.

なお、Video Decoder43は、『B24』までデコードした2GOP分のI,Pピクチャのデータ(P07,I10,P13,P16,I19,P22)を、I,Pピクチャ専用の内部バッファ438に格納することになる。また、1フレーム分のBピクチャのデータ(B24)を、Bピクチャ専用の内部バッファ437に格納することになる。そして、Video Render5は、Bピクチャ専用の内部バッファ437に格納した『B24』をディスプレイ7に表示することになる。   The Video Decoder 43 stores I / P picture data (P07, I10, P13, P16, I19, P22) for 2 GOPs decoded to “B24” in the internal buffer 438 dedicated to the I and P pictures. Become. Further, the B picture data (B24) for one frame is stored in the internal buffer 437 dedicated to the B picture. Then, the Video Render 5 displays “B24” stored in the internal buffer 437 dedicated to the B picture on the display 7.

また、本実施形態の再生装置100において図6(a)に示す通常再生を行った後に、図6(b)に示す1コマ戻しを行う場合は、ユーザ操作により、1コマ戻し開始時にディスプレイ7に表示する画像データ(B23)をPTSで指定する(ステップB1)。   In addition, when the normal playback shown in FIG. 6 (a) is performed in the playback apparatus 100 of the present embodiment and the single frame return shown in FIG. The image data (B23) to be displayed on is designated by PTS (step B1).

再生装置100は、『B23』のPTSが指定された場合に(ステップB1/Yes)、ファイルリーダ2は、その『B23』の指定PTSを基に、その『B23』の指定PTSを含むGOP3の1つ前のGOP2のMPEGデータから順にメモリ1から読み取る。そして、メモリ1から順に読み取ったMPEGデータと共に指定PTSをDemux3に出力する。   When the PTS of “B23” is designated (step B1 / Yes), the playback device 100 uses the GOP3 including the designated PTS of “B23” based on the designated PTS of “B23”. Read from the memory 1 in order from the previous GOP2 MPEG data. Then, the designated PTS is output to the Demux 3 together with the MPEG data read sequentially from the memory 1.

Demux3は、ファイルリーダ2からMPEGデータを受け付けた場合に、その受け付けたMPEGデータをVideo符号データとAudio符号データとに分離し、その分離したVideo符号データとAudio符号データと共に指定PTSをDecoder4に出力する。   Demux3, when receiving MPEG data from the file reader 2, separates the received MPEG data into Video code data and Audio code data, and outputs the specified PTS together with the separated Video code data and Audio code data to Decoder4 To do.

これにより、再生装置100は、『B23』のPTSが指定された場合に(ステップB1/Yes)、その『B23』の指定PTSを含むGOP3の1つ前のGOP2のMPEGデータ(Video符号データとAudio符号データ)から順にDecoder4に入力することができる(ステップB2)。   As a result, when the “B23” PTS is designated (step B1 / Yes), the playback device 100 allows the GOP2 MPEG data (Video code data and the video data immediately before GOP3 including the designated “B23” PTS to be included). Audio code data) can be input to Decoder 4 in order (step B2).

Decoder4は、Demux3から受け付けたVideo符号データとAudio符号データをBuffer41,42に格納する。   Decoder 4 stores Video code data and Audio code data received from Demux 3 in Buffers 41 and 42.

Video Decoder43は、Demux3から受け付けた『B23』の指定PTSを基に、Buffer41に格納したI,P,BピクチャのVideo符号データをデコードする。この時、Video Decoder43は、I,Pピクチャ専用の内部バッファ438を参照し、その内部バッファ438に格納されていないGOP2,GOP3に含まれるI,PピクチャのVideo符号データのみを『B23』の指定PTSまでデコードし、PTS値と関連付けて内部バッファ438に格納する。しかし、『B23』の指定PTSまでのI,Pピクチャ(I10,P13,P16,I19,P22)は、既に内部バッファ438に格納済であるため、I,PピクチャのVideo符号データのデコード処理は行わないことになる。   The Video Decoder 43 decodes the video code data of the I, P, and B pictures stored in the Buffer 41 based on the designated PTS “B23” received from the Demux 3. At this time, the video decoder 43 refers to the internal buffer 438 dedicated to the I and P pictures, and designates only the video code data of the I and P pictures included in the GOP2 and GOP3 that are not stored in the internal buffer 438 by specifying “B23”. The PTS is decoded and stored in the internal buffer 438 in association with the PTS value. However, since the I and P pictures (I10, P13, P16, I19, and P22) up to the designated PTS of “B23” are already stored in the internal buffer 438, the decoding process of the video code data of the I and P pictures is not I will not do it.

また、指定PTSが『B23』のBピクチャであるため、Video Decoder43は、内部バッファ438に格納済のI19,P22を参照し、『B23』のVideo符号データをデコードし、そのデコードした『B23』のデータをBピクチャ専用の内部バッファ347に格納する(ステップB3)。   Since the designated PTS is a B picture of “B23”, the Video Decoder 43 refers to I19 and P22 stored in the internal buffer 438, decodes the video code data of “B23”, and decodes the decoded “B23” Are stored in an internal buffer 347 dedicated to B pictures (step B3).

これにより、Video Decoder43は、1コマ戻し開始時に内部バッファ438に格納済のI,PピクチャのVideo符号データ(I10,P13,P16,I19,P22)についてはデコード処理を行わず、1コマ戻し開始時に指定した指定PTSの『B23』のBピクチャのVideo符号データのみをデコードすることができる。   As a result, the video decoder 43 does not perform the decoding process on the video code data (I10, P13, P16, I19, P22) of the I and P pictures stored in the internal buffer 438 at the start of returning one frame, and starts returning one frame. Only the video code data of the B picture of “B23” of the designated PTS designated at the time can be decoded.

そして、Video Render5は、Video Decoder43でデコードした指定PTSの『B23』の画像データをディスプレイ7に表示することができる(ステップB4)。   The Video Render 5 can display the image data of “B23” of the designated PTS decoded by the Video Decoder 43 on the display 7 (Step B4).

なお、図6(c)に示す2コマ戻しを行う場合は、ユーザ操作により、2コマ戻し開始時にディスプレイ7に表示する画像データ(B21)をPTSで指定する(ステップB1)。   When performing the two-frame return shown in FIG. 6C, the image data (B21) to be displayed on the display 7 at the start of the two-frame return is designated by the PTS by the user operation (step B1).

再生装置100は、『B21』のPTSが指定された場合に(ステップB1/Yes)、ファイルリーダ2は、その『B21』の指定PTSを基に、その『B21』の指定PTSを含むGOP3の1つ前のGOP2のMPEGデータから順にメモリ1から読み取る。そして、メモリ1から順に読み取ったMPEGデータと共に指定PTSをDemux3に出力する。   When the PTS of “B21” is designated (step B1 / Yes), the playback device 100 uses the GOP3 including the designated PTS of “B21” based on the designated PTS of “B21”. Read from the memory 1 in order from the previous GOP2 MPEG data. Then, the designated PTS is output to the Demux 3 together with the MPEG data read sequentially from the memory 1.

Demux3は、ファイルリーダ2からMPEGデータを受け付けた場合に、その受け付けたMPEGデータをVideo符号データとAudio符号データとに分離し、その分離したVideo符号データとAudio符号データと共に指定PTSをDecoder4に出力する。   Demux3, when receiving MPEG data from the file reader 2, separates the received MPEG data into Video code data and Audio code data, and outputs the specified PTS together with the separated Video code data and Audio code data to Decoder4 To do.

これにより、再生装置100は、『B21』のPTSが指定された場合に(ステップB1/Yes)、その『B21』の指定PTSを含むGOP3の1つ前のGOP2のMPEGデータ(Video符号データとAudio符号データ)から順にDecoder4に入力することができる(ステップB2)。   As a result, when the “B21” PTS is designated (step B1 / Yes), the playback device 100 allows the GOP2 MPEG data immediately before GOP3 including the designated “B21” PTS (Video code data and Audio code data) can be input to Decoder 4 in order (step B2).

Decoder4は、Demux3から受け付けたVideo符号データとAudio符号データをBuffer41,42に格納する。   Decoder 4 stores Video code data and Audio code data received from Demux 3 in Buffers 41 and 42.

Video Decoder43は、Demux3から受け付けた『B21』の指定PTSを基に、Buffer41に格納したI,P,BピクチャのVideo符号データをデコードする。この時、Video Decoder43は、I,Pピクチャ専用の内部バッファ438を参照し、その内部バッファ438に格納されていないGOP2,GOP3に含まれるI,PピクチャのVideo符号データのみを『B21』の指定PTSまでデコードし、PTS値と関連付けて内部バッファ438に格納する。しかし、『B21』の指定PTSまでのI,Pピクチャ(I10,P13,P16,I19)は、既に内部バッファ438に格納済であるため、I,PピクチャのVideo符号データのデコード処理は行わないことになる。   The Video Decoder 43 decodes the video code data of the I, P, and B pictures stored in the Buffer 41 based on the designated PTS “B21” received from the Demux 3. At this time, the Video Decoder 43 refers to the internal buffer 438 dedicated to the I and P pictures, and designates only the video code data of the I and P pictures included in the GOP2 and GOP3 that are not stored in the internal buffer 438 as “B21”. The PTS is decoded and stored in the internal buffer 438 in association with the PTS value. However, since the I and P pictures (I10, P13, P16, and I19) up to the designated PTS of “B21” have already been stored in the internal buffer 438, the video code data of the I and P pictures is not decoded. It will be.

また、指定PTSが『B21』のBピクチャであるため、Video Decoder43は、内部バッファ438に格納済のP16,I19を参照し、『B21』のVideo符号データをデコードし、そのデコードした『B21』のデータをBピクチャ専用の内部バッファ347に格納する(ステップB3)。   Since the designated PTS is a B picture of “B21”, the Video Decoder 43 refers to P16 and I19 stored in the internal buffer 438, decodes the video code data of “B21”, and decodes the decoded “B21”. Are stored in an internal buffer 347 dedicated to B pictures (step B3).

これにより、Video Decoder43は、2コマ戻し開始時に内部バッファ438に格納済のI,PピクチャのVideo符号データ(I10,P13,P16,I19)についてはデコード処理を行わず、2コマ戻し開始時に指定した指定PTSの『B21』のBピクチャのVideo符号データのみをデコードすることができる。   As a result, the Video Decoder 43 does not decode the I / P picture video code data (I10, P13, P16, I19) stored in the internal buffer 438 at the start of the two-frame return, and is designated at the start of the two-frame return. Only the video code data of the B picture of “B21” of the designated PTS can be decoded.

そして、Video Render5は、Video Decoder43でデコードした指定PTSの『B21』の画像データをディスプレイ7に表示することができる(ステップB4)。   The Video Render 5 can display the image data of “B21” of the designated PTS decoded by the Video Decoder 43 on the display 7 (Step B4).

これにより、本実施形態の再生装置100は、通常再生を行った後に、コマ戻しを開始するための指定PTSを受け付けた場合は、通常再生時に内部バッファ438に格納したデコード済のI,Pピクチャの画像データを用いてコマ戻し再生を行うことができる。このため、コマ戻し開始時に指定された指定PTSの画像データを出力するまでの処理時間を短くすることができる。   As a result, the playback device 100 according to the present embodiment, when performing normal playback and receiving a designated PTS for starting frame rewinding, has decoded I and P pictures stored in the internal buffer 438 during normal playback. Frame-by-frame playback can be performed using this image data. For this reason, it is possible to shorten the processing time until the image data of the designated PTS designated at the start of frame return is output.

<再生装置100の第2の処理動作例>
次に、図5を参照しながら、本実施形態の再生装置100の第2の処理動作例について説明する。以下の第2の処理動作例は、シーク再生を行った後に、逆スロー再生を行う場合である。
<Second Processing Operation Example of Playback Device 100>
Next, a second processing operation example of the playback apparatus 100 of this embodiment will be described with reference to FIG. The following second processing operation example is a case where reverse slow playback is performed after seek playback is performed.

本実施形態の再生装置100においてシーク再生を行う場合は、ユーザ操作により、シーク再生時にディスプレイ7に表示する画像データをPTSで指定する(ステップB1)。   When seek playback is performed in the playback apparatus 100 of the present embodiment, image data to be displayed on the display 7 at the time of seek playback is specified by PTS by a user operation (step B1).

再生装置100は、PTSが指定された場合に(ステップB1/Yes)、ファイルリーダ2は、その指定PTSを基に、その指定PTSを含むGOPの1つ前のGOPのMPEGデータから順にメモリ1から読み取る。そして、メモリ1から順に読み取ったMPEGデータと共に指定PTSをDemux3に出力する。   When the PTS is designated (step B1 / Yes), the playback device 100, based on the designated PTS, the memory 1 in order from the MPEG data of the GOP immediately preceding the GOP including the designated PTS. Read from. Then, the designated PTS is output to the Demux 3 together with the MPEG data read sequentially from the memory 1.

Demux3は、ファイルリーダ2からMPEGデータを受け付けた場合に、その受け付けたMPEGデータをVideo符号データとAudio符号データとに分離し、その分離したVideo符号データとAudio符号データと共に指定PTSをDecoder4に出力する。   Demux3, when receiving MPEG data from the file reader 2, separates the received MPEG data into Video code data and Audio code data, and outputs the specified PTS together with the separated Video code data and Audio code data to Decoder4 To do.

これにより、再生装置100は、PTSが指定された場合に(ステップB1/Yes)、その指定PTSを含むGOPの1つ前のGOPのMPEGデータ(Video符号データとAudio符号データ)から順にDecoder4に入力することができる(ステップB2)。   As a result, when the PTS is designated (step B1 / Yes), the playback apparatus 100 sequentially adds MPEG data (Video code data and Audio code data) of the GOP immediately preceding the GOP including the designated PTS to the Decoder 4. It can be entered (step B2).

Decoder4は、Demux3から受け付けたVideo符号データとAudio符号データをBuffer41,42に格納する。   Decoder 4 stores Video code data and Audio code data received from Demux 3 in Buffers 41 and 42.

Video Decoder43は、Demux3から受け付けた指定PTSを基に、Buffer41に格納したI,P,BピクチャのVideo符号データをデコードする。この時、Video Decoder43は、I,Pピクチャ専用の内部バッファ438を参照し、その内部バッファ438に格納されていないI,PピクチャのVideo符号データのみを指定PTSまでデコードし、PTS値と関連付けて内部バッファ438に格納する。また、Video Decoder43は、指定PTSがBピクチャの場合は、I,Pピクチャ専用の内部バッファ438を参照し、そのBピクチャのデータもデコードし、Bピクチャ専用の内部バッファ437に格納する(ステップB3)。   The Video Decoder 43 decodes the video code data of the I, P, and B pictures stored in the Buffer 41 based on the designated PTS received from the Demux 3. At this time, the Video Decoder 43 refers to the internal buffer 438 dedicated to the I and P pictures, decodes only the video code data of the I and P pictures not stored in the internal buffer 438 to the specified PTS, and associates them with the PTS value. Store in the internal buffer 438. In addition, when the designated PTS is a B picture, the Video Decoder 43 refers to the internal buffer 438 dedicated to I and P pictures, decodes the data of the B picture, and stores it in the internal buffer 437 dedicated to the B picture (step B3 ).

これにより、Video Decoder43は、シーク再生開始時に内部バッファ438に未格納のI,PピクチャのVideo符号データ、及び、シーク再生開始時に指定した指定PTSのBピクチャのVideo符号データのみをデコードすることができる。なお、シーク再生開始時に指定した指定PTSがI、Pピクチャの場合は、その指定PTSのI,Pピクチャが内部バッファ438に格納済である場合は、デコード処理を行わず、内部バッファ438に未格納である場合に、デコード処理を行うことになる。   As a result, the Video Decoder 43 can decode only the video code data of the I and P pictures that are not stored in the internal buffer 438 at the start of seek playback, and the video code data of the B picture of the designated PTS specified at the start of seek playback. it can. If the specified PTS specified at the start of seek playback is an I or P picture, if the I and P pictures of the specified PTS are already stored in the internal buffer 438, the decoding process is not performed and the I and P pictures are not stored in the internal buffer 438. In the case of storage, decoding processing is performed.

なお、Audio Decoder44は、Demux3から受け付けた指定PTSを基に、Buffer42に格納したAudio符号データをデコードする。但し、Audio Decoder44は、状況に応じて、Audio符号データをデコードしなくても良い。   The Audio Decoder 44 decodes the Audio code data stored in the Buffer 42 based on the designated PTS received from the Demux 3. However, the Audio Decoder 44 may not decode the Audio code data depending on the situation.

Video Render5は、内部バッファ437,438に格納した画像データをディスプレイ7に出力し、ディスプレイ7上に画像データを表示する。これにより、Video Render5は、指定PTSの画像データをディスプレイ7に表示することができる(ステップB4)。   The Video Render 5 outputs the image data stored in the internal buffers 437 and 438 to the display 7 and displays the image data on the display 7. Thereby, Video Render 5 can display the image data of the designated PTS on the display 7 (step B4).

また、Audio Render6は、Audio Decoder44でデコードした音声データをスピーカ8に出力し、スピーカ8から音声データを出力することになる。但し、Audio Render6は、状況に応じて、音声データを出力しなくても良い。   The Audio Render 6 outputs the audio data decoded by the Audio Decoder 44 to the speaker 8 and outputs the audio data from the speaker 8. However, Audio Render 6 may not output audio data depending on the situation.

なお、本実施形態の再生装置100においてシーク再生を行った後に、逆スロー再生を行う場合は、ユーザ操作により、逆スロー再生開始時にディスプレイ7に表示する画像データをPTSで指定する(ステップB1)。   In addition, when performing reverse slow playback after performing seek playback in the playback device 100 of the present embodiment, image data to be displayed on the display 7 at the start of reverse slow playback is specified by PTS by a user operation (step B1). .

再生装置100は、PTSが指定された場合に(ステップB1/Yes)、ファイルリーダ2は、その指定PTSを基に、その指定PTSを含むGOPの1つ前のGOPのMPEGデータから順にメモリ1から読み取る。そして、メモリ1から順に読み取ったMPEGデータと共に指定PTSをDemux3に出力する。   When the PTS is designated (step B1 / Yes), the playback device 100, based on the designated PTS, the memory 1 in order from the MPEG data of the GOP immediately preceding the GOP including the designated PTS. Read from. Then, the designated PTS is output to the Demux 3 together with the MPEG data read sequentially from the memory 1.

Demux3は、ファイルリーダ2からMPEGデータを受け付けた場合に、その受け付けたMPEGデータをVideo符号データとAudio符号データとに分離し、その分離したVideo符号データとAudio符号データと共に指定PTSをDecoder4に出力する。   Demux3, when receiving MPEG data from the file reader 2, separates the received MPEG data into Video code data and Audio code data, and outputs the specified PTS together with the separated Video code data and Audio code data to Decoder4 To do.

これにより、再生装置100は、PTSが指定された場合に(ステップB1/Yes)、その指定PTSを含むGOPの1つ前のGOPのMPEGデータ(Video符号データとAudio符号データ)から順にDecoder4に入力することができる(ステップB2)。   As a result, when the PTS is designated (step B1 / Yes), the playback apparatus 100 sequentially adds MPEG data (Video code data and Audio code data) of the GOP immediately preceding the GOP including the designated PTS to the Decoder 4. It can be entered (step B2).

Decoder4は、Demux3から受け付けたVideo符号データとAudio符号データをBuffer41,42に格納する。   Decoder 4 stores Video code data and Audio code data received from Demux 3 in Buffers 41 and 42.

Video Decoder43は、Demux3から受け付けた指定PTSを基に、Buffer41に格納したI,P,BピクチャのVideo符号データをデコードする。この時、Video Decoder43は、I,Pピクチャ専用の内部バッファ438を参照し、その内部バッファ438に格納されていないI,PピクチャのVideo符号データのみを指定PTSまでデコードし、PTS値と関連付けて内部バッファ438に格納する。また、Video Decoder43は、指定PTSがBピクチャの場合は、I,Pピクチャ専用の内部バッファ438を参照し、そのBピクチャのデータもデコードし、Bピクチャ専用の内部バッファ437に格納する(ステップB3)。   The Video Decoder 43 decodes the video code data of the I, P, and B pictures stored in the Buffer 41 based on the designated PTS received from the Demux 3. At this time, the Video Decoder 43 refers to the internal buffer 438 dedicated to the I and P pictures, decodes only the video code data of the I and P pictures not stored in the internal buffer 438 to the specified PTS, and associates them with the PTS value. Store in the internal buffer 438. In addition, when the designated PTS is a B picture, the Video Decoder 43 refers to the internal buffer 438 dedicated to I and P pictures, decodes the data of the B picture, and stores it in the internal buffer 437 dedicated to the B picture (step B3 ).

これにより、Video Decoder43は、逆スロー再生開始時に内部バッファ438に未格納のI,PピクチャのVideo符号データ、及び、逆スロー再生開始時に指定した指定PTSのBピクチャのVideo符号データのみをデコードすることができる。なお、逆スロー再生開始時に指定した指定PTSがI、Pピクチャの場合は、その指定PTSのI,Pピクチャが内部バッファ438に格納済である場合は、デコード処理を行わず、内部バッファ438に未格納である場合に、デコード処理を行うことになる。   As a result, the video decoder 43 decodes only the video code data of the I and P pictures that are not stored in the internal buffer 438 at the start of reverse slow play, and the video code data of the B picture of the designated PTS specified at the start of reverse slow play. be able to. If the designated PTS specified at the start of reverse slow playback is I or P picture, if the I and P pictures of the designated PTS are already stored in the internal buffer 438, the decoding process is not performed and the internal buffer 438 When the data is not stored, the decoding process is performed.

なお、Audio Decoder44は、Demux3から受け付けた指定PTSを基に、Buffer42に格納したAudio符号データをデコードする。但し、Audio Decoder44は、状況に応じて、Audio符号データをデコードしなくても良い。   The Audio Decoder 44 decodes the Audio code data stored in the Buffer 42 based on the designated PTS received from the Demux 3. However, the Audio Decoder 44 may not decode the Audio code data depending on the situation.

Video Render5は、内部バッファ437,438に格納した画像データをディスプレイ7に出力し、ディスプレイ7上に画像データを表示する。これにより、Video Render5は、指定PTSの画像データをディスプレイ7に表示することができる(ステップB4)。   The Video Render 5 outputs the image data stored in the internal buffers 437 and 438 to the display 7 and displays the image data on the display 7. Thereby, Video Render 5 can display the image data of the designated PTS on the display 7 (step B4).

また、Audio Render6は、Audio Decoder44でデコードした音声データをスピーカ8に出力し、スピーカ8から音声データを出力することになる。但し、Audio Render6は、状況に応じて、音声データを出力しなくても良い。   The Audio Render 6 outputs the audio data decoded by the Audio Decoder 44 to the speaker 8 and outputs the audio data from the speaker 8. However, Audio Render 6 may not output audio data depending on the situation.

<第2の処理動作の具体例>
次に、図7、図8を参照しながら、上述した第2の処理動作の具体例について説明する。以下の処理動作では、図7に示す『B24』でシーク再生を開始し、その後、逆スロー再生を行った場合について説明する。
<Specific Example of Second Processing Operation>
Next, a specific example of the above-described second processing operation will be described with reference to FIGS. In the following processing operation, a case where seek reproduction is started at “B24” shown in FIG. 7 and then reverse slow reproduction is performed will be described.

本実施形態の再生装置100において、図7(a)に示すように、『B24』でシーク再生を開始する場合は、ユーザ操作により、シーク再生開始時にディスプレイ7に表示する画像データ(B24)をPTSで指定する(ステップB1)。   In the playback apparatus 100 of the present embodiment, as shown in FIG. 7A, when the seek playback is started at “B24”, the image data (B24) to be displayed on the display 7 when the seek playback is started by the user operation. Specify with PTS (step B1).

再生装置100は、『B24』のPTSが指定された場合に(ステップB1/Yes)、ファイルリーダ2は、その『B24』の指定PTSを基に、その『B24』の指定PTSを含むGOP3の1つ前のGOP2のMPEGデータから順にメモリ1から読み取る。そして、メモリ1から順に読み取ったMPEGデータと共に指定PTSをDemux3に出力する。   When the PTS of “B24” is designated (step B1 / Yes), the playback device 100 uses the GOP3 including the designated PTS of “B24” based on the designated PTS of “B24”. Read from the memory 1 in order from the previous GOP2 MPEG data. Then, the designated PTS is output to the Demux 3 together with the MPEG data read sequentially from the memory 1.

Demux3は、ファイルリーダ2からMPEGデータを受け付けた場合に、その受け付けたMPEGデータをVideo符号データとAudio符号データとに分離し、その分離したVideo符号データとAudio符号データと共に指定PTSをDecoder4に出力する。   Demux3, when receiving MPEG data from the file reader 2, separates the received MPEG data into Video code data and Audio code data, and outputs the specified PTS together with the separated Video code data and Audio code data to Decoder4 To do.

これにより、再生装置100は、『B24』のPTSが指定された場合に(ステップB1/Yes)、その『B24』の指定PTSを含むGOP3の1つ前のGOP2のMPEGデータ(Video符号データとAudio符号データ)から順にDecoder4に入力することができる(ステップB2)。   As a result, when the “B24” PTS is designated (step B1 / Yes), the playback device 100 allows the GOP2 MPEG data (Video code data and the video data immediately before GOP3 including the designated “B24” PTS to be included). Audio code data) can be input to Decoder 4 in order (step B2).

Decoder4は、Demux3から受け付けたVideo符号データとAudio符号データをBuffer41,42に格納する。   Decoder 4 stores Video code data and Audio code data received from Demux 3 in Buffers 41 and 42.

Video Decoder43は、Demux3から受け付けた『B24』の指定PTSを基に、Buffer41に格納したI,P,BピクチャのVideo符号データを『B24』の指定PTSまでデコードする。この時、Video Decoder43は、I,Pピクチャ専用の内部バッファ438を参照し、その内部バッファ438に格納されていないGOP2,GOP3に含まれるI,PピクチャのVideo符号データのみを『B24』の指定PTSまでデコードし、PTS値と関連付けて内部バッファ438に格納する。   The video decoder 43 decodes the video code data of the I, P, and B pictures stored in the buffer 41 up to the designated PTS of “B24” based on the designated PTS of “B24” received from the Demux 3. At this time, the Video Decoder 43 refers to the internal buffer 438 dedicated to the I and P pictures, and designates only the video code data of the I and P pictures included in the GOP2 and GOP3 that are not stored in the internal buffer 438 as “B24”. The PTS is decoded and stored in the internal buffer 438 in association with the PTS value.

図7(a)に示すシーク再生開始時の内部バッファ438には、何のデータも格納されていないため、Video Decoder43は、『B24』の指定PTSまでのI,Pピクチャ(I10,P13,P16,I19,P22)をデコードして、内部バッファ438に格納する。また、指定PTSが『B24』のBピクチャであるため、Video Decoder43は、内部バッファ438に格納したI19,P22を参照し、『B24』のVideo符号データをデコードし、そのデコードした『B24』のデータをBピクチャ専用の内部バッファ347に格納する(ステップB3)。   Since no data is stored in the internal buffer 438 at the start of seek reproduction shown in FIG. 7A, the Video Decoder 43 performs I, P pictures (I10, P13, P16) up to the designated PTS of “B24”. , I19, P22) are decoded and stored in the internal buffer 438. Since the designated PTS is a B picture of “B24”, the Video Decoder 43 refers to I19 and P22 stored in the internal buffer 438, decodes the video code data of “B24”, and decodes the decoded “B24” Data is stored in an internal buffer 347 dedicated to B pictures (step B3).

これにより、Video Decoder43は、シーク再生開始時に内部バッファ438に未格納のI,PピクチャのVideo符号データ(I10,P13,P16,I19,P22)、及び、シーク再生開始時に指定した指定PTSの『B24』のBピクチャのVideo符号データのみをデコードすることができる。   As a result, the video decoder 43 receives the I / P picture video code data (I10, P13, P16, I19, P22) that is not stored in the internal buffer 438 at the start of seek playback, and the specified PTS specified at the start of seek playback. Only the video code data of the B picture of B24 can be decoded.

そして、Video Render5は、Video Decoder43でデコードした指定PTSの『B24』の画像データをディスプレイ7に表示することができる(ステップB4)。   The Video Render 5 can display the image data of “B24” of the designated PTS decoded by the Video Decoder 43 on the display 7 (Step B4).

なお、本実施形態の再生装置100において図7(a)に示す『B24』でシーク再生を開始した後に、図7(b)に示す逆スロー再生を開始する場合は、ユーザ操作により、逆スロー再生開始時にディスプレイ7に表示する画像データ(B23)をPTSで指定する(ステップB1)。   In addition, in the playback apparatus 100 of the present embodiment, when the reverse slow playback shown in FIG. 7B is started after the seek playback is started at “B24” shown in FIG. The image data (B23) to be displayed on the display 7 at the start of reproduction is designated by PTS (step B1).

再生装置100は、『B23』のPTSが指定された場合に(ステップB1/Yes)、その『B23』の指定PTSを含むGOP3の1つ前のGOP2のデータから順にDecoder4に入力する(ステップB2)。   When the PTS of “B23” is designated (step B1 / Yes), the playback device 100 inputs the data from GOP2 immediately before GOP3 including the designated PTS of “B23” to Decoder 4 in order (step B2). ).

Decoder4は、入力されたGOPのI,PピクチャのVideo符号データを『B23』の指定PTSまでデコードする。この時、Video Decoder43は、I,Pピクチャ専用の内部バッファ438を参照し、その内部バッファ438に格納されていないGOP2,GOP3に含まれるI,PピクチャのVideo符号データのみを『B23』の指定PTSまでデコードし、PTS値と関連付けて内部バッファ438に格納する。しかし、『B23』の指定PTSまでのI,Pピクチャ(I10,P13,P16,I19,P22)は、既に内部バッファ438に格納済であるため、I,PピクチャのVideo符号データのデコード処理は行わないことになる。   Decoder 4 decodes the video code data of the input GOP I and P pictures up to the designated PTS of “B23”. At this time, the video decoder 43 refers to the internal buffer 438 dedicated to the I and P pictures, and designates only the video code data of the I and P pictures included in the GOP2 and GOP3 that are not stored in the internal buffer 438 by specifying “B23”. The PTS is decoded and stored in the internal buffer 438 in association with the PTS value. However, since the I and P pictures (I10, P13, P16, I19, and P22) up to the designated PTS of “B23” are already stored in the internal buffer 438, the decoding process of the video code data of the I and P pictures is not I will not do it.

また、指定PTSが『B23』のBピクチャであるため、Video Decoder43は、内部バッファ438に格納済のI19,P22を参照し、『B23』のVideo符号データをデコードし、そのデコードした『B23』のデータをBピクチャ専用の内部バッファ347に格納する(ステップB3)。   Since the designated PTS is a B picture of “B23”, the Video Decoder 43 refers to I19 and P22 stored in the internal buffer 438, decodes the video code data of “B23”, and decodes the decoded “B23” Are stored in an internal buffer 347 dedicated to B pictures (step B3).

そして、Video Render5は、Video Decoder43でデコードした指定PTSの『B23』の画像データをディスプレイ7に表示することになる(ステップB4)。   Then, the Video Render 5 displays the image data “B23” of the designated PTS decoded by the Video Decoder 43 on the display 7 (Step B4).

次に、再生装置100は、図7(c)に示す『I19』のPTSが指定された場合に(ステップB1/Yes)、その『I19』の指定PTSを含むGOP3の1つ前のGOP2のデータから順にDecoder4に入力する(ステップB2)。   Next, when the “I19” PTS shown in FIG. 7C is designated (step B1 / Yes), the playback device 100 sets the GOP2 immediately preceding GOP3 including the designated “I19” PTS. Data is input to Decoder 4 in order (step B2).

Decoder4は、入力されたGOPのI,PピクチャのVideo符号データを『I19』の指定PTSまでデコードする。この時、Video Decoder43は、I,Pピクチャ専用の内部バッファ438を参照し、その内部バッファ438に格納されていないGOP2,GOP3に含まれるI,PピクチャのVideo符号データのみを『I19』の指定PTSまでデコードし、PTS値と関連付けて内部バッファ438に格納する。しかし、『I19』の指定PTSまでのI,Pピクチャ(I10,P13,P16,I19)は、既に内部バッファ438に格納済であるため、I,PピクチャのVideo符号データのデコード処理は行わないことになる。   Decoder 4 decodes the video code data of the input GOP I and P pictures up to the designated PTS of “I19”. At this time, the video decoder 43 refers to the internal buffer 438 dedicated to the I and P pictures, and designates only the video code data of the I and P pictures included in the GOP2 and GOP3 that are not stored in the internal buffer 438 by specifying “I19”. The PTS is decoded and stored in the internal buffer 438 in association with the PTS value. However, since the I and P pictures (I10, P13, P16, and I19) up to the designated PTS of “I19” are already stored in the internal buffer 438, the video code data of the I and P pictures is not decoded. It will be.

また、指定PTSの『I19』のIピクチャは、既に内部バッファ438に格納済であるため、指定PTSの『I19』ピクチャのVideo符号データのデコード処理は行わないことになる。そして、Video Render5は、内部バッファ438に格納済の指定PTSの『I19』の画像データをディスプレイ7に表示することになる(ステップB4)。   Also, since the I picture of “I19” of the designated PTS has already been stored in the internal buffer 438, the decoding process of the video code data of the “I19” picture of the designated PTS is not performed. Then, Video Render5 displays the image data of “I19” of the designated PTS stored in the internal buffer 438 on the display 7 (step B4).

次に、再生装置100は、図8(d)に示す『B21』のPTSが指定された場合に(ステップB1/Yes)、その『B21』の指定PTSを含むGOP3の1つ前のGOP2のデータから順にDecoder4に入力する(ステップB2)。   Next, when the “B21” PTS shown in FIG. 8D is designated (step B1 / Yes), the playback device 100 sets the GOP2 immediately preceding GOP3 including the designated PTS of “B21”. Data is input to Decoder 4 in order (step B2).

Decoder4は、入力されたGOPのI,PピクチャのVideo符号データを『B21』の指定PTSまでデコードする。この時、Video Decoder43は、I,Pピクチャ専用の内部バッファ438を参照し、その内部バッファ438に格納されていないGOP2,GOP3に含まれるI,PピクチャのVideo符号データのみを『B21』の指定PTSまでデコードし、PTS値と関連付けて内部バッファ438に格納する。しかし、『B21』の指定PTSまでのI,Pピクチャ(I10,P13,P16,I19)は、既に内部バッファ438に格納済であるため、I,PピクチャのVideo符号データのデコード処理は行わないことになる。   Decoder 4 decodes the video code data of the input GOP I and P pictures up to the designated PTS of “B21”. At this time, the Video Decoder 43 refers to the internal buffer 438 dedicated to the I and P pictures, and designates only the video code data of the I and P pictures included in the GOP2 and GOP3 that are not stored in the internal buffer 438 as “B21”. The PTS is decoded and stored in the internal buffer 438 in association with the PTS value. However, since the I and P pictures (I10, P13, P16, and I19) up to the designated PTS of “B21” have already been stored in the internal buffer 438, the video code data of the I and P pictures is not decoded. It will be.

また、指定PTSが『B21』のBピクチャであるため、Video Decoder43は、内部バッファ438に格納済のP16,I19を参照し、『B21』のVideo符号データをデコードし、そのデコードした『B21』のデータをBピクチャ専用の内部バッファ347に格納する(ステップB3)。   Since the designated PTS is a B picture of “B21”, the Video Decoder 43 refers to P16 and I19 stored in the internal buffer 438, decodes the video code data of “B21”, and decodes the decoded “B21”. Are stored in an internal buffer 347 dedicated to B pictures (step B3).

そして、Video Render5は、Video Decoder43でデコードした指定PTSの『B21』の画像データをディスプレイ7に表示することになる(ステップB4)。   Then, the Video Render 5 displays the image data “B21” of the designated PTS decoded by the Video Decoder 43 on the display 7 (Step B4).

次に、再生装置100は、図8(e)に示す『B20』のPTSが指定された場合に(ステップB1/Yes)、その『B20』の指定PTSを含むGOP3の1つ前のGOP2のデータから順にDecoder4に入力する(ステップB2)。   Next, when the PTS of “B20” shown in FIG. 8E is designated (step B1 / Yes), the playback device 100 sets the GOP2 immediately preceding GOP3 including the designated PTS of “B20”. Data is input to Decoder 4 in order (step B2).

Decoder4は、入力されたGOPのI,PピクチャのVideo符号データを『B20』の指定PTSまでデコードする。この時、Video Decoder43は、I,Pピクチャ専用の内部バッファ438を参照し、その内部バッファ438に格納されていないGOP2,GOP3に含まれるI,PピクチャのVideo符号データのみを『B20』の指定PTSまでデコードし、PTS値と関連付けて内部バッファ438に格納する。しかし、『B20』の指定PTSまでのI,Pピクチャ(I10,P13,P16,I19)は、既に内部バッファ438に格納済であるため、I,PピクチャのVideo符号データのデコード処理は行わないことになる。   Decoder 4 decodes the video code data of the input GOP I and P pictures up to the designated PTS of “B20”. At this time, the video decoder 43 refers to the internal buffer 438 dedicated to the I and P pictures, and designates only the video code data of the I and P pictures included in the GOP2 and GOP3 that are not stored in the internal buffer 438 as “B20”. The PTS is decoded and stored in the internal buffer 438 in association with the PTS value. However, since the I and P pictures (I10, P13, P16, and I19) up to the designated PTS of “B20” are already stored in the internal buffer 438, the decoding process of the video code data of the I and P pictures is not performed. It will be.

また、指定PTSが『B20』のBピクチャであるため、Video Decoder43は、内部バッファ438に格納済のP16,I19を参照し、『B20』のVideo符号データをデコードし、そのデコードした『B20』のデータをBピクチャ専用の内部バッファ347に格納する(ステップB3)。   Since the designated PTS is a B picture of “B20”, the Video Decoder 43 refers to P16 and I19 stored in the internal buffer 438, decodes the video code data of “B20”, and decodes the decoded “B20”. Are stored in an internal buffer 347 dedicated to B pictures (step B3).

そして、Video Render5は、Video Decoder43でデコードした指定PTSの『B20』の画像データをディスプレイ7に表示することになる(ステップB4)。   Then, the Video Render 5 displays the image data of “B20” of the designated PTS decoded by the Video Decoder 43 on the display 7 (Step B4).

次に、再生装置100は、図8(f)に示す『P16』のPTSが指定された場合に(ステップB1/Yes)、その『P16』の指定PTSを含むGOP2の1つ前のGOP1のデータから順にDecoder4に入力する(ステップB2)。   Next, when the “P16” PTS shown in FIG. 8F is designated (step B1 / Yes), the playback device 100 determines the GOP1 immediately before GOP2 including the designated “P16” PTS. Data is input to Decoder 4 in order (step B2).

Decoder4は、入力されたGOPのI,PピクチャのVideo符号データを『P16』の指定PTSまでデコードする。この時、Video Decoder43は、I,Pピクチャ専用の内部バッファ438を参照し、その内部バッファ438に格納されていないGOP1,GOP2に含まれるI,PピクチャのVideo符号データのみを『P16』の指定PTSまでデコードし、PTS値と関連付けて内部バッファ438に格納する。この場合、GOP1に含まれるI01,P04,P07のピクチャは、内部バッファ438に未格納であるため、I01,P04,P07のピクチャのデコード処理を行い、内部バッファ438に格納することになる。しかし、それ以降の指定PTSの『P16』までのI,Pピクチャ(I10,P13,P16)は、既に内部バッファ438に格納済であるため、I,PピクチャのVideo符号データのデコード処理は行わないことになる。   Decoder 4 decodes the video code data of the input GOP I and P pictures up to the designated PTS of “P16”. At this time, the video decoder 43 refers to the internal buffer 438 dedicated to the I and P pictures, and designates only the video code data of the I and P pictures included in the GOP1 and GOP2 not stored in the internal buffer 438 as “P16”. The PTS is decoded and stored in the internal buffer 438 in association with the PTS value. In this case, since the pictures I01, P04, and P07 included in GOP1 are not stored in the internal buffer 438, the pictures I01, P04, and P07 are decoded and stored in the internal buffer 438. However, since the I and P pictures (I10, P13, and P16) up to “P16” of the designated PTS after that are already stored in the internal buffer 438, the decoding process of the video code data of the I and P pictures is performed. There will be no.

また、指定PTSの『P16』のPピクチャは、既に内部バッファ438に格納済であるため、指定PTSの『P16』のピクチャのVideo符号データのデコード処理は行わないことになる。そして、Video Render5は、内部バッファ438に格納済の指定PTSの『P16』の画像データをディスプレイ7に表示することになる(ステップB4)。   Further, since the P picture of “P16” of the designated PTS has already been stored in the internal buffer 438, the decoding process of the video code data of the picture of “P16” of the designated PTS is not performed. Then, the Video Render 5 displays the image data of “P16” of the designated PTS stored in the internal buffer 438 on the display 7 (step B4).

次に、再生装置100は、図8(g)に示す『B18』のPTSが指定された場合に(ステップB1/Yes)、その『B18』の指定PTSを含むGOP2の1つ前のGOP1のデータから順にDecoder4に入力する(ステップB2)。   Next, when the “B18” PTS shown in FIG. 8G is designated (step B1 / Yes), the playback device 100 determines the GOP1 immediately before GOP2 including the designated “B18” PTS. Data is input to Decoder 4 in order (step B2).

Decoder4は、入力されたGOPのI,PピクチャのVideo符号データを『B18』の指定PTSまでデコードする。この時、Video Decoder43は、I,Pピクチャ専用の内部バッファ438を参照し、その内部バッファ438に格納されていないGOP1,GOP2に含まれるI,PピクチャのVideo符号データのみを『B18』の指定PTSまでデコードし、PTS値と関連付けて内部バッファ438に格納する。しかし、『B18』の指定PTSまでのI,Pピクチャ(I01,P04,P07,I10,P13,P16)は、既に内部バッファ438に格納済であるため、I,PピクチャのVideo符号データのデコード処理は行わないことになる。   Decoder 4 decodes the video code data of the input GOP I and P pictures up to the designated PTS of “B18”. At this time, the video decoder 43 refers to the internal buffer 438 dedicated to the I and P pictures, and designates only the video code data of the I and P pictures included in the GOP1 and GOP2 not stored in the internal buffer 438 as “B18”. The PTS is decoded and stored in the internal buffer 438 in association with the PTS value. However, since the I and P pictures (I01, P04, P07, I10, P13, and P16) up to the designated PTS of “B18” are already stored in the internal buffer 438, decoding of the video code data of the I and P pictures No processing will be performed.

また、指定PTSが『B18』のBピクチャであるため、Video Decoder43は、内部バッファ438に格納済のP13,P16を参照し、『B18』のVideo符号データをデコードし、そのデコードした『B18』のデータをBピクチャ専用の内部バッファ347に格納する(ステップB3)。   Also, since the designated PTS is a B picture of “B18”, the Video Decoder 43 refers to P13 and P16 stored in the internal buffer 438, decodes the video code data of “B18”, and decodes the decoded “B18” Are stored in an internal buffer 347 dedicated to B pictures (step B3).

そして、Video Render5は、Video Decoder43でデコードした指定PTSの『B18』の画像データをディスプレイ7に表示することになる(ステップB4)。   Then, the Video Render 5 displays the image data “B18” of the designated PTS decoded by the Video Decoder 43 on the display 7 (Step B4).

これにより、本実施形態の再生装置100は、シーク再生を行った後に、逆スロー再生を開始するための指定PTSを受け付けた場合は、シーク再生時に内部バッファ438に格納したデコード済のI,Pピクチャのデータを用いて逆スロー再生を行うことができる。このため、逆スロー再生開始時に指定された指定PTSの画像データを出力するまでの処理時間を短くすることができる。   As a result, when the playback device 100 of the present embodiment receives a designated PTS for starting reverse slow playback after performing seek playback, the decoded I, P stored in the internal buffer 438 during seek playback is received. Reverse slow playback can be performed using picture data. For this reason, it is possible to shorten the processing time until the image data of the designated PTS designated at the start of reverse slow playback is output.

<Video Decoder43の内部構成例>
次に、図9を参照しながら、本実施形態の特徴部分であるVideo Decoder43の内部構成例について説明する。なお、以下の説明では、PTS指定時の機能動作についてのみ説明する。
<Internal configuration example of Video Decoder 43>
Next, an internal configuration example of the Video Decoder 43, which is a characteristic part of the present embodiment, will be described with reference to FIG. In the following description, only the functional operation when PTS is specified will be described.

本実施形態のVideo Decoder43は、第1のPTSチェック部431と、第2のPTSチェック部432と、デコード処理部433と、フレームメモリ処理部434と、第3のPTSチェック部435と、を有して構成する。   The video decoder 43 of the present embodiment includes a first PTS check unit 431, a second PTS check unit 432, a decode processing unit 433, a frame memory processing unit 434, and a third PTS check unit 435. And configure.

デコード処理部433は、動き補償処理部436を有して構成する。動き補償処理部436で行う動き補償は、MPEGに準拠した公知の動き補償を行う。   The decoding processing unit 433 includes a motion compensation processing unit 436. Motion compensation performed by the motion compensation processing unit 436 performs well-known motion compensation based on MPEG.

フレームメモリ処理部434は、内部バッファ437,438を有して構成する。内部バッファ437,438は、Bピクチャ専用の内部バッファ437と、I,Pピクチャ専用の内部バッファ438と、がある。Bピクチャ専用の内部バッファ437は、指定PTSのBピクチャのデータを格納するバッファであり、1フレーム分のデータが格納できる領域で構成する。I,Pピクチャ専用の内部バッファ438は、デコード処理部433でデコードされたI,Pピクチャのデータを格納するバッファであり、2GOPに含まれるI,Pピクチャのフレーム分のデータが格納できる領域で構成する。I,Pピクチャ専用の内部バッファ438は、PTS値と、I,Pピクチャのデータと、を関連付けて格納する。なお、内部バッファ437,438の領域は、特に限定せず、任意のフレーム分のデータを格納するように適宜設計することが可能である。但し、本発明を実現するためには、Bピクチャ専用の内部バッファ437は、少なくとも、1フレーム分のデータが格納できる領域で構成し、I,Pピクチャ専用の内部バッファ438は、少なくとも、2GOPに含まれるI,Pピクチャのフレーム分のデータが格納できる領域で構成することが好ましい。   The frame memory processing unit 434 includes internal buffers 437 and 438. The internal buffers 437 and 438 include an internal buffer 437 dedicated to B pictures and an internal buffer 438 dedicated to I and P pictures. The B buffer dedicated internal buffer 437 is a buffer for storing B picture data of a specified PTS, and is configured with an area in which data for one frame can be stored. The internal buffer 438 dedicated to the I and P pictures is a buffer for storing data of the I and P pictures decoded by the decoding processing unit 433, and is an area in which data for the frames of the I and P pictures included in the 2GOP can be stored. Constitute. The internal buffer 438 dedicated to I and P pictures stores the PTS value and I and P picture data in association with each other. The areas of the internal buffers 437 and 438 are not particularly limited, and can be appropriately designed to store data for an arbitrary frame. However, in order to realize the present invention, the internal buffer 437 dedicated to B pictures is configured with an area capable of storing at least one frame of data, and the internal buffer 438 dedicated to I and P pictures is at least 2 GOPs. It is preferable to configure an area that can store data for the included I and P picture frames.

第1のPTSチェック部431は、Buffer41に格納したVideo符号データを受け付けた場合に、Demux3から受け付けた指定PTSを基に、第1のPTSチェックを行う。   When receiving the video code data stored in Buffer 41, the first PTS check unit 431 performs the first PTS check based on the designated PTS received from the Demux 3.

第1のPTSチェック部431は、指定PTSまで、I,Pピクチャのデータのみを第2のPTSチェック部432に出力し、Bピクチャのデータは、第1のPTSチェック部431で破棄し、第2のPTSチェック部432に出力しないように制御する。また、第1のPTSチェック部431は、指定PTSがBピクチャのデータの場合は、そのBピクチャのデータを第2のPTSチェック部432に出力し、指定PTS以降のデータは、第1のPTSチェック部431で破棄し、第2のPTSチェック部432に出力しないように制御する。但し、指定PTS以降のデータの中に、I,Pピクチャのデータがあった場合は、そのI,Pピクチャのデータを第2のPTSチェック部432に出力するように制御する。これにより、第1のPTSチェック部431は、全てのI,Pピクチャのデータ、及び、指定PTSのBピクチャのデータを第2のPTSチェック部432に出力することができる。   The first PTS check unit 431 outputs only the I and P picture data to the second PTS check unit 432 until the designated PTS, and the B picture data is discarded by the first PTS check unit 431. 2 is controlled so as not to be output to the PTS check unit 432 in FIG. Also, when the designated PTS is B picture data, the first PTS check unit 431 outputs the B picture data to the second PTS check unit 432, and the data after the designated PTS is the first PTS. Control is performed so that the data is discarded by the check unit 431 and not output to the second PTS check unit 432. However, if there is I or P picture data in the data after the designated PTS, control is performed so that the I and P picture data is output to the second PTS check unit 432. Accordingly, the first PTS check unit 431 can output all the I and P picture data and the B picture data of the designated PTS to the second PTS check unit 432.

第2のPTSチェック部432は、第1のPTSチェック部431からデータを受け付けた場合に、Demux3から受け付けた指定PTSを基に、第2のPTSチェックを行う。   When the second PTS check unit 432 receives data from the first PTS check unit 431, the second PTS check unit 432 performs a second PTS check based on the designated PTS received from the Demux 3.

第2のPTSチェック部432は、第1のPTSチェック部431から受け付けたデータが指定PTSのBピクチャのデータの場合は、その受け付けた指定PTSのBピクチャのデータをデコード処理部433に出力するように制御する。また、第2のPTSチェック部432は、第1のPTSチェック部431から受け付けたデータがI,Pピクチャのデータの場合は、フレームメモリ処理部434内のI,Pピクチャ専用の内部バッファ438に格納されているI,PピクチャのPTS値と比較し、PTS値が一致する場合は、第1のPTSチェック部431から受け付けたI,Pピクチャのデータを第2のPTSチェック部432で破棄し、デコード処理部433に出力しないように制御する。また、PTS値が一致しない場合は、第1のPTSチェック部431から受け付けたI,Pピクチャのデータをデコード処理部433に出力するように制御する。これにより、第2のPTSチェック部432は、指定PTSのBピクチャのデータ、及び、I,Pピクチャ専用の内部バッファ438に未格納のI,Pピクチャのデータをデコード処理部433に出力することができる。   If the data received from first PTS check unit 431 is B picture data of the designated PTS, second PTS check unit 432 outputs the accepted B picture data of the designated PTS to decode processing unit 433. To control. In addition, when the data received from the first PTS check unit 431 is I / P picture data, the second PTS check unit 432 stores the I / P picture dedicated internal buffer 438 in the frame memory processing unit 434. When the PTS values match when compared with the stored PTS values of the I and P pictures, the I and P picture data received from the first PTS check unit 431 is discarded by the second PTS check unit 432 Then, control is performed so as not to output to the decoding processing unit 433. If the PTS values do not match, control is performed so that the I and P picture data received from the first PTS check unit 431 is output to the decode processing unit 433. As a result, the second PTS check unit 432 outputs the B picture data of the designated PTS and the I and P picture data not stored in the internal buffer 438 dedicated to the I and P pictures to the decode processing unit 433. Can do.

デコード処理部433は、第2のPTSチェック部432からデータを受け付けた場合に、可変長復号、逆量子化、逆DCT等の公知のデコード処理を行う。デコード処理部433は、第2のPTSチェック部432から受け付けたデータがP、Bピクチャのデータの場合は、フレームメモリ処理部434内のI,Pピクチャ専用の内部バッファ438に格納されているI,Pピクチャを参照し、動き補償部436で公知の動き補償を行う。デコード処理部433は、デコード後のデータをフレームメモリ処理部434に出力する。   When receiving data from the second PTS check unit 432, the decoding processing unit 433 performs known decoding processing such as variable length decoding, inverse quantization, and inverse DCT. When the data received from the second PTS check unit 432 is P or B picture data, the decoding processing unit 433 stores the I stored in the internal buffer 438 dedicated to I and P pictures in the frame memory processing unit 434. , P motion picture is referred to, and motion compensation unit 436 performs known motion compensation. The decode processing unit 433 outputs the decoded data to the frame memory processing unit 434.

フレームメモリ処理部434は、デコード処理部433からデータを受け付けた場合に、その受け付けたデータがBピクチャのデータの場合は、Bピクチャ専用の内部バッファ437に格納する。また、I,Pピクチャのデータの場合は、I,Pピクチャ専用の内部バッファ438にPTS値と関連付けて格納する。なお、フレームメモリ処理部434は、I,Pピクチャ専用の内部バッファ438に空き領域があれば、その空き領域にI,Pピクチャのデータを格納し、空き領域がなければ、Demux3から受け付けた指定PTSを基に、指定PTSより大きいPTS値の領域をクリアにし、新たに受け付けたI,Pピクチャのデータを格納する。それでも空き領域がなければ、一番小さいPTS値の領域をクリアにし、新たに受け付けたI,Pピクチャのデータを格納する。   When the frame memory processing unit 434 receives data from the decoding processing unit 433 and the received data is B picture data, the frame memory processing unit 434 stores the data in the internal buffer 437 dedicated to the B picture. Further, in the case of I, P picture data, it is stored in the internal buffer 438 dedicated to the I, P picture in association with the PTS value. The frame memory processing unit 434 stores the data of the I and P pictures in the free area if the internal buffer 438 dedicated to the I and P pictures has a free area. Based on the PTS, the area of the PTS value larger than the designated PTS is cleared, and the newly received I and P picture data is stored. If there is still no free area, the area with the smallest PTS value is cleared and the newly received I and P picture data is stored.

第3のPTSチェック部435は、Demux3から受け付けた指定PTSを基に、その指定PTSのデータをフレームメモリ処理部434内の内部バッファ437,438から読み出し、その読み出したデータをVideo Render5に出力する。   The third PTS check unit 435 reads the data of the designated PTS from the internal buffers 437 and 438 in the frame memory processing unit 434 based on the designated PTS received from the Demux 3, and outputs the read data to the Video Render 5.

<Video Decoder43の処理動作例>
次に、図10を参照しながら、本実施形態の特徴部分であるVideo Decoder43の処理動作例について説明する。なお、以下の処理動作は、指定PTSを受け付けた場合の処理動作である。
<Example of processing operation of Video Decoder 43>
Next, a processing operation example of the Video Decoder 43, which is a characteristic part of the present embodiment, will be described with reference to FIG. The following processing operations are processing operations when a designated PTS is received.

まず、第1のPTSチェック部431は、Demux3から受け付けた指定PTSがBピクチャか否かを判定する(ステップS10)。   First, the first PTS check unit 431 determines whether or not the designated PTS received from the Demux 3 is a B picture (step S10).

Demux3から受け付けた指定PTSがBピクチャの場合は(ステップS10/Yes)、GOPに含まれる指定PTSのBピクチャ及び全てのI,Pピクチャをデコード対象にする(ステップS11)。   When the designated PTS received from the Demux 3 is a B picture (step S10 / Yes), the B picture and all I and P pictures of the designated PTS included in the GOP are set as decoding targets (step S11).

また、Demux3から受け付けた指定PTSがI,Pピクチャの場合は(ステップS10/No)、GOPに含まれる全てのI,Pピクチャをデコード対象にする(ステップS12)。   If the designated PTS received from Demux3 is an I or P picture (step S10 / No), all the I and P pictures included in the GOP are to be decoded (step S12).

第2のPTSチェック部432は、フレームメモリ処理部434内のI,Pピクチャ専用の内部バッファ438を参照し、内部バッファ438に未格納のデータのみをデコード処理部433に出力し、デコード処理部433でデコードする(ステップS13)。   The second PTS check unit 432 refers to the internal buffer 438 dedicated to I and P pictures in the frame memory processing unit 434, and outputs only data not stored in the internal buffer 438 to the decoding processing unit 433. Decoding is performed at 433 (step S13).

フレームメモリ処理部434は、デコード処理部433でデコードしたデータを内部バッファ437,438に格納する(ステップS14)。具体的には、デコード処理部433でデコードしたデータがBピクチャの場合は、Bピクチャ専用の内部バッファ437に格納し、デコード処理部433でデコードしたデータがI,Pピクチャの場合は、I,Pピクチャ専用の内部バッファ438にPTS値と関連付けて格納する。   The frame memory processing unit 434 stores the data decoded by the decoding processing unit 433 in the internal buffers 437 and 438 (step S14). Specifically, when the data decoded by the decoding processing unit 433 is a B picture, it is stored in the internal buffer 437 dedicated to the B picture, and when the data decoded by the decoding processing unit 433 is an I, P picture, I, The data is stored in the internal buffer 438 dedicated to P pictures in association with the PTS value.

第3のPTSチェック部433は、Demux3から受け付けた指定PTSを基に、フレームメモリ処理部434の内部バッファ437,438を参照し、指定PTSに該当するデータをVideo Render5に出力する(ステップS15)。これにより、Video Render5は、Decoder4でデコードした指定PTSの画像データをディスプレイ7に表示することができる。   The third PTS check unit 433 refers to the internal buffers 437 and 438 of the frame memory processing unit 434 based on the designated PTS received from the Demux 3, and outputs data corresponding to the designated PTS to the Video Render 5 (step S15). Thereby, the Video Render 5 can display the image data of the designated PTS decoded by the Decoder 4 on the display 7.

<本実施形態の再生装置100の作用・効果>
このように、本実施形態の再生装置100は、内部バッファ348に含まれるデコード済のI,Pピクチャの画像データを用いて、指定PTSの画像データを出力する。これにより、本実施形態の再生装置100は、指定PTSの画像データを出力するまでの処理時間を短くすることができる。
<Operation / Effect of Playback Device 100 of this Embodiment>
As described above, the playback apparatus 100 according to the present embodiment outputs the image data of the designated PTS using the decoded image data of the I and P pictures included in the internal buffer 348. As a result, the playback apparatus 100 of the present embodiment can shorten the processing time until the designated PTS image data is output.

なお、上述する実施形態は、本発明の好適な実施形態であり、上記実施形態のみに本発明の範囲を限定するものではなく、本発明の要旨を逸脱しない範囲において種々の変更を施した形態での実施が可能である。   The above-described embodiment is a preferred embodiment of the present invention, and the scope of the present invention is not limited to the above-described embodiment alone, and various modifications are made without departing from the gist of the present invention. Implementation is possible.

例えば、上述した本実施形態の再生装置100は、図1、図4に示すように、ファイルリーダ2と、Demux3と、を有し、メモリ1からMPEGデータを読み出す機能(ファイルリーダ2の機能)と、そのMPEGデータを分離する機能(Demux3の機能)と、を区分して構成することにした。しかし、ファイルリーダ2の機能と、Demux3の機能と、を1つの機能として統合するように構築することも可能である。   For example, the playback apparatus 100 of the present embodiment described above has a file reader 2 and a Demux 3 as shown in FIGS. 1 and 4, and a function of reading MPEG data from the memory 1 (function of the file reader 2). And the function to separate the MPEG data (Demux3 function). However, the file reader 2 function and the Demux 3 function can be integrated as one function.

また、上述した本実施形態における再生装置100を構成する各装置における制御動作は、ハードウェア、または、ソフトウェア、あるいは、両者の複合構成を用いて実行することも可能である。   Further, the control operation in each device constituting the playback device 100 in the present embodiment described above can be executed using hardware, software, or a combined configuration of both.

なお、ソフトウェアを用いて処理を実行する場合には、処理シーケンスを記録したプログラムを、専用のハードウェアに組み込まれているコンピュータ内のメモリにインストールして実行させることが可能である。あるいは、各種処理が実行可能な汎用コンピュータにプログラムをインストールして実行させることが可能である。   In the case of executing processing using software, it is possible to install and execute a program in which a processing sequence is recorded in a memory in a computer incorporated in dedicated hardware. Alternatively, the program can be installed and executed on a general-purpose computer capable of executing various processes.

例えば、プログラムは、記録媒体としてのハードディスクやROM(Read Only Memory)に予め記録しておくことが可能である。あるいは、プログラムは、リムーバブル記録媒体に、一時的、あるいは、永続的に格納(記録)しておくことが可能である。このようなリムーバブル記録媒体は、いわゆるパッケージソフトウエアとして提供することが可能である。なお、リムーバブル記録媒体としては、フロッピー(登録商標)ディスク、CD-ROM(Compact Disc Read Only Memory)、MO(Magneto optical)ディスク、DVD(Digital Versatile Disc)、磁気ディスク、半導体メモリなどが挙げられる。   For example, the program can be recorded in advance on a hard disk or ROM (Read Only Memory) as a recording medium. Alternatively, the program can be stored (recorded) temporarily or permanently in a removable recording medium. Such a removable recording medium can be provided as so-called package software. The removable recording medium includes a floppy (registered trademark) disk, a CD-ROM (Compact Disc Read Only Memory), an MO (Magneto optical) disk, a DVD (Digital Versatile Disc), a magnetic disk, a semiconductor memory, and the like.

なお、プログラムは、上述したようなリムーバブル記録媒体からコンピュータにインストールすることになる。また、ダウンロードサイトから、コンピュータに無線転送することになる。また、ネットワークを介して、コンピュータに有線で転送することになる。   The program is installed in the computer from the removable recording medium as described above. In addition, it is wirelessly transferred from the download site to the computer. In addition, it is transferred to the computer via a network by wire.

また、本実施形態における再生装置100は、上記実施形態で説明した処理動作に従って時系列的に実行されるのみならず、処理を実行する装置の処理能力、あるいは、必要に応じて並列的にあるいは個別に実行するように構築することも可能である。   Further, the playback device 100 in the present embodiment is not only executed in time series according to the processing operation described in the above embodiment, but also the processing capability of the device that executes the processing, or in parallel as necessary It can also be constructed to run individually.

本発明は、MPEG規格の符号を再生する技術に適用可能である。   The present invention is applicable to a technique for reproducing an MPEG standard code.

100 再生装置
1 メモリ
2 ファイルリーダ(取得手段)
3 Demux
4 Decoder(制御手段)
41、42 Buffer
43 Video Decoder
431 第1のPTSチェック部
432 第2のPTSチェック部
433 デコード処理部
434 フレームメモリ処理部
435 第3のPTSチェック部
436 動き補償処理部
437 Bピクチャ専用の内部バッファ
438 I,Pピクチャ専用の内部バッファ
44 Audio Decoder
5 Video Render
6 Audio Render
7 ディスプレイ
8 スピーカ
100 playback device 1 memory 2 file reader (acquisition means)
3 Demux
4 Decoder (control means)
41, 42 Buffer
43 Video Decoder
431 First PTS check unit 432 Second PTS check unit 433 Decode processing unit 434 Frame memory processing unit 435 Third PTS check unit 436 Motion compensation processing unit 437 Internal buffer dedicated to B picture 438 Internal dedicated to I and P picture Buffer 44 Audio Decoder
5 Video Render
6 Audio Render
7 Display 8 Speaker

Claims (8)

画像データを出力するための指定PTS(Presentation Time Stamp)を受け付けた場合に、当該指定PTSのデータを含む第1のGOP(Group of Picture)及び当該第1のGOPの1つ前の第2のGOPのデータを少なくとも取得する取得手段と、
前記取得手段で取得したデータを前記指定PTSのデータまでデコードし、前記指定PTSの画像データを出力する制御手段と、
を有することを特徴とする再生装置。
When a designated PTS (Presentation Time Stamp) for outputting image data is received, a first GOP (Group of Picture) including the data of the designated PTS and a second immediately before the first GOP An acquisition means for acquiring at least GOP data;
Control means for decoding the data acquired by the acquisition means up to the data of the designated PTS, and outputting the image data of the designated PTS;
A playback apparatus comprising:
デコード済のI(Intra-coded)ピクチャ及びP(Predictive-coded)ピクチャの画像データを格納するバッファを有し、
前記制御手段は、
前記バッファに格納されたデコード済のIピクチャ及びPピクチャの画像データを用いて、前記指定PTSの画像データを出力することを特徴とする請求項1記載の再生装置。
A buffer that stores image data of decoded I (Intra-coded) pictures and P (Predictive-coded) pictures;
The control means includes
2. The reproducing apparatus according to claim 1, wherein the image data of the designated PTS is output using the decoded I picture and P picture image data stored in the buffer.
前記制御手段は、
前記第1のGOP及び前記第2のGOPのデータの中で、前記バッファに格納されていないIピクチャ及びPピクチャのデータを前記指定PTSのデータまでデコードし、前記指定PTSの画像データを出力することを特徴とする請求項1または2記載の再生装置。
The control means includes
Among the data of the first GOP and the second GOP, I picture and P picture data not stored in the buffer are decoded up to the designated PTS data, and the designated PTS image data is output. The reproducing apparatus according to claim 1 or 2, characterized in that
前記制御手段は、
デコードしたIピクチャ及びPピクチャの画像データを前記バッファに格納し、
前記指定PTSを受け付けた場合に、前記バッファに格納されたデコード済のIピクチャ及びPピクチャの画像データを用いて、前記指定PTSの画像データを出力することを特徴とする請求項2または3記載の再生装置。
The control means includes
Store the decoded I picture and P picture image data in the buffer,
4. The image data of the designated PTS is output using image data of decoded I picture and P picture stored in the buffer when the designated PTS is received. 5. Playback device.
前記制御手段は、
前記指定PTSの画像データがIピクチャであり、当該Iピクチャの画像データが前記バッファに格納されている場合には、前記バッファに格納されたデコード済のIピクチャの画像データを出力し、当該Iピクチャの画像データが前記バッファに格納されていない場合には、前記Iピクチャの画像データをデコードし、該デコードした前記Iピクチャの画像データを出力する第1の制御手段と、
前記指定PTSの画像データがPピクチャであり、当該Pピクチャの画像データが前記バッファに格納されている場合には、前記バッファに格納されたデコード済のPピクチャの画像データを出力し、当該Pピクチャが前記バッファに格納されていない場合には、前記バッファに格納されたデコード済のIピクチャ又はPピクチャの画像データを用いて、前記Pピクチャの画像データをデコードし、該デコードした前記Pピクチャの画像データを出力する第2の制御手段と、
前記指定PTSの画像データがB(Bi-directionally predictive-coded)ピクチャである場合は、前記バッファに格納されたデコード済みのIピクチャ又はPピクチャの画像データを用いて、前記Bピクチャの画像データをデコードし、該デコードした前記Bピクチャの画像データを出力する第3の制御手段と、
を有することを特徴とする請求項2から4の何れか1項に記載の再生装置。
The control means includes
When the image data of the designated PTS is an I picture and the image data of the I picture is stored in the buffer, the decoded I picture image data stored in the buffer is output, and the I A first control unit that decodes the image data of the I picture and outputs the decoded image data of the I picture when the image data of the picture is not stored in the buffer;
When the image data of the designated PTS is a P picture and the image data of the P picture is stored in the buffer, the image data of the decoded P picture stored in the buffer is output, and the P If a picture is not stored in the buffer, the decoded I picture or P picture image data stored in the buffer is used to decode the P picture image data, and the decoded P picture Second control means for outputting the image data of
When the image data of the designated PTS is a B (Bi-directionally predictive-coded) picture, the image data of the B picture is converted using the image data of the decoded I picture or P picture stored in the buffer. Third control means for decoding and outputting the decoded image data of the B picture;
5. The playback apparatus according to claim 2, wherein the playback apparatus includes:
前記制御手段は、
前記第1の制御手段がデコードした前記Iピクチャの画像データを前記バッファに格納し、
前記第2の制御手段がデコードした前記Pピクチャの画像データを前記バッファに格納することを特徴とする請求項5記載の再生装置。
The control means includes
Storing the image data of the I picture decoded by the first control means in the buffer;
6. The reproducing apparatus according to claim 5, wherein the image data of the P picture decoded by the second control means is stored in the buffer.
再生装置で行う制御方法であって、
画像データを出力するための指定PTS(Presentation Time Stamp)を受け付けた場合に、当該指定PTSのデータを含む第1のGOP(Group of Picture)及び当該第1のGOPの1つ前の第2のGOPのデータを少なくとも取得する取得工程と、
前記取得工程で取得したデータを前記指定PTSのデータまでデコードし、前記指定PTSの画像データを出力する制御工程と、
を有することを特徴とする制御方法。
A control method performed by a playback device,
When a designated PTS (Presentation Time Stamp) for outputting image data is received, a first GOP (Group of Picture) including the data of the designated PTS and a second immediately before the first GOP An acquisition process for acquiring at least GOP data;
Decoding the data acquired in the acquisition step up to the data of the designated PTS, and outputting the image data of the designated PTS;
A control method characterized by comprising:
画像データを出力するための指定PTS(Presentation Time Stamp)を受け付けた場合に、当該指定PTSのデータを含む第1のGOP(Group of Picture)及び当該第1のGOPの1つ前の第2のGOPのデータを少なくとも取得する取得処理と、
前記取得処理で取得したデータを前記指定PTSのデータまでデコードし、前記指定PTSの画像データを出力する制御処理と、
をコンピュータに実行させることを特徴とするプログラム。
When a designated PTS (Presentation Time Stamp) for outputting image data is received, a first GOP (Group of Picture) including the data of the designated PTS and a second immediately before the first GOP An acquisition process that acquires at least GOP data;
Decoding the data acquired in the acquisition process up to the data of the designated PTS, and outputting the image data of the designated PTS;
A program that causes a computer to execute.
JP2010007925A 2010-01-18 2010-01-18 Playback apparatus, control method, and program Active JP5525831B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010007925A JP5525831B2 (en) 2010-01-18 2010-01-18 Playback apparatus, control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010007925A JP5525831B2 (en) 2010-01-18 2010-01-18 Playback apparatus, control method, and program

Publications (2)

Publication Number Publication Date
JP2011147057A true JP2011147057A (en) 2011-07-28
JP5525831B2 JP5525831B2 (en) 2014-06-18

Family

ID=44461487

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010007925A Active JP5525831B2 (en) 2010-01-18 2010-01-18 Playback apparatus, control method, and program

Country Status (1)

Country Link
JP (1) JP5525831B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013005657A1 (en) 2011-07-01 2013-01-10 Yazaki Corporation Single core electric wire

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08102913A (en) * 1994-09-29 1996-04-16 Victor Co Of Japan Ltd Method for reverse production of compressed moving picture data
WO2001033832A1 (en) * 1999-10-29 2001-05-10 Fujitsu Limited Image reproducing apparatus and image recording/reproducing apparatus
JP2006303652A (en) * 2005-04-15 2006-11-02 Sony Corp Information recording and reproducing system, apparatus, and method
JP2010007925A (en) * 2008-06-25 2010-01-14 Daikin Ind Ltd Air conditioning system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08102913A (en) * 1994-09-29 1996-04-16 Victor Co Of Japan Ltd Method for reverse production of compressed moving picture data
WO2001033832A1 (en) * 1999-10-29 2001-05-10 Fujitsu Limited Image reproducing apparatus and image recording/reproducing apparatus
JP2006303652A (en) * 2005-04-15 2006-11-02 Sony Corp Information recording and reproducing system, apparatus, and method
JP2010007925A (en) * 2008-06-25 2010-01-14 Daikin Ind Ltd Air conditioning system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013005657A1 (en) 2011-07-01 2013-01-10 Yazaki Corporation Single core electric wire

Also Published As

Publication number Publication date
JP5525831B2 (en) 2014-06-18

Similar Documents

Publication Publication Date Title
JP5258885B2 (en) Encoded stream reproduction apparatus and encoded stream reproduction method
JP2008547360A (en) Method and system for providing instant replay
JP2007036495A (en) Reproducer, compressor, recorder and reproducing method
JPWO2005088964A1 (en) Recording / playback editing device
KR100556506B1 (en) Digital video playback with trick play features
JP5525831B2 (en) Playback apparatus, control method, and program
JP4289253B2 (en) Recording / playback device
JP4821511B2 (en) VIDEO PROCESSING METHOD, VIDEO PROCESSING PROGRAM, VIDEO PROCESSING DEVICE, AND REPRODUCTION METHOD, REPRODUCTION PROGRAM, AND REPRODUCTION DEVICE
US8442376B2 (en) Image data recording/playback device, system, and method
JP2006049988A (en) Digital data recording and reproducing device
JP4253830B2 (en) Information recording apparatus, information reproducing apparatus, information recording / reproducing apparatus and method
JP2008016100A (en) Information reproducing device and method
JP5679831B2 (en) Editing apparatus, control method, and program
JP4272753B2 (en) REPRODUCTION DEVICE, ITS CONTROL METHOD, AND COMPUTER-READABLE STORAGE MEDIUM
JP2008508766A (en) Improved graphics accessibility during and after trick playback
JP2004140723A (en) Method and device for reproducing digital video information
JP5018976B2 (en) Data recording method, recording medium, and reproducing apparatus
JP2008211474A (en) Recorder and reproducing device
JP2004140679A (en) Recording medium and its reproducer and recorder
WO2009090865A1 (en) Dynamic image data decoding/reproduction device and dynamic image data decoding device
JP3063716U (en) Moving picture data playback device
JPH08223534A (en) Image reproducing device
JP2006050391A (en) Motion picture data reproducing apparatus and method, motion picture recording apparatus and method, and recording medium with motion picture data recorded thereon
JP4497019B2 (en) Video processing device
JP5811037B2 (en) Recording apparatus and recording control method

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20110830

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121206

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140114

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140314

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20140408

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140414

R150 Certificate of patent or registration of utility model

Ref document number: 5525831

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250