JP4829720B2 - 可変長符号復号装置 - Google Patents
可変長符号復号装置 Download PDFInfo
- Publication number
- JP4829720B2 JP4829720B2 JP2006231882A JP2006231882A JP4829720B2 JP 4829720 B2 JP4829720 B2 JP 4829720B2 JP 2006231882 A JP2006231882 A JP 2006231882A JP 2006231882 A JP2006231882 A JP 2006231882A JP 4829720 B2 JP4829720 B2 JP 4829720B2
- Authority
- JP
- Japan
- Prior art keywords
- decoding
- bits
- address
- format
- length code
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M7/00—Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
- H03M7/30—Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
- H03M7/40—Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code
- H03M7/42—Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code using table look-up for the coding or decoding process, e.g. using read-only memory
- H03M7/425—Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code using table look-up for the coding or decoding process, e.g. using read-only memory for the decoding process only
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M7/00—Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
- H03M7/30—Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M7/00—Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
- H03M7/30—Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
- H03M7/40—Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M7/00—Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
- H03M7/30—Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
- H03M7/46—Conversion to or from run-length codes, i.e. by representing the number of consecutive digits, or groups of digits, of the same kind by a code word and a digit indicative of that kind
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/115—Selection of the code volume for a coding unit prior to coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/12—Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/176—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a block, e.g. a macroblock
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/61—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Description
特許文献1に示された方法では、共通ビットより後の部分から次の復号処理用の表を参照するため、表参照に使用するビット数より共通ビット部分が短い場合、その差のビット分については、次の表参照でも利用する。すなわち、そのビット分は複数回参照が行われるため、その分復号処理用の表のエントリが余分に必要となる。
次表アドレス103の代わりに次表を識別可能なインデックス番号を用いる実装も可能である。インデックス番号から表の場所を特定する表を別途用意すれば、インデックス番号から次表を特定可能である。すなわち、次表アドレス103は次に参照する表を特定できる手段であれば代用可能である。
図3から図6に示した表の各エントリは図1で示したフォーマットのデータで構成するため、次表アドレス103と次表参照ビット数102の組み合わせか、有効ビット数204と復号結果205の組み合わせのいずれかとなる。
復号処理用の表参照で参照するエントリを決定するためには、当該エントリのオフセットアドレスを求める必要があるが、オフセットアドレスは可変長符号から参照するビット部分を2進数とみなした値と等価であるので、簡単に算出可能である。尚、表Aから表Dにおいてオフセットアドレスは何番目のエントリであるか示しており、1エントリ16ビットの構成ではオフセットアドレス1個分で2バイト分に相当する。
最初に参照する表の作成では、図2の可変長符号表で符号語のMSBから最初の2ビットに着目する。この場合、2ビットの全ての組み合わせ、すなわち00、01、10、11についてのエントリを持つ表を作成する。この表を図3に表Aとして示す。
個々の復号処理用の表は、その表からエントリを選択する際、可変長符号から何ビット参照するかによりエントリ数が決まる。先にも説明したように、可変長符号のnビットを参照する場合、復号処理用の表は2のn乗エントリで構成するため、nの増大は復号処理用の表のサイズを指数関数的に増大させる点に配慮が必要である。
テーブルメモリ制御部540により、外部からテーブルメモリ550を書き換え可能なため、復号対象とする符号表に応じてテーブルメモリ550を書き換えて、複数種類の符号表に対応可能である。また、テーブルメモリ550の容量が十分であれば、予め複数の符号表に対応する復号処理用の表セットを全てテーブルメモリ550に書き込んで利用することも可能である。最初に利用する復号処理用の表は初期テーブル開始アドレスにより選択する。
Claims (2)
- 可変長符号データの復号処理を行なう復号処理表を具備した復号処理手段を備え、
前記復号処理表は、前記復号処理において次に実行する復号処理で参照すべき次表を指定する識別情報と前記次表を参照する際に、前記可変長符号データから切り出すべきビット数を示す識別情報とを格納した第1のフォーマットと、前記復号処理を繰り返して得られた復号結果と前記可変長符号データに対する参照すべき有効ビット数とを格納した第2のフォーマットの少なくとも2種類のフォーマットを有し、
前記復号処理表の各エントリに格納されるデータが、前記第1のフォーマットおよび前記第2のフォーマットの少なくとも2種類のフォーマットのいずれかにより記述され、
前記2種類のフォーマットは、データの格納位置をアドレスにより指定可能な記憶装置に格納され、
前記2種類のフォーマットを複数用いて前記復号処理で参照する前記復号処理表を構成し、
前記第1のフォーマットが含む前記次表を指定する識別情報は次表の先頭アドレスを相対アドレスで示し、前記相対アドレスの基準となるアドレスは、前記相対アドレスを格納したエントリを構成要素とする前記復号処理表の最後のエントリの次のアドレスであることを特徴とする可変長符号復号装置。 - 請求項1に記載の可変長符号復号装置において、
前記次表を格納しているメモリのアドレスに、前記可変長符号復号装置のエントリのサイズ単位で割り振ったアドレスを使用することでアドレスの下位ビットを省略したことを特徴とする可変長符号復号装置。
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006231882A JP4829720B2 (ja) | 2006-08-29 | 2006-08-29 | 可変長符号復号装置 |
US11/845,850 US7535386B2 (en) | 2006-08-29 | 2007-08-28 | Variable length code decoding device and decoding method |
US12/467,556 US7864082B2 (en) | 2006-08-29 | 2009-05-18 | Variable length code decoding device and decoding method |
US12/961,017 US8264386B2 (en) | 2006-08-29 | 2010-12-06 | Variable length code decoding device and decoding method |
US13/602,360 US8884792B2 (en) | 2006-08-29 | 2012-09-04 | Variable length code decoding device and decoding method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006231882A JP4829720B2 (ja) | 2006-08-29 | 2006-08-29 | 可変長符号復号装置 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011169945A Division JP4892639B2 (ja) | 2011-08-03 | 2011-08-03 | 可変長符号復号装置 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2008060657A JP2008060657A (ja) | 2008-03-13 |
JP4829720B2 true JP4829720B2 (ja) | 2011-12-07 |
Family
ID=39188022
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006231882A Active JP4829720B2 (ja) | 2006-08-29 | 2006-08-29 | 可変長符号復号装置 |
Country Status (2)
Country | Link |
---|---|
US (4) | US7535386B2 (ja) |
JP (1) | JP4829720B2 (ja) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4829720B2 (ja) | 2006-08-29 | 2011-12-07 | ルネサスエレクトロニクス株式会社 | 可変長符号復号装置 |
US8145000B2 (en) * | 2007-10-29 | 2012-03-27 | Kabushiki Kaisha Toshiba | Image data compressing method and image data compressing apparatus |
KR20090101037A (ko) * | 2008-03-21 | 2009-09-24 | 한국전자통신연구원 | 가변 구조 코드의 생성 방법 |
JP4945513B2 (ja) * | 2008-06-04 | 2012-06-06 | ルネサスエレクトロニクス株式会社 | 可変長復号装置およびそれを用いた動画復号装置 |
Family Cites Families (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3008685B2 (ja) | 1992-08-03 | 2000-02-14 | 日本電気株式会社 | 可変長符号の復号化回路 |
KR0152038B1 (ko) * | 1994-10-17 | 1998-10-15 | 김광호 | 상대 주소를 이용한 가변장 복호화 장치 |
US5668548A (en) * | 1995-12-28 | 1997-09-16 | Philips Electronics North America Corp. | High performance variable length decoder with enhanced throughput due to tagging of the input bit stream and parallel processing of contiguous code words |
JP3600487B2 (ja) * | 1999-08-31 | 2004-12-15 | 株式会社東芝 | 可変長復号器及びこれを用いた動画像復号装置 |
JP2002330076A (ja) * | 2001-04-27 | 2002-11-15 | Sanyo Electric Co Ltd | ハフマン復号装置及び復号方法 |
JP2003309471A (ja) | 2002-04-15 | 2003-10-31 | Fujitsu Ltd | 可変長符号データ復号装置および復号方法 |
WO2005013493A1 (en) * | 2003-07-29 | 2005-02-10 | Zakrytoe Aktsionernoe Obschestvo Intel | A method for efficient variable length decoding |
JP3720035B2 (ja) * | 2003-09-22 | 2005-11-24 | 株式会社東芝 | 可変長符号復号化装置および可変長符号復号化方法 |
JP2006148729A (ja) * | 2004-11-24 | 2006-06-08 | Victor Co Of Japan Ltd | 動画像復号装置及び動画像復号プログラム |
JP2006231882A (ja) | 2005-02-28 | 2006-09-07 | Fuji Xerox Co Ltd | 画像形成装置及び液体吐出状態判定方法 |
JP4829720B2 (ja) * | 2006-08-29 | 2011-12-07 | ルネサスエレクトロニクス株式会社 | 可変長符号復号装置 |
-
2006
- 2006-08-29 JP JP2006231882A patent/JP4829720B2/ja active Active
-
2007
- 2007-08-28 US US11/845,850 patent/US7535386B2/en active Active
-
2009
- 2009-05-18 US US12/467,556 patent/US7864082B2/en active Active
-
2010
- 2010-12-06 US US12/961,017 patent/US8264386B2/en not_active Expired - Fee Related
-
2012
- 2012-09-04 US US13/602,360 patent/US8884792B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
US20110080308A1 (en) | 2011-04-07 |
US7535386B2 (en) | 2009-05-19 |
US20120326899A1 (en) | 2012-12-27 |
US8264386B2 (en) | 2012-09-11 |
US8884792B2 (en) | 2014-11-11 |
US7864082B2 (en) | 2011-01-04 |
US20090237278A1 (en) | 2009-09-24 |
US20080068235A1 (en) | 2008-03-20 |
JP2008060657A (ja) | 2008-03-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4468858B2 (ja) | データ符号化装置、データ符号化方法、プログラム | |
JP4829720B2 (ja) | 可変長符号復号装置 | |
JP3410629B2 (ja) | 可変長符号化回路及び可変長符号化方法 | |
JP3341962B2 (ja) | 可変長復号器及び可変長符号値を復号化する方法 | |
EP2786495B1 (en) | Methods and devices for encoding and decoding messages | |
JPH0869370A (ja) | データ圧縮方法およびシステム | |
US20070022225A1 (en) | Memory DMA interface with checksum | |
JP2003309471A (ja) | 可変長符号データ復号装置および復号方法 | |
JP4892639B2 (ja) | 可変長符号復号装置 | |
US6850648B2 (en) | System for decoding packed coded image data while depacking same | |
JP2006254225A (ja) | 可変長符号の復号装置及び復号方法 | |
US6563442B1 (en) | Multiple symbol length lookup table | |
AU713403B2 (en) | Method and apparatus for generating a transform | |
US6462680B1 (en) | Method and system for compressing data | |
US20050129023A1 (en) | Method and device for compressing data packets | |
JP2006270330A (ja) | 可変長符号復号回路 | |
JP5209467B2 (ja) | 改良されたマルチメディアデコーダに関する方法及び装置 | |
WO2005013105A1 (ja) | ルックアップテーブル及びデータ取得方法 | |
US20060007925A1 (en) | Methods, systems, and computer program products for compressing a multiprotocol label switching (MPLS) shim header in a packet | |
JPH07111461A (ja) | 可変長符号復号化装置 | |
JP3229690B2 (ja) | 可変長符号復号器 | |
US8760326B2 (en) | Method for data transmission to an electronic control unit | |
JP2002262104A (ja) | ファクシミリ装置 | |
JP4166232B2 (ja) | 信号処理回路 | |
JP2008124600A (ja) | 可変長復号装置および再生端末 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090223 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20100510 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101105 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20101109 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110107 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110201 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110401 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20110510 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110803 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20110810 |
|
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: 20110830 |
|
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: 20110916 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140922 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 4829720 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |