JP4286259B2 - Video playback device and reverse playback method - Google Patents

Video playback device and reverse playback method Download PDF

Info

Publication number
JP4286259B2
JP4286259B2 JP2006037649A JP2006037649A JP4286259B2 JP 4286259 B2 JP4286259 B2 JP 4286259B2 JP 2006037649 A JP2006037649 A JP 2006037649A JP 2006037649 A JP2006037649 A JP 2006037649A JP 4286259 B2 JP4286259 B2 JP 4286259B2
Authority
JP
Japan
Prior art keywords
picture
buffer
held
gop
display
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.)
Expired - Fee Related
Application number
JP2006037649A
Other languages
Japanese (ja)
Other versions
JP2007221306A (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2006037649A priority Critical patent/JP4286259B2/en
Publication of JP2007221306A publication Critical patent/JP2007221306A/en
Application granted granted Critical
Publication of JP4286259B2 publication Critical patent/JP4286259B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、記録媒体に記録されたデジタル映像データの逆方向再生方法及びこの方法を実施できる映像再生装置に関するものである。   The present invention relates to a reverse playback method of digital video data recorded on a recording medium and a video playback device capable of implementing this method.

ハードディスク又は光ディスク等の記録媒体に記録されたデジタルデータの記録再生方法として、MPEG(Motion Picture Experts Group)方式で圧縮符号化されたデジタル映像データをGOP(Group of Picture)単位で扱うものがある。この場合、特殊再生に際して複雑なデータ処理が必要になる。GOPは、通常15フレームの映像情報を含み、各フレームの映像データは、I(画面内符号化)ピクチャ、P(前方向予測符号化)ピクチャ、及びB(双方向予測符号化)ピクチャのいずれかで構成される。   As a method for recording / reproducing digital data recorded on a recording medium such as a hard disk or an optical disk, there is a method of handling digital video data compressed and encoded by a Motion Picture Experts Group (MPEG) method in GOP (Group of Picture) units. In this case, complicated data processing is required for special reproduction. The GOP usually includes video information of 15 frames, and the video data of each frame is any one of an I (intra-screen coding) picture, a P (forward prediction coding) picture, and a B (bidirectional prediction coding) picture. Consists of.

MPEG方式で圧縮符号化され記録された映像データの逆方向再生が難しいのは、予測符号化に起因する。特に、Bピクチャは、自身に対して時間的に前及び後の2フレーム(Iピクチャ又はPピクチャ)を参照した予測符号化によって生成されているので、逆方向再生する際には複雑な処理が必要になる。そこで、MPEG方式を採用したデジタル映像再生装置において、Iピクチャ、Pピクチャ、及びBピクチャのすべてを表示して逆コマ送り又はスロー再生を実現する方法が提案されている(例えば、特許文献1参照)。   The difficulty in backward reproduction of video data compressed and recorded by the MPEG method is due to predictive coding. In particular, since a B picture is generated by predictive coding with reference to two frames (I picture or P picture) before and after itself in terms of time, complicated processing is required for backward reproduction. I need it. Therefore, a method for realizing reverse frame advance or slow playback by displaying all of the I picture, P picture, and B picture in a digital video playback apparatus adopting the MPEG system has been proposed (for example, see Patent Document 1). ).

特許第3593293号公報Japanese Patent No. 3593293

しかしながら、特許文献1のスロー再生方法によれば、表示すべきIピクチャ、Pピクチャ、及びBピクチャを得るために、同じGOPを繰り返し読み出すとともに、同じIピクチャ又はPピクチャを複数回復号する必要があり、データ処理量が非常に大きくなる。このため、このスロー再生方法は、逆コマ送り再生や、非常に遅い速度の逆方向再生には適用可能であるが、例えば、1/2倍速以上の速度のように、比較的速い速度の逆方向再生には適用できないという問題がある。この理由を、図13を用いて具体的に説明する。   However, according to the slow reproduction method of Patent Document 1, in order to obtain an I picture, a P picture, and a B picture to be displayed, it is necessary to repeatedly read the same GOP and decode the same I picture or P picture a plurality of times. Yes, the data processing amount becomes very large. For this reason, this slow playback method can be applied to reverse frame-by-frame playback and reverse playback at a very low speed. There is a problem that it cannot be applied to direction reproduction. The reason for this will be specifically described with reference to FIG.

逆方向再生においては、第m番(mは正の整数)のGOPの第1ピクチャ、すなわち、IピクチャI2(図13には示さず)を表示した後、次に表示するのは、図13に示される第m−1番のGOPの最終ピクチャ、すなわち、PピクチャP14である。PピクチャP14の復号に際しては、第m−1番のGOPの先頭ピクチャから順次復号し、第m−1番のGOPの最終ピクチャP14までたどり着かなければならず、通常再生の場合であっても15フレーム分の復号(デコード)時間が必要である。このことから、逆方向スロー再生を行う場合に、時間的に隣接するGOPの境界においてスムーズな映像表示を行うためには、{1/(1GOPを構成するフレーム数)}倍速、すなわち、1/15倍速(1GOPが15フレームの場合)が上限であり、1/15倍速を超える速度の逆方向スロー再生をスムーズな映像で行うことはできなかった。   In reverse reproduction, after displaying the first picture of the mth GOP (m is a positive integer), that is, the I picture I2 (not shown in FIG. 13), the next display is shown in FIG. The last picture of the (m−1) th GOP shown in FIG. When decoding the P picture P14, it is necessary to sequentially decode from the first picture of the (m-1) th GOP and arrive at the last picture P14 of the (m-1) th GOP. Decoding time for frames is required. Thus, when performing slow reverse playback, {1 / (number of frames constituting one GOP)} double speed, that is, 1 / (in order to perform smooth video display at temporally adjacent GOP boundaries) The upper limit is 15 times normal speed (when 1 GOP is 15 frames), and reverse slow playback at a speed exceeding 1/15 times normal speed cannot be performed with a smooth video.

そこで、本発明は、上記従来技術の課題を解決するためになさされたものであり、その目的は、時間的に隣接するGOPの境界においてもスムーズな映像の逆方向再生を、比較的早い速度で実現する逆方向再生方法及びこの方法を実施できる映像再生装置を提供することにある。   Therefore, the present invention has been made to solve the above-described problems of the prior art, and its purpose is to perform smooth reverse video playback at a relatively high speed even at temporally adjacent GOP boundaries. It is an object of the present invention to provide a backward reproduction method realized in the above and a video reproduction apparatus that can implement this method.

本発明の映像再生装置は、記録媒体に記録された符号化されたデジタル映像データをGOP単位で読み出す読出部と、前記読み出されたGOPを一時的に保持するGOPバッファと、前記GOPバッファに保持されたGOPを復号してIピクチャ、複数個のPピクチャ、及び複数個のBピクチャを生成するデコーダと、保持したピクチャに基づく表示用映像信号を出力する表示用バッファと、前記デジタル映像データを逆方向再生するときに、前記生成されたIピクチャ及び複数個のPピクチャのうちの複数個のピクチャを一時的に保持する参照バッファと、前記デジタル映像データを逆方向再生するときに、前記参照バッファに保持されているIピクチャ又はPピクチャを前記表示用バッファに書き込む処理、及び、前記参照バッファに保持されているIピクチャとPピクチャ、又は、Pピクチャを参照して前記デコーダにBピクチャを生成させ、前記生成されたBピクチャを前記表示用バッファに書き込む処理を実行するシステム制御部とを有し、前記デジタル映像データを逆方向再生するときに、前記システム制御部は、前記表示用バッファにピクチャを書き込む処理を、前記参照バッファに保持されているIピクチャ、前記参照バッファに保持されているPピクチャ、又は前記生成されたBピクチャを、時間的に新しいピクチャから古いピクチャに向かう順に前記表示用バッファに1ピクチャずつ上書きすることによって実行し、前記参照バッファに保持されているIピクチャ又はPピクチャを前記表示用バッファに書き込む処理を実行したタイミングで、該タイミングよりも時間的に前であって且つ該タイミングに最も近い時点で前記表示用バッファに書き込まれたPピクチャが保持されている前記参照バッファに、前記デコーダによって新たに復号されたIピクチャ又はPピクチャを上書きする処理を実行することを特徴としている。 The video reproduction apparatus of the present invention includes a reading unit that reads encoded digital video data recorded on a recording medium in units of GOPs, a GOP buffer that temporarily holds the read GOP, and the GOP buffer. A decoder that decodes the held GOP to generate an I picture, a plurality of P pictures, and a plurality of B pictures, a display buffer that outputs a display video signal based on the held pictures, and the digital video data A reference buffer that temporarily holds a plurality of pictures of the generated I picture and a plurality of P pictures, and a reverse reproduction of the digital video data, A process of writing an I picture or a P picture held in the reference buffer to the display buffer, and holding in the reference buffer Has been that I-pictures and P-pictures, or, and a system controller that executes a process of writing with reference to P picture to produce a B-picture in the decoder, said generated B-picture in the display buffer When the digital video data is reproduced in the reverse direction, the system control unit performs a process of writing a picture in the display buffer, an I picture held in the reference buffer, and a P held in the reference buffer. The picture or the generated B picture is executed by overwriting the display buffer one picture at a time in order from the newest picture to the oldest picture, and the I picture or P picture held in the reference buffer At the timing when the process of writing to the display buffer is executed. The I buffer or the P picture newly decoded by the decoder is stored in the reference buffer in which the P picture written in the display buffer at the time point closest to the timing is held. It is characterized by executing an overwriting process .

また、本発明の逆方向再生方法は、記録媒体に記録された符号化されたデジタル映像データをGOP単位で読み出し、GOPバッファに保持するステップと、前記GOPバッファに保持されたGOPを復号してIピクチャ及び複数個のPピクチャを生成し、前記生成されたIピクチャ及び複数個のPピクチャのうちの複数個のピクチャを参照バッファに保持するステップと、前記参照バッファに保持されているIピクチャ又はPピクチャを表示用バッファに書き込む処理、又は、前記参照バッファに保持されているIピクチャとPピクチャ、又は、Pピクチャを参照してBピクチャを生成し、前記生成されたBピクチャを前記表示用バッファに書き込む処理によって、前記表示用バッファに保持されたピクチャに基づく表示用映像信号を出力するステップとを有し、前記表示用バッファにピクチャを書き込む処理を、前記参照バッファに保持されているIピクチャ、前記参照バッファに保持されているPピクチャ、又は前記生成されたBピクチャを、時間的に新しいピクチャから古いピクチャに向かう順に前記表示用バッファに1ピクチャずつ上書きすることによって実行し、前記参照バッファに保持されているIピクチャ又はPピクチャを前記表示用バッファに書き込む処理を実行したタイミングで、該タイミングよりも時間的に前であって且つ該タイミングに最も近い時点で前記表示用バッファに書き込まれたPピクチャが保持されている前記参照バッファに、新たに復号されたIピクチャ又はPピクチャを上書きする処理を実行することを特徴としている。 The backward reproduction method of the present invention also includes a step of reading encoded digital video data recorded on a recording medium in units of GOPs and holding them in a GOP buffer, and decoding the GOP held in the GOP buffer. Generating an I picture and a plurality of P pictures, holding a plurality of pictures of the generated I picture and a plurality of P pictures in a reference buffer, and an I picture held in the reference buffer Alternatively, a process of writing a P picture to a display buffer , or a B picture is generated by referring to an I picture and a P picture stored in the reference buffer , or a P picture, and the generated B picture is displayed. Display video signal based on the picture held in the display buffer by writing to the display buffer A process of writing a picture to the display buffer, and an I picture held in the reference buffer, a P picture held in the reference buffer, or the generated B picture The timing at which execution is performed by overwriting the display buffer one picture at a time in order from the new picture to the old picture, and writing the I picture or P picture held in the reference buffer to the display buffer Thus, the newly decoded I picture or P is stored in the reference buffer in which the P picture written in the display buffer at a time point before the timing and closest to the timing is held. It is characterized by executing a process of overwriting a picture .

本発明においては、GOPバッファに保持されているGOP内のIピクチャ及び/又はPピクチャを予め復号して保持する参照バッファを備え、保持されているIピクチャ又はPピクチャを参照してBピクチャを復号する。このため、Bピクチャを復号するために要するデータ処理量は1ピクチャ分のデータ処理量であり、GOPバッファに保持されたGOPを復号してBピクチャを生成するたびに、GOPの先頭から目標とするピクチャまで復号する従来の場合に比べ、データ処理量を低減することができる。したがって、本発明によれば、逆方向再生時における比較的早い再生速度を実現できるという効果がある。   In the present invention, a reference buffer for previously decoding and holding an I picture and / or a P picture in a GOP held in the GOP buffer is provided, and a B picture is referenced with reference to the held I picture or P picture. Decrypt. For this reason, the amount of data processing required to decode a B picture is the amount of data processing for one picture, and every time a GOP held in a GOP buffer is decoded to generate a B picture, the target The amount of data processing can be reduced compared to the conventional case of decoding up to a picture to be performed. Therefore, according to the present invention, there is an effect that it is possible to realize a relatively fast reproduction speed during backward reproduction.

図1は、本発明の実施の形態に係る映像再生装置11(すなわち、実施の形態に係る逆方向再生方法を実施できる装置)の構成を概略的に示すブロック図である。図1に示されるように、映像再生装置11は、放送電波を受信するアンテナ1からの放送信号が入力されるチューナ2と、復調部3と、切り替え部4と、多重分離部5と、デコーダ6と、内蔵された又は着脱可能な記録媒体(例えば、ハードディスク又は光ディスク等)7aにデジタル信号を記録又は再生する記録再生部(例えば、ハードディスクドライブ又は光ディスク記録再生部等)7と、記録再生制御部8と、メモリ9と、映像再生装置11全体を制御するシステム制御部10とを有している。なお、図1に示される映像再生装置11は、チューナ内蔵型の映像記録再生装置であるが、本発明は、チューナ2を備えていない装置にも適用できる。また、図1に示される映像再生装置11は、記録媒体7aにデジタル信号を記録する機能を有しているが、本発明は、デジタル信号を記録する機能を持たない再生専用の装置にも適用できる。さらに、図1において、メモリ9はシステム制御部10の一部として図示されているが、メモリ9は、システム制御部10の外に備えられてもよい。さらにまた、図1において、メモリ9は1個のメモリとして描かれているが、メモリ9を、複数個のメモリから構成することもできる。   FIG. 1 is a block diagram schematically showing a configuration of a video playback device 11 (that is, a device capable of performing the backward playback method according to the embodiment) according to the embodiment of the present invention. As shown in FIG. 1, a video reproduction apparatus 11 includes a tuner 2 to which a broadcast signal from an antenna 1 that receives broadcast radio waves is input, a demodulator 3, a switching unit 4, a demultiplexer 5, and a decoder. 6, a recording / reproducing unit (for example, a hard disk drive or an optical disc recording / reproducing unit) 7 for recording or reproducing a digital signal on a built-in or detachable recording medium (eg, hard disk or optical disc) 7a, and recording / reproducing control Unit 8, a memory 9, and a system control unit 10 that controls the entire video reproduction apparatus 11. 1 is a tuner built-in video recording / reproducing apparatus, the present invention can be applied to an apparatus that does not include the tuner 2. 1 has a function of recording a digital signal on the recording medium 7a, the present invention is also applicable to a playback-only apparatus that does not have a function of recording a digital signal. it can. Further, in FIG. 1, the memory 9 is illustrated as a part of the system control unit 10, but the memory 9 may be provided outside the system control unit 10. Furthermore, in FIG. 1, the memory 9 is depicted as a single memory, but the memory 9 may be composed of a plurality of memories.

チューナ2は、アンテナ1からの放送信号から目的の搬送波を選択抽出する。復調部3は、チューナ2からの変調された放送信号を復調してデジタル多重信号を生成する。なお、デジタル多重信号形式は、例えば、デジタル放送で用いられているMPEG2−Systems(ISO/IEC13818−1)で定義されるトランスポートストリーム(TS:Transport Stream)に準拠した形式である。切り替え部4は、復調部3から出力されたデジタル多重信号又は記録再生部7から読み出されたデジタル多重信号のいずれかを選択して多重分離部5に出力する。多重分離部5は、切り替え部4から出力されたデジタル多重信号から映像と音声の信号を分離する。デコーダ6は、多重分離部5で多重分離された信号を復号(デコード)する。記録再生部7は、受信した放送番組を記録媒体7aに記録保存し、また、記録媒体7aに記録された放送番組を再生する。記録再生制御部8は、記録再生部7の記録動作及び再生動作を制御する。メモリ9は、デコーダ6の作業用データ及び記録再生部7から読み出したデジタルデータを一時的に記憶する。   The tuner 2 selectively extracts a target carrier wave from the broadcast signal from the antenna 1. The demodulator 3 demodulates the modulated broadcast signal from the tuner 2 to generate a digital multiplexed signal. The digital multiple signal format is, for example, a format that conforms to a transport stream (TS: Transport Stream) defined in MPEG2-Systems (ISO / IEC13818-1) used in digital broadcasting. The switching unit 4 selects either the digital multiplexed signal output from the demodulating unit 3 or the digital multiplexed signal read from the recording / reproducing unit 7 and outputs the selected signal to the demultiplexing unit 5. The demultiplexing unit 5 separates the video and audio signals from the digital multiplexed signal output from the switching unit 4. The decoder 6 decodes (decodes) the signal demultiplexed by the demultiplexing unit 5. The recording / reproducing unit 7 records and stores the received broadcast program in the recording medium 7a, and reproduces the broadcast program recorded in the recording medium 7a. The recording / reproducing control unit 8 controls the recording operation and the reproducing operation of the recording / reproducing unit 7. The memory 9 temporarily stores the working data of the decoder 6 and the digital data read from the recording / reproducing unit 7.

システム制御部10は、チューナ2、復調部3、切り替え部4、デコーダ6、記録再生制御部8、及びメモリ9へ指示を出して映像再生装置11全体を制御する。放送番組を録画する際に、システム制御部10は、チューナ2及び復調部3を制御し、この番組のデジタル多重信号を抽出させる。復調部3から出力されるデジタル多重信号は切り替え部4によって、記録再生部7へ伝送される。   The system control unit 10 gives instructions to the tuner 2, demodulation unit 3, switching unit 4, decoder 6, recording / playback control unit 8, and memory 9 to control the entire video playback device 11. When recording a broadcast program, the system control unit 10 controls the tuner 2 and the demodulation unit 3 to extract a digital multiple signal of this program. The digital multiplexed signal output from the demodulator 3 is transmitted to the recording / reproducing unit 7 by the switching unit 4.

図2は、図1に示される切り替え部4の機能を説明するための図である。放送番組を記録する場合には、切り替え部4は端子4aと4cを接続して、復調部3からのデジタル多重信号を多重分離部5及び記録再生部7へ伝送する。このとき、予約録画などで放送番組をリアルタイムに視聴しない場合は、記録再生部7へのパスだけが有効になり、多重分離部5への伝送を無効にするように構成してもよい。記録再生部7が記録媒体7aに記録した放送番組を再生する場合には、切り替え部4は端子4bと4cを接続して、記録再生部7からのデジタル多重信号を多重分離部5へ伝送する。再生時には、記録再生部7へのパスは無効にする。   FIG. 2 is a diagram for explaining the function of the switching unit 4 shown in FIG. When recording a broadcast program, the switching unit 4 connects the terminals 4 a and 4 c and transmits the digital multiplexed signal from the demodulating unit 3 to the demultiplexing unit 5 and the recording / reproducing unit 7. At this time, when the broadcast program is not viewed in real time by reservation recording or the like, only the path to the recording / reproducing unit 7 is valid, and the transmission to the demultiplexing unit 5 may be invalidated. When the recording / reproducing unit 7 reproduces the broadcast program recorded on the recording medium 7 a, the switching unit 4 connects the terminals 4 b and 4 c and transmits the digital multiplexed signal from the recording / reproducing unit 7 to the demultiplexing unit 5. . At the time of reproduction, the path to the recording / reproducing unit 7 is invalidated.

放送番組の記録時には、記録再生制御部8は、TSパケット毎にタイムスタンプを付けて記録媒体7aに記録する。通常再生時には、記録再生制御部8は記録再生部7を制御して記録媒体7aからTSを読み出し、タイムスタンプを参照して、TSを記録再生部7から切り替え部4に送出するように制御を行う。タイムスタンプを参照することによって、TSが到来したタイミングと同様のタイミングでTSを送出することができる。記録した番組の再生時には、記録再生部7から送出されたTSが多重分離部5へ入力されて、映像データと音声データに分離される。分離された映像データ及び音声データは符号化されているので、これらのデータをデコーダ6によって復号する。復号された映像データは、アナログ信号又はデジタル信号としてビデオ出力される。   When recording a broadcast program, the recording / playback control unit 8 records a time stamp for each TS packet on the recording medium 7a. During normal playback, the recording / playback control unit 8 controls the recording / playback unit 7 to read the TS from the recording medium 7a, refer to the time stamp, and send the TS from the recording / playback unit 7 to the switching unit 4. Do. By referring to the time stamp, the TS can be transmitted at the same timing as the TS arrives. When the recorded program is reproduced, the TS sent from the recording / reproducing unit 7 is input to the demultiplexing unit 5 and separated into video data and audio data. Since the separated video data and audio data are encoded, these data are decoded by the decoder 6. The decoded video data is video-output as an analog signal or a digital signal.

次に、記録媒体7aに記録された番組を逆方向スロー再生する方法を説明する。図3(A)及び(B)は、記録媒体7aに記録されているTSを読み出して、送出する際のタイミングを示す図である。図3(A)に示されるように、通常再生においては、タイムスタンプに従った順番でTSを記録媒体7aから読み出して、送出する。すなわち、時間的に古いGOPから順に(GOP−1、GOP−2、GOP−3、GOP−4の順に)、記録媒体7aからTSを読み出して、送出する。また、図3(B)に示されるように、逆方向スロー再生においては、GOP単位でTSを送出する。GOPにはGOPの開始を示すヘッダ情報がある。記録再生制御部8は、GOPのヘッダ情報を基準にして、時間的に新しいGOPから順に(GOP−4、GOP−3、GOP−2の順に)、GOP単位でTSを送出するよう記録再生部7を制御する。記録再生部7からはファイルシステムに依存する単位で読み出しを行い、記録再生制御部8によって、GOP検出及びGOP単位のTS送出を行う。   Next, a method of playing back a program recorded on the recording medium 7a in the slow reverse direction will be described. FIGS. 3A and 3B are diagrams showing timings when reading and sending out the TS recorded on the recording medium 7a. As shown in FIG. 3A, in normal reproduction, TSs are read from the recording medium 7a in the order according to the time stamp and sent out. That is, TSs are read from the recording medium 7a and transmitted in order from the oldest GOP (in the order of GOP-1, GOP-2, GOP-3, and GOP-4). Also, as shown in FIG. 3B, in reverse slow playback, TS is sent in GOP units. The GOP has header information indicating the start of the GOP. The recording / reproducing control unit 8 uses the GOP header information as a reference to record and reproduce the TS in GOP units in order from the temporally new GOP (in the order of GOP-4, GOP-3, and GOP-2). 7 is controlled. Reading from the recording / playback unit 7 is performed in units depending on the file system, and the GOP detection and GOP unit TS transmission are performed by the recording / playback control unit 8.

図4(A)乃至(C)は、GOPの一般的な構成を示す図である。GOPの復号にあたっては、IピクチャをもとにPピクチャが再生され、IピクチャとPピクチャをもとに又はPピクチャをもとにBピクチャが再生される。なお、MPEG方式では、図4(A)に示される符号化されたピクチャの並びと、図4(B)に示される復号化して再生されるピクチャの並びは、異なっている。逆方向スロー再生では、図4(B)に示される復号したGOP分のピクチャデータを、図4(C)に示されるように、逆方向順に表示する。既に説明したように、特許文献1に記載の方法によれば、GOP分のデータを合計15ピクチャ分復号して、PピクチャP14からBピクチャB0までを順に表示しているので、スムーズな映像による逆方向スロー再生速度の上限は1/15倍速である。   4A to 4C are diagrams illustrating a general configuration of a GOP. In decoding the GOP, a P picture is reproduced based on the I picture, and a B picture is reproduced based on the I picture and the P picture or based on the P picture. In the MPEG system, the sequence of encoded pictures shown in FIG. 4A is different from the sequence of pictures reproduced by decoding shown in FIG. 4B. In reverse slow playback, the decoded picture data for GOP shown in FIG. 4B is displayed in reverse order as shown in FIG. 4C. As already described, according to the method described in Patent Document 1, data for GOP is decoded for a total of 15 pictures, and P picture P14 to B picture B0 are displayed in order. The upper limit of the reverse slow playback speed is 1/15 times speed.

本実施の形態の映像再生装置11おける逆方向スロー再生方法では、次のような制御を行うことで、逆方向スロー再生としては比較的再生速度の速い速度(例えば、1/2倍速)でスムーズな映像の逆方向スロー再生を実現できる。なお、本実施の形態において用いられるGOPは、GOP単位で独立であり、隣り合うGOPを参照しなくても復号可能なクローズド(Closed)GOPである。   In the reverse slow playback method in the video playback device 11 of the present embodiment, the following control is performed, so that the reverse slow playback is smooth at a relatively fast playback speed (for example, 1/2 times speed). Realize reverse slow-motion video playback. Note that the GOP used in this embodiment is a closed GOP that is independent in GOP units and can be decoded without referring to adjacent GOPs.

図5は、メモリ9内に設けられた参照バッファRB1〜RB4と表示用バッファDB0を概念的に示す図である。参照バッファRB1〜RB4と表示用バッファDB0は、デコーダ6からアクセス可能に構成されている。参照用バッファRB1〜RB4は、Pピクチャ又はBピクチャを復号するために、デコーダ6による復号後のIピクチャ又はPピクチャを一時的に保持するメモリ9内の所定領域である。また、表示用バッファDB0は、復号後のIピクチャ又はPピクチャ又はBピクチャを格納するメモリ9内の所定領域であり、表示用バッファDB0に格納された各ピクチャは視聴者が視聴できる形で映像出力される。よって、表示用バッファDB0に各ピクチャを書き込めば(上書きすれば)、書き込まれたピクチャに基づく映像信号が出力され、表示装置(図示せず)に映像を表示させることができる。   FIG. 5 is a diagram conceptually showing the reference buffers RB1 to RB4 and the display buffer DB0 provided in the memory 9. The reference buffers RB1 to RB4 and the display buffer DB0 are configured to be accessible from the decoder 6. The reference buffers RB1 to RB4 are predetermined areas in the memory 9 that temporarily hold the I picture or P picture decoded by the decoder 6 in order to decode the P picture or B picture. The display buffer DB0 is a predetermined area in the memory 9 that stores the decoded I picture, P picture, or B picture. Each picture stored in the display buffer DB0 is a video that can be viewed by the viewer. Is output. Therefore, if each picture is written (overwritten) in the display buffer DB0, a video signal based on the written picture is output, and a video can be displayed on a display device (not shown).

図6(A)は、15ピクチャから構成されるGOPの先頭IピクチャI2とPピクチャP5、P8、P11、P14の復号処理を示す図であり、図6(B)は、復号されたIピクチャI2とPピクチャP5、P8、P11を参照バッファRB1〜RB4に保持し、次に、PピクチャP14を復号して参照バッファRB1に上書きし、復号されたPピクチャP14を表示用バッファDB0に書き込む(コピーする)処理を示している。1/2倍速の逆方向スロー再生では、この表示用バッファDB0を1/15秒(通常再生時の2ピクチャ分の時間)毎に書き換えるように制御を行う。   FIG. 6A is a diagram showing a decoding process of the first I picture I2 and P pictures P5, P8, P11, and P14 of a GOP composed of 15 pictures, and FIG. 6B shows the decoded I picture. The I2 and P pictures P5, P8, and P11 are held in the reference buffers RB1 to RB4. Next, the P picture P14 is decoded and overwritten on the reference buffer RB1, and the decoded P picture P14 is written in the display buffer DB0 ( Process). In 1 / 2-speed reverse slow playback, control is performed so that the display buffer DB0 is rewritten every 1/15 seconds (time for two pictures during normal playback).

図6(A)及び(B)を用いて、PピクチャP14を表示するまでの復号処理の流れを詳細に説明する。なお、図6(B)における白抜き矢印のそれぞれは、1ピクチャ分の復号処理を意味する。図6(B)に示されるように、最初に、IピクチャI2が復号されて参照バッファRB1に取り込まれ、次に、参照バッファRB1に保持されているIピクチャI2をもとにPピクチャP5が復号されて参照バッファRB2に取り込まれ、次に、参照バッファRB2に保持されているPピクチャP5をもとにPピクチャP8が復号されて参照バッファRB3に取り込まれ、次に、参照バッファRB3に保持されているPピクチャP8をもとにPピクチャP11が復号されて参照バッファRB4に取り込まれる。次に、参照バッファRB4に保持されているPピクチャP11をもとにPピクチャP14が復号されて参照バッファRB1に取り込まれる。このとき、参照バッファRB1に保持されていたIピクチャI2は、PピクチャP14によって上書きされることになり、参照バッファRB1上から無くなる。参照バッファRB1に保持されているPピクチャP14は表示のために、表示用バッファDB0にコピーされて表示される。各バッファRB1〜RB4,DB0間のピクチャデータの移動はメモリ9内の移動であり、データの移動に要する処理時間は、復号処理と比較して無視できるほど短い。図6(B)に示されるように、PピクチャP14を表示している時には、参照バッファRB1にはPピクチャP14が、参照バッファRB2にはPピクチャP5が、参照バッファRB3にはPピクチャP8が、参照バッファRB4にはPピクチャP11が保持されている。   The flow of the decoding process until the P picture P14 is displayed will be described in detail with reference to FIGS. 6 (A) and 6 (B). Note that each white arrow in FIG. 6B means a decoding process for one picture. As shown in FIG. 6B, first, the I picture I2 is decoded and fetched into the reference buffer RB1, and then the P picture P5 is based on the I picture I2 held in the reference buffer RB1. Decoded and fetched into reference buffer RB2, then P picture P8 is decoded and fetched into reference buffer RB3 based on P picture P5 held in reference buffer RB2, and then held in reference buffer RB3 The P picture P11 is decoded on the basis of the P picture P8, and is taken into the reference buffer RB4. Next, the P picture P14 is decoded based on the P picture P11 held in the reference buffer RB4 and is taken into the reference buffer RB1. At this time, the I picture I2 held in the reference buffer RB1 is overwritten by the P picture P14 and disappears from the reference buffer RB1. The P picture P14 held in the reference buffer RB1 is copied and displayed in the display buffer DB0 for display. The movement of the picture data between the buffers RB1 to RB4 and DB0 is a movement in the memory 9, and the processing time required for the movement of the data is so short that it can be ignored as compared with the decoding process. As shown in FIG. 6B, when displaying the P picture P14, the reference buffer RB1 has the P picture P14, the reference buffer RB2 has the P picture P5, and the reference buffer RB3 has the P picture P8. The reference buffer RB4 holds a P picture P11.

図7は、本実施の形態における復号処理に要する時間を示す図である。図7に示されるように、先頭のIピクチャI2が復号されてからPピクチャP14が表示されるまでには、通常再生時に換算して5ピクチャ分のデコード時間(5ピクチャ分の復号処理は、図6(B)における5本の白抜き矢印が示す復号処理に相当する。)を要する。また、PピクチャP14が表示されてから、以降の各ピクチャを表示するために必要な処理時間は、1ピクチャ分のデコード時間である。   FIG. 7 is a diagram showing the time required for the decoding process in the present embodiment. As shown in FIG. 7, from the time when the first I picture I2 is decoded to the time when the P picture P14 is displayed, the decoding time for 5 pictures in terms of normal playback (the decoding process for 5 pictures is This corresponds to the decoding process indicated by the five white arrows in FIG. In addition, the processing time required to display each subsequent picture after the P picture P14 is displayed is a decoding time for one picture.

図8は、逆方向再生を行う場合の参照バッファRB1〜RB4の状態、表示用バッファDB0の状態、復号処理対象のピクチャ(白抜き矢印)を示す図である。図8において、処理対象になるGOPをGOP−aと表記し、このGOP−aの次に処理対象になるGOPをGOP−bと表記する。これらのGOPは、記録再生部7によって記録媒体7aから順番に読み出される。GOPの読み出しにあたっては、図9に示されるように、GOP2つ分のデータを記憶できる記憶領域、すなわち、第1のGOPバッファ20と第2のGOPバッファ21をメモリ9に用意し、GOP−aの表示が完了した時点で、記憶装置7から次のGOPであるGOP−cを読み出すようにシステム制御部10が制御を行う。   FIG. 8 is a diagram showing the state of the reference buffers RB1 to RB4, the state of the display buffer DB0, and the picture (white arrow) to be decoded when reverse playback is performed. In FIG. 8, the GOP to be processed is denoted as GOP-a, and the GOP to be processed next to this GOP-a is denoted as GOP-b. These GOPs are sequentially read from the recording medium 7a by the recording / reproducing unit 7. In reading the GOP, as shown in FIG. 9, a storage area capable of storing data for two GOPs, that is, a first GOP buffer 20 and a second GOP buffer 21 are prepared in the memory 9, and GOP-a When the display is completed, the system control unit 10 performs control so that the next GOP, GOP-c, is read from the storage device 7.

はじめは、図9に示されるように、記録再生部7から、第1のGOPバッファ20にGOP−aが、第2のGOPバッファ21にGOP−bが読み出された状態から処理を開始する。図8及び図9において、GOP−aのIピクチャをIn−a、PピクチャをPn−a、BピクチャをBn−aと表記し、GOP−bのIピクチャをIn−b、PピクチャをPn−b、BピクチャをBn−bと表記する。また、図9において、GOP−cのIピクチャをIn−c、PピクチャをPn−c、BピクチャをBn−cと表記する。ここで、nは任意の数字(本実施の形態においては、n=0,1,…,14)とする。また、状態S1−aは、PピクチャP14−aの表示が完了した状態を示す。   First, as shown in FIG. 9, the processing is started from the state where GOP-a is read from the recording / playback unit 7 to the first GOP buffer 20 and GOP-b is read to the second GOP buffer 21. . 8 and 9, the GOP-a I picture is represented as In-a, the P picture is represented as Pn-a, the B picture is represented as Bn-a, the GOP-b I picture is represented as In-b, and the P picture is represented as Pn. -B, B picture is expressed as Bn-b. In FIG. 9, the I picture of GOP-c is represented as In-c, the P picture as Pn-c, and the B picture as Bn-c. Here, n is an arbitrary number (in this embodiment, n = 0, 1,..., 14). Further, the state S1-a indicates a state where the display of the P picture P14-a is completed.

次に、図8に示されるように、BピクチャB13−aを表示するために参照バッファRB1に保持されているPピクチャP14−aと、参照バッファRB4に保持されているPピクチャP11−aを使ってBピクチャB13−aを復号して表示用バッファDB0に取り込む(状態S2−a)。次に、BピクチャB12−aを表示するために、BピクチャB13−aと同様に、参照バッファRB1に保持されているPピクチャP14−aと、参照バッファRB4に保持されているPピクチャP11−aを使ってBピクチャB12−aを復号して表示用バッファDB0に取り込む(状態S3−a)。BピクチャB13−a及びBピクチャB12−aの各復号処理は、通常再生時と同じく、1ピクチャ分の負荷であり、通常再生時における1ピクチャ分のデコード時間を要する。   Next, as shown in FIG. 8, a P picture P14-a held in the reference buffer RB1 for displaying a B picture B13-a and a P picture P11-a held in the reference buffer RB4 are displayed. The B picture B13-a is decoded by using it and taken into the display buffer DB0 (state S2-a). Next, in order to display the B picture B12-a, similarly to the B picture B13-a, the P picture P14-a held in the reference buffer RB1 and the P picture P11- held in the reference buffer RB4 are displayed. The B picture B12-a is decoded using a and taken into the display buffer DB0 (state S3-a). Each decoding process of the B picture B13-a and the B picture B12-a is a load for one picture as in the normal reproduction, and requires a decoding time for one picture in the normal reproduction.

次に、参照バッファRB4に保持されているPピクチャP11−aを表示用バッファDB0にコピーして、PピクチャP11−aを表示する(状態S4−a)。PピクチャP11−aを表示するタイミングで、GOP−a内のIピクチャI2−aを再び復号して参照バッファRB1に取り込む(状態S5−a)。このとき、PピクチャP14−aは、IピクチャI2−aの上書きによって参照バッファRB1から無くなる。PピクチャP11−aの表示とIピクチャI2−aの復号処理の合計の負荷は、1ピクチャ分の負荷であり、通常再生時における1ピクチャ分のデコード時間を要する。   Next, the P picture P11-a held in the reference buffer RB4 is copied to the display buffer DB0 to display the P picture P11-a (state S4-a). At the timing of displaying the P picture P11-a, the I picture I2-a in the GOP-a is decoded again and taken into the reference buffer RB1 (state S5-a). At this time, the P picture P14-a disappears from the reference buffer RB1 by overwriting the I picture I2-a. The total load of the display of the P picture P11-a and the decoding process of the I picture I2-a is a load for one picture, and a decoding time for one picture during normal reproduction is required.

次に、BピクチャB10−aを表示するために、参照バッファRB4に保持されているPピクチャP11−aと参照バッファRB3に保持されているPピクチャP8−aを使ってBピクチャB10−aを復号して表示用バッファDB0に取り込む(状態S6−a)。次に、BピクチャB9−aを表示するために、参照バッファRB4に保持されているPピクチャP11−aと参照バッファRB3に保持されているPピクチャP8−aを使ってBピクチャB9−aを復号して表示用バッファDB0に取り込む(状態S7−a)。   Next, in order to display the B picture B10-a, the B picture B10-a is displayed using the P picture P11-a held in the reference buffer RB4 and the P picture P8-a held in the reference buffer RB3. The data is decoded and taken into the display buffer DB0 (state S6-a). Next, in order to display the B picture B9-a, the B picture B9-a is displayed using the P picture P11-a held in the reference buffer RB4 and the P picture P8-a held in the reference buffer RB3. Decrypt and fetch into the display buffer DB0 (state S7-a).

次に、参照バッファRB3に保持されているPピクチャP8−aを表示用バッファDB0にコピーして、PピクチャP8−aを表示する(状態S8−a)。PピクチャP8−aを表示するタイミングで、GOPバッファ(図9のバッファ21)に保持された次のGOP(すなわち、GOP−b)内のIピクチャI2−bを復号し、参照バッファRB4に取り込む(状態S9−a)。このとき、参照バッファRB4に保持されていたPピクチャP11−aは、上書きされ、参照バッファ上から無くなる。PピクチャP8−aの表示とIピクチャI2−bの復号処理の合計の負荷は、1ピクチャ分の負荷であり、通常再生時における1ピクチャ分のデコード時間を要する。   Next, the P picture P8-a held in the reference buffer RB3 is copied to the display buffer DB0 to display the P picture P8-a (state S8-a). At the timing of displaying the P picture P8-a, the I picture I2-b in the next GOP (that is, GOP-b) held in the GOP buffer (buffer 21 in FIG. 9) is decoded and taken into the reference buffer RB4. (State S9-a). At this time, the P picture P11-a held in the reference buffer RB4 is overwritten and disappears from the reference buffer. The total load of the display of the P picture P8-a and the decoding process of the I picture I2-b is a load for one picture, and a decoding time for one picture during normal reproduction is required.

次に、BピクチャB7−aを表示するために、参照バッファRB3に保持されているPピクチャP8−aと参照バッファRB2に保持されているPピクチャP5−aを使って、BピクチャB7−aを復号して表示用バッファDB0に取り込む(状態S10−a)。次に、BピクチャB6−aを表示するために、参照バッファRB3に保持されているPピクチャP8−aと参照バッファRB2に保持されているPピクチャP5−aを使って、BピクチャB6−aを復号して表示用バッファDB0に取り込む(状態S11−a)。   Next, in order to display the B picture B7-a, the P picture P8-a held in the reference buffer RB3 and the P picture P5-a held in the reference buffer RB2 are used to display the B picture B7-a. Is decoded and taken into the display buffer DB0 (state S10-a). Next, in order to display the B picture B6-a, the B picture B6-a is used by using the P picture P8-a held in the reference buffer RB3 and the P picture P5-a held in the reference buffer RB2. Is decoded and taken into the display buffer DB0 (state S11-a).

次に、参照バッファRB2に保持されているPピクチャP5−aを表示用バッファDB0にコピーし、PピクチャP5−aを表示する(状態S12−a)。PピクチャP5−aを表示するタイミングで、GOPバッファ(図9のバッファ21)に保持された次のGOP(すなわち、GOP−b)内のPピクチャP5−bを復号し、参照バッファRB3に取り込む(状態S13−a)。このとき、参照バッファRB3に保持されていたPピクチャP8−aは、上書きされ、参照バッファ上から無くなる。   Next, the P picture P5-a held in the reference buffer RB2 is copied to the display buffer DB0 to display the P picture P5-a (state S12-a). At the timing of displaying the P picture P5-a, the P picture P5-b in the next GOP (that is, GOP-b) held in the GOP buffer (buffer 21 in FIG. 9) is decoded and taken into the reference buffer RB3. (State S13-a). At this time, the P picture P8-a held in the reference buffer RB3 is overwritten and disappears from the reference buffer.

次に、BピクチャB4−aを表示するために、参照バッファRB1に保持されているIピクチャI2−aと参照バッファRB2に保持されているPピクチャP5−aを使って、BピクチャB4−aを復号して表示用バッファDB0に取り込む(状態S14−a)。次に、BピクチャB3−aを表示するために、参照バッファRB1に保持されているIピクチャI2−aと参照バッファRB2に保持されているPピクチャP5−aを使って、BピクチャB3−aを復号して表示用バッファDB0に取り込む(状態S15−a)。   Next, in order to display the B picture B4-a, the B picture B4-a is used by using the I picture I2-a held in the reference buffer RB1 and the P picture P5-a held in the reference buffer RB2. Is decoded and taken into the display buffer DB0 (state S14-a). Next, in order to display B picture B3-a, B picture B3-a is used by using I picture I2-a held in reference buffer RB1 and P picture P5-a held in reference buffer RB2. Is decoded and taken into the display buffer DB0 (state S15-a).

次に、参照バッファRB1に保持されているIピクチャI2−aを表示用バッファDB0にコピーし、IピクチャI2−aを表示する(状態S16−a)。IピクチャI2−aを表示するタイミングで、GOPバッファ(図9のバッファ21)に保持された次のGOP(すなわち、GOP−b)内のPピクチャP8−bを復号し、参照バッファRB2に取り込む(状態S17−a)。このとき、参照バッファRB2に保持されていたPピクチャP5−aは、上書きされ、参照バッファ上から無くなる。   Next, the I picture I2-a held in the reference buffer RB1 is copied to the display buffer DB0, and the I picture I2-a is displayed (state S16-a). At the timing of displaying the I picture I2-a, the P picture P8-b in the next GOP (that is, GOP-b) held in the GOP buffer (buffer 21 in FIG. 9) is decoded and taken into the reference buffer RB2. (State S17-a). At this time, the P picture P5-a held in the reference buffer RB2 is overwritten and disappears from the reference buffer.

次に、参照バッファRB1に保持されているIピクチャI2−aを使って、BピクチャB1−aを復号して表示用バッファDB0に取り込む(状態S18−a)。次に、参照バッファRB1に保持されているIピクチャI2−aを使って、BピクチャB0−aを復号して表示用バッファDB0に取り込む(状態S19−a)。   Next, using the I picture I2-a held in the reference buffer RB1, the B picture B1-a is decoded and taken into the display buffer DB0 (state S18-a). Next, using the I picture I2-a held in the reference buffer RB1, the B picture B0-a is decoded and fetched into the display buffer DB0 (state S19-a).

次に、参照バッファRB2に保持されているPピクチャP8−bを使って、GOP−b内に保持されているPピクチャP11−bを復号し、参照バッファRB1に取り込む(状態S20−a)。以上で、GOP−a内の各ピクチャの復号表示が完了し、同時に、GOP−aの次に表示されるべきGOPであるGOP−bの表示開始準備が完了する。GOP−aの表示が完了したので、ここでGOP−cをメモリ9上に保持されている第1のGOPバッファ20に読み出しておく。   Next, using the P picture P8-b held in the reference buffer RB2, the P picture P11-b held in the GOP-b is decoded and fetched into the reference buffer RB1 (state S20-a). Thus, the decoding display of each picture in GOP-a is completed, and at the same time, display start preparation for GOP-b, which is the GOP to be displayed next to GOP-a, is completed. Since the display of GOP-a is completed, GOP-c is read out to the first GOP buffer 20 held on the memory 9 here.

図10は、逆方向再生を行う場合の参照バッファRB1〜RB4の状態、表示用バッファDB0の状態、復号処理対象のピクチャ(白抜き矢印)を示す図である。図10は、図8に示す処理に続く処理を示す。図10の処理は、第1のGOPバッファ20にGOP−cが、第2のGOPバッファ21にGOP−bが読み出された状態から開始される。   FIG. 10 is a diagram illustrating the state of the reference buffers RB1 to RB4, the state of the display buffer DB0, and the picture (white arrow) to be decoded when reverse playback is performed. FIG. 10 shows processing following the processing shown in FIG. The process of FIG. 10 is started from a state where GOP-c is read into the first GOP buffer 20 and GOP-b is read into the second GOP buffer 21.

図10に示されるように、状態S20−aで、GOP−b内のPピクチャP11−bが準備されたので、再生するべき、PピクチャP14−bの復号が可能になる。そこで、まずは参照バッファRB1に保持されているPピクチャP11−bを使って、PピクチャP14−bを復号して参照バッファRB4に取り込む(状態S1−b)。そして、PピクチャP14−bを表示用バッファDB0に書き込み、PピクチャP14−bを表示する。   As shown in FIG. 10, since the P picture P11-b in GOP-b is prepared in the state S20-a, the P picture P14-b to be reproduced can be decoded. Therefore, first, using the P picture P11-b held in the reference buffer RB1, the P picture P14-b is decoded and taken into the reference buffer RB4 (state S1-b). Then, the P picture P14-b is written into the display buffer DB0, and the P picture P14-b is displayed.

次に、BピクチャB13−bを表示するために、参照バッファRB4に保持されているPピクチャP14−bと参照バッファRB1に保持されているPピクチャP11−bを使ってBピクチャB13−bを復号して表示用バッファDB0に取り込む(状態S2−b)。   Next, in order to display the B picture B13-b, the B picture B13-b is used by using the P picture P14-b held in the reference buffer RB4 and the P picture P11-b held in the reference buffer RB1. Decode and fetch into display buffer DB0 (state S2-b).

次に、BピクチャB12−bを表示するために、BピクチャB13−bと同様に、参照バッファRB4に保持されているPピクチャP14−bと参照バッファRB1に保持されているPピクチャP11−bを使ってBピクチャB12−bを復号して表示用バッファDB0に取り込む(状態S3−b)。   Next, in order to display the B picture B12-b, similarly to the B picture B13-b, the P picture P14-b held in the reference buffer RB4 and the P picture P11-b held in the reference buffer RB1 are displayed. Is used to decode the B picture B12-b and fetch it into the display buffer DB0 (state S3-b).

次に、参照バッファRB1に保持されているPピクチャP11−bを表示用バッファDB0にコピーして、PピクチャP11−bを表示する(状態S4−b)。
PピクチャP11−bを表示するタイミングで、GOP−b内のIピクチャI2−bを再び復号して参照バッファRB4に取り込む(状態S5−b)。このとき、PピクチャP14−bは、IピクチャI2−aの上書きによって参照バッファRB4から無くなる。
Next, the P picture P11-b held in the reference buffer RB1 is copied to the display buffer DB0 to display the P picture P11-b (state S4-b).
At the timing of displaying the P picture P11-b, the I picture I2-b in the GOP-b is decoded again and taken into the reference buffer RB4 (state S5-b). At this time, the P picture P14-b disappears from the reference buffer RB4 due to overwriting of the I picture I2-a.

次に、BピクチャB10−aを表示するために、参照バッファRB1に保持されているPピクチャP11−bと参照バッファRB2に保持されているPピクチャP8−bを使ってBピクチャB10−bを復号して表示用バッファDB0に取り込む(状態S6−b)。次に、BピクチャB9−bを表示するために、参照バッファRB1に保持されているPピクチャP11−aと参照バッファRB2に保持されているPピクチャP8−bを使ってBピクチャB9−bを復号して表示用バッファDB0に取り込む(状態S7−b)。   Next, in order to display the B picture B10-a, the B picture B10-b is displayed using the P picture P11-b held in the reference buffer RB1 and the P picture P8-b held in the reference buffer RB2. Decode and fetch into display buffer DB0 (state S6-b). Next, in order to display the B picture B9-b, the B picture B9-b is displayed using the P picture P11-a held in the reference buffer RB1 and the P picture P8-b held in the reference buffer RB2. Decrypt and fetch into the display buffer DB0 (state S7-b).

次に、参照バッファRB2に保持されているPピクチャP8−bを表示用バッファDB0にコピーしこれを表示する(状態S8−b)。PピクチャP8−bを表示するタイミングで、GOPバッファ(図9のバッファ20)に保持された次のGOP(すなわち、GOP−c)内のIピクチャI2−cを復号し、参照バッファRB1に取り込む(状態S9−b)。このとき、参照バッファRB1に保持されていたPピクチャP11−bは、上書きされ、参照バッファ上から無くなる。   Next, the P picture P8-b held in the reference buffer RB2 is copied to the display buffer DB0 and displayed (state S8-b). At the timing of displaying the P picture P8-b, the I picture I2-c in the next GOP (that is, GOP-c) held in the GOP buffer (buffer 20 in FIG. 9) is decoded and taken into the reference buffer RB1. (State S9-b). At this time, the P picture P11-b held in the reference buffer RB1 is overwritten and disappears from the reference buffer.

次に、BピクチャB7−bを表示するために、参照バッファRB2に保持されているPピクチャP8−bと参照バッファRB3に保持されているPピクチャP5−bを使って、BピクチャB7−bを復号して表示用バッファDB0に取り込む(状態S10−b)。次に、BピクチャB6−bを表示するために、参照バッファRB2に保持されているPピクチャP8−bと参照バッファRB3に保持されているPピクチャP5−bを使って、BピクチャB6−bを復号して表示用バッファDB0に取り込む(状態S11−b)。   Next, in order to display the B picture B7-b, the P picture P8-b held in the reference buffer RB2 and the P picture P5-b held in the reference buffer RB3 are used to display the B picture B7-b. Is decoded and taken into the display buffer DB0 (state S10-b). Next, in order to display the B picture B6-b, the B picture B6-b is used by using the P picture P8-b held in the reference buffer RB2 and the P picture P5-b held in the reference buffer RB3. Is decoded and taken into the display buffer DB0 (state S11-b).

次に、参照バッファRB3に保持されているPピクチャP5−bを表示用バッファDB0にコピーし、PピクチャP5−bを表示する(状態S12−b)。PピクチャP5−bを表示するタイミングで、GOPバッファ(図9のバッファ20)に保持された次のGOP(すなわち、GOP−c)内のPピクチャP5−cを復号し、参照バッファRB2に取り込む(状態S13−b)。このとき、参照バッファRB2に保持されていたPピクチャP8−bは、上書きされ、参照バッファ上から無くなる。   Next, the P picture P5-b held in the reference buffer RB3 is copied to the display buffer DB0, and the P picture P5-b is displayed (state S12-b). At the timing of displaying the P picture P5-b, the P picture P5-c in the next GOP (that is, GOP-c) held in the GOP buffer (buffer 20 in FIG. 9) is decoded and taken into the reference buffer RB2. (State S13-b). At this time, the P picture P8-b held in the reference buffer RB2 is overwritten and disappears from the reference buffer.

次に、BピクチャB4−bを表示するために、参照バッファRB4に保持されているIピクチャI2−bと参照バッファRB3に保持されているPピクチャP5−bを使って、BピクチャB4−bを復号して表示用バッファDB0に取り込む(状態S14−b)。次に、BピクチャB3−bを表示するために、参照バッファRB4に保持されているIピクチャI2−aと参照バッファRB3に保持されているPピクチャP5−bを使って、BピクチャB3−bを復号して表示用バッファDB0に取り込む(状態S15−b)。   Next, in order to display the B picture B4-b, the B picture B4-b is used by using the I picture I2-b held in the reference buffer RB4 and the P picture P5-b held in the reference buffer RB3. Is decoded and taken into the display buffer DB0 (state S14-b). Next, in order to display the B picture B3-b, the B picture B3-b is used by using the I picture I2-a held in the reference buffer RB4 and the P picture P5-b held in the reference buffer RB3. Is decoded and taken into the display buffer DB0 (state S15-b).

次に、参照バッファRB4に保持されているIピクチャI2−bを表示用バッファDB0にコピーし、IピクチャI2−bを表示する(状態S16−b)。IピクチャI2−bを表示するタイミングで、GOPバッファ(図9のバッファ20)に保持された次のGOP(すなわち、GOP−c)内のPピクチャP8−cを復号し、参照バッファRB3に取り込む(状態S17−b)。このとき、参照バッファRB3に保持されていたPピクチャP5−bは、上書きされ、参照バッファ上から無くなる。   Next, the I picture I2-b held in the reference buffer RB4 is copied to the display buffer DB0, and the I picture I2-b is displayed (state S16-b). At the timing of displaying the I picture I2-b, the P picture P8-c in the next GOP (that is, GOP-c) held in the GOP buffer (buffer 20 in FIG. 9) is decoded and taken into the reference buffer RB3. (State S17-b). At this time, the P picture P5-b held in the reference buffer RB3 is overwritten and disappears from the reference buffer.

次に、参照バッファRB4に保持されているIピクチャI2−bを使って、BピクチャB1−bを復号して表示用バッファDB0に取り込む(状態S18−b)。次に、参照バッファRB4に保持されているIピクチャI2−bを使って、BピクチャB0−bを復号して表示用バッファDB0に取り込む(状態S19−b)。   Next, using the I picture I2-b held in the reference buffer RB4, the B picture B1-b is decoded and taken into the display buffer DB0 (state S18-b). Next, using the I picture I2-b held in the reference buffer RB4, the B picture B0-b is decoded and taken into the display buffer DB0 (state S19-b).

次に、参照バッファRB3に保持されているPピクチャP8−cを使って、GOP−c内に保持されているPピクチャP11−cを復号し、参照バッファRB4に取り込む(状態S20−b)。ここまでで、GOP−b内の各ピクチャの復号表示が完了し、さらに、次のGOPであるGOP−cの表示開始準備が完了する。その後は上記の一連の流れを繰り返すことで、再生制御が行われる。   Next, using the P picture P8-c held in the reference buffer RB3, the P picture P11-c held in the GOP-c is decoded and fetched into the reference buffer RB4 (state S20-b). Up to this point, the decoding and display of each picture in GOP-b is completed, and the display start preparation for GOP-c, which is the next GOP, is completed. After that, reproduction control is performed by repeating the above-described series of flows.

図11は、図8に示されるデータ処理において、復号対象のピクチャと、表示対象のピクチャと、復号に要する処理数(デコード数)の関係を示す図である。Bピクチャの生成は、4つの参照バッファのうち2つの参照バッファのデータを参照して復号処理を行うことによって行われ、Bピクチャの表示は、生成されたBピクチャを表示用バッファDB0にコピーすることによって行われる。Pピクチャ及びIピクチャに関しては、予め復号して参照バッファRB1〜RB4に用意しておいたものを必要な時点で表示用バッファDB0にコピーして表示している。例えば、PピクチャP11−aを表示する際には、これは既に参照バッファRB4に保持されているので、ここで次のGOP−bのIピクチャI2を復号して準備しておく。また、PピクチャP8を表示する際には、これは既に参照バッファRB3に保持されているので、ここで次のGOPのPピクチャP5を復号して準備しておく。ここで、GOPの境界のBピクチャB0とPピクチャP14の間については、例えば、BピクチャB0−a及び、PピクチャP11−bを復号する必要がある。図11では、その意味で復号処理数を“2”として表記している。このように制御することで、1フレームの映像を表示する期間で、最大でも2ピクチャ分の復号をすれば良い。逆方向スロー再生において、1/2倍速であれば1フレーム分(1ピクチャ分)の表示時間は1/15秒であり、この時間で最大2ピクチャ分の復号処理と必要であればメモリコピーを行えばよいことなる。これは通常再生時と同等の処理能力があれば処理可能なレベルである。   FIG. 11 is a diagram illustrating a relationship between a picture to be decoded, a picture to be displayed, and the number of processes required for decoding (decode number) in the data processing illustrated in FIG. Generation of a B picture is performed by performing decoding processing with reference to data in two reference buffers out of four reference buffers, and display of the B picture is performed by copying the generated B picture to the display buffer DB0. Is done by. As for the P picture and the I picture, those previously decoded and prepared in the reference buffers RB1 to RB4 are copied and displayed in the display buffer DB0 when necessary. For example, when displaying the P picture P11-a, since it is already held in the reference buffer RB4, the I picture I2 of the next GOP-b is decoded and prepared here. Further, when displaying the P picture P8, since it is already held in the reference buffer RB3, the P picture P5 of the next GOP is decoded and prepared here. Here, for example, between the B picture B0 and the P picture P14 at the boundary of the GOP, it is necessary to decode the B picture B0-a and the P picture P11-b, for example. In FIG. 11, the number of decoding processes is expressed as “2” in that sense. By controlling in this way, it is sufficient to decode at most two pictures in a period during which one frame of video is displayed. In reverse slow playback, the display time for one frame (one picture) is 1/15 second at 1/2 times speed, and at this time, decoding processing for up to two pictures and memory copy if necessary It's a good thing to do. This is a level that can be processed if there is processing capability equivalent to that during normal playback.

図12は、図10に示されるデータ処理において、復号対象のピクチャと、表示対象のピクチャと、復号に要する処理数(デコード数)の関係を示す図である。図11の場合と同様の理由によって、逆方向スロー再生において、1/2倍速であれば1フレーム分(1ピクチャ分)の表示時間は1/15秒であり、この時間で最大2ピクチャ分の復号処理と必要であればメモリコピーを行えばよいことなる。これは通常再生時と同等の処理能力があれば処理可能なレベルである。   FIG. 12 is a diagram illustrating a relationship between a picture to be decoded, a picture to be displayed, and the number of processes required for decoding (decode number) in the data processing illustrated in FIG. For the same reason as in the case of FIG. 11, in the reverse slow playback, if the speed is ½ times, the display time for one frame (one picture) is 1/15 seconds, and at this time, a maximum of two pictures are displayed. Decoding processing and memory copying may be performed if necessary. This is a level that can be processed if there is processing capability equivalent to that during normal playback.

以上に説明したように、本実施の形態においては、記録媒体7aに記録された符号化されたデジタル映像データをGOP単位で読み出し、GOPバッファ20又は21に保持するステップと、GOPバッファ20又は21に保持されたGOPを復号してIピクチャ及び複数個のPピクチャを生成し、これら生成されたIピクチャ及び複数個のPピクチャのうちの複数個のピクチャを参照バッファRB1〜RB4に保持するステップと、参照バッファRB1〜RB4に保持されているIピクチャ又はPピクチャを表示用バッファDB0に書き込む処理、又は、参照バッファRB1〜RB4に保持されているIピクチャ又はPピクチャを参照してBピクチャを生成し、生成されたBピクチャを表示用バッファDB0に書き込む処理によって、表示用バッファDB0に保持されたピクチャに基づく表示用映像信号を出力するステップとを有し、表示用バッファDB0にピクチャを書き込む処理を、参照バッファRB1〜RB4に保持されているIピクチャ、参照バッファRB1〜RB4に保持されているPピクチャ、又は前記生成されたBピクチャを、時間的に新しいピクチャから古いピクチャに向かう順に表示用バッファDB0に1ピクチャずつ上書きすることによって実行している。このように、GOPバッファ20又は21に保持されたGOP内のIピクチャ及びPピクチャを予め復号して保持する参照バッファRB1〜Rb4を備えることによって、参照バッファRB1〜Rb4に保持されているIピクチャ又はPピクチャを参照してBピクチャを復号することができる。このため、GOPバッファ20又は21に保持されているGOPをBピクチャ復号のたびに先頭から復号する従来の再生方法に比べ、データ処理量を低減することができる。よって、本実施の形態の逆方向再生方法によれば、スムーズな映像の逆方向再生を比較的早い速度で実行することができる。   As described above, in the present embodiment, the encoded digital video data recorded on the recording medium 7a is read in GOP units and held in the GOP buffer 20 or 21, and the GOP buffer 20 or 21 Decoding the GOP held in step S1 to generate an I picture and a plurality of P pictures, and holding a plurality of pictures of the generated I picture and the plurality of P pictures in the reference buffers RB1 to RB4 The process of writing the I picture or P picture held in the reference buffers RB1 to RB4 to the display buffer DB0, or the B picture by referring to the I picture or P picture held in the reference buffers RB1 to RB4 Displayed by processing to generate and write the generated B picture to the display buffer DB0 A step of outputting a display video signal based on a picture held in the buffer DB0, and a process of writing a picture in the display buffer DB0 is performed by an I picture and a reference buffer RB1 held in the reference buffers RB1 to RB4. The P picture held in RB4 or the generated B picture is overwritten one by one in the display buffer DB0 in order from the newest picture to the oldest picture. As described above, the I pictures held in the reference buffers RB1 to Rb4 are provided by including the reference buffers RB1 to Rb4 for decoding and holding the I picture and the P picture in the GOP held in the GOP buffer 20 or 21 in advance. Alternatively, the B picture can be decoded with reference to the P picture. Therefore, the amount of data processing can be reduced as compared with the conventional reproduction method in which the GOP held in the GOP buffer 20 or 21 is decoded from the beginning every time the B picture is decoded. Therefore, according to the backward reproduction method of the present embodiment, smooth backward reproduction of video can be executed at a relatively high speed.

また、本実施の形態においては、参照バッファRB1〜RB4に保持されているピクチャがすべてPピクチャである場合に、参照バッファRB1〜RB4に保持されているPピクチャを表示用バッファDB0に書き込む処理を実行したタイミング(図8における状態S4−a、S5−a)で、GOPバッファ20又は21に保持されているGOPから復号されたIピクチャを生成させ、該生成されたIピクチャを参照バッファRB1〜RB4に保持されているPピクチャのいずれか(図8におけるP14−a)に上書する処理を実行する。参照バッファRB1〜RB4に保持されているPピクチャを表示用バッファDB0に書き込む処理は、メモリ9内におけるデータ移動であって負荷の小さい処理であるので、図8における状態S4−a、S5−aの処理は、通常再生時の復号処理能力があれば1デコード時間内で実現できる。よって、本実施の形態の逆方向再生方法によれば、スムーズな映像の逆方向再生を比較的早い速度で実行することができる。   In the present embodiment, when all the pictures held in the reference buffers RB1 to RB4 are P pictures, a process of writing the P pictures held in the reference buffers RB1 to RB4 to the display buffer DB0 is performed. At the execution timing (states S4-a and S5-a in FIG. 8), a decoded I picture is generated from the GOP held in the GOP buffer 20 or 21, and the generated I picture is referred to the reference buffers RB1 to RB1. A process of overwriting one of the P pictures held in RB4 (P14-a in FIG. 8) is executed. Since the process of writing the P pictures held in the reference buffers RB1 to RB4 to the display buffer DB0 is a data movement in the memory 9 and a process with a small load, the states S4-a and S5-a in FIG. This process can be realized within one decoding time if there is a decoding processing capability during normal reproduction. Therefore, according to the backward reproduction method of the present embodiment, smooth backward reproduction of video can be executed at a relatively high speed.

また、本実施の形態においては、参照バッファRB1〜RB4に保持されているIピクチャ又はPピクチャを表示用バッファDB0に書き込む処理を実行したタイミング(図8における状態S4−a、S8−a、S12−a、S16−a)で、このタイミングよりも時間的に前であって且つこのタイミングに最も近い時点で表示用バッファDB0に書き込まれたPピクチャが保持されている参照バッファに、新たに復号されたIピクチャ(図8における状態S6−a)又はPピクチャ(図8における状態S5−a、S9−a、S13−a、S17−a)を上書きする処理を実行する。このため、GOPを構成するすべてのピクチャを復号してバッファに保持する方法と比較して、メモリ利用効率を上げることができる。   Further, in the present embodiment, the timing at which the process of writing the I picture or P picture held in the reference buffers RB1 to RB4 to the display buffer DB0 is executed (states S4-a, S8-a, S12 in FIG. 8). In -a, S16-a), a new decoding is performed in the reference buffer that holds the P picture written in the display buffer DB0 at a time earlier than this timing and closest to this timing. The process of overwriting the I picture (state S6-a in FIG. 8) or P picture (states S5-a, S9-a, S13-a, S17-a in FIG. 8) is executed. For this reason, the memory utilization efficiency can be improved as compared with a method in which all the pictures constituting the GOP are decoded and held in the buffer.

また、本実施の形態においては、参照バッファRB1〜RB4に保持されているIピクチャ又はPピクチャを表示用バッファDB0に書き込む処理を実行したタイミングで、現在復号対象となっているGOP(例えば、図8及び図9におけるGOP−a)よりも時間的に古い他のGOP(例えば、図8及び図9におけるGOP−b)を復号してIピクチャ又はPピクチャを生成し、他のGOP(例えば、図8及び図9におけるGOP−b)を復号して生成されたIピクチャ又はPピクチャを参照バッファRB1〜RB4のいずれかのピクチャに上書きする処理を実行する(図8における状態S9−a、S13−a、S17−a、S20−a)。このため、GOP−aと、その次に再生されるGOP−bの境界で不自然さの無いスムーズな表示が可能になる。   In the present embodiment, the GOP (for example, FIG. 5) that is currently the decoding target at the timing of executing the process of writing the I picture or P picture held in the reference buffers RB1 to RB4 to the display buffer DB0. 8 and GOP-a in FIG. 9 and other GOPs that are temporally older (for example, GOP-b in FIGS. 8 and 9) are decoded to generate I or P pictures, and other GOPs (for example, A process of overwriting any picture in the reference buffers RB1 to RB4 with the I picture or P picture generated by decoding GOP-b) in FIGS. 8 and 9 (states S9-a and S13 in FIG. 8). -A, S17-a, S20-a). For this reason, smooth display without unnaturalness is possible at the boundary between GOP-a and GOP-b to be reproduced next.

本発明の実施の形態に係る映像再生装置の構成を概略的に示すブロック図である。1 is a block diagram schematically showing a configuration of a video reproduction apparatus according to an embodiment of the present invention. 図1に示される切り替え部の機能を説明するための図である。It is a figure for demonstrating the function of the switching part shown by FIG. (A)は、時間的に古いデータから順に記録媒体のデータを読み出す通常再生時のTS送出タイミングを示す図であり、(B)は、時間的に新しいデータから順に記録媒体のデータを読み出す逆方向スロー再生時におけるTS送出タイミングを示す図である。(A) is a diagram showing TS transmission timing at the time of normal reproduction in which data on a recording medium is read out in order from oldest data in time; (B) is a reverse view of reading out data on a recording medium in order from newest data in time. It is a figure which shows the TS transmission timing at the time of direction slow reproduction | regeneration. (A)は、GOPを構成する符号化されたピクチャを示す図であり、(B)は、復号化後のピクチャを示す図であり、(C)は、逆方向再生時におけるピクチャの表示順を示す図である。(A) is a diagram showing encoded pictures constituting the GOP, (B) is a diagram showing pictures after decoding, and (C) is a display order of pictures during backward reproduction. FIG. 図1のメモリ上に用意された参照バッファと表示用バッファを示す図である。It is a figure which shows the reference buffer and display buffer which were prepared on the memory of FIG. (A)及び(B)は、本発明の実施の形態における参照バッファの初期制御状態を模式的に示す図である。(A) And (B) is a figure which shows typically the initial control state of the reference buffer in embodiment of this invention. 本発明の実施の形態における復号処理時間を示す図である。It is a figure which shows the decoding processing time in embodiment of this invention. 本発明の実施の形態における参照バッファ及び表示用バッファの制御状態を模式的に示す図である。It is a figure which shows typically the control state of the reference buffer and display buffer in embodiment of this invention. 図1のメモリ上に用意されたGOPバッファにGOPを上書きする処理を示す図である。It is a figure which shows the process which overwrites GOP to the GOP buffer prepared on the memory of FIG. 本発明の実施の形態における参照バッファ及び表示用バッファの制御状態(図8に続く状態)を模式的に示す図である。It is a figure which shows typically the control state (state following FIG. 8) of the reference buffer and display buffer in embodiment of this invention. 図8における復号処理数を示す図である。It is a figure which shows the number of decoding processes in FIG. 図10における復号処理数を示す図である。It is a figure which shows the number of decoding processes in FIG. 従来の映像再生装置におけるスロー再生方法を模式的に示す図である。It is a figure which shows typically the slow reproduction method in the conventional video reproduction apparatus.

符号の説明Explanation of symbols

1 アンテナ、 2 チューナ、 3 復調部、 4 切り替え部、 5 多重分離部、 6 デコーダ、 7 記録再生部、 7a 記録媒体、 8 記録再生制御部、 9 メモリ、 10 システム制御部、 11 映像再生装置、 20 第1のGOPバッファ、 21 第2のGOPバッファ、 DB0 表示用バッファ、 RB1〜RB4 参照バッファ。
1 antenna, 2 tuner, 3 demodulating unit, 4 switching unit, 5 demultiplexing unit, 6 decoder, 7 recording / playback unit, 7a recording medium, 8 recording / playback control unit, 9 memory, 10 system control unit, 11 video playback device, 20 first GOP buffer, 21 second GOP buffer, DB0 display buffer, RB1 to RB4 reference buffer.

Claims (8)

記録媒体に記録された符号化されたデジタル映像データをGOP単位で読み出す読出部と、
前記読み出されたGOPを一時的に保持するGOPバッファと、
前記GOPバッファに保持されたGOPを復号してIピクチャ、複数個のPピクチャ、及び複数個のBピクチャを生成するデコーダと、
保持したピクチャに基づく表示用映像信号を出力する表示用バッファと、
前記デジタル映像データを逆方向再生するときに、前記生成されたIピクチャ及び複数個のPピクチャのうちの複数個のピクチャを一時的に保持する参照バッファと、
前記デジタル映像データを逆方向再生するときに、前記参照バッファに保持されているIピクチャ又はPピクチャを前記表示用バッファに書き込む処理、及び、前記参照バッファに保持されているIピクチャとPピクチャ、又は、Pピクチャを参照して前記デコーダにBピクチャを生成させ、前記生成されたBピクチャを前記表示用バッファに書き込む処理を実行するシステム制御部と
を有し、
前記デジタル映像データを逆方向再生するときに、前記システム制御部は、前記表示用バッファにピクチャを書き込む処理を、前記参照バッファに保持されているIピクチャ、前記参照バッファに保持されているPピクチャ、又は前記生成されたBピクチャを、時間的に新しいピクチャから古いピクチャに向かう順に前記表示用バッファに1ピクチャずつ上書きすることによって実行し、前記参照バッファに保持されているIピクチャ又はPピクチャを前記表示用バッファに書き込む処理を実行したタイミングで、該タイミングよりも時間的に前であって且つ該タイミングに最も近い時点で前記表示用バッファに書き込まれたPピクチャが保持されている前記参照バッファに、前記デコーダによって新たに復号されたIピクチャ又はPピクチャを上書きする処理を実行する
ことを特徴とする映像再生装置。
A reading unit for reading encoded digital video data recorded on a recording medium in GOP units;
A GOP buffer for temporarily holding the read GOP;
A decoder that decodes the GOP held in the GOP buffer to generate an I picture, a plurality of P pictures, and a plurality of B pictures;
A display buffer for outputting a display video signal based on the held picture;
A reference buffer that temporarily holds a plurality of pictures of the generated I picture and a plurality of P pictures when the digital video data is reproduced in the reverse direction;
A process of writing an I picture or a P picture held in the reference buffer to the display buffer when the digital video data is reproduced in the reverse direction; and an I picture and a P picture held in the reference buffer ; Or a system control unit that executes a process of causing the decoder to generate a B picture with reference to a P picture and writing the generated B picture to the display buffer,
When the digital video data is reproduced in the reverse direction, the system control unit performs a process of writing a picture in the display buffer by executing an I picture held in the reference buffer and a P picture held in the reference buffer. Or by overwriting the generated B picture one by one in the display buffer in order from the newest picture to the oldest picture, and the I picture or the P picture held in the reference buffer The reference buffer in which the P picture written in the display buffer is held at a timing that is earlier than the timing and closest to the timing at the time when the processing for writing into the display buffer is executed The I picture or P picture newly decoded by the decoder Video reproducing apparatus characterized by performing a process of overwriting the.
前記デジタル映像データを逆方向再生するときに、前記参照バッファに保持されているピクチャがすべてPピクチャである場合には、前記システム制御部は、前記参照バッファに保持されているPピクチャを前記表示用バッファに書き込む処理を実行したタイミングで、前記GOPバッファに保持されているGOPから復号されたIピクチャを生成させ、該生成されたIピクチャを前記参照バッファに保持されているPピクチャのいずれかに上書する処理を実行することを特徴とする請求項1に記載の映像再生装置。   When all the pictures held in the reference buffer are P pictures when the digital video data is reproduced in the reverse direction, the system control unit displays the P pictures held in the reference buffer as the display One of the P pictures held in the reference buffer is generated by generating a decoded I picture from the GOP held in the GOP buffer at the timing when the process of writing to the buffer is executed The video reproducing apparatus according to claim 1, wherein a process of overwriting is executed. 前記デジタル映像データを逆方向再生するときに、前記システム制御部は、前記参照バッファに保持されているIピクチャ又はPピクチャを前記表示用バッファに書き込む処理を実行したタイミングで、現在復号対象となっているGOPよりも時間的に古い他のGOPを前記デコーダによって復号させてIピクチャ又はPピクチャを生成し、前記他のGOPを復号して生成されたIピクチャ又はPピクチャを前記参照バッファのいずれかのピクチャに上書きする処理を実行することを特徴とする請求項1又は2に記載の映像再生装置。 When the digital video data is reproduced in the reverse direction, the system control unit becomes a current decoding target at the timing when the process of writing the I picture or P picture held in the reference buffer to the display buffer is executed. Another GOP that is older than the current GOP is decoded by the decoder to generate an I picture or P picture, and the I picture or P picture generated by decoding the other GOP is stored in any of the reference buffers. video reproducing apparatus according to claim 1 or 2, characterized in that to execute a process of overwriting the Kano picture. 前記GOPバッファに保持されたGOPは、1個のIピクチャ及び4個のPピクチャを含み
前記参照バッファに保持されるピクチャ数が4個である
ことを特徴とする請求項1乃至のいずれかに記載の映像再生装置。
GOP held in the GOP buffer is any one of claims 1 to 3, wherein the number of pictures to be held in the reference buffer includes one I-picture and four P-picture is four The video playback device described in 1.
記録媒体に記録された符号化されたデジタル映像データをGOP単位で読み出し、GOPバッファに保持するステップと、
前記GOPバッファに保持されたGOPを復号してIピクチャ及び複数個のPピクチャを生成し、前記生成されたIピクチャ及び複数個のPピクチャのうちの複数個のピクチャを参照バッファに保持するステップと、
前記参照バッファに保持されているIピクチャ又はPピクチャを表示用バッファに書き込む処理、又は、前記参照バッファに保持されているIピクチャとPピクチャ、又は、Pピクチャを参照してBピクチャを生成し、前記生成されたBピクチャを前記表示用バッファに書き込む処理によって、前記表示用バッファに保持されたピクチャに基づく表示用映像信号を出力するステップと
を有し、
前記表示用バッファにピクチャを書き込む処理を、前記参照バッファに保持されているIピクチャ、前記参照バッファに保持されているPピクチャ、又は前記生成されたBピクチャを、時間的に新しいピクチャから古いピクチャに向かう順に前記表示用バッファに1ピクチャずつ上書きすることによって実行し、
前記参照バッファに保持されているIピクチャ又はPピクチャを前記表示用バッファに書き込む処理を実行したタイミングで、該タイミングよりも時間的に前であって且つ該タイミングに最も近い時点で前記表示用バッファに書き込まれたPピクチャが保持されている前記参照バッファに、新たに復号されたIピクチャ又はPピクチャを上書きする処理を実行する
ことを特徴とする逆方向再生方法。
Reading the encoded digital video data recorded on the recording medium in units of GOPs and holding them in a GOP buffer;
Decoding the GOP held in the GOP buffer to generate an I picture and a plurality of P pictures, and holding a plurality of pictures of the generated I picture and the plurality of P pictures in a reference buffer When,
A process of writing an I picture or a P picture held in the reference buffer to a display buffer , or generating a B picture by referring to an I picture and a P picture held in the reference buffer , or a P picture Outputting a display video signal based on the picture held in the display buffer by a process of writing the generated B picture to the display buffer;
A process of writing a picture to the display buffer is performed by changing an I picture held in the reference buffer, a P picture held in the reference buffer, or the generated B picture from a new picture in time to an old picture. run by overwriting one picture to the display buffer in the order toward the,
The display buffer at the timing when the process of writing the I picture or the P picture held in the reference buffer to the display buffer is executed, at a time earlier than the timing and closest to the timing A backward reproduction method characterized by executing a process of overwriting a newly decoded I picture or P picture in the reference buffer in which the P picture written in is held .
前記参照バッファに保持されているピクチャがすべてPピクチャである場合に、前記参照バッファに保持されているPピクチャを前記表示用バッファに書き込む処理を実行したタイミングで、前記GOPバッファに保持されているGOPから復号されたIピクチャを生成させ、該生成されたIピクチャを前記参照バッファに保持されているPピクチャのいずれかに上書する処理を実行することを特徴とする請求項に記載の逆方向再生方法。 When all the pictures held in the reference buffer are P pictures, the picture is held in the GOP buffer at the timing of executing the process of writing the P picture held in the reference buffer to the display buffer. to generate an I-picture decoded from GOP, as claimed in claim 5, characterized in that executes processing for overwriting an I-picture that is the product to any of the P-picture stored in the reference buffer Reverse playback method. 前記参照バッファに保持されているIピクチャ又はPピクチャを前記表示用バッファに書き込む処理を実行したタイミングで、現在復号対象となっているGOPよりも時間的に古い他のGOPを復号してIピクチャ又はPピクチャを生成し、前記他のGOPを復号して生成されたIピクチャ又はPピクチャを前記参照バッファのいずれかのピクチャに上書きする処理を実行することを特徴とする請求項5又は6に記載の逆方向再生方法。 At the timing when the process of writing the I picture or P picture held in the reference buffer to the display buffer is executed, another GOP that is temporally older than the GOP currently being decoded is decoded and the I picture 7. The process according to claim 5 or 6 , wherein a process of generating a P picture and overwriting any picture in the reference buffer with an I picture or a P picture generated by decoding the other GOP is performed. The reverse playback method as described. 前記GOPバッファに保持されたGOPは、1個のIピクチャ及び4個のPピクチャを含み
前記参照バッファに保持されるピクチャ数が4個である
ことを特徴とする請求項乃至のいずれかに記載の逆方向再生方法。
GOP wherein held in the GOP buffer is any one of claims 5 to 7, characterized in that the number of pictures to be held in the reference buffer includes one I-picture and four P-picture is four The reverse direction reproduction method as described in 2.
JP2006037649A 2006-02-15 2006-02-15 Video playback device and reverse playback method Expired - Fee Related JP4286259B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006037649A JP4286259B2 (en) 2006-02-15 2006-02-15 Video playback device and reverse playback method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006037649A JP4286259B2 (en) 2006-02-15 2006-02-15 Video playback device and reverse playback method

Publications (2)

Publication Number Publication Date
JP2007221306A JP2007221306A (en) 2007-08-30
JP4286259B2 true JP4286259B2 (en) 2009-06-24

Family

ID=38498119

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006037649A Expired - Fee Related JP4286259B2 (en) 2006-02-15 2006-02-15 Video playback device and reverse playback method

Country Status (1)

Country Link
JP (1) JP4286259B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5369425B2 (en) * 2007-10-31 2013-12-18 富士通株式会社 Image restoration apparatus, image restoration program, and image restoration method
JP5579730B2 (en) * 2008-11-12 2014-08-27 トムソン ライセンシング Brightness change coding
CN102217308B (en) 2008-11-13 2014-10-22 汤姆森特许公司 Multiple thread video encoding using gop merging and bit allocation

Also Published As

Publication number Publication date
JP2007221306A (en) 2007-08-30

Similar Documents

Publication Publication Date Title
US7024102B1 (en) Image data reproducing method, image data reproducing apparatus, image data recording method and image data recording apparatus
JP2001346205A (en) Method for concealing signal error
US6751400B1 (en) Reproducing method and apparatus
US20070201819A1 (en) Apparatus and method for variable speed playback of digital broadcasting stream
JP4286259B2 (en) Video playback device and reverse playback method
EP1895773B1 (en) Method and apparatus to reverse play with minimal delay
EP2209120A1 (en) Video information recording method and video information reproducing device
JP4613000B2 (en) Playback device
JPH1079918A (en) Device for decoding and reproducing picture information and method therefor
JP2002112193A (en) Transfer control method for coded data and storage reproduction system
JP5190458B2 (en) Data processing apparatus and method
JP2006049988A (en) Digital data recording and reproducing device
JP2005080073A (en) Image reproducing device and backward reproduction method of image data
JP5803814B2 (en) Recording apparatus and recording control method
JP2005197839A (en) Special reproduction method of transport stream and recording and reproducing apparatus for transport stream
JP2002033712A (en) Packet processor and packet output method therefor
JP4120056B2 (en) Playback apparatus and playback method
JP4829767B2 (en) Video recording / reproducing apparatus and video special reproducing method thereof
JP2006262320A (en) Video material transfer method, video material transfer sending-side apparatus and video material transfer receiving-side apparatus
WO2009090865A1 (en) Dynamic image data decoding/reproduction device and dynamic image data decoding device
JP4670913B2 (en) Playback device
JP5811037B2 (en) Recording apparatus and recording control method
JP4577346B2 (en) Data recording apparatus, data reproducing apparatus, data recording / reproducing method, and imaging apparatus
JP4800824B2 (en) recoding media
JP2015029211A (en) Imaging device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080508

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080513

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080707

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090324

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120403

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120403

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130403

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130403

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140403

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees