JP3702178B2 - Moving picture encoding apparatus and moving picture decoding apparatus - Google Patents
Moving picture encoding apparatus and moving picture decoding apparatus Download PDFInfo
- Publication number
- JP3702178B2 JP3702178B2 JP2000392339A JP2000392339A JP3702178B2 JP 3702178 B2 JP3702178 B2 JP 3702178B2 JP 2000392339 A JP2000392339 A JP 2000392339A JP 2000392339 A JP2000392339 A JP 2000392339A JP 3702178 B2 JP3702178 B2 JP 3702178B2
- Authority
- JP
- Japan
- Prior art keywords
- tool
- inverse
- unit
- decoding
- encoding
- 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 - Lifetime
Links
- 238000013139 quantization Methods 0.000 claims description 35
- 238000006243 chemical reaction Methods 0.000 claims description 15
- 238000012545 processing Methods 0.000 description 59
- 238000010586 diagram Methods 0.000 description 23
- 238000000034 method Methods 0.000 description 22
- 230000005540 biological transmission Effects 0.000 description 9
- 238000009825 accumulation Methods 0.000 description 8
- 238000004891 communication Methods 0.000 description 7
- 230000004044 response Effects 0.000 description 6
- 239000013598 vector Substances 0.000 description 6
- 230000006870 function Effects 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 101000969688 Homo sapiens Macrophage-expressed gene 1 protein Proteins 0.000 description 2
- 102100021285 Macrophage-expressed gene 1 protein Human genes 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000011002 quantification Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、画像信号等の情報を符号化して送信する動画像符号化装置、及び、符号化情報を復号する動画像復号装置に関するものである。
【0002】
【従来の技術】
近年、ISDN(Integrated Services Digital Network:サービス総合ディジタル網)の普及により、新しい通信サービスとして画像通信サービスが実現されている。テレビ電話やテレビ会議システム等がその例である。また、PHSやFPLMTSに代表される無線伝送網の発展に伴い、更なるサービスの高度化、多様化、可搬化への要求が急速に高まっている。
【0003】
一般にテレビ電話やテレビ会議システムのように、画像情報を伝送する場合においては、画像の情報量が膨大なのに対して、伝送に用いる回線の回線速度やコストの点から、伝送する画像の情報量を圧縮符号化し、情報量を少なくして伝送することが必要となってくる。
【0004】
画像情報を圧縮する符号化方式としては、静止画像符号化方式としてJPEG(Joint Photographic Coding Experts Group)、動画像符号化方式としてH.261、蓄積用動画像符号化方式としてMPEG(Moving Picture Coding ExpertGroup)1、MPEG2がすでに国際標準化されている。さらに、64kbps以下の超低ビットレートでの符号化方式としてMPEG4の標準化活動が進められている。
【0005】
MPEG4では、多種多様なアプリケーションに柔軟に対応でき、かつ各アプリケーションに対して最適な方式で符号化できるために、既存のJPEG、H.261、MPEG1、MPEG2符号化方式のように、アルゴリズムに従って符号化を行う方式ではなく、符号化器の各ツール(変換器、量子化器、逆変換器、逆量子化器等)を多数用意して、それらの適当な組み合わせによって符号化を行う方式であることが必要である。
【0006】
図11(a)はH.261で符号化した符号化出力情報のデータ列であり、同図(b)はアルゴリズムがフレキシブルな符号化方式で符号化した符号化出力情報のデータ列である。図11(b)の場合、符号化器の各ツールの組み合わせが自由選択可能であるため、どのツールを使用して符号化を行ったかというツールに関する情報を符号化出力情報と合わせて送信する必要がある。
【0007】
図11において、動き補償ツールA、逆変換ツールB、動き補償ツールC、逆変換ツールD、量子化ツールEがツール情報で、それに続く動きベクトル情報101、変換係数102、動きベクトル情報103、変換係数104、量子化ステップ105が処理されたデータである。
【0008】
図12は、H.261に従う従来の符号化/復号装置の一例を示すブロック図である。この符号化/復号装置は、装置全体を制御する制御部106と、H261に従って符号化する符号化器107と、H.261で符号化された情報を復号する復号化器108と、ツール情報を記憶するメモリからなるツール蓄積部109とを備える構成である。
【0009】
これらの符号化アルゴリズムを実現するための構成を考えると、専用のハードウェアやソフトウェアを実装することにより実現する方法と、汎用演算器で適当なソフトウェアを実行することにより実現する方法とが考えられる。
【0010】
図13は、符号化器107のブロック図である。この符号化器107は、符号化制御を行う符号化制御部111、DCT変換を行う変換部112、変換部で変換された係数の量子化を行う量子化部113、量子化された係数の逆量子化を行う逆量子化部114、逆DCT変換を行う逆変換部115、動き補償フレーム間予測の際に用いる動き補償用可変遅延機能をもつメモリ116、マクロブロックごとにon/offできるループ内フィルタ117から構成される。
【0011】
このアルゴリズムを専用のハードウェアおよびソフトウェアで実現する場合、各ツールである符号化制御部111、変換部112、量子化部113、逆量子化部114、逆変換部115、動き補償用遅延機能を持つメモリ116、ループフィルタ117はそれぞれ専用のハードウェアおよびソフトウェアを有することになる。
【0012】
図14は、復号化器108のブロック図である。この復号化器108は、図13の符号化部118に含まれている一部分であり、逆量子化部114、逆変換部115、(動き補償用可変遅延機能をもつ)メモリ116、ループ内フィルタ117で構成される。
【0013】
符号化されたデータは、逆量子化部114で逆量子化され、逆変換部115で逆DCT変換されて復号される。メモリ116およびループ内フィルタ117は動き補償予測符号化データを復号する場合に使用する。
【0014】
JPEG、H.261、MPEG1、MPEG2等の一定のアルゴリズムで符号化を行う方式で数種類のアルゴリズムを処理させようとすると、それぞれのアルゴリズムを実現するハードウェアおよびソフトウェアが必要となる。
【0015】
一つの端末で、例えばH.261で動画像を、JPEGで静止画像を符号化する場合、図15のような構成になる。すなわち、この符号化器は、H.261符号化器120と、JPEG符号化器121とで構成される。
【0016】
同様に、専用のハードウェアおよびソフトウェアで、図11(b)のフレキシブルな符号化アルゴリズムを実現させると、H.261での変換部、量子化部、逆量子化部、逆変換部の各ツールが数種類あることになる。
【0017】
従って、図13に示す変換部112、量子化部113、逆量子化部114、逆変換部115からなる符号化部118が、図16に示す各ツールによる構成となる。復号化器の構成は、図14に示す逆量子化部114と逆変換部115からなる復号部119が、図16の復号部122のツール構成になる。
【0018】
動作としては、図11(b)に示す動き補償ツールA、逆変換ツールB、動き補償ツールC、逆変換ツールD、量子化ツールE等のツール情報は制御部120へ、その後に続くデータである動きベクトル情報101、変換係数102、動きベクトル情報103、変換係数104はそれぞれの各ツールへ送信される。
【0019】
制御部123では、それぞれのツール情報からどのツールを使用するかの選択制御を行い、各データは制御部123で選択されたツールで処理され、復号されることになる。
【0020】
しかし、この方法では、各ツールごとに専用のハードウェアー及びソフトウェアーを用意しなければならず、復号化器の規模が大きくなってしまう。また、復号化器が用意していないツールで処理されたデータを受信した場合、復号できなくなってしまう。これを解決するためには、受信したパーツをコンパイルして処理プログラムを生成し、汎用演算処理部で復号する場合が考えられる。
【0021】
図11(b)に示す情報を、汎用演算処理部とコンパイラで復号する場合、図17に示す復号化器を用いる。図11(b)に示す動き補償ツールA、逆変換ツールB、動き補償ツールC、変換ツールD、量子化ツールE等のツール情報はコンパイラ125へ送信され、その後に続く各データである動きベクトル情報101、変換係数102、動きベクトル情報103、変換係数104、量子化ステップ105は汎用演算処理部124へ送信される。
【0022】
コンパイラ125では、汎用演算処理部124のための処理プログラムを生成し、次に送信されてくるデータに対し汎用演算処理部124にて処理を行い、復号することになる。さらに、一度生成された処理プログラムは保存され、次の復号のときに再利用される。
【0023】
【発明が解決しようとする課題】
あるアルゴリズムを処理する復号側の処理能力が、符号化側の要求するアルゴリズムを構成する各ツールの処理能力の総和よりも低い場合、符号化側から送られてきたツールを復号側で蓄積しても、復号側の処理能力が低いために、受信したデータの復号を正確に行うことができず、ツール蓄積部のメモリも無駄に消費してしまうという問題があった。
【0024】
また、従来の符号化装置及び復号装置では、符号化側で使用したツールと復号側で保存しているツールとの比較を行う際に、ツール自体の比較を行わなければならず、その処理に非常に多くの時間がかかるという問題があった。
【0025】
新しいアルゴリズムを用いて符号化情報を復号する場合、そのアルゴリズムを構成するツールがすでに格納されているツールと同じ場合でも、再度ツールを受信しなければならず、その送受信にかかる時間もかなり大きいという問題があった。
【0026】
本発明の目的は、最適なツールを選択させることができる動画像復号装置及び最適なツールを選択することができる動画像符号化装置を提供することである。
【0027】
【課題を解決するための手段】
この発明のある局面によれば、動画符号化装置は、動き補償部、変換部、逆変換部、量子化部、逆量子化部を含む符号化器を備えた動画像符号化装置であって、量子化部は処理能力値が異なる複数種類の量子化器からなり、逆量子化部は処理能力値が異なる複数種類の逆量子化器からなり、符号化器は符号化データの復号に使用する逆量子化器を示す情報を送信し、逆量子化器を示す情報は、前記符号化データの復号に使用する逆量子化器の種類のみを示すことを特徴とする。
この発明に従えば、符号化データの復号に使用するツールを示す情報が送信される。このツールを示す情報は、逆量子化ツールを示す情報を含むので、符号化データを受信する復号機に逆量子化に用いられた逆量子化ツールを用いて復号させることができる。
【0029】
この発明の他の局面によれば、動画像復号装置は、動き補償部、逆変換部、逆量子化部を含む復号器を備えた動画像復号装置であって、逆量子化部は処理能力値が異なる複数種類の逆量子化器からなり、復号器は符号化データの復号に使用する逆量子化器を示す情報を受信し、逆量子化器を示す情報は、符号化データの復号に使用する逆量子化器の種類のみを示すことを特徴とする。
この発明に従えば、符号化データの復号に使用するツールを示す情報が受信される。このツールを示す情報は、逆量子化ツールを示す情報を含むので、符号化に用いられた逆量子化ツールを用いて復号することができる。
【0031】
【発明の実施の形態】
以下、本発明の実施の形態について、図面を参照して説明する。
【0032】
(第1実施形態)
図1は本発明の第1実施形態に係る符号化/復号装置を示すためのブロック図である。この符号化/復号装置は、制御部11、符号化器12、応答制御部13、復号器14、ツール蓄積制御部15、ツール蓄積部16、符号化処理能力値蓄積部17、復号処理能力値蓄積部18、能力値比較器19を備える。
【0033】
制御部11は、装置全体を制御する部分であり、予めアルゴリズムを構成する各ツール単位での復号器14の処理能力値の総和を、復号処理能力値として復号処理能力値蓄積部18に蓄積しておく。ツール単位での復号器14の処理能力値は数値化されている。符号化器12は、各ツール単位にそのツールの処理に必要な処理能力値を数値化して付加し、相手装置に送信する。
【0034】
ここで、ツールの能力の数値化は、基準となる処理及びその処理を行うのに必要とされる処理能力を設定し、それと他の処理との処理負荷及び処理能力とを比較することにより行う。
【0035】
符号化器12は、送信する度に数値化するのではなく、ツールの作成者あるいは選択者があらかじめ処理負荷等から設定する。数値化された能力は、制御部11から応答制御部に送られ、符号化データやツール情報に多重化されて送信される。
【0036】
復号器14で受信した符号化処理能力値は、アルゴリズムを構成する各ツール単位で符号化処理能力値蓄積部17に蓄積される。復号処理能力値蓄積部18の出力とアルゴリズムを構成するツールの処理能力値との総和は、ともに能力値比較部19に入力される。
【0037】
能力値比較部19では、それぞれの値を比較して、受信したツールを使用したアルゴリズムの処理が自装置で可能かどうかの判別を行う。判別は簡易な大小比較回路で行うことができる。もし処理能力値の比較から、処理が可能と判別されれば、許可信号をツール蓄積制御部15に送り、ツール蓄積部16に受信したツールを蓄積し、以後受信したデータの復号に使用する。
【0038】
もし処理能力値の比較から、ツールを蓄積したとしても復号処理能力が低く、処理が不可能と判別されれば、受信したツールは不要なので蓄積不可信号をツール蓄積制御部15に送り、ツール蓄積部16には蓄積しない。同時に、応答制御部31に受信したツールをダウンロードして処理が可能かどうかの確認を送信する指示を送る。
【0039】
通常、アルゴリズムを構成するツールの種別が規定されているような符号化方式のもとでは、通信の初期の段階においてお互いの復号化能力を交換し、相手の復号能力を得た上で、データの符号化および送信を開始することができる。
【0040】
しかし、符号化側から符号化情報とともに、その情報を復号する手段であるアルゴリズムを構成するツールを同時に送信する方式の場合、選択するツールの種別により復号処理の負荷が著しく変化するため、このような能力交換では、厳密に相手装置の復号能力を予め得ることは、簡単ではないと考えられる。よって、このように新たなツールを受信する毎に、能力値の比較を行い、処理可能かどうかの判別結果を相手装置に送信する。
【0041】
図2は本実施形態の動作例を表す説明図である。符号化装置20と復号装置21との動作について説明する。この符号化装置20と復号装置21とは、図1に示した符号化/復号装置であり、それぞれ符号化装置と復号装置として機能するものである。
【0042】
最初に、符号化装置20からツールaおよび、ツールaの処理に必要な符号化能力値Caを相手に送信したとする。復号装置21では送られてきたツールの処理能力値Caを符号化処理能力値蓄積部17に蓄積する。アルゴリズムを構成するツールの能力値は各ツール毎に蓄積するため、Ca以外の能力値の総和をCzとすると、Ca+CzがCaの能力値を持ったツールを使用するアルゴリズムを処理するのに必要な能力値となる。
【0043】
この値と、予め復号装置21において設定された復号能力値Crとを比較することにより、Ca+Cz≦Crならば、新たに受信したツールaが復号化側で使用可能と判別することができる。使用可能ならば受信したツールをダウンロードし、相手装置にダウンロード完了応答を送信する。これにより、符号化装置20では送信したツールを使用したデータの送信が可能であることが判別できる。
【0044】
次に、符号化装置20からツールbおよび、ツールbの処理に必要な符号化能力値Cbを相手に送信したとする。復号装置21では送られてきたツールの処理能力値Cbを符号化処理能力値蓄積部17に蓄積する。上記した動作例と同様に、Cb+CzがCbの能力値を持ったツールを使用するアルゴリズムを処理するのに必要な能力値となる。
【0045】
この値と、予め設定された復号能力値Crとを比較することにより、Cb+Cz>Crならば、新たに受信したツールが復号側で使用不可と判別することができる。その場合に受信したツールのダウンロードは実行せず、相手装置にダウンロードエラー応答を送信する。これにより、符号化装置20では送信したツールを使用したデータの送信が不可であることが判別できる。
【0046】
よって、符号化装置20では新たな別のツールを送信し直すか、以前に送信したツールaを使用したデータを送信することにより、データの復号が可能となる。
【0047】
こうして、ツール対応情報をツールによる処理能力とし、復号化処理範囲内に収まるツールを選択することで、効率のよい復号処理が可能となる。この場合、処理能力値を数値化して送信することにより、能力比較が素早く効率的に行うことができる。さらに、処理能力により受信ツールが使用可能か否かを判別してから、使用の場合にのみツールをダウンロードするので、送受信にかかる処理時間を短縮することができる。
【0048】
(第2実施形態)
図3は本発明の第2実施形態におけるツールの管理の例を示している。図3に示すように、各ツールに固有のキーを付ける。例えば、キーをAa01とし、それに対応するツールを整数画素精度動き補償とするように、すべてのツールに対応したキーが設定されており、これによって各ツールが判別できるようになっている。
【0049】
図4はこのキーの設定の例を示している。例えば、キーは、図4に示すように、大分類(動き補償予測、DCT変換等)をアルファベット大文字、小分類(整数画素精度、半画素精度等)をアルファベット小文字、バージョンを数字2文字で表される。
【0050】
図5は本実施形態に係る符号化装置のブロック図である。この符号化装置は、装置全体を制御する制御部31、各ツールを格納しておくツール格納部33、各キーに対応するツールの処理プログラムが前記ツール格納部33のどこに格納されているかを記憶しておくキーテーブル32、前記ツール格納部からツールの処理プログラムを読み出して実行する処理演算部34、前記処理演算部34で使用するワークメモリ35、外部との通信を行うネットワークインタフェース36を備えている。
【0051】
図6は本実施形態に係る復号装置のブロック図である。この復号装置は、装置全体を制御する制御部41、受信したキーを一時的に保存するキーバッファ47、ツールを格納しておくツール格納部43、各キーに対応するツールの処理プログラムが前記ツール格納部43のどこに格納されているかを記憶しておくキーテーブル42、前記ツール格納部43からツールの処理プログラムを読み出して実行する処理演算部44、前記処理演算部44で使用するワークメモリ45、外部との通信を行うネットワークインタフェース46を備えている。
【0052】
図7は図5の符号化装置のツール格納部33および図6の復号装置のツール格納部43における、各ツールの格納状態の例を表している。また、図8は図5のキーテーブル32および図6のキーテーブル42における各キーとそのキーに対応するツールのツール格納部33,43における格納場所との対応付けの例を示したものである。
【0053】
図5の符号化装置と図6の復号装置とは、図9のように、それぞれネットワークインタフェース36、46によってISDNや無線網などの様々なネットワークに接続される。
【0054】
図10は前記図5の符号化装置と前記図6の復号装置とが、図7のように接続されたときの通信手順の例を示すフローチャートである。まず、符号化装置において使用するアルゴリズムとそれを構成するツールを決定する(ステップS1)。そして、その各ツールのキーを復号装置に送信する(ステップS2)。
【0055】
復号装置はそのキーを受信し、そのキーをキーバッファ47に取り込む(ステップT1)。そして、キーバッファ47に取り込まれたキーをキーテーブル42に照らし合わせ(ステップT2)、登録していない場合は、ツール転送要求とともにそれらのキーを符号化装置に送信する(ステップT3)。
【0056】
符号化装置はそのキーに対応するツールの処理プログラムを復号装置に送信する(ステップS4)。復号装置はそのツールの処理プログラムをツール格納部43に格納し、その格納アドレスとキーをキーテーブル42に登録する(ステップT5)。そして、キーテーブル42を参照しながらツール格納部43からツールを演算部44に転送する(ステップT6)。
【0057】
その後、復号装置は符号化装置に符号化データ転送要求を送信し(ステップT7)、それを受信した符号化装置は符号化データを復号装置に送信する(ステップS5,S6)。
【0058】
復号装置は符号化データを受信して(ステップT8)、復号する(ステップT9)。符号化装置はすべての符号化データの送信終了したとき、符号化データ送信終了信号を復号装置に送信し(ステップS7,S8)、復号装置がその信号を受信した時点で(ステップT10)、通信が終了する。
【0059】
こうして、ツールに固有のキーを用いて、キーを比較することにより、簡単に対応するツールを比較選択することができ、処理時間を短縮することができる。さらに、キーを用いて復号装置に同じツールがあるかを判別し、ない場合にのみ、ツールを転送することにより、送受信かかる処理時間を短縮することができる。
【0060】
【発明の効果】
本実施の形態における復号装置は、受信したツールを示す情報に基づいて、最適なツールを比較選択することにより、受信した符号化データを復号するために必要なツールだけから復号アルゴリズムを構成することができるので、復号処理が効率よく、短時間で処理が可能となる。
【0061】
また、ツールを示す情報を比較することにより、ツール自体の比較をする必要がなく、素早いツールの選択処理が可能となる。特に、ツールを示す情報をツール固有のキーとすることで、ツール格納手段のツールを比較選択する処理が短時間で効率的に行うことが可能である。
【図面の簡単な説明】
【図1】本発明の第1実施形態に係る符号化/復号装置を示すブロック図である。
【図2】本発明の第1実施形態に係る符号化/復号装置の動作を示す説明図である。
【図3】本発明の第2実施形態におけるキーに対応するツールの一例を示す説明図である。
【図4】本発明の第2実施形態におけるキーの一例を示す説明図である。
【図5】本発明の第2実施形態に係る符号化装置を示すブロック図である。
【図6】本発明の第2実施形態に係る復号装置を示すブロック図である。
【図7】本発明の第2実施形態における各ツールの格納状態の一例を示す説明図である。
【図8】本発明の第2実施形態におけるキーテーブルの格納状態を示す説明図である。
【図9】本発明の第2実施形態におけるネットワーク接続の説明図である。
【図10】本発明の第2実施形態における符号化装置と復号装置との通信手順を示すフローチャートである。
【図11】従来の符号化/復号装置における符号化出力情報のデータ列を示す説明図である。
【図12】従来の符号化/復号装置を示すブロック図である。
【図13】図12の符号化/復号装置における符号化器を示すブロック図である。
【図14】図12の符号化/復号装置における復号化器を示すブロック図である。
【図15】H.261とJPEGで符号化する符号化器を示すブロック図である。
【図16】復号化器の各ツールを示すブロック図である。
【図17】コンパイラによる処理を行う復号化器を示すブロック図である。
【符号の説明】
11 制御部
12 符号化器
13 応答制御部
14 復号器
15 ツール蓄積制御部
16 ツール蓄積部
17 符号化処理能力値蓄積部
18 復号処理能力値蓄積部
19 能力値比較部[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a moving image encoding apparatus that encodes and transmits information such as an image signal, and a moving image decoding apparatus that decodes encoded information.
[0002]
[Prior art]
In recent years, with the spread of ISDN (Integrated Services Digital Network), an image communication service has been realized as a new communication service. Examples are videophones and videoconferencing systems. In addition, with the development of wireless transmission networks represented by PHS and FPLMTS, demands for further advancement, diversification, and portability of services are rapidly increasing.
[0003]
In general, when transmitting image information like a videophone or a video conference system, the amount of image information is enormous. It is necessary to compress and encode and transmit with a reduced amount of information.
[0004]
As coding methods for compressing image information, JPEG (Joint Photographic Coding Experts Group) is used as a still image coding method, and H.264 is used as a moving image coding method. 261, MPEG (Moving Picture Coding Expert Group) 1 and MPEG 2 have already been internationally standardized as moving picture coding systems for storage. Furthermore, MPEG4 standardization activities are underway as an encoding method at an extremely low bit rate of 64 kbps or less.
[0005]
MPEG4 can flexibly handle a wide variety of applications, and can be encoded by an optimum method for each application. There are many encoder tools (transformers, quantizers, inverse transformers, inverse quantizers, etc.) instead of coding according to an algorithm like the H.261, MPEG1, and MPEG2 coding systems. Therefore, it is necessary that the encoding is performed by an appropriate combination thereof.
[0006]
FIG. This is a data string of encoded output information encoded by H.261, and FIG. 5B is a data string of encoded output information encoded by an encoding method with a flexible algorithm. In the case of FIG. 11B, since the combination of each tool of the encoder can be freely selected, it is necessary to transmit information relating to the tool indicating which tool was used for encoding together with the encoded output information. There is.
[0007]
In FIG. 11, motion compensation tool A, inverse transform tool B, motion compensation tool C, inverse transform tool D, and quantization tool E are tool information, followed by
[0008]
FIG. FIG. 2 is a block diagram illustrating an example of a conventional encoding / decoding device according to H.261. This encoding / decoding device includes a
[0009]
Considering the configuration for realizing these encoding algorithms, there are a method realized by mounting dedicated hardware and software, and a method realized by executing appropriate software on a general-purpose arithmetic unit. .
[0010]
FIG. 13 is a block diagram of the
[0011]
When this algorithm is realized by dedicated hardware and software, the encoding control unit 111, the
[0012]
FIG. 14 is a block diagram of the
[0013]
The encoded data is inversely quantized by the
[0014]
JPEG, H.I. If several types of algorithms are to be processed by a method of encoding with a certain algorithm such as H.261, MPEG1, MPEG2, etc., hardware and software for realizing each algorithm are required.
[0015]
In one terminal, for example H.264. When a moving image is encoded by H.261 and a still image is encoded by JPEG, the configuration is as shown in FIG. That is, this encoder is H.264. 261
[0016]
Similarly, when the flexible encoding algorithm shown in FIG. There are several types of tools for the transform unit, quantization unit, inverse quantization unit, and inverse transform unit in H.261.
[0017]
Accordingly, the
[0018]
As the operation, tool information such as motion compensation tool A, inverse transform tool B, motion compensation tool C, inverse transform tool D, and quantization tool E shown in FIG. Certain
[0019]
The
[0020]
However, in this method, dedicated hardware and software must be prepared for each tool, which increases the scale of the decoder. In addition, when data processed by a tool not prepared by the decoder is received, it cannot be decoded. In order to solve this, it is conceivable that the received part is compiled to generate a processing program and decrypted by the general-purpose arithmetic processing unit.
[0021]
When the information shown in FIG. 11B is decoded by the general-purpose arithmetic processing unit and the compiler, the decoder shown in FIG. 17 is used. Tool information such as motion compensation tool A, inverse transform tool B, motion compensation tool C, transform tool D, and quantization tool E shown in FIG. 11B is transmitted to the
[0022]
In the
[0023]
[Problems to be solved by the invention]
If the processing capability of the decoding side that processes an algorithm is lower than the sum of the processing capabilities of the tools that make up the algorithm requested by the encoding side, the tools sent from the encoding side are accumulated on the decoding side. However, since the processing capacity on the decoding side is low, the received data cannot be accurately decoded, and the memory of the tool storage unit is wasted.
[0024]
In addition, in the conventional encoding device and decoding device, when comparing the tool used on the encoding side with the tool stored on the decoding side, the tool itself must be compared. There was a problem that it took a very long time.
[0025]
When decoding encoded information using a new algorithm, even if the tools that make up the algorithm are the same as the tools that are already stored, the tool must be received again, and the transmission and reception time is considerably long. There was a problem.
[0026]
An object of the present invention is to provide a moving picture coding apparatus capable of selecting a moving picture decoding apparatus and the best tool that can Rukoto to select the optimal tool.
[0027]
[Means for Solving the Problems]
According to an aspect of the present invention, a video encoding device is a moving image encoding device including an encoder including a motion compensation unit, a conversion unit, an inverse conversion unit, a quantization unit, and an inverse quantization unit. , quantization unit consists capacity value different kinds of quantizers, an inverse quantization unit consists capacity value different types of inverse quantizer, the encoder used for decoding the encoded data transmits information indicating the inverse quantizer, the information indicating the inverse quantizer is characterized by showing only the type of inverse quantizer to be used for decoding of the encoded data.
According to the present invention, information indicating a tool used for decoding encoded data is transmitted. Since the information indicating the tool includes information indicating the inverse quantization tool, the decoder that receives the encoded data can be decoded using the inverse quantization tool used for the inverse quantization.
[0029]
According to another aspect of the present invention, a video decoding device is a video decoding device including a decoder including a motion compensation unit, an inverse transform unit, and an inverse quantization unit, and the inverse quantization unit has a processing capability. value is from different types of inverse quantizer, the decoder receives the information indicating the inverse quantizer to be used for decoding of the encoded data, information representing the inverse quantizer, the decoding of the encoded data Only the type of inverse quantizer to be used is shown .
According to the present invention, information indicating a tool used for decoding encoded data is received. Since the information indicating this tool includes information indicating the inverse quantization tool, it can be decoded using the inverse quantization tool used for encoding.
[0031]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings.
[0032]
(First embodiment)
FIG. 1 is a block diagram illustrating an encoding / decoding device according to a first embodiment of the present invention. The encoding / decoding device includes a control unit 11, an
[0033]
The control unit 11 is a part that controls the entire apparatus, and accumulates the sum of the processing capability values of the
[0034]
Here, quantification of the capability of the tool is performed by setting a standard process and a processing capacity required to perform the process, and comparing the processing load and the processing capacity of the process with other processes. .
[0035]
The
[0036]
The encoding processing capability value received by the
[0037]
The capability
[0038]
If it is determined from the comparison of the processing capability values that the decoding processing capability is low and the processing is impossible even if the tools are accumulated, the received tool is unnecessary, so the accumulation impossible signal is sent to the tool
[0039]
Normally, under an encoding method in which the types of tools that make up the algorithm are specified, the mutual decoding capabilities are exchanged at the initial stage of communication to obtain the decoding capability of the other party, and then the data Encoding and transmission can begin.
[0040]
However, in the case of a method in which the encoding side and a tool that constitutes an algorithm that is a means for decoding the information are simultaneously transmitted from the encoding side, the load of the decoding process varies significantly depending on the type of tool to be selected. In such a capability exchange, it is considered that it is not easy to strictly obtain the decoding capability of the counterpart device in advance. Therefore, each time a new tool is received in this way, the ability values are compared, and a determination result as to whether or not processing is possible is transmitted to the partner apparatus.
[0041]
FIG. 2 is an explanatory diagram illustrating an operation example of the present embodiment. Operations of the
[0042]
First, it is assumed that the
[0043]
By comparing this value with the decoding capability value Cr set in advance in the
[0044]
Next, it is assumed that the
[0045]
By comparing this value with a preset decoding capability value Cr, if Cb + Cz> Cr, it can be determined that the newly received tool cannot be used on the decoding side. In this case, the received tool is not downloaded and a download error response is transmitted to the partner apparatus. As a result, the
[0046]
Therefore, the
[0047]
Thus, by making the tool correspondence information the processing capability of the tool and selecting a tool that falls within the decoding processing range, efficient decoding processing can be performed. In this case, the capability comparison can be performed quickly and efficiently by digitizing the processing capability value and transmitting it. Furthermore, since it is determined whether or not the receiving tool can be used based on the processing capability, and the tool is downloaded only when it is used, the processing time required for transmission and reception can be shortened.
[0048]
(Second Embodiment)
FIG. 3 shows an example of tool management in the second embodiment of the present invention. As shown in FIG. 3, a unique key is attached to each tool. For example, keys corresponding to all tools are set so that the key is Aa01 and the corresponding tool is integer pixel precision motion compensation, so that each tool can be identified.
[0049]
FIG. 4 shows an example of this key setting. For example, as shown in FIG. 4, the key represents a large classification (motion compensation prediction, DCT conversion, etc.) in uppercase letters, a small classification (integer pixel precision, half-pixel precision, etc.) in lowercase letters, and a version in two numbers. Is done.
[0050]
FIG. 5 is a block diagram of the encoding apparatus according to this embodiment. The encoding device stores a
[0051]
FIG. 6 is a block diagram of the decoding apparatus according to this embodiment. This decryption device includes a
[0052]
FIG. 7 shows an example of the storage state of each tool in the
[0053]
The encoding device in FIG. 5 and the decoding device in FIG. 6 are connected to various networks such as ISDN and wireless network by
[0054]
FIG. 10 is a flowchart showing an example of a communication procedure when the encoding device of FIG. 5 and the decoding device of FIG. 6 are connected as shown in FIG. First, an algorithm used in the encoding device and a tool constituting the algorithm are determined (step S1). Then, the key of each tool is transmitted to the decryption device (step S2).
[0055]
The decryption device receives the key and takes the key into the key buffer 47 (step T1). Then, the keys fetched into the
[0056]
The encoding device transmits a tool processing program corresponding to the key to the decoding device (step S4). The decryption apparatus stores the processing program for the tool in the
[0057]
Thereafter, the decoding apparatus transmits an encoded data transfer request to the encoding apparatus (step T7), and the encoding apparatus that has received the request transmits the encoded data to the decoding apparatus (steps S5 and S6).
[0058]
The decoding device receives the encoded data (step T8) and decodes it (step T9). When the transmission of all the encoded data is completed, the encoding device transmits an encoded data transmission end signal to the decoding device (steps S7 and S8). When the decoding device receives the signal (step T10), the communication is performed. Ends.
[0059]
In this way, by comparing the keys using the keys unique to the tools, the corresponding tools can be easily compared and selected, and the processing time can be shortened. Furthermore, it is possible to reduce the processing time required for transmission and reception by determining whether or not the same tool is present in the decryption apparatus using the key and transferring the tool only when there is not.
[0060]
【The invention's effect】
The decoding apparatus according to the present embodiment configures a decoding algorithm only from tools necessary for decoding received encoded data by comparing and selecting an optimal tool based on information indicating the received tool. Therefore, decoding processing is efficient and processing can be performed in a short time.
[0061]
Further, by comparing information indicating the tools, it is not necessary to compare the tools themselves, and quick tool selection processing is possible. In particular, by using the information indicating the tool as a key unique to the tool, the process of comparing and selecting the tool in the tool storage means can be efficiently performed in a short time.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an encoding / decoding device according to a first embodiment of the present invention.
FIG. 2 is an explanatory diagram showing an operation of the encoding / decoding device according to the first embodiment of the present invention.
FIG. 3 is an explanatory diagram showing an example of a tool corresponding to a key in the second embodiment of the present invention.
FIG. 4 is an explanatory diagram illustrating an example of a key according to the second embodiment of the present invention.
FIG. 5 is a block diagram showing an encoding apparatus according to a second embodiment of the present invention.
FIG. 6 is a block diagram showing a decoding device according to a second embodiment of the present invention.
FIG. 7 is an explanatory diagram showing an example of a storage state of each tool in the second embodiment of the present invention.
FIG. 8 is an explanatory diagram showing a storage state of a key table in the second embodiment of the present invention.
FIG. 9 is an explanatory diagram of network connection in the second embodiment of the present invention.
FIG. 10 is a flowchart illustrating a communication procedure between the encoding device and the decoding device according to the second embodiment of the present invention.
FIG. 11 is an explanatory diagram showing a data string of encoded output information in a conventional encoding / decoding device.
FIG. 12 is a block diagram showing a conventional encoding / decoding device.
13 is a block diagram showing an encoder in the encoder / decoder of FIG. 12. FIG.
14 is a block diagram showing a decoder in the encoding / decoding device in FIG. 12. FIG.
FIG. 2 is a block diagram illustrating an encoder that performs encoding with H.261 and JPEG. FIG.
FIG. 16 is a block diagram showing each tool of the decoder.
FIG. 17 is a block diagram illustrating a decoder that performs processing by a compiler.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 11
Claims (2)
前記量子化部は処理能力値が異なる複数種類の量子化器からなり、
前記逆量子化部は処理能力値が異なる複数種類の逆量子化器からなり、
前記符号化器は符号化データの復号に使用する逆量子化器を示す情報を送信し、
前記逆量子化器を示す情報は、前記符号化データの復号に使用する逆量子化器の種類のみを示すことを特徴とする、動画像符号化装置。A moving image encoding apparatus including an encoder including a motion compensation unit, a conversion unit, an inverse conversion unit, a quantization unit, and an inverse quantization unit,
The quantization unit consists capacity value different kinds of quantizers,
The inverse quantization unit consists capacity value different types of inverse quantizer,
The encoder transmits information indicating an inverse quantizer used to decode the encoded data;
Information indicative of the inverse quantizer is characterized by showing only the type of inverse quantizer to be used for decoding of the coded data, the moving picture coding apparatus.
前記逆量子化部は処理能力値が異なる複数種類の逆量子化器からなり、
前記復号器は符号化データの復号に使用する逆量子化器を示す情報を受信し、
前記逆量子化器を示す情報は、前記符号化データの復号に使用する逆量子化器の種類のみを示すことを特徴とする、動画像復号装置。A video decoding device including a decoder including a motion compensation unit, an inverse transform unit, and an inverse quantization unit,
The inverse quantization unit consists capacity value different types of inverse quantizer,
The decoder receives information indicating an inverse quantizer used to decode the encoded data;
Information indicative of the inverse quantizer is characterized by showing only the type of inverse quantizer to be used for decoding of the encoded data, the video decoding apparatus.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000392339A JP3702178B2 (en) | 2000-12-25 | 2000-12-25 | Moving picture encoding apparatus and moving picture decoding apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000392339A JP3702178B2 (en) | 2000-12-25 | 2000-12-25 | Moving picture encoding apparatus and moving picture decoding apparatus |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP26412795A Division JP3306270B2 (en) | 1995-10-12 | 1995-10-12 | Data decoding device |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003430643A Division JP3998634B2 (en) | 2003-12-25 | 2003-12-25 | Moving picture encoding apparatus and moving picture decoding apparatus |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2001245295A JP2001245295A (en) | 2001-09-07 |
JP2001245295A5 JP2001245295A5 (en) | 2004-12-16 |
JP3702178B2 true JP3702178B2 (en) | 2005-10-05 |
Family
ID=18858343
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000392339A Expired - Lifetime JP3702178B2 (en) | 2000-12-25 | 2000-12-25 | Moving picture encoding apparatus and moving picture decoding apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3702178B2 (en) |
-
2000
- 2000-12-25 JP JP2000392339A patent/JP3702178B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JP2001245295A (en) | 2001-09-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7167590B2 (en) | Decoding apparatus using tool information for constructing a decoding algorithm | |
US5881244A (en) | Picture reproducing apparatus | |
US7058127B2 (en) | Method and system for video transcoding | |
KR101106086B1 (en) | Encoding apparatus and encoding method | |
KR100950743B1 (en) | Image information encoding apparatus and method, and image information decoding apparatus and method | |
KR20050061762A (en) | Method of encoding mode determination and motion estimation, and encoding apparatus | |
JP2007329551A (en) | Image encoding device | |
US7224844B2 (en) | Entropy coding apparatus | |
JP3306270B2 (en) | Data decoding device | |
JP3998634B2 (en) | Moving picture encoding apparatus and moving picture decoding apparatus | |
JP3702178B2 (en) | Moving picture encoding apparatus and moving picture decoding apparatus | |
JP3265192B2 (en) | Decoding device and decoding system | |
JP4349109B2 (en) | Image data processing apparatus, method thereof, and encoding apparatus | |
JP3263582B2 (en) | Encoding / decoding device | |
JP3170185B2 (en) | Image decoding method | |
JP2002158587A (en) | Data encoder | |
JP2003520512A (en) | Transmission encoding method and transmission encoding device | |
JP3145908B2 (en) | Data decoding device and data encoding device | |
JPH07222173A (en) | Image processing device | |
KR100349058B1 (en) | video compression and decompression Apparatus | |
JPH0974556A (en) | Image reproducing device | |
US20050141608A1 (en) | Pipeline-type operation method for a video processing apparatus and bit rate control method using the same | |
KR100323752B1 (en) | Method and Telephone for still picture transport | |
JP2003163931A (en) | Image-compressing apparatus and image-decoding apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040406 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20050111 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050209 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20050303 |
|
A911 | Transfer of reconsideration by examiner before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20050308 |
|
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: 20050628 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050715 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080722 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090722 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100722 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110722 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110722 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120722 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120722 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130722 Year of fee payment: 8 |
|
SG99 | Written request for registration of restore |
Free format text: JAPANESE INTERMEDIATE CODE: R316G99 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130722 Year of fee payment: 8 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
SG99 | Written request for registration of restore |
Free format text: JAPANESE INTERMEDIATE CODE: R316G99 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
EXPY | Cancellation because of completion of term |