JP5493362B2 - Movie playback apparatus and program - Google Patents

Movie playback apparatus and program Download PDF

Info

Publication number
JP5493362B2
JP5493362B2 JP2009007744A JP2009007744A JP5493362B2 JP 5493362 B2 JP5493362 B2 JP 5493362B2 JP 2009007744 A JP2009007744 A JP 2009007744A JP 2009007744 A JP2009007744 A JP 2009007744A JP 5493362 B2 JP5493362 B2 JP 5493362B2
Authority
JP
Japan
Prior art keywords
image
frame
decoding
image frames
image frame
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.)
Active
Application number
JP2009007744A
Other languages
Japanese (ja)
Other versions
JP2010166386A (en
Inventor
善樹 石毛
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2009007744A priority Critical patent/JP5493362B2/en
Publication of JP2010166386A publication Critical patent/JP2010166386A/en
Application granted granted Critical
Publication of JP5493362B2 publication Critical patent/JP5493362B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、動画再生装置、この動画再生装置のコンピュータに実行させるプログラムに関する。   The present invention relates to a moving image playback apparatus and a program executed by a computer of the moving image playback apparatus.

近年、デジタル動画像データの伝送・蓄積を行う場合には、デジタル動画像圧縮伸長技術を用いて数10分の1に圧縮処理し、伝送レートや蓄積容量の負荷を低減するようにしている。このようなデジタル動画像圧縮伸長技術としては、動画像専用のMPEG1/MPEG2/MPEG4や、静止画像を連続したフレームとして扱うMotion JPEGなど様々な方式が用いられるようになっている。   In recent years, when digital moving image data is transmitted / stored, it is compressed to several tenths using a digital moving image compression / decompression technique to reduce the load on the transmission rate and storage capacity. As such a digital moving image compression / decompression technique, various methods such as MPEG1 / MPEG2 / MPEG4 dedicated to moving images and Motion JPEG that handles still images as continuous frames are used.

ところで、符号化された動画データを復号して複数の画像フレームを生成する処理は、画像フレーム毎にデコード時間が異なる場合がある。即ち、動き補償を行って動画データを符号化した場合、デコードの際にマクロブロックの分割数の変動などでCPUに対する負荷が画像フレーム毎に異なる。このため、所定の再生表示タイミングまでにデコードが終了しない画像フレームが生じてしまい、コマ落ちが顕著になる。   By the way, in the process of decoding the encoded moving image data and generating a plurality of image frames, the decoding time may be different for each image frame. That is, when moving image data is encoded by performing motion compensation, the load on the CPU differs for each image frame due to a change in the number of macroblock divisions during decoding. For this reason, an image frame in which decoding does not end by a predetermined reproduction display timing occurs, and frame dropping becomes remarkable.

そこで、このような問題を解決すべく、特許文献1に記載されているデジタル動画像圧縮・伸張処理を用いたリアルタイム録画再生装置においては、フレームレート制御部を持つことにより、圧縮時に処理が間に合わない場合は補間処理を行い、伸張時に処理が間に合わない場合はコマ落とし処理を行うようにし、特に伸張時のコマ落としは、圧縮時に補間処理を行ったフレームを優先的にコマ落とし処理する技術が開示されている。   Therefore, in order to solve such a problem, the real-time recording / playback apparatus using the digital moving image compression / decompression process described in Patent Document 1 has a frame rate control unit so that the process can be made in time during compression. If there is not, interpolation processing is performed. If the processing is not in time for decompression, frame drop processing is performed. It is disclosed.

特開2001−309303号公報JP 2001-309303 A

しかしながら、上述したような特許文献1に開示された技術によれば、圧縮時の補間処理は実質的には間引き処理であり、結果的にはフレームレートを低下させるため、コマ落としによりフレームレートを低下させて処理のリアルタイム性を確保しているにすぎず、表示される動画像は動きが滑らかでない画像となってしまうという問題がある。   However, according to the technique disclosed in Patent Document 1 as described above, the interpolation process at the time of compression is substantially a thinning process. As a result, the frame rate is lowered, so that the frame rate is reduced by dropping frames. Only the real-time property of the processing is ensured by lowering, and there is a problem that the displayed moving image becomes a non-smooth image.

そこで、本発明の課題は、動画を滑らかに再生することができる動画再生装置及びプログラムを提供することである。   Accordingly, an object of the present invention is to provide a moving image reproducing apparatus and a program that can smoothly reproduce a moving image.

上記課題を解決するため、請求項1に記載の発明は、連続した複数の画像フレームが符号化された符号化動画データを記録する記録手段と、前記符号化動画データを復号して前記複数の画像フレームを生成する復号手段と、前記復号手段により生成された前記複数の画像フレームを所定のフレームレートで切り換えて再生する再生手段と、前記複数の画像フレームのうち、連続した所定数の画像フレーム群について、前記復号手段による各画像フレームの生成にかかるデコード時間が、前記再生手段による前記所定のフレームレートに応じた各画像フレームの再生時間以上となった遅延数を計数する計数手段と、前記計数手段により計数された前記遅延数が所定数以上となったか否かを判定する数判定手段と、前記数判定手段により前記遅延数が所定数以上となったと判定された場合に、前記画像フレーム群の中から前記復号手段により復号されて生成される二つの画像フレームを所定間隔を空けて特定し、当該二つの画像フレーム間で再生予定の一の画像フレームに相当する補間画像フレームを生成する補間画像生成手段と、前記補間画像生成手段により生成された補間画像フレームを前記二つの画像フレーム間に挿入して前記再生手段に再生させる再生制御手段と、を備えることを特徴とする動画再生装置を提供するものである。 In order to solve the above-mentioned problem, the invention according to claim 1 is characterized in that recording means for recording encoded moving image data in which a plurality of continuous image frames are encoded, and decoding the encoded moving image data to generate the plurality of pieces Decoding means for generating image frames, reproduction means for switching and reproducing the plurality of image frames generated by the decoding means at a predetermined frame rate, and a predetermined number of consecutive image frames among the plurality of image frames A counting means for counting the number of delays for which the decoding time required for generating each image frame by the decoding means is equal to or longer than the reproduction time of each image frame according to the predetermined frame rate by the reproduction means for the group; Number determination means for determining whether or not the number of delays counted by the counting means is equal to or greater than a predetermined number, and the delay by the number determination means When it is determined that the number of images exceeds a predetermined number, two image frames generated by decoding by the decoding unit are specified from the image frame group with a predetermined interval, and between the two image frames An interpolated image generating means for generating an interpolated image frame corresponding to one image frame to be reproduced, and an interpolated image frame generated by the interpolated image generating means is inserted between the two image frames to be reproduced by the reproducing means. And a playback control means for providing a moving image playback apparatus.

請求項2に記載の発明は、前記補間画像生成手段は、前記再生手段が前記複数の画像フレームを前記所定のフレームレートよりも高速のフレームレートで再生する場合に、前記補間画像フレームを生成することを特徴とする請求項1に記載の動画再生装置を提供するものである。 The interpolated image generating means generates the interpolated image frame when the reproducing means reproduces the plurality of image frames at a frame rate faster than the predetermined frame rate. The moving picture reproducing apparatus according to claim 1 is provided.

請求項3に記載の発明は、前記補間画像生成手段は、前記二つの画像フレームの中間画像フレーム或いはモーフィング画像フレームを前記補間画像として生成することを特徴とする請求項1または2に記載の動画再生装置を提供するものである。 According to a third aspect of the present invention, the interpolated image generating means generates an intermediate image frame or a morphed image frame of the two image frames as the interpolated image. A playback device is provided.

請求項4に記載の発明は、前記補間画像生成手段は、前記二つの画像フレーム間の画像フレーム数に応じた数で、且つ、前記二つの画像フレームに対する相対的な再生位置に応じて重み付けを代えて前記補間画像フレームを生成することを特徴とする請求項3に記載の動画再生装置を提供するものである。 According to a fourth aspect of the present invention, the interpolated image generating means weights the number according to the number of image frames between the two image frames and according to a relative reproduction position with respect to the two image frames. 4. The moving image reproducing apparatus according to claim 3, wherein the interpolated image frame is generated instead.

請求項5に記載の発明は、一のシーンを撮像して、連続した複数の画像フレームを生成する撮像手段と、前記撮像手段により生成された前記複数の画像フレームを符号化して符号化動画データを生成する符号化手段と、を更に備えることを特徴とする請求項1〜4の何れか一項に記載の動画再生装置を提供するものである。 According to a fifth aspect of the present invention, there is provided imaging means for imaging one scene and generating a plurality of continuous image frames, and encoding moving image data by encoding the plurality of image frames generated by the imaging means. The video reproduction apparatus according to any one of claims 1 to 4, further comprising: an encoding unit that generates the video.

請求項6に記載の発明は、連続した複数の画像フレームが符号化された符号化動画データを記録する記録手段を備える動画再生装置のコンピュータを、前記符号化動画データを復号して前記複数の画像フレームを生成する復号手段、前記複数の画像フレームのうち、連続した所定数の画像フレーム群について、前記復号手段による各画像フレームの生成にかかるデコード時間が、前記複数の画像フレームを所定のフレームレートで切り換えて再生する再生手段による前記所定のフレームレートに応じた各画像フレームの再生時間以上となった遅延数を計数する計数手段、前記計数手段により計数された前記遅延数が所定数以上となったか否かを判定する数判定手段、前記数判定手段により前記遅延数が所定数以上となったと判定された場合に、前記画像フレーム群の中から前記復号手段により復号されて生成される二つの画像フレームを所定間隔を空けて特定し、当該二つの画像フレーム間で再生予定の一の画像フレームに相当する補間画像フレームを生成する補間画像生成手段、前記補間画像生成手段により生成された補間画像フレームを前記二つの画像フレーム間に挿入して前記再生手段に再生させる再生制御手段、として機能させることを特徴とするプログラムを提供するものである。 According to a sixth aspect of the present invention, there is provided a computer of a moving image reproducing apparatus provided with a recording unit that records encoded moving image data in which a plurality of continuous image frames are encoded. Decoding means for generating image frames, and for a predetermined number of consecutive image frame groups among the plurality of image frames, the decoding time required for generating each image frame by the decoding means Counting means for counting the number of delays equal to or longer than the playback time of each image frame corresponding to the predetermined frame rate by the playback means for switching and reproducing at a rate, and the delay number counted by the counting means is equal to or greater than a predetermined number Number determining means for determining whether or not the number of delays has been determined by the number determining means to be greater than or equal to a predetermined number An interpolated image frame corresponding to one image frame scheduled to be reproduced between the two image frames by identifying two image frames generated by decoding by the decoding means from the image frame group with a predetermined interval. Interpolated image generating means for generating the interpolated image frame, and a reproducing control means for inserting the interpolated image frame generated by the interpolated image generating means between the two image frames and causing the reproducing means to reproduce the program. Is to provide.

本発明によれば、動画を滑らかに再生することができる。   According to the present invention, a moving image can be smoothly reproduced.

本発明を適用した実施形態1の動画再生装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the moving image reproducing device of Embodiment 1 to which this invention is applied. 図1の動画再生装置による動画デコード処理に係る動作の一例を示すフローチャートである。6 is a flowchart illustrating an example of an operation related to a moving image decoding process performed by the moving image reproducing apparatus in FIG. 1. 図2の動画デコード処理を説明するための図である。It is a figure for demonstrating the moving image decoding process of FIG. 本発明を適用した実施形態2の動画再生装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the moving image reproduction apparatus of Embodiment 2 to which this invention is applied. 図4の動画再生装置による動画デコード処理を説明するための図である。It is a figure for demonstrating the moving image decoding process by the moving image reproducing device of FIG. 図4の動画再生装置による動画デコード処理に係る動作の一例を示すフローチャートである。5 is a flowchart illustrating an example of an operation related to a moving image decoding process performed by the moving image reproducing device in FIG. 4. 図6の動画デコード処理を説明するための図である。It is a figure for demonstrating the moving image decoding process of FIG. 本発明を適用した実施形態3の動画再生装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the moving image reproducing device of Embodiment 3 to which this invention is applied. 図8の動画再生装置による動画再生処理に係る動作の一例を示すフローチャートである。It is a flowchart which shows an example of the operation | movement which concerns on the moving image reproduction process by the moving image reproducing device of FIG. 図9の動画再生処理を説明するための図である。It is a figure for demonstrating the moving image reproduction process of FIG.

以下に、本発明について、図面を用いて具体的な態様を説明する。ただし、発明の範囲は、図示例に限定されない。   Hereinafter, specific embodiments of the present invention will be described with reference to the drawings. However, the scope of the invention is not limited to the illustrated examples.

[実施形態1]
図1は、本発明を適用した実施形態1の動画再生装置100の概略構成を示すブロック図である。
実施形態1の動画再生装置100は、MPEG形式の動画像データを構成する複数の画像フレームのうち、二つの画像フレーム間で再生予定の一の画像フレームに相当する補間画像フレームを生成し、復号部6aによる一の画像フレームの生成にかかるデコード時間が、表示部5による所定の再生フレームレートに応じた各画像フレームの再生時間以上となった場合に、補間画像フレームを一の画像フレームに代えて表示部5に再生表示させる。
具体的には、図1及び図2に示すように、動画再生装置100は、CPU1と、メモリ2と、記録媒体3と、表示制御部4と、表示部5と、CODEC6と、操作入力部7とを備えている。
[Embodiment 1]
FIG. 1 is a block diagram showing a schematic configuration of a moving image playback apparatus 100 according to the first embodiment to which the present invention is applied.
The moving image reproducing apparatus 100 according to the first embodiment generates an interpolated image frame corresponding to one image frame scheduled to be reproduced between two image frames out of a plurality of image frames constituting moving image data in MPEG format, and performs decoding. When the decoding time required to generate one image frame by the unit 6a is equal to or longer than the reproduction time of each image frame corresponding to a predetermined reproduction frame rate by the display unit 5, the interpolated image frame is replaced with one image frame. To reproduce and display on the display unit 5.
Specifically, as shown in FIGS. 1 and 2, the moving image playback apparatus 100 includes a CPU 1, a memory 2, a recording medium 3, a display control unit 4, a display unit 5, a CODEC 6, and an operation input unit. 7.

記録媒体3は、例えば、不揮発性メモリ(フラッシュメモリ)等により構成され、CODEC6により符号化されたJPEG形式の静止画像データやMPEG形式の動画像データを記録する。
ここで、記録媒体3は、連続した複数の画像フレームがMPEG形式で符号化された符号化動画データを記録する記録手段を構成している。
The recording medium 3 is composed of, for example, a non-volatile memory (flash memory) or the like, and records JPEG format still image data or MPEG format moving image data encoded by the CODEC 6.
Here, the recording medium 3 constitutes recording means for recording encoded moving image data in which a plurality of continuous image frames are encoded in the MPEG format.

表示制御部4は、メモリ2に一時的に記憶されている表示用画像データを読み出して表示部5に表示させる制御を行う。具体的には、表示制御部4は、VRAM、VRAMコントローラ、デジタルビデオエンコーダなどを備えている。そして、デジタルビデオエンコーダは、CPU1の制御下にてメモリ2から読み出されてVRAM(図示略)に記憶されている輝度信号Y及び色差信号Cb,Crを、VRAMコントローラを介してVRAMから定期的に読み出して、これらのデータを元にビデオ信号を発生して表示部5に出力する。   The display control unit 4 performs control to read display image data temporarily stored in the memory 2 and display the display image data on the display unit 5. Specifically, the display control unit 4 includes a VRAM, a VRAM controller, a digital video encoder, and the like. The digital video encoder periodically reads the luminance signal Y and the color difference signals Cb and Cr read from the memory 2 and stored in the VRAM (not shown) under the control of the CPU 1 from the VRAM via the VRAM controller. And a video signal is generated based on these data and output to the display unit 5.

表示部5は、表示制御部4からのビデオ信号に基づいて、記録媒体3に記録されたMPEG形式の動画像データがCODEC6により復号されることで生成された複数の画像フレームを所定の再生フレームレートで切り換えて再生する。
ここで、表示部5は、復号部6aにより復号されて生成された複数の画像フレームを所定のフレームレートで切り換えて再生する再生手段を構成している。
Based on the video signal from the display control unit 4, the display unit 5 converts a plurality of image frames generated by decoding the moving image data in the MPEG format recorded on the recording medium 3 by the CODEC 6 into predetermined playback frames. Play by switching at the rate.
Here, the display unit 5 constitutes reproduction means for switching and reproducing a plurality of image frames generated by decoding by the decoding unit 6a at a predetermined frame rate.

CODEC6は、CPU1の制御下にて、所定の符号化方式に従って復号(デコード)を行う。具体的には、CODEC6は、復号部6aと、時間判定部6bと、制御部6cとを備えて構成されている。   The CODEC 6 performs decoding (decoding) according to a predetermined encoding method under the control of the CPU 1. Specifically, the CODEC 6 includes a decoding unit 6a, a time determination unit 6b, and a control unit 6c.

復号部6aは、画像の再生時には、記録媒体3から読み出されてメモリ2に格納された符号化データを復号して表示用画像データを生成する。具体的には、復号部6aは、メモリ2に格納されたMPEG形式で符号化されている動画像データを復号して、複数の画像フレームを生成する。
ここで、復号部6aは、符号化動画データを復号して複数の画像フレームを生成する復号手段を構成している。
When the image is reproduced, the decoding unit 6a decodes the encoded data read from the recording medium 3 and stored in the memory 2 to generate display image data. Specifically, the decoding unit 6a decodes moving image data encoded in the MPEG format stored in the memory 2, and generates a plurality of image frames.
Here, the decoding unit 6a constitutes decoding means for decoding the encoded moving image data and generating a plurality of image frames.

時間判定部6bは、時間判定手段として、復号部6aにより生成される複数の画像フレームの各々について、当該各々の画像フレームの生成にかかるデコード時間が、表示部5による所定の再生フレームレートに応じた各画像フレームの再生時間以上となったか否かを判定する。   The time determination unit 6b serves as a time determination unit, for each of a plurality of image frames generated by the decoding unit 6a, the decoding time required to generate each image frame depends on a predetermined playback frame rate by the display unit 5. It is determined whether or not the reproduction time of each image frame has been reached.

制御部6cは、当該CODEC6の各部を制御するCPU等を備えている。
また、制御部6cは、復号部6aにより複数の画像フレームの各々をデコードする際に、補間画像フレームとして、予め復号部6aによりデコードされた先行フレームと直前の画像フレームとの間で、画素値を平均して中間画像フレームを生成する。なお、制御部6cは、補間画像フレームとして、先行フレームと直前の画像フレームとの間のモーフィング画像フレームを生成しても良い。
ここで、制御部6cは、複数の画像フレームのうち、復号部6aにより生成された二つの画像フレームから、当該二つの画像フレーム間で再生予定の一の画像フレームに相当する補間画像フレームを生成する補間画像生成手段を構成している。
The control unit 6 c includes a CPU that controls each unit of the CODEC 6.
In addition, when the decoding unit 6a decodes each of the plurality of image frames, the control unit 6c uses, as an interpolated image frame, a pixel value between the preceding frame decoded in advance by the decoding unit 6a and the immediately preceding image frame. Are averaged to generate an intermediate image frame. The control unit 6c may generate a morphing image frame between the preceding frame and the immediately preceding image frame as the interpolation image frame.
Here, the control unit 6c generates an interpolated image frame corresponding to one image frame to be reproduced between the two image frames from the two image frames generated by the decoding unit 6a among the plurality of image frames. The interpolated image generating means is configured.

また、制御部6cは、時間判定部6bにより複数の画像フレームのうちの何れか一の画像フレームのデコード時間が再生時間以上となったと判定された場合に、生成した補間画像フレームを当該一の画像フレームに代えて表示部5で再生表示させる表示制御信号を表示制御部4に出力する。
そして、表示制御部4は、制御部6cから出力された表示制御信号が入力されると、当該制御信号に従って補間画像フレームを表示部5に再生表示させる。
ここで、制御部6c及び表示制御部4は、時間判定部6bによりデコード時間が再生時間以上となったと判定された場合に、生成した補間画像フレームを一の画像フレームに代えて表示部5に再生表示させる再生制御手段を構成している。
In addition, when the time determination unit 6b determines that the decoding time of any one of the plurality of image frames is equal to or longer than the reproduction time, the control unit 6c converts the generated interpolated image frame into the one interpolated image frame. A display control signal to be reproduced and displayed on the display unit 5 is output to the display control unit 4 instead of the image frame.
When the display control signal output from the control unit 6c is input, the display control unit 4 reproduces and displays the interpolated image frame on the display unit 5 in accordance with the control signal.
Here, the control unit 6c and the display control unit 4 replace the generated interpolated image frame with the one image frame in the display unit 5 when the time determination unit 6b determines that the decoding time is equal to or longer than the reproduction time. Reproduction control means for reproducing and displaying is configured.

操作入力部7は、当該動画再生装置100の所定操作を行うためのものである。具体的には、図示は省略するが、操作入力部7は、機能選択や表示設定等に係るメニュー画面の表示指示に係るメニューボタン、動作モード等の選択や決定指示に係る選択決定ボタン等を備えている。そして、操作入力部7は、これらのボタンの操作に応じて所定の操作信号をCPU1に出力する。   The operation input unit 7 is for performing a predetermined operation of the moving image playback apparatus 100. Specifically, although not shown in the figure, the operation input unit 7 includes a menu button related to a display instruction of a menu screen related to function selection, display setting, etc., a selection determination button related to selection of an operation mode, etc., and a determination instruction. I have. And the operation input part 7 outputs a predetermined operation signal to CPU1 according to operation of these buttons.

メモリ2は、例えば、フラッシュメモリ等により構成され、CPU1やCODEC6によって処理されるデータ等を一時記憶する。   The memory 2 is composed of, for example, a flash memory and temporarily stores data processed by the CPU 1 and the CODEC 6.

CPU1は、動画再生装置100の各部を制御するものである。具体的には、CPU1は、動画再生装置100用の各種処理プログラムに従って各種の制御動作を行うものである。   The CPU 1 controls each part of the moving image playback apparatus 100. Specifically, the CPU 1 performs various control operations according to various processing programs for the moving image playback apparatus 100.


次に、動画再生装置100による動画デコード処理について、図2及び図3を参照して説明する。
図2は、動画デコード処理に係る動作の一例を示すフローチャートであり、図3は、動画デコード処理を説明するための図である。なお、図3にあっては、表示部5に補間画像フレームとして表示されるフレームを模式的にドットで表している。
"
Next, video decoding processing by the video playback device 100 will be described with reference to FIGS.
FIG. 2 is a flowchart showing an example of an operation related to the moving picture decoding process, and FIG. 3 is a diagram for explaining the moving picture decoding process. In FIG. 3, a frame displayed as an interpolation image frame on the display unit 5 is schematically represented by dots.

動画デコード処理は、ユーザによる操作入力部7の所定操作に基づいて再生モードが選択され、再生表示対象として記録媒体3にMPEG形式で符号化された動画像データが選択された場合に実行される処理である。
図2に示すように、CODEC6の制御部6cは、記録媒体3に記録されているMPEG形式の動画像データを読み出すと、復号部6aに所定の制御信号を出力して、当該動画像データの最初の画像フレーム(先頭フレーム)をデコードさせる(ステップS1)。また、制御部6cは、デコードされた先頭フレームをメモリ2に転送して一時的に記憶させる。
The video decoding process is executed when a playback mode is selected based on a predetermined operation of the operation input unit 7 by the user, and moving image data encoded in the MPEG format on the recording medium 3 is selected as a playback display target. It is processing.
As shown in FIG. 2, when the control unit 6c of the CODEC 6 reads MPEG format moving image data recorded on the recording medium 3, it outputs a predetermined control signal to the decoding unit 6a, The first image frame (first frame) is decoded (step S1). Further, the control unit 6c transfers the decoded head frame to the memory 2 and temporarily stores it.

次に、制御部6cは、MPEG形式の動画像データを構成し、先頭フレームに連続する次のエンコードフレームが存するか否かを判定する(ステップS2)。
ここで、次のエンコードフレームが存すると判定されると(ステップS2;YES)、制御部6cは、当該エンコードフレームが未だデコードされていないか(未デコードか否か)を判定する(ステップS3)。
Next, the control unit 6c determines whether or not there is a next encoded frame that forms the moving image data in the MPEG format and continues to the first frame (step S2).
If it is determined that the next encoded frame exists (step S2; YES), the control unit 6c determines whether the encoded frame has not been decoded yet (whether it has not been decoded) (step S3). .

そして、未だデコードされていないと判定されると(ステップ3;YES)、制御部6cは、当該エンコードフレームよりも先行してデコードされた画像フレーム(デコード済み先行フレーム)が存するか否かを判定する(ステップS4)。
ここで、デコード済み先行フレームが存しないと判定されると(ステップS4;NO)、制御部6cは、復号部6aに所定の制御信号を出力して、予め定められている一定間隔先の画像フレームのデコードを開始させる(ステップS5)。そして、復号部6aによる一定間隔先の画像フレーム(先行フレーム)のデコードが完了することにより(ステップS6)、予めデコード済み先行フレームが用意された状態となる。
If it is determined that the image has not been decoded yet (step 3; YES), the control unit 6c determines whether or not there is an image frame (decoded preceding frame) that is decoded prior to the encoded frame. (Step S4).
Here, when it is determined that there is no decoded preceding frame (step S4; NO), the control unit 6c outputs a predetermined control signal to the decoding unit 6a, and images at predetermined intervals ahead are determined. Frame decoding is started (step S5). Then, when the decoding of the image frame (preceding frame) ahead by a predetermined interval by the decoding unit 6a is completed (step S6), a state in which a previously decoded preceding frame is prepared is obtained.

その後、制御部6cは、復号部6aに所定の制御信号を出力して、先頭フレームに連続する次のエンコードフレームのデコードを開始させるとともに(ステップS7)、当該デコード処理と並行させて、先行フレームと直前の画像フレーム(先頭フレーム)との間の補間画像フレームを生成する(ステップS8)。
また、ステップS4にて、デコード済み先行フレームが存すると判定されると(ステップS4;YES)、制御部6cは、処理をステップS7に移行させる。
Thereafter, the control unit 6c outputs a predetermined control signal to the decoding unit 6a to start decoding of the next encoded frame continuous to the first frame (step S7), and in parallel with the decoding process, the preceding frame And an interpolated image frame between the previous image frame (first frame) (step S8).
If it is determined in step S4 that a decoded preceding frame exists (step S4; YES), the control unit 6c shifts the process to step S7.

続けて、制御部6cは、次のエンコードフレームのデコードが所定の再生フレームレートに応じた各画像フレームの再生時間(再生フレームレート時間)以内に完了したか否かを時間判定部6bに判定させる(ステップS9)。
ここで、次のエンコードフレームのデコードが再生フレームレート時間以内に完了したと判定されると(ステップS9;YES)、制御部6cは、次の再生画像フレームとして、デコードされた画像フレーム(デコード画像)を採用する(ステップS10)。また、ステップS3にて、次のエンコードフレームが未デコードでないと判定されると(ステップS3;YES)、例えば、先行フレームのように、既にデコードされている場合には、制御部6cは、処理をステップS7に移行させる。
一方、次のエンコードフレームのデコードが再生フレームレート時間以内に完了しなかったと判定されると(ステップS9;NO)、例えば、「NO.3フレーム」(図3参照)のように、デコードが再生フレームレート時間以内に完了しなかった場合には、制御部6cは、次の再生画像フレームとして、補間画像フレームを(補間画像;「NO.3(補間)フレーム」)を採用して、実行中のデコード処理(「NO.3フレーム」のデコード処理)を中止させる(ステップS11)。
Subsequently, the control unit 6c causes the time determination unit 6b to determine whether or not the decoding of the next encoded frame has been completed within the reproduction time (reproduction frame rate time) of each image frame corresponding to a predetermined reproduction frame rate. (Step S9).
If it is determined that decoding of the next encoded frame is completed within the playback frame rate time (step S9; YES), the control unit 6c uses the decoded image frame (decoded image) as the next playback image frame. ) Is adopted (step S10). If it is determined in step S3 that the next encoded frame is not undecoded (step S3; YES), for example, if the decoded frame has already been decoded as in the preceding frame, the control unit 6c performs processing. To step S7.
On the other hand, when it is determined that the decoding of the next encoded frame has not been completed within the playback frame rate time (step S9; NO), the decoding is played back as in “NO.3 frame” (see FIG. 3), for example. If it is not completed within the frame rate time, the control unit 6c adopts the interpolated image frame (interpolated image; “NO.3 (interpolated) frame”) as the next reproduced image frame and is executing The decoding process (decoding process of “NO.3 frame”) is stopped (step S11).

その後、制御部6cは、処理をステップS2に移行させ、上記の処理を、ステップS2にて、次のエンコードフレームが存しないと判定されるまで(ステップS2;NO)、繰り返すことで、CODEC6は、MPEG形式の動画像データを構成する複数の画像フレームを全てデコードする。
これにより、動画デコード処理を終了する。
Thereafter, the control unit 6c shifts the process to step S2, and repeats the above process until it is determined in step S2 that the next encoded frame does not exist (step S2; NO). All the plurality of image frames constituting the moving image data in the MPEG format are decoded.
Thereby, the moving image decoding process is terminated.

以上のように、実施形態1の動画再生装置100によれば、MPEG形式の動画像データを構成する複数の画像フレームのうち、二つの画像フレーム間で再生予定の一の画像フレームに相当する補間画像フレームを、復号部6aによる画像フレームのデコード処理と並行して生成する。具体的には、予め復号部6aによりデコードされた先行フレームと直前の画像フレームとの間で、画素値を平均して中間画像フレームを生成する。
そして、復号部6aによる一の画像フレームの生成にかかるデコード時間が、表示部5による所定の再生フレームレートに応じた各画像フレームの再生時間(再生フレームレート時間)以上となった場合に、補間画像フレームを一の画像フレームに代えて表示部5に再生表示させる。
従って、複数の画像フレームの各々について、デコード処理に時間がかかり、所定の再生表示タイミングまでにデコードが終了しない画像フレームが生じた場合であっても、当該画像フレームに代えて補間画像フレームを再生表示することで、複数の画像フレームを一定の再生フレームレートで再生表示することができ、動画の再生を滑らかなものとすることができる。
As described above, according to the moving image reproducing apparatus 100 of the first embodiment, interpolation corresponding to one image frame scheduled to be reproduced between two image frames among a plurality of image frames constituting moving image data in MPEG format. The image frame is generated in parallel with the decoding process of the image frame by the decoding unit 6a. Specifically, an intermediate image frame is generated by averaging the pixel values between the preceding frame decoded in advance by the decoding unit 6a and the immediately preceding image frame.
When the decoding time required to generate one image frame by the decoding unit 6a becomes equal to or longer than the reproduction time (reproduction frame rate time) of each image frame corresponding to a predetermined reproduction frame rate by the display unit 5, interpolation is performed. The image frame is reproduced and displayed on the display unit 5 instead of one image frame.
Therefore, for each of a plurality of image frames, even when an image frame that does not finish decoding by the predetermined playback display timing occurs, the interpolated image frame is reproduced instead of the image frame. By displaying, a plurality of image frames can be reproduced and displayed at a constant reproduction frame rate, and the reproduction of moving images can be made smooth.

[実施形態2]
以下に、実施形態2の動画再生装置200について、図4〜図7を参照して説明する。
実施形態2の動画再生装置200は、図4〜図7に示すように、MPEG形式の動画像データを構成する複数の画像フレームのうち、所定数の画像フレーム群について、復号部6aによる各画像フレームの生成にかかるデコード時間が、表示部5による所定の再生フレームレートに応じた各画像フレームの再生時間以上となった遅延デコード数が所定数以上となった場合に、その後の画像フレーム群の中から二つの画像フレームを所定間隔を空けて特定し、当該二つの画像フレーム間で再生予定の一の画像フレームに相当する補間画像フレームを生成し、当該補間画像フレームを二つの画像フレーム間に挿入して表示部5に再生表示させる。
なお、実施形態2の動画再生装置200は、CODEC206の構成が異なる以外の点で上記実施形態1の動画再生装置100と略同様の構成をなし、その説明は省略する。
[Embodiment 2]
Hereinafter, the moving image reproducing apparatus 200 according to the second embodiment will be described with reference to FIGS.
As shown in FIGS. 4 to 7, the moving image reproduction apparatus 200 according to the second embodiment is configured to process each image by the decoding unit 6a for a predetermined number of image frames among a plurality of image frames constituting moving image data in MPEG format. When the decoding time required for frame generation is equal to or greater than the predetermined number of delay decodes that are equal to or greater than the reproduction time of each image frame corresponding to a predetermined reproduction frame rate by the display unit 5, the subsequent image frame group Two image frames are identified from each other with a predetermined interval, an interpolated image frame corresponding to one image frame to be reproduced is generated between the two image frames, and the interpolated image frame is inserted between the two image frames. Inserted and reproduced and displayed on the display unit 5.
Note that the video playback device 200 of the second embodiment has substantially the same configuration as the video playback device 100 of the first embodiment except that the configuration of the CODEC 206 is different, and the description thereof is omitted.

図4は、本発明を適用した実施形態2の動画再生装置200の概略構成を示すブロック図である。
図4に示すように、CODEC206は、復号部6a及び時間判定部6bに加えて、計数部6e、数判定部6f、制御部6gを備えて構成されている。
FIG. 4 is a block diagram showing a schematic configuration of a moving image playback apparatus 200 according to the second embodiment to which the present invention is applied.
As shown in FIG. 4, the CODEC 206 includes a counting unit 6e, a number determining unit 6f, and a control unit 6g in addition to the decoding unit 6a and the time determining unit 6b.

計数部6eは、カウンタを備え、当該CODEC206の復号部6aにより複数の画像フレームのうち、連続した一定数の画像フレーム群をデコードした際に、復号部6aによる各画像フレームの生成にかかるデコード時間が、表示部5による所定の再生フレームレートに応じた各画像フレームの再生時間以上となった遅延デコード数を計数する。
ここで、計数部6eは、所定数の画像フレーム群について、復号部6aによる各画像フレームの生成にかかるデコード時間が各画像フレームの再生時間以上となった遅延デコード数を計数する計数手段を構成している。
The counting unit 6e includes a counter, and when the decoding unit 6a of the CODEC 206 decodes a fixed number of consecutive image frames among a plurality of image frames, the decoding time required for generating each image frame by the decoding unit 6a However, the number of delay decodes that have reached the playback time of each image frame corresponding to a predetermined playback frame rate by the display unit 5 is counted.
Here, the counting unit 6e constitutes counting means for counting the number of delayed decodes in which the decoding time required for generating each image frame by the decoding unit 6a is equal to or longer than the reproduction time of each image frame for a predetermined number of image frame groups. doing.

数判定部6fは、数判定手段として、計数部6eにより計数された遅延デコード数が所定数以上となったか否かを判定する。   The number determination unit 6f, as number determination means, determines whether or not the number of delayed decodes counted by the counting unit 6e is equal to or greater than a predetermined number.

制御部6gは、補間画像生成手段として、数判定部6fにより遅延デコード数が所定数以上となったと判定された場合に、画像フレーム群の中から復号部6aにより復号されて生成される二つの画像フレームを所定間隔を空けて特定し、当該二つの画像フレーム間で再生予定の一の画像フレームに相当する補間画像フレームを生成する。
具体的には、制御部6gは、補間画像フレームとして、二つの画像フレーム間の画像フレーム数に応じた数で、且つ、二つの画像フレームに対する相対的な再生位置に応じて重み付けを代えて、モーフィング画像フレームを生成する。例えば、図5に示すように、制御部6gは、二つの画像フレーム(「NO.XX1デコードフレーム」と「NO.XX4(先行)デコードフレーム」)から当該二つの画像フレーム間で再生予定の二つの画像フレーム(「NO.XX2モーフィングフレーム」と「NO.XX3モーフィングフレーム」)を生成する。このとき、「NO.XX2モーフィングフレーム」については、「NO.XX1デコードフレーム」を「NO.XX4(先行)デコードフレーム」に対して重み値が大きくなるように重み付けを変更し、また、「NO.XX3モーフィングフレーム」については、「NO.XX4(先行)デコードフレーム」を「NO.XX1デコードフレーム」に対して重み値が大きくなるように重み付けを変更する。
When the number determination unit 6f determines that the number of delayed decodes is equal to or greater than a predetermined number as an interpolation image generation unit, the control unit 6g generates two decoded images generated by the decoding unit 6a from the image frame group. An image frame is specified at a predetermined interval, and an interpolated image frame corresponding to one image frame to be reproduced is generated between the two image frames.
Specifically, the control unit 6g changes the weighting according to the number of image frames between two image frames as an interpolated image frame and the relative reproduction position with respect to the two image frames. Generate a morph image frame. For example, as illustrated in FIG. 5, the control unit 6g transmits two image frames (“NO.XX1 decode frame” and “NO.XX4 (preceding) decode frame”) to be reproduced between the two image frames. Two image frames (“NO.XX2 morphing frame” and “NO.XX3 morphing frame”) are generated. At this time, for “NO.XX2 morphing frame”, the weighting is changed so that the weight value of “NO.XX1 decoding frame” is larger than that of “NO.XX4 (preceding) decoding frame”. For “.XX3 morphing frame”, the weighting is changed so that the weight value of “NO.XX4 (preceding) decoding frame” is larger than that of “NO.XX1 decoding frame”.

また、制御部6gは、ユーザによる操作入力部7の所定操作に基づいて、早送り再生が指示された場合、即ち、表示部5が複数の画像フレームを所定の再生フレームレートよりも高速のフレームレートで再生する場合に、補間画像フレームを生成する。   Further, the control unit 6g, when a fast-forward reproduction is instructed based on a predetermined operation of the operation input unit 7 by the user, that is, the display unit 5 displays a plurality of image frames at a frame rate faster than a predetermined reproduction frame rate. When replaying with, an interpolation image frame is generated.

また、制御部6gは、生成された補間画像フレームを二つの画像フレーム間に挿入して表示部5で再生表示させる表示制御信号を表示制御部4に出力する。
そして、表示制御部4は、制御部6gから出力された表示制御信号が入力されると、当該制御信号に従って補間画像フレームを表示部5に再生表示させる。
ここで、制御部6g及び表示制御部4は、生成された補間画像フレームを二つの画像フレーム間に挿入して表示部5に再生表示させる再生制御手段を構成している。
Further, the control unit 6 g outputs a display control signal for inserting the generated interpolated image frame between the two image frames and causing the display unit 5 to reproduce and display the display control signal.
When the display control signal output from the control unit 6g is input, the display control unit 4 reproduces and displays the interpolated image frame on the display unit 5 in accordance with the control signal.
Here, the control unit 6g and the display control unit 4 constitute a reproduction control unit that inserts the generated interpolated image frame between the two image frames and reproduces and displays them on the display unit 5.

次に、動画再生装置200による動画デコード処理について、図6及び図7を参照して説明する。
図6は、動画デコード処理に係る動作の一例を示すフローチャートであり、図7は、動画デコード処理を説明するための図である。なお、図7にあっては、表示部5に補間画像フレームとして表示されるフレームを模式的にドットで表している。
Next, video decoding processing by the video playback device 200 will be described with reference to FIGS. 6 and 7.
FIG. 6 is a flowchart illustrating an example of an operation related to the moving image decoding process, and FIG. 7 is a diagram for describing the moving image decoding process. In FIG. 7, a frame displayed as an interpolation image frame on the display unit 5 is schematically represented by dots.

以下の動画デコード処理は、ユーザによる操作入力部7の所定操作に基づいて、早送り再生が指示された場合に実行される処理である。
図6に示すように、CODEC206は、先ず、記録媒体3に記録されているMPEG形式の動画像データを構成する複数の画像フレームのうち、連続した一定数の画像フレーム群をデコードする。
具体的には、CODEC206の制御部6gは、記録媒体3に記録されているMPEG形式の動画像データを読み出すと、復号部6aに所定の制御信号を出力して、当該動画像データを構成する複数の画像フレームのうち、連続した所定数の画像フレーム群の最初の画像フレーム(先頭フレーム)をデコードさせる(ステップS21)。また、制御部6gは、デコードされた先頭フレームをメモリ2に転送して一時的に記憶させる。
The following video decoding process is a process executed when fast-forward playback is instructed based on a predetermined operation of the operation input unit 7 by the user.
As shown in FIG. 6, first, the CODEC 206 decodes a fixed number of continuous image frame groups among a plurality of image frames constituting MPEG moving image data recorded on the recording medium 3.
Specifically, when the control unit 6g of the CODEC 206 reads MPEG format moving image data recorded on the recording medium 3, the control unit 6g outputs a predetermined control signal to the decoding unit 6a to configure the moving image data. Of the plurality of image frames, the first image frame (first frame) of a predetermined number of consecutive image frame groups is decoded (step S21). Further, the control unit 6g transfers the decoded leading frame to the memory 2 and temporarily stores it.

次に、制御部6gは、MPEG形式の動画像データを構成し、先頭フレームに連続する次のエンコードフレームが存するか否かを判定する(ステップS22)。
ここで、次のエンコードフレームが存すると判定されると(ステップS22;YES)、制御部6gは、復号部6aに所定の制御信号を出力して、当該次のエンコードフレームのデコードを開始させる(ステップS23)。そして、復号部6aによる次のエンコードフレームのデコードが完了すると(ステップS24)、制御部6gは、当該デコードが所定の再生フレームレートに応じた各画像フレームの再生時間(再生フレームレート時間)以内に完了したか否かを時間判定部6bに判定させる(ステップS25)。
Next, the control unit 6g determines whether or not there is a next encoded frame that forms the moving image data in the MPEG format and continues to the first frame (step S22).
If it is determined that the next encoded frame exists (step S22; YES), the control unit 6g outputs a predetermined control signal to the decoding unit 6a to start decoding the next encoded frame ( Step S23). When the decoding of the next encoded frame by the decoding unit 6a is completed (step S24), the control unit 6g performs the decoding within the reproduction time (reproduction frame rate time) of each image frame corresponding to a predetermined reproduction frame rate. The time determination unit 6b determines whether or not the process is completed (step S25).

ステップS25にて、デコードが再生フレームレート時間以内に完了しなかったと判定されると(ステップS25;NO)、制御部6gは、計数部6eに、復号部6aによるデコード時間が表示部5による所定の再生フレームレートに応じた各画像フレームの再生時間以上となったことを表す遅延デコード数をカウントさせる(ステップS26)。
その後、制御部6gは、複数の画像フレームのうち、連続した一定数の画像フレーム群のデコード処理を行ったか否かを判定する(ステップS27)。また、ステップS25にて、デコードが再生フレームレート時間以内に完了したと判定された場合にも(ステップS25;YES)、制御部6gは、処理をステップS27に移行させる。
When it is determined in step S25 that the decoding has not been completed within the playback frame rate time (step S25; NO), the control unit 6g causes the counting unit 6e to send a decoding time determined by the display unit 5 to a predetermined time. The number of delay decodes indicating that the playback time of each image frame corresponding to the playback frame rate is equal to or longer is counted (step S26).
Thereafter, the control unit 6g determines whether or not a decoding process has been performed on a fixed number of consecutive image frame groups among the plurality of image frames (step S27). Even when it is determined in step S25 that the decoding is completed within the playback frame rate time (step S25; YES), the control unit 6g shifts the process to step S27.

ステップS27にて、一定数の画像フレーム群のデコード処理を行っていないと判定されると(ステップS27;NO)、制御部6gは、処理をステップS22に移行させ、上記の処理を、ステップS27にて、一定数の画像フレーム群のデコード処理を行ったと判定されるまで(ステップS27;YES)、繰り返す。これにより、CODEC6は、一定数の画像フレーム群を全てデコードする。   If it is determined in step S27 that the predetermined number of image frame groups are not decoded (step S27; NO), the control unit 6g shifts the process to step S22, and performs the above process in step S27. The process is repeated until it is determined that a certain number of image frame groups have been decoded (step S27; YES). Thereby, the CODEC 6 decodes all the fixed number of image frame groups.

そして、ステップS27にて、一定数の画像フレーム群のデコード処理を行ったと判定されると(ステップS27;YES)、制御部6gは、数判定部6fに、計数部6eにより計数された遅延デコード数が所定数以上となったか否かを判定させる(ステップS28)。
ここで、遅延デコード数が所定数以上となっていないと判定されると(ステップS28;NO)、制御部6gは、処理をステップS22に移行させ、上記の処理を、ステップS22にて、次のエンコードフレームが存しないと判定されるまで(ステップS22;NO)、繰り返す。
When it is determined in step S27 that the decoding process has been performed for a certain number of image frame groups (step S27; YES), the control unit 6g causes the number determination unit 6f to perform the delay decoding counted by the counting unit 6e. It is determined whether or not the number is equal to or greater than a predetermined number (step S28).
Here, when it is determined that the number of delay decodes is not equal to or greater than the predetermined number (step S28; NO), the control unit 6g moves the process to step S22, and the above process is performed in step S22. This is repeated until it is determined that no encoded frame exists (step S22; NO).

一方、ステップS28にて、遅延デコード数が所定数以上となったと判定されると(ステップS28;YES)、制御部6gは、一定数の画像フレーム群に連続する次のエンコードフレームが存するか否かを判定する(ステップS29)。   On the other hand, when it is determined in step S28 that the number of delayed decodes is equal to or greater than the predetermined number (step S28; YES), the control unit 6g determines whether there is a next encoded frame in a certain number of image frame groups. Is determined (step S29).

ステップS29にて、次のエンコードフレームが存すると判定されると(ステップS29;YES)、制御部6gは、補間画像フレームを挿入するタイミングであるか否かを判定する(ステップS30)。なお、実施形態2の動画デコード処理にあっては、画像フレームのデコード処理を2回行う毎に、補間画像フレーム(例えば、「NO.XX3(補間)フレーム」)を一つ生成して挿入するものとする(図7参照)。
ここで、補間画像フレームを挿入するタイミングではないと判定されると(ステップS30;NO)、制御部6gは、復号部6aに所定の制御信号を出力して、当該次のエンコードフレームのデコードを開始させる(ステップS31)。そして、復号部6aによる次のエンコードフレームのデコードが完了すると(ステップS32)、制御部6gは、処理をステップS29に移行させる。
If it is determined in step S29 that the next encoded frame exists (step S29; YES), the control unit 6g determines whether it is the timing to insert the interpolated image frame (step S30). In the video decoding process of the second embodiment, every time the image frame decoding process is performed twice, one interpolation image frame (for example, “NO.XX3 (interpolation) frame”) is generated and inserted. It shall be (see FIG. 7).
Here, when it is determined that it is not the timing to insert the interpolated image frame (step S30; NO), the control unit 6g outputs a predetermined control signal to the decoding unit 6a to decode the next encoded frame. Start (step S31). When the decoding of the next encoded frame by the decoding unit 6a is completed (step S32), the control unit 6g shifts the process to step S29.

一方、ステップS30にて、補間画像フレームを挿入するタイミングであると判定されると(ステップS30;YES)、即ち、画像フレームのデコード処理を2回行って補間画像フレーム(例えば、「NO.XX3(補間)フレーム」)を一つ生成して挿入するタイミングになると、制御部6gは、直前の画像フレームと先行フレームとの間の補間画像フレームを生成する(ステップS33)。
具体的には、制御部6gは、復号部6aに所定の制御信号を出力して、予め定められている一定間隔先の画像フレーム(先行フレーム;「NO.XX4フレーム」)をデコードさせた後、当該先行フレームと直前の画像フレーム(「NO.XX2フレーム」)との間の補間画像フレームを生成する。
補間画像フレームの生成後、制御部6gは、処理をステップS29に移行させる。
On the other hand, if it is determined in step S30 that it is the timing to insert the interpolated image frame (step S30; YES), that is, the image frame is decoded twice to execute the interpolated image frame (for example, “NO.XX3”). When it is time to generate and insert one (interpolation) frame "), the control unit 6g generates an interpolated image frame between the immediately preceding image frame and the preceding frame (step S33).
Specifically, after the control unit 6g outputs a predetermined control signal to the decoding unit 6a and decodes an image frame (previous frame; “NO.XX4 frame”) ahead of a predetermined interval, Then, an interpolated image frame between the preceding frame and the immediately preceding image frame (“NO.XX2 frame”) is generated.
After generating the interpolated image frame, the control unit 6g shifts the process to step S29.

そして、上記の処理を、ステップS29にて、次のエンコードフレームが存しないと判定されるまで(ステップS29;NO)、繰り返す。
これにより、動画デコード処理を終了する。
The above processing is repeated until it is determined in step S29 that the next encoded frame does not exist (step S29; NO).
Thereby, the moving image decoding process is terminated.

以上のように、実施形態2の動画再生装置200によれば、MPEG形式の動画像データを構成する複数の画像フレームのうち、所定数の画像フレーム群について、復号部6aによる各画像フレームの生成にかかるデコード時間が、表示部5による所定の再生フレームレートに応じた各画像フレームの再生時間以上となったことを表す遅延デコード数が所定数以上となった場合に、その後の画像フレーム群の中から二つの画像フレームを所定間隔を空けて特定し、当該二つの画像フレーム間で再生予定の一の画像フレームに相当する補間画像フレームを生成し、当該補間画像フレームを二つの画像フレーム間に挿入して表示部5に再生表示させる。
即ち、動画を早送り再生する場合などでは、所定の再生表示タイミングまでにデコードが終了しない画像フレームが生じる虞があることから、予め、複数の画像フレームのうち、所定数の画像フレーム群について、復号部6aによるデコード時間が再生フレームレート時間以上となる遅延デコード数を算出して、当該遅延デコード数から当該動画像データ全体のデコード処理の遅延度合を考慮して、その後の画像フレーム群の中から所定間隔を空けて順次二つの画像フレームを特定していく。そして、当該二つの画像フレーム間に補間画像フレームを順次挿入して再生表示することで、複数の画像フレームを一定の再生フレームレートで再生表示することができ、動画の再生を滑らかなものとすることができる。
As described above, according to the moving image playback device 200 of the second embodiment, the decoding unit 6a generates each image frame for a predetermined number of image frames among a plurality of image frames constituting MPEG moving image data. When the number of delay decodes indicating that the decoding time required for the display unit 5 is equal to or greater than the reproduction time of each image frame corresponding to the predetermined reproduction frame rate by the display unit 5 is equal to or greater than the predetermined number, Two image frames are identified from each other with a predetermined interval, an interpolated image frame corresponding to one image frame to be reproduced is generated between the two image frames, and the interpolated image frame is inserted between the two image frames. Inserted and reproduced and displayed on the display unit 5.
That is, in the case of fast-forward playback of a moving image, there is a possibility that an image frame that does not finish decoding by the predetermined playback display timing may occur. Therefore, a predetermined number of image frame groups among a plurality of image frames are decoded in advance. The number of delay decodes for which the decoding time by the unit 6a is equal to or greater than the playback frame rate time is calculated, and the delay degree of the decoding processing of the entire moving image data is taken into account from the number of delay decodes, and the subsequent image frame group Two image frames are sequentially identified with a predetermined interval. Then, by interpolating interpolated image frames sequentially between the two image frames for playback and display, a plurality of image frames can be played back and displayed at a constant playback frame rate, thereby smoothing the playback of moving images. be able to.

また、補間画像フレームの生成の際に、二つの画像フレーム間の画像フレーム数に応じた数で、且つ、二つの画像フレームに対する相対的な再生位置に応じて重み付けを代えてモーフィング画像フレームを生成するので、二つの画像フレーム間に複数の補間画像フレームを挿入する場合であっても、当該補間画像フレームを時間の流れに沿って変化するような自然な画像とすることができ、動画をより滑らかに再生することができる。   In addition, when generating an interpolated image frame, a morphing image frame is generated with a number corresponding to the number of image frames between the two image frames and with different weights according to the relative reproduction positions with respect to the two image frames. Therefore, even when a plurality of interpolated image frames are inserted between two image frames, the interpolated image frame can be a natural image that changes along the flow of time, and the moving image is more It can be played smoothly.

[実施形態3]
以下に、実施形態3の動画再生装置300について、図8〜図10を参照して説明する。
実施形態3の動画再生装置300は、図8〜図10に示すように、表示部5でMPEG形式の動画像データを構成する複数の画像フレームをスロー再生する場合に、連続する二つの画像フレームを補間する補間画像フレームを生成し、当該補間画像フレームを二つの画像フレーム間に挿入して表示部5に再生させる。
なお、実施形態3の動画再生装置300は、CODEC306の構成が異なる以外の点で上記実施形態1及び2の動画再生装置100、200と略同様の構成をなし、その説明は省略する。
[Embodiment 3]
Below, the moving image reproducing device 300 of Embodiment 3 will be described with reference to FIGS.
As shown in FIGS. 8 to 10, the moving image reproducing apparatus 300 according to the third embodiment has two consecutive image frames when the display unit 5 performs slow reproduction of a plurality of image frames constituting moving image data in MPEG format. Interpolated image frames are generated, and the interpolated image frames are inserted between the two image frames and reproduced on the display unit 5.
Note that the video playback device 300 of the third embodiment has substantially the same configuration as the video playback devices 100 and 200 of the first and second embodiments except that the configuration of the CODEC 306 is different, and the description thereof is omitted.

図8は、本発明を適用した実施形態3の動画再生装置300の概略構成を示すブロック図である。
図8に示すように、CODEC306は、復号部6aに加えて、制御部6hを備えて構成されている。
FIG. 8 is a block diagram showing a schematic configuration of a moving image playback apparatus 300 according to the third embodiment to which the present invention is applied.
As shown in FIG. 8, the CODEC 306 includes a control unit 6h in addition to the decoding unit 6a.

制御部6hは、補間画像生成手段として、MPEG形式の動画像データを構成する複数の画像フレームをスロー再生(所定のフレームレートよりも低速のフレームレートで再生)する際に、連続する二つの画像フレーム(例えば、「NO.2フレーム」と「NO.3フレーム」;図10(b)参照)を補間する補間画像フレーム(例えば、「NO.2-3フレーム」;図10(b)参照)を生成する。即ち、図10(a)及び図10(b)に示すように、スロー再生する場合であっても、画像フレームの再生フレームレート自体は変化しないため、通常の動画再生処理では、画像フレームどうしの間に空き時間が生じてしまうが(図10(a)参照)、補間画像フレームを生成して表示することで、画像フレームどうしの間に空き時間を生じさせることがなくなる(図10(b)参照)。
なお、例えば、1/3の再生速度でスロー再生する場合のように、二つの画像フレーム(例えば、「NO.4フレーム」と「NO.5フレーム」;図10(b)参照)間で複数の補間画像フレーム(例えば、「NO.4-5aフレーム」及び「NO.4-5bフレーム」;図10(b)参照)を再生表示する場合、制御部6hは、二つの画像フレームに対する相対的な再生位置に応じて重み付けを代えて補間画像フレームを生成する。
The control unit 6h serves as an interpolated image generation unit when performing slow playback (playback at a frame rate lower than a predetermined frame rate) of a plurality of image frames constituting MPEG moving image data. Interpolated image frame (for example, “NO.2-3 frame”; see FIG. 10 (b)) for interpolating frames (for example, “NO.2 frame” and “NO.3 frame”; see FIG. 10 (b)) Is generated. That is, as shown in FIGS. 10 (a) and 10 (b), even in the case of slow playback, the playback frame rate of the image frame itself does not change. Although an empty time is generated between the frames (see FIG. 10A), generating and displaying the interpolated image frame prevents the empty time from being generated between the image frames (FIG. 10B). reference).
For example, as in the case of slow playback at a playback speed of 1/3, a plurality of frames between two image frames (for example, “NO.4 frame” and “NO.5 frame”; see FIG. 10B). When the interpolated image frames (for example, “NO. 4-5a frame” and “NO. 4-5b frame”; see FIG. 10B) are reproduced and displayed, the control unit 6h is configured to display the relative relative to the two image frames. An interpolated image frame is generated with different weights depending on the correct reproduction position.

また、制御部6hは、生成された補間画像フレームを二つの画像フレーム間に挿入して表示部5で再生表示させる表示制御信号を表示制御部4に出力する。
そして、表示制御部4は、制御部6hから出力された表示制御信号が入力されると、当該指示信号に従って補間画像フレームを表示部5に再生表示させる。
ここで、制御部6h及び表示制御部4は、生成された補間画像フレームを二つの画像フレーム間に挿入して表示部5に再生表示させる再生制御手段を構成している。
Further, the control unit 6 h outputs a display control signal for inserting the generated interpolated image frame between the two image frames to reproduce and display on the display unit 5 to the display control unit 4.
When the display control signal output from the control unit 6h is input, the display control unit 4 reproduces and displays the interpolated image frame on the display unit 5 in accordance with the instruction signal.
Here, the control unit 6h and the display control unit 4 constitute a reproduction control unit that inserts the generated interpolated image frame between two image frames and reproduces and displays them on the display unit 5.

次に、動画再生装置300による動画再生処理について、図9及び図10を参照して説明する。
図9は、動画再生処理に係る動作の一例を示すフローチャートである。図10(a)は、通常の動画再生処理を説明するための図であり、図10(b)は、実施形態3の動画再生処理を説明するための図である。なお、図10(b)にあっては、表示部5に補間画像フレームとして表示されるフレームを模式的にドットで表している。
Next, the moving image reproduction processing by the moving image reproduction device 300 will be described with reference to FIGS. 9 and 10.
FIG. 9 is a flowchart illustrating an example of an operation related to the moving image reproduction process. FIG. 10A is a diagram for explaining normal moving image reproduction processing, and FIG. 10B is a diagram for explaining moving image reproduction processing according to the third embodiment. In FIG. 10B, a frame displayed as an interpolation image frame on the display unit 5 is schematically represented by dots.

以下の動画再生処理は、ユーザによる操作入力部7の所定操作に基づいて、動画像の再生表示が指示された場合に実行される処理であり、スロー再生が指示されると、補間画像フレームを生成して再生表示する。
図6に示すように、CODEC306の制御部6hは、先ず、記録媒体3に記録されているMPEG形式の動画像データを読み出すと、復号部6aに所定の制御信号を出力して、当該動画像データを構成する複数の画像フレームのうち、最初の画像フレーム(先頭フレーム)をデコードさせる(ステップS41)。また、制御部6hは、デコードされた先頭フレームをメモリ2に転送して一時的に記憶させる。
The moving image reproduction process described below is a process that is executed when a reproduction display of a moving image is instructed based on a predetermined operation of the operation input unit 7 by the user. Generate and play back.
As shown in FIG. 6, when the control unit 6h of the CODEC 306 first reads MPEG format moving image data recorded on the recording medium 3, the control unit 6h outputs a predetermined control signal to the decoding unit 6a, and Of the plurality of image frames constituting the data, the first image frame (first frame) is decoded (step S41). The control unit 6h transfers the decoded first frame to the memory 2 and temporarily stores it.

次に、制御部6hは、MPEG形式の動画像データを構成し、先頭フレームに連続する次のエンコードフレームが存するか否かを判定する(ステップS42)。
ここで、次のエンコードフレームが存すると判定されると(ステップS42;YES)、制御部6hは、復号部6aに所定の制御信号を出力して、当該次のエンコードフレームのデコードを開始させる(ステップS43)。そして、復号部6aによる次のエンコードフレームのデコードが完了すると(ステップS44)、制御部6hは、次の画像フレームの表示タイミングに達したか否かを判定する(ステップS45)。また、ステップS42にて、次のエンコードフレームが存しないと判定された場合も(ステップS42;NO)、制御部6hは、処理をステップS45に移行させる。
Next, the control unit 6h determines whether or not there is a next encoded frame that is included in the moving image data in the MPEG format and continues to the first frame (step S42).
If it is determined that the next encoded frame exists (step S42; YES), the control unit 6h outputs a predetermined control signal to the decoding unit 6a to start decoding the next encoded frame ( Step S43). When the decoding of the next encoded frame by the decoding unit 6a is completed (step S44), the control unit 6h determines whether or not the display timing of the next image frame has been reached (step S45). In addition, when it is determined in step S42 that the next encoded frame does not exist (step S42; NO), the control unit 6h shifts the process to step S45.

ステップS45にて、次の画像フレームの表示タイミングに達したと判定されると(ステップS45;YES)、制御部6hは、MPEG形式の動画像データを構成する複数の画像フレームの中で、未だ表示されていない画像フレーム(未表示フレーム)が存するか否かを判定する(ステップS46)。
ここで、未表示フレームが存すると判定されると(ステップS46;YES)、制御部6hは、処理をステップS42に移行させ、上記の処理を、ステップS46にて、未表示フレームが存しないと判定されるまで(ステップS46;NO)、繰り返す。
これにより、CODEC6は、MPEG形式の動画像データを全てデコードする。
If it is determined in step S45 that the display timing of the next image frame has been reached (step S45; YES), the control unit 6h is still in the plurality of image frames constituting the moving image data in the MPEG format. It is determined whether or not there is an undisplayed image frame (undisplayed frame) (step S46).
Here, if it is determined that an undisplayed frame exists (step S46; YES), the control unit 6h shifts the process to step S42, and if the above-described process does not exist in step S46. Repeat until it is determined (step S46; NO).
As a result, the CODEC 6 decodes all MPEG moving image data.

一方、ステップS45にて、次の画像フレームの表示タイミングに達していないと判定されると(ステップS45;NO)、制御部6hは、当該表示タイミングに一致するデコード済みの画像フレーム(デコードフレーム)が存するか否かを判定する(ステップS47)。
ここで、次の表示タイミングに一致するデコードフレームが存すると判定されると(ステップS47;YES)、制御部6hは、次の再生画像フレームとして、デコード済みの画像フレーム(デコード画像)を採用して、当該デコード画像の表示制御信号を表示制御部4に出力して、当該デコード画像を次の表示タイミングに合わせて表示部5に再生表示させる(ステップS48)。
その後、制御部6hは、処理をステップS46に移行させ、上記の処理を、ステップS46にて、未表示フレームが存しないと判定されるまで(ステップS46;NO)、繰り返す。
On the other hand, when it is determined in step S45 that the display timing of the next image frame has not been reached (step S45; NO), the control unit 6h decodes the decoded image frame (decoded frame) that matches the display timing. Is determined (step S47).
If it is determined that there is a decoded frame that matches the next display timing (step S47; YES), the control unit 6h employs a decoded image frame (decoded image) as the next reproduced image frame. Then, the display control signal of the decoded image is output to the display control unit 4, and the decoded image is reproduced and displayed on the display unit 5 in accordance with the next display timing (step S48).
Thereafter, the control unit 6h shifts the process to step S46, and repeats the above process until it is determined in step S46 that no undisplayed frame exists (step S46; NO).

一方、ステップS47にて、次の表示タイミングに一致するデコードフレームが存しないと判定されると(ステップS47;NO)、即ち、例えば、ユーザによる操作入力部7の所定操作に基づいてスロー再生指示が入力された場合などに、制御部6hは、既に復号部6aによりデコードされている連続する二つの画像フレーム(例えば、「NO.2フレーム」と「NO.3フレーム」;図10(b)参照)から補間画像フレーム(例えば、「NO.2-3フレーム」)を生成する(ステップS49)。なお、このとき、スロー再生速度に応じて、二つの画像フレーム(例えば、「NO.4フレーム」と「NO.5フレーム」;図10(b)参照)間で再生される複数の補間画像フレーム(例えば、「NO.4-5aフレーム」及び「NO.4-5bフレーム」;図10(b)参照)を生成しても良い。
そして、制御部6hは、当該補間画像の表示制御信号を表示制御部4に出力して、当該補間画像を次の表示タイミングに合わせて表示部5に再生表示させる(ステップS50)。
その後、制御部6hは、処理をステップS46に移行させ、上記の処理を、ステップS46にて、未表示フレームが存しないと判定されるまで(ステップS46;NO)、繰り返す。
これにより、動画再生処理を終了する。
On the other hand, when it is determined in step S47 that there is no decoded frame that coincides with the next display timing (step S47; NO), that is, for example, based on a predetermined operation of the operation input unit 7 by the user, a slow reproduction instruction 10h, the control unit 6h displays two consecutive image frames (for example, “NO.2 frame” and “NO.3 frame” already decoded by the decoding unit 6a; FIG. 10B). An interpolation image frame (for example, “NO. 2-3 frame”) is generated from the reference (step S49). At this time, a plurality of interpolated image frames reproduced between two image frames (for example, “NO.4 frame” and “NO.5 frame”; see FIG. 10B) according to the slow reproduction speed. (For example, “NO.4-5a frame” and “NO.4-5b frame”; see FIG. 10B) may be generated.
Then, the control unit 6h outputs a display control signal for the interpolation image to the display control unit 4, and reproduces and displays the interpolation image on the display unit 5 in accordance with the next display timing (step S50).
Thereafter, the control unit 6h shifts the process to step S46, and repeats the above process until it is determined in step S46 that no undisplayed frame exists (step S46; NO).
Thereby, the moving image reproduction process is terminated.

以上のように、実施形態3の動画再生装置300によれば、表示部5でMPEG形式の動画像データを構成する複数の画像フレームをスロー再生する場合に、連続する二つの画像フレームを補間する補間画像フレームを生成し、当該補間画像フレームを二つの画像フレーム間に挿入して表示部5に再生させる。
従って、動画をスロー再生する場合に、二つの画像フレームの間に補間画像フレームを挿入して再生表示することで、画像フレームどうしの間に空き時間が生じてしまうことを防止して、複数の画像フレームを一定の再生フレームレートで再生表示することができ、動画の再生を滑らかなものとすることができる。
As described above, according to the moving image playback apparatus 300 of the third embodiment, when a plurality of image frames constituting MPEG moving image data is played back slowly on the display unit 5, two consecutive image frames are interpolated. An interpolated image frame is generated, and the interpolated image frame is inserted between the two image frames and reproduced on the display unit 5.
Therefore, when a moving image is played back slowly, an interpolated image frame is inserted between two image frames and played back, thereby preventing an empty time from being generated between the image frames. Image frames can be reproduced and displayed at a constant reproduction frame rate, and moving images can be reproduced smoothly.

なお、本発明は、上記実施形態1〜3に限定されることなく、本発明の趣旨を逸脱しない範囲において、種々の改良並びに設計の変更を行っても良い。
例えば、上記実施形態1〜3にあっては、CODEC6、206、306にて、画像フレームのデコードと補間画像フレームの生成の両方を行うようにしたが、各処理をそれぞれ別々の機能部で行っても良い。即ち、例えば、補間画像フレームの生成を動画再生装置100、200、300のCPU1で行うことで、CODEC6の負担を軽減して当該CODEC6の性能以上のフレームレートで画像フレームを再生表示することができる。
Note that the present invention is not limited to the first to third embodiments, and various improvements and design changes may be made without departing from the spirit of the present invention.
For example, in Embodiments 1 to 3 described above, both the decoding of the image frame and the generation of the interpolated image frame are performed in the CODECs 6, 206, and 306. However, each process is performed by a separate functional unit. May be. That is, for example, by generating the interpolated image frame with the CPU 1 of the moving image reproducing apparatuses 100, 200, and 300, it is possible to reduce the burden on the CODEC 6 and reproduce and display the image frame at a frame rate higher than the performance of the CODEC 6. .

また、動画再生装置100、200、300の構成は、上記実施形態に例示したものは一例であり、これに限られるものではない。即ち、符号化された動画像データを記録する記録手段を少なくとも備える動画再生装置であって、所定の条件の成立で補間画像フレームを生成して、当該補間画像フレームを再生表示する構成であれば如何なる構成のものであっても良く、例えば、一のシーンを撮像して、連続した複数の画像フレームを生成する撮像部と、撮像部により生成された複数の画像フレームを符号化して符号化動画データを生成する符号化部等を備える構成であっても良い。   Further, the configurations of the moving image playback apparatuses 100, 200, and 300 are merely examples, and are not limited to those illustrated in the above embodiment. That is, a moving image playback apparatus that includes at least recording means for recording encoded moving image data, and that generates an interpolated image frame when a predetermined condition is satisfied, and reproduces and displays the interpolated image frame. Any configuration may be used. For example, an imaging unit that captures one scene and generates a plurality of continuous image frames, and an encoded moving image that encodes the plurality of image frames generated by the imaging unit. A configuration including an encoding unit that generates data may be used.

加えて、上記実施形態にあっては、復号手段、再生手段、補間画像生成手段、時間判定手段、再生制御手段、計数手段、数判定手段としての機能を、CPU1の制御下にて、CODEC6、206、306や表示制御部4が駆動することにより実現される構成としたが、これに限られるものではなく、CPU1によって所定のプログラム等が実行されることにより実現される構成としても良い。
即ち、プログラムを記憶するプログラムメモリ(図示略)に、復号処理ルーチン、補間画像生成処理ルーチン、時間判定処理ルーチン、再生制御処理ルーチン、計数処理ルーチン、数判定処理ルーチンを含むプログラムを記憶して、所定の処理ルーチンにより、復号手段、再生手段、補間画像生成手段、時間判定手段、再生制御手段、計数手段、数判定手段としてCPU1を機能させるようにしても良い。
In addition, in the above embodiment, the functions of the decoding unit, the reproducing unit, the interpolated image generating unit, the time determining unit, the reproduction controlling unit, the counting unit, and the number determining unit are controlled by the CODEC 6, However, the present invention is not limited to this, and may be realized by executing a predetermined program or the like by the CPU 1.
That is, a program memory (not shown) that stores a program stores a program including a decoding process routine, an interpolated image generation process routine, a time determination process routine, a reproduction control process routine, a count process routine, and a number determination process routine. The CPU 1 may function as a decoding unit, a reproducing unit, an interpolated image generating unit, a time determining unit, a reproduction controlling unit, a counting unit, and a number determining unit by a predetermined processing routine.

100 動画再生装置
1 CPU
4 表示制御部
5 表示部
6、206、306 CODEC
6a 復号部
6b 時間判定部
6c、6g、6h 制御部
6e 計数部
6f 数判定部
100 video playback device 1 CPU
4 Display control unit 5 Display unit 6, 206, 306 CODEC
6a Decoding unit 6b Time determination unit 6c, 6g, 6h Control unit 6e Count unit 6f Number determination unit

Claims (6)

連続した複数の画像フレームが符号化された符号化動画データを記録する記録手段と、
前記符号化動画データを復号して前記複数の画像フレームを生成する復号手段と、
前記復号手段により生成された前記複数の画像フレームを所定のフレームレートで切り換えて再生する再生手段と、
前記複数の画像フレームのうち、連続した所定数の画像フレーム群について、前記復号手段による各画像フレームの生成にかかるデコード時間が、前記再生手段による前記所定のフレームレートに応じた各画像フレームの再生時間以上となった遅延数を計数する計数手段と、
前記計数手段により計数された前記遅延数が所定数以上となったか否かを判定する数判定手段と、
前記数判定手段により前記遅延数が所定数以上となったと判定された場合に、前記画像フレーム群の中から前記復号手段により復号されて生成される二つの画像フレームを所定間隔を空けて特定し、当該二つの画像フレーム間で再生予定の一の画像フレームに相当する補間画像フレームを生成する補間画像生成手段と、
前記補間画像生成手段により生成された補間画像フレームを前記二つの画像フレーム間に挿入して前記再生手段に再生させる再生制御手段と、
を備えることを特徴とする動画再生装置。
Recording means for recording encoded moving image data in which a plurality of continuous image frames are encoded;
Decoding means for decoding the encoded moving image data to generate the plurality of image frames;
Reproduction means for switching and reproducing the plurality of image frames generated by the decoding means at a predetermined frame rate;
Of the plurality of image frames, for a predetermined number of consecutive image frame groups, the decoding time required for generation of each image frame by the decoding unit is the reproduction of each image frame according to the predetermined frame rate by the reproduction unit. Counting means for counting the number of delays over time;
Number determination means for determining whether or not the number of delays counted by the counting means is equal to or greater than a predetermined number;
When it is determined by the number determination means that the number of delays is equal to or greater than a predetermined number, two image frames decoded and generated by the decoding means are identified from the image frame group with a predetermined interval. Interpolated image generating means for generating an interpolated image frame corresponding to one image frame to be reproduced between the two image frames;
Playback control means for inserting the interpolated image frame generated by the interpolated image generating means between the two image frames and causing the playback means to play back;
A moving picture reproducing apparatus comprising:
前記補間画像生成手段は、
前記再生手段が前記複数の画像フレームを前記所定のフレームレートよりも高速のフレームレートで再生する場合に、前記補間画像フレームを生成することを特徴とする請求項1に記載の動画再生装置。
The interpolation image generation means includes
2. The moving image reproducing apparatus according to claim 1 , wherein the interpolating image frame is generated when the reproducing unit reproduces the plurality of image frames at a frame rate faster than the predetermined frame rate.
前記補間画像生成手段は、
前記二つの画像フレームの中間画像フレーム或いはモーフィング画像フレームを前記補間画像として生成することを特徴とする請求項1または2に記載の動画再生装置。
The interpolation image generation means includes
The moving image reproduction apparatus according to claim 1 , wherein an intermediate image frame or a morphing image frame of the two image frames is generated as the interpolation image.
前記補間画像生成手段は、
前記二つの画像フレーム間の画像フレーム数に応じた数で、且つ、前記二つの画像フレームに対する相対的な再生位置に応じて重み付けを代えて前記補間画像フレームを生成することを特徴とする請求項3に記載の動画再生装置。
The interpolation image generation means includes
Claims wherein the number corresponding to the number of image frames between two image frames, and, and generating the interpolation image frame instead of the weighted according to the relative playback position with respect to the two image frames 4. The moving image playback device according to 3 .
一のシーンを撮像して、連続した複数の画像フレームを生成する撮像手段と、
前記撮像手段により生成された前記複数の画像フレームを符号化して符号化動画データを生成する符号化手段と、
を更に備えることを特徴とする請求項1〜4の何れか一項に記載の動画再生装置。
Imaging means for imaging one scene and generating a plurality of continuous image frames;
Encoding means for encoding the plurality of image frames generated by the imaging means to generate encoded moving image data;
5. The moving picture reproducing apparatus according to claim 1 , further comprising:
連続した複数の画像フレームが符号化された符号化動画データを記録する記録手段を備える動画再生装置のコンピュータを、
前記符号化動画データを復号して前記複数の画像フレームを生成する復号手段、
前記複数の画像フレームのうち、連続した所定数の画像フレーム群について、前記復号手段による各画像フレームの生成にかかるデコード時間が、前記複数の画像フレームを所定のフレームレートで切り換えて再生する再生手段による前記所定のフレームレートに応じた各画像フレームの再生時間以上となった遅延数を計数する計数手段、
前記計数手段により計数された前記遅延数が所定数以上となったか否かを判定する数判定手段、
前記数判定手段により前記遅延数が所定数以上となったと判定された場合に、前記画像フレーム群の中から前記復号手段により復号されて生成される二つの画像フレームを所定間隔を空けて特定し、当該二つの画像フレーム間で再生予定の一の画像フレームに相当する補間画像フレームを生成する補間画像生成手段、
前記補間画像生成手段により生成された補間画像フレームを前記二つの画像フレーム間に挿入して前記再生手段に再生させる再生制御手段、
として機能させることを特徴とするプログラム。
A computer of a moving image reproducing apparatus comprising recording means for recording encoded moving image data in which a plurality of continuous image frames are encoded,
Decoding means for decoding the encoded moving image data to generate the plurality of image frames;
Reproduction means for reproducing a predetermined number of consecutive image frame groups among the plurality of image frames by switching the plurality of image frames at a predetermined frame rate for a decoding time required to generate each image frame by the decoding means. Counting means for counting the number of delays equal to or longer than the reproduction time of each image frame according to the predetermined frame rate by
Number determination means for determining whether or not the number of delays counted by the counting means is equal to or greater than a predetermined number;
When it is determined by the number determination means that the number of delays is equal to or greater than a predetermined number, two image frames decoded and generated by the decoding means are identified from the image frame group with a predetermined interval. Interpolated image generating means for generating an interpolated image frame corresponding to one image frame to be reproduced between the two image frames,
Reproduction control means for inserting the interpolated image frame generated by the interpolation image generating means between the two image frames and causing the reproduction means to reproduce the reproduction control means;
A program characterized by functioning as
JP2009007744A 2009-01-16 2009-01-16 Movie playback apparatus and program Active JP5493362B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009007744A JP5493362B2 (en) 2009-01-16 2009-01-16 Movie playback apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009007744A JP5493362B2 (en) 2009-01-16 2009-01-16 Movie playback apparatus and program

Publications (2)

Publication Number Publication Date
JP2010166386A JP2010166386A (en) 2010-07-29
JP5493362B2 true JP5493362B2 (en) 2014-05-14

Family

ID=42582194

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009007744A Active JP5493362B2 (en) 2009-01-16 2009-01-16 Movie playback apparatus and program

Country Status (1)

Country Link
JP (1) JP5493362B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012142874A (en) * 2011-01-06 2012-07-26 Sony Corp Information processing device, information processing method and program
JP5847752B2 (en) 2013-03-29 2016-01-27 株式会社東芝 Movie playback device
JP2015056695A (en) 2013-09-10 2015-03-23 株式会社東芝 Moving image reproducing device
JP2016059015A (en) 2014-09-12 2016-04-21 株式会社東芝 Image output device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2998640B2 (en) * 1996-06-21 2000-01-11 日本電気株式会社 Video playback device
JP2004336405A (en) * 2003-05-08 2004-11-25 Ricoh Co Ltd Dynamic image processing apparatus, program, storage medium, and dynamic image processing method
JP2005136596A (en) * 2003-10-29 2005-05-26 Ricoh Co Ltd System and method for processing motion picture, program and information recording medium
JP2005159525A (en) * 2003-11-21 2005-06-16 Matsushita Electric Ind Co Ltd Digital reproducing apparatus or reproducing method
JP4265482B2 (en) * 2004-05-31 2009-05-20 カシオ計算機株式会社 Image reproducing apparatus and image reproducing method
JP2006101406A (en) * 2004-09-30 2006-04-13 Toshiba Corp Information processing apparatus and program used for the processing apparatus
JP4466390B2 (en) * 2005-01-31 2010-05-26 カシオ計算機株式会社 Movie apparatus, movie playback method, and program

Also Published As

Publication number Publication date
JP2010166386A (en) 2010-07-29

Similar Documents

Publication Publication Date Title
JP4794386B2 (en) Imaging device
JP5751942B2 (en) Playback apparatus and playback method
JP5493362B2 (en) Movie playback apparatus and program
JP5149283B2 (en) Moving picture reproducing apparatus, digital camera, semiconductor integrated circuit, and moving picture reproducing method
JP2009296081A (en) Video image reproducer
JP2008035281A (en) Image coding method
EP2154900A1 (en) Dynamic image decoding method, dynamic image decoding device, and electronic apparatus
JP4385987B2 (en) Video processing apparatus, video processing method, and computer program
JP2006526361A (en) Method and system for performing a reverse trick mode of non-progressive video using special groups of pictures
JP2003324690A (en) Video record playback device
JP2011146847A (en) Image reproduction controller, image reproduction control method, and imaging device
JP3861454B2 (en) Movie data compression device
JP2007504785A (en) Non-progressive video forward trick mode with special pictures
JP5948927B2 (en) Image processing apparatus, image processing method, program, and imaging apparatus
JPWO2008129648A1 (en) Frame rate conversion apparatus, frame rate conversion method, and moving picture encoding apparatus
JP4867872B2 (en) Image processing apparatus, control method for the image processing apparatus, and program
JP2007129489A (en) Picture reproducer and picture reproduction method
CN102884788A (en) Moving image output apparatus, moving image output method, and moving image output program
JP4498207B2 (en) Video processing apparatus and video processing method
JP2010206463A (en) Method, device and program for encoding moving image
JP4467902B2 (en) Recording / reproducing apparatus and method, recording medium, and program
JP5859100B2 (en) Image recording device
JP2005229553A (en) Image processing apparatus
JP6028544B2 (en) Image reproduction apparatus, image reproduction method, and image reproduction program
JP5355176B2 (en) Movie storage device and control method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120106

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20120106

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130212

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130312

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130405

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131119

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140116

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: 20140204

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140217

R150 Certificate of patent or registration of utility model

Ref document number: 5493362

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150