JP2013187904A - 復号化装置及び方法 - Google Patents
復号化装置及び方法 Download PDFInfo
- Publication number
- JP2013187904A JP2013187904A JP2013037312A JP2013037312A JP2013187904A JP 2013187904 A JP2013187904 A JP 2013187904A JP 2013037312 A JP2013037312 A JP 2013037312A JP 2013037312 A JP2013037312 A JP 2013037312A JP 2013187904 A JP2013187904 A JP 2013187904A
- Authority
- JP
- Japan
- Prior art keywords
- suffix
- length
- tables
- symbol
- prefix
- 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.)
- Granted
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
-
- 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
- H03M7/40—Conversion to or from variable length codes, e.g. Shannon-Fano code, Huffman code, Morse code
- H03M7/4031—Fixed length to variable length coding
- H03M7/4037—Prefix coding
- H03M7/4043—Adaptive prefix coding
-
- 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/4031—Fixed length to variable length coding
- H03M7/4037—Prefix coding
- H03M7/4043—Adaptive prefix coding
- H03M7/4062—Coding table adaptation
-
- 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/90—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using coding techniques not provided for in groups H04N19/10-H04N19/85, e.g. fractals
- H04N19/91—Entropy coding, e.g. variable length coding [VLC] or arithmetic coding
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression, Expansion, Code Conversion, And Decoders (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
【解決手段】 復号化装置は、1つ以上のコードを含む1つ以上のテーブルを格納するテーブル格納部と、1つ以上のインストラクション信号を受信する受信部と、前記1つ以上のインストラクション信号により前記1つ以上のテーブルからシンボル値及びシンボルの長さを抽出するシンボル抽出部とを備える。
【選択図】 図1
Description
本発明の一実施形態に係る復号化装置は、最長コードの長さだけ各ステップを繰り返してテーブルの大きさを最小にするサフィックスビット及び非プレフィックスビットの長さを演算してテーブルマッピングしてもよい。
120 受信部
130 シンボル抽出部
140 テーブル生成部
150 ビット演算部
Claims (23)
- 1つ以上のコードを含む1つ以上のテーブルを格納するテーブル格納部と、
1つ以上のインストラクション信号を受信する受信部と、
前記1つ以上のインストラクション信号により前記1つ以上のテーブルからシンボル値及びシンボルの長さを抽出するシンボル抽出部と、
を備えることを特徴とする含む復号化装置。 - 前記1つ以上のインストラクション信号は、テーブル配列制御信号、ハフマンプレフィックス制御信号、ハフマンサフィックス制御信号、及びハフマンシンボルデコード制御信号を含む、
ことを特徴とする請求項1に記載の復号化装置。 - 前記1つ以上のテーブルを生成するテーブル生成部をさらに備える、
ことを特徴とする請求項1又は2に記載の復号化装置。 - 前記テーブル生成部は、
前記1つ以上のコードを降順または昇順に整列する整列部と、
前記それぞれのコードのサフィックスがターゲットサフィックス長に対応するように各サフィックスと各プレフィックスを互いに分離するコード分離部と、
前記1つ以上のテーブルの大きさを最小にするように各プレフィックスによるサフィックスグループを組み合わせるグループ組合部と、
を備えることを特徴とする請求項3に記載の復号化装置。 - 前記1つ以上のテーブルの大きさを最小にする前記ターゲットサフィックス長を演算するビット演算部をさらに備える、
ことを特徴とする請求項4に記載の復号化装置。 - 前記ビット演算部は、
前記ターゲットサフィックス長を最小に設定するサフィックス設定部と、
前記1つ以上のテーブルに含まれていないコードのうち最大長さのコードを検出する検出部と、
前記1つ以上のテーブルのそれぞれの大きさを算出する算出部と、
以前テーブルの大きさと現在のテーブルの大きさとを比較する第1比較部と、
現在サフィックス長が最大サフィックス長と一致するか否かを比較する第2比較部と、
を備えることを特徴とする請求項5に記載の復号化装置。 - 前記サフィックス設定部は、前記以前テーブルの大きさが前記現在のテーブルの大きさよりも大きい場合、前記ターゲットサフィックス長を現在サフィックス長に設定する、
ことを特徴とする請求項6に記載の復号化装置。 - 前記サフィックス設定部は、前記現在サフィックス長が前記最大サフィックスビット長と一致する場合に前記サフィックス長を増加させ、前記それぞれのモジュールは前記それぞれの動作を繰り返し行う、
ことを特徴とする請求項6に記載の復号化装置。 - 前記1つ以上のテーブルのそれぞれに関する情報を格納するテーブル配列格納部と、
前記1つ以上のテーブルのそれぞれに基づいて生成された1つ以上のプレフィックスを格納するプレフィックス格納部と、
前記1つ以上のコードに対するシンボル情報を格納するマッピングテーブル格納部と、
をさらに備えることを特徴とする請求項1乃至8の何れか一項に記載の復号化装置。 - 前記テーブル配列格納部は、
前記1以上のテーブルのそれぞれに対するマッピングテーブル上の第1アドレスに対応するオフセットアドレスと、
前記それぞれのコードに対するサフィックス長及び非プレフィックス長と、
2以上のテーブルを1つのテーブルにマッピングするためのパッキングビット長と、
を格納することを特徴とする請求項9に記載の復号化装置。 - 前記プレフィックス格納部は、各プレフィックスの開始ビットに対応するフラグを格納する、
ことを特徴とする請求項9に記載の復号化装置。 - 前記マッピングテーブル格納部は、
前記それぞれのコードに対応するシンボル値と、
前記それぞれのコードのサフィックス長と、
前記1つ以上のコードのうちマッピングされるコードが存在するか否かを確認するヒットフラグと、
を格納することを特徴とする請求項9に記載の復号化装置。 - 前記シンボル抽出部は、前記テーブル配列格納部及び前記プレフィックス格納部からテーブル番号に対応するパラメータをロードし、前記パラメータに基づいて抽出されたプレフィックスからマッピングテーブルのアドレスを算出して前記シンボル値及び前記シンボルの長さを抽出する、
ことを特徴とする請求項9乃至12の何れか一項に記載の復号化装置。 - 1つ以上のコードを含む1つ以上のテーブルを格納するステップと、
1つ以上のインストラクション信号を受信するステップと、
前記1つ以上のインストラクション信号により前記1つ以上のテーブルからシンボル値及びシンボルの長さを抽出するステップと、
を含むことを特徴とする復号化方法。 - 前記1つ以上のインストラクション信号は、
テーブル配列制御信号、ハフマンプレフィックス制御信号、ハフマンサフィックス制御信号、及びハフマンシンボルデコード制御信号を含む、
ことを特徴とする請求項14に記載の復号化方法。 - 前記1つ以上のコードを降順または昇順に整列するステップと、
前記それぞれのコードのサフィックスがターゲットサフィックス長に対応するように各サフィックスと各プレフィックスを互いに分離するステップと、
前記1つ以上のテーブルの大きさを最小にするように各プレフィックスによるサフィックスグループを組み合わせるステップと、
を含むことを特徴とする請求項14又は15に記載の復号化方法。 - 前記1つ以上のテーブルの大きさを最小にする前記ターゲットサフィックス長を演算するステップをさらに含む、
ことを特徴とする請求項16に記載の復号化方法。 - 前記ターゲットサフィックス長を演算するステップは、
前記ターゲットサフィックス長を最小に設定するステップと、
前記1つ以上のテーブルに含まれていないコードのうち最長の長さのコードを検出するステップと、
前記1つ以上のテーブルのそれぞれの大きさを算出するステップと、
以前テーブルの大きさと現在のテーブルの大きさとを比較するステップと、
現在サフィックス長が最大サフィックス長と一致するか否かを比較するステップと、
を含むことを特徴とする請求項17に記載の復号化方法。 - 前記ターゲットサフィックス長を演算するステップは、
前記以前テーブルの大きさが前記現在のテーブルの大きさよりも大きい場合、前記ターゲットサフィックス長を現在サフィックス長に設定するステップをさらに含む、
ことを特徴とする請求項18に記載の復号化方法。 - 前記ターゲットサフィックス長を演算するステップは、
前記現在サフィックス長が前記最大サフィックスビット長と一致する場合、前記サフィックス長を増加させるステップをさらに含み、前記それぞれのステップを繰り返し行う、
ことを特徴とする請求項18に記載の復号化方法。 - 前記1つ以上のテーブルのそれぞれに関する情報を格納するステップと、
前記1以上のテーブルのそれぞれに基づいて生成された1つ以上のプレフィックスを格納するステップと、
前記1つ以上のコードに対するシンボル情報を格納するステップと、
をさらに含むことを特徴とする請求項14乃至20の何れか一項に記載の復号化方法。 - 前記1つ以上のテーブルのそれぞれのうち選択されたテーブル番号に対応するパラメータをロードするステップと、
前記パラメータに基づいて抽出されたプレフィックスからマッピングテーブルのアドレスを算出して前記シンボル値及び前記シンボルの長さを抽出するステップと、
をさらに含むことを特徴とする請求項21に記載の復号化方法。 - コンピュータに、請求項14乃至請求項22の何れか1項に記載の方法を実行させるプログラムを記録したコンピュータで読み取り可能な記録媒体。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR10-2012-0022338 | 2012-03-05 | ||
KR1020120022338A KR101843087B1 (ko) | 2012-03-05 | 2012-03-05 | 디코딩 장치 및 방법 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013187904A true JP2013187904A (ja) | 2013-09-19 |
JP6249608B2 JP6249608B2 (ja) | 2017-12-20 |
Family
ID=47845747
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013037312A Expired - Fee Related JP6249608B2 (ja) | 2012-03-05 | 2013-02-27 | 復号化装置及び方法 |
Country Status (5)
Country | Link |
---|---|
US (1) | US8674857B2 (ja) |
EP (1) | EP2637407A1 (ja) |
JP (1) | JP6249608B2 (ja) |
KR (1) | KR101843087B1 (ja) |
CN (1) | CN103312338B (ja) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB2521828A (en) | 2013-12-23 | 2015-07-08 | Sony Corp | Data encoding and decoding |
US11509328B2 (en) * | 2018-05-31 | 2022-11-22 | Microsoft Technology Licensing, Llc | Computer data compression utilizing multiple symbol alphabets and dynamic binding of symbol alphabets |
CN109299112B (zh) * | 2018-11-15 | 2020-01-17 | 北京百度网讯科技有限公司 | 用于处理数据的方法和装置 |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5181031A (en) * | 1991-07-30 | 1993-01-19 | Lsi Logic Corporation | Method and apparatus for decoding huffman codes by detecting a special class |
JPH05152973A (ja) * | 1991-11-28 | 1993-06-18 | Fujitsu Ltd | 可変長符号復号器 |
JPH06152988A (ja) * | 1992-11-02 | 1994-05-31 | Sharp Corp | 可変長符号の復号化装置 |
US5404138A (en) * | 1993-09-11 | 1995-04-04 | Agency For Defense Development | Apparatus for decoding variable length codes |
US5604499A (en) * | 1993-12-28 | 1997-02-18 | Matsushita Electric Industrial Co., Ltd. | Variable-length decoding apparatus |
US5825312A (en) * | 1996-11-25 | 1998-10-20 | Xerox Corporation | DX JPEG Huffman decoder |
JP2003309471A (ja) * | 2002-04-15 | 2003-10-31 | Fujitsu Ltd | 可変長符号データ復号装置および復号方法 |
JP2008141278A (ja) * | 2006-11-30 | 2008-06-19 | Sanyo Electric Co Ltd | 復号回路 |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5253078A (en) | 1990-03-14 | 1993-10-12 | C-Cube Microsystems, Inc. | System for compression and decompression of video data using discrete cosine transform and coding techniques |
KR0171819B1 (ko) | 1991-03-30 | 1999-03-20 | 강진구 | 비디오 신호 엔코딩 및 디코딩 회로 |
KR100194205B1 (ko) | 1996-11-15 | 1999-06-15 | 윤종용 | 개선된 호프만 디코딩방법, 디코딩 타임 테이블 및 그 테이블 작성방법 |
US6570924B1 (en) | 1998-11-20 | 2003-05-27 | Interval Research Corp | Low cost video compression using fast, modified Z-coding of wavelet pyramids |
US7020327B2 (en) * | 2000-05-09 | 2006-03-28 | Colorzip Media, Inc. | Machine readable code image and method of encoding and decoding the same |
US6563440B1 (en) * | 2001-10-19 | 2003-05-13 | Nokia Corporation | Apparatus and method for decoding Huffman codes using leading one/zero string length detection |
JP4537089B2 (ja) * | 2003-04-01 | 2010-09-01 | キヤノン株式会社 | 可変長復号装置及び方法、並びにコンピュータプログラム及びコンピュータ可読記憶媒体 |
CN101051845A (zh) * | 2007-05-09 | 2007-10-10 | 上海广电(集团)有限公司中央研究院 | 一种快速提取比特流哈夫曼解码方法 |
CN101072034B (zh) * | 2007-06-12 | 2010-06-02 | 华为技术有限公司 | 一种变长解码方法及其装置 |
US7642935B2 (en) | 2008-04-07 | 2010-01-05 | Mediatek Inc. | Huffman decoding method and apparatus |
TWI343192B (en) | 2009-06-12 | 2011-06-01 | Ind Tech Res Inst | Decoding method |
KR101030726B1 (ko) | 2009-11-26 | 2011-04-26 | 명지대학교 산학협력단 | 확률적 테이블에 의해 생성된 심볼을 기반으로 호프만 테이블을 적용한 메모리 효율이 개선된 멀티미디어용 호프만 디코딩 방법 및 장치 |
GB201014347D0 (en) | 2010-08-28 | 2010-10-13 | Lu Mingying | Huffman code table transform and parrallel Huffman decoding |
-
2012
- 2012-03-05 KR KR1020120022338A patent/KR101843087B1/ko active IP Right Grant
- 2012-08-15 US US13/586,416 patent/US8674857B2/en active Active
-
2013
- 2013-02-27 JP JP2013037312A patent/JP6249608B2/ja not_active Expired - Fee Related
- 2013-02-28 CN CN201310063292.9A patent/CN103312338B/zh active Active
- 2013-03-05 EP EP13157836.1A patent/EP2637407A1/en not_active Ceased
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5181031A (en) * | 1991-07-30 | 1993-01-19 | Lsi Logic Corporation | Method and apparatus for decoding huffman codes by detecting a special class |
JPH05152973A (ja) * | 1991-11-28 | 1993-06-18 | Fujitsu Ltd | 可変長符号復号器 |
JPH06152988A (ja) * | 1992-11-02 | 1994-05-31 | Sharp Corp | 可変長符号の復号化装置 |
US5404138A (en) * | 1993-09-11 | 1995-04-04 | Agency For Defense Development | Apparatus for decoding variable length codes |
US5604499A (en) * | 1993-12-28 | 1997-02-18 | Matsushita Electric Industrial Co., Ltd. | Variable-length decoding apparatus |
US5825312A (en) * | 1996-11-25 | 1998-10-20 | Xerox Corporation | DX JPEG Huffman decoder |
JP2003309471A (ja) * | 2002-04-15 | 2003-10-31 | Fujitsu Ltd | 可変長符号データ復号装置および復号方法 |
JP2008141278A (ja) * | 2006-11-30 | 2008-06-19 | Sanyo Electric Co Ltd | 復号回路 |
Also Published As
Publication number | Publication date |
---|---|
CN103312338A (zh) | 2013-09-18 |
KR101843087B1 (ko) | 2018-03-28 |
EP2637407A1 (en) | 2013-09-11 |
US20130229292A1 (en) | 2013-09-05 |
KR20130101305A (ko) | 2013-09-13 |
US8674857B2 (en) | 2014-03-18 |
JP6249608B2 (ja) | 2017-12-20 |
CN103312338B (zh) | 2018-05-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11258459B2 (en) | Methods and apparatus to parallelize data decompression | |
PH12020500016A1 (en) | Picture data encoding method and apparatus and picture data decoding method and apparatus | |
US7375660B1 (en) | Huffman decoding method | |
JP6249608B2 (ja) | 復号化装置及び方法 | |
CN105052040A (zh) | 多流压缩与解压的方法与系统 | |
JP2019529979A (ja) | インデックスコーディング及びビットスケジューリングを備えた量子化器 | |
Chang et al. | Data hiding for vector quantization images using mixed-base notation and dissimilar patterns without loss of fidelity | |
US20180302674A1 (en) | File generating method and file generating apparatus | |
JP2009199048A (ja) | ベクトル符号化/復号化方法、装置、及びストリーム・メディア・プレイヤー | |
US20160092492A1 (en) | Sharing initial dictionaries and huffman trees between multiple compressed blocks in lz-based compression algorithms | |
JP2009118464A (ja) | Jpegアプリケーションにおける可変長符号の復号 | |
CN109960731B (zh) | 一种数据处理方法、设备及存储介质 | |
US8018359B2 (en) | Conversion of bit lengths into codes | |
US20130002458A1 (en) | Variable-length code decoding apparatus, decoding system, and variable-length code decoding method | |
US8854234B1 (en) | Decompression circuit and associated decompression method | |
WO2007108395A1 (ja) | 可変長符号の復号装置および復号方法 | |
KR101367811B1 (ko) | 데이터 압축/해제장치 및 방법 | |
JP2016134808A (ja) | データ圧縮プログラム、データ復元プログラム、データ圧縮装置、及びデータ復元装置 | |
KR20120000085A (ko) | 데이터 압축/해제장치 및 방법 | |
JP6280266B2 (ja) | 復号装置、及び復号方法 | |
JP2014116835A (ja) | 復号装置、符号化装置、復号方法、及び符号化方法 | |
JP2010258927A (ja) | 符号データ処理装置、方法及びプログラム | |
JP2010171518A (ja) | 復号化装置、半導体集積回路及びデジタルカメラ並びに復号化方法 | |
JP2013211643A (ja) | 圧縮方法、復元方法、情報処理装置及びプログラム |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160226 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20170125 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20170307 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170531 |
|
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: 20171031 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20171121 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6249608 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |