JP2000232619A - Dynamic picture recorder - Google Patents

Dynamic picture recorder

Info

Publication number
JP2000232619A
JP2000232619A JP11030507A JP3050799A JP2000232619A JP 2000232619 A JP2000232619 A JP 2000232619A JP 11030507 A JP11030507 A JP 11030507A JP 3050799 A JP3050799 A JP 3050799A JP 2000232619 A JP2000232619 A JP 2000232619A
Authority
JP
Japan
Prior art keywords
image
data
block
writing
audio
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
JP11030507A
Other languages
Japanese (ja)
Other versions
JP3403106B2 (en
Inventor
Junya Kaku
順也 郭
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=12305740&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=JP2000232619(A) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP03050799A priority Critical patent/JP3403106B2/en
Priority to CNB2004100383857A priority patent/CN100477735C/en
Priority to CNB001007726A priority patent/CN1181676C/en
Priority to US09/498,648 priority patent/US6697568B1/en
Priority to EP00102622A priority patent/EP1026891B1/en
Priority to KR1020000005738A priority patent/KR100686278B1/en
Priority to DE60041296T priority patent/DE60041296D1/en
Publication of JP2000232619A publication Critical patent/JP2000232619A/en
Publication of JP3403106B2 publication Critical patent/JP3403106B2/en
Application granted granted Critical
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Image Input (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

PROBLEM TO BE SOLVED: To record a dynamic picture for a long time by using an SDRAM as a ring buffer. SOLUTION: When a shutter button 58 is depressed, compression processing by a JPEG CODEC 30 is applied to photographed still picture data of each frame. A synchronous(S) DRAM 28 acting like a ring buffer stores the generated compressed picture data. The SDRAM 28 reads the compressed picture data in parallel with the write processing above and a memory card 36d stores the read pictures data. As a result, the memory card 36 records moving pictures for a long time. Moreover, a read speed from the SDARM 28 is slower that its write speed. Thus, when the write position approaches the read position and the both have a prescribed relation, the write is stopped.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は、動画像記録装置に関
し、特にたとえばディジタルカメラに適用され、記録指
示に応答して複数フレームの画像データを記録媒体に記
録する、動画像記録装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a moving image recording apparatus, and more particularly to a moving image recording apparatus which is applied to, for example, a digital camera and records a plurality of frames of image data on a recording medium in response to a recording instruction.

【0002】[0002]

【従来の技術】従来のディジタルカメラでは、シャッタ
ボタンが押されると、動画像データの圧縮処理が開始さ
れ、生成された圧縮動画像データは一時的に内部メモリ
に格納されていた。その後、シャッタボタンがオフされ
ると、圧縮処理が中止され、内部メモリに格納された圧
縮動画像データはまとめて記録媒体に記録されていた。
2. Description of the Related Art In a conventional digital camera, when a shutter button is pressed, compression processing of moving image data is started, and the generated compressed moving image data is temporarily stored in an internal memory. Thereafter, when the shutter button is turned off, the compression processing is stopped, and the compressed moving image data stored in the internal memory is collectively recorded on the recording medium.

【0003】[0003]

【発明が解決しようとする課題】しかし、このような従
来技術では、圧縮動画像データは内部メモリを介して記
録媒体に記録されるため、連続して記録できる時間は内
部メモリの容量に依存してしまうという問題があった。
それゆえに、この発明の主たる目的は、メモリ容量に関
係なく長時間の動画像を記録できる、動画像記録装置を
提供することである。
However, in such a conventional technique, since the compressed moving image data is recorded on a recording medium via an internal memory, the continuous recording time depends on the capacity of the internal memory. There was a problem that would.
Therefore, a main object of the present invention is to provide a moving image recording device capable of recording a long moving image regardless of the memory capacity.

【0004】[0004]

【課題を解決するための手段】この発明は、記録指示に
応答して複数フレームの画像データを記録媒体に記録す
る動画像記録装置において、内部メモリ、画像データを
内部メモリに循環的に書き込む画像書き込み手段、画像
データを内部メモリから循環的に読み出して記録媒体に
記録する画像読み出し手段、および画像書き込み位置と
画像読み出し位置とが所定の関係になったときに画像書
き込み手段を不能化する不能化手段を備えることを特徴
とする、動画像記録装置である。
SUMMARY OF THE INVENTION The present invention relates to a moving image recording apparatus for recording a plurality of frames of image data on a recording medium in response to a recording instruction. Writing means, image reading means for cyclically reading out image data from the internal memory and recording it on a recording medium, and disabling the image writing means when the image writing position and the image reading position have a predetermined relationship. A moving image recording apparatus characterized by comprising means.

【0005】[0005]

【作用】画像書き込み手段は画像データを内部メモリに
循環的に書き込み、画像読み出し手段は画像データを内
部メモリから循環的に読み出して記録媒体に記録する。
書き込み手段は、画像書き込み位置と画像読み出し位置
とが所定の関係になったときに不能化手段によって不能
化される。
The image writing means cyclically writes the image data to the internal memory, and the image reading means cyclically reads the image data from the internal memory and records it on the recording medium.
The writing means is disabled by the disablement means when the image writing position and the image reading position have a predetermined relationship.

【0006】この発明のある局面では、内部メモリは複
数の画像ブロックを有し、それぞれの画像ブロックは所
定フレーム数の画像データに相当する容量を持つ。この
発明のある実施例では、画像書き込み手段は次のように
動作する。つまり、指定手段がそれぞれの画像ブロック
を1つずつかつ循環的に指定し、画像データ書き込み手
段が、指定された画像ブロックに所定フレーム数の画像
データを書き込む。
In one aspect of the present invention, the internal memory has a plurality of image blocks, and each image block has a capacity corresponding to a predetermined number of frames of image data. In one embodiment of the present invention, the image writing means operates as follows. That is, the designating means designates each of the image blocks one by one and cyclically, and the image data writing means writes a predetermined number of frames of image data into the designated image block.

【0007】この発明の他の実施例では、複数のブロッ
クフラグが複数の画像ブロックにそれぞれ対応し、各ブ
ロックフラグの状態は、対応する画像ブロックに対する
アクセス状態を示す。画像書き込み手段では、1つの画
像ブロックへの書き込みが完了する毎に、セット手段が
対応するブロックフラグをセットする。また、1つの画
像ブロックからの読み出しが完了する毎に、リセット手
段が対応するブロックフラグをリセットする。画像読み
出し手段では、画像データ読み出し手段が、1つの画像
ブロックから所定バイト数ずつ画像データを読み出す。
また、更新手段が、所定バイト数の読み出しが完了する
毎に読み出しアドレスを更新する。リセット手段は、前
記読み出しアドレスを検出し、検出結果に基づいて画像
ブロックからの読み出しの完了を判別する。不能化手段
は、このようなブロックフラグの状態に応じて、画像書
き込み手段を不能化する。
In another embodiment of the present invention, a plurality of block flags respectively correspond to a plurality of image blocks, and the state of each block flag indicates an access state to the corresponding image block. In the image writing means, each time writing to one image block is completed, the setting means sets a corresponding block flag. Further, each time reading from one image block is completed, the reset means resets the corresponding block flag. In the image reading means, the image data reading means reads image data by a predetermined number of bytes from one image block.
Further, the updating means updates the read address each time reading of a predetermined number of bytes is completed. The reset unit detects the read address, and determines completion of reading from the image block based on the detection result. The disabling means disables the image writing means according to the state of such a block flag.

【0008】この発明の他の局面では、圧縮手段が複数
フレームの画像データを圧縮する。このため、画像書き
込み手段は、圧縮手段によって圧縮された圧縮画像デー
タを内部メモリに書き込み、画像読み出し手段は、圧縮
画像データを内部メモリから読み出す。
[0008] In another aspect of the present invention, the compression means compresses image data of a plurality of frames. Therefore, the image writing unit writes the compressed image data compressed by the compression unit to the internal memory, and the image reading unit reads the compressed image data from the internal memory.

【0009】[0009]

【発明の効果】この発明によれば、画像データを内部メ
モリに循環的に書き込み、その後、画像データを内部メ
モリから循環的に読み出して記録媒体に記録するように
したため、内部メモリの容量が小さいときでも長時間の
動画像を記録できる。また、画像書き込み位置と画像読
み出し位置とが所定の関係になったときに画像書き込み
手段を不能化するため、未だ読み出されていない画像デ
ータが後続の画像データによって上書きされることがな
い。
According to the present invention, the image data is cyclically written to the internal memory, and thereafter, the image data is cyclically read from the internal memory and recorded on the recording medium. Therefore, the capacity of the internal memory is small. A long-time moving image can be recorded at any time. Further, since the image writing unit is disabled when the image writing position and the image reading position have a predetermined relationship, the image data that has not been read out is not overwritten by the subsequent image data.

【0010】この発明の上述の目的,その他の目的,特
徴および利点は、図面を参照して行う以下の実施例の詳
細な説明から一層明らかとなろう。
The above objects, other objects, features and advantages of the present invention will become more apparent from the following detailed description of embodiments with reference to the drawings.

【0011】[0011]

【実施例】図1を参照して、この実施例のディジタルカ
メラ10はCCDイメージャ12を含む。CCDイメー
ジャ12の前面には色フィルタ(図示せず)が装着さ
れ、被写体の光像はこの色フィルタを介してCCDイメ
ージャ12に照射される。モード切換スイッチ60を
“カメラ”側に切り換えると、システムコントローラ5
4がカメラモードを設定する。タイミングジェネレータ
(TG)14は、シグナルジェネレータ(SG)16か
ら出力される垂直同期信号および水平同期信号に基づい
てタイミング信号を生成し、CCDイメージャ12をプ
ログレッシブスキャン方式で駆動する。この結果、各フ
レームのカメラ信号が1/15秒毎にCCDイメージャ
12から出力される。出力されたカメラ信号は、CDS
/AGC回路18で周知のノイズ除去およびレベル調整
を施され、その後、A/D変換器16によってディジタ
ル信号であるカメラデータに変換される。信号処理回路
22は、A/D変換器16から出力されたカメラデータ
にYUV変換を施してYUVデータを生成する。CCD
イメージャ12は各フレームのカメラ信号を1/15秒
毎に出力するため、各フレームのYUVデータ(静止画
像データ)もまた、1/15秒毎に出力される。信号処
理回路22は、このようにして生成された静止画像デー
タを書き込みリクエストとともにメモリ制御回路26に
出力する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring to FIG. 1, a digital camera 10 of this embodiment includes a CCD imager 12. A color filter (not shown) is mounted on a front surface of the CCD imager 12, and a light image of a subject is irradiated on the CCD imager 12 through the color filter. When the mode changeover switch 60 is switched to the “camera” side, the system controller 5
4 sets the camera mode. The timing generator (TG) 14 generates a timing signal based on the vertical synchronizing signal and the horizontal synchronizing signal output from the signal generator (SG) 16, and drives the CCD imager 12 by a progressive scan method. As a result, the camera signal of each frame is output from the CCD imager 12 every 1/15 second. The output camera signal is CDS
The A / D converter 16 performs well-known noise removal and level adjustment, and then converts the digital data into camera data as a digital signal by the A / D converter 16. The signal processing circuit 22 performs YUV conversion on the camera data output from the A / D converter 16 to generate YUV data. CCD
Since the imager 12 outputs the camera signal of each frame every 1/15 second, the YUV data (still image data) of each frame is also output every 1/15 second. The signal processing circuit 22 outputs the still image data thus generated to the memory control circuit 26 together with the write request.

【0012】メモリ制御回路26は、書き込みリクエス
トに応答して、静止画像データをSDRAM28に書き
込む。SDRAM54には図3に示すような表示画像エ
リアが形成されており、静止画像データはここに書き込
まれる。表示画像エリアは1フレーム分の容量しか持た
ず、各フレームの静止画像データは1/15秒毎に更新
される。一方、ビデオエンコーダ38は1/15秒毎に
リクエスト信号を出力し、メモリ制御回路26は静止画
像データを表示画像エリアから1/15秒毎に読み出
す。読み出された各フレームの静止画像データは、バス
24aを介してビデオエンコーダ38に与えられる。な
お、静止画像データの読み出しには、インタレーススキ
ャン方式が用いられる。
The memory control circuit 26 writes still image data to the SDRAM 28 in response to the write request. A display image area as shown in FIG. 3 is formed in the SDRAM 54, and the still image data is written here. The display image area has a capacity of only one frame, and the still image data of each frame is updated every 1/15 second. On the other hand, the video encoder 38 outputs a request signal every 1/15 second, and the memory control circuit 26 reads out still image data from the display image area every 1/15 second. The read still image data of each frame is supplied to the video encoder 38 via the bus 24a. Note that an interlaced scan method is used for reading out still image data.

【0013】ビデオエンコーダ38は、入力された各フ
レームの静止画像データからNTSCフォーマットのコ
ンポジット画像信号を生成し、生成したコンポジット画
像信号をモニタ40に与える。この結果、被写体像の動
画像が、リアルタイムでモニタ40に表示される。オペ
レータがシャッタボタン58を押せば、システムコント
ローラ54はCPU32に対して動画像および音声の記
録処理を指示する。すると、CPU32は、1/15秒
毎に画像圧縮命令および音声処理命令を発生する。画像
圧縮命令はJPEGコーデック30に与えられ、音声処
理命令は信号処理回路46に与えられる。
The video encoder 38 generates an NTSC format composite image signal from the input still image data of each frame, and supplies the generated composite image signal to the monitor 40. As a result, a moving image of the subject image is displayed on the monitor 40 in real time. When the operator presses the shutter button 58, the system controller 54 instructs the CPU 32 to perform a moving image and audio recording process. Then, the CPU 32 generates an image compression command and a sound processing command every 1/15 seconds. The image compression instruction is given to the JPEG codec 30 and the audio processing instruction is given to the signal processing circuit 46.

【0014】JPEGコーデック30は、画像圧縮命令
に応答して読み出しリクエストをメモリ制御回路26に
出力する。このため、SDRAM28の表示画像エリア
に格納された静止画像データが、メモリ制御回路26に
よって1/15秒毎に読み出される。読み出された静止
画像データはバス24aを介してJPEGコーデック3
0に与えられ、JPEG圧縮を施される。JPEGコー
デック30は、1フレーム分の圧縮画像データが得られ
る毎に、このような圧縮画像データの書き込みをメモリ
制御回路26にリクエストする。これに応じて、メモリ
制御回路26は、各フレームの圧縮画像データを図3に
示す圧縮画像エリアに書き込む。圧縮画像エリアには、
15フレーム分の圧縮画像データを格納できる画像ブロ
ックが複数形成されており、圧縮画像データは各圧縮画
像ブロックに15フレームずつ書き込まれる。
The JPEG codec 30 outputs a read request to the memory control circuit 26 in response to the image compression command. Therefore, the still image data stored in the display image area of the SDRAM 28 is read out by the memory control circuit 26 every 1/15 second. The read still image data is transmitted to the JPEG codec 3 via the bus 24a.
0 and JPEG compressed. The JPEG codec 30 requests the memory control circuit 26 to write such compressed image data every time one frame of compressed image data is obtained. In response, the memory control circuit 26 writes the compressed image data of each frame into the compressed image area shown in FIG. In the compressed image area,
A plurality of image blocks capable of storing 15 frames of compressed image data are formed, and the compressed image data is written into each compressed image block by 15 frames.

【0015】一方、信号処理回路46は、音声処理命令
に応答して、A/D変換器44から音声データを取り込
む。つまり、マイク42によって捉えられかつA/D変
換を施された音声データを取り込む。そして、取り込ん
だ音声データに所定の処理を施し、処理された音声デー
タを書き込みリクエストとともにメモリ制御回路26に
出力する。音声処理命令は1/15秒毎に与えられるた
め、1/15秒分つまり524バイトの音声データがメ
モリ制御回路46に出力される。メモリ制御回路26
は、書き込みリクエストに応答して、このような524
バイトの音声データを図3に示す音声エリアに書き込
む。音声エリアには、1秒分(7866バイト)の音声
データを格納できる音声ブロックが形成されており、音
声データはこのような音声ブロックに1秒ずつ書き込ま
れていく。
On the other hand, the signal processing circuit 46 fetches audio data from the A / D converter 44 in response to the audio processing command. That is, the audio data captured by the microphone 42 and subjected to A / D conversion is captured. Then, predetermined processing is performed on the fetched audio data, and the processed audio data is output to the memory control circuit 26 together with a write request. Since the audio processing command is given every 1/15 second, audio data of 1/15 second, that is, 524 bytes, is output to the memory control circuit 46. Memory control circuit 26
Responds to the write request with such a 524
The byte audio data is written in the audio area shown in FIG. In the audio area, an audio block capable of storing one second (7866 bytes) of audio data is formed, and the audio data is written to such an audio block one second at a time.

【0016】CPU32はまた、15フレーム分の圧縮
画像データおよび1秒分の音声データがSDRAM28
に書き込まれる毎に、画像ヘッダデータおよび音声ヘッ
ダデータを作成し、これらのヘッダデータの書き込みを
メモリ制御回路26にリクエストする。メモリ制御回路
26は、画像ヘッダデータおよび音声ヘッダデータを、
図3に示すヘッダエリアに形成されたヘッダブロックに
書き込む。なお、互いに関連する画像ヘッダデータおよ
び音声ヘッダデータは、同じヘッダブロックに書き込ま
れる。このようにして書き込み処理が実行されること
で、互いに対応する圧縮画像データ,音声データおよび
ヘッダデータは、同じ係数を持つ画像ブロック,音声ブ
ロックおよびヘッダブロックにそれぞれ書き込まれる。
The CPU 32 also outputs 15 frames of compressed image data and 1 second of audio data to the SDRAM 28.
Each time it is written to the memory, image header data and audio header data are created, and the writing of these header data is requested to the memory control circuit 26. The memory control circuit 26 converts the image header data and the audio header data into
Write to the header block formed in the header area shown in FIG. Note that the image header data and the audio header data related to each other are written in the same header block. By executing the writing process in this manner, the compressed image data, audio data, and header data corresponding to each other are written into image blocks, audio blocks, and header blocks having the same coefficients.

【0017】CPU32はまた、メモリ制御回路26に
対してデータの読み出しをリクエストする。メモリ制御
回路26は、このようなリクエストに応答して、同じ係
数を持つブロックから音声ヘッダ、音声、画像ヘッダ、
画像の順でデータを読み出す。まずヘッダブロックから
音声ヘッダデータが読み出され、音声ブロックから1秒
分の音声データが読み出される。次に、ヘッダブロック
から画像ヘッダデータが読み出され、画像ブロックから
15フレーム分の圧縮画像データが読み出される。CP
U32は、このようにして読み出されたデータをメモリ
カード36に記録する。
The CPU 32 also requests the memory control circuit 26 to read data. In response to such a request, the memory control circuit 26 starts from the blocks having the same coefficient, the audio header, the audio, the image header,
Read data in the order of images. First, audio header data is read from the header block, and audio data for one second is read from the audio block. Next, image header data is read from the header block, and 15 frames of compressed image data are read from the image block. CP
U32 records the data thus read out on the memory card 36.

【0018】メモリカード36には、最初のシャッタボ
タン58の操作に応答してAVI(Audio Video Interl
eave)ファイルのヘッダが新規に作成され、SDRAM
28から読み出されたデータはファイルヘッダ以降に書
き込まれていく。この結果、図2に示すように、1秒分
の音声データからなる音声チャンクおよび15フレーム
分の圧縮画像データからなる画像チャンクが交互に形成
される。音声ヘッダデータは音声チャンクの先頭に設け
られ、画像ヘッダデータは画像チャンクの先頭に設けら
れる。なお、この実施例では、1秒分の動画像は15フ
レームからなり、1つの音声チャンクおよびこれに続く
1つの画像チャンクが互いに対応する。
An AVI (Audio Video Interface) is stored in the memory card 36 in response to the first operation of the shutter button 58.
eave) File header is newly created and SDRAM
The data read from 28 is written after the file header. As a result, as shown in FIG. 2, audio chunks composed of audio data for one second and image chunks composed of compressed image data for 15 frames are alternately formed. The audio header data is provided at the head of the audio chunk, and the image header data is provided at the head of the image chunk. In this embodiment, a moving image for one second is composed of 15 frames, and one audio chunk and one subsequent image chunk correspond to each other.

【0019】シャッタボタン58がオフされると、CP
U32は信号処理回路46に対する音声処理命令の出力
およびJPEGコーデック30に対する画像圧縮命令の
出力を中止する。つまり、SDRAM28に対するデー
タの書き込み処理を中止する。但し、記録処理は、SD
RAM28の全てのデータがメモリカード36に記録さ
れたときに終了される。
When the shutter button 58 is turned off, CP
U32 stops outputting the audio processing command to the signal processing circuit 46 and outputting the image compression command to the JPEG codec 30. That is, the process of writing data to the SDRAM 28 is stopped. However, the recording process is SD
The process ends when all data in the RAM 28 has been recorded on the memory card 36.

【0020】図3を参照して、書き込み処理によってブ
ロック(N−1)への書き込みが完了すると、次の書き
込み先はブロック0となる。また、記録処理によってブ
ロック(N−1)からの読み出しが完了すると、次の読
み出し先はブロック(N−1)となる。つまり、SDR
AM28はリングバッファとして動作し、書き込みブロ
ックおよび読み出しブロックは、圧縮画像エリア,音声
エリアおよびヘッダエリアのそれぞれでリング状につま
り循環的に更新される。但し、SDARM28へのデー
タ書き込み速度は、SDRAM28からのデータ読み出
し速度と必ずしも一致しない。むしろ、データ書き込み
速度は、データ読み出し速度よりも速い。このため、書
き込みブロックが読み出しブロックに追いついたとき
は、シャッタボタン58がオン状態でも、書き込みモー
ドが強制的に中止される。この結果、未だ読み出されて
いないデータに後続のデータが上書きされることはな
い。記録処理は、上述と同様に、SDRAM28の全て
のデータがメモリカード36に記録された時点で終了さ
れる。
Referring to FIG. 3, when writing to block (N-1) is completed by the writing process, the next write destination is block 0. When reading from the block (N-1) is completed by the recording process, the next read destination is the block (N-1). That is, SDR
The AM 28 operates as a ring buffer, and the write block and the read block are updated in a ring, that is, cyclically in each of the compressed image area, the audio area, and the header area. However, the speed of writing data to the SDARM 28 does not always match the speed of reading data from the SDRAM 28. Rather, the data write speed is faster than the data read speed. Therefore, when the write block catches up with the read block, the write mode is forcibly stopped even if the shutter button 58 is in the ON state. As a result, subsequent data is not overwritten on data that has not been read yet. The recording process is terminated when all data in the SDRAM 28 has been recorded on the memory card 36, as described above.

【0021】なお、ビデオエンコーダ38は、シャッタ
ボタン58が押されている間も1/15秒毎に読み出し
リクエストを発生し、メモリ制御回路28は表示画像エ
リアから各フレームの静止画像データを読み出す。この
ため、メモリカード36に記録される動画像と同じ動画
像が、モニタ40に表示される。書き込みブロックが読
み出しブロックに追いつき、書き込みモードが強制的に
中止されたときは、中止された時点の静止画像がモニタ
40に表示され続ける。
Note that the video encoder 38 issues a read request every 1/15 second even while the shutter button 58 is pressed, and the memory control circuit 28 reads out still image data of each frame from the display image area. Therefore, the same moving image as the moving image recorded on the memory card 36 is displayed on the monitor 40. When the write block catches up with the read block and the write mode is forcibly stopped, the still image at the time of the stop is continuously displayed on the monitor 40.

【0022】シャッタボタン58が操作されたとき、C
PU32は、図5〜図7に示す書き込みモード処理(書
き込み処理)ならびに図8および図9に示すBGモード
処理(記録処理)を実行する。つまり、CPU32には
μiTRONのようなマルチタスクOSが搭載されてお
り、これらの処理が並行して実行される。なお、書き込
みモード処理では、必要に応じて図10〜図16にサブ
ルーチンが処理される。まず、図5を参照して、CPU
32はシャッタボタン58の押圧に応答してステップS
1を処理する。ステップS1では、図10および図11
に示すサブルーチンによって各種の変数が初期化され
る。CPU32は次に、ステップS3でBG(Back Gro
und )モードを起動し、ステップS5でBGモードフラ
グfBGをセットする。BGモードが起動されると、図8
および図9に示すルーチンが並行して処理される。
When the shutter button 58 is operated, C
The PU 32 executes a write mode process (write process) shown in FIGS. 5 to 7 and a BG mode process (recording process) shown in FIGS. That is, the CPU 32 is equipped with a multitask OS such as μiTRON, and these processes are executed in parallel. In the writing mode processing, a subroutine is processed as shown in FIGS. First, referring to FIG.
32 is a step S32 in response to the pressing of the shutter button 58;
Process 1. In step S1, FIG. 10 and FIG.
Various variables are initialized by the subroutine shown in FIG. Next, in step S3, the CPU 32 executes BG (Back Gro
und) mode is started, and a BG mode flag fBG is set in step S5. When the BG mode is activated, FIG.
And the routine shown in FIG. 9 are processed in parallel.

【0023】ステップS7では、ブロックフラグfnが
セットされているかどうかを判別する。1回目のステッ
プS7では、ブロックフラグf1が判断対象となる。ス
テップS1における初期化処理によってブロック番号n
が“0”にセットされ、さらに全てのブロックフラグf
0〜f(N−1)がリセットされるため、このときの判
断結果はYESとなる。なお、ブロックフラグfnは、
画像ブロックn,音声ブロックnおよびヘッダブロック
nに対応する。
In a step S7, it is determined whether or not the block flag fn is set. In the first step S7, the block flag f1 is to be determined. By the initialization processing in step S1, the block number n
Is set to “0”, and all the block flags f
Since 0 to f (N-1) are reset, the determination result at this time is YES. Note that the block flag fn is
It corresponds to image block n, audio block n, and header block n.

【0024】ステップS9に進むと、CPU32は図1
2および図13に示すサブルーチンを処理し、画像ブロ
ックn,音声ブロックnおよびヘッダブロックnに圧縮
画像データ,音声データおよびヘッダデータをそれぞれ
書き込む。書き込みが完了すると、ステップS11でブ
ロックフラグfnをセットする。ブロックフラグfn
は、ブロックnに対する書き込みの完了に応答してセッ
トされ、ブロックnからの読み出しの完了に応答してリ
セットされる。このため、ブロックフラグfnのセット
状態は、ブロックnからのデータの読み出しが未だ完了
していないことを意味する。
When proceeding to step S9, the CPU 32
2 and the subroutine shown in FIG. 13 to write compressed image data, audio data, and header data to the image block n, the audio block n, and the header block n, respectively. When the writing is completed, the block flag fn is set in step S11. Block flag fn
Is set in response to completion of writing to block n, and reset in response to completion of reading from block n. For this reason, the set state of the block flag fn means that the reading of data from the block n has not been completed yet.

【0025】ステップS13では、図14〜図16に示
すサブルーチンを処理し、ブロックnに関連する指示リ
ストを作成する。作成された指示リストは、BGモード
の処理に用いられる。CPU32は続いて、ステップS
15でカウント値Mを“14”と比較し、15フレーム
に相当するデータが全てブロックnに書き込まれたかど
うかを判断する。これによって、ブロックnへの書き込
みの途中でシャッタボタン58がオフされたかどうかが
判別できる。途中でシャッタボタン58がオフされたと
きは、ステップS15でYESと判断し、ステップS1
7に進む。ステップS17ではBGフラグfBGをリセッ
トし、続くステップS19ではBGモード処理が終了し
たかどうかを判断する。ここでYESと判断されると、
CPU32は書き込みモード処理を終了する。
In step S13, the subroutine shown in FIGS. 14 to 16 is processed to create an instruction list related to block n. The created instruction list is used for BG mode processing. The CPU 32 then proceeds to step S
At 15, the count value M is compared with "14" to determine whether all data corresponding to 15 frames has been written to the block n. This makes it possible to determine whether or not the shutter button 58 has been turned off during the writing to the block n. If the shutter button 58 is turned off halfway, YES is determined in the step S15, and the step S1 is performed.
Go to 7. In a step S17, the BG flag f BG is reset, and in a succeeding step S19, it is determined whether or not the BG mode processing is completed. If YES is determined here,
The CPU 32 ends the write mode processing.

【0026】一方、シャッタボタン58が押され続けて
いれば、CPU32はステップS21に進み、ファイル
ポインタFPのアドレス情報を取得する。そしてステッ
プS23で、ファイルポインタFPが数1に示す条件を
満たすかどうかを判断する。
On the other hand, if the shutter button 58 is kept depressed, the CPU 32 proceeds to step S21 to acquire the address information of the file pointer FP. Then, in a step S23, it is determined whether or not the file pointer FP satisfies the condition shown in Expression 1.

【0027】[0027]

【数1】VSA0≦FP<VSA1 ASA0≦FP<ASA1 HSA0≦FP<HSA1 VSAn;画像ブロックnの先頭アドレス ASAn;音声ブロックnの先頭アドレス HSAn;ヘッダブロックnの先頭アドレス これらの条件のいずれか1つでも満たせば、BGモード
での読み出し処理はブロック0に対して行われている。
このときCPU32は、ステップS25におけるブロッ
クフラグfN-1 のリセット処理を経て、ステップS41
に進む。一方、いずれの条件も満たさなければ、CPU
32はステップS27でブロック番号Kを“1”にセッ
トし、ステップS29でファイルポインタFPが数2に
示す条件を満たすかどうかを判断する。
## EQU1 ## VSA 0 ≦ FP < VSA 1 ASA 0 ≦ FP < ASA 1 HSA 0 ≦ FP < HSA 1 VSA n; head address of image block n ASA n; head of audio block n Address H SA n; head address of header block n If any one of these conditions is satisfied, the read process in the BG mode has been performed on block 0.
At this time, the CPU 32 executes the reset processing of the block flag f N−1 in step S25, and then proceeds to step S41.
Proceed to. On the other hand, if neither condition is satisfied, the CPU
In step S27, the block number K is set to "1" in step S27, and in step S29, it is determined whether or not the file pointer FP satisfies the condition shown in Expression 2.

【0028】[0028]

【数2】VSAK≦FP<VSA(K+1) ASAK≦FP<ASA(K+1) HSAK≦FP<HSA(K+1) ここでも、いずれか1つでも条件が満たされれば、ブロ
ックKからデータが読み出されていると判断し、ステッ
プS31でブロックフラグfK-1 をリセットしてからス
テップS41に進む。いずれの条件も満たされなけれ
ば、CPU32は、ステップS33でブロック番号Kを
インクリメントし、ステップS35で現ブロック番号K
を“N−1”と比較する。K=N−1とならない限り、
CPU32はステップS29に戻り、この結果、ステッ
プS29およびS33の処理が繰り返される。K=N−
1となると、CPU32はステップS37に進み、ファ
イルポインタFPが数3に示す条件を満たすかどうかを
判断する。
## EQU2 ## V SA K ≦ FP <V SA (K + 1) ASA K ≦ FP <A SA (K + 1) H SA K ≦ FP <H SA (K + 1) Again, if any one of the conditions is satisfied, , It is determined that data has been read from the block K, the block flag fK -1 is reset in step S31, and the process proceeds to step S41. If none of the conditions is satisfied, the CPU 32 increments the block number K in step S33, and increments the current block number K in step S35.
Is compared with "N-1". Unless K = N-1,
The CPU 32 returns to step S29, and as a result, the processing of steps S29 and S33 is repeated. K = N-
When it becomes 1, the CPU 32 proceeds to step S37, and determines whether or not the file pointer FP satisfies the condition shown in Expression 3.

【0029】[0029]

【数3】VSA(N−1)≦FP≦VEASA(N−1)≦FP≦AEASA(N−1)≦FP≦HEAEA;圧縮画像エリアの末尾アドレス AEA;音声エリアの末尾アドレス HEA;ヘッダエリアの末尾アドレス このステップでも、いずれかの条件を満たせばYESと
判断され、いずれの条件も満たさなければNOと判断さ
れる。YESの判断はデータの読み出し動作がブロック
(N−1)に対して行われていることを意味し、CPU
32は、ステップS39でブロックフラグfN-2 をリセ
ットしてからステップS41に進む。なお、NOと判断
されれば、CPU32はそのままステップS17に戻
る。
Equation 3] V SA (N-1) ≦ FP ≦ V EA A SA (N-1) ≦ FP ≦ A EA H SA (N-1) ≦ FP ≦ H EA V EA; end address of the compressed image area A EA : End address of voice area H EA ; End address of header area Also in this step, it is determined that YES if any of the conditions is satisfied, and NO if none of the conditions are satisfied. The determination of YES means that the data read operation is being performed on block (N-1),
32 resets the block flag fN -2 in step S39, and then proceeds to step S41. If the determination is NO, the CPU 32 returns to step S17.

【0030】このように、BGモード処理によってブロ
ックnから全てのデータが読み出されると、対応するブ
ロックフラグnがリセットされる。ステップS41では
ブロック番号nをインクリメントし、続くステップS4
3では現ブロック番号nを“N−1”と比較する。そし
て、NOであればそのままステップS47に進み、YE
SであればステップS45でブロック番号nをリセット
してからステップS47に進む。ステップS47ではシ
ャッタボタン58がオフされたかどうか判断し、NOで
あればステップS7に戻るが、YESであればステップ
S17に移行する。ステップS41〜S45から分かる
ように、ブロック番号nは、“N−1”までインクリメ
ントされた後にリセットされる。このため、書き込み先
の画像ブロック,音声ブロックおよびヘッダブロックは
循環的に指定され、圧縮画像データ,音声データおよび
ヘッダデータはリング状に書き込まれる。
As described above, when all the data is read from the block n by the BG mode processing, the corresponding block flag n is reset. In step S41, the block number n is incremented.
In step 3, the current block number n is compared with "N-1". If NO, the process directly proceeds to step S47, and YE
If S, the block number n is reset in step S45, and then the process proceeds to step S47. In step S47, it is determined whether or not the shutter button 58 has been turned off. If NO, the process returns to step S7. If YES, the process proceeds to step S17. As can be seen from steps S41 to S45, the block number n is reset after being incremented to "N-1". For this reason, the image block, audio block and header block to be written are cyclically designated, and the compressed image data, audio data and header data are written in a ring.

【0031】このような循環的な書き込み動作は、シャ
ッタボタン58がオフされると同時に中止される。つま
り、ブロックnへの書き込みの途中およびブロックnへ
の書き込みが完了した時点のいずれでシャッタボタン5
8がオフされた場合でも、書き込みモード処理はこのオ
フ動作に応答して中止される。SDRAM28に保持さ
れたデータは、BGモード処理によってメモリカード3
6に記録される。
Such a cyclic writing operation is stopped at the same time when the shutter button 58 is turned off. In other words, the shutter button 5 is pressed during writing to the block n or when writing to the block n is completed.
Even when 8 is turned off, the write mode processing is stopped in response to this off operation. The data held in the SDRAM 28 is transferred to the memory card 3 by the BG mode processing.
6 is recorded.

【0032】書き込みモード処理は、シャッタボタン5
8がオフされたときだけでなく、ステップS7でNOと
判断されたときも中止される。このような書き込み動作
の強制中止は、SDRAM28からの読み出し速度が書
き込み速度よりも遅く、データの読み出しが完了してい
ないブロックに対してデータを書き込もうとする場合に
行われる。この結果、未だ読み出されていないデータに
後続のデータが上書きされるのを防止することができ
る。
The writing mode process includes the shutter button 5
The process is stopped not only when 8 is turned off but also when NO is determined in step S7. Such a forced stop of the write operation is performed when the speed of reading data from the SDRAM 28 is lower than the speed of writing and data is to be written to a block for which data reading has not been completed. As a result, it is possible to prevent data that has not been read yet from being overwritten by subsequent data.

【0033】図8を参照して、BGモード処理を説明す
る。CPU32は、まずステップS51でメール書き込
み番号WN ,メール読み出し番号RN およびカウント値
mをリセットする。次に、ステップS53およびS55
で、カウント値mが“0”よりも大きいかどうか、およ
びBGフラグfBGがリセットされているかどうかを判断
する。m>0であればステップS53からステップS5
7に進み、m≦0でかつBGフラグfBGがセット状態で
あればステップS53に進み、そしてm≦0でかつBG
フラグfBGがリセット状態であれば処理を終了する。
The BG mode processing will be described with reference to FIG. First, in step S51, the CPU 32 resets the mail write number W N , the mail read number RN, and the count value m. Next, steps S53 and S55
It is determined whether the count value m is greater than “0” and whether the BG flag f BG has been reset. If m> 0, step S53 to step S5
7, if m ≦ 0 and the BG flag f BG is set, the process proceeds to step S53, and if m ≦ 0 and BG
If the flag f BG is in the reset state, the process ends.

【0034】カウント値mはステップS51でリセット
されるが、上述の書き込みモード処理、具体的にはステ
ップS13の指示リスト作成処理によってインクリメン
トされる。これによってm>0となり、ステップS53
でYESと判断される。すると、CPU32はステップ
S57でファイルポインタFPをメール読み出し番号R
N に対応する読み出し開始アドレスにセットし、カウン
ト値Sをメール読み出し番号RN に対応するデータサイ
ズにセットする。上述のステップS13では、図4に示
すような指示リスト32aが作成される。図4によれ
ば、読み出し開始アドレスならびにバイト数で表される
データサイズが、各メール番号に対応付けられる。ステ
ップS57およびS59では、現メール読み出し番号R
N と同じ値をもつメール番号を指示リスト32aから検
出し、検出したメール番号に対応する読み出し開始アド
レスおよびデータサイズを読み出す。そして、読み出さ
れたアドレスデータおよびサイズデータをファイルポイ
ンタFPおよびカウント値Sにそれぞれセットする。
The count value m is reset in step S51, but is incremented by the above-described write mode processing, specifically, the instruction list creation processing in step S13. As a result, m> 0, and step S53
Is determined as YES. Then, the CPU 32 sets the file pointer FP to the mail read number R in step S57.
Set to the read start address corresponding to N, set the data size corresponding to the count value S to the mail read number R N. In the above-described step S13, an instruction list 32a as shown in FIG. 4 is created. According to FIG. 4, the read start address and the data size represented by the number of bytes are associated with each mail number. In steps S57 and S59, the current mail read number R
A mail number having the same value as N is detected from the instruction list 32a, and a read start address and a data size corresponding to the detected mail number are read. Then, the read address data and size data are set in the file pointer FP and the count value S, respectively.

【0035】CPU32は続いて、ステップS61でS
DRAM28へのアクセスが可能かどうか判断する。シ
ャッタボタン58が押されている期間、メモリ制御回路
26は、CPU32だけでなく、信号処理回路22およ
び46,JPEGコーデック30およびビデオエンコー
ダ38からもアクセスリクエストを受け、これらのリク
エストを調停しながらSDRAM28に対する書き込み
/読み出しを行う。このため、ステップS61ではメモ
リ制御回路26に対してリクエストを出力し、メモリ制
御回路26から許可信号が返ってきたときにYESと判
断する。ステップS61におけるリクエストの出力時、
CPU32は、ファイルポインタFPが持つアドレス情
報も同時に出力する。メモリ制御回路26は、このよう
なアドレス情報に従ってSDRAM28から1バイト分
のデータを読み出す。このため、CPU32は許可信号
に続いて1バイトのデータを受ける。
Next, the CPU 32 proceeds to step S61 where S
It is determined whether access to the DRAM 28 is possible. While the shutter button 58 is pressed, the memory control circuit 26 receives access requests not only from the CPU 32 but also from the signal processing circuits 22 and 46, the JPEG codec 30 and the video encoder 38, and arbitrates these requests while arbitrating these requests. Write / read with respect to. Therefore, in step S61, a request is output to the memory control circuit 26, and when a permission signal is returned from the memory control circuit 26, it is determined as YES. At the time of outputting the request in step S61,
The CPU 32 also outputs address information of the file pointer FP at the same time. The memory control circuit 26 reads one byte of data from the SDRAM 28 according to such address information. Therefore, the CPU 32 receives 1-byte data following the permission signal.

【0036】CPU32は、入力された1バイトのデー
タをステップS63でメモリカード36に記録し、ステ
ップS65およびS67でファイルポインタFPおよび
カウント値Sを更新する。ファイルポインタFPが持つ
アドレス情報はインクリメントされ、カウント値Sはデ
ィクリメントされる。ステップS69ではカウント値S
を“0”と比較し、S>0であればステップS61に戻
る。この結果、現メール読み出し番号RNに対応するデ
ータが全てメモリカード36に記録されるまで、ステッ
プS61〜S69の処理が繰り返される。
The CPU 32 records the input 1-byte data on the memory card 36 in step S63, and updates the file pointer FP and the count value S in steps S65 and S67. The address information of the file pointer FP is incremented, and the count value S is decremented. In step S69, the count value S
Is compared with “0”, and if S> 0, the process returns to the step S61. As a result, the processing of steps S61 to S69 is repeated until all data corresponding to the current mail read number RN is recorded on the memory card 36.

【0037】カウント値Sが“0”となると、CPU3
2は、現メール読み出し番号RN に対応するデータの読
み出し処理が完了したと判断し、ステップS71でカウ
ント値mをディクリメントする。カウント値mは、指示
リスト作成処理によってインクリメントされ、このステ
ップでディクリメントされる。このため、カウント値m
は、SDRAM28に書き込まれかつ未だ読み出されて
いないデータ量を意味する。
When the count value S becomes "0", the CPU 3
2 determines that the read process of the data corresponding to the current mail read number R N has been completed, decrements the count value m in step S71. The count value m is incremented by the instruction list creation process, and is decremented in this step. Therefore, the count value m
Means the amount of data written to the SDRAM 28 and not yet read.

【0038】CPU32はその後、ステップS73でメ
ール読み出し番号RN をインクリメントし、ステップS
75で現メール読み出し番号RN を“L−1”と比較す
る。図4から分かるように、“L−1”はメール番号の
最大値(たとえば1999)である。このため、RN
L−1であればそのままステップS79に進むが、R N
>L−1であれば、ステップS75でメール読み出し番
号RN をリセットしてからステップS79に進む。この
結果、メール読み出し番号RN も循環的に更新される。
Thereafter, the CPU 32 proceeds to step S73 to send a message.
Reading number RNIs incremented, and step S
The current mail read number R at 75NTo "L-1"
You. As can be seen from FIG. 4, "L-1" is the mail number
This is the maximum value (for example, 1999). Therefore, RN
If it is L-1, the process directly proceeds to step S79. N
If> L-1, the mail reading number is set in step S75.
No.RNIs reset, and the process proceeds to step S79. this
Result, mail read number RNIs also updated cyclically.

【0039】ステップS79では、カウント値mを“L
−1”と比較する。通常、カウント値mが“L−1”を
超えることはなく、CPU32はこのステップでNOと
判断してステップS53に戻る。この結果、上述のステ
ップS53〜S79の処理が繰り返され、SDRAM2
8に格納されたデータがメモリカード36に順次記録さ
れていく。一方、カウント値mが“L−1”を超えてし
まったときは、ステップS79でYESと判断し、ステ
ップS81のエラー処理を経てBGモード処理を終了す
る。m>L−1の状態は、カウント値mのディクリメン
ト速度がインクリメント速度よりも遅い場合、つまりS
DRAM28からの読み出し速度が書き込み速度よりも
遅い場合に発生する。このようなとき、BGモード処理
は強制終了される。
In the step S79, the count value m is set to "L".
Normally, the count value m does not exceed "L-1", and the CPU 32 determines NO in this step and returns to step S53. As a result, the processing in steps S53 to S79 described above. Are repeated, and SDRAM2
8 is sequentially recorded on the memory card 36. On the other hand, when the count value m has exceeded “L−1”, YES is determined in the step S79, and the BG mode processing is ended through the error processing in the step S81. m> L−1 is when the decrement speed of the count value m is lower than the increment speed, that is, S
This occurs when the reading speed from the DRAM 28 is lower than the writing speed. In such a case, the BG mode processing is forcibly terminated.

【0040】図10および図11を参照して、各種変数
を初期化するときの具体的な処理を説明する。CPU3
2は、まずステップS101で、画像ブロック0の先頭
アドレスVSA0を圧縮画像エリアの先頭アドレスVS
セットし、音声ブロック0の先頭アドレスASA0を音声
エリアの先頭アドレスAS にセットし、そしてヘッダブ
ロック0の先頭アドレスHSA0をヘッダエリアの先頭ア
ドレスHS にセットする。次に、ステップS103でブ
ロックフラグf0およびブロック番号nをリセットし、
ステップS105でカウント値Mを“14”に、ブロッ
ク番号jを“1”にそれぞれセットする。
With reference to FIG. 10 and FIG. 11, a specific process for initializing various variables will be described. CPU3
2. First, in step S101, the start address V SA 0 of image block 0 is set to the start address V S of the compressed image area, and the start address A SA 0 of audio block 0 is set to the start address A S of the audio area. Then, the head address H SA 0 of the header block 0 is set to the head address H S of the header area. Next, in step S103, the block flag f0 and the block number n are reset,
In step S105, the count value M is set to "14" and the block number j is set to "1".

【0041】CPU32はその後ステップS107に進
み、数4に従って画像ブロックjの先頭アドレスV
SAj,音声ブロックjの先頭アドレスASAjおよびヘッ
ダブロックjの先頭アドレスHSAjを算出する。
The CPU 32 then proceeds to step S107, where the start address V of the image block j is calculated according to equation (4).
SA j, calculates a head address H SA j of the head address A SA j and header block j of the sound block j.

【0042】[0042]

【数4】VSAj=VSA(j−1)+VMAXSIZE ×15 ASAj=ASA(j−1)+ASIZESAj=HSA(j−1)+HAVSIZEMAXSIZE ;1フレームの圧縮画像データの最大サイズ HAVSIZE;音声ヘッダおよび画像ヘッダのサイズ 圧縮画像データのサイズは被写体像に応じて異なるが、
最大サイズVMAXSIZEは予め決められている。このた
め、“VMAXSIZE ×15”を先頭アドレスVSA(j−
1)に加算して、先頭アドレスVSAiを求めている。一
方、音声データは圧縮されず、1秒分の音声データのサ
イズASIZEは当初から分かっている。このため、“A
SIZE”を先頭アドレスASA(j−1)に加算することで
先頭アドレスA SAjが求められる。ヘッダデータについ
ても、サイズは当初から分かっているため、上述の演算
によって先頭アドレスHSAjが求められる。なお、H
AVSIZEは、1個の音声ヘッダおよび1個の画像ヘッダの
合計サイズである。
(Equation 4)SAj = VSA(J-1) + VMAXSIZE× 15 ASAj = ASA(J-1) + ASIZE HSAj = HSA(J-1) + HAVSIZE VMAXSIZEThe maximum size of one frame of compressed image data HAVSIZEThe size of the audio header and the image header The size of the compressed image data differs depending on the subject image,
Maximum size VMAXSIZEIs predetermined. others
"VMAXSIZE× 15 ”is the start address VSA(J-
1) is added to the start address VSASeeking i. one
On the other hand, audio data is not compressed,
Is ASIZEIs known from the beginning. Therefore, "A
SIZE"To the start address ASABy adding to (j-1)
Start address A SAj is determined. About header data
However, since the size is already known from the beginning,
By the start address HSAj is determined. Note that H
AVSIZEIs one audio header and one image header
This is the total size.

【0043】ステップS109ではブロックフラグfj
をリセットし、ステップS111ではブロック番号jを
インクリメントする。その後、ステップS113で現ブ
ロック番号jを“N−1”と比較し、j≦N−1であれ
ばステップS107に戻る。したがって、ステップS1
07〜S111の処理が繰り返され、画像ブロック1〜
(N−1),音声ブロック1〜(N−1)およびヘッダ
ブロック1〜(N−1)のそれぞれの先頭アドレスが算
出される。このようなステップS107〜S111の処
理および最初のステップS101の処理によって、N個
の画像ブロック,N個の音声ブロックおよびN個のヘッ
ダブロックが、図3に示すようにSDRAM28に形成
される。
In step S109, the block flag fj
Is reset, and in step S111, the block number j is incremented. Thereafter, in step S113, the current block number j is compared with "N-1", and if j≤N-1, the process returns to step S107. Therefore, step S1
07 to S111 are repeated, and the image blocks 1 to
The head addresses of (N-1), audio blocks 1 to (N-1) and header blocks 1 to (N-1) are calculated. Through the processing of steps S107 to S111 and the processing of the first step S101, N image blocks, N audio blocks, and N header blocks are formed in the SDRAM 28 as shown in FIG.

【0044】ステップS113でYESと判断される
と、CPU32はステップS115に進み、画像書き込
みアドレスVWAおよび画像読み出しアドレスVRAを画像
ブロック0の先頭アドレスVSA0にセットし、音声書き
込みアドレスAWAおよび音声読み出しアドレスARAを音
声ブロック0の先頭アドレスASA0にセットし、そして
ヘッダ書き込みアドレスHWAおよびヘッダ読み出しアド
レスHRAをヘッダブロック0の先頭アドレスHSA0にセ
ットする。
[0044] When YES is determined in step S113, CPU 32 proceeds to step S115, sets the image write address V WA and image read address V RA to the head address V SA 0 of the image block 0, a sound write address A WA The audio read address A RA is set to the head address A SA 0 of the audio block 0, and the header write address H WA and the header read address H RA are set to the head address H SA 0 of the header block 0.

【0045】続いて、ステップS117で音声ブロック
0に書き込む音声データのサイズA SIZEを“0”とし、
ステップS119でフレーム番号iをリセットする。ス
テップS121ではiフレーム目の圧縮画像データのサ
イズVSIZEiを“0”とし、続くステップS123では
ブロック番号iをインクリメントする。そして、ステッ
プS125でブロック番号iをカウント値M(=14)
と比較し、i>MとなるまでステップS121およびS
123の処理を繰り返す。この結果、ブロック0に関連
する各種の変数が“0”にセットされる。i>Mとなる
と、CPU32は図5に示すルーチンに復帰する。
Subsequently, in step S117, the audio block
Size A of audio data to be written to 0 SIZETo “0”,
In step S119, the frame number i is reset. S
In step S121, the compressed image data of the i-th frame is
Is VSIZEi is set to “0”, and in the subsequent step S123
Increment the block number i. And step
In step S125, the block number i is counted by the count value M (= 14).
And steps S121 and S121 until i> M.
Step 123 is repeated. As a result,
Are set to "0". i> M
Then, the CPU 32 returns to the routine shown in FIG.

【0046】図12を参照して、ブロックnに対する書
き込み処理について説明する。CPU32は、まずステ
ップS901でフレーム番号iをリセットし、ステップ
S903で信号処理回路46に設けられたFIFOメモ
リ46aをクリアする。続いてステップS905で、画
像書き込みアドレスVWAを画像ブロックnの先頭アドレ
スVSAnにセットし、音声書き込みアドレスAWAを音声
ブロックnの先頭アドレスASAnにセットし、そしてヘ
ッダ書き込みアドレスHWAをヘッダブロックnの先頭ア
ドレスHSAnにセットする。この後、SG16から垂直
同期信号が出力されると、CPU32はステップS90
7でYESと判断し、ステップS909でJPEGコー
デック30に対して画像圧縮命令を出力する。なお、画
像圧縮命令の出力時、CPU32は画像書き込みアドレ
スVWAもJPEGコーデック30に出力する。
Referring to FIG. 12, the write processing for block n will be described. The CPU 32 first resets the frame number i in step S901, and clears the FIFO memory 46a provided in the signal processing circuit 46 in step S903. Subsequently, in step S905, the image write address V WA is set to the head address V SA n of the image block n, the audio write address A WA is set to the head address A SA n of the audio block n, and the header write address H WA Is set to the head address H SA n of the header block n. Thereafter, when a vertical synchronization signal is output from the SG 16, the CPU 32 proceeds to step S90.
7 is determined as YES, and an image compression instruction is output to the JPEG codec 30 in step S909. When outputting the image compression command, the CPU 32 also outputs the image write address VWA to the JPEG codec 30.

【0047】JPEGコーデック30は、画像圧縮命令
に応答して静止画像データの読み出しをメモリ制御回路
26にリクエストする。この結果、図3に示す表示画像
エリアに格納された1フレームの静止画像データがメモ
リ制御回路26によって読み出され、バス24bおよび
24aを介してJPEGコーデック30に入力される。
JPEGコーデック30は、入力された静止画像データ
にJPEG圧縮を施し、圧縮画像データを生成する。1
フレームの圧縮処理が完了すると、JPEGコーデック
30はこのような圧縮画像データの書き込みをメモリ制
御回路26にリクエストする。リクエスト時、JPEG
コーデック30は、圧縮画像データおよびリクエスト信
号に加えて、上述の画像書き込みアドレスVWAをメモリ
制御回路26に出力する。これに応じて、メモリ制御回
路26は、与えられた圧縮画像データを画像書き込みア
ドレスVWA以降に書き込む。
The JPEG codec 30 requests the memory control circuit 26 to read out still image data in response to the image compression command. As a result, one frame of still image data stored in the display image area shown in FIG. 3 is read by the memory control circuit 26 and input to the JPEG codec 30 via the buses 24b and 24a.
The JPEG codec 30 performs JPEG compression on the input still image data to generate compressed image data. 1
When the frame compression processing is completed, the JPEG codec 30 requests the memory control circuit 26 to write such compressed image data. On request, JPEG
The codec 30 outputs the above-described image write address V WA to the memory control circuit 26 in addition to the compressed image data and the request signal. In response, the memory control circuit 26 writes the given compressed image data to the image write address VWA and thereafter.

【0048】CPU32は、ステップS909で画像圧
縮命令を出力した後、ステップS911で圧縮処理が終
了したかどうかを判断する。ここで圧縮処理が終了した
と判断すれば、CPU32はステップS913に進み、
今回生成された圧縮画像データのデータサイズVSIZE
を取得する。JPEGコーデック30は、1フレーム分
の圧縮処理が終了する毎に終了信号およびデータサイズ
信号を出力する。したがって、ステップS911ではこ
のような終了信号によって圧縮処理の終了の有無を判断
し、ステップS913ではデータサイズ信号からデータ
サイズVSIZEiを検出する。ステップS915では数5
を演算し、データサイズVSIZEiに従って画像書き込み
アドレスVWAを更新する。
After outputting the image compression command in step S909, the CPU 32 determines in step S911 whether the compression processing has been completed. Here, if it is determined that the compression process has been completed, the CPU 32 proceeds to step S913,
Data size V SIZE i of the compressed image data generated this time
To get. The JPEG codec 30 outputs an end signal and a data size signal each time compression processing for one frame ends. Therefore, in step S911, the presence or absence of the end of the compression processing is determined based on such an end signal, and in step S913, the data size V SIZE i is detected from the data size signal. In step S915, equation 5
And updates the image write address V WA according to the data size V SIZE i.

【0049】[0049]

【数5】VWA=VWA+VSIZEi CPU32は続いてステップS917で、音声処理命令
を音声書き込みアドレスAWAとともに信号処理回路46
に与える。マイク42で捉えられた音声信号は、A/D
変換器44で音声データに変換される。信号処理回路4
6は、このような音声データを音声処理命令に応答して
取り込み、FIFOメモリ46aに書き込む。信号処理
回路46はまた、FIFOメモリ46aから1/15秒
分つまりASIZE/15バイトの音声データを読み出し、
リクエスト信号および音声書き込みアドレスAWAととも
にメモリ制御回路26に出力する。この結果、信号処理
回路46から出力されたASIZE/15バイトの音声デー
タは、メモリ制御回路26によって音声書き込みアドレ
スAWA以降に書き込まれる。
V WA = V WA + V SIZE i The CPU 32 then, in step S917, sends the audio processing instruction together with the audio write address A WA to the signal processing circuit 46.
Give to. The audio signal captured by the microphone 42 is A / D
The data is converted by the converter 44 into audio data. Signal processing circuit 4
6 receives such audio data in response to the audio processing command, and writes the audio data into the FIFO memory 46a. The signal processing circuit 46 also reads out audio data of 1/15 second, that is, A SIZE / 15 bytes, from the FIFO memory 46a,
The request signal and the audio write address AWA are output to the memory control circuit 26. As a result, the audio data of A SIZE / 15 bytes output from the signal processing circuit 46 is written by the memory control circuit 26 after the audio write address A WA .

【0050】CPU32は、ステップS917で音声処
理命令を出力した後、ステップS919で数6に従って
音声書き込みアドレスAWAを更新する。つまり、1/1
5秒分の音声データのサイズは予め分かっているため、
信号処理回路46からデータサイズ信号を受けることな
く、音声書き込みアドレスAWAが更新される。
After outputting the voice processing command in step S917, the CPU 32 updates the voice write address A WA in accordance with equation (6) in step S919. That is, 1/1
Because the size of the audio data for 5 seconds is known in advance,
The audio write address AWA is updated without receiving the data size signal from the signal processing circuit 46.

【0051】[0051]

【数6】AWA=AWA+ASIZE/15 ステップS921では、シャッタボタン58がオフされ
たかどうか判断する。ここでYESであれば、CPU3
2はステップS923でカウント値Mに現フレーム番号
番号をセットし、ステップS929に進む。シャッタボ
タン58が押され続けていれば、CPU32は、ステッ
プS925でフレーム番号iをインクリメントし、ステ
ップS927で現フレーム番号iをカウント値M(=1
4)と比較する。ここでi≦Mであれば、CPU32は
ステップS907に戻り上述の処理を繰り返すが、i>
Mであれば、ステップS929に進む。
A WA = A WA + A SIZE / 15 In step S921, it is determined whether or not the shutter button 58 has been turned off. If YES here, CPU 3
2 sets the current frame number number to the count value M in step S923, and proceeds to step S929. If the shutter button 58 is kept pressed, the CPU 32 increments the frame number i in step S925, and increments the current frame number i by the count value M (= 1 in step S927).
Compare with 4). Here, if i ≦ M, the CPU 32 returns to step S907 and repeats the above processing.
If it is M, the process proceeds to step S929.

【0052】ステップS929では、上述の音声データ
に対応する音声ヘッダデータならびに上述の圧縮画像デ
ータに対応する画像ヘッダデータを作成し、ステップS
931でこれらのヘッダデータをリクエスト信号および
ヘッダ書き込みアドレスHWAとともにメモリ制御回路2
6に出力する。メモリ制御回路26は、与えられた音声
ヘッダデータおよび画像ヘッダデータを、この順でヘッ
ダ書き込みアドレスH WA以降に書き込む。そして、ステ
ップS923で数7に従ってヘッダ書き込みアドレスH
WAを更新し、図5に示すルーチンに復帰する。
In step S929, the audio data
Audio header data and compressed image data
Creates image header data corresponding to the
In 931, these header data are transmitted as a request signal and
Header write address HWAWith memory control circuit 2
6 is output. The memory control circuit 26 receives the given voice.
Header data and image header data in this order
Write address H WAWrite later. And
In step S923, the header write address H is calculated according to Equation 7.
WAIs updated, and the routine returns to the routine shown in FIG.

【0053】[0053]

【数7】HWA=HWA+HASIZE +HVSIZEASIZE ;音声ヘッダデータのサイズ HVSIZE ;画像ヘッダデータのサイズ このような書き込み処理が施された結果、15フレーム
分(または15フレーム未満)の圧縮画像データが画像
ブロックnに格納され、1秒分(または1秒未満)の音
声データが音声ブロックnに格納され、そして対応する
ヘッダデータがヘッダブロックnに格納される。
H WA = H WA + H ASIZE + H VSIZE H ASIZE ; size of audio header data H VSIZE ; size of image header data As a result of such writing processing, 15 frames (or less than 15 frames) are obtained. Compressed image data is stored in image block n, audio data for one second (or less than one second) is stored in audio block n, and corresponding header data is stored in header block n.

【0054】図5のステップS13における指示リスト
作成処理を、図14〜図16を用いて詳しく説明する。
CPU32は、まずステップS1301でフレーム番号
iをリセットする。次にステップS1303で、画像ブ
ロックnの先頭アドレスVSAn,音声ブロックnの先頭
アドレスASAnおよびヘッダブロックnの先頭アドレス
SAnを画像読み出しアドレスVRA,音声読み出しアド
レスARAおよびヘッダ読み出しアドレスHRAにそれぞれ
セットする。
The instruction list creation processing in step S13 in FIG. 5 will be described in detail with reference to FIGS.
First, the CPU 32 resets the frame number i in step S1301. Next, in step S1303, the start address V SA n of the image block n, the start address A SA n of the audio block n, and the start address H SA n of the header block n are set to the image read address V RA , audio read address A RA and header read. Each is set to the address H RA .

【0055】CPU32は続いてステップS1305に
進み、ヘッダ読み出しアドレスHRAおよび音声ヘッダサ
イズHASIZE を図4に示す指示リスト32aに書き込
む。具体的には、現メール書き込み番号WN と同じ値の
メール番号を検出し、検出したメール番号に対応する位
置にヘッダ読み出しアドレスHRAおよび音声ヘッダサイ
ズHASIZE を書き込む。メール書き込み番号WN は図8
に示すステップS51でリセットされるため、1回目の
ステップS1305の処理では、WN =0に対応する位
置にヘッダ読み出しアドレスHRAおよび音声ヘッダサイ
ズHASIZE が書き込まれる。CPU32はその後、ステ
ップS1307でメール書き込み番号WNおよびカウン
ト値mをインクリメントし、ステップS1309で現メ
ール書き込み番号WN を“L−1”と比較する。ここで
N ≦L−1であればそのままステップS1313に進
むが、WN >L−1であれば、ステップS1311でメ
ール書き込み番号WN をリセットしてからステップS1
313に進む。
Subsequently, the CPU 32 proceeds to step S1305, and writes the header read address H RA and the audio header size H ASIZE into the instruction list 32a shown in FIG. Specifically, a mail number having the same value as the current mail write number W N is detected, and a header read address H RA and a voice header size H ASIZE are written at a position corresponding to the detected mail number. The mail write number W N is shown in FIG.
Is reset in the step S51 shown in FIG. 7 , the header read address H RA and the audio header size H ASIZE are written at the position corresponding to W N = 0 in the first process of the step S1305. Thereafter, the CPU 32 increments the mail write number W N and the count value m in step S1307, and compares the current mail write number W N with “L−1” in step S1309. If W N ≦ L−1, the process directly proceeds to step S1313. If W N > L−1, the mail write number W N is reset in step S1311 and then step S1
Proceed to 313.

【0056】ステップS1313では、カウント値mを
“L−1”と比較する。カウント値mは、通常、m≦L
−1の条件を満たす。このため、CPU32はステップ
S1317で数8に従ってヘッダ読み出しアドレスHRA
を更新し、その後ステップS1319に進む。
In step S1313, the count value m is compared with "L-1". The count value m is usually m ≦ L
The condition of -1 is satisfied. For this reason, the CPU 32 determines in step S1317 the header read address H RA according to equation 8.
Is updated, and thereafter, the process proceeds to step S1319.

【0057】[0057]

【数8】HRA=HRA+HASIZE なお、BGモード処理が異常に遅いためにカウント値m
のインクリメント速度がディクリメント速度を大きく上
回り、m>L−1となった場合に、ステップS1313
でYESと判断される。このとき、CPU32は、ステ
ップS1315でエラー処理を行い、書き込みモード処
理を強制終了する。
H RA = H RA + H ASIZE Since the BG mode processing is abnormally slow, the count value m
Is larger than the decrement speed, and if m> L−1, step S1313
Is determined as YES. At this time, the CPU 32 performs error processing in step S1315, and forcibly ends the write mode processing.

【0058】ステップS1319では、音声読み出しア
ドレスARAおよび音声サイズASIZEを現メール読み出し
番号RN に対応付けて指示リスト32aに書き込む。C
PU32は続いて、ステップS1312〜S1327で
上述のステップS1307〜S1313と同様の処理を
行う。そして、ステップS1313でYESのときにス
テップS1315に移行し、NOのときにステップS1
329に進む。なお、音声読み出しアドレスARAはこれ
以降必要とされないため、更新処理は行われない。
[0058] In step S1319, writes to the instruction list 32a in association with each speech read address A RA and sound size A SIZE the current mail read number R N. C
Subsequently, in steps S1312 to S1327, the PU 32 performs the same processing as in steps S1307 to S1313 described above. If YES in step S1313, the process proceeds to step S1315, and if NO, step S1
Proceed to 329. Note that the audio read address ARA is no longer required, so that no update processing is performed.

【0059】ステップS1329では、ヘッダ読み出し
アドレスHRAおよび画像ヘッダサイズHVSIZE を現メー
ル読み出し番号RN に対応付けて指示リスト32aに書
き込む。そして、ステップS1331〜S1337で上
述のステップS1307〜S1313と同様の処理を行
い、ステップS1337でNOと判断されたときに、ス
テップS1341に進む。
[0059] In step S1329, writes the header read address H RA and image header size H VSIZE to the instruction list 32a in association with the current mail read number R N. Then, in steps S1331 to S1337, the same processing as in steps S1307 to S1313 described above is performed. When NO is determined in step S1337, the process proceeds to step S1341.

【0060】CPU32はその後ステップS1341に
進み、画像読み出しアドレスVRAならびに上述のステッ
プS913で取得した画像サイズVSIZEiを指示リスト
32aの現メール読み出し番号RN に対応する位置に書
き込む。そして、ステップS1343〜S1349でス
テップS1307〜S1313と同様の処理を行い、ス
テップS1349でNOと判断されたときに、ステップ
S1351で数9に従って画像読み出しアドレスVRA
更新する。
[0060] CPU32 then proceeds to step S 1341, written in positions corresponding to the current mail read number R N of the image read address V RA and above image size V SIZE i of the instruction list 32a acquired in step S913. Then, the same process as in step S1307~S1313 in step S1343~S1349, when it is judged NO in step S1349, updates the image read address V RA according to Equation 9 in step S1351.

【0061】[0061]

【数9】VRA=VRA+VSIZEi このようにしてiフレーム目の画像に関連するアドレス
データおよびサイズデータが指示リスト32aに書き込
まれると、CPU32はステップS1353でフレーム
番号iをインクリメントする。そして、ステップS13
35で現フレーム番号iをカウント値M(=14)と比
較し、i>MとなるまでステップS1329〜S135
3の処理を繰り返す。この結果、画像ブロックnに書き
込まれた15フレーム分の圧縮画像データに関連するア
ドレスデータおよびサイズデータが指示リスト32aに
確保される。i>Mとなると、CPU32はステップS
1335でYESと判断し、図5に示すルーチンに復帰
する。
V RA = V RA + V SIZE i When the address data and the size data related to the i-th frame image are written in the instruction list 32a in this way, the CPU 32 increments the frame number i in step S1353. Then, step S13
In step 35, the current frame number i is compared with the count value M (= 14), and steps S1329 to S135 are performed until i> M.
Step 3 is repeated. As a result, address data and size data relating to the compressed image data for 15 frames written in the image block n are secured in the instruction list 32a. If i> M, the CPU 32 proceeds to step S
YES is determined in 1335, and the process returns to the routine shown in FIG.

【0062】この実施例によれば、圧縮画像データ,音
声データおよびヘッダデータをSDRAMに書き込むと
き、圧縮画像エリア,音声エリアおよびヘッダエリアは
循環的にアクセスされる。これらのデータを読み出すと
きも、圧縮画像エリア,音声エリアおよびヘッダエリア
は循環的にアクセスされる。このため、SDRAMの容
量が小さいときでも、長時間の動画像および音声をメモ
リカードに記録することができる。また、SDRAMへ
の書き込み速度が読み出し速度よりも速いために、書き
込みブロックが読み出しブロックに追いついてきたとき
は、書き込みモードが強制的に中止される。このため、
未だ読み出されていないデータが後続のデータによって
上書きされるのを防止できる。
According to this embodiment, when writing compressed image data, audio data and header data to the SDRAM, the compressed image area, audio area and header area are accessed cyclically. When these data are read, the compressed image area, audio area and header area are accessed cyclically. For this reason, even when the capacity of the SDRAM is small, a long-time moving image and sound can be recorded on the memory card. Further, since the writing speed to the SDRAM is faster than the reading speed, when the writing block catches up with the reading block, the writing mode is forcibly stopped. For this reason,
Data that has not yet been read can be prevented from being overwritten by subsequent data.

【0063】なお、この実施例ではJPEG圧縮された
画像データをメモリカードに記録するようにしている
が、メモリカードに記録する画像データはMPEG圧縮
された圧縮データであってもよく、また圧縮処理が施さ
れていない画像データであってもよい。
In this embodiment, JPEG-compressed image data is recorded on the memory card. However, the image data recorded on the memory card may be MPEG-compressed compressed data. May be image data not subjected to.

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

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

【図2】AVIファイルを示す図解図である。FIG. 2 is an illustrative view showing an AVI file;

【図3】SDRAMを示す図解図である。FIG. 3 is an illustrative view showing an SDRAM;

【図4】指示リストを示す図解図である。FIG. 4 is an illustrative view showing an instruction list;

【図5】図1実施例の動作の一部を示すフロー図であ
る。
FIG. 5 is a flowchart showing a part of the operation of the embodiment in FIG. 1;

【図6】図1実施例の動作の他の一部を示すフロー図で
ある。
FIG. 6 is a flowchart showing another portion of the operation of the embodiment in FIG. 1;

【図7】図1実施例の動作のその一部を示すフロー図で
ある。
FIG. 7 is a flowchart showing a part of the operation of the embodiment in FIG. 1;

【図8】図1実施例の動作のさらにその他の一部を示す
フロー図である。
FIG. 8 is a flowchart showing yet another portion of the operation of the embodiment in FIG. 1;

【図9】図1実施例の動作の他の一部を示すフロー図で
ある。
FIG. 9 is a flowchart showing another portion of the operation of the embodiment in FIG. 1;

【図10】図1実施例の動作のその他の一部を示すフロ
ー図である。
FIG. 10 is a flowchart showing another portion of the operation of the embodiment in FIG. 1;

【図11】図1実施例の動作のさらにその他の一部を示
すフロー図である。
FIG. 11 is a flowchart showing yet another portion of the operation of the embodiment in FIG. 1;

【図12】図1実施例の動作の他の一部を示すフロー図
である。
FIG. 12 is a flowchart showing another portion of the operation of the embodiment in FIG. 1;

【図13】図1実施例の動作のその他の一部を示すフロ
ー図である。
FIG. 13 is a flowchart showing another portion of the operation of the embodiment in FIG. 1;

【図14】図1実施例の動作のさらにその他の一部を示
すフロー図である。
FIG. 14 is a flowchart showing yet another portion of the operation of the embodiment in FIG. 1;

【図15】図1実施例の動作の他の一部を示すフロー図
である。
FIG. 15 is a flowchart showing another portion of the operation of the embodiment in FIG. 1;

【図16】図1実施例の動作のその他の一部を示すフロ
ー図である。
FIG. 16 is a flowchart showing another portion of the operation of the embodiment in FIG. 1;

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

10 …ディジタルカメラ 26 …メモリ制御回路 28 …SDRAM 30 …JPEGコーデック 32 …CPU 36 …メモリカード 38 …ビデオエンコーダ 46 …信号処理回路 DESCRIPTION OF SYMBOLS 10 ... Digital camera 26 ... Memory control circuit 28 ... SDRAM 30 ... JPEG codec 32 ... CPU 36 ... Memory card 38 ... Video encoder 46 ... Signal processing circuit

【手続補正書】[Procedure amendment]

【提出日】平成12年1月20日(2000.1.2
0)
[Submission Date] January 20, 2000 (2000.1.2
0)

【手続補正1】[Procedure amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】請求項1[Correction target item name] Claim 1

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【手続補正2】[Procedure amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】請求項2[Correction target item name] Claim 2

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【手続補正3】[Procedure amendment 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】請求項3[Correction target item name] Claim 3

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】請求項8[Correction target item name] Claim 8

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【手続補正5】[Procedure amendment 5]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】請求項9[Correction target item name] Claim 9

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】記録指示に応答して複数フレームの画像デ
ータを記録媒体に記録する動画像記録装置において、 内部メモリ、 前記画像データを前記内部メモリに循環的に書き込む画
像書き込み手段、 前記画像データを前記内部メモリから循環的に読み出し
て記録媒体に記録する画像読み出し手段、および画像書
き込み位置と画像読み出し位置とが所定の関係になった
ときに前記画像書き込み手段を不能化する不能化手段を
備えることを特徴とする、動画像記録装置。
1. A moving image recording apparatus for recording a plurality of frames of image data on a recording medium in response to a recording instruction, comprising: an internal memory; an image writing unit for cyclically writing the image data to the internal memory; Read out from the internal memory and recorded on a recording medium, and disabling means disabling the image writing means when an image writing position and an image reading position have a predetermined relationship. A moving image recording apparatus, characterized in that:
【請求項2】前記内部メモリは複数の画像ブロックを有
し、 それぞれの画像ブロックは所定フレーム数の画像データ
に相当する容量を持つ、請求項1記載の動画像記録装
置。
2. The moving image recording apparatus according to claim 1, wherein said internal memory has a plurality of image blocks, and each image block has a capacity corresponding to a predetermined number of frames of image data.
【請求項3】前記画像書き込み手段は、それぞれの画像
ブロックを1つずつかつ循環的に指定する指定手段、お
よび前記指定手段によって指定された画像ブロックに前
記所定フレーム数の画像データを書き込む画像データ書
き込み手段を含む、請求項2記載の動画像記録装置。
3. The image writing means according to claim 1, wherein said image writing means designates each image block one at a time and cyclically, and image data for writing said predetermined number of frames of image data into said image block designated by said designation means. 3. The moving image recording apparatus according to claim 2, further comprising a writing unit.
【請求項4】前記複数の画像ブロックにそれぞれ対応す
るかつアクセス状態を示す複数のブロックフラグをさら
に備える、請求項2または3記載の動画像記録装置。
4. The moving image recording apparatus according to claim 2, further comprising a plurality of block flags respectively corresponding to said plurality of image blocks and indicating an access state.
【請求項5】前記画像書き込み手段は、1つの画像ブロ
ックへの書き込みが完了する毎に対応するブロックフラ
グをセットするセット手段、および1つの画像ブロック
からの読み出しが完了する毎に対応するブロックフラグ
をリセットするリセット手段をさらに含む、請求項4記
載の動画像記録装置。
5. An image writing means for setting a corresponding block flag each time writing to one image block is completed, and a corresponding block flag each time reading from one image block is completed. 5. The moving image recording apparatus according to claim 4, further comprising a reset unit for resetting the image.
【請求項6】前記画像読み出し手段は、1つの画像ブロ
ックから所定バイト数ずつ前記画像データを読み出す画
像データ読み出し手段、および前記所定バイト数の読み
出しが完了する毎に読み出しアドレスを更新する更新手
段を含み、 前記リセット手段は、前記読み出しアドレスを検出する
検出手段、および前記検出手段の検出結果に基づいて前
記画像ブロックからの読み出しの完了を判別する判別手
段を含む、請求項5記載の動画像記録装置。
6. The image reading means includes: image data reading means for reading the image data by a predetermined number of bytes from one image block; and updating means for updating a read address each time the reading of the predetermined number of bytes is completed. 6. The moving image recording apparatus according to claim 5, wherein the reset unit includes: a detection unit that detects the read address; and a determination unit that determines completion of reading from the image block based on a detection result of the detection unit. apparatus.
【請求項7】前記不能化手段は前記ブロックフラグの状
態に応じて前記画像書き込み手段を不能化する、請求項
4ないし6のいずれかに記載の動画像記録装置。
7. The moving picture recording apparatus according to claim 4, wherein said disabling means disables said image writing means according to a state of said block flag.
【請求項8】前記複数フレームの画像データを圧縮する
圧縮手段をさらに備え、 前記画像書き込み手段は前記圧縮手段によって圧縮され
た圧縮画像データを前記内部メモリに書き込み、 前記画像読み出し手段は前記圧縮画像データを前記内部
メモリから読み出す、請求項1ないし7のいずれかに記
載の動画像記録装置。
8. The image processing apparatus according to claim 1, further comprising compression means for compressing the image data of the plurality of frames, wherein the image writing means writes the compressed image data compressed by the compression means to the internal memory, and wherein the image reading means comprises the compressed image data. The moving image recording device according to claim 1, wherein data is read from the internal memory.
【請求項9】被写体像を撮影して前記複数フレームの画
像データを生成する撮影手段をさらに備える、請求項1
ないし8のいずれかに記載の動画像記録装置。
9. A photographing means for photographing a subject image and generating image data of the plurality of frames.
9. The moving image recording apparatus according to any one of claims 8 to 8.
【請求項10】前記画像データに対応する音声データを
前記内部メモリに循環的に書き込む音声書き込み手段、
および前記音声データを前記内部メモリから循環的に読
み出して記録媒体に記録する音声読み出し手段をさらに
備える、請求項1ないし9のいずれかに記載の動画像記
録装置。
10. Audio writing means for writing audio data corresponding to said image data in said internal memory cyclically.
10. The moving image recording apparatus according to claim 1, further comprising an audio reading unit that reads the audio data cyclically from the internal memory and records the audio data on a recording medium.
JP03050799A 1999-02-08 1999-02-08 Video recording device Expired - Lifetime JP3403106B2 (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP03050799A JP3403106B2 (en) 1999-02-08 1999-02-08 Video recording device
CNB2004100383857A CN100477735C (en) 1999-02-08 2000-02-03 Mobile image recording apparatus and digital camera
CNB001007726A CN1181676C (en) 1999-02-08 2000-02-03 Moving image recording device and digital code camera
US09/498,648 US6697568B1 (en) 1999-02-08 2000-02-07 Motion image recording apparatus and digital camera
EP00102622A EP1026891B1 (en) 1999-02-08 2000-02-08 Motion image recording apparatus and digital camera
KR1020000005738A KR100686278B1 (en) 1999-02-08 2000-02-08 Moving-image recording device and digital camera
DE60041296T DE60041296D1 (en) 1999-02-08 2000-02-08 Moving picture reception system and digital camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03050799A JP3403106B2 (en) 1999-02-08 1999-02-08 Video recording device

Publications (2)

Publication Number Publication Date
JP2000232619A true JP2000232619A (en) 2000-08-22
JP3403106B2 JP3403106B2 (en) 2003-05-06

Family

ID=12305740

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03050799A Expired - Lifetime JP3403106B2 (en) 1999-02-08 1999-02-08 Video recording device

Country Status (1)

Country Link
JP (1) JP3403106B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100413336C (en) * 2004-01-14 2008-08-20 卡西欧计算机株式会社 Moving image recording apparatus, digital camera device and moving image recording method
JP2020075835A (en) * 2018-11-08 2020-05-21 日本特殊陶業株式会社 Joined body

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100413336C (en) * 2004-01-14 2008-08-20 卡西欧计算机株式会社 Moving image recording apparatus, digital camera device and moving image recording method
US7583299B2 (en) 2004-01-14 2009-09-01 Casio Computer Co., Ltd. Moving image recording apparatus with a stream recording function of a moving image
US7903151B2 (en) 2004-01-14 2011-03-08 Casio Computer Co., Ltd. Moving image recording apparatus with a stream recording function of a moving image
JP2020075835A (en) * 2018-11-08 2020-05-21 日本特殊陶業株式会社 Joined body
JP7249759B2 (en) 2018-11-08 2023-03-31 日本特殊陶業株式会社 zygote

Also Published As

Publication number Publication date
JP3403106B2 (en) 2003-05-06

Similar Documents

Publication Publication Date Title
JP2000224535A (en) Moving image reproducing device
CN101841649A (en) The digital camera of the rest image of record paper sound
JP4407549B2 (en) Shooting device, video playback device, video recording / playback program
JP2001157173A (en) Digital camera
JP2010063085A (en) Imaging device, photographing method, and program
JP4179831B2 (en) Video recording device
JP2001045343A (en) Electronic camera
JP3403106B2 (en) Video recording device
JP2001069453A (en) Still picture camera
US8086092B2 (en) Video image recording apparatus
JPH11313273A (en) Display device
JP4760578B2 (en) Imaging apparatus, moving image shooting method, and moving image shooting control program
JP2021166338A (en) Image pick-up device, recording method, and program
JP2000078516A (en) Recording device, recording and reproducing device, voice information recording method and recording medium
JP4872785B2 (en) Imaging apparatus, subject selection method, and subject selection program
JP4872571B2 (en) Imaging apparatus, imaging method, and program
JP2006020096A (en) Imaging recorder, imaging and recording method, and imaging and recording control program
JP2007235432A (en) Image sound recorder and image sound recording control program
JP2002237984A (en) Digital camera
JP4515005B2 (en) Electronic camera
JP2003163825A (en) Image pickup device
JP4259921B2 (en) Image transfer device
JP2005057609A (en) Camera
JP4058120B2 (en) Data processing apparatus and data processing method
JP2021124526A (en) Recording device, recording system, file generation method and program

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030204

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

Free format text: PAYMENT UNTIL: 20090228

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090228

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100228

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110228

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110228

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120229

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120229

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130228

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130228

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20140228

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20140228

Year of fee payment: 11

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

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

Free format text: PAYMENT UNTIL: 20140228

Year of fee payment: 11

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term