JPH11205739A - Image reproduction method and system - Google Patents

Image reproduction method and system

Info

Publication number
JPH11205739A
JPH11205739A JP10003433A JP343398A JPH11205739A JP H11205739 A JPH11205739 A JP H11205739A JP 10003433 A JP10003433 A JP 10003433A JP 343398 A JP343398 A JP 343398A JP H11205739 A JPH11205739 A JP H11205739A
Authority
JP
Japan
Prior art keywords
image
memory
decoded
reproduction
order
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.)
Granted
Application number
JP10003433A
Other languages
Japanese (ja)
Other versions
JP3860319B2 (en
Inventor
Michihiro Fukushima
道弘 福島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP00343398A priority Critical patent/JP3860319B2/en
Publication of JPH11205739A publication Critical patent/JPH11205739A/en
Application granted granted Critical
Publication of JP3860319B2 publication Critical patent/JP3860319B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To reproduce coded moving images smoothly in the reverse direction. SOLUTION: A write control section 21 writes an image decoded in a forward direction to an area of a memory 17 assigned by an area assignment section 29. A reproduction sequence storage section 31 for the memory 17 stores a reproduction sequence of pluralities of images stored in the memory 17. In the case of reproducing the image in a reverse direction, a read control section 25 reads a decoded image stored in the memory 17 according to the reverse sequence stored in the reproduction sequence storage section 31. In the case that there is no idle area to be assigned by the area assignment section 29, a thinning control section 27 thin the decoded image or the displayed image stored in the memory 17 and overwrites the result on the image stored in the memory 17 to thin the image.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、DVD等のディス
ク媒体や、磁気テープ等に記録されている符号化画像デ
ータを再生する画像再生方法および画像再生装置に関す
るものであり、特に逆方向再生を滑らかに行える画像再
生方法および装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an image reproducing method and an image reproducing apparatus for reproducing encoded image data recorded on a disk medium such as a DVD or a magnetic tape or the like. The present invention relates to a method and apparatus for reproducing images smoothly.

【0002】[0002]

【従来の技術】従来、動画像信号を高能率符号化するた
めの要素技術として、入力画像の空間的相関性に基づい
て離散コサイン変換した係数を伝送することにより情報
量を圧縮する離散コサイン変換(DCT)、時間的相関
性に基づいて情報量を圧縮するフレーム間予測法、シン
ボル出現確率を考慮して符号語を割り当てる統計的情報
圧縮である可変長符号化等が知られている。これらの要
素技術を組み合わせた高度な画像圧縮符号化方式の一例
として、MPEG2方式と呼ばれる規格ISO/IEC
13818−2がある。
2. Description of the Related Art Conventionally, a discrete cosine transform for compressing an information amount by transmitting a coefficient subjected to a discrete cosine transform based on a spatial correlation of an input image has been known as an element technology for highly efficient coding of a moving image signal. (DCT), an inter-frame prediction method of compressing an information amount based on temporal correlation, and variable-length coding which is statistical information compression in which codewords are assigned in consideration of a symbol appearance probability are known. As an example of an advanced image compression encoding system combining these element technologies, a standard called MPEG2 standard ISO / IEC
13818-2.

【0003】このMPEG2方式においては、8×8画
素のブロックに分割された画像をDCT変換してピクチ
ャ内符号化した「Iピクチャ」、「Iピクチャ」に基づ
いてフレーム間予測した誤差を伝送することにより時間
的情報量の削減を行う順方向予測画像である「Pピクチ
ャ」、IピクチャまたはPピクチャから中間の画像を予
測する双方向予測画像である「Bピクチャ」が利用され
る。
In the MPEG2 system, an image divided into blocks of 8 × 8 pixels is DCT-transformed and intra-picture coded “I picture”, and an error predicted between frames based on “I picture” is transmitted. Accordingly, a “P picture”, which is a forward prediction image for reducing the amount of temporal information, and a “B picture”, which is a bidirectional prediction image for predicting an intermediate image from an I picture or a P picture, are used.

【0004】以下、MPEG2方式の画像符号化・復号
化方式について説明する。
[0004] The image encoding / decoding system of the MPEG2 system will be described below.

【0005】まず、符号化側においては、原画像データ
から可変長符号化されたピクチャ情報と動きベクトルを
含む画像データを求め、これにヘッダ情報を付加するこ
とにより、圧縮画像データを生成する。
[0005] First, on the encoding side, compressed image data is generated by obtaining image data including picture information and a motion vector that have been subjected to variable-length encoding from original image data, and adding header information to the image data.

【0006】上記ヘッダ情報には、ピクチャ情報を可変
長符号化する際の量子化の単位を示す量子化ステップ情
報が含まれている。また、上記動きベクトル情報は、2
つのピクチャ間の被写体の動きを示したものである。
[0006] The header information includes quantization step information indicating a unit of quantization when variable-length coding of picture information is performed. The motion vector information is 2
This shows the movement of the subject between two pictures.

【0007】ここで、Iピクチャの符号化の場合には、
Iピクチャのみからピクチャ情報が求められるのに対し
て、Pピクチャの符号化の場合には、Pピクチャとその
前方参照画像であるIピクチャ又はPピクチャとの差分
を用いてピクチャ情報が求められ、またBピクチャの場
合には、Bピクチャとその前方参照画像及び後方参照画
像との差分を用いてピクチャ情報が求められる。
Here, in the case of encoding an I picture,
While picture information is obtained only from an I picture, in the case of encoding a P picture, picture information is obtained using a difference between the P picture and an I picture or P picture that is a forward reference image thereof, In the case of a B picture, picture information is obtained using the difference between the B picture and its forward reference image and backward reference image.

【0008】そこで、Bピクチャは通常2つ連続する
が、Bピクチャを復号する際にはその前後のIピクチャ
又はPピクチャを必要とするため、エンコード側におい
て、Bピクチャから見て時間的に後にあるピクチャを先
にIピクチャ又はPピクチャとして符号化して出力する
必要がある。したがって、双方向予測符号化を行う場合
には、ピクチャ間の時間的順序が入れ替わって符号化さ
れる。
Therefore, two B-pictures are usually continuous, but when decoding a B-picture, the preceding or succeeding I-picture or P-picture is required. It is necessary to encode and output a certain picture as an I picture or a P picture first. Therefore, when bidirectional predictive encoding is performed, encoding is performed with the temporal order between pictures interchanged.

【0009】また、MPEG方式においては、図6に示
すようなグループオブピクチャ(以下、GOPと略す)
と呼ばれる複数のピクチャからなる単位が用いられる。
これは、動画像記憶媒体に対するランダムアクセスを実
現するためや放送チャンネル切換時に速やかに画像を表
示するために、アクセスのためのエントリー点を設ける
ために採用されたものである。このGOP内の構造は、
I、P及びBピクチャで任意に構成可能であるが、一般
的には、先頭にIピクチャを置き、その後に一定の周期
(IまたはPピクチャの周期をMで表示する)、例え
ば、3ピクチャでPピクチャを置き、その間にBピクチ
ャを挟む周期的な構造が用いられている。また、GOP
の長さも任意の長さが可能であるが、一般的には、10
〜15ピクチャ程度の長さ(N)が用いられている。
In the MPEG system, a group of pictures (hereinafter abbreviated as GOP) as shown in FIG.
A unit composed of a plurality of pictures called a picture is used.
This is adopted to provide an entry point for access in order to realize random access to a moving image storage medium or to promptly display an image when a broadcast channel is switched. The structure in this GOP is
Although it can be arbitrarily composed of I, P, and B pictures, in general, an I picture is placed at the beginning, and then a fixed period (the period of the I or P picture is indicated by M), for example, 3 pictures , A periodic structure is used in which a P picture is placed and a B picture is sandwiched between the P pictures. GOP
Any length is possible, but in general, 10
A length (N) of about 15 pictures is used.

【0010】また図6に示すように、MPEG等の動き
予測符号化された画像データを復号する際には、前方予
測参照画像と後方予測参照画像を保持するためのメモリ
を持ち、先に復号化した参照画像(Iピクチャ、Pピク
チャ)を用いて予測符号化された画像(Pピクチャ、B
ピクチャ)を復号化する。
As shown in FIG. 6, when decoding image data which has been subjected to motion prediction encoding such as MPEG, a memory for holding a forward prediction reference image and a backward prediction reference image is provided. Images (P pictures, B pictures) that are predictively coded using the transformed reference pictures (I pictures, P pictures).
Picture).

【0011】したがって、この動き予測符号化された画
像データを逆方向再生する際にも先に参照画像を復号す
る必要があるため、図7に示すようなGOP構造を持つ
符号化された画像信号を復号する際には、いくつもの参
照画像の復号を繰り返さないと復号画像を得ることがで
きない。
Therefore, even when the motion-predicted coded image data is reproduced in the backward direction, it is necessary to decode the reference image first, so that the coded image signal having the GOP structure as shown in FIG. Is decoded, a decoded image cannot be obtained unless decoding of a number of reference images is repeated.

【0012】たとえば、図7の例において、逆方向再生
の最初の画像であるP10を復号するためには、I1,
P4,P7が復号されていなければならず、P10を含
めて画像復号数が4となる。以下、B9、B8の各画像
復号数は1、P7は前方参照画像として保持されている
ので画像復号数は0、B6を復号する際には、再度I
1,P4を復号するために復号画像数は3となる。以下
省略するが、結局10枚の画像を逆方向に再生する場合
の復号回数は12回となる。
For example, in the example of FIG. 7, in order to decode P10 which is the first image of the reverse reproduction, I1,
P4 and P7 must be decoded, and the number of decoded images including P10 is four. Hereinafter, since the image decoding numbers of B9 and B8 are 1, P7 is held as a forward reference image, the image decoding number is 0, and when decoding B6,
The number of decoded images is 3 in order to decode 1 and P4. Although omitted below, the number of times of decoding when 10 images are reproduced in the reverse direction is 12 times.

【0013】このため特開平8-79687、特開平8-
79688号公報で開示されているように、符号化デー
タ中のIピクチャ(フレーム内符号化された画像)のみ
や、IピクチャとPピクチャ(前方予測を用いて符号化
された画像)のみを拾って、逆方向再生を行なってい
た。
For this reason, Japanese Patent Application Laid-Open Nos.
As disclosed in JP-A-79688, only I pictures (intra-frame encoded pictures) or only I pictures and P pictures (pictures encoded using forward prediction) in encoded data are picked up. And reverse playback was performed.

【0014】また、特開平9-55946号公報で開示
されている例では、復号化した画像をダウンサンプリン
グして画像データ量を削減して保持することで、通常の
復号に必要なメモリ量で、1GOP分の画像をメモリに
蓄え、逆順に読み出すことで逆方向再生を行っていた。
In the example disclosed in Japanese Patent Application Laid-Open No. 9-55946, the decoded image is down-sampled and the amount of image data is reduced and stored, thereby reducing the amount of memory required for normal decoding. 1GOP images are stored in a memory and read in reverse order to perform reverse reproduction.

【0015】[0015]

【発明が解決しようとする課題】しかしながら、上記従
来のIピクチャのみ又は Iピクチャ、Pピクチャを拾
って逆方向再生を行う場合、再生される画像はBピクチ
ャを含まない飛び飛びの画像であるため、動きがぎこち
ない逆再生画像になってしまうという問題点があった。
However, in the case of picking up only the conventional I-pictures or I-pictures and P-pictures and performing the backward reproduction, the reproduced picture is a skipped picture not including the B-picture. There has been a problem that the reverse reproduction image has awkward movement.

【0016】また、ダウンサンプルした画像を保持し、
逆順に読み出して逆方向再生する場合には、画質が劣化
する以外に、通常再生から逆再生に切り替えるために
は、モードを切り替えてから1GOP分の画像の復号化
を終えないと逆方向の再生画の出力ができないため、逆
方向再生の指示を受けてから画像が表示されるまでのレ
スポンスが悪いといった問題点があった。
Further, the down-sampled image is held,
When reading in reverse order and performing reverse playback, in addition to deteriorating the image quality, in order to switch from normal playback to reverse playback, the mode must be switched and then the decoding of one GOP worth of images must be completed before the reverse playback is performed. Since the image cannot be output, there is a problem that the response from receiving the instruction of the backward reproduction to displaying the image is poor.

【0017】以上の問題点に鑑み本発明の目的は、動き
の滑らかな逆方向再生画像を得ることができる画像再生
方法及び装置を提供することである。また本発明の目的
は、画質の劣化がない逆方向再生が行える画像再生方法
及び装置を提供することである。また本発明の目的は、
逆方向再生の指示を受けてから画像が表示されるまでの
時間を短縮したレスポンスの速い画像再生方法及び装置
を提供することである。
SUMMARY OF THE INVENTION In view of the above problems, an object of the present invention is to provide an image reproducing method and apparatus capable of obtaining a reverse reproduced image having a smooth motion. It is another object of the present invention to provide an image reproducing method and apparatus capable of performing reverse reproduction without deteriorating image quality. The object of the present invention is
An object of the present invention is to provide a fast-response image reproducing method and apparatus in which the time from when an instruction for reverse reproduction is received until an image is displayed is reduced.

【0018】[0018]

【課題を解決するための手段】上記目的を達成するため
に本発明は、符号化された動画像データを復号した復号
画像をメモリに書き込み、このメモリから前記復号画像
を読み出して動画像を出力する画像再生方法において、
順方向復号した複数の画像を前記メモリに保持し、この
メモリに保持された複数の順方向復号画像を逆順に読み
出して出力することにより動画像の逆方向再生を行うこ
とを要旨とする画像再生方法である。
SUMMARY OF THE INVENTION In order to achieve the above object, according to the present invention, a decoded image obtained by decoding encoded moving image data is written into a memory, and the decoded image is read from the memory to output a moving image. The image playback method
Image reproduction in which a plurality of forward-decoded images are stored in the memory, and a plurality of forward-decoded images stored in the memory are read out in reverse order and output to perform reverse reproduction of a moving image. Is the way.

【0019】また本発明は、符号化された動画像データ
を復号した復号画像をメモリに書き込み、このメモリか
ら前記復号画像を読み出して動画像を出力する画像再生
方法において、復号した画像を順方向再生により表示
後、表示済みの複数画像を前記メモリ内に保持してお
き、逆方向再生する際に前記メモリ内に保持されている
表示済みの複数画像を逆順に読み出して出力することに
より動画像の逆方向再生を行うことを要旨とする画像再
生方法である。
According to the present invention, there is provided an image reproducing method for writing a decoded image obtained by decoding encoded moving image data to a memory, reading the decoded image from the memory and outputting a moving image. After displaying by reproduction, a plurality of displayed images are held in the memory, and at the time of reverse reproduction, the displayed plurality of images stored in the memory are read out in reverse order and output to output a moving image. This is an image reproducing method whose main purpose is to perform reverse reproduction.

【0020】また本発明は、符号化された動画像データ
を復号する復号手段と、この復号手段で復号された復号
画像を保持するメモリと、このメモリに保持された復号
画像を読み出して動画像を出力する画像再生装置におい
て、順方向復号した画像を記憶すべき前記メモリ内の領
域を割り当てる領域割当手段と、前記メモリに保持され
た複数の画像の再生順序を記憶する再生順序記憶手段
と、前記メモリから画像再生のための読出しを制御する
読出し制御手段とを有し、逆方向再生する際には、前記
再生順序記憶手段が記憶する順序の逆順に従って前記読
出し制御手段が前記メモリ内に保持されている復号画像
を読出すことを要旨とする画像再生装置である。
The present invention also provides decoding means for decoding encoded moving image data, a memory for holding the decoded image decoded by the decoding means, and a method for reading out the decoded image held in the memory to read the moving image. In an image reproducing apparatus that outputs a region, an area allocating unit that allocates an area in the memory in which a forward decoded image is to be stored, and a reproducing order storing unit that stores a reproducing order of a plurality of images held in the memory. Read control means for controlling reading from the memory for image reproduction, and when performing reverse reproduction, the read control means holds the data in the memory in a reverse order of the order stored by the reproduction order storage means. An image reproducing apparatus has a gist of reading a decoded image that has been read.

【0021】また本発明は、符号化された動画像データ
を復号する復号手段と、この復号手段で復号された復号
画像を保持するメモリと、このメモリに保持された復号
画像を読み出して動画像を出力する画像再生装置におい
て、直近の順方向再生済みの画像を保持可能なように順
方向復号した複数の画像を記憶すべき前記メモリ内の領
域を割り当てる領域割当手段と、前記メモリに保持され
た複数の画像の再生順序を記憶する再生順序記憶手段
と、前記メモリから画像再生のための読出しを制御する
読出し制御手段とを有し、逆方向再生する際には、前記
再生順序記憶手段が記憶する順序の逆順に従って前記読
出し制御手段が前記メモリ内に保持されている再生済み
画像を含む複数の画像を読出すことを要旨とする画像再
生装置である。
The present invention also provides decoding means for decoding encoded moving image data, a memory for holding the decoded image decoded by the decoding means, and a method for reading the decoded image held in the memory to read the moving image. In an image reproducing apparatus that outputs the image, an area allocating unit that allocates an area in the memory in which a plurality of forward decoded images are to be stored so as to be able to hold the most recently reproduced image in the forward direction, Playback order storage means for storing the playback order of the plurality of images, and readout control means for controlling readout for image playback from the memory, and when performing reverse playback, the playback order storage means An image reproducing apparatus, wherein the read control unit reads a plurality of images including a reproduced image held in the memory in a reverse order of storage order.

【0022】[0022]

【発明の実施の形態】次に図面を参照して、本発明の実
施の形態を詳細に説明する。図1は、本発明に係る画像
再生装置の実施形態を示すブロック図であり、MPEG
を用いて符号化された画像データを再生する場合を例に
説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of an image reproducing apparatus according to the present invention.
An example in which image data encoded using is reproduced will be described.

【0023】図1において、画像再生装置1は、符号化
された画像データが入力される入力バッファ3、可変長
符号化された量子化変換係数を復号する可変長復号部
5、量子化ステップ情報に基づいて量子化変換係数を逆
量子化する逆量子化部7、逆離散コサイン変換によりフ
レーム内符号化画像を復号する逆DCT部9、前方参照
画像及、後方参照画像及び動きベクトル情報を用いてフ
レーム間予測符号化された画像の復号を行う動き補償部
11、出力I/F部13、メモリI/F部15、複数フ
レームの記憶容量を有するメモリ17を備えている。
In FIG. 1, an image reproducing apparatus 1 includes an input buffer 3 into which coded image data is input, a variable length decoding unit 5 for decoding variable length coded quantized transform coefficients, and quantization step information. , An inverse DCT unit 9 for decoding an intra-frame encoded image by inverse discrete cosine transform, a forward reference image, a backward reference image, and motion vector information. A motion compensating unit 11 for decoding an image subjected to inter-frame predictive coding, an output I / F unit 13, a memory I / F unit 15, and a memory 17 having a storage capacity for a plurality of frames.

【0024】メモリI/F部15は、書込み制御部2
1、順方向/逆方向再生制御部23、読出し制御部2
5、間引き制御部27、領域割当部29、再生順序記憶
部31を備えていて、メモリ17と動き補償部11及び
出力I/F部13とのインタフェース制御を行う。
The memory I / F unit 15 includes the write control unit 2
1, forward / reverse reproduction control unit 23, read control unit 2
5, a thinning control unit 27, an area allocating unit 29, and a reproduction order storage unit 31 for controlling the interface between the memory 17, the motion compensation unit 11, and the output I / F unit 13.

【0025】メモリI/F部15の書込制御部21は、
後述される領域割当部29が割り当てたメモリ17の記
憶領域に画像を書き込む。順方向/逆方向再生制御部2
3は、動画像の順方向再生、スロー再生、逆方向再生、
ストップモーション等の通常再生及びトリックプレイの
全体制御を行う。
The write control unit 21 of the memory I / F unit 15
The image is written in the storage area of the memory 17 allocated by the area allocating unit 29 described later. Forward / reverse playback controller 2
3 is forward playback, slow playback, reverse playback,
It performs overall control of normal playback such as stop motion and trick play.

【0026】読出し制御部25は、順方向再生画像の読
出し、逆方向再生画像の読出し、動き補償部11が参照
する前方参照画像及び後方参照画像の読出しを制御す
る。領域割当部29は、復号画像を書き込むべきメモリ
17の領域割当て、及びメモリ17に保持すべき表示済
みの画像の制御を行う。
The read control unit 25 controls reading of a forward reproduced image, reading of a backward reproduced image, and reading of a forward reference image and a backward reference image referred to by the motion compensation unit 11. The area allocating unit 29 performs area allocation of the memory 17 in which the decoded image is to be written, and controls a displayed image to be stored in the memory 17.

【0027】間引き制御部27は、領域割当部29が割
り当てるべき空き領域が無くなったとき、いずれの画像
を間引くかを判断し、領域割当部29に指示する。再生
順序記憶部31は、順方向復号化された複数の画像の順
方向再生順序を記憶するものである。
When there is no more free area to be allocated by the area allocating section 29, the thinning control section 27 determines which image is to be thinned and instructs the area allocating section 29. The reproduction order storage unit 31 stores a forward reproduction order of a plurality of images decoded in the forward direction.

【0028】外部のDVDプレーヤなどのディスク装
置、VTR、VOD等から入力される符号化された画像
データは、入力バッファ3、可変長復号部5、逆量子化
部7、逆DCT部9、動き補償部11、メモリI/F1
5を用いてメモリ17上で復号化され、出力I/F13
を介して復号画像がディスプレイ装置等へ出力される。
Encoded image data input from a disk device such as an external DVD player, a VTR, a VOD, etc. is input to an input buffer 3, a variable length decoding unit 5, an inverse quantization unit 7, an inverse DCT unit 9, Compensation unit 11, memory I / F1
5 is decoded on the memory 17 using the output I / F 13
The decoded image is output to a display device or the like via the.

【0029】図2は、図1の画像再生装置1の動作を説
明する画像再生ダイヤグラムであり、1GOP当たり4
フレームで構成されている例を示している。図2(a)
は、順方向再生の例を示し、X,X+1,X+2,X+
3,X+4の各GOPは、それぞれ1枚のIピクチャ、
1枚のPピクチャ及び2枚のBピクチャからなるものと
する。
FIG. 2 is an image reproduction diagram for explaining the operation of the image reproduction apparatus 1 of FIG.
The example which is comprised by the frame is shown. FIG. 2 (a)
Indicates an example of forward reproduction, and X, X + 1, X + 2, X +
Each GOP of 3, X + 4 is one I picture,
It is assumed that one P picture and two B pictures are included.

【0030】それぞれのGOPは、GOP内の画像が他
のGOPから独立再生可能なクローズドGOPであり、
それぞれIピクチャ、Pピクチャ、Bピクチャ、Bピク
チャの順で記憶媒体から読み出されるが、順方向再生順
はIピクチャ、Bピクチャ、Bピクチャ、Pピクチャの
順である。
Each GOP is a closed GOP in which images in the GOP can be reproduced independently from other GOPs.
The data is read from the storage medium in the order of an I picture, a P picture, a B picture, and a B picture. The forward reproduction order is an I picture, a B picture, a B picture, and a P picture.

【0031】従来の画像再生装置における逆方向再生で
は、例えば図2(b)に示すように、各GOPからIピ
クチャのみを取り出し、それぞれのGOPの表示期間だ
け同じIピクチャを繰り返し表示していたので、動きが
不連続な逆再生画像となっていた。
In reverse reproduction in a conventional image reproducing apparatus, for example, as shown in FIG. 2B, only I pictures are extracted from each GOP, and the same I picture is repeatedly displayed for the display period of each GOP. Therefore, the reverse reproduction image has a discontinuous motion.

【0032】図2で示される符号化画像データを逆方向
に再生する場合、符号化画像データは動き補償予測を用
いて符号化されているため、GOP単位で逆方向に読み
出すことはできるが、GOP内での復号化の順番を変え
ることはできない。
When the coded image data shown in FIG. 2 is reproduced in the reverse direction, the coded image data is coded using motion compensation prediction, so that it can be read in the GOP unit in the reverse direction. The order of decoding within a GOP cannot be changed.

【0033】そこで本発明では、図1における領域割当
部29が表示を終えたメモリ17の画像領域を、順次、
復号化画像格納領域として再割り当てるように動作し
(図2参照)、復号化を終えた画像をメモリ17内に保
持し、再生順序記憶部31に記憶した順方向再生順の逆
順に従って、読出し制御部25が読み出すことで逆方向
再生を行う。
Therefore, in the present invention, the image areas of the memory 17 which have been displayed by the area allocating section 29 in FIG.
It operates so as to be re-allocated as a decoded image storage area (see FIG. 2), holds the decoded image in the memory 17, and controls the readout according to the reverse of the forward reproduction order stored in the reproduction order storage unit 31. The reading is performed by the unit 25 to perform reverse reproduction.

【0034】ここで図2の例の場合、メモリ17の容量
としては、4フレーム分が必要となっているが、この中
に復号化の際に前方参照画像及び後方参照画像を保持す
る参照メモリの分が含まれていることに注意されたい。
Here, in the case of the example of FIG. 2, the capacity of the memory 17 needs to be four frames, and the reference memory for holding the forward reference image and the backward reference image at the time of decoding. Note that a minute is included.

【0035】また、順方向再生する場合、領域割当部2
9は、図3に示すように、表示を終えた画像領域を直ち
に復号化画像格納領域として再割り当てするのではな
く、表示終了が古い順に再割り当てするように動作す
る。このようにメモリ17の領域を割り当てることで、
順方向再生から逆方向再生モードに切り替わった際に、
メモリ内に保持されている表示済み画像を逆順に再表示
することができるため、途切れなく逆方向再生画像を出
力することができる。
For forward reproduction, the area allocating unit 2
3, as shown in FIG. 3, the image area whose display has been completed is not immediately reallocated as the decoded image storage area, but is reallocated in the order from the oldest display end. By allocating the area of the memory 17 in this way,
When switching from forward playback to reverse playback mode,
Since the displayed images held in the memory can be displayed again in the reverse order, it is possible to output the reverse reproduction image without interruption.

【0036】また逆方向再生画像を表示する場合、GO
Pの先頭から復号化を行い、逆順に読み出す必要がある
ため、順方向再生モードから逆方向再生モードに変わっ
ても直ちに逆方向再生モードで復号化した画像を表示す
ることができないが、順方向再生モードで復号化、表示
し終えた画像をメモリ17に保持しておくことで、逆方
向再生モードに切り替わってから逆方向再生画像が出力
されるまでのタイムラグを吸収することができる。
When displaying the reverse reproduction image, GO
Since it is necessary to perform decoding from the beginning of P and read in reverse order, even if the mode is changed from the forward playback mode to the backward playback mode, the image decoded in the reverse playback mode cannot be displayed immediately. By holding the image decoded and displayed in the reproduction mode in the memory 17, the time lag from the switching to the reverse reproduction mode to the output of the reverse reproduction image can be absorbed.

【0037】ここで、1GOP内の画像フレーム数が多
く、復号化した画像を保持するためのメモリ量が足らな
い場合、図4(a)に示すように、足らなくなった分の
復号画像をメモリ17に書き込まないように間引き制御
部27から書込み制御部21へ指示する、もしくは図5
に示すように保持している画像を上書きするように間引
き制御部27から領域割当部29に指示する。この場
合、逆方向再生する際にはメモリ17の容量が許す限り
滑らかな逆方向再生が行われることになる。
Here, if the number of image frames in one GOP is large and the amount of memory for holding the decoded image is not enough, as shown in FIG. 5 from the thinning control unit 27 to the writing control unit 21 so as not to write the data into
As shown in (1), the thinning control unit 27 instructs the area allocation unit 29 to overwrite the held image. In this case, when performing reverse playback, smooth reverse playback is performed as long as the capacity of the memory 17 permits.

