JP6426648B2 - Moving picture predictive decoding method and moving picture predictive decoding apparatus - Google Patents

Moving picture predictive decoding method and moving picture predictive decoding apparatus Download PDF

Info

Publication number
JP6426648B2
JP6426648B2 JP2016079540A JP2016079540A JP6426648B2 JP 6426648 B2 JP6426648 B2 JP 6426648B2 JP 2016079540 A JP2016079540 A JP 2016079540A JP 2016079540 A JP2016079540 A JP 2016079540A JP 6426648 B2 JP6426648 B2 JP 6426648B2
Authority
JP
Japan
Prior art keywords
image
frame size
reproduced
images
maximum
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2016079540A
Other languages
Japanese (ja)
Other versions
JP2016158282A (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.)
NTT Docomo Inc
Original Assignee
NTT Docomo Inc
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 NTT Docomo Inc filed Critical NTT Docomo Inc
Priority to JP2016079540A priority Critical patent/JP6426648B2/en
Publication of JP2016158282A publication Critical patent/JP2016158282A/en
Application granted granted Critical
Publication of JP6426648B2 publication Critical patent/JP6426648B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、動画像予測復号方法及び装置に関するもので、とりわけ、復号画像バッファにおいて格納可能な再生画像の最大枚数を管理する動画像予測復号方法及び装置に関わるものである。   The present invention relates to a moving picture predictive decoding method and apparatus, and more particularly to a moving picture predictive decoding method and apparatus for managing the maximum number of reproduced images that can be stored in a decoded picture buffer.

動画像データの伝送や蓄積を効率よく行うために、圧縮符号化技術が用いられる。動画像の場合ではMPEG1〜4やH.261〜H.264の方式が広く用いられている。   A compression encoding technique is used to efficiently transmit and store moving image data. In the case of moving pictures, MPEGs 1 to 4 and H.264 are used. 261-H. The H.264 scheme is widely used.

これらの符号化方式では、符号化の対象となる画像を複数のブロックに分割した上で符号化・復号処理を行う。符号化効率を高めるため下記のような予測符号化方法が用いられる。画面内の予測符号化では、対象ブロックと同じ画面内にある隣接する既再生の画像信号(過去に圧縮された画像データを復元したもの)を用いて予測信号を生成した上で、それを対象ブロックの信号から引き算した差分信号を符号化する。画面間の予測符号化では、対象ブロックと異なる画面内にある既再生の画像信号を参照し、信号の変位を検索し、その動いた分を補償して予測信号を生成し、それを対象ブロックの信号から引き算した差分信号を符号化する。動きの検索・補償を行うために参照される既再生の画像を、参照画像という。   In these encoding methods, the image to be encoded is divided into a plurality of blocks, and the encoding and decoding processes are performed. The following predictive coding method is used to enhance coding efficiency. In prediction coding in a screen, a prediction signal is generated using an adjacent already reproduced image signal (a restored image data compressed in the past) in the same screen as the target block, and then the target is generated. The difference signal subtracted from the block signal is encoded. In inter-picture prediction coding, reference is made to a reproduced image signal in a picture different from that of the target block, the displacement of the signal is searched, the movement is compensated to generate a prediction signal, and the target block is generated. Encoding the difference signal subtracted from the The reproduced image referred to for motion search and compensation is referred to as a reference image.

また、双方向画面間予測では、表示時間順に過去にある画像だけではなくて、対象画像の後に表示される未来の画像もあわせて参照する場合がある(この未来画像は対象画像より先に符号化し、予め再生しておく必要がある)。過去の画像と未来の画像から取得された予測信号を平均化することによって、隠されていて新たに現れる物体の信号の予測に有効であると同時に、両予測信号に含まれている雑音を軽減する効果がある。   In addition, in interactive inter-screen prediction, not only images in the past in the order of display time but also future images displayed after the target image may be referred to together (this future image is coded before the target image Need to be reproduced in advance). By averaging the predictions obtained from past and future images, it is useful for predicting the signal of hidden and emerging objects, while reducing the noise contained in both predictions Have an effect.

さらに、H.264の画面間予測符号化では、対象ブロックに対する予測信号は、過去に符号化した上で再生された複数の参照画像を参照し、動き検索しながら誤差の最も少ない画像信号を最適な予測信号として選択する。対象ブロックの画素信号とこの最適な予測信号との差分を求め、離散コサイン変換を施し、量子化した上でエントロピー符号化する。同時に、対象ブロックに対する最適な予測信号をどの参照画像のどの領域から取得するかに関する情報(それぞれ、参照インデックスと動きベクトルという)も合わせて符号化する。   Furthermore, H. In H.264 inter-frame prediction coding, a prediction signal for a target block refers to a plurality of reference images that have been encoded and reproduced in the past, and an image signal with the least error while performing motion search is used as an optimum prediction signal. select. The difference between the pixel signal of the target block and this optimum prediction signal is determined, discrete cosine transformation is performed, quantization is performed, and entropy encoding is performed. At the same time, information (also referred to as a reference index and a motion vector, respectively) regarding which region of which reference image the optimal prediction signal for the target block is to be obtained is encoded together.

ところで、H.264においては、複数の再生画像を参照することが可能である。これらの再生画像は予測に用いる参照画像として画像バッファメモリである復号画像バッファ(DPB: Decoded picture buffer)に保存される。復号画像バッファ(DPB)のサイズはプロファイル(profile)及びレベル(level)により定義されており、参照画像の枚数ではなく、ビット量として定義されている。つまり、同じプロファイル、レベルであっても画像のフレームサイズに応じて枚数が変化する。例えばメイン(Main)プロファイル、レベル3.2の場合、予測に用いる参照画像を格納するための画像バッファの最大サイズ(MaxDPBSize: Maximum Decoded Picture Buffer size)は7680.0×1024[bytes]と定義されており、1280×720 4:2:0の場合、復号画像バッファ(DPB)に保存できる再生画像は5枚、1280×1024 4:2:0の場合、復号画像バッファ(DPB)に保存可能な再生画像の最大枚数は4枚となる。図1に画像のフレームサイズによって格納可能な再生画像の最大枚数が4枚(図1(a))、5枚(図1(b))及び6枚(図1(c))のときの復号画像バッファの画像配置を示す。このように、あらかじめ用意された画像バッファメモリが再生画像のフレームサイズに応じて、メモリポインタを可変的に配置することで、メモリ配置を工夫しながら利用されることとなる。   By the way, H. In H.264, it is possible to refer to a plurality of reproduced images. These reproduced images are stored as a reference image used for prediction in a decoded picture buffer (DPB) which is an image buffer memory. The size of the decoded image buffer (DPB) is defined by a profile and a level, and is defined not as the number of reference images but as a bit amount. That is, the number of images changes in accordance with the frame size of the image even with the same profile and level. For example, in the case of Main profile, level 3.2, the maximum size (MaxDPBSize: Maximum Decoded Picture Buffer size) of the image buffer for storing the reference image used for prediction is defined as 7680.0 × 1024 [bytes]. In the case of 1280 × 720 4: 2: 0, five reproduced images that can be stored in the decoded image buffer (DPB), and in the case of 1280 × 1024 4: 2: 0, the reproduced images that can be stored in the decoded image buffer (DPB) The maximum number of cards is four. Decoding when the maximum number of reproduced images that can be stored in Fig. 1 is 4 (Fig. 1 (a)), 5 (Fig. 1 (b)) and 6 (Fig. 1 (c)) according to the frame size of the image Fig. 6 shows an image arrangement of an image buffer. As described above, the image buffer memory prepared in advance is used while devising the memory arrangement by variably arranging the memory pointer in accordance with the frame size of the reproduced image.

“H.264: Advanced video coding for generic audiovisual services,”Joint Video Team of ITU-T VCEG and ISO/IEC MPEG, ITU-T Rec. H.264 and ISO/IEC14496-10 (MPEG4 - Part 10), November 2007H.264: Advanced video coding for generic audiovisual services, Joint Video Team of ITU-T VCEG and ISO / IEC MPEG, ITU-T Rec. H.264 and ISO / IEC 14496-10 (MPEG4-Part 10), November 2007

ここで、このような定義においてH.264の復号装置は、その復号装置がサポートする範囲のプロファイルやレベルで定義されるあらゆるフレームサイズの画像の復号が可能である必要があるため、画像バッファメモリに再生画像を格納する際に用いるメモリをどのように配置して格納するかが固定することができない。そのため、各再生画像が格納されるメモリ位置を示すメモリポインタを復号する画像のフレームサイズに応じて変動させる必要があるため、メモリ制御や実装が複雑となる。   Here, in such a definition, H. Since the H.264 decoding device needs to be able to decode an image of any frame size defined by the profile or level of the range supported by the decoding device, a memory used when storing a reproduced image in the image buffer memory How to place and store can not be fixed. Therefore, since it is necessary to change the memory pointer indicating the memory position where each reproduced image is stored according to the frame size of the image to be decoded, memory control and mounting become complicated.

これに対する解決策としては、実際の復号画像のフレームサイズによらず画像バッファメモリに格納可能な再生画像の最大枚数(max_dec_ pic_buffering)を固定する手法が考えられる。この解決策により復号画像バッファ(DPB)のメモリ配置は図2(a)のように最大フレームサイズにより一意に決定されるため、メモリポインタも固定することができる。すなわち変動的なメモリポインタの制御に比べてメモリ制御が容易となる。しかし、この解決策では、復号画像のフレームサイズが最大フレームサイズよりも小さい場合や、インターレース画像のフィールド画像のように画像の縦幅がフレーム画像の半分である場合には、図2(b)に示すように未使用のメモリ領域が発生し、メモリの有効活用がされない課題が存在する。さらに、より多くの再生画像を格納することで、参照画像枚数を増加させて符号化効率向上する可能性を失うこととなる。   As a solution to this, a method of fixing the maximum number of reproduced images (max_dec_pic_buffering) that can be stored in the image buffer memory regardless of the actual frame size of the decoded image can be considered. Since the memory arrangement of the decoded image buffer (DPB) is uniquely determined by the maximum frame size as shown in FIG. 2A by this solution, the memory pointer can also be fixed. That is, memory control is easier than variable memory pointer control. However, in this solution, when the frame size of the decoded image is smaller than the maximum frame size or when the vertical width of the image is half of that of the frame image as in the field image of the interlaced image, FIG. As shown in FIG. 2, an unused memory area occurs, and there is a problem that the memory can not be used effectively. Furthermore, by storing more reproduced images, the possibility of improving the coding efficiency by increasing the number of reference images is lost.

本発明は、上記の課題を解決し、再生画像のフレームサイズに応じて、画像バッファメモリに格納可能な再生画像の最大枚数を決定することにより、効率的に画像バッファメモリを利用し、更なる符号化効率向上も可能とする動画像予測復号方法及び装置の提供を目的とする。   The present invention solves the above-mentioned problems, and utilizes the image buffer memory efficiently by determining the maximum number of reproduced images that can be stored in the image buffer memory according to the frame size of the reproduced image. An object of the present invention is to provide a moving picture prediction / decoding method and apparatus capable of improving coding efficiency.

上記目的を達成するために、本発明に係る動画像予測復号方法は、動画像予測復号装置によって実行される動画像予測復号方法であって、動画像を構成する複数の画像に対し、画面内予測もしくは画面間予測のいずれかによって符号化され、対象画像フレームサイズ、再生画像を格納可能な最大枚数及び符号化設定として最大フレームサイズに関する情報を含む圧縮画像データを示す符号化データを入力する入力ステップと、圧縮画像データと対象画像フレームサイズ、再生画像を格納可能な最大枚数及び最大フレームサイズに関する情報を示す圧縮画像データを復号し、再生画像と、対象画像フレームサイズ、再生画像を格納可能な最大枚数及び最大フレームサイズに関する情報とに復元する復号ステップと、再生画像を、後続の画像を復号するために用いられる参照画像として1つ以上、画像格納手段によって格納する画像格納ステップと、を具備し、画像の最大フレームサイズと入力画像のフレームサイズとの関係に基づいて、フレームメモリ内に格納可能な再生画像の最大枚数を所定の値の等倍、2倍又は4倍に決定することを特徴とする。 In order to achieve the above object, a moving picture predictive decoding method according to the present invention is a moving picture predictive decoding method to be executed by a moving picture predictive decoding device, and a plurality of pictures constituting a moving picture are displayed on the screen. Input to input encoded data indicating compressed image data which is encoded by either prediction or inter-frame prediction and which includes information on the maximum frame size as the target image frame size, the maximum number of stored reproduction images, and the encoding setting Decoding compressed image data showing information about the step, compressed image data and target image frame size, maximum number of stored reproduced images and maximum frame size, and reproducing image, target image frame size and reproduced image can be stored The decoding step to restore information about the maximum number and the maximum frame size, the reproduced image, and the subsequent image Storing at least one image as the reference image to be used by the image storage means, and storing in the frame memory based on the relationship between the maximum frame size of the image and the frame size of the input image The present invention is characterized in that the maximum number of possible reproduced images is determined to be equal to, double or quadruple of a predetermined value .

また、本発明に係る動画像予測復号方法は、画像の最大フレームサイズに対して入力画像のフレームサイズが1/2倍以下の場合に、フレームメモリ内に格納可能な再生画像の最大枚数を所定の値の2倍に決定することを特徴とすることとしてもよい。 Further, in the moving picture prediction decoding method according to the present invention, when the frame size of the input image is 1/2 or less of the maximum frame size of the image, the maximum number of reproduced images that can be stored in the frame memory is specified. It may be characterized in that it is determined to be twice the value of .

また、本発明に係る動画像予測復号方法は、画像の最大フレームサイズに対して入力画像のフレームサイズが1/4倍以下の場合に、フレームメモリ内に格納可能な再生画像の最大枚数を所定の値の4倍に決定することを特徴とすることとしてもよい。 Further, in the moving picture prediction decoding method according to the present invention, when the frame size of the input image is 1⁄4 or less of the maximum frame size of the image, the maximum number of reproduced images that can be stored in the frame memory is specified. It may be characterized in that it is determined to be four times the value of .

本発明に係る動画像予測復号装置は、動画像を構成する複数の画像に対し、画面内予測もしくは画面間予測のいずれかによって符号化され、対象画像フレームサイズ、再生画像を格納可能な最大枚数及び符号化設定として最大フレームサイズに関する情報を含む圧縮画像データを示す符号化データを入力する入力手段と、圧縮画像データと対象画像フレームサイズ、再生画像を格納可能な最大枚数及び最大フレームサイズに関する情報を示す圧縮画像データを復号し、再生画像と、対象画像フレームサイズ、再生画像を格納可能な最大枚数及び最大フレームサイズに関する情報とに復元する復号手段と、再生画像を、後続の画像を復号するために用いられる参照画像として1つ以上格納する画像格納手段と、を具備し、画像の最大フレームサイズと入力画像のフレームサイズとの関係に基づいて、フレームメモリ内に格納可能な再生画像の最大枚数を所定の値の等倍、2倍又は4倍に決定することを特徴とする。 The moving picture prediction / decoding apparatus according to the present invention encodes a plurality of images constituting a moving picture by either intra-frame prediction or inter-frame prediction, and the maximum number of target image frame sizes and the number of reproduction images that can be stored. And input means for inputting encoded data indicating compressed image data including information on maximum frame size as encoding setting, information on compressed image data, target image frame size, maximum number of stored reproduced images, and maximum frame size Decoding means for decoding compressed image data representing the reproduced image, and information relating to the reproduced image and information on the target image frame size, the maximum number of images that can be stored and the maximum frame size, and the reproduced image Image storage means for storing one or more as a reference image used for image processing; Based on the relationship between the frame size's and the input image, magnification of a predetermined value the maximum number of storable reproduced image in the frame memory, and determining the double or quadruple.

本発明による動画像予測復号方法及び装置によれば、再生画像のフレームサイズに応じて、画像バッファメモリに格納可能な再生画像の最大枚数を決定することにより、効率的に画像バッファメモリを利用し、更なる符号化効率向上も可能とする。   According to the moving picture predictive decoding method and apparatus according to the present invention, the image buffer memory is efficiently used by determining the maximum number of reproduced pictures that can be stored in the image buffer memory according to the frame size of the reproduced picture. , And can further improve the coding efficiency.

画像バッファメモリと格納画像枚数、可変メモリポインタ位置を示す図である。It is a figure which shows an image buffer memory, the number of stored images, and a variable memory pointer position. 画像バッファメモリにおいて、固定メモリポインタの課題を示す図である。FIG. 5 is a diagram showing a problem of a fixed memory pointer in an image buffer memory. 本発明の実施形態による動画像予測符号化装置を示すブロック図である。FIG. 1 is a block diagram showing a moving picture predictive coding apparatus according to an embodiment of the present invention. 本発明の実施形態による動画像予測復号装置を示すブロック図である。FIG. 1 is a block diagram showing a moving picture prediction decoding apparatus according to an embodiment of the present invention. 本発明の実施形態による第1の動画像予測符号化・復号方法を示す流れ図である。3 is a flowchart illustrating a first video predictive coding / decoding method according to an embodiment of the present invention. 本発明の実施形態による第1の動画像予測符号化・復号方法の処理を説明するための模式図である。It is a schematic diagram for demonstrating the process of the 1st moving image predictive coding / decoding method by embodiment of this invention. 記録媒体に記録されたプログラムを実行するためのコンピュータのハードウェア構成を示す図である。It is a figure which shows the hardware constitutions of the computer for running the program recorded on the recording medium. 記録媒体に記憶されたプログラムを実行するためのコンピュータの斜視図である。FIG. 16 is a perspective view of a computer for executing a program stored in a recording medium.

以下、本発明の実施の形態について、図3から図8を用いて説明する。   Hereinafter, embodiments of the present invention will be described using FIGS. 3 to 8.

図3は本発明の実施形態による動画像予測符号化装置を示すブロック図である。301は入力端子、302はブロック分割器、303は予測信号生成器、304はフレームメモリ、305は減算器、306は変換器、307は量子化器、308は逆量子化器、309は逆変換器、310は加算器、311はエントロピー符号化器、312は出力端子、314はフレームメモリ管理器(またはバッファ管理器ともいう)である。入力端子301は入力手段に対応する。予測信号生成器303と減算器305と変換器306と量子化器307とエントロピー符号化器311とは符号化手段に対応する。逆量子化器308、逆変換器309と加算器310は復号手段に対応する。フレームメモリ304は画像格納手段に対応する。フレームメモリ管理器314はメモリ制御手段に対応する。   FIG. 3 is a block diagram showing a video predictive coding apparatus according to an embodiment of the present invention. Reference numeral 301 denotes an input terminal, 302 denotes a block divider, 303 denotes a prediction signal generator, 304 denotes a frame memory, 305 denotes a subtractor, 306 denotes a converter, 307 denotes a quantizer, 308 denotes an inverse quantizer, and 309 denotes an inverse transform 310 is an adder, 311 is an entropy encoder, 312 is an output terminal, and 314 is a frame memory manager (also called a buffer manager). The input terminal 301 corresponds to input means. The prediction signal generator 303, the subtractor 305, the converter 306, the quantizer 307 and the entropy encoder 311 correspond to encoding means. The inverse quantizer 308, the inverse transformer 309 and the adder 310 correspond to the decoding means. The frame memory 304 corresponds to the image storage unit. The frame memory manager 314 corresponds to memory control means.

以上のように構成された動画像予測符号化装置について、以下その動作を述べる。複数枚の画像からなる動画像の信号は入力端子301に入力される。符号化の対象なる画像はブロック分割器302にて、複数の領域に分割される。本発明による実施形態では、8x8の画素からなるブロックに分割されるが、それ以外のブロックの大きさまたは形に分割してもよい。次に符号化処理の対象となる領域(以下対象ブロックとよぶ)に対して、予測信号を生成する。本発明による実施形態では、2種類の予測方法が用いられる。すなわち画面間予測と画面内予測である。   The operation of the moving picture predictive coding apparatus configured as described above will be described below. A moving image signal composed of a plurality of images is input to the input terminal 301. The image to be encoded is divided by the block divider 302 into a plurality of regions. In the embodiment according to the present invention, the block is divided into blocks of 8x8 pixels, but may be divided into other block sizes or shapes. Next, a prediction signal is generated for an area to be encoded (hereinafter referred to as a target block). In the embodiment according to the present invention, two types of prediction methods are used. That is, inter-screen prediction and intra-screen prediction.

画面間予測では、過去に符号化されたのちに復元された再生画像を参照画像として、この参照画像から対象ブロックに対する誤差の最も小さい予測信号を与える動き情報を求める。この処理は動き検出とよばれる。また場合に応じて、対象ブロックを再分割し、再分割された小領域に対し画面間予測方法を決定してもよい。この場合、各種の分割方法の中から、対象ブロック全体に対し最も効率のよい分割方法及びそれぞれの動き情報を決定する。本発明による実施形態では、予測信号生成器303にて行われ、対象ブロックはラインL302、参照画像はL304経由で入力される。参照画像としては、過去に符号化され復元された複数の画像を参照画像として用いる。詳細は従来の技術であるMPEG−2、4、H.264のいずれの方法と同じである。このように決定された動き情報及び小領域の分割方法はラインL312経由でエントロピー符号化器311に送られ符号化した上で出力端子312から送出される。また複数の参照画像の中で、予測信号がどの参照画像から取得するかに関する情報(リファレンスインデックス)もラインL312経由でエントロピー符号化器311に送られる。なお、本発明による実施形態では、M枚(Mは1以上の整数)の再生画像をフレームメモリ304に格納し、参照画像として用いる。予測信号生成器303では、小領域の分割方法及びそれぞれの小領域に対応する、参照画像と動き情報をもとにフレームメモリ304から参照画像信号を取得し、予測信号を生成する。このように生成された画面間予測信号はラインL303経由で減算器305に送られる。   In inter-frame prediction, using a reproduced image that has been encoded in the past and restored as a reference image, motion information that gives a predicted signal with the smallest error with respect to the target block is determined from this reference image. This process is called motion detection. Also, depending on the case, the target block may be subdivided, and the inter-screen prediction method may be determined for the subdivided small area. In this case, among the various division methods, the most efficient division method and respective motion information are determined for the entire target block. In the embodiment according to the present invention, it is performed by the prediction signal generator 303, and the target block is input through the line L302, and the reference image is input through the L304. As a reference image, a plurality of images encoded and restored in the past are used as a reference image. Details are given in the prior art MPEG-2, 4, H.264. The same as H.264. The motion information and the method of dividing the small area determined in this way are sent to the entropy encoder 311 via the line L312 and encoded, and then output from the output terminal 312. Also, among the plurality of reference images, information (reference index) on which reference image the prediction signal is to be obtained from is also sent to the entropy encoder 311 via the line L312. In the embodiment according to the present invention, M (M is an integer of 1 or more) reproduced images are stored in the frame memory 304 and used as a reference image. The prediction signal generator 303 acquires a reference image signal from the frame memory 304 based on the reference image and the motion information corresponding to the division method of the small area and each small area, and generates a prediction signal. The inter-frame prediction signal thus generated is sent to the subtractor 305 via the line L303.

画面内予測では、対象ブロックに空間的に隣接する既再生の画素値を用いて画面内予測信号を生成する。具体的には予測信号生成器303では、フレームメモリ304から同じ画面内にある既再生の画素信号を取得し、これらの信号を外挿することによって画面内予測信号を生成する。外挿の方法に関する情報はラインL312経由でエントロピー符号化器311に送られ符号化した上で出力端子312から送出される。このように生成された画面内予測信号は減算器305に送られる。予測信号生成器303における画面内の予測信号生成方法は、従来の技術であるH.264の方法と同じである。上述のように求められた画面間予測信号と画面内予測信号に対し、誤差の最も小さいものが選択され、減算器305に送られる。   In intra prediction, an intra prediction signal is generated using already reproduced pixel values spatially adjacent to the target block. Specifically, the prediction signal generator 303 acquires already reproduced pixel signals in the same screen from the frame memory 304, and generates an in-screen prediction signal by extrapolating these signals. Information on the extrapolation method is sent to the entropy encoder 311 via the line L312 and encoded, and then output from the output terminal 312. The intra prediction signal generated in this manner is sent to the subtractor 305. The prediction signal generation method in the screen in the prediction signal generator 303 is the conventional technique H.264. The same as H.264. With respect to the inter-frame prediction signal and the intra-frame prediction signal determined as described above, the one with the smallest error is selected and sent to the subtractor 305.

一枚目の画像については、それより前に画像がないため、全ての対象ブロックは画面内予測で処理される。   As for the first image, there is no image before that, so all target blocks are processed by intra prediction.

減算器305にて対象ブロックの信号(ラインL302経由)から予測信号(ラインL303経由)を引き算し、残差信号を生成する。この残差信号は変換器306にて離散コサイン変換され、その各係数は量子化器307にて量子化される。最後にエントロピー符号化器311にて量子化された変換係数を符号化して、予測方法に関する情報とともに出力端子312より送出される。   The prediction signal (via line L303) is subtracted from the signal (via line L302) of the target block in the subtractor 305 to generate a residual signal. The residual signal is discrete cosine transformed by the converter 306, and each coefficient is quantized by the quantizer 307. Finally, the transform coefficient quantized by the entropy encoder 311 is encoded and sent out from the output terminal 312 together with information on the prediction method.

後続の対象ブロックに対する画面内予測もしくは画面間予測を行うために、圧縮された対象ブロックの信号は逆処理し復元される。すなわち、量子化された変換係数は逆量子化器308にて逆量子化されたのちに逆変換器309にて逆離散コサイン変換され、残差信号を復元する。加算器310にて復元された残差信号とラインL303から送られた予測信号とを加算し、対象ブロックの信号を再生し、フレームメモリ304に格納する。本実施の形態では変換器306と逆変換器309を用いているが、これらの変換器に代わるほかの変換処理を用いてもよい。場合によって、変換器306と逆変換器309がなくてもよい。   In order to perform intra prediction or inter prediction with respect to the subsequent target block, the signal of the compressed target block is inversely processed and restored. That is, the quantized transform coefficients are dequantized by the dequantizer 308, and then inverse discrete cosine transformed by the inverse transformer 309 to restore a residual signal. The residual signal restored by the adder 310 and the prediction signal sent from the line L 303 are added to reproduce the signal of the target block, and the signal is stored in the frame memory 304. Although the converter 306 and the inverse converter 309 are used in the present embodiment, other conversion processes may be used instead of these converters. In some cases, the converter 306 and the inverse converter 309 may not be necessary.

フレームメモリ304は有限なものであり、すべての再生画像を格納することは不可能である。後続の画像の符号化に用いられる再生画像のみフレームメモリ304に格納される。このフレームメモリ304を制御するのがフレームメモリ管理器314である。フレームメモリ管理器314は、フレームメモリ304内にあるM枚(ここでMは整数)の再生画像の中から、最も古いものを消去し参照画像として用いられる直近の再生画像を格納できるように制御する。入力端子313より各画像のフレームサイズ及び符号化設定(プロファイル、レベル)にて定義される最大フレームサイズが入力され、この情報に基づいてフレームメモリ内に格納可能な再生画像の最大枚数が決定され、フレームメモリ管理器314が最大枚数を超えないよう格納するよう動作する。同時に、各画像のフレームサイズ及び符号化設定にて定義される最大フレームサイズ、フレームメモリ内に格納可能な再生画像の最大枚数の情報はラインL314経由でエントロピー符号化器311に送られ、符号化した上で圧縮された画像データとともに出力される。フレームサイズ及び符号化設定にて定義される最大フレームサイズ、フレームメモリ内に格納可能な再生画像の最大枚数は各画像に付随するもので、画像のフレームサイズそのままを示すものやフレームサイズを指数やべき乗の形で表現されたものでもよい。また、プロファイルやレベル情報としてあらかじめ最大フレームサイズが定められる場合であれば、それらの情報を利用して最大フレームサイズが入力されてもよい。本実施の形態では、フレームサイズの値がそのまま二値符号化に変換され、最大フレームサイズはレベル情報として定義されるものとする。本発明によるフレームメモリ管理器314の制御方法については後述する。   The frame memory 304 is limited, and it is impossible to store all reproduced images. Only the reproduced image used for encoding the subsequent image is stored in the frame memory 304. The frame memory manager 314 controls the frame memory 304. The frame memory manager 314 controls so that the oldest one of the M (where M is an integer) reproduced images in the frame memory 304 can be erased and the latest reproduced image to be used as a reference image can be stored. Do. The maximum frame size defined by the frame size and encoding setting (profile, level) of each image is input from the input terminal 313, and the maximum number of reproduced images that can be stored in the frame memory is determined based on this information. The frame memory manager 314 operates to store the maximum number of frames. At the same time, information on the maximum frame size defined by the frame size and encoding setting of each image and the maximum number of reproduced images that can be stored in the frame memory is sent to the entropy encoder 311 via line L314 and encoded And then output along with the compressed image data. The maximum frame size defined by the frame size and the encoding setting, and the maximum number of reproduced images that can be stored in the frame memory is attached to each image, and indicates the frame size of the image as it is or the frame size It may be expressed in the form of a power. If the maximum frame size is determined in advance as the profile or level information, the maximum frame size may be input using such information. In the present embodiment, it is assumed that the value of frame size is converted to binary coding as it is, and the maximum frame size is defined as level information. The control method of the frame memory manager 314 according to the present invention will be described later.

次に本発明による動画像予測復号方法について説明する。図4は本発明の実施形態による画像予測復号装置のブロック図を示す。401は入力端子、402はデータ解析器、403は逆量子化器、404は逆変換器、405は加算器、408は予測信号生成器、407はフレームメモリ、406は出力端子、409はフレームメモリ管理器である。入力端子401は入力手段に対応する。逆量子化器403と逆変換器404は復号手段に対応する。復号手段としてそれ以外のものを用いてもよい。フレームメモリ407は画像格納手段に対応する。フレームメモリ管理器409はメモリ制御手段に対応する。また逆変換器404がなくてもよい。   Next, a moving picture predictive decoding method according to the present invention will be described. FIG. 4 shows a block diagram of an image prediction and decoding apparatus according to an embodiment of the present invention. 401 is an input terminal, 402 is a data analyzer, 403 is an inverse quantizer, 404 is an inverse transformer, 405 is an adder, 408 is a prediction signal generator, 407 is a frame memory, 406 is an output terminal, and 409 is a frame memory It is a manager. The input terminal 401 corresponds to input means. The inverse quantizer 403 and the inverse transformer 404 correspond to the decoding means. Other means may be used as the decoding means. The frame memory 407 corresponds to the image storage unit. A frame memory manager 409 corresponds to memory control means. Also, the inverse converter 404 may not be necessary.

以上のように構成された動画像予測復号装置について、以下その動作を述べる。上述した方法で圧縮符号化された圧縮データは入力端子401から入力される。この圧縮データには、画像を複数のブロックに分割された対象ブロックを予測し符号化された残差信号及び予測信号の生成などに関連する情報が含まれている。予測信号の生成に関連する情報として、画面間予測の場合はブロック分割に関する情報(ブロックのサイズ)や、動き情報と上述のリファレンスインデックスが含まれ、画面内予測の場合は周辺の既再生の画素から外挿方法に関する情報が含まれている。   The operation of the moving picture predictive decoding apparatus configured as described above will be described below. Compressed data compressed and encoded by the method described above is input from the input terminal 401. The compressed data includes information relating to a residual signal obtained by predicting an object block obtained by dividing an image into a plurality of blocks and encoding the same, generation of a prediction signal, and the like. The information related to the generation of the prediction signal includes information on block division (block size) in the case of inter-frame prediction, motion information and the above-mentioned reference index, and in the case of intra-frame prediction, surrounding reproduced pixels Contains information on extrapolation methods.

データ解析器402にて、圧縮データから対象ブロックの残差信号、予測信号の生成に関連する情報、量子化パラメータ、画像のフレームサイズ及び符号化設定にて定義される最大フレームサイズ、フレームメモリ内に格納可能な再生画像の最大枚数を抽出する。対象ブロックの残差信号は逆量子化器403にて量子化パラメータ(ラインL402経由)をもとに逆量子化される。その結果は逆変換器404にて逆離散コサイン変換される。   In the data analyzer 402, from the compressed data, the residual signal of the target block, the information related to the generation of the prediction signal, the quantization parameter, the maximum frame size defined by the frame size of the image and the coding setting, Extract the maximum number of playback images that can be stored in. The residual signal of the target block is dequantized by the dequantizer 403 based on the quantization parameter (via line L402). The result is inverse discrete cosine transformed in inverse transformer 404.

次にラインL406b経由で予測信号の生成に関連する情報が予測信号生成器408に送られる。予測信号生成器408では、予測信号の生成に関連する情報をもとに、フレームメモリ407にアクセスし、複数の参照画像の中から参照信号を取得し予測信号を生成する。この予測信号はラインL408経由で加算器405に送られ、復元された残差信号に加算され、対象ブロック信号を再生し、ラインL405経由で出力すると同時にフレームメモリ407に格納される。   Information related to the generation of the prediction signal is then sent to the prediction signal generator 408 via line L406b. The prediction signal generator 408 accesses the frame memory 407 based on the information related to the generation of the prediction signal, acquires a reference signal from among a plurality of reference images, and generates a prediction signal. This prediction signal is sent to the adder 405 via the line L408, added to the recovered residual signal, reproduced from the target block signal, and output via the line L405 and simultaneously stored in the frame memory 407.

フレームメモリ407には、後続の画像の復号・再生に用いられる再生画像が格納されている。フレームメモリ管理器409はフレームメモリ407を制御する。フレームメモリ407は、格納されているM枚(ここではMは整数)の再生画像の中から、最も古いものを消去し参照画像として用いられる直近の再生画像を格納できるように制御される。フレームメモリ管理器409は、ラインL406a経由で送られる対象画像のフレームサイズ及び符号化設定にて定義される最大フレームサイズ、フレームメモリ内に格納可能な再生画像の最大枚数の情報に基づいて動作する。本発明によるフレームメモリ管理器409の制御方法については後述する。   The frame memory 407 stores a reproduced image used for decoding and reproducing the subsequent image. The frame memory manager 409 controls the frame memory 407. The frame memory 407 is controlled so as to delete the oldest one of the stored M (here, M is an integer) reproduced images and store the latest reproduced image to be used as a reference image. The frame memory manager 409 operates based on the information on the maximum frame size defined by the frame size and encoding setting of the target image sent via the line L 406a, and the maximum number of reproduced images that can be stored in the frame memory. . The control method of the frame memory manager 409 according to the present invention will be described later.

次に図5と図6を用いて、本発明による動画像予測符号化方法及び動画像予測復号方法の動作を説明する。図5は本発明の実施形態による動画像予測符号化・復号方法を示す流れ図である。同図に用いられる変数の意味を説明する。pic_widthは再生画像の横幅の輝度画素数、pic_heightは再生画像の縦幅の輝度画素数、MaxLumaFSはレベル情報により定義される最大画像サイズ、MFSBufferはレベル情報として定義される復号画像バッファ(DPB)に格納可能な再生画像の最大枚数で表現されるメモリバッファ量、maxDPBsizeは復号画像バッファ(DPB)に格納可能な再生画像の最大枚数で表現されるメモリバッファ量、max_dec_ pic_bufferingは復号時に利用される再生画像の最大格納枚数(メモリバッファ量)、DPBpointerは復号画像バッファで再生画像を格納する位置を示すポインタを示す変数である。   Next, the operation of the moving picture predictive coding method and the moving picture predictive decoding method according to the present invention will be described with reference to FIGS. 5 and 6. FIG. 5 is a flow chart showing a method of moving picture predictive coding / decoding according to an embodiment of the present invention. The meaning of the variables used in the figure will be described. pic_width is the number of luminance pixels in the horizontal width of the reproduced image, pic_height is the number of luminance pixels in the vertical width of the reproduced image, MaxLumaFS is the maximum image size defined by the level information, and MFSBuffer is the decoded image buffer (DPB) defined as the level information Amount of memory buffer represented by the maximum number of reproduced images that can be stored, maxDPBsize is the amount of memory buffer represented by the maximum number of reproduced images that can be stored in the decoded image buffer (DPB), and max_dec_pic_buffering is reproduction used at the time of decoding The maximum storage number of images (memory buffer amount), DPBpointer is a variable indicating a pointer indicating a position at which a reproduced image is stored in the decoded image buffer.

図5において、再生画像の横幅の画素数pic_width及び再生画像の縦幅の画素数pic_height及び符号化設定として定義される最大フレームサイズMaxLumaFS及び復号画像バッファ(DPB)に格納可能な再生画像の最大枚数で表現されるメモリバッファ量MFSBufferが入力される。次に入力された再生画像の横幅の画素数pic_widthと再生画像の縦幅の画素数pic_heightを積算した値と符号化設定として定義される最大画像サイズMaxLumaFSの半分の値(MaxLumaFS/2)と比較が行われる(ステップS502)。ここで、条件が満たされない場合(pic_widthとpic_heightを積算した値がMaxLumaFS/2の値より大きい場合)には、maxDPBsize=MFSBufferと設定される(ステップS503)。また条件が満たされる場合(pic_widthとpic_heightを積算した値がMaxLumaFS/2の値以下の場合)には、maxDPBsize=2*MFSBufferと設定される(ステップS504)。
(数式)
maxDPBsize=2*MFSBuffer(pic_width*pic_height≦(MaxLumaFS>>1)の時)
maxDPBsize=MFSBuffer(上記以外)
なお、上記数式における“>>”は右シフト演算を示し、MaxLumaFS/2と同じ意味である。
In FIG. 5, the number of pixels of the width of the reproduced image pic_width, the number of pixels of the width of the reproduced image pic_height, the maximum frame size MaxLumaFS defined as the encoding setting, and the maximum number of reproduced images that can be stored in the decoded image buffer (DPB). The memory buffer amount MFSBuffer represented by is input. Next, a value obtained by integrating the number of pixels pic_width of the width of the reproduced image input and the number of pixels pic_height of the width of the reproduced image is compared with a half value (MaxLumaFS / 2) of the maximum image size MaxLumaFS defined as the encoding setting Is performed (step S502). Here, when the condition is not satisfied (when the value obtained by integrating pic_width and pic_height is larger than the value of MaxLumaFS / 2), maxDPBsize = MFSBuffer is set (step S503). If the condition is satisfied (if the value obtained by integrating pic_width and pic_height is less than or equal to the value of MaxLumaFS / 2), maxDPBsize = 2 * MFSBuffer is set (step S504).
(Formula)
maxDPBsize = 2 * MFSBuffer (when pic_width * pic_height ≦ (MaxLumaFS >> 1))
maxDPBsize = MFSBuffer (other than the above)
Note that ">>" in the above equation indicates a right shift operation, which has the same meaning as MaxLumaFS / 2.

そして、復号時に利用される再生画像の最大格納枚数で表現されるメモリバッファ量max_dec_ pic_bufferingがmaxDPBsize以下となるように設定される。
(数式)
max_dec_pic_buffering≦maxDPBsize
Then, the memory buffer amount max_dec_pic_buffering represented by the maximum number of stored reproduction images used at the time of decoding is set to be equal to or less than maxDPBsize.
(Formula)
max_dec_pic_buffering ≦ maxDPBsize

また、maxDPBsize=MFSBufferの場合には図6(a)のように画像メモリバッファの先頭にDPBpointer=1が設定され、DPBpointer=2,3,4はDPBpointer=1の位置から最大フレームサイズの2倍、3倍、4倍分のメモリポインタの位置を進めた位置に設定される。   When maxDPBsize = MFSBuffer, DPBpointer = 1 is set at the top of the image memory buffer as shown in FIG. 6A, and DPBpointer = 2, 3 and 4 are twice the maximum frame size from the position of DPBpointer = 1. , 3 and 4 times the position of the memory pointer is set to the advanced position.

また、maxDPBsize=2*MFSBufferの場合には図6(b)のようにすでに設定されたDPBpointer1〜4に加えて、DPBpointer=1の位置から最大フレームサイズ分の1/2倍、3/2倍、5/2倍、7/2倍分のメモリポインタの位置を進めた位置に設定される。(ステップS505)。   Further, in the case of maxDPBsize = 2 * MFS Buffer, in addition to DPBpointers 1 to 4 already set as shown in FIG. 6B, 1/2 and 3/2 times the maximum frame size from the position of DPBpointer = 1 , 5/2 times, 7/2 times the position of the memory pointer is advanced. (Step S505).

設定されたmax_dec_pic_buffering及びDPBpointerは後述のステップS508のフレームメモリの制御に利用される。すなわち復号時に再生画像はフレームメモリに最大でmax_dec_pic_buffering枚まで格納となり、格納時には設定されたDPBpointerに基づき格納するよう制御される。符号化方法では、再生画像の横幅の輝度画素数pic_width、再生画像の縦幅の輝度画素数pic_heightに関する情報、最大画像サイズMaxLumaFS、復号画像バッファ(DPB)に格納可能な再生画像の最大枚数で表現されるメモリバッファ量MFSBufferを含むレベル情報は、外部から与えられる。図3では、入力端子313経由して、図示されていない制御装置から与えられる。   The set max_dec_pic_buffering and DPB pointer are used to control the frame memory in step S508 described later. That is, at the time of decoding, the reproduced image is stored in the frame memory up to max_dec_pic_buffering sheets at a maximum, and at the time of storage, control is performed so as to be stored based on the set DPBpointer. In the encoding method, it is expressed by the maximum number of reproduced images that can be stored in the decoded image buffer (DPB), the maximum image size MaxLumaFS, and the information on the luminance pixel number pic_width of the horizontal width of the reproduced image, the luminance pixel number pic_height of the vertical width of the reproduced image The level information including the memory buffer amount MFSBuffer to be generated is externally given. In FIG. 3, it is supplied from a control device (not shown) via an input terminal 313.

一方、ステップS506では、図3で説明した方法で処理の対象となる画像を符号化した上で復号する。符号化した画像のデータは外部に送出、または蓄積される。ステップS507では、対象画像は後続の処理で参照画像として用いられるかどうかを判断する。この判断は画像の符号化タイプ(画面内予測符号化、画面間予測符号化、双方向予測符号化)によって決まる。参照画像として用いられない場合はステップS510に進む。参照画像として用いられる場合はステップS508に進みDPBpointerが図6に記載の位置で制御され、ステップS509にて復号・再生された画像をフレームメモリに格納した上で、ステップS511に進む。ステップS511では、次の画像があればS506に進み、次の画像がなければ処理を終了する。このように最後の画像まで符号化処理を実行する。   On the other hand, in step S506, the image to be processed is encoded and decoded by the method described in FIG. Data of the encoded image is transmitted or accumulated outside. In step S507, it is determined whether the target image is used as a reference image in the subsequent processing. This determination is determined by the coding type of the image (intra-picture prediction coding, inter-picture prediction coding, bi-directional prediction coding). If it is not used as a reference image, the process proceeds to step S510. If it is used as a reference image, the process proceeds to step S508, the DPB pointer is controlled at the position shown in FIG. 6, the image decoded and reproduced at step S509 is stored in the frame memory, and the process proceeds to step S511. In step S511, if there is a next image, the process proceeds to S506, and if there is no next image, the process ends. Thus, the encoding process is performed up to the last image.

上述した処理は、図3の動画像符号化方法全体の処理に該当するが、とりわけステップS502、S503、S504、S505とS508は本発明によるフレームメモリ管理器314内にて行われる。   The above-mentioned processing corresponds to the processing of the whole moving picture coding method of FIG. 3, but in particular, steps S502, S503, S504, S505 and S508 are performed in the frame memory manager 314 according to the present invention.

なお、図5は動画像の符号化方法として説明したが、動画像復号方法の処理にも適用できる。復号処理を行う場合、ステップS501では圧縮符号化された画像のデータ(ビットストリーム)が入力される。当該データから再生画像の横幅の画素数pic_width及び再生画像の縦幅の画素数pic_height及び符号化設定として定義される最大フレームサイズMaxLumaFS及び復号画像バッファ(DPB)に格納可能な再生画像の最大枚数で表現されるメモリバッファ量MFSBuffer、復号時に利用される再生画像の最大格納枚数(メモリバッファ量)max_dec_pic_bufferingを抽出して、上述と同じ方法でステップS502〜S505、S508の制御を行う。なお復号側では、ステップS505において復元されたmax_dec_pic_bufferingがmaxDPBsize以下であるかが確認される。ステップS506では対象画像の圧縮されたデータを復号し、画像を復元する処理を行う。ステップS507以降の処理は上述したとおりである。この処理は図4の動画像復号装置の処理に該当するが、とりわけステップS502、S503、S504、S505とS508は本発明による動画像復号装置のフレームメモリ管理器409内にて行われる。   Although FIG. 5 has been described as the moving image encoding method, it can be applied to the processing of the moving image decoding method. When the decoding process is performed, data (bit stream) of the compression-coded image is input in step S501. From the data, the maximum number of reproduced images that can be stored in the number of pixels in the horizontal width of the reproduced image pic_width and the number of pixels in the vertical width of the reproduced image pic_height and the maximum frame size MaxLumaFS defined as encoding settings and decoded image buffer (DPB) The memory buffer amount MFSBuffer to be expressed and the maximum storage number (memory buffer amount) max_dec_pic_buffering of reproduced images used at the time of decoding are extracted, and the control of steps S502 to S505 and S508 is performed in the same manner as described above. On the decryption side, it is checked whether max_dec_pic_buffering restored in step S505 is equal to or less than maxDPBsize. In step S506, the compressed data of the target image is decoded, and the image is restored. The processes after step S507 are as described above. This process corresponds to the process of the moving picture decoding apparatus shown in FIG. 4, but steps S502, S503, S504, S505 and S508 are performed in the frame memory management unit 409 of the moving picture decoding apparatus according to the present invention.

図6は本発明の実施形態による動画像予測符号化・復号方法におけるフレームメモリのメモリポインタの位置を説明するための模式図である。図6(a)と(b)を比較するとわかるように、メモリポインタ番号1から4の位置は固定されている。また、ステップS503で条件を満たす場合には、新たにメモリポインタ5から8として制御される。つまり、ステップS503の判定によらず、メモリポインタの位置は固定されることになる。   FIG. 6 is a schematic diagram for explaining the position of the memory pointer of the frame memory in the moving picture predictive coding / decoding method according to the embodiment of the present invention. As can be seen by comparing FIGS. 6A and 6B, the positions of the memory pointer numbers 1 to 4 are fixed. If the condition is satisfied in step S503, the memory pointers 5 to 8 are newly controlled. That is, the position of the memory pointer is fixed regardless of the determination in step S503.

(メモリポインタの位置)
なお、本実施形態のメモリポインタ番号を1から4と5から8を交互に設定したが、メモリポインタ番号を1から8の順番で割り当てても良い。
(Location of memory pointer)
Although the memory pointer numbers of this embodiment are alternately set to 1 to 4 and 5 to 8, the memory pointer numbers may be assigned in the order of 1 to 8.

(メモリ分割数)
なお、本実施形態では再生画像の横幅の画素数pic_width及び再生画像の縦幅の画素数pic_heightと符号化設定として定義される最大フレームサイズMaxLumaFSの半分の値(MaxLumaFS/2)と比較を行ったが、再生画像の横幅の画素数pic_width及び再生画像の縦幅の画素数pic_heightと符号化設定として定義される最大フレームサイズMaxLumaFS/2L(Lは2以上の整数)とを比較してもよい。その際、再生画像の格納位置を示すメモリポインタの位置は、図6で示したとおり、既に配置されたポインタを固定したままMaxLumaFSの1/2の位置にメモリポインタを配置すればよい。
(Number of memory divisions)
In the present embodiment, the number of pixels in the width of the reproduced image pic_width, the number of pixels in the width of the reproduced image pic_height and the half frame value (MaxLumaFS / 2) of the maximum frame size MaxLumaFS defined as the encoding setting are compared. However, the number of pixels in the width of the reproduced image pic_width and the number of pixels in the vertical width of the reproduced image pic_height may be compared with the maximum frame size MaxLumaFS / 2 L (L is an integer of 2 or more) defined as the encoding setting . At that time, as shown in FIG. 6, the memory pointer may be arranged at a position 1/2 L of MaxLumaFS while fixing the already arranged pointer, as shown in FIG.

(フレームサイズの定義)
なお、本実施形態では、再生画像の横幅の画素数pic_width及び再生画像の縦幅の画素数pic_heightによってフレームサイズを表現したが、あらかじめ積算されたフレームサイズを示す値が利用されてもよい。また、それ以外の方法でフレームサイズが算出されてもよい。
(Definition of frame size)
In the present embodiment, the frame size is expressed by the number of pixels pic_width of the horizontal width of the reproduced image and the number of pixels pic_height of the vertical width of the reproduced image, but a value indicating the frame size integrated in advance may be used. Also, the frame size may be calculated by other methods.

なお、本実施形態では、最大画像サイズMaxLumaFS、復号画像バッファ(DPB)に格納可能なMaxLumaFSの大きさの再生画像の最大枚数で表現されるメモリバッファ量MFSBufferはレベル情報として定義されたが、レベル情報として送られることに限定されない。レベル情報以外の情報として加えられても良い。   In the present embodiment, the memory buffer amount MFSBuffer represented by the maximum number of reproduced images of the maximum image size MaxLumaFS and the size of MaxLumaFS that can be stored in the decoded image buffer (DPB) is defined as level information, but the level It is not limited to being sent as information. It may be added as information other than level information.

なお、本実施形態ではFSBufferやmaxDPBsizeは、格納可能な再生画像の最大枚数で表現されたが、実際のメモリ量として表現されてもよい。その場合、再生画像の枚数は、メモリ量をフレームサイズで除算して算出すればよい。   In the present embodiment, FSBuffer and maxDPBsize are represented by the maximum number of storable reproduced images, but may be represented as an actual memory amount. In this case, the number of reproduced images may be calculated by dividing the memory amount by the frame size.

特に本発明は、画像のフレームサイズと符号化条件として定義される最大フレームサイズの関係に基づき、画像バッファメモリに格納可能な再生画像の最大枚数が決定されることで、実際のフレームサイズが最大フレームサイズよりも小さい場合に、フレームメモリの無駄を軽減し、更なる符号化効率向上を可能とする参照画像用のメモリ領域を確保する効果がある。   In particular, according to the present invention, the maximum number of reproduced images that can be stored in the image buffer memory is determined based on the relationship between the image frame size and the maximum frame size defined as the encoding condition, so that the actual frame size is maximized. When the size is smaller than the frame size, there is an effect of reducing the waste of the frame memory and securing a memory area for a reference image that can further improve the coding efficiency.

コンピュータを上述の動画像予測符号化装置及び動画像予測復号装置として機能させるための本発明に係る動画像予測符号化プログラム及び動画像予測復号プログラムは、プログラムとして記録媒体に格納されて提供される。記録媒体としては、フロッピー(登録商標)ディスク、CD−ROM、DVD、あるいはROM等の記録媒体、あるいは半導体メモリ等が例示される。   A moving picture predictive coding program and a moving picture predictive decoding program according to the present invention for causing a computer to function as the above-described moving picture predictive coding apparatus and moving picture predictive decoding apparatus are stored and provided as a program in a recording medium. . Examples of the recording medium include a recording medium such as a floppy (registered trademark) disk, a CD-ROM, a DVD, or a ROM, a semiconductor memory, and the like.

具体的には、動画像予測符号化プログラムは、動画像を構成する複数の画像を入力する入力モジュールと、画像を、画面内予測もしくは画面間予測のいずれかの方法で符号化し、対象画像フレームサイズ、再生画像を格納可能な最大枚数及び符号化設定として最大フレームサイズに関する情報を含む圧縮画像データを生成し、対象画像フレームサイズ、再生画像を格納可能な最大枚数及び最大フレームサイズに関する情報に関する符号化データとともに符号化する符号化モジュールと、圧縮画像データを復号し、再生画像に復元する復号モジュールと、再生画像を、後続の画像を符号化するために用いられる参照画像として1つ以上格納する画像格納モジュールと、画像格納モジュールにおいて画像バッファメモリを制御するメモリ制御モジュールと、を具備し、メモリ制御モジュールは、画像の最大フレームサイズに対して入力画像のフレームサイズが1/2(Lは1以上の整数)以下の場合に、フレームメモリ内に格納可能な再生画像の最大枚数を2倍に決定することを特徴とする動画像予測符号化プログラムである。 Specifically, the moving picture predictive coding program encodes an image by an input module for inputting a plurality of images constituting the moving picture, by any of intra prediction and inter prediction, and a target image frame. A code relating to information relating to the target image frame size, the maximum number of images that can be stored in the reproduction image, and the maximum frame size is generated by generating compressed image data including the size, the maximum number of images that can store the reproduction images, and the maximum frame size as encoding settings. An encoding module for encoding with encoded data, a decoding module for decoding compressed image data and restoring it to a reproduced image, and storing one or more reproduced images as a reference image used for encoding a subsequent image Image storage module and memory control module for controlling image buffer memory in the image storage module Comprising a Lumpur, a memory control module, when the frame size of the input image with respect to the maximum frame size of the image is 1/2 L (L is an integer of 1 or more) or less, it can be stored in the frame memory It is a moving picture predictive coding program characterized by determining the maximum number of reproduced pictures as 2 L times.

同様に、動画像予測符号化プログラムは、動画像を構成する複数の画像に対し、画面内予測もしくは画面間予測のいずれかによって符号化され、対象画像フレームサイズ、再生画像を格納可能な最大枚数及び符号化設定として最大フレームサイズに関する情報を含む圧縮画像データを示す符号化データを入力する入力モジュールと、圧縮画像データと対象画像フレームサイズ、再生画像を格納可能な最大枚数及び最大フレームサイズに関する情報を示す圧縮画像データを復号し、再生画像と、対象画像フレームサイズ、再生画像を格納可能な最大枚数及び最大フレームサイズに関する情報とに復元する復号モジュールと、再生画像を、後続の画像を復号するために用いられる参照画像として1つ以上格納する画像格納モジュールと、画像格納モジュールを制御するメモリ制御モジュールと、を具備し、メモリ制御モジュールは、画像の最大フレームサイズに対して入力画像のフレームサイズが1/2(Lは1以上の整数)倍以下の場合に、フレームメモリ内に格納可能な再生画像の最大枚数を2倍に決定することを特徴とする動画像予測符号化プログラムである。 Similarly, the moving picture predictive coding program is coded on the plurality of images constituting the moving picture by either intra prediction or inter prediction, and the target image frame size, and the maximum number of reproduction images that can be stored. And an input module for inputting encoded data indicating compressed image data including information on the maximum frame size as the encoding setting, information on the compressed image data, the target image frame size, the maximum number of stored reproduced images, and the maximum frame size The decoding module decodes the compressed image data representing the image data into the reproduced image and the information on the target image frame size, the maximum number of images that can be stored and the maximum frame size, and the reproduced image decodes the subsequent image Image storage module for storing one or more reference images used for image Includes a memory control module that controls the module, a memory control module, the frame size is 1/2 L of the input image with respect to the maximum frame size of the image (L is an integer of 1 or more) in the case of times or less, It is a moving picture predictive coding program characterized by determining the maximum number of reproduced pictures that can be stored in a frame memory to be 2 L times.

図7は、記録媒体に記録されたプログラムを実行するためのコンピュータのハードウェア構成を示す図であり、図8は、記録媒体に記憶されたプログラムを実行するためのコンピュータの斜視図である。コンピュータとして、CPUを具備しソフトウエアによる処理や制御を行なうDVDプレーヤ、セットトップボックス、携帯電話などを含む。   FIG. 7 is a diagram showing a hardware configuration of a computer for executing a program recorded in a recording medium, and FIG. 8 is a perspective view of the computer for executing a program stored in the recording medium. The computer includes a DVD player equipped with a CPU and performing processing and control by software, a set top box, a mobile phone, and the like.

図7に示すように、コンピュータ30は、フロッピー(登録商標)ディスクドライブ装置、CD−ROMドライブ装置、DVDドライブ装置等の読取装置12と、オペレーティングシステムを常駐させた作業用メモリ(RAM)14と、記録媒体10に記憶されたプログラムを記憶するメモリ16と、ディスプレイといった表示装置18と、入力装置であるマウス20及びキーボード22と、データ等の送受を行うための通信装置24と、プログラムの実行を制御するCPU26とを備えている。コンピュータ30は、記録媒体10が読取装置12に挿入されると、読取装置12から記録媒体10に格納された動画像予測符号化・復号プログラムにアクセス可能になり、当該動画像予測符号化・復号プログラムによって、本発明による動画像符号化装置・復号装置として動作することが可能になる。   As shown in FIG. 7, the computer 30 includes a reader 12 such as a floppy (registered trademark) disk drive, a CD-ROM drive, and a DVD drive, and a working memory (RAM) 14 in which an operating system is made resident. , A memory 16 for storing a program stored in the recording medium 10, a display device 18 such as a display, a mouse 20 and a keyboard 22 as input devices, a communication device 24 for transmitting and receiving data, etc. And a CPU 26 for controlling the When the recording medium 10 is inserted into the reading device 12, the computer 30 can access the moving picture prediction encoding / decoding program stored in the recording medium 10 from the reading device 12, and the moving picture prediction encoding / decoding The program makes it possible to operate as a video encoding device / decoding device according to the present invention.

図8に示すように、動画像予測符号化プログラムもしくは動画像復号プログラは、搬送波に重畳されたコンピュータデータ信号40としてネットワークを介して提供されるものであってもよい。この場合、コンピュータ30は、通信装置24によって受信した動画像予測符号化プログラムもしくは動画像復号プログラムをメモリ16に格納し、当該動画像予測符号化プログラムもしくは動画像予測復号プログラムを実行することができる。   As shown in FIG. 8, the moving picture predictive coding program or the moving picture decoding program may be provided via a network as a computer data signal 40 superimposed on a carrier wave. In this case, the computer 30 can store the moving picture predictive coding program or the moving picture decoding program received by the communication device 24 in the memory 16 and execute the moving picture predictive coding program or the moving picture predictive decoding program. .

上記目的を達成するために、本発明に係る動画像予測符号化装置は、動画像を構成する複数の画像を入力する入力手段と、画像を、画面内予測もしくは画面間予測のいずれかの方法で符号化し、対象画像フレームサイズ、再生画像を格納可能な最大枚数及び符号化設定として最大フレームサイズに関する情報を含む圧縮画像データを生成し、対象画像フレームサイズ、再生画像を格納可能な最大枚数及び最大フレームサイズに関する情報に関する符号化データとともに符号化する符号化手段と、圧縮画像データを復号し、再生画像に復元する復号手段と、再生画像を、後続の画像を符号化するために用いられる参照画像として1つ以上格納する画像格納手段と、を具備し、画像の最大フレームサイズに対して入力画像のフレームサイズが1/2倍以下の場合に、フレームメモリ内に格納可能な再生画像の最大枚数を2倍に決定することを特徴とする。   In order to achieve the above object, a moving picture predictive coding apparatus according to the present invention comprises: input means for inputting a plurality of images constituting a moving picture; and any of intra prediction and inter prediction of images. To generate compressed image data including information on the maximum frame size as the target image frame size, the maximum number of stored reproduced images, and the encoding setting, the target image frame size, the maximum number of stored reproduced images and Reference means used to encode the encoded image data with respect to information on the maximum frame size, to decode the compressed image data and to reconstruct the reproduced image, and to encode the subsequent image the reproduced image An image storage unit that stores one or more images as an image, and the frame size of the input image is 1/1 of the maximum frame size of the image. If times below, and determines the maximum number of storable reproduced image to twice in the frame memory.

この動画像予測符号化装置では、動画像を構成する各画像または圧縮符号化された画像データに付随されるフレームサイズと符号化設定で定義される最大フレームサイズ関係に基づき、画像バッファメモリに格納可能な再生画像の最大枚数が決定される。より具体的には、例えば、入力画像のフレームサイズが符号化設定で定義される最大フレームサイズの1/2倍より大きい場合には再生画像を最大N枚格納(Nは1以上の整数)可能とし、入力画像のフレームサイズが最大フレームサイズの1/2倍以下の場合には、再生画像の格納に利用可能なメモリバッファ量を制御して、再生画像を最大2xN枚格納可能とする。これにより復号された再生画像のフレームサイズが符号化設定にて定義された最大フレームサイズの1/2倍以下の場合に、格納可能な再生画像の最大枚数を増加することができ、参照画像増加により符号化効率向上が可能となる。   In this moving picture predictive coding apparatus, the image data is stored in the image buffer memory based on the relationship between the frame size attached to each image constituting the moving picture or compression-coded image data and the maximum frame size defined by the coding setting. The maximum number of possible playback images is determined. More specifically, for example, when the frame size of the input image is larger than 1/2 of the maximum frame size defined in the encoding setting, up to N reproduced images can be stored (N is an integer of 1 or more). If the frame size of the input image is equal to or less than half of the maximum frame size, the amount of memory buffer available for storing the reproduced image is controlled to be able to store a maximum of 2 × N reproduced images. When the frame size of the reproduced image decoded by this is 1/2 or less of the maximum frame size defined in the encoding setting, the maximum number of reproduced images that can be stored can be increased, and the reference image is increased. This makes it possible to improve the coding efficiency.

また、本発明に係る動画像予測符号化装置は、画像の最大フレームサイズに対して入力画像のフレームサイズが1/4倍以下の場合に、フレームメモリ内に格納可能な再生画像の最大枚数を4倍に決定することを特徴とすることとしてもよい。   Further, the moving picture predictive coding apparatus according to the present invention can calculate the maximum number of reproduced images that can be stored in the frame memory when the frame size of the input image is 1/4 or less of the maximum frame size of the image. It may be characterized in that it is determined four times.

本発明に係る動画像予測復号装置は、動画像を構成する複数の画像に対し、画面内予測もしくは画面間予測のいずれかによって符号化され、対象画像フレームサイズ、再生画像を格納可能な最大枚数及び符号化設定として最大フレームサイズに関する情報を含む圧縮画像データを示す符号化データを入力する入力手段と、圧縮画像データと対象画像フレームサイズ、再生画像を格納可能な最大枚数及び最大フレームサイズに関する情報を示す圧縮画像データを復号し、再生画像と、対象画像フレームサイズ、再生画像を格納可能な最大枚数及び最大フレームサイズに関する情報とに復元する復号手段と、再生画像を、後続の画像を復号するために用いられる参照画像として1つ以上格納する画像格納手段と、を具備し、画像の最大フレームサイズに対して入力画像のフレームサイズが1/2倍以下の場合に、フレームメモリ内に格納可能な再生画像の最大枚数を2倍に決定することを特徴とする。   The moving picture prediction / decoding apparatus according to the present invention encodes a plurality of images constituting a moving picture by either intra-frame prediction or inter-frame prediction, and the maximum number of target image frame sizes and the number of reproduction images that can be stored. And input means for inputting encoded data indicating compressed image data including information on maximum frame size as encoding setting, information on compressed image data, target image frame size, maximum number of stored reproduced images, and maximum frame size Decoding means for decoding compressed image data representing the reproduced image, and information relating to the reproduced image and information on the target image frame size, the maximum number of images that can be stored and the maximum frame size, and the reproduced image Image storage means for storing one or more as a reference image used for image processing; If the frame size of the input image relative's is 1/2 times or less, and determines the maximum number of storable reproduced image to twice in the frame memory.

この動画像予測復号装置では、動画像を構成する各画像または圧縮符号化された画像データに付随されるフレームサイズと符号化設定で定義される最大フレームサイズ関係に基づき、画像バッファメモリに格納可能な再生画像の最大枚数が決定される。より具体的には、例えば、入力画像のフレームサイズが符号化設定で定義される最大フレームサイズの1/2倍より大きい場合には再生画像を最大N枚格納(Nは1以上の整数)可能とし、入力画像のフレームサイズが最大フレームサイズの1/2倍以下の場合には、再生画像を最大2N枚格納可能とする。これにより復号された再生画像のフレームサイズが符号化設定にて定義された最大フレームサイズの1/2倍以下の場合に、格納可能な再生画像の最大枚数を増加することができ、参照画像増加により符号化効率向上が可能となる。   This moving picture prediction / decoding apparatus can store in the image buffer memory based on the relationship between the frame size attached to each image constituting the moving picture or compression-coded image data and the maximum frame size defined by the encoding setting. The maximum number of reproduced images is determined. More specifically, for example, when the frame size of the input image is larger than 1/2 of the maximum frame size defined in the encoding setting, up to N reproduced images can be stored (N is an integer of 1 or more). If the frame size of the input image is equal to or less than half the maximum frame size, up to 2N reproduced images can be stored. When the frame size of the reproduced image decoded by this is 1/2 or less of the maximum frame size defined in the encoding setting, the maximum number of reproduced images that can be stored can be increased, and the reference image is increased. This makes it possible to improve the coding efficiency.

また、本発明に係る動画像予測復号装置は、画像の最大フレームサイズに対して入力画像のフレームサイズが1/4倍以下の場合に、フレームメモリ内に格納可能な再生画像の最大枚数を4倍に決定することを特徴とすることとしてもよい。   Further, the moving picture prediction decoding apparatus according to the present invention is configured such that the maximum number of reproduced images that can be stored in the frame memory is 4 when the frame size of the input image is 1/4 or less of the maximum frame size of the image. It may be characterized in that it is determined by doubling.

また、本発明に係る動画像予測符号化方法は、動画像予測符号化装置により実行される動画像予測符号化方法であって、動画像を構成する複数の画像を入力する入力ステップと、画像を、画面内予測もしくは画面間予測のいずれかの方法で符号化し、対象画像フレームサイズ、再生画像を格納可能な最大枚数及び符号化設定として最大フレームサイズに関する情報を含む圧縮画像データを生成し、対象画像フレームサイズ、再生画像を格納可能な最大枚数及び最大フレームサイズに関する情報に関する符号化データとともに符号化する符号化ステップと、圧縮画像データを復号し、再生画像に復元する復号ステップと、再生画像を、後続の画像を符号化するために用いられる参照画像として1つ以上、画像格納手段によって格納する画像格納ステップと、を具備し、画像の最大フレームサイズに対して入力画像のフレームサイズが1/2倍以下の場合に、フレームメモリ内に格納可能な再生画像の最大枚数を2倍に決定することを特徴とする。   A moving picture predictive coding method according to the present invention is a moving picture predictive coding method executed by a moving picture predictive coding apparatus, and an input step of inputting a plurality of images constituting a moving picture, an image Is encoded by either intra-frame prediction or inter-frame prediction to generate compressed image data including information on the target image frame size, the maximum number of sheets that can store the reproduced image, and the maximum frame size as an encoding setting, An encoding step of encoding together with encoded data relating to information on a target image frame size, a maximum number of reproduced images that can be stored, and a maximum frame size; a decoding step of decoding compressed image data and restoring it to a reproduced image; An image store for storing by the image storage means one or more as a reference image used to encode a subsequent image And determining that the maximum number of reproduced images that can be stored in the frame memory is doubled if the frame size of the input image is 1/2 or less times the maximum frame size of the image. It features.

また、本発明に係る動画像予測符号化方法は、画像の最大フレームサイズに対して入力画像のフレームサイズが1/4倍以下の場合に、フレームメモリ内に格納可能な再生画像の最大枚数を4倍に決定することを特徴とすることとしてもよい。   Further, in the moving picture predictive coding method according to the present invention, when the frame size of the input image is 1⁄4 or less of the maximum frame size of the image, the maximum number of reproduced images that can be stored in the frame memory is obtained. It may be characterized in that it is determined four times.

また、本発明に係る動画像予測復号方法は、動画像予測復号装置によって実行される動画像予測復号方法であって、動画像を構成する複数の画像に対し、画面内予測もしくは画面間予測のいずれかによって符号化され、対象画像フレームサイズ、再生画像を格納可能な最大枚数及び符号化設定として最大フレームサイズに関する情報を含む圧縮画像データを示す符号化データを入力する入力ステップと、圧縮画像データと対象画像フレームサイズ、再生画像を格納可能な最大枚数及び最大フレームサイズに関する情報を示す圧縮画像データを復号し、再生画像と、対象画像フレームサイズ、再生画像を格納可能な最大枚数及び最大フレームサイズに関する情報とに復元する復号ステップと、再生画像を、後続の画像を復号するために用いられる参照画像として1つ以上、画像格納手段によって格納する画像格納ステップと、を具備し、画像の最大フレームサイズに対して入力画像のフレームサイズが1/2倍以下の場合に、フレームメモリ内に格納可能な再生画像の最大枚数を2倍に決定することを特徴とする。   The moving picture prediction decoding method according to the present invention is a moving picture prediction decoding method executed by the moving picture prediction decoding apparatus, and it is possible to perform intra prediction or inter prediction with respect to a plurality of images constituting a moving image. An input step of inputting encoded data indicating compressed image data which is encoded by any of the target image frame size, the maximum number of sheets that can store the reproduced image, and information on the maximum frame size as an encoding setting; And the compressed image data indicating information on the target image frame size, the maximum number of stored reproduced images, and the maximum frame size, and the reproduced image, the target image frame size, the maximum number of stored reproduced images, and the maximum frame size And the reconstructed image is used to decode the subsequent image. Storing at least one image storing step of storing the image by the image storing means as the reference image, and storing the image in the frame memory when the frame size of the input image is 1/2 or less of the maximum frame size of the image The present invention is characterized in that the maximum number of possible reproduced images is determined twice.

また、本発明に係る動画像予測復号方法は、画像の最大フレームサイズに対して入力画像のフレームサイズが1/4倍以下の場合に、フレームメモリ内に格納可能な再生画像の最大枚数を4倍に決定することを特徴とすることとしてもよい。   Further, according to the moving image predictive decoding method of the present invention, when the frame size of the input image is 1/4 or less of the maximum frame size of the image, the maximum number of reproduced images that can be stored in the frame memory is 4 It may be characterized in that it is determined by doubling.

また、本発明に係る動画像予測復号方法は、フレームメモリ内に格納可能な再生画像の最大枚数を決定する際に、メモリ内の再生画像の格納位置を示すメモリポインタを固定することを特徴とすることとしてもよい。   The moving picture predictive decoding method according to the present invention is characterized in that, when determining the maximum number of reproduced pictures that can be stored in the frame memory, the memory pointer indicating the storage position of the reproduced picture in the memory is fixed. You may do it.

この動画像予測復号方法では、各再生画像の格納位置を示すメモリポインタは、例えば、最大フレームサイズとその1/2倍の位置で固定することができるため、フレームサイズによる可変的なメモリポインタ制御を必要とせず、より簡易で効率的なメモリ制御の実装が可能となる。また、メモリポインタの位置を算出する際も、例えば、1/2倍の変化に限定されるためシフト演算で実行可能であり、演算コストが少ない。   In this moving picture predictive decoding method, since the memory pointer indicating the storage position of each reproduced image can be fixed at, for example, the position corresponding to the maximum frame size and half thereof, variable memory pointer control according to the frame size It is possible to implement simpler and more efficient memory control without the need for In addition, also when calculating the position of the memory pointer, it is possible to execute by shift operation because it is limited to, for example, 1/2 change, and the operation cost is small.

また、本発明に係る動画像予測復号プログラムは、動画像を構成する複数の画像に対し、画面内予測もしくは画面間予測のいずれかによって符号化され、対象画像フレームサイズ、再生画像を格納可能な最大枚数及び符号化設定として最大フレームサイズに関する情報を含む圧縮画像データを示す符号化データを入力する入力モジュールと、圧縮画像データと対象画像フレームサイズ、再生画像を格納可能な最大枚数及び最大フレームサイズに関する情報を示す圧縮画像データを復号し、再生画像と、対象画像フレームサイズ、再生画像を格納可能な最大枚数及び最大フレームサイズに関する情報とに復元する復号モジュールと、再生画像を、後続の画像を復号するために用いられる参照画像として1つ以上格納する画像格納モジュールと、を具備し、画像の最大フレームサイズに対して入力画像のフレームサイズが1/2倍以下の場合に、フレームメモリ内に格納可能な再生画像の最大枚数を2倍に決定することを特徴とする。   Further, the moving picture prediction decoding program according to the present invention can encode a plurality of images constituting the moving picture by either intra prediction or inter prediction and store the target image frame size and the reproduced image. Maximum number of sheets and input module for inputting encoded data indicating compressed image data including information on maximum frame size as encoding setting, compressed image data, target image frame size, maximum number of frames that can store reproduced image, and maximum frame size And a decoding module for decoding compressed image data indicating information related to the reproduced image, and information on a reproduced image and information on a target image frame size, a maximum number of reproduced images that can be stored, and a maximum frame size; An image storage module for storing one or more reference images used for decoding; Provided, when the frame size of the input image with respect to the maximum frame size of the image is 1/2 times or less, and determines the maximum number of storable reproduced image to twice in the frame memory.

当該動画像予測復号方法及び動画像予測復号プログラムは、上述の動画像予測復号装置と同様な効果を奏することができる。   The moving picture prediction decoding method and the moving picture prediction decoding program can achieve the same effect as the above-described moving picture prediction decoding apparatus.

301…入力端子、302…ブロック分割器、303…予測信号生成器、304…フレームメモリ、305…減算器、306…変換器、307…量子化器、308…逆量子化器、309…逆変換器、310…加算器、311…エントロピー符号化器、312…出力端子、313…入力端子、314…フレームメモリ管理器、401…入力端子、402…データ解析器、403…逆量子化器、404…逆変換器、405…加算器、406…出力端子、407…フレームメモリ、408…予測信号生成器、409…フレームメモリ管理器。   Reference numeral 301: input terminal, 302: block divider, 303: prediction signal generator, 304: frame memory, 305: subtractor, 306: converter, 307: quantizer, 308: inverse quantizer, 309: inverse transform , 310: an adder, 311: an entropy encoder, 312: an output terminal, 313: an input terminal, 314: a frame memory manager, 401: an input terminal, 402: a data analyzer, 403: an inverse quantizer, 404 ... inverse converter, 405 ... adder, 406 ... output terminal, 407 ... frame memory, 408 ... prediction signal generator, 409 ... frame memory manager.

Claims (4)

動画像予測復号装置によって実行される動画像予測復号方法であって、
動画像を構成する複数の画像に対し、画面内予測もしくは画面間予測のいずれかによって符号化され、対象画像フレームサイズ、再生画像を格納可能な最大枚数及び符号化設定として最大フレームサイズに関する情報を含む圧縮画像データを示す符号化データを入力する入力ステップと、
前記圧縮画像データと前記対象画像フレームサイズ、再生画像を格納可能な最大枚数及び前記最大フレームサイズに関する情報を示す圧縮画像データを復号し、再生画像と、前記対象画像フレームサイズ、再生画像を格納可能な最大枚数及び前記最大フレームサイズに関する情報とに復元する復号ステップと、
前記再生画像を、後続の画像を復号するために用いられる参照画像として1つ以上、画像格納手段によって格納する画像格納ステップと、を具備し、
画像の最大フレームサイズと入力画像のフレームサイズとの関係に基づいて、フレームメモリ内に格納可能な再生画像の最大枚数を所定の値の等倍、2倍又は4倍に決定することを特徴とする動画像予測復号方法。
A moving picture prediction decoding method performed by a moving picture prediction decoding apparatus, comprising:
Information on the maximum frame size is encoded as the target image frame size, the maximum number of images that can be stored in the reproduced image, and the encoding setting, with respect to a plurality of images constituting the moving image by either intra prediction or inter prediction. An input step of inputting encoded data indicating compressed image data to be included;
The compressed image data indicating the compressed image data, the target image frame size, the maximum number of reproduced images that can be stored, and information about the maximum frame size can be decoded, and the reproduced image, the target image frame size, and the reproduced image can be stored. A decoding step for restoring information on the maximum number of images and the maximum frame size;
An image storing step of storing the reproduced image by the image storing means one or more as a reference image used to decode a subsequent image;
The maximum number of reproduced images that can be stored in the frame memory is determined to be equal to, double or quadruple of a predetermined value based on the relationship between the maximum frame size of the image and the frame size of the input image. Moving picture predictive decoding method.
画像の最大フレームサイズに対して入力画像のフレームサイズが1/2倍以下の場合に、フレームメモリ内に格納可能な再生画像の最大枚数を所定の値の2倍に決定することを特徴とする請求項1に記載の動画像予測復号方法。 When the frame size of the input image is 1/2 or less of the maximum frame size of the image, the maximum number of reproduced images that can be stored in the frame memory is determined to be twice the predetermined value. A moving picture predictive decoding method according to claim 1. 画像の最大フレームサイズに対して入力画像のフレームサイズが1/4倍以下の場合に、フレームメモリ内に格納可能な再生画像の最大枚数を所定の値の4倍に決定することを特徴とする請求項1に記載の動画像予測復号方法。 The maximum number of reproduced images that can be stored in the frame memory is determined to be four times the predetermined value when the frame size of the input image is equal to or less than 1⁄4 of the maximum frame size of the image. A moving picture predictive decoding method according to claim 1. 動画像を構成する複数の画像に対し、画面内予測もしくは画面間予測のいずれかによって符号化され、対象画像フレームサイズ、再生画像を格納可能な最大枚数及び符号化設定として最大フレームサイズに関する情報を含む圧縮画像データを示す符号化データを入力する入力手段と、
前記圧縮画像データと前記対象画像フレームサイズ、再生画像を格納可能な最大枚数及び前記最大フレームサイズに関する情報を示す圧縮画像データを復号し、再生画像と、前記対象画像フレームサイズ、再生画像を格納可能な最大枚数及び前記最大フレームサイズに関する情報とに復元する復号手段と、
前記再生画像を、後続の画像を復号するために用いられる参照画像として1つ以上格納する画像格納手段と、を具備し、
画像の最大フレームサイズと入力画像のフレームサイズとの関係に基づいて、フレームメモリ内に格納可能な再生画像の最大枚数を所定の値の等倍、2倍又は4倍に決定することを特徴とする動画像予測復号装置。
Information on the maximum frame size is encoded as the target image frame size, the maximum number of images that can be stored in the reproduced image, and the encoding setting, with respect to a plurality of images constituting the moving image by either intra prediction or inter prediction. Input means for inputting encoded data indicating compressed image data to be included;
The compressed image data indicating the compressed image data, the target image frame size, the maximum number of reproduced images that can be stored, and information about the maximum frame size can be decoded, and the reproduced image, the target image frame size, and the reproduced image can be stored. Decoding means for restoring information on the maximum number of images and the maximum frame size;
Image storage means for storing the reproduced image as one or more reference images used to decode subsequent images;
The maximum number of reproduced images that can be stored in the frame memory is determined to be equal to, double or quadruple of a predetermined value based on the relationship between the maximum frame size of the image and the frame size of the input image. Moving picture prediction decoding device.
JP2016079540A 2016-04-12 2016-04-12 Moving picture predictive decoding method and moving picture predictive decoding apparatus Active JP6426648B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016079540A JP6426648B2 (en) 2016-04-12 2016-04-12 Moving picture predictive decoding method and moving picture predictive decoding apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016079540A JP6426648B2 (en) 2016-04-12 2016-04-12 Moving picture predictive decoding method and moving picture predictive decoding apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2012148310A Division JP5972687B2 (en) 2012-07-02 2012-07-02 Moving picture predictive coding apparatus, moving picture predictive coding method, moving picture predictive coding program, moving picture predictive decoding apparatus, moving picture predictive decoding method, and moving picture predictive decoding program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2018200969A Division JP6646125B2 (en) 2018-10-25 2018-10-25 Video prediction decoding method and video prediction decoding device

Publications (2)

Publication Number Publication Date
JP2016158282A JP2016158282A (en) 2016-09-01
JP6426648B2 true JP6426648B2 (en) 2018-11-21

Family

ID=56826765

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016079540A Active JP6426648B2 (en) 2016-04-12 2016-04-12 Moving picture predictive decoding method and moving picture predictive decoding apparatus

Country Status (1)

Country Link
JP (1) JP6426648B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6642720B2 (en) 2016-08-10 2020-02-12 日本電気株式会社 Wireless access network node, wireless terminal, and method
CN107734563B (en) 2016-08-12 2020-02-07 电信科学技术研究院 Method and device for processing QoS (quality of service) parameters in switching scene
US20220232256A1 (en) * 2021-01-08 2022-07-21 Lemon Inc. Video Decoder Initialization Information Signaling

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002218472A (en) * 2001-01-23 2002-08-02 Victor Co Of Japan Ltd Device and method for decoding variable image rate
JP2004274734A (en) * 2003-02-19 2004-09-30 Matsushita Electric Ind Co Ltd Picture decoding apparatus, picture encoding apparatus, and method thereof
JP2005234687A (en) * 2004-02-17 2005-09-02 Sony Corp Memory management method, image processor and memory management program

Also Published As

Publication number Publication date
JP2016158282A (en) 2016-09-01

Similar Documents

Publication Publication Date Title
RU2734616C1 (en) Prediction video decoding method and prediction video decoding device
JP6426648B2 (en) Moving picture predictive decoding method and moving picture predictive decoding apparatus
JP6875566B2 (en) Moving image prediction coding device, moving image prediction decoding device, moving image prediction coding method, moving image prediction decoding method and moving image prediction decoding program
JP5698644B2 (en) Video predictive encoding method, video predictive encoding device, video predictive encoding program, video predictive decoding method, video predictive decoding device, and video predictive decode program
JP6646125B2 (en) Video prediction decoding method and video prediction decoding device
JP5711417B2 (en) Video predictive encoding method, video predictive encoding device, video predictive encoding program, video predictive decoding method, video predictive decoding device, and video predictive decode program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170530

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170606

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170725

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180206

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20181025

R150 Certificate of patent or registration of utility model

Ref document number: 6426648

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250