JP2007060480A - Reverse playback method, playback apparatus, reverse playback program and recording medium with reverse playback program recorded thereon - Google Patents

Reverse playback method, playback apparatus, reverse playback program and recording medium with reverse playback program recorded thereon Download PDF

Info

Publication number
JP2007060480A
JP2007060480A JP2005245642A JP2005245642A JP2007060480A JP 2007060480 A JP2007060480 A JP 2007060480A JP 2005245642 A JP2005245642 A JP 2005245642A JP 2005245642 A JP2005245642 A JP 2005245642A JP 2007060480 A JP2007060480 A JP 2007060480A
Authority
JP
Japan
Prior art keywords
image
picture
video
decoded
gop
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005245642A
Other languages
Japanese (ja)
Inventor
Taiji Yamada
泰司 山田
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2005245642A priority Critical patent/JP2007060480A/en
Publication of JP2007060480A publication Critical patent/JP2007060480A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To perform the reverse playback of video/audio streams without increasing a capacity of an image memory buffer, also without extending a decoding means or a video/audio separating means and the like, and without interrupting playback video. <P>SOLUTION: In order to start playback from a final frame in a GOP in reverse playback, a configuration of a frame constituting the GOP is analyzed beforehand, and playback and display are performed. Furthermore, pictures required for reference in picture decoding are not stored nor preserved but the same picture is decoded repeatedly as required, so that any memory buffer for storage is not required and that memory capacity can be reduced. Since it is necessary to perform DeMux of two GOPs if a reference picture exists over the two GOPs like a B1 picture or B0 picture, however, timing is missed. Therefore, GOP DeMux is stopped immediately when the required picture is completely decoded, and DeMux of the next GOP and GOP analysis are started. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本特許出願に係る発明(以後単に「本発明」という)は、映像情報と音声情報とが多重化されて符号化(エンコードともいう)された映像音声ストリーム、特に何らかの記録媒体(例えば、DVD:デジタル・バーサタイル・ディスクや、HDD:ハード・ディスク・ドライブ等)に記録された映像音声ストリームの逆方向再生方法、逆方向再生装置、逆方向再生プログラムおよび逆方向再生プログラムを記録した記録媒体に関するものである。   The invention according to this patent application (hereinafter simply referred to as “the present invention”) is a video / audio stream in which video information and audio information are multiplexed and encoded (also referred to as encoding), particularly any recording medium (eg, DVD: Reversal playback method, reverse playback apparatus, reverse playback program, and recording medium recording reverse playback program recorded on a digital versatile disk, HDD: hard disk drive, etc. It is.

従来の、映像情報と音声情報とが多重化されて符号化された映像音声ストリーム、特に何らかの記録媒体に記録された映像音声ストリームの逆方向再生方法等には、例えば下記特許文献1に記載されたデータ再生装置や、下記特許文献2に記載された映像信号のコマ送り再生処理装置や、下記特許文献3に記載された画像復号装置等があった。   A conventional audio / video stream in which video information and audio information are multiplexed and encoded, particularly a reverse reproduction method of an audio / video stream recorded on some recording medium, is described in, for example, Patent Document 1 below. Data reproduction apparatuses, video signal frame advance reproduction processing apparatuses described in Patent Document 2 below, and image decoding apparatuses described in Patent Document 3 below.

下記特許文献1に記載されたデータ再生装置におけるような、従来の映像音声ストリームの逆方向再生方法等では、所定のフレーム数の画像を予め復号化してメモリバッファに記憶・保存し、これらの画像を順次逆方向に表示する。この表示を継続して行った結果、メモリバッファに記憶・保存している画像の残りが少なくなれば、再度、所定のフレーム数の画像を復号化してメモリバッファに記憶・保存する。この手法では、比較的スムーズな逆方向再生が可能であるが、その一方で大きなメモリバッファを必要とするという課題があった。   In a conventional video / audio stream backward reproduction method or the like as in the data reproduction apparatus described in Patent Document 1 below, an image having a predetermined number of frames is decoded in advance, stored in a memory buffer, and stored. Are displayed in reverse order. As a result of continuing this display, if the remaining number of images stored / saved in the memory buffer decreases, an image of a predetermined number of frames is decoded again and stored / saved in the memory buffer. Although this method allows a relatively smooth backward reproduction, there is a problem that a large memory buffer is required.

また、下記特許文献2に記載された映像信号のコマ送り再生処理装置におけるような、従来の映像音声ストリームの逆方向再生方法等では、例えば1つのGOP単位で復号化を一括して行い、これらの画像をメモリバッファに記憶・保存し、保存されている画像を順次逆方向に表示することが行われた。この手法でも、比較的スムーズな逆方向再生が可能であるが、やはり大きなメモリバッファを必要とするという課題があった。   Also, in the conventional video / audio stream backward playback method, etc., as in the video signal frame advance playback processing apparatus described in Patent Document 2 below, for example, decoding is performed in batches in one GOP unit. These images were stored and saved in a memory buffer, and the saved images were sequentially displayed in the reverse direction. Even with this method, a relatively smooth backward reproduction is possible, but there is still a problem that a large memory buffer is required.

また、下記特許文献3に記載された画像復号装置におけるような、従来の映像音声ストリームの逆方向再生方法等では、IピクチャとPピクチャだけをメモリバッファに記憶・保存し、この保存されている画像を使って他のピクチャ(Bピクチャ)の復号化をしながら、順次逆方向に表示することが行われた。この手法では、バッファサイズが大きくなるうえに、円滑な逆方向画像を途切れさせることなく再生するには、高速に復号化できる性能が要求されるという課題があった。   Also, in the conventional backward reproduction method of video and audio streams, such as in the image decoding device described in Patent Document 3 below, only I and P pictures are stored and saved in a memory buffer and saved. While decoding other pictures (B pictures) using images, the images were displayed in the reverse direction sequentially. In this method, there is a problem that the buffer size becomes large, and in order to reproduce a smooth reverse image without interruption, performance capable of high-speed decoding is required.

あるいは、他の従来の映像音声ストリームの逆方向再生方法等では、逆方向再生時にはIピクチャだけを再生することが行われた。この手法は、非常に簡単な構成で実現することが可能で、コストアップにはつながらないが、画質的には極めて劣悪なものとならざるを得ず、ある程度良好な画像で逆方向再生することは期待できないという課題があった。この手法は、逆方向再生では「何が表示されているかが、おおよそでも判別できればよいであろう」という目的にのみ適合し得るものであった。   Alternatively, in other conventional video / audio stream backward reproduction methods, only I pictures are reproduced during backward reproduction. This method can be realized with a very simple configuration and does not lead to an increase in cost, but it must be extremely poor in terms of image quality, and reverse playback with a somewhat good image is not possible. There was a problem that could not be expected. This method can be adapted only for the purpose of “what should be displayed can be roughly determined” in reverse playback.

あるいは、さらに他の従来の映像音声ストリームの逆方向再生方法等では、付加的なデコーダやメモリバッファを用意せず、なおかつ一定の良好な画質を維持しながら、逆方向再生を行おうとすると、再生画像の徒切れが生じざるを得ないという課題があった。この課題に関しては、本発明の本質と関連が深いので、本発明の詳細な説明の中で、本発明の実施の形態と対比しながら詳細に説明をする。
特開平8−32935号公報 特開平8−70429号公報 特開平10−271444号公報
Alternatively, in other conventional video / audio stream reverse playback methods, etc., if an additional decoder or memory buffer is not prepared and a reverse playback is performed while maintaining a certain good image quality, playback is performed. There was a problem that the image had to be cut off. Since this problem is deeply related to the essence of the present invention, it will be described in detail in the detailed description of the present invention in comparison with the embodiment of the present invention.
JP-A-8-32935 JP-A-8-70429 JP-A-10-271444

上記のとおり、従来の映像音声ストリームの逆方向再生方法等では、良好な画質で逆方向再生を行おうとすると付加的なデコーダやメモリバッファを必要としたり、これら付加的な構成要素を付加しなければ画質が極めて劣悪なものとなってしまったり、付加的な構成を付加せずに良好な画質で逆方向再生を行おうとすると画像が途切れてしまうという課題があった。   As described above, in the backward reproduction method of the conventional audio / video stream, if backward reproduction is performed with good image quality, an additional decoder or memory buffer is required, or these additional components must be added. For example, the image quality may be extremely poor, or the image may be interrupted if reverse playback is performed with a good image quality without adding an additional configuration.

本発明は上記課題を解決するために行われたもので、復号化された画像用メモリバッファの容量を増やすことなく、また復号化手段や映像音声分離手段等も増設することなく、再生映像を途切れさせずに、なおかつ良好な画質で映像音声ストリームの逆方向再生を可能とすることを目的とする。   The present invention has been made in order to solve the above-mentioned problems, and it is possible to reproduce a reproduced video without increasing the capacity of a decoded image memory buffer and without adding decoding means, video / audio separation means, and the like. An object of the present invention is to enable backward reproduction of a video / audio stream with good image quality without interruption.

上記課題を解決するため、本発明は以下の構成を採る。   In order to solve the above problems, the present invention adopts the following configuration.

本特許出願に係る請求項1に記載の発明は、
独立符号化画像と前方参照符号化画像と双方向参照符号化画像とを含む画像構成群からなる映像ストリームの逆方向再生方法であって、
ある画像構成群に属する1つの画像の復号化と同じ画像構成群に属するそれ以外の画像の復号化の間の時間に、次の画像構成群の映像音声分離処理と画像構成解析処理とのいずれかまたは両方を行う、
逆方向再生方法である。
The invention according to claim 1 of the present patent application is
A method for backward reproduction of a video stream comprising an image composition group including an independent encoded image, a forward reference encoded image, and a bidirectional reference encoded image,
During the time between the decoding of one image belonging to a certain image composition group and the decoding of other images belonging to the same image composition group, either the video / audio separation process or the image structure analysis process of the next image composition group Or do both,
This is a reverse playback method.

本特許出願に係る請求項2に記載の発明は、
前記1つの画像は独立符号化画像である、
請求項1に記載の逆方向再生方法である。
The invention according to claim 2 of the present patent application is
The one image is an independently encoded image;
The reverse reproduction method according to claim 1.

本特許出願に係る請求項3に記載の発明は、
前記画像構成群の最初の画像は独立符号化画像であり、
前記画像構成群の第2の画像は前記独立符号化画像と、1つ前の画像構成群の画像とを参照する双方向参照符号化画像であり、
前記第2の画像は前記最初の画像よりも正方向再生時には先に再生される画像であり、
前記最初の画像を再生するための復号化が終了すると前記最初の画像を含む画像構成群の映像音声分離処理を中断し、
前記中断後から1つ前の画像構成群の映像音声分離処理と画像構成解析処理とを開始する、
請求項1に記載の逆方向再生方法である。
The invention according to claim 3 of the present patent application is
The first image of the image group is an independently encoded image;
A second image of the image composition group is a bi-directional reference encoded image that refers to the independent encoded image and an image of the previous image composition group;
The second image is an image that is reproduced first when reproducing in the forward direction than the first image,
When the decoding for reproducing the first image is completed, the video / audio separation processing of the image composition group including the first image is interrupted,
Starting video / audio separation processing and image configuration analysis processing of the previous image configuration group after the interruption;
The reverse reproduction method according to claim 1.

本特許出願に係る請求項4に記載の発明は、
前記映像ストリームはMPEG2符号化された映像ストリームであって、
前記画像構成群はGOPであり、
前記独立符号化画像はIピクチャであり、
前記前方参照符号化画像はPピクチャであり、
前記双方向参照符号化画像はBピクチャである、
請求項3に記載の逆方向再生方法である。
The invention according to claim 4 of the present patent application is
The video stream is an MPEG2 encoded video stream,
The image composition group is a GOP,
The independent coded image is an I picture;
The forward reference encoded image is a P picture;
The bi-directional reference encoded image is a B picture.
The reverse reproduction method according to claim 3.

本特許出願に係る請求項5に記載の発明は、
前記最初の画像はI2ピクチャであり、
前記第2の画像はB0ピクチャもしくはB1ピクチャである、
請求項4に記載の逆方向再生方法である。
The invention according to claim 5 of the present patent application is
The first image is an I2 picture;
The second image is a B0 picture or a B1 picture;
5. A backward reproduction method according to claim 4.

本特許出願に係る請求項6に記載の発明は、
前記最初の画像はI5ピクチャであり、
前記第2の画像はB0ピクチャからB4ピクチャのいずれかである、
請求項4に記載の逆方向再生方法である。
The invention according to claim 6 of the present patent application is
The first image is an I5 picture,
The second image is any one of B0 to B4 pictures;
5. A backward reproduction method according to claim 4.

本特許出願に係る請求項7に記載の発明は、
復号化された画像用メモリバッファとして4画像分のメモリバッファを有する、
請求項3に記載の逆方向再生方法である。
The invention described in claim 7 according to the present patent application is
A memory buffer for four images as a decoded image memory buffer;
The reverse reproduction method according to claim 3.

本特許出願に係る請求項8に記載の発明は、
前記逆方向再生は逆方向スロー再生である、
請求項1から請求項7のいずれか1項に記載の逆方向再生方法である。
The invention described in claim 8 according to the present patent application is
The reverse reproduction is reverse slow reproduction;
The backward reproduction method according to any one of claims 1 to 7.

本特許出願に係る請求項9に記載の発明は、
独立符号化画像と前方参照符号化画像と双方向参照符号化画像とを含む画像構成群からなる映像ストリームの再生装置であって、
前記画像構成群の最初の画像は独立符号化画像であり、
前記画像構成群の第2の画像は前記独立符号化画像と、1つ前の画像構成群の画像とを参照する双方向参照符号化画像であり、
前記第2の画像は前記最初の画像よりも正方向再生時には先に再生される画像であり、
前記映像ストリームの逆方向再生時には、
前記最初の画像を再生するための復号化が終了すると前記最初の画像を含む画像構成群の映像音声分離処理を中断し、
前記中断後から1つ前の画像構成群の映像音声分離処理と画像構成解析処理とを開始する、
映像ストリームの再生装置である。
The invention according to claim 9 of the present patent application is
A playback device for a video stream comprising an image configuration group including an independent encoded image, a forward reference encoded image, and a bidirectional reference encoded image,
The first image of the image group is an independently encoded image;
A second image of the image composition group is a bi-directional reference encoded image that refers to the independent encoded image and an image of the previous image composition group;
The second image is an image that is reproduced first when reproducing in the forward direction than the first image,
During reverse playback of the video stream,
When the decoding for reproducing the first image is completed, the video / audio separation processing of the image composition group including the first image is interrupted,
Starting video / audio separation processing and image configuration analysis processing of the previous image configuration group after the interruption;
This is a video stream playback device.

本特許出願に係る請求項10に記載の発明は、
独立符号化画像と前方参照符号化画像と双方向参照符号化画像とを含む画像構成群からなる映像ストリームを逆方向再生するための、コンピュータによって実行可能な逆方向再生プログラムであって、
前記画像構成群の最初の画像は独立符号化画像であり、
前記画像構成群の第2の画像は前記独立符号化画像と、1つ前の画像構成群の画像とを参照する双方向参照符号化画像であり、
前記第2の画像は前記最初の画像よりも正方向再生時には先に再生される画像であり、
前記最初の画像を再生するための復号化が終了すると前記最初の画像を含む画像構成群の映像音声分離処理を中断し、
前記中断後から1つ前の画像構成群の映像音声分離処理と画像構成解析処理とを開始する、
逆方向再生プログラムである。
The invention according to claim 10 of the present patent application is
A computer-executable backward reproduction program for backward reproduction of a video stream including an image configuration group including an independent encoded image, a forward reference encoded image, and a bidirectional reference encoded image,
The first image of the image group is an independently encoded image;
A second image of the image composition group is a bi-directional reference encoded image that refers to the independent encoded image and an image of the previous image composition group;
The second image is an image that is reproduced first when reproducing in the forward direction than the first image,
When the decoding for reproducing the first image is completed, the video / audio separation processing of the image composition group including the first image is interrupted,
Starting video / audio separation processing and image configuration analysis processing of the previous image configuration group after the interruption;
This is a reverse playback program.

本特許出願に係る請求項11に記載の発明は、
コンピュータによって読み取り可能な情報記録媒体であって、
請求項10に記載の逆方向再生プログラムを記録した、情報記録媒体である。
The invention described in claim 11 according to the present patent application is
An information recording medium readable by a computer,
An information recording medium on which the backward reproduction program according to claim 10 is recorded.

本発明は上記手段を採ることによって、復号化された画像用メモリバッファの容量を増やすことなく、また復号化手段や映像音声分離手段等も増設することなく、再生映像を途切れさせずに、映像音声ストリームの逆方向再生が可能となる。   The present invention adopts the above-described means, without increasing the capacity of the decoded image memory buffer, without adding decoding means, video / audio separation means, etc., and without interrupting the reproduced video. The audio stream can be played in the reverse direction.

以下に本発明の実施の形態について、図面を参照して説明する。   Embodiments of the present invention will be described below with reference to the drawings.

(第1の実施の形態)
図1に、本発明に係る逆方向再生方法、逆方向再生装置、逆方向再生プログラムおよび逆方向再生プログラムを記録した記録媒体の第1の実施の形態であって、映像情報と音声情報とが多重化されて符号化された映像音声ストリームの逆方向再生方法等を行う、メディアプレーヤ100のブロック構成図を示す。
(First embodiment)
FIG. 1 shows a first embodiment of a reverse reproduction method, reverse reproduction apparatus, reverse reproduction program and reverse reproduction program according to the present invention, in which video information and audio information are recorded. FIG. 2 shows a block configuration diagram of the media player 100 that performs a reverse playback method and the like of multiplexed and encoded video and audio streams.

このメディアプレーヤ100は、映像情報と音声情報とその他の各種情報とが多重化されて符号化された映像音声ストリームを映像音声ストリーム記録部104に記録し、その再生を行うものである。映像音声ストリーム記録部104は、具体的には例えば、DVD(デジタル・バーサタイル・ディスク)やHDD(ハード・ディスク・ドライブ)や、SDカードを始めとする各種半導体を使った記録媒体など、磁気的あるいは光学的あるいは電子的な原理やこれらを組み合わせて情報を記録・記憶することのできる情報記録装置ならば何であっても構わない。また、必ずしもこのメディアプレーヤ100に内蔵していることは必要でなく、例えば何らかの外付け装置であっても構わない。   The media player 100 records a video / audio stream in which video information, audio information, and other various types of information are multiplexed and encoded in the video / audio stream recording unit 104, and reproduces it. Specifically, the audio / video stream recording unit 104 is, for example, a magnetic medium such as a DVD (digital versatile disk), an HDD (hard disk drive), or a recording medium using various semiconductors such as an SD card. Alternatively, any information recording apparatus capable of recording / storing information by combining optical or electronic principles and these may be used. Further, it is not always necessary that the media player 100 is built in, and for example, some external device may be used.

また、映像情報と音声情報とその他の各種情報との多重化方法や符号化方法も、例えばMPEG2符号化やTS(トランスポートストリーム)多重符号化等を用いることができるが、これらの方式に限るものではなく、どのような多重化符号化方式であっても構わない。   Also, for example, MPEG2 encoding, TS (transport stream) multiplexing encoding, or the like can be used as a multiplexing method or encoding method for video information, audio information, and other various types of information. However, the present invention is not limited to these methods. However, any multiplex encoding method may be used.

このメディアプレーヤ100は、例えば図示しない何らかのユーザインタフェースを使ったユーザの操作によって起動され、その操作内容に従った動作がホスト制御部102の制御によって実行される。あるいはユーザインタフェース自体がホスト制御部102に含まれていても構わない。さらにまた、必ずしもユーザの操作によるのではなく、図示しないネットワークや通信回線を介した他の機器や装置からの制御によって起動され、その制御内容に従った動作がホスト制御部102の制御によって実行されても構わない。このネットワークあるいはネットワークインタフェースや通信回線がホスト制御部102に含まれていても構わない。あるいはさらにまた、必ずしもユーザの操作や他の機器からの制御によるのでなく、予め設定された何らかの条件、例えば時間の経過や何らかのイベントの発生を検知することによって、予めプログラムされた内容に従った動作がホスト制御部102の制御によって実行されても構わない。これら、ホスト制御部102によって行われる制御内容には、上記映像音声ストリームを外部から入力して映像音声ストリーム記録部104に記録することと、映像音声ストリーム記録部104に記録されている映像音声ストリームを読み出して再生することと、その他の各種処理を行うことがある。   The media player 100 is activated by a user operation using, for example, some user interface (not shown), and an operation according to the operation content is executed under the control of the host control unit 102. Alternatively, the user interface itself may be included in the host control unit 102. Furthermore, it is not necessarily operated by the user, but is activated by control from another device or apparatus via a network or communication line (not shown), and the operation according to the control content is executed by control of the host control unit 102. It doesn't matter. This network or network interface or communication line may be included in the host control unit 102. Alternatively, it is not necessarily a user operation or control from other devices, but an operation in accordance with preprogrammed content by detecting some preset condition, for example, the passage of time or the occurrence of some event. May be executed under the control of the host control unit 102. The contents of control performed by the host control unit 102 include that the video / audio stream is input from the outside and recorded in the video / audio stream recording unit 104, and the video / audio stream recorded in the video / audio stream recording unit 104. May be read out and reproduced, and other various processes may be performed.

図1には、これらの処理を行うためのメディアプレーヤ100の主要構成ブロックを示し、これらの主要構成ブロックを結ぶ破線の矢印は映像音声ストリーム等、コンテンツ情報の流れを、主要構成ブロックを結ぶ実線の矢印は制御情報の流れを示している。但し、これらの主要構成ブロックはあくまでも代表的なものだけを模式的に示すものであり、メディアプレーヤ100はその他の多くの構成要素を含んでいても構わないし、これらの主要構成要素間のコンテンツ情報の流れや制御情報の流れも、あくまでも代表的なものだけを模式的に示すものであり、メディアプレーヤ100はその他の多くのコンテンツ情報や制御情報の流れを含んでいても構わない。   FIG. 1 shows the main constituent blocks of the media player 100 for performing these processes, and the broken arrows connecting these main constituent blocks indicate the flow of content information such as a video / audio stream and the solid lines connecting the main constituent blocks. The arrows indicate the flow of control information. However, these main component blocks are merely representative examples, and the media player 100 may include many other components, and content information between these main components may be included. Also, the flow of information and the flow of control information are merely representative, and the media player 100 may include many other content information and control information flows.

しかしながら、これらの制御内容と制御方法に関しては、本発明の本質と直接関係しないので詳細な説明を行うことは省略する。ただ、本発明の本質に最も関係するのは、映像音声ストリーム記録部104に記録されている映像音声ストリームを読み出して再生することであり、特に、映像音声ストリームを逆方向に低速(スロー)再生することであるので、これらに関してのみ、詳細に説明をする。   However, since these control contents and control methods are not directly related to the essence of the present invention, detailed description thereof will be omitted. However, the most relevant to the essence of the present invention is to read out and play back the video / audio stream recorded in the video / audio stream recording unit 104, and in particular, to play back the video / audio stream in the reverse direction at low speed (slow) Therefore, only these will be described in detail.

これらの各種再生を制御するのは、再生制御部106であり、この再生制御部106はホスト制御部102からの制御によって起動される。   These various reproductions are controlled by the reproduction control unit 106, which is activated by the control from the host control unit 102.

再生制御部106が起動されるとその再生方式、例えば順方向の再生であるか、あるいは逆方向の再生であるか、あるいは高速再生であるか通常速度の再生であるか低速再生であるか等に従って、指定された映像音声ストリームが指定された順番で映像音声ストリーム記録部104から読み出され、映像音声分離部108へ送られて、映像音声ストリームの解析と音声ストリームと映像ストリームの分離とが実行される。但し、これらの制御の流れと処理内容もあくまでも模式的かつ単純化された一例であり、これ以外の制御の流れが行われても構わないし、その他の各種制御や処理を含んでいても構わない。この映像音声ストリームを読み出す順序と、映像音声ストリームの解析と音声ストリームと映像ストリームの分離とに関しては、本発明の本質と直接関連するので、後でより詳細に説明をする。   When the playback control unit 106 is activated, the playback method, for example, forward playback, reverse playback, high speed playback, normal speed playback, low speed playback, etc. Accordingly, the designated video / audio stream is read from the video / audio stream recording unit 104 in the designated order and sent to the video / audio separation unit 108 to analyze the video / audio stream and to separate the audio stream and the video stream. Executed. However, these control flows and processing contents are merely schematic and simplified examples, other control flows may be performed, and other various controls and processes may be included. . The order of reading out the video / audio stream, the analysis of the video / audio stream, and the separation of the audio and video streams are directly related to the essence of the present invention, and will be described in detail later.

映像音声ストリームから分離された音声ストリームは音声デコーダ122へ送られ、再生可能な音声信号に復号化されて一旦音声メモリバッファ126に記憶され、再生タイミングに同期したタイミングで音声出力メモリ132に送られてスピーカ(図示せず)などで再生される。この音声デコーダ122は、各種音声データの符号化方式に応じて、異なるデコーダが必要になる。これについても、本発明の本質とは直接関係しないので詳細な説明は省略する。   The audio stream separated from the video / audio stream is sent to the audio decoder 122, decoded into a reproducible audio signal, temporarily stored in the audio memory buffer 126, and sent to the audio output memory 132 at a timing synchronized with the reproduction timing. And reproduced by a speaker (not shown). The audio decoder 122 requires different decoders depending on various audio data encoding methods. Since this is not directly related to the essence of the present invention, detailed description thereof is omitted.

映像音声ストリームから分離された映像ストリームは映像デコーダ124へ送られ、再生可能な映像信号に復号化されて一旦映像メモリバッファ128に記憶され、再生タイミングに同期したタイミングで映像出力メモリ134に送られてCRTや液晶表示デバイスなど(図示せず)の表示装置で再生される。この映像デコーダ124も、各種映像データの符号化方式に応じて、異なるデコーダが必要になる。   The video stream separated from the video / audio stream is sent to the video decoder 124, decoded into a reproducible video signal, temporarily stored in the video memory buffer 128, and sent to the video output memory 134 at a timing synchronized with the playback timing. Are reproduced on a display device such as a CRT or a liquid crystal display device (not shown). This video decoder 124 also requires a different decoder depending on the encoding method of various video data.

この映像ストリームの記録方式、読み出し順序、デコード方式とデコード順序は、本発明の本質に直接関連するので、図2と図3とを使って詳細に説明をする。   Since the video stream recording method, reading order, decoding method, and decoding order are directly related to the essence of the present invention, they will be described in detail with reference to FIGS.

本発明では、独立符号化画像と前方参照符号化画像と双方向参照符号化画像とを含む画像構成群からなる映像ストリームを対象としている。すなわち、映像ストリームは、ピクチャあるいはフレームあるいは画面と呼ばれる1枚の画像データがつながった状態、すなわち連続的に配置された状態で構成されている。1枚の画像データとは、映像ストリームが再生された時に1度に表示される絵を構成する画像データであり、例えば、約33.3ミリ秒毎に1枚の画像データが表示されるが、必ずしもこの表示速度に限るものではない。   The present invention is directed to a video stream including an image configuration group including an independent encoded image, a forward reference encoded image, and a bidirectional reference encoded image. That is, the video stream is configured in a state where one piece of image data called a picture, a frame, or a screen is connected, that is, continuously arranged. One piece of image data is image data constituting a picture that is displayed at a time when a video stream is reproduced. For example, one piece of image data is displayed about every 33.3 milliseconds. However, the display speed is not necessarily limited to this.

この1枚の画像データは独立符号化画像と前方参照符号化画像と双方向参照符号化画像とに分類することができる。独立符号化画像とは、その画像データだけで符号化と復号化を行う画像データで、Iピクチャと呼ばれることもある。前方参照符号化画像とは、その画像データと前方の画像データとを使って符号化と復号化を行う画像データで、Pピクチャと呼ばれることもある。双方向参照符号化画像とは、その画像データと前方の画像データと後方の画像データとを使って符号化と復号化を行う画像データで、Bピクチャと呼ばれることもある。   This single image data can be classified into an independent encoded image, a forward reference encoded image, and a bidirectional reference encoded image. An independent encoded image is image data that is encoded and decoded using only the image data, and is sometimes called an I picture. The forward reference coded image is image data that is encoded and decoded using the image data and the forward image data, and is sometimes called a P picture. The bi-directional reference encoded image is image data that is encoded and decoded using the image data, the front image data, and the rear image data, and is sometimes called a B picture.

そしてこれらのIピクチャとPピクチャとBピクチャとが複数集まって1つの画像構成群を構成する。この画像構成群はGOP(Group Of Picture)と呼ばれることもあり、その他、VOBU(Video OBject Unit)、ピクチャ構成群、フレーム構成群、画像グループなどと呼ばれることもあるが、以下の説明ではGOPを使用する。   A plurality of these I pictures, P pictures, and B pictures are collected to form one image configuration group. This image composition group may be referred to as GOP (Group Of Picture), and may also be referred to as VOBU (Video Object Unit), picture composition group, frame composition group, image group, etc. use.

1つの例を挙げるならば図2〜図3に示すように、1つのIピクチャと3つのPピクチャと8個のBピクチャが集まって1つのGOPを構成することができる。   For example, as shown in FIGS. 2 to 3, one I picture, three P pictures, and eight B pictures can be collected to form one GOP.

図2には、このGOPのピクチャ構成の一例を示す。   FIG. 2 shows an example of the picture configuration of this GOP.

図2に示すように、映像ストリームは複数のGOPがつながった状態、すなわち連続的に配置された状態で構成されている。但し、図2では図示の都合上、1つのGOPと、そのGOPの1つ前のGOPと、そのGOPの1つ後のGOPとだけを示している。   As shown in FIG. 2, the video stream is configured in a state in which a plurality of GOPs are connected, that is, continuously arranged. However, in FIG. 2, for convenience of illustration, only one GOP, the GOP immediately before that GOP, and the GOP immediately after that GOP are shown.

各GOPは、上記のとおり、1つのIピクチャと3つのPピクチャと8個のBピクチャが集まって構成され、記録と読み出しが行われる順番は例えば図2に示す通り、I2、B0、B1、P5、B3、B4、P8、B6、B7、P11、B9、B10の各ピクチャの順である。但し、上記I、P、BはそれぞれIピクチャ、Pピクチャ、Bピクチャであることを示し、アルファベットIPBの後の数字は後述する再生の順番を示している。   Each GOP is composed of one I picture, three P pictures, and eight B pictures as described above, and the order of recording and reading is, for example, as shown in FIG. 2, I2, B0, B1, This is the order of the pictures P5, B3, B4, P8, B6, B7, P11, B9, and B10. However, I, P, and B indicate an I picture, a P picture, and a B picture, respectively, and the numbers after the alphabet IPB indicate the order of reproduction described later.

上記からも分り、図2にも示すとおり、これらの映像ストリームが順方向に再生される時には、B0、B1、I2、B3、B4、P5、B6、B7、P8、B9、B10、P11の順に表示され、これらの映像ストリームが逆方向に再生される時には、P11、B10、B9、P8、B7、B6、P5、B4、B3、I2、B1、B0の順に表示される。   As can be seen from the above, as shown in FIG. 2, when these video streams are reproduced in the forward direction, B0, B1, I2, B3, B4, P5, B6, B7, P8, B9, B10, P11 are arranged in this order. When these video streams are played back in the reverse direction, they are displayed in the order of P11, B10, B9, P8, B7, B6, P5, B4, B3, I2, B1, B0.

また、各ピクチャを符号化あるいは復号化する時に使用するピクチャの関係を図3に示す。上記のとおり、Iピクチャはその画像データだけで符号化と復号化を行う画像データであるから、符号化と復号化時に使用するピクチャはない。   Also, FIG. 3 shows the relationship of pictures used when encoding or decoding each picture. As described above, since the I picture is image data that is encoded and decoded only by the image data, there is no picture used for encoding and decoding.

Pピクチャはその画像データと前方の画像データとを使って符号化と復号化を行うので、その前のIピクチャまたはPピクチャを使って符号化と復号化を行う。図3の例では、P5ピクチャは前のI2ピクチャを使って符号化と復号化を行い、P8ピクチャは前のP5ピクチャを使って符号化と復号化を行い、P11ピクチャは前のP8ピクチャを使って符号化と復号化を行う。   Since the P picture is encoded and decoded using the image data and the preceding image data, the P picture is encoded and decoded using the previous I picture or P picture. In the example of FIG. 3, the P5 picture is encoded and decoded using the previous I2 picture, the P8 picture is encoded and decoded using the previous P5 picture, and the P11 picture is the previous P8 picture. Use to encode and decode.

Bピクチャはその画像データと前方の画像データと後方の画像データとを使って符号化と復号化を行うので、その前と後のIピクチャまたはPピクチャを使って符号化と復号化を行う。図3の例では、B3ピクチャは前のI2ピクチャと後のP5ピクチャを使って符号化と復号化を行い、B4ピクチャも前のI2ピクチャと後のP5ピクチャを使って符号化と復号化を行い、B6ピクチャは前のP5ピクチャと後のP8ピクチャを使って符号化と復号化を行い、B7ピクチャも前のP5ピクチャと後のP8ピクチャを使って符号化と復号化を行い、B9ピクチャは前のP8ピクチャと後のP11ピクチャを使って符号化と復号化を行い、B10ピクチャも前のP8ピクチャと後のP11ピクチャを使って符号化と復号化を行う。   Since the B picture is encoded and decoded using the image data, the front image data, and the rear image data, the B picture is encoded and decoded using the I picture or P picture before and after the B picture. In the example of FIG. 3, the B3 picture is encoded and decoded using the previous I2 picture and the subsequent P5 picture, and the B4 picture is encoded and decoded using the previous I2 picture and the subsequent P5 picture. The B6 picture is encoded and decoded using the previous P5 picture and the subsequent P8 picture, and the B7 picture is also encoded and decoded using the previous P5 picture and the subsequent P8 picture. Performs encoding and decoding using the previous P8 picture and the subsequent P11 picture, and also encodes and decodes the B10 picture using the previous P8 picture and the subsequent P11 picture.

B0ピクチャとB1ピクチャは、1つ前のGOPのP11ピクチャと自分自身が属するGOPのI2ピクチャを使って符号化と復号化を行う。このB0ピクチャとB1ピクチャが、自分自身が属するGOPの1つ前のGOPのP11ピクチャを使用することは、本発明の本質に最も関連するので、特に注意が必要である。   The B0 and B1 pictures are encoded and decoded using the P11 picture of the previous GOP and the I2 picture of the GOP to which the B0 picture belongs. The use of the P11 picture of the GOP immediately preceding the GOP to which the B0 picture and the B1 picture belong is most relevant to the essence of the present invention, so particular attention is required.

次に、図4〜図9を使い、このように構成されている映像ストリームを1/5の低速度で逆方向に再生する時のタイミングと時間の経過を説明する。逆方向の再生であるから、図3に示す1つ後のGOPを先に再生し、次に図3に示す1つのGOPを再生し、その次に図3に示す1つ前のGOPを再生する。この呼称は以後の説明でも同様に使用する。また同様に、1つのGOPの中でも再生する順番は、P11、B10、B9、P8、B7、B6、P5、B4、B3、I2、B1、B0の順でなければならない。これは上記のとおりである。そして、これから1つのGOPを再生しようとしている状態を仮定し、このGOPをGOP(±0)とする。このGOP(±0)の1つ前のGOP(記録と読み出しの順での1つ前のGOPで、逆方向再生時には1つ後で再生されるGOP)をGOP(−1)とする。   Next, the timing and the passage of time when the video stream configured in this way is reproduced in the reverse direction at a low speed of 1/5 will be described with reference to FIGS. Since playback is in the reverse direction, the next GOP shown in FIG. 3 is played back first, then the one GOP shown in FIG. 3 is played, and then the previous GOP shown in FIG. 3 is played back. To do. This designation will be used in the same way in the following description. Similarly, the playback order in one GOP must be P11, B10, B9, P8, B7, B6, P5, B4, B3, I2, B1, B0. This is as described above. Then, assuming that one GOP is going to be reproduced from now on, this GOP is GOP (± 0). GOP (−1) is the GOP immediately preceding this GOP (± 0) (the GOP immediately preceding in the order of recording and reading, and the GOP that is reproduced immediately after the reverse reproduction).

図4は、1/5低速逆方向再生時のタイミングと時間の経過を示す図(その1)で、このGOP(±0)の再生の開始から、B9ピクチャの再生とP8ピクチャのデコードまでを示している。   FIG. 4 is a diagram (part 1) showing the timing and time passage at the time of 1/5 low-speed backward playback, from the start of playback of this GOP (± 0) to the playback of the B9 picture and the decoding of the P8 picture. Show.

図4に示すとおり、GOP(±0)の、1/5低速逆方向再生が開始されると、まずDeMux(デマックス)が行われる。このDeMuxとは、図1に示す映像音声分離部108が実行する映像ストリームと音声ストリームとの分離をいい、多重分離、デマルチプレクサ等ということもある。このDeMuxには、例えば1つの例では約160ミリ秒を要し、DeMuxと並行してGOP(±0)の構成解析が行われる。このGOPの構成解析とは、GOPの構成情報(フレーム構成情報やピクチャ構成情報、ピクチャタイプ構成情報等と呼ばれることもある)を解析し、一例を図2〜図3に示すような各GOPの構成を解析し、その構成を表わすヘッダ情報テーブル等を作成することをいう。但し、ヘッダ情報テーブル等を作成することは一例であって、必ずしもこのようなテーブルや情報を作成することは必須ではなく、DeMuxに要する時間も一例であって、必ずしもこの時間に限るものではない。   As shown in FIG. 4, when 1/5 low-speed backward reproduction of GOP (± 0) is started, DeMux is first performed. The DeMux refers to the separation of the video stream and the audio stream executed by the video / audio separation unit 108 shown in FIG. 1, and may be demultiplexing, demultiplexer, or the like. This DeMux requires, for example, about 160 milliseconds in one example, and the GOP (± 0) configuration analysis is performed in parallel with DeMux. This GOP configuration analysis is analysis of GOP configuration information (sometimes referred to as frame configuration information, picture configuration information, picture type configuration information, etc.), and an example of each GOP as shown in FIGS. This means analyzing the configuration and creating a header information table or the like representing the configuration. However, the creation of a header information table or the like is an example, and it is not always necessary to create such a table or information. The time required for DeMux is also an example, and is not necessarily limited to this time. .

GOP(±0)のDeMuxが一通り終わり、ヘッダ情報テーブル等が作成されると、次に再度GOP(±0)のDeMuxを行うと共に、作成したヘッダ情報テーブルに記載されている内容に従って、各ピクチャの復号化(デコード)が実行される。この時、同じGOP(±0)のDeMuxを繰り返し行わず、先にDeMuxした結果を記憶しておく方法も考えられるが、その方法では記憶用のメモリを多く必要とする。同じGOP(±0)のDeMuxを繰り返し行う方が記憶用のメモリを必要とせず、同じDeMux用の回路を繰り返し使用するだけであるから、より効率的である。   Once the GOP (± 0) DeMux is completed and the header information table and the like are created, the GOP (± 0) DeMux is performed again, and according to the contents described in the created header information table, each The picture is decoded. At this time, a method of storing the result of the first DeMux without repeatedly performing the same GOP (± 0) DeMux is conceivable, but this method requires a lot of memory for storage. Repeating DeMux of the same GOP (± 0) is more efficient because it does not require a memory for storage and only uses the same DeMux circuit repeatedly.

図4では(以降の図でも同じ)、復号化を行うピクチャを「VDec」の欄に表示している。   In FIG. 4 (the same applies to the following drawings), the picture to be decoded is displayed in the column “VDec”.

今、実行しようとしているのは逆方向再生であるから、このGOP(±0)の中で最初に再生されるピクチャはP11ピクチャであり、P11ピクチャをデコードするにはその参照ピクチャであるP8ピクチャをデコードしなければならず、P8ピクチャをデコードするにはその参照ピクチャであるP5ピクチャをデコードしなければならず、P5ピクチャをデコードするにはその参照ピクチャであるI2ピクチャをデコードしなければならず、I2ピクチャには参照ピクチャが存在しないので、それだけでデコードすることができる。従って、図4に示すとおり、P11ピクチャをデコードするために、I2ピクチャ、P5ピクチャ、P8ピクチャと順にデコードを行い、その次にP11ピクチャのデコードを行う。それぞれデコードしたピクチャは次のピクチャのデコードのために参照されるので一時的に記憶しておく必要があり、I2ピクチャはFM(Frame Memory)0に記憶し、このFM0に記憶されているI2ピクチャを使ってP5ピクチャをデコードしてFM1に記憶し、このFM1に記憶されているP5ピクチャを使ってP8ピクチャをデコードして再びFM0に記憶し、このFM0に記憶されているP8ピクチャを使ってP11ピクチャをデコードしてFM2に記憶する。そしてこのP11ピクチャを映像出力メモリ134(Vout)に転送し、この転送が完了した時点からP11ピクチャの再生が開始される。このようにして、約160ミリ秒かけて、1回のGOP(±0)のDeMuxと1つのピクチャ(P11ピクチャ)のデコードを終了する。   Since reverse playback is currently being performed, the first picture to be played in this GOP (± 0) is a P11 picture, and a P8 picture that is the reference picture for decoding the P11 picture In order to decode the P8 picture, the reference picture P5 picture must be decoded, and in order to decode the P5 picture, the reference picture I2 picture must be decoded. Since there is no reference picture in the I2 picture, it can be decoded by itself. Therefore, as shown in FIG. 4, in order to decode the P11 picture, decoding is performed in order of the I2 picture, the P5 picture, and the P8 picture, and then the P11 picture is decoded. Each decoded picture is referred to for decoding the next picture, so it must be temporarily stored. The I2 picture is stored in FM (Frame Memory) 0, and the I2 picture stored in FM0 Is used to decode the P5 picture and store it in FM1, use the P5 picture stored in FM1 to decode the P8 picture, store it again in FM0, and use the P8 picture stored in FM0. The P11 picture is decoded and stored in FM2. Then, this P11 picture is transferred to the video output memory 134 (Vout), and playback of the P11 picture is started when this transfer is completed. In this way, the decoding of one GOP (± 0) DeMux and one picture (P11 picture) is completed over approximately 160 milliseconds.

また、今、実行しようとしているのは1/5倍速の逆方向再生であるから、P11ピクチャは約167ミリ秒の間、表示されている必要があり、そのためにP11ピクチャは約167ミリ秒の間、Voutに格納される。   In addition, since the reverse playback at 1/5 times speed is currently being executed, the P11 picture needs to be displayed for about 167 milliseconds, and for this reason, the P11 picture has about 167 milliseconds. In the meantime, it is stored in Vout.

次に、同様にして、1つ前のピクチャ(逆方向再生であるから)である、B10ピクチャのデコードと再生が行われる。上記と同様に、B10ピクチャをデコードするには、その参照ピクチャであるP8ピクチャとP11ピクチャをデコードしなければならず、P11ピクチャをデコードするにはその参照ピクチャであるP8ピクチャをデコードしなければならず、P8ピクチャをデコードするにはその参照ピクチャであるP5ピクチャをデコードしなければならず、P5ピクチャをデコードするにはその参照ピクチャであるI2ピクチャをデコードしなければならず、I2ピクチャには参照ピクチャが存在しないので、それだけでデコードすることができる。   Next, similarly, the B10 picture, which is the previous picture (because of backward reproduction), is decoded and reproduced. Similarly to the above, in order to decode the B10 picture, the reference pictures P8 picture and P11 picture must be decoded, and in order to decode the P11 picture, the reference picture P8 picture must be decoded. In order to decode the P8 picture, the reference picture P5 picture must be decoded. To decode the P5 picture, the reference picture I2 picture must be decoded. Since there is no reference picture, it can be decoded by itself.

従って、図4に示すとおり、B10ピクチャをデコードするために、I2ピクチャ、P5ピクチャ、P8ピクチャ、P11ピクチャと順にデコードを行い、その次にB10ピクチャのデコードを行う。それぞれデコードしたピクチャは次のピクチャのデコードのために参照されるので一時的に記憶しておく必要があり、I2ピクチャはFM0に記憶し、このFM0に記憶されているI2ピクチャを使ってP5ピクチャをデコードしてFM1に記憶し、このFM1に記憶されているP5ピクチャを使ってP8ピクチャをデコードして再びFM0に記憶し、このFM0に記憶されているP8ピクチャを使ってP11ピクチャをデコードして再びFM1に記憶し、このFM0に記憶されているP8ピクチャとFM1に記憶されているP11ピクチャを使ってB10ピクチャをデコードしてFM3に記憶する。   Therefore, as shown in FIG. 4, in order to decode the B10 picture, the decoding is performed in order of the I2 picture, the P5 picture, the P8 picture, and the P11 picture, and then the B10 picture is decoded. Each decoded picture is referred to for decoding the next picture, so it must be temporarily stored. The I2 picture is stored in FM0, and a P5 picture is used using the I2 picture stored in FM0. Is decoded and stored in FM1, P8 picture is decoded using P5 picture stored in FM1 and stored again in FM0, and P11 picture is decoded using P8 picture stored in FM0. The B10 picture is decoded using the P8 picture stored in the FM0 and the P11 picture stored in the FM1 and stored in the FM3.

上記説明から分るとおり、FM2とFM3とを交互に映像メモリバッファ128として使用している。FM0とFM1との2つのフレームメモリをデコードのための一時的なメモリバッファとして使用している。   As can be seen from the above description, FM2 and FM3 are alternately used as the video memory buffer 128. Two frame memories FM0 and FM1 are used as temporary memory buffers for decoding.

P11ピクチャの表示が終了した時点でこのB10ピクチャを映像出力メモリ134(Vout)に転送し、その時点からB10ピクチャの再生が開始される。図4から分るとおり、B10ピクチャのデコードが完了した時点で、P11ピクチャの表示時間はまだ終了していないので、P11ピクチャの表示とB10ピクチャの表示との間に、時間的なギャップが生じることはない。B10ピクチャも同様に、この時点から約167ミリ秒の間、Voutに格納される。   When the display of the P11 picture is completed, the B10 picture is transferred to the video output memory 134 (Vout), and the reproduction of the B10 picture is started from that point. As can be seen from FIG. 4, when the decoding of the B10 picture is completed, the display time of the P11 picture has not ended yet, so a time gap is generated between the display of the P11 picture and the display of the B10 picture. There is nothing. Similarly, the B10 picture is stored in Vout for about 167 milliseconds from this point.

この各ピクチャのデコードでも、前のDeMuxの説明で述べたと同様、同じI2ピクチャやP5ピクチャを繰り返しデコードするのではなく、一旦デコードしたI2ピクチャやP5ピクチャを記憶しておき、次のピクチャのデコードに利用する方法も考えられる。しかしながら、そのような方法では、I2ピクチャ、P5ピクチャ、P8ピクチャ、P11ピクチャを記憶しておくだけで最低4つのフレームバッファを必要とする。本発明で説明した同じI2ピクチャやP5ピクチャを繰り返しデコードする方法では、デコードのために参照する直前のピクチャだけを記憶保存すればよいので、そのためのフレームバッファはFM0とFM1との2つだけしか使用せず、記憶用メモリを削減することができる。   In the decoding of each picture, the same I2 picture or P5 picture is not repeatedly decoded as described in the description of the previous DeMux, but the once decoded I2 picture or P5 picture is stored and the next picture is decoded. It is also possible to use this method. However, in such a method, at least four frame buffers are required only to store the I2 picture, the P5 picture, the P8 picture, and the P11 picture. In the method of repeatedly decoding the same I2 picture or P5 picture described in the present invention, it is only necessary to store and save the picture immediately before being referred to for decoding, so that there are only two frame buffers FM0 and FM1. The memory for storage can be reduced without using it.

同じI2ピクチャやP5ピクチャを繰り返しデコードすることは一見無駄とも思われるが、同じデコード回路を繰り返し使用するだけであるから、かえって効率的で無駄は生じない。   Although it seems seemingly useless to decode the same I2 picture or P5 picture at first glance, it is efficient and wasteful because it only uses the same decoding circuit repeatedly.

次に、同様に、さらに1つ前のピクチャである、B9ピクチャのデコードと再生が行われる。上記と同様に、B9ピクチャをデコードするには、その参照ピクチャであるP8ピクチャとP11ピクチャをデコードしなければならず、P11ピクチャをデコードするにはその参照ピクチャであるP8ピクチャをデコードしなければならず、P8ピクチャをデコードするにはその参照ピクチャであるP5ピクチャをデコードしなければならず、P5ピクチャをデコードするにはその参照ピクチャであるI2ピクチャをデコードしなければならず、I2ピクチャには参照ピクチャが存在しないので、それだけでデコードすることができる。   Next, similarly, the B9 picture, which is the previous picture, is decoded and reproduced. Similarly to the above, in order to decode the B9 picture, the reference pictures P8 picture and P11 picture must be decoded, and in order to decode the P11 picture, the reference picture P8 picture must be decoded. In order to decode the P8 picture, the reference picture P5 picture must be decoded. To decode the P5 picture, the reference picture I2 picture must be decoded. Since there is no reference picture, it can be decoded by itself.

従って、図4に示すとおり、B9ピクチャをデコードするために、I2ピクチャ、P5ピクチャ、P8ピクチャ、P11ピクチャと順にデコードを行い、その次にB9ピクチャのデコードを行う。それぞれデコードしたピクチャは次のピクチャのデコードのために参照されるので一時的に記憶しておく必要があり、I2ピクチャはFM0に記憶し、このFM0に記憶されているI2ピクチャを使ってP5ピクチャをデコードしてFM1に記憶し、このFM1に記憶されているP5ピクチャを使ってP8ピクチャをデコードして再びFM0に記憶し、このFM0に記憶されているP8ピクチャを使ってP11ピクチャをデコードして再びFM1に記憶し、このFM0に記憶されているP8ピクチャとFM1に記憶されているP11ピクチャを使ってB9ピクチャをデコードしてFM2に記憶する。B10ピクチャの表示が終了した時点でこのB9ピクチャを映像出力メモリ134(Vout)に転送し、その時点からB9ピクチャの再生が開始される。図4から分るとおり、B9ピクチャのデコードが完了した時点で、B10ピクチャの表示時間はまだ終了していないので、B10ピクチャの表示とB9ピクチャの表示との間に、時間的なギャップが生じることはない。B9ピクチャも同様に、この時点から約167ミリ秒の間、Voutに格納される。   Therefore, as shown in FIG. 4, in order to decode the B9 picture, the I2 picture, the P5 picture, the P8 picture, and the P11 picture are sequentially decoded, and then the B9 picture is decoded. Each decoded picture is referred to for decoding the next picture, so it must be temporarily stored. The I2 picture is stored in FM0, and a P5 picture is used using the I2 picture stored in FM0. Is decoded and stored in FM1, P8 picture is decoded using P5 picture stored in FM1 and stored again in FM0, and P11 picture is decoded using P8 picture stored in FM0. The B9 picture is decoded using the P8 picture stored in the FM0 and the P11 picture stored in the FM1 and stored in the FM2. When the display of the B10 picture is finished, the B9 picture is transferred to the video output memory 134 (Vout), and playback of the B9 picture is started from that point. As can be seen from FIG. 4, when the decoding of the B9 picture is completed, the display time of the B10 picture has not ended yet, so a time gap is generated between the display of the B10 picture and the display of the B9 picture. There is nothing. Similarly, the B9 picture is stored in Vout for about 167 milliseconds from this point.

次に、同様に、さらに1つ前のピクチャである、P8ピクチャのデコードと再生が行われる。このタイミングは、図示の都合上図4〜図5に跨って示している。   Next, similarly, the P8 picture, which is the previous picture, is decoded and reproduced. This timing is shown across FIGS. 4 to 5 for convenience of illustration.

上記と同様に、P8ピクチャをデコードするにはその参照ピクチャであるP5ピクチャをデコードしなければならず、P5ピクチャをデコードするにはその参照ピクチャであるI2ピクチャをデコードしなければならず、I2ピクチャには参照ピクチャが存在しないので、それだけでデコードすることができる。   Similarly to the above, to decode the P8 picture, the reference picture P5 picture must be decoded, and to decode the P5 picture, the reference picture I2 picture must be decoded, and I2 Since there is no reference picture in the picture, it can be decoded by itself.

従って、図4〜図5に示すとおり、P8ピクチャをデコードするために、I2ピクチャ、P5ピクチャと順にデコードを行い、その次にP8ピクチャのデコードを行う。それぞれデコードしたピクチャは次のピクチャのデコードのために参照されるので一時的に記憶しておく必要があり、I2ピクチャはFM0に記憶し、このFM0に記憶されているI2ピクチャを使ってP5ピクチャをデコードしてFM1に記憶し、このFM1に記憶されているP5ピクチャを使ってP8ピクチャをデコードしてFM3に記憶する。B9ピクチャの表示が終了した時点でこのP8ピクチャを映像出力メモリ134(Vout)に転送し、その時点からP8ピクチャの再生が開始される。図4〜図5から分るとおり、P8ピクチャのデコードが完了した時点で、B9ピクチャの表示時間はまだ終了していないので、B9ピクチャの表示とP8ピクチャの表示との間に、時間的なギャップが生じることはない。P8ピクチャも同様に、この時点から約167ミリ秒の間、Voutに格納される。   Therefore, as shown in FIGS. 4 to 5, in order to decode the P8 picture, the I2 picture and the P5 picture are sequentially decoded, and then the P8 picture is decoded. Each decoded picture is referred to for decoding the next picture, so it must be temporarily stored. The I2 picture is stored in FM0, and a P5 picture is used using the I2 picture stored in FM0. Is decoded and stored in FM1, and the P8 picture is decoded using the P5 picture stored in FM1 and stored in FM3. The P8 picture is transferred to the video output memory 134 (Vout) when the display of the B9 picture is finished, and the reproduction of the P8 picture is started from that point. As can be seen from FIGS. 4 to 5, when the decoding of the P8 picture is completed, the display time of the B9 picture has not ended yet, so that there is a temporal difference between the display of the B9 picture and the display of the P8 picture. There is no gap. Similarly, the P8 picture is stored in Vout for about 167 milliseconds from this point.

次に、同様に、さらに1つ前のピクチャである、B7ピクチャのデコードと再生が行われる。上記と同様に、B7ピクチャをデコードするには、その参照ピクチャであるP5ピクチャとP8ピクチャをデコードしなければならず、P8ピクチャをデコードするにはその参照ピクチャであるP5ピクチャをデコードしなければならず、P5ピクチャをデコードするにはその参照ピクチャであるI2ピクチャをデコードしなければならず、I2ピクチャには参照ピクチャが存在しないので、それだけでデコードすることができる。   Next, similarly, the B7 picture, which is the previous picture, is decoded and reproduced. Similarly to the above, in order to decode a B7 picture, the reference pictures P5 picture and P8 picture must be decoded, and in order to decode a P8 picture, the reference picture P5 picture must be decoded. In addition, in order to decode the P5 picture, the reference picture I2 picture must be decoded. Since there is no reference picture in the I2 picture, it can be decoded by itself.

従って、図5に示すとおり、B7ピクチャをデコードするために、I2ピクチャ、P5ピクチャ、P8ピクチャと順にデコードを行い、その次にB7ピクチャのデコードを行う。それぞれデコードしたピクチャは次のピクチャのデコードのために参照されるので一時的に記憶しておく必要があり、I2ピクチャはFM0に記憶し、このFM0に記憶されているI2ピクチャを使ってP5ピクチャをデコードしてFM1に記憶し、このFM1に記憶されているP5ピクチャを使ってP8ピクチャをデコードして再びFM0に記憶し、このFM1に記憶されているP5ピクチャとFM0に記憶されているP8ピクチャを使ってB7ピクチャをデコードしてFM2に記憶する。P8ピクチャの表示が終了した時点でこのB7ピクチャを映像出力メモリ134(Vout)に転送し、その時点からB7ピクチャの再生が開始される。図5から分るとおり、B7ピクチャのデコードが完了した時点で、P8ピクチャの表示時間はまだ終了していないので、P8ピクチャの表示とB7ピクチャの表示との間に、時間的なギャップが生じることはない。B7ピクチャも同様に、この時点から約167ミリ秒の間、Voutに格納される。   Therefore, as shown in FIG. 5, in order to decode the B7 picture, the decoding is performed in order of the I2 picture, the P5 picture, and the P8 picture, and then the B7 picture is decoded. Each decoded picture is referred to for decoding the next picture, so it must be temporarily stored. The I2 picture is stored in FM0, and a P5 picture is used using the I2 picture stored in FM0. Is decoded and stored in FM1, and P8 picture is decoded using P5 picture stored in FM1 and stored in FM0 again. P5 picture stored in FM1 and P8 stored in FM0 are stored in FM0. The B7 picture is decoded using the picture and stored in FM2. When the display of the P8 picture is completed, the B7 picture is transferred to the video output memory 134 (Vout), and playback of the B7 picture is started from that point. As can be seen from FIG. 5, when the decoding of the B7 picture is completed, the display time of the P8 picture has not ended yet, so a time gap is generated between the display of the P8 picture and the display of the B7 picture. There is nothing. Similarly, the B7 picture is stored in Vout for about 167 milliseconds from this point.

次に、同様に、さらに1つ前のピクチャである、B6ピクチャのデコードと再生が行われる。上記と同様に、B6ピクチャをデコードするには、その参照ピクチャであるP5ピクチャとP8ピクチャをデコードしなければならず、P8ピクチャをデコードするにはその参照ピクチャであるP5ピクチャをデコードしなければならず、P5ピクチャをデコードするにはその参照ピクチャであるI2ピクチャをデコードしなければならず、I2ピクチャには参照ピクチャが存在しないので、それだけでデコードすることができる。   Next, similarly, the B6 picture, which is the previous picture, is decoded and reproduced. Similarly to the above, in order to decode the B6 picture, the reference pictures P5 picture and P8 picture must be decoded, and in order to decode the P8 picture, the reference picture P5 picture must be decoded. In addition, in order to decode the P5 picture, the reference picture I2 picture must be decoded. Since there is no reference picture in the I2 picture, it can be decoded by itself.

従って、図5に示すとおり、B6ピクチャをデコードするために、I2ピクチャ、P5ピクチャ、P8ピクチャと順にデコードを行い、その次にB6ピクチャのデコードを行う。それぞれデコードしたピクチャは次のピクチャのデコードのために参照されるので一時的に記憶しておく必要があり、I2ピクチャはFM0に記憶し、このFM0に記憶されているI2ピクチャを使ってP5ピクチャをデコードしてFM1に記憶し、このFM1に記憶されているP5ピクチャを使ってP8ピクチャをデコードして再びFM0に記憶し、このFM1に記憶されているP5ピクチャとFM0に記憶されているP8ピクチャを使ってB6ピクチャをデコードしてFM3に記憶する。B7ピクチャの表示が終了した時点でこのB6ピクチャを映像出力メモリ134(Vout)に転送し、その時点からB6ピクチャの再生が開始される。図5から分るとおり、B6ピクチャのデコードが完了した時点で、B7ピクチャの表示時間はまだ終了していないので、B7ピクチャの表示とB6ピクチャの表示との間に、時間的なギャップが生じることはない。B6ピクチャも同様に、この時点から約167ミリ秒の間、Voutに格納される。   Therefore, as shown in FIG. 5, in order to decode the B6 picture, the decoding is performed in order of the I2 picture, the P5 picture, and the P8 picture, and then the B6 picture is decoded. Each decoded picture is referred to for decoding the next picture, so it must be temporarily stored. The I2 picture is stored in FM0, and a P5 picture is used using the I2 picture stored in FM0. Is decoded and stored in FM1, and P8 picture is decoded using P5 picture stored in FM1 and stored in FM0 again. P5 picture stored in FM1 and P8 stored in FM0 are stored in FM0. The B6 picture is decoded using the picture and stored in FM3. When the display of the B7 picture is completed, the B6 picture is transferred to the video output memory 134 (Vout), and playback of the B6 picture is started from that point. As can be seen from FIG. 5, when the decoding of the B6 picture is completed, the display time of the B7 picture has not ended yet, so a time gap is generated between the display of the B7 picture and the display of the B6 picture. There is nothing. Similarly, the B6 picture is stored in Vout for about 167 milliseconds from this point.

次に、同様に、さらに1つ前のピクチャである、P5ピクチャのデコードと再生が行われる。   Next, similarly, P5 picture, which is the previous picture, is decoded and reproduced.

上記と同様に、P5ピクチャをデコードするにはその参照ピクチャであるI2ピクチャをデコードしなければならず、I2ピクチャには参照ピクチャが存在しないので、それだけでデコードすることができる。   Similarly to the above, in order to decode the P5 picture, the reference picture I2 picture must be decoded. Since there is no reference picture in the I2 picture, it can be decoded by itself.

従って、図5に示すとおり、P5ピクチャをデコードするために、I2ピクチャのデコードを行い、その次にP5ピクチャのデコードを行う。それぞれデコードしたピクチャは次のピクチャのデコードのために参照されるので一時的に記憶しておく必要があり、I2ピクチャはFM0に記憶し、このFM0に記憶されているI2ピクチャを使ってP5ピクチャをデコードしてFM2に記憶する。B6ピクチャの表示が終了した時点でこのP5ピクチャを映像出力メモリ134(Vout)に転送し、その時点からP5ピクチャの再生が開始される。図5から分るとおり、P5ピクチャのデコードが完了した時点で、B6ピクチャの表示時間はまだ終了していないので、B6ピクチャの表示とP5ピクチャの表示との間に、時間的なギャップが生じることはない。P5ピクチャも同様に、この時点から約167ミリ秒の間、Voutに格納される。   Therefore, as shown in FIG. 5, in order to decode the P5 picture, the I2 picture is decoded, and then the P5 picture is decoded. Each decoded picture is referred to for decoding the next picture, so it must be temporarily stored. The I2 picture is stored in FM0, and a P5 picture is used using the I2 picture stored in FM0. Is decoded and stored in FM2. The P5 picture is transferred to the video output memory 134 (Vout) when the display of the B6 picture is finished, and the reproduction of the P5 picture is started from that point. As can be seen from FIG. 5, when the decoding of the P5 picture is completed, the display time of the B6 picture has not ended yet, so a time gap occurs between the display of the B6 picture and the display of the P5 picture. There is nothing. Similarly, the P5 picture is stored in Vout for about 167 milliseconds from this point.

次に、同様に、さらに1つ前のピクチャである、B4ピクチャのデコードと再生が行われる。このタイミングは、図示の都合上図5〜図6に跨って示している。   Next, similarly, the B4 picture, which is the previous picture, is decoded and reproduced. This timing is shown across FIGS. 5 to 6 for convenience of illustration.

上記と同様に、B4ピクチャをデコードするには、その参照ピクチャであるI2ピクチャとP5ピクチャをデコードしなければならず、P5ピクチャをデコードするにはその参照ピクチャであるI2ピクチャをデコードしなければならず、I2ピクチャには参照ピクチャが存在しないので、それだけでデコードすることができる。   Similarly to the above, in order to decode the B4 picture, the reference picture I2 picture and the P5 picture must be decoded, and in order to decode the P5 picture, the reference picture I2 picture must be decoded. In addition, since there is no reference picture in the I2 picture, it can be decoded by itself.

従って、図5〜図6に示すとおり、B4ピクチャをデコードするために、I2ピクチャ、P5ピクチャと順にデコードを行い、その次にB4ピクチャのデコードを行う。それぞれデコードしたピクチャは次のピクチャのデコードのために参照されるので一時的に記憶しておく必要があり、I2ピクチャはFM0に記憶し、このFM0に記憶されているI2ピクチャを使ってP5ピクチャをデコードしてFM1に記憶し、このFM0に記憶されているI2ピクチャとFM1に記憶されているP5ピクチャを使ってB4ピクチャをデコードしてFM3に記憶する。P5ピクチャの表示が終了した時点でこのB4ピクチャを映像出力メモリ134(Vout)に転送し、その時点からB4ピクチャの再生が開始される。図5〜図6から分るとおり、B4ピクチャのデコードが完了した時点で、P5ピクチャの表示時間はまだ終了していないので、P5ピクチャの表示とB4ピクチャの表示との間に、時間的なギャップが生じることはない。B4ピクチャも同様に、この時点から約167ミリ秒の間、Voutに格納される。   Therefore, as shown in FIGS. 5 to 6, in order to decode the B4 picture, the I2 picture and the P5 picture are sequentially decoded, and then the B4 picture is decoded. Each decoded picture is referred to for decoding the next picture, so it must be temporarily stored. The I2 picture is stored in FM0, and a P5 picture is used using the I2 picture stored in FM0. Is decoded and stored in FM1, and the B4 picture is decoded and stored in FM3 using the I2 picture stored in FM0 and the P5 picture stored in FM1. The B4 picture is transferred to the video output memory 134 (Vout) when the display of the P5 picture is finished, and the reproduction of the B4 picture is started from that point. As can be seen from FIG. 5 to FIG. 6, when the decoding of the B4 picture is completed, the display time of the P5 picture has not ended yet. Therefore, there is no temporal difference between the display of the P5 picture and the display of the B4 picture. There is no gap. Similarly, the B4 picture is stored in Vout for about 167 milliseconds from this point.

次に、同様に、さらに1つ前のピクチャである、B3ピクチャのデコードと再生が行われる。   Next, similarly, the B3 picture, which is the previous picture, is decoded and reproduced.

上記と同様に、B3ピクチャをデコードするには、その参照ピクチャであるI2ピクチャとP5ピクチャをデコードしなければならず、P5ピクチャをデコードするにはその参照ピクチャであるI2ピクチャをデコードしなければならず、I2ピクチャには参照ピクチャが存在しないので、それだけでデコードすることができる。   Similarly to the above, in order to decode the B3 picture, the reference picture I2 picture and the P5 picture must be decoded, and in order to decode the P5 picture, the reference picture I2 picture must be decoded. In addition, since there is no reference picture in the I2 picture, it can be decoded by itself.

従って、図6に示すとおり、B3ピクチャをデコードするために、I2ピクチャ、P5ピクチャと順にデコードを行い、その次にB3ピクチャのデコードを行う。それぞれデコードしたピクチャは次のピクチャのデコードのために参照されるので一時的に記憶しておく必要があり、I2ピクチャはFM0に記憶し、このFM0に記憶されているI2ピクチャを使ってP5ピクチャをデコードしてFM1に記憶し、このFM0に記憶されているI2ピクチャとFM1に記憶されているP5ピクチャを使ってB3ピクチャをデコードしてFM2に記憶する。B4ピクチャの表示が終了した時点でこのB3ピクチャを映像出力メモリ134(Vout)に転送し、その時点からB3ピクチャの再生が開始される。図6から分るとおり、B3ピクチャのデコードが完了した時点で、B4ピクチャの表示時間はまだ終了していないので、B4ピクチャの表示とB3ピクチャの表示との間に、時間的なギャップが生じることはない。B3ピクチャも同様に、この時点から約167ミリ秒の間、Voutに格納される。   Therefore, as shown in FIG. 6, in order to decode the B3 picture, the decoding is performed in order of the I2 picture and the P5 picture, and then the B3 picture is decoded. Each decoded picture is referred to for decoding the next picture, so it must be temporarily stored. The I2 picture is stored in FM0, and a P5 picture is used using the I2 picture stored in FM0. Is decoded and stored in FM1, and the B3 picture is decoded and stored in FM2 using the I2 picture stored in FM0 and the P5 picture stored in FM1. When the display of the B4 picture is finished, the B3 picture is transferred to the video output memory 134 (Vout), and playback of the B3 picture is started from that point. As can be seen from FIG. 6, when the decoding of the B3 picture is completed, the display time of the B4 picture has not yet ended, so that a time gap is generated between the display of the B4 picture and the display of the B3 picture. There is nothing. Similarly, the B3 picture is stored in Vout for about 167 milliseconds from this point.

次に、同様に、さらに1つ前のピクチャである、I2ピクチャのデコードと再生が行われる。I2ピクチャには参照ピクチャが存在しないので、それだけでデコードすることができる。   Next, similarly, I2 picture, which is the previous picture, is decoded and reproduced. Since there is no reference picture in the I2 picture, it can be decoded by itself.

従って、図6に示すとおり、I2ピクチャのデコードを行いFM3に記憶する。B3ピクチャの表示が終了した時点でこのI2ピクチャを映像出力メモリ134(Vout)に転送し、その時点からI2ピクチャの再生が開始される。図6から分るとおり、I2ピクチャのデコードが完了した時点で、B3ピクチャの表示時間はまだ終了していないので、B3ピクチャの表示とI2ピクチャの表示との間に、時間的なギャップが生じることはない。I2ピクチャも同様に、この時点から約167ミリ秒の間、Voutに格納される。   Therefore, as shown in FIG. 6, the I2 picture is decoded and stored in FM3. When the display of the B3 picture is completed, the I2 picture is transferred to the video output memory 134 (Vout), and the reproduction of the I2 picture is started from that point. As can be seen from FIG. 6, when the decoding of the I2 picture is completed, the display time of the B3 picture has not ended yet, so a time gap occurs between the display of the B3 picture and the display of the I2 picture. There is nothing. Similarly, the I2 picture is stored in Vout for about 167 milliseconds from this point.

次に、同様に、さらに1つ前のピクチャである、B1ピクチャのデコードと再生が行われる。上記と同様に、B1ピクチャをデコードするには、その参照ピクチャであるP11ピクチャとI2ピクチャをデコードしなければならない。しかもこの時のP11ピクチャは、1つ前のGOPであるGOP(−1)のP11ピクチャであるから、GOP(−1)のGOP構成解析から行うことが必要になる。   Next, similarly, the B1 picture, which is the previous picture, is decoded and reproduced. Similarly to the above, in order to decode the B1 picture, the reference picture P11 picture and I2 picture must be decoded. Moreover, since the P11 picture at this time is the P11 picture of GOP (−1), which is the previous GOP, it is necessary to perform GOP configuration analysis of GOP (−1).

そこで、図6〜図7に示す通り、I2ピクチャのデコードを含むGOP(±0)のDeMuxが終了した時点で、GOP(−1)のDeMuxと構成解析とを実行する。上記のとおり、この構成解析は1つのGOP(−1)のDeMuxと並行して実行するので約160ミリ秒を要する。但し、構成解析をGOP(−1)のDeMuxと並行して実行するのは、あくまでも1つの例であって、必ずしも構成解析をGOP(−1)のDeMuxと並行して実行することは必要ではなく、相前後して実行しても構わないし、何らかの時間をおいて実行しても構わないし、その他のどのような時間に実行しても構わない。   Therefore, as shown in FIGS. 6 to 7, when the DeMux of the GOP (± 0) including the decoding of the I2 picture is completed, the DeMux of the GOP (−1) and the configuration analysis are executed. As described above, this configuration analysis takes approximately 160 milliseconds because it is executed in parallel with one MOP (-1) DeMux. However, the configuration analysis is executed in parallel with the DeMux of the GOP (-1) is only one example, and it is not always necessary to execute the configuration analysis in parallel with the DeMux of the GOP (-1). It may be executed before and after, may be executed after some time, or may be executed at any other time.

このGOP(−1)のDeMuxと構成解析とが終了すると、GOP(−1)のP11ピクチャのデコードを行う。P11ピクチャをデコードするにはその参照ピクチャであるP8ピクチャをデコードしなければならず、P8ピクチャをデコードするにはその参照ピクチャであるP5ピクチャをデコードしなければならず、P5ピクチャをデコードするにはその参照ピクチャであるI2ピクチャをデコードしなければならず、I2ピクチャには参照ピクチャが存在しないので、それだけでデコードすることができる。   When the DeMux of GOP (-1) and the configuration analysis are completed, the P11 picture of GOP (-1) is decoded. In order to decode the P11 picture, the reference picture P8 picture must be decoded, and in order to decode the P8 picture, the reference picture P5 picture must be decoded, and the P5 picture can be decoded. The I2 picture that is the reference picture must be decoded. Since there is no reference picture in the I2 picture, it can be decoded by itself.

従って、図7に示すとおり、P11ピクチャをデコードするために、I2ピクチャ、P5ピクチャ、P8ピクチャと順にデコードを行い、その次にP11ピクチャのデコードを行う。それぞれデコードしたピクチャは次のピクチャのデコードのために参照されるので一時的に記憶しておく必要があり、I2ピクチャはFM0に記憶し、このFM0に記憶されているI2ピクチャを使ってP5ピクチャをデコードしてFM1に記憶し、このFM1に記憶されているP5ピクチャを使ってP8ピクチャをデコードして再びFM0に記憶し、このFM0に記憶されているP8ピクチャを使ってP11ピクチャをデコードして再びFM1に記憶する。   Therefore, as shown in FIG. 7, in order to decode the P11 picture, the decoding is performed in order of the I2 picture, the P5 picture, and the P8 picture, and then the P11 picture is decoded. Each decoded picture is referred to for decoding the next picture, so it must be temporarily stored. The I2 picture is stored in FM0, and a P5 picture is used using the I2 picture stored in FM0. Is decoded and stored in FM1, P8 picture is decoded using P5 picture stored in FM1 and stored again in FM0, and P11 picture is decoded using P8 picture stored in FM0. And store it in FM1 again.

そして、再びGOP(±0)のデコードに戻り、B1ピクチャをデコードするためにI2ピクチャをデコードしてFM0に記憶する。このFM0に記憶したI2ピクチャと先にデコードしたGOP(−1)のP11ピクチャであってFM1に記憶しているものとを参照してGOP(±0)のB1ピクチャをデコードしてFM2に記憶する。   Then, returning to decoding of GOP (± 0) again, the I2 picture is decoded and stored in FM0 in order to decode the B1 picture. The B1 picture of GOP (± 0) is decoded and stored in FM2 with reference to the I2 picture stored in FM0 and the previously decoded P11 picture of GOP (-1) stored in FM1 To do.

しかしながら、図7に示すとおり、この時点ではGOP(−1)のDeMuxを2回実行しているので既にI2ピクチャの表示が終了してしまっており、I2ピクチャの表示とB1ピクチャの表示との間に、時間的なギャップ(絵の途切れ)が生じてしまう。   However, as shown in FIG. 7, since the GOP (-1) DeMux has been executed twice at this point, the display of the I2 picture has already ended, and the display of the I2 picture and the display of the B1 picture In the meantime, a time gap (discontinuity of the picture) occurs.

これが従来の方式で、追加的なフレームバッファを使用しなかった時の問題である。   This is a problem when the conventional method does not use an additional frame buffer.

そこで、本発明では、図8に示す通り、B1ピクチャのデコードのために、1つ前のGOPであるGOP(−1)の構成解析を行う必要がある時には、I2ピクチャのデコードが終わると同時にGOP(±0)のDeMuxを打ち切り(中断し)、その時点からすぐにGOP(−1)のDeMuxと構成解析を実行する。これには約160ミリ秒を必要とする。上記のとおり、次にGOP(−1)のP11ピクチャをデコードするために、I2ピクチャ、P5ピクチャ、P8ピクチャ、P11ピクチャと順にデコードを行い、このP11ピクチャのデコードが終わると同時にGOP(−1)のDeMuxを打ち切り、再びGOP(±0)のデコードに戻り、B1ピクチャをデコードするために、I2ピクチャをデコードしてFM0に記憶し、このFM0に記憶したI2ピクチャと先にデコードしたGOP(−1)のP11ピクチャであってFM1に記憶しているものとを参照してGOP(±0)のB1ピクチャをデコードしてFM2に記憶する。   Therefore, in the present invention, as shown in FIG. 8, when it is necessary to analyze the structure of the previous GOP (−1) for decoding the B1 picture, the decoding of the I2 picture is completed. The DeMux of the GOP (± 0) is aborted (interrupted), and the configuration analysis with the DeMux of the GOP (−1) is executed immediately after that point. This requires about 160 milliseconds. As described above, next, in order to decode the P11 picture of GOP (−1), decoding is performed in order of I2 picture, P5 picture, P8 picture, and P11 picture. ) DeMux is terminated, and the process returns to GOP (± 0) decoding again. In order to decode the B1 picture, the I2 picture is decoded and stored in FM0. The I2 picture stored in FM0 and the previously decoded GOP ( -1) With reference to the P11 picture stored in FM1, the BOP picture of GOP (± 0) is decoded and stored in FM2.

