JP3919038B2 - Variable length coding method and apparatus - Google Patents

Variable length coding method and apparatus Download PDF

Info

Publication number
JP3919038B2
JP3919038B2 JP28429997A JP28429997A JP3919038B2 JP 3919038 B2 JP3919038 B2 JP 3919038B2 JP 28429997 A JP28429997 A JP 28429997A JP 28429997 A JP28429997 A JP 28429997A JP 3919038 B2 JP3919038 B2 JP 3919038B2
Authority
JP
Japan
Prior art keywords
event
vlc
predetermined period
variable
measurement
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
Application number
JP28429997A
Other languages
Japanese (ja)
Other versions
JPH11112356A (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.)
KDDI Corp
Original Assignee
KDDI Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by KDDI Corp filed Critical KDDI Corp
Priority to JP28429997A priority Critical patent/JP3919038B2/en
Publication of JPH11112356A publication Critical patent/JPH11112356A/en
Application granted granted Critical
Publication of JP3919038B2 publication Critical patent/JP3919038B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、バイナリ符号を用いた信号伝送システムにおいて用いられる可変長符号化方法及び装置に関する。
【0002】
【従来の技術】
映像情報の効率的な圧縮のため、各種ビデオ符号化方式が国際標準化され、多様なアプリケーションで利用されている。この中で、量子化、動き補償予測等の予測符号化、直交変換等の変換符号化等を行う情報源符号化部においては、予測方式等画像性質に応じた適応手法により符号化効率の改善が図られているが、可変長符号化、誤り訂正符号化等を行う伝送路符号化部では、生成処理の省略化等のために可変長符号(以下VLCと称する)が固定的に使用されている。
【0003】
これに対し、VLCを適応的に更新することにより、符号化効率が改善され得ることが報告されている(上倉他、「動画像の適応可変長符号化手法に関する検討」、1997年映像情報メディア学会年次大会21−4、p.262、1997.7)。
【0004】
【発明が解決しようとする課題】
しかしながらこの提案方式のように、VLCを任意に設計して任意のビットパターンとすると、同期確保のために周期的に挿入されるユニークワード(以下UWと称する)の使用ができなくなってしまう可能性がある。
【0005】
従って本発明の目的は、同期を確実に確保しながら符号化効率を向上することができる可変長符号化方法及び装置を提供することにある。
【0006】
【課題を解決するための手段】
本発明によれば、UWをエミュレートしないビットパターンを有するエミュレーションレスVLCを生成して用いる可変長符号化方法であって、イベント(事象)の生起確率を所定期間毎に計測すること及び計測したイベントの生起確率に応じてイベントに割り当てられるエミュレーションレスVLCを所定期間毎に適応的に生成することを、異なる複数のイベントに対してそれぞれ行って得られたエミュレーションレスVLCを用いる可変長符号化方法が提供される。
【0007】
本発明によれば、さらに、UWをエミュレートしないビットパターンを有するエミュレーションレスVLCを生成して用いる可変長符号化装置であって、イベントの生起確率を所定期間毎に計測する計測手段と、この計測手段によって計測したイベントの生起確率に応じてイベントに割り当てられるエミュレーションレスVLCをその所定期間毎に適応的に生成する生成手段とを備えており、計測手段による計測及び生成手段による生成を異なる複数のイベントに対してそれぞれ行って得られたエミュレーションレスVLCを用いる可変長符号化装置が提供される。
【0008】
図1に示すように、UWは、復号時の同期確保のため、画像フレーム構造に対応した一定周期(例えば、1スライス又は1フレーム)で符号化ビットストリームに挿入される。符号化ペイロード中のVLC及び固定長符号(以下FLCと称する)には、符号語のいかなる組合せもUWをエミュレートしないことが要求される。従来よりエミュレーションは経験的手法により解決されていたが、符号化効率をほぼ維持しながらエミュレーションを防止する符号の系統的な生成手法が本出願人によって既に提案されている(特開平9−232968号公報)。この手法は、“0”ビットのみから構成されるUWのビット長(N)とVLCのプリフィックス及びサフィックスに許容される連続“0”ビット長の制約(s,t)から特有のVLC生成するもので、容易にビデオ符号化に適用可能なものである。
【0009】
本発明では、イベントの生起確率を所定期間毎に計測し、計測したイベントの生起確率に応じて各イベントに割り当てられるVLCをその所定期間毎に適応的に新たに生成し、かつその生成するVLCとして、上述のようなUWをエミュレートしないビットパターンを有するエミュレーションレスVLCを生成している。このため、同期を確実に確保しながら符号化効率を向上することができる。しかも、古いVLCと新しいVLCとの切換時においても、新旧VLCの組み合わせによってもUWのエミュレーションは発生せず、同期を確実にとることができる。
【0010】
新たに生成したエミュレーションレスVLCを当該計測を行った所定期間内に用いることが好ましい。その所定期間で発生した生起確率に基づいて作成されたVLCであるから、当然にVLCの符号化効率が最適化され、また、計測から適用への遅延がない。
【0011】
新たに生成したエミュレーションレスVLCを当該計測を行った所定期間の次の所定期間内に用いることも好ましい。計測を行った所定期間の情報から受信側でも送信側と同様にVLCテーブルを作成できるのでVLCテーブルの送信(オーバーヘッド情報)が不要であり、また、その所定期間分のデータについてバッファリング遅延が不要となる。
【0012】
発生するイベントを特定イベントに集中させて得られる各イベントについてエミュレーションレスVLCを生成することも非常に好ましい。
【0018】
上述した所定期間は、T(自然数)画像フレームであるかもしれない。
【0019】
本発明の実施態様においては、各イベントが、DCT変換係数の“0”ランレングス及びレベルであるか、動き補償予測に用いる動ベクトルであるか、又は符号化ブロックパターンである。
【0020】
【発明の実施の形態】
以下図面を用いて本発明の実施形態を詳細に説明する。
【0021】
図2は本発明の一実施形態として符号化装置の一部の構成を概略的に示すブロック図である。
【0022】
同図において、20は動き補償予測符号化部、21はDCT(離散コサイン変換)変換部、22は量子化部、23はジグザグスキャン又は他の手法によるイベントのスキャン部、24は本発明に関する可変長符号化部をそれぞれ示している。可変長符号化部24を除く各部は、周知の構成であるため、本明細書では説明を省略する。
【0023】
図3は、本実施形態における可変長符号化部24の構成を概略的に示すブロック図である。
【0024】
同図において、240は例えばジグザグスキャン後の符号化イベント(事象)、例えば、DCT変換係数の“0”ランレングス及びレベル、動き補償予測に用いる動ベクトルの座標値、並びに符号化ブロックパターンの有意ブロック及び非有意ブロック、の生起確率を所定時間毎に計測する生起確率計測部、241はイベントと計測された生起確率との組の集合を受け取りイベントの集中化を行ってイベント数を減少させる集中化部、242は集中化部241から集中化されたイベントとその生起確率との組の集合を受け取りUWをエミュレートしないビットパターンを有するエミュレーションレスVLCを生成するVLC生成部、243は所定時間分の例えばジグザグスキャン後の符号化イベントをバッファリング遅延するバッファ部、244はVLC生成部242から生成したVLCテーブルを受け取りVLCの割当てを行うVLC割当て部をそれぞれ示している。
【0025】
なお、本実施形態においては、VLCを更新するタイミングである所定時間毎がT(自然数)画像フレーム毎であるとする。生起確率計測部240は、このTフレーム毎に各イベントの生起確率を計測してそれらイベントと計測された生起確率との組の集合を出力する。
【0026】
図4は、図3に示したイベントの集中化部241の動作を説明するためのフローチャートである。
【0027】
同図に示すように、集中化部241は、受け取ったイベントと生起確率との組の集合から、まず、そのイベントの種類を知って場合分け(分類)する(ステップS1)。
【0028】
そのイベントが動ベクトルの場合は(ステップS2)、フレーム間差分誤差値が閾値以下のときに特定の座標値を持つベクトルに集中化する。具体的には、例えば、X>XthでありかつXが奇数である場合にはX=[X/2]×2(ただし、[X]はXと等しいか、Xより“0”に近くかつXに最も近い整数である)とする等のベクトル座標の変換を行い(ステップS3)、イベントと生起確率との組を修正する(ステップS4)。
【0029】
そのイベントが符号化ブロックパターンである場合は(ステップS5)、ブロックのDCT変換係数のアクティビティが閾値未満のときにそのブロックを非符号化ブロックとして扱う。具体的には、例えば全ての変換係数が“0”でない有意ブロックの信号の絶対値和を測定することによって有意ブロックのアクティビティAを測定し(ステップS6)、このアクティビティAがA≧Athであれば(ステップS7)集中化は行わず、A<Athであれば(ステップS7)、そのブロックを非有意ブロックとして扱い(ステップS8)、イベントと生起確率との組を修正して集中化する(ステップS4)。
【0030】
そのイベントがDCT変換係数である場合は(ステップS9)、DCT変換係数の量子化レベルにおいて特定のレベルへの集中化を行う。具体的には、DCT変換係数のレベル値Levelを、例えば|Level|≦Thのときは変換せず、それ以外のときはLevel=[Level/2]×2(偶数のみをとる)とする等のレベル変換を行い(ステップS10)、イベントと生起確率との組を修正して集中化する(ステップS4)。
【0031】
VLC生成部242は、このようにして集中化されたイベントと生起確率との組の集合を受け取り、UWをエミュレートしないビットパターンを有するエミュレーションレスVLCをTフレーム毎に新たに生成(更新)する。
【0032】
エミュレーションレスVLCは、長さN(Nは複数の自然数)の連続するビット“0”からなるUWを作成し、符号語のプリフィックスにおけるビット“0”の連続長がs(sは自然数)以下であり、少なくとも1つのビット“1”を含む各符号語を作成し、作成された各符号語のサフィックスにおけるビット“0”の連続長がt(tは自然数)以下であり、各符号語内におけるビット“0”の連続長がN未満であり、かつs+t<Nとなるように各符号語のビットパターンを修正することによって生成される。
【0033】
VLCがUWをエミュレートしないようにするための、UWの特性及びVLCの構造への要求条件は次の通りである。
【0034】
UWの特性としては、このUWが以下の条件を満たすものであるとする。
(仮定1)扱う符号の中で使用されるUWは単一種類とする。
(仮定2)UWはビット“0”のみから構成されるものとする。
【0035】
仮定1は、VLCの生成を容易にするために重要な条件であるが、これによりUWの使用法が制限されることはない。複数種類のUWの使用が必要な場合には、ここで規定される単一種類のUWをエスケープ記号として使用し、その後方に機能別に割り当てられた拡張符号を置けばよい。仮定2は、実システムにおいて認識の容易性から、広く利用される設定であると同時に、VLCの生成を容易にするためにも重要な条件である。なお、UWのビット長はNと表わされる。
【0036】
UWをエミュレートしないVLCへの要求条件は、上述の仮定によるUWの特性とVLCセットの出現パターン(各符号内の符号語の出現パターンではない)とに依存する。VLCセットの出現パターンに関しては、まず最も簡略な単一符号の無限ループ伝送系を想定する。この系では、符号におけるシンボルの生起確率にのみ基づき、各符号語が出現する。この系における各符号語に対する要求条件は以下の通りである。
(条件1)ビット“0”のみから構成される符号語を禁止する。
(条件2)各符号語のプリフィックスにおけるビット“0”の最大連続長をs以下とする。
(条件3)各符号語のサフィックスにおけるビット“0”の最大連続長をt以下とする。
(条件4)s+t<Nとする。
(条件5)各符号語の中間におけるビット“0”の最大連続長をN未満とする。
【0037】
(条件1)は、同一の符号語が連続して出現した場合にUWをエミュレートするのを防止する条件である。(条件2)、(条件3)及び(条件4)は、2つの符号語の組み合わせがUWをエミュレートすることを防止する条件である。また、(条件5)は、符号語がUWを内包することによるエミュレーションを防止する条件である。(条件1〜5)を同時に満たすことが、UWのエミュレーションを起こさないことの必要十分条件となる。
【0038】
このように、VLC生成部242では、イベントの計測された発生確率に基づいて、Tフレーム毎にVLCを更新する。DCT変換係数の“0”ランレングス及びレベル等、イベント種類の特に多いものに関しては、発生確率の低いイベントを複数まとめてエスケープイベントとして扱い、これに続くFLCにて識別する。
【0039】
イベントがDCT変換係数の“0”ランレングス及びレベルである場合に、このようにして実際に更新して得たVLCテーブルの例を図5に示す。図6は、従来のMPEG−2によるVLCテーブルを示している。これらの図において、RUNは“0”の係数のランレングス、LEVELは“0”以外の係数のレベルであり、VLCはこれら各イベントに対応して設定されている。
【0040】
VLC割当て部244は、入力される符号化イベントに対して、VLC生成部242からの更新したVLCテーブルに応じたVLCの割当てを行う。更新したVLCの適用に関しては、図7の(A)に示すように計測を行ったTフレーム期間内で用いる方式と、図7の(B)に示すように計測を行ったTフレーム期間の次のTフレーム期間内で用いる方式とが存在する。本実施例では、前者の計測を行ったTフレーム期間内でVLCを適用する方式を用いている。そのTフレーム期間で発生した生起確率に基づいて作成されたVLCであるから、当然にVLCの符号化効率が最適化され、また、計測から適用への遅延がない。ただし、この場合、Tフレーム分の符号化イベントをバッファ部243でバッファリング遅延する必要がある。さらに、受信側に対して、VLC生成部242からVLCテーブルの送信(オーバーヘッド情報)が行われる。
【0041】
以上説明したように、本実施形態によれば、イベントの生起確率をTフレーム期間毎に計測し、計測したイベントの生起確率に応じて各イベントに割り当てられるVLCをそのTフレーム期間毎に適応的に新たに生成し、かつその生成するVLCとして、UWをエミュレートしないビットパターンを有するエミュレーションレスVLCを生成している。このため、同期を確実に確保しながら符号化効率を向上することができる。しかも、古いVLCと新しいVLCとの切換時においても、新旧VLCの組み合わせによってもUWのエミュレーションは発生せず、同期を確実にとることができる。また、そのTフレーム期間で発生した生起確率に基づいて作成されたVLCであるから、当然にVLCの符号化効率が最適化され、また、計測から適用への遅延がない。
【0042】
このように適応VLCを使用することにより、平均符号長を短縮するようイベントセットを選択可能である。即ち、特定イベントへの発生を集中化させてイベント種類を減少させることにより、フレーム間差分誤差や量子化誤差の増大とのトレードオフではあるが、VLCの平均符号長を低減させてVLCの符号化効率をさらに向上させることができる。例えば、DCT変換係数の“0”ランレングス及びレベルにおいては、選択可能なレベルを離散的に設定し、最も近いレベルに丸める処理を行っている。また、動きベクトルの選択に関しても、ベクトル座標値を離散的に設定し、最も近いベクトルを選択している。
【0043】
以上説明した実施形態では、イベントの集中化を行っているが、エミュレーションレスVLCを更新するようにさえ構成すれば、イベントの集中化を行わなくともよい。ただし、符号化効率は多少低くなる。また、イベントの集中化を行う場合には、通常のVLCを更新するように構成してもよい。ただし、その場合、UWをエミュレートする可能性があるため、同期が不確実になり得る。
【0044】
図8は、本発明の他の実施形態における可変長符号化部の構成を概略的に示すブロック図である。
【0045】
同図において、840は例えばジグザグスキャン後の符号化イベント(事象)、例えば、DCT変換係数の“0”ランレングス及びレベル、動き補償予測に用いる動ベクトルの座標値、並びに符号化ブロックパターンの有意ブロック及び非有意ブロック、の生起確率を所定時間毎に計測する生起確率計測部、841はイベントと計測された生起確率との組の集合を受け取りイベントの集中化を行ってイベント数を減少させる集中化部、842は集中化部841から集中化されたイベントとその生起確率との組の集合を受け取りUWをエミュレートしないビットパターンを有するエミュレーションレスVLCを生成するVLC生成部、844はVLC生成部842から生成したVLCテーブルを受け取りVLCの割当てを行うVLC割当て部をそれぞれ示している。
【0046】
本実施形態は、更新されたVLCを、図7の(B)に示すように計測を行ったTフレーム期間の次のTフレーム期間内で用いる方式を用いている。計測を行ったTフレーム期間の情報から受信側でも送信側と同様にVLCテーブルを作成できるのでVLCテーブルの送信(オーバーヘッド情報)が不要であり、また、そのTフレーム期間分のデータについてバッファリング遅延が不要となる。本実施形態におけるその他の構成は、図2の実施形態の場合と同様であるため、説明は省略する。
【0047】
本実施形態によれば、イベントの生起確率をTフレーム期間毎に計測し、計測したイベントの生起確率に応じて各イベントに割り当てられるVLCをそのTフレーム期間毎に適応的に新たに生成し、かつその生成するVLCとして、UWをエミュレートしないビットパターンを有するエミュレーションレスVLCを生成している。このため、同期を確実に確保しながら符号化効率を向上することができる。しかも、古いVLCと新しいVLCとの切換時においても、新旧VLCの組み合わせによってもUWのエミュレーションは発生せず、同期を確実にとることができる。また、次のTフレーム期間内でVLCを適用しているので、VLCテーブルの送信(オーバーヘッド情報)が不要であり、また、そのTフレーム期間分のデータについてバッファリング遅延が不要となる。
【0048】
このように適応VLCを使用することにより、平均符号長を短縮するようイベントセットを選択可能である。即ち、特定イベントへの発生を集中化させてイベント種類を減少させることにより、フレーム間差分誤差や量子化誤差の増大とのトレードオフではあるが、VLCの平均符号長を低減させてVLCの符号化効率をさらに向上させることができる。例えば、DCT変換係数の“0”ランレングス及びレベルにおいては、選択可能なレベルを離散的に設定し、最も近いレベルに丸める処理を行っている。また、動きベクトルの選択に関しても、ベクトル座標値を離散的に設定し、最も近いベクトルを選択している。
【0049】
本実施形態では、イベントの集中化を行っているが、エミュレーションレスVLCを更新するようにさえ構成すれば、イベントの集中化を行わなくともよい。ただし、符号化効率は多少低くなる。また、イベントの集中化を行う場合には、通常のVLCを更新するように構成してもよい。ただし、その場合、UWをエミュレートする可能性があるため、同期が不確実になり得る。
【0050】
計算機シミュレーションにより、以上の各実施形態の方式の符号化効率を計測した。MPEG−2符号化において、イベントとしては、DCT変換係数の“0”ランレングス及びレベルに対して適応的にVLCを更新した。テスト画像としては、Mobile & CalendarとFlower Gardenとを使用した。MPEG−2では、各種スタートコードが23ビットの連続“0”ビットとそれに続く識別子とから構成されているため、N=23、s=19、t=3とした。最大符号語長は、23ビットより数ビット短いため、通常のハフマン符号に比較した効率劣化は1%未満である。イベントの計測において、Tフレーム期間での発生回数が1回のものは統合してエスケープイベントとし、その後の18ビットのFLCにてこれを識別する。また、図7の(A)の方式を採用している図3の実施形態におけるVLCテーブルの送信は、イベント名(FLC)18ビット、符号語32ビットの計50ビット/イベントのオーバーヘッド情報を必要とする。例えばVLC中に200イベントが存在し、VLC更新を各フレーム毎に行う場合(T=1)には、300kbit/sを要する。
【0051】
(1)適応的VLC更新の効果
T=1、3、6、15において計測を行った。T=1、3に対する符号化効率を図9に示す。なお、図3の実施形態の方式((A)の方式)ではオーバーヘッド情報分を考慮している。この(A)の方式ではT=1において効率が最大となり、両画像とも10.3%(Q=2)のレート削減が確認される。図8の実施形態の方式((B)の方式)ではT=3において効率が最大で、ゲインは6.6%(Q=2)である。この(B)の方式では、小さいTでイベント数が限定され、VLC使用フレーム期間におけるエスケープイベントの使用率が高くなるため、T=3で効率が最大となると考えられる。両方式を比較すると、オーバーヘッド情報を含めても(A)の方式の方が高い効率を得られることがわかる。なお、両方式とも符号化レートが下がるにつれ、標準的VLCとの差は縮小する。これは、標準的VLCが低い符号化レートにおいて、最適化されているためと考えられる。
【0052】
(2)イベントの集中化の効果
(A)及び(B)の方式において、DCT係数のレベル値を以下のように限定した場合の符号化効率を測定した。
if |level|≦10,level=level
else level=[level/2]×2
ただし、[x]はxと等しいかxより0に近く、xに最も近い整数である。
(A)の方式T=1及び(B)の方式T=3に対して、イベント集中化の有無による符号化効率の比較を図10に示す。効率改善がわずかに確認される。イベント数は約13%減少しているため、VLC/VLD(可変長符号化/可変長復号化)における処理負担が軽減できる。
【0053】
以上述べた実施形態は全て本発明を例示的に示すものであって限定的に示すものではなく、本発明は他の種々の変形態様及び変更態様で実施することができる。従って本発明の範囲は特許請求の範囲及びその均等範囲によってのみ規定されるものである。
【0054】
【発明の効果】
以上詳細に説明したように本発明によれば、UWをエミュレートしないビットパターンを有するエミュレーションレスVLCを生成して用いる可変長符号化方法であって、イベント(事象)の生起確率を所定期間毎に計測すること及び計測したイベントの生起確率に応じてイベントに割り当てられるエミュレーションレスVLCを所定期間毎に適応的に生成することを、異なる複数のイベントに対してそれぞれ行って得られたエミュレーションレスVLCを用いる可変長符号化方法、並びに、UWをエミュレートしないビットパターンを有するエミュレーションレスVLCを生成して用いる可変長符号化装置であって、イベントの生起確率を所定期間毎に計測する計測手段と、この計測手段によって計測したイベントの生起確率に応じてイベントに割り当てられるエミュレーションレスVLCをその所定期間毎に適応的に生成する生成手段とを備えており、計測手段による計測及び生成手段による生成を異なる複数のイベントに対してそれぞれ行って得られたエミュレーションレスVLCを用いる可変長符号化装置が提供される。このように、イベントの生起確率を所定期間毎に計測し、計測したイベントの生起確率に応じて各イベントに割り当てられるVLCをその所定期間毎に適応的に新たに生成し、かつその生成するVLCとして、上述のようなUWをエミュレートしないビットパターンを有するエミュレーションレスVLCを生成している。このため、同期を確実に確保しながら符号化効率を向上することができる。しかも、古いVLCと新しいVLCとの切換時においても、新旧VLCの組み合わせによってもUWのエミュレーションは発生せず、同期を確実にとることができる。
【図面の簡単な説明】
【図1】符号化ビットストリームに挿入されるUWを示す図である。
【図2】本発明の一実施形態として符号化装置の一部の構成を概略的に示すブロック図である。
【図3】図2の実施形態における可変長符号化部の構成を概略的に示すブロック図である。
【図4】図3におけるイベントの集中化部の動作を説明するためのフローチャートである。
【図5】図2の実施形態により、更新されたVLCテーブルの例を示す図である。
【図6】従来のMPEG−2によるVLCテーブルを示す図である。
【図7】更新したVLCの適用期間を説明する図である。
【図8】本発明の他の実施形態における可変長符号化部の構成を概略的に示すブロック図である。
【図9】適応VLCにおける符号化効率の比較を表す図である。
【図10】集中化されたイベントセットによるVLCの符号化効率を表す図である。
【符号の説明】
20 動き補償予測符号化部
21 DCT変換部
22 量子化部
23 スキャン部
24 可変長符号化部
240、840 生起確率計測部
241 841 集中化部
242、842 VLC生成部
243 バッファ部
244、844 VLC割当て部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a variable length coding method and apparatus used in a signal transmission system using a binary code.
[0002]
[Prior art]
In order to efficiently compress video information, various video encoding methods have been internationally standardized and used in various applications. Among them, in the information source encoding unit that performs predictive coding such as quantization and motion compensation prediction, transform coding such as orthogonal transform, etc., the encoding efficiency is improved by an adaptive method according to the image properties such as the prediction method. However, in a transmission path coding unit that performs variable length coding, error correction coding, etc., a variable length code (hereinafter referred to as VLC) is used in a fixed manner in order to omit generation processing. ing.
[0003]
On the other hand, it has been reported that the coding efficiency can be improved by adaptively updating the VLC (Uekura et al., “Study on Adaptive Variable Length Coding Method for Video”, 1997 Video Information Media Annual Conference 21-4, p.262, 19977.7).
[0004]
[Problems to be solved by the invention]
However, if the VLC is arbitrarily designed to have an arbitrary bit pattern as in the proposed method, a unique word (hereinafter referred to as UW) that is periodically inserted to ensure synchronization may not be used. There is.
[0005]
Accordingly, an object of the present invention is to provide a variable-length coding method and apparatus capable of improving coding efficiency while ensuring synchronization.
[0006]
[Means for Solving the Problems]
According to the present invention, there is provided a variable-length coding method for generating and using an emulation-less VLC having a bit pattern that does not emulate UW, and measuring and measuring the occurrence probability of an event (event) every predetermined period. Variable length coding method using emulationless VLC obtained by adaptively generating emulationless VLC assigned to an event for each predetermined period according to the occurrence probability of the event for each of a plurality of different events Is provided.
[0007]
According to the present invention, there is further provided a variable-length encoding device that generates and uses an emulation-less VLC having a bit pattern that does not emulate UW, and includes a measuring unit that measures the occurrence probability of an event for each predetermined period, A generation unit adapted to adaptively generate an emulation-less VLC assigned to an event according to the occurrence probability of the event measured by the measurement unit for each predetermined period, and a plurality of different measurement and generation by the measurement unit There is provided a variable length coding device using emulationless VLC obtained by performing each of the above events.
[0008]
As shown in FIG. 1, UW is inserted into an encoded bit stream at a constant period (for example, one slice or one frame) corresponding to an image frame structure in order to ensure synchronization during decoding. VLC and fixed-length codes (hereinafter referred to as FLC) in the encoded payload require that no combination of codewords emulate UW. Conventionally, emulation has been solved by an empirical method. However, a systematic generation method of a code that prevents emulation while substantially maintaining coding efficiency has already been proposed by the present applicant (Japanese Patent Laid-Open No. 9-232968). Publication). This method generates a unique VLC from the UW bit length (N) consisting only of “0” bits and the continuous “0” bit length restrictions (s, t) allowed for the prefix and suffix of the VLC. Thus, it can be easily applied to video coding.
[0009]
In the present invention, the occurrence probability of an event is measured for each predetermined period, and a VLC assigned to each event is adaptively generated for each predetermined period according to the measured occurrence probability of the event, and the generated VLC As described above, an emulation-less VLC having a bit pattern that does not emulate UW as described above is generated. For this reason, encoding efficiency can be improved while ensuring synchronization reliably. Moreover, even when switching between the old VLC and the new VLC, UW emulation does not occur even if the old and new VLC are combined, and synchronization can be ensured.
[0010]
It is preferable to use a newly generated emulationless VLC within a predetermined period during which the measurement is performed. Since the VLC is created based on the probability of occurrence occurring in the predetermined period, naturally the coding efficiency of the VLC is optimized, and there is no delay from measurement to application.
[0011]
It is also preferable to use the newly generated emulationless VLC within a predetermined period following the predetermined period during which the measurement is performed. Since the VLC table can be created on the receiving side as well as the transmitting side from the measured information for a predetermined period, transmission of the VLC table (overhead information) is unnecessary, and no buffering delay is required for the data for the predetermined period. It becomes.
[0012]
It is also highly preferable to generate an emulation-less VLC for each event obtained by concentrating the events that occur to a specific event.
[0018]
The predetermined period described above may be a T (natural number) image frame.
[0019]
In the embodiment of the present invention, each event is a DCT transform coefficient “0” run length and level, a motion vector used for motion compensation prediction, or a coded block pattern.
[0020]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0021]
FIG. 2 is a block diagram schematically showing a part of the configuration of the encoding apparatus as an embodiment of the present invention.
[0022]
In the figure, 20 is a motion compensated prediction encoding unit, 21 is a DCT (Discrete Cosine Transform) conversion unit, 22 is a quantization unit, 23 is a zigzag scan or other method event scanning unit, and 24 is a variable related to the present invention. Each of the long encoding units is shown. Since each part except the variable length encoding part 24 is a known structure, description is abbreviate | omitted in this specification.
[0023]
FIG. 3 is a block diagram schematically showing the configuration of the variable length coding unit 24 in the present embodiment.
[0024]
In the figure, reference numeral 240 denotes, for example, a coding event (event) after a zigzag scan, for example, “0” run length and level of a DCT transform coefficient, a coordinate value of a motion vector used for motion compensation prediction, and a significant coding block pattern. An occurrence probability measurement unit that measures occurrence probabilities of blocks and non-significant blocks every predetermined time, 241 receives a set of pairs of events and measured occurrence probabilities, and concentrates events to reduce the number of events The VLC generator 242 receives a set of the centralized event and its occurrence probability from the centralizer 241 and generates an emulationless VLC having a bit pattern that does not emulate UW. For example, a buffer unit for delaying a coding event after zigzag scanning, 2 4 shows the VLC allocation unit for allocating a receive VLC the VLC table generated from VLC generating unit 242, respectively.
[0025]
In the present embodiment, it is assumed that every predetermined time, which is the timing for updating the VLC, is every T (natural number) image frame. The occurrence probability measurement unit 240 measures the occurrence probability of each event for each T frame and outputs a set of sets of these events and the measured occurrence probabilities.
[0026]
FIG. 4 is a flowchart for explaining the operation of the event concentration unit 241 shown in FIG.
[0027]
As shown in the figure, the centralizing unit 241 first classifies the event by knowing the type of the event from the set of the set of the received event and the occurrence probability (step S1).
[0028]
When the event is a motion vector (step S2), when the inter-frame difference error value is equal to or less than a threshold value, the event is concentrated on a vector having a specific coordinate value. Specifically, for example, when X> Xth and X is an odd number, X = [X / 2] × 2 (where [X] is equal to X or closer to “0” than X and The vector coordinates are converted such that it is an integer closest to X (step S3), and the set of the event and the occurrence probability is corrected (step S4).
[0029]
If the event is a coded block pattern (step S5), the block is treated as a non-coded block when the activity of the DCT transform coefficient of the block is less than a threshold value. Specifically, for example, the activity A of the significant block is measured by measuring the absolute value sum of the signals of the significant blocks whose conversion coefficients are not “0” (step S6). If the activity A is A ≧ Ath, (Step S7) No centralization is performed, and if A <Ath (Step S7), the block is treated as an insignificant block (Step S8), and the combination of the event and the occurrence probability is corrected and concentrated (Step S7). Step S4).
[0030]
If the event is a DCT transform coefficient (step S9), the DCT transform coefficient is concentrated to a specific level at the quantization level. Specifically, the level value Level of the DCT conversion coefficient is not converted when, for example, | Level | ≦ Th, and Level = [Level / 2] × 2 (takes only an even number) otherwise. Level conversion is performed (step S10), and a set of events and occurrence probabilities is corrected and concentrated (step S4).
[0031]
The VLC generation unit 242 receives a set of pairs of events and occurrence probabilities centralized in this way, and newly generates (updates) an emulation-less VLC having a bit pattern that does not emulate UW for each T frame. .
[0032]
Emulation-less VLC creates a UW consisting of consecutive bits “0” of length N (N is a plurality of natural numbers), and the continuous length of bits “0” in the prefix of the codeword is s (s is a natural number) or less. Each code word including at least one bit “1” is created, and the continuous length of the bit “0” in the suffix of each created code word is less than or equal to t (t is a natural number), It is generated by correcting the bit pattern of each codeword so that the continuous length of bit “0” is less than N and s + t <N.
[0033]
The requirements for the characteristics of the UW and the structure of the VLC to prevent the VLC from emulating the UW are as follows.
[0034]
As UW characteristics, it is assumed that this UW satisfies the following conditions.
(Assumption 1) The UW used in the handled code is of a single type.
(Assumption 2) It is assumed that UW is composed of only bit “0”.
[0035]
Assumption 1 is an important condition to facilitate the generation of VLC, but this does not limit the usage of UW. When it is necessary to use a plurality of types of UWs, a single type of UW defined here may be used as an escape symbol, and an extension code assigned for each function may be placed behind it. Assumption 2 is an important condition for facilitating the generation of VLC as well as a widely used setting because of the ease of recognition in an actual system. The bit length of UW is represented as N.
[0036]
The requirement for VLC that does not emulate UW depends on the characteristics of UW based on the above assumption and the appearance pattern of VLC sets (not the appearance pattern of codewords in each code). Regarding the appearance pattern of the VLC set, first, the simplest single code infinite loop transmission system is assumed. In this system, each code word appears based only on the occurrence probability of a symbol in the code. The requirements for each codeword in this system are as follows.
(Condition 1) Code words composed only of bit “0” are prohibited.
(Condition 2) The maximum continuous length of bit “0” in the prefix of each codeword is set to s or less.
(Condition 3) The maximum continuous length of bit “0” in the suffix of each code word is set to t or less.
(Condition 4) s + t <N.
(Condition 5) The maximum continuous length of the bit “0” in the middle of each codeword is less than N.
[0037]
(Condition 1) is a condition for preventing UW from being emulated when the same codeword appears continuously. (Condition 2), (Condition 3), and (Condition 4) are conditions that prevent a combination of two codewords from emulating UW. (Condition 5) is a condition for preventing emulation due to the inclusion of UW in the code word. Satisfying (Conditions 1 to 5) is a necessary and sufficient condition not to cause UW emulation.
[0038]
As described above, the VLC generation unit 242 updates the VLC for each T frame based on the measured occurrence probability of the event. For events having a large number of event types such as “0” run length and level of DCT conversion coefficient, a plurality of events having low occurrence probabilities are collectively treated as escape events, and identified by subsequent FLC.
[0039]
FIG. 5 shows an example of the VLC table obtained by actually updating in this way when the event is the DCT transform coefficient “0” run length and level. FIG. 6 shows a conventional MPEG-2 VLC table. In these figures, RUN is a run length of a coefficient of “0”, LEVEL is a level of a coefficient other than “0”, and VLC is set corresponding to each of these events.
[0040]
The VLC allocation unit 244 allocates a VLC corresponding to the updated VLC table from the VLC generation unit 242 for the input encoding event. Regarding the application of the updated VLC, the method used in the T frame period in which measurement is performed as shown in FIG. 7A and the T frame period in which measurement is performed as shown in FIG. Schemes used within a T frame period. In the present embodiment, a method of applying VLC within the T frame period in which the former measurement is performed is used. Since the VLC is generated based on the occurrence probability generated during the T frame period, naturally the encoding efficiency of the VLC is optimized, and there is no delay from measurement to application. However, in this case, it is necessary to buffer the encoding events for T frames in the buffer unit 243. Further, transmission (overhead information) of the VLC table is performed from the VLC generation unit 242 to the reception side.
[0041]
As described above, according to the present embodiment, the occurrence probability of an event is measured for each T frame period, and the VLC assigned to each event according to the measured event occurrence probability is adaptive for each T frame period. An emulation-less VLC having a bit pattern that does not emulate UW is generated as a VLC that is newly generated. For this reason, encoding efficiency can be improved while ensuring synchronization reliably. Moreover, even when switching between the old VLC and the new VLC, UW emulation does not occur even if the old and new VLC are combined, and synchronization can be ensured. In addition, since the VLC is generated based on the occurrence probability generated in the T frame period, naturally, the VLC encoding efficiency is optimized, and there is no delay from measurement to application.
[0042]
By using adaptive VLC in this way, an event set can be selected to shorten the average code length. That is, by reducing the event types by concentrating the occurrence of specific events, there is a trade-off with an increase in inter-frame difference error and quantization error, but the VLC code length is reduced by reducing the VLC average code length. Efficiency can be further improved. For example, in the “0” run length and level of the DCT transform coefficient, selectable levels are discretely set and rounded to the nearest level. Further, regarding the selection of a motion vector, vector coordinate values are set discretely and the closest vector is selected.
[0043]
In the embodiment described above, the event centralization is performed. However, as long as the emulationless VLC is configured to be updated, the event centralization may not be performed. However, the encoding efficiency is somewhat lowered. In addition, when performing event centralization, a normal VLC may be updated. However, in that case, synchronization may be uncertain because of the possibility of emulating UW.
[0044]
FIG. 8 is a block diagram schematically showing a configuration of a variable length coding unit in another embodiment of the present invention.
[0045]
In the figure, reference numeral 840 denotes an encoding event after the zigzag scan, for example, “0” run length and level of the DCT transform coefficient, coordinate value of the motion vector used for motion compensation prediction, and significant encoding block pattern An occurrence probability measuring unit that measures the occurrence probabilities of blocks and non-significant blocks every predetermined time, 841 is a concentration that receives a set of pairs of events and measured occurrence probabilities and centralizes the events to reduce the number of events 842 is a VLC generation unit that receives a set of a set of events centralized from the centralization unit 841 and their occurrence probabilities and generates an emulation-less VLC having a bit pattern that does not emulate UW, and 844 is a VLC generation unit A VLC allocation unit that receives the VLC table generated from 842 and allocates the VLC. Re respective shows.
[0046]
In the present embodiment, a method is used in which the updated VLC is used within a T frame period subsequent to a T frame period in which measurement is performed as illustrated in FIG. Since the VLC table can be created on the receiving side as well as the transmitting side from the information of the measured T frame period, transmission of the VLC table (overhead information) is not necessary, and buffering delay for data for the T frame period Is no longer necessary. Other configurations in the present embodiment are the same as those in the embodiment of FIG.
[0047]
According to this embodiment, the occurrence probability of an event is measured every T frame period, and a VLC assigned to each event is adaptively generated for each T frame period according to the measured event occurrence probability. An emulation-less VLC having a bit pattern that does not emulate UW is generated as the generated VLC. For this reason, encoding efficiency can be improved while ensuring synchronization reliably. Moreover, even when switching between the old VLC and the new VLC, UW emulation does not occur even if the old and new VLC are combined, and synchronization can be ensured. In addition, since VLC is applied within the next T frame period, transmission of VLC table (overhead information) is unnecessary, and no buffering delay is required for data for the T frame period.
[0048]
By using adaptive VLC in this way, an event set can be selected to shorten the average code length. That is, by reducing the event types by concentrating the occurrence of specific events, there is a trade-off with an increase in inter-frame difference error and quantization error, but the VLC code length is reduced by reducing the VLC average code length. Efficiency can be further improved. For example, in the “0” run length and level of the DCT transform coefficient, selectable levels are discretely set and rounded to the nearest level. Further, regarding the selection of a motion vector, vector coordinate values are set discretely and the closest vector is selected.
[0049]
In this embodiment, the event centralization is performed. However, as long as the emulationless VLC is configured to be updated, the event centralization may not be performed. However, the encoding efficiency is somewhat lowered. In addition, when performing event centralization, a normal VLC may be updated. However, in that case, synchronization may be uncertain because of the possibility of emulating UW.
[0050]
The encoding efficiency of the method of each of the above embodiments was measured by computer simulation. In the MPEG-2 encoding, as an event, the VLC is adaptively updated with respect to the “0” run length and level of the DCT transform coefficient. Mobile & Calendar and Flower Garden were used as test images. In MPEG-2, since various start codes are composed of 23 consecutive “0” bits followed by an identifier, N = 23, s = 19, and t = 3. Since the maximum codeword length is a few bits shorter than 23 bits, the efficiency degradation compared to a normal Huffman code is less than 1%. In event measurement, events that occur once in the T frame period are integrated into an escape event, which is identified by subsequent 18-bit FLC. Further, the transmission of the VLC table in the embodiment of FIG. 3 adopting the method of FIG. 7A requires the event name (FLC) 18 bits and the codeword 32 bits in total 50 bits / event overhead information. And For example, when 200 events exist in the VLC and VLC update is performed for each frame (T = 1), 300 kbit / s is required.
[0051]
(1) Effect of adaptive VLC update Measurement was performed at T = 1, 3, 6, and 15. The coding efficiency for T = 1, 3 is shown in FIG. Note that overhead information is taken into consideration in the method of the embodiment of FIG. 3 (method (A)). In the method (A), the efficiency is maximum at T = 1, and a rate reduction of 10.3% (Q = 2) is confirmed for both images. In the method of the embodiment of FIG. 8 (method (B)), the efficiency is maximum at T = 3, and the gain is 6.6% (Q = 2). In the method (B), the number of events is limited at a small T, and the usage rate of escape events in the VLC usage frame period is high. Therefore, it is considered that the efficiency is maximized at T = 3. Comparing both methods shows that the method (A) can obtain higher efficiency even if overhead information is included. Note that the difference from the standard VLC decreases as the encoding rate decreases in both systems. This is probably because standard VLC is optimized at a low coding rate.
[0052]
(2) Effect of event centralization In the methods (A) and (B), coding efficiency was measured when the DCT coefficient level values were limited as follows.
if | level | ≦ 10, level = level
else level = [level / 2] × 2
However, [x] is an integer that is equal to x or closer to 0 than x and closest to x.
FIG. 10 shows a comparison of coding efficiency according to the presence / absence of event concentration with respect to method T = 1 in (A) and method T = 3 in (B). There is a slight improvement in efficiency. Since the number of events is reduced by about 13%, the processing load in VLC / VLD (variable length coding / variable length decoding) can be reduced.
[0053]
The above-described embodiments are all illustrative of the present invention and are not limited to the present invention, and the present invention can be implemented in various other variations and modifications. Therefore, the scope of the present invention is defined only by the claims and their equivalents.
[0054]
【The invention's effect】
As described above in detail, according to the present invention, there is provided a variable-length encoding method for generating and using an emulation-less VLC having a bit pattern that does not emulate UW, wherein the occurrence probability of an event is determined for each predetermined period. The emulation-less VLC obtained by performing each of a plurality of different events adaptively generating the emulation-less VLC assigned to the event in accordance with the occurrence probability of the measured event for each predetermined period. And a variable-length encoding apparatus that generates and uses an emulation-less VLC having a bit pattern that does not emulate UW, and includes a measurement unit that measures the occurrence probability of an event at predetermined intervals. Depending on the event occurrence probability measured by this measuring means, Generation means adapted to adaptively generate an emulation-less VLC assigned to each of the predetermined periods, and emulation obtained by performing measurement by the measurement means and generation by the generation means for each of a plurality of different events. A variable length coding device using less VLC is provided. Thus, the occurrence probability of an event is measured every predetermined period, and a VLC assigned to each event is adaptively generated for each predetermined period according to the measured occurrence probability of the event, and the generated VLC As described above, an emulation-less VLC having a bit pattern that does not emulate UW as described above is generated. For this reason, encoding efficiency can be improved while ensuring synchronization reliably. Moreover, even when switching between the old VLC and the new VLC, UW emulation does not occur even if the old and new VLC are combined, and synchronization can be ensured.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating UWs inserted into an encoded bitstream.
FIG. 2 is a block diagram schematically showing a partial configuration of an encoding apparatus as an embodiment of the present invention.
FIG. 3 is a block diagram schematically showing the configuration of a variable length coding unit in the embodiment of FIG. 2;
4 is a flowchart for explaining an operation of an event centralization unit in FIG. 3; FIG.
FIG. 5 is a diagram illustrating an example of a VLC table updated according to the embodiment of FIG. 2;
FIG. 6 is a diagram illustrating a conventional MPEG-2 VLC table.
FIG. 7 is a diagram for explaining an application period of an updated VLC.
FIG. 8 is a block diagram schematically showing a configuration of a variable length coding unit according to another embodiment of the present invention.
FIG. 9 is a diagram illustrating a comparison of coding efficiency in adaptive VLC.
FIG. 10 is a diagram illustrating coding efficiency of VLC by a centralized event set.
[Explanation of symbols]
20 motion compensated prediction encoding unit 21 DCT conversion unit 22 quantization unit 23 scanning unit 24 variable length encoding unit 240, 840 occurrence probability measurement unit 241 841 concentration unit 242, 842 VLC generation unit 243 buffer unit 244, 844 VLC allocation Part

Claims (16)

ユニークワードをエミュレートしないビットパターンを有するエミュレーションレス可変長符号を生成して用いる可変長符号化方法であって、イベントの生起確率を所定期間毎に計測すること及び該計測したイベントの生起確率に応じて該イベントに割り当てられるエミュレーションレス可変長符号を該所定期間毎に適応的に生成することを、異なる複数のイベントに対してそれぞれ行って得られたエミュレーションレス可変長符号を用いることを特徴とする可変長符号化方法。  A variable-length encoding method for generating and using an emulation-less variable-length code having a bit pattern that does not emulate a unique word, and measuring the occurrence probability of an event for each predetermined period and measuring the occurrence probability of the event The emulation-less variable-length code assigned to the event is adaptively generated for each predetermined period, and the emulation-less variable-length code obtained by performing each for a plurality of different events is used. A variable length encoding method. 該生成したエミュレーションレス可変長符号を当該計測を行った所定期間内に用いることを特徴とする請求項1に記載の方法。  The method according to claim 1, wherein the generated emulationless variable length code is used within a predetermined period during which the measurement is performed. 該生成したエミュレーションレス可変長符号を当該計測を行った所定期間の次の所定期間内に用いることを特徴とする請求項1に記載の方法。  The method according to claim 1, wherein the generated emulationless variable length code is used within a predetermined period following the predetermined period during which the measurement is performed. 発生する前記イベントを特定イベントに集中させて得られる各イベントについてエミュレーションレス可変長符号を生成することを特徴とする請求項1から3のいずれか1項に記載の方法。  The method according to any one of claims 1 to 3, wherein an emulationless variable length code is generated for each event obtained by concentrating the generated events on a specific event. 前記所定期間が、T(自然数)画像フレームであることを特徴とする請求項1から4のいずれか1項に記載の方法。  5. The method according to claim 1, wherein the predetermined period is a T (natural number) image frame. 前記イベントが、DCT変換係数の“0”ランレングス及びレベルを含むことを特徴とする請求項1から5のいずれか1項に記載の方法。  The method according to claim 1, wherein the event includes a DCT transform coefficient “0” run length and level. 前記イベントが、動き補償予測に用いる動ベクトルを含むことを特徴とする請求項1から6のいずれか1項に記載の方法。  The method according to claim 1, wherein the event includes a motion vector used for motion compensation prediction. 前記イベントが、符号化ブロックパターンを含むことを特徴とする請求項1から7のいずれか1項に記載の方法。  The method according to claim 1, wherein the event includes an encoded block pattern. ユニークワードをエミュレートしないビットパターンを有するエミュレーションレス可変長符号を生成して用いる可変長符号化装置であって、イベントの生起確率を所定期間毎に計測する計測手段と、該計測手段によって計測したイベントの生起確率に応じて該イベントに割り当てられるエミュレーションレス可変長符号を該所定期間毎に適応的に生成する生成手段とを備えており、該計測手段による計測及び該生成手段による生成を異なる複数のイベントに対してそれぞれ行って得られたエミュレーションレス可変長符号を用いることを特徴とする可変長符号化装置。  A variable-length encoding device that generates and uses an emulation-less variable-length code having a bit pattern that does not emulate a unique word, the measurement means for measuring the occurrence probability of an event every predetermined period, and the measurement means A generation unit adapted to adaptively generate an emulationless variable length code assigned to the event according to the occurrence probability of the event for each predetermined period, and a plurality of different measurement and generation by the measurement unit A variable-length coding apparatus using emulation-less variable-length codes obtained by performing each of the above events. 該生成手段が生成したエミュレーションレス可変長符号を当該計測を行った所定期間内に用いる手段をさらに備えたことを特徴とする請求項9に記載の装置。  10. The apparatus according to claim 9, further comprising means for using the emulationless variable length code generated by the generating means within a predetermined period during which the measurement is performed. 該生成手段が生成したエミュレーションレス可変長符号を当該計測を行った所定期間の次の所定期間内に用いる手段をさらに備えたことを特徴とする請求項9に記載の装置。  10. The apparatus according to claim 9, further comprising means for using the emulationless variable length code generated by the generating means within a predetermined period following the predetermined period during which the measurement is performed. 発生する前記イベントを特定イベントに集中させる集中化手段をさらに備えており、前記生成手段は該集中化手段によって得られる各イベントについてエミュレーションレス可変長符号を生成するように構成されていることを特徴とする請求項9から11のいずれか1項に記載の装置。  Concentrating means for concentrating the generated events to specific events is further provided, and the generating means is configured to generate an emulationless variable length code for each event obtained by the centralizing means. The device according to any one of claims 9 to 11. 前記所定期間が、T(自然数)画像フレームであることを特徴とする請求項9から12のいずれか1項に記載の装置。  13. The apparatus according to claim 9, wherein the predetermined period is a T (natural number) image frame. 前記イベントが、DCT変換係数の“0”ランレングス及びレベルを含むことを特徴とする請求項9から13のいずれか1項に記載の装置。  14. An apparatus according to any one of claims 9 to 13, wherein the event comprises a "0" run length and level of DCT transform coefficients. 前記イベントが、動き補償予測に用いる動ベクトルを含むことを特徴とする請求項9から14のいずれか1項に記載の装置。  The apparatus according to claim 9, wherein the event includes a motion vector used for motion compensation prediction. 前記イベントが、符号化ブロックパターンを含むことを特徴とする請求項9から15のいずれか1項に記載の装置。  The apparatus according to any one of claims 9 to 15, wherein the event includes a coded block pattern.
JP28429997A 1997-10-02 1997-10-02 Variable length coding method and apparatus Expired - Fee Related JP3919038B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28429997A JP3919038B2 (en) 1997-10-02 1997-10-02 Variable length coding method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28429997A JP3919038B2 (en) 1997-10-02 1997-10-02 Variable length coding method and apparatus

Publications (2)

Publication Number Publication Date
JPH11112356A JPH11112356A (en) 1999-04-23
JP3919038B2 true JP3919038B2 (en) 2007-05-23

Family

ID=17676740

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28429997A Expired - Fee Related JP3919038B2 (en) 1997-10-02 1997-10-02 Variable length coding method and apparatus

Country Status (1)

Country Link
JP (1) JP3919038B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004075556A1 (en) 2003-02-19 2004-09-02 Ishikawajima-Harima Heavy Industries Co., Ltd. Image compression device, image compression method, image compression program, compression/encoding method, compression/encoding device, compression/encoding program, decoding method, decoding device, and decoding program

Also Published As

Publication number Publication date
JPH11112356A (en) 1999-04-23

Similar Documents

Publication Publication Date Title
US10623781B2 (en) Variable length coding method and variable length decoding method
KR0129558B1 (en) Adaptive variable length coding method and apparatus
US5497153A (en) System for variable-length-coding and variable-length-decoding digital data for compressing transmission data
US8250430B2 (en) Coding system, encoding apparatus and decoding apparatus, with information and parity storage units
US20030202710A1 (en) Entropy coding scheme for video coding
KR100496774B1 (en) Method and apparatus for recompressing with data efficient quantization table for a digital video signal processor
JP3919038B2 (en) Variable length coding method and apparatus
KR0157463B1 (en) Adaptive variable length encoding/decoding method for image data
JP3164806B2 (en) Variable length encoding method and apparatus
JP3233360B2 (en) Variable length decoding method and apparatus
JP3579409B2 (en) Variable length encoding method and apparatus
JP3579410B2 (en) Variable length encoding method and apparatus
JP3579411B2 (en) Variable length encoding method and apparatus
JP3579412B2 (en) Variable length decoding method and apparatus
JPH0514742A (en) Encoder
JP2003179503A (en) Variable length decoding method and device
JP2004364340A (en) Variable length coding method and device
JP2001308716A (en) Method and device for variable length encoding
JP2001308717A (en) Method and device for variable length decoding
JPH04330829A (en) Coding and decoding device
JP2001308718A (en) Method and device for variable length encoding
JP2004048723A (en) Variable length coding method and apparatus
JPH03114381A (en) Picture coding and decoding system, picture coder and picture decoder

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040415

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040427

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040623

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040713

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070208

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110223

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130223

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees