Movatterモバイル変換


[0]ホーム

URL:


JPH05268100A - Variable length bit string processing processor - Google Patents

Variable length bit string processing processor

Info

Publication number
JPH05268100A
JPH05268100AJP6431792AJP6431792AJPH05268100AJP H05268100 AJPH05268100 AJP H05268100AJP 6431792 AJP6431792 AJP 6431792AJP 6431792 AJP6431792 AJP 6431792AJP H05268100 AJPH05268100 AJP H05268100A
Authority
JP
Japan
Prior art keywords
bit string
variable length
decoding
instruction
length
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
Application number
JP6431792A
Other languages
Japanese (ja)
Other versions
JP2800538B2 (en
Inventor
Yasushi Oi
康 大井
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.)
NEC Corp
Original Assignee
NEC 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 NEC CorpfiledCriticalNEC Corp
Priority to JP6431792ApriorityCriticalpatent/JP2800538B2/en
Publication of JPH05268100ApublicationCriticalpatent/JPH05268100A/en
Application grantedgrantedCritical
Publication of JP2800538B2publicationCriticalpatent/JP2800538B2/en
Anticipated expirationlegal-statusCritical
Expired - Lifetimelegal-statusCriticalCurrent

Links

Landscapes

Abstract

PURPOSE:To provide the circuit enabling the software program processing while combining the syntax processing related to the encoding and decoding processing and its semantic processing. CONSTITUTION:In a fixed length decoding instruction, the bit string of an input FIFO 121 is transferred to an unpacked shifter 122. The shifted data is sent to a temporary register 124, which is adjusted by a right-adjust shifter 111 and transmitted to a pipeline register 104. In a variable length decoding instruction, the operand value and the output of the unpacked shifter 122 are supplied to a table address generation section 141, making the generation address the execution start address for variable length decoding processing. In the fixed length encoding instruction, the data of a pipeline register 106 is adjusted by a left-adjust shifter 112 and sent to a temporary register 134. The part of data is updated in a back shifter 132, packaged in an output FIFO 131. In the variable length encoding instruction, the operand value and the data of the register file 102 are added so as to make a variable length encoding table address.

Description

Translated fromJapanese
【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は可変長ビット列処理プロ
セッサに関し、特に符号化復号化に関連する構文処理
と、それに伴う意味処理を混在させてソフトウェアプロ
グラム処理を可能にした回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a variable-length bit string processor, and more particularly to a circuit that enables software program processing by mixing syntax processing related to encoding / decoding and accompanying semantic processing.

【0002】[0002]

【従来の技術】可変長符号化復号化においては、各符号
の出現頻度の逆数の対数(2を底とする)に相当するビ
ット長に符号化することで、平均符号長を最小にするこ
とができる。このような符号化は、エントロピー符号化
とよばれている。ハフマン符号化はエントロピー符号化
の代表例である。
2. Description of the Related Art In variable length coding / decoding, the average code length is minimized by coding to a bit length corresponding to the logarithm (base 2) of the reciprocal of the appearance frequency of each code. You can Such coding is called entropy coding. Huffman coding is a typical example of entropy coding.

【0003】大量のデータ伝送や蓄積を行なう場合、デ
ータの生起確率に著しい偏りがある場合は、エントロピ
ー符号化によるデータ圧縮が可能である。例えば、過去
100年間の毎日の天気を記録する場合、1:晴、0
1:曇、001:雨、0001:雪、etcとしておけ
ば、晴天の多い地方ではデータ圧縮上有利である。雪の
多い地方では、別な符号割り当てのほうが有利になるこ
とは自明である。
When a large amount of data is transmitted or stored, if the occurrence probability of the data is significantly biased, the data can be compressed by entropy coding. For example, when recording the daily weather for the past 100 years, 1: clear, 0
If it is set as 1: cloudy, 001: rain, 0001: snow, etc, it is advantageous in data compression in a region with a lot of fine weather. It is self-evident that different code assignments will be advantageous in snowy regions.

【0004】伝送もしくは蓄積すべきデータが1種類の
場合、エントロピー符号化に必要な符号化復号化テーブ
ルは1つでよい。上述の例は、天候の符号テーブル1つ
で情報を符号化する例である。
When there is one type of data to be transmitted or stored, only one encoding / decoding table is required for entropy encoding. The above example is an example in which information is encoded by one weather code table.

【0005】オーディオ・画像などのデータは、送るべ
きデータの種類が複数あり、しかも、各々でエントロピ
ー符号化が必要な場合(可変長データ)と、そうでない
場合(固定長データ)が混在している場合が多い。その
ような混在ビットデータの処理を実現するには、複数の
符号化復号化テーブルを準備する必要がある。
There are a plurality of types of data to be sent, such as audio / image data, and there is a mixture of entropy coding (variable length data) and non-entropy coding (fixed length data). In many cases To realize such mixed bit data processing, it is necessary to prepare a plurality of encoding / decoding tables.

【0006】このような混在ビットデータの符号化復号
化処理を実行する従来の装置例を図2および図3に示
す。
FIGS. 2 and 3 show an example of a conventional apparatus for executing such encoding / decoding processing of mixed bit data.

【0007】図2は、専用ハードウェアを接続して、混
在ビットデータ処理を実行する場合の従来例である。こ
のハードウェアは、専用シーケンサを用いて制御され
る。
FIG. 2 shows a conventional example in which dedicated hardware is connected to execute mixed bit data processing. This hardware is controlled using a dedicated sequencer.

【0008】図2において、入力FIFO121に存在
するビット列のデコードを行なう場合、固定長デコード
結果は、シフタ122の出力をテンポラリレジスタ12
4で受けて出力される。可変長デコード結果は、シフタ
122の出力をテーブルアドレス生成部141の入力に
供給し、そこから生成されたアドレスをテンポラリレジ
スタ142を介してテーブル143に入力し、その検索
結果(もしくは、その検索結果を再びテーブルアドレス
生成部141に供給して、テーブル検索を繰り返した結
果)で得られる。
In FIG. 2, when the bit string existing in the input FIFO 121 is decoded, the fixed length decoding result indicates that the output of the shifter 122 is the temporary register 12.
Received at 4 and output. As the variable-length decoding result, the output of the shifter 122 is supplied to the input of the table address generation unit 141, the address generated therefrom is input to the table 143 via the temporary register 142, and the search result (or the search result thereof) is input. Is again supplied to the table address generation unit 141, and the result is obtained by repeating the table search.

【0009】また、エンコードについては、固定長エン
コードの場合、テンポラリレジスタ134のデータが、
パックシフタ132を通じて出力FIFO131に詰め
込まれていく。可変長エンコードの場合は、エンコード
されるデータをテーブルアドレス生成部141の入力に
供給し、そこから生成されたアドレスをテンポラリレジ
スタ142を介してテーブル143に入力し、その検索
結果をテンポラリレジスタ134にストアして、あとは
固定長エンコードと同様の処理を行なうことになる。
Regarding the encoding, in the case of fixed length encoding, the data in the temporary register 134 is
It is packed into the output FIFO 131 through the pack shifter 132. In the case of variable length encoding, the encoded data is supplied to the input of the table address generation unit 141, the address generated therefrom is input to the table 143 via the temporary register 142, and the search result is stored in the temporary register 134. After storing, the same processing as fixed length encoding will be performed.

【0010】図3は、汎用プロセッサを用いて混在ビッ
トデータ処理を実行する場合の従来例である。この場
合、全ての処理は、プログラムで実行される。図示され
ない命令メモリから命令が逐次命令デコーダ101に供
給され、入力FIFO121からのデータを処理し、出
力FIFO131へと出力していく。符号化の場合、1
21には符号データが、131にはビット列が、各々格
納される。復号化の場合、121にはビット列が、13
1には符号データが格納される。
FIG. 3 shows a conventional example in which mixed bit data processing is executed using a general-purpose processor. In this case, all the processing is executed by the program. Instructions are sequentially supplied to an instruction decoder 101 from an instruction memory (not shown), data from the input FIFO 121 are processed, and output to an output FIFO 131. 1 for encoding
21 stores code data, and 131 stores a bit string. In the case of decoding, a bit string in 121 is 13
Code data is stored in 1.

【0011】符号化復号化処理自体は、汎用レジスタフ
ァイル102のデータを用いてALU103での演算と
して実行される。104,105,106のパイプライ
ンレジスタはパイプライン処理の実現方式に依存して追
加される性質のものであり、また、ALU以外にバレル
シフタなどのデータ操作ユニットが別途存在してもよ
い。
The encoding / decoding process itself is executed as an operation in the ALU 103 using the data in the general-purpose register file 102. The pipeline registers 104, 105, and 106 have a property of being added depending on the implementation method of pipeline processing, and a data operation unit such as a barrel shifter may be separately present in addition to the ALU.