このように、B1ピクチャのデコードのために、1つ前のGOPであるGOP(−1)の構成解析を行う必要がある時には、必要なピクチャのデコードが終わると同時にそのGOPのDeMuxを打ち切り、すぐに次のGOPのDeMuxと構成解析あるいはピクチャのデコードを開始することによって、図8に示す通り、B1ピクチャのデコードが完了した時点でI2ピクチャの表示時間がまだ終了しておらず、I2ピクチャの表示とB1ピクチャの表示との間に時間的なギャップが生じることがないよう、処理を実行することが可能になる。   In this way, when it is necessary to analyze the configuration of the previous GOP GOP (−1) for decoding the B1 picture, the decoding of the necessary picture is completed and the DeMux of the GOP is terminated. As shown in FIG. 8, by immediately starting the structure analysis or decoding of the picture with the DeGux of the next GOP, the display time of the I2 picture is not yet finished when the decoding of the B1 picture is completed. The processing can be executed so that there is no time gap between the display of the B1 picture and the display of the B1 picture.

次のB0ピクチャのデコードでも、1つ前のGOPであるGOP(−1)のP11ピクチャを参照することが必要であるから、GOP(±0)のB1ピクチャのデコードが終わると同時に、GOP(±0)のDeMuxを打ち切り、すぐにGOP(−1)のDeMuxとI2ピクチャ、P5ピクチャ、P8ピクチャ、P11ピクチャのデコードを開始する。   Even in the decoding of the next B0 picture, it is necessary to refer to the P11 picture of GOP (−1), which is the previous GOP. Therefore, simultaneously with the decoding of the B1 picture of GOP (± 0), GOP ( (± 0) DeMux is terminated, and decoding of GOP (−1) DeMux and I2 picture, P5 picture, P8 picture, and P11 picture is started immediately.

P11ピクチャのデコードが終わると、FM1に格納すると同時にGOP(−1)のDeMuxを中断し、再びGOP(±0)のDeMuxに戻ってI2ピクチャのデコードを行ってFM0に格納し、このFM0に格納したI2ピクチャと先にデコードしてFM1に格納してあるGOP(−1)のP11ピクチャとを使って、GOP(±0)のB0ピクチャをデコードしてFM3に格納する。   When the decoding of the P11 picture is completed, the DeMux of the GOP (-1) is interrupted at the same time as the FM1 is stored, the DeMux of the GOP (± 0) is returned again, the I2 picture is decoded and stored in the FM0, and this FM0 is stored. Using the stored I2 picture and the P11 picture of GOP (−1) previously decoded and stored in FM1, the B0 picture of GOP (± 0) is decoded and stored in FM3.

このようにして、図8〜図9に示す通り、B0ピクチャのデコードが完了した時点でB1ピクチャの表示時間がまだ終了しておらず、B1ピクチャの表示とB0ピクチャの表示との間に時間的なギャップが生じることがないよう、処理を実行することが可能になる。   In this way, as shown in FIGS. 8 to 9, when the decoding of the B0 picture is completed, the display time of the B1 picture has not yet ended, and there is a time between the display of the B1 picture and the display of the B0 picture. It is possible to execute the processing so that a general gap does not occur.

以上、説明した処理を要約すると、参照に必要になるピクチャを記憶保存するのではなく、必要になる都度繰り返し同じピクチャをデコードする方が、記憶用メモリバッファを必要とせず必要なメモリ容量を削減できるが、この方法ではB1ピクチャやB0ピクチャのように2つのGOPに跨って参照ピクチャが存在する時には2つのGOPをDeMuxしなければならないため、時間が間に合わなくなってしまう。そこでこれを回避するため、必要なピクチャのデコードが終了した時点ですぐにそのGOPのDeMuxを打ち切り、次のGOPのDeMuxを開始するものである。   Summarizing the processing described above, rather than storing and storing pictures that are required for reference, it is possible to reduce the required memory capacity without the need for a memory buffer for storage, by repeatedly decoding the same picture as needed. However, in this method, when a reference picture exists across two GOPs such as a B1 picture and a B0 picture, the two GOPs must be DeMuxed. Therefore, in order to avoid this, the DeMux of the GOP is stopped immediately after the decoding of the necessary picture is completed, and the DeMux of the next GOP is started.

以上の説明で1つのGOPであるGOP(±0)に含まれる全てのピクチャであるP11ピクチャからB0ピクチャの逆方向デコードと再生が正常に、時間的なギャップ(途切れや遅延)を生じることなく、終了することができる。   In the above description, reverse decoding and playback of B0 picture from P11 picture which is all pictures included in GOP (± 0) which is one GOP is normal, without causing a time gap (discontinuity or delay). Can be terminated.

次に1つ前のGOPであるGOP(−1)に含まれるピクチャであるP11ピクチャからB0ピクチャのデコードと再生に移り、この最初の状態を図9に示すが、これについては既に上記したGOP(±0)と同様であるから、説明は省略する。   Next, the P11 picture, which is a picture included in the previous GOP (-1), moves from the P11 picture to the decoding and playback of the B0 picture. This initial state is shown in FIG. Since it is the same as (± 0), the description is omitted.

本発明は復号化された画像用メモリバッファの容量を増やすことなく、また復号化手段や映像音声分離手段等も増設することなく、再生映像を途切れさせずに、映像音声ストリームの逆方向再生が可能となり、その産業上の利用可能性は極めて大きい。   The present invention does not increase the capacity of the decoded image memory buffer, and does not add decoding means, video / audio separation means, etc., and can reproduce the video / audio stream in the reverse direction without interrupting the reproduced video. It becomes possible and its industrial applicability is extremely large.

本発明の第1の実施の形態であるメディアプレーヤ100のブロック構成図Block diagram of the media player 100 according to the first embodiment of the present invention GOPのピクチャ構成の一例を示す図The figure which shows an example of the picture structure of GOP 符号化あるいは復号化する時に使用(参照)するピクチャの関係を示す図The figure which shows the relationship of the picture used (reference) at the time of encoding or decoding 1/5低速逆方向再生時のタイミングと時間の経過を示す図(その1)The figure which shows the timing and time passage at the time of 1/5 low speed reverse direction reproduction (the 1) 1/5低速逆方向再生時のタイミングと時間の経過を示す図(その2)The figure which shows the timing and time passage at the time of 1/5 low speed reverse direction reproduction (the 2) 1/5低速逆方向再生時のタイミングと時間の経過を示す図(その3−従来の例)The figure which shows the time and the passage of time at the time of 1/5 low speed reverse playback (the 3-past example) 1/5低速逆方向再生時のタイミングと時間の経過を示す図(その4−従来の例)The figure which shows the time and the passage of time at the time of 1/5 low speed reverse playback (the 4-conventional example) 1/5低速逆方向再生時のタイミングと時間の経過を示す図(その5−本発明の例)The figure which shows the timing and the passage of time at the time of 1/5 low speed reverse playback (the 5-example of this invention) 1/5低速逆方向再生時のタイミングと時間の経過を示す図(その6−本発明の例)The figure which shows the timing at the time of 1/5 low speed reverse direction reproduction | regeneration, and passage of time (the 6-example of this invention)

符号の説明Explanation of symbols

100 メディアプレーヤ
102 ホスト制御部
104 映像音声ストリーム記録部
106 再生制御部
108 映像音声分離部
122 音声デコーダ
124 映像デコーダ
126 音声メモリバッファ
128 映像メモリバッファ
132 音声出力メモリ
134 映像出力メモリ
100 Media Player 102 Host Control Unit 104 Video / Audio Stream Recording Unit 106 Playback Control Unit 108 Video / Audio Separation Unit 122 Audio Decoder 124 Video Decoder 126 Audio Memory Buffer 128 Video Memory Buffer 132 Audio Output Memory 134 Video Output Memory

Claims (11)

独立符号化画像と前方参照符号化画像と双方向参照符号化画像とを含む画像構成群からなる映像ストリームの逆方向再生方法であって、
ある画像構成群に属する1つの画像の復号化と同じ画像構成群に属するそれ以外の画像の復号化の間の時間に、次の画像構成群の映像音声分離処理と画像構成解析処理とのいずれかまたは両方を行う、
逆方向再生方法。
A method for backward reproduction of a video stream comprising an image composition group including an independent encoded image, a forward reference encoded image, and a bidirectional reference encoded image,
During the time between the decoding of one image belonging to a certain image composition group and the decoding of other images belonging to the same image composition group, either the video / audio separation process or the image structure analysis process of the next image composition group Or do both,
Reverse playback method.
前記1つの画像は独立符号化画像である、
請求項1に記載の逆方向再生方法。
The one image is an independently encoded image;
The reverse reproduction method according to claim 1.
前記画像構成群の最初の画像は独立符号化画像であり、
前記画像構成群の第2の画像は前記独立符号化画像と、1つ前の画像構成群の画像とを参照する双方向参照符号化画像であり、
前記第2の画像は前記最初の画像よりも正方向再生時には先に再生される画像であり、
前記最初の画像を再生するための復号化が終了すると前記最初の画像を含む画像構成群の映像音声分離処理を中断し、
前記中断後から1つ前の画像構成群の映像音声分離処理と画像構成解析処理とを開始する、
請求項1に記載の逆方向再生方法。
The first image of the image group is an independently encoded image;
A second image of the image composition group is a bi-directional reference encoded image that refers to the independent encoded image and an image of the previous image composition group;
The second image is an image that is reproduced first when reproducing in the forward direction than the first image,
When the decoding for reproducing the first image is completed, the video / audio separation processing of the image composition group including the first image is interrupted,
Starting video / audio separation processing and image configuration analysis processing of the previous image configuration group after the interruption;
The reverse reproduction method according to claim 1.
前記映像ストリームはMPEG2符号化された映像ストリームであって、
前記画像構成群はGOPであり、
前記独立符号化画像はIピクチャであり、
前記前方参照符号化画像はPピクチャであり、
前記双方向参照符号化画像はBピクチャである、
請求項3に記載の逆方向再生方法。
The video stream is an MPEG2 encoded video stream,
The image composition group is a GOP,
The independent coded image is an I picture;
The forward reference encoded image is a P picture;
The bi-directional reference encoded image is a B picture.
The backward reproduction method according to claim 3.
前記最初の画像はI2ピクチャであり、
前記第2の画像はB0ピクチャもしくはB1ピクチャである、
請求項4に記載の逆方向再生方法。
The first image is an I2 picture;
The second image is a B0 picture or a B1 picture;
The backward reproduction method according to claim 4.
前記最初の画像はI5ピクチャであり、
前記第2の画像はB0ピクチャからB4ピクチャのいずれかである、
請求項4に記載の逆方向再生方法。
The first image is an I5 picture,
The second image is any one of B0 to B4 pictures;
The backward reproduction method according to claim 4.
復号化された画像用メモリバッファとして4画像分のメモリバッファを有する、
請求項3に記載の逆方向再生方法。
A memory buffer for four images as a decoded image memory buffer;
The backward reproduction method according to claim 3.
前記逆方向再生は逆方向スロー再生である、
請求項1から請求項7のいずれか1項に記載の逆方向再生方法。
The reverse reproduction is reverse slow reproduction;
The backward reproduction method according to any one of claims 1 to 7.
独立符号化画像と前方参照符号化画像と双方向参照符号化画像とを含む画像構成群からなる映像ストリームの再生装置であって、
前記画像構成群の最初の画像は独立符号化画像であり、
前記画像構成群の第2の画像は前記独立符号化画像と、1つ前の画像構成群の画像とを参照する双方向参照符号化画像であり、
前記第2の画像は前記最初の画像よりも正方向再生時には先に再生される画像であり、
前記映像ストリームの逆方向再生時には、
前記最初の画像を再生するための復号化が終了すると前記最初の画像を含む画像構成群の映像音声分離処理を中断し、
前記中断後から1つ前の画像構成群の映像音声分離処理と画像構成解析処理とを開始する、
映像ストリームの再生装置。
A playback device for a video stream comprising an image configuration group including an independent encoded image, a forward reference encoded image, and a bidirectional reference encoded image,
The first image of the image group is an independently encoded image;
A second image of the image composition group is a bi-directional reference encoded image that refers to the independent encoded image and an image of the previous image composition group;
The second image is an image that is reproduced first when reproducing in the forward direction than the first image,
During reverse playback of the video stream,
When the decoding for reproducing the first image is completed, the video / audio separation processing of the image composition group including the first image is interrupted,
Starting video / audio separation processing and image configuration analysis processing of the previous image configuration group after the interruption;
Video stream playback device.
独立符号化画像と前方参照符号化画像と双方向参照符号化画像とを含む画像構成群からなる映像ストリームを逆方向再生するための、コンピュータによって実行可能な逆方向再生プログラムであって、
前記画像構成群の最初の画像は独立符号化画像であり、
前記画像構成群の第2の画像は前記独立符号化画像と、1つ前の画像構成群の画像とを参照する双方向参照符号化画像であり、
前記第2の画像は前記最初の画像よりも正方向再生時には先に再生される画像であり、
前記最初の画像を再生するための復号化が終了すると前記最初の画像を含む画像構成群の映像音声分離処理を中断し、
前記中断後から1つ前の画像構成群の映像音声分離処理と画像構成解析処理とを開始する、
逆方向再生プログラム。
A computer-executable backward reproduction program for backward reproduction of a video stream including an image configuration group including an independent encoded image, a forward reference encoded image, and a bidirectional reference encoded image,
The first image of the image group is an independently encoded image;
A second image of the image composition group is a bi-directional reference encoded image that refers to the independent encoded image and an image of the previous image composition group;
The second image is an image that is reproduced first when reproducing in the forward direction than the first image,
When the decoding for reproducing the first image is completed, the video / audio separation processing of the image composition group including the first image is interrupted,
Starting video / audio separation processing and image configuration analysis processing of the previous image configuration group after the interruption;
Reverse playback program.
コンピュータによって読み取り可能な情報記録媒体であって、
請求項10に記載の逆方向再生プログラムを記録した、情報記録媒体。
An information recording medium readable by a computer,
An information recording medium on which the backward reproduction program according to claim 10 is recorded.
JP2005245642A 2005-08-26 2005-08-26 Reverse playback method, playback apparatus, reverse playback program and recording medium with reverse playback program recorded thereon Pending JP2007060480A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005245642A JP2007060480A (en) 2005-08-26 2005-08-26 Reverse playback method, playback apparatus, reverse playback program and recording medium with reverse playback program recorded thereon

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005245642A JP2007060480A (en) 2005-08-26 2005-08-26 Reverse playback method, playback apparatus, reverse playback program and recording medium with reverse playback program recorded thereon

Publications (1)

Publication Number Publication Date
JP2007060480A true JP2007060480A (en) 2007-03-08

Family

ID=37923527

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005245642A Pending JP2007060480A (en) 2005-08-26 2005-08-26 Reverse playback method, playback apparatus, reverse playback program and recording medium with reverse playback program recorded thereon

Country Status (1)

Country Link
JP (1) JP2007060480A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008132774A1 (en) * 2007-04-13 2008-11-06 Panasonic Corporation Dynamic image decoding method, dynamic image decoding device, and electronic apparatus
US8259123B2 (en) 2007-06-07 2012-09-04 Yamaha Corporation Image processing apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008132774A1 (en) * 2007-04-13 2008-11-06 Panasonic Corporation Dynamic image decoding method, dynamic image decoding device, and electronic apparatus
US8259123B2 (en) 2007-06-07 2012-09-04 Yamaha Corporation Image processing apparatus

Similar Documents

Publication Publication Date Title
US7734660B2 (en) Data processing device
RU2010140073A (en) RECORDING MEDIA, PLAYBACK AND INTEGRATED DIAGRAM
JP2001346205A (en) Method for concealing signal error
US20090034625A1 (en) Image Decoder
US6714721B2 (en) Changing a playback speed for video presentation recorded in a non-progressive frame structure format
US6707984B2 (en) Changing a playback speed for video presentation recorded in a modified film format
KR100629093B1 (en) Decoding apparatus and decoding method
KR20080025246A (en) Method for video recording by parsing video stream by gop and video apparatus thereof
US7215871B2 (en) Changing a playback speed for video presentation recorded in a field structure format
JP2007060480A (en) Reverse playback method, playback apparatus, reverse playback program and recording medium with reverse playback program recorded thereon
CA2490879A1 (en) Reproducing apparatus and method, and recording medium
JP2006236504A (en) Information recording and reproducing method
US8249432B2 (en) Video and audio playback apparatus and video and audio playback method
KR20000035681A (en) MPEG reproducing appratus and MPEG reproducing method
JP2000152141A (en) Information storage medium and moving image and sound recording and reproducing device
KR20120068154A (en) The image processing apparatus and method thereof
JP4227605B2 (en) Video playback device
JP2007158499A (en) Multi-screen display
JPH0923407A (en) Decoding device and reproduction device
JP2006129300A (en) Special reproducing method of content data and reproducing device of content data
JP2008306751A (en) Information storage medium and moving-image and sound recording/reproducing device
JP2001326905A (en) Image/sound signal recording device and image/sound signal recording and reproducing device
JP2008278542A (en) Moving image reproduction apparatus