JP2003338933A - Image control equipment and its control method - Google Patents

Image control equipment and its control method

Info

Publication number
JP2003338933A
JP2003338933A JP2002144580A JP2002144580A JP2003338933A JP 2003338933 A JP2003338933 A JP 2003338933A JP 2002144580 A JP2002144580 A JP 2002144580A JP 2002144580 A JP2002144580 A JP 2002144580A JP 2003338933 A JP2003338933 A JP 2003338933A
Authority
JP
Japan
Prior art keywords
data
bits
pack
image control
pack bits
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.)
Withdrawn
Application number
JP2002144580A
Other languages
Japanese (ja)
Inventor
Yuji Kuroda
裕二 黒田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2002144580A priority Critical patent/JP2003338933A/en
Publication of JP2003338933A publication Critical patent/JP2003338933A/en
Withdrawn legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To increase an image drawing speed and a total speed of the whole apparatus by a method wherein data coded by packed bits are subjected to high speed expansion. <P>SOLUTION: In a packed bits expansion circuit, a writing method into a register is changed by existence of data held in an output stage register. A control circuit is installed which switches a mode wherein one word is written at a time and a mode wherein one word is written every one bite. <P>COPYRIGHT: (C)2004,JPO

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、Pack Bit
s制御部を有する画像制御装置、及びPackBits
制御による画像制御方法に関するものである。
TECHNICAL FIELD The present invention relates to a Pack Bit.
Image control device having s control unit, and PackBits
The present invention relates to an image control method by control.

【0002】[0002]

【従来の技術】従来、Pack Bits制御部を有す
る画像制御装置が、ホストコンピュータ等の外部機器か
らPack Bits圧縮法を用いて符号化されたデー
タを入力し、伸長する際、全てByte単位でデータを
処理していた。図2にその従来例の伸長回路図を示す。
2. Description of the Related Art Conventionally, when an image control apparatus having a Pack Bits control unit inputs data encoded by using the Pack Bits compression method from an external device such as a host computer and decompresses the data, all the data is transferred in Byte units. Was being processed. FIG. 2 shows a decompression circuit diagram of the conventional example.

【0003】同図において、201、202、203、
204は入力段の8bit幅のシフトレジスタ、20
5、206は前記の4個のラッチデータが一致もしくは
不一致によって識別信号を生成するゲート、207はB
yte毎にPack Bitsのコードがデータを選別
するためのマルチプレクサ、208はPack Bit
sの繰り返しコードをカウントするカウンタ、210は
伸長したデータをワード単位でまとめるラッチ、209
は前述のすべてのブロックを制御するシーケンサであ
る。
In the figure, 201, 202, 203,
Reference numeral 204 denotes an 8-bit width shift register for the input stage, 20
Reference numerals 5 and 206 denote gates for generating an identification signal when the four latched data match or do not match, and 207 denotes B.
A Pack Bits code is a multiplexer for selecting data for each yte, and 208 is a Pack Bit
A counter for counting the repetition code of s, 210 is a latch for collecting the expanded data in word units, 209
Is a sequencer that controls all the blocks described above.

【0004】この時のデータの主な流れは、201〜2
04のシフトレジスタの最終段から出力されるbyte
(Pack Bitsのコード部)を208のカウンタ
へ振り分け、CNTLD信号をアクティブにすると共
に、208のカウンタはカウント数をロードする。そし
て、カウンタのキャリー(RCO)が出力されるまで、
201〜204のシフトレジスタからのbyte(Pa
ck Bitsのデータ部)を210の出力段ラッチ
(32bit幅)へセットし続ける。前記ラッチに1ワ
ード分(32bit)のデータが用意出来ると、次段の
ブロック(図示せず)へ出力する。
The main flow of data at this time is 201-2.
04 output from the final stage of the shift register
(Packet Bits code part) is distributed to the counter of 208, the CNTLD signal is activated, and the counter of 208 loads the count number. Then, until the counter carry (RCO) is output,
201-204 shift registers from the byte (Pa
The data part of ck Bits) is continuously set in the output stage latch (32 bit width) of 210. When data for one word (32 bits) is prepared in the latch, it is output to the block (not shown) in the next stage.

【0005】以上がPack Bits伸長回路の従来
例である。
The above is the conventional example of the Pack Bits expansion circuit.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上述し
た技術では次の問題があった。
However, the above-mentioned technique has the following problems.

【0007】従来例のようなPack Bits伸長法
であると、全てbyte単位でデータ処理を行う、つま
り1byteづつカウンタを動作させるため、繰り返し
データ、もしくは非連続データが数byte程度であれ
ば問題無いが、byte数が数十個〜数百個のデータが
続く時は莫大なstep数を要してしまう。そのため次
段ブロックへの転送速度が遅くなり、システム全体のパ
フォーマンスを低下させている。
With the Pack Bits decompression method as in the conventional example, all data processing is performed in byte units, that is, the counter is operated by 1 byte, so there is no problem if the number of repetitive data or discontinuous data is about several bytes. However, when data of tens to hundreds of bytes continues, a huge number of steps is required. Therefore, the transfer speed to the next block becomes slow, and the performance of the entire system is degraded.

【0008】従って本発明は、Pack Bitsで符
号化されているデータを高速に伸長するPack Bi
ts制御装置、及び制御方法を提供することを目的とす
る。
Therefore, according to the present invention, the data which is encoded by Pack Bits is expanded at high speed by Pack Bi.
It is an object to provide a ts control device and a control method.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
の手段として、4count/1stepと1coun
t/1stepを併用した7ビットダウンカウンタ、ま
たレジスタに4byteを一度に書き込むモードと1b
yteづつ書き込むモードを切り分ける制御回路を設け
る。
As means for achieving the above object, 4count / 1step and 1count are provided.
7-bit down counter that also uses t / 1 step, and mode that writes 4 bytes at a time to the register and 1b
A control circuit is provided to switch the writing mode for each yte.

【0010】(作用)上記手段により本発明は以下のよ
うに作用する。
(Operation) The present invention operates as follows by the above means.

【0011】Pack Bits伸長回路において、出
力段レジスタが空(デコードされたデータが書き込まれ
ていない)の時は出力段レジスタへ一度に4byteを
書き込み、次段ブロックへ出力する。この時、繰り返
し、もしくは非連続データが4byte以上の場合、カ
ウンタのキャリーがでるまで連続で4byte書き込み
を行う。また、データが4byte未満の時でも4by
te書き込まれ(上位byteはごみデータ)、次の書
き込み時は出力段レジスタに既にデータが書き込まれて
いるので、1byte毎に出力段レジスタへの書き込み
を行う。1word分のデータが書き込まれると、次段
ブロックへ出力されると共に、出力段レジスタが空にな
るので、次は4byte書き込み動作を行う。
In the Pack Bits decompression circuit, when the output stage register is empty (decoded data is not written), 4 bytes are written at once to the output stage register and output to the next stage block. At this time, repeatedly, or when the discontinuous data is 4 bytes or more, 4 bytes are continuously written until the counter carry. Also, even if the data is less than 4 bytes, 4 bytes
te is written (the upper byte is garbage data), and the data is already written in the output stage register at the time of the next writing, so the data is written in the output stage register every 1 byte. When 1 word worth of data is written, it is output to the next-stage block and the output-stage register becomes empty, so the next 4-byte write operation is performed.

【0012】[0012]

【発明の実施の形態】以下、図面を参照して本発明に係
る実施の形態について詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described in detail below with reference to the drawings.

【0013】まず、本発明に適用される出力装置とし
て、レーザービームプリンタについて説明する。尚、本
発明は光ビーム走査装置がついていればレーザービーム
プリンタに限るものでなく、複写機、FAX等の画像形
成装置でも良いことは言うまでもない。
First, a laser beam printer will be described as an output device applied to the present invention. Needless to say, the present invention is not limited to the laser beam printer as long as the light beam scanning device is provided, and may be an image forming apparatus such as a copying machine or a FAX.

【0014】図1は、本実施例に適用されるレーザビー
ムプリンタ(以下、LBPと略す)の内部構造を示す断
面図で、このLBPは不図示のデータ源から文字パター
ンの登録や定型書式(フォームデータ)などの登録が行
える。同図において、1000はLBP本体であり、外
部に接続されているホストコンピュータ(図示せず)か
ら供給される文字情報(文字コード)やフォーム情報あ
るいはマクロ命令などを入力して記憶するとともに、そ
れらの情報に従って対応する文字パターンやフォームパ
ターンなどを作成し、記録媒体である記録紙上に像を形
成する。1012は操作のためのスイッチおよびLED
表示器などが配されている操作パネル、1001はLB
P1000全体の制御およびホストコンピュータから供
給される文字情報などを解析するプリンタ制御ユニット
である。この制御ユニット1001は、主に文字情報を
対応する文字パターンのビデオ信号に変換してレーザド
ライバ1002に出力する。
FIG. 1 is a sectional view showing the internal structure of a laser beam printer (hereinafter abbreviated as LBP) applied to this embodiment. This LBP is for registering a character pattern from a data source (not shown) and a standard format ( You can register (form data) etc. In the figure, reference numeral 1000 denotes an LBP main body, which inputs and stores character information (character code) supplied from an externally connected host computer (not shown), form information, macro commands, and the like. A corresponding character pattern, form pattern, or the like is created according to the information in (1), and an image is formed on a recording paper, which is a recording medium. 1012 is a switch and an LED for operation
An operation panel on which a display device is arranged, 1001 is an LB
A printer control unit for controlling the entire P1000 and analyzing character information and the like supplied from the host computer. The control unit 1001 mainly converts character information into a video signal of a corresponding character pattern and outputs the video signal to the laser driver 1002.

【0015】レーザドライバ1002は半導体レーザ1
003を駆動するための回路であり、入力されたビデオ
信号に応じて半導体レーザ1003から発射されるレー
ザ光1004をオンオフ切り替えする。レーザ1004
は回転多面鏡1005で左右方向に振られ静電ドラム1
006上を走査する。これにより、静電ドラム1006
上には文字パターンの静電潜像が形成される。この潜像
は、静電ドラム1006周囲の現像ユニット1007に
より現像された後、記録紙に転送される。この記録紙に
はカットシートを用い、カットシート記録紙はLBP1
000に装着した用紙カセット1008に収納され、給
紙ローラ1009および搬送ローラ1010と1011
とにより装置内に取り込まれて、静電ドラム1006に
供給される。
The laser driver 1002 is a semiconductor laser 1
This is a circuit for driving 003, and switches on and off the laser light 1004 emitted from the semiconductor laser 1003 according to the input video signal. Laser 1004
Is horizontally swung by the rotary polygon mirror 1005 and the electrostatic drum 1
Scan over 006. As a result, the electrostatic drum 1006
An electrostatic latent image of a character pattern is formed on the surface. The latent image is developed by the developing unit 1007 around the electrostatic drum 1006 and then transferred to the recording paper. A cut sheet is used as the recording sheet, and the cut sheet recording sheet is LBP1.
Stored in a paper cassette 1008 attached to a paper feeding roller 1009 and a paper feeding roller 1009 and conveyance rollers 1010 and 1011.
Is taken into the apparatus by and and supplied to the electrostatic drum 1006.

【0016】まず本発明に係る第一の実施形態における
プリンタ制御装置について詳細に説明する。ここでは、
プリンタとしてレーザービームプリンタを例に説明す
る。
First, the printer control apparatus according to the first embodiment of the present invention will be described in detail. here,
A laser beam printer will be described as an example of the printer.

【0017】図3は本発明の実施例におけるプリンタ制
御装置30(ビデオコントローラ)の概略構成を示すブ
ロック図である。
FIG. 3 is a block diagram showing a schematic configuration of the printer control device 30 (video controller) in the embodiment of the present invention.

【0018】同図において、30はプリンタ制御装置で
あり、305は図示していないホストコンピュータとの
データのやり取りを行うI/F部、本装置全体を制御す
る主制御手段として301に示すCPUを備えている。
このCPU301にはROM303、DRAMコントロ
ーラ307、プリンタエンジンのVideo I/F部
308、I/Oコントローラ310、及びNVRAM3
04がデータバス、アドレスバス、制御バスからなるシ
ステムバスを介して接続される。RAM302の使用用
途としてはCPU301が使用するシステム領域、デー
タテーブルとして使用するオブジェクト領域、展開した
データを格納するビットマップメモリ、受信した印字デ
ータ格納用のバッファ領域等がある。ROM303は制
御用プログラムや印字用各種フォントデータ等を格納し
ており、DRAMコントローラ307、CPU301は
ROM303内に記憶された制御プログラムに基づいて
Video I/F部308を介してPrinter
Engine309へプリンタデータの出力等を制御す
る。
In the figure, reference numeral 30 is a printer controller, 305 is an I / F section for exchanging data with a host computer (not shown), and a CPU shown as 301 as a main control means for controlling the entire apparatus. I have it.
The CPU 301 includes a ROM 303, a DRAM controller 307, a printer engine Video I / F unit 308, an I / O controller 310, and an NVRAM 3.
04 is connected via a system bus including a data bus, an address bus, and a control bus. The RAM 302 is used for a system area used by the CPU 301, an object area used as a data table, a bitmap memory for storing expanded data, a buffer area for storing received print data, and the like. The ROM 303 stores a control program, various font data for printing, and the like. The DRAM controller 307 and the CPU 301 are based on the control program stored in the ROM 303, and the Printer via the Video I / F unit 308.
It controls the output of printer data to the Engine 309.

【0019】311はHDD等の外部機器I/F部、3
10はその制御部、304はプリンタの各種設定(用紙
サイズ、文字種、印字オフセット等)の情報を記憶する
NVRAM(不揮発性メモリ)、306はPack B
itsコードを生成/解読する制御部である。
Reference numeral 311 denotes an external device I / F unit such as an HDD, 3
10 is its control unit, 304 is NVRAM (nonvolatile memory) for storing information on various settings of the printer (paper size, character type, print offset, etc.), and 306 is Pack B
This is a control unit that generates / decodes the its code.

【0020】図4は図3におけるPack Bits制
御部308とDRAMコントローラ307との接続につ
いて、詳しく示したものである。401は圧縮制御部で
あり、入力した2値データをラスタ単位あるいはbyt
e単位で比較する比較器、byteデータの繰り返しの
回数をカウントする7bitカウンタ、及びPackB
itsコード生成部から構成される。402は前記40
1のコード生成部から出力された圧縮データを404の
描画オブジェクトメモリへリード、ライトしたり、40
2のデータ伸長部によって伸長されたデータを405の
ビットマップメモリへライトする制御を行うメモリ制御
部である。
FIG. 4 shows the connection between the Pack Bits control unit 308 and the DRAM controller 307 in FIG. 3 in detail. A compression control unit 401 converts the input binary data in raster units or byt
Comparator for comparing in units of e, 7-bit counter for counting the number of repetitions of byte data, and PackB
It is composed of an its code generator. 402 is the above 40
The compressed data output from the code generator 1 of 1 is read / written to the drawing object memory 404, or 40
2 is a memory control unit for performing control to write the data decompressed by the second data decompression unit to the bitmap memory 405.

【0021】402は本実施例の主たるブロックである
データ伸長部である。4byte比較器、カウンタ、伸
長部等で構成されており、詳細なブロック図を図5に示
す。
A data decompression unit 402 is a main block of this embodiment. It is composed of a 4-byte comparator, a counter, a decompression unit, etc. A detailed block diagram is shown in FIG.

【0022】図5において、501、502は前段から
のPack Bits符号データを保持するための入力
段レジスタであり、503は7byte to 4by
teのシフトレジスタである。
In FIG. 5, 501 and 502 are input stage registers for holding the Pack Bits coded data from the previous stage, and 503 is 7 bytes to 4 by.
te shift register.

【0023】504はコマンドデコーダで、Pack
Bitsデータが非連続、繰り返し、もしくは終了コー
ドなのかを振り分けるブロックである。505は7ビッ
トのダウンカウンタで、mpdce1、mpdce4の
イネーブル信号によって、それぞれ4カウント、1カウ
ント毎のカウントダウンを行う。
A command decoder 504 is a pack
It is a block that sorts out whether Bits data is discontinuous, repeated, or an end code. Reference numeral 505 is a 7-bit down counter, which counts down 4 counts and 1 counts by the enable signals of mpdce1 and mpdce4, respectively.

【0024】506〜509は出力段レジスタで、前段
の503はシフトレジスタから出力されたデータを保持
し、4byte(1word)のデータが用意できた時
点で次段ブロックへ出力する。
Reference numerals 506 to 509 denote output stage registers, and the preceding stage 503 holds the data output from the shift register and outputs it to the next stage block when 4 bytes (1 word) of data is prepared.

【0025】510は前述のすべてのブロックを制御す
るシーケンサである。
Reference numeral 510 is a sequencer for controlling all the blocks described above.

【0026】以上の構成において、本実施例の詳細な流
れを図6のフローチャートで説明する。
The detailed flow of this embodiment having the above-mentioned structure will be described with reference to the flow chart of FIG.

【0027】まずSTEP1では、符号化されたPac
k Bitsデータがホストコンピュータ、もしくはそ
の他の外部機器から305ホストI/F部、311外部
機器I/F部を介して、302DRAMへ格納される。
その後、描画が開始され、402Pack Bits伸
長部が前段ブロック、例えば404描画オブジェクト等
から符号化されたPack Bitsデータを入力す
る。503シフトレジスタには2ワード分(56bit
のため)のデータが必要なので、最初のステップのみ、
501、502入力段レジスタのイネーブル信号mpd
ieを2clk出力し、2ワードをセットする。次のS
TEP2においては、コマンド解析を行い、非連続、繰
り返し、終了コードを振り分ける。mpsv(1:0)
は7byte Pack Bitsデータ内の4byt
e(0〜31、8〜39、16〜47、24〜55bi
t)を選択する信号で、510のシーケンサが計算して
出力する。mpsv(1:0)により選択された4by
teの最下位byte(制御部)は、mpmd(32b
it幅)の下位8bitに現れる。その後、504Mp
com内で制御部を解析し、終了コードであれば終了、
非連続、または繰り返しのデータであれば、そのデータ
のbyte(カウント)数mpcnb(6:0)を次段
の505Mpdctへセットする(カウンタのロード信
号mpdclをactive)。STEP3で506〜
509の出力段レジスタが空(PackBits伸長デ
ータが存在しない)であれば、Pack Bitsデー
タのデータ部(mpsvでシフト)の4byte(mp
md)を、mdpoeA〜Dをactiveにして、一
度に506〜509出力段レジスタへ書き込む(STE
P4)。ここでmpdce4をactiveにし、−4
毎のダウンカウントを開始する。STEP5では伸長す
るデータが4byte未満、4byte以上の切り分け
を行う。非連続、または繰り返しのデータが4byte
以上のデータであれば、次段ブロックへ1ワードのデー
タをmpbdenと共に出力(STEP6)し、4by
te未満のデータ、例えば2byteデータの時は有効
データを508、509出力段レジスタへ書き込み、5
06、507の上位2byteのレジスタはごみデータ
が書き込まれる。その後STEP10で、次のPack
Bits制御部が現在、処理しているワード内に存在
していればSTEP2へ進み、その制御部を解析する。
逆に次のワード内に制御部が在れば、STEP1で次の
Pack Bitsデータを取り入れ、コマンド解析を
行う。STEP6でデータを出力した後、STEP7に
おいて、505Mpdctのカウンタのキャリー(mp
cb4)が“0”であれば、まだ伸長すべきデータが存
在しており、次の4byteデータの書き込みを行うた
めSTEP8へ進む。また、STEP7でカウンタのキ
ャリー(mpcb4)が“1”であれば次の制御部を解
析するためSTEP10へ進む。次にSTEP8で、現
在処理しているデータが繰り返しのデータであれば、そ
のままSTEP4へ進み、同じ4byteのデータを書
き込む。そして、非連続データの時は次の非連続データ
を入力(STEP9)して、4byte書き込み動作を
行う。非連続、繰り返しデータの503シフトレジスタ
内の制御は510シーケンサが出力するmpdsdで選
択する。上述したSTEP4からSTEP9までのシー
ケンスはmpcb4が“1”になるまで繰り返される。
First, in STEP 1, the encoded Pac
The k Bits data is stored in the 302 DRAM from the host computer or other external device via the 305 host I / F unit and the 311 external device I / F unit.
Then, the drawing is started, and the 402 Pack Bits decompression unit inputs the encoded Pack Bits data from the preceding block, for example, the 404 drawing object. The 503 shift register has two words (56 bits).
Data is needed, so only the first step,
501, 502 Input stage register enable signal mpd
Output 2 clk of IE and set 2 words. Next S
In TEP2, command analysis is performed, and discontinuous, repeated, and end codes are distributed. mpsv (1: 0)
Is 4 bytes in 7 bytes Pack Bits data
e (0-31, 8-39, 16-47, 24-55bi
A signal for selecting t), which is calculated and output by the sequencer 510. 4by selected by mpsv (1: 0)
The lowest byte (control unit) of te is mpmd (32b
It appears in the lower 8 bits of the (it width). After that, 504Mp
The control part is analyzed in the com.
If the data is non-continuous or repetitive, the number of bytes (count) mpcnb (6: 0) of the data is set to 505 Mpdct in the next stage (the load signal mpdcl of the counter is active). 506 in STEP 3
If the output stage register of 509 is empty (there is no PackBits decompression data), 4 bytes (mp of the data part of the Pack Bits data (shifted by mpsv))
md) is set to active in mdpoeA to D and written to the output stage registers 506 to 509 at a time (STE).
P4). Here, mpdce4 is set to active, and -4
Start counting down every time. In STEP 5, the data to be decompressed is divided into less than 4 bytes and more than 4 bytes. Non-continuous or repeated data is 4 bytes
If it is the above data, 1-word data is output to the next block together with mpbden (STEP6) and 4 by
When the data is less than te, for example, 2 byte data, valid data is written to the output stage registers 508 and 509, and 5
Garbage data is written in the upper 2-byte registers of 06 and 507. Then in STEP 10, the next pack
If the Bits control unit is present in the word currently being processed, the process proceeds to STEP 2 to analyze the control unit.
On the contrary, if the control unit is present in the next word, the next Pack Bits data is taken in STEP 1 and command analysis is performed. After outputting the data in STEP 6, in STEP 7, the carry (mp of the counter of 505 Mpdct is
If cb4) is "0", there is still data to be decompressed, and the process proceeds to STEP8 to write the next 4-byte data. If the carry (mpcb4) of the counter is "1" in STEP7, the process proceeds to STEP10 to analyze the next control unit. Next, in STEP 8, if the data currently being processed is repetitive data, the process proceeds to STEP 4 as it is, and the same 4-byte data is written. Then, in the case of non-continuous data, the next non-continuous data is input (STEP 9) and a 4-byte write operation is performed. The control in the 503 shift register for non-continuous and repetitive data is selected by mpdsd output from the 510 sequencer. The sequence from STEP4 to STEP9 described above is repeated until mpcb4 becomes "1".

【0028】ところで、STEP3において、出力段レ
ジスタに伸長されたデータが存在していると、出力段レ
ジスタのまだ書き込まれていないレジスタ(mpdoe
A〜Dのどれかをactive)へ1byte毎のデー
タを書き込む(STEP11)。ここでmpdcelを
activeにし、−1毎のダウンカウントを開始す
る。STEP12では、mpcb4(4ダウンカウン
タ)、mpcb1(1ダウンカウンタ)の両キャリーが
“1”になった場合、次のデータを入力するためにST
EP10へ進む。mpcb4、mpcb1のどちらか一
方が“0”であればSTEP13へ進み、1ワード用意
出来たかどうかの判定を行う。まだ1ワード揃っていな
ければ、次のbyteを書き込むためSTEP11へ進
む。ここで、1ワードのデータが用意出来ていれば、次
段ブロックへmpbdenと共に出力する(STEP1
4)。次のデータは、その時点で出力段レジスタが空に
なっているので、4byte書き込みを行うためSTE
P4へ進む。その後は上記したSTEP4〜STEP9
の動作をmpcb4が“1”になるまで繰り返す。
By the way, in STEP 3, when the output stage register contains the expanded data, the register (mpdoe) of the output stage register which has not been written yet.
Data of every 1 byte is written to active of any of A to D (STEP 11). Here, mpdcel is set to active, and the down count for each -1 is started. In STEP 12, when both carry of mpcb4 (4 down counter) and mpcb1 (1 down counter) become "1", ST is input to input the next data.
Proceed to EP10. If either mpcb4 or mpcb1 is "0", the process proceeds to STEP13, and it is determined whether or not one word has been prepared. If one word has not been prepared yet, the process proceeds to STEP 11 to write the next byte. If 1-word data is prepared here, it is output to the next block together with mpbden (STEP 1
4). As for the next data, the output stage register is empty at that time, so 4 byte write is performed, so STE
Go to P4. After that, STEP4 to STEP9 described above
The above operation is repeated until mpcb4 becomes "1".

【0029】STEP2で終了コードを入力すると、伸
長された全てのPack Bitsデータは403メモ
リ制御部によって405ビットマップメモリへ展開され
る。その後、DMA等で308videoI/F部を介
して、309プリンタエンジンへ出力される。
When the end code is input in STEP 2, all the decompressed Pack Bits data are expanded in the 405 bit map memory by the 403 memory control unit. After that, the data is output to the 309 printer engine via the 308 video I / F unit by DMA or the like.

【0030】図7は505Mpdctの内部動作を示す
ステートマシン図である。
FIG. 7 is a state machine diagram showing the internal operation of 505 Mpdct.

【0031】Pack Bitsデータのbyte(カ
ウント)数がロードされ、mpdce4、mpdce1
がactiveになると、それぞれ4、1毎のダウンカ
ウンタが起動し、falseでカウンタが停止する。カ
ウント後の値mpdc(6:0)の上位5bitが“0
0000”の時、キャリーmpcb4が“1”になり、
下位2bitが“00”の時、キャリーmpcb1が
“1”になる。
The number of bytes of the Pack Bits data is loaded, and mpdce4 and mpdce1 are loaded.
Becomes active, down counters for 4 and 1 are activated, and the counters stop at false. The upper 5 bits of the counted value mpdc (6: 0) are "0".
When 0000 ", the carry mpcb4 becomes" 1 ",
When the lower 2 bits are "00", the carry mpcb1 becomes "1".

【0032】以上が本実施例の詳細な流れである。本実
施形態において、Pack Bits伸長方法をハード
ウエアにて行っているが、この処理をソフトウエアにて
処理する事も可能である。
The above is the detailed flow of this embodiment. In the present embodiment, the Pack Bits decompression method is performed by hardware, but this processing can also be performed by software.

【0033】(他の実施例)上述の実施例の他に、本発
明は、次のような変形が可能である。
(Other Embodiments) In addition to the above embodiments, the present invention can be modified as follows.

【0034】本発明は複数の機器(例えばホストコンピ
ュータ、インターフェイス機器、リーダ、プリンタ等)
から構成されるシステムに適用しても、一つの機器から
なる装置(複写機、ファクシミリ装置等)に適用しても
よい。
The present invention includes a plurality of devices (eg, host computer, interface device, reader, printer, etc.).
It may be applied to a system composed of any one of the above, or may be applied to an apparatus including one device (copier, facsimile apparatus, etc.).

【0035】また、本発明の目的は、前述した実施形態
の機能を実現するソフトウエアのプログラムコードを記
録した記憶媒体を、システムあるいは装置に供給し、そ
のシステムあるいは装置のコンピュータ(CPUやMP
U)が記憶媒体に格納されたプログラムコードを読み出
し、実行することによっても達成される事は言うまでも
ない。この場合、記憶媒体から読み出されたプログラム
コード自体が前述した実施形態の機能を実現することに
なり、そのプログラムコードを記憶した記憶媒体は本発
明を構成することになる。プログラムコードを供給する
ための記憶媒体としては、例えば、フロッピー(登録商
標)ディスク、ハードディスク、光ディスク、光磁気デ
ィスク、CD−ROM、磁気テープ、不揮発性メモリカ
ード、ROM等を用いることが出来る。
Further, the object of the present invention is to supply a storage medium having a program code of software for realizing the functions of the above-described embodiment to a system or apparatus, and to supply a computer (CPU or MP) of the system or apparatus.
It goes without saying that U) is also achieved by reading and executing the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. As a storage medium for supplying the program code, for example, a floppy (registered trademark) disk, hard disk, optical disk, magneto-optical disk, CD-ROM, magnetic tape, non-volatile memory card, ROM, etc. can be used.

【0036】また、コンピュータが読み出したプログラ
ムを実行する事により、前述した実施形態の機能が実現
されるだけでなく、そのプログラムコードの指示に基づ
き、コンピュータ上で稼動しているOS(オペレーティ
ングシステム)等が実際の処理の一部または全部を行
い、その処理によって前述した実施形態の機能が実現さ
れる場合も含まれることは言うまでもない。
Further, not only the functions of the above-described embodiments are realized by executing the program read by the computer, but also the OS (operating system) running on the computer based on the instructions of the program code. It goes without saying that this also includes the case where the above-mentioned processes perform part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.

【0037】以上、本発明を実施例により説明したが、
本発明の主旨の範囲内で種々の変形が可能であり、これ
らを本発明の範囲から排除するものではない。
The present invention has been described above with reference to the embodiments.
Various modifications are possible within the scope of the invention, and these modifications are not excluded from the scope of the invention.

【0038】[0038]

【発明の効果】以上説明したように、本発明によれば、
次の効果を奏する。
As described above, according to the present invention,
It has the following effects.

【0039】本発明は、Pack Bitsで符号化さ
れたデータの伸長方法を、4byteと1byte単位
での処理を併用して行う。これにより、非連続、繰り返
しのデータが膨大な量であったとしても、高速伸長を実
現し、機器全体のトータルスピードを高める効果があ
る。
In the present invention, the decompression method of data encoded by Pack Bits is performed by using the processing in units of 4 bytes and 1 byte in combination. This has the effect of achieving high-speed expansion and increasing the total speed of the entire device, even if the amount of discontinuous and repetitive data is enormous.

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

【図1】レーザビームプリンタの構成を示す断面図。FIG. 1 is a cross-sectional view showing the configuration of a laser beam printer.

【図2】従来例におけるPack Bits伸長装置の
概略構成を示すブロック図。
FIG. 2 is a block diagram showing a schematic configuration of a Pack Bits decompression device in a conventional example.

【図3】本実施例におけるプリンタ制御装置の概略構成
を示すブロック図。
FIG. 3 is a block diagram showing a schematic configuration of a printer control device according to the present embodiment.

【図4】本実施例におけるPack Bits制御装置
とメモリ制御装置の接続を表すブロック図。
FIG. 4 is a block diagram showing a connection between a Pack Bits control device and a memory control device according to the present embodiment.

【図5】本実施例におけるPack Bits伸長装置
の概略構成を示すブロック図。
FIG. 5 is a block diagram showing a schematic configuration of a Pack Bits decompressing device in this embodiment.

【図6】本実施例における実施例の動作の流れを示すフ
ローチャート。
FIG. 6 is a flowchart showing the flow of operations of the embodiment in this embodiment.

【図7】ダウンカウンタの動作の流れを示すステートマ
シン図。
FIG. 7 is a state machine diagram showing an operation flow of a down counter.

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

20 プリンタ制御装置 301 CPU 302 DRAM 303 ROM 304 NVRAM 305 ホストI/F部 306 Pack Bits制御部 307 DRAMコントローラ 308 Video I/F部 309 Printer Engine 310 I/Oコントローラ 311 外部機器I/F部 401 Pack Bits圧縮部 402 Pack Bits伸長部 403 メモリ制御部 404 描画オブジェクトメモリ 405 ビットマップメモリ 406 受信メモリ 501,502,506,507,508,509 イ
ネーブル付ラッチ 503 7to4シフトレジスタ 504 デコーダ 505 7bitダウンカウンタ 510 シーケンサ
20 Printer control device 301 CPU 302 DRAM 303 ROM 304 NVRAM 305 Host I / F unit 306 Pack Bits control unit 307 DRAM controller 308 Video I / F unit 309 Printer Engine 310 I / O controller 311 External device I / F unit 401 Pack Bits Compression unit 402 Pack Bits Decompression unit 403 Memory control unit 404 Drawing object memory 405 Bitmap memory 406 Reception memory 501, 502, 506, 507, 508, 509 Latch with enable 503 7to4 shift register 504 Decoder 505 7-bit down counter 510 Sequencer

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 Pack Bits制御部を有する画像
制御装置であって、Pack Bitsで符号化された
データを伸長する際、出力データの保持手段の格納状況
によって、バイト単位もしくはワード単位でデータを処
理する手段とデータ数を数える検知手段と、を備えた事
を特徴とするPack Bits制御部を有する画像制
御装置。
1. An image control device having a Pack Bits control unit, wherein when decompressing data encoded by Pack Bits, the data is processed in byte units or word units depending on the storage status of output data holding means. An image control apparatus having a Pack Bits control unit, which is provided with: a means for performing the operation and a detection means for counting the number of data.
【請求項2】 前記検知手段がワード単位、もしくはバ
イト単位のデータ処理に伴って、検知方法を変更するこ
とを特徴とする請求項1記載のPack Bits制御
部を有する画像制御装置。
2. The image control apparatus having a Pack Bits control unit according to claim 1, wherein the detection means changes the detection method in accordance with data processing in word units or byte units.
【請求項3】 Pack Bits制御部を有する画像
制御装置であって、Pack Bitsで符号化された
データを伸長する際、出力データの保持手段の格納状況
によって、バイト単位もしくはワード単位でデータを処
理する工程と残りのデータ数を数える工程と、を備えた
事を特徴とするPack Bits制御による画像制御
方法。
3. An image control device having a Pack Bits control unit, wherein when decompressing data encoded by Pack Bits, the data is processed in byte units or word units depending on the storage status of output data holding means. An image control method by Pack Bits control, which comprises: a step of performing and a step of counting the number of remaining data.
【請求項4】 前記検知手段がワード単位、もしくはバ
イト単位のデータ処理に伴って、検知方法を変更するこ
とを特徴とする請求項3記載のPack Bits制御
による画像制御方法。
4. The image control method by Pack Bits control according to claim 3, wherein the detection means changes the detection method in accordance with data processing in word units or byte units.
【請求項5】 前記画像制御装置がプリンタ、複写機、
ファクシミリ等の制御装置であることを特徴とする請求
項1、2記載の画像制御装置。
5. The image control device is a printer, a copying machine,
3. The image control apparatus according to claim 1, wherein the image control apparatus is a control apparatus such as a facsimile.
JP2002144580A 2002-05-20 2002-05-20 Image control equipment and its control method Withdrawn JP2003338933A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002144580A JP2003338933A (en) 2002-05-20 2002-05-20 Image control equipment and its control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002144580A JP2003338933A (en) 2002-05-20 2002-05-20 Image control equipment and its control method

Publications (1)

Publication Number Publication Date
JP2003338933A true JP2003338933A (en) 2003-11-28

Family

ID=29704214

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002144580A Withdrawn JP2003338933A (en) 2002-05-20 2002-05-20 Image control equipment and its control method

Country Status (1)

Country Link
JP (1) JP2003338933A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011037040A1 (en) 2009-09-28 2011-03-31 ソニー株式会社 Imaging device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011037040A1 (en) 2009-09-28 2011-03-31 ソニー株式会社 Imaging device
US8830352B2 (en) 2009-09-28 2014-09-09 Sony Corporation Image pickup device

Similar Documents

Publication Publication Date Title
US5522028A (en) Output apparatus
JPH10222319A (en) Printing device and printing control method
JP3327650B2 (en) Recording device
JP4374822B2 (en) PRINT CONTROL DEVICE, PRINT CONTROL METHOD, PRINT DEVICE, AND PRINT CONTROL PROGRAM
JP2003338933A (en) Image control equipment and its control method
JP2002064714A (en) Image processing unit and method and storage medium
JP2002234237A (en) Image processor
JPH07178972A (en) Device and method for image recording
JP3514027B2 (en) Recording device, recording system, image transfer system
JP2610945B2 (en) Output control device and compression control method
JP3428817B2 (en) Print control device and method
JP2000043343A (en) Printing system having pack bits control part and printing control method by pack bits control
JP2000015899A (en) Printer, printing system and environment setting method
JPH10198530A (en) Printer system
JP2004274553A (en) Image processing apparatus, image processing method and program, and storage medium
JP2003124817A (en) Data compressing method, expanding method, and image forming apparatus therefor
JP2003143016A (en) Data compressing and decompressing method, apparatus therefor and image forming apparatus
JP3110870B2 (en) Pattern generation method and apparatus
JP2002248814A (en) Imaging apparatus, its data processing method, and storage medium
JPH091875A (en) Image output apparatus
JP3842650B2 (en) Image processing apparatus and image processing method
JPH0784928A (en) Information processor and its information setting method
JPH09226186A (en) Printing equipment
JPH1188189A (en) Method for processing data compression, its device and computer readable memory
JP2006159458A (en) Image output device

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050802