【0012】[0012]

【発明が解決しようとする課題】図2の専用ハードウェ
アによる方法は、混在ビットデータを用いたの意味処理
(例えば、前述の天候の例では、1週間晴天の続いた週
がいくつあるかをカウントするなど)や、ヘッダデータ
の付加に対する柔軟性が小さいという課題を有する。そ
のため、このようなハードウェアを使用する場合には、
例えば復号化の場合には、予めヘッダなどのビット列を
取り除いた状態で供給することになるし、符号化の場合
は、後で付加するという形式をとることになる。
The method using the dedicated hardware shown in FIG. 2 is a semantic process using mixed bit data (for example, in the above-mentioned weather example, how many weeks are there after one week of fine weather). There is a problem that the flexibility for adding a header data is small. Therefore, when using such hardware,
For example, in the case of decoding, a bit string such as a header is removed in advance, and in the case of encoding, it is added later.

【0013】図3の汎用プロセッサによる方法は、図2
の方法に比べ性能が出ない。特に、画像符号化復号化に
ついては、平均1Mbps以上の可変長符号化復号化
(ピーク時にはこの10−100倍の性能が必要)の実
行能力が要求されるが、この性能をマイクロプロセッサ
技術のみで解決するのは困難であるという課題を有す
る。
The general purpose processor method of FIG. 3 is illustrated in FIG.
Performance does not appear compared to the method. In particular, for image coding / decoding, the ability to execute variable-length coding / decoding averaging 1 Mbps or more (10-100 times higher performance is required at peak) is required, but this performance can be achieved only by microprocessor technology. It has the problem of being difficult to solve.

【0014】[0014]

【課題を解決するための手段】本発明の可変長ビット列
処理プロセッサは、エントロピー符号化に基づいて符号
化された可変長ビットフィールドと、固定長ビットフィ
ールドとが混在するビット列に対する符号化復号化用ビ
ット列処理プロセッサであって、少なくとも、命令デコ
ード手段と、レジスタファイル手段と、入力ビット列を
指定された長さ毎に抽出するアンパックシフト手段と、
出力ビット列を指定された長さ毎に挿入するパックシフ
ト手段と、可変長復号テーブル手段と、可変長符号テー
ブル手段と有し、固定長復号化命令、可変長復号化命
令、固定長符号化命令、可変長符号化命令が実行できる
という特徴を有している。
A variable length bit string processor of the present invention is for coding / decoding a bit string in which a variable length bit field coded based on entropy coding and a fixed length bit field are mixed. A bit string processor, at least an instruction decoding unit, a register file unit, an unpack shift unit for extracting an input bit string for each designated length,
It has a pack shift means for inserting an output bit string for each designated length, a variable length decoding table means, and a variable length code table means, and has a fixed length decoding instruction, a variable length decoding instruction, and a fixed length encoding instruction. The feature is that variable length coding instructions can be executed.

【0015】また、上述の可変長復号テーブル手段と、
可変長符号テーブル手段の2つを1つのテーブル手段で
兼ねた実現方法が考えられる。
Also, the above-mentioned variable length decoding table means,
An implementation method is conceivable in which one table means serves as two of the variable length code table means.

【0016】さらに、アンパックシフト手段の後段に右
揃えシフト手段を有し、左詰めのビット列をアンパック
した後のデータを右揃えし、かつ上位ビットをゼロ拡張
して前記レジスタファイル手段に格納する実現方法が好
ましい場合がある。
Further, there is provided a right-aligned shift means after the unpack shift means so that the data after unpacking the left-justified bit string is right-aligned and the upper bits are zero-extended and stored in the register file means. The method may be preferred.

【0017】同様に、パックシフト手段の前段に左揃え
シフト手段を有し、レジスタファイル手段のデータの下
位側を左揃えした後、ビット列としてパックする実現方
法が好ましい場合がある。
Similarly, there may be a preferred implementation method in which there is a left-aligned shift means in the preceding stage of the pack shift means, and the lower side of the data in the register file means is left-aligned and then packed as a bit string.

【0018】[0018]

【実施例】本発明の実施例を、図面を用いて説明する。Embodiments of the present invention will be described with reference to the drawings.

【0019】図1は、本発明の実施例を示すブロック図
である。
FIG. 1 is a block diagram showing an embodiment of the present invention.

【0020】図1において、104及び105,106
はパイプラインレジスタであり、124及び134,1
42はテンポラリレジスタである。
In FIG. 1, 104, 105 and 106
Is a pipeline register, and 124 and 134,1
42 is a temporary register.

【0021】以下では、このブロック図に基づいて、可
変長符号化復号化処理を実行する手順を命令ごとに説明
する。 [固定長復号化命令]固定長復号化命令は、2つのオペ
ランド(復号化データ長、復号化データの格納されるレ
ジスタファイル102のレジスタ番号)からなる。
In the following, the procedure for executing the variable length coding / decoding processing will be described for each instruction based on this block diagram. [Fixed Length Decoding Instruction] The fixed length decoding instruction is composed of two operands (decoded data length and register number of the register file 102 in which the decoded data is stored).

【0022】命令は命令デコーダ101でデコードさ
れ、オペランドとして指定された復号化データ長をアン
パックシフト量制御回路123と右揃えシフタ111に
転送する。
The instruction is decoded by the instruction decoder 101, and the decoded data length designated as an operand is transferred to the unpack shift amount control circuit 123 and the right alignment shifter 111.

【0023】入力FIFO121のビット列は、アンパ
ックシフタ122に転送され、アンパックシフト量制御
回路123からのシフト量に基づいてシフトしたデータ
をテンポラリレジスタ124に転送する。さらにこのデ
ータを右揃えシフタ111で右揃えして、パイプライン
レジスタ104に転送する。この右揃えシフタは、論理
・数値データの最上位ビット(MSB:Most Si
gnificantBit)が最も先に転送されるよう
なビット列を復号化する場合に使用される。この右揃え
機能をアンパックシフタ122に含ませることもでき
る。この場合、シフト量制御回路123に、右揃え用補
正機能が必要になる。 [可変長復号化命令]可変長復号化命令は、2つのオペ
ランド(テーブルベースポインタ番号、復号データの格
納されるレジスタファイル102のレジスタ番号)から
なる。
The bit string of the input FIFO 121 is transferred to the unpack shifter 122, and the data shifted based on the shift amount from the unpack shift amount control circuit 123 is transferred to the temporary register 124. Further, this data is right-justified by the right-alignment shifter 111 and transferred to the pipeline register 104. This right-aligned shifter is the most significant bit (MSB: Most Si) of logical / numeric data.
gnifficantBit) is used when decoding a bit string that is transferred first. The right-alignment function can be included in the unpack shifter 122. In this case, the shift amount control circuit 123 needs a right alignment correction function. [Variable Length Decoding Instruction] The variable length decoding instruction is composed of two operands (a table base pointer number and a register number of the register file 102 in which the decoded data is stored).

【0024】命令は命令デコーダ101でデコードさ
れ、オペランドとして指定された値でテーブル143を
検索するベースアドレスを決定する。さらに、アンパッ
クシフタ122の出力をテーブルアドレス生成部141
の入力に供給し、この入力をアドレスオフセットとして
そこから生成されたアドレスを可変長復号処理の実行開
始テーブルアドレスとする。このアドレスは、テンポラ
リレジスタ142を介してテーブル143に入力され、
その検索結果(もしくは、その検索結果を再びテーブル
アドレス生成部141を供給して、テーブル検索を繰り
返した結果)が得るべきデータとなる。このデータが、
パイプラインレジスタ104を経由して、レジスタファ
イル102に格納される。 [固定長符号化命令]固定長符号化命令は、2つのオペ
ランド(符号化データ長、符号化データの存在するレジ
スタファイル102のレジスタ番号)からなる。
The instruction is decoded by the instruction decoder 101, and the base address for searching the table 143 is determined by the value designated as the operand. Further, the output of the unpack shifter 122 is set to the table address generation unit 141.
Of the variable length decoding process is used as an execution start table address of the variable length decoding process. This address is input to the table 143 via the temporary register 142,
The search result (or the result of repeating the table search by supplying the search result to the table address generation unit 141 again) becomes the data to be obtained. This data is
It is stored in the register file 102 via the pipeline register 104. [Fixed Length Encoding Instruction] The fixed length encoding instruction is composed of two operands (encoded data length, register number of the register file 102 in which the encoded data exists).

【0025】命令は命令デコーダ101でデコードさ
れ、オペランドとして指定された符号化データ長をパッ
クシフト量制御回路133と左揃えシフタ112に転送
する。
The instruction is decoded by the instruction decoder 101, and the encoded data length designated as the operand is transferred to the pack shift amount control circuit 133 and the left alignment shifter 112.

【0026】パイプラインレジスタ106に転送された
レジスタファイル102のデータは、左揃えシフタ11
2で左揃えしてテンポラリレジスタ134に転送され
る。この左揃えシフタは、論理・数値データの最上位ビ
ット(MSB:Most Significant B
it)が最も先に転送されるようなビット列を符号化す
る場合に使用される。(この左揃え機能をパックシフタ
132に含ませることもできる。この場合、シフト量制
御回路133に、左揃え用補正機能が必要になる)。
The data in the register file 102 transferred to the pipeline register 106 is stored in the left alignment shifter 11
2 is left aligned and transferred to the temporary register 134. This left-aligned shifter is the most significant bit (MSB: Most Significant B) of logical / numerical data.
It is used when encoding a bit string such that (it) is transferred first. (This left alignment function can be included in the pack shifter 132. In this case, the shift amount control circuit 133 needs a left alignment correction function).

【0027】その後、テンポラリレジスタ134のデー
タが、パックシフト量制御回路123からのシフト量に
基づいてシフトしたデータを部分的に更新することによ
り、パックシフタ132を通じて出力FIFO131に
詰め込まれていく。 [可変長符号化命令]可変長符号化命令は、2つのオペ
ランド(テーブルベースポインタ番号、符号化データの
存在するレジスタファイル102のレジスタ番号)から
なる。
After that, the data in the temporary register 134 is partially updated in the output FIFO 131 through the pack shifter 132 by partially updating the data shifted based on the shift amount from the pack shift amount control circuit 123. [Variable Length Encoding Instruction] The variable length encoding instruction is composed of two operands (table base pointer number and register number of the register file 102 in which encoded data exists).

【0028】命令は命令デコーダ101でデコードさ
れ、オペランドとして指定された値でテーブル143を
検索するベースアドレスを決定する(ベースアドレス
は、アドレス生成部141に含まれる)。さらに、パイ
プラインレジスタ106に転送されたレジスタファイル
102のデータはテーブルアドレス生成部141の入力
に供給され、この入力をアドレスオフセットとしてベー
スアドレスに加算されたアドレスを可変長符号化テーブ
ルアドレスとする。このアドレスは、テンポラリレジス
タ142を介してテーブル143に入力される。テーブ
ル143は、可変長符号とその長さのペアを、おのおの
テンポラリレジスタ134とパックシフト量制御回路1
33とに供給する。その後、テンポラリレジスタ134
のデータが、パックシフト量制御回路123からのシフ
ト量に基づいてシフトしたデータを部分的に更新するこ
とにより、パックシフタ132を通じて出力FIFO1
31に詰め込まれていく。
The instruction is decoded by the instruction decoder 101, and the base address for searching the table 143 is determined by the value designated as the operand (the base address is included in the address generation unit 141). Further, the data in the register file 102 transferred to the pipeline register 106 is supplied to the input of the table address generation unit 141, and the address added to the base address is used as the variable length coding table address. This address is input to the table 143 via the temporary register 142. The table 143 stores a pair of variable length code and its length for each temporary register 134 and pack shift amount control circuit 1.
And 33. After that, the temporary register 134
Is partially updated based on the shift amount from the pack shift amount control circuit 123, so that the output FIFO 1 is output through the pack shifter 132.
It will be packed into 31.

【0029】[0029]

【発明の効果】本発明を用いると、図2の専用ハードウ
ェアによる方法と同等の性能が得られる。特に、画像符
号化復号化については、平均1Mbps以上の可変長符
号化復号化(ピーク時にはこの10−100倍の性能が
必要)の実行能力が要求されるが、これを現時点の集積
回路技術で容易に達成できる。
According to the present invention, the same performance as the method using the dedicated hardware shown in FIG. 2 can be obtained. In particular, with regard to image coding / decoding, the ability to execute variable-length coding / decoding with an average of 1 Mbps or more (10-100 times higher performance is required at peak) is required. Easy to achieve.

【0030】さらに、本発明を用いると、現在ビットデ
ータを用いたの意味処理に対する柔軟性が増す。そのた
め、例えば、CCITT H.261や、ISO MP
EG/JPEGなどで規定される画像符号ビットストリ
ームの各階層のヘッダ処理などをプログラムで容易に実
行することができるという効果がある。
Moreover, the present invention provides greater flexibility for semantic processing of presently bit data. Therefore, for example, CCITT H.264. 261 and ISO MP
There is an effect that a header process of each layer of an image code bit stream defined by EG / JPEG or the like can be easily executed by a program.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of an embodiment of the present invention.

【図2】従来の可変長ビット列処理回路の例(1)であ
る。
FIG. 2 is an example (1) of a conventional variable length bit string processing circuit.

【図3】従来の可変長ビット列処理回路の例(2)であ
る。
FIG. 3 is an example (2) of a conventional variable length bit string processing circuit.

【符号の説明】[Explanation of symbols]

101 命令デコーダ 102 レジスタファイル 103 ALU 104〜106 パイプラインレジスタ 111 右揃えシフタ 112 左揃えシフタ 121 入力FIFO 122 アンパックシフタ 123 アンパックシフト量制御回路 131 出力FIFO 132 パックシフタ 133 パックシフト量制御回路 124,134 テンポラリレジスタ 141 テーブルアドレス生成部 142 テンポラリレジスタ 101 Instruction Decoder 102 Register File 103 ALU 104 to 106 Pipeline Register 111 Right Alignment Shifter 112 Left Alignment Shifter 121 Input FIFO 122 Unpack Shifter 123 Unpack Shift Amount Control Circuit 131 Output FIFO 132 Pack Shifter 133 Pack Shift Amount Control Circuit 124, 134 Temporary Register 141 table address generation unit 142 temporary register

Claims (6)

Translated fromJapanese
【特許請求の範囲】[Claims]【請求項1】 エントロピー符号化に基づいて符号化さ
れた可変長ビットフィールドと、固定長ビットフィール
ドとが混在するビット列に対する復号化用ビット列処理
プロセッサであって、 少なくとも、命令デコード手段と、レジスタファイル手
段と、入力ビット列を指定された長さ毎に抽出するアン
パックシフト手段と、可変長復号テーブル手段とを有
し、 固定長復号化命令の実行時においては、前記命令デコー
ダ手段でデコードの後、オペランドとして指定された値
を前記入力ビット列の長さとみなして、前記アンパック
シフト手段を制御し、得られたデータを前記レジスタフ
ァイル手段に格納し、 可変長復号化命令の実行時においては、前記命令デコー
ダ手段でデコードの後、オペランドとして指定された値
で前記テーブル手段を検索するベースアドレスを決定
し、前記アンパックシフト手段の出力をアドレスオフセ
ットとして可変長復号処理の実行を開始し、復号終了時
に結果を前記レジスタファイル手段に格納することを特
徴とする可変長ビット列処理プロセッサ。
1. A bit string processing processor for decoding a bit string in which a variable length bit field coded based on entropy coding and a fixed length bit field coexist, wherein at least an instruction decoding means and a register file are provided. Means, an unpack shift means for extracting the input bit string for each designated length, and a variable length decoding table means, and when decoding a fixed length decoding instruction, after decoding by the instruction decoder means, The value specified as the operand is regarded as the length of the input bit string, the unpack shift means is controlled, the obtained data is stored in the register file means, and when the variable length decoding instruction is executed, the instruction After decoding with the decoder means, search the table means with the value specified as the operand A variable length bit string processor for determining a base address to be used, starting execution of a variable length decoding process using the output of the unpack shift means as an address offset, and storing the result in the register file means at the end of decoding.
【請求項2】 固定長ビットフィールドが混在する可変
長ビットフィールド列を、エントロピー符号化に基づい
て符号化する符号化用ビット列処理プロセッサであっ
て、 少なくとも、命令デコード手段と、レジスタファイル手
段と、出力ビット列を指定された長さ毎に挿入するパッ
クシフト手段と、可変長符号テーブル手段とを有し、 固定長符号化命令の実行時においては、前記命令デコー
ダ処理でデコードの後、前記レジスタファイル手段に格
納されたデータをビット列に挿入するため、オペランド
として指定された値を前記出力ビット列の長さとみなし
て、前記パックシフト手段を制御し、 可変長符号化命令の実行時においては、前記命令デコー
ダ手段でデコードの後、オペランドとして指定された値
でベースアドレスを決定し、前記レジスタファイル手段
に格納されたデータをアドレスオフセットとして前記テ
ーブル手段を検索する可変長符号化処理を実行し、結果
データをビット列に挿入するデータと出力ビット列の長
さデータとみなして前記パックシフト手段を制御する可
変長ビット列処理プロセッサ。
2. An encoding bit string processor for encoding a variable length bit field string in which fixed length bit fields are mixed based on entropy encoding, comprising at least an instruction decoding means, a register file means, and It has a pack shift means for inserting an output bit string for each designated length and a variable length code table means, and when executing a fixed length coded instruction, after decoding by the instruction decoder processing, the register file In order to insert the data stored in the means into the bit string, the value specified as the operand is regarded as the length of the output bit string, the pack shift means is controlled, and when the variable length coding instruction is executed, the instruction After decoding by the decoder means, the base address is determined by the value specified as the operand, and the base address is determined. A variable length coding process is executed to search the table means by using the data stored in the register file means as an address offset, and the pack shift means is regarded as the data for inserting the result data into the bit string and the length data of the output bit string. A variable length bit string processor for controlling.
【請求項3】 エントロピー符号化に基づいて符号化さ
れた可変長ビットフィールドと、固定長ビットフィール
ドとが混在するビット列に対する符号化復号化用ビット
列処理プロセッサであって、 少なくとも、命令デコード手段と、レジスタファイル手
段と、入力ビット列を指定された長さ毎に抽出するアン
パックシフト手段と、出力ビット列を指定された長さに
挿入するパックシフト手段と、可変長復号テーブル手段
と、可変長符号テーブル手段とを有し、 固定長復号化命令、可変長復号化命令、固定長符号化命
令、可変長符号化命令が実行できることを特徴とする可
変長ビット列処理プロセッサ。
3. A bit string processor for encoding / decoding a bit string in which a variable length bit field encoded based on entropy encoding and a fixed length bit field are mixed, and at least an instruction decoding means, Register file means, unpack shift means for extracting an input bit string for each specified length, pack shift means for inserting an output bit string at a specified length, variable length decoding table means, and variable length code table means And a variable length bit string processor capable of executing a fixed length decoding instruction, a variable length decoding instruction, a fixed length coding instruction, and a variable length coding instruction.
【請求項4】 可変長復号テーブル手段と、可変長符号
テーブル手段の2つを1つのテーブル手段で兼ねたこと
を特徴とする請求項3記載の可変長ビット列処理プロセ
ッサ。
4. The variable length bit string processing processor according to claim 3, wherein one of the variable length decoding table means and the variable length code table means serves as one table means.
【請求項5】 アンパックシフト手段の後段に右揃えシ
フト手段を有し、左詰めのビット列をアンパックした後
のデータを右揃えし、かつ上位ビットをゼロ拡張して前
記レジスタファイル手段に格納することを特徴とする請
求項1記載の可変長ビット列処理プロセッサ。
5. A right justification shift means is provided after the unpack shift means, right-justifies the data after unpacking the left-justified bit string, zero-extends the upper bits, and stores the data in the register file means. The variable length bit string processor according to claim 1.
【請求項6】 パックシフト手段の前段に左揃えシフト
手段を有し、レジスタファイル手段のデータの下位側を
左揃えした後、ビット列としてパックすることを特徴と
する請求項2記載の可変長ビット列処理プロセッサ。
6. The variable-length bit string according to claim 2, further comprising a left-aligned shift unit in a stage preceding the pack shift unit, and the lower-order side of the data in the register file unit is left-aligned and then packed as a bit string. Processing processor.
JP6431792A1992-03-231992-03-23 Variable-length bit string processorExpired - LifetimeJP2800538B2 (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
JP6431792AJP2800538B2 (en)1992-03-231992-03-23 Variable-length bit string processor

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
JP6431792AJP2800538B2 (en)1992-03-231992-03-23 Variable-length bit string processor

Publications (2)

Publication NumberPublication Date
JPH05268100Atrue JPH05268100A (en)1993-10-15
JP2800538B2 JP2800538B2 (en)1998-09-21

Family

ID=13254742

Family Applications (1)

Application NumberTitlePriority DateFiling Date
JP6431792AExpired - LifetimeJP2800538B2 (en)1992-03-231992-03-23 Variable-length bit string processor

Country Status (1)

CountryLink
JP (1)JP2800538B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
EP0739100A3 (en)*1995-04-202000-11-08Nec CorporationAncillary data processing circuit for audio decoding system
WO2015059930A1 (en)*2013-10-252015-04-30Wacom Co., Ltd.Dynamic handwriting verification, handwriting-baseduser authentication, handwriting data generation, and handwriting data preservation
US9235748B2 (en)2013-11-142016-01-12Wacom Co., Ltd.Dynamic handwriting verification and handwriting-based user authentication
US10032065B2 (en)2013-10-252018-07-24Wacom Co., Ltd.Dynamic handwriting verification, handwriting-based user authentication, handwriting data generation, and handwriting data preservation

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
EP0739100A3 (en)*1995-04-202000-11-08Nec CorporationAncillary data processing circuit for audio decoding system
WO2015059930A1 (en)*2013-10-252015-04-30Wacom Co., Ltd.Dynamic handwriting verification, handwriting-baseduser authentication, handwriting data generation, and handwriting data preservation
US10032065B2 (en)2013-10-252018-07-24Wacom Co., Ltd.Dynamic handwriting verification, handwriting-based user authentication, handwriting data generation, and handwriting data preservation
US10846510B2 (en)2013-10-252020-11-24Wacom Co., Ltd.Dynamic handwriting verification, handwriting-based user authentication, handwriting data generation, and handwriting data preservation
US9235748B2 (en)2013-11-142016-01-12Wacom Co., Ltd.Dynamic handwriting verification and handwriting-based user authentication
US9747491B2 (en)2013-11-142017-08-29Wacom Co., Ltd.Dynamic handwriting verification and handwriting-based user authentication

Also Published As

Publication numberPublication date
JP2800538B2 (en)1998-09-21

Similar Documents

PublicationPublication DateTitle
LeeAccelerating multimedia with enhanced microprocessors
US8090027B2 (en)Data compression using an arbitrary-sized dictionary
CN1312938C (en) Method and apparatus for decoding variable length coded bit stream
JP2766302B2 (en) Variable length code parallel decoding method and apparatus
US9485507B2 (en)Execution units for implementation of context adaptive binary arithmetic coding (CABAC)
US7343542B2 (en)Methods and apparatuses for variable length encoding
US6310563B1 (en)Method and apparatus for enhanced decompressor parsing
JPH0744462B2 (en) Compression encoding method and decoding method
US5877711A (en)Method and apparatus for performing adaptive data compression
JP3831716B2 (en) Multi-byte Rempel Ziff 1 (LZ1) decompression method and apparatus
US7286066B1 (en)Acceleration of bitstream decoding
US6247112B1 (en)Bit manipulation instructions
JP3488160B2 (en) Method and system for compressing RISC executable code through instruction set extension
JPH05268100A (en)Variable length bit string processing processor
US20080253668A1 (en)Method of decoding entropy-encoded data
US8018359B2 (en)Conversion of bit lengths into codes
US6781528B1 (en)Vector handling capable processor and run length encoding
US6707398B1 (en)Methods and apparatuses for packing bitstreams
JP4191438B2 (en) Data compression method and data decompression method, computer program product and electronic system for implementing the method
US7609895B2 (en)Methods and apparatus for performing MQ-decoding operations
US6707397B1 (en)Methods and apparatus for variable length codeword concatenation
BloomNew Techniques in Context Modeling and Arithmetic Encoding.
JP2001007706A (en) Variable length code decoding device
JPH09307456A (en) Variable length code decoding apparatus and method
Twelves et al.JPEG2000 Arithmetic Encoding on the StarCore SC140

Legal Events

DateCodeTitleDescription
A01Written decision to grant a patent or to grant a registration (utility model)

Free format text:JAPANESE INTERMEDIATE CODE: A01

Effective date:19980609


[8]ページ先頭

©2009-2025 Movatter.jp