【0038】また、あらかじめ1GOP内のフレーム数
が分かっている場合には、図4(b)に示すように、メ
モリ17に書き込む復号化画像をサンプリングして保持
することで、逆方向再生する際に、ぎこちなく再生され
ることを軽減することができる。
When the number of frames in one GOP is known in advance, as shown in FIG. 4B, the decoded image to be written in the memory 17 is sampled and held, so that the reproduced image is reproduced in the reverse direction. In addition, it is possible to reduce awkward reproduction.

【0039】なお、本実施の形態では説明の簡単化のた
めに、各GOPは、GOP内の画像が他のGOPから独
立再生可能なクローズドGOPであるとして、GOPの
先頭にIピクチャが配置される例を説明したが、クロー
ズドGOP以外のGOP構成を有する動画像にも適用す
ることができる。
In this embodiment, for simplicity of description, each GOP is assumed to be a closed GOP in which an image in a GOP can be reproduced independently from another GOP, and an I picture is arranged at the head of the GOP. Although the above example has been described, the present invention can be applied to a moving image having a GOP configuration other than the closed GOP.

【0040】この場合の逆再生時の復号化及び表示法と
しては、各GOP内のIピクチャに先行して伝送される
Bピクチャ、Pピクチャはデコードぜずに、代わりの画
像(Iピクチャ)を表示するか、或いは、時系列的な一
つ前のGOP(n−1)を先取りして、このGOP(n
−1)のIピクチャ、Pピクチャを復号化し、この復号
化された画像を前方参照画像として、GOP(n)の先
頭部のBピクチャ又はPピクチャを復号化すればよい。
As a decoding and display method at the time of reverse reproduction in this case, a B picture and a P picture transmitted prior to an I picture in each GOP are not decoded, and a substitute picture (I picture) is decoded. The GOP (n-1) is displayed, or the previous GOP (n-1) in chronological order is preempted and this GOP (n
It is sufficient to decode the I picture and P picture of -1) and decode the B picture or P picture at the head of GOP (n) using the decoded image as a forward reference image.

【0041】また本発明の応用例として、MP@HLの
MPEG2デコーダを用いてMP@MLの符号化画像デ
ータを復号化する場合には、HL用として設けられたデ
コードメモリの容量が余るので、追加的なメモリを必要
とすることなく、この余ったデコードメモリを用いて1
5フレーム程度のML画像をメモリに保持することがで
きるので、滑らかな逆方向再生、及びレスポンスの速い
逆方向再生を実現することができる。
As an application example of the present invention, when the MP @ ML MPEG2 decoder is used to decode the MP @ ML encoded image data, the decoding memory provided for the HL has an extra capacity. Using this extra decode memory, without the need for additional memory,
Since an ML image of about 5 frames can be held in the memory, smooth reverse reproduction and fast response reverse reproduction can be realized.

【0042】[0042]

【発明の効果】以上説明したように本発明によれば、動
きの滑らかな逆方向再生画像を得ることができる画像再
生方法及び装置を提供することができる。また本発明に
よれば、画質の劣化がない逆方向再生が行える画像再生
方法及び装置を提供することができる。また本発明によ
れば、逆方向再生の指示を受けてから画像が表示される
までの時間を短縮したレスポンスの速い画像再生方法及
び装置を提供することができる。
As described above, according to the present invention, it is possible to provide an image reproducing method and apparatus capable of obtaining a reversely reproduced image having a smooth motion. Further, according to the present invention, it is possible to provide an image reproducing method and apparatus capable of performing reverse reproduction without deteriorating image quality. Further, according to the present invention, it is possible to provide a fast-response image reproducing method and apparatus in which the time from when a reverse reproduction instruction is received to when an image is displayed is reduced.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明に係る画像再生装置の実施形態を示すブ
ロック図である。
FIG. 1 is a block diagram showing an embodiment of an image reproducing apparatus according to the present invention.

【図2】実施形態における逆方向再生を行う際のメモリ
の動的領域割当を説明する図である。
FIG. 2 is a diagram illustrating dynamic area allocation of a memory when performing reverse reproduction according to the embodiment.

【図3】順方向再生から逆方向再生に移行する際のメモ
リの動的割当を説明する図である。
FIG. 3 is a diagram illustrating dynamic allocation of memory when shifting from forward reproduction to reverse reproduction.

【図4】実施形態における復号化画像をメモリに保持す
る際に間引きを行う方法を説明する図である。
FIG. 4 is a diagram illustrating a method of thinning out a decoded image according to the embodiment when storing the decoded image in a memory.

【図5】実施形態における復号化画像をメモリに保持す
る際に上書きを行う方法を説明する図である。
FIG. 5 is a diagram illustrating a method of performing overwriting when a decoded image is stored in a memory according to the embodiment.

【図6】MPEGにおける画像の符号化、復号化の順番
を示す図である。
FIG. 6 is a diagram showing the order of encoding and decoding of an image in MPEG.

【図7】従来の画像再生装置における画像単位でGOP
内の逆方向再生をする場合の手順を示す図である。
FIG. 7 shows a GOP for each image in a conventional image reproducing apparatus.
It is a figure which shows the procedure at the time of performing the reverse reproduction | regeneration within.

【符号の説明】[Explanation of symbols]

1…画像再生装置、3…入力バッファ、5…可変長復号
部、7…逆量子化部、9…逆DCT部、11…動き補償
部、13…出力I/F部、15…メモリI/F部、17
…メモリ、21…書込み制御部、23…順方向/逆方向
再生制御部、25…読出し制御部、27…間引き制御
部、29…領域割当部、31…再生順序記憶部。
DESCRIPTION OF SYMBOLS 1 ... Image reproduction apparatus, 3 ... Input buffer, 5 ... Variable length decoding part, 7 ... Inverse quantization part, 9 ... Inverse DCT part, 11 ... Motion compensation part, 13 ... Output I / F part, 15 ... Memory I / Part F, 17
.., Memory 21, write controller 23, forward / reverse playback controller 25, read controller 27, thinning controller 29, area allocator 31, playback order storage

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 符号化された動画像データを復号した復
号画像をメモリに書き込み、このメモリから前記復号画
像を読み出して動画像を出力する画像再生方法におい
て、 順方向復号した複数の画像を前記メモリに保持し、この
メモリに保持された複数の順方向復号画像を逆順に読み
出して出力することにより動画像の逆方向再生を行うこ
とを特徴とする画像再生方法。
1. An image reproducing method for writing a decoded image obtained by decoding encoded moving image data to a memory, reading the decoded image from the memory and outputting a moving image, comprising the steps of: An image reproducing method, comprising: performing reverse reproduction of a moving image by storing the plurality of forward-decoded images stored in the memory in a reverse order and storing the same in a memory;
【請求項2】 符号化された動画像データを復号した復
号画像をメモリに書き込み、このメモリから前記復号画
像を読み出して動画像を出力する画像再生方法におい
て、 復号した画像を順方向再生により表示後、表示済みの複
数画像を前記メモリ内に保持しておき、逆方向再生する
際に前記メモリ内に保持されている表示済みの複数画像
を逆順に読み出して出力することにより動画像の逆方向
再生を行うことを特徴とする画像再生方法。
2. An image reproducing method for writing a decoded image obtained by decoding encoded moving image data to a memory, reading the decoded image from the memory and outputting a moving image, wherein the decoded image is displayed by forward reproduction. Thereafter, the displayed plurality of images are held in the memory, and when the image is played in the backward direction, the displayed plurality of images held in the memory are read out in reverse order and output to output the moving image in the reverse direction. An image reproducing method characterized by performing reproduction.
【請求項3】 順方向復号した画像を前記メモリに書込
み又は表示済みの画像を前記メモリに保持する際に、画
像の間引きを行うことを特徴とする請求項1又は請求項
2記載の画像再生方法。
3. The image reproduction according to claim 1, wherein when the forward-decoded image is written to the memory or the displayed image is held in the memory, the image is decimated. Method.
【請求項4】 順方向復号した画像を前記メモリに書込
み又は表示済みの画像を前記メモリに保持する際に、こ
のメモリに空き領域が無ければ、既に前記メモリに保持
されている画像に上書きをして画像の間引きを行うこと
を特徴とする請求項1乃至請求項3のいずれか1項記載
の画像再生方法。
4. When writing a forward-decoded image in the memory or holding a displayed image in the memory, if there is no free space in the memory, the image already stored in the memory is overwritten. 4. The image reproducing method according to claim 1, wherein the image is decimated by performing image thinning.
【請求項5】 符号化された動画像データを復号する復
号手段と、この復号手段で復号された復号画像を保持す
るメモリと、このメモリに保持された復号画像を読み出
して動画像を出力する画像再生装置において、 順方向復号した画像を記憶すべき前記メモリ内の領域を
割り当てる領域割当手段と、 前記メモリに保持された複数の画像の再生順序を記憶す
る再生順序記憶手段と、 前記メモリから画像再生のための読出しを制御する読出
し制御手段とを有し、 逆方向再生する際には、前記再生順序記憶手段が記憶す
る順序の逆順に従って前記読出し制御手段が前記メモリ
内に保持されている復号画像を読出すことを特徴とする
画像再生装置。
5. A decoding means for decoding encoded moving image data, a memory for holding a decoded image decoded by the decoding means, and a decoded image held in the memory is read to output a moving image. In the image reproducing device, an area allocating unit that allocates an area in the memory in which the forward-decoded image is to be stored; a reproducing order storing unit that stores a reproducing order of a plurality of images stored in the memory; Read-out control means for controlling read-out for image reproduction, and when performing reverse reproduction, the read-out control means is held in the memory in reverse order of the order stored by the reproduction order storage means. An image reproducing apparatus for reading a decoded image.
【請求項6】 符号化された動画像データを復号する復
号手段と、この復号手段で復号された復号画像を保持す
るメモリと、このメモリに保持された復号画像を読み出
して動画像を出力する画像再生装置において、 直近の順方向再生済みの画像を保持可能なように順方向
復号した複数の画像を記憶すべき前記メモリ内の領域を
割り当てる領域割当手段と、 前記メモリに保持された複数の画像の再生順序を記憶す
る再生順序記憶手段と、 前記メモリから画像再生のための読出しを制御する読出
し制御手段とを有し、 逆方向再生する際には、前記再生順序記憶手段が記憶す
る順序の逆順に従って前記読出し制御手段が前記メモリ
内に保持されている再生済み画像を含む複数の画像を読
出すことを特徴とする画像再生装置。
6. A decoding means for decoding encoded moving image data, a memory for holding a decoded image decoded by the decoding means, and a decoded image held in the memory is read to output a moving image. In the image reproducing apparatus, an area allocating unit that allocates an area in the memory in which a plurality of forward-decoded images are to be stored so as to be able to hold the most recently reproduced image in the forward direction, and a plurality of areas held in the memory. A reproduction order storage unit that stores an image reproduction order; and a read control unit that controls reading from the memory for image reproduction. When the reproduction is performed in the reverse direction, the reproduction order storage unit stores the order. An image reproducing apparatus, wherein the read control unit reads a plurality of images including a reproduced image held in the memory in reverse order of the above.
【請求項7】 前記領域割当手段は、復号画像の前記メ
モリ内への保持を指示する際に、画像の間引きを行うこ
とを特徴とする請求項5又は請求項6記載の画像再生装
置。
7. The image reproducing apparatus according to claim 5, wherein the area allocating unit performs image thinning when instructing to hold the decoded image in the memory.
【請求項8】 前記領域割当手段は、復号画像の前記メ
モリ内への保持を指示する際に、このメモリに空き領域
がなければ、既に復号画像又は再生済み画像が保持され
ている領域に上書きをするように領域割当することを特
徴とする請求項5乃至請求項7のいずれか1項記載の画
像再生装置。
8. The area allocating means, when instructing the storage of the decoded image in the memory, if there is no free area in the memory, overwrites the area in which the decoded image or the reproduced image is already stored. 8. The image reproducing apparatus according to claim 5, wherein the area is allocated so as to perform the following.
JP00343398A 1998-01-09 1998-01-09 Image reproduction method and apparatus Expired - Fee Related JP3860319B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP00343398A JP3860319B2 (en) 1998-01-09 1998-01-09 Image reproduction method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP00343398A JP3860319B2 (en) 1998-01-09 1998-01-09 Image reproduction method and apparatus

Publications (2)

Publication Number Publication Date
JPH11205739A true JPH11205739A (en) 1999-07-30
JP3860319B2 JP3860319B2 (en) 2006-12-20

Family

ID=11557242

Family Applications (1)

Application Number Title Priority Date Filing Date
JP00343398A Expired - Fee Related JP3860319B2 (en) 1998-01-09 1998-01-09 Image reproduction method and apparatus

Country Status (1)

Country Link
JP (1) JP3860319B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002027409A (en) * 2000-05-19 2002-01-25 Thomson Multimedia Sa Method and equipment for decoding video stream with trick mode
JP2007158901A (en) * 2005-12-07 2007-06-21 Samsung Electronics Co Ltd Image processing apparatus and computer program
US7627232B2 (en) 2004-10-26 2009-12-01 Sony Corporation Reproduction apparatus, data processing system, reproduction method, program, and storage medium
US8300702B2 (en) 2006-03-01 2012-10-30 Sony Corporation Data processing apparatus, data processing method, data processing program, data structure, recording medium, reproducing apparatus, reproducing method, and reproducing program
US8315501B2 (en) 2006-03-01 2012-11-20 Sony Corporation Reproduction apparatus and reproduction method
US8630524B2 (en) 2006-03-01 2014-01-14 Sony Corporation Reproduction apparatus and reproduction method controlling determination of a next clip to be reproduced

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002027409A (en) * 2000-05-19 2002-01-25 Thomson Multimedia Sa Method and equipment for decoding video stream with trick mode
US7627232B2 (en) 2004-10-26 2009-12-01 Sony Corporation Reproduction apparatus, data processing system, reproduction method, program, and storage medium
JP2007158901A (en) * 2005-12-07 2007-06-21 Samsung Electronics Co Ltd Image processing apparatus and computer program
US8300702B2 (en) 2006-03-01 2012-10-30 Sony Corporation Data processing apparatus, data processing method, data processing program, data structure, recording medium, reproducing apparatus, reproducing method, and reproducing program
US8315501B2 (en) 2006-03-01 2012-11-20 Sony Corporation Reproduction apparatus and reproduction method
US8630524B2 (en) 2006-03-01 2014-01-14 Sony Corporation Reproduction apparatus and reproduction method controlling determination of a next clip to be reproduced

Also Published As

Publication number Publication date
JP3860319B2 (en) 2006-12-20

Similar Documents

Publication Publication Date Title
US5799129A (en) Method and apparatus for reproducing coded data in which the coded data is decoded in reverse order of display
JPH0837640A (en) Image data editing device
JPH08140042A (en) Reproducing device and recording and reproducing device for picture data
JPH09200695A (en) Method and device for decoding video data for high-speed reproduction
US20030099293A1 (en) Image reproducing method, and image processing method, and image reproducing device, image processing device, and television receiver capable of using the methods
JP3496604B2 (en) Compressed image data reproducing apparatus and compressed image data reproducing method
JP3034173B2 (en) Image signal processing device
JPH08154230A (en) Method for storing moving image coded data on medium
JP3860319B2 (en) Image reproduction method and apparatus
JP2000217109A (en) Dynamic image reproducing device and reproducing method
US6128340A (en) Decoder system with 2.53 frame display buffer
JP3922490B2 (en) Video signal re-encoding device and method and video signal recording and re-encoding device and method
JP3056653B2 (en) Digital video decoding method and apparatus
JP2823809B2 (en) Image decoding method and image decoding device
JP3248366B2 (en) Data reproducing method and data reproducing apparatus
JPH11155129A (en) Mpeg picture reproduction device and mpeg picture reproducing method
JP3657855B2 (en) Image decoding apparatus and image decoding method
JPH08149410A (en) Image recording and reproducing device
KR100252810B1 (en) Mpeg decoder
JP3594017B2 (en) Bitstream transmission method and transmission system
JPH10257422A (en) Image recording and reproducing device
JP2002218396A (en) Information playback apparatus, information playback method, recording medium and program
JPH0898142A (en) Picture reproduction device
JPH08163575A (en) Method and device for decoding picture
JPH08130715A (en) Picture reproducing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040625

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060607

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060627

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060811

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060921

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

Free format text: PAYMENT UNTIL: 20090929

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100929

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees