JPS6265172A - Control system for data coding and decoding - Google Patents

Control system for data coding and decoding

Info

Publication number
JPS6265172A
JPS6265172A JP60203427A JP20342785A JPS6265172A JP S6265172 A JPS6265172 A JP S6265172A JP 60203427 A JP60203427 A JP 60203427A JP 20342785 A JP20342785 A JP 20342785A JP S6265172 A JPS6265172 A JP S6265172A
Authority
JP
Japan
Prior art keywords
coding
processing unit
central processing
data
encoding
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.)
Pending
Application number
JP60203427A
Other languages
Japanese (ja)
Inventor
Yukio Sakamoto
幸夫 坂本
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP60203427A priority Critical patent/JPS6265172A/en
Publication of JPS6265172A publication Critical patent/JPS6265172A/en
Pending legal-status Critical Current

Links

Landscapes

  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
  • Image Processing (AREA)
  • Digital Computer Display Output (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

PURPOSE:To attain the effective use of a memory and also to increase the processing speed of a central processing unit, by delivering continuously coding and decoding commands through the central processing unit as necessary. CONSTITUTION:A central processing unit secures a user buffer for storing coding data and also produces a coding command through a coding instruction issuing part 34. A starting part 35 receives a coding command and starts a coding/ decoding mechanism part 33. A coding processing part 36 carries out the coding operation and stores the coding result in a user buffer. A result state discriminating part 37 for coding process checks whether a space exists or not in a user buffer storing mode. If no space exists, an informing part 36 informs the matter to the central processing unit. The central processing unit secures a buffer again at a reprocessing part 40 and shifts the buffer to the part 34 for production of a coding command. The same procedure is carried out also in a decoding mode.

Description

【発明の詳細な説明】 (発明の属する技術分野) 本発明は、データの符号化・復号化機構を有するディス
プレイシステムのデータ符号・復号化制御方式に関する
ものである。
DETAILED DESCRIPTION OF THE INVENTION (Technical field to which the invention pertains) The present invention relates to a data encoding/decoding control method for a display system having a data encoding/decoding mechanism.

(従来の技術) 第3図は従来の符号化・復号化機構を有するディスプレ
イシステムのハードウェア構成を示す図である。
(Prior Art) FIG. 3 is a diagram showing the hardware configuration of a display system having a conventional encoding/decoding mechanism.

図中、1はシステムの基本ソフト(OS)、サービスプ
ログラムが走行するメインCPu、2は基本ソフト、中
央処理装置と、これらのソフトが使用するバッファ領域
を格納する主メモリ、3は画像データの符号化・復号化
を行う符号化・復号化機構、4は画像メモリ上に格納さ
れている画像データを画面上に表示させる図形表示プロ
セッサ、5は画面上に表示する図形をビットイメージで
保持している画像メモリ、6はメインCPt1と図形表
示プロセッサとの通信によりデータの授受を行うメイン
バス、7はCRT等の表示画面、8は中央処理装置が使
用するファイルを格納するディスク等の二次記憶装置で
ある。
In the figure, 1 is the main CPU on which the system's basic software (OS) and service programs run, 2 is the basic software, the central processing unit, and the main memory that stores the buffer area used by these software, and 3 is the image data storage. An encoding/decoding mechanism performs encoding/decoding; 4 is a graphic display processor that displays image data stored in the image memory on the screen; and 5 holds figures to be displayed on the screen as bit images. 6 is a main bus for exchanging data through communication between the main CPt1 and the graphic display processor, 7 is a display screen such as a CRT, and 8 is a secondary device such as a disk that stores files used by the central processing unit. It is a storage device.

第4図は画像メモリ上に格納される二次元図形情報の格
納イメージを示す図であり、11は二次元の図形情報、
12は二次元の図形情報をビット情報に分割したビット
分割イメージ、13はビット分割イメージ12を展開し
た画像メモリである。
FIG. 4 is a diagram showing a storage image of two-dimensional graphic information stored on the image memory, where 11 is two-dimensional graphic information;
12 is a bit-divided image in which two-dimensional graphic information is divided into bit information, and 13 is an image memory in which the bit-divided image 12 is developed.

ビット分割イメージ12のビット分割においては、図形
の有意な点はビット1、有意でない点く何も書かれてい
ない点)はビット0が対応している。
In the bit division of the bit division image 12, significant points of the figure correspond to bit 1, and non-significant points (points where nothing is written) correspond to bit 0.

また、ビット分割イメージ12のビット分割は、左から
右へ、上から下への方向に従い16ビツトの幅で分割さ
れ、画像メモリ上の16ビツト幅の連続メモリ領域に展
開される。
Further, the bit-divided image 12 is divided into bits with a width of 16 bits in the direction from left to right and from top to bottom, and expanded into a continuous memory area of 16-bit width on the image memory.

画像メモリ上に格納されている二次元の図形情報11は
、ビット分割イメージ12でビット分割された形で画面
上に転送され表示される。
Two-dimensional graphic information 11 stored on the image memory is transferred and displayed on the screen in a bit-divided form by a bit-divided image 12.

第3図のようなディスプレイシステムにおいては1画像
メモリ上に格納されているイメージデータを、中央処理
装置により画像メモリ5から主メモリ2上にある中央処
理装置のバッファメモリに読出し、それを二次記憶袋!
8に格納し1画面上に表示する画像データを蓄積するサ
ービス形態が要求される。
In the display system shown in FIG. 3, the central processing unit reads image data stored in one image memory from the image memory 5 to the buffer memory of the central processing unit located on the main memory 2, and then transfers it to the secondary memory. Memory bag!
A service format is required in which image data is stored in 8 and displayed on one screen.

この際1画像メモリ上にあるイメージデータをそのまま
二次記憶装置8上に転送して格納する方法もあるが、こ
の方法では大容量のビットデータを格納するため、複数
の画像データを格納するときには二次記憶上のメモリ領
域を圧迫し、サービスプログラムが走行するために支障
をきたす。
At this time, there is a method of transferring the image data on one image memory as is to the secondary storage device 8 and storing it, but since this method stores a large amount of bit data, when storing multiple image data, This puts pressure on the memory area on the secondary storage and causes problems for the service program to run.

第5図は従来の符号化・復号化制御フローを示す説明図
である。
FIG. 5 is an explanatory diagram showing a conventional encoding/decoding control flow.

これは、前述のような理由から、ディスプレイシステム
に符号化・復号化機構3を設け、第5図に示す制御フロ
ーに従い、画像メモリを圧縮してメモリ容量を節約して
二次記憶装置8上に格納するようにしたものである。
For the reasons mentioned above, the display system is equipped with the encoding/decoding mechanism 3, and according to the control flow shown in FIG. 5, the image memory is compressed to save memory capacity and stored in the secondary storage device 8. It is designed to be stored in .

第5図の中で、矢印15は画像メモリ上にある画像デー
タを符号化・復号化機構に転送するフロー、矢印16は
符号化したデータを中央処理装置のバッファに転送する
フロー、矢印17はユーザプログラムのバッファから符
号化データを二次記憶装置に格納するフローを示す。
In FIG. 5, arrow 15 is the flow of transferring image data on the image memory to the encoding/decoding mechanism, arrow 16 is the flow of transferring encoded data to the buffer of the central processing unit, and arrow 17 is the flow of transferring the image data on the image memory to the encoding/decoding mechanism. 10 shows a flow of storing encoded data from a user program buffer into a secondary storage device.

二次記憶上の符号化データを復号化する制御フローは、
第5図に示したものの逆方向をとる。
The control flow for decoding encoded data on secondary storage is as follows:
Take the opposite direction to that shown in FIG.

第6図は符号化データの格納形式を示す図であり、画像
メモリ上の二次元イメージを中央処理装置のバッファ上
に符号化するデータ変換の例を示す。
FIG. 6 is a diagram showing a storage format of encoded data, and shows an example of data conversion for encoding a two-dimensional image on an image memory onto a buffer of a central processing unit.

図中、20は二次元の図形情報をビットイメージに展開
した二次元イメージデータ、21は二次元イメージデー
タ20の1行毎を符号化処理を施した後のビットデータ
よりなる符号化データ、22は中央処理装置が主メモリ
上で確保したユーザバッファ領域、23は符号化データ
21のビットデータをユーザバッファ領域22に左から
右へ、上から下の方向へつめていった符号化後のビット
データ、斜線部で示す24は符号化データの最後を示す
ビット列EOFB(End of Faccimill
e Block)、25は16ビツト長に整合させるた
めに0を入れたビット列であるPADビット(PAD:
PADding)である。
In the figure, 20 is two-dimensional image data obtained by developing two-dimensional graphical information into a bit image, 21 is encoded data consisting of bit data after encoding each row of the two-dimensional image data 20, and 22 23 is the user buffer area secured by the central processing unit in the main memory, and 23 is the encoded bit data that is packed into the user buffer area 22 from left to right and from top to bottom. 24 shown in the shaded area is a bit string EOFB (End of Faccimill) indicating the end of the encoded data.
e Block), 25 is a PAD bit (PAD:
PADding).

第5図に示したフローの手順としては、(i)中央処理
装置は符号化データを格納するユーザバッファを確保す
る。
The steps in the flow shown in FIG. 5 are as follows: (i) The central processing unit secures a user buffer for storing encoded data.

(ii)中央処理装置が基本ソフト(OS)に対して画
像メモリ上の画像データを指定して、(i)のユーザバ
ッファ領域に符号化データを格納するよう命令を発行す
る。
(ii) The central processing unit issues a command to the basic software (OS) to designate the image data on the image memory and store the encoded data in the user buffer area of (i).

(m)基本ソフト(OS)はこの命令を受けると、メイ
ンCPUI(第3図)を起動し、画像メモリ上の画像デ
ータを符号化・復号化機構に転送し、符号化処理後のデ
ータをユーザバッファ領域に転送する。
(m) When the basic software (OS) receives this command, it starts the main CPUI (Figure 3), transfers the image data on the image memory to the encoding/decoding mechanism, and converts the data after encoding processing. Transfer to user buffer area.

一般的に、画像データの符号化処理後のデータ量は符号
化すべき画像データのビット展開パターンによるため、
符号化後のデータを格納するバッファサイズは処理前に
は正確に予測できない。
Generally, the amount of data after encoding processing of image data depends on the bit expansion pattern of the image data to be encoded.
The buffer size for storing encoded data cannot be accurately predicted before processing.

そのため、上記フロー(i)において、中央処理装置が
ユーザバッファのサイズを指定するときは、正確な値が
予測できないため1画像データ量と同程度の大容量のサ
イズを大まかに見積もる。
Therefore, in the above flow (i), when the central processing unit specifies the size of the user buffer, since an accurate value cannot be predicted, the size is roughly estimated to be as large as the amount of data for one image.

そのため、符号化後のデータ量が見積りサイズより小さ
くなった場合は、処理は正常に終了するが、ユーザバッ
ファの節約のため、小容量のバッファサイズで指定する
と、符号化処理後のデータ量が指定したバッファサイズ
よりも大きくなり。
Therefore, if the amount of data after encoding is smaller than the estimated size, the process will end normally, but if you specify a small buffer size to save the user buffer, the amount of data after encoding will be smaller than the estimated size. larger than the specified buffer size.

上記フロー(i )、(it)、(iii)の命令がエ
ラー処理となり、中央処理装置で再度大きなバッファを
確保して、上記フロー(i )、(it)、(in)を
繰り返す必要があり、中央処理装置の処理時間を遅延さ
せる影響を与える。
The instructions in the above flows (i), (it), and (iii) result in error processing, and it is necessary to secure a large buffer again in the central processing unit and repeat the above flows (i), (it), and (in). , which has the effect of delaying the processing time of the central processing unit.

このように、従来の方法では、画像データの符号化後の
データ量が不確定であるという事実により、データを符
号化する処理時間が遅くなるという欠点があった。
As described above, the conventional method has the disadvantage that the processing time for encoding the data is slow due to the fact that the amount of data after encoding the image data is uncertain.

(発明の目的) 本発明は、これらの欠点を解決するため、中央処理装置
から一度の符号化命令でデータを符号化し、又は、符号
化されたデータを復号化する制御方式を提供することを
特徴とし、その目的は、中央処理装置側での効率的なメ
モリ使用、及び、中央処理装置の処理速度の向上の実現
を図ることにある。
(Objective of the Invention) In order to solve these drawbacks, the present invention aims to provide a control method for encoding data or decoding encoded data with a single encoding command from a central processing unit. Its purpose is to achieve efficient memory usage on the central processing unit side and to improve the processing speed of the central processing unit.

(発明の構成) 本発明は、データを符号化・復号化できる制御機構を有
するディスプレイシステムにおいて、中央処理装置によ
りメモリを確保し、データを符号化した結果をメモリに
格納する第1の手段と、データを符号化した結果が、前
記メモリの大きさより大きくなったときは、中央処理装
置にシステム側より格納領域が不足の旨を通知して、再
度中央処理装置によりメモリを確保し、データを符号化
した結果をメモリに格納する第2の手段と、前記第1又
は第2の手段を、データが全て符号化されるまで行って
、符号化された結果を、複数個又は1つのメモリに格納
する第3の手段と、前記第1、第2、第3の手段により
符号化された、複数個又は1つのメモリから1つのデー
タに復号化する手段と、 を有する構成としたものである。
(Structure of the Invention) In a display system having a control mechanism capable of encoding and decoding data, the present invention provides a first means for allocating a memory using a central processing unit and storing the result of encoding data in the memory. If the result of encoding the data is larger than the memory size, the system notifies the central processing unit that the storage area is insufficient, and the central processing unit again secures memory and stores the data. A second means for storing the encoded result in a memory, and performing the first or second means until all data is encoded, and storing the encoded result in a plurality of memories or one memory. and a means for decoding one data from a plurality of memories or one data encoded by the first, second, and third means. .

(実施例) 第1図は本発明における符号化時の処理の制御方式を示
す一実施例図であり、画像データに例をとった場合を示
す。
(Embodiment) FIG. 1 is an embodiment diagram showing a control system for processing during encoding according to the present invention, and shows a case where image data is taken as an example.

図中、30は中央処理装置内の処理部分、31はO8部
(基本ソフト部)、32は基本ソフト部の一部である符
号化・復号化制御部、33は符号化・復号化処理を司る
符号化・復号化機構部、34は中央処理装置からの符号
化命令発行部、35は符号化・復号化機構を起動する起
動部、36は符号化処理部、37は符号化処理の結果状
態判別部、38は符号化処理が正常終了の場合の終了処
理部、39は符号化処理の状態を中央処理装置に通知す
る通知部、40はバッファ不足時再度符号化用のバッフ
ァを確保し符号化処理を起動する機能を有する再処理部
である。
In the figure, 30 is a processing section in the central processing unit, 31 is an O8 section (basic software section), 32 is an encoding/decoding control section which is a part of the basic software section, and 33 is a section for encoding/decoding processing. 34 is a coding command issuing unit from the central processing unit; 35 is a startup unit that starts the coding/decoding mechanism; 36 is a coding processing unit; 37 is the result of the coding process. A status determination unit, 38 is a termination processing unit when the encoding process ends normally, 39 is a notification unit that notifies the central processing unit of the status of the encoding process, and 40 is a unit that secures a buffer for encoding again when there is a buffer shortage. This is a reprocessing unit that has a function of starting encoding processing.

以下、各機能ブロックに対する詳細を説明する。The details of each functional block will be explained below.

■、。ヒ命   ′″″ 34: 中央処理装置では、符号化後のデータを格納するユーザ
バッファを確保する。
■,. 34: The central processing unit reserves a user buffer to store the encoded data.

この際、ユーザバッファの大きさくUとする)は、きさ
は、符号化後のデータ量が正確に予測できないため、初
期値として工の2/3の量として設定した。
At this time, the size of the user buffer (U) is set as an initial value of 2/3 of the size since the amount of data after encoding cannot be accurately predicted.

次に、以下の値をパラメータとして、O8に対して符号
化コマンド(CPコマンド)を発行する。
Next, an encoding command (CP command) is issued to O8 using the following values as parameters.

(i)ユーザバッファのアドレス(ADDRとする)と
サイズU。
(i) Address (assumed ADDR) and size U of the user buffer.

(it)符号化すべき画像データが格納しである領域(
IAREAとする)。
(it) The area where the image data to be encoded is stored (
IAREA).

■月l】4旺 O8では、CPコマンドを受け、符号化・復号化制御部
32に■のパラメータ(i)、(ii)を受渡す。
■ Month 1] The 4 O8 receives the CP command and passes the parameters (i) and (ii) of ■ to the encoding/decoding control unit 32.

本制御部では、再度このパラメータを符号化・復号化機
構部33に設定し起動をかける。
This control section sets these parameters in the encoding/decoding mechanism section 33 again and starts it up.

■笠差進JA3U殺肛 符号化・復号化機構部では、渡されたパラメータを解釈
し、以下の操作を実行する。
■The Kasasashin JA3U anal encoding/decoding mechanism section interprets the passed parameters and executes the following operations.

IAREAから1行分のイメージデータを読込み符号化
を実施する。符号化後のデータは、16ビツト幅に分割
し、ユーザバッファ内に格納する。
One row of image data is read from IAREA and encoded. The encoded data is divided into 16 bits and stored in the user buffer.

・」!9デー化処理の結果状 判別部37:ユーザバツ
フア格納時、ユーザバッファが空きかどうかをチェック
する。
・”! 9 Result of digitization process Determining unit 37: Checks whether the user buffer is empty when storing the user buffer.

空きがあれば、符号化データを格納し、空きが無ければ
■の操作に移行する。
If there is space, the encoded data is stored, and if there is no space, the process moves to operation (3).

IAREAの1行分のデータを符号化し、ユーザバッフ
ァに格納できた場合は、■の操作に移行する。
If data for one row of IAREA can be encoded and stored in the user buffer, the process moves to operation (2).

IAREAの最後の行まで符号化し、ユーザバッファに
格納できたときは、操作■に移行する。
When the last line of IAREA can be encoded and stored in the user buffer, proceed to operation (2).

■鼓ヱ羞11咀紅 IAREAの全データを符号化した後は、処理終了の意
味を持ツEOFB(End of Faccimill
e Block)のビット列(00000000000
000010000000000000001)をユー
ザバッファに格納する。
■After all the data in Faccimill IAREA is encoded, it is encoded as EOFB (End of Faccimill), which means the end of processing.
e Block) bit string (00000000000
000010000000000000001) is stored in the user buffer.

EOF[]を格納する際、16ビツト幅に整合する様に
、PAD(Padding)ビット列(0ビツトから成
る)を付ける。
When storing EOF[], a PAD (Padding) bit string (consisting of 0 bits) is added to match the 16-bit width.

■瀘迦」4吋 圧縮すべきデータが、IAREA内に有るにもかかわら
ずユーザバッファの領域が不足した場合、符号化・復号
化制御部32は、バッファ不足にある旨をCPコマンド
のリターン値として、中央処理装置に通知する。
■If the user buffer area is insufficient even though the data to be compressed by 4 inches exists in the IAREA, the encoding/decoding control unit 32 will notify the user that there is a buffer shortage using the return value of the CP command. The central processing unit is notified as follows.

■再五11諌吋 バッファ不足のエラーを通知された中央処理装置側は、
再度バッファを確保して、操作のに移行する。
■Re-Go 11 The central processing unit that was notified of the buffer shortage error,
Allocate a buffer again and move on to the operation.

このように、符号化機能は、上記■〜■の操作から成っ
ているため、以下の制御が可能である。
In this way, since the encoding function consists of the operations ① to ② above, the following control is possible.

(A)ユーザバッファが、符号化後のデータ量よりも大
きい場合は、−回の符号化コマンドで処理は終了する。
(A) If the user buffer is larger than the amount of data after encoding, the process ends with - encoding commands.

(ロ)ユーザバッファが、符号化後のデータ量よりも小
さい場合は、符号化処理が終了するまで、中央制御装置
とOSとの間で継続的に符号化コマンドを発行すること
により、目的のイメージデータを符号化することができ
る。 第2図は本発明における復号化時の処理の制御方
式を示す一実施例図である。
(b) If the user buffer is smaller than the amount of data after encoding, it is possible to achieve the desired result by continuously issuing encoding commands between the central control unit and the OS until the encoding process is completed. Image data can be encoded. FIG. 2 is an embodiment diagram showing a control system for processing during decoding according to the present invention.

図中、51は中央処理装置からの復号化命令発行部、5
2は符号化・復号化機構を起動する起動部、53は復号
化処理部、54は復号化処理の結果状態判別部、55は
EOFB未検出状態を中央処理装置に通知する通知部、
56はEOFB未検出時に再度復号化命令を発行する再
処理部である。
In the figure, 51 is a decoding instruction issuing unit from the central processing unit;
Reference numeral 2 denotes a starting unit that starts the encoding/decoding mechanism, 53 a decoding processing unit, 54 a decoding process result state determination unit, 55 a notification unit that notifies the central processing unit of the EOFB undetected state;
56 is a reprocessing unit that issues a decoding command again when EOFB is not detected.

各機能ブロックに対する詳細説明を以下に示す。A detailed explanation of each functional block is shown below.

@)dLl化命令 ′一部51: 中央処理装置では、以下の値をパラメータとしてO8に
対して復号化コマンド(EXコマンド)を発行する。
@) dLl command 'Part 51: The central processing unit issues a decryption command (EX command) to O8 using the following values as parameters.

(i)符号化データを格納したユーザバッファのアドレ
スとサイズ、 (n)復号化すべき画像データを格納する領域(OAR
EAとする)。
(i) Address and size of the user buffer that stores encoded data, (n) Area (OAR) that stores image data to be decoded.
EA).

■■部52: O8では、EXコマンドを受け、符号化・復号化制御部
32に■のパラメータ(i)、(ii)を渡す。
■■ Unit 52: O8 receives the EX command and passes the parameters (i) and (ii) of ■ to the encoding/decoding control unit 32.

本制御部では、再度このパラメータを符号化・復号化機
構部に設定し、起動をかける。
This control section sets these parameters in the encoding/decoding mechanism section again and activates it.

[相]盗漫<b * * s隠超 符号化・復号化機構部では、渡されたパラメータを解釈
し、以下の操作を実行する。
[Phase] Stealth<b * * s The hidden superencoding/decoding mechanism section interprets the passed parameters and executes the following operations.

ユーザバッファから符号化データを読取り、そのデータ
を復号化しなから0AREAに設定していく。
Encoded data is read from the user buffer, and the data is set to 0AREA without being decoded.

■       ヒ      の       ′ 
      1 部54:ユーザバッファから読込んだ
符号化データがEOFBかどうかをチェックする。
■ Hi's ′
1. Unit 54: Check whether the encoded data read from the user buffer is EOFB.

EOFBでないときは、[相]の操作に移行する。If it is not EOFB, shift to [phase] operation.

EOFB検出のときは、復号化処理を終了し、中央処理
装置に正常終了を通知する。
When EOFB is detected, the decoding process is terminated and the central processing unit is notified of normal termination.

EOFBが検出されなくて、しかも、ユーザバッファの
符号化データを全て処理した場合は、操作@に移行する
If EOFB is not detected and all encoded data in the user buffer has been processed, the process moves to operation @.

■A方」4扛 EOFBが未検出であるという処理結果を、中央処理装
置に通知する。
(2) The processing result that "A side" 4 EOFBs are not detected is notified to the central processing unit.

このように、復号化機能は上記■〜0の操作から成って
いるため、以下の制御が可能である。
In this way, since the decoding function consists of the operations ① to 0 above, the following control is possible.

(C)符号化データが最初のユーザバッファ内に全て格
納されている場合(EOFBまで格納済)、−回の復号
化コマンドで処理は終了する。
(C) If all the encoded data is stored in the first user buffer (stored up to EOFB), the process ends with - times of decoding commands.

(D) EOFBがユーザバッファ内に存在しないとき
、EOFBが検出されるまで、中央処理装置とO8との
間で継続的に復号化コマンドを発行することにより。
(D) When the EOFB is not present in the user buffer, by continuously issuing decode commands between the central processing unit and the O8 until the EOFB is detected.

目的の符号化データを指定したイメージ領域に伸長する
ことができる。
The desired encoded data can be expanded to a specified image area.

上記に述べた符号化機能、復号化機能を用いて。Using the encoding and decoding functions described above.

任意の大きさの画像データの符号化・復号化を中央処理
装置から実施できる。
Encoding and decoding of image data of any size can be performed from the central processing unit.

(発明の効果) 以上説明したように、本発明によれば、中央処理装置か
ら任意の大きさの画像データを符号化・復号化する繰作
が効果的に実現でき、 (1)中央処理装置と符号化・復号化機構部間で継続的
に符号化コマンドを授受し合うことによって、符号化処
理後ユーザバッファが不足する状態に陥っても、それに
対処することが可能になり、中央処理装置内のバッファ
を効率的に利用することができる。
(Effects of the Invention) As explained above, according to the present invention, it is possible to effectively encode and decode image data of any size from a central processing unit, and (1) central processing unit By continuously exchanging encoding commands between the encoding/decoding mechanism and the central processing unit, even if the user buffer becomes insufficient after encoding, it is possible to deal with it. The buffer within can be used efficiently.

(2)符号化処理後のユーザバッファが不足したとき、
再度始めから符号化コマンドを出し直す必要が無くなる
ため、処理効率が向上し、符号化処理の時間が最適なも
のになる。
(2) When the user buffer after encoding processing is insufficient,
Since there is no need to reissue the encoding command from the beginning, processing efficiency is improved and the encoding processing time is optimized.

という効果が得られる。This effect can be obtained.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明における符号化時の処理の制御方式を示
す一実施例図、第2図は本発明における復号化時の処理
の制御方式を示す一実施例図、第3図は従来の符号化・
復号化機構を有するディスプレイシステムのハードウェ
ア構成を示す図。 第4図は画像メモリ上に格納される二次元図形情°報の
格納イメージを示す図、第5図は従来の符号化・復号化
制御フローを示す説明図、第6図は符号化データの格納
形式を示す図である。 1 ・・・メインCPU、2 ・・・主メモリ、3 ・
・・符号化・復号化機構、 4・・・図形表示プロセッサ、5 ・・・画像メモリ、
6 ・・ メインバス、7 ・・・CRT等の表示画面
、8 ・・・二次記憶装置、11・・・二次元の図形情
報、12・・・ ビット分割イメージ、13・・・画像
メモリ。 15・・・画像メモリから符号化・復号化機構への転送
フロー、 16・・・符号化データのユーザバッファへの転送フロ
ー、 17・・・ユーザバッファから二次記憶装置への転送フ
ロー、 20・・・二次元イメージデータ、 21・・・符号化データ、 22・・・ユーザバッファ領域、 23・・・符号化後のビットデータ、 24 ・・・EOFB(End of Faccimi
lle Block)、25・・・PADビット、30
・・・処理部分、31・・・O8部(基本ソフト部)、 32・・・符号化・復号化制御部、 33・・・符号化・復号化機構部、 34・・・符号化命令発行部、35・・・起動部、36
・・・符号化処理部、 37・・・符号化処理の結果状態判別部、38・・・終
了処理部、39・・・通知部。 40・・・再処理部、51・・・復号化命令発行部、5
2・・・起動部、53・・・復号化処理部、54・・・
復号化処理の結果状態判別部、55・・・通知部、56
・・・再処理部。 特許出願人 日本電信電話株式会社 第1図 第2図 第3図 第5図
FIG. 1 is an embodiment diagram showing a control method for processing during encoding in the present invention, FIG. 2 is an embodiment diagram showing a control method for processing during decoding in the present invention, and FIG. 3 is a diagram showing a conventional method. Coding·
FIG. 1 is a diagram showing a hardware configuration of a display system having a decoding mechanism. Fig. 4 is a diagram showing a storage image of two-dimensional graphic information stored on the image memory, Fig. 5 is an explanatory diagram showing the conventional encoding/decoding control flow, and Fig. 6 is a diagram showing the storage image of two-dimensional graphic information stored on the image memory. FIG. 3 is a diagram showing a storage format. 1...Main CPU, 2...Main memory, 3.
... Encoding/decoding mechanism, 4... Graphic display processor, 5... Image memory,
6... Main bus, 7... Display screen such as CRT, 8... Secondary storage device, 11... Two-dimensional graphic information, 12... Bit divided image, 13... Image memory. 15... Transfer flow from image memory to encoding/decoding mechanism, 16... Transfer flow of encoded data to user buffer, 17... Transfer flow from user buffer to secondary storage device, 20 ...Two-dimensional image data, 21... Encoded data, 22... User buffer area, 23... Encoded bit data, 24... EOFB (End of Faccimi)
lle Block), 25...PAD bit, 30
. . . Processing part, 31 . Part, 35... Starting part, 36
... Encoding processing unit, 37... Encoding process result state determination unit, 38... Termination processing unit, 39... Notification unit. 40... Reprocessing unit, 51... Decryption instruction issuing unit, 5
2... Starting section, 53... Decryption processing section, 54...
Decoding process result status determination unit, 55... notification unit, 56
...Reprocessing department. Patent applicant: Nippon Telegraph and Telephone Corporation Figure 1 Figure 2 Figure 3 Figure 5

Claims (1)

【特許請求の範囲】 データを符号化・復号化できる制御機構を有するディス
プレイシステムにおいて、 中央処理装置によりメモリを確保し、データを符号化し
た結果をメモリに格納する第1の手段と、データを符号
化した結果が、前記メモリの大きさより大きくなったと
きは、中央処理装置にシステム側より格納領域が不足の
旨を通知して、再度中央処理装置によりメモリを確保し
、データを符号化した結果をメモリに格納する第2の手
段と、前記第1及び第2の手段の一方又は双方を、デー
タが全て符号化されるまで行って、符号化された結果を
、複数個又は1つのメモリに格納する第3の手段と、 前記第1、第2、第3の手段により符号化された、複数
個又は1つのメモリから1つのデータに復号化する手段
を有することを特徴とするデータ符号・復号化制御方式
[Scope of Claim] A display system having a control mechanism capable of encoding and decoding data, comprising a first means for allocating a memory by a central processing unit and storing a result of encoding the data in the memory; When the encoded result becomes larger than the memory size, the system notifies the central processing unit that the storage area is insufficient, and the central processing unit secures memory again and encodes the data. a second means for storing the result in a memory; and one or both of the first and second means until all the data is encoded, and the encoded result is stored in one or more memories. and a means for decoding data encoded by the first, second, and third means into one data from a plurality of memories or from one memory. -Decoding control method.
JP60203427A 1985-09-17 1985-09-17 Control system for data coding and decoding Pending JPS6265172A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60203427A JPS6265172A (en) 1985-09-17 1985-09-17 Control system for data coding and decoding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60203427A JPS6265172A (en) 1985-09-17 1985-09-17 Control system for data coding and decoding

Publications (1)

Publication Number Publication Date
JPS6265172A true JPS6265172A (en) 1987-03-24

Family

ID=16473900

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60203427A Pending JPS6265172A (en) 1985-09-17 1985-09-17 Control system for data coding and decoding

Country Status (1)

Country Link
JP (1) JPS6265172A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03202974A (en) * 1989-12-28 1991-09-04 Nec Corp Picture processor
JP2016039386A (en) * 2014-08-05 2016-03-22 株式会社デンソー Video signal processing device and video signal processing program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5657363A (en) * 1979-10-16 1981-05-19 Ricoh Co Ltd Facsimile device
JPS5720841A (en) * 1980-07-15 1982-02-03 Ricoh Co Ltd Memory controlling circuit
JPS57172463A (en) * 1981-04-17 1982-10-23 Toshiba Corp Picture storage system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5657363A (en) * 1979-10-16 1981-05-19 Ricoh Co Ltd Facsimile device
JPS5720841A (en) * 1980-07-15 1982-02-03 Ricoh Co Ltd Memory controlling circuit
JPS57172463A (en) * 1981-04-17 1982-10-23 Toshiba Corp Picture storage system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03202974A (en) * 1989-12-28 1991-09-04 Nec Corp Picture processor
JP2016039386A (en) * 2014-08-05 2016-03-22 株式会社デンソー Video signal processing device and video signal processing program

Similar Documents

Publication Publication Date Title
US5301351A (en) Data transfer control system between high speed main memory and input/output processor with a data mover
CN102197384B (en) Method and system for improving serial port memory communication latency and reliability
US5283872A (en) SCSI device having transfer parameter storage memory blocks which correspond to each apparatus
WO2021244194A1 (en) Register reading/writing method, chip, subsystem, register group, and terminal
CN114637475A (en) Distributed storage system control method and device and readable storage medium
JPS5943456A (en) Information processor
EP0036483B1 (en) Information transfer between a main storage and a cyclic bulk memory in a data processing system
JPS6265172A (en) Control system for data coding and decoding
CN112559242B (en) Method for compressing computational core memory of domestic many-core processor
US5603057A (en) System for initiating data transfer between input/output devices having separate address spaces in accordance with initializing information in two address packages
JP2615677B2 (en) Shared extended storage control method
US5692218A (en) System for transferring data between input/output devices having separate address spaces in accordance with initializing information in address packages
JP3791404B2 (en) Image processing device
JP3847995B2 (en) Data processing apparatus and data processing method of data processing apparatus
JP2584744B2 (en) Data transmission equipment
JPS6074071A (en) Bus control system
JPH05241736A (en) File control method for magnetic tape storage device
JPS60193044A (en) Data buffer device
JPH06191101A (en) Printing device
TW412676B (en) Method and device for 32-bit Direct Memory Access
JPH0246967B2 (en)
JPH07319840A (en) Multi-cpu device
JPH07144441A (en) Image output device
JPH05233482A (en) Data transfer system
JPH0438577A (en) Picture reading system