JP2004151529A - Display control device and its method - Google Patents

Display control device and its method Download PDF

Info

Publication number
JP2004151529A
JP2004151529A JP2002318373A JP2002318373A JP2004151529A JP 2004151529 A JP2004151529 A JP 2004151529A JP 2002318373 A JP2002318373 A JP 2002318373A JP 2002318373 A JP2002318373 A JP 2002318373A JP 2004151529 A JP2004151529 A JP 2004151529A
Authority
JP
Japan
Prior art keywords
image data
still image
data
display control
rgb
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.)
Pending
Application number
JP2002318373A
Other languages
Japanese (ja)
Inventor
Hideki Osada
英樹 長田
Tadashi Kayata
忠 加宅田
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2002318373A priority Critical patent/JP2004151529A/en
Publication of JP2004151529A publication Critical patent/JP2004151529A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Transforming Electric Information Into Light Information (AREA)
  • Storing Facsimile Image Data (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a display control device and its method capable of improving the plotting performance of a display device. <P>SOLUTION: The display control device 101 is provided with a RAM 130 for storing still image data, a direct memory access (DMA) controller 1141 for reading out the still image data from the RAM 130, temporarily storing the read data and transferring the data to the display device 102, a CPU 111 for controlling the transfer speed of the still image data from the DMA controller 1141, and a register 1142. The display control device 101 is allowed to have also a moving image encoder/decoder or a color resolution conversion means. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、移動体通信システムにおける携帯電話機又は通信機能及びコンピュータ機能を備えた情報通信端末装置等の移動局装置などに搭載される表示装置に画像データを表示させる表示制御装置及び方法に関する。
【0002】
【従来の技術】
従来、表示制御装置として、携帯電話機又は携帯情報端末装置において、表示装置等の大画面化及び高色解像度化に対応するために、中央処理装置(CPU)によるグラフィックスデータの描画処理の高速化手段が提案されている。この高速化手段を有する表示制御装置の一例として、ダイレクトメモリアクセスコントローラ{DMAC(Direct Memory Access Controller)}を用いて、メモリ装置に格納されたグラフィックスデータに対しアクセスするアドレスと描画領域を対応づけてバウンダリ判定を行うことにより、メモリ装置へのアクセスサイズを意識することなく描画領域を抽出して表示装置に映し出すものがある(特許文献1参照)。
【0003】
次に、従来の表示制御装置を具備する表示システムについて、図6を参照して説明する。図6は、従来の表示制御装置を具備する表示システムの構成を示すブロック図である。
【0004】
図6に示すように、従来の表示システム600は、表示制御装置601及び表示装置602を具備している。表示制御装置601は、表示制御部610、ROM620、RAM630及び外部データバス640を具備している。表示制御部610は、中央処理装置(CPU)611、バスコントロールユニット(BCU)612、内部データバス613及び表示制御ユニット614を具備している。
表示制御ユニット614は、ダイレクトメモリアクセスコントローラ6141、表示装置インターフェイス(LCD_IF)6142及び同期信号生成部6143を有している。表示装置602は、ビデオRAM650、駆動信号変換器660及び液晶パネル670を有している。
【0005】
CPU611は、ROM620に格納されたプログラムを実行することにより、全体の制御を行う。DMAC614は、N段のFIFO(First In First Out)を有する。
【0006】
CPU611とDMAC6141は、内部データバス613を介して接続されている。LCD_IF6142は、DMAC6141から受け取った静止画像データ(グラフィックスデータ)RGBから静止画像データLCD_RGBを生成し、表示装置602のインターフェースに合わせて、静止画像データLCD_RGBをチップセレクト信号LCD_CSN及びライト信号LCD_WRNと共に出力する。同期信号生成部6143は、画像1枚の周期を示すフレーム同期信号VSYNCNを生成して表示装置602へ出力し、また、信号VSYNCNに合わせてDMAC6141に対する転送開始タイミング信号EXECを出力する。
【0007】
BCU612は、内部データバス613と外部データバス640に対するデータの入出力を調停する。ROM620は、CPU611のプログラムを格納している。RAM630は、CPU611の作業用の領域を有し、RGB形式の画像データをラスタスキャン順に格納するフレームメモリとしての領域を有している。
【0008】
表示装置602において、ビデオRAM650は、LCD_IF6142から出力されたRGB形式の静止画像データLCD_RGBをチップセレクト信号LCD_CSN及びライト信号LCD_WRNに応じて格納する。駆動信号変換部660は、同期信号生成部6143から出力された垂直同期信号VSYNCNとビデオRAM650から読み出された静止画像データR’G’B’信号と基づいて駆動信号を生成して液晶パネル670に与える。液晶パネル670は、駆動信号に応答して静止画像データを表示する。
【0009】
上記構成を有する従来の表示制御装置601の動作について、図6と共に図7を参照して説明する。
【0010】
図7は、従来の表示制御装置601における表示制御部610の動作を説明するための図である。
【0011】
以下、動作を説明するに際し、ここでは一例として、表示装置602の色解像度は65,536色(16ビット)であり、画面サイズは横が176ピクセル(Pixel)であって縦が240ライン(Line)とする。
【0012】
まず、CPU611は、ROM620格納されたプログラムを実行することにより、JPEG、GIF、PNG等の形式で符号化圧縮された静止画像データ(グラフィックスデータ)を復号し、RGB形式の静止画像データを生成する。そして、CPU611は、RGB形式の静止画像データを、RAM630にフレームメモリとして割り当てられた領域にラスタ順に格納する。この時に、CPU611は、内部データバス613を占有し、BCU612を介して外部データバス640を介してROM620及びRAM630とにアクセスする。
【0013】
図6のRAM630の記号RGB(0,0)は液晶パネル670の左上端の画素データに該当し、RGB(0,1)はその右隣の画素データであり、以降順にRGB(239,175)が液晶パネル12の右下端の画素データに該当する。これらは各々16ビット単位となっている。
【0014】
次にCPU611は、内部データバス613を介して表示制御ユニット614へ転送開始要求を指示する。転送開始要求の指示を受けた表示制御部ユニット614は、同期信号生成部6143が生成する垂直同期信号VSYNCNの立下りタイミングを待って、DMAC6141に起動指示信号EXECを発する。起動指示信号EXECを受けたDMAC614は、CPU611と内部データバス613について調停を行って、この内部データバス613を占有する。内部データバス613を獲得したDMAC6141は、BCU612及び外部データバス640を介して、静止画像データが格納されているRAM630に対して画素データRGB(0,0)が格納されているアドレスを先頭に2画素単位(32ビット)で2×N画素分の画像データを読み込む。
【0015】
DMAC6141は、内部のFIFOへの静止画像データの格納が一杯の状態になると、一旦内部データバス612を開放してCPU611へ譲渡する。
【0016】
これにより、CPU611は、再びROM620及びRAM630へのアクセスが可能となる。DMAC6141は、1画素単位(16ビット)で静止画像データをLCD_IF610へ出力する。
【0017】
図7に示すように、LCD_IF610は、静止画像データLCD_RGBをチップセレクト信号LCD_CSN及びライト信号LCD_WRNと共に出力する。以上の動作が1画面分の画素データRGB(0,0)からRGB(239,175)について繰り返される。
【0018】
表示装置602は、送られてきた静止画像データLCD_RGBをライト信号LCD_WRNの立ち上がりエッジ毎にビデオRAM650に一旦格納する。ビデオRAM650は、これを各々赤色の成分信号R’、緑色の成分信号G’、青色の成分信号B’へ分解して読み出して駆動信号変換器660に出力する。駆動信号変換器660は、赤色の成分信号R’、緑色の成分信号G’及び青色の成分信号B’と、同期信号生成部6142からの垂直同期信号VSYNCNとを受けて、駆動信号を生成して液晶パネル670に与える。液晶パネル670は、駆動信号変換器660からの駆動信号を受けて、赤色の成分信号R’、緑色の成分信号G’及び青色の成分信号B’に応じた画像を表示する。液晶パネル670は、表示画像のちらつきを抑えるために、一般に60Hz程度で駆動されなければならないことが知られている。すなわち、図7におけるVSYNCNの周期が、1/60秒である必要がある。
【0019】
従来の表示制御装置においては、一般に、RAM630からの画像データの読み出し速度(画像データの転送速度)がビデオRAM650への画像データの書き込み速度(画像データの転送速度)より高速であるため、1画面の描画パフォーマンスはビデオRAM650への画像データの書き込み速度が決定的要因となる。また、表示装置602は、メーカーによって1画素当たりの転送速度が異なる。
【0020】
図7における1ピクセルサイクルタイム(Pixel Cycle Time)は、1画素当たりの転送速度を表している。転送速度が遅い表示装置602の場合には、DMAC6141がRAM630から画像データを読み出す速度を下げることで対応している。
【0021】
【特許文献1】
特開平8−76733号公報
【0022】
【発明が解決しようとする課題】
しかしながら、従来の表示制御装置においては、DMAC6141が内部データバス613を占有する時間が長くなる場合には、CPU611はこの間に他のタスク、例えば、次の画像データのJPEG、GIP又はPNG形式の復号処理を実行することができなくなるから、描画パフォーマンス性能を下げてしまうという問題点がある。
【0023】
本発明は、かかる点に鑑みてなされたものであり、描画パフォーマンスの性能を向上することができる表示制御装置及び方法を提供することを目的とする。
【0024】
【課題を解決するための手段】
本発明の表示制御装置は、静止画像データを格納する第1の記憶手段と、前記第1の記憶手段から前記静止画像データを読み出して一時的に保持し表示装置に転送するダイレクトメモリアクセスコントローラと、前記ダイレクトメモリアクセスコントローラからの前記静止画像データの転送速度を調整するデータ転送速度調整手段と、を具備する構成を採る。
【0025】
この構成によれば、画像データの転送速度が異なる表示装置に対しても、前記表示装置に画像データを転送するダイレクトメモリアクセスコントローラからの静止画像データの転送速度を調整することができるため、1画面の描画時間が変動しても描画処理のために内部データバスを占有する時間を変動させることがないから、パフォーマンス性能を向上させることができる。
【0026】
本発明の表示制御装置は、前記構成において、前記データ転送速度調整手段が、前記ダイレクトメモリアクセスコントローラが読み出す前記静止画像データの転送時間設定値を記憶する第2の記憶手段と、前記第2の記憶手段に記憶されている転送時間設定値を変更する転送時間設定値変更手段と、前記第2の記憶手段に格納された転送時間設定値に応じて前記ダイレクトメモリアクセスコントローラから前記静止画像データの転送速度を決定するデータ転送速度決定手段と、を具備する構成を採る。
【0027】
この構成によれば、画像データの転送速度が異なる表示装置に対しても、前記表示装置に画像データを転送するダイレクトメモリアクセスコントローラからの静止画像データの転送速度を調整することができるため、1画面の描画時間が変動しても描画処理のために内部データバスを占有する時間を変動させることがないから、パフォーマンス性能を向上させることができる。
【0028】
本発明の表示制御装置は、前記構成において、符号化圧縮された動画像データを復号して復号動画像データを生成する動画像符復号器と、前記ダイレクトメモリアクセスコントローラからの前記静止画像データ又は前記動画像符復号器からの前記復号動画像データを選択して前記表示装置に転送するの調停手段と、を具備する構成を採る。
【0029】
この構成によれば、前記効果に加えて、静止画像データ及び動画像データを1つの表示装置に転送する場合であっても、前記表示装置に転送する静止画像データ及び動画像データを調停することが可能となり、かつ、調停によって静止画像データと動画像データとが切替えられても同期信号が乱れることが無いので表示装置に表示される画像も乱れることは無い。
【0030】
本発明の表示制御装置は、前記構成において、前記ダイレクトメモリアクセスコントローラからの前記静止画像データの色解像度を変換する色解像度変換手段を具備する構成を採る。
【0031】
この構成によれば、前記効果に加えて、表示装置の色解像度が異なる場合にも、前記表示装置の色解像度に対応して画像データを描画することが可能となる。
【0032】
本発明の表示制御方法は、静止画像データを記憶手段に格納する記憶ステップと、前記記憶手段から前記静止画像データを読み出して一時的に保持し表示装置に転送するデータ保持転送ステップと、前記データ保持転送ステップにおいて前記静止画像データを転送する転送速度を調整するデータ転送速度調整ステップと、を具備するようにした。
【0033】
この方法によれば、画像データの転送速度が異なる表示装置に対しても、前記表示装置に画像データを転送する静止画像データの転送速度を調整することができるため、1画面の描画時間が変動しても描画処理のために内部データバスを占有する時間を変動させることがないから、パフォーマンス性能を向上させることができる。
【0034】
【発明の実施の形態】
本発明の骨子は、記憶手段から静止画像データを読み出して一時的に保持し表示装置に転送するダイレクトメモリアクセスコントローラからの前記静止画像データの転送速度を調整することである。
【0035】
以下、本発明の実施の形態について、図面を参照して詳細に説明する。
【0036】
(実施の形態1)
図1は、本発明の実施の形態1に係る表示制御装置を具備する表示システムの構成を示すブロック図である。
【0037】
図1に示すように、表示システム100は、表示制御装置101及び表示装置102を具備している。表示制御装置101は、表示制御部110、ROM120、RAM130及び外部データバス140を具備している。表示制御部110は、中央処理装置(CPU)111、バスコントロールユニット(BCU)112、内部データバス113及び表示制御ユニット114を具備している。表示制御ユニット114は、ダイレクトメモリアクセスコントローラ(DMAC)1141、レジスタ1142、表示装置インターフェイス(LCD_IF)1143及び同期信号生成部1144を有している。表示装置102は、ビデオRAM150、駆動信号変換器160及び液晶パネル170を有している。
【0038】
バスコントロールユニット112は、外部データバス140を介してROM120及びRAM130に接続されている。CPU111は、内部データバス113を介してバスコントロールユニット(BCU)112に接続されている。表示制御ユニット114は、内部データバス113に接続されている。より詳細には、DMAC1141、レジスタ1142及び同期信号生成部1144は、内部データバス113に接続されている。表示装置インターフェイス1143は、DMAC1141及びレジスタ1142に接続されている。同期信号生成部1144の出力端子は、DMAC1141の入力端子に接続されている。
【0039】
表示装置102のビデオRAM150の入力端子は、表示装置インターフェイス1143の出力端子に接続されている。駆動信号変換器160の入力端子は、ビデオRAM150の出力端子に接続されている。液晶パネル170の駆動信号変換器160の出力端子に接続されている。
【0040】
CPU111は、ROM120に格納されたプログラムを実行することにより、全体の制御を行う。DMAC1141は、N段のFIFO(First InFirst Out)を有する。CPU111とDMAC1141は、内部データバス113介して結ばれている。DMAC1141は、CPU111の制御によりRAM130から静止画像データを読み出して一時的に保持しその後にLCD_IF1143に転送する。
【0041】
レジスタ1142は、内部データバス113を介してCPU111から設定されるパラメータCYCLE_TIMEを記憶する。レジスタ1142は、記憶しているパラメータCYCLE_TIMEをLCD_IF1143に与える。LCD_IF1143は、DMAC1141から受け取った静止画像データ(グラフィックスデータ)RGBを、表示装置102のインターフェースに合わせて静止画像データLCD_RGBとしてチップセレクト信号LCD_CSN及びライト信号LCD_WRNと共に表示装置102のビデオRAM150に転送する。この静止画像データLCD_RGBの転送サイクルタイムは、レジスタ1142から受け取ったパラメータCYCLE_TIMEにより決められる。レジスタ1142に設定されるパラメータCYCLE_TIMEを調整することにより、静止画像データLCD_RGBの転送サイクルタイムが伸縮可能である。
【0042】
同期信号生成部1144は、1枚画像の周期を示すフレーム同期信号VSYNCNを生成して表示装置102のビデオRAM150に与え、また、信号VSYNCNに合わせてDMAC1141に転送開始タイミング信号EXECを与える。BCU112は、内部データバス113と外部データバス140との間におけるデータの入出力を調停する。
【0043】
ROM120は、CPU111が用いるプログラムを記憶しているものであり、外部データバス140を介してBCU112に接続される。RAM130は、CPU111の作業領域を有し、かつ、RGB形式の静止画像データをラスタスキャン順に格納するフレームメモリとしての領域を有している。RAM130は、外部データバス140を介してBCU112に接続される。
【0044】
表示装置102においては、ビデオRAM150がLCD_IF1143から送られてくる静止画像データLCD_RGBをライト信号LCD_WRNの立ち上がりエッジごとに一旦格納する。ビデオRAM150は、格納した静止画像データLCD_RGBの各々を赤色の画像成分信号R’、緑色の画像成分信号G’及び青色の画像成分信号B’へ分解して読み出して、駆動信号変換器160へ与える。画像成分信号R’、G’、B’は、垂直同期信号VSYNCNと合わせて駆動信号変換器160に送られる。駆動信号変換器160は、垂直同期信号VSYNCNに応じて画像成分信号R’、G’、B’に基づいて駆動信号を生成して液晶パネル170に与える。液晶パネル170は、駆動信号変換器160からの駆動信号を受けて駆動信号に応じた画像を表示する。
【0045】
次に、本発明の実施の形態1に係る表示制御装置の動作の具体例を説明する。この場合に、一例として、表示装置102の色解像度は65、536色(16ビット)とし、画面サイズは横が176ピクセル(Pixel)であって縦が240ライン(Line)であるとする。
【0046】
まず、CPU111は、ROM120に記憶されたプログラムを実行することにより、JPEG、GIF又はPNG等の形式で符号化圧縮された静止画像データ(グラフィックスデータ)を復号し、RGB形式へ展開された静止画像データを、RAM9にフレームメモリとして割り当てられた領域にラスタ順に格納する。この時に、CPU111が内部データバス113を占有して、BCU112を介して外部データバス140を介してROM120及びRAM130にアクセスする。
【0047】
RAM120の内部の記号RGB(0,0)は,液晶パネル170の左上端の画素データに該当し、記号RGB(0,1)はその右隣の画素データであり、以降順に記号RGB(239,175)が液晶パネル170の右下端の画素データに該当する。これらは、各々16ビット単位となっている。
【0048】
次に、CPU111は、レジスタ1142にパラメータCYCLE_TIMEを設定する。このパラメータCYCLE_TIMEは、LCD_IF1143が表示装置102に静止画像データLCD_RGBを転送する時の転送時間を調整するものである。続いて、CPU111は、内部データバス113を介して表示制御ユニット114に転送開始要求を与える。転送開始要求を受けた表示制御ユニット114においては、同期信号生成部1144が生成する垂直同期信号VSYNCNの立下りタイミングを待って、DMAC1141に起動指示信号EXECを発する。
【0049】
起動指示信号EXECを受けたDMAC1141は、CPU111と内部データバス113について調停を行って、この内部データバス113を占有する。内部データバス113を獲得したDMAC1141は、BCU112及び外部データバス140を介して、静止画像データが格納されているRAM130に対して、画素データRGB(0,0)が格納されているアドレスを先頭にして2画素単位(32ビット)で、2×N画素分の静止画像データを読み込む。DMAC1141は、FIFOへの静止画像データの格納が一杯の状態になると、一旦内部データバス113を開放してCPU111へ譲渡する。
【0050】
これにより、CPU111は、再びROM120及びRAM130へのアクセスが可能となる。DMAC1141は、1画素単位(16ビット)で静止画素データRGBをLCD_IF1143へ送る。
【0051】
LCD_IF1143は、図7に示すように、チップセレクト信号LCD_CSN及びライト信号LCD_WRNと共に静止画像データLCD_RGBを出力する。この時の静止画像データLCD_RGBの1画素当たりの転送時間は、レジスタ1142から入力されたパラメータCYCLE_TIMEの値によって決定される。LCD_IF1143は、静止画像データLCD_RGBの1画素データを出力する度に、信号ACKをDMAC1141へ返す。DMAC1141は、信号ACKを受け取る度に、次の静止画像データRGBの1画素データをLCD_IF1143に送る。このようにして、DMAC1141とLCD_IF1143とがハンドシェイクによるフロー制御を行うことにより画素データの転送時間を調整することができる。表示制御ユニット114は、以上の動作を1画面分の画素データRGB(0,0)からRGB(239,175)について繰り返す。
【0052】
表示装置102においては、ビデオRAM150がLCD_IF1143から送られてくる静止画像データLCD_RGBをライト信号LCD_WRNの立ち上がりエッジごとに一旦格納する。ビデオRAM150は、格納した静止画像データLCD_RGBの各々を赤色の画像成分信号R’、緑色の画像成分信号G’及び青色の画像成分信号B’へ分解して読み出して、駆動信号変換器160へ与える。画像成分信号R’、G’、B’は、垂直同期信号VSYNCNと合わせて駆動信号変換器160に送られる。駆動信号変換器160は、垂直同期信号VSYNCNに応じて画像成分信号R’、G’、B’に基づいて駆動信号を生成して液晶パネル170に与える。液晶パネル170は、駆動信号変換器160からの駆動信号を受けて駆動信号に応じた画像を表示する。
【0053】
なお、CPU111とレジスタ1142との組み合わせは、DMAC1141からの静止画像データの転送速度を調整するデータ転送速度調整手段を構成している。このデータ転送速度調整手段は、CPU111とレジスタ1142との組み合わせに限定されるものではない。例えば、前記データ転送速度調整手段は、CPU111のみで構成されてもよく、また、別の制御回路で構成されてもよい。
【0054】
このように、実施の形態1においては、画像データの転送速度が異なる表示装置102に対しても、表示装置102に画像データを転送するダイレクトメモリアクセスコントローラ1141からの静止画像データの転送速度を調整することができるため、1画面の描画時間が変動しても描画処理のために内部データバス113を占有する時間を変動させることがないから、パフォーマンス性能を向上させることができる。
【0055】
(実施の形態2)
次に、本発明の実施の形態2について、図面を参照して詳細に説明する。図2は、本発明の実施の形態2に係る表示制御装置を具備する表示システムの構成を示すブロック図である。なお、本発明の実施の形態2においては、本発明の実施の形態1と同じ構成要素には同じ参照符号を付し、その説明を省略する。
【0056】
図2に示すように、表示システム200は、表示制御装置201及び表示装置102を具備している。表示制御装置201は、本発明の実施の形態1において、表示制御部110の代わりに表示制御部210を具備し、かつ、動画像符復号器202を追加してなる。表示制御部210は、本発明の実施の形態1おける表示制御ユニット114の代わりに表示制御ユニット211を具備している。表示制御ユニット211は、本発明の実施の形態1おける表示制御ユニット114において、RGB調停部2111を追加してなる。
【0057】
次に、本発明の実施の形態1と異なる本発明の実施の形態2に係る表示制御装置210の構成及び動作について説明する。
【0058】
動画像符復号器202は、外部バス140及び同期信号生成部1144に接続されている。また、動画像符復号器202の出力端子は、ビデオRAM150の入力端子に接続されている。RGB調停部2111は、レジスタ1142、同期信号生成部11443及び動画像符復号器202に接続されている。
【0059】
動画像符復号器202は、一般にDSP(Digital Signal Processor)で構成されている。動画像符復号器202は、外部データバス140を介してH.263又はMPEG−4の方式で符号化圧縮された動画像データを受け取る。動画像符復号器202は、受け取った動画像データを復号してRGB形式の画像データLCD_RGBを生成して、チップセレクト信号LCD_CSN及びライトLCD_WRNと共に出力する。また、動画像符復号器202は、同期信号DSP_VSYNCNを同期信号生成部1144へ出力する。
【0060】
RGB調停部2111は、レジスタ1142からの静止画描画要求信号CPU_REQ、及び、動画像符復号器202からの動画描画要求信号DSP_REQを受ける。また、RGB調停部2111は、静止画描画許可信号CPU_OENをLCD_IF1143に与え、また、動画描画許可信号DSP_OENを動画像符復号器202に与える。
【0061】
次に、表示制御ユニット211による静止画像データの描画と、動画像符復号器202による動画像データの描画とを切り替えるRGB調停部2111の動作について、図3を参照しながら説明する。
【0062】
図3に示すように、RGB調停部2111は、3つの状態S_IDLE、S_CPU、S_DSPを有し、この3つの状態を遷移することにより表示装置102への描画を制御する。状態S_IDLEは、CPU111による静止画像データの描画、及び、動画像符復号器202による動画像データの描画が行われていない状態を示している。状態S_CPUは、CPU111による静止画像データの描画の状態を示している。状態S_DSPは、動画像符復号器202による動画像データの描画の状態を示している。RGB調停部2111は、状態S_IDLE、S_CPU、S_DSPに応じて、図3に示すように静止画描画許可信号CPU_OENの出力、及び、動画描画許可信号DSP_OENの出力を決定する。
【0063】
CPU111による静止画像データの描画を行うには、CPU111はレジスタ1142を経て描画要求信号CPU_REQ=1を送る。これを受けたRGB調停部102は、状態S_DSPにあれば、動画像符復号器202による動画像データを描画中であるので、静止画像データを描画することはできない。描画要求信号CPU_REQ=1を受けたRGB調停部102は、状態S_IDLEにあれば、状態S_CPUへ移行し、静止画描画許可信号CPU_OEN=0をLCD_IF1143へ出力し、表示装置102への描画パス(Path)が成立する。
【0064】
これ以降において、前述で説明した手順で静止画像データが描画される。この間、動画像符復号器202の出力信号LCD_RGB、LCD_CSN、LCD_WRNは高インピーダンス状態に保たれる。静止画像データの描画が完了すると、CPU111はレジスタ1142を経て描画要求信号CPU_REQ=0をRGB調停部2111に与える。この時に、RGB調停部2111は状態S_IDLEへ戻る。
【0065】
一方、動画像符復号器202が動画像データの描画を行うには、動画像符復号器202は描画要求信号DSP_REQ=1をRGB調停部2111に送る。これを受けたRGB調停部2111は、状態S_CPUにあれば、CPU111による静止画像データを描画中であるので、動画像データを描画することはできない。描画要求信号DSP_REQ=1を受けたRGB調停部2111は、状態S_IDLEにあれば、状態S_DSPへ移行して動画描画許可信号DSP_OEN=0を動画像符復号器202に出力し、表示装置102への描画パスが成立する。これ以降に、動画像符復号器202による動画像データの描画が行われる。
【0066】
この間、LCD_IF1143の出力信号LCD_RGB、LCD_CSN、LCD_WRNは高インピーダンス状態に保たれる。動画像符復号器202による動画像データの描画を完了すると、動画像符復号器202が描画要求信号DSP_REQ=0をRGB調停部2111に与える。この時に、RGB調停部202は状態S_IDLEへ戻る。
【0067】
同期信号生成部1144は、動画像符復号器202からの同期信号DSP_VSYNCNを受けている。同期信号生成部1144は、動画像符復号器202からの同期信号DSP_VSYNCNの位相を検知し、自信が発生する同期信号の位相をDSP_VSYNCNに合致させるようにディジタルPLLなどで位相を合致させる処理を経た同期信号VSYNCNを表示装置102に出力する。
【0068】
このように、本発明の実施の形態2によれば、本発明の実施の形態1の効果に加えて、静止画像データ及び動画像データを1つの表示装置102に転送する場合であっても、表示装置102に転送する静止画像データ及び動画像データを調停することが可能となり、かつ、調停によって静止画像データと動画像データとが切替えられても同期信号VSYNCNが乱れることが無いので表示装置102に表示される画像も乱れることは無い。
【0069】
(実施の形態3)
次に、本発明の実施の形態3について、図面を参照して詳細に説明する。図4は、本発明の実施の形態3に係る表示制御装置を具備する表示システムの構成を示すブロック図である。なお、本発明の実施の形態3においては、本発明の実施の形態2と同じ構成要素には同じ参照符号を付し、その説明を省略する。
【0070】
図4に示すように、表示システム400は、表示制御装置401及び表示装置102を具備している。表示制御装置401は、本発明の実施の形態2において、表示制御部210の代わりに表示制御部410を有している。表示制御部410は、本発明の実施の形態2において、表示制御ユニット211の代わりに表示制御ユニット411を有している。表示制御ユニット411は、本発明の実施の形態2における表示制御ユニット211において色解像度変換部4111を有するものである。色解像度変換部4111は、レジスタの出力端子に接続され、また、DMAC1141とLCD_IF1143との間に接続されている。
【0071】
次に、本発明の実施の形態2と異なる本発明の実施の形態3に係る表示制御部410の構成及び動作について説明する。
【0072】
CPU111は、表示装置102の色解像度に合わせてパラメータRGB_FMTをレジスタ1142に送って設定する。色解像度変換部4111は、レジスタ1142に設定されたパラメータRGB_FMTに基づいて色解像度を変換する。
【0073】
次に、本発明の実施の形態2と異なる本発明の実施の形態3に係る表示制御部410の動作の具体例について図5を参照して説明する。
【0074】
CPU111は、JPEG、GIF又はPNG等の形式で符号化圧縮された静止画像データ(グラフィックスデータ)を復号し、RGB形式の静止画像データを生成してRAM130に格納する。この場合に、CPU111は、RGB形式の静止画像データを65,536色(16ビット階調)のデータとしてRAM130に格納する。一方、表示装置102の色解像度は、65,536色(16ビット階調)、262,144色(18ビット階調)又は16,777,216色(24ビット階調)等のバリエーションがある。
【0075】
CPU111は、予めレジスタ1142に表示装置102の色解像度に合わせてパラメータRGB_FMTを設定する。
【0076】
次に、レジスタ1142からパラメータRGB_FMTを受けた色解像度変換部104の動作の具体例について、図5を参照して説明する。
【0077】
DMAC1141からは、赤色の成分Rが5ビットであり、緑色の成分Gが6ビットであり、青の成分Bが5ビットである16ビットの画素データRGBが出力される。
【0078】
この画素データRGBに対して、パラメータRGB_FMT=00の時に、そのまま24ビット長のRGBに下位ビット詰めされ上位8ビットには1を埋めて出力される。パラメータRGB_FMT=01の時に、赤の成分の最上位ビット:R4が6ビット長に拡張された最下位ビットへ埋められ、緑の成分Gはそのまま6ビットとして、青の成分の最上位ビット:B4が6ビット長に拡張された最下位ビットへ埋められ、これらを24ビット長のRGBの下位ビット側に詰めて上位6ビットを1で埋めた状態で出力される。
【0079】
パラメータRGB_FMT=10の時に、赤の成分の最上位ビット:R4が8ビット長に拡張された下位側3ビットへ埋められ、緑の成分の最上位ビット:G5が8ビット長に拡張された下位側2ビットへ埋められ、青の成分の最上位ビット:B4が8ビット長に拡張された下位側3ビットへ埋められ、これらを24ビット長のRGBの下位ビット側に詰めて出力される。
【0080】
このように、本発明の実施の形態3においては、本発明の実施の形態1、2の効果に加えて、表示装置102の色解像度が異なる場合にも、表示装置102の色解像度に対応して画像データを描画することが可能となる。
【0081】
【発明の効果】
以上説明したように、本発明によれば、画像データの転送速度が異なる表示装置に対しても、前記表示装置に画像データを転送するダイレクトメモリアクセスコントローラからの静止画像データの転送速度を調整することができるため、1画面の描画時間が変動しても描画処理のために内部データバスを占有する時間を変動させることがないから、パフォーマンス性能を向上させることができる。
【図面の簡単な説明】
【図1】本発明の実施の形態1に係る表示制御装置を具備する表示システムの構成を示すブロック図
【図2】本発明の実施の形態2に係る表示制御装置を具備する表示システムの構成を示すブロック図
【図3】本発明の実施の形態2に係る表示制御装置の動作を説明するための図
【図4】本発明の実施の形態3に係る表示制御装置を具備する表示システムの構成を示すブロック図
【図5】本発明の実施の形態3に係る表示制御装置の動作を説明するための図
【図6】従来の表示制御装置を具備する表示システムの構成を示すブロック図
【図7】従来の表示制御装置の動作を説明するための図
【符号の説明】
100、200、400 表示システム
101、201、401 表示制御装置
102 表示装置
110、210、410 表示制御部
120 ROM
130 RAM
140 外部データバス
111 中央処理装置(CPU)
112 バスコントロールユニット(BCU)
113 内部データバス
114、211、411 表示制御ユニット
1141 ダイレクトメモリアクセスコントローラ(DMAC)
1142 レジスタ
1143表示装置インターフェイス(LCD_IF)
1144 同期信号生成部
150 ビデオRAM
160 駆動信号変換部
170 液晶パネル
202 動画像符復号器
2111 RGB調停部
4111 色解像度変換部
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a display control device and method for displaying image data on a display device mounted on a mobile station device such as an information communication terminal device having a communication function and a computer function in a mobile communication system.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, in a mobile phone or a portable information terminal device as a display control device, in order to cope with a large screen and a high color resolution of a display device or the like, the speed of graphics data drawing processing by a central processing unit (CPU) is increased. Means have been proposed. As an example of a display control device having this speed-up means, using a direct memory access controller {DMAC (Direct Memory Access Controller)}, an address for accessing graphics data stored in a memory device is associated with a drawing area. There is a technique that extracts a drawing area and displays it on a display device without considering the access size to the memory device by making a boundary determination using the method (see Patent Document 1).
[0003]
Next, a display system including a conventional display control device will be described with reference to FIG. FIG. 6 is a block diagram showing a configuration of a display system including a conventional display control device.
[0004]
As shown in FIG. 6, a conventional display system 600 includes a display control device 601 and a display device 602. The display control device 601 includes a display control unit 610, a ROM 620, a RAM 630, and an external data bus 640. The display control unit 610 includes a central processing unit (CPU) 611, a bus control unit (BCU) 612, an internal data bus 613, and a display control unit 614.
The display control unit 614 includes a direct memory access controller 6141, a display device interface (LCD_IF) 6142, and a synchronization signal generation unit 6143. The display device 602 includes a video RAM 650, a drive signal converter 660, and a liquid crystal panel 670.
[0005]
The CPU 611 controls the whole by executing a program stored in the ROM 620. The DMAC 614 has an N-stage FIFO (First In First Out).
[0006]
The CPU 611 and the DMAC 6141 are connected via the internal data bus 613. The LCD_IF 6142 generates still image data LCD_RGB from the still image data (graphics data) RGB received from the DMAC 6141, and outputs the still image data LCD_RGB along with the chip select signal LCD_CSN and the write signal LCD_WRN according to the interface of the display device 602. . The synchronization signal generation unit 6143 generates a frame synchronization signal VSYNCN indicating the cycle of one image and outputs it to the display device 602, and outputs a transfer start timing signal EXEC to the DMAC 6141 in accordance with the signal VSYNCN.
[0007]
The BCU 612 arbitrates input / output of data to / from the internal data bus 613 and the external data bus 640. The ROM 620 stores a program for the CPU 611. The RAM 630 has a work area for the CPU 611, and has a region as a frame memory for storing image data in RGB format in raster scan order.
[0008]
In the display device 602, the video RAM 650 stores RGB still image data LCD_RGB output from the LCD_IF 6142 according to the chip select signal LCD_CSN and the write signal LCD_WRN. The drive signal conversion unit 660 generates a drive signal based on the vertical synchronization signal VSYNCN output from the synchronization signal generation unit 6143 and the still image data R'G'B 'signal read from the video RAM 650, and generates a liquid crystal panel 670. Give to. Liquid crystal panel 670 displays still image data in response to the drive signal.
[0009]
The operation of the conventional display control device 601 having the above configuration will be described with reference to FIGS.
[0010]
FIG. 7 is a diagram for explaining the operation of the display control unit 610 in the conventional display control device 601.
[0011]
Hereinafter, in describing the operation, here, as an example, the color resolution of the display device 602 is 65,536 colors (16 bits), the screen size is 176 pixels (Pixel), and 240 lines (Line). ).
[0012]
First, the CPU 611 executes a program stored in the ROM 620 to decode still image data (graphics data) encoded and compressed in a format such as JPEG, GIF, or PNG to generate still image data in RGB format. I do. Then, the CPU 611 stores the still image data in the RGB format in an area allocated to the RAM 630 as a frame memory in raster order. At this time, the CPU 611 occupies the internal data bus 613, and accesses the ROM 620 and the RAM 630 via the external data bus 640 via the BCU 612.
[0013]
The symbol RGB (0,0) in the RAM 630 in FIG. 6 corresponds to the pixel data at the upper left corner of the liquid crystal panel 670, and the pixel data RGB (0,1) is the pixel data on the right side. Corresponds to the pixel data at the lower right corner of the liquid crystal panel 12. These are in units of 16 bits.
[0014]
Next, the CPU 611 issues a transfer start request to the display control unit 614 via the internal data bus 613. The display control unit 614 that has received the transfer start request instruction issues a start instruction signal EXEC to the DMAC 6141 after waiting for the falling timing of the vertical synchronization signal VSYNCN generated by the synchronization signal generation unit 6143. The DMAC 614 that has received the activation instruction signal EXEC arbitrates the CPU 611 and the internal data bus 613, and occupies the internal data bus 613. The DMAC 6141 that has acquired the internal data bus 613 stores, via the BCU 612 and the external data bus 640, the RAM 630 storing the still image data in the RAM 630 starting with the address where the pixel data RGB (0, 0) is stored. Image data for 2 × N pixels is read in pixel units (32 bits).
[0015]
When the storage of the still image data in the internal FIFO is full, the DMAC 6141 temporarily releases the internal data bus 612 and transfers it to the CPU 611.
[0016]
Thus, the CPU 611 can access the ROM 620 and the RAM 630 again. The DMAC 6141 outputs still image data to the LCD_IF 610 in units of one pixel (16 bits).
[0017]
As shown in FIG. 7, the LCD_IF 610 outputs still image data LCD_RGB along with a chip select signal LCD_CSN and a write signal LCD_WRN. The above operation is repeated for pixel data RGB (0, 0) to RGB (239, 175) for one screen.
[0018]
The display device 602 temporarily stores the sent still image data LCD_RGB in the video RAM 650 at each rising edge of the write signal LCD_WRN. The video RAM 650 decomposes the signals into a red component signal R ′, a green component signal G ′, and a blue component signal B ′ and reads them out, and outputs them to the drive signal converter 660. The drive signal converter 660 receives the red component signal R ′, the green component signal G ′, the blue component signal B ′, and the vertical synchronization signal VSYNCN from the synchronization signal generation unit 6142, and generates a drive signal. To the liquid crystal panel 670. The liquid crystal panel 670 receives the drive signal from the drive signal converter 660 and displays an image corresponding to the red component signal R ′, the green component signal G ′, and the blue component signal B ′. It is known that the liquid crystal panel 670 generally needs to be driven at about 60 Hz in order to suppress flickering of a displayed image. That is, the cycle of VSYNCN in FIG. 7 needs to be 1/60 second.
[0019]
In the conventional display control device, generally, the reading speed of image data from the RAM 630 (transfer speed of image data) is higher than the writing speed of image data to the video RAM 650 (transfer speed of image data), so that one screen is displayed. Is determined by the writing speed of image data to the video RAM 650. In the display device 602, the transfer speed per pixel differs depending on the manufacturer.
[0020]
One pixel cycle time (Pixel Cycle Time) in FIG. 7 represents a transfer speed per pixel. In the case of the display device 602 having a low transfer speed, the DMAC 6141 responds by reducing the speed at which image data is read from the RAM 630.
[0021]
[Patent Document 1]
JP-A-8-76733
[0022]
[Problems to be solved by the invention]
However, in the conventional display control device, when the time when the DMAC 6141 occupies the internal data bus 613 becomes long, the CPU 611 performs another task during this time, for example, decoding of the next image data in JPEG, GIP or PNG format. Since the processing cannot be executed, there is a problem that the rendering performance is reduced.
[0023]
The present invention has been made in view of the above, and an object of the present invention is to provide a display control device and a method capable of improving the performance of drawing performance.
[0024]
[Means for Solving the Problems]
A display control device according to the present invention includes a first storage unit that stores still image data, a direct memory access controller that reads out the still image data from the first storage unit, temporarily stores the still image data, and transfers the data to a display device. And a data transfer rate adjusting means for adjusting a transfer rate of the still image data from the direct memory access controller.
[0025]
According to this configuration, the transfer speed of still image data from the direct memory access controller that transfers image data to the display device can be adjusted even for display devices having different transfer speeds of image data. Even if the drawing time of the screen changes, the time for occupying the internal data bus for the drawing process does not change, so that the performance performance can be improved.
[0026]
In the display control device of the present invention, in the above-mentioned configuration, the data transfer rate adjusting means may store a transfer time setting value of the still image data read by the direct memory access controller, and the second storage means Transfer time set value changing means for changing the transfer time set value stored in the storage means, and the still image data from the direct memory access controller according to the transfer time set value stored in the second storage means. And a data transfer rate determining means for determining a transfer rate.
[0027]
According to this configuration, the transfer speed of still image data from the direct memory access controller that transfers image data to the display device can be adjusted even for display devices having different transfer speeds of image data. Even if the drawing time of the screen changes, the time for occupying the internal data bus for the drawing process does not change, so that the performance performance can be improved.
[0028]
The display control device of the present invention, in the above configuration, a video codec that decodes encoded video data to generate decoded video data, and the still image data from the direct memory access controller or Arbitration means for selecting the decoded video data from the video codec and transferring the data to the display device.
[0029]
According to this configuration, in addition to the effects described above, even when still image data and moving image data are transferred to one display device, arbitration between the still image data and moving image data transferred to the display device is achieved. The synchronization signal is not disturbed even if the still image data and the moving image data are switched by the arbitration, so that the image displayed on the display device is not disturbed.
[0030]
The display control device of the present invention adopts a configuration in the above configuration, further comprising a color resolution conversion unit that converts a color resolution of the still image data from the direct memory access controller.
[0031]
According to this configuration, in addition to the effects described above, even when the color resolution of the display device is different, it is possible to draw the image data corresponding to the color resolution of the display device.
[0032]
The display control method according to the present invention includes a storage step of storing still image data in a storage unit, a data holding transfer step of reading out the still image data from the storage unit, temporarily storing the still image data, and transferring the data to a display device; A data transfer speed adjusting step of adjusting a transfer speed at which the still image data is transferred in the holding transfer step.
[0033]
According to this method, the transfer speed of still image data for transferring image data to the display device can be adjusted even for display devices having different transfer speeds of image data. Even if the time for occupying the internal data bus for the drawing process is not changed, the performance performance can be improved.
[0034]
BEST MODE FOR CARRYING OUT THE INVENTION
The gist of the present invention is to adjust the transfer speed of the still image data from the direct memory access controller that reads out the still image data from the storage unit, temporarily stores the still image data, and transfers the still image data to the display device.
[0035]
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
[0036]
(Embodiment 1)
FIG. 1 is a block diagram illustrating a configuration of a display system including a display control device according to Embodiment 1 of the present invention.
[0037]
As shown in FIG. 1, the display system 100 includes a display control device 101 and a display device 102. The display control device 101 includes a display control unit 110, a ROM 120, a RAM 130, and an external data bus 140. The display control unit 110 includes a central processing unit (CPU) 111, a bus control unit (BCU) 112, an internal data bus 113, and a display control unit 114. The display control unit 114 has a direct memory access controller (DMAC) 1141, a register 1142, a display device interface (LCD_IF) 1143, and a synchronization signal generation unit 1144. The display device 102 includes a video RAM 150, a drive signal converter 160, and a liquid crystal panel 170.
[0038]
The bus control unit 112 is connected to the ROM 120 and the RAM 130 via the external data bus 140. The CPU 111 is connected to a bus control unit (BCU) 112 via an internal data bus 113. The display control unit 114 is connected to the internal data bus 113. More specifically, the DMAC 1141, the register 1142, and the synchronization signal generator 1144 are connected to the internal data bus 113. The display device interface 1143 is connected to the DMAC 1141 and the register 1142. The output terminal of the synchronization signal generator 1144 is connected to the input terminal of the DMAC 1141.
[0039]
The input terminal of the video RAM 150 of the display device 102 is connected to the output terminal of the display device interface 1143. The input terminal of the drive signal converter 160 is connected to the output terminal of the video RAM 150. It is connected to the output terminal of the drive signal converter 160 of the liquid crystal panel 170.
[0040]
The CPU 111 performs overall control by executing a program stored in the ROM 120. The DMAC 1141 has an N-stage FIFO (First In First Out). The CPU 111 and the DMAC 1141 are connected via the internal data bus 113. The DMAC 1141 reads out still image data from the RAM 130 under the control of the CPU 111, temporarily stores the data, and then transfers the data to the LCD_IF 1143.
[0041]
The register 1142 stores a parameter CYCLE_TIME set from the CPU 111 via the internal data bus 113. The register 1142 gives the stored parameter CYCLE_TIME to the LCD_IF 1143. The LCD_IF 1143 transfers the still image data (graphics data) RGB received from the DMAC 1141 to the video RAM 150 of the display device 102 together with the chip select signal LCD_CSN and the write signal LCD_WRN as still image data LCD_RGB in accordance with the interface of the display device 102. The transfer cycle time of the still image data LCD_RGB is determined by the parameter CYCLE_TIME received from the register 1142. By adjusting the parameter CYCLE_TIME set in the register 1142, the transfer cycle time of the still image data LCD_RGB can be expanded or contracted.
[0042]
The synchronizing signal generation unit 1144 generates a frame synchronizing signal VSYNCN indicating the cycle of one image and supplies the frame synchronizing signal VSYNCN to the video RAM 150 of the display device 102, and also provides a transfer start timing signal EXEC to the DMAC 1141 in accordance with the signal VSYNCN. The BCU 112 arbitrates data input / output between the internal data bus 113 and the external data bus 140.
[0043]
The ROM 120 stores a program used by the CPU 111 and is connected to the BCU 112 via the external data bus 140. The RAM 130 has a work area for the CPU 111, and also has an area as a frame memory for storing still image data in RGB format in raster scan order. The RAM 130 is connected to the BCU 112 via the external data bus 140.
[0044]
In the display device 102, the video RAM 150 temporarily stores the still image data LCD_RGB sent from the LCD_IF 1143 at each rising edge of the write signal LCD_WRN. The video RAM 150 decomposes and reads out each of the stored still image data LCD_RGB into a red image component signal R ′, a green image component signal G ′, and a blue image component signal B ′, and supplies the read signal to the drive signal converter 160. . The image component signals R ′, G ′, B ′ are sent to the drive signal converter 160 together with the vertical synchronization signal VSYNCN. The drive signal converter 160 generates a drive signal based on the image component signals R ′, G ′, and B ′ according to the vertical synchronization signal VSYNCN, and supplies the drive signal to the liquid crystal panel 170. The liquid crystal panel 170 receives a drive signal from the drive signal converter 160 and displays an image according to the drive signal.
[0045]
Next, a specific example of the operation of the display control device according to Embodiment 1 of the present invention will be described. In this case, as an example, it is assumed that the color resolution of the display device 102 is 65,536 colors (16 bits), and the screen size is 176 pixels (Pixel) horizontally and 240 lines (Line) vertically.
[0046]
First, by executing a program stored in the ROM 120, the CPU 111 decodes still image data (graphics data) encoded and compressed in a format such as JPEG, GIF, or PNG, and decodes the still image data expanded into the RGB format. The image data is stored in an area allocated as a frame memory in the RAM 9 in raster order. At this time, the CPU 111 occupies the internal data bus 113 and accesses the ROM 120 and the RAM 130 via the external data bus 140 via the BCU 112.
[0047]
The symbol RGB (0,0) in the RAM 120 corresponds to the pixel data at the upper left corner of the liquid crystal panel 170, the symbol RGB (0,1) is the pixel data on the right side thereof, and the symbol RGB (239, 175) corresponds to the pixel data at the lower right corner of the liquid crystal panel 170. These are in units of 16 bits.
[0048]
Next, the CPU 111 sets the parameter CYCLE_TIME in the register 1142. This parameter CYCLE_TIME adjusts the transfer time when the LCD_IF 1143 transfers the still image data LCD_RGB to the display device 102. Subsequently, the CPU 111 gives a transfer start request to the display control unit 114 via the internal data bus 113. Upon receiving the transfer start request, the display control unit 114 issues a start instruction signal EXEC to the DMAC 1141 after waiting for the fall timing of the vertical synchronization signal VSYNCN generated by the synchronization signal generation unit 1144.
[0049]
The DMAC 1141 that has received the start instruction signal EXEC arbitrates the CPU 111 and the internal data bus 113, and occupies the internal data bus 113. The DMAC 1141 that has acquired the internal data bus 113 sends, via the BCU 112 and the external data bus 140, the address at which the pixel data RGB (0, 0) is stored first to the RAM 130 that stores the still image data. The still image data for 2 × N pixels is read in units of 2 pixels (32 bits). When the storage of the still image data in the FIFO becomes full, the DMAC 1141 temporarily releases the internal data bus 113 and transfers it to the CPU 111.
[0050]
Thereby, the CPU 111 can access the ROM 120 and the RAM 130 again. The DMAC 1141 sends still pixel data RGB to the LCD_IF 1143 in pixel units (16 bits).
[0051]
The LCD_IF 1143 outputs the still image data LCD_RGB together with the chip select signal LCD_CSN and the write signal LCD_WRN, as shown in FIG. The transfer time per pixel of the still image data LCD_RGB at this time is determined by the value of the parameter CYCLE_TIME input from the register 1142. The LCD_IF 1143 returns a signal ACK to the DMAC 1141 every time one pixel data of the still image data LCD_RGB is output. Each time the DMAC 1141 receives the signal ACK, it sends one pixel data of the next still image data RGB to the LCD_IF 1143. In this way, the DMAC 1141 and the LCD_IF 1143 perform flow control by handshake, so that the transfer time of pixel data can be adjusted. The display control unit 114 repeats the above operation for one screen of pixel data RGB (0, 0) to RGB (239, 175).
[0052]
In the display device 102, the video RAM 150 temporarily stores the still image data LCD_RGB sent from the LCD_IF 1143 at each rising edge of the write signal LCD_WRN. The video RAM 150 decomposes and reads out each of the stored still image data LCD_RGB into a red image component signal R ′, a green image component signal G ′, and a blue image component signal B ′, and supplies the read signal to the drive signal converter 160. . The image component signals R ′, G ′, B ′ are sent to the drive signal converter 160 together with the vertical synchronization signal VSYNCN. The drive signal converter 160 generates a drive signal based on the image component signals R ′, G ′, and B ′ according to the vertical synchronization signal VSYNCN, and supplies the drive signal to the liquid crystal panel 170. The liquid crystal panel 170 receives a drive signal from the drive signal converter 160 and displays an image according to the drive signal.
[0053]
Note that the combination of the CPU 111 and the register 1142 constitutes a data transfer speed adjusting unit for adjusting the transfer speed of the still image data from the DMAC 1141. This data transfer speed adjusting means is not limited to the combination of the CPU 111 and the register 1142. For example, the data transfer speed adjusting means may be constituted only by the CPU 111, or may be constituted by another control circuit.
[0054]
As described above, in the first embodiment, the transfer speed of still image data from the direct memory access controller 1141 that transfers image data to the display device 102 is adjusted even for the display devices 102 having different image data transfer speeds. Therefore, even if the drawing time of one screen changes, the time for occupying the internal data bus 113 for the drawing process does not change, so that the performance performance can be improved.
[0055]
(Embodiment 2)
Next, a second embodiment of the present invention will be described in detail with reference to the drawings. FIG. 2 is a block diagram showing a configuration of a display system including a display control device according to Embodiment 2 of the present invention. Note that, in Embodiment 2 of the present invention, the same components as those in Embodiment 1 of the present invention are denoted by the same reference numerals, and description thereof will be omitted.
[0056]
As shown in FIG. 2, the display system 200 includes a display control device 201 and a display device 102. The display control device 201 includes a display control unit 210 instead of the display control unit 110 in the first embodiment of the present invention, and additionally includes a moving image codec 202. The display control unit 210 includes a display control unit 211 instead of the display control unit 114 according to the first embodiment of the present invention. The display control unit 211 is obtained by adding an RGB arbitration unit 2111 to the display control unit 114 according to the first embodiment of the present invention.
[0057]
Next, the configuration and operation of the display control device 210 according to the second embodiment of the present invention, which is different from the first embodiment of the present invention, will be described.
[0058]
The video codec 202 is connected to the external bus 140 and the synchronization signal generator 1144. An output terminal of the video codec 202 is connected to an input terminal of the video RAM 150. The RGB arbitration unit 2111 is connected to the register 1142, the synchronization signal generation unit 11443, and the video codec 202.
[0059]
The video codec 202 is generally composed of a DSP (Digital Signal Processor). The video codec 202 receives the H.264 video signal via the external data bus 140. The moving image data encoded and compressed by the H.263 or MPEG-4 system is received. The moving image codec 202 decodes the received moving image data to generate image data LCD_RGB in RGB format, and outputs it together with the chip select signal LCD_CSN and the light LCD_WRN. In addition, the video codec 202 outputs the synchronization signal DSP_VSYNCN to the synchronization signal generation unit 1144.
[0060]
The RGB arbitration unit 2111 receives the still image drawing request signal CPU_REQ from the register 1142 and the moving image drawing request signal DSP_REQ from the moving image codec 202. Also, the RGB arbitration unit 2111 supplies a still image drawing permission signal CPU_OEN to the LCD_IF 1143 and a moving image drawing permission signal DSP_OEN to the moving image codec 202.
[0061]
Next, the operation of the RGB arbitration unit 2111 that switches between drawing of still image data by the display control unit 211 and drawing of moving image data by the moving image codec 202 will be described with reference to FIG.
[0062]
As illustrated in FIG. 3, the RGB arbitration unit 2111 has three states S_IDLE, S_CPU, and S_DSP, and controls drawing on the display device 102 by transiting the three states. The state S_IDLE indicates a state where drawing of still image data by the CPU 111 and drawing of moving image data by the moving image codec 202 are not performed. The state S_CPU indicates the state of drawing still image data by the CPU 111. The state S_DSP indicates a state of drawing moving image data by the moving image codec 202. The RGB arbitration unit 2111 determines the output of the still image drawing permission signal CPU_OEN and the output of the moving image drawing permission signal DSP_OEN as shown in FIG. 3 according to the states S_IDLE, S_CPU, and S_DSP.
[0063]
To render still image data by the CPU 111, the CPU 111 sends a rendering request signal CPU_REQ = 1 via the register 1142. When the RGB arbitration unit 102 receives this, if it is in the state S_DSP, it cannot draw still image data because the moving image data is being drawn by the moving image codec 202. If the RGB arbitration unit 102 receives the drawing request signal CPU_REQ = 1, if it is in the state S_IDLE, it transitions to the state S_CPU, outputs the still image drawing permission signal CPU_OEN = 0 to the LCD_IF 1143, and outputs the drawing path (Path ) Holds.
[0064]
Thereafter, the still image data is drawn according to the procedure described above. During this time, the output signals LCD_RGB, LCD_CSN, and LCD_WRN of the video codec 202 are kept in a high impedance state. When the drawing of the still image data is completed, the CPU 111 supplies a drawing request signal CPU_REQ = 0 to the RGB arbitration unit 2111 via the register 1142. At this time, the RGB arbitration unit 2111 returns to the state S_IDLE.
[0065]
On the other hand, in order for the video codec 202 to render video data, the video codec 202 sends a rendering request signal DSP_REQ = 1 to the RGB arbitration unit 2111. If the RGB arbitration unit 2111 receives this, if it is in the state S_CPU, it cannot draw moving image data because the CPU 111 is drawing still image data. If the RGB arbitration unit 2111 receives the drawing request signal DSP_REQ = 1, if it is in the state S_IDLE, the RGB arbitration unit 2111 shifts to the state S_DSP, outputs the moving image drawing permission signal DSP_OEN = 0 to the moving image codec 202, and A drawing path is established. Thereafter, the moving image codec 202 performs drawing of the moving image data.
[0066]
During this time, the output signals LCD_RGB, LCD_CSN, and LCD_WRN of the LCD_IF 1143 are kept in a high impedance state. When the moving image codec 202 completes the drawing of the moving image data, the moving image codec 202 supplies a drawing request signal DSP_REQ = 0 to the RGB arbitration unit 2111. At this time, the RGB arbitration unit 202 returns to the state S_IDLE.
[0067]
The synchronization signal generation unit 1144 receives the synchronization signal DSP_VSYNCN from the video codec 202. The synchronization signal generation unit 1144 detects the phase of the synchronization signal DSP_VSYNCN from the video codec 202, and performs a process of matching the phase of the synchronization signal generated by the digital PLL or the like so as to match the phase of the synchronization signal DSP_VSYNCNC. The synchronization signal VSYNCN is output to the display device 102.
[0068]
As described above, according to the second embodiment of the present invention, in addition to the effects of the first embodiment of the present invention, even when still image data and moving image data are transferred to one display device 102, The arbitration between the still image data and the moving image data to be transferred to the display device 102 is possible, and the synchronization signal VSYNCN is not disturbed even if the still image data and the moving image data are switched by the arbitration. The image displayed on the display is not disturbed.
[0069]
(Embodiment 3)
Next, a third embodiment of the present invention will be described in detail with reference to the drawings. FIG. 4 is a block diagram illustrating a configuration of a display system including a display control device according to Embodiment 3 of the present invention. Note that, in Embodiment 3 of the present invention, the same components as those in Embodiment 2 of the present invention are denoted by the same reference numerals, and description thereof will be omitted.
[0070]
As shown in FIG. 4, the display system 400 includes a display control device 401 and a display device 102. The display control device 401 has a display control unit 410 instead of the display control unit 210 in the second embodiment of the present invention. The display control unit 410 has a display control unit 411 instead of the display control unit 211 in the second embodiment of the present invention. The display control unit 411 has a color resolution conversion unit 4111 in the display control unit 211 according to Embodiment 2 of the present invention. The color resolution conversion unit 4111 is connected to the output terminal of the register, and is connected between the DMAC 1141 and the LCD_IF 1143.
[0071]
Next, the configuration and operation of a display control unit 410 according to Embodiment 3 of the present invention, which is different from Embodiment 2 of the present invention, will be described.
[0072]
The CPU 111 sends the parameters RGB_FMT to the register 1142 in accordance with the color resolution of the display device 102 and sets them. The color resolution conversion unit 4111 converts the color resolution based on the parameters RGB_FMT set in the register 1142.
[0073]
Next, a specific example of the operation of the display control unit 410 according to Embodiment 3 of the present invention, which is different from Embodiment 2 of the present invention, will be described with reference to FIG.
[0074]
The CPU 111 decodes still image data (graphics data) encoded and compressed in a format such as JPEG, GIF, or PNG, generates still image data in RGB format, and stores it in the RAM 130. In this case, the CPU 111 stores the still image data in the RGB format in the RAM 130 as data of 65,536 colors (16-bit gradation). On the other hand, the color resolution of the display device 102 has variations such as 65,536 colors (16-bit gradation), 262,144 colors (18-bit gradation), 16,777,216 colors (24-bit gradation).
[0075]
The CPU 111 sets the parameters RGB_FMT in the register 1142 in advance according to the color resolution of the display device 102.
[0076]
Next, a specific example of the operation of the color resolution conversion unit 104 receiving the parameter RGB_FMT from the register 1142 will be described with reference to FIG.
[0077]
The DMAC 1141 outputs 16-bit pixel data RGB in which the red component R is 5 bits, the green component G is 6 bits, and the blue component B is 5 bits.
[0078]
For this pixel data RGB, when the parameter RGB_FMT = 00, the lower bits are directly packed into 24-bit RGB and the upper 8 bits are filled with 1 and output. When the parameter RGB_FMT = 01, the most significant bit of the red component: R4 is filled into the least significant bit extended to a 6-bit length, the green component G is left as it is, and the most significant bit of the blue component: B4 Are filled in the least significant bits expanded to a 6-bit length, these are packed into the lower bits of the 24-bit RGB, and the upper 6 bits are output with 1 filled.
[0079]
When the parameter RGB_FMT = 10, the most significant bit of the red component: R4 is filled into the lower 3 bits extended to 8 bits, and the most significant bit of the green component: G5 is extended to 8 bits. The lowermost 3 bits of the blue component are expanded to 8 bits and the most significant bit B4 of the blue component is filled into the lower 2 bits of the blue component, and these bits are packed into the lower bits of the 24-bit RGB and output.
[0080]
As described above, in the third embodiment of the present invention, in addition to the effects of the first and second embodiments of the present invention, even when the color resolution of the display device 102 is different, the color resolution of the display device 102 is also supported. To draw image data.
[0081]
【The invention's effect】
As described above, according to the present invention, even for display devices having different image data transfer speeds, the transfer speed of still image data from the direct memory access controller that transfers image data to the display device is adjusted. Therefore, even if the drawing time of one screen changes, the time for occupying the internal data bus for the drawing process does not change, so that the performance performance can be improved.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a configuration of a display system including a display control device according to a first embodiment of the present invention.
FIG. 2 is a block diagram illustrating a configuration of a display system including a display control device according to a second embodiment of the present invention.
FIG. 3 is a diagram for explaining an operation of the display control device according to the second embodiment of the present invention.
FIG. 4 is a block diagram showing a configuration of a display system including a display control device according to a third embodiment of the present invention.
FIG. 5 is a diagram for explaining an operation of the display control device according to the third embodiment of the present invention.
FIG. 6 is a block diagram illustrating a configuration of a display system including a conventional display control device.
FIG. 7 is a diagram for explaining the operation of a conventional display control device.
[Explanation of symbols]
100, 200, 400 display system
101, 201, 401 display control device
102 Display device
110, 210, 410 Display control unit
120 ROM
130 RAM
140 External data bus
111 Central Processing Unit (CPU)
112 Bus control unit (BCU)
113 Internal data bus
114, 211, 411 display control unit
1141 Direct memory access controller (DMAC)
1142 registers
1143 display device interface (LCD_IF)
1144 synchronization signal generator
150 Video RAM
160 drive signal converter
170 LCD panel
202 Video codec
2111 RGB arbitration unit
4111 color resolution converter

Claims (5)

静止画像データを格納する第1の記憶手段と、前記第1の記憶手段から前記静止画像データを読み出して一時的に保持し表示装置に転送するダイレクトメモリアクセスコントローラと、前記ダイレクトメモリアクセスコントローラからの前記静止画像データの転送速度を調整するデータ転送速度調整手段と、を具備する表示制御装置。A first storage unit that stores still image data, a direct memory access controller that reads out the still image data from the first storage unit, temporarily stores the still image data, and transfers the data to a display device. A display control device comprising: a data transfer speed adjusting unit that adjusts a transfer speed of the still image data. 前記データ転送速度調整手段は、前記ダイレクトメモリアクセスコントローラが読み出す前記静止画像データの1画素当たりの転送時間設定値を記憶する第2の記憶手段と、前記第2の記憶手段に記憶されている転送時間設定値を変更する転送時間設定値変更手段と、前記第2の記憶手段に格納された転送時間設定値に応じて前記ダイレクトメモリアクセスコントローラから前記静止画像データの転送速度を決定するデータ転送速度決定手段と、を具備することを特徴とする請求項1記載の表示制御装置。The data transfer speed adjustment unit includes a second storage unit that stores a transfer time set value per pixel of the still image data read by the direct memory access controller, and a transfer unit that stores the transfer time set value in the second storage unit. Transfer time setting value changing means for changing a time setting value; and a data transfer speed for determining a transfer speed of the still image data from the direct memory access controller according to the transfer time setting value stored in the second storage means. The display control device according to claim 1, further comprising: a determination unit. 符号化圧縮された動画像データを復号して復号動画像データを生成する動画像符復号器と、前記ダイレクトメモリアクセスコントローラからの前記静止画像データ又は前記動画像符復号器からの前記復号動画像データを選択して前記表示装置に転送するの調停手段と、を具備することを特徴とする請求項1又は請求項2記載の表示制御装置。A video codec for decoding the encoded video data to generate decoded video data, and the still video data from the direct memory access controller or the decoded video from the video codec 3. The display control device according to claim 1, further comprising an arbitration unit for selecting data and transferring the selected data to the display device. 前記ダイレクトメモリアクセスコントローラからの前記静止画像データの色解像度を変換する色解像度変換手段を具備することを特徴とする請求項1から請求項3のいずれかに記載の表示制御装置。4. The display control device according to claim 1, further comprising a color resolution conversion unit configured to convert a color resolution of the still image data from the direct memory access controller. 静止画像データを記憶手段に格納する記憶ステップと、前記記憶手段から前記静止画像データを読み出して一時的に保持し表示装置に転送するデータ保持転送ステップと、前記データ保持転送ステップにおいて前記静止画像データを転送する転送速度を調整するデータ転送速度調整ステップと、を具備する表示制御方法。A storage step of storing still image data in storage means, a data holding and transferring step of reading out the still image data from the storage means, temporarily holding the transferred still image data, and transferring the still image data to a display device; A data transfer speed adjusting step of adjusting a transfer speed for transferring the data.
JP2002318373A 2002-10-31 2002-10-31 Display control device and its method Pending JP2004151529A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002318373A JP2004151529A (en) 2002-10-31 2002-10-31 Display control device and its method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002318373A JP2004151529A (en) 2002-10-31 2002-10-31 Display control device and its method

Publications (1)

Publication Number Publication Date
JP2004151529A true JP2004151529A (en) 2004-05-27

Family

ID=32461519

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002318373A Pending JP2004151529A (en) 2002-10-31 2002-10-31 Display control device and its method

Country Status (1)

Country Link
JP (1) JP2004151529A (en)

Similar Documents

Publication Publication Date Title
US20020190943A1 (en) Image display apparatus
KR101467127B1 (en) Techniques to control display activity
JP4200942B2 (en) Display controller, electronic device, and image data supply method
JP2003330433A (en) Display drive control circuit, and electronic apparatus provided with display device
US7512021B2 (en) Register configuration control device, register configuration control method, and program for implementing the method
JP2003044011A (en) Display device
JPH09281933A (en) Data driver and liquid crystal display device and information processing device using it.
US20110261061A1 (en) Method and system for processing image data on a per tile basis in an image sensor pipeline
JP6645738B2 (en) Display driver, display system, and display panel driving method
US20080292216A1 (en) Method and system for processing images using variable size tiles
KR20160094175A (en) Display Controller for improving display noise and System including the same
JP2006301724A (en) Memory controller, image processing controller and electronic equipment
JP2007147901A (en) Personal digital assistant
JP2004151529A (en) Display control device and its method
CN114153415A (en) Image frame rate control method and related product
US20030160748A1 (en) Display control circuit, semiconductor device, and portable device
JP2003236171A (en) Image display device for pachinko game machine and control method therefor
CA2107436C (en) Image processing system including a processor side memory and a display side memory
JP2007148665A (en) Portable information terminal
JP2003263140A (en) Display drive control circuit
JP2008257685A (en) Image processor, image processing method, and electronic equipment
JP5125205B2 (en) Data signal processing device, image processing device, image output device, and data signal processing method
JP2005122119A (en) Video interface device in system constituted of mpu and video codec
JP2006013701A (en) Display controller, electronic apparatus, and image data supply method
JP4744277B2 (en) Portable information terminal