JP2010041353A - Moving image decoding method, decoding device and decoding program - Google Patents
Moving image decoding method, decoding device and decoding program Download PDFInfo
- Publication number
- JP2010041353A JP2010041353A JP2008201456A JP2008201456A JP2010041353A JP 2010041353 A JP2010041353 A JP 2010041353A JP 2008201456 A JP2008201456 A JP 2008201456A JP 2008201456 A JP2008201456 A JP 2008201456A JP 2010041353 A JP2010041353 A JP 2010041353A
- Authority
- JP
- Japan
- Prior art keywords
- picture
- decoding
- dpb
- decoded
- random access
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は動画像復号化方法、復号化装置及び復号化プログラムに係り、特に動画像の動き補償予測に用いる復号画像メモリ(DPB:Decoded Picture Buffer)を制御する機能を持つ動画像復号化方法、復号化装置及び復号化プログラムに関する。 The present invention relates to a moving picture decoding method, a decoding apparatus, and a decoding program, and in particular, a moving picture decoding method having a function of controlling a decoded picture memory (DPB: Decoded Picture Buffer) used for motion compensation prediction of a moving picture, The present invention relates to a decoding device and a decoding program.
MPEG(Moving Picture Experts Group)に代表される動画像の圧縮符号化では、一枚の画面を構成するフレーム画像又はフィールド画像であるピクチャ内の近傍画素間の相関やピクチャ間の相関を利用して符号量を圧縮する方式が用いられる。ピクチャ内の近傍画素間の相関による冗長度は、離散コサイン変換(DCT:Discrete Cosine Transform)に代表される直交変換を行うことにより削減できる。ピクチャ間の相関による冗長度は、動き補償予測を行うことにより削減できる。 In moving picture compression coding represented by MPEG (Moving Picture Experts Group), a correlation between neighboring pixels in a picture that is a frame image or a field image constituting one screen or a correlation between pictures is used. A method of compressing the code amount is used. Redundancy due to correlation between neighboring pixels in a picture can be reduced by performing orthogonal transformation represented by Discrete Cosine Transform (DCT). Redundancy due to correlation between pictures can be reduced by performing motion compensation prediction.
ピクチャ間の相関を利用した動き補償予測では、現ピクチャより以前に復号化された参照画像を用いてピクチャ間で予測を行う。具体的には、図11に示すように、DPB(Decoded Picture Buffer)と呼ばれる復号画像メモリ11に格納されている参照画像を用いて動き補償予測を行う。図11の例では、符号化対象ピクチャ12の予め設定された複数画素からなる矩形領域であるブロック13の動き補償予測の際に、DPB11に格納されている複数の参照画像のうちピクチャ1のブロックが用いられることを示している。
In motion compensated prediction using correlation between pictures, prediction is performed between pictures using a reference image decoded before the current picture. Specifically, as shown in FIG. 11, motion compensation prediction is performed using a reference image stored in a decoded
また、DPBは参照画像の蓄積だけでなく、ピクチャの出力順序を制御する目的にも使用される。具体的には、図12に示す例のように、同図(B)に示す数字の順で符号化/復号化される各ピクチャが矢印で示す時間順で表示される場合、ピクチャの符号化/復号化順がピクチャの表示順と同一でないため、各ピクチャを動画像として再生するためには、表示時間より前に符号化/復号化したピクチャをピクチャの表示時間が来るまで、同図(A)に示すようにDPB14に一時待機させる。 DPB is used not only for storing reference images but also for controlling the output order of pictures. Specifically, as in the example shown in FIG. 12, when the pictures encoded / decoded in the numerical order shown in FIG. 12B are displayed in the time order indicated by the arrows, the pictures are encoded. Since the decoding / decoding order is not the same as the picture display order, in order to reproduce each picture as a moving picture, the picture encoded / decoded before the display time is displayed until the picture display time is reached. As shown in A), the DPB 14 is temporarily held.
このように、DPBは参照画像の蓄積、出力画像の待機という目的で使用される。しかし、ピクチャの画素値データを格納するDPBは、非常に大きなメモリ量が必要となり、メモリ量が大きなメモリは極めて高価であるため、低価格化が要求される民生用機器の動画像符号化装置や動画像復号化装置では、DPBのメモリ量には制約がある。このため、動画像符号化側では、DPBに蓄積するピクチャが所定の枚数を超えないように制御してビットストリームを生成する必要がある。 Thus, the DPB is used for the purpose of accumulating reference images and waiting for output images. However, a DPB for storing picture pixel value data requires a very large amount of memory, and a memory with a large amount of memory is extremely expensive. In addition, in a video decoding device, there is a restriction on the amount of DPB memory. For this reason, on the moving image encoding side, it is necessary to generate a bitstream by controlling so that the number of pictures stored in the DPB does not exceed a predetermined number.
そこで、MPEG−4、AVCなどの符号化方式では、DPBに蓄積するピクチャの枚数が制限された条件化で符号化効率を最大限に発揮するために、DPBを詳細に制御することを可能にしている。DPBを詳細に制御することで、最も参照画像として適切なピクチャをDPB内に蓄積し、精度の高い動き補償予測を行うことができる。 Therefore, encoding methods such as MPEG-4 and AVC make it possible to control the DPB in detail in order to maximize the encoding efficiency under the condition that the number of pictures stored in the DPB is limited. ing. By controlling the DPB in detail, it is possible to accumulate the most suitable picture as the reference image in the DPB and perform highly accurate motion compensation prediction.
ところが、符号化された動画像信号の特定の位置(ランダムアクセスポイント)でランダムアクセスを保証するためには、ランダムアクセスポイントを挟んで動き補償予測を行わないように参照画像を制限するだけでなく、DPBを制御する信号にも制限を加えなければならない。 However, in order to guarantee random access at a specific position (random access point) of the encoded video signal, not only the reference image is limited so that motion compensation prediction is not performed across the random access point. The signal that controls the DPB must also be limited.
ランダムアクセスポイントでのランダムアクセスについて、図13を用いて説明する。図13において、5枚のピクチャ0〜4がグループAを構成しており、続いて表示される5枚のピクチャ5〜9がグループBを構成しており、更に、ピクチャ0とピクチャ5がランダムアクセスポイントであり、その他のピクチャはランダムアクセスポイントでないものとする。ここで、各ピクチャの番号はそのピクチャの復号化(デコード)順を示す。従って、図13は、各ピクチャの復号化順と表示順が同じである例を示している。また、グループは、復号化順でランダムアクセスポイントのピクチャから次のランダムアクセスポイントのピクチャの直前のピクチャまでをいう。
The random access at the random access point will be described with reference to FIG. In FIG. 13, five pictures 0 to 4 constitute group A, and subsequently displayed five
さて、ランダムアクセスを保証することは、ランダムアクセスポイントから復号処理を始めた時に、ランダムアクセスポイント以降のピクチャが正常に再生できることを意味する。これは、参照画像として適切なピクチャをDPB内に蓄積したい場合などに、ランダムアクセスポイントを挟んでDPBを制御するようなメモリ操作を行うと、ランダムアクセスポイントから復号化を始めた時に、メモリ操作の対象となるピクチャがDPB内に存在しないため、復号化に不具合が発生してしまうためである。 Now, guaranteeing random access means that pictures after the random access point can be normally reproduced when decoding processing is started from the random access point. This is because when an appropriate picture as a reference image is stored in the DPB, if a memory operation is performed to control the DPB across the random access point, the memory operation is performed when decoding is started from the random access point. This is because there is a problem in decoding because there is no target picture in the DPB.
このような復号化の不具合を防止するためには、図13のグループB内のピクチャでグループA内のピクチャを対象としたDPBのメモリ操作を実行するような操作はできない。つまり、ランダムアクセスポイントでのランダムアクセスを保証するためには、ランダムアクセスポイントを挟んでDPBを制御するようなメモリ操作を禁止する必要がある。そのため、従来は、ランダムアクセスポイントにIDRピクチャを用意し、IDRピクチャが再生された場合は、DPBを強制的にクリアすることで、IDRピクチャをまたがない限り、任意に離れたピクチャの符号化順を並び替えて符号化することが可能なようになされている。 In order to prevent such decoding problems, it is not possible to perform a DPB memory operation for a picture in group A for a picture in group B in FIG. That is, in order to guarantee random access at a random access point, it is necessary to prohibit memory operations such as controlling the DPB across the random access point. For this reason, conventionally, an IDR picture is prepared at a random access point, and when the IDR picture is reproduced, the DPB is forcibly cleared, so that an arbitrarily separated picture can be encoded unless it crosses the IDR picture. The encoding can be performed by rearranging the order.
しかし、このIDRピクチャの場所以外では、符号化されたストリーム編集ができないため、従来はピクチャの順が不連続であることを示す情報を符号化ストリームに付加すると共に、複数のピクチャより構成される所定の符号化単位における最初の画面内符号化ピクチャより表示順が後になるピクチャは、当該符号化単位に含むように符号化することで、DPBを初期化しなくてもランダムアクセス等の編集を可能とする方法が従来知られている(例えば、特許文献1参照)。 However, since the encoded stream cannot be edited outside the IDR picture location, conventionally, information indicating that the order of pictures is discontinuous is added to the encoded stream, and it is composed of a plurality of pictures. A picture whose display order is later than the first intra-picture coded picture in a given coding unit is coded so that it is included in the coding unit, so that editing such as random access is possible without initializing the DPB. Is known in the art (for example, see Patent Document 1).
しかしながら、特許文献1記載の従来の動画像符号化/復号化装置では、ランダムアクセスポイントを挟んでDPBを制御するようなメモリ操作を禁止するようなストリームを作成して復号しているため、ランダムアクセスポイントを挟んでDPB制御を行うことができず、その結果、参照画像として適切なピクチャをDPB内に参照画像として蓄積することができず、符号化効率が低下する。
However, in the conventional moving image encoding / decoding device described in
本発明は上記の点に鑑みなされたもので、ランダムアクセスポイントでのランダムアクセスを保証しつつ、ランダムアクセスポイントを挟んでDPB制御を行うことで、効率良く符号化された動画像符号化信号にランダムアクセスして復号化することができる動画像復号化方法、復号化装置及び復号化プログラムを提供することを目的とする。 The present invention has been made in view of the above points, and by performing DPB control across a random access point while guaranteeing random access at a random access point, an efficiently encoded moving image encoded signal can be obtained. It is an object of the present invention to provide a moving picture decoding method, a decoding apparatus, and a decoding program that can be decoded by random access.
上記の目的を達成するため、本発明の動画像復号化方法は、一枚の画像であるピクチャ単位での動画像信号の符号化において、符号化対象のピクチャと、第1の復号画像メモリから読み出した既に局部復号されたピクチャである参照画像とを用いた動き補償予測を行いエントロピー符号化して得られたピクチャ単位の符号化信号を備えたビットストリームであり、復号化時における再生表示順で一のピクチャ以降のピクチャを再生可能とする一のピクチャに設定されるランダムアクセスポイントのピクチャを符号化する時点での第1の復号画像メモリ内に蓄積されている各ピクチャの復号化順序を示す情報及び再生表示順を示す情報の内の少なくとも一方の情報を含む制御情報が、ランダムアクセスポイントのピクチャの符号化信号に付加されたビットストリームをエントロピー復号化するエントロピー復号化ステップと、エントロピー復号化ステップにより復号化された信号に対して、第2の復号画像メモリから読み出した既に復号されたピクチャを参照画像として用いた動き補償予測を行って動画像信号のピクチャを復号化すると共に、その復号化されたピクチャの内の参照画像となるピクチャを、そのピクチャの復号化順序を示す情報及び再生表示順を示す情報の内の少なくとも一方の情報と共に第2の復号画像メモリに記憶するピクチャ復号化ステップと、エントロピー復号化ステップにより復号化された信号から制御情報を検出する検出ステップと、制御情報が検出ステップで検出された時点の第2の復号画像メモリ内に記憶されている各ピクチャの復号化順序を示す情報及び再生表示順を示す情報の内の少なくとも一方の情報を、検出された制御情報が含む対応する情報に初期化する初期化ステップとを含むことを特徴とする。 In order to achieve the above object, a moving picture decoding method according to the present invention includes a picture to be coded and a first decoded picture memory in coding of a moving picture signal in units of pictures as one picture. This is a bitstream including a coded signal in units of pictures obtained by performing entropy coding by performing motion compensation prediction using a reference image that has already been read and is a locally decoded picture. The decoding order of each picture stored in the first decoded image memory at the time of encoding a picture at a random access point set to one picture enabling reproduction of a picture after one picture is shown Control information including at least one of information and information indicating the playback / display order is added to the encoded signal of the picture of the random access point. An entropy decoding step for entropy decoding the received bitstream, and motion compensation using the already decoded picture read from the second decoded image memory as a reference image for the signal decoded by the entropy decoding step A picture of a moving image signal is decoded by performing prediction, and a picture to be a reference image in the decoded picture is included in information indicating the decoding order of the picture and information indicating a reproduction display order. A picture decoding step stored in the second decoded image memory together with at least one information, a detection step for detecting control information from the signal decoded by the entropy decoding step, and a point in time when the control information is detected in the detection step Information indicating the decoding order of each picture stored in the second decoded image memory And at least one of information of the information indicating the reproduction display order, characterized in that it comprises an initialization step for initializing the corresponding information including the detected control information.
また、上記の目的を達成するため、本発明の動画像復号化装置は、一枚の画像であるピクチャ単位での動画像信号の符号化において、符号化対象のピクチャと、第1の復号画像メモリから読み出した既に局部復号されたピクチャである参照画像とを用いた動き補償予測を行いエントロピー符号化して得られたピクチャ単位の符号化信号を備えたビットストリームであり、復号化時における再生表示順で一のピクチャ以降のピクチャを再生可能とする一のピクチャに設定されるランダムアクセスポイントのピクチャを符号化する時点での第1の復号画像メモリ内に蓄積されている各ピクチャの復号化順序を示す情報及び再生表示順を示す情報の内の少なくとも一方の情報を含む制御情報が、ランダムアクセスポイントのピクチャの符号化信号に付加されたビットストリームをエントロピー復号化するエントロピー復号化手段と、復号化されたピクチャを記憶する第2の復号画像メモリと、エントロピー復号化手段により復号化された信号に対して、第2の復号画像メモリから読み出した既に復号されたピクチャを参照画像として用いた動き補償予測を行って動画像信号のピクチャを復号化すると共に、その復号化されたピクチャの内の参照画像となるピクチャを、そのピクチャの復号化順序を示す情報及び再生表示順を示す情報の内の少なくとも一方の情報と共に第2の復号画像メモリに記憶するピクチャ復号化手段と、エントロピー復号化手段により復号化された信号から制御情報を検出する検出手段と、制御情報が検出手段で検出された時点の第2の復号画像メモリ内に記憶されている各ピクチャの復号化順序を示す情報及び再生表示順を示す情報の内の少なくとも一方の情報を、検出された制御情報が含む対応する情報に初期化する初期化手段とを有することを特徴とする。 In order to achieve the above object, the moving picture decoding apparatus according to the present invention includes a picture to be coded and a first decoded picture in coding of a moving picture signal in units of pictures as one picture. It is a bitstream comprising a picture-unit coded signal obtained by entropy coding by performing motion compensation prediction using a reference picture that is a locally decoded picture read from a memory, and is reproduced and displayed at the time of decoding. Decoding order of each picture stored in the first decoded picture memory at the time of encoding a picture of a random access point set to one picture enabling reproduction of the picture after one picture in order Control information including at least one of the information indicating the display order and the information indicating the playback display order is included in the encoded signal of the picture of the random access point. Entropy decoding means for entropy decoding the added bitstream, a second decoded image memory for storing the decoded picture, and a second decoding for the signal decoded by the entropy decoding means A motion compensated prediction using the already decoded picture read from the image memory as a reference image is performed to decode a picture of the moving image signal, and a picture to be a reference image in the decoded picture is Control from the picture decoding means stored in the second decoded image memory together with at least one of the information indicating the picture decoding order and the information indicating the reproduction display order, and the signal decoded by the entropy decoding means Detecting means for detecting information and stored in the second decoded image memory at the time when the control information is detected by the detecting means; Initializing means for initializing at least one of the information indicating the decoding order of each picture and the information indicating the reproduction display order to the corresponding information included in the detected control information, To do.
更に、上記の目的を達成するため、本発明の動画像復号化プログラムは、第1の発明の動画像復号化方法の各ステップをコンピュータに実行させることを特徴とする。 Furthermore, in order to achieve the above object, a moving picture decoding program of the present invention causes a computer to execute each step of the moving picture decoding method of the first invention.
本発明によれば、復号化時における再生表示順で一のピクチャ以降のピクチャを再生可能とする一のピクチャに設定されるランダムアクセスポイントのピクチャを符号化する時点での第1の復号画像メモリ内に蓄積されている各ピクチャの復号化順序を示す情報及び再生表示順を示す情報の内の少なくとも一方の情報を含む制御情報が、ランダムアクセスポイントのピクチャの符号化信号に付加されたビットストリームをエントロピー復号化した信号から上記制御情報を検出し、検出した制御情報に基づいて、制御情報が含む対応する情報を初期化することにより、ランダムアクセスポイントでのランダムアクセスを保証しつつ、ランダムアクセスポイントを挟んでDPB制御を行うことができ、効率良く符号化された動画像符号化信号にランダムアクセスして復号化することができる。 According to the present invention, the first decoded image memory at the time of encoding the picture of the random access point set to one picture that can reproduce the picture after the first picture in the reproduction display order at the time of decoding. A bit stream in which control information including at least one of information indicating the decoding order of each picture and information indicating the reproduction display order stored in the picture is added to the encoded signal of the picture of the random access point By detecting the control information from the entropy-decoded signal and initializing the corresponding information included in the control information on the basis of the detected control information, the random access is ensured at the random access point. DPB control can be performed with the point in between, and the encoded video signal is efficiently encoded. It can be decoded by the dam access.
次に、本発明の実施の形態について図面と共に詳細に説明する。 Next, embodiments of the present invention will be described in detail with reference to the drawings.
まず、本発明の動画像復号化方法、復号化装置及び復号化プログラムにより復号化されるべき動画像符号化信号を生成する動画像符号化方法及び符号化装置について説明する。 First, a moving picture decoding method, a decoding apparatus, and a moving picture coding method and a coding apparatus for generating a moving picture coded signal to be decoded by a decoding program according to the present invention will be described.
図1は本発明により復号化する動画像符号化信号を生成する動画像符号化装置の一例のブロック図を示す。図1において、動画像符号化装置100は、符号化対象の画像信号が入力される入力端子101と、その入力画像信号と復号画像メモリ108に蓄積されている参照画像とから動きベクトルを検出する動きベクトル検出部102と、検出した動きベクトルを用いて動き補償予測を行う動き補償予測103と、入力画像信号から動き補償信号を減算する減算部104と、直交変換・量子化部105と、加算部106と、逆量子化・逆直交変換部107と、復号画像メモリ(DPB:Decoded Picture Buffer)108と、DPB情報生成部109と、ランダムアクセスポイント信号入力端子110と、エントロピー符号化部111と、ビットストリーム出力端子112とから構成されている。この動画像符号化装置100はDPB情報生成部109を備えている点に特徴がある。
FIG. 1 is a block diagram showing an example of a moving picture coding apparatus for generating a moving picture coded signal to be decoded according to the present invention. In FIG. 1, the moving
次に、この動画像符号化装置100の動作について説明する。入力端子101を介して入力された動画像の画像信号は、減算部104に供給される一方、動きベクトル検出部102に供給される。動きベクトル検出部102は、入力された動画像の画像信号の一画面を構成するフレーム画像又はフィールド画像であるピクチャ内の所定の画素数からなる矩形領域(マクロブロック)単位で、DPB108に記憶されている参照画像信号の探索範囲内で移動して参照画像信号のマクロブロックとブロックマッチングを行うことで、動きベクトルを検出する。
Next, the operation of the moving
動き補償部103は、動きベクトル検出部102により検出された動きベクトルを用いて、DPB108から供給された参照画像信号より動き補償予測を行い、動き補償予測信号を生成する。減算部104は、入力画像信号が参照画像信号を用いず画面内予測符号化して得られるIピクチャは、減算することなくそのまま直交変換・量子化部105に供給する(MPEG2では入力画像信号から減算することなく画面内符号化を行うが、MPEG−4AVC等では、Iピクチャにおいても減算を行い画面内予測符号化を行う。)。
The
一方、減算部104は、1枚の参照画像のみを参照して予測符号化を行うPピクチャ、又は時間的に前又は後の2枚の参照画像のうち任意に組み合わせた2枚の参照画像を参照して予測符号化を行うBピクチャの場合は、入力画像信号と上記の動き補償予測信号との減算を行い、その差分信号を直交変換・量子化部105に供給する。
On the other hand, the subtracting
直交変換・量子化部105は、減算部104から入力された信号を、例えば離散フーリエ変換(DCT)等の直交変換を行った後、それにより得られた直交変換係数を量子化する。逆量子化・逆直交変換部107は、直交変換・量子化部105から出力された量子化後信号を逆量子化した後、逆直交変換して差分信号等を復号化する。
The orthogonal transform /
加算部106は、動き補償部103からの動き補償予測信号と、逆量子化・逆直交変換部107からの逆直交変換後信号とを加算することで入力画像信号のピクチャを復号化し、その復号化したピクチャを参照画像信号としてDPB108に格納する。
The
DPB情報生成部109は、符号化対象のピクチャがランダムアクセスポイントであることを示す信号がランダムアクセスポイント信号入力端子110から入力された場合に、DPB108のその時点のすべての記憶ピクチャを示すDPB情報を生成する。ここで、ランダムアクセスポイントとは、表示順でそれ以降のピクチャを再生可能とする先頭のピクチャを示すポイントである。
When a signal indicating that the picture to be encoded is a random access point is input from the random access point signal input terminal 110, the DPB
次に、DPB情報生成部109の動作について図2のフローチャートを用いて詳しく説明する。
Next, the operation of the DPB
DPB情報生成部109は、符号化対象のピクチャがランダムアクセスポイントであることを示す信号が入力されるかどうか監視しており(ステップS11)、ランダムアクセスポイントであることを示す信号が入力されたことを検出すると、その検出時点におけるDPB108内にあるすべてのピクチャ情報(デコード順序に依存した番号、ピクチャの表示順に依存した番号)を収集し、これらから現在のDPB情報を生成する(ステップS12)。
The DPB
例えば、図3に示すように、DPB108内に記憶されている現在のピクチャがピクチャ31〜34の計4枚であるものとする。また、1枚目のピクチャ31のデコード順序は「1」、表示順序は「1」であり、2枚目のピクチャ32のデコード順序は「2」、表示順序は「4」であり、3枚目のピクチャ33のデコード順序は「5」、表示順序は「7」であり、4枚目のピクチャ34のデコード順序は「9」、表示順序は「8」であるものとする。
For example, as shown in FIG. 3, it is assumed that the current picture stored in the
図1のDPB情報生成部109は、ランダムアクセスポイントであることを示す信号と、そのランダムアクセスポイント検出時点におけるDPB108内にある4枚すべてのピクチャ31〜34のピクチャ情報(デコード順序に依存した番号、ピクチャの表示順に依存した番号)と、DPB初期化情報と、DPB制御信号などを、DPB情報として後述するエントロピー符号化部111に供給してビットストリームにヘッダとして付加する。これにより、ランダムアクセスポイントを挟んでDPBの制御を行っている部分にランダムアクセスした場合にも不具合なく復号化することが可能になるため、ランダムアクセスポイントでのランダムアクセスが保証できる。ランダムアクセスについての詳しい説明は、後述する動画像復号化装置で説明する。
The DPB
図1に戻って説明する。図1のエントロピー符号化部111は、直交変換・量子化部105から出力された量子化後信号をエントロピー符号化して得た各ピクチャの符号化データに、DPB情報生成部109で生成されたDPB情報をヘッダ情報として付加してエントロピー符号化する。
Returning to FIG. The entropy encoding unit 111 in FIG. 1 uses the DPB
図4は、エントロピー符号化部111から出力されるビットストリーム中のピクチャデータの一例の構成を示す。図4に示すように、ピクチャデータは、ランダムアクセスポイントであるか否かを示すフラグ(リカバリポイント)41、DPB情報生成部109で生成されたDPB情報42、後述するDPB制御信号を含むその他のヘッダ43、符号化データ44が時系列的に合成された構成である。上記のフラグ41は、ランダムアクセスポイントを示す所定の値のときは、ランダムアクセスポイント信号として検出される。
FIG. 4 shows an exemplary configuration of picture data in the bit stream output from the entropy encoding unit 111. As shown in FIG. 4, the picture data includes a flag (recovery point) 41 indicating whether or not it is a random access point, DPB information 42 generated by the DPB
エントロピー符号化部111から出力された上記のピクチャデータの時系列合成信号であるビットストリームは、出力端子112を介して、図示しない公知の記録装置により記録媒体に記録されるか、あるいは通信ネットワークを介して配信される。
A bit stream, which is a time-series synthesized signal of the picture data output from the entropy encoding unit 111, is recorded on a recording medium by a known recording device (not shown) via the
このように、図1に示した構成の符号化装置100は、ランダムアクセスポイントにおいて、その時点でのDPB108の記憶ピクチャに関するDPB情報をヘッダ情報としてビットストリームに付加することで、後述するようにランダムアクセスポイントでのランダムアクセスを保証しつつ、ランダムアクセスポイントを挟んでDPB制御を行うことができるため、符号化効率を向上させることができる。
As described above, the
次に、DPBの制御方法について説明する。まず、一般的なDPBの詳細な制御方法について図5と共に説明する。図5において、平行四辺形はピクチャを示し、そのピクチャ内の数字は、復号化(デコード)順を示す。この図5の例では、DPBに蓄積するピクチャの枚数制限は4枚分であるとする。 Next, a DPB control method will be described. First, a detailed control method of a general DPB will be described with reference to FIG. In FIG. 5, parallelograms indicate pictures, and the numbers in the pictures indicate the decoding order. In the example of FIG. 5, it is assumed that the limit on the number of pictures stored in the DPB is four.
図5(A)は、0〜3までのピクチャについて符号化/復号化が終了した状態を示しており、すべてのピクチャをDPB中に蓄積している。図5(B)は、さらにピクチャ4について符号化/復号化が終了した状態を示しており、ピクチャ4をDPBに蓄積するためには、DPB内にある0〜3までのピクチャのうち、少なくとも1つのピクチャをDPBから消去する必要がある。
FIG. 5A shows a state where encoding / decoding has been completed for pictures 0 to 3, and all the pictures are stored in the DPB. FIG. 5B shows a state where the encoding / decoding is further completed for the
従来の符号化方式では、FIFO(First In,First Out)と呼ばれる方式で、古いピクチャから順にDPBから消去することで、DPBを暗示的に制御していた。しかし、このFIFO方式では、最も古いピクチャであるピクチャ0を参照画像としてDPBに残したい場合には対応できなかった。 In the conventional encoding method, the DPB is implicitly controlled by erasing from the DPB in order from the old picture in a method called FIFO (First In, First Out). However, this FIFO method cannot cope with the case where it is desired to leave the oldest picture, picture 0, as a reference image in the DPB.
そこで、消去したいピクチャ番号の情報をビットストリーム中に付加することで、DPBを詳細に制御することが可能となる。つまり、消去するピクチャはピクチャ1であるという情報をビットストリーム中に明示的に付加することで、図5(B)に示すように、DPB内のピクチャ1を消去することでピクチャ0をDPB内に残すことができる。同様に、図5(C)は、ピクチャ5について符号化/復号化が終了した状態を示しており、ピクチャ5をDPBに蓄積するために、ピクチャ2を消去した状態を示す。
Therefore, it is possible to control the DPB in detail by adding information on the picture number to be erased to the bit stream. That is, by explicitly adding information that the picture to be erased is
このように、DPBを詳細に制御することを可能にしたことで、参照画像として適切なピクチャをDPB内に参照画像として蓄積することができ、その結果、精度の高い動き補償予測が行えるため符号化効率を向上させることができる。 As described above, since it is possible to control the DPB in detail, an appropriate picture as a reference image can be stored as a reference image in the DPB, and as a result, motion compensation prediction with high accuracy can be performed. Efficiency can be improved.
次に、動画像符号化装置100による符号化効率を向上させることが可能なDPB制御の一例について図6及び図7と共に説明する。図6は、平行四辺形で示すピクチャを表示順に並べた図を示し、ピクチャ内の数字はそのピクチャのデコード(復号化)順を示す。ここで、便宜上、以下の説明ではデコード順がN番目のピクチャをピクチャNというものとする。また、斜線を付して示すピクチャは、参照画像を示しており、矢印は動き補償予測に用いる参照画像を示している。例えば、ピクチャ7はピクチャ1とピクチャ6から動き補償予測を行うことを矢印で示している。
Next, an example of DPB control capable of improving the encoding efficiency of the moving
また、ピクチャ0とピクチャ5がランダムアクセスポイントのピクチャである。また、ピクチャ0、3、2、4、1の5枚のピクチャがグループAを構成しており、続いて表示されるピクチャ7、6、8、5の4枚のピクチャがグループBを構成している。ここで、グループとは、デコード順でランダムアクセスポイントのピクチャから次のランダムアクセスポイントのピクチャの直前のピクチャまでのピクチャ群をいう。ここでは、ランダムアクセスポイントのピクチャ0は、0番目のデコード順のピクチャであり、次のランダムアクセスポイントのピクチャ5は、5番目のデコード順のピクチャであるため、ピクチャ0からピクチャ4までがグループAを構成し、ピクチャ5からピクチャ7までがグループBを構成する。従って、グループA、Bには、それぞれ1枚のランダムアクセスポイントのピクチャ0、ピクチャ5を含んでいる。更に、動画像符号化装置100は、図6の例ではグループBのピクチャ7、ピクチャ6は、異なるグループAのピクチャ1も参照画像として用いて動き補償予測を行って符号化する。
図7は、参照画像を記憶するDPB108の大きさが3枚である場合に、図6中の矢印で示した動き補償予測を行うことを可能にするDPB制御の説明図を示す。図7(A)は、ピクチャ2の符号化が終了した時点でのDPB108の記憶内容を示す。ピクチャ2は図6に示すように、ピクチャ0とピクチャ1とを参照画像として動き補償予測に用いて符号化され、また符号化されたピクチャ2も他のピクチャの参照画像として動き補償予測に用いられる。これらのピクチャ0、1、2はDPB108の大きさである3枚以下であるので、DPB108に図7(A)に示すように参照画像として蓄積される。
FIG. 7 is an explanatory diagram of DPB control that enables motion compensation prediction indicated by an arrow in FIG. 6 when the size of the
続いて、ピクチャ3が図6に示すようにDPB108内のピクチャ0とピクチャ2とを参照画像として動き補償予測に用いて符号化されるが、ピクチャ3は図6に示すように、参照画像として用いられないので、DPB108には蓄積されない。続いて、ピクチャ4が図6に示すようにDPB108内のピクチャ2とピクチャ1とを参照画像として動き補償予測に用いて符号化されるが、ピクチャ4は図6に示すように、参照画像として用いられないので、DPB108には蓄積されない。
Subsequently,
続いて、ランダムアクセスポイントのピクチャ5が図6に示すように他のピクチャを参照画像として用いることなく符号化される。このピクチャ5は図6に示すように、ピクチャ6、8の符号化時に参照画像として動き補償予測に用いられるので、DPB108に蓄積される。しかし、ピクチャ5の符号化終了時には、DPB108には図7(A)に示すようにその大きさ一杯に既にピクチャ0、1、2が蓄積されているので、ピクチャ5をDPB108に蓄積するには、既に蓄積されている3枚のピクチャの中から1枚のピクチャを消去する必要がある。
Subsequently,
ここで、ピクチャ5の符号化終了後に符号化するピクチャ6〜ピクチャ8の動き補償予測には、図6に示すようにピクチャ0は使用しないので、ピクチャ5の符号化終了時には図7(B)に示すように、ピクチャ0を消去してピクチャ5をDPB108に蓄積する。この消去はピクチャ0がDPB108にピクチャ1、2よりも早く記憶されたピクチャであるので、FIFO方式での制御で対応可能である。
Here, as shown in FIG. 6, picture 0 is not used for motion compensated prediction of picture 6 to
続いて、ピクチャ6が図6に示すようにDPB108内のピクチャ1とピクチャ5とを参照画像として動き補償予測に用いて符号化される。このピクチャ6は図6に示すように、ピクチャ7、8の符号化時に参照画像として動き補償予測に用いられるので、DPB108に蓄積される。しかし、ピクチャ6の符号化終了時には、DPB108には図7(B)に示すようにその大きさ一杯に既にピクチャ1、2、5が蓄積されているので、ピクチャ6をDPB108に蓄積するには、既に蓄積されている3枚のピクチャの中から1枚のピクチャを消去する必要がある。
Subsequently, as shown in FIG. 6, picture 6 is encoded using motion compensation
ここで、ピクチャ6の符号化終了後に符号化するピクチャ7〜ピクチャ8の動き補償予測には、図6に示すようにピクチャ2は使用しないが、ピクチャ1はピクチャ7の符号化時に参照画像として動き補償予測を行うためにDPB108に蓄積しておく必要がある。従って、ピクチャ6の符号化終了時には図7(C)に示すように、ピクチャ1よりも先にピクチャ2をDPB108から消去してピクチャ6をDPB108に蓄積する。この消去はFIFO方式では対応できないため、ピクチャ6のDPB制御信号にピクチャ2をDPB108から消去する情報を伝達することで対応する。
Here, for motion compensated prediction of
ここで、従来は上記のようなランダムアクセスポイントを挟んだDPB制御が禁止されていたため、ランダムアクセスポイントの前後で動き補償予測を行う参照画像が制限され、符号化効率を向上させることができなかった。 Here, since DPB control with a random access point as described above was prohibited in the past, reference images for motion compensation prediction before and after the random access point are limited, and the encoding efficiency cannot be improved. It was.
これに対し、動画像符号化装置100では、ランダムアクセスポイントのピクチャ5検出時点でDPB108には、図7(A)に示すように、そのピクチャ5と異なるグループAの3枚のピクチャ0、1、2が記憶されており、かつ、それらのピクチャ0、1、2のデコード順序に依存する番号と表示順序に依存する番号とを含むDPB情報をヘッダ情報としてビットストリームに付加するようにしているので、ランダムアクセスポイントから復号化した場合のDPBの記憶状態を知ることができる。そのため、復号化装置にて不具合なくDPB制御情報を認識でき、図7(B)、(C)に示すようなランダムアクセスポイントを挟んだDPB制御ができる。従って、本実施の形態によれば、ランダムアクセスポイントでのランダムアクセスを保証しつつ、ランダムアクセスポイントを挟んでDPBの制御を行うことができ、符号化効率を向上させることができる。
On the other hand, in the moving
次に、本発明の動画像復号化装置の実施の形態について図面と共に説明する。 Next, an embodiment of the moving picture decoding apparatus of the present invention will be described with reference to the drawings.
図8は、本発明になる動画像復号化装置の一実施の形態のブロック図を示す。この実施の形態の動画像復号化装置200は、例えば図1の動画像符号化装置100により生成されたビットストリームが、記録媒体又は配信ネットワークを介して入力される入力端子201と、エントロピー復号化を行うエントロピー復号化部202と、エントロピー復号化部202からの信号が供給されるDPB初期化部203、動き補償部204及び逆量子化・逆直交変換部205と、加算部206と、復号画像メモリ(DPB)207とから構成されている。この動画像復号化装置200は、DPB初期化部203を備えている点に特徴がある。
FIG. 8 shows a block diagram of an embodiment of a moving picture decoding apparatus according to the present invention. The moving
次に、この動画像復号化装置200の動作について説明する。エントロピー復号化部202は、記録媒体又は配信ネットワークより入力端子201を介して入力された、例えば図1の動画像符号化装置100により生成されたビットストリームのエントロピー復号化を行い、復号化して得られた信号をDPB初期化部203、動き補償部204及び逆量子化・逆直交変換部205にそれぞれ供給する。
Next, the operation of the moving
動き補償部204は、エントロピー復号化部202で復号化して得られた動きベクトルを用いて、DPB207から供給される参照画像信号より動き補償予測を行い、動き補償予測信号を生成して加算部206へ出力する。逆量子化・逆直交変換部205は、エントロピー復号化部202で復号化して得られた直交変換量子化係教を、逆量子化して直交変換係数を生成し、更にその直交変換係数を逆直交変換して、加算部206へ出力する。
The
加算部206は、逆量子化・逆直交変換部205から出力された信号と、動き補償部204から出力された動き補償予測信号とを加算して復号画像信号を生成し、その復号画像信号を出力端子208へ出力する一方、DPB207に参照画像として供給してピクチャ単位で蓄積させる。
The adding
DPB初期化部203は、エントロピー復号化部202で復号化して得られたピクチャのヘッダにDPB初期化情報等のDPB情報(図4の42)が付加されている場合に、そのDPB情報に従ってDPB207を初期化する。
When DPB information (42 in FIG. 4) such as DPB initialization information is added to the header of the picture obtained by decoding by the
ここで、DPB初期化部203の動作について図9のフローチャートを用いて詳しく説明する。
Here, the operation of the
DPB初期化部203は、入力されるピクチャデータ中のヘッダにDPB情報が付加されているか否かを監視し(ステップS21)、DPB情報が付加されていることを検出した場合は、その時点でDPB207内に記憶されているピクチャ情報(デコード順序に依存した番号、ピクチャの表示順に依存した番号)に一致するピクチャがDPB207に存在しているかのようにDPB207を初期化する(ステップS22)。
The
ここで、図3と共に前述したように、DPB情報は、ランダムアクセスポイント検出時点における動画像符号化装置100内のDPB108内にあるすべてのピクチャのピクチャ情報(デコード順序に依存した番号、ピクチャの表示順に依存した番号)と、DPB初期化情報などからなる。従って、例えば、ピクチャデータが図4に示した構成の場合に、DPB初期化情報などを示すヘッダ42に、図10のようなデータ(DPB情報)が付加されている。
Here, as described above with reference to FIG. 3, the DPB information is the picture information of all pictures in the
図10に示すデータ(DPB情報)は、DPB初期化フラグと、初期化枚数と、その初期化枚数分のピクチャのピクチャ情報(デコード順序に依存した番号、ピクチャの表示順に依存した番号)とからなる。先頭のDPB初期化フラグは、値が「1」であるときDPBの初期化が必要であることを意味し、値が「0」のときはDPBの初期化が不要であることを意味する。ここでは、DPB初期化フラグの値が「1」であるので、DPBの初期化が必要であることを意味する。 The data (DPB information) shown in FIG. 10 is based on the DPB initialization flag, the number of initializations, and the picture information (number depending on the decoding order, number depending on the display order of pictures) for the number of initializations. Become. The first DPB initialization flag means that DPB initialization is necessary when the value is “1”, and that DPB initialization is not necessary when the value is “0”. Here, since the value of the DPB initialization flag is “1”, it means that the DPB needs to be initialized.
次に、図10に示す初期化枚数の値が「4」であることは、ピクチャ4枚分のDPB情報が付加されていることを意味する。従って、図10に示すように、初期化枚数に続いて、デコード順序と表示順序の組が4組付加されている。そのうち、1番目のデコード順序と表示順序の組の値が、それぞれ「1」であるので、これらは1枚目のピクチャのデコード順序が「1」であり表示順序が「1」であることを示している。続く2番目のデコード順序と表示順序の組は、2枚目のピクチャのデコード順序が「2」であり表示順序が「4」であることを示している。同様に、3番目のデコード順序と表示順序の組は、3枚目のピクチャのデコード順序が「5」であり表示順序が「7」であることを示しており、4番目のデコード順序と表示順序の組は、4枚目のピクチャのデコード順序が「9」であり表示順序が「8」であることを示している。すなわち、上記のDPB情報は、ランダムアクセスポイントのピクチャ検出時点でのDPB207に存在する4枚のピクチャが、そのデコード順序と表示順序が上記の値に設定された4枚のピクチャであるようにDPB207を初期化する。
Next, the value of the initialization number shown in FIG. 10 being “4” means that DPB information for four pictures has been added. Therefore, as shown in FIG. 10, four sets of decoding order and display order are added following the number of initializations. Among them, since the value of the first set of decoding order and display order is “1”, these indicate that the decoding order of the first picture is “1” and the display order is “1”. Show. The subsequent set of the second decoding order and the display order indicates that the decoding order of the second picture is “2” and the display order is “4”. Similarly, the third set of decoding order and display order indicates that the decoding order of the third picture is “5” and the display order is “7”, and the fourth decoding order and display order are displayed. The order set indicates that the decoding order of the fourth picture is “9” and the display order is “8”. That is, the DPB information is such that the four pictures existing in the
このようなDPB情報は、ランダムアクセスを行わずに復号化を行った場合のDPB207の記憶状態を示すものであるため、ランダムアクセスを行った場合に、ランダムアクセスを行わずに復号化を行った場合のDPB207の記憶状態を知ることができる。そのため、ビットストリームにランダムアクセスポイントを挟んでDPBを制御するようなDPB制御信号が含まれていた場合にも、不具合なく復号化を行うことが可能となる。
Since such DPB information indicates the storage state of the
このように、本実施の形態の動画像復号化装置200では、ランダムアクセスポイントでのランダムアクセスを保証しつつ、ランダムアクセスポイントを挟んでDPB制御を行うことができるため、効率良く符号化された動画像符号化信号にランダムアクセスして復号化することができる。
As described above, in the moving
なお、本実施の形態の動画像復号化装置200では、ランダムアクセスポイントにおいてDPB207の記憶状態をいち早く確認することができるため、ランダムアクセスポイントを挟んで連続デコードを行っている場合に、実際のDPB状態とヘッダに付加されているDPB状態に関する情報を比較する部を設けることによって、いち早くDPBエラーを察知することが可能となる。
In the moving
また、本発明は以上の実施の形態に限定されるものではなく、例えば上記の動画像復号化装置200の機能をコンピュータに実現させるための動画像復号化プログラムも含むものである。この動画像復号化プログラムは、記録媒体から読み取られてコンピュータに取り込まれてもよいし、通信ネットワークを介して伝送されてコンピュータに取り込まれてもよい。
Further, the present invention is not limited to the above embodiment, and includes a moving picture decoding program for causing a computer to realize the functions of the moving
なお、以上の実施の形態では、DPB情報はDPB内の各ピクチャの復号化順序に依存した番号及び表示順に依存した番号の両方を示す情報を含むものとして説明したが、少なくともどちらか一方の番号を示す情報を含むものとしてもよい。 In the above embodiment, the DPB information has been described as including information indicating both the number depending on the decoding order of each picture in the DPB and the number depending on the display order, but at least one of the numbers May be included.
本発明は、動画像復号化装置、プログラムに関するもので、特に符号化効率を向上させつつランダムアクセスが可能となるように、効率良く符号化された動画像符号化信号にランダムアクセスして復号化する場合に非常に有用である。 The present invention relates to a moving picture decoding apparatus and program, and in particular, performs random access to a moving picture coded signal that has been coded efficiently so as to enable random access while improving coding efficiency. It is very useful when you want.
100 動画像符号化装置
101 画像信号入力端子
102 動きベクトル検出部
103、204 動き補償部
104 減算部
105 直交変換・量子化部
106、206 加算部
107、205 逆量子化・逆直交変換部
108、207 復号画像メモリ(DPB)
109 DPB情報生成部
110 ランダムアクセスポイント信号入力端子
111 エントロピー符号化部
112 ビットストリーム出力端子
200 動画像復号化装置
201 ビットストリーム入力端子
202 エントロピー復号化部
203 DPB初期化部
208 復号画像信号出力端子
DESCRIPTION OF
109 DPB Information Generation Unit 110 Random Access Point Signal Input Terminal 111
Claims (3)
前記エントロピー復号化ステップにより復号化された信号に対して、第2の復号画像メモリから読み出した既に復号されたピクチャを参照画像として用いた動き補償予測を行って前記動画像信号のピクチャを復号化すると共に、その復号化された前記ピクチャの内の参照画像となるピクチャを、そのピクチャの復号化順序を示す情報及び再生表示順を示す情報の内の少なくとも一方の情報と共に前記第2の復号画像メモリに記憶するピクチャ復号化ステップと、
前記エントロピー復号化ステップにより復号化された信号から前記制御情報を検出する検出ステップと、
前記制御情報が前記検出ステップで検出された時点の前記第2の復号画像メモリ内に記憶されている各ピクチャの復号化順序を示す情報及び再生表示順を示す情報の内の少なくとも一方の情報を、検出された前記制御情報が含む対応する情報に初期化する初期化ステップと
を含むことを特徴とする動画像復号化方法。 In the encoding of a moving image signal in units of pictures, which is a single image, motion compensation using a picture to be encoded and a reference image that has already been locally decoded and read from the first decoded image memory It is a bitstream including the encoded signal in units of pictures obtained by performing prediction and entropy encoding, and is set to the one picture that enables playback of the pictures after the first picture in the playback display order at the time of decoding Information indicating the decoding order of each picture stored in the first decoded image memory and information indicating the reproduction display order at the time of encoding the picture of the random access point to be performed Control information including the entropy of the bit stream added to the encoded signal of the picture of the random access point And entropy decoding step for No. of,
For the signal decoded by the entropy decoding step, motion compensated prediction using the already decoded picture read from the second decoded image memory as a reference image is performed to decode the picture of the moving image signal In addition, the second decoded image is used as a reference image in the decoded picture, together with at least one of information indicating the decoding order of the picture and information indicating the reproduction display order. A picture decoding step stored in memory;
A detection step of detecting the control information from the signal decoded by the entropy decoding step;
At least one of the information indicating the decoding order and the reproduction display order of each picture stored in the second decoded image memory at the time when the control information is detected in the detection step. And an initialization step of initializing to corresponding information included in the detected control information.
復号化されたピクチャを記憶する第2の復号画像メモリと、
前記エントロピー復号化手段により復号化された信号に対して、前記第2の復号画像メモリから読み出した既に復号されたピクチャを参照画像として用いた動き補償予測を行って前記動画像信号のピクチャを復号化すると共に、その復号化された前記ピクチャの内の参照画像となるピクチャを、そのピクチャの復号化順序を示す情報及び再生表示順を示す情報の内の少なくとも一方の情報と共に前記第2の復号画像メモリに記憶するピクチャ復号化手段と、
前記エントロピー復号化手段により復号化された信号から前記制御情報を検出する検出手段と、
前記制御情報が前記検出手段で検出された時点の前記第2の復号画像メモリ内に記憶されている各ピクチャの復号化順序を示す情報及び再生表示順を示す情報の内の少なくとも一方の情報を、検出された前記制御情報が含む対応する情報に初期化する初期化手段と
を有することを特徴とする動画像復号化装置。 In the encoding of a moving image signal in units of pictures, which is a single image, motion compensation using a picture to be encoded and a reference image that has already been locally decoded and read from the first decoded image memory It is a bitstream including the encoded signal in units of pictures obtained by performing prediction and entropy encoding, and is set to the one picture that enables playback of the pictures after the first picture in the playback display order at the time of decoding Information indicating the decoding order of each picture stored in the first decoded image memory and information indicating the reproduction display order at the time of encoding the picture of the random access point to be performed Control information including the entropy of the bit stream added to the encoded signal of the picture of the random access point And entropy decoding means for No. of,
A second decoded image memory for storing the decoded picture;
For the signal decoded by the entropy decoding means, a motion compensated prediction using an already decoded picture read from the second decoded image memory as a reference image is performed to decode a picture of the moving image signal And the second decoding of the picture to be a reference image of the decoded picture together with at least one of information indicating the decoding order of the picture and information indicating the playback display order. Picture decoding means for storing in an image memory;
Detecting means for detecting the control information from the signal decoded by the entropy decoding means;
At least one of the information indicating the decoding order of each picture and the information indicating the reproduction display order stored in the second decoded image memory at the time when the control information is detected by the detecting means And an initialization means for initializing the corresponding information included in the detected control information.
一枚の画像であるピクチャ単位での動画像信号の符号化において、符号化対象のピクチャと、第1の復号画像メモリから読み出した既に局部復号されたピクチャである参照画像とを用いた動き補償予測を行いエントロピー符号化して得られた前記ピクチャ単位の符号化信号を備えたビットストリームであり、復号化時における再生表示順で一のピクチャ以降のピクチャを再生可能とする前記一のピクチャに設定されるランダムアクセスポイントのピクチャを符号化する時点での前記第1の復号画像メモリ内に蓄積されている各ピクチャの復号化順序を示す情報及び再生表示順を示す情報の内の少なくとも一方の情報を含む制御情報が、前記ランダムアクセスポイントのピクチャの前記符号化信号に付加されたビットストリームをエントロピー復号化するエントロピー復号化ステップと、
前記エントロピー復号化ステップにより復号化された信号に対して、第2の復号画像メモリから読み出した既に復号されたピクチャを参照画像として用いた動き補償予測を行って前記動画像信号のピクチャを復号化すると共に、その復号化された前記ピクチャの内の参照画像となるピクチャを、そのピクチャの復号化順序を示す情報及び再生表示順を示す情報の内の少なくとも一方の情報と共に前記第2の復号画像メモリに記憶するピクチャ復号化ステップと、
前記エントロピー復号化ステップにより復号化された信号から前記制御情報を検出する検出ステップと、
前記制御情報が前記検出ステップで検出された時点の前記第2の復号画像メモリ内に記憶されている各ピクチャの復号化順序を示す情報及び再生表示順を示す情報の内の少なくとも一方の情報を、検出された前記制御情報が含む対応する情報に初期化する初期化ステップと
を実行させることを特徴とする動画像復号化プログラム。 On the computer,
In the encoding of a moving image signal in units of pictures, which is a single image, motion compensation using a picture to be encoded and a reference image that has already been locally decoded and read from the first decoded image memory It is a bitstream including the encoded signal in units of pictures obtained by performing prediction and entropy encoding, and is set to the one picture that enables playback of the pictures after the first picture in the playback display order at the time of decoding Information indicating the decoding order of each picture stored in the first decoded image memory and information indicating the reproduction display order at the time of encoding the picture of the random access point to be performed Control information including the entropy of the bit stream added to the encoded signal of the picture of the random access point And entropy decoding step for No. of,
For the signal decoded by the entropy decoding step, motion compensated prediction using the already decoded picture read from the second decoded image memory as a reference image is performed to decode the picture of the moving image signal In addition, the second decoded image is used as a reference image in the decoded picture, together with at least one of information indicating the decoding order of the picture and information indicating the reproduction display order. A picture decoding step stored in memory;
A detection step of detecting the control information from the signal decoded by the entropy decoding step;
At least one of the information indicating the decoding order of each picture and the information indicating the reproduction display order stored in the second decoded image memory at the time when the control information is detected in the detection step. And an initialization step of initializing the corresponding information included in the detected control information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008201456A JP2010041353A (en) | 2008-08-05 | 2008-08-05 | Moving image decoding method, decoding device and decoding program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008201456A JP2010041353A (en) | 2008-08-05 | 2008-08-05 | Moving image decoding method, decoding device and decoding program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010041353A true JP2010041353A (en) | 2010-02-18 |
Family
ID=42013428
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008201456A Pending JP2010041353A (en) | 2008-08-05 | 2008-08-05 | Moving image decoding method, decoding device and decoding program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010041353A (en) |
-
2008
- 2008-08-05 JP JP2008201456A patent/JP2010041353A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2010041354A (en) | Moving image coding method, coding device and coding program | |
KR101103723B1 (en) | Video encoding method, decoding method, device thereof, program thereof, and recording medium containing the program | |
EP2642764B1 (en) | Transcoding a video stream to facilitate accurate display | |
US8218949B2 (en) | Video information recording device, video information recording method, and recording medium containing the video information recording program | |
JP5011017B2 (en) | Image decoding device | |
JP5869047B2 (en) | Method for encoding digital video data | |
US9275081B2 (en) | Data management apparatus and data management method | |
KR20040094441A (en) | Editing of encoded a/v sequences | |
US8155186B2 (en) | Bit stream recording medium, video encoder, and video decoder | |
KR101528269B1 (en) | A method for playing a moving picture | |
JP2006246277A (en) | Re-encoding apparatus, re-encoding method, and re-encoding program | |
JP2014011572A5 (en) | Moving picture predictive decoding apparatus, method and program | |
JP2007325119A (en) | Image processing apparatus and method | |
JP2007067526A (en) | Image processor | |
US20080298769A1 (en) | Method and system for generating compressed video to improve reverse playback | |
KR101602871B1 (en) | Method and apparatus for data encoding, method and apparatus for data decoding | |
JP4514666B2 (en) | Video encoding device | |
JP2010041353A (en) | Moving image decoding method, decoding device and decoding program | |
JP2007109329A (en) | Picture data recording apparatus, picture data reproducing apparatus, picture data recording method, program, and recording medium | |
JP4594163B2 (en) | Image coding method and image coding apparatus | |
JP4895396B2 (en) | Image decoding apparatus and image decoding method | |
JP2008199521A (en) | Image processing apparatus and method thereof | |
KR101336820B1 (en) | Apparatus and method for decoding specialized multi-channel trick mode | |
JP2007043575A (en) | Image processor and image processing method | |
JP2007195080A (en) | Moving image decoding device and moving image decoding program |