JP2001237930A - Method and device for information processing - Google Patents

Method and device for information processing

Info

Publication number
JP2001237930A
JP2001237930A JP2000049688A JP2000049688A JP2001237930A JP 2001237930 A JP2001237930 A JP 2001237930A JP 2000049688 A JP2000049688 A JP 2000049688A JP 2000049688 A JP2000049688 A JP 2000049688A JP 2001237930 A JP2001237930 A JP 2001237930A
Authority
JP
Japan
Prior art keywords
clock
signal
processing
data
image
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
JP2000049688A
Other languages
Japanese (ja)
Other versions
JP2001237930A5 (en
JP4266477B2 (en
Inventor
Shinji Shiragami
愼ニ 白神
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2000049688A priority Critical patent/JP4266477B2/en
Publication of JP2001237930A publication Critical patent/JP2001237930A/en
Publication of JP2001237930A5 publication Critical patent/JP2001237930A5/ja
Application granted granted Critical
Publication of JP4266477B2 publication Critical patent/JP4266477B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

PROBLEM TO BE SOLVED: To reduce the power consumption by changing the frequency of a clock signal supplied to each processing block in accordance with the data volume in a memory in the processing block. SOLUTION: In a device which performs picture processing of a picture taken in by a picture taking-in controller 1 by a signal processing processor 2 and displays it by a display controller 3, the picture talking-in controller 1 takes in picture data with a resolution and a frame rate which are designated in accordance with an operation mode, and the display controller 3 displays picture data with the resolution and the frame rate which are designated in accordance with the operation mode. These controllers are operated synchronously with the supplied clock signal, and each controller has a FIFO where processed data or data to be processed is stored, and the data volume in the FIFO is reported to a clock generator, and the clock signal of which the frequency is changed in accordance with the data volume is inputted.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、例えばディジタル
・スチルカメラや携帯テレビ電話端末装置、或はカメラ
内蔵型ノートPC等に適用できる情報処理装置及びその
方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus and method applicable to, for example, a digital still camera, a portable videophone terminal, or a notebook PC with a built-in camera.

【0002】[0002]

【従来の技術】近年、CCD等の固体撮像装置の小型
化、省電力化及びLSIの高集積化、高機能化、低消費
電力化などの技術の進展に伴い、ディジタルスチルカメ
ラに代表されるように、電池で駆動可能な携帯型の撮影
装置が一般に利用されるようになった。更には、携帯電
話機能を内蔵した携帯型テレビ電話端末やカメラを内蔵
したノート型PC等も開発されている。このような特に
電池で駆動される撮影装置では、電池による動作時間を
延長するために電力削減が求められている。また、AC
電源で駆動される撮影装置においても、環境保全等の観
点により、より有効な省電力機能が求められてきてい
る。そのため従来から電池残量を常に表示し、残量が少
なくなってきた場合は、ユーザに電源をこまめに切るこ
とを促したり、ユーザの選んだ動作モードに応じて非動
作部分のクロック供給を遮断したりする節電機能が実現
されている。
2. Description of the Related Art In recent years, digital still cameras are typified by advances in technologies such as miniaturization and power saving of solid-state imaging devices such as CCDs, and high integration, high functionality, and low power consumption of LSIs. As described above, a portable photographing apparatus that can be driven by a battery has been generally used. Further, a portable videophone terminal with a built-in mobile phone function, a notebook PC with a built-in camera, and the like have been developed. In such an imaging device driven by a battery in particular, reduction of power is required to extend the operation time of the battery. AC
There is also a demand for a more effective power saving function in an imaging device driven by a power supply from the viewpoint of environmental protection and the like. For this reason, the remaining battery level is always displayed, and when the remaining battery level becomes low, the user is urged to turn off the power frequently or the clock supply to the non-operating part is cut off according to the operation mode selected by the user. Power saving function is realized.

【0003】[0003]

【発明が解決しようとする課題】一般に撮影装置におい
ては、撮影される画像のフレームレートと解像度が高く
なるほど単位時間当たりに処理すべき画像データ量が増
大するため、画像データを扱う電子回路は高い動作クロ
ック周波数を必要とする。一般に、回路の消費電力は、
その回路を駆動するクロック周波数に比例して増大する
ため、画像のフレームレートと解像度の増大は消費電力
の増大をもたらす。従って、消費電力を低減するために
は、極力フレームレートと解像度を小さくするほうが望
ましい。
Generally, in a photographing apparatus, the higher the frame rate and the resolution of a photographed image, the larger the amount of image data to be processed per unit time, so that the number of electronic circuits handling image data is high. Requires operating clock frequency. In general, the power consumption of a circuit is
An increase in image frame rate and resolution results in an increase in power consumption because it increases in proportion to the clock frequency driving the circuit. Therefore, in order to reduce power consumption, it is desirable to reduce the frame rate and the resolution as much as possible.

【0004】しかしながら、例えばデジタルカメラなど
の撮影装置では、その動作モードによって取り込む画像
のフレームレートや解像度に対する要求が異なる。例え
ば、電子ビューファインダモード(EVFモードと呼
ぶ)においては、極力スムーズな動画像が表示されるこ
とが望ましいが、その表示画面は機器に内蔵された小さ
な画面であることが多い。従って、フレームレートは大
きい程良いが、解像度はそれほど要求されない。また静
止画取り込みモード(撮影モードと呼ぶ)では、フレー
ムレートは最低でよい(静止画のため)が、解像度は最
大であることが要求される。更に記録した画像を再生す
る再生モードでは、撮像素子による画像信号の取り込み
を行わず、表示部への表示が最大解像度で行われる。ま
たテレビ電話モードでは、フレームレート、解像度とも
に電話回線のデータ転送能力によって決定される。
However, in a photographing apparatus such as a digital camera, requirements for the frame rate and resolution of an image to be taken differ depending on the operation mode. For example, in the electronic viewfinder mode (referred to as EVF mode), it is desirable to display a smooth moving image as much as possible, but the display screen is often a small screen built in the device. Therefore, the higher the frame rate, the better, but the resolution is not so required. In the still image capturing mode (called a shooting mode), the frame rate may be the lowest (for a still image), but the resolution is required to be the maximum. Furthermore, in the reproduction mode for reproducing the recorded image, the image signal is not taken in by the image sensor, and the display on the display unit is performed at the maximum resolution. In the videophone mode, both the frame rate and resolution are determined by the data transfer capability of the telephone line.

【0005】上記の例より明らかなように、このような
撮影装置を構成する各々の機能ブロック、例えば撮影機
能ブロック、画像処理機能ブロック、表示機能ブロック
などでは、その動作モードに応じて単位時間当たりに処
理すべきデータ量が大幅に異なり、常に最大周波数で動
作する必要がなく、正常な動作が行われる限り、できる
だけ低い周波数で動作したほうが装置の消費電力を低減
させることが可能になる。にもかかわらず、従来の技術
では、完全に非動作状態にある機能ブロックへのクロッ
ク信号の供給を停止させるだけで、装置の消費電力を抑
えるようにしていたため、有効な電力削減を行うことが
できなかった。
As is apparent from the above example, each of the functional blocks constituting such a photographing apparatus, for example, a photographing function block, an image processing function block, a display function block, etc. The amount of data to be processed greatly differs, and it is not necessary to always operate at the maximum frequency. As long as normal operation is performed, it is possible to reduce the power consumption of the apparatus by operating at the lowest possible frequency. Nevertheless, in the conventional technology, the power consumption of the device is reduced only by stopping the supply of the clock signal to the functional block that is completely inactive, so that effective power reduction can be performed. could not.

【0006】本発明は上記従来例に鑑みてなされたもの
で、複数の処理手段のそれぞれに供給するクロック信号
の周波数を、その処理手段における動作状態に応じて切
り替えることにより、装置全体の消費電力を抑えること
ができる情報処理装置及びその方法を提供することを目
的とする。
The present invention has been made in view of the above conventional example, and the frequency of a clock signal supplied to each of a plurality of processing means is switched in accordance with the operation state of the processing means, so that the power consumption of the entire apparatus is reduced. It is an object of the present invention to provide an information processing apparatus and a method thereof that can suppress the occurrence of an error.

【0007】また本発明の目的は、複数の処理手段のそ
れぞれに供給するクロック信号の周波数を、その処理手
段の負荷状態に応じて低下させることにより、装置全体
の消費電力を抑えるようにした情報処理装置及びその方
法を提供することにある。
Another object of the present invention is to reduce the frequency of a clock signal supplied to each of a plurality of processing means in accordance with the load state of the processing means, thereby reducing the power consumption of the entire apparatus. An object of the present invention is to provide a processing apparatus and a method thereof.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に本発明の情報処理装置は以下のような構成を備える。
即ち、それぞれ周波数の異なる複数の周波数のクロック
信号を発生するクロック発生源と、前記クロック発生源
から出力される複数の周波数のクロック信号のいずれか
を選択する選択手段と、それぞれが、前記選択手段によ
り選択されたクロック発生源からのクロック信号により
動作する複数の処理手段と、前記複数の処理手段のそれ
ぞれにおける動作状態に応じて、前記選択手段による当
該処理手段に対するクロック信号の選択を制御する選択
制御手段と、を有することを特徴とする。
In order to achieve the above object, an information processing apparatus according to the present invention has the following arrangement.
That is, a clock generation source that generates a plurality of clock signals having different frequencies, and a selection unit that selects one of a plurality of frequency clock signals output from the clock generation source; And a plurality of processing units that are operated by a clock signal from a clock generation source selected by the control unit, and a selection unit that controls selection of a clock signal to the processing unit by the selection unit according to an operation state of each of the plurality of processing units. And control means.

【0009】上記目的を達成するために本発明の情報処
理方法は以下のような工程を備える。即ち、それぞれ周
波数の異なる複数の周波数のクロック信号を発生するク
ロック発生源から出力される複数の周波数のクロック信
号のいずれかを選択する選択工程と、それぞれが、前記
選択工程で選択されたクロック発生源からのクロック信
号により動作する複数の処理手段のそれぞれにおける動
作状態に応じて、当該処理手段に対するクロック信号の
選択を制御する選択制御工程と、を有することを特徴と
する。
In order to achieve the above object, an information processing method according to the present invention includes the following steps. That is, a selecting step of selecting any one of a plurality of clock signals output from a clock generating source that generates a plurality of clock signals having different frequencies, and a clock generating circuit selected in the selecting step. A selection control step of controlling selection of a clock signal for the processing means in accordance with an operation state of each of the plurality of processing means operated by a clock signal from a source.

【0010】[0010]

【発明の実施の形態】以下、添付図面を参照して本発明
の好適な実施の形態を詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Preferred embodiments of the present invention will be described below in detail with reference to the accompanying drawings.

【0011】図1は、本発明の実施の形態に係る携帯型
のテレビ電話端末装置の構成を示すブロック図である。
図1において、各機能ブロック間を接続する線のうち、
データ系の接続を太い実線で図示し、制御系の接続を細
い実線で図示し、クロック系の接続を点線で図示してい
る。但し、全ての接続が図示されているわけではなく、
説明に必要な代表的な配線接続のみを図示した。
FIG. 1 is a block diagram showing a configuration of a portable videophone terminal according to an embodiment of the present invention.
In FIG. 1, of the lines connecting the functional blocks,
The connection of the data system is shown by a thick solid line, the connection of the control system is shown by a thin solid line, and the connection of the clock system is shown by a dotted line. However, not all connections are shown.
Only representative wiring connections required for the description are shown.

【0012】このテレビ電話端末装置の主要なブロック
構成として、撮像した画像信号の取り込みに関する処理
を実行する画像取り込みコントローラ1、その画像信号
から生成した画像データに対して画像処理を実行する信
号処理プロセッサ2、画像データに基づく画像表示に関
わる処理を行う表示コントローラ3、画像データをメモ
リに記憶させるためのメモリ制御を行うメモリコントロ
ーラ4、装置全体の制御を行うCPU5を有している。
The main components of the videophone terminal device are an image capture controller 1 for executing processing relating to capture of a captured image signal, and a signal processor for executing image processing on image data generated from the image signal. 2, a display controller 3 for performing processing related to image display based on image data, a memory controller 4 for performing memory control for storing image data in a memory, and a CPU 5 for controlling the entire apparatus.

【0013】まず、代表的な動作モードとして、EVF
(ビューファインダ)モード、撮影モード、再生モード
及びテレビ電話モードのそれぞれについて動作を説明を
行う。
First, as a typical operation mode, EVF
The operation will be described for each of (viewfinder) mode, shooting mode, playback mode, and videophone mode.

【0014】[画像取り込みコントローラ1の説明]撮
像対象の画像がレンズモジュール6を介してCCD7上
に結像されることにより、その画像に応じた画像信号が
CCD7から出力される。尚、このレンズモジュール6
は、レンズ、オート・アイリスのための駆動系、オート
フォーカスのための駆動系等を備えており、これら駆動
系の制御は図示しない制御信号によってCPU5によっ
て行われる。CCD7から出力される画像信号は前処理
モジュール(CDS・AGC)8に入力される。本実施の形態
においては、CCD7の取り込む有効画素数は640×
480画素(VGA相当)である。前処理モジュール8
は、CDS(相関二重サンプリング)及びAGC(自動
利得制御)機能を備えている。また、CCD7及び前処
理モジュール8に対するクロック及びタイミング信号
は、タイミング生成回路(TG)9より供給される。前処
理モジュール8で前処理が施された画像データは、A/
D変換器(ADC)10により10ビットのディジタルデ
ータに変換され、タイミング生成回路(SG)11により
生成されるピクセルクロック(Pixel Clock)に同期し
て画像取り込みコントローラ1に入力される。
[Explanation of Image Capture Controller 1] An image to be imaged is formed on the CCD 7 via the lens module 6, and an image signal corresponding to the image is output from the CCD 7. This lens module 6
Includes a lens, a drive system for an auto iris, a drive system for an auto focus, and the like. The control of these drive systems is performed by the CPU 5 by a control signal (not shown). The image signal output from the CCD 7 is input to a preprocessing module (CDS / AGC) 8. In the present embodiment, the number of effective pixels captured by the CCD 7 is 640 ×
There are 480 pixels (equivalent to VGA). Pre-processing module 8
Has CDS (correlated double sampling) and AGC (automatic gain control) functions. Clocks and timing signals for the CCD 7 and the preprocessing module 8 are supplied from a timing generation circuit (TG) 9. The image data pre-processed by the pre-processing module 8 is A /
The data is converted into 10-bit digital data by a D converter (ADC) 10 and input to the image capture controller 1 in synchronization with a pixel clock (Pixel Clock) generated by a timing generation circuit (SG) 11.

【0015】画像取り込みコントローラ1に入力された
画像データは間引き回路1aによって間引き処理され、
間引かれた結果であるデータがFIFO1bに書き込ま
れる。この間引き回路1aにおける間引き方式は、図示
しない制御信号によってCPU5によって予め設定され
ている。
The image data input to the image capturing controller 1 is subjected to a thinning process by a thinning circuit 1a.
Data resulting from the thinning is written to the FIFO 1b. The thinning method in the thinning circuit 1a is set in advance by the CPU 5 based on a control signal (not shown).

【0016】図2(A)は、間引き回路1aの動作の一
例を示すタイミングチャートである。間引き回路1a
は、SG11から入力されるピクセルクロック(Pixel C
lock)を計数するピクセルカウンタ(Pixel Count)、図示
しない水平・垂直同期信号に基づいて、画像のライン数
を計数するラインカウンタ(Line Num)を備えており、C
PU5によって予め設定された間引き方式と、これらの
カウンタの計数値に基づいて、ADC10から入力され
るデジタル画像データをラッチし、FIFO1bに書き
込むためのクロック(Latch Clock)を生成する。
FIG. 2A is a timing chart showing an example of the operation of the thinning circuit 1a. Thinning circuit 1a
Is the pixel clock (Pixel C) input from SG11.
lock), and a line counter (Line Num) for counting the number of image lines based on a horizontal / vertical synchronization signal (not shown).
The digital image data input from the ADC 10 is latched based on the thinning method set in advance by the PU 5 and the count values of these counters, and a clock (Latch Clock) for writing to the FIFO 1b is generated.

【0017】図2(A)の例では、水平640ピクセ
ル、垂直480ラインのデータに対し水平・垂直とも1
/2の間引きを行う場合(320×240画素:CIF
相当)が例示されている。従って、有効ラインは奇数ラ
インであり、この期間を示すための信号がActive Line
信号である。また、有効ピクセルは奇数ピクセルであ
り、これを示す信号がActive Pixel信号である。
In the example of FIG. 2A, the data of 640 pixels in the horizontal direction and 480 lines in the vertical direction are both 1 in the horizontal and vertical directions.
/ 2 thinning out (320 × 240 pixels: CIF
(Equivalent). Therefore, the active line is an odd line, and a signal indicating this period is an active line.
Signal. The effective pixels are odd pixels, and a signal indicating this is an Active Pixel signal.

【0018】これら信号を基に、図2(B)に示すよう
にPixel Clock、Active Line信号及びActive Pixel信号
の論理積が取られ、これがFIFO1bに書き込むため
のLatch Clock信号となる。なお、図2(A)におい
て、FIFO1bに書き込まれるデータがData to FIFO
である。
Based on these signals, a logical product of a Pixel Clock, an Active Line signal, and an Active Pixel signal is obtained as shown in FIG. 2B, and this is a Latch Clock signal for writing to the FIFO 1b. In FIG. 2A, the data written to the FIFO 1b is a Data to FIFO.
It is.

【0019】尚、この間引き回路1aは、フレーム間引
き機能も備える構成にすることが可能である。この場合
は、更にフレームカウンタを設け、例えば4フレームご
とに1フレームを取り込む場合にはフレームカウンタが
「4の倍数+1」のときにActive Frame信号を生成し、
図2(B)に示すAND回路の入力に加えるようにすれ
ばよい。
The thinning circuit 1a can be configured to have a frame thinning function. In this case, an additional frame counter is provided. For example, when capturing one frame every four frames, an active frame signal is generated when the frame counter is “multiple of 4 + 1”,
What is necessary is just to add to the input of the AND circuit shown in FIG.

【0020】バスインターフェース回路(BUS IF)1c
は、FIFO1bが空でない状態(何等のデータが書込
まれている)を検知すると、メインバス(MB)上にデー
タ書き込みのバストランザクションを発生し、メモリコ
ントローラ4にFIFO1bから読み出したデータを転
送する。バスインターフェース回路1cは、通常、画像
取り込みクロック(Latch Clock)とは非同期のバスクロ
ックで動作している。従って、FIFO1bの読み出し
クロックは、FIFO1bの書き込みクロック(Latch
Clock)とは非同期であり、FIFO1bはこの非同期
のデータ転送を緩衝するために備えられている。
Bus interface circuit (BUS IF) 1c
Detects a state in which the FIFO 1b is not empty (any data is written), generates a bus transaction for writing data on the main bus (MB), and transfers the data read from the FIFO 1b to the memory controller 4. . The bus interface circuit 1c normally operates with a bus clock that is asynchronous with the image capture clock (Latch Clock). Therefore, the read clock of the FIFO 1b is the write clock (Latch
Clock), the FIFO 1b is provided to buffer this asynchronous data transfer.

【0021】尚、このメインバスMBには、他にもバス
トランザクションを発生するバスマスタが複数接続され
ている(信号処理プロセッサ2、表示コントローラ3、
CPU5など)ので、同時に複数のバストランザクショ
ンが発生する可能性がある。そのためバスアービタ12
は、1度に1つだけのバスマスタがバストランザクショ
ンを発生できるようにバスを調停する。
A plurality of other bus masters that generate bus transactions are connected to the main bus MB (signal processor 2, display controller 3,
CPU5), there is a possibility that a plurality of bus transactions may occur at the same time. Therefore bus arbiter 12
Arbitrates the bus so that only one bus master can generate a bus transaction at a time.

【0022】[メモリコントローラ4の説明]メモリコ
ントローラ4は、バスインターフェース回路(BUS IF)
4aにおいてバストランザクションを受信し、格納すべ
き画像データ及びその画像データを格納すべきメモリア
ドレスを一時バッファ4bに書き込む。SDRAMイン
ターフェース回路(SDRAM IF)4cは、画像メモリであ
るSDRAM13への各種制御信号を出力するととも
に、バッファ4bに格納されたメモリアドレス及び画像
データをSDRAM13に出力する。バスインターフェ
ース回路4a、バッファ4b、SDRAMインターフェ
ース回路4c、及びSDRAM13は全てバスクロック
に同期して動作する。
[Description of Memory Controller 4] The memory controller 4 is a bus interface circuit (BUS IF).
At 4a, a bus transaction is received, and image data to be stored and a memory address at which the image data is to be stored are written to the temporary buffer 4b. The SDRAM interface circuit (SDRAM IF) 4c outputs various control signals to the SDRAM 13, which is an image memory, and outputs the memory address and image data stored in the buffer 4b to the SDRAM 13. The bus interface circuit 4a, the buffer 4b, the SDRAM interface circuit 4c, and the SDRAM 13 all operate in synchronization with the bus clock.

【0023】[信号処理プロセッサ2の説明]信号処理
プロセッサ2は、画像データの読み出しのためのバスト
ランザクションを発生し、バスクロックで動作するバス
インターフェース回路(BUS IF)2aによって、画像取
り込みコントローラによって取り込まれた画像データを
画像メモリから読み出す。こうして読み出された画像デ
ータはバスクロックに同期して双方向FIFO2bに書
き込まれる。DSP(デジタル信号プロセッサ)2c
は、バスクロックとは異なるクロック(DSPクロッ
ク)で動作しており、このDSPクロックに同期して双
方向FIFO2bのデータにアクセスして、カラーマト
リクス処理によりYC分離を行い、続いて色補正、エッ
ジ強調、ホワイトバランス調整、ガンマ補正などの処理
を行う。このようにして得られた画像データは、モニタ
15への表示に用いられる他、画像圧縮にも用いられ
る。モニタ15への表示用に用いる場合は、表示コント
ローラ3が読み出せるように、バスインターフェース回
路2aを起動して、書き込みのバストランザクションを
発生し、SDRAM13にデータを転送する。
[Explanation of the Signal Processor 2] The signal processor 2 generates a bus transaction for reading image data and captures the image data by a bus interface circuit (BUS IF) 2a operated by a bus clock by an image capture controller. The read image data is read from the image memory. The read image data is written to the bidirectional FIFO 2b in synchronization with the bus clock. DSP (Digital Signal Processor) 2c
Operates at a clock (DSP clock) different from the bus clock, accesses data in the bidirectional FIFO 2b in synchronization with the DSP clock, performs YC separation by color matrix processing, and subsequently performs color correction and edge correction. Performs processing such as emphasis, white balance adjustment, and gamma correction. The image data thus obtained is used not only for display on the monitor 15 but also for image compression. When used for display on the monitor 15, the bus interface circuit 2 a is activated so that the display controller 3 can read the data, generates a write bus transaction, and transfers data to the SDRAM 13.

【0024】[EVFモードの説明]EVFモードにお
いては、上述した動作をフレーム毎に繰り返すことによ
って、連続したフレームを画像メモリ13に取り込む。
信号処理プロセッサ2が画像データを書込む画像メモリ
の領域としては、同一領域を上書きする動作でよい。表
示コントローラ3は、その画像メモリの領域より画像デ
ータを読み出すことにより表示データを得る。その際、
表示コントローラ3は、画像データを読み出すためのバ
ストランザクションを発生し、バスクロックで動作する
バスインターフェース回路(BUS IF)3aによって画像
メモリ13から表示すべき画像データを読み出す。表示
コントローラ3は更に、この読み出した画像データをバ
スクロックに同期してFIFO3bの書き込みポートに
入力する。NTSCのモニタや液晶ディスプレイに代表
されるように、一般に表示装置は画面を絶え間なくリフ
レッシュする必要があるため、有効画面期間中は、ある
ピクセルクロックで動作し続けなければならない。その
ためバスインターフェース回路3aは、FIFO3bが
フル状態になるまで画像メモリから画像データを読み出
し続ける。
[Explanation of EVF Mode] In the EVF mode, the above-described operation is repeated for each frame, so that a continuous frame is taken into the image memory 13.
As an area of the image memory where the signal processor 2 writes image data, an operation of overwriting the same area may be used. The display controller 3 obtains display data by reading image data from the area of the image memory. that time,
The display controller 3 generates a bus transaction for reading image data, and reads image data to be displayed from the image memory 13 by a bus interface circuit (BUS IF) 3a operated by a bus clock. The display controller 3 further inputs the read image data to the write port of the FIFO 3b in synchronization with the bus clock. Generally, a display device, such as an NTSC monitor or a liquid crystal display, needs to constantly refresh the screen. Therefore, during a valid screen period, the display device must continue to operate at a certain pixel clock. Therefore, the bus interface circuit 3a keeps reading image data from the image memory until the FIFO 3b becomes full.

【0025】次に補間回路3cは、表示ピクセルクロッ
クに同期してFIFO3bより画像データを読み出す。
補間回路3cはラインメモリを備えており、FIFO3
bより読み出された画像データは、まずこのラインメモ
リに格納される。このラインメモリに格納された画像デ
ータは、補間なしの場合は先頭から順に読み出されてN
TSCエンコーダ3dに入力され、NTSCフォーマッ
トの映像データに変換される。この場合、補間回路3c
は、1ピクセル分の画像データが読み出されると、直ち
に1ピクセル分の画像データをFIFO3bから読み出
す。ここでライン補間を行う場合は、(補間するライン
数−1)分のラインデータをNTSCエンコーダ3dに
送出した後、次のラインは1ピクセル分の画像データを
NTSCエンコーダ3dに送出する毎に、FIFO3b
から1ピクセル分の画像データを読み出す。例えば、こ
こでライン方向に4倍の補間を施すときは、3ライン分
をそのラインメモリからの画像データで表示し、4ライ
ン目の表示の際には、そのラインの表示を行いながらF
IFO3bから次のラインの画像データを読み込んでく
るという動作を行う。
Next, the interpolation circuit 3c reads out image data from the FIFO 3b in synchronization with the display pixel clock.
The interpolation circuit 3c has a line memory,
The image data read from b is first stored in this line memory. The image data stored in the line memory is sequentially read from the head when no interpolation is performed.
The data is input to the TSC encoder 3d, and is converted into video data in the NTSC format. In this case, the interpolation circuit 3c
Reads the image data for one pixel from the FIFO 3b immediately after the image data for one pixel is read. Here, in the case of performing the line interpolation, the line data of (number of lines to be interpolated-1) is transmitted to the NTSC encoder 3d, and then the next line of image data of one pixel is transmitted to the NTSC encoder 3d. FIFO3b
From the image data of one pixel. For example, when performing quadruple interpolation in the line direction, three lines are displayed by the image data from the line memory, and when displaying the fourth line, F is displayed while displaying the line.
The operation of reading the image data of the next line from the IFO 3b is performed.

【0026】NTSCエンコーダ3dによってNTSC
フォーマットに変換された映像データは、D/A変換器
(DAC)14によってアナログ信号に変換された後、N
TSCのモニタ15によって表示される。
The NTSC encoder 3d uses the NTSC
The video data converted to the format is converted to an analog signal by a D / A converter (DAC) 14 and then converted to an analog signal.
Displayed by the monitor 15 of the TSC.

【0027】上記の動作をフレームごとに連続して行う
ことにより、EVFモードの動作となる。このEVFモ
ードでは、画像取り込みコントローラ1がフレーム間引
きを行っていたとしても、各フレーム分の画像データを
読み出す必要がある。この場合、表示される画像はこま
落しになるが、モニタ15は一定のフレームレートで動
作し続ける必要があるからである。
By performing the above operation continuously for each frame, the operation becomes an EVF mode operation. In the EVF mode, it is necessary to read out image data of each frame even if the image capturing controller 1 performs frame thinning. In this case, the displayed image is dropped, but the monitor 15 needs to keep operating at a constant frame rate.

【0028】[撮影モードの説明]次に、撮影モードで
の動作を説明する。この撮影モードでは、1フレーム分
の画像データを取り込んだ後、この画像データをJPE
G圧縮してメモリカード17などの外部記憶等に記録す
る。
[Explanation of shooting mode] Next, the operation in the shooting mode will be described. In this shooting mode, after capturing one frame of image data, this image data is
The data is G-compressed and recorded in an external storage such as the memory card 17.

【0029】まず、シャッタ・ボタン等含むスイッチ群
16のシャッタ・ボタンの押下がCPU5によって検出
されると、CPU5は図示しない制御信号により画像取
り込みコントローラ1に対し、次の1フレームの画像デ
ータを取り込み、それ以降のフレームの画像データを取
り込まないように指示する。同様に、信号処理プロセッ
サ2に対し、次の1フレームの画像データに対して圧縮
処理を行うように通知する。
First, when the CPU 5 detects that the shutter button of the switch group 16 including the shutter button or the like is pressed, the CPU 5 fetches the next one frame of image data to the image fetch controller 1 by a control signal (not shown). , So as not to take in the image data of the subsequent frames. Similarly, it notifies the signal processor 2 to perform a compression process on the image data of the next one frame.

【0030】画像取り込みコントローラ1は、前述のE
VFモードの場合とは異なり、1フレームの画像を取り
込んで画像メモリ13に画像データを転送し終えると、
動作を一時停止する。信号処理プロセッサ2は、このメ
モリ13に格納された1フレーム分の画像データを読み
出して、EVFモードで表示用の画像データを生成した
場合と全く同様にしてYC分離、色補正、エッジ強調、
ホワイトバランス調整、ガンマ補正等の画像処理を行
う。その後、直ちにその画像データに対して、DCT演
算処理、量子化処理、可変長符号化処理などを施して得
られた符号化データを、画像メモリ13内の表示用画像
データ領域とは別の領域に書き込む。
The image capture controller 1 is provided with the aforementioned E
Unlike the case of the VF mode, when the image of one frame is fetched and the image data is transferred to the image memory 13,
Pause the operation. The signal processor 2 reads out the image data for one frame stored in the memory 13, and performs the YC separation, the color correction, the edge enhancement, and the like in the same manner as when the image data for display is generated in the EVF mode.
Image processing such as white balance adjustment and gamma correction is performed. Thereafter, the coded data obtained by subjecting the image data to a DCT operation process, a quantization process, a variable length coding process, etc., is immediately stored in an area other than the display image data area in the image memory 13. Write to.

【0031】CPU5は、画像メモリ13に記憶された
画像データを読み出し、必要なマーカ等を付加してJP
EGデータとした後に、メモリカード17に格納する。
こうして1フレーム分の画像データの格納が終了する
と、CPU5は画像取り込みコントローラ1に対して、
EVFモードでの画像信号の取り込み再開するように通
知する。
The CPU 5 reads out the image data stored in the image memory 13 and adds necessary markers and the like to the JP5.
After being converted into EG data, it is stored in the memory card 17.
When the storage of the image data for one frame is completed in this way, the CPU 5 instructs the image capturing controller 1 to
A notification is issued to restart the capture of the image signal in the EVF mode.

【0032】なお、メモリカード17に格納された符号
化された画像データは、PC等のホストコンピュータと
のインターフェースを実現するコミュニケーション回路
18を介して、PC等からアクセスすることが可能であ
る。本実施の形態においてはコミュニケーション回路1
8は、例えばシリアルインターフェース、USB、Ir
DA、携帯電話モジュールなどを含んでいる。
The encoded image data stored in the memory card 17 can be accessed from a PC or the like via a communication circuit 18 for realizing an interface with a host computer such as a PC. In the present embodiment, the communication circuit 1
8 is, for example, a serial interface, USB, Ir
DA, mobile phone module, etc.

【0033】[再生モードの説明]次に再生モードの動
作を説明する。この再生モードでは、画像取り込みコン
トローラ1の動作は停止している。CPU5はメモリカ
ード17に格納された符号化された圧縮データを読み出
してSDRAM13に書き込む。信号処理プロセッサ2
は、このSDRAM13に書込まれた符号データを読み
出して、復号化、逆量子化、逆DCT変換等の画像伸長
処理を行って表示可能な画像データとした後、再びSD
RAM13に書き戻す。表示コントローラ3は、この表
示可能データをSDRAM13より読み出して表示動作
を行う。
[Explanation of Reproduction Mode] Next, the operation of the reproduction mode will be described. In this reproduction mode, the operation of the image capture controller 1 is stopped. The CPU 5 reads out the coded compressed data stored in the memory card 17 and writes it to the SDRAM 13. Signal processor 2
Reads out the code data written in the SDRAM 13 and performs image expansion processing such as decoding, inverse quantization, and inverse DCT conversion to obtain displayable image data, and then returns to SD
Write back to RAM13. The display controller 3 reads out the displayable data from the SDRAM 13 and performs a display operation.

【0034】[テレビ電話モードの説明]次に、テレビ
電話モードの動作を説明する。前述した撮影モードで
は、1フレームの画像データを取り込んだ後、画像取り
込みコントローラ1は一時動作を停止した。しかし、こ
のテレビ電話モードでは、画像データの取り込み処理を
中断せずに、次々に連続するフレームの画像データを取
り込む。このときの取り込みフレームレートは、CPU
5によって設定された間引き方式に基づいて決定され
る。こうして取り込まれた画像データは撮影モードの場
合と同様の処理によって信号処理プロセッサ2により画
像処理及び画像圧縮・符号化処理が施されて、SDRA
M13に書き込まれる。こうしてSDRAM13に書き
込まれた符号データは、CPU5により読み出され、所
定のマーカ等が挿入された後、コミュニケーション回路
18の携帯電話モジュールによって電話回線を通じて通
話相手に伝送される。
[Explanation of Video Phone Mode] Next, the operation of the video phone mode will be described. In the above-described shooting mode, the image capturing controller 1 temporarily stops operation after capturing one frame of image data. However, in this videophone mode, the image data of successive frames is fetched without interrupting the image data fetching process. The capture frame rate at this time is
5 is determined on the basis of the thinning method set in step S5. The image data thus captured is subjected to image processing and image compression / encoding processing by the signal processor 2 by the same processing as in the shooting mode, and the SDRA
Written to M13. The code data thus written in the SDRAM 13 is read out by the CPU 5, and after a predetermined marker or the like is inserted, the code data is transmitted to the other party through the telephone line by the mobile phone module of the communication circuit 18.

【0035】一方、電話回線を通じて通話相手より受信
した符号データは、コミュニケーション回路18からC
PU5を経由してSDRAM13に書き込まれる。信号
処理プロセッサ2は、このSDRAM13に書込まれた
符号データを読み出して、復号化、逆量子化、逆DCT
変換等の画像伸長処理を行って表示可能な画像データと
した後、再びSDRAM13に書き戻す。表示コントロ
ーラ3は、表示すべき画像データをSDRAM13より
読み出してモニタ15に表示するように表示動作を行
う。
On the other hand, the code data received from the other party through the telephone line
The data is written to the SDRAM 13 via the PU 5. The signal processor 2 reads out the code data written in the SDRAM 13 and decodes, dequantizes,
After performing image expansion processing such as conversion to obtain displayable image data, the image data is written back to the SDRAM 13 again. The display controller 3 performs a display operation such that image data to be displayed is read from the SDRAM 13 and displayed on the monitor 15.

【0036】以上のようにして、CCD7により撮像し
た画像を通話相手に電送するとともに、通信相手から送
られてくる画像データを受信してモニタ15に表示する
ことができる。
As described above, the image picked up by the CCD 7 can be transmitted to the other party, and the image data sent from the other party can be received and displayed on the monitor 15.

【0037】[クロックの説明]次に、画像取り込みコ
ントローラ1、信号処理プロセッサ2、表示コントロー
ラ3及びメモリコントローラ4のそれぞれに供給される
クロックについて説明する。
[Description of Clock] Next, the clock supplied to each of the image capture controller 1, the signal processor 2, the display controller 3, and the memory controller 4 will be described.

【0038】クロック発生器(CG)19,20,21,
22は、CPU5により、そのクロック出力をオン/オ
フできる可変クロック発生器である。クロック発生器
(CG(C))19は、SG11及び画像取り込みコントロ
ーラ1の画像取り込み部(間引き回路1a、FIFO1
b)の動作クロックを生成する。クロック発生器(CG
(D))20は、DSP2cの動作クロックを生成する。
クロック発生器(CG(B))21は、各コントローラのバ
スインターフェース部の動作クロックを生成する。クロ
ック発生器(CG(N))22は、表示コントローラ3のF
IFO3b、補間回路3c、NTSCエンコーダ3d及
びD/A変換器14の動作クロックを生成する。
Clock generators (CG) 19, 20, 21,
Reference numeral 22 denotes a variable clock generator whose clock output can be turned on / off by the CPU 5. The clock generator (CG (C)) 19 includes an SG 11 and an image capturing unit (the thinning circuit 1 a, the FIFO 1) of the image capturing controller 1.
The operation clock of b) is generated. Clock generator (CG
(D)) 20 generates an operation clock of the DSP 2c.
The clock generator (CG (B)) 21 generates an operation clock for the bus interface of each controller. The clock generator (CG (N)) 22 is connected to the F of the display controller 3.
An operation clock for the IFO 3b, the interpolation circuit 3c, the NTSC encoder 3d, and the D / A converter 14 is generated.

【0039】またクロック発生器21から出力されるバ
スクロックは、各コントローラのバスインターフェース
回路に供給されるが、各コントローラ毎にクロック供給
を停止できるようにクロックゲート回路(G)23,2
4,25,26を備えている。この内、クロックゲート
回路26はCPU5によって制御され、クロックゲート
回路23はFIFO1bからの制御信号により制御さ
れ、クロックゲート回路24はFIFO2bからの、ク
ロックゲート回路25はFIFO3bからの制御信号に
より制御される。
The bus clock output from the clock generator 21 is supplied to the bus interface circuit of each controller. The clock gate circuits (G) 23, 2 are provided so that the clock supply can be stopped for each controller.
4, 25, 26 are provided. Among them, the clock gate circuit 26 is controlled by the CPU 5, the clock gate circuit 23 is controlled by a control signal from the FIFO 1b, the clock gate circuit 24 is controlled by a control signal from the FIFO 2b, and the clock gate circuit 25 is controlled by a control signal from the FIFO 3b. .

【0040】次に、動作モードに応じて間引き回路1
a、補間回路3cの設定をどのように制御するかを説明
する。
Next, the thinning circuit 1 according to the operation mode
a, how to control the setting of the interpolation circuit 3c will be described.

【0041】動作モードの変更は、ユーザによるスイッ
チ群16の操作によって行われる。スイッチの構成は様
々な例が考えられるが、本実施の形態ではダイアルと押
しボタンにより構成する。ダイアルの回転により動作モ
ードの候補が順次更新されて表示され、その候補が表示
されている時に押しボタンの押下により、その表示され
ている動作モードが実際の動作モードとして選択され
る。この動作モードの選択のイベントによりCPU5に
割り込みが発生し、ROM27に格納された割り込み処
理ルーチンにより、動作モードの変更処理ルーチンが実
行される。
The operation mode is changed by operating the switch group 16 by the user. Although various examples of the configuration of the switch can be considered, in this embodiment, the switch is configured by a dial and a push button. The operation mode candidates are sequentially updated and displayed by the rotation of the dial, and when the candidates are displayed, pressing the push button selects the displayed operation mode as the actual operation mode. The CPU 5 is interrupted by the operation mode selection event, and the operation mode change processing routine is executed by the interrupt processing routine stored in the ROM 27.

【0042】この動作モード変更処理ルーチンでは、新
たに選択された動作モードを読み取り、その読み取られ
た動作モードに対応して間引き回路1a及び補間回路3
cに初期値が設定される。これら間引き回路1a及び補
間回路3cに設定されるデフォルト値は、工場出荷時の
ROM27に格納されている。ユーザが設定値を変更し
た場合は、その変更したことを示すフラグと共に、その
変更を加えた部分の対応がRAM28に記録される。
In this operation mode change processing routine, the operation mode newly selected is read, and the thinning circuit 1a and the interpolation circuit 3 are read in accordance with the read operation mode.
An initial value is set in c. The default values set in the thinning circuit 1a and the interpolation circuit 3c are stored in the ROM 27 at the time of shipment from the factory. When the user changes the set value, the RAM 28 stores the flag indicating the change and the correspondence of the changed portion.

【0043】図3は、動作モードと間引き方式及び補間
方式の設定値の対応例を説明する図である。
FIG. 3 is a view for explaining an example of the correspondence between the operation mode and the set values of the thinning method and the interpolation method.

【0044】ここでは動作モードとして、EVF、撮
影、再生、テレビ電話の4種類が定義されている。間引
き方式は解像度(図中ではサイズ(size)と表記)とフレ
ームレート(図中ではフレーム(frame)と表記)とに分
けて示しており、補間方式は解像度のみを示してある。
なぜなら本実施の形態では、表示がNTSC出力である
ためフレームレートが一定だからである。解像度の間引
き・補間方式は縦横1/2間引き・補間の場合を「CI
F」として示し、縦横1/4間引き・補間の場合を「Q
CIF」として示している。またフレームレートは、1
秒間に30フレームならば30フレーム/s(frame/
s)のように示している。また、停止状態を示す場合は
「−」と図示している。
Here, four types of operation modes are defined: EVF, shooting, reproduction, and videophone. The thinning method is divided into a resolution (denoted as size in the figure) and a frame rate (denoted as frame in the figure), and the interpolation method indicates only the resolution.
This is because, in the present embodiment, the frame rate is constant because the display is an NTSC output. For the resolution thinning / interpolation method, the vertical / horizontal 1/2 thinning / interpolation method is referred to as “CI
F ”, and in the case of 1/4 vertical / horizontal thinning / interpolation,“ Q
CIF ". The frame rate is 1
If 30 frames per second, 30 frames / s (frame /
s). In addition, when indicating a stopped state, it is shown as "-".

【0045】図3に示す例によれば、動作モード変更ル
ーチンが読み取った新たな動作モードがEVFモードだ
った場合は、解像度の間引き・補間方式は「CIF」で
あり、フレームレートは30フレーム/sと設定する。
また撮影モードでは、表示は停止しており、画像取り込
みとしてはVGAを1フレームだけ取り込むように設定
する。更に再生モードの場合は、画像取り込みは停止し
ており、表示としては「VGA」を表示する。またテレ
ビ電話モードの場合は、解像度の間引き・補間方式は
「QCIF」であり、フレームレートは15フレーム/
sと設定する。CPU5は、この図3の内容に相当する
データをROM27又はRAM28より読み出して間引
き回路1aにおける間引き方式、及び補間回路3cにお
ける補間方式の設定を得る。
According to the example shown in FIG. 3, when the new operation mode read by the operation mode change routine is the EVF mode, the resolution thinning / interpolation method is "CIF" and the frame rate is 30 frames / frame. Set to s.
In the photographing mode, the display is stopped, and the VGA is set so as to capture only one frame. Further, in the case of the reproduction mode, the image capturing is stopped, and "VGA" is displayed. In the case of the videophone mode, the resolution thinning / interpolation method is “QCIF” and the frame rate is 15 frames / frame.
Set to s. The CPU 5 reads the data corresponding to the contents of FIG. 3 from the ROM 27 or the RAM 28 and obtains the setting of the thinning method in the thinning circuit 1a and the setting of the interpolation method in the interpolation circuit 3c.

【0046】次にクロック発生器19〜22及びクロッ
クゲート回路23〜26の設定をどのように制御するか
を説明する。
Next, how to control the settings of the clock generators 19 to 22 and the clock gate circuits 23 to 26 will be described.

【0047】クロック発生器19は、CPU5からのオ
ン信号によりピクセルクロックとして13.5MHzの
クロック信号を出力する。このピクセルクロックは通常
オン(出力される)であるが、再生モードの場合は新た
に画像信号を取り込む必要はないためオフとされる。
The clock generator 19 outputs a 13.5 MHz clock signal as a pixel clock in response to the ON signal from the CPU 5. This pixel clock is normally turned on (output), but is turned off in the reproduction mode because there is no need to newly acquire an image signal.

【0048】クロック発生器20は、CPU5からの2
ビットのクロック選択信号により4種類の周波数のクロ
ックを発生することができる。即ち、選択信号が“0
0”の場合は0MHz、即ちクロックの発生が停止され
た状態であり、“01”の場合は50MHzのクロック
を出力し、“10”の場合は100MHzのクロックを
出力し、“11”の場合には150MHzのクロックを
出力する。この2ビットの選択信号は、ROM27に格
納されてCPU5により読み出されて実行される制御プ
ログラムによって制御される。即ち、動作モードと処理
する画像データの解像度により単位時間に処理すべき画
像データの量が異なるため、例えばEVFモードではV
GAの場合は100MHzで動作させ、CIF及びQC
IFでは50MHzで動作させるが、テレビ電話モード
ではVGAの場合は150MHzで動作させ、CIFの
場合は100MHzで動作させ、QCIFの場合は50
MHzで動作させる、というような制御を行う。
The clock generator 20 receives the signal from the CPU 5
Clocks of four different frequencies can be generated by the bit clock selection signal. That is, when the selection signal is “0”
In the case of "0", it is 0 MHz, that is, the clock generation is stopped. In the case of "01", a clock of 50 MHz is output. In the case of "10", a clock of 100 MHz is output. In the case of "11", Outputs a clock of 150 MHz.The 2-bit selection signal is controlled by a control program stored in the ROM 27 and read out and executed by the CPU 5. That is, depending on the operation mode and the resolution of the image data to be processed. Since the amount of image data to be processed per unit time differs, for example, in the EVF mode, V
For GA, operate at 100MHz, CIF and QC
The IF operates at 50 MHz. In the videophone mode, the VGA operates at 150 MHz, the CIF operates at 100 MHz, and the QCIF operates at 50 MHz.
Control such as operating at MHz.

【0049】クロック発生器21は、CPU5からのオ
ン/オフ信号により起動/停止するとともに、起動状態
にあってもFIFO1b,2b,3bからの制御信号に
よって、その発生するクロックの周波数が変更される。
The clock generator 21 is started / stopped by an on / off signal from the CPU 5, and the frequency of the generated clock is changed by a control signal from the FIFOs 1b, 2b, 3b even in the activated state. .

【0050】図4は、クロック発生器21の一例を示す
ブロック図である。
FIG. 4 is a block diagram showing an example of the clock generator 21.

【0051】21aはクロック原発振器で、80MHz
のクロックを常時発生している。21bはクロックの1
/2分周器であり、80MHzのクロック信号が入力さ
れ40MHzのクロック信号を出力する。21cはクロ
ックの1/2分周器であり、40MHzのクロック信号
が入力されて20MHzのクロック信号を出力する。2
1dはクロックの1/2分周器であり、20MHzのク
ロック信号が入力されて10MHzのクロック信号を出
力する。21eはクロックセレクタで、4つのクロック
入力A,B,C,Dのうち1つのクロックを選択信号Se
lA,SelB,SelC,SelDに応じて出力端子Outに出力
する。
Reference numeral 21a denotes a clock source oscillator, 80 MHz
Clock is always generated. 21b is the clock 1
/ 2 frequency divider, which receives a clock signal of 80 MHz and outputs a clock signal of 40 MHz. Reference numeral 21c denotes a clock frequency divider which receives a 40 MHz clock signal and outputs a 20 MHz clock signal. 2
Reference numeral 1d denotes a clock frequency divider which receives a 20 MHz clock signal and outputs a 10 MHz clock signal. 21e is a clock selector which selects one of the four clock inputs A, B, C, D from the selection signal Se.
Output to the output terminal Out according to lA, SelB, SelC, SelD.

【0052】図5は、このクロックセレクタ21eにお
けるクロック信号の選択処理を説明する図である。
FIG. 5 is a diagram for explaining the process of selecting a clock signal in the clock selector 21e.

【0053】選択信号SelA、SelB,SelC,SelDの順
にプライオリティが高くなり、例えばSelDが“1”の
場合は、他の選択信号の状態に拘わらずD端子に入力さ
れたクロック信号がOut端子に出力される。ここで入力
A,B,C,Dのそれぞれには、前述した周波数10M
Hz,20MHz,40MHz,80MHzのクロック
信号がそれぞれ入力されている。また、端子SelAには
AND回路21fの出力が、端子SelBにはOR21g
の出力が、端子SelCにはOR21hの出力が、そして
端子SelDにはOR21Iの出力がそれぞれ接続されて
いる。またAND21f,OR21g,21h,21i
の各入力には、FIFO1b,2b,3bのポインタス
テータス信号がそれぞれ接続される。各々のポインタス
テータス信号の意味するところを、FIFO1bの一例
の構成図である図6、FIFO2bの一例の構成図であ
る図7、FIFO3bの一例の構成図である図8を用い
て説明する。
The priority becomes higher in the order of the selection signals SelA, SelB, SelC, and SelD. For example, when SelD is "1", the clock signal input to the D terminal is output to the Out terminal regardless of the state of other selection signals. Is output. Here, each of the inputs A, B, C, and D has a frequency of 10 M
Hz, 20 MHz, 40 MHz, and 80 MHz clock signals are input, respectively. The output of the AND circuit 21f is connected to the terminal SelA, and the OR 21g is connected to the terminal SelB.
The output of OR21h is connected to the terminal SelC, and the output of OR21I is connected to the terminal SelD. AND21f, OR21g, 21h, 21i
Are connected to pointer status signals of FIFOs 1b, 2b and 3b, respectively. The meaning of each pointer status signal will be described with reference to FIG. 6, which is a configuration diagram of an example of the FIFO 1b, FIG. 7, which is a configuration diagram of an example of the FIFO 2b, and FIG. 8, which is a configuration diagram of an example of the FIFO 3b.

【0054】図6は、本実施の形態のFIFO1bの構
成例を示すブロック図である。
FIG. 6 is a block diagram showing a configuration example of the FIFO 1b of the present embodiment.

【0055】このFIFO1bは、同期型デュアルポー
トSRAM1b0、書き込み制御回路1b1、書き込み
アドレス生成(ポインタ生成)回路1b2、読み出し制
御回路1b3、読み出しアドレス生成(ポインタ生成)
画路1b4及びポインタステータス生成回路1b5を備
えている。
The FIFO 1b includes a synchronous dual-port SRAM 1b0, a write control circuit 1b1, a write address generation (pointer generation) circuit 1b2, a read control circuit 1b3, and a read address generation (pointer generation).
An image path 1b4 and a pointer status generation circuit 1b5 are provided.

【0056】デュアルポートSRAM1b0は、例えば
128(ワード)×8(ビット)のデュアルポートSR
AMで、間引き回路1aよりの書き込み有効信号(writ
e en)が入力されるとCCDのピクセルクロック(ccd
clk)に同期してCCDデータであるWRITE DATAが、書
き込みアドレス生成(ポインタ生成)回路1b2から出
力されるメモリアドレスに書き込まれる。こうしてデュ
アルポートSRAM1b0に1つの画像データが書き込
まれた後、書込むアドレス生成回路1b2から出力され
る書き込みアドレスは1だけインクリメントされる。ま
た読み出し動作は、バスインターフェース回路1cから
の読み出し有効信号(read en)が入力されるとバスク
ロック(bus clk)に同期して読み出しアドレス生成
(ポインタ生成)回路1b4の生成するポインタの示す
アドレスからREAD DATAが出力される。
The dual port SRAM 1b0 is, for example, a 128 (word) × 8 (bit) dual port SR.
In AM, the write enable signal (writ) from the thinning circuit 1a
e en) is input, the CCD pixel clock (ccd
In synchronization with clk), WRITE DATA, which is CCD data, is written to a memory address output from the write address generation (pointer generation) circuit 1b2. After one image data is written in the dual-port SRAM 1b0, the write address output from the write address generation circuit 1b2 is incremented by one. The read operation starts from an address indicated by a pointer generated by a read address generation (pointer generation) circuit 1b4 in synchronization with a bus clock (bus clk) when a read enable signal (read en) is input from the bus interface circuit 1c. READ DATA is output.

【0057】こうして1つの画像データが読み出された
後、読出しアドレス生成回路1b4から出力される読み
出しアドレスは1だけインクリメントされる。ポインタ
ステータス回路1b5は、書き込みポインタ(アドレ
ス)と読み出しポインタ(アドレス)の差の絶対値を演
算することにより、FIFO1bのステータスを出力す
る。例えば、差の絶対値が“0”の場合は、FIFO1
bが空であることを示すので「1b:Empty」信号
を出力する。また、この差の絶対値がFIFO1bの容
量(128ワード)の80%以上の場合は、FIFO1
bの有効データがFIFO1bの容量の20%以下であ
ることを示すので「1b<20%」信号を出力する。同
様に、FIFO1bの有効データが20%から40%の
間の場合は「1b>20%」信号を出力し、40%から
60%の間の場合は「1b>40%」信号を出力し、6
0%以上の場合は「1b>60%」信号を出力する。
After one image data is thus read, the read address output from the read address generation circuit 1b4 is incremented by one. The pointer status circuit 1b5 outputs the status of the FIFO 1b by calculating the absolute value of the difference between the write pointer (address) and the read pointer (address). For example, if the absolute value of the difference is “0”, FIFO1
Since “b” is empty, “1b: Empty” signal is output. If the absolute value of this difference is 80% or more of the capacity (128 words) of the FIFO 1b, the FIFO 1
Since the effective data of b is less than 20% of the capacity of the FIFO 1b, a "1b <20%" signal is output. Similarly, when the valid data of the FIFO 1b is between 20% and 40%, a “1b> 20%” signal is output, and when the valid data is between 40% and 60%, a “1b> 40%” signal is output. 6
If it is 0% or more, a "1b>60%" signal is output.

【0058】図7は、FIFO2bの構成を示すブロッ
ク図である。
FIG. 7 is a block diagram showing the structure of the FIFO 2b.

【0059】このFIFO2bは、バスインターフェー
ス回路2aからDSP2c方向のFIFOと逆向きのF
IFOの組み合わせとして実現される。バスインターフ
ェース回路2aからDSP2c方向のFIFOは、同期
型デュアルポートSRAM2b0、書き込み制御回路2
b1、書き込みアドレス生成(ポインタ生成)回路2b
2、読み出し制御回路2b3、読み出しアドレス生成
(ポインタ生成)回路2b4及びポインタステータス生
成回路2b5を備えている。
The FIFO 2b is connected to the bus interface circuit 2a from the DSP 2c in the direction opposite to the FIFO.
Implemented as a combination of IFOs. The FIFO from the bus interface circuit 2a to the DSP 2c includes a synchronous dual-port SRAM 2b0, a write control circuit 2
b1, write address generation (pointer generation) circuit 2b
2, a read control circuit 2b3, a read address generation (pointer generation) circuit 2b4, and a pointer status generation circuit 2b5.

【0060】一方、DSP2cからバスインターフェー
ス回路2a向きのFIFOは、同期型デュアルポートS
RAM2b6、書き込みアドレス生成(ポインタ生成)
回路2b7、読み出しアドレス生成(ポインタ生成)回
路2b8、書き込み制御回路2b9、読み出し制御回路
2b10及びポインタステータス生成回路2b11を備
えている。
On the other hand, a FIFO from the DSP 2c to the bus interface circuit 2a is a synchronous dual port S
RAM 2b6, write address generation (pointer generation)
The circuit includes a circuit 2b7, a read address generation (pointer generation) circuit 2b8, a write control circuit 2b9, a read control circuit 2b10, and a pointer status generation circuit 2b11.

【0061】デュアルポートSRAM2b0は、例えば
128(ワード)×8(ビット)のデュアルポートSR
AMであり、バスインターフェース回路2aよりの書き
込み有効信号(write en)が入力されるとバスクロック
(bus clk)に同期してバス転送データであるWRITE DAT
Aが書き込みアドレス生成(ポインタ生成)回路2b2
の生成するメモリアドレスに書き込まれる。このデータ
の書き込み後、書き込みアドレス生成回路2b2から出
力される書き込みポインタ(アドレス)はインクリメン
トされる。また読み出し動作は、DSP2cからの読み
出し有効信号(read en)が入力されるとDSPクロッ
ク(dsp clk)に同期して読み出しアドレス生成(ポイ
ンタ生成)回路2b4の生成するポインタの示すアドレ
スからREADDATAが出力されるので、これを読み出す。こ
のデータの読み出し後、読み出しアドレス生成回路2b
4から出力される読み出しポインタはインクリメントさ
れる。ポインタステータス回路2b5は、これら書き込
みポインタと読み出しポインタの差の絶対値を演算する
ことにより、FIFO2bのステータスデータを出力す
る。
The dual port SRAM 2b0 is, for example, a 128 (word) × 8 (bit) dual port SR.
AM, and when a write enable signal (write en) is input from the bus interface circuit 2a, WRITE DAT which is bus transfer data is synchronized with a bus clock (bus clk).
A is a write address generation (pointer generation) circuit 2b2
Is written to the memory address generated by. After writing the data, the write pointer (address) output from the write address generation circuit 2b2 is incremented. In the read operation, when a read valid signal (read en) from the DSP 2c is input, READDATA is output from the address indicated by the pointer generated by the read address generation (pointer generation) circuit 2b4 in synchronization with the DSP clock (dsp clk). This is read out. After reading this data, the read address generation circuit 2b
The read pointer output from 4 is incremented. The pointer status circuit 2b5 outputs the status data of the FIFO 2b by calculating the absolute value of the difference between the write pointer and the read pointer.

【0062】またデュアルポートSRAM2b6は、例
えば128(ワード)×8(ビット)のデュアルポート
SRAMで、DSP2cからの書き込み有効信号(writ
e en)が入力されるとDSPクロック(dsp clk)に同
期してバス転送データであるWRITE DATAが書き込みアド
レス生成(ポインタ生成)回路2b7の生成するメモリ
アドレスに書き込まれる。子のデータ書き込み後、書き
込みアドレス生成回路2b7から出力される書き込みポ
インタはインクリメントされる。また読み出し動作は、
バスインターフェース回路2aからの読み出し有効信号
(read en)が入力されるとバスクロック(bus clk)に
同期して読み出しアドレス生成(ポインタ生成)回路2
b8の生成するポインタの示すメモリアドレスからREAD
DATAを出力するので、これを読み出す。子のデータの
読み出し後、読み出しアドレス生成回路2b8から出力
される読み出しポインタがインクリメントされる。ポイ
ンタステータス回路2b11は、これら書き込みポイン
タと読み出しポインタの差の絶対値を演算することによ
り、FIFO2bのステータスを出力する。
The dual port SRAM 2b6 is, for example, a 128 (word) × 8 (bit) dual port SRAM, and is a write enable signal (writ) from the DSP 2c.
When “en” is input, WRITE DATA, which is bus transfer data, is written to the memory address generated by the write address generation (pointer generation) circuit 2b7 in synchronization with the DSP clock (dsp clk). After writing the child data, the write pointer output from the write address generation circuit 2b7 is incremented. The read operation is
When a read enable signal (read en) is input from the bus interface circuit 2a, the read address generation (pointer generation) circuit 2 is synchronized with the bus clock (bus clk).
READ from the memory address indicated by the pointer generated by b8
It reads DATA because it outputs DATA. After reading the child data, the read pointer output from the read address generation circuit 2b8 is incremented. The pointer status circuit 2b11 outputs the status of the FIFO 2b by calculating the absolute value of the difference between the write pointer and the read pointer.

【0063】FIFO2bのポインタステータス信号
は、上記ポインタステータス回路2b5,2b11の出
力の演算により生成される。例えば、2つのFIFOポ
インタの差の絶対値がともに“0”の場合はFIFO2
bが空であることを示すのでAND2b12により「2
b:Empty」信号を出力する。2つのFIFOポインタ
の差の絶対値がともにFIFO2bの容量(128ワー
ド)の80%以上の場合はFIFO2bの有効データが
FIFO2bの容量の20%以下であることを示すの
で、AND2b13により「2b<20%」信号を出力
する。同様に、少なくとも一方のFIFOの有効データ
が20%から40%の間の場合は、OR2b14により
「2b>20%」信号を出力し、少なくとも一方が40
%から60%の間の場合はOR2b15により「2b>
40%」信号を出力し、更に少なくとも一方が60%以
上の場合は、OR2b16により「2b>60%」信号
を出力する。
The pointer status signal of the FIFO 2b is generated by calculating the outputs of the pointer status circuits 2b5 and 2b11. For example, if the absolute value of the difference between the two FIFO pointers is both "0", FIFO2
b indicates that it is empty.
b: Empty "signal is output. If the absolute value of the difference between the two FIFO pointers is 80% or more of the capacity (128 words) of the FIFO 2b, it indicates that the valid data of the FIFO 2b is 20% or less of the capacity of the FIFO 2b. % "Signal. Similarly, when the valid data of at least one FIFO is between 20% and 40%, a “2b> 20%” signal is output by OR2b14, and at least one of the signals is 40%.
% To 60%, OR2b15 indicates "2b>
A signal of "2b>60%" is output by the OR2b16 when at least one of the signals is 60% or more.

【0064】図8は、FIFO3bの構成を示すブロッ
ク図である。
FIG. 8 is a block diagram showing the structure of the FIFO 3b.

【0065】図8に示すように、FIFO3bは同期型
デュアルポートSRAM3b0、書き込み制御回路3b
1、書き込みアドレス生成(ポインタ生成)回路3b
2、読み出し制御回路3b3、読み出しアドレス生成
(ポインタ生成)回路3b4及びポインタステータス生
成回路3b5を備えている。
As shown in FIG. 8, the FIFO 3b is a synchronous dual-port SRAM 3b0, a write control circuit 3b.
1. Write address generation (pointer generation) circuit 3b
2, a read control circuit 3b3, a read address generation (pointer generation) circuit 3b4, and a pointer status generation circuit 3b5.

【0066】ここで3b0は、例えば128(ワード)
×8(ビット)のデュアルポートSRAMであり、バス
インターフェース回路3aよりの書き込み有効信号(wr
iteen)が入力されるとバスクロック(bus clk)に同期
してバス転送データであるWRITE DATAが書き込みアドレ
ス生成(ポインタ生成)回路3b2の生成するメモリア
ドレスに書き込まれる。このデータ書き込み後、書き込
みアドレス生成回路3b2から出力される書き込みポイ
ンタがインクリメントされる。また読み出し動作は、補
間回路3cからの読み出し有効信号(read en)が入力
されると表示クロック(disp clk)に同期して読み出し
アドレス生成(ポインタ生成)回路3b4の生成するポ
インタの示すメモリアドレスからREAD DATAを出力する
のでこれを読み出す。子のデータの読み出し後、読み出
しアドレス生成回路3b4から出力される読み出しポイ
ンタがインクリメントされる。ポインタステータス回路
3b5は、これら書き込みポインタと読み出しポインタ
の差の絶対値を演算することにより、FIFO3bのス
テータスを出力する。例えば、差の絶対値が“128”
の場合はFIFO3bが一杯であることを示すので「3
b:full」信号を出力し、差の絶対値がFIFO3bの
容量(128ワード)の20%以下の場合は、FIFO
3bの有効データがFIFO容量の80%以上であるこ
とを示すので「3b>80%」信号を出力する。同様
に、FIFO3bの有効データが80%から60%の間
の場合は「3b<80%」信号を出力し、60%から4
0%の間の場合は「3b<60%」信号を出力し、40
%以下の場合は「3b<40%」信号を出力する。
Here, 3b0 is, for example, 128 (words)
X8 (bit) dual port SRAM, and a write enable signal (wr) from the bus interface circuit 3a.
When iteen is input, WRITE DATA, which is bus transfer data, is written to the memory address generated by the write address generation (pointer generation) circuit 3b2 in synchronization with the bus clock (bus clk). After this data writing, the write pointer output from the write address generation circuit 3b2 is incremented. In addition, the read operation starts from the memory address indicated by the pointer generated by the read address generation (pointer generation) circuit 3b4 in synchronization with the display clock (disp clk) when the read valid signal (read en) from the interpolation circuit 3c is input. Read this because it outputs READ DATA. After the reading of the child data, the read pointer output from the read address generation circuit 3b4 is incremented. The pointer status circuit 3b5 outputs the status of the FIFO 3b by calculating the absolute value of the difference between the write pointer and the read pointer. For example, the absolute value of the difference is “128”
Indicates that the FIFO 3b is full.
b: full "signal, and if the absolute value of the difference is 20% or less of the capacity (128 words) of the FIFO 3b, the FIFO
Since the valid data of 3b is equal to or more than 80% of the FIFO capacity, the signal "3b>80%" is output. Similarly, when the valid data of the FIFO 3b is between 80% and 60%, a “3b <80%” signal is output, and the signal is output from 60% to 4%.
If it is between 0%, a "3b <60%" signal is output and 40%
%, The signal "3b <40%" is output.

【0067】再び図4を用いてクロック発生器21の動
作を説明する。
The operation of the clock generator 21 will be described again with reference to FIG.

【0068】各FIFOより入力されるポインタステー
タス信号は、AND21f,OR21g,21h,21
iに入力される。ここでFIFO1b,2bはFIFO
内の有効データが少ないほどバスの転送能力に余裕があ
ることを示している。
The pointer status signals input from each FIFO are AND 21f, OR 21g, 21h, 21
Input to i. Here, FIFOs 1b and 2b are FIFO
This indicates that the smaller the valid data in the data, the more the transfer capacity of the bus is.

【0069】一方、FIFO3bは空き容量がある限り
データを先読みするため、FIFO3bがFULLに近
いほどバスの転送能力に余裕があることを示す。AND
21fには、「1b<20%」信号と「2b<20%」
信号と「3b>80%」信号が入力されており、全ての
入力が“1”である状態は全てのバスマスタにとってバ
ス転送能力が十分あることを示している。従って、クロ
ックの周波数を最低に設定することができるので、AN
D2fの出力をSelA入力とし、周波数10MHzのク
ロック信号が選択されるようにする。
On the other hand, since the FIFO 3b prefetches data as long as there is a free space, the closer the FIFO 3b is to FULL, the more the transfer capacity of the bus is. AND
21f has a "1b <20%" signal and a "2b <20%" signal.
The signal and the “3b> 80%” signal are input, and the state where all inputs are “1” indicates that all bus masters have sufficient bus transfer capability. Therefore, the frequency of the clock can be set to the lowest, so that AN
The output of D2f is set as SelA input so that a clock signal having a frequency of 10 MHz is selected.

【0070】次に転送すべきデータ量が増加してFIF
O1b又はFIFO2bの少なくとも一方が20%を超
えるか、或はFIFO3bが80%を下回った場合は、
OR21gの出力が“1”となり、周波数20MHzの
クロック信号が選択される。更に転送すべきデータ量が
増加してFIFO1b又はFIFO2bの少なくとも一
方が40%を超えるか、或はFIFO3bが60%を下
回った場合、OR21bの出力が“1”となり、周波数
40MHzのクロック信号が選択される。更に転送すべ
きデータ量が増加してFIFO1b又はFIFO2bの
少なくとも一方が60%を超えるか、或はFIFO3b
が40%を下回った場合、OR21iの出力が“1”と
なり、周波数80MHzのクロック信号が選択される。
即ち、少なくとも1つのバスマスタのデータ転送能力が
不足してきたことを動的に検知してバスクロックの周波
数を自動的に高くすることができる。なお、クロック発
生器21のバスクロックを停止するためには、CPU5
によってクロックオン信号を“0”に設定する。こうす
ることによりANDゲート21jによってセレクタ21
eで選択されたバスクロックがゲートされ、クロック信
号の出力が停止される。
The amount of data to be transferred next increases and the
If at least one of O1b and FIFO2b is greater than 20% or FIFO3b is less than 80%,
The output of the OR 21g becomes "1", and a clock signal having a frequency of 20 MHz is selected. When the amount of data to be transferred further increases and at least one of the FIFO1b and the FIFO2b exceeds 40% or the FIFO3b falls below 60%, the output of the OR 21b becomes "1" and a clock signal with a frequency of 40 MHz is selected. Is done. Further, the amount of data to be transferred increases and at least one of FIFO1b and FIFO2b exceeds 60%, or FIFO3b
Is less than 40%, the output of OR21i becomes "1", and a clock signal with a frequency of 80 MHz is selected.
That is, it is possible to dynamically detect that the data transfer capability of at least one bus master has become insufficient and automatically increase the frequency of the bus clock. In order to stop the bus clock of the clock generator 21, the CPU 5
To set the clock-on signal to "0". By doing so, the selector 21 is selected by the AND gate 21j.
The bus clock selected in e is gated, and the output of the clock signal is stopped.

【0071】一方、クロック発生器22は、CPU5か
らのオン信号によりピクセルクロックとして周波数1
3.5MHzのクロック信号を出力する。
On the other hand, the clock generator 22 receives the ON signal from the CPU 5 to generate
A 3.5 MHz clock signal is output.

【0072】次に、クロックゲート回路23,24,2
5の動作をクロックゲート回路の一例の構成図を用いて
説明する。
Next, the clock gate circuits 23, 24, 2
The operation of No. 5 will be described with reference to a configuration diagram of an example of a clock gate circuit.

【0073】図9は、クロックゲート回路23を説明す
る回路図である。
FIG. 9 is a circuit diagram illustrating the clock gate circuit 23.

【0074】図9に示すように、クロックゲート回路2
3は、バスクロック(bus clk)をFIFO1bのエン
プティ信号である「1b:Empty」信号(図6)の反転
信号でゲートする。即ち、画像取り込みコントローラ1
の取り込みデータがなくなると自動的に画像取り込みコ
ントローラ1のバスインターフェース回路1aの動作ク
ロック及びFIFO1bの読み出しクロックが停止す
る。
As shown in FIG. 9, the clock gate circuit 2
3 gates the bus clock (bus clk) with an inverted signal of the "1b: Empty" signal (FIG. 6) which is an empty signal of the FIFO 1b. That is, the image capture controller 1
When there is no more captured data, the operation clock of the bus interface circuit 1a of the image capture controller 1 and the read clock of the FIFO 1b automatically stop.

【0075】図10は、クロックゲート回路24を説明
する回路図である。
FIG. 10 is a circuit diagram illustrating the clock gate circuit 24.

【0076】図10に示すように、クロックゲート回路
24は、バスクロック(bus clk)をFIFO2bのエ
ンプティ信号である「2b:Empty」信号(図7)の反
転信号でゲートする。即ち、信号処理プロセッサ2の処
理データがなくなると自動的に信号処理プロセッサ2の
バスインターフェース回路2aの動作クロック及びFI
FO2bのバス側クロックが停止する。
As shown in FIG. 10, the clock gate circuit 24 gates the bus clock (bus clk) with an inverted signal of the "2b: Empty" signal (FIG. 7) which is an empty signal of the FIFO 2b. That is, when the processing data of the signal processor 2 runs out, the operation clock of the bus interface circuit 2a of the signal processor 2 and the FI
The bus-side clock of FO2b stops.

【0077】図11は、クロックゲート回路25を説明
する回路図である。
FIG. 11 is a circuit diagram illustrating the clock gate circuit 25.

【0078】図11に示すように、クロックゲート回路
25は、バスクロック(bus clk)をFIFO3bのフ
ル信号である「3b:full」信号(図8)の反転信号で
ゲートする。即ち、表示コントローラ3の表示データを
それ以上読み出せない状態になると自動的に表示コント
ローラ2のバスインターフェース回路3aの動作クロッ
ク及びFIFO3bの書き込みクロックが停止する。
As shown in FIG. 11, the clock gate circuit 25 gates the bus clock (bus clk) with an inverted signal of the "3b: full" signal (FIG. 8) which is a full signal of the FIFO 3b. That is, when the display data of the display controller 3 cannot be read any more, the operation clock of the bus interface circuit 3a of the display controller 2 and the write clock of the FIFO 3b are automatically stopped.

【0079】フレームレートに対応するクロック発生器
19〜22及びクロックゲート回路23〜26の設定
は、CPU5によってフレームごとにクロック発生器及
びクロックゲート回路を制御することによって行う。例
えば、EVFモードにおいてフレームレートが10フレ
ーム/sと設定されていたならば、画像取り込みコント
ローラ1及び信号処理プロセッサ2は、3フレームにつ
き1フレームだけ処理を行えばよいので、取り込みを行
わない3フレーム中2フレーム分の期間はクロックゲー
ト回路23及び24及びクロック発生器20により、画
像取り込みコントローラ1及び信号処理プロセッサ2へ
のクロック信号の供給を停止させる。
The setting of the clock generators 19 to 22 and the clock gate circuits 23 to 26 corresponding to the frame rate is performed by controlling the clock generator and the clock gate circuit for each frame by the CPU 5. For example, if the frame rate is set to 10 frames / s in the EVF mode, the image capture controller 1 and the signal processor 2 need only perform one frame per three frames. The clock gate circuits 23 and 24 and the clock generator 20 stop the supply of the clock signal to the image capture controller 1 and the signal processor 2 during the middle two frames.

【0080】本実施の形態に示したような間引き方式、
補間方式の設定とクロック周波数の制御によれば、あら
ゆる動作モードにおいてユーザの望む解像度やフレーム
レートを柔軟に設定できるとともに、ユーザの設定した
解像度やフレームレートで正常に動作するためのクロッ
ク周波数が自動的に設定されるので、あらゆる動作状況
においても最大限の省電力効果が得られる。
The thinning method as shown in this embodiment,
By setting the interpolation method and controlling the clock frequency, the resolution and frame rate desired by the user can be set flexibly in any operation mode, and the clock frequency for normal operation at the resolution and frame rate set by the user is automatically set. , The maximum power saving effect can be obtained in any operating condition.

【0081】なお本発明は、複数の機器(例えばホスト
コンピュータ、インターフェース機器、リーダ、プリン
タなど)から構成されるシステムに適用しても、一つの
機器からなる装置(例えば、複写機、ファクシミリ装置
など)に適用してもよい。
Even if the present invention is applied to a system composed of a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), a device composed of one device (for example, a copying machine, a facsimile machine, etc.) ) May be applied.

【0082】また本発明の目的は、前述した実施形態の
機能を実現するソフトウェアのプログラムコードを記録
した記憶媒体(又は記録媒体)を、システム或は装置に
供給し、そのシステム或は装置のコンピュータ(又はCP
UやMPU)が記憶媒体に格納されたプログラムコードを読
み出し実行することによっても達成される。この場合、
記憶媒体から読み出されたプログラムコード自体が前述
した実施形態の機能を実現することになり、そのプログ
ラムコードを記憶した記憶媒体は本発明を構成すること
になる。また、コンピュータが読み出したプログラムコ
ードを実行することにより、前述した実施形態の機能が
実現されるだけでなく、そのプログラムコードの指示に
基づき、コンピュータ上で稼働しているオペレーティン
グシステム(OS)などが実際の処理の一部又は全部を行
い、その処理によって前述した実施形態の機能が実現さ
れる場合も含まれる。
Further, an object of the present invention is to supply a storage medium (or a recording medium) in which a program code of software for realizing the functions of the above-described embodiments is recorded to a system or an apparatus, and a computer of the system or the apparatus. (Or CP
U or MPU) reads out and executes the program code stored in the storage medium. in this case,
The program code itself read from the storage medium implements the functions of the above-described embodiment, and the storage medium storing the program code constitutes the present invention. By executing the program code read by the computer, not only the functions of the above-described embodiments are realized, but also an operating system (OS) running on the computer based on the instruction of the program code. This also includes a case where some or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing.

【0083】更に、記憶媒体から読み出されたプログラ
ムコードが、コンピュータに挿入された機能拡張カード
やコンピュータに接続された機能拡張ユニットに備わる
メモリに書込まれた後、そのプログラムコードの指示に
基づき、その機能拡張カードや機能拡張ユニットに備わ
るCPUなどが実際の処理の一部又は全部を行い、その処
理によって前述した実施形態の機能が実現される場合も
含まれる。
Further, after the program code read from the storage medium is written into a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer, based on the instruction of the program code, This also includes the case where the CPU provided in the function expansion card or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0084】以上に述べたように本実施の形態の携帯型
のテレビ電話端末装置によれば、ユーザの利用形態に応
じた柔軟な画質の制御が極めて容易に実現可能となり、
また、いかなる動作モードにおいても最大限の消費電力
削減を行えるいう効果がある。
As described above, according to the portable videophone terminal of the present embodiment, it is possible to extremely easily realize flexible image quality control in accordance with the usage pattern of the user.
Further, there is an effect that the maximum power consumption can be reduced in any operation mode.

【0085】[0085]

【発明の効果】以上説明したように本発明によれば、複
数の処理手段のそれぞれに供給するクロック信号の周波
数を、その処理手段における動作状態に応じて切り替え
ることにより、装置全体の消費電力を抑えることができ
る。
As described above, according to the present invention, the frequency of the clock signal supplied to each of the plurality of processing means is switched in accordance with the operation state of the processing means, thereby reducing the power consumption of the entire apparatus. Can be suppressed.

【0086】また本発明によれば、複数の処理手段のそ
れぞれに供給するクロック信号の周波数を、その処理手
段の負荷状態に応じて低下させることにより、装置全体
の消費電力を抑えることができるという効果がある。
According to the present invention, the frequency of the clock signal supplied to each of the plurality of processing means is reduced in accordance with the load state of the processing means, so that the power consumption of the entire apparatus can be reduced. effective.

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

【図1】本発明の実施の形態に係る携帯型のテレビ電話
端末装置の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a portable videophone terminal device according to an embodiment of the present invention.

【図2】本実施の形態の間引き回路の動作の一例を示す
タイミングチャート(A)及びラッチクロック(Latch
Clock)の生成回路を示す図(B)である。
FIGS. 2A and 2B are a timing chart showing an example of the operation of a thinning circuit of the present embodiment and a latch clock (Latch).
(B) of FIG.

【図3】動作モードと間引き方式及び補間方式の対応を
説明する図である。
FIG. 3 is a diagram illustrating correspondence between an operation mode, a thinning method, and an interpolation method.

【図4】本実施の形態に係るクロック発生器の構成を示
すブロック図である。
FIG. 4 is a block diagram showing a configuration of a clock generator according to the present embodiment.

【図5】図4のクロックセレクタにおけるクロック選択
を説明する図である。
FIG. 5 is a diagram illustrating clock selection in the clock selector of FIG. 4;

【図6】本実施の形態に係るFIFO1bの構成例を示
すブロック図である。
FIG. 6 is a block diagram illustrating a configuration example of a FIFO 1b according to the present embodiment.

【図7】本実施の形態に係るFIFO2bの構成例を示
すブロック図である。
FIG. 7 is a block diagram illustrating a configuration example of a FIFO 2b according to the present embodiment.

【図8】本実施の形態に係るFIFO3bの構成例を示
すブロック図である。
FIG. 8 is a block diagram illustrating a configuration example of a FIFO 3b according to the present embodiment.

【図9】本実施の形態に係るクロックゲート回路23の
構成例を示す図である。
FIG. 9 is a diagram showing a configuration example of a clock gate circuit 23 according to the present embodiment.

【図10】本実施の形態に係るクロックゲート回路24
の構成例を示す図である。
FIG. 10 shows a clock gate circuit 24 according to the present embodiment.
FIG. 3 is a diagram showing an example of the configuration.

【図11】本実施の形態に係るクロックゲート回路25
の構成例を示す図である。
FIG. 11 shows a clock gate circuit 25 according to the present embodiment.
FIG. 3 is a diagram showing an example of the configuration.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) // H04N 7/14 H04B 7/26 X Fターム(参考) 5C064 AA01 AB04 AC02 AC12 AD01 AD08 AD14 5C076 AA21 AA22 BA03 BA04 BA06 BB01 BB06 5K027 AA11 BB17 FF22 HH29 5K067 AA43 BB04 BB21 DD52 EE02 HH21 HH23 KK00 5K101 LL12 NN06 NN18 NN45 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) // H04N 7/14 H04B 7/26 X F term (Reference) 5C064 AA01 AB04 AC02 AC12 AD01 AD08 AD14 5C076 AA21 AA22 BA03 BA04 BA06 BB01 BB06 5K027 AA11 BB17 FF22 HH29 5K067 AA43 BB04 BB21 DD52 EE02 HH21 HH23 KK00 5K101 LL12 NN06 NN18 NN45

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 それぞれ周波数の異なる複数の周波数の
クロック信号を発生するクロック発生源と、 前記クロック発生源から出力される複数の周波数のクロ
ック信号のいずれかを選択する選択手段と、 それぞれが、前記選択手段により選択されたクロック発
生源からのクロック信号により動作する複数の処理手段
と、 前記複数の処理手段のそれぞれにおける動作状態に応じ
て、前記選択手段による当該処理手段に対するクロック
信号の選択を制御する選択制御手段と、を有することを
特徴とする情報処理装置。
1. A clock generation source that generates a plurality of clock signals having different frequencies, and a selection unit that selects one of a plurality of frequency clock signals output from the clock generation source. A plurality of processing units that are operated by a clock signal from a clock generation source selected by the selection unit; and a selection of a clock signal for the processing unit by the selection unit in accordance with an operation state of each of the plurality of processing units. An information processing apparatus, comprising: selection control means for controlling.
【請求項2】 前記複数の処理手段の1つは、 撮像した画像信号を入力する入力手段と、 前記入力手段により入力された画像信号を間引く間引き
手段と、 前記間引き手段により間引かれた画像信号を記憶するメ
モリを有することを特徴とする請求項1に記載の情報処
理装置。
2. One of the plurality of processing means includes: an input means for inputting a captured image signal; a thinning means for thinning out the image signal input by the input means; and an image thinned by the thinning means. The information processing apparatus according to claim 1, further comprising a memory for storing a signal.
【請求項3】 前記複数の処理手段の1つは、 前記間引き手段により間引かれた画像信号を記憶するメ
モリと、 前記メモリに記憶された画像信号を補間する補間手段
と、 前記補間手段により補間された画像信号に基づいて画像
を表示する表示手段とを有することを特徴とする請求項
2に記載の情報処理装置。
3. One of the plurality of processing units includes: a memory that stores the image signal thinned by the thinning unit; an interpolation unit that interpolates the image signal stored in the memory; 3. The information processing apparatus according to claim 2, further comprising: display means for displaying an image based on the interpolated image signal.
【請求項4】 前記複数の処理手段のそれぞれは、処理
済み或は処理対象のデータを記憶する記憶手段を有し、
前記選択制御手段は、前記記憶手段に記憶されているデ
ータ量に応じて当該処理手段に対するクロック信号を選
択するように制御することを特徴とする請求項1に記載
の情報処理装置。
4. Each of the plurality of processing units has a storage unit for storing processed or processed data,
2. The information processing apparatus according to claim 1, wherein the selection control unit controls to select a clock signal for the processing unit according to a data amount stored in the storage unit.
【請求項5】 前記選択制御手段は、前記複数の処理手
段のそれぞれのメモリに記憶されている画像データの量
に応じて当該処理手段に対するクロック信号を選択する
ように制御することを特徴とする請求項3又は4に記載
の情報処理装置。
5. The selection control unit performs control so as to select a clock signal for the processing unit according to an amount of image data stored in a memory of each of the plurality of processing units. The information processing device according to claim 3.
【請求項6】 前記選択制御手段は、前記複数の処理手
段のそれぞれの動作状態が高速処理を要求していない場
合には、当該処理手段に対するクロック信号の周波数を
低くするように制御することを特徴とする請求項1乃至
5のいずれか1項に記載の情報処理装置。
6. The selection control means, when each of the plurality of processing means does not require high-speed processing, controls to lower the frequency of a clock signal to the processing means. The information processing apparatus according to any one of claims 1 to 5, wherein
【請求項7】 それぞれ周波数の異なる複数の周波数の
クロック信号を発生するクロック発生源から出力される
複数の周波数のクロック信号のいずれかを選択する選択
工程と、 それぞれが、前記選択工程で選択されたクロック発生源
からのクロック信号により動作する複数の処理手段のそ
れぞれにおける動作状態に応じて、当該処理手段に対す
るクロック信号の選択を制御する選択制御工程と、を有
することを特徴とする情報処理方法。
7. A selecting step of selecting one of a plurality of frequency clock signals output from a clock generation source for generating a plurality of frequency clock signals having different frequencies, each of which is selected in the selecting step. A selection control step of controlling selection of a clock signal for each of a plurality of processing means operating in response to a clock signal from a clock generation source. .
【請求項8】 前記複数の処理手段のそれぞれは、処理
済み或は処理対象のデータを記憶するメモリを有し、前
記選択制御工程では、前記メモリに記憶されているデー
タ量に応じて当該処理手段に対するクロック信号を選択
するように制御することを特徴とする請求項7に記載の
情報処理方法。
8. Each of the plurality of processing means has a memory for storing processed or processed data, and in the selection control step, the processing is performed in accordance with an amount of data stored in the memory. 8. The information processing method according to claim 7, wherein control is performed to select a clock signal for the means.
【請求項9】 前記選択制御工程では、前記複数の処理
手段のそれぞれのメモリに記憶されている画像データの
量に応じて当該処理手段に対するクロック信号を選択す
るように制御することを特徴とする請求項7又は8に記
載の情報処理方法。
9. The selection control step is characterized in that control is performed such that a clock signal for the processing means is selected in accordance with an amount of image data stored in a memory of each of the plurality of processing means. The information processing method according to claim 7.
【請求項10】 前記選択制御工程では、前記複数の処
理手段のそれぞれの動作状態が高速処理を要求していな
い場合には、当該処理手段に対するクロック信号の周波
数を低くするように制御することを特徴とする請求項7
乃至9のいずれか1項に記載の情報処理方法。
10. In the selection control step, when the operation state of each of the plurality of processing units does not require high-speed processing, control is performed such that the frequency of a clock signal for the processing units is reduced. Claim 7
10. The information processing method according to claim 1.
【請求項11】 請求項7乃至10のいずれか1項に記
載の情報処理方法を実行するプログラムを記憶した、コ
ンピュータにより読取り可能な記憶媒体。
11. A computer-readable storage medium storing a program for executing the information processing method according to claim 7. Description:
JP2000049688A 2000-02-25 2000-02-25 Information processing apparatus and control method thereof Expired - Fee Related JP4266477B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000049688A JP4266477B2 (en) 2000-02-25 2000-02-25 Information processing apparatus and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000049688A JP4266477B2 (en) 2000-02-25 2000-02-25 Information processing apparatus and control method thereof

Publications (3)

Publication Number Publication Date
JP2001237930A true JP2001237930A (en) 2001-08-31
JP2001237930A5 JP2001237930A5 (en) 2007-04-12
JP4266477B2 JP4266477B2 (en) 2009-05-20

Family

ID=18571592

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000049688A Expired - Fee Related JP4266477B2 (en) 2000-02-25 2000-02-25 Information processing apparatus and control method thereof

Country Status (1)

Country Link
JP (1) JP4266477B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003188801A (en) * 2001-12-19 2003-07-04 Nec Corp Mobile phone terminal with videophone function
GB2387508A (en) * 2002-04-12 2003-10-15 Nec Technologies Time base alignment in dual mode mobile telephone systems which calibrates a first and second master clock to a third clock
JP2010004123A (en) * 2008-06-18 2010-01-07 Canon Inc Communication controller, communication control method, program and storage medium
KR101935356B1 (en) 2012-04-27 2019-01-04 엘지전자 주식회사 Method of controlling display processor

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003188801A (en) * 2001-12-19 2003-07-04 Nec Corp Mobile phone terminal with videophone function
GB2387508A (en) * 2002-04-12 2003-10-15 Nec Technologies Time base alignment in dual mode mobile telephone systems which calibrates a first and second master clock to a third clock
GB2387508B (en) * 2002-04-12 2005-06-29 Nec Technologies Mobile radio communications device and method of operation
JP2010004123A (en) * 2008-06-18 2010-01-07 Canon Inc Communication controller, communication control method, program and storage medium
KR101935356B1 (en) 2012-04-27 2019-01-04 엘지전자 주식회사 Method of controlling display processor

Also Published As

Publication number Publication date
JP4266477B2 (en) 2009-05-20

Similar Documents

Publication Publication Date Title
US7705902B2 (en) Video signal processing apparatus, image display control method, storage medium, and program
US7573504B2 (en) Image recording apparatus, image recording method, and image compressing apparatus processing moving or still images
KR20070041507A (en) Method and system for displaying a sequence of image frames
JP2001238190A (en) Image processing apparatus and its control processing method
US20060133695A1 (en) Display controller, electronic instrument, and image data supply method
US9131158B2 (en) Moving-image capturing apparatus and electronic zoom method for moving image
US7154550B1 (en) Electronic camera for quickly confirming a recorded image
US8159548B2 (en) Modular architecture having reusable front end for processing digital video data
US20040119847A1 (en) Image processing apparatus, image processing method, recording medium, and program
US20030147640A1 (en) System and method for capturing and embedding high-resolution still image data into a video data stream
US7023455B2 (en) Apparatus and method for processing video signal
JP2001238189A (en) Image processing apparatus, and operation control method for the same
US6661452B1 (en) Digital camera capable of decreasing a required memory capacity
JP2003032539A (en) Camera mount device
JP4298358B2 (en) Image processing system
JP2012028997A (en) Image processing device and camera
JP2001237930A (en) Method and device for information processing
US7499098B2 (en) Method and apparatus for determining the status of frame data transmission from an imaging device
US20050068336A1 (en) Image overlay apparatus and method for operating the same
US20070008325A1 (en) Method and apparatus providing for high efficiency data capture for compression encoding
JP4481458B2 (en) Data processing circuit of imaging device
US5689436A (en) Apparatus for compressing and decompressing video signal
US6636639B1 (en) Image recording apparatus, image recording method and storage medium
KR20060077161A (en) Image sensor and image scaling down method
JP2023160138A (en) Imaging apparatus, method for controlling the same, program, and storage medium

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070223

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070223

RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20070223

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080611

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080616

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080729

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080811

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090206

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090217

R150 Certificate of patent or registration of utility model

Ref document number: 4266477

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120227

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130227

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140227

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees