JP5007759B2 - Encoding apparatus, encoding method, decoding apparatus, and decoding method - Google Patents
Encoding apparatus, encoding method, decoding apparatus, and decoding method Download PDFInfo
- Publication number
- JP5007759B2 JP5007759B2 JP2010156056A JP2010156056A JP5007759B2 JP 5007759 B2 JP5007759 B2 JP 5007759B2 JP 2010156056 A JP2010156056 A JP 2010156056A JP 2010156056 A JP2010156056 A JP 2010156056A JP 5007759 B2 JP5007759 B2 JP 5007759B2
- Authority
- JP
- Japan
- Prior art keywords
- encoding
- decoding
- information
- delay
- image information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
Description
本発明は符号化装置、符号化方法、復号化装置及び復号化方法に関し、例えば複数の単位画像情報が連続してなる画像情報(以下、これを連続画像情報と呼ぶ)を、衛星放送、ケーブルTV若しくはインターネット等のネットワークメディアを介して伝送する際に、又は光ディスク、磁気ディスク若しくはフラッシュメモリ等の記憶メディア上で処理する際に好適なものである。 The present invention relates to an encoding device, an encoding method, a decoding device, and a decoding method. For example, image information in which a plurality of unit image information is continuous (hereinafter referred to as continuous image information) is used for satellite broadcasting, cable, and the like. It is suitable for transmission via a network medium such as a TV or the Internet, or when processing on a storage medium such as an optical disk, a magnetic disk, or a flash memory.
近年、連続画像をデジタル情報として取り扱い、その際、効率の高い情報の伝送又は蓄積等を目的とし、当該連続画像情報特有の冗長性を利用して離散コサイン変換等の直交変換や動き補償を用いて符号化(圧縮)するMPEG(Moving Picture Experts Group)などの符号化方式に準拠した装置が、放送局や一般家庭等において普及しつつある。 In recent years, continuous images have been handled as digital information. At that time, orthogonal transform such as discrete cosine transform or motion compensation is used for the purpose of transmitting or storing information with high efficiency and using redundancy unique to the continuous image information. An apparatus conforming to an encoding method such as MPEG (Moving Picture Experts Group) that encodes (compresses) an image is becoming widespread in broadcasting stations and general households.
特に、MPEG2(ISO/IEC 13818-2)符号化方式は、汎用画像符号化方式として定義されており、飛び越し走査画像及び順次走査画像の双方、並びに標準解像度画像及び高精細画像を網羅するようになされており、プロフェッショナル用及びコンシューマー用途の広範なアプリケーションとして現在広く用いられている。このMPEG2符号化方式では、例えば720×480画素を持つ標準解像度の飛び越し走査画像であれば4〜8〔Mbps〕、1920×1088画素を持つ高解像度の飛び越し走査画像であれば18〜22〔Mbps〕の符号量(ビットレート)を割り当てることで、高い符号化効率(圧縮率)と良好な画質の実現が可能である。 In particular, the MPEG2 (ISO / IEC 13818-2) encoding method is defined as a general-purpose image encoding method, and covers both interlaced scanning images and progressive scanning images, and standard resolution images and high-definition images. It is now widely used as a wide range of professional and consumer applications. In this MPEG2 encoding method, for example, a standard resolution interlaced scan image having 720 × 480 pixels is 4 to 8 Mbps, and a high resolution interlaced scan image having 1920 × 1088 pixels is 18 to 22 Mbps. ] Can be realized with high encoding efficiency (compression rate) and good image quality.
かかるMPEG2符号化方式は、主として放送用に適合する高画質符号化を対象として用いられていたが、MPEG1符号化方式より低い符号量(ビットレート)、つまりより高い符号化効率の符号化方式には対応していなかった。今後このような符号化方式のニーズは、例えば携帯端末の普及等に伴って高まると思われ、これに対応してMPEG4符号化方式の標準化が行われた。そして画像に関するMPEG4符号化方式については、1998年12月にISO/IEC 14496-2 としてその規格が国際標準に承認された。 The MPEG2 encoding method has been used mainly for high-quality encoding suitable for broadcasting, but it has a lower code amount (bit rate) than the MPEG1 encoding method, that is, an encoding method with higher encoding efficiency. Did not correspond. In the future, the need for such an encoding method is expected to increase with the spread of mobile terminals, for example, and the MPEG4 encoding method has been standardized accordingly. As for the MPEG4 encoding method for images, the standard was approved as an international standard in December 1998 as ISO / IEC 14496-2.
さらに、近年、VCEG団体とMPEG団体とのジョイントビデオチームによってMPEG4AVCあるいはH.264と呼ばれる符号化方式(以下、これをJVT符号化方式と呼ぶ)が規格化された。このJVT符号化方式では、MPEG2やMPEG4等といった従来の符号化方式に比べ、その符号化又は復号化により多くの演算量が要求されるが、より高い符号化効率が実現されることが知られている。 Furthermore, in recent years, MPEG4AVC or H.264 has been developed by a joint video team between a VCEG organization and an MPEG organization. An encoding method called H.264 (hereinafter referred to as a JVT encoding method) has been standardized. In this JVT encoding system, a larger amount of calculation is required for encoding or decoding than conventional encoding systems such as MPEG2 and MPEG4, but it is known that higher encoding efficiency is realized. ing.
ここで、上述した各種符号化方式のいずれかに従って符号化処理を実行する符号化装置の概略構成を図8に示す。図8において、符号化装置100は、画像並べ替えバッファ102と、加算器103と、直交変換部104と、量子化部105と、可逆符号化部106と、蓄積バッファ107と、逆量子化部108と、逆直交変換部109と、フレームメモリ110と、動き予測・補償部111と、レート制御部112とによって構成される。
Here, FIG. 8 shows a schematic configuration of an encoding apparatus that executes an encoding process according to any of the various encoding methods described above. In FIG. 8, an
この場合、符号化装置100は、連続画像情報を画像並べ替えバッファ102に蓄積し、当該連続画像情報をGOP(Group of Pictures )構造に応じて単位画像情報(フレーム又はフィールドのデータ)ごとに並べ替えを行う。
In this case, the
ここで、画像並べ替えバッファ102は、連続画像情報のうちイントラ予測符号化を行うべき単位画像情報については、直交変換部104に供給する。直交変換部104は、この単位画像情報に対して離散コサイン変換又はカルーネン・レーベ変換等の直交変換処理を施し、得られた直交変換係数を量子化部105に供給する。
Here, the
量子化部105は、直交変換部104から供給された直交変換係数に対して、レート制御部112の制御に応じた量子化処理を施し、得られた量子化情報(量子化された直交変換係数)を可逆符号化部106及び逆量子化部108に供給する。可逆符号化部106は、量子化情報に対して可変長符号化あるいは算術符号化等の可逆符号化処理を施し、得られた符号化情報(符号化された量子化情報)を蓄積バッファ107に蓄積する。
The
逆量子化部108は、量子化情報に対して逆量子化処理を施し、得られた直交変換係数を逆直交変換部109に供給する。逆直交変換部109は、直交変換係数に対して逆直交変換処理を施し、得られた単位画像情報を参照画像情報として必要に応じてフレームメモリ110に蓄積する。
The
一方、画像並べ替えバッファ102は、連続画像情報のうちインター予測符号化を行うべき単位画像情報については、動き予測・補償部111に供給する。動き予測・補償部111は、この単位画像情報と、フレームメモリ110より取り出した参照画像情報とを用いて動き予測・補償処理を施し、得られた予測画像情報を加算器103に供給する。加算器103は、予測画像情報と対応する単位画像情報との差分を差分情報として直交変換部104に供給する。
On the other hand, the
この差分情報は、イントラ符号化の場合と同様にして各種処理が施され、この結果、符号化情報として蓄積バッファ107に蓄積されると共に、参照画像情報としてフレームメモリ110に必要に応じて蓄積される。
This difference information is subjected to various processes in the same manner as in the case of intra coding. As a result, the difference information is accumulated as coding information in the
また、動き補償・予測部111は、動き予測・補償処理を施すことにより予測画像情報と共に得られる動きベクトル情報を可逆符号化部106に供給する。可逆符号化部106は、動きベクトル情報に対して可逆符号化処理を施し、得られた符号化動きベクトル情報を対応する符号化情報のヘッダ部として生成する。
In addition, the motion compensation /
このようにして符号化装置100は、連続画像情報に対して符号化処理を実行することにより単位画像情報ごとに符号化情報を順次生成し、この後、当該符号化情報を蓄積バッファ107を介して順次出力するようになされている。
In this way, the
次に、かかる符号化装置100に対応する符号化方式に従って復号化処理を実行する復号化装置の概略構成を図9に示す。図9において、復号化装置120は、蓄積バッファ121と、可逆復号部122と、逆量子化部123と、逆直交変換部124と、加算器125と、画像並べ替えバッファ126と、動き予測・補償部127と、フレームメモリ128とによって構成される。
Next, FIG. 9 shows a schematic configuration of a decoding apparatus that executes a decoding process according to an encoding method corresponding to the
この場合、復号化装置120は、順次入力される符号化情報を蓄積バッファ121に一時的に格納した後に可逆復号部122に供給する。可逆復号部122は、イントラ予測符号化が行われた符号化情報である場合には、当該符号化情報に対して可変長復号又は算術復号等の復号化処理を施し、得られた量子化情報を逆量子化部123に供給する。
In this case, the
逆量子化部123は、可逆復号部122から供給された量子化情報に対して逆量子化処理を施し、得られた直交変換係数を逆直交変換部124に供給する。逆直交変換部124は、直交変換係数に対して逆直交変換処理を施して、符号化処理前の元の画像情報(以下、これを復元画像情報と呼ぶ)を生成し、これを画像並べ替えバッファ126に格納する。
The
一方、可逆復号部122は、インター予測符号化が行われた符号化情報である場合には、この符号化情報及び当該符号化情報のヘッダ部に挿入された符号化動きベクトル情報に対してそれぞれ復号化処理を施し、得られた量子化情報を逆量子化部123に供給すると共に、動きベクトル情報を動き予測・補償部127に供給する。この量子化情報は、イントラ符号化された符号化情報を復号化する場合と同様にして各種処理が施され、この結果、差分情報として加算器125に供給される。
On the other hand, when the
また、動き予測・補償部127は、動きベクトル情報とフレームメモリ128に格納された参照画像情報とに基づいて予測画像情報を生成し、これを加算器125に供給する。加算器125は、この参照画像情報と差分情報とを合成し、得られた復元画像情報を画像並べ替えバッファ126に格納する。
Further, the motion prediction /
このようにして復号化装置120は、順次入力される符号化情報に対して復号化処理を実行することにより復元画像情報を順次生成し、この後、当該復元画像情報を画像並べ替えバッファ126を介して例えば表示部(図示せず)に順次出力するようにして連続再生する。
In this way, the
ところでMPEG2符号化方式では、インター予測符号化対象として、I(Intra) ピクチャ及びP(Predictive)ピクチャのみを用いるよう規定されているため、復号化処理の際における復号化順が一義的に決まってくる。 By the way, in the MPEG2 encoding system, since it is defined that only I (Intra) picture and P (Predictive) picture are used as inter prediction encoding targets, the decoding order in the decoding process is uniquely determined. come.
従って、復号化装置120においては、かかるMPEG2符号化方式に準拠した各符号化情報に対して復号化処理を実行して生成した復元画像情報を連続再生する場合には、当該復元画像情報の出力時期を画像並べ替えバッファ126を介してあえて調整しなくても、当該各復元画像情報に基づく画像を適切に表示部に表示することができる。
Therefore, in the
これに対してJVT符号化方式では、インター予測符号化対象として、I及びPピクチャに加えてB(Bidirectional) ピクチャをも用いることができる等、MPEG2符号化方式に比して予測符号化対象として選択できるピクチャの選択自由度が多く規定されている。 On the other hand, in the JVT encoding method, a B (Bidirectional) picture can be used in addition to the I and P pictures as an inter prediction encoding target. Many degrees of freedom of selection of pictures that can be selected are defined.
しかしながらJVT符号化方式では、このような規定に伴って復号化処理の際における復号化順が一義的に決まらないにも係わらず、復元画像情報の出力時期については明確に規定していない。 However, in the JVT encoding method, the output timing of the restored image information is not clearly defined even though the decoding order in the decoding process is not uniquely determined in accordance with such a specification.
従って、復号化装置120は、かかるJVT符号化方式に準拠した各符号化情報に対して復号化処理を実行して生成した復元画像情報を連続再生すると、画像並べ替えバッファ126のリソースに制限があるので、ある符号化情報に対応する復元画像情報の出力時期であるにも係わらず当該符号化情報を未だ復号化中であるといった事態が発生し、この結果、当該連続性が途切れてしまうという問題があった。
Therefore, when the
本発明は、このような実状に鑑みてなされたものであり、復号化装置に連続再生させ得る符号化装置、符号化方法、復号化装置及び復号化方法を提供することを目的とする。 The present invention has been made in view of such a situation, and an object thereof is to provide an encoding device, an encoding method, a decoding device, and a decoding method that can be continuously reproduced by a decoding device.
かかる課題を解決するため本発明は、符号化装置であって、単位画像情報を符号化処理して符号化情報を生成する符号化手段と、単位画像情報を含む複数単位画像情報に対してそれぞれ符号化処理を実行してから符号化情報を出力するまでのエンコードディレイのうちの最大値を基準にして当該最大値から、単位画像情報に対して符号化処理を実行してから符号化情報を出力するまでのエンコードディレイを減算することにより、符号化情報を復号処理してから当該復号処理により生成される復号画像情報を出力するまでのデコードディレイを算出する算出手段と、算出手段により算出されるデコードディレイをデコードディレイ情報として、符号化手段により生成される符号化情報とともに伝送する伝送手段とを有する。 In order to solve such a problem, the present invention is an encoding device, which is an encoding unit that encodes unit image information to generate encoded information, and a plurality of unit image information including unit image information. from the maximum value based on the maximum value of the encoding delay from running encoding process to the output of the encoded information, the encoded information from the executing encoding processing with respect to the unit image information by subtracting the encoding delay until the output, and calculating means for calculating a decode delay from when decoding the encoded information to the output of the decoded image information generated by the decoding process, calculated by the calculation means Transmission means for transmitting the decoding delay as decoding delay information together with the encoded information generated by the encoding means.
また本発明は、符号化方法であって、単位画像情報を符号化処理して符号化情報を生成する符号化ステップと、単位画像情報を含む複数単位画像情報に対してそれぞれ符号化処理を実行してから符号化情報を出力するまでのエンコードディレイのうちの最大値を基準にして当該最大値から、単位画像情報に対して符号化処理を実行してから符号化情報を出力するまでのエンコードディレイを減算することにより、符号化情報を復号処理してから当該復号処理により生成される復号画像情報を出力するまでのデコードディレイを算出する算出ステップと、算出ステップで算出されるデコードディレイをデコードディレイ情報として、符号化手段により生成される符号化情報とともに伝送する伝送ステップとを有する。 The present invention relates to a coding method, execution and encoding step of the unit image information by encoding processing to generate encoded information, each coding on multiple unit image information including the unit image information encoding from to from the maximum value based on the maximum value of the encoding delay before outputting the encoded information, perform the encoding process to the output of the encoded information to the unit image information decoded by subtracting the delay, a calculation step of calculating a decode delay from when decoding the encoded information to the output of the decoded image information generated by the decoding process, the decoding delay that is calculated by the calculation step A transmission step of transmitting together with the encoded information generated by the encoding means as the delay information.
また本発明は、復号化装置であって、単位画像情報が符号化処理された符号化情報と、単位画像情報を含む複数単位画像情報に対してそれぞれ符号化処理を実行してから符号化情報を出力するまでのエンコードディレイのうちの最大値を基準にして当該最大値から、単位画像情報に対して符号化処理を実行してから符号化情報を出力するまでのエンコードディレイを減算することによって得られる、符号化情報を復号処理してから当該復号処理により生成される復号画像情報を出力するまでのデコードディレイを示すデコードディレイ情報とを受け取る受取手段と、受取手段により受け取られるデコードディレイ情報を用いて、符号化情報を復号処理して復号画像情報を生成する復号手段とを有する。 The present invention also relates to a decoding apparatus, coded information from running the encoded information unit image information is processed coded, each coding on multiple unit image information including the unit image information from the maximum value based on the maximum value of the encoding delay until the output by subtracting the encoding delay from running encoding process to the output of the encoded information to the unit image information obtained, and receiving means for receiving and decoding delay information indicating the decode delay from when decoding the encoded information to the output of the decoded image information generated by the decoding process, the decoding delay information received by the receiving means And decoding means for decoding the encoded information and generating decoded image information.
また本発明は、復号化方法であって、単位画像情報が符号化処理された符号化情報と、単位画像情報を含む複数単位画像情報に対してそれぞれ符号化処理を実行してから符号化情報を出力するまでのエンコードディレイのうちの最大値を基準にして当該最大値から、単位画像情報に対して符号化処理を実行してから符号化情報を出力するまでのエンコードディレイを減算することによって得られる、符号化情報を復号処理してから当該復号処理により生成される復号画像情報を出力するまでのデコードディレイを示すデコードディレイ情報とを受け取る受取ステップと、受取ステップで受け取られるデコードディレイ情報を用いて、符号化情報を復号処理して復号画像情報を生成する復号ステップとを有する。 The present invention relates to a decoding method, encoding information from running the encoded information unit image information is processed coded, each coding on multiple unit image information including the unit image information from the maximum value based on the maximum value of the encoding delay until the output by subtracting the encoding delay from running encoding process to the output of the encoded information to the unit image information obtained, a receiving step of receiving the decode delay information indicating the decode delay from when decoding the encoded information to the output of the decoded image information generated by the decoding process, the decoding delay information received by the receiving step And a decoding step of decoding the encoded information to generate decoded image information.
本発明によれば、復号化側での復号化処理に最も時間を費やす単位画像情報を基準に、符号化処理結果として生成される符号化情報が復号化側で順次復号化されることを見越して、復号化処理の開始時期から出力時期までに要すべき期間が算出されるため、ほぼ確実にアンダーフローを発生することなく、各単位画像情報を連続再生させることができる。 According to the present invention, it is anticipated that encoded information generated as a result of the encoding process is sequentially decoded on the decoding side based on unit image information that spends the most time on the decoding process on the decoding side. Thus, since the time period required from the start time of the decoding process to the output time is calculated, each unit image information can be continuously reproduced without causing an underflow almost certainly.
以下図面について、本発明の一実施の形態を詳述する。 Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.
<実施例1>
(1)画像再生システム1の構成
図1において、1は全体として第1の実施の形態による画像再生システムを示し、JVT符号化方式に準拠した符号化装置2及び復号化装置3を所定の伝送路を介して互いに接続することにより構成される。
<Example 1>
(1) Configuration of
符号化装置2は、図8で上述した符号化装置100と同一構成でなる符号化部10と、この符号化部10の制御を司る符号制御部11とを有しており、外部から供給された又は内部のHDD(Hard Disk Drive) 等の記録媒体(図示せず)から読み出した連続画像情報D1に対して、当該符号制御部11に制御される符号化部10を介して、図8で上述した場合と同様にして符号化処理を実行することにより単位画像情報(フレーム又はフィールドのデータ)D1a〜D1nごとに符号化情報D2(D2a、D2b、……又はD2n)を順次生成し、この後、当該符号化情報D2を順次出力する。
The
一方、復号化装置3は、図9で上述した復号化装置120と同一構成でなる復号化部20と、この復号化部20の制御を司る復号制御部21とを有しており、伝送路を介して順次入力される符号化情報D2に対して、当該復号制御部21に制御される復号化部20を介して、図9で上述した場合と同様にして復号化処理を実行することにより復元画像情報D3(D3a、D3b、……又はD3n)を順次生成し、この後、当該復元画像情報D3を表示部(図示せず)に順次出力するようにして連続再生する。
On the other hand, the decoding device 3 includes a
(2)符号制御部11の構成
この符号化装置2の符号制御部11は、予め内部に格納されたJVT符号化方式に準拠したプログラムやテーブル情報等に基づいて、符号化部10に入力された連続画像情報D1に対するGOP構造や、符号化順等の符号化処理に関する条件(以下、これを符号化条件と呼ぶ)を決定し、この符号化条件に従って符号化部10を制御する。
(2) Configuration of Code Control Unit 11 The code control unit 11 of the
かかる構成に加えて、この符号制御部11においては、符号化情報D2が復号化側(復号化装置3)で順次復号化されることを見越して、当該符号化情報D2の復号結果である復元画像情報D3の出力時期を算出し、この出力時期を、当該復元画像情報D3を生成する前の復号化装置3に通知する出力時期通知処理を実行するようになされている。 In addition to this configuration, the code control unit 11 anticipates that the encoded information D2 is sequentially decoded on the decoding side (decoding device 3), and restores the decoding result of the encoded information D2. The output timing of the image information D3 is calculated, and an output timing notification process for notifying this output timing to the decoding device 3 before generating the restored image information D3 is executed.
ここで、符号制御部11における出力時期通知処理の処理内容を機能的に分類すると、例えば図2に示すように、符号化情報D2に対する復号化処理を実行し始めてから、当該処理により生成された復号画像情報D3を出力するまでの期間(以下、これをデコードディレイと呼ぶ)を算出するディレイ算出部11aと、当該デコードディレイを対応する符号化情報D2のヘッダとして付加するヘッダ付加部11bとに分類することができる。これらディレイ算出部11a及びヘッダ付加部の処理について、図3に示す例を用いて具体的に説明する。
Here, when the processing contents of the output timing notification process in the code control unit 11 are functionally classified, for example, as shown in FIG. 2, the decoding process for the encoded information D2 is started and then generated by the process. A
この図3において、「EI(Encoder Input) 」の欄は、符号化部10に入力される各単位画像情報D1a〜D1nを、GOP構造に応じて割り当てられたピクチャタイプで表しており、即ち符号化処理前のピクチャタイプの順序を示している。「EO(Encoder Output)」の欄は、符号化部10に入力された各単位画像情報D1a〜D1nに対して所定の符号化順に従って符号化処理を実行した結果生成される符号化情報D2a〜D2nのピクチャタイプを表しており、即ち符号化処理後のピクチャタイプの順序を示している。
In FIG. 3, the column “EI (Encoder Input)” represents the unit image information D1a to D1n input to the
「Ed(Encoder Delay) 」の欄は、単位画像情報D1a、D1b、……又はD1nに対して符号化処理を実行し始めてから、当該処理により生成された符号化情報D2を出力するまでの期間(以下、これをエンコードディレイと呼ぶ)をそれぞれ示しており、符号化条件に基づいて算出される。このエンコードディレイ(「Ed」の欄)に基づいて、符号化情報D2a〜D2n(「EO」の欄)の出力時期が必要に応じて調整される。具体的に例えば、Iピクチャタイプである最初の単位画像情報D1a(「EI」欄における「I00」)については、入力されたとき(t=0)から、符号化情報D2a(「EO」欄における「I00」)として生成されたときまでの期間が対応するエンコードディレイ(「Ed」欄における「6」[秒])に満たない場合には、符号化部10の蓄積バッファ107(図8)への蓄積により調整され、当該エンコードディレイの経過(t=6)と同時期に出力される。
The column “Ed (Encoder Delay)” is a period from the start of executing the encoding process to the unit image information D1a, D1b,..., Or D1n until the output of the encoded information D2 generated by the process. (Hereinafter referred to as “encode delay”), which are calculated based on encoding conditions. Based on this encoding delay ("Ed" field), the output timing of the encoded information D2a to D2n ("EO" field) is adjusted as necessary. Specifically, for example, for the first unit image information D1a (“I00” in the “EI” field) that is an I picture type, the encoded information D2a (in the “EO” field) from the time when it is input (t = 0). If the period until it is generated as “I00”) is less than the corresponding encoding delay (“6” [seconds] in the “Ed” column), the storage buffer 107 (FIG. 8) of the
ディレイ算出部11aは、かかるエンコードディレイに基づいて、各符号化情報D2に対するデコードディレイ(「Dd(Decoder Delay) 」の欄)を算出するようになされており、当該エンコードディレイ(「Ed」の欄)のうち、最大のエンコードディレイ(10[ 秒] )となる符号化情報D2(「B13 」)に対するデコードディレイが最小(0[ 秒] )となるように、各符号化情報D2a〜D2nのデコードディレイを算出する。
The
具体的にはディレイ算出部11aは、エンコードディレイの最大値が10[ 秒] であるため、この10[ 秒] から各々の符号化情報D2a〜D2nに対応するエンコードディレイの値を減算することにより、当該符号化情報D2a〜D2nに対するデコードディレイの値(「Dd」の欄の各項の値)を算出する。
Specifically, since the maximum value of the encode delay is 10 [seconds], the
そしてディレイ算出部11aは、このようにして算出した各デコードディレイをデコードディレイ情報D10として生成し、これをヘッダ付加部11bに送出するようになされている。
The
ヘッダ付加部11bは、ディレイ算出部11aから供給されるデコードディレイ情報D10に基づいて、符号化部10において順次符号化情報D2が生成されるごとに、対応するデコードディレイをヘッダとして置換することにより当該符号化情報D2に付加する。
The
この場合、かかるデコードディレイがヘッダとして付加された例えば符号化情報D2a(「EO」欄における「I00 」)は、エンコードディレイの経過と同時期に出力され、伝送路を介して復号化装置3に入力される。なお、図3では、説明の便宜上、符号化装置2と復号化装置3との間における伝送路の伝送時間等については考慮せず、復号化装置3における符号化情報D2の入力時期は、符号化部10からの符号化情報D2の出力時期(「EO」の欄)と同等とみなしている。
In this case, for example, the encoded information D2a (“I00” in the “EO” column) to which the decoding delay is added as a header is output at the same time as the encoding delay elapses, and is transmitted to the decoding device 3 via the transmission path. Entered. In FIG. 3, for convenience of explanation, the transmission time of the transmission path between the
そして復号化装置3では、この符号化情報D2のデコードディレイに基づいて、当該符号化情報D2の復号結果である復元画像情報D3の出力時期が調整される。即ち、例えば最初の符号化情報D2aのデコードディレイ(「Dd」欄における4 [秒] )は、復号化装置3において、当該符号化情報D2aに付加されたヘッダに基づいて当該符号化情報D2aの復号化処理前に復号制御部21により認識される。この後、符号化情報D2aは、復号化部20において復元画像情報D3aとして生成され、このとき入力時(t=6)からの経過期間が対応するエンコードディレイ(4[ 秒] )に満たない場合には、画像並べ替えバッファ126(図9)への蓄積により必要に応じて調整され、当該デコードディレイの経過(4 [秒](t=10))と同時期に出力するようにして表示部に表示される。
The decoding device 3 adjusts the output timing of the restored image information D3, which is the decoding result of the encoded information D2, based on the decoding delay of the encoded information D2. That is, for example, the decoding delay of the first encoded information D2a (4 [seconds] in the “Dd” column) is determined by the decoding device 3 based on the header added to the encoded information D2a. It is recognized by the
また残りの符号化情報D2b〜D2nについても、符号化情報D2aと同様にして、復号化部20において復元画像情報D3b〜D3nとして生成され、これら復元画像情報D3b〜D3nは、必要に応じて、画像並べ替えバッファ126(図9)において符号化処理前と同じピクチャタイプの順序(「DO(Decoder Output)」の欄)に並び替えられると共に、対応するエンコードディレイに基づいて出力時期が調整された後に出力され、この結果、連続再生されることとなる。
Further, the remaining encoded information D2b to D2n is generated as restored image information D3b to D3n in the
このようにして符号制御部11は、出力時期通知処理を実行することにより、符号化情報D2が復号化装置3で復号化されたことを想定したデコードディレイをヘッダを介して復号化装置3に事前に認識させることができるようになされている。 In this way, the code control unit 11 executes the output time notification process, thereby causing the decoding device 3 to transmit a decoding delay assuming that the encoded information D2 is decoded by the decoding device 3 via the header. It is designed to be recognized in advance.
ここで、上述したような出力時期通知処理は、図4に示す出力時期通知処理手順RT1に従って順次実行される。 Here, the output timing notification processing as described above is sequentially executed according to the output timing notification processing procedure RT1 shown in FIG.
すなわち、符号制御部11は、例えば符号化処理を実行するための所定の操作が入力部(図示せず)を介して行われると、この出力時期通知処理手順RT1をステップSP0から開始し、続くステップSP1において符号化条件に基づいて算出されたエンコードディレイのなかから最大のエンコードディレイを認識する(図3において「Ed」欄の10 [秒] に相当)。 That is, for example, when a predetermined operation for executing an encoding process is performed via an input unit (not shown), the code control unit 11 starts this output timing notification processing procedure RT1 from step SP0 and continues. The maximum encoding delay is recognized from the encoding delays calculated based on the encoding condition in step SP1 (corresponding to 10 [seconds] in the “Ed” column in FIG. 3).
そして符号制御部11は、ステップSP2において符号化部10内の可逆符号化部106(図8)に存在する例えば符号化情報D2aを蓄積バッファ107(図8)に取り込み、ステップSP3において当該取り込みが成功したか否かを判定し、否定結果が得られた場合には、ステップSP2に戻って再度符号化情報D2aを取り込む。
In step SP2, the code control unit 11 loads, for example, the encoded information D2a existing in the lossless encoding unit 106 (FIG. 8) in the
これに対して符号制御部11は、ステップSP2で肯定結果が得られた場合には、続くステップSP3において、ステップSP1で認識したエンコードディレイから、ステップSP2で取り込んだ符号化情報D2aに対するエンコードディレイ(図3において「Ed」欄の6 [秒] に相当)を減算することにより、当該符号化情報D2aに対するデコードディレイ(「Dd」欄の4 [秒] に相当)を算出し、ステップSP4において当該算出したデコードディレイを当該符号化情報D2aにヘッダとして付加する。 On the other hand, if a positive result is obtained in step SP2, the code control unit 11 performs encoding delay (step S3) from the encoding delay recognized in step SP1 to the encoded information D2a fetched in step SP2. In FIG. 3, the decoding delay (corresponding to 4 [seconds] in the “Dd” column) for the encoded information D2a is calculated by subtracting 6 [seconds] in the “Ed” column. The calculated decoding delay is added to the encoded information D2a as a header.
そして符号制御部11は、ステップSP5において全ての符号化情報D2を蓄積バッファ107(図8)に取り込んだか否かを判定し、否定結果が得られた場合には、ステップSP2に戻って上述の処理を繰り返し、これに対して肯定結果が得られた場合には、続くステップSP6に移って、この出力時期通知処理手順RT1を終了する。 Then, the code control unit 11 determines whether or not all the encoded information D2 has been taken into the accumulation buffer 107 (FIG. 8) in step SP5. If a negative result is obtained, the code control unit 11 returns to step SP2 and returns to the above-described case. When the process is repeated and a positive result is obtained, the process proceeds to the subsequent step SP6, and this output timing notification processing procedure RT1 is terminated.
このようにして符号制御部11は、出力時期通知処理手順RT1に従って出力時期通知処理を実行することができるようになされている。 In this manner, the code control unit 11 can execute the output timing notification process according to the output timing notification processing procedure RT1.
以上の構成において、この符号化装置2においては、JVT符号化方式に従って符号化処理された結果得られる符号化情報D2が復号化装置3側で復号化されることを見越して、当該符号化情報D2の復号結果(各復元画像情報D3)に対する出力時期(デコードディレイ)を算出し、当該算出した出力時期をヘッダとして付加するようにした。
In the above configuration, the
従って、この符号化装置2では、符号化情報D2が復号化装置3で復号化されたことを想定したデコードディレイをヘッダを介して復号化処理前の復号化装置3に認識させることができるため、復号化順が一義的に決まらないJVT符号化方式に従って符号化された符号化情報D2であっても、復元画像情報D3における出力の連続性を確保することができる。
Therefore, in this
この場合、符号化装置2においては、符号化処理を実行し始めてから、符号化情報D2を出力するまでの期間(エンコードディレイ)のうち、最大の期間となる符号化情報D2(図3中「B13」)の復号結果が直ちに出力されるように、各復元画像情報D3に対する出力時期(デコードディレイ)を算出するようにした。
In this case, in the
従って、この符号化装置2では、復号化側での復号化処理に最も時間を費やす符号化情報D2に対する復号化側での出力時期(エンコードディレイ)を基準に、各符号化情報D2の復号結果(各復元画像情報D3)に対する出力時期(デコードディレイ)を算出することができるため、復号化装置3での復号化中のを出力時期を振り分ける(相殺する)ようにしてほぼ確実にアンダーフローを発生することなく調整することができる。
Therefore, in this
以上の構成によれば、JVT符号化方式に従って符号化処理された結果得られる符号化情報D2が復号化装置3側で復号化されることを見越して、当該符号化情報D2が復号化された際の各復元画像情報D3に対する出力時期(デコードディレイ)を算出し、当該算出した出力時期をヘッダとして付加するようにしたことにより、復号化順が一義的に決まらないJVT符号化方式に従って符号化された符号化情報D2であっても復元画像情報D3における出力の連続性を確保することができ、かくして、復号化装置3に連続再生させることができる。 According to the above configuration, the encoded information D2 is decoded in anticipation that the encoded information D2 obtained as a result of the encoding process according to the JVT encoding method is decoded on the decoding device 3 side. The output time (decode delay) for each restored image information D3 at the time is calculated, and the calculated output time is added as a header, so that the decoding order is not uniquely determined and the encoding is performed according to the JVT encoding method. Even in the encoded information D2, the continuity of output in the restored image information D3 can be ensured, and thus the decoding device 3 can continuously reproduce.
(3)他の実施の形態
なお上述の第1の実施の形態においては、JVT符号化方式を適用するようにした場合について述べたが、本発明はこれに限らず、少なくともBピクチャを予測符号化対象として用いることができるよう規定されたこの他種々の符号化方式を適用することができる。
(3) Other Embodiments In the above-described first embodiment, the case where the JVT coding system is applied has been described. However, the present invention is not limited to this, and at least a B picture is predicted. Various other encoding schemes that are defined so as to be used as a conversion target can be applied.
また上述の第1の実施の形態においては、符号化処理を実行した結果生成される複数の符号化情報D2が復号化側で順次復号化されることを見越して、当該符号化情報の復号結果に対する出力時期を算出する時期算出手段として、エンコードディレイのうち、最大のエンコードディレイとなる符号化情報D2の復号結果が直ちに出力されるように、符号化情報の復号結果に対するデコードディレイを算出するようにした場合について述べたが、本発明はこれに限らず、当該デコードディレイに代えて当該符号化情報の復号結果を生成してから出力時期までの期間を算出したり、あるいは復号化側のバッファに蓄積される情報量の占有率を想定した計算結果に基づいて当該符号化情報の復号結果に対するディコードディレイを算出するようにしても良い。かかる計算結果に基づいて出力時期を算出すれば、復号化側に連続再生を確実にさせるような出力時期を算出することができる。 In the first embodiment described above, the decoding result of the encoded information in anticipation that a plurality of pieces of encoded information D2 generated as a result of executing the encoding process are sequentially decoded on the decoding side. As a timing calculation means for calculating the output timing for the encoding information, the decoding delay for the decoding result of the encoding information is calculated so that the decoding result of the encoding information D2 that becomes the maximum encoding delay among the encoding delays is immediately output. However, the present invention is not limited to this, and instead of the decoding delay, the period from the generation of the decoding result of the encoded information to the output timing is calculated, or the buffer on the decoding side The decoding delay for the decoding result of the encoded information is calculated based on the calculation result assuming the occupation rate of the information amount stored in It may be. If the output time is calculated based on the calculation result, it is possible to calculate the output time so that the decoding side surely performs continuous reproduction.
さらに上述の第1の実施の形態においては、対応する符号化情報の復号結果が得られる前に復号化側に出力時期を通知する時期通知手段として、ディレイ算出部11aから供給されるデコードディレイ情報D10に基づいて、当該出力時期(デコードディレイ)をヘッダとして対応する符号化情報D2に付加するようにした場合について述べたが、本発明はこれに限らず、例えばヘッダとして付加することなくデコードディレイ情報D10を符号化処理前に直接復号化側に出力するようにしても良い。
Further, in the above-described first embodiment, the decoding delay information supplied from the
<実施例2>
(1)画像再生システム51の構成
図1との対応部分に同一符号を付して示す図5において、51は全体として第2の実施の形態による画像再生システムを示し、JVT符号化方式に準拠した符号化装置52及び復号化装置53を所定の伝送路を介して互いに接続することにより構成される。
<Example 2>
(1) Configuration of Image Reproduction System 51 In FIG. 5, in which parts corresponding to those in FIG. 1 are assigned the same reference numerals, 51 denotes an image reproduction system according to the second embodiment as a whole, which conforms to the JVT encoding method. The encoding device 52 and the decoding device 53 are connected to each other via a predetermined transmission path.
符号化装置52は、符号化部10と、この符号化部10の制御を司る符号制御部61とを有しており、当該符号制御部61は、上述した出力時期通知処理を実行しないが、その他については上述の第1の実施の形態の場合と同様である。この場合、符号化装置52は、連続画像情報D1に対して、符号制御部61に制御される符号化部10を介して符号化処理を実行することにより、デコードディレイがヘッダとして付加されていない符号化情報D2を順次生成し、この後、当該符号化情報D2を順次出力する。
The encoding device 52 includes an
一方、復号化装置53は、復号化部20と、この復号化部20の制御を司る復号制御部71とを有しており、伝送路を介して順次入力される符号化情報D2に対して、当該復号制御部71に制御される復号化部20を介して復号化処理を実行することにより復元画像情報D3を順次生成し、この後、当該復元画像情報D3を表示部(図示せず)に順次出力するようにして連続再生する。
On the other hand, the decoding device 53 includes a
(2)復号制御部71の構成
実際上、この復号化装置53の復号制御部71は、順次入力される符号化情報D2を復号化部20内の蓄積バッファ121(図9)に一時的に蓄積し、当該符号化情報D2に含まれるヘッダ等に基づいて、当該符号化情報D2の復号化処理順や、復号化処理の開始時期等の復号化に関する条件(以下、これを復号化条件と呼ぶ)を把握し、この復号化条件に従って復号化部20を制御する。
(2) Configuration of
かかる構成に加えて復号制御部71は、復号化処理された後に画像並べ替えバッファ126(図9)に蓄積される復元画像情報D3の蓄積状態を監視し、当該蓄積状態として破綻(アンダーフロー)を検出したとき、当該検出(破綻)時の直前に出力した復元画像情報D3を再出力する再出力制御処理を実行するようになされている。この再出力制御処理について、図6に示す例を用いて具体的に説明する。
In addition to this configuration, the
この図6では、図3と同様に、「EI」の欄は符号化処理前のピクチャタイプの順序、「EO」の欄は符号化処理後のピクチャタイプの順序、「DO」は復号化後のピクチャタイプの順序、「Ed」の欄はエンコードディレイ、「Dd」の欄はデコードディレイをそれぞれ示している。またこの図6では、図3と同様に、符号化装置52と復号化装置53との間における伝送路の伝送時間等については考慮せず、復号化装置53における符号化情報D2の入力時期は、符号化部10からの符号化情報D2の出力時期(「EO」の欄)と同等とみなしている。 In FIG. 6, as in FIG. 3, the “EI” field indicates the order of picture types before the encoding process, the “EO” field indicates the order of picture types after the encoding process, and “DO” indicates after decoding. The “Ed” column indicates the encoding delay, and the “Dd” column indicates the decoding delay. In FIG. 6, as in FIG. 3, the transmission time of the transmission path between the encoding device 52 and the decoding device 53 is not considered, and the input timing of the encoded information D2 in the decoding device 53 is The output timing of the encoded information D2 from the encoding unit 10 (the column “EO”) is regarded as equivalent.
そして「Sud(Start-up delay)」の欄は、各符号化情報D2を入力してから復号化処理を開始し始めるまでの期間(以下、これをスタートアップディレイと呼ぶ)を示しており、このスタートアップディレイは、符号化装置52において、符号化条件に基づいて符号制御部61により算出され、ヘッダとして付加されるようになされている。
The column “Sud (Start-up delay)” indicates a period (hereinafter referred to as a start-up delay) from when each piece of encoded information D2 is input to when the decoding process starts. The startup delay is calculated by the
復号制御部71は、まず最初の符号化情報D2aを入力すると(「EO」の欄における「I00 」)、当該符号化情報D2aに対するスタートアップディレイ(「Sud」の欄における「6」[ 秒] )に従わず、当該符号化情報D2aを直ちに可逆符号化部122に送出して復号化処理を開始するように制御する(「Dd」の欄における「0」[秒] )。この結果、復号制御部71は、連続再生する際の準備期間(起動時間)を短縮することができるようになされている。
When the
この場合、復号制御部71においては、かかる制御により生じた本来開始すべき復号処理開始時期との間のずれ期間(調整しなければならない遅延量であり、具体的に図6では6[ 秒] である。以下、当該期間を調整分遅延量と呼ぶ)が発生するので、この調整分遅延量について、符号化情報D2aの復号化処理結果である復元画像情報D3aを画像並べ替えバッファ126を介して出力した後に再出力(「DO」欄における「t=8」の項に相当)することにより、当該調整分遅延量の一部(「Dd」欄における「t=8」の「2」[ 秒」に相当)を相殺する。
In this case, in the
そして復号制御部71は、符号化情報D2aに続いて順次入力される符号化情報D2b、D2c……(「EO」欄における「P01 」、「P02 」……)をスタートアップディレイに従って復号化処理を実行させ、当該復号化処理後に画像並べ替えバッファ126(図9)に蓄積される復元画像情報D3b、D3c……(「DO」欄における「P01 」、「P02 」……)の蓄積状態を監視する。
The
この状態において復号制御部71は、画像並べ替えバッファ126に蓄積される復元画像情報D3が破綻(アンダーフロー)するごとに(図6では「t=18」及び「t=30」)、当該破綻時直前に出力した復元画像情報D3(「DO」欄における「P05 」及び「P10 」)を再出力することにより、残りの調整分遅延量を定期的に相殺する。
In this state, every time the restored image information D3 stored in the
このようにして復号制御部71は、再出力制御処理を実行することにより、復元画像情報D3における出力の連続性を確保することができるようになされている。
In this way, the
ここで、上述したような出力時期通知処理は、図7に示す再出力制御処理手順RT2に従って順次実行される。 Here, the output timing notification process as described above is sequentially executed according to the re-output control process procedure RT2 shown in FIG.
すなわち、復号制御部71は、例えば復号化処理を実行するための所定の操作が入力部(図示せず)を介して行われると、この再出力制御処理手順RT2をステップSP10から開始し、続くステップSP11において最初の符号化情報D2aの入力を待ち受け、当該符号化情報D2aが入力された場合には、ステップSP12に移る。
That is, for example, when a predetermined operation for executing a decoding process is performed via an input unit (not shown), the
そして復号制御部71は、このステップSP12において符号化情報D2aに対するスタートアップディレイに従わず直ちに復号化処理を開始させ、続くステップSP13において当該復号化処理結果である復元画像情報D3aを出力させた後に、ステップSP14において当該復元画像情報D3aを再出力させて調整分遅延量の一部を相殺する。
In step SP12, the
続いて復号制御部71は、ステップSP15において次の復元画像情報D2(D2b、D2c、……D2n)の復号化処理を開始させて当該処理により得られる復元画像情報D3(D3b、D3c、……D3n)を出力させ、続くステップSP16において画像並べ替えバッファ126(図9)に蓄積される復元画像情報D3が破綻したか否かを判定し、否定結果が得られた場合、ステップSP15に戻って上述の処理を繰り返す。
Subsequently, in step SP15, the
これに対して肯定結果が得られた場合、復号制御部71は、続くステップSP17において、ステップSP15で出力した復元画像情報D3(「DO」欄における「P05 」及び「P10 」)を再出力することにより、残りの調整分遅延量の一部(又は全部)を相殺し、続くステップSP18に移る。
On the other hand, when a positive result is obtained, the
そして復号制御部71は、このステップSP18において調整分遅延量が全て相殺されたか否かを判定し、否定結果が得られた場合には、ステップSP15に戻って上述の処理を繰り返し、これに対して肯定結果が得られた場合には、続くステップSP19に移って、この再出力制御処理手順RT2を終了する。
Then, the
このようにして符号制御部11は、再出力制御処理手順RT2に従って再出力制御処理を実行することができるようになされている。 In this way, the code control unit 11 can execute the re-output control process according to the re-output control process procedure RT2.
以上の構成において、この復号化装置53は、JVT符号化方式に従って符号化された符号化情報D2に対して復号化処理を実行した結果順次生成される復元画像情報D3を画像並べ替えバッファ126(図9)に一時的に蓄積し、当該画像並べ替えバッファ126(図9)に蓄積される復元画像情報D3が破綻した場合に、当該破綻時の直前に出力した復元画像情報D3を再出力するようにした。 In the above configuration, the decoding device 53 uses the image rearrangement buffer 126 (the reordered image information D3 sequentially generated as a result of executing the decoding process on the encoded information D2 encoded according to the JVT encoding method. When the restored image information D3 stored temporarily in FIG. 9) and accumulated in the image rearrangement buffer 126 (FIG. 9) fails, the restored image information D3 output immediately before the failure is re-output. I did it.
従って、この復号化装置53では、復号化順が一義的に決まらないJVT符号化方式に従って符号化された符号化情報D2であっても、復元画像情報D3における出力の連続性を確保することができる。 Therefore, the decoding apparatus 53 can ensure the continuity of the output in the restored image information D3 even if the encoded information D2 is encoded according to the JVT encoding method in which the decoding order is not uniquely determined. it can.
この場合、復号化装置53は、蓄積バッファ121(図9)に蓄積した最初の符号化情報D2aに定められた復号化開始時期(スタートアップディレイ)に従わず、当該符号化情報D2aを直ちに復号化を開始させ、これにより生じた復号化開始時期とのずれ期間(調整分遅延量)を、画像並べ替えバッファ126(図9)に蓄積される復元画像情報D3が破綻した場合に、当該破綻時の直前に出力した復元画像情報を再出力することにより相殺するようにした。 In this case, the decoding device 53 does not follow the decoding start time (startup delay) defined in the first encoded information D2a stored in the storage buffer 121 (FIG. 9), and immediately decodes the encoded information D2a. When the restored image information D3 stored in the image rearrangement buffer 126 (FIG. 9) fails, the time difference (delay amount for adjustment) generated from the decoding start time caused by this The reconstructed image information output immediately before is canceled by re-outputting.
従って、この復号化装置53では、連続再生する際の準備期間(起動時間)を短縮できると共に、当該短縮により生じたずれ期間(調整分遅延量)を、定期的に分散するようにして緩和しながら復元画像情報における出力の連続性を確保することができる。 Accordingly, the decoding device 53 can shorten the preparation period (start-up time) for continuous reproduction, and can reduce the shift period (adjustment delay amount) caused by the shortening by periodically dispersing it. However, the continuity of output in the restored image information can be ensured.
以上の構成によれば、JVT符号化方式に従って符号化された符号化情報D2に対して復号化処理を実行した結果順次生成される復元画像情報D3を画像並べ替えバッファ126(図9)に一時的に蓄積し、当該画像並べ替えバッファ126(図9)に蓄積される復元画像情報D3が破綻した場合に、当該破綻時の直前に出力した復元画像情報D3を再出力するようにしたことにより、復号化順が一義的に決まらないJVT符号化方式に従って符号化された符号化情報D2であっても、復元画像情報D3における出力の連続性を確保することができ、かくして、連続再生することができる。 According to the above configuration, the restored image information D3 sequentially generated as a result of performing the decoding process on the encoded information D2 encoded according to the JVT encoding method is temporarily stored in the image rearrangement buffer 126 (FIG. 9). When the restored image information D3 accumulated and stored in the image rearrangement buffer 126 (FIG. 9) fails, the restored image information D3 output immediately before the failure is re-outputted. Even if the encoded information D2 is encoded according to the JVT encoding method whose decoding order is not uniquely determined, the continuity of the output in the restored image information D3 can be ensured, and thus the continuous reproduction is possible. Can do.
(3)他の実施の形態
なお上述の第2の実施の形態においては、JVT符号化方式を適用するようにした場合について述べたが、本発明はこれに限らず、少なくともBピクチャを予測符号化対象として用いることができるよう規定されたこの他種々の符号化方式を適用することができる。
(3) Other Embodiments In the second embodiment described above, the case where the JVT coding system is applied has been described. However, the present invention is not limited to this, and at least a B picture is predicted. Various other encoding schemes that are defined so as to be used as a conversion target can be applied.
また上述の第2の実施の形態においては、各符号化情報と、当該符号化情報に対する復号化処理の結果順次生成される復元画像情報とを一時的に蓄積する蓄積手段として、蓄積バッファ121と、並べ替えバッファ126とを別々に用いるようにした場合について述べたが、本発明はこれに限らず、当該蓄積バッファ121及び画像並べ替えバッファ126を共用するようにしても良い。この場合、バッファの数や蓄積の態様については適宜変更することができる。
In the second embodiment, the
また上述の第2の実施の形態においては、出力制御手段としての復号制御部71により、蓄積バッファ121(図9)に蓄積した最初の上記符号化情報D2aに定められた復号化開始時期(スタートアップディレイ)に従わず、当該符号化情報D2aを直ちに復号化を開始させ、これにより生じた上記復号化開始時期のずれ期間(調整分遅延量)を、画像並べ替えバッファ126(図9)に蓄積される復元画像情報D3が破綻した場合に、当該破綻時の直前に出力した上記復元画像情報を再出力することにより相殺するようにした場合について述べたが、これに加えて、当該蓄積バッファ121に蓄積された各符号化情報D2a〜D2bの蓄積順序(すなわち「EO」の欄に相当)が当該符号化される前の順序(すなわち「EI」の欄に相当)と異なっていた場合(例えば図6中「t=32」の項に相当)には、その異なっていた符号化情報D2に対応する復元画像情報D3を再出力するようにしても良い。このようにすれば、かかる順序が異なる場合に最も増大するデコードディレイを、再出力により補完でき、復元画像情報D3における出力の連続性を一段と確保することができる。
In the second embodiment described above, the
本発明は、連続画像情報を、衛星放送、ケーブルTV若しくはインターネット等のネットワークメディアを介して伝送する際に、又は光ディスク、磁気ディスク若しくはフラッシュメモリ等の記憶メディア上で処理する際に利用可能である。 The present invention can be used when continuous image information is transmitted via a network medium such as satellite broadcasting, cable TV, or the Internet, or when it is processed on a storage medium such as an optical disk, a magnetic disk, or a flash memory. .
1、51……画像再生システム、2、52……符号化装置、3、53……復号化装置、10……符号化部、11、61……符号制御部、11a……ディレイ算出部、11b……ヘッダ付加部、20……復号化部、21、71……復号制御部。
DESCRIPTION OF
Claims (6)
上記単位画像情報を含む複数単位画像情報に対してそれぞれ上記符号化処理を実行してから上記符号化情報を出力するまでのエンコードディレイのうちの最大値を基準にして当該最大値から、上記単位画像情報に対して上記符号化処理を実行してから上記符号化情報を出力するまでの上記エンコードディレイを減算することにより、上記符号化情報を復号処理してから当該復号処理により生成される復号画像情報を出力するまでのデコードディレイを算出する算出手段と、
上記算出手段により算出される上記デコードディレイをデコードディレイ情報として、上記符号化手段により生成される上記符号化情報とともに伝送する伝送手段と
を有する符号化装置。 Encoding means for encoding unit image information to generate encoded information;
From the maximum value based on the maximum value of the encoding delay from running the encoding process, respectively to the output of the coded information to the multiple unit image information including the unit image information, the unit by subtracting the encoding delay from running the encoding process to the output of the encoded information to the image information, decoding generated by the decryption processing after decoding the encoded information Calculating means for calculating a decoding delay until image information is output;
As decode delay information the decode delay calculated by the calculating means, the encoding apparatus and a transmitting means for transmitting with the encoded information generated by said encoding means.
上記デコードディレイ情報をヘッダとして上記符号化情報に付加する
請求項1に記載の符号化装置。 The transmission means is
The encoding apparatus according to claim 1, wherein the decoding delay information is added to the encoding information as a header.
上記単位画像情報を含む複数単位画像情報に対してそれぞれ上記符号化処理を実行してから上記符号化情報を出力するまでのエンコードディレイのうちの最大値を基準にして当該最大値から、上記単位画像情報に対して上記符号化処理を実行してから上記符号化情報を出力するまでの上記エンコードディレイを減算することにより、上記符号化情報を復号処理してから当該復号処理により生成される復号画像情報を出力するまでのデコードディレイを算出する算出ステップと、
上記算出ステップで算出される上記デコードディレイをデコードディレイ情報として、上記符号化手段により生成される上記符号化情報とともに伝送する伝送ステップと
を有する符号化方法。 An encoding step of encoding unit image information to generate encoded information;
From the maximum value based on the maximum value of the encoding delay from running the encoding process, respectively to the output of the coded information to the multiple unit image information including the unit image information, the unit by subtracting the encoding delay from running the encoding process to the output of the encoded information to the image information, decoding generated by the decryption processing after decoding the encoded information A calculation step for calculating a decoding delay until image information is output;
The decode delay calculated in the calculation step as the decode delay information, a coding method and a transmission step of transmitting with the encoded information generated by said encoding means.
上記受取手段により受け取られる上記デコードディレイ情報を用いて、上記符号化情報を上記復号処理して上記復号画像情報を生成する復号手段と
を有する復号化装置。 Among the unit image information encoding processing encoded information, run each of the above encoding process for multiple unit image information including the unit image information encoding delay before outputting the encoded information the maximum value from the maximum value on the basis, obtained by subtracting the encoding delay from running the encoding process to the output of the coded information to the unit image information, the code a receiving means for receiving and decoding delay information indicating the decode delay from when decoding the reduction information to the output of the decoded image information generated by the decoding process,
By using the decode delay information received by said receiving means, said encoding information and the decoding process the decoding apparatus and a decoding means for generating the decoded image information.
上記デコードディレイ情報に示される上記デコードディレイに基づいて、上記復号画像情報の出力時期を調整する
請求項4に記載の復号化装置。 The decoding means includes
Based on the decoding delay shown in the decode delay information, the decoding apparatus according to claim 4 for adjusting the output timing of the decoded image information.
上記受取ステップで受け取られる上記デコードディレイ情報を用いて、上記符号化情報を上記復号処理して上記復号画像情報を生成する復号ステップと
を有する復号化方法。 Among the unit image information encoding processing encoded information, run each of the above encoding process for multiple unit image information including the unit image information encoding delay before outputting the encoded information the maximum value from the maximum value on the basis, obtained by subtracting the encoding delay from running the encoding process to the output of the coded information to the unit image information, the code a receiving step of receiving the decode delay information indicating the decode delay from when decoding the reduction information to the output of the decoded image information generated by the decoding process,
By using the decode delay information received by the receiving step, the decoding method and a decoding step of the coded information by the decoding process generates the decoded image information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010156056A JP5007759B2 (en) | 2002-07-19 | 2010-07-08 | Encoding apparatus, encoding method, decoding apparatus, and decoding method |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002211829 | 2002-07-19 | ||
JP2002211829 | 2002-07-19 | ||
JP2010156056A JP5007759B2 (en) | 2002-07-19 | 2010-07-08 | Encoding apparatus, encoding method, decoding apparatus, and decoding method |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003276326A Division JP4806888B2 (en) | 2002-07-19 | 2003-07-17 | Decoding device and decoding method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010220267A JP2010220267A (en) | 2010-09-30 |
JP5007759B2 true JP5007759B2 (en) | 2012-08-22 |
Family
ID=42978511
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010156056A Expired - Fee Related JP5007759B2 (en) | 2002-07-19 | 2010-07-08 | Encoding apparatus, encoding method, decoding apparatus, and decoding method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5007759B2 (en) |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3017646B2 (en) * | 1994-11-25 | 2000-03-13 | 株式会社グラフィックス・コミュニケーション・ラボラトリーズ | Image decoding device with frame rate conversion function |
JP3644995B2 (en) * | 1995-01-25 | 2005-05-11 | 株式会社日立国際電気 | Time stamp value calculation method in coded transmission system |
JP3301274B2 (en) * | 1995-06-20 | 2002-07-15 | 株式会社日立製作所 | Decoding device for encoded video data |
JP3556381B2 (en) * | 1996-03-13 | 2004-08-18 | 株式会社東芝 | Information multiplexing device |
JP3232052B2 (en) * | 1997-10-31 | 2001-11-26 | 松下電器産業株式会社 | Image decoding method |
JP3866628B2 (en) * | 2002-07-16 | 2007-01-10 | 日本電信電話株式会社 | Moving picture coding method, moving picture decoding method, picture coding apparatus, picture decoding apparatus, moving picture coding program, moving picture decoding program, and recording medium for these programs |
JP3534742B1 (en) * | 2002-10-03 | 2004-06-07 | 株式会社エヌ・ティ・ティ・ドコモ | Moving picture decoding method, moving picture decoding apparatus, and moving picture decoding program |
-
2010
- 2010-07-08 JP JP2010156056A patent/JP5007759B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2010220267A (en) | 2010-09-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4014263B2 (en) | Video signal conversion apparatus and video signal conversion method | |
KR100950743B1 (en) | Image information coding device and method and image information decoding device and method | |
JP4676450B2 (en) | Variable precision inter-picture timing designation method and apparatus in digital video encoding processing | |
JP5090158B2 (en) | VIDEO INFORMATION RECORDING DEVICE, VIDEO INFORMATION RECORDING METHOD, VIDEO INFORMATION RECORDING PROGRAM, AND RECORDING MEDIUM CONTAINING VIDEO INFORMATION RECORDING PROGRAM | |
US8228988B2 (en) | Encoding device, encoding method, decoding device, and decoding method | |
US20040081237A1 (en) | Transcoder system for compressed digital video bitstreams | |
KR100945826B1 (en) | Image information decoding method and decoder | |
JP3852366B2 (en) | Encoding apparatus and method, decoding apparatus and method, and program | |
US6271774B1 (en) | Picture data processor, picture data decoder and picture data encoder, and methods thereof | |
KR100364748B1 (en) | Apparatus for transcoding video | |
JP2006246277A (en) | Re-encoding apparatus, re-encoding method, and re-encoding program | |
WO2001045402A1 (en) | Image reproducing method and image processing method, and image reproducing device, image processing device, and television receiver capable of using the methods | |
JP5007759B2 (en) | Encoding apparatus, encoding method, decoding apparatus, and decoding method | |
US8306110B2 (en) | Moving image coding apparatus and method using copy pictures depending on virtual buffer verifier occupancy | |
JP3483806B2 (en) | Video signal encoding apparatus and encoding method | |
JP4043406B2 (en) | Image decoding method and apparatus, and television receiver capable of using them | |
JP2005303487A (en) | Moving image decoding apparatus and moving image decoding program | |
JPH1023415A (en) | Method and device for encoding and decoding picture | |
JP2002218470A (en) | Method for converting image encoded data rate and device for converting image encoding rate | |
JP2005080004A (en) | Dynamic image encoding device | |
JP4851270B2 (en) | Moving picture decoding apparatus and decoding method. | |
JP4974583B2 (en) | Image encoding apparatus and encoding method | |
JPH07255056A (en) | Moving picture reproducing method and device therefor | |
JP2002330441A (en) | Encoding method, program for encoding method, recording medium for recording program for encoding method and encoder | |
JP2001145108A (en) | Device and method for converting image information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100708 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120117 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120124 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120319 |
|
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: 20120501 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120514 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5007759 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150608 Year of fee payment: 3 |
|
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 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |