JPH03187689A - Image recording and reproducing device - Google Patents

Image recording and reproducing device

Info

Publication number
JPH03187689A
JPH03187689A JP1326118A JP32611889A JPH03187689A JP H03187689 A JPH03187689 A JP H03187689A JP 1326118 A JP1326118 A JP 1326118A JP 32611889 A JP32611889 A JP 32611889A JP H03187689 A JPH03187689 A JP H03187689A
Authority
JP
Japan
Prior art keywords
storage
data
image data
address
signal
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
JP1326118A
Other languages
Japanese (ja)
Other versions
JP2573700B2 (en
Inventor
Mikio Watanabe
幹夫 渡辺
Kenji Moronaga
健次 諸永
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.)
Fujifilm Holdings Corp
Original Assignee
Fuji Photo Film Co Ltd
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 Fuji Photo Film Co Ltd filed Critical Fuji Photo Film Co Ltd
Priority to JP32611889A priority Critical patent/JP2573700B2/en
Publication of JPH03187689A publication Critical patent/JPH03187689A/en
Priority to US08/200,573 priority patent/US5682202A/en
Application granted granted Critical
Publication of JP2573700B2 publication Critical patent/JP2573700B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PURPOSE:To accelerate processing speed by performing the switching processing of a cluster when image data is written or read out by hardware other than a CPU. CONSTITUTION:The CPU 20 as a control means retrieves the memory unit (cluster) of the storage area of a storage means 18 such as a memory card, etc., on which the image data is to be written or read out via a selector 16 in advance, and stores a cluster number in another storage means 22, and performs the following switching processing of the cluster with the hardware i.e., an address generator 24, a data counter 26, and a selector 14. Thereby, the switching processing of the cluster can be performed at high speed. Also, the CPU 20 can perform another job while the compression (expansion) processing of the image data is performed at an encoder/decoder part 12.

Description

【発明の詳細な説明】 喪生公1 本発明はディジタル画像データを圧縮・符号化して半導
体メモリに書き込んで記録し、または半導体メモリから
読み出された画像データを伸長・復号して再生する画像
記録および再生装置、たとえばディジタル電子スチルカ
メラに好適な画像記録および再生装置に関する。
Detailed Description of the Invention Kou Mojo 1 The present invention is an image recording method in which digital image data is compressed and encoded and written to a semiconductor memory for recording, or image data read from a semiconductor memory is expanded and decoded and reproduced. and a playback device, such as an image recording and playback device suitable for a digital electronic still camera.

色基韮1 この種の画像記録および再生rtRとしてディジタル電
子スチルカメラがある。このディジタル電子スチルカメ
ラは、vA体撮像デバイスによって被写界画像を撮影し
てそれを表わす画像信号を半導体メモリに記憶させるこ
とにより記録し、あるいは半導体メモリに記憶されてい
る画像データを読み出して被写界画像を再生するもので
ある。
Color base 1 A digital electronic still camera is an example of this type of image recording and reproduction rtR. This digital electronic still camera records an object scene image using a vA body imaging device and stores an image signal representing the image in a semiconductor memory, or reads out image data stored in a semiconductor memory and captures an object scene image. This is to reproduce a scene image.

このような画像記録および再生装置に使用される半導体
メモリはメモリカードの形式をとる。このメモリカード
の記憶領域は複数種類の画像サイズの画像を効率よく記
憶するように所定の記憶容量を有する複数の記憶単位(
クラスタ)に分割されている。たとえば−枚の画像を記
録する際には未記録の連続した番号が付された、もしく
は不連続の番号の複数のクラスタ(クラスタには連続番
号が付されている)に画像データが順次、書き込まれる
。この場合に画像記録装置の制御部を構成するCPUは
1画像データが書き込まれる最初のクラスタの先頭アド
レスを指定する。その後1クラス分の記憶容量の画像デ
ータの書込が終了するまでメモリカードに内蔵されたア
ドレスレジスタによりアドレスが自動的にインクリメン
トされ、逐次、画像データが書き込まれる。したがって
一つのクラスタの画像データの書込が終了するとCpu
は1次に画像データが書き込まれるべきクラスタの先頭
アドレスを計算し、その先頭アドレスをメモリカードの
アドレスレジスタに出力する必要があった。これはメモ
リカードに記録されている画像を読み出して再生する画
像再生装置についても同様である。
Semiconductor memories used in such image recording and reproducing devices take the form of memory cards. The storage area of this memory card consists of multiple storage units (with predetermined storage capacity) to efficiently store images of multiple types of image sizes.
cluster). For example, when recording one image, the image data is written sequentially into unrecorded consecutive numbered clusters, or into multiple clusters with non-consecutive numbers (clusters are sequentially numbered). It will be done. In this case, the CPU constituting the control section of the image recording apparatus specifies the start address of the first cluster into which one image data is written. Thereafter, the address is automatically incremented by an address register built into the memory card until writing of the image data corresponding to one class's storage capacity is completed, and the image data is sequentially written. Therefore, when writing of image data for one cluster is completed, the CPU
In the first step, it was necessary to calculate the starting address of the cluster to which image data is to be written, and to output the starting address to the address register of the memory card. This also applies to image reproducing devices that read and reproduce images recorded on memory cards.

しかしながら、このようにメモリカードの複数のクラス
タに画像データを書き込み、または複数のクラスタに書
き込まれた画像データを読み出す場合において、一つの
クラスタから次のクラスタに画像データの書込動作また
は読出動作を移行させる、すなわちクラスタの切り換え
を行うためにCPUが次のクラスタの先頭アドレスを算
出し、それをメモリカードに出力する処理に時間がかか
るという問題があった。
However, when writing image data to multiple clusters of a memory card or reading image data written to multiple clusters, it is difficult to write or read image data from one cluster to the next cluster. There is a problem in that it takes time for the CPU to calculate the start address of the next cluster and output it to the memory card in order to migrate, that is, to switch clusters.

またCPuは上述したクラスタの切り換えを行う際のア
ドレス計算を行うに際し、クラスタ切換要求信号が制御
バス上に出力されるのを待たなければならず、その待ち
時間内に他の処理を行うことが困難であるという問題が
あった。
Furthermore, when the CPU performs the address calculation when switching clusters as described above, it has to wait for the cluster switching request signal to be output on the control bus, and cannot perform other processing during this waiting time. The problem was that it was difficult.

見−1 本発明はこのような従来技術の問題点を解消し、メモリ
カード等の半導体メモリに画像データが書き込まれ、ま
たは上記半導体メモリから画像データが読み出される場
合においてクラスタ切換時における処理速度の向上を図
った画像記録および再生装置を提供することを目的とす
る。
Observation 1 The present invention solves the problems of the prior art and improves the processing speed when switching clusters when image data is written to or read from a semiconductor memory such as a memory card. It is an object of the present invention to provide an improved image recording and reproducing device.

発明の開示 本発明によれば、画像データが符号化されて記憶される
第1の記憶手段の、情報を記憶する領域が所定の記憶容
量を有する複数の記憶単位に分割され、R1の記憶手段
に記憶単位ごとに画像データの書き込みが行われるよう
に構成された画像記録装置は、画像データを圧縮・符号
化し、第1の記憶手段に出力する符号化手段と、第1の
記憶手段における未記録の記憶単位を特定するアドレス
データが所定の順序で格納される第2の記憶手段と、画
像データの書き込みに先立ち、第1の記憶手段における
未記録の記憶単位を予め検索し、必要な数の各記憶単位
を特定するアドレスデータを第2の記憶手段に格納する
制御手段と、符号化手段により符号化された画像データ
のデータ量を計数し、そのデータ量が第1の記憶手段の
1記憶単位分に達した時点で、第1の記憶手段における
次に書き込むべき記憶単位に記憶領域を切り換えて符号
化された画像データの書き込みを行うように指示するた
めの切換要求信号を出力し、かつ符号化手段に該符号化
手段の出力動作を停止させるための制御信号を出力する
データ量計数手段と、データ量計数手段より出力される
切換要求信号を受けて符号化された画像データを次に書
き込むべき記憶単位のアドレスデータを第2の記憶手段
から読み出し、このアドレスデータに基づいて実アドレ
スを生成し、第1の記憶手段に出力するアドレス発生手
段と、アドレス発生手段と前記データ量計数手段のうち
のいずれか一方の出力信号と、制御手段の出力信号のい
ずれか一方を選択的に第1の記憶手段に対して出力する
切換手段とを有し、制御手段は、上記必要数の各記憶単
位を示すアドレスデータを第2の記憶手段に格納した後
に、これらの各記憶単位のうち最初に画像データが書き
込まれるべき記憶単位を特定するアドレスデータをアド
レス発生手段に出力するものである。
DISCLOSURE OF THE INVENTION According to the present invention, the information storage area of the first storage means in which image data is encoded and stored is divided into a plurality of storage units each having a predetermined storage capacity, An image recording device configured to write image data for each storage unit includes an encoding unit that compresses and encodes the image data and outputs it to the first storage unit, and an encoding unit that compresses and encodes the image data and outputs it to the first storage unit. a second storage means in which address data specifying storage units for recording are stored in a predetermined order; and prior to writing image data, unrecorded storage units in the first storage means are searched in advance and the required number of storage units are stored in the first storage means; control means for storing address data specifying each storage unit in the second storage means; counting the amount of image data encoded by the encoding means; When the number of storage units is reached, outputting a switching request signal for instructing the first storage means to switch the storage area to the storage unit to be written next and write the encoded image data; and data amount counting means for outputting a control signal for stopping the output operation of the encoding means to the encoding means; address generation means for reading address data of a storage unit to be written into from the second storage means, generating a real address based on the address data and outputting it to the first storage means; the address generation means and the data amount counting means; The control means has a switching means for selectively outputting an output signal of one of the means and an output signal of the control means to the first storage means, and the control means has the above-mentioned required number of output signals. After storing address data indicating each storage unit in the second storage means, address data specifying the storage unit in which image data is to be written first among these storage units is output to the address generation means. .

また本発明によれば1画像データが符号化されて記憶さ
れる第1の記憶手段の情報を記憶する領域が所定の記憶
容量を有する複数の記憶単位に分割され、第1の記憶手
段に記憶単位ごとに画像データの読み出しが行われるよ
うに構成された画像再生装置は、第1の記憶手段から読
み出された圧縮・符号化される画像データを伸長・復号
化する復号手段と、第1の記憶手段における画像データ
が記録済みの記憶単位を特定するアドレスデータが所定
の順序で格納される第2の記憶手段と、画像データの読
み出しに先立ち、第1の記憶手段における記録済みの記
憶単位を予め検索し、所望の画像を再生するのに必要な
数の各記憶単位を特定するアドレスデータを第2の記憶
手段に格納する制御手段と、復号手段により伸長・復号
された画像データのデータ量を計数し、そのデータ量が
第1の記憶手段のl記憶単位分に達した時点で。
Further, according to the present invention, the area for storing information of the first storage means in which one image data is encoded and stored is divided into a plurality of storage units each having a predetermined storage capacity, and the information is stored in the first storage means. An image reproducing apparatus configured to read image data unit by unit includes a decoding means for decompressing and decoding the compressed and encoded image data read from the first storage means; a second storage means in which address data specifying a storage unit in which image data is recorded in the storage means is stored in a predetermined order; control means for storing in a second storage means address data specifying the number of storage units required to reproduce a desired image in advance; and image data expanded and decoded by the decoding means. When the amount of data reaches l storage units of the first storage means.

第2の記憶手段に格納されている第1の記憶手段におけ
る次に読み出すべき記憶単位に記憶領域を切り換えて符
号化された画像データの読み出しを行うように指示する
ための切換要求信号を出力し、かつ復号手段の出力動作
を停止させるための制御信号を出力するデータ量計数手
段と、データ量計数手段より出力される切換要求信号を
受けて次に読み出すべき画像データが格納されている記
憶単位の実アドレスを生成し、第1の記憶手段に出力す
るアドレス発生手段と、制御手段もしくはアドレス発生
手段の出力信号が第1の記憶手段に出力され、もしくは
第1の記憶手段から読み出された画像データが復号手段
に入力されるようにこれらの各信号またはデータを選択
的に切り換える切換手段とを有し、制御手段は、上記必
要数の各記憶単位を特定するアドレスデータを第2の記
憶手段に格納した後に、これらの各記憶単位のうち最初
に画像データが読み出されるべき記憶単位を特定するア
ドレスデータをアドレス発生手段に出力するものである
Outputs a switching request signal for instructing to switch the storage area to the storage unit to be read next in the first storage means stored in the second storage means and read out the encoded image data. , and a data amount counting means for outputting a control signal for stopping the output operation of the decoding means, and a storage unit storing image data to be read next in response to a switching request signal outputted from the data amount counting means. an address generation means for generating a real address and outputting it to the first storage means; and an output signal of the control means or the address generation means is outputted to the first storage means or read from the first storage means. and switching means for selectively switching each of these signals or data so that the image data is input to the decoding means, and the control means stores address data specifying each of the required number of storage units in the second storage. After storing the image data in the means, address data specifying the storage unit from which the image data is to be read out first among these storage units is output to the address generation means.

X直豊立盈1 以下1本発明の実施例を図面を参照して詳細に説明する
。第1図には本発明が適用される画像記録再生装置の一
実施例の要部の構成が示されている。同図において本発
明が適用される画像記録再生装置は、たとえば被写界を
撮像デバイスにより撮像することにより得られた画像信
号(画像データ)をディジタルデータの形式で直交変換
/直交逆変換部10.符号化/復号部12により圧縮・
符号化してメモリカード18に記録し、またはメモリカ
ード18から圧縮・符号化された画像データを読み出し
てこれを符号化/復号部12、直交変換/直交逆変換部
lOにより伸長・復号して外部にディジタル形式の画像
信号として出力する装置である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings. FIG. 1 shows the configuration of essential parts of an embodiment of an image recording and reproducing apparatus to which the present invention is applied. In the figure, an image recording and reproducing apparatus to which the present invention is applied converts an image signal (image data) obtained by capturing an image of a subject using an imaging device into a digital data format using an orthogonal transform/orthogonal inverse transform unit 10. .. The encoding/decoding unit 12 compresses and
The encoded and encoded image data is recorded on the memory card 18, or the compressed and encoded image data is read out from the memory card 18 and expanded and decoded by the encoder/decoder 12 and the orthogonal transform/orthogonal inverse transformer 1O, and then externally. This is a device that outputs image signals in digital format.

直交変換/直交逆変換部10は、・時間領域の画像デー
タを周波数領域の画像データに直交変換し、または周波
数領域の画像データを時間領域の画像データに直交逆変
換する回路である。直交度!I!/直交逆変!ll!f
310は、本実施例では画像データの表わす画面を所定
の大きさの区画に分割し、各区画ごとに画像データを直
交変換し、または直交逆変換する。
The orthogonal transform/orthogonal inverse transform unit 10 is a circuit that orthogonally transforms time-domain image data into frequency-domain image data, or orthogonally inversely transforms frequency-domain image data into time-domain image data. Orthogonality! I! / Orthogonal inverse variation! ll! f
In this embodiment, 310 divides the screen represented by the image data into sections of a predetermined size, and orthogonally transforms or inversely orthogonally transforms the image data for each section.

直交変換は、たとえばアダマール変換、フーリエ変換ま
たは二次元ディスクリートコサイン変換等の手法が適用
され、直交逆変換は上記各手法の逆変換が適用される。
For the orthogonal transform, a method such as Hadamard transform, Fourier transform, or two-dimensional discrete cosine transform is applied, and for the orthogonal inverse transform, the inverse transform of each of the above methods is applied.

直交変換された画像データは信号線100を介して符号
化/復号部12に所定の転送速度で出力され、圧縮・符
号化される。またメモリカード18から読み出された圧
縮・符号化された画像データは符号化/復号部12で伸
長・復号される。
The orthogonally transformed image data is output to the encoding/decoding unit 12 at a predetermined transfer rate via the signal line 100, and is compressed and encoded. Further, the compressed and encoded image data read from the memory card 18 is expanded and decoded by the encoding/decoding section 12.

符号化/復号部12から出力される画像データはセレク
タ14.18を介してメモリカード1Bに送出されるよ
うになっている。
Image data output from the encoding/decoding section 12 is sent to the memory card 1B via selectors 14 and 18.

セレクタ14は1本実施例では連動する二つのスイッチ
141,142から構成されている。スイッチ141.
142の接点a、dはそれぞれアドレス発生器24の出
力端と、アドレス線103、制御線104を介して接続
されている。またスイッチ143,142の接点す、e
はそれぞれ符号化/復号化部12と信号線101 。
In this embodiment, the selector 14 is composed of two switches 141 and 142 that operate in conjunction with each other. Switch 141.
Contacts a and d of 142 are connected to the output end of address generator 24 via address line 103 and control line 104, respectively. Also, the contacts of the switches 143 and 142 are
are the encoding/decoding unit 12 and the signal line 101, respectively.

制御線102を介して接続されている。It is connected via a control line 102.

セレクタ!6は、セレクタ!4と同様に本実施例では連
動する二つのスイッチ181,182から構成されてい
る。スイッチtetの接点aはデータバス108を介し
テCPU20 、MAT−RAM22.7ドI/ス発生
1124ト接続されている。スイッチ181.[12の
接点す、eはそれぞれスイッチ141,142の接点c
、fに接続されている。
selector! 6 is the selector! 4, this embodiment is composed of two switches 181 and 182 that operate in conjunction with each other. A contact a of the switch tet is connected to the CPU 20 and the MAT-RAM 22.7 through the data bus 108. Switch 181. [Twelve contacts S and e are contacts c of switches 141 and 142, respectively.
, f.

またスイッチ1132の接点dはCPU20と制御線1
10を介して接続されている。更にスイッチIB1゜1
82の接点c、fはそれぞれ信号線107.制御線10
日および図示していないコネクタ等を介してメモリカー
ド18に接続される。
Also, the contact d of the switch 1132 is connected to the CPU 20 and the control line 1.
10. Furthermore, switch IB1゜1
Contacts c and f of 82 are connected to signal lines 107.82, respectively. control line 10
It is connected to the memory card 18 via a connector (not shown) or the like.

セレクタ14は、後述するデータカウンタ26よυ制御
1線114を介して出力される切換信号によりスイッチ
141,142の接点a−eがアドレス発生器24また
は符号化/復号部12のいずれか一方に切り換えられる
The selector 14 switches contacts a to e of the switches 141 and 142 to either the address generator 24 or the encoder/decoder 12 by a switching signal outputted from a data counter 26 to be described later via the υ control line 114. Can be switched.

またセレクタ1BはCPU20より制御線11iを介し
て出力される制御信号によりCPt120またはセレク
タ14の接点c、f側に切り換えられる。
Further, the selector 1B is switched to the CPt 120 or the contacts c and f of the selector 14 by a control signal output from the CPU 20 via the control line 11i.

セレクタ14.18を構成するスイッチ141,142
゜381.182には、たとえば半導体スイッチが使用
されるが、これに限らず他のスイッチ手段であってもよ
い、またセレクタ14.18は上述した各機能部間の接
続を切り換える機能を有していればよく、本実施例に示
す#I成に限定されない。
Switches 141, 142 forming selector 14.18
381 and 182, for example, a semiconductor switch is used, but the switch means is not limited to this, and other switch means may be used. Also, the selector 14, 18 has the function of switching the connection between each of the above-mentioned functional parts. It is not limited to the #I configuration shown in this embodiment.

メモリカード18は書換え可能な半導体メモリがカード
状の担持体に担持され1本実施例では図示してないコネ
クタ等を介して本装置に着脱可能に接続される一時記憶
装置である。メモリカード18の記憶領域70は、第5
図に例示するように1本実施例では所定の記憶容量を有
する複数のクラスタ72に分割されて7オーマー2トさ
れている。この記憶領域70の記憶単位であるクラスタ
72は、たとえばlフレームの画像信号データのデータ
量の自然数分の1でよい、したがって、lフレームの画
像データは、複数のクラスタ72にわたって書き込まれ
る。この場合に1フレームの画像が記憶される複数のク
ラスタは、画像データが書き込まれていないクラスタが
必要数だけ連続する場合には、それらのクラスタに連続
的に書き込まれるが、そうでない場合には未記録のクラ
スタに不連続的に。
The memory card 18 is a temporary storage device in which a rewritable semiconductor memory is carried on a card-like carrier and is removably connected to the present device via a connector (not shown) in this embodiment. The storage area 70 of the memory card 18 is the fifth
As illustrated in the figure, in this embodiment, it is divided into a plurality of clusters 72 having a predetermined storage capacity and arranged in a 7-ohm square. A cluster 72, which is a storage unit of this storage area 70, may be, for example, a natural number fraction of the data amount of 1 frame of image signal data. Therefore, 1 frame of image data is written across a plurality of clusters 72. In this case, the multiple clusters in which one frame of image is stored are sequentially written to if there are a required number of consecutive clusters in which image data is not written, but if not, then Discontinuously into unrecorded clusters.

すなわちクラスタ番号が不連続となる未記録のりラスタ
に書き込まれる0画像データを読み出す場合も同様であ
る。
In other words, the same applies when reading 0 image data written in an unrecorded glue raster whose cluster numbers are discontinuous.

本実施例ではクラスタ72は、たとえば8にバイトの記
憶容量を有している。各クラスタ72内の各記憶領域の
相対アドレスは後述するように、たとえば13ビツトで
指定され、第6図に示すようにlO進法で表わすと0番
地から8191番地が与えられている。(第6図ではク
ラスタ番号がNのクラスタについて示されている。) またメモリカード18における画像データが記録される
以外の記憶領域にはヘッダー4、パケット属性、ディレ
クトリ、MAT  (メモリアロケーションテーブル)
からなる管理領域が設けられている。
In this embodiment, cluster 72 has a storage capacity of, for example, 8 bytes. As will be described later, the relative address of each storage area in each cluster 72 is specified by, for example, 13 bits, and as shown in FIG. 6, addresses 0 to 8191 are given when expressed in lO base. (In FIG. 6, the cluster with the cluster number N is shown.) In addition, the storage area in the memory card 18 other than where image data is recorded includes a header 4, packet attributes, directory, and MAT (memory allocation table).
A management area consisting of:

これらの管理領域は、たとえば2クラスタ分の記憶容量
の記憶領域が割り当てられている。ここでヘッダー領域
には使用クラスタ数、未使用クラスタ数等のデータが、
パケット属性領域には各パケットが使用済であるか未使
用であるかを示すテーブルが格納される。ここでパケッ
トとは1枚の画像を形成する画像データが格納される一
連のクラスタの集合体の1単位を指称する。
For example, a storage area with a storage capacity of two clusters is allocated to these management areas. Here, the header area contains data such as the number of used clusters and the number of unused clusters.
A table indicating whether each packet is used or unused is stored in the packet attribute area. Here, a packet refers to one unit of a series of clusters in which image data forming one image is stored.

メモリカード18のMAT領域は第7図に示すようにク
ラスタ番号が連続番号(・1,2・・・H2・・・)と
なっており、各クラスタ番号に対応する記憶領域には次
に画像データの書込または読出を行うべきクラスタ番号
が格納されている。たとえば第7図に示す例ではCPU
20はMATを参照することによりクラスタ番号がl→
3→N 4 %+j −1−1+jの順に画像データの
書込または読出を行うことにより画像の記録または再生
を行うものと認識する。
As shown in FIG. 7, the MAT area of the memory card 18 has consecutive cluster numbers (.1, 2...H2...), and the storage area corresponding to each cluster number stores the next image. A cluster number for writing or reading data is stored. For example, in the example shown in Figure 7, the CPU
20, the cluster number is changed by referring to MAT →
It is recognized that an image is recorded or reproduced by writing or reading image data in the order of 3→N 4 %+j −1−1+j.

更に一枚の画像(たとえばlフレームの画像データによ
り生成される画像)を形成する画像データが格納される
クラスタの連鎖の最終クラスタを示すクラスタ番号に対
応する記憶領域には通常有り得ない値のデータ1.たと
えば8ビツトがすべて“l”(11111111)のデ
ータが格納され、未使用のクラスタを示すクラスタ番号
に対応する記憶領域には8ビツトがすべて0″(000
00000)のデータが格納される。
Furthermore, data with values that are not normally found in the storage area corresponding to the cluster number indicating the final cluster in a chain of clusters in which image data forming one image (for example, an image generated by 1 frame of image data) is stored. 1. For example, data in which all 8 bits are "l" (11111111) is stored, and in the storage area corresponding to the cluster number indicating an unused cluster, all 8 bits are 0" (000
00000) is stored.

メモリカード18のディレクトリ領域は第8r!4に示
すようにパケット番号P!(菫−0,1,2,・・・i
、i+1゜・・・)に対応する記憶領域に最初に書込ま
たは読出が行われるクラスタのクラスタ番号およびデー
タの種別(たとえば1画像データであるか音声データで
あるかの種別)を示すデータが格納されている。
The directory area of the memory card 18 is number 8r! As shown in 4, the packet number P! (Sumire-0,1,2,...i
, i+1°, etc.) Data indicating the cluster number of the cluster to be written or read first and the type of data (for example, the type of 1 image data or audio data) is Stored.

なお、パケット属性領域は第9図に示すようにパケット
番号P X(XIIG、1,2.・・・i、i◆!、・
・・)に対応する記憶領域にそのパケットが記録済であ
るか。
In addition, the packet attribute field has the packet number PX(XIIG, 1, 2...i, i◆!,...
) has the packet already been recorded in the storage area corresponding to it?

未記録であるかを示すデータ(本実施例では理解を容易
にするためにOは未使用の状態を、×は使用済みの状態
を示すデータを表わすものとする。)が格納されている
Data indicating whether it is unrecorded (in this embodiment, for ease of understanding, O indicates an unused state, and x indicates a used state) is stored.

CPO20はメモリカード!8に画像データを書き込む
場合には未記録のクラスタ72を、またメモリカード!
8から既に書き込まれている所望の画像データを読み出
す場合にはそれが書き込まれている記録済みのクラスタ
を、それぞれ書込動作または読出動作に先立ち、メモリ
カード18のMATを参照して検索し、該当するクラス
タのクラスタ番号をMATを記憶するMAT−RAM2
2に格納する。
CPO20 is a memory card! 8, write the unrecorded cluster 72 to the memory card!
When reading desired image data that has already been written from the memory card 18, the recorded cluster in which it has been written is searched by referring to the MAT of the memory card 18, prior to each write operation or read operation, and MAT-RAM2 that stores the cluster number of the corresponding cluster in MAT
Store in 2.

またCPO20は直交変換/直交逆変換部lOにおける
画像データの変換動作、符号化/復号部12における画
像データの圧縮/伸長動作を制御すると共に、セレクタ
16の切換制御を行う。
Further, the CPO 20 controls the image data conversion operation in the orthogonal transform/orthogonal inverse transform section 1O, the image data compression/expansion operation in the encoding/decoding section 12, and also controls the switching of the selector 16.

MAT−RAM22は第1O図に示すようにメモリカー
ド18に対して書込動作または読出動作を行うべきクラ
スタ72のクラスタ番号(NO)をCPU20の制御下
において順次、記憶する。
The MAT-RAM 22 sequentially stores cluster numbers (NO) of the clusters 72 to perform write or read operations on the memory card 18 under the control of the CPU 20, as shown in FIG. 1O.

アドレス発生器24はデータバス109を介してMAT
−RAM22から読み出したクラスタ番号に基づいて、
そのクラスタ番号に該当するクラスタの実アドレスを生
成し、アドレス!11103に出力する。すなわち、第
4図に示すようにアドレス発生器24で生成される実ア
ドレス80は舅^T−RAN22から読み出されたクラ
スタ番号を示すアドレスデータ80Aと、クラスタ72
の相対アドレス80Bとから構成されている。この実ア
ドレスは、たとえば24ビツトが割り当てられ、このう
ち上位11ビツトでクラスタ番号が、下位13ビツトで
相対アドレスが指定されるようになっている。
The address generator 24 is connected to the MAT via the data bus 109.
- Based on the cluster number read from the RAM 22,
Generate the real address of the cluster corresponding to that cluster number, and use the address! Output to 11103. That is, as shown in FIG. 4, the real address 80 generated by the address generator 24 is composed of the address data 80A indicating the cluster number read from the T-RAN 22 and the cluster 72.
It is composed of a relative address 80B. For example, 24 bits are allocated to this real address, of which the upper 11 bits specify the cluster number and the lower 13 bits specify the relative address.

なお1本実施例ではメモリカード18は、データとアド
レスを同一のバスで送出する、いわゆるI10バス方式
が採られている。メモリカード18へのアドレスまたは
データはアドレス発生器24からはアドレス線103.
信号線105を介して、またcpu2oからはデータバ
ス108を介して送出される。
In this embodiment, the memory card 18 employs a so-called I10 bus system in which data and addresses are sent out on the same bus. Addresses or data to memory card 18 are sent from address generator 24 to address lines 103.
It is sent out via the signal line 105 and from the CPU 2o via the data bus 108.

アドレス発生器24は制御線113を介してに^T−R
AM22にデータの読出タイミング等を制御する制御信
号を送出する。またアドレス発生器24は制御線104
を介してメモリカード18にデータの書込また続出に関
連する各種の制御信号を出力する。
The address generator 24 is connected to ^T-R via the control line 113.
A control signal for controlling data read timing and the like is sent to AM22. Further, the address generator 24 is connected to the control line 104.
It outputs various control signals related to the succession of data written to the memory card 18 via the memory card 18.

データカウンタ2Bは符号化/復号部12により符号化
または復号された画像データのデータ量を計数するカウ
ンタである。このデータカウンタ2Bは1クラスタ分の
データ量を計数するごとに制御線118を介して符号化
/復号部12にその入出力動作を停止させるための制御
信号C−BUSYt−宥意にする。更にデータカウンタ
2Bは、制御線115を介してアドレス発生器24に次
のクラスタに書込動作または読出動作を移行させるため
のクラスタ切換要求信号を出力する。データカウンタ2
Bはクラスタ切換時にセレクタ14を切換制御するため
の制御信号(切換信号)を制御線114を介してセレク
タ14に出力する。
The data counter 2B is a counter that counts the amount of image data encoded or decoded by the encoding/decoding section 12. Each time the data counter 2B counts the amount of data for one cluster, it sends a control signal C-BUSYt-instruction to the encoder/decoder 12 to stop its input/output operation via the control line 118. Furthermore, the data counter 2B outputs a cluster switching request signal to the address generator 24 via the control line 115 for shifting the write operation or read operation to the next cluster. data counter 2
B outputs a control signal (switching signal) for switching the selector 14 at the time of cluster switching to the selector 14 via the control line 114.

なお、データカウンタ2Bによるデータ量の計数は、実
際には符号化/復号部12からメモリカード18に出力
される読出信号または書込信号の出力回数を計数するこ
とにより行われる。これはデータまたはアドレスがlバ
イト単位で信号線上に出力されるごとに続出信号または
書込信号が出力されるのでこれらの信号の出力回数を計
数することはデータ量を計数することに他ならないから
である。
Note that the data amount is actually counted by the data counter 2B by counting the number of times a read signal or a write signal is output from the encoder/decoder 12 to the memory card 18. This is because a successive signal or write signal is output every time data or address is output on the signal line in 1-byte units, so counting the number of outputs of these signals is nothing but counting the amount of data. It is.

次に第1図に示した本発明に係る画像記録再生装置の動
作をs2A図および第2B図のフローチャート、ならび
に第3図のタイミングチャートを参照しながら説明する
。まずcpu2oから制御線111を介してセレクタ1
Bに切換信号が出力され、セレク タ1Bは第1図に図示した状態(CPU20側)に切り
換 次いでデータカウンタ2Bから制御線114を介してセ
レクタ14に切換信号が出力され、セレクタはwS1図
に図示した状S(アドレス発生器24側)に切り換わる
(ステップ202 ) 、更にCPO20はメモリカー
ド18の管理領域を参照し1画像データを書き込むべき
未記録のクラスタまたは画像データを読み出すべき記録
済みのクラスタを検索し、必要数のクラスタのクラスタ
番号を示すデータをNAT−RAM22に格納すると共
に、書込ま、たは読出を行うパケットの最初のクラスタ
のクラスタ番号をCPO20内のRAM領域に書き込む
(ステップ203゜204)、ここで必要数のクラスタ
とは、たとえば画像データの書込を行う場合には画質モ
ードに応じた個数のクラスタを意味する。
Next, the operation of the image recording and reproducing apparatus according to the present invention shown in FIG. 1 will be explained with reference to the flowcharts in FIGS. s2A and 2B, and the timing chart in FIG. 3. First, selector 1 is connected to CPU 2o via control line 111.
A switching signal is output to WS1, and the selector 1B switches to the state shown in FIG. Switching to the illustrated state S (address generator 24 side) (step 202), the CPO 20 further refers to the management area of the memory card 18 and identifies unrecorded clusters into which one image data should be written or recorded clusters from which image data should be read. Search for clusters, store data indicating the cluster numbers of the required number of clusters in the NAT-RAM 22, and write the cluster number of the first cluster of the packet to be written or read into the RAM area in the CPO 20 (step 203, 204), where the required number of clusters means, for example, when writing image data, the number of clusters depending on the image quality mode.

MAT−RAM22にクラスタ番号が格納された後にC
PO20から制御線111を介してセレクタ1Bに切換
信号が出力される。この結果セレクタ1Bを構成するス
イッチ1131.182はそれぞれ接点す、e側に、す
なわちセレクタ!4側に切り換えられる(ステップ20
5 ) 。
After the cluster number is stored in the MAT-RAM 22, C
A switching signal is output from PO20 to selector 1B via control line 111. As a result, the switches 1131 and 182 constituting the selector 1B are connected to the e side, that is, the selector! Switched to side 4 (step 20
5).

次にCPO20はメモリカード18における書込または
読出を行うパケットの最初のクラスタのクラスタ番号を
示すデータをデータバス108を介してアドレス発生器
24に出力する。アドレス発生器24はクラスタ番号を
示すアドレスデータとそのクラスタの先頭番地(相対ア
ドレス)とから該当するクラスタの実アドレスを生成し
、アドレス線103セレクタ14.信号線105、セレ
クタ10.信号線107を介してメモリカード18に出
力し、このアドレスはメモリカード18内のアドレスレ
ジスタに設定される(ステップ20B ) 。
CPO 20 then outputs data indicating the cluster number of the first cluster of packets to be written or read from memory card 18 to address generator 24 via data bus 108 . The address generator 24 generates a real address of the corresponding cluster from the address data indicating the cluster number and the starting address (relative address) of the cluster, and generates the real address of the corresponding cluster from the address line 103 selector 14 . Signal line 105, selector 10. The address is output to the memory card 18 via the signal line 107, and this address is set in the address register within the memory card 18 (step 20B).

次いでセレクタ14はデータカウンタ28から出力され
る切換信号により、接点す、e側に、すなわち符号化/
復号部12側に切り換えられる(ステップ207 ) 
Next, the selector 14 changes the contact points I and E to the encoding/e side in response to the switching signal output from the data counter 28.
Switched to the decoding unit 12 side (step 207)
.

更に符号化/復号部12では1例えばメモリカード18
に画像データの書込を行う場合には直交変換/直交逆変
換部10から直交変換された画像データを受は取り、 
CPO20の制御下にその画像データの圧縮◆符号化を
行う(ステップ208 ) 。
Further, the encoding/decoding section 12 stores a memory card 18, for example, a memory card 18.
When writing image data to , the orthogonally transformed image data is received from the orthogonal transform/orthogonal inverse transform unit 10,
The image data is compressed and encoded under the control of the CPO 20 (step 208).

ここでメモリカード18から画像データを読み出す場合
には符号化/復号部12ではメモリカード18から読み
出された画像データを伸長・復号し、直交変換/直交逆
変換部10では伸長・復号された画像データの直交逆変
換が行われることとなる。
When reading image data from the memory card 18, the encoding/decoding unit 12 expands and decodes the image data read from the memory card 18, and the orthogonal transform/orthogonal inverse transform unit 10 expands and decodes the image data. Orthogonal inverse transformation of the image data will be performed.

符号化/復号部12で圧縮・符号化された画像データは
セレクタ14.18を介してメモリカード18に送出さ
れる。メリカード16では既にステップ20Bで最初に
書き込まれるべきクラスタの先頭アドレス(実アドレス
)がメモリカード18内のアドレスレジスタに設定され
ているので、圧縮・符号化された画像データが入力され
るごとにメモリカード18内に設けられたアドレスレジ
スタにより上記先頭アドレスがインクリメントされ、順
次画像データが書き込まれる。メモリカード!8から画
像データを読み出す場合におけるクラスタのアドレスの
指定も同様に行われる。
The image data compressed and encoded by the encoding/decoding section 12 is sent to the memory card 18 via selectors 14 and 18. In the Merricard 16, the start address (actual address) of the cluster to be written first in step 20B has already been set in the address register in the memory card 18, so every time compressed and encoded image data is input, The head address is incremented by an address register provided in the card 18, and image data is sequentially written. Memory card! Cluster address designation when reading image data from 8 is performed in the same way.

一方、データカウンタ26では符号化/復号部12の制
御線102から出力される書込信号または読出信号(第
3図(a))の出力回数を計数し、この計数値に基づい
てデータ量が算出される(ステップ209 ) 、デー
タカウンタ2Bで算出されたデータ量が1クラスタ分に
達していない場合にはステップ208に戻り、既述した
処理が行われる(ステップ210 ) 。
On the other hand, the data counter 26 counts the number of times the write signal or read signal (FIG. 3(a)) is output from the control line 102 of the encoder/decoder 12, and the amount of data is determined based on this count. If the amount of data calculated by the data counter 2B does not reach one cluster (step 209), the process returns to step 208 and the process described above is performed (step 210).

またデータカウンタ26で算出されたデータ量が1クラ
スタ分に達した。すなわち1クラスタ分の画像データの
書込または読出が終了した場合にはデータカウンタ2B
は制御線IHIを介して符号化/復号部12に対して第
3図(d)に示すように信号G−BUSYを時刻toで
有意にする(ステップ211 ) 。
Also, the amount of data calculated by the data counter 26 has reached one cluster. In other words, when writing or reading of image data for one cluster is completed, the data counter 2B
makes the signal G-BUSY significant at time to as shown in FIG. 3(d) to the encoding/decoding unit 12 via the control line IHI (step 211).

更にデータカウンタ26は制御線114を介してセレク
タ14に切換信号を出力し、セレクタ14は接点a。
Furthermore, the data counter 26 outputs a switching signal to the selector 14 via the control line 114, and the selector 14 is connected to contact a.

d側に切り換えられる。これと同時に第3図(C)に示
すように時刻tlで制御線115を介してアドレス発生
器24に対してクラスタ切換要求信号が出力される(ス
テップ212 ) 。
It can be switched to the d side. At the same time, as shown in FIG. 3(C), a cluster switching request signal is output to the address generator 24 via the control line 115 at time tl (step 212).

アドレス発生器24では制御線113を介してNAT−
RAN22に対して次に画像データの書込または読出が
行われるべきクラスタのクラスタ番号を示すデータを読
み出すための制御信号が出力される。
The address generator 24 connects the NAT-
A control signal is output to the RAN 22 for reading data indicating the cluster number of the cluster to which image data is to be written or read next.

この結果、MAT−RAN22より所定のクラスタ番号
As a result, a predetermined cluster number is assigned by the MAT-RAN 22.

たとえば最初に書込または読出が行われたクラスタのク
ラスタ番号が第10図に示すようにN001であるとク
ラスタ番号としてN093が読み出される。アドレス発
生器24ではN013のクラスタの先頭アドレス(実ア
ドレス)が生成され、その先頭アドレスがセレクタ14
.18を介してメモリカード18に出力され、メモリカ
ード18内のアドレスレジスタに設定される(ステップ
213 ) 、第3図(b)は、信号線107上にNo
、1のクラスタに書込または読出が行われるべき画像デ
ータD(1)が出力され、次いでNo、3のクラスタの
24ビツトの先頭アドレスA(0〜?)3.A(8〜1
5)3.A(16〜23)3が出力された後にN003
のクラスタに書込または読出が行われる画像データD(
3)が出力される状態を示している。
For example, if the cluster number of the first cluster to be written or read is N001 as shown in FIG. 10, N093 is read as the cluster number. The address generator 24 generates the start address (actual address) of the cluster N013, and the start address is sent to the selector 14.
.. 18 to the memory card 18 and set in the address register in the memory card 18 (step 213), as shown in FIG.
The image data D(1) to be written or read to the cluster No., 1 is output, and then the 24-bit start address A(0-?)3 of the cluster No.3 is output. A(8~1
5)3. N003 after A(16-23)3 is output
The image data D(
3) is output.

同図において画像データまたはクラスタの先頭アドレス
は信号線107上に1バイト単位で出力される。
In the figure, the image data or the start address of a cluster is output on a signal line 107 in 1-byte units.

さて、アドレス発生器24から次のクラスタの先頭アド
レスがメモリカード18に出力された後にデータカウン
タ2Bがリセットされ、データカウンタ2Bは符号化/
復号部12に出力していた制御信号C−BUSYを時刻
t2で無意にする(ステップ214゜215 ) 、次
いで最終クラスタにおける画像データの書込または読出
が終了したか否かが判定される。最終クラスタまで画像
データの書込または読出が終了した場合にはそのままこ
の処理シーケンスは終了し、そうでない場合にはステッ
プ208に戻る(ステップ222 ) 、ここでステッ
プ201からステップ206まではCPU20がこの、
処理シーケンスに関与しているが、ステップ207から
ステップ218およびステップ222の処理シーケンス
についてはCP02G以外の機能部(ハードウェア)が
関与し、CPU20はステップ217〜221の処理を
含む他の仕事を行う。
Now, after the start address of the next cluster is output from the address generator 24 to the memory card 18, the data counter 2B is reset, and the data counter 2B is
The control signal C-BUSY output to the decoding section 12 is made ineffective at time t2 (steps 214 and 215), and then it is determined whether writing or reading of image data in the final cluster has been completed. If the writing or reading of image data has been completed up to the final cluster, this processing sequence ends, otherwise the process returns to step 208 (step 222). ,
Although the CPU 20 is involved in the processing sequence, functional units (hardware) other than the CP02G are involved in the processing sequence from step 207 to step 218 and step 222, and the CPU 20 performs other tasks including the processing from steps 217 to 221. .

さて、CPO20の制御下で符号化/復号M112によ
り行われていた画像データの圧縮・符号化または伸長・
復号処理が1パケット分終了すると、符号化/復号部1
2は制御線102を介してデータカウンタ26に圧縮(
伸長)処理が終了したことを示す終了信号を出力する(
ステップ21B ) 。
Now, compression/encoding or decompression/encoding of image data performed by the encoding/decoding M112 under the control of the CPO20.
When the decoding process for one packet is completed, the encoding/decoding unit 1
2 is compressed (
Outputs a termination signal indicating that the decompression process has finished (
Step 21B).

次にCPu20はMAT−RAM22からその記憶内容
を読み出すと共に、セレクタ18を接点a、d側(CP
O20側)に切り換える(ステップ217,218 )
 、更にCPO20はメモリカード18の各クラスタに
おける記録状態が変化するので画像データの書込終了後
にメモリカード18の管理領域、すなわちMA丁領領域
パケット管理領域(パケット属性領域およびディレクト
リ領域)、ヘッダー領域の書き換えを行い、この処理シ
ーケンスを終了する(ステップ219.220,221
 ) 。
Next, the CPU 20 reads out the memory contents from the MAT-RAM 22, and moves the selector 18 to the contacts a and d (CPu
O20 side) (steps 217, 218)
Furthermore, since the recording state in each cluster of the memory card 18 changes, the CPO 20 changes the management area of the memory card 18 after writing the image data, that is, the MA recording area, the packet management area (packet attribute area and the directory area), and the header area. is rewritten, and this processing sequence ends (steps 219, 220, 221
).

なお、メモリカード18から画像データを読み出す場合
にはメモリカード18の各クラスタにおける画像データ
の記録状態は変らないのでステップ217〜221の処
理は行われない。
Note that when image data is read from the memory card 18, the recording state of the image data in each cluster of the memory card 18 does not change, so the processes of steps 217 to 221 are not performed.

また上記実施例では1画面率位でメモリカード18にお
ける画像データの書込または続出が行われるように構成
されているが、複数の画面分の画像データを連続的にメ
モリカード18に記録する場合には、次のように行われ
る。すなわち、予め連続的に記録する画面数分のメモリ
カード18における空領域(クラスタ)を検索し、それ
らのクラスタ番号をMAT−RAM22に一括して格納
する0次に既述した処理シーケンスを1画面分(lパケ
ット分)、終了した後に、次の画面を構成する最初のク
ラスタのクラスタ番号をアドレス発生器24に出力し、
既述した1画面分の画像データの書込動作を行゛う、こ
の場合において各画面の最初のクラスタのクラスタ番号
はCPO20のRAM領域に予め書き込んでおいてアド
レス発生器24に与えるようにしてもよいが、CPU2
0のRAM領域を使用せずにMAT−RAM22から与
えるようにしてもよい。
Further, in the above embodiment, the image data is written or output successively on the memory card 18 at a rate of one screen, but when image data for multiple screens is continuously recorded on the memory card 18, This is done as follows. That is, the above-described processing sequence is performed for one screen by searching empty areas (clusters) in the memory card 18 for the number of screens to be continuously recorded in advance, and storing the cluster numbers in the MAT-RAM 22 all at once. minutes (l packets), outputs the cluster number of the first cluster configuring the next screen to the address generator 24,
In this case, the cluster number of the first cluster of each screen is written in advance in the RAM area of the CPO 20 and given to the address generator 24. Yes, but CPU2
The data may be provided from the MAT-RAM 22 without using the RAM area 0.

なお、複数の画面分の画像データを連続的に読み出す場
合に各クラスタのアドレス指定は書込動作の場合と全く
同様に行われる。
Note that when image data for a plurality of screens are read out continuously, addressing of each cluster is performed in exactly the same way as in the write operation.

本実施例ではI10バス方式を採用しているが。In this embodiment, the I10 bus method is adopted.

これに限定されず、データとアドレスの転送が、それぞ
れ別個のバスを使用して行われる直接/<ス方式を採用
してもよい、直接バス方式を採用する場合には第1図に
示した構成に加えてメモリカード18内にアドレスカウ
ンタを付加すればよい。
However, the present invention is not limited to this, and a direct bus method may be adopted in which data and address transfer are performed using separate buses.If a direct bus method is adopted, the method shown in Figure 1 may be used. In addition to the configuration, an address counter may be added to the memory card 18.

また本実施例ではメモリカード18に書き込む画像デー
タは圧縮・符号化されていることが前提となっているが
1本発明による画像記録再生装置では圧縮・符号化され
ていない画像データを記録する場合でも適用することが
可能である。
Furthermore, in this embodiment, it is assumed that the image data written to the memory card 18 is compressed and encoded; however, in the case where the image recording and reproducing apparatus according to the present invention records image data that is not compressed and encoded, However, it is possible to apply it.

以上に説明したように本実施例によれば画像データの書
込または読出時におけるクラスタの切換処理をCPu以
外のハードウェアにより行うように構成したので、 c
puは画像データの圧縮(伸長)処理の期間中、他の仕
事を行うことができCPuの処理速度の向上が図れる。
As explained above, according to this embodiment, the cluster switching process when writing or reading image data is performed by hardware other than the CPU, so c.
The CPU can perform other tasks during the image data compression (decompression) process, thereby improving the processing speed of the CPU.

またMAT−RAMを設けることによりクラスタ番号の
一時記憶を行うためにCPuのRAM領域を必ずしも使
用しないで済ますことができる。
Further, by providing the MAT-RAM, it is not necessary to use the RAM area of the CPU for temporarily storing cluster numbers.

更にメモリカードに画像データを記録する場合に、メモ
リカードには画像データ、N^丁領領域パケット管理領
域、ヘッダーの順に各データを書き込むので1画像デー
タの記録中においてメモリカードの引き抜き、電源ダウ
ン等の事故が発生したとしても不完全な画像が記録され
る可能性は少ない。
Furthermore, when recording image data on a memory card, each data is written to the memory card in the order of image data, packet management area, and header, so there is no need to remove the memory card or turn off the power while recording one image data. Even if such an accident were to occur, it is unlikely that an incomplete image would be recorded.

幼−一里 このように本発明では制御手段としてのCPUは画像デ
ータの書込または読出を行うべきメモリカード等の記憶
手段の記憶領域の記憶単位(クラスタ)を予め検索し、
そのクラスタ番号を別の記憶手段に格納しておき、その
後のクラスタの切換処理をハードウェアにより行うよう
にしている。
As described above, in the present invention, the CPU as a control means searches in advance for a storage unit (cluster) of a storage area of a storage means such as a memory card in which image data is to be written or read.
The cluster number is stored in a separate storage means, and subsequent cluster switching processing is performed by hardware.

したがって本発明によればクラスタ・の切換処理を高速
で行うことができる。また、 CPUは、画像データの
圧縮(伸長)処理が符号化/復号部により行われている
間、他の仕事を行うことが可能となる。
Therefore, according to the present invention, cluster switching processing can be performed at high speed. Further, the CPU can perform other tasks while the encoding/decoding unit is performing compression (expansion) processing of image data.

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

第1図は本発明が適用される画像記録再生装置の一実施
例の構成を示すブロック図。 第2A図および第2B図は本発明が適用される画像記録
再生装置の処理シーケンスの内容を示すフローチャート
。 第3図は本発明が適用される画像記録再生装置の動作状
態を示すタイミングチャート。 第4図は本発明が適用される画像記録再生装置のアドレ
ス発生器により生成されるクラスタの実アドレスの構成
を示す説明図。 第5図は本発明が適用される画像記録再生装置のメモリ
カードの記憶領域を概念的に示す説明図、 146図は第5図における1クラスタ分の記憶領域の具
体例を示す説明図。 第7図ないし第9図は本発明が適用される画像記録再生
装置の管理領域の記憶内容を示す説明図、 第10図は本発明が適用される画像記録再生装置のMA
T−RAMの記憶内容を示す説明図である。 1  の   の1 1O・・・直交変換/直交逆変換部 12・・・符号化/復号部 14.18・・・セレクタ 18・・・メモリカード 20・・・CPu 22・MAT−RAM 24・・・アドレス発生器 2B・・・データカウンタ
FIG. 1 is a block diagram showing the configuration of an embodiment of an image recording and reproducing apparatus to which the present invention is applied. FIGS. 2A and 2B are flowcharts showing the contents of a processing sequence of an image recording and reproducing apparatus to which the present invention is applied. FIG. 3 is a timing chart showing the operating state of the image recording and reproducing apparatus to which the present invention is applied. FIG. 4 is an explanatory diagram showing the structure of real addresses of clusters generated by the address generator of the image recording/reproducing apparatus to which the present invention is applied. FIG. 5 is an explanatory diagram conceptually showing a storage area of a memory card of an image recording/reproducing apparatus to which the present invention is applied, and FIG. 146 is an explanatory diagram showing a specific example of a storage area for one cluster in FIG. 7 to 9 are explanatory diagrams showing the storage contents of the management area of the image recording and reproducing apparatus to which the present invention is applied, and FIG. 10 is the MA of the image recording and reproducing apparatus to which the present invention is applied.
FIG. 3 is an explanatory diagram showing the storage contents of T-RAM. 1 of 1 1O... Orthogonal transform/orthogonal inverse transform unit 12... Encoding/decoding unit 14.18... Selector 18... Memory card 20... CPU 22, MAT-RAM 24...・Address generator 2B...data counter

Claims (1)

【特許請求の範囲】 1、画像データが符号化されて記憶される第1の記憶手
段の、情報を記憶する領域が所定の記憶容量を有する複
数の記憶単位に分割され、前記第1の記憶手段に記憶単
位ごとに画像データの書き込みが行われるように構成さ
れた画像記録装置において、該装置は、 画像データを圧縮・符号化し、前記第1の記憶手段に出
力する符号化手段と、 前記第1の記憶手段における未記録の記憶単位を特定す
るアドレスデータが所定の順序で格納される第2の記憶
手段と、 画像データの書き込みに先立ち、前記第1の記憶手段に
おける未記録の記憶単位を予め検索し、必要な数の各記
憶単位を特定するアドレスデータを第2の記憶手段に格
納する制御手段と、 前記符号化手段により符号化された画像データのデータ
量を計数し、そのデータ量が前記第1の記憶手段の1記
憶単位分に達した時点で、第1の記憶手段における次に
書き込むべき記憶単位に記憶領域を切り換えて符号化さ
れた画像データの書き込みを行うように指示するための
切換要求信号を出力し、かつ符号化手段に該符号化手段
の出力動作を停止させるための制御信号を出力するデー
タ量計数手段と、 該データ量計数手段より出力される切換要求信号を受け
て符号化された画像データを次に書き込むべき前記記憶
単位のアドレスデータを前記第2の記憶手段から読み出
し、該アドレスデータに基づいて実アドレスを生成し、
前記第1の記憶手段に出力するアドレス発生手段と、 該アドレス発生手段と前記データ量計数手段のうちのい
ずれか一方の出力信号と、前記制御手段の出力信号のい
ずれか一方を選択的に第1の記憶手段に対して出力する
切換手段とを有し、 前記制御手段は、前記必要数の各記憶単位を示すアドレ
スデータを第2の記憶手段に格納した後に、これらの各
記憶単位のうち最初に画像データが書き込まれるべき記
憶単位を特定するアドレスデータをアドレス発生手段に
出力することを特徴とする画像記録装置。 2、請求項1に記載の画像記録装置において、前記切換
手段は、 前記アドレス発生手段と符号化手段の出力信号のうちの
いずれか一方を選択的に出力する第1の信号選択手段と
、 該第1の信号選択手段と前記制御手段の出力信号のうち
のいずれか一方を選択的に出力する第2の信号選択手段
とからなり、 前記制御手段は、第1の記憶手段における未記録の記憶
単位の検索を行う際に前記第2の信号選択手段を制御手
段に切り換え、かつ前記必要数の各記憶単位を特定する
アドレスデータを第2の記憶手段に格納した後に第2の
信号選択手段の入力を第1の信号選択手段側に切り換え
るように第2の信号選択手段を切換制御し、 前記データ量計数手段は、第1の信号選択手段の入力を
、制御手段が前記最初に画像データが書き込まれるべき
記憶単位を特定するアドレスデータをアドレス発生手段
に出力する以前にアドレス発生手段側に切り換え、かつ
制御手段が上記アドレスデータを出力した時点で符号化
手段側に切り換えると共に、画像データの符号化量が1
記憶単位分に達した時点でアドレス発生手段側に切り換
えるように第1の信号選択手段を切換制御することを特
徴とする画像記録装置。 3、画像データが符号化されて記憶される第1の記憶手
段の情報を記憶する領域が所定の記憶容量を有する複数
の記憶単位に分割され、前記第1の記憶手段に記憶単位
ごとに画像データの読み出しが行われるように構成され
た画像再生装置において、該装置は、 前記第1の記憶手段から読み出された圧縮・符号化され
た画像データを伸長・復号する復号手段と、 前記第1の記憶手段における画像データが記録済みの記
憶単位を特定するアドレスデータが所定の順序で格納さ
れる第2の記憶手段と、 画像データの読み出しに先立ち、前記第1の記憶手段に
おける記録済みの記憶単位を予め検索し、所望の画像を
再生するのに必要な数の各記憶単位を特定するアドレス
データを第2の記憶手段に格納する制御手段と、 前記復号手段により伸長・復号される画像データのデー
タ量を計数し、そのデータ量が前記第1の記憶手段の1
記憶単位分に達した時点で、第2の記憶手段に格納され
ている第1の記憶手段における次に読み出すべき記憶単
位に記憶領域を切り換えて符号化された画像データの読
み出しを行うように指示するための切換要求信号を出力 し、かつ復号手段の出力動作を停止させるための制御信
号を出力するデータ量計数手段と、 該データ量計数手段より出力される切換要求信号を受け
て次に読み出すべき画像データが格納されている前記記
憶単位の実アドレスを生成し、前記第1の記憶手段に出
力するアドレス発生手段と、 前記制御手段もしくはアドレス発生手段の出力信号が前
記第1の記憶手段に出力され、もしくは該第1の記憶手
段から読み出された画像データが前記復号手段に入力さ
れるようにこれらの各信号またはデータを選択的に切り
換える切換手段とを有し、 前記制御手段は、前記必要数の各記憶単位を特定するア
ドレスデータを第2の記憶手段に格納した後に、これら
の各記憶単位のうち最初に画像データが読み出されるべ
き記憶単位を特定するアドレスデータをアドレス発生手
段に出力することを特徴とする画像再生装置。 4、請求項3に記載の画像再生装置において、前記切換
手段は、 アドレス発生手段の出力信号を第1の記憶手段側に出力
し、または該第1の記憶手段から読み出された画像デー
タを前記復号化手段に入力するように信号路を選択的に
切り換える第1の信号選択手段と、 前記制御手段の出力信号を前記第1の記憶手段に出力し
、または該第1の記憶手段から読み出された画像データ
を第1の信号切換手段に出力するように信号路を選択的
に切り換える第2の信号選択手段とからなり、 前記制御手段は、第1の記憶手段における前記記録済み
の記憶単位の検索を行う際に前記第2の信号選択手段を
制御手段側に切り換え、かつ前記必要数の各記憶単位を
特定するアドレスデータを第2の記憶手段に格納した後
に第2の信号選択手段を第1の信号選択手段側に切り換
えるように第2の信号選択手段を切換制御し、 前記データ量計数手段は、制御手段が前記最初に画像デ
ータが読み出されるべき記憶単位を特定するアドレスデ
ータをアドレス発生手段に出力する以前にアドレス発生
手段側に切り換え、かつ制御手段が上記アドレスデータ
を出力した時点で復号手段側に切り換えると共に、画像
データの復号化量が1記憶単位分に達した時点でアドレ
ス発生手段側に切り換えられるように第1の信号選択手
段を切換制御することを特徴とする画像再生装置。
[Scope of Claims] 1. An information storage area of a first storage means in which image data is encoded and stored is divided into a plurality of storage units each having a predetermined storage capacity, and An image recording device configured to write image data in units of storage in the means, the device comprising: encoding means for compressing and encoding the image data and outputting the compressed and encoded image data to the first storage means; a second storage means in which address data specifying unrecorded storage units in the first storage means are stored in a predetermined order; and prior to writing image data, unrecorded storage units in the first storage means are stored. control means for searching in advance and storing address data specifying a required number of each storage unit in a second storage means; counting the amount of image data encoded by the encoding means; When the amount reaches one storage unit of the first storage means, an instruction is given to switch the storage area to the next storage unit to be written in the first storage means and write the encoded image data. data amount counting means for outputting a switching request signal for outputting data and outputting a control signal for causing the encoding means to stop the output operation of the encoding means; and a switching request signal output from the data amount counting means. reading the address data of the storage unit into which the encoded image data is to be written next from the second storage means, and generating a real address based on the address data;
address generating means for outputting to the first storage means; selectively controlling one of the output signals of the address generating means and the data amount counting means; and the output signal of the control means; and a switching means for outputting the output to the first storage means, and the control means stores the address data indicating each of the required number of storage units in the second storage means, and then outputs the output to the second storage means. An image recording apparatus characterized in that address data specifying a storage unit in which image data is to be written first is output to address generation means. 2. The image recording apparatus according to claim 1, wherein the switching means includes: first signal selection means for selectively outputting either one of the output signals of the address generation means and the encoding means; It consists of a first signal selection means and a second signal selection means for selectively outputting one of the output signals of the control means, and the control means stores unrecorded information in the first storage means. When performing a unit search, the second signal selection means is switched to the control means, and after storing address data specifying each of the required number of storage units in the second storage means, the second signal selection means is switched to the control means. The second signal selection means is controlled to switch the input to the first signal selection means, and the data amount counting means receives the input of the first signal selection means, and the control means controls the input from the first signal selection means. Before outputting the address data specifying the storage unit to be written to the address generation means, the control means switches to the address generation means side, and at the time the control means outputs the address data, switches to the encoding means side, and at the same time switches to the encoding means side and encodes the image data. amount is 1
An image recording apparatus characterized in that the first signal selection means is controlled to switch to the address generation means side when the number of storage units has been reached. 3. The information storage area of the first storage means in which image data is encoded and stored is divided into a plurality of storage units each having a predetermined storage capacity, and the image data is stored in each storage unit in the first storage means. An image reproducing device configured to read data, the device comprising: decoding means for decompressing and decoding the compressed and encoded image data read from the first storage means; a second storage means in which address data specifying a storage unit in which the image data in the first storage means is recorded is stored in a predetermined order; a control means for preliminarily searching for storage units and storing in a second storage means address data specifying the number of storage units required to reproduce a desired image; and an image expanded and decoded by the decoding means. The amount of data is counted, and the amount of data is one of the first storage means.
When the number of storage units is reached, an instruction is given to switch the storage area to the storage unit to be read next in the first storage means stored in the second storage means and read out the encoded image data. data amount counting means for outputting a switching request signal for decoding and for outputting a control signal for stopping the output operation of the decoding means; address generation means for generating a real address of the storage unit in which image data to be processed is stored and outputting it to the first storage means; and an output signal from the control means or the address generation means to the first storage means. a switching means for selectively switching each of these signals or data so that the image data output or read from the first storage means is input to the decoding means, the control means: After storing the address data specifying each of the required number of storage units in the second storage means, address data specifying the storage unit from which the image data is to be read out first among these storage units is stored in the address generation means. An image reproducing device characterized by outputting. 4. The image reproducing device according to claim 3, wherein the switching means outputs the output signal of the address generation means to the first storage means, or outputs the image data read from the first storage means. a first signal selection means for selectively switching a signal path so as to be input to the decoding means; and a first signal selection means for outputting the output signal of the control means to the first storage means or reading it from the first storage means. and second signal selection means for selectively switching the signal path so as to output the output image data to the first signal switching means, and the control means is configured to store the recorded data in the first storage means. When performing a unit search, the second signal selection means is switched to the control means side, and after storing address data specifying each of the required number of storage units in the second storage means, the second signal selection means is switched to the control means side. the second signal selection means is switched to the first signal selection means side, and the data amount counting means is configured such that the control means receives address data specifying the storage unit from which the image data is to be read first. Before outputting the address data to the address generation means, it switches to the address generation means side, and when the control means outputs the address data, it switches to the decoding means side, and when the amount of decoded image data reaches one storage unit. An image reproducing device characterized in that the first signal selection means is controlled to be switched to the address generation means side.
JP32611889A 1989-12-08 1989-12-18 Image recording and playback device Expired - Fee Related JP2573700B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP32611889A JP2573700B2 (en) 1989-12-18 1989-12-18 Image recording and playback device
US08/200,573 US5682202A (en) 1989-12-08 1994-02-22 Apparatus for recording/reproducing video data in a memory card on a cluster basis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32611889A JP2573700B2 (en) 1989-12-18 1989-12-18 Image recording and playback device

Publications (2)

Publication Number Publication Date
JPH03187689A true JPH03187689A (en) 1991-08-15
JP2573700B2 JP2573700B2 (en) 1997-01-22

Family

ID=18184282

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32611889A Expired - Fee Related JP2573700B2 (en) 1989-12-08 1989-12-18 Image recording and playback device

Country Status (1)

Country Link
JP (1) JP2573700B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5829014A (en) * 1991-04-04 1998-10-27 Fuji Photo Film Co., Ltd. Method of supervising storage of data in a memory card having EEPROM and a memory card system using the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5829014A (en) * 1991-04-04 1998-10-27 Fuji Photo Film Co., Ltd. Method of supervising storage of data in a memory card having EEPROM and a memory card system using the same

Also Published As

Publication number Publication date
JP2573700B2 (en) 1997-01-22

Similar Documents

Publication Publication Date Title
KR930009779B1 (en) Digital information input/output apparatus and method therefor
JPS5836780B2 (en) Gazou Henkan Houshiki
JPS6081686A (en) Specifying circuit of area
JPH03187689A (en) Image recording and reproducing device
JP2573701B2 (en) Image recording and playback device
US5682202A (en) Apparatus for recording/reproducing video data in a memory card on a cluster basis
JPH10304356A (en) Parallel picture compression processor
JPH043541A (en) Picture/audio data reproducing device
JP2906869B2 (en) Data sorting device
JP2598534B2 (en) Image and audio data recording device
JPH06276479A (en) Video and audio information edit method
JPS6039988A (en) Picture signal converter
JP3141421B2 (en) Image storage device
JPH0789649B2 (en) Image data processor
JP2747492B2 (en) Image data extraction / reduction circuit
JPH0591342A (en) Picture data processing device
JP2993143B2 (en) Pattern synthesis coding method
KR0139128B1 (en) Method and apparatus of simultaneous recording many signals to memory
JP2002051302A (en) Electronic still camera
JPS63157275A (en) Image forming device
JPS63149768A (en) Picture information processor
JPH066612A (en) Picture data processing unit
JP3052628B2 (en) Digital signal processing circuit
JP3081665B2 (en) Frame memory device
JPH09182072A (en) Image compression device

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071024

Year of fee payment: 11

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071024

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081024

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091024

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees