JP4266477B2 - Information processing apparatus and control method thereof - Google Patents

Information processing apparatus and control method thereof Download PDF

Info

Publication number
JP4266477B2
JP4266477B2 JP2000049688A JP2000049688A JP4266477B2 JP 4266477 B2 JP4266477 B2 JP 4266477B2 JP 2000049688 A JP2000049688 A JP 2000049688A JP 2000049688 A JP2000049688 A JP 2000049688A JP 4266477 B2 JP4266477 B2 JP 4266477B2
Authority
JP
Japan
Prior art keywords
clock
data
signal
fifo
memory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2000049688A
Other languages
Japanese (ja)
Other versions
JP2001237930A (en
JP2001237930A5 (en
Inventor
愼二 白神
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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

Images

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

Description

【0001】
【発明の属する技術分野】
本発明は、例えばディジタル・スチルカメラや携帯テレビ電話端末装置、或はカメラ内蔵型ノートPC等に適用できる情報処理装置及びその方法に関するものである。
【0002】
【従来の技術】
近年、CCD等の固体撮像装置の小型化、省電力化及びLSIの高集積化、高機能化、低消費電力化などの技術の進展に伴い、ディジタルスチルカメラに代表されるように、電池で駆動可能な携帯型の撮影装置が一般に利用されるようになった。更には、携帯電話機能を内蔵した携帯型テレビ電話端末やカメラを内蔵したノート型PC等も開発されている。このような特に電池で駆動される撮影装置では、電池による動作時間を延長するために電力削減が求められている。また、AC電源で駆動される撮影装置においても、環境保全等の観点により、より有効な省電力機能が求められてきている。そのため従来から電池残量を常に表示し、残量が少なくなってきた場合は、ユーザに電源をこまめに切ることを促したり、ユーザの選んだ動作モードに応じて非動作部分のクロック供給を遮断したりする節電機能が実現されている。
【0003】
【発明が解決しようとする課題】
一般に撮影装置においては、撮影される画像のフレームレートと解像度が高くなるほど単位時間当たりに処理すべき画像データ量が増大するため、画像データを扱う電子回路は高い動作クロック周波数を必要とする。一般に、回路の消費電力は、その回路を駆動するクロック周波数に比例して増大するため、画像のフレームレートと解像度の増大は消費電力の増大をもたらす。従って、消費電力を低減するためには、極力フレームレートと解像度を小さくするほうが望ましい。
【0004】
しかしながら、例えばデジタルカメラなどの撮影装置では、その動作モードによって取り込む画像のフレームレートや解像度に対する要求が異なる。例えば、電子ビューファインダモード(EVFモードと呼ぶ)においては、極力スムーズな動画像が表示されることが望ましいが、その表示画面は機器に内蔵された小さな画面であることが多い。従って、フレームレートは大きい程良いが、解像度はそれほど要求されない。また静止画取り込みモード(撮影モードと呼ぶ)では、フレームレートは最低でよい(静止画のため)が、解像度は最大であることが要求される。更に記録した画像を再生する再生モードでは、撮像素子による画像信号の取り込みを行わず、表示部への表示が最大解像度で行われる。またテレビ電話モードでは、フレームレート、解像度ともに電話回線のデータ転送能力によって決定される。
【0005】
上記の例より明らかなように、このような撮影装置を構成する各々の機能ブロック、例えば撮影機能ブロック、画像処理機能ブロック、表示機能ブロックなどでは、その動作モードに応じて単位時間当たりに処理すべきデータ量が大幅に異なり、常に最大周波数で動作する必要がなく、正常な動作が行われる限り、できるだけ低い周波数で動作したほうが装置の消費電力を低減させることが可能になる。にもかかわらず、従来の技術では、完全に非動作状態にある機能ブロックへのクロック信号の供給を停止させるだけで、装置の消費電力を抑えるようにしていたため、有効な電力削減を行うことができなかった。
【0006】
本発明は上記従来例に鑑みてなされたもので、複数の処理手段のそれぞれに供給するクロック信号の周波数を、処理手段が有するメモリに記憶されているデータ量の情報に応じて切り替えることにより、装置全体の消費電力を抑えることができる情報処理装置及びその制御方法を提供することを目的とする。
【0008】
【課題を解決するための手段】
上記目的を達成するために本発明の情報処理装置は以下のような構成を備える。即ち、
それぞれ周波数の異なる複数の周波数のクロック信号を発生するクロック発生源と、
前記クロック発生源から出力される複数の周波数のクロック信号のいずれかを選択する選択手段と、
それぞれが、処理済み或は処理対象のデータを記憶するメモリを有し、前記選択手段により選択されたクロック発生源からのクロック信号により動作する複数の処理手段と、
前記複数の処理手段の各処理手段が有する前記メモリに記憶されているデータ量の情報を取得し、当該取得したデータ量の情報に応じて各処理手段に対するクロック信号を選択するように制御する選択制御手段と、
を有することを特徴とする。
【0009】
上記目的を達成するために本発明の情報処理装置の制御方法は以下のような工程を備える。即ち、
それぞれが、処理済み或は処理対象のデータを記憶するメモリを有しクロック発生源からのクロック信号により動作する複数の処理手段を有する情報処理装置の制御方法であって、
前記複数の処理手段の各処理手段を動作させるために、それぞれ周波数の異なる複数の周波数のクロック信号を発生するクロック発生源から出力される複数の周波数のクロック信号のいずれかを選択する選択工程と、
前記複数の処理手段の各処理手段が有するメモリに記憶されているデータ量の情報を取得し、前記取得したデータ量の情報に応じて各処理手段に対するクロック信号を選択するように制御する選択制御工程と、
を有することを特徴とする。
【0010】
【発明の実施の形態】
以下、添付図面を参照して本発明の好適な実施の形態を詳細に説明する。
【0011】
図1は、本発明の実施の形態に係る携帯型のテレビ電話端末装置の構成を示すブロック図である。図1において、各機能ブロック間を接続する線のうち、データ系の接続を太い実線で図示し、制御系の接続を細い実線で図示し、クロック系の接続を点線で図示している。但し、全ての接続が図示されているわけではなく、説明に必要な代表的な配線接続のみを図示した。
【0012】
このテレビ電話端末装置の主要なブロック構成として、撮像した画像信号の取り込みに関する処理を実行する画像取り込みコントローラ1、その画像信号から生成した画像データに対して画像処理を実行する信号処理プロセッサ2、画像データに基づく画像表示に関わる処理を行う表示コントローラ3、画像データをメモリに記憶させるためのメモリ制御を行うメモリコントローラ4、装置全体の制御を行うCPU5を有している。
【0013】
まず、代表的な動作モードとして、EVF(ビューファインダ)モード、撮影モード、再生モード及びテレビ電話モードのそれぞれについて動作を説明を行う。
【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に入力される。
【0015】
画像取り込みコントローラ1に入力された画像データは間引き回路1aによって間引き処理され、間引かれた結果であるデータがFIFO1bに書き込まれる。この間引き回路1aにおける間引き方式は、図示しない制御信号によってCPU5によって予め設定されている。
【0016】
図2(A)は、間引き回路1aの動作の一例を示すタイミングチャートである。間引き回路1aは、SG11から入力されるピクセルクロック(Pixel Clock)を計数するピクセルカウンタ(Pixel Count)、図示しない水平・垂直同期信号に基づいて、画像のライン数を計数するラインカウンタ(Line Num)を備えており、CPU5によって予め設定された間引き方式と、これらのカウンタの計数値に基づいて、ADC10から入力されるデジタル画像データをラッチし、FIFO1bに書き込むためのクロック(Latch Clock)を生成する。
【0017】
図2(A)の例では、水平640ピクセル、垂直480ラインのデータに対し水平・垂直とも1/2の間引きを行う場合(320×240画素:CIF相当)が例示されている。従って、有効ラインは奇数ラインであり、この期間を示すための信号がActive Line信号である。また、有効ピクセルは奇数ピクセルであり、これを示す信号がActive Pixel信号である。
【0018】
これら信号を基に、図2(B)に示すようにPixel Clock、Active Line信号及びActive Pixel信号の論理積が取られ、これがFIFO1bに書き込むためのLatch Clock信号となる。なお、図2(A)において、FIFO1bに書き込まれるデータがData to FIFOである。
【0019】
尚、この間引き回路1aは、フレーム間引き機能も備える構成にすることが可能である。この場合は、更にフレームカウンタを設け、例えば4フレームごとに1フレームを取り込む場合にはフレームカウンタが「4の倍数+1」のときにActive Frame信号を生成し、図2(B)に示すAND回路の入力に加えるようにすればよい。
【0020】
バスインターフェース回路(BUS IF)1cは、FIFO1bが空でない状態(何等のデータが書込まれている)を検知すると、メインバス(MB)上にデータ書き込みのバストランザクションを発生し、メモリコントローラ4にFIFO1bから読み出したデータを転送する。バスインターフェース回路1cは、通常、画像取り込みクロック(Latch Clock)とは非同期のバスクロックで動作している。従って、FIFO1bの読み出しクロックは、FIFO1bの書き込みクロック(Latch Clock)とは非同期であり、FIFO1bはこの非同期のデータ転送を緩衝するために備えられている。
【0021】
尚、このメインバスMBには、他にもバストランザクションを発生するバスマスタが複数接続されている(信号処理プロセッサ2、表示コントローラ3、CPU5など)ので、同時に複数のバストランザクションが発生する可能性がある。そのためバスアービタ12は、1度に1つだけのバスマスタがバストランザクションを発生できるようにバスを調停する。
【0022】
[メモリコントローラ4の説明]
メモリコントローラ4は、バスインターフェース回路(BUS IF)4aにおいてバストランザクションを受信し、格納すべき画像データ及びその画像データを格納すべきメモリアドレスを一時バッファ4bに書き込む。SDRAMインターフェース回路(SDRAM IF)4cは、画像メモリであるSDRAM13への各種制御信号を出力するとともに、バッファ4bに格納されたメモリアドレス及び画像データをSDRAM13に出力する。バスインターフェース回路4a、バッファ4b、SDRAMインターフェース回路4c、及びSDRAM13は全てバスクロックに同期して動作する。
【0023】
[信号処理プロセッサ2の説明]
信号処理プロセッサ2は、画像データの読み出しのためのバストランザクションを発生し、バスクロックで動作するバスインターフェース回路(BUS IF)2aによって、画像取り込みコントローラによって取り込まれた画像データを画像メモリから読み出す。こうして読み出された画像データはバスクロックに同期して双方向FIFO2bに書き込まれる。DSP(デジタル信号プロセッサ)2cは、バスクロックとは異なるクロック(DSPクロック)で動作しており、このDSPクロックに同期して双方向FIFO2bのデータにアクセスして、カラーマトリクス処理によりYC分離を行い、続いて色補正、エッジ強調、ホワイトバランス調整、ガンマ補正などの処理を行う。このようにして得られた画像データは、モニタ15への表示に用いられる他、画像圧縮にも用いられる。モニタ15への表示用に用いる場合は、表示コントローラ3が読み出せるように、バスインターフェース回路2aを起動して、書き込みのバストランザクションを発生し、SDRAM13にデータを転送する。
【0024】
[EVFモードの説明]
EVFモードにおいては、上述した動作をフレーム毎に繰り返すことによって、連続したフレームを画像メモリ13に取り込む。信号処理プロセッサ2が画像データを書込む画像メモリの領域としては、同一領域を上書きする動作でよい。表示コントローラ3は、その画像メモリの領域より画像データを読み出すことにより表示データを得る。その際、表示コントローラ3は、画像データを読み出すためのバストランザクションを発生し、バスクロックで動作するバスインターフェース回路(BUS IF)3aによって画像メモリ13から表示すべき画像データを読み出す。表示コントローラ3は更に、この読み出した画像データをバスクロックに同期してFIFO3bの書き込みポートに入力する。NTSCのモニタや液晶ディスプレイに代表されるように、一般に表示装置は画面を絶え間なくリフレッシュする必要があるため、有効画面期間中は、あるピクセルクロックで動作し続けなければならない。そのためバスインターフェース回路3aは、FIFO3bがフル状態になるまで画像メモリから画像データを読み出し続ける。
【0025】
次に補間回路3cは、表示ピクセルクロックに同期してFIFO3bより画像データを読み出す。補間回路3cはラインメモリを備えており、FIFO3bより読み出された画像データは、まずこのラインメモリに格納される。このラインメモリに格納された画像データは、補間なしの場合は先頭から順に読み出されてNTSCエンコーダ3dに入力され、NTSCフォーマットの映像データに変換される。この場合、補間回路3cは、1ピクセル分の画像データが読み出されると、直ちに1ピクセル分の画像データをFIFO3bから読み出す。ここでライン補間を行う場合は、(補間するライン数−1)分のラインデータをNTSCエンコーダ3dに送出した後、次のラインは1ピクセル分の画像データをNTSCエンコーダ3dに送出する毎に、FIFO3bから1ピクセル分の画像データを読み出す。例えば、ここでライン方向に4倍の補間を施すときは、3ライン分をそのラインメモリからの画像データで表示し、4ライン目の表示の際には、そのラインの表示を行いながらFIFO3bから次のラインの画像データを読み込んでくるという動作を行う。
【0026】
NTSCエンコーダ3dによってNTSCフォーマットに変換された映像データは、D/A変換器(DAC)14によってアナログ信号に変換された後、NTSCのモニタ15によって表示される。
【0027】
上記の動作をフレームごとに連続して行うことにより、EVFモードの動作となる。このEVFモードでは、画像取り込みコントローラ1がフレーム間引きを行っていたとしても、各フレーム分の画像データを読み出す必要がある。この場合、表示される画像はこま落しになるが、モニタ15は一定のフレームレートで動作し続ける必要があるからである。
【0028】
[撮影モードの説明]
次に、撮影モードでの動作を説明する。この撮影モードでは、1フレーム分の画像データを取り込んだ後、この画像データをJPEG圧縮してメモリカード17などの外部記憶等に記録する。
【0029】
まず、シャッタ・ボタン等含むスイッチ群16のシャッタ・ボタンの押下がCPU5によって検出されると、CPU5は図示しない制御信号により画像取り込みコントローラ1に対し、次の1フレームの画像データを取り込み、それ以降のフレームの画像データを取り込まないように指示する。同様に、信号処理プロセッサ2に対し、次の1フレームの画像データに対して圧縮処理を行うように通知する。
【0030】
画像取り込みコントローラ1は、前述のEVFモードの場合とは異なり、1フレームの画像を取り込んで画像メモリ13に画像データを転送し終えると、動作を一時停止する。信号処理プロセッサ2は、このメモリ13に格納された1フレーム分の画像データを読み出して、EVFモードで表示用の画像データを生成した場合と全く同様にしてYC分離、色補正、エッジ強調、ホワイトバランス調整、ガンマ補正等の画像処理を行う。その後、直ちにその画像データに対して、DCT演算処理、量子化処理、可変長符号化処理などを施して得られた符号化データを、画像メモリ13内の表示用画像データ領域とは別の領域に書き込む。
【0031】
CPU5は、画像メモリ13に記憶された画像データを読み出し、必要なマーカ等を付加してJPEGデータとした後に、メモリカード17に格納する。こうして1フレーム分の画像データの格納が終了すると、CPU5は画像取り込みコントローラ1に対して、EVFモードでの画像信号の取り込み再開するように通知する。
【0032】
なお、メモリカード17に格納された符号化された画像データは、PC等のホストコンピュータとのインターフェースを実現するコミュニケーション回路18を介して、PC等からアクセスすることが可能である。本実施の形態においてはコミュニケーション回路18は、例えばシリアルインターフェース、USB、IrDA、携帯電話モジュールなどを含んでいる。
【0033】
[再生モードの説明]
次に再生モードの動作を説明する。この再生モードでは、画像取り込みコントローラ1の動作は停止している。CPU5はメモリカード17に格納された符号化された圧縮データを読み出してSDRAM13に書き込む。信号処理プロセッサ2は、このSDRAM13に書込まれた符号データを読み出して、復号化、逆量子化、逆DCT変換等の画像伸長処理を行って表示可能な画像データとした後、再びSDRAM13に書き戻す。表示コントローラ3は、この表示可能データをSDRAM13より読み出して表示動作を行う。
【0034】
[テレビ電話モードの説明]
次に、テレビ電話モードの動作を説明する。前述した撮影モードでは、1フレームの画像データを取り込んだ後、画像取り込みコントローラ1は一時動作を停止した。しかし、このテレビ電話モードでは、画像データの取り込み処理を中断せずに、次々に連続するフレームの画像データを取り込む。このときの取り込みフレームレートは、CPU5によって設定された間引き方式に基づいて決定される。こうして取り込まれた画像データは撮影モードの場合と同様の処理によって信号処理プロセッサ2により画像処理及び画像圧縮・符号化処理が施されて、SDRAM13に書き込まれる。こうしてSDRAM13に書き込まれた符号データは、CPU5により読み出され、所定のマーカ等が挿入された後、コミュニケーション回路18の携帯電話モジュールによって電話回線を通じて通話相手に伝送される。
【0035】
一方、電話回線を通じて通話相手より受信した符号データは、コミュニケーション回路18からCPU5を経由してSDRAM13に書き込まれる。信号処理プロセッサ2は、このSDRAM13に書込まれた符号データを読み出して、復号化、逆量子化、逆DCT変換等の画像伸長処理を行って表示可能な画像データとした後、再びSDRAM13に書き戻す。表示コントローラ3は、表示すべき画像データをSDRAM13より読み出してモニタ15に表示するように表示動作を行う。
【0036】
以上のようにして、CCD7により撮像した画像を通話相手に電送するとともに、通信相手から送られてくる画像データを受信してモニタ15に表示することができる。
【0037】
[クロックの説明]
次に、画像取り込みコントローラ1、信号処理プロセッサ2、表示コントローラ3及びメモリコントローラ4のそれぞれに供給されるクロックについて説明する。
【0038】
クロック発生器(CG)19,20,21,22は、CPU5により、そのクロック出力をオン/オフできる可変クロック発生器である。クロック発生器(CG(C))19は、SG11及び画像取り込みコントローラ1の画像取り込み部(間引き回路1a、FIFO1b)の動作クロックを生成する。クロック発生器(CG(D))20は、DSP2cの動作クロックを生成する。クロック発生器(CG(B))21は、各コントローラのバスインターフェース部の動作クロックを生成する。クロック発生器(CG(N))22は、表示コントローラ3のFIFO3b、補間回路3c、NTSCエンコーダ3d及びD/A変換器14の動作クロックを生成する。
【0039】
またクロック発生器21から出力されるバスクロックは、各コントローラのバスインターフェース回路に供給されるが、各コントローラ毎にクロック供給を停止できるようにクロックゲート回路(G)23,24,25,26を備えている。この内、クロックゲート回路26はCPU5によって制御され、クロックゲート回路23はFIFO1bからの制御信号により制御され、クロックゲート回路24はFIFO2bからの、クロックゲート回路25はFIFO3bからの制御信号により制御される。
【0040】
次に、動作モードに応じて間引き回路1a、補間回路3cの設定をどのように制御するかを説明する。
【0041】
動作モードの変更は、ユーザによるスイッチ群16の操作によって行われる。スイッチの構成は様々な例が考えられるが、本実施の形態ではダイアルと押しボタンにより構成する。ダイアルの回転により動作モードの候補が順次更新されて表示され、その候補が表示されている時に押しボタンの押下により、その表示されている動作モードが実際の動作モードとして選択される。この動作モードの選択のイベントによりCPU5に割り込みが発生し、ROM27に格納された割り込み処理ルーチンにより、動作モードの変更処理ルーチンが実行される。
【0042】
この動作モード変更処理ルーチンでは、新たに選択された動作モードを読み取り、その読み取られた動作モードに対応して間引き回路1a及び補間回路3cに初期値が設定される。これら間引き回路1a及び補間回路3cに設定されるデフォルト値は、工場出荷時のROM27に格納されている。ユーザが設定値を変更した場合は、その変更したことを示すフラグと共に、その変更を加えた部分の対応がRAM28に記録される。
【0043】
図3は、動作モードと間引き方式及び補間方式の設定値の対応例を説明する図である。
【0044】
ここでは動作モードとして、EVF、撮影、再生、テレビ電話の4種類が定義されている。間引き方式は解像度(図中ではサイズ(size)と表記)とフレームレート(図中ではフレーム(frame)と表記)とに分けて示しており、補間方式は解像度のみを示してある。なぜなら本実施の形態では、表示がNTSC出力であるためフレームレートが一定だからである。解像度の間引き・補間方式は縦横1/2間引き・補間の場合を「CIF」として示し、縦横1/4間引き・補間の場合を「QCIF」として示している。またフレームレートは、1秒間に30フレームならば30フレーム/s(frame/s)のように示している。また、停止状態を示す場合は「−」と図示している。
【0045】
図3に示す例によれば、動作モード変更ルーチンが読み取った新たな動作モードがEVFモードだった場合は、解像度の間引き・補間方式は「CIF」であり、フレームレートは30フレーム/sと設定する。また撮影モードでは、表示は停止しており、画像取り込みとしてはVGAを1フレームだけ取り込むように設定する。更に再生モードの場合は、画像取り込みは停止しており、表示としては「VGA」を表示する。またテレビ電話モードの場合は、解像度の間引き・補間方式は「QCIF」であり、フレームレートは15フレーム/sと設定する。CPU5は、この図3の内容に相当するデータをROM27又はRAM28より読み出して間引き回路1aにおける間引き方式、及び補間回路3cにおける補間方式の設定を得る。
【0046】
次にクロック発生器19〜22及びクロックゲート回路23〜26の設定をどのように制御するかを説明する。
【0047】
クロック発生器19は、CPU5からのオン信号によりピクセルクロックとして13.5MHzのクロック信号を出力する。このピクセルクロックは通常オン(出力される)であるが、再生モードの場合は新たに画像信号を取り込む必要はないためオフとされる。
【0048】
クロック発生器20は、CPU5からの2ビットのクロック選択信号により4種類の周波数のクロックを発生することができる。即ち、選択信号が“00”の場合は0MHz、即ちクロックの発生が停止された状態であり、“01”の場合は50MHzのクロックを出力し、“10”の場合は100MHzのクロックを出力し、“11”の場合には150MHzのクロックを出力する。この2ビットの選択信号は、ROM27に格納されてCPU5により読み出されて実行される制御プログラムによって制御される。即ち、動作モードと処理する画像データの解像度により単位時間に処理すべき画像データの量が異なるため、例えばEVFモードではVGAの場合は100MHzで動作させ、CIF及びQCIFでは50MHzで動作させるが、テレビ電話モードではVGAの場合は150MHzで動作させ、CIFの場合は100MHzで動作させ、QCIFの場合は50MHzで動作させる、というような制御を行う。
【0049】
クロック発生器21は、CPU5からのオン/オフ信号により起動/停止するとともに、起動状態にあってもFIFO1b,2b,3bからの制御信号によって、その発生するクロックの周波数が変更される。
【0050】
図4は、クロック発生器21の一例を示すブロック図である。
【0051】
21aはクロック原発振器で、80MHzのクロックを常時発生している。21bはクロックの1/2分周器であり、80MHzのクロック信号が入力され40MHzのクロック信号を出力する。21cはクロックの1/2分周器であり、40MHzのクロック信号が入力されて20MHzのクロック信号を出力する。21dはクロックの1/2分周器であり、20MHzのクロック信号が入力されて10MHzのクロック信号を出力する。21eはクロックセレクタで、4つのクロック入力A,B,C,Dのうち1つのクロックを選択信号SelA,SelB,SelC,SelDに応じて出力端子Outに出力する。
【0052】
図5は、このクロックセレクタ21eにおけるクロック信号の選択処理を説明する図である。
【0053】
選択信号SelA、SelB,SelC,SelDの順にプライオリティが高くなり、例えばSelDが“1”の場合は、他の選択信号の状態に拘わらずD端子に入力されたクロック信号がOut端子に出力される。ここで入力A,B,C,Dのそれぞれには、前述した周波数10MHz,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を用いて説明する。
【0054】
図6は、本実施の形態のFIFO1bの構成例を示すブロック図である。
【0055】
このFIFO1bは、同期型デュアルポートSRAM1b0、書き込み制御回路1b1、書き込みアドレス生成(ポインタ生成)回路1b2、読み出し制御回路1b3、読み出しアドレス生成(ポインタ生成)画路1b4及びポインタステータス生成回路1b5を備えている。
【0056】
デュアルポートSRAM1b0は、例えば128(ワード)×8(ビット)のデュアルポートSRAMで、間引き回路1aよりの書き込み有効信号(write en)が入力されるとCCDのピクセルクロック(ccd clk)に同期してCCDデータであるWRITE DATAが、書き込みアドレス生成(ポインタ生成)回路1b2から出力されるメモリアドレスに書き込まれる。こうしてデュアルポートSRAM1b0に1つの画像データが書き込まれた後、書込むアドレス生成回路1b2から出力される書き込みアドレスは1だけインクリメントされる。また読み出し動作は、バスインターフェース回路1cからの読み出し有効信号(read en)が入力されるとバスクロック(bus clk)に同期して読み出しアドレス生成(ポインタ生成)回路1b4の生成するポインタの示すアドレスからREAD DATAが出力される。
【0057】
こうして1つの画像データが読み出された後、読出しアドレス生成回路1b4から出力される読み出しアドレスは1だけインクリメントされる。ポインタステータス回路1b5は、書き込みポインタ(アドレス)と読み出しポインタ(アドレス)の差の絶対値を演算することにより、FIFO1bのステータスを出力する。例えば、差の絶対値が“0”の場合は、FIFO1bが空であることを示すので「1b:Empty」信号を出力する。また、この差の絶対値がFIFO1bの容量(128ワード)の80%以上の場合は、FIFO1bの有効データがFIFO1bの容量の20%以下であることを示すので「1b<20%」信号を出力する。同様に、FIFO1bの有効データが20%から40%の間の場合は「1b>20%」信号を出力し、40%から60%の間の場合は「1b>40%」信号を出力し、60%以上の場合は「1b>60%」信号を出力する。
【0058】
図7は、FIFO2bの構成を示すブロック図である。
【0059】
このFIFO2bは、バスインターフェース回路2aからDSP2c方向のFIFOと逆向きのFIFOの組み合わせとして実現される。バスインターフェース回路2aからDSP2c方向のFIFOは、同期型デュアルポートSRAM2b0、書き込み制御回路2b1、書き込みアドレス生成(ポインタ生成)回路2b2、読み出し制御回路2b3、読み出しアドレス生成(ポインタ生成)回路2b4及びポインタステータス生成回路2b5を備えている。
【0060】
一方、DSP2cからバスインターフェース回路2a向きのFIFOは、同期型デュアルポートSRAM2b6、書き込みアドレス生成(ポインタ生成)回路2b7、読み出しアドレス生成(ポインタ生成)回路2b8、書き込み制御回路2b9、読み出し制御回路2b10及びポインタステータス生成回路2b11を備えている。
【0061】
デュアルポートSRAM2b0は、例えば128(ワード)×8(ビット)のデュアルポートSRAMであり、バスインターフェース回路2aよりの書き込み有効信号(write en)が入力されるとバスクロック(bus clk)に同期してバス転送データであるWRITE DATAが書き込みアドレス生成(ポインタ生成)回路2b2の生成するメモリアドレスに書き込まれる。このデータの書き込み後、書き込みアドレス生成回路2b2から出力される書き込みポインタ(アドレス)はインクリメントされる。また読み出し動作は、DSP2cからの読み出し有効信号(read en)が入力されるとDSPクロック(dsp clk)に同期して読み出しアドレス生成(ポインタ生成)回路2b4の生成するポインタの示すアドレスからREAD DATAが出力されるので、これを読み出す。このデータの読み出し後、読み出しアドレス生成回路2b4から出力される読み出しポインタはインクリメントされる。ポインタステータス回路2b5は、これら書き込みポインタと読み出しポインタの差の絶対値を演算することにより、FIFO2bのステータスデータを出力する。
【0062】
またデュアルポートSRAM2b6は、例えば128(ワード)×8(ビット)のデュアルポートSRAMで、DSP2cからの書き込み有効信号(write en)が入力されるとDSPクロック(dsp clk)に同期してバス転送データであるWRITE DATAが書き込みアドレス生成(ポインタ生成)回路2b7の生成するメモリアドレスに書き込まれる。のデータ書き込み後、書き込みアドレス生成回路2b7から出力される書き込みポインタはインクリメントされる。また読み出し動作は、バスインターフェース回路2aからの読み出し有効信号(read en)が入力されるとバスクロック(bus clk)に同期して読み出しアドレス生成(ポインタ生成)回路2b8の生成するポインタの示すメモリアドレスからREAD DATAを出力するので、これを読み出す。のデータの読み出し後、読み出しアドレス生成回路2b8から出力される読み出しポインタがインクリメントされる。ポインタステータス回路2b11は、これら書き込みポインタと読み出しポインタの差の絶対値を演算することにより、FIFO2bのステータスを出力する。
【0063】
FIFO2bのポインタステータス信号は、上記ポインタステータス回路2b5,2b11の出力の演算により生成される。例えば、2つのFIFOポインタの差の絶対値がともに“0”の場合はFIFO2bが空であることを示すのでAND2b12により「2b: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%」信号を出力する。
【0064】
図8は、FIFO3bの構成を示すブロック図である。
【0065】
図8に示すように、FIFO3bは同期型デュアルポートSRAM3b0、書き込み制御回路3b1、書き込みアドレス生成(ポインタ生成)回路3b2、読み出し制御回路3b3、読み出しアドレス生成(ポインタ生成)回路3b4及びポインタステータス生成回路3b5を備えている。
【0066】
ここで3b0は、例えば128(ワード)×8(ビット)のデュアルポートSRAMであり、バスインターフェース回路3aよりの書き込み有効信号(write en)が入力されるとバスクロック(bus clk)に同期してバス転送データであるWRITE DATAが書き込みアドレス生成(ポインタ生成)回路3b2の生成するメモリアドレスに書き込まれる。このデータ書き込み後、書き込みアドレス生成回路3b2から出力される書き込みポインタがインクリメントされる。また読み出し動作は、補間回路3cからの読み出し有効信号(read en)が入力されると表示クロック(disp clk)に同期して読み出しアドレス生成(ポインタ生成)回路3b4の生成するポインタの示すメモリアドレスからREAD DATAを出力するのでこれを読み出す。のデータの読み出し後、読み出しアドレス生成回路3b4から出力される読み出しポインタがインクリメントされる。ポインタステータス回路3b5は、これら書き込みポインタと読み出しポインタの差の絶対値を演算することにより、FIFO3bのステータスを出力する。例えば、差の絶対値が“128”の場合はFIFO3bが一杯であることを示すので「3b:full」信号を出力し、差の絶対値がFIFO3bの容量(128ワード)の20%以下の場合は、FIFO3bの有効データがFIFO容量の80%以上であることを示すので「3b>80%」信号を出力する。同様に、FIFO3bの有効データが80%から60%の間の場合は「3b<80%」信号を出力し、60%から40%の間の場合は「3b<60%」信号を出力し、40%以下の場合は「3b<40%」信号を出力する。
【0067】
再び図4を用いてクロック発生器21の動作を説明する。
【0068】
各FIFOより入力されるポインタステータス信号は、AND21f,OR21g,21h,21iに入力される。ここでFIFO1b,2bはFIFO内の有効データが少ないほどバスの転送能力に余裕があることを示している。
【0069】
一方、FIFO3bは空き容量がある限りデータを先読みするため、FIFO3bがFULLに近いほどバスの転送能力に余裕があることを示す。AND21fには、「1b<20%」信号と「2b<20%」信号と「3b>80%」信号が入力されており、全ての入力が“1”である状態は全てのバスマスタにとってバス転送能力が十分あることを示している。従って、クロックの周波数を最低に設定することができるので、AND2fの出力をSelA入力とし、周波数10MHzのクロック信号が選択されるようにする。
【0070】
次に転送すべきデータ量が増加してFIFO1b又は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によってセレクタ21eで選択されたバスクロックがゲートされ、クロック信号の出力が停止される。
【0071】
一方、クロック発生器22は、CPU5からのオン信号によりピクセルクロックとして周波数13.5MHzのクロック信号を出力する。
【0072】
次に、クロックゲート回路23,24,25の動作をクロックゲート回路の一例の構成図を用いて説明する。
【0073】
図9は、クロックゲート回路23を説明する回路図である。
【0074】
図9に示すように、クロックゲート回路23は、バスクロック(bus clk)をFIFO1bのエンプティ信号である「1b:Empty」信号(図6)の反転信号でゲートする。即ち、画像取り込みコントローラ1の取り込みデータがなくなると自動的に画像取り込みコントローラ1のバスインターフェース回路1aの動作クロック及びFIFO1bの読み出しクロックが停止する。
【0075】
図10は、クロックゲート回路24を説明する回路図である。
【0076】
図10に示すように、クロックゲート回路24は、バスクロック(bus clk)をFIFO2bのエンプティ信号である「2b:Empty」信号(図7)の反転信号でゲートする。即ち、信号処理プロセッサ2の処理データがなくなると自動的に信号処理プロセッサ2のバスインターフェース回路2aの動作クロック及びFIFO2bのバス側クロックが停止する。
【0077】
図11は、クロックゲート回路25を説明する回路図である。
【0078】
図11に示すように、クロックゲート回路25は、バスクロック(bus clk)をFIFO3bのフル信号である「3b:full」信号(図8)の反転信号でゲートする。即ち、表示コントローラ3の表示データをそれ以上読み出せない状態になると自動的に表示コントローラ2のバスインターフェース回路3aの動作クロック及びFIFO3bの書き込みクロックが停止する。
【0079】
フレームレートに対応するクロック発生器19〜22及びクロックゲート回路23〜26の設定は、CPU5によってフレームごとにクロック発生器及びクロックゲート回路を制御することによって行う。例えば、EVFモードにおいてフレームレートが10フレーム/sと設定されていたならば、画像取り込みコントローラ1及び信号処理プロセッサ2は、3フレームにつき1フレームだけ処理を行えばよいので、取り込みを行わない3フレーム中2フレーム分の期間はクロックゲート回路23及び24及びクロック発生器20により、画像取り込みコントローラ1及び信号処理プロセッサ2へのクロック信号の供給を停止させる。
【0080】
本実施の形態に示したような間引き方式、補間方式の設定とクロック周波数の制御によれば、あらゆる動作モードにおいてユーザの望む解像度やフレームレートを柔軟に設定できるとともに、ユーザの設定した解像度やフレームレートで正常に動作するためのクロック周波数が自動的に設定されるので、あらゆる動作状況においても最大限の省電力効果が得られる。
【0081】
なお本発明は、複数の機器(例えばホストコンピュータ、インターフェース機器、リーダ、プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機、ファクシミリ装置など)に適用してもよい。
【0082】
また本発明の目的は、前述した実施形態の機能を実現するソフトウェアのプログラムコードを記録した記憶媒体(又は記録媒体)を、システム或は装置に供給し、そのシステム或は装置のコンピュータ(又はCPUやMPU)が記憶媒体に格納されたプログラムコードを読み出し実行することによっても達成される。この場合、記憶媒体から読み出されたプログラムコード自体が前述した実施形態の機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているオペレーティングシステム(OS)などが実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。
【0083】
更に、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張カードやコンピュータに接続された機能拡張ユニットに備わるメモリに書込まれた後、そのプログラムコードの指示に基づき、その機能拡張カードや機能拡張ユニットに備わるCPUなどが実際の処理の一部又は全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれる。
【0084】
以上に述べたように本実施の形態の携帯型のテレビ電話端末装置によれば、ユーザの利用形態に応じた柔軟な画質の制御が極めて容易に実現可能となり、また、いかなる動作モードにおいても最大限の消費電力削減を行えるいう効果がある。
【0085】
【発明の効果】
以上説明したように本発明によれば、複数の処理手段のそれぞれに供給するクロック信号の周波数を、処理手段が有するメモリに記憶されているデータ量の情報に応じて切り替えることにより、装置全体の消費電力を抑えることができる。
【図面の簡単な説明】
【図1】本発明の実施の形態に係る携帯型のテレビ電話端末装置の構成を示すブロック図である。
【図2】本実施の形態の間引き回路の動作の一例を示すタイミングチャート(A)及びラッチクロック(Latch Clock)の生成回路を示す図(B)である。
【図3】動作モードと間引き方式及び補間方式の対応を説明する図である。
【図4】本実施の形態に係るクロック発生器の構成を示すブロック図である。
【図5】図4のクロックセレクタにおけるクロック選択を説明する図である。
【図6】本実施の形態に係るFIFO1bの構成例を示すブロック図である。
【図7】本実施の形態に係るFIFO2bの構成例を示すブロック図である。
【図8】本実施の形態に係るFIFO3bの構成例を示すブロック図である。
【図9】本実施の形態に係るクロックゲート回路23の構成例を示す図である。
【図10】本実施の形態に係るクロックゲート回路24の構成例を示す図である。
【図11】本実施の形態に係るクロックゲート回路25の構成例を示す図である。
[0001]
BACKGROUND 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 device, or a camera-equipped notebook PC.
[0002]
[Prior art]
In recent years, with the progress of technologies such as miniaturization, power saving, high integration of LSI, high functionality, low power consumption of solid-state imaging devices such as CCDs, as represented by digital still cameras, batteries Driven portable imaging devices are commonly used. Furthermore, portable videophone terminals with built-in mobile phone functions, notebook PCs with built-in cameras, and the like have been developed. In such a photographing apparatus driven by a battery in particular, power reduction is required in order to extend the operation time of the battery. In addition, in an imaging device driven by an AC power source, a more effective power saving function has been demanded from the viewpoint of environmental protection and the like. Therefore, the remaining battery level has always been displayed, and when the remaining battery level is low, the user is encouraged 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]
[Problems to be solved by the invention]
In general, in a photographing apparatus, the amount of image data to be processed per unit time increases as the frame rate and resolution of a photographed image increase. Therefore, an electronic circuit that handles image data requires a high operation clock frequency. In general, since the power consumption of a circuit increases in proportion to the clock frequency for driving the circuit, an increase in the frame rate and resolution of an image causes an increase in power consumption. Therefore, in order to reduce power consumption, it is desirable to reduce the frame rate and resolution as much as possible.
[0004]
However, for example, a photographing apparatus such as a digital camera has different requirements for the frame rate and resolution of an image to be captured depending on the operation mode. For example, in the electronic viewfinder mode (referred to as EVF mode), it is desirable to display a moving image that is as smooth 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 (referred to as a shooting mode), the frame rate may be the lowest (because it is a still image), but the resolution is required to be the maximum. Further, in the reproduction mode for reproducing the recorded image, the image signal is not captured 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 clear from the above example, each functional block constituting such a photographing apparatus, such as a photographing functional block, an image processing functional block, and a display functional block, processes per unit time according to its operation mode. The amount of data to be greatly changed and it is not always necessary to 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 technique, the power consumption of the device is suppressed only by stopping the supply of the clock signal to the functional block that is completely in the non-operating state, so that effective power reduction can be performed. could not.
[0006]
  The present invention has been made in view of the above-described conventional example, and the frequency of the clock signal supplied to each of the plurality of processing means is determined byeachProcessing meansOf the amount of data stored in the memory ofInformation processing apparatus capable of suppressing the power consumption of the entire apparatus by switching according tocontrolIt aims to provide a method.
[0008]
[Means for Solving the Problems]
  In order to achieve the above object, an information processing apparatus of the present invention has the following configuration. That is,
  A clock generation source for generating clock signals of a plurality of frequencies each having a different frequency;
  Selecting means for selecting any one of a plurality of clock signals output from the clock generation source;
  Each isA memory for storing processed or processed data;A plurality of processing means operated by a clock signal from a clock generation source selected by the selection means;
  The plurality of processing meansInformation on the amount of data stored in the memory included in each processing unit is acquired, and a clock signal for each processing unit is selected according to the acquired information on the amount of data.Selection control means to control;
It is characterized by having.
[0009]
  In order to achieve the above object, the information processing of the present inventionDevice controlThe method comprises the following steps. That is,
  Each is a method of controlling an information processing apparatus having a memory for storing processed or processed data and having a plurality of processing means that operate in response to a clock signal from a clock generation source,
  In order to operate each processing means of the plurality of processing means,A selection step of selecting any one of a plurality of frequency clock signals output from a clock generation source that generates a plurality of clock signals having different frequencies.
  AboveOf multiple processing meansInformation on the amount of data stored in the memory included in each processing unit is acquired, and a clock signal for each processing unit is selected according to the acquired information on the amount of data.A selective control process to control;
It is characterized by having.
[0010]
DETAILED DESCRIPTION OF THE INVENTION
Preferred embodiments of the present invention will be described below in detail with reference to the accompanying drawings.
[0011]
FIG. 1 is a block diagram showing a configuration of a portable videophone terminal device according to an embodiment of the present invention. In FIG. 1, among the lines connecting the functional blocks, the data system connection is shown by a thick solid line, the control system connection is shown by a thin solid line, and the clock system connection is shown by a dotted line. However, not all the connections are illustrated, and only representative wiring connections necessary for the description are illustrated.
[0012]
As main block configurations of this videophone terminal device, an image capturing controller 1 that executes processing relating to capturing of captured image signals, a signal processor 2 that performs image processing on image data generated from the image signals, and an image It has a display controller 3 that performs processing related to image display based on data, a memory controller 4 that performs memory control for storing image data in a memory, and a CPU 5 that controls the entire apparatus.
[0013]
First, operations will be described for each of EVF (viewfinder) mode, shooting mode, playback mode, and videophone mode as typical operation modes.
[0014]
[Description of Image Capture Controller 1]
When an image to be imaged is formed on the CCD 7 via the lens module 6, an image signal corresponding to the image is output from the CCD 7. The lens module 6 includes a lens, a drive system for auto-iris, a drive system for auto-focus, and the like. 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 effective number of pixels captured by the CCD 7 is 640 × 480 pixels (equivalent to VGA). The preprocessing module 8 has CDS (correlated double sampling) and AGC (automatic gain control) functions. The clock and timing signals for the CCD 7 and the preprocessing module 8 are supplied from a timing generation circuit (TG) 9. The image data that has been preprocessed by the preprocessing module 8 is converted into 10-bit digital data by an A / D converter (ADC) 10, and a pixel clock (Pixel Clock) generated by a timing generation circuit (SG) 11. ) In synchronization with the image capture controller 1.
[0015]
The image data input to the image capture controller 1 is thinned by the thinning circuit 1a, and the data resulting from the thinning is written into the FIFO 1b. The thinning method in the thinning circuit 1a is preset by the CPU 5 by a control signal (not shown).
[0016]
FIG. 2A is a timing chart showing an example of the operation of the thinning circuit 1a. The thinning circuit 1a includes a pixel counter (Pixel Count) for counting a pixel clock (Pixel Clock) input from the SG 11, and a line counter (Line Num) for counting the number of lines of an image based on a horizontal / vertical synchronization signal (not shown). Based on the thinning method preset by the CPU 5 and the count values of these counters, the digital image data input from the ADC 10 is latched and a clock (Latch Clock) for writing to the FIFO 1b is generated. .
[0017]
In the example of FIG. 2A, a case where 1/2 horizontal and vertical thinning is performed on data of horizontal 640 pixels and vertical 480 lines (320 × 240 pixels: equivalent to CIF) is illustrated. Therefore, the effective line is an odd line, and the signal for indicating this period is the Active Line signal. The effective pixels are odd pixels, and a signal indicating this is an Active Pixel signal.
[0018]
Based on these signals, the logical product of the Pixel Clock, the Active Line signal, and the Active Pixel signal is obtained as shown in FIG. 2B, and this is the Latch Clock signal for writing to the FIFO 1b. In FIG. 2A, data to be written to the FIFO 1b is Data to FIFO.
[0019]
The thinning circuit 1a can be configured to have a frame thinning function. In this case, a frame counter is further provided. For example, when one frame is captured every four frames, an Active Frame signal is generated when the frame counter is “a multiple of 4 + 1”, and the AND circuit shown in FIG. Should be added to the input.
[0020]
When the bus interface circuit (BUS IF) 1c detects that the FIFO 1b is not empty (any data is written), the bus interface circuit (BUS IF) 1c generates a data write bus transaction on the main bus (MB) and sends it to the memory controller 4. Data read from the FIFO 1b is transferred. The bus interface circuit 1c normally operates with a bus clock asynchronous with the image capture clock (Latch Clock). Accordingly, the read clock of the FIFO 1b is asynchronous with the write clock (Latch Clock) of the FIFO 1b, and the FIFO 1b is provided to buffer this asynchronous data transfer.
[0021]
Since a plurality of other bus masters that generate bus transactions are connected to the main bus MB (signal processor 2, display controller 3, CPU 5, etc.), there is a possibility that a plurality of bus transactions may occur simultaneously. is there. Therefore, the bus arbiter 12 arbitrates the bus so that only one bus master can generate a bus transaction at a time.
[0022]
[Description of Memory Controller 4]
The memory controller 4 receives the bus transaction in the bus interface circuit (BUS IF) 4a, and writes the image data to be stored and the memory address to store the image data in 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]
[Description of Signal Processor 2]
The signal processor 2 generates a bus transaction for reading image data, and reads out the image data captured by the image capture controller from the image memory by a bus interface circuit (BUS IF) 2a that operates with a bus clock. The image data read out in this way is written into the bidirectional FIFO 2b in synchronization with the bus clock. The DSP (digital signal processor) 2c operates with a clock (DSP clock) different from the bus clock, accesses the data of the bidirectional FIFO 2b in synchronization with the DSP clock, and performs YC separation by color matrix processing. Subsequently, processing such as color correction, edge enhancement, white balance adjustment, and gamma correction is performed. The image data obtained in this way 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 it, a write bus transaction is generated, and data is transferred to the SDRAM 13.
[0024]
[Explanation of EVF mode]
In the EVF mode, consecutive frames are taken into the image memory 13 by repeating the above operation for each frame. The area of the image memory into which the signal processor 2 writes image data may be an operation of overwriting the same area. The display controller 3 obtains display data by reading out image data from the area of the image memory. At that time, the display controller 3 generates a bus transaction for reading out the image data, and reads out the image data to be displayed from the image memory 13 by the bus interface circuit (BUS IF) 3a operating with the 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. As represented by NTSC monitors and liquid crystal displays, a display device generally needs to continuously refresh the screen, and therefore must continue to operate at a certain pixel clock during the effective screen period. Therefore, the bus interface circuit 3a continues to read image data from the image memory until the FIFO 3b becomes full.
[0025]
Next, the interpolation circuit 3c reads image data from the FIFO 3b in synchronization with the display pixel clock. The interpolation circuit 3c is provided with a line memory, and the image data read from the FIFO 3b is first stored in this line memory. The image data stored in the line memory is read in order from the head when there is no interpolation, is input to the NTSC encoder 3d, and is converted into video data in the NTSC format. In this case, when the image data for one pixel is read, the interpolation circuit 3c immediately reads the image data for one pixel from the FIFO 3b. When performing line interpolation here, after sending line data for (number of lines to be interpolated-1) to the NTSC encoder 3d, the next line is sent every time image data for one pixel is sent to the NTSC encoder 3d. Image data for one pixel is read from the FIFO 3b. For example, here, when performing quadruple interpolation in the line direction, three lines are displayed as image data from the line memory, and when displaying the fourth line, from the FIFO 3b while displaying the line. The image data of the next line is read.
[0026]
The video data converted into the NTSC format by the NTSC encoder 3d is converted into an analog signal by the D / A converter (DAC) 14 and then displayed on the monitor 15 of the NTSC.
[0027]
The operation in the EVF mode is performed by performing the above operation continuously for each frame. In this EVF mode, it is necessary to read image data for each frame even if the image capture controller 1 performs frame thinning. In this case, the displayed image is dropped, but the monitor 15 needs to continue to operate at a constant frame rate.
[0028]
[Explanation of shooting mode]
Next, the operation in the shooting mode will be described. In this shooting mode, after one frame of image data is captured, this image data is JPEG compressed and recorded in an external storage such as the memory card 17.
[0029]
First, when the CPU 5 detects that the shutter button of the switch group 16 including the shutter button is pressed, the CPU 5 captures the next frame of image data to the image capture controller 1 by a control signal (not shown) and thereafter. Instructs not to capture the image data of the current frame. Similarly, the signal processor 2 is notified to compress the next one frame of image data.
[0030]
Unlike the case of the EVF mode described above, the image capture controller 1 temporarily stops its operation when it captures one frame of image and transfers the image data to the image memory 13. The signal processor 2 reads out the image data for one frame stored in the memory 13 and performs YC separation, color correction, edge enhancement, white in exactly the same way as when generating image data for display in the EVF mode. Performs image processing such as balance adjustment and gamma correction. Immediately after that, the encoded data obtained by subjecting the image data to DCT arithmetic processing, quantization processing, variable-length encoding processing, and the like are stored in an area different from the display image data area in the image memory 13. Write to.
[0031]
The CPU 5 reads the image data stored in the image memory 13, adds necessary markers and the like to JPEG data, and stores the data in the memory card 17. When the storage of the image data for one frame is thus completed, the CPU 5 notifies the image capture controller 1 to resume the capture of the image signal in the EVF mode.
[0032]
The encoded image data stored in the memory card 17 can be accessed from a PC or the like via a communication circuit 18 that implements an interface with a host computer such as a PC. In the present embodiment, the communication circuit 18 includes, for example, a serial interface, USB, IrDA, a mobile phone module, and the like.
[0033]
[Description of playback mode]
Next, the operation in the playback mode will be described. In this playback mode, the operation of the image capture controller 1 is stopped. The CPU 5 reads the encoded compressed data stored in the memory card 17 and writes it in the SDRAM 13. The signal processor 2 reads the code data written in the SDRAM 13, performs image decompression processing such as decoding, inverse quantization, and inverse DCT conversion to obtain displayable image data, and then writes the data again in the SDRAM 13. return. The display controller 3 reads this displayable data from the SDRAM 13 and performs a display operation.
[0034]
[Description of videophone mode]
Next, the operation in the videophone mode will be described. In the above-described shooting mode, the image capture controller 1 stops the temporary operation after capturing one frame of image data. However, in this videophone mode, image data of consecutive frames are captured one after another without interrupting the image data capturing process. The capture frame rate at this time is determined based on the thinning method set by the CPU 5. 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 photographing mode, and is written in the SDRAM 13. The code data thus written in the SDRAM 13 is read by the CPU 5, inserted with a predetermined marker, etc., and then transmitted to the other party through the telephone line by the mobile phone module of the communication circuit 18.
[0035]
On the other hand, code data received from the other party through the telephone line is written from the communication circuit 18 to the SDRAM 13 via the CPU 5. The signal processor 2 reads the code data written in the SDRAM 13, performs image decompression processing such as decoding, inverse quantization, and inverse DCT conversion to obtain displayable image data, and then writes the data again in the SDRAM 13. return. The display controller 3 performs a display operation so that image data to be displayed is read from the SDRAM 13 and displayed on the monitor 15.
[0036]
As described above, the image picked up by the CCD 7 can be transmitted to the call partner, and the image data sent from the communication partner can be received and displayed on the monitor 15.
[0037]
[Clock Description]
Next, clocks supplied to the image capture controller 1, the signal processor 2, the display controller 3, and the memory controller 4 will be described.
[0038]
Clock generators (CG) 19, 20, 21, 22 are variable clock generators whose clock output can be turned on / off by the CPU 5. The clock generator (CG (C)) 19 generates an operation clock for the SG 11 and the image capturing unit (thinning circuit 1a, FIFO 1b) of the image capturing controller 1. The clock generator (CG (D)) 20 generates an operation clock for the DSP 2c. The clock generator (CG (B)) 21 generates an operation clock for the bus interface unit of each controller. The clock generator (CG (N)) 22 generates operation clocks for the FIFO 3b, the interpolation circuit 3c, the NTSC encoder 3d, and the D / A converter 14 of the display controller 3.
[0039]
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, 24, 25, and 26 are provided so that the clock supply can be stopped for each controller. I have. 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 the FIFO 2b, and the clock gate circuit 25 is controlled by a control signal from the FIFO 3b. .
[0040]
Next, how to control the setting of the thinning circuit 1a and the interpolation circuit 3c according to the operation mode will be described.
[0041]
The operation mode is changed by operating the switch group 16 by the user. 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. By rotating the dial, the operation mode candidates are sequentially updated and displayed, and when the candidates are displayed, the displayed operation mode is selected as the actual operation mode by pressing the push button. An interrupt is generated in the CPU 5 by this operation mode selection event, and the operation mode change processing routine is executed by the interrupt processing routine stored in the ROM 27.
[0042]
In this operation mode change processing routine, the newly selected operation mode is read, and initial values are set in the thinning circuit 1a and the interpolation circuit 3c in accordance with the read operation mode. The default values set in the thinning circuit 1a and the interpolation circuit 3c are stored in the ROM 27 at the time of factory shipment. When the user changes the set value, the correspondence of the changed part is recorded in the RAM 28 together with a flag indicating the change.
[0043]
FIG. 3 is a diagram for explaining an example of correspondence between operation modes and setting values of the thinning method and the interpolation method.
[0044]
Here, four types of operation modes are defined: EVF, shooting, playback, and videophone. The thinning method is divided into resolution (indicated as size in the figure) and frame rate (indicated as frame in the figure), and the interpolation method shows only resolution. This is because in this embodiment, the frame rate is constant because the display is NTSC output. In the resolution thinning / interpolation method, the case of vertical / horizontal thinning / interpolation is indicated as “CIF”, and the case of vertical / horizontal thinning / interpolation is indicated as “QCIF”. The frame rate is shown as 30 frames / s (frame / s) if 30 frames per second. Further, in the case of indicating a stopped state, “−” is illustrated.
[0045]
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 set to 30 frames / s. To do. In the shooting mode, the display is stopped, and the image capture is set to capture only one frame of VGA. Further, in the reproduction mode, the image capturing is stopped and “VGA” is displayed as the display. In the videophone mode, the resolution thinning / interpolation method is “QCIF” and the frame rate is set to 15 frames / s. The CPU 5 reads data corresponding to the contents of FIG. 3 from the ROM 27 or RAM 28 and obtains the setting of the thinning method in the thinning circuit 1a and the interpolation method in the interpolation circuit 3c.
[0046]
Next, how the settings of the clock generators 19 to 22 and the clock gate circuits 23 to 26 are controlled will be described.
[0047]
The clock generator 19 outputs a 13.5 MHz clock signal as a pixel clock in response to an ON signal from the CPU 5. This pixel clock is normally on (output), but in the reproduction mode, it is not necessary to newly capture an image signal, and is turned off.
[0048]
The clock generator 20 can generate clocks of four kinds of frequencies by a 2-bit clock selection signal from the CPU 5. That is, when the selection signal is “00”, the generation of the clock is 0 MHz, that is, the generation of the clock is stopped. When the selection signal is “01”, the clock of 50 MHz is output. When the selection signal is “10”, the clock of 100 MHz is output. In the case of “11”, a clock of 150 MHz is output. This 2-bit selection signal is controlled by a control program stored in the ROM 27, read out by the CPU 5, and executed. That is, the amount of image data to be processed per unit time differs depending on the resolution of the operation mode and the image data to be processed. For example, in the EVF mode, the VGA operates at 100 MHz, and the CIF and QCIF operate at 50 MHz. In the telephone mode, control is performed such that the VGA is operated at 150 MHz, the CIF is operated at 100 MHz, and the QCIF is operated at 50 MHz.
[0049]
The clock generator 21 is activated / 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]
FIG. 4 is a block diagram illustrating an example of the clock generator 21.
[0051]
Reference numeral 21a denotes a clock source oscillator which constantly generates an 80 MHz clock. Reference numeral 21b denotes a clock ½ divider which receives an 80 MHz clock signal and outputs a 40 MHz clock signal. Reference numeral 21c denotes a clock ½ divider which receives a 40 MHz clock signal and outputs a 20 MHz clock signal. Reference numeral 21d denotes a clock ½ divider which receives a 20 MHz clock signal and outputs a 10 MHz clock signal. A clock selector 21e outputs one clock from the four clock inputs A, B, C, and D to the output terminal Out in response to the selection signals SelA, SelB, SelC, and SelD.
[0052]
FIG. 5 is a diagram for explaining clock signal selection processing in the clock selector 21e.
[0053]
The priority increases 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. . Here, the clock signals having the aforementioned frequencies of 10 MHz, 20 MHz, 40 MHz, and 80 MHz are input to the inputs A, B, C, and D, respectively. The output of the AND circuit 21f is connected to the terminal SelA, the output of the OR 21g is connected to the terminal SelB, the output of the OR 21h is connected to the terminal SelC, and the output of the OR 21I is connected to the terminal SelD. The pointer status signals of the FIFOs 1b, 2b, 3b are connected to the inputs of the AND 21f, OR 21g, 21h, 21i, 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 FIFO 1b, FIG. 7, which is a configuration diagram of an example of FIFO 2b, and FIG. 8, which is a configuration diagram of an example of FIFO 3b.
[0054]
FIG. 6 is a block diagram illustrating a configuration example of the FIFO 1b according to the present embodiment.
[0055]
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, a read address generation (pointer generation) image path 1b4, and a pointer status generation circuit 1b5. .
[0056]
The dual port SRAM 1b0 is, for example, a 128 (word) × 8 (bit) dual port SRAM. When a write enable signal (write en) is input from the thinning circuit 1a, the dual port SRAM 1b0 is synchronized with the CCD pixel clock (ccd clk). WRITE DATA, which is CCD data, is written to the memory address output from the write address generation (pointer generation) circuit 1b2. Thus, after one image data is written to 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 the address indicated by the pointer generated by the read address generation (pointer generation) circuit 1b4 in synchronization with the bus clock (bus clk) when the read enable signal (read en) is input from the bus interface circuit 1c. READ DATA is output.
[0057]
After one image data is read in this way, 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, when the absolute value of the difference is “0”, it indicates that the FIFO 1b is empty, so that the “1b: Empty” signal is output. When the absolute value of this difference is 80% or more of the capacity of the FIFO 1b (128 words), it indicates that the valid data of the FIFO 1b is 20% or less of the capacity of the FIFO 1b, so that a “1b <20%” signal is output. To do. Similarly, when the valid data of the FIFO 1b is between 20% and 40%, a “1b> 20%” signal is output, and when it is between 40% and 60%, a “1b> 40%” signal is output. In the case of 60% or more, a “1b> 60%” signal is output.
[0058]
FIG. 7 is a block diagram showing the configuration of the FIFO 2b.
[0059]
The FIFO 2b is realized as a combination of the FIFO in the direction from the bus interface circuit 2a to the DSP 2c and the FIFO in the reverse direction. The FIFO from the bus interface circuit 2a to the DSP 2c includes a synchronous dual port SRAM 2b0, a write control circuit 2b1, a write address generation (pointer generation) circuit 2b2, a read control circuit 2b3, a read address generation (pointer generation) circuit 2b4, and a pointer status generation. A circuit 2b5 is provided.
[0060]
On the other hand, the FIFO from the DSP 2c to the bus interface circuit 2a includes a synchronous dual port SRAM 2b6, a write address generation (pointer generation) circuit 2b7, a read address generation (pointer generation) circuit 2b8, a write control circuit 2b9, a read control circuit 2b10, and a pointer. A status generation circuit 2b11 is provided.
[0061]
The dual port SRAM 2b0 is, for example, a 128 (word) × 8 (bit) dual port SRAM. When a write enable signal (write en) is input from the bus interface circuit 2a, the dual port SRAM 2b0 is synchronized with the bus clock (bus clk). WRITE DATA, which is bus transfer data, is written to the memory address generated by the write address generation (pointer generation) circuit 2b2. After the data is written, the write pointer (address) output from the write address generation circuit 2b2 is incremented. In the read operation, when a read enable signal (read en) is input from the DSP 2c, READ DATA is read 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). Since it is output, this is read out. After reading this data, the read pointer output from the read address generation circuit 2b4 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]
  The dual port SRAM 2b6 is, for example, a 128 (word) × 8 (bit) dual port SRAM. When a write enable signal (write en) is input from the DSP 2c, the bus transfer data is synchronized with the DSP clock (dsp clk). WRITE DATA is written to the memory address generated by the write address generation (pointer generation) circuit 2b7.ThisAfter the data is written, the write pointer output from the write address generation circuit 2b7 is incremented. In the read operation, when a read enable signal (read en) is input from the bus interface circuit 2a, the memory address indicated by the pointer generated by the read address generation (pointer generation) circuit 2b8 is synchronized with the bus clock (bus clk). Since READ DATA is output from, read this.ThisAfter reading the 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]
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 values of the differences between the two FIFO pointers are both “0”, this indicates that the FIFO 2b is empty, so that the AND2b12 outputs a “2b: Empty” signal. If the absolute value of the difference between the two FIFO pointers is 80% or more of the capacity of the FIFO 2b (128 words), it indicates that the valid data of the FIFO 2b is 20% or less of the capacity of the FIFO 2b. % "Signal is output. Similarly, when the valid data of at least one FIFO is between 20% and 40%, a “2b> 20%” signal is output by OR2b14, and when at least one is between 40% and 60%, OR2b15 A “2b> 40%” signal is output, and if at least one is 60% or more, a “2b> 60%” signal is output by OR2b16.
[0064]
FIG. 8 is a block diagram showing the configuration of the FIFO 3b.
[0065]
As shown in FIG. 8, the FIFO 3b includes a synchronous dual port SRAM 3b0, a write control circuit 3b1, a write address generation (pointer generation) circuit 3b2, a read control circuit 3b3, a read address generation (pointer generation) circuit 3b4, and a pointer status generation circuit 3b5. It has.
[0066]
  Here, 3b0 is, for example, a 128 (word) × 8 (bit) dual port SRAM. When a write enable signal (write en) is input from the bus interface circuit 3a, it is synchronized with the bus clock (bus clk). WRITE DATA, which is bus transfer data, is written to the memory address generated by the write address generation (pointer generation) circuit 3b2. After this data writing, the write pointer output from the write address generation circuit 3b2 is incremented. The read operation is performed 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 enable signal (read en) is input from the interpolation circuit 3c. Read DATA because it outputs READ DATA.ThisAfter reading the 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, if the absolute value of the difference is “128”, it indicates that the FIFO 3b is full, so a “3b: full” signal is output, and the absolute value of the difference is 20% or less of the capacity of the FIFO 3b (128 words). Indicates that the valid data in the FIFO 3b is 80% or more of the FIFO capacity, so that a “3b> 80%” signal is output. Similarly, when the valid data of the FIFO 3b is between 80% and 60%, a “3b <80%” signal is output, and when it is between 60% and 40%, a “3b <60%” signal is output. In the case of 40% or less, a “3b <40%” signal is output.
[0067]
The operation of the clock generator 21 will be described with reference again to FIG.
[0068]
A pointer status signal input from each FIFO is input to AND 21f, OR 21g, 21h, and 21i. Here, the FIFOs 1b and 2b indicate that the smaller the valid data in the FIFO, the more the transfer capability of the bus.
[0069]
On the other hand, since the FIFO 3b prefetches data as long as there is free capacity, the closer the FIFO 3b is to FULL, the more the bus transfer capacity is. The AND 21f receives the “1b <20%” signal, the “2b <20%” signal, and the “3b> 80%” signal. When all the inputs are “1”, the bus transfer is performed for all the bus masters. It shows that there is enough ability. Therefore, since the clock frequency can be set to the minimum, the output of AND2f is used as the SelA input, and a clock signal having a frequency of 10 MHz is selected.
[0070]
When the amount of data to be transferred next increases and at least one of FIFO1b or FIFO2b exceeds 20% or FIFO3b falls below 80%, the output of OR21g becomes “1” and a clock signal with a frequency of 20 MHz. Is selected. When the amount of data to be transferred further increases and at least one of FIFO1b or FIFO2b exceeds 40% or FIFO3b falls below 60%, the output of OR21b becomes “1” and the clock signal with a frequency of 40 MHz is selected. Is done. If the amount of data to be transferred further increases and at least one of FIFO1b or FIFO2b exceeds 60% or FIFO3b falls below 40%, the output of OR21i becomes “1” and the clock signal with a frequency of 80 MHz is selected. Is done. That is, the frequency of the bus clock can be automatically increased by dynamically detecting that the data transfer capability of at least one bus master has been insufficient. In order to stop the bus clock of the clock generator 21, the CPU 5 sets the clock on signal to “0”. As a result, the bus clock selected by the selector 21e is gated by the AND gate 21j, and the output of the clock signal is stopped.
[0071]
On the other hand, the clock generator 22 outputs a clock signal having a frequency of 13.5 MHz as a pixel clock in response to an ON signal from the CPU 5.
[0072]
Next, operations of the clock gate circuits 23, 24, and 25 will be described with reference to a configuration diagram of an example of the clock gate circuit.
[0073]
FIG. 9 is a circuit diagram illustrating the clock gate circuit 23.
[0074]
As shown in FIG. 9, the clock gate circuit 23 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, when there is no captured data of the image capture controller 1, the operation clock of the bus interface circuit 1a of the image capture controller 1 and the read clock of the FIFO 1b are automatically stopped.
[0075]
FIG. 10 is a circuit diagram illustrating the clock gate circuit 24.
[0076]
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 the empty signal of the FIFO 2b. That is, when there is no processing data of the signal processor 2, the operation clock of the bus interface circuit 2a of the signal processor 2 and the bus side clock of the FIFO 2b are automatically stopped.
[0077]
FIG. 11 is a circuit diagram illustrating the clock gate circuit 25.
[0078]
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]
The clock generators 19 to 22 and the clock gate circuits 23 to 26 corresponding to the frame rate are set by the CPU 5 controlling the clock generator and the clock gate circuit for each frame. 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 process 1 frame per 3 frames. During the middle two 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.
[0080]
According to the setting of the thinning method and interpolation method and the clock frequency control as shown in this embodiment, the resolution and frame rate desired by the user can be set flexibly in all operation modes, and the resolution and frame set by the user can be set. Since the clock frequency for normal operation at the rate is automatically set, the maximum power saving effect can be obtained in any operating situation.
[0081]
Note that the present invention can be applied to a system (for example, a copier, a facsimile machine, etc.) composed of a single device even if it is applied to a system composed of a plurality of devices (for example, a host computer, interface device, reader, printer, etc.). May be.
[0082]
Another object of the present invention is to supply a storage medium (or recording medium) in which a program code of software that implements the functions of the above-described embodiments is recorded to a system or apparatus, and the computer (or CPU) of the system or apparatus. Or MPU) can also be achieved by reading and executing the program code stored in the storage medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the present invention. Further, 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. A case where part or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing is also included.
[0083]
Further, after the program code read from the storage medium is written in a memory provided in a function expansion card inserted into the computer or a function expansion unit connected to the computer, the function is determined based on the instruction of the program code. This includes the case where the CPU of the expansion card or the function expansion unit performs part or all of the actual processing and the functions of the above-described embodiments are realized by the processing.
[0084]
As described above, according to the portable videophone terminal device of the present embodiment, flexible image quality control according to the user's usage mode can be realized very easily, and the maximum in any operation mode. There is an effect that power consumption can be reduced as much as possible.
[0085]
【The invention's effect】
  As described above, according to the present invention, the frequency of the clock signal supplied to each of the plurality of processing means iseachProcessing meansOf the amount of data stored in the memory ofBy switching according to the power consumption, the power consumption of the entire apparatus can be suppressed.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a portable videophone terminal device according to an embodiment of the present invention.
FIGS. 2A and 2B are a timing chart (A) illustrating an example of the operation of the thinning circuit according to the present embodiment and a diagram (B) illustrating a latch clock (Latch Clock) generation circuit; FIGS.
FIG. 3 is a diagram for explaining a correspondence between an operation mode, a thinning method, and an interpolation method.
FIG. 4 is a block diagram showing a configuration of a clock generator according to the present embodiment.
FIG. 5 is a diagram for explaining clock selection in the clock selector of FIG. 4;
FIG. 6 is a block diagram showing a configuration example of a FIFO 1b according to the present embodiment.
FIG. 7 is a block diagram showing a configuration example of a FIFO 2b according to the present embodiment.
FIG. 8 is a block diagram showing a configuration example of a FIFO 3b according to the present embodiment.
FIG. 9 is a diagram showing a configuration example of a clock gate circuit 23 according to the present embodiment.
FIG. 10 is a diagram showing a configuration example of a clock gate circuit 24 according to the present embodiment.
FIG. 11 is a diagram showing a configuration example of a clock gate circuit 25 according to the present embodiment.

Claims (6)

それぞれ周波数の異なる複数の周波数のクロック信号を発生するクロック発生源と、
前記クロック発生源から出力される複数の周波数のクロック信号のいずれかを選択する選択手段と、
それぞれが、処理済み或は処理対象のデータを記憶するメモリを有し、前記選択手段により選択されたクロック発生源からのクロック信号により動作する複数の処理手段と、
前記複数の処理手段の各処理手段が有する前記メモリに記憶されているデータ量の情報を取得し、当該取得したデータ量の情報に応じて各処理手段に対するクロック信号を選択するように制御する選択制御手段と、
を有することを特徴とする情報処理装置。
A clock generation source for generating clock signals of a plurality of frequencies each having a different frequency;
Selecting means for selecting any one of a plurality of clock signals output from the clock generation source;
A plurality of processing means each having a memory for storing processed or processing target data and operated by a clock signal from a clock generation source selected by the selection means;
Selection for acquiring information on the amount of data stored in the memory included in each processing unit of the plurality of processing units, and controlling to select a clock signal for each processing unit in accordance with the acquired information on the amount of data Control means;
An information processing apparatus comprising:
前記複数の処理手段の1つは、
撮像した画像信号を入力する入力手段と、
前記入力手段により入力された画像信号を間引く間引き手段とを有し
前記間引き手段により間引かれた画像信号を前記メモリに記憶することを特徴とする請求項1に記載の情報処理装置。
One of the plurality of processing means is:
An input means for inputting a captured image signal;
And a thinning means for thinning the image signal input by said input means,
The information processing apparatus according to claim 1, wherein the benzalkonium be stored an image signal thinned out by the thinning means in the memory.
前記複数の処理手段の1つは、
前記メモリに記憶された画像信号を補間する補間手段と、
前記補間手段により補間された画像信号に基づいて画像を表示する表示手段とを有することを特徴とする請求項2に記載の情報処理装置。
One of the plurality of processing means is:
And interpolating means for interpolating the image signals stored in said memory,
The information processing apparatus according to claim 2, further comprising display means for displaying an image based on the image signal interpolated by the interpolation means.
前記メモリはFIFOであり、前記データ量の情報は前記FIFOに占める有効データの割合を表す情報であることを特徴とする請求項1乃至3のいずれか1項に記載の情報処理装置。The memory is a FIFO, information of the amount of data information processing apparatus according to any one of claims 1 to 3, characterized in that the information representative of the percentage of valid data occupying the FIFO. それぞれが、処理済み或は処理対象のデータを記憶するメモリを有しクロック発生源からのクロック信号により動作する複数の処理手段を有する情報処理装置の制御方法であって、
前記複数の処理手段の各処理手段を動作させるために、それぞれ周波数の異なる複数の周波数のクロック信号を発生するクロック発生源から出力される複数の周波数のクロック信号のいずれかを選択する選択工程と、
前記複数の処理手段の各処理手段が有するメモリに記憶されているデータ量の情報を取得し、前記取得したデータ量の情報に応じて各処理手段に対するクロック信号を選択するように制御する選択制御工程と、
を有することを特徴とする情報処理装置の制御方法。
Each is a method of controlling an information processing apparatus having a memory for storing processed or processed data and having a plurality of processing means that operate in response to a clock signal from a clock generation source,
A selection step of selecting any one of a plurality of clock signals having a plurality of frequencies output from a clock generation source generating a clock signal having a plurality of frequencies different from each other in order to operate each processing unit of the plurality of processing units ; ,
Acquires the data amount of information stored in the memory of the respective processing means of the plurality of processing means, the acquired selection control for controlling so as to select the clock signal for each processing unit in accordance with the data amount of the information Process,
A method for controlling an information processing apparatus, comprising :
請求項に記載の情報処理装置の制御方法をコンピュータに実行させるためのプログラムを記憶した、コンピュータにより読取り可能な記憶媒体。A computer-readable storage medium storing a program for causing a computer to execute the control method of the information processing apparatus according to claim 5 .
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 JP2001237930A (en) 2001-08-31
JP2001237930A5 JP2001237930A5 (en) 2007-04-12
JP4266477B2 true 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)

Families Citing this family (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
GB2387508B (en) * 2002-04-12 2005-06-29 Nec Technologies Mobile radio communications device and method of operation
JP5224924B2 (en) * 2008-06-18 2013-07-03 キヤノン株式会社 Communication control device
KR101935356B1 (en) 2012-04-27 2019-01-04 엘지전자 주식회사 Method of controlling display processor

Also Published As

Publication number Publication date
JP2001237930A (en) 2001-08-31

Similar Documents

Publication Publication Date Title
KR101796481B1 (en) Method of eliminating shutter-lags with low power consumption, camera module, and mobile device having the same
US7586533B2 (en) Image processing apparatus, image processing method, program, and storage medium
JP2001238190A (en) Image processing apparatus and its control processing method
US20060133695A1 (en) Display controller, electronic instrument, and image data supply method
US7154550B1 (en) Electronic camera for quickly confirming a recorded image
JP4245139B2 (en) Image processing device
US7411617B2 (en) Image processing apparatus, image processing method, recording medium, and program
US6446155B1 (en) Resource bus interface
US20130308014A1 (en) Moving-image capturing apparatus and electronic zoom method for moving image
JP2001238189A (en) Image processing apparatus, and operation control method for the same
CN102547086B (en) Image capturing apparatus, image capturing control method, and storage medium storing program for image capturing
US6661452B1 (en) Digital camera capable of decreasing a required memory capacity
JP4298358B2 (en) Image processing system
WO2003030529A1 (en) Television reception apparatus
JP4266477B2 (en) Information processing apparatus and control method thereof
KR100685300B1 (en) Method for transferring encoded data and image pickup device performing the method
JP2006014298A (en) Method for processing rotated image and multimedia processor
JP2013211715A (en) Imaging device
JP4481458B2 (en) Data processing circuit of imaging device
US20070008325A1 (en) Method and apparatus providing for high efficiency data capture for compression encoding
US7656433B2 (en) Web camera
US6636639B1 (en) Image recording apparatus, image recording method and storage medium
JP2004328037A (en) Imaging and image recording apparatus
JP2009530890A (en) System and method enabling high-speed extraction of interleaved video data
JP2021132339A (en) Electronic apparatus, control metho of the same, and program

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