JP2008152478A - Data reproducing device - Google Patents

Data reproducing device Download PDF

Info

Publication number
JP2008152478A
JP2008152478A JP2006339022A JP2006339022A JP2008152478A JP 2008152478 A JP2008152478 A JP 2008152478A JP 2006339022 A JP2006339022 A JP 2006339022A JP 2006339022 A JP2006339022 A JP 2006339022A JP 2008152478 A JP2008152478 A JP 2008152478A
Authority
JP
Japan
Prior art keywords
data
frame number
animation
state
still image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006339022A
Other languages
Japanese (ja)
Inventor
Muneyasu Tsuchiuchi
崇靖 土内
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2006339022A priority Critical patent/JP2008152478A/en
Publication of JP2008152478A publication Critical patent/JP2008152478A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)
  • Television Signal Processing For Recording (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide data reproducing device for properly reproducing animation data, including a plurality of encoded static image data. <P>SOLUTION: When shift is made to an inactivated state, an animation object 30 erases a frame number in the last plotting timing, and erases decoded data stored in a Pixel Buffer 17, and when shift is made to an activated state again, the animation object 30 initializes a parameter used for calculating the frame number with the last plotting timing. Thus, even if MNG element data are reproduced again, after being reproduced once, the data will be not plotted from the static image data, corresponding to the next frame number of the frame number of the finally plotted static image data in the case of the previous reproduction but will be plotted from the static image data, corresponding to the first frame number. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、符号化された複数の静止画データを含むアニメーションデータを再生するデータ再生装置に関する。   The present invention relates to a data reproducing apparatus for reproducing animation data including a plurality of encoded still image data.

上記技術分野のデータ再生装置として、アニメーション演出テーブルに基づいて、特定再生時間に再生すべき全ての対象オブジェクトの位置情報、選定オブジェクト情報、選定オブジェクトの拡大縮小値情報を設定し、これらの情報に基づいて、特定再生時間毎に全ての対象オブジェクトの再生画像データを画像合成し、表示部に表示させるものが知られている(例えば、特許文献1参照)。
特開2006−107132号公報
As a data reproduction device in the above technical field, based on the animation effect table, position information, selection object information, and enlargement / reduction value information of the selection object are set for all target objects to be reproduced at a specific reproduction time. On the basis of this, there is known a technique in which reproduced image data of all target objects are synthesized for each specific reproduction time and displayed on a display unit (for example, see Patent Document 1).
JP 2006-107132 A

ところで、複数の静止画データを含むアニメーションデータを再生する場合において、例えば当該アニメーションデータを一度再生した後に再度再生すると、前回の再生時の最後に描画された静止画データのフレーム番号の次のフレーム番号に対応する静止画データから描画されるなど、アニメーションデータが適切に再生されないおそれがある。   By the way, when reproducing animation data including a plurality of still image data, for example, if the animation data is reproduced once and then reproduced again, the frame next to the frame number of the still image data drawn at the end of the previous reproduction is displayed. There is a possibility that animation data may not be reproduced properly, such as drawing from still image data corresponding to a number.

そこで、本発明は、このような事情に鑑みてなされたものであり、符号化された複数の静止画データを含むアニメーションデータを適切に再生することができるデータ再生装置を提供することを目的とする。   Therefore, the present invention has been made in view of such circumstances, and an object of the present invention is to provide a data reproducing apparatus capable of appropriately reproducing animation data including a plurality of encoded still image data. To do.

上記目的を達成するために、本発明に係るデータ再生装置は、符号化された複数の静止画データを含むアニメーションデータを再生するデータ再生装置であって、アニメーションデータに対し、その再生処理に関するアニメーションオブジェクトを設定する設定手段と、アニメーションオブジェクトに対し、再生状態である活性化状態への遷移及び非再生状態である非活性化状態への遷移を選択的に指示する指示手段と、アニメーションオブジェクトが活性化状態である場合に、所定の描画タイミングにおける静止画データの復号化データを記憶する記憶手段と、を備え、アニメーションオブジェクトは、所定の描画タイミングにおける静止画データのフレーム番号を所定のパラメータに基づいて算出する算出手段と、算出されたフレーム番号を管理する管理手段と、を有すると共に、活性化状態に遷移する際及び非活性化状態に遷移する際の少なくとも一方において所定のパラメータを初期化し、活性化状態に遷移する際及び非活性化状態に遷移する際の少なくとも一方においてフレーム番号を削除することを特徴とする。   In order to achieve the above object, a data reproduction apparatus according to the present invention is a data reproduction apparatus for reproducing animation data including a plurality of encoded still image data, and an animation related to reproduction processing for animation data. Setting means for setting an object, instruction means for selectively instructing an animation object to transition to an activated state that is a playback state and a transition to an inactive state that is a non-playback state, and the animation object is activated Storage means for storing decoded data of still image data at a predetermined drawing timing when the image data is in a converted state, and the animation object is based on a predetermined parameter based on a frame number of the still image data at the predetermined drawing timing. Calculating means and the calculated frame number And a management means for managing a predetermined parameter in at least one of transition to an activated state and transition to an inactivated state and transition to an activated state and a deactivated state The frame number is deleted in at least one of the transitions to.

本発明によれば、符号化された複数の静止画データを含むアニメーションデータを適切に再生することができる。   According to the present invention, animation data including a plurality of encoded still image data can be appropriately reproduced.

以下、本発明の好適な実施形態について、図面を参照して詳細に説明する。   DESCRIPTION OF EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings.

図1に示されるように、データ再生装置1は、Data Access Manager2、Data Cache3、Navigation Manager4、Presentation Engine5及びAV Renderer6を備えたHD DVD(High Definition Digital Versatile Disc)プレーヤである。   As shown in FIG. 1, the data reproducing apparatus 1 is an HD DVD (High Definition Digital Versatile Disc) player provided with a Data Access Manager 2, a Data Cache 3, a Navigation Manager 4, a Presentation Engine 5, and an AV Renderer 6.

Data Access Manager2は、File Cache3等からの指示によって、ディスクやネットワーク等にアクセスしてファイルの読み書き等の操作を行うモジュールである。Data Access Manager2は、Persistent Storage Manager7、Network Manager8及びDisk Manager9を有している。   The Data Access Manager 2 is a module that performs operations such as reading and writing of a file by accessing a disk, a network, or the like according to an instruction from the File Cache 3 or the like. The Data Access Manager 2 has a persistent storage manager 7, a network manager 8, and a disk manager 9.

Persistent Storage Manager7は、上位からの指示に従って、Persistent Storage内のファイルの読み書きや削除等の操作を行うモジュールである。   The Persistent Storage Manager 7 is a module that performs operations such as reading / writing and deleting files in the Persistent Storage in accordance with instructions from the host.

Network Manager8は、上位モジュールからの指示によって、Network Serverからファイルをダウンロードしたり、逆にファイルをアップロードしたりするモジュールである。   The Network Manager 8 is a module that downloads a file from the Network Server or uploads a file according to an instruction from the upper module.

Disk Manager9は、上位からの指示で、HD DVDのディスク上にあるファイルの読み出しを行うモジュールである。   The Disk Manager 9 is a module that reads a file on an HD DVD disc in accordance with an instruction from the host.

Data Cache3は、読み出したファイル等を一時的に格納する64MByteのバッファである。Data Cache3は、Navigation Manager4やPresentation Engine5がファイルを読み出す時のキャッシュとして動作するFile Cache、及びSecondary Video Player21がNetwork Server上のビデオデータをストリーミング再生する際のバッファリングに使用するStreaming Bufferを有している。   Data Cache 3 is a 64 MByte buffer that temporarily stores read files and the like. The Data Cache 3 includes a File Cache that operates as a cache when the Navigation Manager 4 and the Presentation Engine 5 read a file, and a Streaming Buffer that is used for buffering when the Secondary Video Player 21 performs streaming playback of video data on the Network Server. Yes.

Navigation Manager4は、アドバンスドコンテンツの全体制御、マークアップやECMAスクリプトで記述された内容の再生処理、リモコンからの入力の対応動作等を行うモジュールである。Navigation Manager4は、File Cache Manager11、Playlist Manager12、Parser13、Advanced Application Manager14、User Interface Engine15を有している。   The Navigation Manager 4 is a module that performs overall control of advanced contents, reproduction processing of contents described in markup and ECMA scripts, operation corresponding to input from a remote controller, and the like. The Navigation Manager 4 has a File Cache Manager 11, a Playlist Manager 12, a Parser 13, an Advanced Application Manager 14, and a User Interface Engine 15.

File Cache Manager11は、Playlist Manager12やAdvanced Application Manager14からの指示を受けると、Data Access Manager2やPrimary Video Player22を制御して、目的のファイルをディスクやネットワーク等からData Cache3に読み込んで管理するモジュールである。   When receiving an instruction from the Playlist Manager 12 or the Advanced Application Manager 14, the File Cache Manager 11 is a module that controls the Data Access Manager 2 and the Primary Video Player 22 to read and manage a target file from the disk or network to the Data Cache 3.

Playlist Manager12は、アドバンスドコンテンツの再生開始時にPlaylistよりコンテンツの構成情報等を読み出して各モジュールの初期化制御を行ったり、Title Timelineの制御を行ったりするモジュールである。   The Playlist Manager 12 is a module that reads content configuration information and the like from the Playlist at the start of playback of advanced content, and controls initialization of each module and Title Timeline.

Advanced Application Manager14は、アドバンスドコンテンツの再生動作の全体的な制御を行うモジュールである。Advanced Application Manager14は、Declarative Engine及びProgramming Engineを有している。Declarative Engineは、マークアップの記述に従って、タイミングの制御やPresentation Engine5の制御によるグラフィック表示や文字表示を行うモジュールである。Programming Engineは、ECMAスクリプトで記述されたスクリプトを解釈して実行するモジュールである。ECMAスクリプトからは、HD DVD規格で定義されたAPIを呼び出すことで、プレーヤの制御やグラフィック描画、ファイル操作等ができるようになっている。Programming Engineは、Presentation Engine5を制御することで、API経由でスクリプトから指示されたグラフィック描画やプレーヤ制御を実現する。   The Advanced Application Manager 14 is a module that performs overall control of advanced content playback operations. The Advanced Application Manager 14 has a Declarative Engine and a Programming Engine. The Declarative Engine is a module that performs timing control and graphic display and character display by control of the Presentation Engine 5 according to the markup description. The Programming Engine is a module that interprets and executes a script described in an ECMA script. From an ECMA script, an API defined by the HD DVD standard is called to enable player control, graphic drawing, file operation, and the like. The Programming Engine controls the Presentation Engine 5 to realize graphic drawing and player control instructed from the script via the API.

User Interface Engine15は、カーソルを制御したり、リモコンからの入力等をイベントとしてAdvanced Application Manager14に伝えたりするモジュールである。   The User Interface Engine 15 is a module that controls the cursor and transmits an input from the remote controller to the Advanced Application Manager 14 as an event.

Presentation Engine5は、グラフィックやビデオ、オーディオ等のデータを適宜デコードし、最終的なグラフィック画像やビデオのフレーム画像等を作成して、AV Renderer6に送り出すモジュールである。Presentation Engine5は、Advanced Application Presentation Engine16、Pixel Buffer17、Font Rendering System18、Advanced Subtitle Player19、Secondary Video Player21、Primary Video Player22及びDecoder Engine23を有している。   The Presentation Engine 5 is a module that appropriately decodes data such as graphics, video, and audio, creates final graphic images, video frame images, and the like, and sends them to the AV Renderer 6. The Presentation Engine 5 includes an Advanced Application Presentation Engine 16, a Pixel Buffer 17, a Font Rendering System 18, an Advanced Subtitle Player 19, a Secondary Video Player 21, a Primary Video Player 22, and a Decoder Engine 23.

Advanced Application Presentation Engine16は、図2に示されるように、Sound Decoder24、Graphics Decoder25及びLayout Manager26を有している。Advanced Application Presentation Engine16は、Navigation Manager4からの指示に従って、PNG(Portable Network Graphics)やMNG(Multiple-image Network Graphics)、JPEG(Joint Photographic Experts Group)等の画像等のエレメントをData Cache3から読み出してデコードし、グラフィックプレーンに最終的な出力画像を作成してAV Renderer6に出力したり、Data Cache3から読み出したWAVファイルをLPCMデータにしてAV Renderer6に出力したりするモジュールである。   The Advanced Application Presentation Engine 16 has a Sound Decoder 24, a Graphics Decoder 25, and a Layout Manager 26, as shown in FIG. The Advanced Application Presentation Engine 16 reads elements such as images such as PNG (Portable Network Graphics), MNG (Multiple-image Network Graphics), and JPEG (Joint Photographic Experts Group) from the Data Cache 3 and decodes them in accordance with instructions from the Navigation Manager 4. This is a module that creates a final output image on the graphic plane and outputs it to the AV Renderer 6, or outputs the WAV file read from the Data Cache 3 to the AV Renderer 6 as LPCM data.

Graphics Decoder25は、PNGやMNG、JPEG等の画像のデコードや、デコード済みの画像をPixel Buffer17に登録/削除する処理を行う。   The Graphics Decoder 25 performs a process of decoding an image such as PNG, MNG, JPEG, or registering / deleting the decoded image in the Pixel Buffer 17.

Layout Manager26は、Advanced Application Manager14から来るレイアウト情報に従って、Pixel Buffer17内に登録されたデコード済みの画像を持ってきて描画したり、Font Rendering System18に文字フォントの描画指示を出したりして、グラフィックプレーン上に最終的な表示画像を構築する。そして、完成した表示画像をAV Renderer6に送出する。   The Layout Manager 26 draws the decoded image registered in the Pixel Buffer 17 according to the layout information coming from the Advanced Application Manager 14 and draws it, or issues a font drawing instruction to the Font Rendering System 18 to display it on the graphic plane. Build the final display image. Then, the completed display image is sent to the AV Renderer 6.

図1に示されるように、Advanced Subtitle Player19は、Layout Manager26と同じような要領で、Advanced Subtitle内のマークアップ記述に従って、出力画像をサブピクチャプレーン上に生成し、AV Renderer6に送出する。   As shown in FIG. 1, the Advanced Subtitle Player 19 generates an output image on the sub-picture plane according to the markup description in the Advanced Subtitle in the same manner as the Layout Manager 26, and sends it to the AV Renderer 6.

Primary Video Player22及びSecondary Video Player21は、Video Playerとしての再生制御を行うモジュールである。Primary Video Player22及びSecondary Video Player21は、再生時にはTMAPを解析して必要な場所をData Access Manager2から読み出し、ビデオ映像のデータや音声データ、サブピクチャデータ等に分類して、Decoder Engine23内の各デコーダに出力する。   The Primary Video Player 22 and the Secondary Video Player 21 are modules that perform playback control as a Video Player. The Primary Video Player 22 and the Secondary Video Player 21 analyze the TMAP at the time of playback, read out necessary locations from the Data Access Manager 2, classify them into video video data, audio data, sub-picture data, etc., and send them to each decoder in the Decoder Engine 23. Output.

Decoder Engine23は、送られてきたMPEG2等で符号化されたビデオ映像のデータや音声データ等をデコードし、最終的な画像データやPCMデータにしてAV Renderer6に出力する。   The Decoder Engine 23 decodes the received video data and audio data encoded by MPEG2, etc., and outputs the decoded data to the AV Renderer 6 as final image data or PCM data.

次に、データ再生装置1おけるMNGエレメントデータ(アニメーションデータ)の再生処理について説明する。   Next, playback processing of MNG element data (animation data) in the data playback device 1 will be described.

MNGは、符号化された静止画データであるPNGを複数集め、静止画(フレーム)の連続変化として、動画に必要な情報を加味することで、動画を表現するフォーマットである。MNGは、フレーム進行速度(フレームレート)等の情報を有し、内蔵する静止画群をどのような速さで進行させればよいかが分かるようになっている。MNGのフォーマットは、PNGと同様に、チャンクと呼ばれるデータブロックを単位として各種情報を格納する。   MNG is a format that expresses a moving image by collecting a plurality of PNGs that are encoded still image data and adding necessary information to the moving image as a continuous change of a still image (frame). The MNG has information such as a frame progression speed (frame rate) and can understand how fast the built-in still image group should proceed. Similar to PNG, the MNG format stores various information in units of data blocks called chunks.

再生指示されたMNGエレメントデータは、Data Cache3に読み込まれる。Graphics Decoder(設定手段)25は、Data Cache3からMNGエレメントデータを取得し、1つのMNGエレメントデータに対して1つのアニメーションオブジェクト機能を与える。つまり、Graphics Decoder25は、MNGエレメントデータに対し、その再生処理に関するアニメーションオブジェクトを設定する。   The reproduction-instructed MNG element data is read into the Data Cache 3. The Graphics Decoder (setting means) 25 acquires MNG element data from the Data Cache 3, and gives one animation object function to one MNG element data. That is, the Graphics Decoder 25 sets an animation object related to the reproduction process for the MNG element data.

図3に示されるように、アニメーションオブジェクト30は、データ再生装置1の時刻情報生成部27から現在の時刻を取得する時刻取得部31、MNGエレメントデータに格納されているフレームを管理するフレーム管理部(管理手段)32、及び描画タイミング毎に描画すべきフレーム番号を決定する表示フレーム決定部(算出手段)33を有している。   As shown in FIG. 3, the animation object 30 includes a time acquisition unit 31 that acquires the current time from the time information generation unit 27 of the data reproduction device 1, and a frame management unit that manages frames stored in the MNG element data (Management means) 32 and a display frame determination unit (calculation means) 33 for determining a frame number to be drawn at each drawing timing.

Advanced Application Presentation Engine(指示手段)16は、時刻情報に基づいて、適切なMNGエレメントデータに対して再生命令を発する。MNGエレメントデータの場合、再生命令を受けることは、独立したオブジェクトとして指定された領域で、MNGエレメントデータが他の状態に依存せずに自走することを指す。この再生状態をアニメーションオブジェクト30の活性化状態とする。   The Advanced Application Presentation Engine (instruction means) 16 issues a reproduction command to appropriate MNG element data based on the time information. In the case of MNG element data, receiving a playback command indicates that the MNG element data is self-propelled in an area designated as an independent object without depending on other states. This reproduction state is the activation state of the animation object 30.

また、アニメーションオブジェクト30の活性化状態中に当該MNGエレメントデータが再生されるタイミングでない状態になると、Advanced Application Presentation Engine16は、当該MNGエレメントデータに対して再生中止命令を発する。この非再生状態をアニメーションオブジェクト30の非活性化状態とする。   In addition, when the MNG element data is not played back during the activation state of the animation object 30, the Advanced Application Presentation Engine 16 issues a playback stop command to the MNG element data. This non-reproduction state is set as the inactivation state of the animation object 30.

このように、Advanced Application Presentation Engine16は、アニメーションオブジェクト30に対し、再生状態である活性化状態への遷移及び非再生状態である非活性化状態への遷移を選択的に指示する。なお、アニメーションオブジェクト30は、一度再生命令を受けると、再生中止命令を受けるまで描画タイミング毎に静止画データの描画を行い続ける。   In this manner, the Advanced Application Presentation Engine 16 selectively instructs the animation object 30 to transition to the activated state that is the playback state and to transition to the inactivated state that is the non-playback state. Note that once the animation object 30 receives a reproduction command, it continues to draw still image data at each drawing timing until it receives a reproduction stop command.

図4は、データ再生装置1おけるMNGエレメントデータの再生処理の手順を示すフローチャートである。   FIG. 4 is a flowchart showing the procedure of the reproduction process of the MNG element data in the data reproduction apparatus 1.

Advanced Application Presentation Engine16の指示によりアニメーションオブジェクト30が活性化状態に遷移すると、時刻取得部31は、描画タイミング毎に各描画タイミングにおける時刻を時刻情報生成部27から取得する(ステップS41)。そして、今回の描画タイミングにおける時刻が最初の描画タイミングであるか否かを判断する(ステップS42)。   When the animation object 30 transitions to the activated state according to an instruction from the Advanced Application Presentation Engine 16, the time acquisition unit 31 acquires the time at each drawing timing from the time information generation unit 27 for each drawing timing (step S41). Then, it is determined whether or not the time at the current drawing timing is the first drawing timing (step S42).

その結果、今回の描画タイミングにおける時刻が最初の描画タイミングでない場合には、表示フレーム決定部33は、今回の描画タイミングにおける時刻と前回の描画タイミングにおける時刻との差分を計算し、当該差分及びフレームレートを基に、前回の描画タイミングにおける静止画データのフレーム番号から何フレーム進んだかを計算することで、今回の描画タイミングにおける静止画データのフレーム番号を算出する(ステップS43)。   As a result, when the time at the current drawing timing is not the first drawing timing, the display frame determination unit 33 calculates the difference between the time at the current drawing timing and the time at the previous drawing timing, and calculates the difference and the frame. Based on the rate, the frame number of the still image data at the current drawing timing is calculated by calculating the number of frames advanced from the frame number of the still image data at the previous drawing timing (step S43).

一方、今回の描画タイミングにおける時刻が最初の描画タイミングである場合には、前回の描画タイミングにおける時刻情報が存在しないため、表示フレーム決定部33は、前回の描画タイミングにおける時刻に替えて、Advanced Application Presentation Engine16がアニメーションオブジェクト30に対して活性化状態への遷移を指示した時刻を採用して、今回の描画タイミングにおける静止画データのフレーム番号を算出する(ステップS44)。   On the other hand, when the time at the current drawing timing is the first drawing timing, there is no time information at the previous drawing timing, so the display frame determination unit 33 replaces the time at the previous drawing timing with the Advanced Application. The time when the Presentation Engine 16 instructs the animation object 30 to transition to the activated state is used to calculate the frame number of the still image data at the current drawing timing (step S44).

描画すべきフレーム番号が算出されると、フレーム管理部32は、算出されたフレーム番号を管理する。また、アニメーションオブジェクト30は、Pixel Buffer(記憶手段)17を参照して、算出されたフレーム番号に対応する静止画データの復号化データが記憶されているか否かを調査する(ステップS45)。   When the frame number to be drawn is calculated, the frame management unit 32 manages the calculated frame number. Further, the animation object 30 refers to the Pixel Buffer (storage means) 17 and checks whether or not the decoded data of the still image data corresponding to the calculated frame number is stored (step S45).

その結果、当該復号化データがPixel Buffer17に記憶されている場合には、アニメーションオブジェクト30は、算出されたフレーム番号に対応する静止画データを復号化しないと判定し、Pixel Buffer17から当該復号化データを取得して、当該復号化データを描画させる(ステップS46)。   As a result, when the decoded data is stored in the Pixel Buffer 17, the animation object 30 determines not to decode the still image data corresponding to the calculated frame number, and the decoded data from the Pixel Buffer 17 is determined. And the decoded data is rendered (step S46).

一方、当該復号化データがPixel Buffer17に記憶されていない場合には、アニメーションオブジェクト30は、算出されたフレーム番号に対応する静止画データを復号化すると判定し、MNGエレメントデータ及びフレーム番号を復号部28に送る。そして、アニメーションオブジェクト30は、復号部28に対し、当該フレーム番号に対応する静止画データを復号化させて復号化データを生成させ(ステップS47)、当該復号化データをPixel Buffer17に記憶させると共に当該復号化データをPixel Buffer17から取得して、当該復号化データを描画させる(ステップS48)。   On the other hand, when the decoded data is not stored in the Pixel Buffer 17, the animation object 30 determines to decode the still image data corresponding to the calculated frame number, and the MNG element data and the frame number are decoded. Send to 28. Then, the animation object 30 causes the decoding unit 28 to decode the still image data corresponding to the frame number to generate decoded data (step S47), store the decoded data in the Pixel Buffer 17, and The decoded data is acquired from the Pixel Buffer 17, and the decoded data is drawn (step S48).

ステップS47,S48の処理は、Advanced Application Presentation Engine16がアニメーションオブジェクト30に対して活性化状態への遷移を指示した時刻を採用して、今回の描画タイミングにおける静止画データのフレーム番号を算出した場合(ステップS44)にも実行される。   The processing of steps S47 and S48 is performed when the frame number of still image data at the current drawing timing is calculated by using the time when the Advanced Application Presentation Engine 16 instructs the animation object 30 to transition to the activated state ( It is also executed in step S44).

なお、生成された復号化データがPixel Buffer17に記憶されると、これまで記憶されていた復号化データは削除される。このように、Pixel Buffer17は、アニメーションオブジェクト30が活性化状態である場合に、所定の描画タイミングにおける静止画データの復号化データを記憶する。   Note that when the generated decoded data is stored in the Pixel Buffer 17, the decoded data stored so far is deleted. Thus, the Pixel Buffer 17 stores the decoded data of still image data at a predetermined drawing timing when the animation object 30 is in an activated state.

Pixel Buffer17から取得された復号化データは、図2に示されるように、Layout Manager26を経てAV Renderer6へ送出されて、画面に表示されることになる。   The decrypted data acquired from the Pixel Buffer 17 is sent to the AV Renderer 6 via the Layout Manager 26 and displayed on the screen as shown in FIG.

図5は、マークアップから読み取れるMNGエレメントデータの動作タイミングのリストを示す図である。例えば、CCC.mngというMNGエレメントデータは、Chapter8に入って、0秒後に自走を開始し、90秒間自走を続けることを示している。   FIG. 5 is a diagram showing a list of operation timings of MNG element data that can be read from the markup. For example, the MNG element data CCC.mng indicates that it entered Chapter 8 and started self-running after 0 seconds and continued to run for 90 seconds.

図6は、この場合のMNGエレメントデータのアニメーションオブジェクトの状態遷移図である。このように、アニメーションオブジェクト30は、活性化状態と非活性化状態との間を何度も遷移する可能性を有している。これは、アニメーションオブジェクト30が有効となるタイミングがマークアップで指定されており、指定タイミングで活性化状態となるためである。例えば、ビデオのチャプタ番号に関連付けられたMNGエレメントデータの場合、利用者の操作によって容易にチャプタ番号の移動が行われる。すなわち、活性化状態に遷移するタイミングと非活性化状態に遷移するタイミングを事前に知ることはできない。   FIG. 6 is a state transition diagram of the animation object of the MNG element data in this case. Thus, the animation object 30 has the possibility of transitioning between the activated state and the deactivated state many times. This is because the timing at which the animation object 30 becomes valid is designated by markup, and is activated at the designated timing. For example, in the case of MNG element data associated with a video chapter number, the chapter number is easily moved by a user operation. That is, it is not possible to know in advance the timing of transition to the activated state and the timing of transition to the inactivated state.

ところで、アニメーションオブジェクト30は、処理負荷の問題から、非活性化状態に遷移する際にオブジェクト解放処理を行わないことが望ましい。よって、オブジェクト解放処理が行われないと、非活性化状態に遷移した後、再び活性化状態に遷移するMNGエレメントデータのアニメーションオブジェクト30は、前回活性化状態にあった最後のパラメータを有していることになる。そのため、アニメーションオブジェクト30を再利用した状態で描画を開始すると、前回活性化状態にあった最後の描画タイミングの情報を基に再始動してしまうことになる。つまり、前回の再生時の最後に描画された静止画データのフレーム番号の次のフレーム番号に対応する静止画データから描画されてしまうことになる。これでは、コンテンツ製作者の意図に反してフレームを表示するおそれが高くなる。   By the way, it is desirable that the animation object 30 does not perform the object release process at the time of transition to the inactivated state due to a processing load problem. Therefore, if the object release processing is not performed, the animation object 30 of the MNG element data that transitions to the activated state again after transitioning to the deactivated state has the last parameter in the previous activated state. Will be. Therefore, when drawing is started in a state where the animation object 30 is reused, the drawing is restarted based on the last drawing timing information that was in the previous activated state. That is, the image is drawn from the still image data corresponding to the frame number next to the frame number of the still image data drawn at the end of the previous reproduction. This increases the risk of displaying the frame against the intention of the content producer.

そこで、データ再生装置1においては、アニメーションオブジェクト30は、非活性化状態に遷移する際に、最後の描画タイミングにおけるフレーム番号を削除すると共に、Pixel Buffer17に記憶されている復号化データを削除し、再び活性化状態に遷移する際に、最後の描画タイミングにおけるフレーム番号を算出するために使用したパラメータを初期化する。これにより、MNGエレメントデータを一度再生した後に再度再生しても、前回の再生時の最後に描画された静止画データのフレーム番号の次のフレーム番号に対応する静止画データから描画されることなく、最初のフレーム番号に対応する静止画データから描画されることになる。   Therefore, in the data reproducing apparatus 1, when the animation object 30 transitions to the inactive state, the animation object 30 deletes the frame number at the last drawing timing and deletes the decoded data stored in the Pixel Buffer 17, When transitioning to the activated state again, the parameters used to calculate the frame number at the last drawing timing are initialized. Thus, even if the MNG element data is reproduced once and then reproduced again, it is not drawn from the still image data corresponding to the frame number next to the frame number of the still image data drawn at the end of the previous reproduction. The image is drawn from the still image data corresponding to the first frame number.

以上説明したように、一度作成されたMNGエレメントデータのアニメーションオブジェクト30は、当該MNGエレメントデータが非表示になっても破棄されずに保持されているため、処理時間の短縮化を図ることができる。そして、保持されたアニメーションオブジェクト30の再利用に際しては、前回の表示パラメータを引きずることなく、あたかもアニメーションオブジェクト30を再作成したかのように振る舞い、HD DVDの規格を満足する動作を行うことができる。   As described above, the animation object 30 of the MNG element data once created is retained without being discarded even if the MNG element data is hidden, so that the processing time can be shortened. . When the stored animation object 30 is reused, it can behave as if the animation object 30 was re-created without dragging the previous display parameter, and an operation satisfying the HD DVD standard can be performed. .

本発明は、上述した実施形態に限定されるものではない。   The present invention is not limited to the embodiment described above.

例えば、アニメーションオブジェクト30は、活性化状態に遷移する際及び非活性化状態に遷移する際の少なくとも一方において、フレーム番号を算出するために使用したパラメータを初期化し、活性化状態に遷移する際及び非活性化状態に遷移する際の少なくとも一方において、算出したフレーム番号を削除すればよい。また、フレーム番号を算出するためのパラメータとして、一の活性化状態におけるMNGエレメントデータの再生繰返し回数や、一の活性化状態におけるMNGエレメントデータの再生動作情報等を使用してもよい。   For example, the animation object 30 initializes the parameter used to calculate the frame number at the time of transition to the activated state and at least one of the transition to the inactivated state, and transits to the activated state. The calculated frame number may be deleted in at least one of the transitions to the inactivated state. Further, as a parameter for calculating the frame number, the number of repetitions of reproduction of MNG element data in one activated state, reproduction operation information of MNG element data in one activated state, or the like may be used.

本発明に係るデータ再生装置の一実施形態の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of one Embodiment of the data reproduction apparatus which concerns on this invention. 図1に示されたAdvanced Application Presentation Engineの内部構成を示すブロック図である。FIG. 2 is a block diagram showing an internal configuration of the Advanced Application Presentation Engine shown in FIG. 1. 図2に示されたGraphics Decoderの内部構成を示すブロック図である。FIG. 3 is a block diagram showing an internal configuration of a Graphics Decoder shown in FIG. 2. データ再生装置おけるMNGエレメントデータの再生処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the reproduction | regeneration processing of MNG element data in a data reproduction apparatus. マークアップから読み取れるMNGエレメントデータの動作タイミングのリストを示す図である。It is a figure which shows the list | wrist of the operation | movement timing of MNG element data which can be read from markup. MNGエレメントデータのアニメーションオブジェクトの状態遷移図である。It is a state transition diagram of the animation object of MNG element data.

符号の説明Explanation of symbols

1…データ再生装置、16…Advanced Application Presentation Engine(指示手段)、17…Pixel Buffer(記憶手段)、25…Graphics Decoder(設定手段)、30…アニメーションオブジェクト、32…フレーム管理部(管理手段)、33…表示フレーム決定部(算出手段)。   DESCRIPTION OF SYMBOLS 1 ... Data reproduction apparatus, 16 ... Advanced Application Presentation Engine (instruction means), 17 ... Pixel Buffer (storage means), 25 ... Graphics Decoder (setting means), 30 ... Animation object, 32 ... Frame management part (management means), 33: Display frame determination unit (calculation means).

Claims (5)

符号化された複数の静止画データを含むアニメーションデータを再生するデータ再生装置であって、
前記アニメーションデータに対し、その再生処理に関するアニメーションオブジェクトを設定する設定手段と、
前記アニメーションオブジェクトに対し、再生状態である活性化状態への遷移及び非再生状態である非活性化状態への遷移を選択的に指示する指示手段と、
前記アニメーションオブジェクトが前記活性化状態である場合に、所定の描画タイミングにおける前記静止画データの復号化データを記憶する記憶手段と、を備え、
前記アニメーションオブジェクトは、前記所定の描画タイミングにおける前記静止画データのフレーム番号を所定のパラメータに基づいて算出する算出手段と、算出された前記フレーム番号を管理する管理手段と、を有すると共に、前記活性化状態に遷移する際及び前記非活性化状態に遷移する際の少なくとも一方において前記所定のパラメータを初期化し、前記活性化状態に遷移する際及び前記非活性化状態に遷移する際の少なくとも一方において前記フレーム番号を削除することを特徴とするデータ再生装置。
A data reproduction device for reproducing animation data including a plurality of encoded still image data,
Setting means for setting an animation object related to the reproduction process for the animation data;
Instruction means for selectively instructing the animation object to transition to an activated state that is a reproduction state and to a deactivation state that is a non-reproduction state;
Storage means for storing decoded data of the still image data at a predetermined drawing timing when the animation object is in the activated state;
The animation object includes a calculation unit that calculates a frame number of the still image data at the predetermined drawing timing based on a predetermined parameter, and a management unit that manages the calculated frame number. In at least one of the transition to the activated state and the transition to the inactivated state, the predetermined parameter is initialized, and at least one of the transition to the activated state and the transition to the deactivated state A data reproducing apparatus, wherein the frame number is deleted.
前記アニメーションオブジェクトは、前記非活性化状態に遷移する際に前記フレーム番号を削除し、前記活性化状態に遷移する際に前記所定のパラメータを初期化することを特徴とする請求項1記載のデータ再生装置。   The data according to claim 1, wherein the animation object deletes the frame number when transitioning to the inactive state, and initializes the predetermined parameter when transitioning to the active state. Playback device. 前記算出手段は、前記所定の描画タイミングにおける時刻、前回の描画タイミングにおける時刻、前回の描画タイミングにおける前記静止画データのフレーム番号、及びフレームレートに基づいて、前記所定の描画タイミングにおける前記静止画データのフレーム番号を算出し、
前記アニメーションオブジェクトは、算出された前記フレーム番号に対応する前記静止画データの前記復号化データが前記記憶手段に記憶されている場合には、算出された前記フレーム番号に対応する前記静止画データを復号化しないと判定し、算出された前記フレーム番号に対応する前記静止画データの前記復号化データが前記記憶手段に記憶されていない場合には、算出された前記フレーム番号に対応する前記静止画データを復号化すると判定すると共に、前記非活性化状態に遷移する際に、前記記憶手段に記憶されている前記復号化データを削除することを特徴とする請求項2記載のデータ再生装置。
The calculation means calculates the still image data at the predetermined drawing timing based on a time at the predetermined drawing timing, a time at the previous drawing timing, a frame number of the still image data at the previous drawing timing, and a frame rate. Frame number of
When the decoded data of the still image data corresponding to the calculated frame number is stored in the storage unit, the animation object stores the still image data corresponding to the calculated frame number. When it is determined not to be decoded and the decoded data of the still image data corresponding to the calculated frame number is not stored in the storage unit, the still image corresponding to the calculated frame number 3. The data reproducing apparatus according to claim 2, wherein it is determined that the data is to be decrypted, and the decrypted data stored in the storage means is deleted when transitioning to the inactive state.
前記所定のパラメータは、前記指示手段が前記アニメーションオブジェクトに対して前記活性化状態への遷移を指示した時刻、一の前記活性化状態における前記アニメーションデータの再生繰返し回数、及び一の前記活性化状態における前記アニメーションデータの再生動作情報の少なくとも1つを含むことを特徴とする請求項1〜3のいずれか一項記載のデータ再生装置。   The predetermined parameters are: the time when the instruction means instructs the animation object to transition to the activated state, the number of repeated reproductions of the animation data in the activated state, and the activated state. 4. The data reproduction apparatus according to claim 1, comprising at least one of reproduction operation information of the animation data. 前記指示手段は、前記アニメーションデータと同期して再生されるビデオに関するチャプタ、及び時刻の少なくとも1つに基づいて、前記アニメーションデータの活性化状態への遷移及び前記非活性化状態への遷移を選択的に指示することを特徴とする請求項1〜4のいずれか一項記載のデータ再生装置。   The instruction means selects a transition to an activated state and a transition to the inactivated state of the animation data based on at least one of a chapter related to a video to be played in synchronization with the animation data and a time 5. The data reproducing apparatus according to claim 1, wherein the data reproducing apparatus is instructed automatically.
JP2006339022A 2006-12-15 2006-12-15 Data reproducing device Pending JP2008152478A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006339022A JP2008152478A (en) 2006-12-15 2006-12-15 Data reproducing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006339022A JP2008152478A (en) 2006-12-15 2006-12-15 Data reproducing device

Publications (1)

Publication Number Publication Date
JP2008152478A true JP2008152478A (en) 2008-07-03

Family

ID=39654597

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006339022A Pending JP2008152478A (en) 2006-12-15 2006-12-15 Data reproducing device

Country Status (1)

Country Link
JP (1) JP2008152478A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018113494A (en) * 2017-01-06 2018-07-19 株式会社教育情報サービス Computer, content reproduction method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018113494A (en) * 2017-01-06 2018-07-19 株式会社教育情報サービス Computer, content reproduction method, and program

Similar Documents

Publication Publication Date Title
JP3195284B2 (en) Moving image playback control method and image display device to which the method is applied
KR101183383B1 (en) Synchronization aspects of interactive multimedia presentation management
KR101167346B1 (en) Video producing device and method, recording medium, and video reproducing program
KR20070028375A (en) Content reproducing device, content reproducing method, content reproducing system, and its computer program
JP2006185572A (en) Video reproducing device and method
US20050265692A1 (en) Apparatus, method, and program for image reproduction
JP2006294152A (en) Information storage medium, information recorder and information reproducing device
MXPA05003904A (en) Data storage medium having information for controlling buffered state of markup document, and method and apparatus for reproducing data from the data storage medium.
KR101023699B1 (en) Method for controling a playback in interactive optical disc player
JP2008165872A (en) Digital video reproducing device and reproducing method
WO2008108536A1 (en) Method and apparatus for modifying text-based subtitles
JP2008167256A (en) Information processor and information processing method, and program
JP2007535857A (en) Recording medium recording application having programming function, reproducing apparatus, and reproducing method thereof
KR20050022072A (en) Interactive data processing method and apparatus
JP2008152478A (en) Data reproducing device
JP5448443B2 (en) Image processing apparatus and image processing method
JP2009188452A (en) Reproducing device and reproducing method
JP2008042269A (en) Reproducer and reproducing method
JP2008108296A (en) Information reproducing device and information reproducing method
KR101069858B1 (en) Method and apparatus for setting marks on content recorded on a data recording medium and conducting in accordance with the marks
JP2010272058A (en) Information reproducing apparatus
JP2005135578A (en) Reproduction apparatus to which reproduction mode information is set, storage medium, and method for reproducing the same
JP2008112495A (en) Recording and reproducing device
KR101014665B1 (en) Information storage medium containing preload information, apparatus and method for reproducing therefor
KR101449430B1 (en) Method and apparatus for generating movie-in-short of contents

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080806

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20080718