JP2004133283A - Picture display device, picture display method, and picture display program - Google Patents

Picture display device, picture display method, and picture display program Download PDF

Info

Publication number
JP2004133283A
JP2004133283A JP2002298993A JP2002298993A JP2004133283A JP 2004133283 A JP2004133283 A JP 2004133283A JP 2002298993 A JP2002298993 A JP 2002298993A JP 2002298993 A JP2002298993 A JP 2002298993A JP 2004133283 A JP2004133283 A JP 2004133283A
Authority
JP
Japan
Prior art keywords
image
display
memory space
memories
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.)
Withdrawn
Application number
JP2002298993A
Other languages
Japanese (ja)
Inventor
Kenji Mori
森 賢次
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2002298993A priority Critical patent/JP2004133283A/en
Publication of JP2004133283A publication Critical patent/JP2004133283A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a picture display means for realizing smooth scroll display and preventing tearing, using picture memories efficiently. <P>SOLUTION: The picture display device is provided with: a display part (18) which displays pictures; two picture memories (14, 15) which have capacity corresponding to the number of pixels of the display screen of the display part; and a display control means (10) which writes picture data to be displayed in one side or both of the picture memories and also reads out the picture data from the picture memories and displays the data on the display part. At the time of displaying still pictures with scrolling, after the display control means determines the write-in position of the still pictures on the simplex logical memory space which is constituted by the combination of the two memories, the display control part performs the writing and the reading of the picture data to an area in the picture memory corresponding to the write-in position. Moreover, at the time of displaying moving pictures or different still pictures, after the part writes frame pictures constituting the moving pictures or different still pictures respectively in the two memories alternatively, the part reads out them. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、携帯電話やPDA(Personal Digital Assistant)など、比較的小型の端末装置において動画及び静止画を表示するための画像表示装置に関する。
【0002】
【背景技術】
静止画や動画を表示する表示装置では、一般的に、表示すべき画像(以下、「ソース画像」とも呼ぶ。)をいったん画像メモリに書き込み、それを読み出すことにより、画像を表示画面上に表示する。表示品質などを考慮しない場合、原理上は表示画面の画素数に対応するだけの記憶容量を有する画像メモリ、即ち1画面分の画像メモリを使用すれば静止画や動画を表示することは可能である。
【0003】
しかし、1画面分の画像メモリしか有しない場合、いわゆるスクロール表示に時間を要するという不具合がある。スクロール表示とは、一般的に、1つの静止画の異なる部分を順に表示する手法であるが、1画面分の画像メモリしか有しない場合には、ソース画像が1つの静止画であるにも関わらず、毎回スクロール後の位置の画像データを画像メモリに書き込んでから読み出す必要があるので表示処理に時間を要してしまう。このため、スムーズなスクロール表示を実現するために、1画面分以上の画像メモリを使用する手法が提案されている。即ち、ある静止画の一部分を画像メモリに書き込んで表示した後、スクロール時にはスクロール後(表示位置の移動後)の位置に対応する画像データを画像メモリの残りの部分に書き込んで表示を行う(例えば、特許文献1及び2)。
【0004】
一方、動画を表示する場合、1画面分の画像メモリしか有しないと、画像メモリへの画像データの書き込みタイミングと読み出しタイミングとが非同期であることに起因して、表示乱れ(「ティアリング(Tearing)」と呼ばれる。)が発生するという不具合がある。即ち、通常、画像メモリへの画像データの書き込みタイミングと読み出しタイミングは非同期であるため、画像メモリが1画面分しかないと、画像データの書き込みタイミングが読み出しタイミングを追い越したり、逆に読み出しタイミングが書き込みタイミングを追い越したりして、画面表示が瞬間的に乱れる(具体的には、追い越しが発生する画面上のラインを境界として表示画面が上下に分割したように見える)。
【0005】
この不具合を防止するために、2画面分の画像メモリを使用し、追い越しが生じないように書き込みタイミングと読み出しタイミングを制御してティアリングを防止する手法が提案されている(例えば特許文献3)。また、2画面分以上の画像メモリを使用して、書き込みタイミングと読み出しタイミングの制御を単純化する手法も提案されている(例えば特許文献4)。
【0006】
【特許文献1】
特開平8−202524号公報
【特許文献2】
特開平4−34496号公報
【特許文献3】
特開昭62−11889号公報
【特許文献4】
特開平10−161842号公報
【0007】
【発明が解決しようとする課題】
このように、スムーズなスクロール表示やティアリング防止を実現するためには、1画面分以上の画像メモリを使用することが必要になるが、携帯電話やPDAなどでは、コスト面の要請などからそれほど大容量の画像メモリを搭載することはできない。
【0008】
本発明は、以上の点に鑑みてなされたものであり、少ない画像メモリを効率的に使用して、スムーズなスクロール表示やティアリング防止を実現することが可能な画像表示装置及び方法、並びに画像表示プログラムを提供することを課題とする。
【0009】
【課題を解決するための手段】
本発明の1つの観点では、画像表示装置は、画像を表示する表示部と、前記表示部の表示画面の画素数に対応する容量を有する2つの画像メモリと、表示すべき画像データを前記画像メモリの一方又は両方へ書き込むとともに、前記画像メモリから前記画像データを読み出して前記表示部に表示する表示制御手段と、を備え、前記表示制御手段は、静止画をスクロール表示するときには、前記2つの画像メモリの組み合わせにより構成される単一の論理メモリ空間上において前記静止画の書き込み位置を決定した後、当該書き込み位置に対応する前記画像メモリ上の領域に前記画像データの書き込み及び読み出しを行い、動画又は異なる静止画を表示するときには前記2つの画像メモリのそれぞれに前記動画を構成するフレーム画像又は前記異なる静止画を交互に書き込んだ後に読み出すことを特徴とする。
【0010】
また、同様の観点では、画像を表示する表示部と、前記表示部の表示画面の画素数に対応する容量を有する2つの画像メモリと、を備える画像表示装置において実行される画像表示方法は、静止画をスクロール表示するときには、前記2つの画像メモリの組み合わせにより構成される単一の論理メモリ空間上において前記静止画の書き込み位置を決定した後、当該書き込み位置に対応する前記画像メモリ上の領域に前記画像データの書き込み及び読み出しを行い、動画又は異なる静止画を表示するときには前記2つの画像メモリのそれぞれに前記動画を構成するフレーム画像又は前記異なる静止画を交互に書き込んだ後に読み出すことを特徴とする。
【0011】
上記の画像表示装置又は画像表示方法は、例えば携帯電話やPDAなどの携帯端末装置に好適に適用することができる。表示すべき画像データは通信その他の方法で入力される。表示部は所定の画面サイズを有し、その画面サイズに対応する容量の画像メモリが2つ設けられる。2つの画像メモリを組み合わせることにより、表示部の1画面分以上の仮想的な論理メモリ空間が構成される。
【0012】
画像の表示は、1つの静止画をスクロール表示するスクロール表示モードと、動画又は異なる静止画を表示する動画表示モードとがある。静止画をスクロール表示するモードでは、論理メモリ空間上に1画面分以上の画像データを書き込むことができ、その範囲内で読み出し位置を変えることによりスクロール表示が行われる。1画面分以上の仮想メモリ空間上にスクロール表示の元になる静止画を展開できるので、表示すべき画像の書き換え頻度を減少させることができ、読み出し位置を変更するのみでスムーズなスクロール表示が実現できる。一方、動画表示モードでは、各々1画面分の画像メモリに交互にフレーム画像を書き込み、書き込んだ順に読み出して再生することにより、いわゆるティアリングなどを生じることなく動画の表示が可能となる。これは、異なる静止画を順に表示する場合も同様である。このように、2画面分の画像メモリを、表示モードに応じて効率的に使用することにより、限られたメモリ容量で円滑に各モードでの表示を行うことが可能となる。
【0013】
上記の画像表示装置の一態様では、前記論理メモリ空間は、一方の画像メモリの一部分を他方の画像メモリに対して横方向に配置するとともに、前記一方の画像メモリの残りの部分を前記他方の画像メモリに対して縦方向に配置して構成することができる。これにより、1画面分のメモリ空間に対して、縦横の両方向に付加的なメモリ空間を設けることができるので、縦横いずれの方向においてもスムーズなスクロール表示が可能となる。
【0014】
上記の画像表示装置の他の一態様では、前記画像メモリの各々が縦方向にh画素、横方向にw画素の画像データを格納できる容量を有する場合に、前記論理メモリ空間は、縦方向に2w画素、横方向にh画素のサイズとすることができる。このように、論理メモリ空間を1画面分の画像メモリサイズの整数倍とすることにより、アドレスの変換処理などを単純化することができる。
【0015】
上記の画像表示装置の他の一態様では、前記表示制御装置は、前記画像データ及び前記論理メモリ空間上における当該画像データの書き込み位置情報を含む表示コマンドを受け取る手段と、前記論理メモリ空間上における前記書き込み位置情報を、前記画像メモリにより構成される物理メモリ空間上の位置情報に変換する手段とを備えることができる。これにより、与えられた論理メモリ空間上の位置情報を、実際の2つの画像メモリにより構成される物理メモリ空間上の位置情報に変換して表示コマンドに従って画像を表示することができる。
【0016】
上記の画像表示装置の他の一態様では、前記表示コマンドは、静止画のスクロール表示及び動画表示のいずれを行うかを示す指定情報を含み、前記表示制御手段は前記指定情報に基づいて前記静止画のスクロール表示又は動画表示のいずれかを実行することができる。また、その代わりに、前記表示制御手段は、最新の表示コマンド中の書き込み位置情報と、前回の表示コマンド中の書き込み位置情報に基づいて、静止画のスクロール表示及び動画表示のいずれを行うかを決定することができる。
【0017】
上記の画像表示装置の他の一態様では、前記表示コマンドは、静止画のスクロール表示モードとして左右スクロール及び上下スクロールを指定するスクロール方向指定情報を含み、前記表示制御手段は、前記左右スクロールが指定された場合は前記2つの画像メモリを左右方向に並べて配置して前記論理メモリ空間を形成し、前記上下スクロールが指定された場合は前記2つの画像メモリを上下方向に並べて配置して前記論理メモリ空間を形成することができる。これにより、スクロール方向が限定されているときには、その方向に最大のメモリ空間を確保するように論理メモリ空間を形成してスクロール表示時の画像データの書き込み頻度を減少させることにより、スムーズなスクロール表示が可能となる。
【0018】
上記の画像表示装置の他の一態様では、前記表示コマンドは縦長画面表示又は横長画面表示の指定情報を含み、前記表示制御装置は、前記縦長画面表示が指定された場合は前記論理メモリ空間上に縦長の読み出し領域を規定し、前記横長画面表示が指定された場合は前記論理メモリ空間上に横長の読み出し領域を規定することができる。これにより、表示画面の形状が縦長であっても横長で表示することが可能となり、その逆も可能となる。この変更は、同一の静止画の表示領域を縦長にするか横長にするかを変更するものであるので、例えば地図データなど、特定の部分を縦長又は横長のいずれか望ましい方法で表示することが可能となる。
【0019】
上記の画像表示装置の他の一態様では、前記表示画面の上下位置に特定の画像を表示するための固定表示エリアを有し、前記固定表示エリアに対応する領域は、前記論理メモリ空間上における上端又は下端に配置することができる。これにより、表示画面の上下位置に例えばテロップなどの特定の固定表示を行いつつ、残りの表示領域を利用して前述のスクロール表示と動画表示を行うことができる。
【0020】
本発明の他の観点では、画像を表示する表示部と、前記表示部の表示画面の画素数に対応する容量を有する2つの画像メモリと、を備えるコンピュータにおいて実行される画像表示プログラムは、前記コンピュータを、静止画をスクロール表示するときには、前記2つの画像メモリの組み合わせにより構成される単一の論理メモリ空間上において前記静止画の書き込み位置を決定した後、当該書き込み位置に対応する前記画像メモリ上の領域に前記画像データの書き込み及び読み出しを行い、動画又は異なる静止画を表示するときには前記2つの画像メモリのそれぞれに前記動画を構成するフレーム画像又は前記異なる静止画を交互に書き込んだ後に読み出す表示制御手段として機能させる。この画像表示プログラムを、画像を表示する表示部と、前記表示部の表示画面の画素数に対応する容量を有する2つの画像メモリとを備えるコンピュータ上で実行することにより、上述の画像表示装置を実現することができる。
【0021】
【発明の実施の形態】
以下、図面を参照して本発明の好適な実施の形態について説明する。
【0022】
[携帯端末装置]
図1に、本発明の画像表示手法を適用した携帯端末装置の概略構成を示す。この携帯端末装置1は、例えば携帯電話、PDA、ハンディタイプのパーソナルコンピュータなどとすることができる。携帯端末装置1は、大別して、ホストコントローラ2と、通信ユニット3と、入力ユニット4と、表示処理ユニット10とを備える。ホストコントローラ2は、携帯端末装置1に搭載される各種の要素を制御するコントローラであり、CPU、作業メモリとしてのRAM、各種の制御データや予め用意された制御プログラムなどを記憶するROMなどを備える。ホストコントローラ2は、制御プログラムを実行することにより、通信ユニット3を利用した通信、利用者による入力ユニット4への指示/入力の検出、表示制御ユニット10による画像表示などを統括的に制御する。
【0023】
通信ユニット3は、必要に応じてアンテナ5などを有し、外部から画像データなどを受信する際に機能する。例えば、携帯端末装置1が携帯電話であり、他の携帯電話から顔画像データなどを受信する場合に通信ユニット3が通信処理を行う。なお、携帯端末装置1が携帯電話である場合には通信ユニットは携帯端末装置1内に搭載されるが、携帯端末装置1がPDAやハンディタイプのパーソナルコンピュータであるような場合は、通信ユニットは携帯端末装置1内には設けられず、外付けの機器として構成されることもある。
【0024】
入力ユニット4は、利用者が操作することにより指示/入力を行うためのものであり、携帯端末装置1が携帯電話である場合は入力ボタンなどにより構成することができ、携帯端末装置1がPDAやハンディタイプのパーソナルコンピュータである場合はタッチペン式の入力装置や小型キーボードなどにより構成することができる。
【0025】
表示処理ユニット10は、パネル18と、そのパネル18に画像を表示するための画像表示処理を実行する要素とを備える。パネル18は、比較的小型で画面サイズが小さめの液晶パネルなどが一般的に使用されるが、液晶パネル以外の各種表示装置を使用することが可能である。なお、以下の説明では、パネル18の画面サイズは横160ドット×縦240ドットであるとする。
【0026】
表示処理ユニット10は、さらに、ホストI/F11、動作制御レジスタ12、メモリライト(書き込み)制御部13、第1のフレームメモリ14、第2のフレームメモリ15、メモリリード(読み出し)制御部16、ドライバ17を備える。ホストI/F11は、ホストコントローラ2との間で必要なデータを授受するためのインターフェースであり、主としてパネル18に画像を表示するための各種コマンドや表示画像データなどをホストコントローラ2から受信して、動作制御レジスタ12及びメモリライト制御部13へ供給する。
【0027】
動作制御レジスタ12は、ホストコントローラ2から与えられる論理アドレスをホストI/F11を通じて受け取り、実際のフレームメモリ14及び15上の物理アドレスを生成してメモリライト制御部13及びメモリリード制御部16に供給する。メモリライト制御部13は、ホストI/F11から表示画像データを受け取るとともに、動作制御レジスタ12からフレームメモリ14及び15上の物理アドレス(ライトアドレス)を受け取り、指定された物理アドレスに表示画像データをライトする(書き込む)。
【0028】
フレームメモリ14及び15は、それぞれパネル18の1画面分の表示画素を有するランダムアクセス可能な半導体メモリである。メモリリード制御部16は、動作制御レジスタ12から与えられる物理アドレス(リードアドレス)に従って、フレームメモリ14及び/又は15から表示画像データをリードし(読み出し)、ドライバ17へ送る。ドライバ17は、表示画像データをパネル18上に表示させる処理を行う。例えば、パネル18が液晶パネルである場合、ドライバ18は液晶パネルのデータ電極を駆動するセグメントドライバと走査電極を駆動するコモンドライバを有する半導体装置であり、表示画像データを液晶パネル18の駆動電圧に変換して供給する。
【0029】
[第1実施例]
次に、上記の携帯端末装置1を利用する第1実施例について説明する。第1実施例は、2つのフレームメモリ14及び15を利用して、静止画のスクロール表示と動画表示とを行うものである。
【0030】
まず、メモリ構成について説明する。図2は、2つのフレームメモリを用いた論理メモリ空間と物理メモリ空間の構成を模式的に示す。論理メモリ空間とは、2つのフレームメモリを使用して仮想的に構成されるメモリ空間であり、一方、物理メモリ空間とは2つのフレームメモリ上の実際のメモリ空間である。
【0031】
いま、図2に示すように、物理メモリ空間として、横(幅)方向にw画素、縦(高さ)方向にh画素(w<h)のパネルについて、w×h×3バイト(RGB24ビットの場合)のフレームメモリを2面使用する。2つのフレームメモリを便宜上、「メモリ0」と「メモリ1」と呼ぶ。なお、図2の例では、メモリ0及びメモリ1は縦240画素×横160画素であり、w=160、h=240である。
【0032】
ここで、2つのフレームメモリ、つまりメモリ0及びメモリ1を使用して、図2に示すように、横方向W画素、縦方向H画素の論理メモリ空間を構成する。ここで、W=h、H=2wである。この論理メモリ空間内にパネルの1画面サイズに対応する横w×縦hの表示領域(エリア(a))を規定し、周囲の余剰部分(エリア(b)、(c))を用いてスクロール表示を行う。論理メモリ空間上のアドレスを論理アドレスと呼び、縦方向を論理ページアドレスlpa、横方向を論理カラムアドレスlcaで示すことにする。よって、論理ページアドレスlpaは0〜319の範囲であり、論理カラムアドレスlcaは0〜239の範囲である。
【0033】
一方、物理メモリ空間上では、メモリ0及びメモリ1がそれぞれパネルの1画面サイズに対応し、横w×縦hの2つのメモリ空間を有する。物理メモリ空間上のアドレスを物理アドレスと呼ぶ。物理アドレスは、メモリ選択msel、メモリ0の物理ページアドレスmpa0及び物理カラムアドレスmca0、メモリ1の物理ページアドレスmpa1及び物理カラムアドレスmca1で示される。
【0034】
本実施例においては、物理メモリ空間を構成するメモリ0は図1に示すフレームメモリ14に対応し、メモリ1はフレームメモリ15に対応するものとする。本発明では、このように2つのフレームメモリを使用して論理メモリ空間を構成することにより、円滑なスクロール表示とティアリング防止とを同時に実現することができる。即ち、静止画のスクロール表示の際には、論理メモリ空間を1つの仮想的なメモリと想定し、その上で画像の書き込み位置を制御する。但し、実際の静止画のライト及びリードは、論理メモリ空間上の書き込み位置に対応する物理メモリ空間上の位置に対して行われる。これにより、パネル1画面分よりも大きいメモリ空間を使用して静止画のスクロール表示を行うので、円滑なスクロール表示が可能となる。
【0035】
一方、動画を表示する場合、又は、それまで表示していた静止画と異なる新規な静止画を表示する場合(両者をまとめて以下「動画表示」とも呼ぶ。)には、物理メモリ空間上の2つの独立なメモリ0及びメモリ1にそれぞれパネル1画面分の画像をライト及びリードする。これにより、動画表示時のティアリングなどを防止することができる。
【0036】
論理メモリ空間と物理メモリ空間の各エリアの対応を図2に示している。論理メモリ空間と物理メモリ空間の対応としては、論理メモリ空間のエリア(a)は物理メモリ空間のメモリ0上のエリア(A)に対応し、論理メモリ空間のエリア(b)は物理メモリ空間のメモリ1上のエリア(B)に対応し、論理メモリ空間のエリア(c)は物理メモリ空間のメモリ1上のエリア(C)に対応する。なお、論理メモリ空間のエリア(c)と物理メモリ空間のエリア(C)の対応については、論理メモリ空間のエリア(c)の左から右方向のアドレスが、物理メモリ空間のエリア(C)の上から下方向に対応するように対応付けを行っている。
【0037】
ホストコントローラ2は論理メモリ空間のみを認識している。即ち、ホストコントローラ2は、論理メモリ空間上において、パネルの1画面サイズに対応するエリア(a)と、周囲のエリア(b)、(c)とを認識しており、論理アドレスを使用して画像の表示コマンドを表示処理ユニット10へ供給する。一方、表示処理ユニット10内の動作制御レジスタ12は、ホストコントローラ2から与えられた論理アドレスを、フレームメモリ14及び15上の物理アドレスに変換する必要がある。
【0038】
具体的には、静止画のスクロール表示時には、ホストコントローラ2は論理メモリ空間のエリア(a)〜(c)の全ての物理アドレスを使用して表示コマンドを表示処理ユニット10に与える。よって、表示処理ユニット10は、エリア(a)〜(c)の全てのエリアに対応する論理アドレスを物理アドレスに変換する必要がある。スクロール表示時の論理アドレスから物理アドレスへの換算式を図2に示している。換算式から分かるように、論理メモリ空間上のエリア(a)内の論理アドレスは、そのまま物理メモリ空間上のメモリ0の物理アドレスに対応する。よって、換算後の物理アドレスは、メモリ選択msel=0であり、物理ページアドレスmpa0=論理ページアドレスlpaとなり、物理カラムアドレスmca0=論理カラムアドレスlcaとなる。
【0039】
論理メモリ空間上のエリア(b)内の論理アドレスは、物理メモリ空間上のメモリ1のエリア(B)内の物理アドレスに対応する。よって、換算後の物理アドレスは、メモリ選択msel=1であり、物理ページアドレスmpa1=論理ページアドレスlpaとなり、物理カラムアドレスmcal=lca−160となる。
【0040】
また、論理メモリ空間上のエリア(c)内の論理アドレスは、物理メモリ空間上のメモリ1のエリア(C)内の物理アドレスに対応するが、論理アドレスの左右方向の移動が物理アドレスの上下方向の移動に対応する。よって、換算後の物理アドレスは、メモリ選択msel=1であり、物理ページアドレスmpa1=論理カラムアドレスlcaとなり、物理カラムアドレスmca1=論理ページアドレスlpa−160となる。以上の換算式を使用して、動作制御レジスタ12は、ホストコントローラ2から与えられる論理アドレスを表示制御ユニット10内のフレームメモリ14及び15上の物理アドレスに変換する。
【0041】
一方、動画表示時には、時間的に連続するフレーム画像を物理メモリ空間上のメモリ0及びメモリ1に交互にライト及びリードすればよい。この場合、ホストコントローラ2は、全てのフレーム画像の表示アドレスを、論理メモリ空間上のエリア(a)に対応する論理アドレスとして表示処理ユニット10に入力する。よって、動画表示時の論理アドレスから物理アドレスへの変換は、メモリ選択mselをフレーム毎に切り換えるとともに、メモリ選択されている方の物理ページアドレスmpa0又はmpa1=論理ページアドレスlpaとし、同様にメモリ選択されている方の物理カラムアドレスmca0又はmca1=論理カラムアドレスlcaとすればよい。
【0042】
次に、第1実施例における表示制御例について図3を参照して説明する。なお、以下の例では、図1に示すホストコントローラ2が表示処理ユニット10へ所定のコマンドを送信することにより表示制御を行うものとする。
【0043】
まず、図3の左上の状態1に示すように、最初に1枚の静止画を表示する場合、ホストコントローラ2は、論理メモリ空間内のエリア(a)に画像をライトすることを指示する表示指示コマンドを表示処理ユニット10へ送る。この表示指示コマンドには論理メモリ空間のエリア(a)内の論理アドレスが含まれており、表示処理ユニット10は受け取った論理アドレスを前述のスクロール時のアドレス変換方法により物理アドレスに変換し、物理メモリ空間上のメモリ0にライトする。
【0044】
表示指示コマンドの例を以下に示す。
【0045】
(1)ページアドレスセットPSET(pset1, pset2):論理ページアドレスを指定する。
【0046】
(2)カラムアドレスセットCSET(cset1, cset2):論理カラムアドレスを指定する。
【0047】
(3)メモリライトRAMWR:メモリへの書き込み開始指示、続いて表示データを送る。
【0048】
コマンドPSET及びCSETによる論理ページアドレス及び論理カラムアドレスの指定方法を図4に示す。PSETは引数pset1とpset2の間の縦方向エリアを指定し、CSETは引数cset1とcset2の間の横方向エリアを指定する。両者の組み合わせにより論理メモリ空間上の書き込み指定エリアが指定される。そして、コマンドRAMWRにより書き込み開始が指示され、それに続いて画像データが表示処理ユニット10へ送られる。
【0049】
表示制御ユニット10は、上記の表示指示コマンドによりホストコントローラ2から与えられた論理アドレスを物理アドレスに変換し、各フレームメモリ14及び/又は15にライトした後、リードすることにより静止画がパネル18に表示される。図3に示す状態1では、最初に静止画を表示するので、パネル1画面分の静止画データが論理メモリ空間上のエリア(a)にライトするよう指示され、実際には物理メモリ空間上のメモリ0(フレームメモリ14)全体にライトされ、そこからリードされる。
【0050】
次に、状態1で表示した静止画をスクロール表示する場合、図3の右上の状態2に示すようにメモリを使用する。つまり、ホストコントローラ2からのスクロール指示コマンドにより、論理メモリ空間上のエリア(b)及び(c)にスクロール表示用の追加画像を書き込み、次にスクロール開始位置を指定する。スクロール指示コマンドの例を以下に示す。
【0051】
(1)ページアドレスセットPSET(pset1, pset2):論理ページアドレスを指定する。
【0052】
(2)カラムアドレスセットCSET(cset1, cset2):論理カラムアドレスを指定する。
【0053】
(3)メモリライトRAMWR:メモリへの書き込み開始指示、続いて表示データを送る。
【0054】
(4)スクロールスタートセットSCSTART:スクロール表示開始アドレスを指定する。
【0055】
スクロール表示用の追加画像のライト位置は、上下方向又は左右方向のみのスクロールであれば論理メモリ空間上では長方形エリアにライトすることになるが、図3の状態2に示すような斜め方向のスクロールの場合はL字型のエリアに追加画像をライトすることになる。この場合、2つの長方形エリアにライトを行うこととするか、L字型のエリアに1回でライトを行うかはいずれでも構わない。
【0056】
また、SCSTARTでは、スクロール後の表示開始のページアドレス/カラムアドレスを指定する。図3に示す状態1では表示開始アドレス(ページ、カラム)=(0、0)となっており、例えばSCSTARTで表示開始アドレスを(10、20)と指定すれば、下方向に10画素、右方向に20画素のスクロールが行われる。なお、スクロールの際に論理メモリ空間を球状と想定してアドレスを連続的に処理すれば、上方向及び左方向へのスクロールが可能となる。
【0057】
さて、これらのコマンドをホストコントローラ2から受け取ると、表示処理ユニット10は、図2に示す変換式に従って論理アドレスを物理アドレスに変換し、さらに表示開始位置に対応する物理アドレスから画像の表示を行う。これにより、元の表示開始位置(状態1でメモリ0の左上)からの表示開始位置の移動量に応じてスクロール表示がなされる。スクロール表示を継続する場合は、ホストコントローラ2は物理メモリ空間上のエリア(a)〜(c)に追加画像を書き込んだ後表示開始位置を変更することによりスクロールを行う。
【0058】
図3に示す状態2では、ホストコントローラ2は論理メモリ空間上のエリア(b)及び(c)に追加画像をライトするコマンドを発するが、実際には物理メモリ空間上ではそれぞれメモリ1のエリア(B)及び(C)に追加画像がライトされ、そこからリードされて表示が行われる。
【0059】
次に、図3に示す状態1から、動画表示又は新たな静止画表示を行う場合(状態3へ移行する)には、ホストコントローラ2は論理メモリ空間上のエリア(a)に新規な画像データ(動画の最初のフレーム画像又は新規な静止画像)をライトするよう表示指示コマンドを生成して表示処理ユニット10へ供給する。しかしその新規な画像データは、表示処理ユニット10内での論理アドレスから物理アドレスへの変換により、実際には図3に示すように物理メモリ空間上のメモリ1全面(図3の状態3におけるエリア(A’)にライトされる。この理由は、前述のようにライトタイミングとリードタイミングの追い越しに起因するティアリングを防止するためである。
【0060】
そして、その後(状態3から)静止画スクロールを行う場合(状態4へ移行)には、ホストコントローラ2は先に述べた状態1から状態2への移行の場合と同様に、スクロール指示コマンドを発する。このスクロール指示コマンドでは、ホストコントローラ2は論理メモリ空間内のエリア(b)及び(c)にスクロール用追加画像のライトを指示するが、表示処理ユニット10内では先の状態3において表示画像がメモリ1にライトされているため、論理メモリ空間上のエリア(b)及び(c)を物理メモリ空間上のメモリ0のエリア(B’)及び(C’)に割り当てて、スクロール表示を実行する。従って、図3における状態2の場合と比較して、メモリ0とメモリ1との関係が入れ替わることになる。
【0061】
また、状態2〜状態4のいずれかの状態から新規な静止画を表示する場合には、いずれも状態1に示すように、物理メモリ空間内のメモリ0に表示画像をライトすればよい。
【0062】
本実施例では、以上のように、静止画のスクロール表示を行う場合には、論理メモリ空間内の空き領域にスクロール用追加画像をライトし、読み出しを行えばよい。また、新規な静止画を表示する場合又は動画表示を行う場合には、それまでに静止画がライトされていた物理メモリと反対の物理メモリに当該画像データをライトすればよい。これにより、スクロール表示時にはパネル18の1画面分以上のメモリ空間を利用してスムーズなスクロール表示ができ、かつ、動画表示時には追い越しによるティアリングを防止することができる。また、それらの制御を2つのフレームメモリを適宜使い分けることにより行うので、携帯端末などの画像メモリ容量に制限がある端末装置においても実現することができる。
【0063】
さて、本実施例では上記のように、スクロール表示時と動画表示(新規静止画表示を含む)時とで、論理メモリ空間に対する2つの物理メモリ空間上のメモリ0及びメモリ1の割り当てを切り換えているが、表示処理ユニット10は、そのような切換を行うためには、現在の状態がスクロール表示を行うべき状態であるのか、動画表示を行うべき状態であるのかを知る必要がある。そのための1つの単純な方法は、ホストコントローラ2がいずれの状態であるかを示す指定コマンドを表示処理ユニット10に与えればよい。そして、表示処理ユニット10は、スクロール表示を指定するコマンドを受け取ったときには前述のスクロール時の論理アドレス→物理アドレス変換式に従ってアドレス変換を行って物理メモリを割り当てればよいし、動画表示を指定するコマンドを受け取ったときには前述の動画表示時の論理アドレス→物理アドレス変換式に従ってアドレス変換を行って物理メモリを割り当てればよい。そのような専用コマンドとしては、例えば前述のスクロール表示コマンド中のSCSTARTなどを使用することができる。
【0064】
また、その代わりに、スクロール表示をすべき状態であるか、動画表示を行うべき状態であるかを、ホストコントローラ2からの指定コマンドに基づいて決定するのではなく、表示処理ユニット10側がホストコントローラ2から与えられるコマンド中の論理アドレスに基づいて決定することも可能である。これについて詳しく説明する。前述のように、ホストコントローラ2からの表示指示コマンドには、画像の論理メモリ空間上での書き込み指定エリア(図4に示すように、論理ページアドレス及び論理カラムアドレスにより規定される)が含まれている。よって、前回の表示指示コマンドで指定された書き込み指定エリアと、今回の表示指示コマンドで指定された書き込み指定エリアとの関係に基づいて、スクロール表示をすべき状態であるか、動画表示をすべき状態であるかを判定することができる。具体的には、▲1▼今回の書き込み指定エリアが論理メモリ空間上のエリア(a)に含まれている、かつ、▲2▼前回の書き込み指定エリアのアドレス及びサイズが今回の書き込み指定エリアのアドレス及びサイズと等しい、の2つの条件を具備する場合は、動画表示をすべき状態であると判定する。これは、前述のように、動画又は新規静止画を表示する場合には、ホストコントローラ2は常に論理メモリ空間内のエリア(a)を指定して画像のライト指示を行うからである。即ち、前回画像をライトしたエリア全体をそっくり書き換える場合のみ動画表示すべきと判定し、それ以外はスクロール表示すべき状態と判定する。これにより、例えば前回ライトした画像の一部のみを書き換えるなどの場合に、誤って動画を表示すべき状態と判定することを防止する。そして、上記2つの条件を具備しない場合には、スクロール表示をすべき状態であると判定すればよい。
【0065】
[第2実施例]
次に、第2実施例について説明する。第2実施例は、基本的には第1実施例と同様に2つのフレームメモリを利用して、スクロール表示と動画表示を切り換えて実行するものであるが、表示画像の上下に固定表示領域を設ける点で第1実施例と異なっている。
【0066】
図5に第2実施例によるメモリ構成を模式的に示す。図5(a)に示すように2つのフレームメモリ14及び15により論理メモリ空間を規定した後、上下に固定表示領域を規定する。図5の例では、上側固定表示領域の高さをUFH画素、下側固定表示領域の高さをLFH画素としている。そして、下側固定表示領域を上側固定表示領域の下に移動して、上下の固定表示領域を一カ所にまとめ配置転換を行う。これにより、固定表示領域と通常の表示領域とのアドレス制御を区別して、単純化することができる。
【0067】
この場合の物理メモリ空間を図5(b)に示す。第1実施例の場合と同様に、論理メモリ空間のエリア(a)、(b)、(c)がそれぞれ物理メモリ空間のエリア(A)、(B)、(C)に対応する。そして、物理メモリ空間のエリア(A)及び(B)の上から(UFH+LFH)画素分のエリアは上下の固定表示領域に割り当てられる。
【0068】
図5(a)及び(b)に示す論理メモリ空間と物理メモリ空間を利用して画像の表示がなされる。スクロール表示時には、図5(a)の右側に示す論理メモリ空間上のエリア(a)〜(c)のうち、上下の固定表示領域を除いたエリアを使用してスクロール表示がなされる。その場合の論理アドレスから物理アドレスへの変換式を図5(b)に示している。一方、動画又は新規静止画の表示時には、図5(b)に示すように、物理メモリ空間上のメモリ0及びメモリ1のうち上下の固定表示領域を除いたエリアを交互に使用して、フレーム画像をライトし、表示する。この際、物理メモリ空間上のエリア(C)の上側領域(上下の固定表示領域の高さの合計に対応する画素分)は、動画表示時には使用されないことになる。
【0069】
図6に、第2実施例におけるスクロール表示と動画(又は新規静止画)表示の各状態を示す。状態5では、論理メモリ空間内のエリア(a)に静止画像をライトする指示がホストコントローラ2から与えられ、表示処理ユニット10は物理メモリ空間上のメモリ0のエリア(A)に画像をライトし、表示する。これにより、その画像は、実際の表示画面上では、上下に設けられた固定表示領域の間に表示されることになる。
【0070】
図6の状態5においてスクロール表示指示がなされると、状態6のように、論理メモリ空間上のエリア(b)及び(c)にスクロール表示用の追加画像がライトされる。その場合、物理メモリ空間上では、追加画像は図示のようにメモリ1のエリア(B)及び(C)にライトされることになる。
【0071】
また、図6の状態5において動画表示又は新規静止画の表示指示がなされると、その指示は論理メモリ空間上のエリア(a)を指定しているが、実際には図6の状態7に示すように、物理メモリ空間上のメモリ1のエリア(A’)に動画のフレーム画像又は新規静止画がライトされることになる。また、その状態7から静止画のスクロール表示が指示されると、状態8に示すように、論理メモリ空間上のエリア(b)及び(c)を物理メモリ空間上のメモリ0側のエリア(B’)及び(C’)に割り当てて画像がライトされる。そして、先に述べたように画像表示位置を指定することによりスクロール表示がなされる。
【0072】
なお、動画表示又は新規静止画表示を行う状態7においては、物理メモリ空間のメモリ1の右上の領域は前述のように不使用となる。また、状態7から静止画のスクロール表示を行った状態8においては、メモリ1の右上の領域は、メモリ0のエリア(C’)の一部を補完するために使用することができる(状態8の図参照)。
【0073】
また、上下の固定表示領域は、実際には固定(例えば同一の静止画を表示しておく)用途以外に、例えば横方向にスクロール表示することも可能である。その場合には、図6の状態5に示す物理メモリ空間上のエリア(A)及び(B)の上側に設定された固定表示領域の範囲内で追加画像のライト及び表示開始位置の変更を行えばよい。これにより、例えば横方向に文字などが流れるテロップ表示などを行うことができる。
【0074】
なお、本実施例におけるスクロール指示コマンドの例を以下に示す。
【0075】
(1)エリアスクロールセットASCSET:スクロール表示の初期設定。
【0076】
(2)ページアドレスセットPSET(pset1, pset2):論理ページアドレスを指定する。
【0077】
(3)カラムアドレスセットCSET(cset1, cset2):論理カラムアドレスを指定する。
【0078】
(4)メモリライトRAMWR:メモリへの書き込み開始指示、続いて表示データを送る。
【0079】
(5)スクロールスタートセットSCSTART:スクロール表示開始アドレスを指定する。
【0080】
なお、ASCSETはスクロールのモード(全画面スクロール、画面上の上部分又は下部分に固定部(縦スクロールしない部分)があるか否か)や、固定部がある場合にその高さなどを設定するコマンドである。また、SCSTARTでは中央スクロール部分の表示開始アドレスに加え、上下固定部の横方向スクロールの表示開始アドレスも指定する。
以上のように、第2実施例では、表示画面の上下に固定表示領域を設けた場合でも、円滑なスクロール表示及びティアリングの生じない動画表示を行うことができる。また、論理メモリ空間及び物理メモリ空間上で上下の固定表示領域を集中させてメモリ構成を行うことにより、アドレス制御を単純化することができる。なお、上記の例では、上側と下側に固定表示領域を有する場合を例示したが、いずれか一方のみに固定表示領域を有する場合にも同様に本発明を適用することができる。
【0081】
[第3実施例]
第1実施例では、縦h画素、横w画素のサイズの2つのフレームメモリ(物理メモリ空間上のメモリ0及びメモリ1)を組み合わせて、縦H=2w画素、横W=hの論理メモリ空間を規定してホストコントローラが論理アドレスを指定して画像の表示コマンドを発している。これに対し、第3実施例では、ホストコントローラからのスクロール表示コマンドにスクロール方向(左右スクロールのみ又は上下スクロールのみ)の指定が含まれている場合には、それに合わせてメモリ0及びメモリ1を配置して論理メモリ空間を規定するものである。
【0082】
図7にその方法を模式的に示す。いま、図7の下段に示すように、物理メモリ空間上のメモリ0又はメモリ1のいずれか一方のみに静止画像がライトされている状態とする。ここで、ホストコントローラ2からのスクロール表示コマンド中に左右スクロールの指定が含まれている場合には、図7の上段中央に示すようにメモリ0とメモリ1を横方向に連結して物理メモリ空間を構成する。これにより、横方向に2画面分の画像データに基づいて左右方向のスクロール表示が可能となる。また、ホストコントローラ2からのスクロール表示コマンド中に上下スクロールの指定が含まれている場合には、図7の上段右に示すようにメモリ0とメモリ1を縦方向に連結して物理メモリ空間を構成する。これにより、縦方向に2画面分の画像データに基づいて上下方向のスクロール表示が可能となる。
【0083】
一方、ホストコントローラ2からのスクロール表示コマンド中にスクロールの指定が含まれていない場合、又は、上下左右スクロールの指定が含まれている場合には、図7の上段左に示すように、第1実施例と同様の論理メモリ空間を構成する。このように、ホストコントローラ2からのコマンドによりスクロール方向が決まっている場合には、その方向に物理メモリ空間が最大となるようにメモリ0及びメモリ1を配置することにより、スクロール表示時に画像の書き換え回数を減少させることができる(例えば、上下方向スクロールの場合、下方向に1画面分スクロールした後、再度1画面分上方向にスクロールする場合に、画像をライトする必要がなくなる。)。
【0084】
なお、この第3実施例は、表示画像の乱れを防止するため、前述のように処理開始時に物理メモリ空間上のメモリ0及びメモリ1の片方のみに画像がライトされていることが条件となる(即ち、両メモリに跨って画像がライトされている場合は不可)。また、第2実施例のように、固定表示領域が規定されていないことも条件となる。
【0085】
[第4実施例]
第4実施例は、左右スクロール時に、通常は縦長の表示画像を横長表示する手法を提供するものであり、その概要を図8に示す。いま、左右方向のスクロールを行う状態(図8(a)に示す上下左右スクロール時又は図8(c)に示す左右スクロール時)であり、論理メモリ空間全体に画像データが既にライトされているものとする。例えば図8(a)に示すように、論理メモリ空間内の一部を縦長画面でスクロール表示しているときに、ホストコントローラ2から横長画面表示の指示を受け取ると、表示処理ユニット10は、図8(b)に示すように同一の論理メモリ空間上でリード領域を横長に規定する。これにより、それまで縦長画面で表示していた画像を横長画面で表示することができる。図8(c)の場合も同様であり、ホストコントローラ2から横長画面表示の指示を受け取ると、表示処理ユニット10は図8(d)に示すようにリード領域を横長に規定することにより、同一の画像を横長画面で表示することができる。
【0086】
このような処理は、例えば携帯電話などの本来は縦長の表示画面を有する携帯端末装置1で地図データなどを閲覧している場合に好適である。即ち、あるエリアの地図データを物理メモリ空間全体にライトした状態で通常は縦長の画面に表示するため、その地図データ中の一部分を縦長に切り取った画像データが表示される。ここで、例えば利用者が携帯端末装置1の入力ユニット4を操作するなどして横長画面表示の指示を入力すると、表示処理ユニット10は上述のようにリード領域を横長に規定して画像をメモリ0及びメモリ1から読み出し、表示する。これにより、通常は南北方向に長く表示される地図データを、横長表示により東西方向に長く表示することが可能となる。
【0087】
なお、この場合、実際には表示処理ユニット10は、横長に規定したリード領域からの画像データの読み出し方向を制御する必要がある。これは、携帯端末装置1のパネル18の走査方向が固定だからである。通常の縦長画面表示時には、例えば図8(a)に示す矢印40の方向でパネル18を走査するので、横長画面表示時には図8(b)の矢印41に示すように下から上方向に画像データを読み出して、その順序でパネル18上に表示する必要がある。この制御は、表示処理ユニット10が、縦長表示であるか横長表示であるかに基づいて物理メモリ空間上の読み出し位置及び順序を変更することにより行うことができる。
【0088】
本実施例によれば、本来は縦長画面を有する携帯端末装置で横長画面表示を行うことができる。また、逆に、通常は横長画面を有する携帯端末装置で縦長画面表示を行うことも可能である。
【図面の簡単な説明】
【図1】本発明の画像表示手法を適用した携帯端末装置の概略構成を示す。
【図2】第1実施例の論理メモリ空間と物理メモリ空間の関係を示す。
【図3】第1実施例によるメモリ空間の使用方法を示す。
【図4】画像表示コマンドにおける書込エリアの指定方法を模式的に示す。
【図5】第2実施例の論理メモリ空間と物理メモリ空間の関係を示す。
【図6】第2実施例におけるメモリ空間の使用方法を示す。
【図7】第3実施例におけるメモリ空間の使用方法を示す。
【図8】第4実施例におけるメモリ空間の使用方法を示す。
【符号の説明】
1 携帯端末装置、2 ホストコントローラ、3 通信ユニット、4 入力ユニット、10 表示処理ユニット、11 ホストI/F、12 動作制御レジスタ、13 メモリライト制御部、14、15 フレームメモリ、16 メモリリード制御部、17 ドライバ、18 パネル
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an image display device for displaying a moving image and a still image on a relatively small terminal device such as a mobile phone or a PDA (Personal Digital Assistant).
[0002]
[Background Art]
2. Description of the Related Art In a display device that displays a still image or a moving image, an image to be displayed (hereinafter, also referred to as a “source image”) is generally once written to an image memory and read out to display the image on a display screen. I do. If the display quality is not taken into account, it is possible in principle to display a still image or a moving image by using an image memory having a storage capacity corresponding to the number of pixels of the display screen, that is, an image memory for one screen. is there.
[0003]
However, when only one screen of image memory is provided, there is a problem that so-called scroll display requires time. Generally, the scroll display is a method of sequentially displaying different portions of one still image. However, when only one screen of image memory is provided, the scroll display is performed even though the source image is one still image. In addition, it is necessary to write the image data at the position after scrolling to the image memory and then read the image data each time, so that it takes time for the display process. Therefore, in order to realize a smooth scroll display, a method of using an image memory for one screen or more has been proposed. That is, after writing and displaying a part of a certain still image in the image memory, when scrolling, image data corresponding to the position after scrolling (after moving the display position) is written in the remaining part of the image memory and displayed (for example, , Patent Documents 1 and 2).
[0004]
On the other hand, when displaying a moving image, if there is only one screen of image memory, display disturbance (“Tearing”) occurs due to the asynchronous timing of writing and reading image data to the image memory. ") Is generated. That is, usually, the timing of writing image data to the image memory and the timing of reading are asynchronous, so if the image memory is only for one screen, the writing timing of image data will overtake the reading timing, or conversely, the reading timing will be The screen display is momentarily disturbed due to overtaking or the like (specifically, the display screen appears to be divided into upper and lower parts with a line on the screen where overtaking occurs as a boundary).
[0005]
In order to prevent this problem, a method has been proposed in which an image memory for two screens is used, and writing timing and reading timing are controlled so that overtaking does not occur to prevent tearing (for example, Patent Document 3). In addition, a method of simplifying control of write timing and read timing by using an image memory for two or more screens has been proposed (for example, Patent Document 4).
[0006]
[Patent Document 1]
JP-A-8-202524
[Patent Document 2]
JP-A-4-34496
[Patent Document 3]
JP-A-62-11889
[Patent Document 4]
JP-A-10-161842
[0007]
[Problems to be solved by the invention]
As described above, in order to realize smooth scroll display and tearing prevention, it is necessary to use an image memory for one screen or more. However, mobile phones and PDAs are not so large due to cost requirements. It is not possible to mount a large capacity image memory.
[0008]
The present invention has been made in view of the above points, and an image display apparatus and method capable of realizing smooth scroll display and prevention of tearing, and an image display capable of efficiently using a small amount of image memory. The task is to provide a program.
[0009]
[Means for Solving the Problems]
In one aspect of the present invention, an image display device includes: a display unit that displays an image; two image memories having a capacity corresponding to the number of pixels of a display screen of the display unit; Display control means for writing to one or both of the memories, reading the image data from the image memory, and displaying the image data on the display unit, wherein the display control means scrolls and displays the still image. After determining the write position of the still image on a single logical memory space configured by a combination of image memories, write and read the image data in an area on the image memory corresponding to the write position, When displaying a moving image or a different still image, a frame image constituting the moving image or the Wherein the reading the still picture to be after writing alternately.
[0010]
Further, from a similar viewpoint, an image display method executed in an image display device including a display unit for displaying an image and two image memories having a capacity corresponding to the number of pixels of a display screen of the display unit includes: When scrolling a still image, after determining a writing position of the still image on a single logical memory space formed by a combination of the two image memories, an area on the image memory corresponding to the writing position is determined. Writing and reading the image data, and when displaying a moving image or a different still image, reading and writing the frame image or the different still image constituting the moving image alternately in each of the two image memories. And
[0011]
The above-described image display device or image display method can be suitably applied to a portable terminal device such as a mobile phone or a PDA. Image data to be displayed is input by communication or another method. The display unit has a predetermined screen size, and two image memories having a capacity corresponding to the screen size are provided. By combining the two image memories, a virtual logical memory space for one screen or more of the display unit is configured.
[0012]
The image display includes a scroll display mode for scrolling one still image and a moving image display mode for displaying a moving image or a different still image. In the mode of scrolling a still image, image data for one screen or more can be written in the logical memory space, and scrolling is performed by changing the reading position within the range. A still image that is the basis of scroll display can be developed on one or more screens of virtual memory space, so the frequency of rewriting images to be displayed can be reduced, and smooth scroll display can be achieved by simply changing the read position. it can. On the other hand, in the moving image display mode, a moving image can be displayed without causing so-called tearing or the like by alternately writing frame images in the image memory for one screen, reading and reproducing the frame images in the order of writing. This is the same when displaying different still images in order. As described above, by efficiently using the image memory for two screens according to the display mode, it is possible to smoothly perform display in each mode with a limited memory capacity.
[0013]
In one aspect of the above image display device, the logical memory space arranges a part of one image memory in a horizontal direction with respect to the other image memory, and allocates a remaining part of the one image memory to the other image memory. The image memory can be arranged in the vertical direction. Accordingly, an additional memory space can be provided in both the vertical and horizontal directions with respect to the memory space for one screen, so that a smooth scroll display can be performed in both the vertical and horizontal directions.
[0014]
In another aspect of the image display device, when each of the image memories has a capacity capable of storing image data of h pixels in a vertical direction and w pixels in a horizontal direction, the logical memory space is The size can be 2w pixels and h pixels in the horizontal direction. As described above, by making the logical memory space an integral multiple of the image memory size for one screen, address conversion processing and the like can be simplified.
[0015]
In another aspect of the above image display device, the display control device receives a display command including the image data and a write position information of the image data in the logical memory space, and a display command in the logical memory space. Means for converting the write position information into position information in a physical memory space constituted by the image memory. As a result, the given position information in the logical memory space can be converted into position information in the physical memory space composed of two actual image memories, and an image can be displayed according to the display command.
[0016]
In another aspect of the above-described image display device, the display command includes designation information indicating whether to perform a scroll display of a still image or a moving image display, and the display control unit performs the static operation based on the designation information. Either scroll display of images or moving image display can be executed. Alternatively, the display control means may determine whether to perform scrolling of a still image or moving image display based on the writing position information in the latest display command and the writing position information in the previous display command. Can be determined.
[0017]
In another aspect of the above-described image display device, the display command includes scroll direction designation information for designating horizontal scroll and vertical scroll as a still image scroll display mode, and the display control unit determines that the horizontal scroll is designated. When the scrolling is performed, the two image memories are arranged side by side in the left and right direction to form the logical memory space, and when the up and down scroll is designated, the two image memories are arranged in the up and down direction and the logical memory space is formed. A space can be formed. Thereby, when the scroll direction is limited, a logical memory space is formed so as to secure the maximum memory space in the direction, and the frequency of writing image data at the time of scroll display is reduced, so that a smooth scroll display is performed. Becomes possible.
[0018]
In another aspect of the above image display device, the display command includes designation information of a portrait screen display or a landscape screen display, and the display control device, when the portrait screen display is designated, displays the logical memory space. In the case where the horizontally long screen display is designated, a horizontally long readout area can be defined in the logical memory space. As a result, even if the display screen is vertically long, it can be displayed horizontally, and vice versa. This change is to change the display area of the same still image to be vertically long or horizontally long, so that a specific part such as map data can be displayed in a desired manner, either vertically or horizontally. It becomes possible.
[0019]
In another aspect of the above-described image display device, the image display device has a fixed display area for displaying a specific image at a vertical position on the display screen, and an area corresponding to the fixed display area is located on the logical memory space. It can be located at the top or bottom. As a result, the above-described scroll display and moving image display can be performed using the remaining display area while performing a specific fixed display such as a telop at the upper and lower positions of the display screen.
[0020]
According to another aspect of the present invention, an image display program executed on a computer including a display unit that displays an image, and two image memories having a capacity corresponding to the number of pixels of a display screen of the display unit, When the computer scrolls and displays a still image, after determining a writing position of the still image on a single logical memory space composed of a combination of the two image memories, the image memory corresponding to the writing position is determined. The image data is written and read in the upper area, and when displaying a moving image or a different still image, the frame image constituting the moving image or the different still image is alternately written and read in each of the two image memories. It functions as display control means. By executing this image display program on a computer including a display unit for displaying an image and two image memories having a capacity corresponding to the number of pixels of the display screen of the display unit, the image display device described above is implemented. Can be realized.
[0021]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings.
[0022]
[Mobile terminal device]
FIG. 1 shows a schematic configuration of a portable terminal device to which the image display method of the present invention is applied. The mobile terminal device 1 can be, for example, a mobile phone, a PDA, a handy personal computer, or the like. The mobile terminal device 1 is roughly divided into a host controller 2, a communication unit 3, an input unit 4, and a display processing unit 10. The host controller 2 is a controller that controls various elements mounted on the mobile terminal device 1, and includes a CPU, a RAM as a working memory, a ROM for storing various control data, a prepared control program, and the like. . By executing the control program, the host controller 2 comprehensively controls communication using the communication unit 3, detection of an instruction / input from the user to the input unit 4, image display by the display control unit 10, and the like.
[0023]
The communication unit 3 has an antenna 5 and the like as necessary, and functions when receiving image data or the like from the outside. For example, when the mobile terminal device 1 is a mobile phone and receives face image data from another mobile phone, the communication unit 3 performs communication processing. When the mobile terminal device 1 is a mobile phone, the communication unit is mounted in the mobile terminal device 1. However, when the mobile terminal device 1 is a PDA or a handy type personal computer, the communication unit is It may not be provided in the mobile terminal device 1 and may be configured as an external device.
[0024]
The input unit 4 is used for giving an instruction / input by a user's operation. When the mobile terminal device 1 is a mobile phone, the input unit 4 can be constituted by input buttons and the like. In the case of a personal computer of a handy type, it can be constituted by a touch pen type input device, a small keyboard or the like.
[0025]
The display processing unit 10 includes a panel 18 and an element for executing an image display process for displaying an image on the panel 18. As the panel 18, a liquid crystal panel or the like having a relatively small screen size is generally used, but various display devices other than the liquid crystal panel can be used. In the following description, it is assumed that the screen size of the panel 18 is horizontal 160 dots × vertical 240 dots.
[0026]
The display processing unit 10 further includes a host I / F 11, an operation control register 12, a memory write (write) control unit 13, a first frame memory 14, a second frame memory 15, a memory read (read) control unit 16, A driver 17 is provided. The host I / F 11 is an interface for transmitting and receiving necessary data to and from the host controller 2. The host I / F 11 mainly receives various commands for displaying an image on the panel 18 and display image data from the host controller 2. , To the operation control register 12 and the memory write control unit 13.
[0027]
The operation control register 12 receives a logical address given from the host controller 2 through the host I / F 11, generates actual physical addresses on the frame memories 14 and 15, and supplies the physical addresses to the memory write control unit 13 and the memory read control unit 16. I do. The memory write control unit 13 receives display image data from the host I / F 11, receives physical addresses (write addresses) on the frame memories 14 and 15 from the operation control register 12, and stores the display image data in the specified physical address. Write (write).
[0028]
Each of the frame memories 14 and 15 is a randomly accessible semiconductor memory having display pixels for one screen of the panel 18. The memory read control unit 16 reads (reads) display image data from the frame memory 14 and / or 15 according to a physical address (read address) given from the operation control register 12 and sends the read image data to the driver 17. The driver 17 performs a process of displaying the display image data on the panel 18. For example, when the panel 18 is a liquid crystal panel, the driver 18 is a semiconductor device having a segment driver for driving the data electrodes of the liquid crystal panel and a common driver for driving the scanning electrodes. Convert and supply.
[0029]
[First embodiment]
Next, a first embodiment using the above-described portable terminal device 1 will be described. In the first embodiment, scroll display of a still image and moving image display are performed using two frame memories 14 and 15.
[0030]
First, the memory configuration will be described. FIG. 2 schematically shows a configuration of a logical memory space and a physical memory space using two frame memories. The logical memory space is a memory space virtually configured using two frame memories, while the physical memory space is an actual memory space on the two frame memories.
[0031]
Now, as shown in FIG. 2, as a physical memory space, for a panel of w pixels in the horizontal (width) direction and h pixels (w <h) in the vertical (height) direction, w × h × 3 bytes (RGB 24 bits) 2) two frame memories are used. The two frame memories are referred to as “memory 0” and “memory 1” for convenience. In the example of FIG. 2, the memory 0 and the memory 1 each have 240 pixels × 160 pixels, and w = 160 and h = 240.
[0032]
Here, a logical memory space of W pixels in the horizontal direction and H pixels in the vertical direction is configured using two frame memories, that is, the memory 0 and the memory 1, as shown in FIG. Here, W = h and H = 2w. In this logical memory space, a display area (area (a)) of width w × h is defined corresponding to one screen size of the panel, and scrolling is performed using surrounding surplus parts (areas (b) and (c)). Display. An address in the logical memory space is called a logical address, and the vertical direction is indicated by a logical page address lpa, and the horizontal direction is indicated by a logical column address lca. Therefore, the logical page address lpa ranges from 0 to 319, and the logical column address lca ranges from 0 to 239.
[0033]
On the other hand, in the physical memory space, each of the memory 0 and the memory 1 corresponds to one screen size of the panel, and has two memory spaces of w × h. An address in the physical memory space is called a physical address. The physical address is indicated by a memory selection msel, a physical page address mpa0 and a physical column address mca0 of the memory 0, and a physical page address mpa1 and a physical column address mca1 of the memory 1.
[0034]
In the present embodiment, it is assumed that the memory 0 constituting the physical memory space corresponds to the frame memory 14 shown in FIG. According to the present invention, a smooth scroll display and prevention of tearing can be simultaneously realized by configuring a logical memory space using two frame memories. That is, when scrolling a still image, the logical memory space is assumed to be one virtual memory, and the image writing position is controlled on the virtual memory space. However, writing and reading of the actual still image are performed at a position in the physical memory space corresponding to a writing position in the logical memory space. Thus, the scroll display of the still image is performed using the memory space larger than one screen of the panel, so that the scroll display can be performed smoothly.
[0035]
On the other hand, when displaying a moving image, or when displaying a new still image different from the still image that has been displayed up to that time (both will be collectively referred to as “moving image display” below), An image for one screen of the panel is written to and read from two independent memories 0 and 1 respectively. Thereby, tearing or the like at the time of displaying a moving image can be prevented.
[0036]
FIG. 2 shows a correspondence between each area of the logical memory space and the physical memory space. As for the correspondence between the logical memory space and the physical memory space, the area (a) of the logical memory space corresponds to the area (A) on the memory 0 of the physical memory space, and the area (b) of the logical memory space corresponds to the area of the physical memory space. The area (c) in the logical memory space corresponds to the area (C) in the memory 1 in the physical memory space. As for the correspondence between the area (c) of the logical memory space and the area (C) of the physical memory space, the address from the left to the right of the area (c) of the logical memory space corresponds to the area (C) of the physical memory space. The correspondence is performed so as to correspond from the top to the bottom.
[0037]
The host controller 2 recognizes only the logical memory space. In other words, the host controller 2 recognizes the area (a) corresponding to one screen size of the panel and the surrounding areas (b) and (c) in the logical memory space, and uses the logical address. An image display command is supplied to the display processing unit 10. On the other hand, the operation control register 12 in the display processing unit 10 needs to convert a logical address given from the host controller 2 into a physical address on the frame memories 14 and 15.
[0038]
Specifically, at the time of scroll display of a still image, the host controller 2 gives a display command to the display processing unit 10 using all physical addresses in the areas (a) to (c) of the logical memory space. Therefore, the display processing unit 10 needs to convert logical addresses corresponding to all the areas (a) to (c) into physical addresses. FIG. 2 shows a conversion formula from a logical address to a physical address at the time of scroll display. As can be seen from the conversion formula, the logical address in the area (a) in the logical memory space directly corresponds to the physical address of the memory 0 in the physical memory space. Therefore, the converted physical address is memory selection msel = 0, physical page address mpa0 = logical page address lpa, and physical column address mca0 = logical column address lca.
[0039]
The logical address in the area (b) in the logical memory space corresponds to the physical address in the area (B) of the memory 1 in the physical memory space. Thus, the converted physical address is memory selection msel = 1, physical page address mpa1 = logical page address lpa, and physical column address mcal = lca-160.
[0040]
The logical address in the area (c) in the logical memory space corresponds to the physical address in the area (C) of the memory 1 in the physical memory space. Corresponds to movement in the direction. Therefore, the converted physical address is memory selection msel = 1, physical page address mpa1 = logical column address lca, and physical column address mca1 = logical page address lpa-160. Using the above conversion formula, the operation control register 12 converts a logical address given from the host controller 2 into a physical address on the frame memories 14 and 15 in the display control unit 10.
[0041]
On the other hand, at the time of displaying a moving image, temporally continuous frame images may be alternately written to and read from the memory 0 and the memory 1 in the physical memory space. In this case, the host controller 2 inputs the display addresses of all frame images to the display processing unit 10 as logical addresses corresponding to the area (a) in the logical memory space. Therefore, the conversion from the logical address to the physical address at the time of displaying the moving image is performed by switching the memory selection msel for each frame, and setting the physical page address mpa0 or mpa1 of the memory selected as the logical page address lpa, and similarly selecting the memory. In this case, the physical column address mca0 or mca1 which is set is equal to the logical column address lca.
[0042]
Next, an example of display control in the first embodiment will be described with reference to FIG. In the following example, it is assumed that the host controller 2 shown in FIG. 1 performs display control by transmitting a predetermined command to the display processing unit 10.
[0043]
First, as shown in state 1 in the upper left of FIG. 3, when displaying a single still image for the first time, the host controller 2 displays a command to write an image in the area (a) in the logical memory space. An instruction command is sent to the display processing unit 10. The display instruction command includes a logical address in the area (a) of the logical memory space, and the display processing unit 10 converts the received logical address into a physical address by the above-described address conversion method at the time of scrolling, and Write to memory 0 in memory space.
[0044]
An example of the display instruction command is shown below.
[0045]
(1) Page address set PSET (pset1, pset2): Specifies a logical page address.
[0046]
(2) Column address set CSET (cset1, cset2): Specifies a logical column address.
[0047]
(3) Memory write RAMWR: An instruction to start writing to the memory is sent, followed by display data.
[0048]
FIG. 4 shows a method of specifying a logical page address and a logical column address by the commands PSET and CSET. PSET specifies a vertical area between the arguments pset1 and pset2, and CSET specifies a horizontal area between the arguments cset1 and cset2. A write designation area in the logical memory space is designated by a combination of the two. Then, the start of writing is instructed by the command RAMWR, and subsequently the image data is sent to the display processing unit 10.
[0049]
The display control unit 10 converts the logical address given from the host controller 2 into a physical address according to the display instruction command, writes the physical address to each frame memory 14 and / or 15, and reads the frame memory 14 and / or 15 to read a still image. Will be displayed. In the state 1 shown in FIG. 3, since a still image is displayed first, the still image data for one screen of the panel is instructed to be written to the area (a) in the logical memory space. Data is written to the entire memory 0 (frame memory 14) and read from there.
[0050]
Next, when the still image displayed in the state 1 is scroll-displayed, a memory is used as shown in a state 2 in the upper right of FIG. That is, an additional image for scroll display is written into the areas (b) and (c) in the logical memory space by a scroll instruction command from the host controller 2, and then a scroll start position is specified. An example of the scroll instruction command is shown below.
[0051]
(1) Page address set PSET (pset1, pset2): Specifies a logical page address.
[0052]
(2) Column address set CSET (cset1, cset2): Specifies a logical column address.
[0053]
(3) Memory write RAMWR: An instruction to start writing to the memory is sent, followed by display data.
[0054]
(4) Scroll start set SCSTART: Specifies a scroll display start address.
[0055]
The write position of the additional image for scroll display is to write in a rectangular area in the logical memory space if scrolling only in the vertical or horizontal direction, but in the diagonal scrolling as shown in state 2 in FIG. In the case of, the additional image is written in the L-shaped area. In this case, either writing to two rectangular areas or writing once to the L-shaped area may be performed.
[0056]
In SCSTART, a page address / column address at the start of display after scrolling is specified. In the state 1 shown in FIG. 3, the display start address (page, column) = (0, 0). For example, when the display start address is specified as (10, 20) by SCSTART, 10 pixels are shifted downward, A scroll of 20 pixels is performed in the direction. If addresses are continuously processed on the assumption that the logical memory space is spherical when scrolling, scrolling in the upward and left directions becomes possible.
[0057]
When these commands are received from the host controller 2, the display processing unit 10 converts the logical address into a physical address according to the conversion formula shown in FIG. 2, and further displays an image from the physical address corresponding to the display start position. . Thus, scroll display is performed according to the amount of movement of the display start position from the original display start position (upper left of memory 0 in state 1). When continuing the scroll display, the host controller 2 scrolls by changing the display start position after writing the additional image in the areas (a) to (c) in the physical memory space.
[0058]
In the state 2 shown in FIG. 3, the host controller 2 issues a command to write an additional image to the areas (b) and (c) in the logical memory space. Additional images are written in B) and C) and read out from them to be displayed.
[0059]
Next, when moving image display or new still image display is performed from the state 1 shown in FIG. 3 (moving to the state 3), the host controller 2 stores new image data in the area (a) in the logical memory space. A display instruction command is generated to write (the first frame image of the moving image or a new still image) and supplied to the display processing unit 10. However, the new image data is actually converted from the logical address to the physical address in the display processing unit 10 so that the entire surface of the memory 1 in the physical memory space as shown in FIG. (A ') is written to prevent tearing due to overtaking of the write timing and the read timing as described above.
[0060]
Then, when performing still image scrolling (from state 3) (transition to state 4), the host controller 2 issues a scroll instruction command in the same manner as in the transition from state 1 to state 2 described above. . In this scroll instruction command, the host controller 2 instructs the areas (b) and (c) in the logical memory space to write the additional image for scrolling. Since it is written to 1, the scroll display is executed by allocating the areas (b) and (c) in the logical memory space to the areas (B ′) and (C ′) in the memory 0 in the physical memory space. Therefore, the relationship between the memory 0 and the memory 1 is switched as compared with the case of the state 2 in FIG.
[0061]
When displaying a new still image from any of the states 2 to 4, the display image may be written to the memory 0 in the physical memory space as shown in the state 1.
[0062]
In the present embodiment, as described above, when a scroll display of a still image is performed, an additional image for scrolling may be written to an empty area in the logical memory space and read. When displaying a new still image or displaying a moving image, the image data may be written to a physical memory opposite to the physical memory in which the still image has been written. As a result, during scroll display, smooth scroll display can be performed using the memory space of one screen or more of the panel 18, and at the time of moving image display, tearing due to overtaking can be prevented. Further, since these controls are performed by appropriately using the two frame memories, it is possible to realize even a terminal device such as a portable terminal having a limited image memory capacity.
[0063]
In this embodiment, as described above, the allocation of the memory 0 and the memory 1 on the two physical memory spaces to the logical memory space is switched between the scroll display and the moving image display (including the new still image display). However, to perform such switching, the display processing unit 10 needs to know whether the current state is a state in which scroll display is to be performed or a state in which moving image display is to be performed. One simple method for that is to provide the display processing unit 10 with a designation command indicating which state the host controller 2 is in. When the display processing unit 10 receives the command for specifying the scroll display, the display processing unit 10 may perform the address conversion according to the above-described logical address → physical address conversion formula at the time of scroll to allocate the physical memory, and specify the moving image display. When a command is received, address conversion may be performed according to the above-described logical address at the time of displaying a moving image → physical address conversion formula to allocate a physical memory. As such a dedicated command, for example, SCSTART in the above-described scroll display command can be used.
[0064]
Instead, the display processing unit 10 determines whether the scroll display or the moving image display should be performed based on the designation command from the host controller 2. It is also possible to determine based on the logical address in the command given from 2. This will be described in detail. As described above, the display instruction command from the host controller 2 includes the write designation area (defined by the logical page address and the logical column address as shown in FIG. 4) in the logical memory space of the image. ing. Therefore, based on the relationship between the write designation area designated by the previous display instruction command and the write designation area designated by the current display instruction command, scroll display or moving image display should be performed. It can be determined whether it is in the state. Specifically, (1) the current write designated area is included in the area (a) in the logical memory space, and (2) the address and size of the previous write designated area are the same as those of the current write designated area. When the two conditions of “equal to the address and the size” are satisfied, it is determined that the moving image should be displayed. This is because, as described above, when displaying a moving image or a new still image, the host controller 2 always designates the area (a) in the logical memory space and gives an image write instruction. That is, it is determined that a moving image should be displayed only when the entire area in which the image was previously written is completely rewritten, and that the scroll display is to be performed in other cases. This prevents a situation where a moving image should be displayed erroneously when, for example, only a part of the previously written image is rewritten. If the above two conditions are not satisfied, it may be determined that scroll display is to be performed.
[0065]
[Second embodiment]
Next, a second embodiment will be described. In the second embodiment, scroll display and moving image display are switched and executed basically using two frame memories in the same manner as in the first embodiment, but fixed display areas are provided above and below a display image. It differs from the first embodiment in that it is provided.
[0066]
FIG. 5 schematically shows a memory configuration according to the second embodiment. After defining a logical memory space by two frame memories 14 and 15 as shown in FIG. 5A, a fixed display area is defined above and below. In the example of FIG. 5, the height of the upper fixed display area is UFH pixel, and the height of the lower fixed display area is LFH pixel. Then, the lower fixed display area is moved below the upper fixed display area, and the upper and lower fixed display areas are integrated into one place and rearranged. Thereby, the address control between the fixed display area and the normal display area can be distinguished and simplified.
[0067]
FIG. 5B shows the physical memory space in this case. As in the case of the first embodiment, the areas (a), (b), and (c) of the logical memory space correspond to the areas (A), (B), and (C) of the physical memory space, respectively. Then, the area for (UFH + LFH) pixels from the top of the areas (A) and (B) in the physical memory space is allocated to the upper and lower fixed display areas.
[0068]
An image is displayed using the logical memory space and the physical memory space shown in FIGS. At the time of scroll display, scroll display is performed using an area excluding the upper and lower fixed display areas among the areas (a) to (c) in the logical memory space shown on the right side of FIG. FIG. 5B shows a conversion formula from a logical address to a physical address in that case. On the other hand, at the time of displaying a moving image or a new still image, as shown in FIG. 5B, the areas other than the upper and lower fixed display areas of the memory 0 and the memory 1 in the physical memory space are alternately used to form a frame. Write and display the image. At this time, the area above the area (C) in the physical memory space (pixels corresponding to the total height of the upper and lower fixed display areas) is not used at the time of displaying a moving image.
[0069]
FIG. 6 shows each state of scroll display and moving image (or new still image) display in the second embodiment. In state 5, the host controller 2 issues an instruction to write a still image to the area (a) in the logical memory space, and the display processing unit 10 writes the image to the area (A) of the memory 0 in the physical memory space. ,indicate. As a result, the image is displayed between the fixed display areas provided above and below on the actual display screen.
[0070]
When a scroll display instruction is issued in state 5 in FIG. 6, an additional image for scroll display is written in areas (b) and (c) in the logical memory space as in state 6. In that case, in the physical memory space, the additional image is written to the areas (B) and (C) of the memory 1 as shown.
[0071]
When an instruction to display a moving image or a new still image is issued in state 5 in FIG. 6, the instruction specifies the area (a) in the logical memory space. As shown, a frame image of a moving image or a new still image is written in the area (A ′) of the memory 1 in the physical memory space. When scroll display of a still image is instructed from the state 7, as shown in the state 8, the areas (b) and (c) in the logical memory space are changed to the area (B) on the memory 0 side in the physical memory space. ') And (C') are assigned and the image is written. Then, scroll display is performed by specifying the image display position as described above.
[0072]
In the state 7 in which the moving image display or the new still image display is performed, the upper right area of the memory 1 in the physical memory space is not used as described above. Further, in the state 8 in which the still image is scroll-displayed from the state 7, the upper right area of the memory 1 can be used to complement a part of the area (C ′) of the memory 0 (state 8). See figure).
[0073]
The upper and lower fixed display areas can be scrolled in a horizontal direction, for example, in addition to the fixed (for example, displaying the same still image) actually. In that case, the additional image is written and the display start position is changed within the fixed display area set above the areas (A) and (B) in the physical memory space shown in the state 5 in FIG. Just do it. As a result, for example, a telop display in which characters and the like flow horizontally can be performed.
[0074]
An example of the scroll instruction command in the present embodiment is shown below.
[0075]
(1) Area scroll set ASCSET: Initial setting of scroll display.
[0076]
(2) Page address set PSET (pset1, pset2): Specifies a logical page address.
[0077]
(3) Column address set CSET (cset1, cset2): Specifies a logical column address.
[0078]
(4) Memory write RAMWR: sends a memory write start instruction, and then sends display data.
[0079]
(5) Scroll start set SCSTART: Specifies a scroll display start address.
[0080]
ASCSET sets the scroll mode (whole screen scrolling, whether or not there is a fixed portion (portion that does not vertically scroll) in the upper portion or lower portion on the screen), and if there is a fixed portion, its height, etc. Command. In SCSTART, in addition to the display start address of the center scroll part, the display start address of the horizontal scroll of the upper and lower fixed part is also specified.
As described above, in the second embodiment, even when the fixed display areas are provided above and below the display screen, smooth scroll display and moving image display without tearing can be performed. In addition, address control can be simplified by concentrating the upper and lower fixed display areas on the logical memory space and the physical memory space. In the above example, the case where the fixed display area is provided on the upper side and the lower side is illustrated. However, the present invention can be similarly applied to the case where only one of the fixed display areas is provided.
[0081]
[Third embodiment]
In the first embodiment, two frame memories (memory 0 and memory 1 in the physical memory space) having a size of h pixels vertically and w pixels horizontally are combined to form a logical memory space of H = 2w pixels and W = h. The host controller issues an image display command by designating a logical address. On the other hand, in the third embodiment, when the scroll display command from the host controller includes the designation of the scroll direction (only horizontal scroll or only vertical scroll), the memory 0 and the memory 1 are arranged accordingly. To define the logical memory space.
[0082]
FIG. 7 schematically shows the method. Now, as shown in the lower part of FIG. 7, assume that a still image is written in only one of the memory 0 and the memory 1 in the physical memory space. Here, when the scroll display command from the host controller 2 includes the designation of the left and right scroll, as shown in the center of the upper part of FIG. Is composed. This enables horizontal scroll display based on image data for two screens in the horizontal direction. When the scroll display command from the host controller 2 includes designation of up / down scrolling, the memory 0 and the memory 1 are vertically connected as shown in the upper right of FIG. Constitute. As a result, vertical scroll display can be performed based on image data for two screens in the vertical direction.
[0083]
On the other hand, when the scroll designation is not included in the scroll display command from the host controller 2, or when the up / down / left / right scroll designation is included, as shown in the upper left of FIG. A logical memory space similar to that of the embodiment is configured. As described above, when the scroll direction is determined by the command from the host controller 2, the memory 0 and the memory 1 are arranged so that the physical memory space is maximized in that direction, so that the image is rewritten during the scroll display. The number of times can be reduced (for example, in the case of vertical scrolling, it is not necessary to write an image when scrolling down one screen and then scrolling up one screen again).
[0084]
In the third embodiment, in order to prevent the display image from being disturbed, the condition is that the image is written in only one of the memories 0 and 1 in the physical memory space at the start of the processing as described above. (That is, it is impossible when an image is written across both memories). Further, the condition is that the fixed display area is not defined as in the second embodiment.
[0085]
[Fourth embodiment]
The fourth embodiment provides a method of displaying a vertically long display image in a horizontally long state at the time of left and right scroll, and its outline is shown in FIG. Now, a state in which scrolling in the left-right direction is performed (at the time of scrolling up and down and right and left as shown in FIG. 8A or at the time of right and left scrolling as shown in FIG. And For example, as shown in FIG. 8A, when a part of the logical memory space is scroll-displayed on the portrait screen, and receives a landscape screen display instruction from the host controller 2, the display processing unit 10 As shown in FIG. 8B, the read area is defined to be horizontally long on the same logical memory space. As a result, an image that has been displayed on a vertically long screen can be displayed on a horizontally long screen. 8C, the display processing unit 10 receives the instruction to display the horizontally long screen from the host controller 2 and specifies the read area to be horizontally long as shown in FIG. Can be displayed on a landscape screen.
[0086]
Such a process is suitable, for example, when viewing map data and the like on a mobile terminal device 1 having an originally vertically long display screen, such as a mobile phone. That is, since map data of a certain area is normally displayed on a vertically long screen while being written in the entire physical memory space, image data obtained by vertically cutting a part of the map data is displayed. Here, for example, when the user operates the input unit 4 of the portable terminal device 1 to input an instruction to display a landscape screen, the display processing unit 10 defines the lead area as landscape as described above and stores the image in the memory. 0 and memory 1 and display. As a result, the map data normally displayed long in the north-south direction can be displayed long in the east-west direction by the landscape display.
[0087]
In this case, in practice, the display processing unit 10 needs to control the reading direction of the image data from the read area defined in the landscape. This is because the scanning direction of the panel 18 of the mobile terminal device 1 is fixed. When a normal portrait screen is displayed, the panel 18 is scanned, for example, in the direction of an arrow 40 shown in FIG. 8A. Therefore, when a landscape screen is displayed, the image data is scanned from bottom to top as shown by an arrow 41 in FIG. Must be read out and displayed on the panel 18 in that order. This control can be performed by the display processing unit 10 changing the reading position and order in the physical memory space based on whether the display is the portrait display or the landscape display.
[0088]
According to the present embodiment, a horizontally long screen display can be performed by a mobile terminal device which originally has a vertically long screen. Conversely, it is also possible to display a portrait screen on a portable terminal device that normally has a landscape screen.
[Brief description of the drawings]
FIG. 1 shows a schematic configuration of a portable terminal device to which an image display method according to the present invention is applied.
FIG. 2 shows a relationship between a logical memory space and a physical memory space in the first embodiment.
FIG. 3 shows a method of using a memory space according to the first embodiment.
FIG. 4 schematically illustrates a method of specifying a writing area in an image display command.
FIG. 5 shows a relationship between a logical memory space and a physical memory space according to the second embodiment.
FIG. 6 shows a method of using a memory space in a second embodiment.
FIG. 7 shows a method of using a memory space in a third embodiment.
FIG. 8 shows a method of using a memory space in a fourth embodiment.
[Explanation of symbols]
REFERENCE SIGNS LIST 1 mobile terminal device, 2 host controller, 3 communication unit, 4 input unit, 10 display processing unit, 11 host I / F, 12 operation control register, 13 memory write control unit, 14, 15 frame memory, 16 memory read control unit , 17 drivers, 18 panels

Claims (11)

画像を表示する表示部と、
前記表示部の表示画面の画素数に対応する容量を有する2つの画像メモリと、
表示すべき画像データを前記画像メモリの一方又は両方へ書き込むとともに、前記画像メモリから前記画像データを読み出して前記表示部に表示する表示制御手段と、を備え、
前記表示制御手段は、静止画をスクロール表示するときには、前記2つの画像メモリの組み合わせにより構成される単一の論理メモリ空間上において前記静止画の書き込み位置を決定した後、当該書き込み位置に対応する前記画像メモリ上の領域に前記画像データの書き込み及び読み出しを行い、動画又は異なる静止画を表示するときには前記2つの画像メモリのそれぞれに前記動画を構成するフレーム画像又は前記異なる静止画を交互に書き込んだ後に読み出すことを特徴とする画像表示装置。
A display unit for displaying an image,
Two image memories each having a capacity corresponding to the number of pixels of a display screen of the display unit;
Display control means for writing image data to be displayed to one or both of the image memories, reading the image data from the image memory, and displaying the image data on the display unit,
When scrolling a still image, the display control means determines a writing position of the still image on a single logical memory space composed of a combination of the two image memories, and then determines the writing position of the still image. The image data is written and read to and from the area on the image memory, and when displaying a moving image or a different still image, a frame image constituting the moving image or the different still image is alternately written to each of the two image memories. An image display device characterized by reading out the data afterwards.
前記論理メモリ空間は、一方の画像メモリの一部分を他方の画像メモリに対して横方向に配置するとともに、前記一方の画像メモリの残りの部分を前記他方の画像メモリに対して縦方向に配置して構成されることを特徴とする請求項1に記載の画像表示装置。The logical memory space arranges a part of one image memory in a horizontal direction with respect to the other image memory, and arranges a remaining part of the one image memory in a vertical direction with respect to the other image memory. The image display device according to claim 1, wherein the image display device is configured by: 前記画像メモリの各々が縦方向にh画素、横方向にw画素の画像データを格納できる容量を有する場合に、前記論理メモリ空間は、縦方向に2w画素、横方向にh画素のサイズであることを特徴とする請求項1又は2に記載の画像表示装置。When each of the image memories has a capacity capable of storing image data of h pixels in the vertical direction and w pixels in the horizontal direction, the logical memory space has a size of 2w pixels in the vertical direction and h pixels in the horizontal direction. The image display device according to claim 1, wherein: 前記表示制御装置は、
前記画像データ及び前記論理メモリ空間上における当該画像データの書き込み位置情報を含む表示コマンドを受け取る手段と、
前記論理メモリ空間上における前記書き込み位置情報を、前記画像メモリにより構成される物理メモリ空間上の位置情報に変換する手段と、を備えることを特徴とする請求項1乃至3のいずれか一項に記載の画像表示装置。
The display control device,
Means for receiving a display command including the image data and write position information of the image data on the logical memory space,
4. A means for converting the write position information on the logical memory space into position information on a physical memory space configured by the image memory. The image display device as described in the above.
前記表示コマンドは、静止画のスクロール表示及び動画表示のいずれを行うかを示す指定情報を含み、前記表示制御手段は前記指定情報に基づいて前記静止画のスクロール表示又は動画表示のいずれかを実行することを特徴とする請求項4に記載の画像表示装置。The display command includes designation information indicating whether to perform scroll display of a still image or moving image display, and the display control unit executes either the scroll display of the still image or the moving image display based on the designation information. The image display device according to claim 4, wherein: 前記表示制御手段は、最新の表示コマンド中の書き込み位置情報と、前回の表示コマンド中の書き込み位置情報に基づいて、静止画のスクロール表示及び動画表示のいずれを行うかを決定することを特徴とする請求項4に記載の画像表示装置。The display control means determines whether to perform scroll display or moving image display of a still image based on the writing position information in the latest display command and the writing position information in the previous display command. The image display device according to claim 4. 前記表示コマンドは、静止画のスクロール表示モードとして左右スクロール及び上下スクロールを指定するスクロール方向指定情報を含み、
前記表示制御手段は、前記左右スクロールが指定された場合は前記2つの画像メモリを左右方向に並べて配置して前記論理メモリ空間を形成し、前記上下スクロールが指定された場合は前記2つの画像メモリを上下方向に並べて配置して前記論理メモリ空間を形成することを特徴とする請求項4に記載の画像表示装置。
The display command includes scroll direction designation information for designating horizontal scroll and vertical scroll as a scroll display mode of a still image,
The display control means forms the logical memory space by arranging the two image memories side by side when the left / right scroll is specified, and the two image memories when the up / down scroll is specified. 5. The image display device according to claim 4, wherein the logical memory spaces are formed by arranging the logical memory spaces in a vertical direction.
前記表示コマンドは縦長画面表示又は横長画面表示の指定情報を含み、前記表示制御装置は、前記縦長画面表示が指定された場合は前記論理メモリ空間上に縦長の読み出し領域を規定し、前記横長画面表示が指定された場合は前記論理メモリ空間上に横長の読み出し領域を規定することを特徴とする請求項4に記載の画像表示装置。The display command includes designation information of a portrait screen display or a landscape screen display, and the display control device defines a portrait read area on the logical memory space when the portrait screen display is specified, and 5. The image display device according to claim 4, wherein when display is specified, a horizontally long read area is defined on the logical memory space. 前記表示画面の上下位置に特定の画像を表示するための固定表示エリアを有し、前記固定表示エリアに対応する領域は、前記論理メモリ空間上における上端又は下端に配置されることを特徴とする請求項1乃至6のいずれか一項に記載の画像表示装置。It has a fixed display area for displaying a specific image at an upper and lower position of the display screen, and an area corresponding to the fixed display area is arranged at an upper end or a lower end in the logical memory space. The image display device according to claim 1. 画像を表示する表示部と、前記表示部の表示画面の画素数に対応する容量を有する2つの画像メモリと、を備える画像表示装置において実行される画像表示方法であって、
静止画をスクロール表示するときには、前記2つの画像メモリの組み合わせにより構成される単一の論理メモリ空間上において前記静止画の書き込み位置を決定した後、当該書き込み位置に対応する前記画像メモリ上の領域に前記画像データの書き込み及び読み出しを行い、動画又は異なる静止画を表示するときには前記2つの画像メモリのそれぞれに前記動画を構成するフレーム画像又は前記異なる静止画を交互に書き込んだ後に読み出すことを特徴とする画像表示方法。
An image display method performed in an image display device including: a display unit that displays an image; and two image memories each having a capacity corresponding to the number of pixels of a display screen of the display unit,
When scrolling a still image, after determining a writing position of the still image on a single logical memory space formed by a combination of the two image memories, an area on the image memory corresponding to the writing position is determined. Writing and reading the image data, and when displaying a moving image or a different still image, reading and writing the frame image or the different still image constituting the moving image alternately in each of the two image memories. Image display method.
画像を表示する表示部と、前記表示部の表示画面の画素数に対応する容量を有する2つの画像メモリと、を備えるコンピュータにおいて実行される画像表示プログラムであって、前記コンピュータを、
静止画をスクロール表示するときには、前記2つの画像メモリの組み合わせにより構成される単一の論理メモリ空間上において前記静止画の書き込み位置を決定した後、当該書き込み位置に対応する前記画像メモリ上の領域に前記画像データの書き込み及び読み出しを行い、動画又は異なる静止画を表示するときには前記2つの画像メモリのそれぞれに前記動画を構成するフレーム画像又は前記異なる静止画を交互に書き込んだ後に読み出す表示制御手段として機能させることを特徴とする画像表示プログラム。
An image display program executed on a computer including a display unit that displays an image, and two image memories each having a capacity corresponding to the number of pixels of a display screen of the display unit.
When scrolling a still image, after determining a writing position of the still image on a single logical memory space formed by a combination of the two image memories, an area on the image memory corresponding to the writing position is determined. Display control means for performing writing and reading of the image data and displaying a moving image or a different still image when the frame image or the different still image constituting the moving image is alternately written and read in each of the two image memories. An image display program characterized by functioning as:
JP2002298993A 2002-10-11 2002-10-11 Picture display device, picture display method, and picture display program Withdrawn JP2004133283A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002298993A JP2004133283A (en) 2002-10-11 2002-10-11 Picture display device, picture display method, and picture display program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002298993A JP2004133283A (en) 2002-10-11 2002-10-11 Picture display device, picture display method, and picture display program

Publications (1)

Publication Number Publication Date
JP2004133283A true JP2004133283A (en) 2004-04-30

Family

ID=32288256

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002298993A Withdrawn JP2004133283A (en) 2002-10-11 2002-10-11 Picture display device, picture display method, and picture display program

Country Status (1)

Country Link
JP (1) JP2004133283A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004318124A (en) * 2003-03-31 2004-11-11 Seiko Epson Corp Image display device
JP2004318125A (en) * 2003-03-31 2004-11-11 Seiko Epson Corp Image display device
JP2011164153A (en) * 2010-02-05 2011-08-25 Casio Computer Co Ltd Display and image display method
JP2020081515A (en) * 2018-11-28 2020-06-04 株式会社藤商事 Game machine
CN113066450A (en) * 2021-03-16 2021-07-02 长沙景嘉微电子股份有限公司 Image display method, device, electronic equipment and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004318124A (en) * 2003-03-31 2004-11-11 Seiko Epson Corp Image display device
JP2004318125A (en) * 2003-03-31 2004-11-11 Seiko Epson Corp Image display device
JP2011164153A (en) * 2010-02-05 2011-08-25 Casio Computer Co Ltd Display and image display method
JP2020081515A (en) * 2018-11-28 2020-06-04 株式会社藤商事 Game machine
CN113066450A (en) * 2021-03-16 2021-07-02 长沙景嘉微电子股份有限公司 Image display method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US6885377B2 (en) Image data output controller using double buffering
JP5015208B2 (en) Method and electronic apparatus for displaying split screen on display
KR100509198B1 (en) On-Screen Transparent Keyboard Interface
US11614861B2 (en) Electronic picture frame and image display method thereof
US6140996A (en) Display control apparatus
JP2005114773A (en) Controller driver, display device, and operating method therefor
US20100060655A1 (en) Mobile device and method for displaying thumbnails on the mobile device
JPH08202318A (en) Display control method and its display system for display device having storability
EP1594119A2 (en) Image signal processing circuit and image display apparatus
JP3156977B2 (en) Display control device and method
US9542721B2 (en) Display control device and data processing system
US20060187239A1 (en) System and method for improving visual appearance of efficient rotation algorithm
US6211886B1 (en) Graphic preparing device
JP2010277456A (en) Digital content display device
JP2004133283A (en) Picture display device, picture display method, and picture display program
JP3936141B2 (en) RAM built-in display driver, and image display apparatus equipped with the display driver
JPH096326A (en) Image display device
JP2008209711A (en) Electronic paper
JP2004252102A (en) Image display device, image display method and image display program
JP2007226213A (en) Display device
JP2599412B2 (en) Liquid crystal display
JPH08202310A (en) Screen driving circuit
JP4349927B2 (en) Display device
JP2004252103A (en) Image display device, image display method and image display program
JP2003274137A (en) Image processor

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060110