JP2573700B2 - Image recording and playback device - Google Patents

Image recording and playback device

Info

Publication number
JP2573700B2
JP2573700B2 JP32611889A JP32611889A JP2573700B2 JP 2573700 B2 JP2573700 B2 JP 2573700B2 JP 32611889 A JP32611889 A JP 32611889A JP 32611889 A JP32611889 A JP 32611889A JP 2573700 B2 JP2573700 B2 JP 2573700B2
Authority
JP
Japan
Prior art keywords
storage unit
storage
image data
address
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP32611889A
Other languages
Japanese (ja)
Other versions
JPH03187689A (en
Inventor
幹夫 渡辺
健次 諸永
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

Description

【発明の詳細な説明】 技術分野 本発明はディジタル画像データを圧縮・符号化して半
導体メモリに書き込んで記録し、または半導体メモリか
ら読み出された画像データを伸長・復号して再生する画
像記録および再生装置、たとえばディジタル電子スチル
カメラに好適な画像記録および再生装置に関する。
Description: TECHNICAL FIELD The present invention relates to an image recording and decoding apparatus for compressing and encoding digital image data and writing and recording the same in a semiconductor memory, or expanding and decoding image data read from the semiconductor memory and reproducing the same. The present invention relates to a reproducing apparatus, for example, an image recording and reproducing apparatus suitable for a digital electronic still camera.

背景技術 この種の画像記録および再生装置としてディジタル電
子スチルカメラがある。このディジタル電子スチルカメ
ラは、固体撮像デバイスによって被写界画像を撮影して
それを表わす画像信号を半導体メモリに記憶させること
により記録し、あるいは半導体メモリに記憶されている
画像データを読み出して被写界画像を再生するものであ
る。
BACKGROUND ART A digital electronic still camera is known as an image recording and reproducing apparatus of this kind. This digital electronic still camera captures an image of an object scene with a solid-state imaging device and records the image signal by storing the image signal in a semiconductor memory, or reads out image data stored in the semiconductor memory and reads the image signal. It reproduces a world image.

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

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

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

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

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

また本発明によれば、画像データが符号化されて記憶
される第1の記憶手段の情報を記憶する領域が所定の記
憶容量を有する複数の記憶単位に分割され、第1の記憶
手段に記憶単位ごとに画像データの読み出しが行われる
ように構成された画像再生装置は、第1の記憶手段から
読み出された圧縮・符号化される画像データを伸長・復
号化する復号手段と、第1の記憶手段における画像デー
タが記録済みの記憶単位を特定するアドレスデータが所
定の順序で格納される第2の記憶手段と、画像データの
読み出しに先立ち、第1の記憶手段における記録済みの
記憶単位を予め検索し、所望の画像を再生するのに必要
な数の各記憶単位を特定するアドレスデータを第2の記
憶手段に格納する制御手段と、復号手段により伸長・復
号された画像データのデータ量を計数し、そのデータ量
が第1の記憶手段の1記憶単位分に達した時点で、第2
の記憶手段に格納されている第1の記憶手段における次
に読み出すべき記憶単位に記憶領域を切り換えて符号化
された画像データの読み出しを行うように指示するため
の切換要求信号を出力し、かつ復号手段の出力動作を停
止させるための制御信号を出力するデータ量計数手段
と、データ量計数手段より出力される切換要求信号を受
けて次に読み出すべき画像データが格納されている記憶
単位の実アドレスを生成し、第1の記憶手段に出力する
アドレス発生手段と、制御手段もしくはアドレス発生手
段の出力信号が第1の記憶手段に出力され、もしくは第
1の記憶手段から読み出された画像データが復号手段に
入力されるようにこれらの各信号またはデータを選択的
に切り換える切換手段とを有し、制御手段は、上記必要
数の各記憶単位を特定するアドレスデータを第2の記憶
手段に格納した後に、これらの各記憶単位のうち最初に
画像データが読み出されるべき記憶単位を特定するアド
レスデータをアドレス発生手段に出力するものである。
Further, according to the present invention, an area for storing information of the first storage unit in which the image data is encoded and stored is divided into a plurality of storage units having a predetermined storage capacity, and is stored in the first storage unit. An image reproducing apparatus configured to read image data for each unit includes a decoding unit that expands and decodes the compressed / encoded image data read from the first storage unit; A second storage unit in which address data for specifying a storage unit in which image data has been recorded in the storage unit is stored in a predetermined order; and a recorded storage unit in the first storage unit prior to reading of the image data. And control means for storing in a second storage means address data specifying the number of storage units required to reproduce a desired image, and image data decompressed and decoded by a decoding means. When counting the amount of data, the data amount reaches the first storage unit of the first storage means, second
A switching request signal for instructing to switch the storage area to a storage unit to be read next in the first storage means stored in the first storage means and to read 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 output from the data amount counting means. Address generating means for generating an address and outputting the generated address to the first storage means, and an output signal of the control means or the address generation means being output to the first storage means or image data read from the first storage means Switching means for selectively switching each of these signals or data so as to be input to the decoding means, and the control means specially stores the required number of storage units. The address data after storing in the second storage means, and outputs the address generator an address data identifying the first image data storage unit to be read out of each of these storage units.

実施例の説明 以下、本発明の実施例を図面を参照して詳細に説明す
る。第1図には本発明が適用される画像記録再生装置の
一実施例の要部の構成が示されている。同図において本
発明が適用される画像記録再生装置は、たとえば被写界
を撮像デバイスにより撮像することにより得られた画像
信号(画像データ)をディジタルデータの形式で直交変
換/直交逆変換部10、符号化/復号部12により圧縮・符
号化してメモリカード18に記録し、またはメモリカード
18から圧縮・符号化された画像データを読み出してこれ
を符号化/復号部12、直交変換/直交逆変換部10により
伸長・復号して外部にディジタル形式の画像信号として
出力する装置である。
DESCRIPTION OF THE EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 shows a configuration of a main part of an embodiment of an image recording / reproducing apparatus to which the present invention is applied. Referring to FIG. 1, an image recording / reproducing apparatus to which the present invention is applied includes, for example, an orthogonal transform / inverse orthogonal transform unit 10 which converts an image signal (image data) obtained by imaging an object scene with an imaging device in the form of digital data. , Compressed / encoded by the encoding / decoding unit 12 and recorded on the memory card 18, or
This is a device that reads out compressed / encoded image data from 18 and decompresses and decodes it by an encoding / decoding unit 12 and an orthogonal transformation / inverse orthogonal transformation unit 10 and outputs it as a digital image signal to the outside.

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

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

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

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

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

セレクタ16は、セレクタ14と同様に本実施例では連動
する二つのスイッチ161,162から構成されている。スイ
ッチ161の接点aはデータバス109を介してCPU20,MAT−R
AM22,アドレス発生器24と接続されている。スイッチ16
1,162の接点b,eはそれぞれスイッチ141,142の接点c,fに
接続されている。
The selector 16 includes two switches 161 and 162 which are linked in the present embodiment, like the selector 14. The contact a of the switch 161 is connected to the CPU 20, MAT-R via the data bus 109.
AM22 and address generator 24 are connected. Switch 16
The contacts b and e of 1,162 are connected to the contacts c and f of the switches 141 and 142, respectively.

またスイッチ162の接点dはCPU20と制御線110を介し
て接続されている。更にスイッチ161,162の接点c,fはそ
れぞれ信号線107,制御線108および図示していないコネ
クタ等を介してメモリカード18に接続される。
The contact d of the switch 162 is connected to the CPU 20 via the control line 110. Further, the contacts c and f of the switches 161 and 162 are connected to the memory card 18 via a signal line 107, a control line 108, a connector (not shown), and the like.

セレクタ14は、後述するデータカウンタ26より制御線
114を介して出力される切換信号によりスイッチ141,142
の接点a〜eがアドレス発生器24または符号化/復号部
12のいずれか一方に切り換えられる。
The selector 14 is connected to a control line by a data counter 26 described later.
Switches 141 and 142 are provided by a switching signal output through 114.
Are the address generator 24 or the encoder / decoder.
It can be switched to any one of 12.

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

セレクタ14,16を構成するスイッチ141,142,161,162に
は、たとえば半導体スイッチが使用されるが、これに限
らず他のスイッチ手段であってもよい。またセレクタ1
4,16は上述した各機能部間の接続を切り換える機能を有
していればよく、本実施例に示す構成に限定されない。
Semiconductor switches are used as the switches 141, 142, 161, 162 constituting the selectors 14, 16, for example. However, the present invention is not limited to this, and other switch means may be used. Selector 1
The components 4 and 16 only need to have the function of switching the connection between the functional units described above, and are not limited to the configuration shown in this embodiment.

メモリカード18は書換え可能な半導体メモリがカード
状の担持体に担持され、本実施例では図示してないコネ
クタ等を介して本装置に着脱可能に接続される一時記憶
装置である。メモリカード18の記憶領域70は、第5図に
例示するように、本実施例では所定の記憶容量を有する
複数のクラスタ72に分割されてフォーマットされてい
る。この記憶領域70の記憶単位であるクラスタ72は、た
とえば1フレームの画像信号データのデータ量の自然数
分の1でよい。したがって、1フレームの画像データ
は、複数のクラスタ72にわたって書き込まれる。この場
合に1フレームの画像が記憶される複数のクラスタは、
画像データが書き込まれていないクラスタが必要数だけ
連続する場合には、それらのクラスタに連続的に書き込
まれるが、そうでない場合には未記録のクラスタに不連
続的に、すなわちクラスタ番号が不連続となる未記録の
クラスタに書き込まれる。画像データを読み出す場合も
同様である。
The memory card 18 is a temporary storage device in which a rewritable semiconductor memory is carried on a card-shaped carrier, and is detachably connected to the apparatus via a connector or the like (not shown) in this embodiment. As shown in FIG. 5, the storage area 70 of the memory card 18 is divided into a plurality of clusters 72 having a predetermined storage capacity and formatted in this embodiment. The cluster 72, which is a storage unit of the storage area 70, may be, for example, 1 / natural number of the image signal data of one frame. Therefore, one frame of image data is written over a plurality of clusters 72. In this case, a plurality of clusters in which an image of one frame is stored,
If the required number of clusters to which no image data has been written continues, the data is written continuously to those clusters. If not, the data is written discontinuously to the unrecorded clusters, that is, the cluster numbers are not continuous. Is written to the unrecorded cluster. The same applies when reading image data.

本実施例ではクラスタ72は、たとえば8Kバイトの記憶
容量を有している。各クラスタ72内の各記憶領域の相対
アドレスは後述するように、たとえば13ビットで指定さ
れ、第6図に示すように10進法で表わすと0番地から81
91番地が与えられている。(第6図ではクラスタ番号が
Nのクラスタについて示されている。) またメモリカード18における画像データが記録される
以外の記憶領域にはヘッダー、パケット属性、ディレク
トリ、MAT(メモリアロケーションテーブル)からなる
管理領域が設けられている。これらの管理領域は、たと
えば2クラスタ分の記憶容量の記憶領域が割り当てられ
ている。ここでヘッダー領域には使用クラスタ数、未使
用クラスタ数等のデータが、パケット属性領域には各パ
ケットが使用済であるか未使用であるかを示すテーブル
が格納される。ここでパケットとは1枚の画像を形成す
る画像データが格納される一連のクラスタの集合体の1
単位を指称する。
In this embodiment, the cluster 72 has a storage capacity of, for example, 8 Kbytes. The relative address of each storage area in each cluster 72 is specified by, for example, 13 bits, as will be described later, and when expressed in decimal notation as shown in FIG.
91 is given. (In FIG. 6, the cluster with the cluster number N is shown.) The storage area of the memory card 18 other than the area where the image data is recorded includes a header, a packet attribute, a directory, and a MAT (memory allocation table). A management area is provided. For these management areas, for example, storage areas having a storage capacity of two clusters are allocated. Here, data such as the number of used clusters and the number of unused clusters are stored in the header area, and a table indicating whether each packet is used or unused is stored in the packet attribute area. Here, the packet is one of an aggregate of a series of clusters in which image data forming one image is stored.
A unit is designated.

メモリカード18のMAT領域は第7図に示すようにクラ
スタ番号が連続番号(♯1,2…N,…)となっており、各
クラスタ番号に対応する記憶領域には次に画像データの
書込または読出を行うべきクラスタ番号が格納されてい
る。たとえば第7図に示す例ではCPU20はMATを参照する
ことによりクラスタ番号が1→3→N→N+i→N+j
の順に画像データの書込または読出を行うことにより画
像の記録または再生を行うものと認識する。
As shown in FIG. 7, the MAT area of the memory card 18 has a continuous cluster number (# 1,2... N,...). A cluster number to be read or written is stored. For example, in the example shown in FIG. 7, the CPU 20 refers to the MAT so that the cluster number is 1 → 3 → N → N + i → N + j
It is recognized that image recording or reproduction is performed by writing or reading image data in this order.

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

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

なお、パケット属性領域は第9図に示すようにパケッ
ト番号Px(x=0,1,2,…i,i+1,…)に対応する記憶領
域にそのパケットが記録済であるか、未記録であるかを
示すデータ(本実施例では理解を容易にするために○は
未使用の状態、×は使用済みの状態を示すデータを表わ
すものとする。)が格納されている。
In the packet attribute area, as shown in FIG. 9, the packet is recorded in a storage area corresponding to the packet number Px (x = 0, 1, 2,... I, i + 1,. Data indicating whether there is any data is stored (in this embodiment, for easy understanding, 示 す indicates data indicating an unused state, and x indicates data indicating a used state).

CPU20はメモリカード18に画像データを書き込む場合
には未記録のクラスタ72を、またメモリカード18から既
に書き込まれている所望の画像データを読み出す場合に
はそれが書き込まれている記録済みのクラスタを、それ
ぞれ書込動作または読出動作に先立ち、メモリカード18
のMATを参照して検索し、該当するクラスタのクラスタ
番号をMATを記憶するMAT−RAM22に格納する。
The CPU 20 writes the unrecorded cluster 72 when writing the image data to the memory card 18 and the recorded cluster where the desired image data that has already been written is read from the memory card 18. Before the write operation or the read operation, respectively.
And searches for the cluster number of the corresponding cluster in the MAT-RAM 22 storing the MAT.

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

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

アドレス発生器24はデータバス109を介してMAT−RAM2
2から読み出したクラスタ番号に基づいて、そのクラス
タ番号に該当するクラスタの実アドレスを生成し、アド
レス線103に出力する。すなわち、第4図に示すように
アドレス発生器24で生成される実アドレス80はMAT−RAM
22から読み出されたクラスタ番号を示すアドレスデータ
80Aと、クラスタ72の相対アドレス80Bとから構成されて
いる。この実アドレスは、たとえば24ビットが割り当て
られ、このうち上位11ビットでクラスタ番号が、下位13
ビットで相対アドレスが指定されるようになっている。
The address generator 24 is connected to the MAT-RAM 2 via the data bus 109.
Based on the cluster number read from 2, a real address of the cluster corresponding to the cluster number is generated and output to the address line 103. That is, the real address 80 generated by the address generator 24 as shown in FIG.
Address data indicating the cluster number read from 22
80A and a relative address 80B of the cluster 72. This real address is assigned, for example, 24 bits, of which the upper 11 bits are the cluster number and the lower 13
Relative addresses are specified by bits.

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

アドレス発生器24は制御線113を介してMAT−RAM22に
データの読出タイミング等を制御する制御信号を送出す
る。またアドレス発生器24は制御線104を介してメモリ
カード18にデータの書込また読出に関連する各種の制御
信号を出力する。
The address generator 24 sends a control signal for controlling data read timing and the like to the MAT-RAM 22 via the control line 113. The address generator 24 outputs various control signals related to writing and reading of data to and from the memory card 18 via the control line 104.

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

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

次に第1図に示した本発明に係る画像記録再生装置の
動作を第2A図および第2B図のフローチャート、ならびに
第3図のタイミングチャートを参照しながら説明する。
まずCPU20から制御線111を介してセレクタ16に切換信号
が出力され、セレクタ16は第1図に図示した状態(CPU2
0側)に切り換わる(ステップ201)。
Next, the operation of the image recording / reproducing apparatus according to the present invention shown in FIG. 1 will be described with reference to the flowcharts of FIGS. 2A and 2B and the timing chart of FIG.
First, a switching signal is output from the CPU 20 to the selector 16 via the control line 111, and the selector 16 is in the state shown in FIG.
(0 side) (step 201).

次いでデータカウンタ26から制御線114を介してセレ
クタ14に切換信号が出力され、セレクタは第1図に図示
した状態(アドレス発生器24側)に切り換わる(ステッ
プ202)。更にCPU20はメモリカード18の管理領域を参照
し、画像データを書き込むべき未記録のクラスタまたは
画像データを読み出すべき記録済みのクラスタを検索
し、必要数のクラスタのクラスタ番号を示すデータをMA
T−RAM22に格納すると共に、書込または読出を行うパケ
ットの最初のクラスタのクラスタ番号をCPU20内のRAM領
域に書き込む(ステップ203,204)。ここで必要数のク
ラスタとは、たとえば画像データの書込を行う場合には
画質モードに応じた個数のクラスタを意味する。
Next, a switching signal is output from the data counter 26 to the selector 14 via the control line 114, and the selector switches to the state shown in FIG. 1 (to the address generator 24 side) (step 202). Further, the CPU 20 refers to the management area of the memory card 18 to search for unrecorded clusters to which image data is to be written or recorded clusters to be read out of image data, and stores data indicating the cluster number of the required number of clusters in MA.
While storing in the T-RAM 22, the cluster number of the first cluster of the packet to be written or read is written in the RAM area in the CPU 20 (steps 203 and 204). Here, the required number of clusters means, for example, when writing image data, the number of clusters according to the image quality mode.

MAT−RAM22にクラスタ番号が格納された後にCPU20か
ら制御線111を介してセレクタ16に切換信号が出力され
る。この結果セレクタ16を構成するスイッチ161,162は
それぞれ接点b,e側に、すなわちセレクタ14側に切り換
えられる(ステップ205)。
After the cluster number is stored in the MAT-RAM 22, a switching signal is output from the CPU 20 to the selector 16 via the control line 111. As a result, the switches 161 and 162 constituting the selector 16 are switched to the contacts b and e, that is, to the selector 14 (step 205).

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

次いでセレクタ14はデータカウンタ26から出力される
切換信号により、接点b,e側に、すなわち符号化/復号
部12側に切り換えられる(ステップ207)。
Next, the selector 14 is switched to the contacts b and e, that is, to the encoding / decoding unit 12 by the switching signal output from the data counter 26 (step 207).

更に符号化/復号部12では、例えばメモリカード18に
画像データの書込を行う場合には直交変換/直交逆変換
部10から直交変換された画像データを受け取り、CPU20
の制御下にその画像データの圧縮・符号化を行う(ステ
ップ208)。ここでメモリカード18から画像データを読
み出す場合には符号化/復号部12ではメモリカード18か
ら読み出された画像データを伸長・復号し、直交変換/
直交逆変換部10では伸長・復号された画像データの直交
逆変換が行われることとなる。
Further, the encoding / decoding unit 12 receives the orthogonally transformed image data from the orthogonal transformation / inverse orthogonal transformation unit 10 when writing image data to the memory card 18, for example.
The compression / encoding of the image data is performed under the control of (step 208). Here, when reading image data from the memory card 18, the encoding / decoding unit 12 decompresses and decodes the image data read from the memory card 18,
In the orthogonal inverse transform unit 10, the orthogonal inverse transform of the decompressed and decoded image data is performed.

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

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

またデータカウンタ26で算出されたデータ量が1クラ
スタ分に達した、すなわち1クラスタ分の画像データの
書込または読出が終了した場合にはデータカウンタ26は
制御線116を介して符号化/復号部12に対して第3図
(d)に示すように信号▲▼時刻をt0で有
意にする(ステップ211)。更にデータカウンタ26は制
御線114を介してセレクタ14に切換信号を出力し、セレ
クタ14は接点a,d側に切り換えられる。これと同時に第
3図(c)に示すように時刻t1で制御線115を介してア
ドレス発生器24に対してクラスタ切換要求信号が出力さ
れる(ステップ212)。
When the data amount calculated by the data counter 26 reaches one cluster, that is, when writing or reading of image data for one cluster is completed, the data counter 26 performs encoding / decoding via the control line 116. As shown in FIG. 3D, the time of the signal ▼ is made significant at t0 for the unit 12 (step 211). Further, the data counter 26 outputs a switching signal to the selector 14 via the control line 114, and the selector 14 is switched to the contacts a and d. At the same time, a cluster switching request signal is output to the address generator 24 via the control line 115 at time t1, as shown in FIG. 3 (c) (step 212).

アドレス発生器24では制御線113を介してMAT−RAM22
に対して次に画像データの書込または読出が行われるべ
きクラスタのクラスタ番号を示すデータを読み出すため
の制御信号が出力される。この結果、MAT−RAM22より所
定のクラスタ番号、たとえば最初に書込または読出が行
われたクラスタのクラスタ番号が第10図に示すようにN
o.1であるとクラスタ番号としてNo.3が読み出される。
アドレス発生器24ではNo.3のクラスタの先頭アドレス
(実アドレス)が生成され、その先頭アドレスがセレク
タ14,16を介してメモリカード18に出力され、メモリカ
ード18内のアドレスレジスタに設定される(ステップ21
3)。第3図(b)は、信号線107上にNo.1のクラスタに
書込または読出が行われるべき画像データD(1)が出
力され、次いでNo.3のクラスタの24ビットの先頭アドレ
スA(0〜7)3,A(8〜15)3,A(16〜23)3が出力さ
れた後にNo.3のクラスタに書込または読出が行われる画
像データD(3)が出力される状態を示している。同図
において画像データまたはクラスタの先頭アドレスは信
号線107上に1バイト単位で出力される。
In the address generator 24, the MAT-RAM 22
Then, a control signal for reading data indicating a cluster number of a cluster in which writing or reading of image data is to be performed next is output. As a result, a predetermined cluster number from the MAT-RAM 22, for example, the cluster number of the first written or read cluster is set to N as shown in FIG.
If it is o.1, No. 3 is read as the cluster number.
The address generator 24 generates the start address (real address) of the No. 3 cluster, outputs the start address to the memory card 18 via the selectors 14 and 16, and sets the address in the address register in the memory card 18. (Step 21
3). FIG. 3B shows that the image data D (1) to be written to or read from the No. 1 cluster is output on the signal line 107, and then the 24-bit head address A of the No. 3 cluster is output. After (0-7) 3, A (8-15) 3, A (16-23) 3 are output, the image data D (3) to be written or read to the No.3 cluster is output. The state is shown. In the figure, the head address of the image data or the cluster is output on the signal line 107 in units of 1 byte.

さて、アドレス発生器24から次のクラスタの先頭アド
レスがメモリカード18に出力された後にデータカウンタ
26がリセットされ、データカウンタ26は符号化/復号部
12に出力していた制御信号▲▼を時刻t2で
無意にする(ステップ214,215)。次いで最終クラスタ
における画像データの書込または読出が終了したか否か
が判定される。最終クラスタまで画像データの書込また
は読出した終了にはそのままこの処理シーケンスは終了
し、そうでない場合にはステップ208に戻る(ステップ2
22)。ここでステップ201からステップ206まではCPU20
がこの処理シーケンスに関与しているが、ステップ207
からステップ216およびステップ222の処理シーケンスに
ついてはCPU20以外の機能部(ハードウェア)が関与
し、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
26 is reset, and the data counter 26
The control signal ▲ ▼ output to 12 is rendered insignificant at time t2 (steps 214 and 215). Next, it is determined whether the writing or reading of the image data in the last cluster is completed. When the writing or reading of the image data up to the last cluster is completed, this processing sequence is terminated as it is, otherwise, the process returns to step 208 (step 2).
twenty two). Here, steps 201 to 206 are executed by the CPU 20.
Are involved in this processing sequence, but step 207
Since the processing sequence of steps 216 and 222 involves functional units (hardware) other than the CPU 20, the CPU 20 performs other tasks including the processing of steps 217 to 221.

さて、CPU20の制御下で符号化/復号部12により行わ
れていた画像データの圧縮・符号化または伸長・復号処
理が1パケット分終了すると、符号化/復号部12は制御
線102を介してデータカウンタ26に圧縮(伸長)処理が
終了したことを示す終了信号を出力する(ステップ21
6)。
When one packet of image data compression / encoding or decompression / decoding processing performed by the encoding / decoding unit 12 under the control of the CPU 20 is completed, the encoding / decoding unit 12 outputs An end signal indicating that the compression (decompression) processing has ended is output to the data counter 26 (step 21).
6).

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

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

また上記実施例では1画面単位でメモリカード18にお
ける画像データの書込または読出が行われるように構成
されているが、複数の画面分の画像データを連続的にメ
モリカード18に記録する場合には、次のように行われ
る。すなわち、予め連続的に記録する画面数分のメモリ
カード18における空領域(クラスタ)を検索し、それら
のクラスタ番号をMAT−RAM22に一括して格納する。次に
既述した処理シーケンスを1画面分(1パケット分)、
終了した後に、次の画面を構成する最初のクラスタのク
ラスタ番号をアドレス発生器24に出力し、既述した1画
面分の画像データの書込動作を行う。この場合において
各画面の最初のクラスタのクラスタ番号はCPU20のRAMA
領域に予め書き込んでおいてアドレス発生器24に与える
ようにしてもよいが、CPU20のRAM領域を使用せずにMAT
−RAM22から与えるようにしてもよい。
In the above embodiment, writing or reading of image data in the memory card 18 is performed in units of one screen. However, when image data of a plurality of screens is continuously recorded in the memory card 18, Is performed as follows. That is, empty areas (clusters) in the memory card 18 for the number of screens to be continuously recorded in advance are searched, and those cluster numbers are collectively stored in the MAT-RAM 22. Next, the processing sequence described above is applied to one screen (one packet),
After the end, the cluster number of the first cluster constituting the next screen is output to the address generator 24, and the above-described image data for one screen is written. In this case, the cluster number of the first cluster on each screen is RAMA of CPU20.
The area may be written in advance and given to the address generator 24, but the MAT may be used without using the RAM area of the CPU 20.
-It may be provided from the RAM 22.

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

本実施例ではI/Oバス方式を採用しているが、これに
限定されず、データとアドレスの転送が、それぞれ別個
のバスを使用して行われる直接バス方式を採用してもよ
い。直接バス方式を採用する場合には第1図に示した構
成に加えてメモリカード18内にアドレスカウンタを付加
すればよい。
Although the present embodiment employs the I / O bus system, the present invention is not limited to this, and a direct bus system in which data and addresses are transferred using separate buses may be employed. When the direct bus system is adopted, an address counter may be added in the memory card 18 in addition to the configuration shown in FIG.

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

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

また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 the cluster number.

更にメモリカードに画像データを記録する場合に、メ
モリカードには画像データ、MAT領域、パケット管理領
域、ヘッダーの順に各データを書き込むので、画像デー
タの記録中においてメモリカードの引き抜き、電源ダウ
ン等の事故が発生したとしても不完全な画像が記録され
る可能性は少ない。
Further, when recording image data on the memory card, the image data, the MAT area, the packet management area, and the header are written in this order in the memory card. Even if an accident occurs, it is unlikely that incomplete images will be recorded.

効果 このように本発明では制御手段としてのCPUは画像デ
ータの書込または読出を行うべきメモリカード等の記憶
手段の記憶領域の記憶単位(クラスタ)を予め検索し、
そのクラスタ番号を別の記憶手段に格納しておき、その
後のクラスタの切換処理をハードウェアにより行うよう
にしている。したがって本発明によればクラスタの切換
処理を高速で行うことができる。また、CPUは、画像デ
ータの圧縮(伸長)処理が符号化/復号部により行われ
ている間、他の仕事を行うことが可能となる。
As described above, according to the present invention, the CPU serving as the control unit searches in advance for a storage unit (cluster) of a storage area of a storage unit such as a memory card in which image data is to be written or read, and
The cluster number is stored in another storage means, and subsequent cluster switching processing is performed by hardware. Therefore, according to the present invention, cluster switching processing can be performed at high speed. Further, the CPU can perform other tasks while the compression / expansion processing of the image data is being performed by the encoding / decoding unit.

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

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

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】画像データが符号化されて記憶される第1
の記憶手段の、情報を記憶する領域が所定の記憶容量を
有する複数の記憶単位に分割され、前記第1の記憶手段
に記憶単位ごとに画像データの書き込みが行われるよう
に構成された画像記録装置において、該装置は、 画像データを圧縮・符号化し、前記第1の記憶手段に出
力する符号化手段と、 前記第1の記憶手段における未記録の記憶単位を特定す
るアドレスデータが所定の順序で格納される第2の記憶
手段と、 画像データの書き込みに先立ち、前記第1の記憶手段に
おける未記録の記憶単位を予め検索し、必要な数の各記
憶単位を特定するアドレスデータを第2の記憶手段に格
納する制御手段と、 前記符号化手段により符号化された画像データのデータ
量を計数し、そのデータ量が前記第1の記憶手段の1記
憶単位分に達した時点で、第1の記憶手段における次に
書き込むべき記憶単位に記憶領域を切り換えて符号化さ
れた画像データの書き込みを行うように指示するための
切換要求信号を出力し、かつ符号化手段に該符号化手段
の出力動作を停止させるための制御信号を出力するデー
タ量計数手段と、 該データ量計数手段より出力される切換要求信号を受け
て符号化された画像データを次に書き込むべき前記記憶
単位のアドレスデータを前記第2の記憶手段から読み出
し、該アドレスデータに基づいて実アドレスを生成し、
前記第1の記憶手段に出力するアドレス発生手段と、 該アドレス発生手段と前記データ量計数手段のうちのい
ずれか一方の出力信号と、前記制御手段の出力信号のい
ずれか一方を選択的に第1の記憶手段に対して出力する
切換手段とを有し、 前記制御手段は、前記必要数の各記憶単位を示すアドレ
スデータを第2の記憶手段に格納した後に、これらの各
記憶単位のうち最初に画像データが書き込まれるべき記
憶単位を特定するアドレスデータをアドレス発生手段に
出力することを特徴とする画像記録装置。
1. A first method in which image data is encoded and stored.
An image recording apparatus, wherein an area for storing information of the storage unit is divided into a plurality of storage units having a predetermined storage capacity, and image data is written to the first storage unit for each storage unit. An encoding unit for compressing and encoding the image data and outputting the compressed and encoded image data to the first storage unit; and address data for specifying an unrecorded storage unit in the first storage unit in a predetermined order. And a second storage unit stored in the first storage unit, before writing the image data, previously searching for an unrecorded storage unit in the first storage unit and storing address data for specifying a required number of each storage unit in the second storage unit. A control unit that stores the image data in the storage unit, and a data amount of the image data encoded by the encoding unit is counted, and when the data amount reaches one storage unit of the first storage unit, A switch request signal for instructing to switch the storage area to a storage unit to be written next in the first storage unit and to write the encoded image data is output, and to the encoding unit, Data amount counting means for outputting a control signal for stopping the output operation of the storage unit; and an address of the storage unit to which encoded image data is to be written next in response to a switching request signal output from the data amount counting means. Reading data from the second storage means, generating a real address based on the address data,
Address generating means for outputting to the first storage means; and selectively outputting one of an output signal of the address generating means and the data amount counting means and an output signal of the control means. Switching means for outputting to the first storage means, the control means stores address data indicating the required number of storage units in the second storage means, An image recording apparatus for outputting address data specifying a storage unit to which image data is to be written to an address generating means.
【請求項2】請求項1に記載の画像記録装置において、
前記切換手段は、 前記アドレス発生手段と符号化手段の出力信号のうちの
いずれか一方を選択的に出力する第1の信号選択手段
と、 該第1の信号選択手段と前記制御手段の出力信号のうち
のいずれか一方を選択的に出力する第2の信号選択手段
とからなり、 前記制御手段は、第1の記憶手段における未記録の記憶
単位の検索を行う際に前記第2の信号選択手段を制御手
段に切り換え、かつ前記必要数の各記憶単位を特定する
アドレスデータを第2の記憶手段に格納した後に第2の
信号選択手段の入力を第1の信号選択手段側に切り換え
るように第2の信号選択手段を切換制御し、 前記データ量計数手段は、第1の信号選択手段の入力
を、制御手段が前記最初に画像データが書き込まれるべ
き記憶単位を特定するアドレスデータをアドレス発生手
段に出力する以前にアドレス発生手段側に切り換え、か
つ制御手段が上記アドレスデータを出力した時点で符号
化手段側に切り換えると共に、画像データの符号化量が
1記憶単位分に達した時点でアドレス発生手段側に切り
換えるように第1の信号選択手段を切換制御することを
特徴とする画像記録装置。
2. The image recording apparatus according to claim 1, wherein
A first signal selector for selectively outputting one of the output signals of the address generator and the encoder; an output signal of the first signal selector and the controller; And a second signal selecting means for selectively outputting either one of the second signal selecting means and the second signal selecting means when searching for an unrecorded storage unit in the first storage means. The means is switched to the control means, and the input of the second signal selection means is switched to the first signal selection means after the address data specifying the required number of storage units is stored in the second storage means. The second signal selection means is switch-controlled, and the data amount counting means receives an input of the first signal selection means, and the control means issues an address data which specifies the storage unit in which the image data is to be written first. Switching to the address generating means before outputting to the generating means, and switching to the encoding means when the control means outputs the address data, and switching to the encoding means when the encoding amount of the image data reaches one storage unit. An image recording apparatus, comprising: switching control of a first signal selection unit so as to switch to an address generation unit.
【請求項3】画像データが符号化されて記憶される第1
の記憶手段の情報を記憶する領域が所定の記憶容量を有
する複数の記憶単位に分割され、前記第1の記憶手段に
記憶単位ごとに画像データの読み出しが行われるように
構成された画像再生装置において、該装置は、 前記第1の記憶手段から読み出された圧縮・符号化され
た画像データを伸長・復号する復号手段と、 前記第1の記憶手段における画像データが記録済みの記
憶単位を特定するアドレスデータが所定の順序で格納さ
れる第2の記憶手段と、 画像データの読み出しに先立ち、前記第1の記憶手段に
おける記録済みの記憶単位を予め検索し、所望の画像を
再生するのに必要な数の各記憶単位を特定するアドレス
データを第2の記憶手段に格納する制御手段と、 前記復号手段により伸長・復号される画像データのデー
タ量を計数し、そのデータ量が前記第1の記憶手段の1
記憶単位分に達した時点で、第2の記憶手段に格納され
ている第1の記憶手段における次に読み出すべき記憶単
位に記憶領域を切り換えて符号化された画像データの読
み出しを行うように指示するための切換要求信号を出力
し、かつ復号手段の出力動作を停止させるための制御信
号を出力するデータ量計数手段と、 該データ量計数手段より出力される切換要求信号を受け
て次に読み出すべき画像データが格納されている前記記
憶単位の実アドレスを生成し、前記第1の記憶手段に出
力するアドレス発生手段と、 前記制御手段もしくはアドレス発生手段の出力信号が前
記第1の記憶手段に出力され、もしくは該第1の記憶手
段から読み出された画像データが前記復号手段に入力さ
れるようにこれらの各信号またはデータを選択的に切り
換える切換手段とを有し、 前記制御手段は、前記必要数の各記憶単位を特定するア
ドレスデータを第2の記憶手段に格納した後に、これら
の各記憶単位のうち最初に画像データが読み出されるべ
き記憶単位を特定するアドレスデータをアドレス発生手
段に出力することを特徴とする画像再生装置。
3. A first method in which image data is encoded and stored.
An image storage device configured to divide an area for storing information of the storage unit into a plurality of storage units having a predetermined storage capacity, and to read out image data for each storage unit in the first storage unit In the apparatus, a decoding unit that expands and decodes the compressed / encoded image data read from the first storage unit, and a storage unit in the first storage unit where the image data is recorded A second storage unit in which address data to be specified is stored in a predetermined order; and prior to reading out the image data, a previously stored storage unit in the first storage unit is searched in advance to reproduce a desired image. Control means for storing, in the second storage means, address data specifying the number of storage units required for the processing, counting the amount of image data decompressed and decoded by the decoding means; Of the first storage means
When the number of storage units has been reached, an instruction is issued to switch the storage area to the next storage unit to be read out of the first storage means stored in the second storage means and to read the encoded image data. Data counting means for outputting a switching request signal for performing the switching operation and outputting a control signal for stopping the output operation of the decoding means, and receiving and subsequently reading the switching request signal output from the data amount counting means Address generating means for generating a real address of the storage unit in which image data to be stored is stored and outputting the generated real address to the first storage means; and an output signal of the control means or the address generation means being transmitted to the first storage means. These signals or data are selectively switched so that the image data output or read from the first storage means is input to the decoding means. The control unit stores the address data specifying the required number of each storage unit in the second storage unit, and then the image data should be read first among these storage units. An image reproducing apparatus for outputting address data specifying a storage unit to an address generating means.
【請求項4】請求項3に記載の画像再生装置において、
前記切換手段は、 アドレス発生手段の出力信号を第1の記憶手段側に出力
し、または該第1の記憶手段から読み出された画像デー
タを前記復号化手段に入力するように信号路を選択的に
切り換える第1の信号選択手段と、 前記制御手段の出力信号を前記第1の記憶手段に出力
し、または該第1の記憶手段から読み出された画像デー
タを第1の信号切換手段に出力するように信号路を選択
的に切り換える第2の信号選択手段とからなり、 前記制御手段は、第1の記憶手段における前記記録済み
の記憶単位の検索を行う際に前記第2の信号選択手段を
制御手段側に切り換え、かつ前記必要数の各記憶単位を
特定するアドレスデータを第2の記憶手段に格納した後
に第2の信号選択手段を第1の信号選択手段側に切り換
えるように第2の信号選択手段を切換制御し、 前記データ量計数手段は、制御手段が前記最初に画像デ
ータが読み出されるべき記憶単位を特定するアドレスデ
ータをアドレス発生手段に出力する以前にアドレス発生
手段側に切り換え、かつ制御手段が上記アドレスデータ
を出力した時点で復号手段側に切り換えると共に、画像
データの復号化量が1記憶単位分に達した時点でアドレ
ス発生手段側に切り換えられるように第1の信号選択手
段を切換制御することを特徴とする画像再生装置。
4. The image reproducing apparatus according to claim 3, wherein
The switching unit outputs an output signal of the address generation unit to the first storage unit, or selects a signal path so that image data read from the first storage unit is input to the decoding unit. First signal selecting means for selectively switching, and outputting an output signal of the control means to the first storage means, or transferring image data read from the first storage means to the first signal switching means. Second signal selecting means for selectively switching a signal path so as to output the signal path, wherein the control means selects the second signal when searching for the recorded storage unit in the first storage means. The second means is switched to the first signal selecting means after the means is switched to the control means and the address data specifying the required number of each storage unit is stored in the second memory means. 2 signal selection Switching the stages, the data amount counting unit switches to the address generation unit before the control unit outputs address data specifying the storage unit from which the image data is to be read first to the address generation unit, and controls The first signal selecting means is switched so that the means is switched to the decoding means when the means outputs the address data, and is switched to the address generating means when the decoding amount of the image data reaches one storage unit. An image reproducing apparatus characterized by controlling.
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 JPH03187689A (en) 1991-08-15
JP2573700B2 true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04307644A (en) * 1991-04-04 1992-10-29 Fuji Photo Film Co Ltd Memory card storage control system

Also Published As

Publication number Publication date
JPH03187689A (en) 1991-08-15

Similar Documents

Publication Publication Date Title
JP2573700B2 (en) Image recording and playback device
EP0820199B1 (en) Image signal processing apparatus and method
JP2573701B2 (en) Image recording and playback device
US5682202A (en) Apparatus for recording/reproducing video data in a memory card on a cluster basis
US6278835B1 (en) Method of controlling repetitive reading of group of pictures (GOP) data from a storage medium, and an apparatus therefor
JP3149477B2 (en) Image data processing device
JPH043541A (en) Picture/audio data reproducing device
JP2598534B2 (en) Image and audio data recording device
JP3507147B2 (en) Signal processing apparatus and method
JP2993143B2 (en) Pattern synthesis coding method
JP3102565B2 (en) Memory card storage management method
JP2906869B2 (en) Data sorting device
JPS6039988A (en) Picture signal converter
JP3146772B2 (en) Digital signal processing circuit
JP3439504B2 (en) Data transfer device and data transfer method using the same
JPH066612A (en) Picture data processing unit
JP2002051302A (en) Electronic still camera
JP3081665B2 (en) Frame memory device
JP3052628B2 (en) Digital signal processing circuit
JPH0789649B2 (en) Image data processor
JP2897693B2 (en) Image data storage method, storage device and image forming apparatus
JPH07105053A (en) Information processor
JPH09182072A (en) Image compression device
JPS60254963A (en) Image file device
JPH09214710A (en) Picture processor

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