JP2008053828A - Image reproduction device and method thereof - Google Patents
Image reproduction device and method thereof Download PDFInfo
- Publication number
- JP2008053828A JP2008053828A JP2006225594A JP2006225594A JP2008053828A JP 2008053828 A JP2008053828 A JP 2008053828A JP 2006225594 A JP2006225594 A JP 2006225594A JP 2006225594 A JP2006225594 A JP 2006225594A JP 2008053828 A JP2008053828 A JP 2008053828A
- Authority
- JP
- Japan
- Prior art keywords
- state
- signal
- unit
- reproduction
- command
- 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.)
- Withdrawn
Links
Images
Landscapes
- Television Signal Processing For Recording (AREA)
Abstract
Description
本発明は,画像を再生する画像再生装置およびその方法に関する。 The present invention relates to an image reproducing apparatus and method for reproducing an image.
画像・音声を,記憶装置,例えば,ハードディスク,DVDに記録して再生する画像・音声再生装置が用いられている。
画像・音声再生装置では,記憶装置からの画像・音声の再生に加えて,所定の画像,音声の再生等の所定の処理がなされることがある。これら所定の処理は,中央処理装置(CPU)によって実行されることが多く,画像・音声の再生とは異なったタイミングで実行される処理が含まれる。
なお,オーディオ・ビジュアルストリームの開始時をグラフィックスコントローラと同期させたDVDプレーヤの技術が公開されている(特許文献1参照)。
In the image / sound reproduction device, in addition to the reproduction of the image / sound from the storage device, a predetermined process such as reproduction of a predetermined image / sound may be performed. These predetermined processes are often executed by a central processing unit (CPU), and include processes executed at a timing different from the reproduction of images and sounds.
A DVD player technology that synchronizes the start time of an audio / visual stream with a graphics controller is disclosed (see Patent Document 1).
画像の再生とこれら所定の処理とのタイミングが一致しないと,画像再生装置の使用者が違和感を抱かせる可能性がある。
上記に鑑み,本発明は,複数の処理間でのタイミングの一致を図った画像再生装置およびその方法を提供することを目的とする。
If the timing of image reproduction and these predetermined processes do not match, the user of the image reproduction apparatus may feel uncomfortable.
In view of the above, it is an object of the present invention to provide an image reproducing apparatus and a method thereof that achieve timing matching among a plurality of processes.
本発明の一態様に係る画像再生装置は,第1の同期信号を生成する第1の同期信号生成部と,前記第1の同期信号と周期が異なる第2の同期信号を生成する第2の同期信号生成部と,前記第2の同期信号と同期して,画像データを生成する画像生成部と,前記第1の同期信号と同期して,所定の信号を生成する信号生成部と,前記所定の信号の生成を制御する指令を発する制御部と,前記制御部からの指令および前記第1の同期信号に基づいて状態が遷移し,前記信号生成部への指令を管理する信号生成管理部と,前記信号生成管理部の状態を表す状態情報を記憶する第1の記憶部と,前記信号生成管理部の状態遷移を記述する状態遷移テーブルを記憶する第2の記憶部と,を具備し,前記状態遷移テーブルが,前記制御部からの指令の受信によって,前記信号生成管理部が,この指令を保留しない第1の状態から,この指令を保留する第2の状態へと移行し,前記第2の同期信号の受信によって,前記信号生成管理部が,前記信号生成部に指令を発行し,前記第2の状態から前記第1の状態または他の状態へと移行することを表す,ことを特徴とする。 An image reproduction device according to an aspect of the present invention includes a first synchronization signal generation unit that generates a first synchronization signal, and a second synchronization signal that generates a second synchronization signal having a period different from that of the first synchronization signal. A synchronization signal generation unit; an image generation unit that generates image data in synchronization with the second synchronization signal; a signal generation unit that generates a predetermined signal in synchronization with the first synchronization signal; A control unit that issues a command for controlling the generation of a predetermined signal, and a signal generation management unit that manages the command to the signal generation unit, the state of which changes based on the command from the control unit and the first synchronization signal A first storage unit that stores state information indicating a state of the signal generation management unit, and a second storage unit that stores a state transition table describing a state transition of the signal generation management unit. The state transition table receives a command from the control unit. Therefore, the signal generation management unit shifts from the first state in which the command is not held to the second state in which the command is held, and the signal generation management unit receives the second synchronization signal. , Issuing a command to the signal generation unit, indicating a transition from the second state to the first state or another state.
本発明によれば,複数の処理間でのタイミングの一致を図った画像再生装置およびその方法を提供できる。 According to the present invention, it is possible to provide an image reproducing apparatus and a method thereof in which timings are matched among a plurality of processes.
以下,図面を参照して,本発明の実施の形態を詳細に説明する。
(第1の実施の形態)
図1は,本発明の第1の実施形態に係る画像再生装置100を示すブロック図である。
画像再生装置100は,動画・音声記憶部110,ビデオデコーダ121,オーディオデコーダ122,ビデオコンポジッタ131,オーディオミキサー132,プログラム情報記憶部141,状態情報記憶部142,プログラム実行部150,グラフィックレンダラ161,効果音再生管理部162,グラフィックデコーダ171,効果音デコーダ172,レンダリングタイミング生成部181,プログラム実行タイミング生成部182を有する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
(First embodiment)
FIG. 1 is a block diagram showing an
The
動画・音声記憶部110は,例えば,ハードディスク等の記憶装置であり,動画および音声の情報を動画音声ストリームとして記憶する。動画音声ストリームには,動画データおよび音声(オーディオ)データが含まれる。
The moving image /
ビデオデコーダ121は,動画・音声記憶部110から出力される動画音声ストリームに含まれる動画データをデコードして画像信号を生成する。ビデオデコーダ121は,画像・音声ストリームから画像信号を再生する画像再生部として機能する。
オーディオデコーダ122は,動画・音声記憶部110から出力される動画音声ストリームに含まれる音声データをデコードして音声信号を生成する。オーディオデコーダ122は,画像・音声ストリームから音声信号を再生する音声再生部として機能する。
The
The
ビデオコンポジッタ131は,ビデオデコーダ121およびグラフィックデコーダ171それぞれから出力される画像信号を合成し,ビデオ信号として出力する。例えば,ビデオデコーダ121で再生される画像上にグラフィックデコーダ171で生成される画像が重ね合わされて(インポーズ)表示される。
オーディオミキサー132は,オーディオデコーダ122および効果音デコーダ172それぞれから出力される音声信号をミキシングし,オーディオ(音声)信号として出力する。
The
The
プログラム情報記憶部141は,プログラム,プログラムリソースを記憶する。
プログラムは,グラフィックの描画および効果音の再生を指示可能なプログラムであり,プログラム実行部150によって実行される。即ち,プログラムには,グラフィックの描画指示および効果音の再生指示(再生開始指示,再生停止指示)が含まれる。プログラムリソースは,プログラムの実行に際して利用されるデータであり,効果音データを含む。
状態情報記憶部142は,状態遷移テーブル,および状態情報を記憶する。
状態遷移テーブルは,効果音再生管理部162の状態遷移関係を表すテーブルである。状態情報は,効果音再生管理部162の状態を表す情報であり,効果音再生管理部162によって書き換えられる。なお,状態遷移テーブルおよび状態情報の詳細は後述する。
The program
The program is a program that can instruct graphic drawing and sound effect reproduction, and is executed by the
The state
The state transition table is a table representing the state transition relationship of the sound effect
プログラム実行部150は,プログラム中に記述される描画指示および効果音再生指示(効果音の再生開始指示,再生停止指示)を発行する。プログラム実行タイミング生成部182から出力されるタイミング信号に基づいて,これらの指示が発行される。
The
プログラム実行部150は,プログラムの描画指示に従い,グラフィックレンダラ161にグラフィックのレンダリング指示を発行する。プログラム実行部150は,所定の信号の生成を制御する指令を発する制御部として機能する。
プログラム実行部150は,プログラム中の効果音の再生開始指示に従い,プログラムリソースに含まれる効果音データを添えて,効果音再生管理部162に効果音の再生開始指示を発行する。
プログラム実行部150は,プログラム中の効果音の再生停止指示に従い,効果音再生管理部162に効果音の再生停止指示を発行する。
The
The
The
プログラム実行部150は,自己が発行した再生開始指示,再生停止指示,および効果音再生管理部162からの完了通知により,効果音再生管理部162での再生状況を認識できる。例えば,プログラム実行部150は,自己が再生開始指示を発行後に,自己が再生停止指示を発行するか,または効果音再生管理部162から完了通知が発行されるかした場合に,効果音再生管理部162が非再生中の状態であると認識する。プログラム実行部150は,この再生状況が非再生中である場合のみ,効果音再生管理部162に開始指示を発行できる。
The
なお,プログラム実行部150は,中央処理装置(CPU)等のハードウェア,スクリプトを実行するソフトウェアの何れでも構成できる。後者の場合,プログラム,プログラムリソースはそれぞれ,スクリプト,スクリプトで用いられるリソースを意味する。
The
グラフィックレンダラ161は,プログラム実行部150からの指示により,グラフィックのレンダリング(画像の描画)をして,レンダリングされたグラフィックをグラフィックデコーダ171に送る。グラフィックレンダラ161は,画像データを生成する画像生成部として機能する。
なお,グラフィックレンダラ161によって描画された画面(およびグラフィックデコーダから出力される画像)はビデオデコーダ121からの主画像に対して,副画像として位置づけることができる。副画像の例として,画像再生装置100の操作用のメニュー画面を挙げることができる。
The
Note that the screen drawn by the graphic renderer 161 (and the image output from the graphic decoder) can be positioned as a sub-image with respect to the main image from the
効果音再生管理部162は,効果音再生指示(再生開始指示,再生停止指示)を効果音デコーダ172に送る。この発行は状態遷移テーブルおよび状態情報に基づく。再生開始指示の場合,効果音再生管理部162はこの指示と併せて,効果音データを効果音デコーダ172に送る。効果音再生管理部162は,信号生成部への指令を管理する信号生成管理部として機能する。
効果音再生管理部162は,効果音デコーダ172からの完了通知を受け取ると,プログラム実行部150に完了通知を発行する。
The sound effect
Upon receiving the completion notification from the
グラフィックデコーダ171は,受け取ったグラフィックデータをデコードして,画像信号を生成し,ビデオコンポジッタ131に出力する。
The
効果音デコーダ172は,受け取った効果音データをデコードし,音声信号を生成し,オーディオミキサー132に出力する。効果音デコーダ172は,所定の信号を生成する信号生成部として機能する。
効果音デコーダ172は効果音再生管理部162からの再生開始指示を受けると,効果音のデコード,およびデコードされたオーディオ信号をオーディオミキサー132に直ちに出力する。効果音デコーダ172は,効果音再生管理部162からの再生開始指示で指示された効果音を最後までデコードすると,効果音再生管理部162に効果音の再生完了通知を直ちに発行する。
また,効果音デコーダ172は,効果音再生管理部162から効果音再生の停止指示を受けると,デコード中である場合はデコードを直ちに停止し,効果音再生管理部162に効果音の再生完了通知を発行する。なお,停止指示を受けた際にデコード中でない場合,効果音デコーダ172は特段の処理を行わない。
The
When the
When the
レンダリングタイミング生成部181は,ビデオデコーダ121,オーディオデコーダ122,グラフィックレンダラ161での処理のタイミングの基準となる同期信号(タイミング信号)を生成,出力する。
プログラム実行タイミング生成部182は,プログラム実行部150での処理のタイミングの基準となる同期信号(タイミング信号)を生成,出力する。
The rendering
The program execution
なお,レンダリングタイミング生成部181,プログラム実行タイミング生成部182は,ハードウェアを制御するためのクロックとは異なる。つまりレンダリングタイミング生成部181,プログラム実行タイミング生成部182はそれぞれ,レンダリング処理の開始およびプログラム実行開始のタイミングを与えるものである。
The rendering
図2,図3は,状態遷移テーブルが表す状態遷移関係を図示した模式図である。
図2は,効果音再生管理部162の状態遷移関係を表現した状態遷移図である。効果音再生管理部162が有する状態0〜状態5の遷移遷移関係が表現されている。
図3は,図2の各状態を示した表である。状態0〜状態5それぞれと,再生状況,再生指示保留状況(開始指示保留状態,停止指示保留状態)の関係が表されている。
2 and 3 are schematic diagrams illustrating the state transition relationship represented by the state transition table.
FIG. 2 is a state transition diagram expressing the state transition relationship of the sound effect
FIG. 3 is a table showing each state of FIG. Each of the states 0 to 5 represents the relationship between the reproduction status and the reproduction instruction hold status (start instruction hold status, stop instruction hold status).
再生状況とは,プログラムの実行上において画像再生装置100が再生状態か否か(「再生中」,「非再生中」の何れか)を表す。この再生状況は,プログラム上から見た再生状況であり,必ずしも現実に再生が行われているとは限らない。即ち,この再生状況に基づいて,プログラムは実行され,現実の再生の有無はプログラムの実行に直接的な影響を与えない。
The reproduction status represents whether or not the
このように,プログラムの実行を現実の再生の有無から切り離したのは,プログラムの実行タイミングと,動画・音声の再生タイミングが異なるためである。プログラムの実行は,プログラム実行タイミング生成部182からのタイミング信号で制御される。一方,動画・音声の再生,およびレンダリングは,レンダリングタイミング生成部181からのタイミング信号で制御される。
レンダリングタイミング生成部181,プログラム実行タイミング生成部182でのタイミングの相違を吸収し,プログラムが速やかに実行されるようにするため,効果音再生管理部162が一種のバッファとして機能している。
The reason why the execution of the program is separated from the actual presence / absence of the reproduction is that the execution timing of the program is different from the reproduction timing of the moving image / sound. The execution of the program is controlled by a timing signal from the program execution
The sound effect
開始指示保留状況は,効果音再生管理部162が受けた再生開始指示が,保留されているか否か(「保留中」,「保留なし」の何れか)を表す。
「保留中」の場合,効果音再生管理部162が受けた再生開始指示の実行が保留されている。即ち,効果音再生管理部162は,再生開始指示を受けているが,効果音デコーダ172に再生開始指示を発行していない。この状態で効果音再生管理部162がレンダリングタイミング生成部181からのタイミング信号を受けると,効果音デコーダ172に再生開始指示を発行する。
「保留なし」の場合,効果音再生管理部162は再生開始指示を受けていないか,受けた再生開始指示が実行済みである。この状態で効果音再生管理部162がレンダリングタイミング生成部181からのタイミング信号を受けても,効果音デコーダ172に再生開始指示を発行することはない。
The start instruction hold status indicates whether or not the playback start instruction received by the sound effect
In the case of “pending”, execution of the reproduction start instruction received by the sound effect
In the case of “no hold”, the sound effect
停止指示保留状況は,効果音再生管理部162が受けた停止指示が,保留されているか否か(「保留中」,「保留なし」の何れか)を表す。
「保留中」の場合,効果音再生管理部162が受けた再生停止指示の実行が保留されている。即ち,効果音再生管理部162は,再生停止指示を受けているが,効果音デコーダ172に再生停止指示を発行していない。この状態で効果音再生管理部162がレンダリングタイミング生成部181からのタイミング信号を受けると,効果音デコーダ172に再生停止指示を発行する。
「保留なし」の場合,効果音再生管理部162は再生停止指示を受けていないか,受けた再生開始指示が実行済みである。この状態で効果音再生管理部162がレンダリングタイミング生成部181からのタイミング信号を受けても,効果音デコーダ172に再生停止指示を発行することはない。
The stop instruction hold status indicates whether or not the stop instruction received by the sound effect
In the case of “pending”, the execution of the playback stop instruction received by the sound effect
In the case of “no hold”, the sound effect
効果音再生管理部162は,プログラム実行部150からの効果音再生の開始指示,停止指示,効果音デコーダ172からの効果音再生の完了通知,およびレンダリングタイミング生成部181からのタイミング通知により,状態遷移する。
効果音再生管理部162は,状態が遷移する際に,効果音デコーダ172に対する開始通知および停止通知,プログラム実行部150に対する完了通知を発行することがある。効果音再生管理部162は,レンダリングタイミング生成部181からのタイミング信号をトリガーとして,効果音再生の開始指示,停止指示を発行する。
The sound effect
When the state transitions, the sound effect
プログラム実行部150からの開始指示が発行されると,効果音再生管理部162は開始指示を保留する。開始指示が保留されている状況でレンダリングタイミング生成部181からのタイミング信号を受けると,効果音再生管理部162は効果音デコーダ172に開始指示を発行する。
プログラム実行部150からの停止指示が発行されると,効果音再生管理部162は停止指示を保留する。停止指示が保留されている状況でレンダリングタイミング生成部181からのタイミング信号を受けると,効果音再生管理部162は効果音デコーダ172に停止指示を発行する。
効果音再生管理部162は,効果音デコーダ172から完了通知を受けると,プログラム実行部150に完了通知を発行する。
When a start instruction is issued from the
When a stop instruction is issued from the
When receiving the completion notification from the
以下,効果音再生管理部162の状態および状態遷移関係を詳細に説明する。
(1)状態0
画像再生装置100の初期状態において,効果音再生管理部162は状態0となる。即ち,状態0は,効果音再生管理部162の初期状態である。
状態0のとき,再生状況は「非再生中」で,開始指示保留状況,停止指示保留状況の双方が「保留なし」である。
状態0のときに,プログラム実行部150から開始指示が発行されると,効果音再生管理部162は状態1へと移行する。
Hereinafter, the state and state transition relationship of the sound effect
(1) State 0
In the initial state of the
In the state 0, the reproduction status is “not reproducing”, and both the start instruction hold status and the stop instruction hold status are “no hold”.
When a start instruction is issued from the
(2)状態1
状態1のとき,再生状況は「再生中」で,開始指示保留状況は「保留中」,停止指示保留状況は「保留なし」である。即ち,効果音再生管理部162は開始指示を受けたことで,再生状況は「再生中」となる。但し,タイミング信号を受けていないことから,開始指示保留状況は「保留中」となる。
状態1のときに,プログラム実行部150から停止指示が発行されると,効果音再生管理部162は,開始指示を破棄して,状態0へと移行する。
状態1のときに,レンダリングタイミング生成部181からタイミング通知が発行されると(タイミング信号が出力されると),効果音再生管理部162は開始指示を発行して,状態2へと移行する。
(2) State 1
In state 1, the reproduction status is “reproducing”, the start instruction hold status is “pending”, and the stop instruction hold status is “no hold”. That is, when the sound effect
When a stop instruction is issued from the
When the timing notification is issued from the rendering
(3)状態2
状態2のとき,再生状況は「再生中」で,開始指示保留状況,停止指示保留状況の双方が「保留なし」である。即ち,効果音再生管理部162は,効果音デコーダ172に開始指示を発行したことで,開始指示保留状況が「保留なし」に移行する。
状態2のときに,プログラム実行部150から停止指示が発行されると,効果音再生管理部162は状態3へと移行する。
状態2のときに,効果音デコーダ172から完了通知が発行されると,効果音再生管理部162は完了通知を発行して,状態0へと移行する。
(3) State 2
In state 2, the reproduction status is “reproducing”, and both the start instruction hold status and the stop instruction hold status are “no hold”. That is, when the sound effect
When the stop instruction is issued from the
When a completion notification is issued from the
(4)状態3
状態3のとき,再生状況は「非再生中」で,開始指示保留状況は「保留なし」,停止指示保留状況は「保留中」である。
状態3のときに,プログラム実行部150から開始指示が発行されると,効果音再生管理部162は状態4へと移行する。
状態3のときに,レンダリングタイミング生成部181からタイミング通知が発行されると,効果音再生管理部162は停止指示を発行して,状態5へと移行する。
状態3のときに,効果音デコーダ172から完了通知が発行されると,効果音再生管理部162は完了通知を発行して,状態0へと移行する。
(4) State 3
In state 3, the reproduction status is “not reproducing”, the start instruction hold status is “no hold”, and the stop instruction hold status is “pending”.
When the start instruction is issued from the
When the timing notification is issued from the rendering
When a completion notification is issued from the
(5)状態4
状態4のとき,再生状況は「再生中」で,開始指示保留状況,停止指示保留状況の双方が「保留中」である。
状態4のときに,プログラム実行部150から停止指示が発行されると,効果音再生管理部162は開始指示を破棄し,状態3へと移行する。
状態4のときに,レンダリングタイミング生成部181からタイミング通知が発行されると,効果音再生管理部162は停止指示を発行して,状態6へと移行する。
状態4のときに,効果音デコーダ172から完了通知が発行されると,効果音再生管理部162は完了通知を発行して,状態1へと移行する。
(5) State 4
In state 4, the reproduction status is “reproducing”, and both the start instruction hold status and the stop instruction hold status are “pending”.
When the stop instruction is issued from the
When the timing notification is issued from the rendering
When the completion notification is issued from the
(6)状態5
状態5のとき,再生状況は「非再生中」で,開始指示保留状況,停止指示保留状況の双方が「保留なし」である。
状態5のときに,プログラム実行部150から開始指示が発行されると,効果音再生管理部162は,状態6へと移行する。
状態5のときに,効果音デコーダ172から完了通知が発行されると,効果音再生管理部162は完了通知を発行して,状態0へと移行する。
(6) State 5
In state 5, the reproduction status is “Non-reproduction”, and both the start instruction hold status and the stop instruction hold status are “no hold”.
When the start instruction is issued from the
When a completion notification is issued from the
(7)状態6
状態6のとき,再生状況は「再生中」で,開始指示保留状況は「保留中」,停止指示保留状況は「保留なし」である。
状態6のときに,プログラム実行部150から停止指示が発行されると,効果音再生管理部162は,開始指示を破棄して,状態5へと移行する。
状態6のときに,効果音デコーダ172から完了通知が発行されると,効果音再生管理部162は完了通知を発行して,状態1へと移行する。
(7) State 6
In state 6, the reproduction status is “reproducing”, the start instruction hold status is “pending”, and the stop instruction hold status is “no hold”.
When a stop instruction is issued from the
When a completion notification is issued from the
本実施形態では,プログラム実行部150と効果音デコーダ172との間に効果音再生管理部162が配置され,グラフィック描画と効果音再生のタイミングを同期を図っている。
プログラムは,グラフィックレンダラ161でのレンダリング(グラフィック描画)と効果音デコーダ172による効果音の再生が同期することを前提として記述されるのが通例である。もし,プログラム実行部150で指示されたタイミングで,効果音デコーダ172での効果音の再生が開始されると,効果音がグラフィックの更新よりも先に出力され,期待に反する結果となる。効果音再生管理部162によってグラフィックの更新と効果音の出力とを同期させることができる。
In the present embodiment, a sound effect
The program is usually written on the assumption that the rendering (graphic drawing) by the
(第2の実施の形態)
図4は,本発明の第2の実施形態に係る画像再生装置200を示すブロック図である。
画像再生装置200は,動画・音声記憶部110,ビデオデコーダ121,オーディオデコーダ122,ビデオコンポジッタ131,オーディオミキサー132,プログラム情報記憶部241,状態情報記憶部242,プログラム実行部250,グラフィックレンダラ161,ミキサ設定管理部291,ミキサ設定部292,レンダリングタイミング生成部181,プログラム実行タイミング生成部182を有する。
(Second Embodiment)
FIG. 4 is a block diagram showing an
The
ミキサ設定部292は,オーディオミキサー232を設定するための信号を生成する。ミキサ設定部292は,所定の信号を生成する信号生成部として機能する。オーディオミキサー232の設定は,例えば,音量の設定である。オーディオミキサー232が複数のチャンネルを有する場合,チャンネル毎の音量の設定が可能である。即ち,オーディオミキサー232は,音声信号を調節する音声調節部として機能する。
ミキサ設定管理部291は,プログラム実行部250からのミキサの設定変更指示,およびレンダリングタイミング生成部181からのタイミング信号により,状態遷移を行う。ミキサ設定管理部291は,レンダリングタイミング生成部181からのタイミング信号をトリガーにして,変更指示を発行する。
The
The mixer
図5,図6は,状態遷移テーブル243が表す状態遷移関係を図示した模式図である。
図5は,ミキサ設定管理部291の状態遷移関係を表現した状態遷移図である。ミキサ設定管理部291が有する状態0〜状態1の遷移関係が表現されている。
図6は,図5の各状態を示した表である。状態0〜状態1それぞれと,変更指示保留状況の関係が表されている。
プログラム実行部250からの設定変更指示の発行により,ミキサ設定管理部291は,変更指示を保留しない状態0から変更指示を保留する状態1へと状態が遷移する。
レンダリングタイミング生成部181からのタイミング通知の発行により,ミキサ設定管理部291は,変更指示を発行し,変更指示を保留する状態1から変更指示を保留しない状態0へと状態が遷移する。
5 and 6 are schematic diagrams illustrating the state transition relationship represented by the state transition table 243.
FIG. 5 is a state transition diagram expressing the state transition relationship of the mixer
FIG. 6 is a table showing each state of FIG. The relationship between each of state 0 to state 1 and the change instruction hold status is shown.
When the setting change instruction is issued from the
When the timing notification is issued from the rendering
プログラム実行部250からグラフィックレンダラ161およびミキサ設定部292への指示は,プログラム実行タイミング生成部182からのタイミング信号に同期して発行される。このとき,ミキサ設定部292によるオーディオミキサー232の設定は,プログラム実行タイミング生成部182からのタイミング信号に同期して即時に実行される。一方,グラフィックレンダラ161によるグラフィック描画は,レンダリングタイミング生成部181からのタイミング信号に同期して実行される。
An instruction from the
本実施形態では,状態情報記憶部242に記憶される状態遷移テーブルに基づいて,ミキサ設定管理部291がオーディオミキサー232への設定変更指令を保留し,レンダリングタイミング生成部181からのタイミング信号に同期して(グラフィック更新のタイミング),オーディオミキサー232を設定する。この結果,グラフィックレンダラ161でのグラフィックの描画とオーディオミキサー232での設定変更とが同期して実行される。
In the present embodiment, based on the state transition table stored in the state
(第3の実施の形態)
図7は,本発明の第3の実施形態に係る画像再生装置300を示すブロック図である。
画像再生装置300は,動画・音声記憶部110,ビデオデコーダ121,オーディオデコーダ122,ビデオコンポジッタ131,プログラム情報記憶部341,状態情報記憶部342,プログラム実行部350,グラフィックレンダラ161,グラフィックデコーダ171,レンダリングタイミング生成部181,プログラム実行タイミング生成部182,表示効果設定管理部391,表示効果設定部392を有する。
(Third embodiment)
FIG. 7 is a block diagram showing an
The
表示効果設定部392は,ビデオデコーダ121を設定するための信号を生成する。表示効果設定部392は,所定の信号を生成する信号生成部として機能する。ビデオデコーダ121の設定は,例えば,グラフィックレンダラ161で描画された画面(副画面)の位置,背景色,透過率の設定である。
表示効果設定管理部391は,プログラム実行部350からの表示効果の設定変更指示,およびレンダリングタイミング生成部181からのタイミング信号により,状態遷移を行う。表示効果設定管理部391は,レンダリングタイミング生成部181からのタイミング信号をトリガーにして,変更指示を発行する。
The display
The display effect setting
プログラム実行部350からの設定変更指示の発行により,表示効果設定管理部391は,変更指示を保留しない状態0から変更指示を保留する状態1へと状態が遷移する。
レンダリングタイミング生成部181からのタイミング通知の発行により,表示効果設定管理部391は,変更指示を発行し,変更指示を保留する状態1から変更指示を保留しない状態0へと状態が遷移する。
表示効果設定管理部391での状態遷移関係は,第2の実施形態での図5,図6と実質的に同様なので,図示を省略する。
When the setting change instruction is issued from the
When the timing notification is issued from the rendering
Since the state transition relationship in the display effect setting
プログラム実行部350からグラフィックレンダラ161および表示効果設定部392への指示は,プログラム実行タイミング生成部182からのタイミング信号に同期して発行される。このとき,表示効果設定部392によるビデオデコーダ121の設定は,プログラム実行タイミング生成部182からのタイミング信号に同期して即時に実行される。一方,グラフィックレンダラ161によるグラフィック描画は,レンダリングタイミング生成部181からのタイミング信号に同期して実行される。
An instruction from the
本実施形態では,状態情報記憶部342に記憶される状態遷移テーブルに基づいて,表示効果設定管理部391が表示効果設定の変更を保留し,レンダリングタイミング生成部181からのタイミング信号に同期して(グラフィック更新のタイミング),ビデオデコーダ121を設定する。この結果,グラフィックレンダラ161でのグラフィックの描画とビデオデコーダ121での設定変更とが同期して実行される。
In the present embodiment, based on the state transition table stored in the state
(その他の実施形態)
本発明の実施形態は上記の実施形態に限られず拡張,変更可能であり,拡張,変更した実施形態も本発明の技術的範囲に含まれる。
例えば,上記実施形態では(1)効果音発生の開始・停止,(2)ミキサ設定変更,(3)表示効果設定変更それぞれが別個の場合を示した。しかし,これら(1)〜(3)中の2つまたは3つを任意に組み合わせても差し支えない。
(Other embodiments)
Embodiments of the present invention are not limited to the above-described embodiments, and can be expanded and modified. The expanded and modified embodiments are also included in the technical scope of the present invention.
For example, in the above embodiment, (1) start / stop of sound effect generation, (2) change in mixer setting, and (3) change in display effect setting are shown as separate cases. However, two or three of (1) to (3) may be arbitrarily combined.
100…画像再生装置,110…動画・音声記憶部,121…ビデオデコーダ,122…オーディオデコーダ,131…ビデオコンポジッタ,132…オーディオミキサー,141…プログラム情報記憶部,142…状態情報記憶部,150…プログラム実行部,161…グラフィックレンダラ,162…効果音再生管理部,171…グラフィックデコーダ,172…効果音デコーダ,181…レンダリングタイミング生成部,182…プログラム実行タイミング生成部,200…画像再生装置,241…プログラム情報記憶部,242…状態情報記憶部,250…プログラム実行部,291…ミキサ設定管理部,292…ミキサ設定部,300…画像再生装置,341…プログラム情報記憶部,342…状態情報記憶部,350…プログラム実行部,391…表示効果設定管理部,392…表示効果設定部
DESCRIPTION OF
Claims (8)
前記第1の同期信号と周期が異なる第2の同期信号を生成する第2の同期信号生成部と,
前記第2の同期信号と同期して,画像データを生成する画像生成部と,
前記第1の同期信号と同期して,所定の信号を生成する信号生成部と,
前記所定の信号の生成を制御する指令を発する制御部と,
前記制御部からの指令および前記第1の同期信号に基づいて状態が遷移し,前記信号生成部への指令を管理する信号生成管理部と,
前記信号生成管理部の状態を表す状態情報を記憶する第1の記憶部と,
前記信号生成管理部の状態遷移を記述する状態遷移テーブルを記憶する第2の記憶部と,を具備し,
前記状態遷移テーブルが,
前記制御部からの指令の受信によって,前記信号生成管理部が,この指令を保留しない第1の状態から,この指令を保留する第2の状態へと移行し,
前記第2の同期信号の受信によって,前記信号生成管理部が,前記信号生成部に指令を発行し,前記第2の状態から前記第1の状態または他の状態へと移行することを表す,
ことを特徴とする画像再生装置。 A first synchronization signal generator for generating a first synchronization signal;
A second synchronization signal generating unit that generates a second synchronization signal having a period different from that of the first synchronization signal;
An image generation unit that generates image data in synchronization with the second synchronization signal;
A signal generator for generating a predetermined signal in synchronization with the first synchronization signal;
A control unit for issuing a command for controlling generation of the predetermined signal;
A signal generation management unit for managing a command to the signal generation unit, a state transition based on the command from the control unit and the first synchronization signal;
A first storage unit for storing state information indicating a state of the signal generation management unit;
A second storage unit for storing a state transition table describing a state transition of the signal generation management unit,
The state transition table is
By receiving a command from the control unit, the signal generation management unit shifts from a first state in which the command is not held to a second state in which the command is held,
The reception of the second synchronization signal indicates that the signal generation management unit issues a command to the signal generation unit and shifts from the second state to the first state or another state.
An image reproducing apparatus characterized by that.
前記状態遷移テーブルが,
前記制御部からの音声信号の再生開始指令の受信によって,前記信号生成管理部が,この再生開始指令を保留しない第1の状態から,この再生開始指令を保留する第2の状態に移行し,
前記第2の同期信号の受信によって,前記信号生成管理部が,前記信号生成部に音声信号の再生開始指令を発行し,前記第2の状態から,この再生開始指令を保留しない第3の状態に移行することを表す,
ことを特徴とする請求項1記載の画像再生装置。 The predetermined signal is an audio signal;
The state transition table is
When the audio signal reproduction start command is received from the control unit, the signal generation management unit shifts from a first state where the reproduction start command is not held to a second state where the reproduction start command is held,
In response to the reception of the second synchronization signal, the signal generation management unit issues an audio signal reproduction start command to the signal generation unit, and the third state in which the reproduction start command is not suspended from the second state. Represents the transition to
The image reproducing apparatus according to claim 1, wherein:
前記制御部からの音声信号の再生停止指令の受信によって,前記信号生成管理部が,前記第3の状態から,前記再生開始指令を保留せず,前記再生停止指令を保留する第4の状態に移行することを表す,
ことを特徴とする請求項2記載の画像再生装置。 The state transition table is
Upon receipt of the audio signal reproduction stop command from the control unit, the signal generation management unit changes from the third state to the fourth state in which the reproduction start command is not suspended but the reproduction stop command is suspended. Representing migration,
The image reproducing apparatus according to claim 2, wherein:
前記第1の同期信号の受信によって,前記信号生成管理部が,前記信号生成部に音声信号の再生停止指令を発行し,前記第4の状態から,前記再生開始指令および前記再生停止指令を保留しない第5の状態に移行することを表す,
ことを特徴とする請求項3記載の画像再生装置。 The state transition table is
Upon receipt of the first synchronization signal, the signal generation management unit issues an audio signal reproduction stop command to the signal generation unit, and holds the reproduction start command and the reproduction stop command from the fourth state. Represents a transition to the fifth state,
The image reproduction apparatus according to claim 3.
画像・音声ストリームから音声信号を再生する音声再生部と,
前記第2の同期信号に同期して,前記再生された音声信号を調節する音声調節部と,をさらに具備し,
前記所定の信号が,前記音声調節部への設定用信号である
ことを特徴とする請求項1記載の画像再生装置。 The image reproducing device is
An audio playback unit for playing back audio signals from image and audio streams;
An audio adjustment unit that adjusts the reproduced audio signal in synchronization with the second synchronization signal;
The image reproduction apparatus according to claim 1, wherein the predetermined signal is a setting signal to the sound adjustment unit.
前記所定の信号が,前記画像再生部への表示効果設定用信号である
ことを特徴とする請求項1記載の画像再生装置。 The image reproduction device further includes an image reproduction unit that reproduces an image signal from an image / sound stream in synchronization with the second synchronization signal;
The image reproduction apparatus according to claim 1, wherein the predetermined signal is a display effect setting signal to the image reproduction unit.
前記制御部が発行した指令に基づいて,前記信号生成管理部が,この指令を保留しない第1の状態から,この指令を保留する第2の状態に移行するステップと,
第2の同期信号に同期して,前記信号生成管理部が,信号生成部に指令を発行し,前記第2の状態から前記第1の状態または他の状態に移行するステップと,
前記信号生成管理部が発行した指令に基づいて,前記信号生成部が音声を再生するステップと,
を具備することを特徴とする画像再生方法。 A step in which the control unit issues a command to the signal generation management unit in synchronization with the first synchronization signal;
Based on a command issued by the control unit, the signal generation management unit transitions from a first state in which the command is not suspended to a second state in which the command is suspended;
In synchronization with a second synchronization signal, the signal generation management unit issues a command to the signal generation unit to shift from the second state to the first state or another state;
Based on a command issued by the signal generation management unit, the signal generation unit reproduces sound;
An image reproduction method comprising:
前記制御部からの指令が,音声信号の再生開始指令である,
ことを特徴とする請求項7記載の画像再生方法。 The predetermined signal is an audio signal;
The command from the control unit is an audio signal reproduction start command.
8. An image reproducing method according to claim 7, wherein
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006225594A JP2008053828A (en) | 2006-08-22 | 2006-08-22 | Image reproduction device and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006225594A JP2008053828A (en) | 2006-08-22 | 2006-08-22 | Image reproduction device and method thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008053828A true JP2008053828A (en) | 2008-03-06 |
Family
ID=39237482
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006225594A Withdrawn JP2008053828A (en) | 2006-08-22 | 2006-08-22 | Image reproduction device and method thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008053828A (en) |
-
2006
- 2006-08-22 JP JP2006225594A patent/JP2008053828A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100661895B1 (en) | Video data processing apparatus | |
JP4618305B2 (en) | Image processing apparatus, image processing method, and program | |
EP2806652A1 (en) | Method and system of playing real time online video at variable speed | |
JP2010205399A (en) | Reproducing method | |
JP2006041885A (en) | Information processing apparatus and method therefor, recording medium and program | |
US20070233819A1 (en) | Content playing system, playing apparatus, streaming play method and computer-readable recording medium | |
JP2010087823A (en) | Device and system for video playback | |
JP2013120203A (en) | Image display device, image display system, and image display device control method | |
JP5010666B2 (en) | Information processing device | |
JP2009128782A (en) | Display controller and image forming apparatus using the same | |
JP2007013714A (en) | Information playback apparatus and information playback method | |
JP2008053828A (en) | Image reproduction device and method thereof | |
WO2018173312A1 (en) | Virtual reality viewing system, reproduction synchronizing method, and virtual reality viewing program | |
KR100765797B1 (en) | Method for controlling a source apparatus using cec of hdmi and the source apparatus | |
JP6451098B2 (en) | Content playback apparatus and content playback system | |
US8116484B2 (en) | Sound output device, control method for sound output device, and information storage medium | |
JP2007150787A (en) | Reproducing content switching system for video/sound equipment | |
JP2010054963A (en) | Karaoke device | |
JP2011128942A (en) | Image-voice processing apparatus and control method thereof, and image-voice processing system equipped with image-voice processing apparatus | |
JP2011090110A (en) | Reproducing apparatus and method of controlling the same | |
JP2005284196A (en) | Recording, reproduction and distribution control of presentation using projector | |
JP2009060254A (en) | Reproducing device, reproducing method, and format | |
JP2003173614A (en) | Disk reproducing system and display device | |
CN117615191A (en) | Multimedia resource playing method and playing equipment | |
JP5055220B2 (en) | Image display device and image display method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20091110 |