JP4739167B2 - 正規化処理装置 - Google Patents
正規化処理装置 Download PDFInfo
- Publication number
- JP4739167B2 JP4739167B2 JP2006296501A JP2006296501A JP4739167B2 JP 4739167 B2 JP4739167 B2 JP 4739167B2 JP 2006296501 A JP2006296501 A JP 2006296501A JP 2006296501 A JP2006296501 A JP 2006296501A JP 4739167 B2 JP4739167 B2 JP 4739167B2
- Authority
- JP
- Japan
- Prior art keywords
- bit
- output
- value
- codllow
- shift amount
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
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/4006—Conversion to or from arithmetic code
-
- 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/42—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals characterised by implementation details or hardware specially adapted for video compression or decompression, e.g. dedicated software implementation
-
- 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/46—Embedding additional information in the video signal during the compression process
-
- 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
-
- 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
Description
codlRange = (1-r)* codlRange
codlLow= codlLow +r* codlRange
codlRange = r* codlRange
codlLow= codlLow
N=Max(8-X,0)
if codlLow < 0x100 then
codlLow = codlLow<<1
else if codlLow < 0x200 then
codlLow = (codlLow-0x100) <<1
else
codlLow = (codlLow-0x200) << 1
if N==M+1 then
bitsOutStanding = bitsOutStanding + M
else if N = 0 then
bitsOutStanding = bitsOutStanding
else if N = M then
bitsOutStanding = 0
else
bitsOutStanding = M
if N = 0 then
firstBitFlag = firstBitFlag
else if N = M+1 then
firstBitFlag = firstBitFlag
else
firstBitFlag = 0
PutBit(1), PutBit(1), PutBit(1), PutBit(0), PutBit(0), bitsOutStanding++, PutBit(0)
入力firstbitFlagが0ならば、1ビット1が出力される。
0 が入力bitsOutStandingビット分だけ出力される。
1が2ビット出力される。
0 が2ビット出力される。
bitsOutStandingが1になる。
0が1ビット出力され、続いて1が1ビット出力される。
例えば、入力firstBitFlagが0、bitsOutStandingが3の場合には,出力ビット列は以下のようになる。
1,0,0,0,1,1,0,0,0,1
if N=M+1 or N == 0 then
BitNum = 0
else if N = M then
BitNum = Length + N-1
else
BitNum = Length + N-M-1
102 シフト手段
103 未出力ビット算出手段
104 プレフィックス生成手段
105 サフィックス生成手段
106 ビット列結合手段
107 正規化処理装置
401 ビット位置デコーダ
402 減算器
403 比較器
601 バレルシフタ
602 バレルシフタ
603 デコーダ
604 結合器
701 ビット数デコーダ
702 出力算出器
801 XOR回路
802 NOT回路
803 結合器
804 加算器
901 結合器
902 出力制御器
1001 記憶手段
1002 判定器
1003 ビット列算出器
1004 出力器
Claims (5)
- 算術符号化処理において現行シンボルの出現値により選択される数直線上の領域のサイズ、領域の下端値、及び未出力ビット数を入力し正規化処理を行う正規化処理装置であって、
前記領域のサイズが設定値以上となるシフト量を算出するシフト量算出手段と、
前記シフト量に基づいて前記領域のサイズ及び前記領域の下端値にシフト処理を施すシフト手段と、
前記未出力ビット数及び前記領域の下端値を用いて、前記領域の下端値の最上位ビットと、それに続く未出力ビット数分のビットを出力ビット列のプレフィックスとして算出すると共にプレフィックス長を算出するプレフィックス生成手段と、
前記領域の下端値を用いて、前記領域の下端値のビット列の一部を出力ビット列のサフィックスとして算出するサフィックス生成手段と、
前記未出力ビット数及び前記領域の下端値及び前記シフト量を用いて、該正規化処理装置に再び入力する未出力ビット数を算出すると共に未出力ビット加算数を算出する未出力ビット算出手段と、
前記シフト量及び前記プレフィックス長及び前記未出力ビット加算数を用いて、前記プレフィックスと前記サフィックスを結合して出力するビット列結合手段とを備えることを特徴とする正規化処理装置。 - 出力ビットが最初の出力ビットか否かを示す先頭ビットフラグを更に入力し、前記未出力ビット算出手段は、前記領域の下端値及び前記シフト量から前記先頭ビットフラグを算出することを特徴とする請求項1に記載の正規化処理装置。
- 前記シフト量算出手段は、前記領域のサイズを2進数で表現した際に値が1となる最もMSBに近いビットの位置を算出するデコード手段を有することを特徴とする請求項1又は請求項2に記載の正規化処理装置。
- 前記未出力ビット算出手段は、前記領域の下端値を2進数で表現した際に値が0となる最もLSBに近いビットの位置を算出するデコード手段を有することを特徴とする請求項1〜3のいずれか1項に記載の正規化処理装置。
- 前記ビット列結合手段は、前記プレフィックスと前記サフィックスが結合されたビット列から、出力ビット数分を出力することを特徴とする請求項1〜4のいずれか1項に記載の正規化処理装置。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006296501A JP4739167B2 (ja) | 2006-10-31 | 2006-10-31 | 正規化処理装置 |
US11/924,866 US8046395B2 (en) | 2006-10-31 | 2007-10-26 | Normalization processing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006296501A JP4739167B2 (ja) | 2006-10-31 | 2006-10-31 | 正規化処理装置 |
Publications (3)
Publication Number | Publication Date |
---|---|
JP2008113375A JP2008113375A (ja) | 2008-05-15 |
JP2008113375A5 JP2008113375A5 (ja) | 2009-12-17 |
JP4739167B2 true JP4739167B2 (ja) | 2011-08-03 |
Family
ID=39331646
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006296501A Expired - Fee Related JP4739167B2 (ja) | 2006-10-31 | 2006-10-31 | 正規化処理装置 |
Country Status (2)
Country | Link |
---|---|
US (1) | US8046395B2 (ja) |
JP (1) | JP4739167B2 (ja) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2900004A1 (fr) * | 2006-04-18 | 2007-10-19 | Thomson Licensing Sas | Procede et dispositif de decodage arithmetique |
JP4739167B2 (ja) * | 2006-10-31 | 2011-08-03 | キヤノン株式会社 | 正規化処理装置 |
CN101500164B (zh) * | 2008-12-31 | 2011-09-28 | 深圳市同洲电子股份有限公司 | 算术编码的打包输出的方法和装置 |
PT2884749T (pt) * | 2011-06-28 | 2018-01-18 | Samsung Electronics Co Ltd | Aparelho para descodificar vídeo acompanhado com descodificação aritmética e sinalização do último coeficiente significativo de duas dimensões |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08154059A (ja) * | 1994-11-28 | 1996-06-11 | Fuji Xerox Co Ltd | 符号化装置および復号化装置 |
JPH10173545A (ja) * | 1996-12-10 | 1998-06-26 | Fuji Xerox Co Ltd | 算術符号化装置およびそのフラッシュ処理方法 |
JP2000350043A (ja) * | 1999-06-04 | 2000-12-15 | Matsushita Graphic Communication Systems Inc | 算術符号化装置および算術復号化装置 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3620506B2 (ja) * | 2002-02-28 | 2005-02-16 | ソニー株式会社 | Mq−coder方式の算術符号化/復号装置及び再正規化方法 |
JP2005184232A (ja) * | 2003-12-17 | 2005-07-07 | Sony Corp | 符号化装置、プログラム、およびデータ処理方法 |
JP4739167B2 (ja) * | 2006-10-31 | 2011-08-03 | キヤノン株式会社 | 正規化処理装置 |
JP4865509B2 (ja) * | 2006-11-01 | 2012-02-01 | キヤノン株式会社 | 復号装置及び復号方法 |
JP4785706B2 (ja) * | 2006-11-01 | 2011-10-05 | キヤノン株式会社 | 復号装置及び復号方法 |
-
2006
- 2006-10-31 JP JP2006296501A patent/JP4739167B2/ja not_active Expired - Fee Related
-
2007
- 2007-10-26 US US11/924,866 patent/US8046395B2/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08154059A (ja) * | 1994-11-28 | 1996-06-11 | Fuji Xerox Co Ltd | 符号化装置および復号化装置 |
JPH10173545A (ja) * | 1996-12-10 | 1998-06-26 | Fuji Xerox Co Ltd | 算術符号化装置およびそのフラッシュ処理方法 |
JP2000350043A (ja) * | 1999-06-04 | 2000-12-15 | Matsushita Graphic Communication Systems Inc | 算術符号化装置および算術復号化装置 |
Also Published As
Publication number | Publication date |
---|---|
US8046395B2 (en) | 2011-10-25 |
US20080104154A1 (en) | 2008-05-01 |
JP2008113375A (ja) | 2008-05-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100403035B1 (ko) | 비터비복호방법및비터비복호회로 | |
US7289047B2 (en) | Decoding variable length codes while using optimal resources | |
JP3227292B2 (ja) | 符号化装置、符号化方法、復号化装置、復号化方法、符号化復号化装置及び符号化復号化方法 | |
US7286066B1 (en) | Acceleration of bitstream decoding | |
US8306108B2 (en) | Adaptive canonical Huffman decoder and method thereof and video decoder | |
US7343542B2 (en) | Methods and apparatuses for variable length encoding | |
JP4739167B2 (ja) | 正規化処理装置 | |
JP2010130407A (ja) | 算術復号装置 | |
JP4785706B2 (ja) | 復号装置及び復号方法 | |
JP3748003B2 (ja) | 符号化方法及び圧縮/伸長システム | |
US6844834B2 (en) | Processor, encoder, decoder, and electronic apparatus | |
TWI416959B (zh) | 編碼視訊壓縮的方法與系統 | |
WO2005024636A1 (ja) | 半導体装置 | |
JP6159240B2 (ja) | 二値算術符号化装置、二値算術符号化方法及び二値算術符号化プログラム | |
JPH08340263A (ja) | イン・プレイス現状態/次状態レジスタ | |
US7148822B2 (en) | Decoder and decoding method | |
US9009209B2 (en) | Processor, control method of processor, and computer readable storage medium storing processing program for division operation | |
KR19990060481A (ko) | 움직임 벡터 디코더 | |
JP2008118303A (ja) | 復号装置及び復号方法 | |
JPWO2012137428A1 (ja) | データ処理装置、及びデータ処理方法 | |
US6781528B1 (en) | Vector handling capable processor and run length encoding | |
TWI669945B (zh) | 專用算術編碼指令 | |
KR100207428B1 (ko) | 허프만 코드 변환에 적응적인 고속 가변장 복호화 장치 및 방법 | |
JP2601822B2 (ja) | 圧縮された信号を処理する伸長処理装置 | |
US6707397B1 (en) | Methods and apparatus for variable length codeword concatenation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20091030 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20091030 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110118 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110318 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20110419 |
|
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: 20110427 |
|
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: 20140513 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |