JP2009198639A - Image display apparatus and scroll control method and scroll control program for image display apparatus, electronic equipment having image display apparatus - Google Patents

Image display apparatus and scroll control method and scroll control program for image display apparatus, electronic equipment having image display apparatus Download PDF

Info

Publication number
JP2009198639A
JP2009198639A JP2008038383A JP2008038383A JP2009198639A JP 2009198639 A JP2009198639 A JP 2009198639A JP 2008038383 A JP2008038383 A JP 2008038383A JP 2008038383 A JP2008038383 A JP 2008038383A JP 2009198639 A JP2009198639 A JP 2009198639A
Authority
JP
Japan
Prior art keywords
image data
scroll
reduced image
degrees
dma controller
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
JP2008038383A
Other languages
Japanese (ja)
Inventor
Kanehiro Hayashi
兼大 林
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 JP2008038383A priority Critical patent/JP2009198639A/en
Publication of JP2009198639A publication Critical patent/JP2009198639A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To achieve a high speed lateral scroll by means of DMAC without using a highly functional LCD controller. <P>SOLUTION: An image display apparatus includes: a display section; a VRAM; a reduced image forming section which generates reduced image data of size that allows a reduced image to be displayed on a display section from a plurality of image data; the DMA controller that rotates the arrangement of input data and transfers the rotated arrangement of input data based on a control register which instructs to rotate the arrangement of data 90° to the right or left; a scroll buffer including storage areas where an m number of the reduced image data can be disposed in each line with the reduced image data rotated 90° to the right; an operating section that indicates the start position of the scroll buffer to be transferred to the VRAM; a right rotation transfer section that successively transfers reduced image data to the scroll butter by means of the DMA controller whose control register has been set at 90° on the right side; and a left rotation transfer section that transfers a predetermined amount of data to the VRAM from the start position of the scroll butter by means of the DMA controller whose control register has been set at 90° on the left side. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、情報となる文字や写真を縦方向(上下方向)または横方向(左右方向)にスクロールさせて表示する画像表示装置及び画像表示装置のスクロール制御方法及びスクロール制御プログラム、画像表示装置を備えた電子機器に関する。   The present invention relates to an image display device, a scroll control method of the image display device, a scroll control program, and an image display device for scrolling and displaying information characters and photographs in the vertical direction (vertical direction) or the horizontal direction (left and right direction). It is related with the provided electronic equipment.

パーソナルコンピュータなどが備える高機能なLCD(LCD:Liquid Crystal Display)コントローラは、例えば特許文献1や非特許文献1に示すように、大量のVRAM(Video Random Access Memory)を使った仮想スクリーン機能を備えており、その機能を使用することにより情報となる文字や写真を縦方向(上下方向)または横方向(左右方向)にスクロールさせて表示することが可能である。例えば、数十枚の写真を横方向にスクロールで表示しようとすると、仮想スクリーン領域に大量のVRAMを割り付けなければならない。   A high-performance LCD (LCD: Liquid Crystal Display) controller provided in a personal computer or the like has a virtual screen function using a large amount of VRAM (Video Random Access Memory) as shown in Patent Document 1 and Non-Patent Document 1, for example. By using this function, it is possible to scroll and display information characters and photographs vertically (up and down) or horizontally (left and right). For example, to display dozens of photos by scrolling in the horizontal direction, a large amount of VRAM must be allocated to the virtual screen area.

しかしながら、プリンタやデジタルカメラなどの小型機器は大量のVRAMを搭載することができず、せいぜい数枚の仮想スクリーン領域しか確保できないので、仮想スクリーン領域に入りきらない画像はCPUが仮想スクリーン領域の表示位置を計算しながら書き換えなければならず、横方向のスクロールをスムースかつ高速に行うことはできない。   However, small devices such as printers and digital cameras cannot be equipped with a large amount of VRAM, and only a few virtual screen areas can be secured. Therefore, an image that does not fit in the virtual screen area is displayed by the CPU in the virtual screen area. It must be rewritten while calculating the position, and horizontal scrolling cannot be performed smoothly and at high speed.

このような小型機器では、CPUに掛かる負担を軽くするために、メモリからメモリまたはメモリから周辺機器の間をCPUを介さずに直接転送できるダイレクトメモリーアクセス(DMA:Direct Memory Access)コントローラが使われており、外部のメモリカードの画像データを内部のVRAMに高速に転送することができる。   In such small devices, a direct memory access (DMA) controller that can transfer data directly from memory to memory or from memory to peripheral devices without going through the CPU is used to lighten the load on the CPU. The image data of the external memory card can be transferred to the internal VRAM at high speed.

特開平10−240213号公報(図7)Japanese Patent Laid-Open No. 10-240213 (FIG. 7) Design Wave Magazine 2004 October CQ出版社(P.41)Design Wave Magazine 2004 October CQ Publisher (P.41)

しかしながら、従来の方法では、縦方向のスクロールの場合は、DMAコントローラの開始アドレスをずらしていくだけで高速に表示切替できたが、横方向のスクロールでは、スクロールバッファから切り取ったバッファを一旦別のVRAM転送用バッファへとコピーしてからVRAMにコピーする必要があり、縦スクロール時と同様な高速な表示切替ができないという課題がある。   However, in the conventional method, in the case of vertical scrolling, the display can be switched at high speed only by shifting the start address of the DMA controller. However, in horizontal scrolling, the buffer cut from the scroll buffer is temporarily stored in another VRAM. There is a problem that it is necessary to copy the data to the transfer buffer and then to the VRAM, and the display cannot be switched at the same high speed as in vertical scrolling.

本発明は、上述の課題の少なくとも一部を解決するためになされたものであり、以下の形態または適用例として実現することが可能である。   SUMMARY An advantage of some aspects of the invention is to solve at least a part of the problems described above, and the invention can be implemented as the following forms or application examples.

[適用例1]
表示部と、前記表示部の表示領域を含む記憶域を有するVRAMと、外部記憶媒体に記憶された複数の画像データから前記表示部に表示可能なサイズの縮小画像データを生成する縮小画像生成部と、データの配列を右90度または左90度に回転させることを指示する制御レジスタに基づき入力したデータの配列を回転させて転送するDMAコントローラと、前記縮小画像データを右90度回転した状態で1列にm個(mは3以上の整数)配置可能な記憶域を含むスクロールバッファと、前記VRAMに転送する前記スクロールバッファの開始位置を指示する操作部と、前記制御レジスタを右90度に設定した前記DMAコントローラにより前記縮小画像データを順次前記スクロールバッファに転送させる右回転転送部と、前記制御レジスタを左90度に設定した前記DMAコントローラにより前記スクロールバッファの前記開始位置から所定のデータ量を前記VRAMに転送させる左回転転送部と、を含む、ことを特徴とする画像表示装置。
[Application Example 1]
A reduced image generating unit that generates reduced image data having a size that can be displayed on the display unit from a plurality of image data stored in an external storage medium, a display unit, a VRAM having a storage area including a display area of the display unit A DMA controller that rotates and transfers the input data array based on the control register that instructs to rotate the data array to the right 90 degrees or the left 90 degrees, and the reduced image data rotated 90 degrees to the right A scroll buffer including a storage area in which m (m is an integer of 3 or more) can be arranged in one column, an operation unit for instructing the start position of the scroll buffer to be transferred to the VRAM, and the control register at 90 degrees to the right A right rotation transfer unit for sequentially transferring the reduced image data to the scroll buffer by the DMA controller set to Including a left rotation transfer unit for a predetermined amount of data from the start position of the scroll buffer by the DMA controller set at 90 degrees to the left is transferred to the VRAM, the image display apparatus, characterized in that.

この構成によれば、DMAコントローラにより、画像データを右90度回転させてスクロールバッファに転送し、スクロールバッファの指定された開始位置から左90度回転させてVRAMに転送するので、表示部で複数の画像データを左右方向に滑らかにスクロールさせることができる。   According to this configuration, the image data is rotated 90 degrees to the right by the DMA controller and transferred to the scroll buffer, and the image data is rotated 90 degrees to the left from the specified start position of the scroll buffer and transferred to the VRAM. The image data can be smoothly scrolled in the left-right direction.

[適用例2]
上記に記載の画像表示装置において、前記スクロールバッファはリングバッファであることを特徴とする画像表示装置。
[Application Example 2]
The image display apparatus according to the above, wherein the scroll buffer is a ring buffer.

この構成によれば、スクロールバッファをリングバッファで構成することにより大量の画像データに対しても少ない容量で左右方向のスクロールを実現できる。   According to this configuration, by configuring the scroll buffer with a ring buffer, it is possible to realize horizontal scrolling with a small capacity even for a large amount of image data.

[適用例3]
上記に記載の画像表示装置を備えたことを特徴とする電子機器。
[Application Example 3]
An electronic apparatus comprising the image display device described above.

この構成によれば、DMAコントローラにより、画像データを右90度回転させてスクロールバッファに転送し、スクロールバッファの指定された開始位置から左90度回転させてVRAMに転送するので、表示部で複数の画像データを左右方向に滑らかにスクロールさせることができる電子機器を提供できる。   According to this configuration, the image data is rotated 90 degrees to the right by the DMA controller and transferred to the scroll buffer, and the image data is rotated 90 degrees to the left from the specified start position of the scroll buffer and transferred to the VRAM. It is possible to provide an electronic apparatus that can smoothly scroll the image data in the left-right direction.

[適用例4]
表示部と、前記表示部の表示領域を含む記憶域を有するVRAMと、外部記憶媒体に記憶された複数の画像データから前記表示部に表示可能なサイズの縮小画像データを生成する縮小画像生成工程と、データの配列を右90度または左90度に回転させることを指示する制御レジスタに基づき入力したデータの配列を回転させて転送するDMAコントローラと、前記縮小画像データを右90度回転した状態で1列にm個(mは3以上の整数)配置可能な記憶域を含むスクロールバッファと、前記VRAMに転送する前記スクロールバッファの開始位置を指示する操作部と、を含む画像表示装置のスクロール制御方法であって、前記制御レジスタを右90度に設定した前記DMAコントローラにより前記縮小画像データを順次前記スクロールバッファに転送させる右回転転送工程と、前記制御レジスタを左90度に設定した前記DMAコントローラにより前記スクロールバッファの前記開始位置から所定のデータ量を前記VRAMに転送させる左回転転送工程と、を含む、ことを特徴とする画像表示装置のスクロール制御方法。
[Application Example 4]
Reduced image generation step of generating reduced image data having a size that can be displayed on the display unit from a plurality of image data stored in an external storage medium and a VRAM having a display unit, a storage area including a display area of the display unit A DMA controller that rotates and transfers the input data array based on the control register that instructs to rotate the data array to the right 90 degrees or the left 90 degrees, and the reduced image data rotated 90 degrees to the right Scrolling of an image display device including a scroll buffer including a storage area in which m (m is an integer of 3 or more) can be arranged in one column and an operation unit for instructing a start position of the scroll buffer to be transferred to the VRAM In the control method, the reduced image data is sequentially transferred to the scroll bar by the DMA controller in which the control register is set to 90 degrees to the right. A right rotation transfer step for transferring the data to the device, and a left rotation transfer step for transferring a predetermined amount of data from the start position of the scroll buffer to the VRAM by the DMA controller with the control register set to 90 degrees to the left. A scroll control method for an image display device.

この構成によれば、DMAコントローラにより、画像データを右90度回転させてスクロールバッファに転送し、スクロールバッファの指定された開始位置から左90度回転させてVRAMに転送するので、表示部で複数の画像データを左右方向に滑らかにスクロールさせることができる。   According to this configuration, the image data is rotated 90 degrees to the right by the DMA controller and transferred to the scroll buffer, and the image data is rotated 90 degrees to the left from the specified start position of the scroll buffer and transferred to the VRAM. The image data can be smoothly scrolled in the left-right direction.

[適用例5]
表示部と、前記表示部の表示領域を含む記憶域を有するVRAMと、外部記憶媒体に記憶された複数の画像データから前記表示部に表示可能なサイズの縮小画像データを生成する縮小画像生成ステップと、データの配列を右90度または左90度に回転させることを指示する制御レジスタに基づき入力したデータの配列を回転させて転送するDMAコントローラと、前記縮小画像データを右90度回転した状態で1列にm個(mは3以上の整数)配置可能な記憶域を含むスクロールバッファと、前記VRAMに転送する前記スクロールバッファの開始位置を指示する操作部と、を含む画像表示装置のスクロール制御プログラムであって、前記制御レジスタを右90度に設定した前記DMAコントローラにより前記縮小画像データを順次前記スクロールバッファに転送させる右回転転送ステップと、前記制御レジスタを左90度に設定した前記DMAコントローラにより前記スクロールバッファの前記開始位置から所定のデータ量を前記VRAMに転送させる左回転転送ステップと、を含む、ことを特徴とする画像表示装置のスクロール制御プログラム。
[Application Example 5]
Reduced image generation step of generating reduced image data having a size that can be displayed on the display unit from a display unit, a VRAM having a storage area including a display area of the display unit, and a plurality of image data stored in an external storage medium A DMA controller that rotates and transfers the input data array based on the control register that instructs to rotate the data array to the right 90 degrees or the left 90 degrees, and the reduced image data rotated 90 degrees to the right Scroll of an image display device including a scroll buffer including a storage area that can be arranged in m (m is an integer of 3 or more) in one column and an operation unit that indicates a start position of the scroll buffer to be transferred to the VRAM. A control program for sequentially reducing the reduced image data by the DMA controller with the control register set to 90 degrees to the right. A right rotation transfer step for transferring to the roll buffer, and a left rotation transfer step for transferring a predetermined amount of data from the start position of the scroll buffer to the VRAM by the DMA controller with the control register set to 90 degrees to the left. A scroll control program for an image display device.

この構成によれば、DMAコントローラにより、画像データを右90度回転させてスクロールバッファに転送し、スクロールバッファの指定された開始位置から左90度回転させてVRAMに転送するので、表示部で複数の画像データを左右方向に滑らかにスクロールさせることができる。   According to this configuration, the image data is rotated 90 degrees to the right by the DMA controller and transferred to the scroll buffer, and the image data is rotated 90 degrees to the left from the specified start position of the scroll buffer and transferred to the VRAM. The image data can be smoothly scrolled in the left-right direction.

以下、画像表示装置の実施形態について図面に従って説明する。   Hereinafter, an embodiment of an image display device will be described with reference to the drawings.

(第1実施形態)
<画像表示装置の構成>
まず、第1実施形態に係る画像表示装置を備えた電子機器である印刷装置の構成について、図1を参照して説明する。図1は、第1実施形態に係る画像表示装置を備えた印刷装置の構成を示すブロック図である。
(First embodiment)
<Configuration of image display device>
First, the configuration of a printing apparatus that is an electronic apparatus including the image display apparatus according to the first embodiment will be described with reference to FIG. FIG. 1 is a block diagram illustrating a configuration of a printing apparatus including an image display apparatus according to the first embodiment.

図1に示すように、印刷装置1000は、画像表示装置100と、プリンタコントローラ300と、を含んで構成されている。なお、図1では説明の簡略化のためプリンタコントローラ300以降の処理部や印刷機構は省略する。   As shown in FIG. 1, the printing apparatus 1000 includes an image display apparatus 100 and a printer controller 300. In FIG. 1, the processing unit and the printing mechanism after the printer controller 300 are omitted for simplification of description.

画像表示装置100は、CPU110と、ROM120と、RAM130と、表示部であるLCD(Liquid Crystal Display)150と、LCD150を制御するLCDコントローラ140と、操作部160と、VRAM(Video Random Access Memory)170と、外部記憶媒体190とのデータの送受信を行うためのインターフェース(I/F:interface)部180と、DMA(Direct Memory Access)コントローラ200と、が内部バス102を介して相互に接続されている。   The image display apparatus 100 includes a CPU 110, a ROM 120, a RAM 130, an LCD (Liquid Crystal Display) 150 that is a display unit, an LCD controller 140 that controls the LCD 150, an operation unit 160, and a VRAM (Video Random Access Memory) 170. And an interface (I / F) unit 180 for transmitting / receiving data to / from the external storage medium 190 and a DMA (Direct Memory Access) controller 200 are connected to each other via the internal bus 102. .

ROM120には、縮小画像生成部122と、右回転転送部124と、左回転転送部126と、を含む制御プログラム121が記憶され、CPU110により実行される。RAM130は、縮小画像生成部122が外部記憶媒体190に記憶された複数の画像データからLCD150に表示可能なサイズに縮小した縮小画像データ132と、スクロールバッファ134と、を記憶する。   The ROM 120 stores a control program 121 including a reduced image generation unit 122, a right rotation transfer unit 124, and a left rotation transfer unit 126, and is executed by the CPU 110. The RAM 130 stores the reduced image data 132 reduced to a size that can be displayed on the LCD 150 from the plurality of image data stored in the external storage medium 190 by the reduced image generation unit 122, and the scroll buffer 134.

図2は、印刷装置の表示部と操作部の構成を示す構成図である。印刷装置1000は、LCD150と、操作部160と、を備えている。LCD150には、複数の縮小画像データ132が横方向にスクロールされるように表示されている。   FIG. 2 is a configuration diagram illustrating configurations of a display unit and an operation unit of the printing apparatus. The printing apparatus 1000 includes an LCD 150 and an operation unit 160. A plurality of reduced image data 132 is displayed on the LCD 150 so as to be scrolled in the horizontal direction.

操作部160は、複数の操作ボタン161〜164が配置され、操作ボタン163を押すと複数の縮小画像データ132を向かって左手方向にスクロールし、操作ボタン164を押すと複数の縮小画像データ132を向かって右手方向にスクロールし、操作ボタン161を押すことにより現在表示されている縮小画像データ132が選択される。   The operation unit 160 includes a plurality of operation buttons 161 to 164. When the operation button 163 is pressed, the operation unit 160 scrolls the plurality of reduced image data 132 toward the left hand direction, and when the operation button 164 is pressed, the plurality of reduced image data 132 is displayed. By scrolling in the right hand direction and pressing the operation button 161, the currently displayed reduced image data 132 is selected.

<DMAコントローラの構成>
次に、DMAコントローラの構成について図3を参照して説明する。図3は、DMAコントローラの構成を示すブロック図である。
<Configuration of DMA controller>
Next, the configuration of the DMA controller will be described with reference to FIG. FIG. 3 is a block diagram showing the configuration of the DMA controller.

図3に示すように、DMAコントローラ200は、図1の内部バス102に接続された制御部210と、バイトカウンタ(Bc:Byte Counter)230と、カラムカウンタ(Cc:Column Counter)232と、ローカウンタ(Rc:Row Counter)234と、ソースアドレス(Sa:Source Address)算出部236と、デスティネーションアドレス(Da:Destination Address)算出部238と、データバッファ240と、レジスタ220と、加算器250と、乗算器252と、が内部バス201に相互に接続されている。   As shown in FIG. 3, the DMA controller 200 includes a control unit 210, a byte counter (Bc) 230, a column counter (Cc) 232, and a row counter connected to the internal bus 102 of FIG. A counter (Rc: Row Counter) 234, a source address (Sa: Source Address) calculator 236, a destination address (Da: Destination Address) calculator 238, a data buffer 240, a register 220, an adder 250, , And a multiplier 252 are mutually connected to the internal bus 201.

レジスタ220は、制御レジスタCRと、ソース側のカラムサイズCxと、ソース側のローサイズRxと、総バイト数Tbと、ソース側スタートアドレスS0と、デスティネーション側スタートアドレスD0と、を格納している。   The register 220 stores a control register CR, a source-side column size Cx, a source-side row size Rx, a total number of bytes Tb, a source-side start address S0, and a destination-side start address D0. Yes.

図4は、制御レジスタの構成を示す構成図である。図4に示すように、制御レジスタCRは、0ビット目b0に「0:右回転/1:左回転」を設定するフラグが格納され、1ビット目b1に「0:回転なし/1:回転あり」を設定するフラグが格納され、7ビット目b7に「0:転送終了/1:転送開始」を設定するフラグが格納されている。   FIG. 4 is a configuration diagram showing the configuration of the control register. As shown in FIG. 4, the control register CR stores a flag for setting “0: right rotation / 1: left rotation” in the 0th bit b0, and “0: no rotation / 1: rotation” in the first bit b1. A flag for setting “Yes” is stored, and a flag for setting “0: transfer end / 1: transfer start” is stored in the seventh bit b7.

<DMAコントローラの動作>
次に、DMAコントローラの動作について図5〜8を参照して説明する。図5は、DMAコントローラの右回転転送の動作を説明するブロック図である。図6は、DMAコントローラの右回転転送の動作を説明するフローチャートである。図7は、DMAコントローラの左回転転送の動作を説明するブロック図である。図8は、DMAコントローラの左回転転送の動作を説明するフローチャートである。
<Operation of DMA controller>
Next, the operation of the DMA controller will be described with reference to FIGS. FIG. 5 is a block diagram for explaining the clockwise rotation operation of the DMA controller. FIG. 6 is a flowchart for explaining the right rotation transfer operation of the DMA controller. FIG. 7 is a block diagram for explaining the left rotation transfer operation of the DMA controller. FIG. 8 is a flowchart for explaining the left rotation transfer operation of the DMA controller.

<DMAコントローラの右回転転送の動作>
先ず、DMAコントローラ200の右回転転送の動作(右回転転送部124)について図5,6を参照して説明する。なお、説明の簡略化のため、ソース側のカラムサイズCx=4、ソース側のローサイズRx=3の場合について説明する。
<Operation of DMA controller clockwise rotation>
First, the right rotation transfer operation (right rotation transfer unit 124) of the DMA controller 200 will be described with reference to FIGS. For simplification of description, the case where the source side column size Cx = 4 and the source side row size Rx = 3 will be described.

図5に示すように、ソース側配列は、ソース側アドレスSa=100〜111で構成され、デスティネーション側配列は、デスティネーション側アドレスDa=200〜211で構成されている。ソース側配列を右90度回転させてデスティネーション側配列に転送するようにDMAコントローラ200を動作させるために、右回転転送部124(図1)は、レジスタ220に格納する値を、ソース側のカラムサイズCx=4、ソース側のローサイズRx=3、総バイト数Tb=12、ソース側スタートアドレスS0=100、デスティネーション側スタートアドレスD0=200に設定する。   As shown in FIG. 5, the source side array includes source side addresses Sa = 100 to 111, and the destination side array includes destination side addresses Da = 200 to 211. In order to operate the DMA controller 200 so that the source side array is rotated 90 degrees to the right and transferred to the destination side array, the right rotation transfer unit 124 (FIG. 1) transfers the value stored in the register 220 to the source side array. The column size Cx = 4, the source side row size Rx = 3, the total number of bytes Tb = 12, the source side start address S0 = 100, and the destination side start address D0 = 200.

次に、図6のフローチャートに基づきDMAコントローラ200の右回転転送の動作を説明する。   Next, the right rotation transfer operation of the DMA controller 200 will be described based on the flowchart of FIG.

先ず、ステップS300では、右回転転送に設定するため、右回転転送部124は、制御レジスタCRの各々のビット値を、b0=0,b1=1,b7=1に設定する。   First, in step S300, the right rotation transfer unit 124 sets the bit values of the control register CR to b0 = 0, b1 = 1, and b7 = 1 in order to set the right rotation transfer.

次に、ステップS302では、バイトカウンタ230の値Bc、カラムカウンタ232の値Cc及びローカウンタ234の値Rcを0にリセットする。   Next, in step S302, the value Bc of the byte counter 230, the value Cc of the column counter 232, and the value Rc of the row counter 234 are reset to zero.

次に、ステップS304では、ソースアドレス算出部236によりソース側アドレスSa=S0+Bcを算出する。   Next, in step S304, the source address calculation unit 236 calculates the source side address Sa = S0 + Bc.

次に、ステップS306では、デスティネーションアドレス算出部238によりデスティネーション側アドレスDa=(D0+Rx−1−Rc)+(Rx×Cc)を算出する。   Next, in step S306, the destination address calculation unit 238 calculates the destination address Da = (D0 + Rx−1−Rc) + (Rx × Cc).

次に、ステップS308では、ソース側アドレスSaのデータをデスティネーション側アドレスDaに転送する。   In step S308, the data on the source side address Sa is transferred to the destination side address Da.

次に、ステップS310では、バイトカウンタ230の値Bcに1を加算(++Bc)し、加算後のバイトカウンタ230の値Bcが総バイト数Tb以上か否かを判定し、総バイト数Tb以上(Tb≦Bc)の場合はステップS316に移行し、総バイト数Tb未満(Tb>Bc)の場合はステップS312に移行する。   Next, in step S310, 1 is added to the value Bc of the byte counter 230 (++ Bc), and it is determined whether or not the value Bc of the byte counter 230 after the addition is equal to or greater than the total number of bytes Tb. If Tb ≦ Bc), the process proceeds to step S316, and if less than the total number of bytes Tb (Tb> Bc), the process proceeds to step S312.

次に、ステップS312では、カラムカウンタ232の値Ccに1を加算(++Cc)し、加算後のカラムカウンタ232の値Ccがソース側のカラムサイズCx以上か否かを判定し、ソース側のカラムサイズCx以上(Cx≦Cc)の場合はステップS314に移行し、ソース側のカラムサイズCx未満(Cx>Cc)の場合はステップS304に移行する。   Next, in step S312, 1 is added to the value Cc of the column counter 232 (++ Cc), and it is determined whether or not the value Cc of the column counter 232 after the addition is greater than or equal to the column size Cx on the source side. If the size is not less than Cx (Cx ≦ Cc), the process proceeds to step S314. If the size is less than the column size Cx on the source side (Cx> Cc), the process proceeds to step S304.

次に、ステップS314では、カラムカウンタ232の値Ccを0にリセットし、ローカウンタ234の値Rcに1を加算(++Rc)し、ステップS304に移行する。   Next, in step S314, the value Cc of the column counter 232 is reset to 0, 1 is added to the value Rc of the row counter 234 (++ Rc), and the process proceeds to step S304.

一方、ステップS316では、転送終了に設定するため、右回転転送部124は、制御レジスタCRのビット値を、b7=0に設定し、処理を終了する。   On the other hand, in step S316, in order to set the transfer to end, the right rotation transfer unit 124 sets the bit value of the control register CR to b7 = 0 and ends the process.

図6のフローチャートで説明した動作を図5のソース側配列で説明すると、ソース側アドレスSa=100のデータC(0,0)は、デスティネーション側アドレスDa=(200+3−1−0)+(3×0)=202に転送される。また、ソース側アドレスSa=100+1のデータC(0,1)は、デスティネーション側アドレスDa=(200+3−1−0)+(3×1)=205に転送される。以下同様に転送が行われ、図5のソース側配列がデスティネーション側配列に右90度回転して転送される。   The operation described with reference to the flowchart of FIG. 6 will be described with reference to the source side arrangement of FIG. 5. The data C (0, 0) of the source side address Sa = 100 is represented by the destination side address Da = (200 + 3-1-0) + ( 3 × 0) = 202. Further, the data C (0, 1) of the source side address Sa = 100 + 1 is transferred to the destination side address Da = (200 + 3-1-0) + (3 × 1) = 205. Thereafter, transfer is performed in the same manner, and the source side array of FIG. 5 is transferred to the destination side array by rotating 90 degrees to the right.

<DMAコントローラの左回転転送の動作>
次に、DMAコントローラ200の左回転転送の動作(左回転転送部126)について図7,8を参照して説明する。なお、説明の簡略化のため、ソース側のカラムサイズCx=3、ソース側のローサイズRx=4の場合について説明する。
<Operation of DMA controller counterclockwise transfer>
Next, the left rotation transfer operation (left rotation transfer unit 126) of the DMA controller 200 will be described with reference to FIGS. For simplification of description, the case where the source side column size Cx = 3 and the source side row size Rx = 4 will be described.

図7に示すように、ソース側配列は、ソース側アドレスSa=200〜211で構成され、デスティネーション側配列は、デスティネーション側アドレスDa=300〜311で構成されている。ソース側配列を左90度回転させてデスティネーション側配列に転送するようにDMAコントローラ200を動作させるために、左回転転送部126(図1)は、レジスタ220に格納する値を、ソース側のカラムサイズCx=3、ソース側のローサイズRx=4、総バイト数Tb=12、ソース側スタートアドレスS0=200、デスティネーション側スタートアドレスD0=300に設定する。   As shown in FIG. 7, the source side array is configured with source side addresses Sa = 200 to 211, and the destination side array is configured with destination side addresses Da = 300 to 311. In order to operate the DMA controller 200 so that the source side array is rotated 90 degrees to the left and transferred to the destination side array, the left rotation transfer unit 126 (FIG. 1) transfers the value stored in the register 220 to the source side array. The column size Cx = 3, the source side row size Rx = 4, the total number of bytes Tb = 12, the source side start address S0 = 200, and the destination side start address D0 = 300.

次に、図8のフローチャートに基づきDMAコントローラ200の左回転転送の動作を説明する。   Next, the left rotation transfer operation of the DMA controller 200 will be described based on the flowchart of FIG.

先ず、ステップS400では、左回転転送に設定するため、左回転転送部126は、制御レジスタCRの各々のビット値を、b0=1,b1=1,b7=1に設定する。   First, in step S400, in order to set left rotation transfer, the left rotation transfer unit 126 sets each bit value of the control register CR to b0 = 1, b1 = 1, and b7 = 1.

次に、ステップS402では、バイトカウンタ230の値Bc、カラムカウンタ232の値Cc及びローカウンタ234の値Rcを0にリセットする。   Next, in step S402, the value Bc of the byte counter 230, the value Cc of the column counter 232, and the value Rc of the row counter 234 are reset to zero.

次に、ステップS404では、ソースアドレス算出部236によりソース側アドレスSa=S0+Bcを算出する。   Next, in step S404, the source address calculation unit 236 calculates the source side address Sa = S0 + Bc.

次に、ステップS406では、デスティネーションアドレス算出部238によりデスティネーション側アドレスDa=(D0+Tb−Rx)+Rc−(Rx×Cc)を算出する。   Next, in step S406, the destination address calculation unit 238 calculates the destination address Da = (D0 + Tb−Rx) + Rc− (Rx × Cc).

次に、ステップS408では、ソース側アドレスSaのデータをデスティネーション側アドレスDaに転送する。   In step S408, the data on the source side address Sa is transferred to the destination side address Da.

次に、ステップS410では、バイトカウンタ230の値Bcに1を加算(++Bc)し、加算後のバイトカウンタ230の値Bcが総バイト数Tb以上か否かを判定し、総バイト数Tb以上(Tb≦Bc)の場合はステップS416に移行し、総バイト数Tb未満(Tb>Bc)の場合はステップS412に移行する。   Next, in step S410, 1 is added to the value Bc of the byte counter 230 (++ Bc), and it is determined whether or not the value Bc of the byte counter 230 after the addition is equal to or greater than the total number of bytes Tb. If Tb ≦ Bc), the process proceeds to step S416. If less than the total number of bytes Tb (Tb> Bc), the process proceeds to step S412.

次に、ステップS412では、カラムカウンタ232の値Ccに1を加算(++Cc)し、加算後のカラムカウンタ232の値Ccがソース側のカラムサイズCx以上か否かを判定し、ソース側のカラムサイズCx以上(Cx≦Cc)の場合はステップS414に移行し、ソース側のカラムサイズCx未満(Cx>Cc)の場合はステップS404に移行する。   Next, in step S412, 1 is added to the value Cc of the column counter 232 (++ Cc), and it is determined whether or not the value Cc of the column counter 232 after the addition is equal to or larger than the column size Cx on the source side. If the size is greater than or equal to the size Cx (Cx ≦ Cc), the process proceeds to step S414, and if it is less than the column size Cx on the source side (Cx> Cc), the process proceeds to step S404.

次に、ステップS414では、カラムカウンタ232の値Ccを0にリセットし、ローカウンタ234の値Rcに1を加算(++Rc)し、ステップS404に移行する。   Next, in step S414, the value Cc of the column counter 232 is reset to 0, 1 is added to the value Rc of the row counter 234 (++ Rc), and the process proceeds to step S404.

一方、ステップS416では、転送終了に設定するため、左回転転送部126は、制御レジスタCRのビット値を、b7=0に設定し、処理を終了する。   On the other hand, in step S416, in order to set the transfer to end, the left rotation transfer unit 126 sets the bit value of the control register CR to b7 = 0 and ends the process.

図8のフローチャートで説明した動作を図7のソース側配列で説明すると、ソース側アドレスSa=200のデータC(2,0)は、デスティネーション側アドレスDa=(300+12−4)+0−(4×0)=308に転送される。また、ソース側アドレスSa=200+1のデータC(1,0)は、デスティネーション側アドレスDa=(300+12−4)+0−(4×1)=304に転送される。以下同様に転送が行われ、図7のソース側配列がデスティネーション側配列に左90度回転して転送される。   The operation described with reference to the flowchart of FIG. 8 will be described with reference to the source side arrangement of FIG. 7. The data C (2, 0) of the source side address Sa = 200 is the destination side address Da = (300 + 12-4) + 0− (4 X0) = 308. Further, the data C (1, 0) of the source side address Sa = 200 + 1 is transferred to the destination side address Da = (300 + 12-4) + 0− (4 × 1) = 304. Thereafter, transfer is performed in the same manner, and the source side array in FIG. 7 is rotated 90 degrees to the left and transferred to the destination side array.

<スクロールバッファの構成>
次に、スクロールバッファの構成について図9,10を参照して説明する。図9は、スクロールバッファの構成を示す構成図である。
<Configuration of scroll buffer>
Next, the configuration of the scroll buffer will be described with reference to FIGS. FIG. 9 is a configuration diagram showing the configuration of the scroll buffer.

図9(A)は、外部記憶媒体190に記憶された複数の画像データの1つを縮小画像生成部122(図1)によりLCD150に表示可能なサイズに縮小した縮小画像データ132である。図9(B)は、縮小画像データ132を右回転転送部124により右90度回転させて順次スクロールバッファ134に転送した状態を示す。図9(B)に示すように、スクロールバッファ134は、縮小画像データ132を右90度回転させた幅よりも若干の余裕を持たせ、上下に隣り合う縮小画像データ132の間にも若干の余裕を持たせている。これは、図2のLCD150に示すように縮小画像データ132間に余裕を持たせることにより見栄えを良くするためである。   FIG. 9A shows reduced image data 132 obtained by reducing one of a plurality of image data stored in the external storage medium 190 to a size that can be displayed on the LCD 150 by the reduced image generation unit 122 (FIG. 1). FIG. 9B shows a state in which the reduced image data 132 is rotated 90 degrees right by the right rotation transfer unit 124 and sequentially transferred to the scroll buffer 134. As shown in FIG. 9B, the scroll buffer 134 has a margin more than the width obtained by rotating the reduced image data 132 to the right by 90 degrees, and slightly between the reduced image data 132 adjacent in the vertical direction. I have room. This is to improve the appearance by providing a margin between the reduced image data 132 as shown in the LCD 150 of FIG.

図9(B)のスクロールバッファ134から図9(C)のVRAM170に転送するための開始位置であるソース側スタートアドレスS0からVRAM170へ左回転転送部126により左90度回転させてデータが転送される。VRAM170に転送されたデータは、図9(D)のLCD150に表示される。操作部160の操作ボタン163,164によりスクロールバッファ134のソース側スタートアドレスS0が移動する。   Data is transferred from the source side start address S0, which is the starting position for transferring from the scroll buffer 134 in FIG. 9B to the VRAM 170 in FIG. The The data transferred to the VRAM 170 is displayed on the LCD 150 in FIG. The source side start address S0 of the scroll buffer 134 is moved by the operation buttons 163 and 164 of the operation unit 160.

図10は、スクロールバッファをリングバッファで構成した場合の動作を示す構成図である。図10(A)〜(C)に示すスクロールバッファ134は、縮小画像データ132を右90度回転した状態で1列にm=7個配置可能な記憶域を含む。また、縮小画像データ132は、100個あるものとする。   FIG. 10 is a configuration diagram showing an operation when the scroll buffer is configured by a ring buffer. The scroll buffer 134 shown in FIGS. 10A to 10C includes a storage area in which m = 7 can be arranged in one column with the reduced image data 132 rotated 90 degrees to the right. Further, it is assumed that there are 100 pieces of reduced image data 132.

図10(A)は、スクロールバッファ134のソース側スタートアドレスS0が1番目の縮小画像データ132の位置にあり、図10(A)の1番目の縮小画像データ132の下方向に2〜4番目の縮小画像データ132が配置され、1番目の縮小画像データ132の上方向に98〜100番目の縮小画像データ132が配置されている。   In FIG. 10A, the source side start address S0 of the scroll buffer 134 is at the position of the first reduced image data 132, and the second to the fourth in the downward direction of the first reduced image data 132 in FIG. Reduced image data 132 are arranged, and the 98th to 100th reduced image data 132 are arranged in the upward direction of the first reduced image data 132.

図10(B)は、スクロールバッファ134のソース側スタートアドレスS0が2番目の縮小画像データ132の位置にあり、図10(A)の98番目の縮小画像データ132の替わりに5番目の縮小画像データ132が配置されている。以下同様に、スクロールバッファ134のソース側スタートアドレスS0が3番目の縮小画像データ132の位置に来ると、図10(B)の99番目の縮小画像データ132の替わりに6番目の縮小画像データ132が配置される。   10B, the source-side start address S0 of the scroll buffer 134 is at the position of the second reduced image data 132, and the fifth reduced image is used instead of the 98th reduced image data 132 in FIG. Data 132 is arranged. Similarly, when the source side start address S0 of the scroll buffer 134 comes to the position of the third reduced image data 132, the sixth reduced image data 132 instead of the 99th reduced image data 132 in FIG. Is placed.

図10(C)は、スクロールバッファ134のソース側スタートアドレスS0が100番目の縮小画像データ132の位置にあり、図10(A)の4番目の縮小画像データ132の替わりに97番目の縮小画像データ132が配置されている。以下同様に、スクロールバッファ134のソース側スタートアドレスS0が99番目の縮小画像データ132の位置に来ると、図10(C)の3番目の縮小画像データ132の替わりに96番目の縮小画像データ132が配置される。   10C, the source side start address S0 of the scroll buffer 134 is at the position of the 100th reduced image data 132, and the 97th reduced image is used instead of the fourth reduced image data 132 in FIG. 10A. Data 132 is arranged. Similarly, when the source side start address S0 of the scroll buffer 134 comes to the position of the 99th reduced image data 132, the 96th reduced image data 132 is replaced with the third reduced image data 132 in FIG. Is placed.

<画像表示装置の動作>
次に、画像表示装置の動作について図11,12を参照して説明する。図11は、スクロールバッファへの転送処理の動作を示すフローチャートである。
<Operation of image display device>
Next, the operation of the image display apparatus will be described with reference to FIGS. FIG. 11 is a flowchart showing the operation of the transfer process to the scroll buffer.

先ず、ステップS200では、外部記憶媒体190からI/F部180を介して1つの画像データがRAM130の所定の領域に読み込まれる。ここで画像データ形式に応じた展開も行われる。   First, in step S 200, one image data is read from the external storage medium 190 into a predetermined area of the RAM 130 via the I / F unit 180. Here, the expansion according to the image data format is also performed.

次に、ステップS202では、縮小画像生成部122により、画像データからLCD150に表示可能なサイズに縮小した縮小画像データ132が生成される。   Next, in step S202, the reduced image generation unit 122 generates reduced image data 132 that is reduced from the image data to a size that can be displayed on the LCD 150.

次に、ステップS204では、右回転転送部124により、縮小画像データ132を右90度回転させスクロールバッファ134に順次転送する。   In step S204, the right rotation transfer unit 124 rotates the reduced image data 132 by 90 degrees to the right and sequentially transfers it to the scroll buffer 134.

次に、ステップS206では、スクロールバッファ134に転送可能な必要枚数(図10の場合、m=7)を転送終了したか否かを判定し、転送終了した場合はステップS208に移行し、転送終了していない場合はステップS200に移行する。   Next, in step S206, it is determined whether or not the necessary number of sheets that can be transferred to the scroll buffer 134 (m = 7 in the case of FIG. 10) has been transferred. If the transfer has been completed, the process proceeds to step S208 and the transfer is completed. If not, the process proceeds to step S200.

次に、ステップS208では、DMAコントローラ200のレジスタ220のソース側スタートアドレスS0の値を設定する。   Next, in step S208, the value of the source side start address S0 of the register 220 of the DMA controller 200 is set.

次に、ステップS210では、左回転転送部126により、スクロールバッファ134のソース側スタートアドレスS0から左90度回転させVRAM170にデータを転送し、処理を終了する。   Next, in step S210, the left rotation transfer unit 126 rotates 90 degrees to the left from the source side start address S0 of the scroll buffer 134, transfers the data to the VRAM 170, and ends the process.

図12は、画像表示装置の動作の動作を示すフローチャートである。ここでは、操作ボタン163が1回押されると縮小画像データ132が左方向に5ドット分スクロールし、操作ボタン164が1回押されると縮小画像データ132が右方向に5ドット分スクロールする場合について説明する。   FIG. 12 is a flowchart showing the operation of the image display apparatus. Here, when the operation button 163 is pressed once, the reduced image data 132 scrolls by 5 dots in the left direction, and when the operation button 164 is pressed once, the reduced image data 132 scrolls by 5 dots in the right direction. explain.

先ず、ステップS100では、スクロールバッファ134への転送処理が行われる。   First, in step S100, transfer processing to the scroll buffer 134 is performed.

次に、ステップS102では、操作ボタン164が押され、右方向へのスクロール指示が来たか否かを判定し、来た場合はステップS104に移行し、来ない場合はステップS106に移行する。   Next, in step S102, it is determined whether or not the operation button 164 has been pressed and an instruction to scroll rightward has been received. If it has come, the process proceeds to step S104, and if not, the process proceeds to step S106.

次に、ステップS104では、ソース側スタートアドレスS0にソース側のカラムサイズCx×5が加算され、ステップS110に移行する。   Next, in step S104, the source-side column size Cx × 5 is added to the source-side start address S0, and the process proceeds to step S110.

一方、ステップS106では、操作ボタン163が押され、左方向へのスクロール指示が来たか否かを判定し、来た場合はステップS108に移行し、来ない場合はステップS116に移行する。   On the other hand, in step S106, it is determined whether or not the operation button 163 has been pressed and an instruction to scroll leftward has been received. If so, the process proceeds to step S108, and if not, the process proceeds to step S116.

次に、ステップS108では、ソース側スタートアドレスS0からソース側のカラムサイズCx×5が減算され、ステップS110に移行する。   Next, in step S108, the source side column size Cx × 5 is subtracted from the source side start address S0, and the process proceeds to step S110.

次に、ステップS110では、左回転転送部126により、スクロールバッファ134のソース側スタートアドレスS0からVRAM170への転送処理が行われる。   Next, in step S110, the left rotation transfer unit 126 performs transfer processing from the source side start address S0 of the scroll buffer 134 to the VRAM 170.

次に、ステップS112では、ソース側スタートアドレスS0が次の縮小画像データ132に達した(右スクロールの場合)、または、ソース側スタートアドレスS0が1つ前の縮小画像データ132に達した(左スクロールの場合)か否かを判定し、達した場合はステップS114に移行し、達しない場合は、ステップS102に移行する。   Next, in step S112, the source side start address S0 has reached the next reduced image data 132 (in the case of right scrolling), or the source side start address S0 has reached the previous reduced image data 132 (left). In the case of scrolling), the process proceeds to step S114 if reached, and to step S102 if not reached.

次に、ステップS114では、次にスクロールバッファ134に転送すべき縮小画像データ132を決定し、ステップS100に移行する。   Next, in step S114, the reduced image data 132 to be transferred next to the scroll buffer 134 is determined, and the process proceeds to step S100.

一方、ステップS116では、スクロールが終了したか否かを判定し、終了した場合は処理を終了し、終了していない場合はステップS102に移行する。   On the other hand, in step S116, it is determined whether or not the scrolling is finished. If finished, the process is finished, and if not finished, the process proceeds to step S102.

以上に述べた本実施形態によれば、以下の効果が得られる。   According to the present embodiment described above, the following effects can be obtained.

本実施形態では、DMAコントローラ200により、縮小画像データ132を右90度回転させてスクロールバッファ134に転送し、スクロールバッファ134の指定された開始位置(ソース側スタートアドレスS0)から左90度回転させてVRAM170に転送するので、表示部(LCD150)で複数の画像データを左右方向に滑らかにスクロールさせることができる。   In the present embodiment, the DMA controller 200 rotates the reduced image data 132 by 90 degrees to the right and transfers it to the scroll buffer 134, and rotates it 90 degrees to the left from the designated start position (source side start address S0) of the scroll buffer 134. Therefore, a plurality of image data can be smoothly scrolled in the left-right direction on the display unit (LCD 150).

以上、画像表示装置の実施形態を説明したが、こうした実施の形態に何ら限定されるものではなく、趣旨を逸脱しない範囲内において様々な形態で実施し得ることができる。以下、変形例を挙げて説明する。   Although the embodiments of the image display device have been described above, the present invention is not limited to these embodiments, and can be implemented in various forms without departing from the scope of the invention. Hereinafter, a modification will be described.

(変形例1)画像表示装置の変形例1について説明する。前記第1実施形態では、電子機器として印刷装置の場合を説明したが、画像ビューア装置やデジタルカメラなどの表示部に利用しても良い。   (Modification 1) Modification 1 of the image display apparatus will be described. In the first embodiment, the case of a printing apparatus as an electronic apparatus has been described. However, the electronic apparatus may be used for a display unit such as an image viewer apparatus or a digital camera.

第1実施形態に係る画像表示装置を備えた印刷装置の構成を示すブロック図。1 is a block diagram illustrating a configuration of a printing apparatus including an image display device according to a first embodiment. 印刷装置の表示部と操作部の構成を示す構成図。FIG. 3 is a configuration diagram illustrating configurations of a display unit and an operation unit of the printing apparatus. DMAコントローラの構成を示すブロック図。The block diagram which shows the structure of a DMA controller. 制御レジスタの構成を示す構成図。The block diagram which shows the structure of a control register. DMAコントローラの右回転転送の動作を説明するブロック図。The block diagram explaining the operation | movement of right rotation transfer of a DMA controller. DMAコントローラの右回転転送の動作を説明するフローチャート。The flowchart explaining the operation | movement of right rotation transfer of a DMA controller. DMAコントローラの左回転転送の動作を説明するブロック図。The block diagram explaining the operation | movement of left rotation transfer of a DMA controller. DMAコントローラの左回転転送の動作を説明するフローチャート。6 is a flowchart for explaining an operation of left rotation transfer of the DMA controller. スクロールバッファの構成を示す構成図。The block diagram which shows the structure of a scroll buffer. スクロールバッファをリングバッファで構成した場合の動作を示す構成図。The block diagram which shows the operation | movement at the time of comprising a scroll buffer with a ring buffer. スクロールバッファへの転送処理の動作を示すフローチャート。The flowchart which shows the operation | movement of the transfer process to a scroll buffer. 画像表示装置の動作の動作を示すフローチャート。The flowchart which shows the operation | movement of operation | movement of an image display apparatus.

符号の説明Explanation of symbols

100…画像表示装置、102…内部バス、110…CPU、120…ROM、121…制御プログラム、122…縮小画像生成部、124…右回転転送部、126…左回転転送部、130…RAM、132…縮小画像データ、134…スクロールバッファ、140…LCDコントローラ、150…LCD、160…操作部、161〜164…操作ボタン、170…VRAM、180…I/F部、190…外部記憶媒体、200…DMAコントローラ、201…内部バス、210…制御部、220…レジスタ、230…バイトカウンタ、232…カラムカウンタ、234…ローカウンタ、236…ソースアドレス算出部、238…デスティネーションアドレス算出部、240…データバッファ、250…加算器、252…乗算器、300…プリンタコントローラ、1000…印刷装置。   DESCRIPTION OF SYMBOLS 100 ... Image display apparatus, 102 ... Internal bus, 110 ... CPU, 120 ... ROM, 121 ... Control program, 122 ... Reduced image generation part, 124 ... Right rotation transfer part, 126 ... Left rotation transfer part, 130 ... RAM, 132 ... reduced image data, 134 ... scroll buffer, 140 ... LCD controller, 150 ... LCD, 160 ... operation unit, 161-164 ... operation buttons, 170 ... VRAM, 180 ... I / F unit, 190 ... external storage medium, 200 ... DMA controller 201 ... internal bus 210 ... control unit 220 ... register 230 ... byte counter 232 ... column counter 234 ... row counter 236 ... source address calculation unit 238 ... destination address calculation unit 240 ... data Buffer, 250 ... adder, 252 ... multiplier, 300 ... Printer controller, 1000 ... the printing device.

Claims (5)

表示部と、
前記表示部の表示領域を含む記憶域を有するVRAMと、
外部記憶媒体に記憶された複数の画像データから前記表示部に表示可能なサイズの縮小画像データを生成する縮小画像生成部と、
データの配列を右90度または左90度に回転させることを指示する制御レジスタに基づき入力したデータの配列を回転させて転送するDMAコントローラと、
前記縮小画像データを右90度回転した状態で1列にm個(mは3以上の整数)配置可能な記憶域を含むスクロールバッファと、
前記VRAMに転送する前記スクロールバッファの開始位置を指示する操作部と、
前記制御レジスタを右90度に設定した前記DMAコントローラにより前記縮小画像データを順次前記スクロールバッファに転送させる右回転転送部と、
前記制御レジスタを左90度に設定した前記DMAコントローラにより前記スクロールバッファの前記開始位置から所定のデータ量を前記VRAMに転送させる左回転転送部と、
を含む、
ことを特徴とする画像表示装置。
A display unit;
A VRAM having a storage area including a display area of the display unit;
A reduced image generating unit that generates reduced image data of a size that can be displayed on the display unit from a plurality of image data stored in an external storage medium;
A DMA controller that rotates and transfers an array of input data based on a control register that instructs to rotate the array of data 90 degrees to the right or 90 degrees to the left;
A scroll buffer including a storage area in which m pieces (m is an integer of 3 or more) can be arranged in a row with the reduced image data rotated 90 degrees to the right;
An operation unit for instructing a start position of the scroll buffer to be transferred to the VRAM;
A right rotation transfer unit for sequentially transferring the reduced image data to the scroll buffer by the DMA controller in which the control register is set to 90 degrees to the right;
A left rotation transfer unit for transferring a predetermined amount of data from the start position of the scroll buffer to the VRAM by the DMA controller having the control register set to 90 degrees to the left;
including,
An image display device characterized by that.
請求項1に記載の画像表示装置において、前記スクロールバッファはリングバッファであることを特徴とする画像表示装置。   2. The image display device according to claim 1, wherein the scroll buffer is a ring buffer. 請求項1または2に記載の画像表示装置を備えたことを特徴とする電子機器。   An electronic apparatus comprising the image display device according to claim 1. 表示部と、
前記表示部の表示領域を含む記憶域を有するVRAMと、
外部記憶媒体に記憶された複数の画像データから前記表示部に表示可能なサイズの縮小画像データを生成する縮小画像生成工程と、
データの配列を右90度または左90度に回転させることを指示する制御レジスタに基づき入力したデータの配列を回転させて転送するDMAコントローラと、
前記縮小画像データを右90度回転した状態で1列にm個(mは3以上の整数)配置可能な記憶域を含むスクロールバッファと、
前記VRAMに転送する前記スクロールバッファの開始位置を指示する操作部と、
を含む画像表示装置のスクロール制御方法であって、
前記制御レジスタを右90度に設定した前記DMAコントローラにより前記縮小画像データを順次前記スクロールバッファに転送させる右回転転送工程と、
前記制御レジスタを左90度に設定した前記DMAコントローラにより前記スクロールバッファの前記開始位置から所定のデータ量を前記VRAMに転送させる左回転転送工程と、
を含む、
ことを特徴とする画像表示装置のスクロール制御方法。
A display unit;
A VRAM having a storage area including a display area of the display unit;
A reduced image generation step of generating reduced image data of a size that can be displayed on the display unit from a plurality of image data stored in an external storage medium;
A DMA controller that rotates and transfers an array of input data based on a control register that instructs to rotate the array of data 90 degrees to the right or 90 degrees to the left;
A scroll buffer including a storage area in which m pieces (m is an integer of 3 or more) can be arranged in a row with the reduced image data rotated 90 degrees to the right;
An operation unit for instructing a start position of the scroll buffer to be transferred to the VRAM;
A scroll control method for an image display device including:
A clockwise rotation transfer step of sequentially transferring the reduced image data to the scroll buffer by the DMA controller in which the control register is set to 90 degrees to the right;
A left rotation transfer step of transferring a predetermined amount of data from the start position of the scroll buffer to the VRAM by the DMA controller having the control register set to 90 degrees to the left;
including,
A scroll control method for an image display device.
表示部と、
前記表示部の表示領域を含む記憶域を有するVRAMと、
外部記憶媒体に記憶された複数の画像データから前記表示部に表示可能なサイズの縮小画像データを生成する縮小画像生成ステップと、
データの配列を右90度または左90度に回転させることを指示する制御レジスタに基づき入力したデータの配列を回転させて転送するDMAコントローラと、
前記縮小画像データを右90度回転した状態で1列にm個(mは3以上の整数)配置可能な記憶域を含むスクロールバッファと、
前記VRAMに転送する前記スクロールバッファの開始位置を指示する操作部と、
を含む画像表示装置のスクロール制御プログラムであって、
前記制御レジスタを右90度に設定した前記DMAコントローラにより前記縮小画像データを順次前記スクロールバッファに転送させる右回転転送ステップと、
前記制御レジスタを左90度に設定した前記DMAコントローラにより前記スクロールバッファの前記開始位置から所定のデータ量を前記VRAMに転送させる左回転転送ステップと、
を含む、
ことを特徴とする画像表示装置のスクロール制御プログラム。
A display unit;
A VRAM having a storage area including a display area of the display unit;
A reduced image generating step for generating reduced image data of a size that can be displayed on the display unit from a plurality of image data stored in an external storage medium;
A DMA controller that rotates and transfers an array of input data based on a control register that instructs to rotate the array of data 90 degrees to the right or 90 degrees to the left;
A scroll buffer including a storage area in which m pieces (m is an integer of 3 or more) can be arranged in a row with the reduced image data rotated 90 degrees to the right;
An operation unit for instructing a start position of the scroll buffer to be transferred to the VRAM;
A scroll control program for an image display device including:
A clockwise rotation transfer step of sequentially transferring the reduced image data to the scroll buffer by the DMA controller in which the control register is set to 90 degrees to the right;
A left rotation transfer step of transferring a predetermined amount of data from the start position of the scroll buffer to the VRAM by the DMA controller having the control register set to 90 degrees to the left;
including,
A scroll control program for an image display device.
JP2008038383A 2008-02-20 2008-02-20 Image display apparatus and scroll control method and scroll control program for image display apparatus, electronic equipment having image display apparatus Withdrawn JP2009198639A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008038383A JP2009198639A (en) 2008-02-20 2008-02-20 Image display apparatus and scroll control method and scroll control program for image display apparatus, electronic equipment having image display apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008038383A JP2009198639A (en) 2008-02-20 2008-02-20 Image display apparatus and scroll control method and scroll control program for image display apparatus, electronic equipment having image display apparatus

Publications (1)

Publication Number Publication Date
JP2009198639A true JP2009198639A (en) 2009-09-03

Family

ID=41142214

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008038383A Withdrawn JP2009198639A (en) 2008-02-20 2008-02-20 Image display apparatus and scroll control method and scroll control program for image display apparatus, electronic equipment having image display apparatus

Country Status (1)

Country Link
JP (1) JP2009198639A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013105666A1 (en) * 2012-01-13 2013-07-18 株式会社 エヌ・ティ・ティ・ドコモ Information terminal which displays image and image display method
US10600145B2 (en) 2013-12-13 2020-03-24 Samsung Electronics Co., Ltd. Image processor, for scaling image data in two directions. Computing system comprising same, and related method of operation
US11579763B2 (en) * 2019-01-15 2023-02-14 Fujifilm Medical Systems U.S.A., Inc. Smooth image scrolling with disk I/O activity optimization and enhancement to memory consumption

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013105666A1 (en) * 2012-01-13 2013-07-18 株式会社 エヌ・ティ・ティ・ドコモ Information terminal which displays image and image display method
JP2013145464A (en) * 2012-01-13 2013-07-25 Ntt Docomo Inc Information terminal for displaying image and image display method
US10600145B2 (en) 2013-12-13 2020-03-24 Samsung Electronics Co., Ltd. Image processor, for scaling image data in two directions. Computing system comprising same, and related method of operation
US11579763B2 (en) * 2019-01-15 2023-02-14 Fujifilm Medical Systems U.S.A., Inc. Smooth image scrolling with disk I/O activity optimization and enhancement to memory consumption

Similar Documents

Publication Publication Date Title
US20200393944A1 (en) Electronic picture frame and image display method thereof
US20070211159A1 (en) Portable image communication system, transmitting and receiving units constructing said system, and methods of controlling said units
WO2011139928A2 (en) Image capture
JP2005123707A (en) Image projection apparatus and image projection system, and display image generating apparatus and display image generating method
JP2009092969A (en) Image transfer device, and image display control method in image transfer
JP2009198639A (en) Image display apparatus and scroll control method and scroll control program for image display apparatus, electronic equipment having image display apparatus
US20060236012A1 (en) Memory controller, image processing controller, and electronic instrument
JP2007272449A (en) Server device for computer system
JP5365541B2 (en) Image transfer apparatus and image display control method in image transfer
US11200007B2 (en) Display method, display device, and printing device
US11146698B2 (en) Terminal device, non-transitory computer-readable storage medium storing display control program, and display control method
JP2008116812A (en) Display apparatus, projector, and display method
JP2009098281A (en) Projection video display system, and projection video display device used for the same
JP4621551B2 (en) Image data acquisition method, image data acquisition device, and program
JP2005228073A (en) Image processor, microcomputer and electronic apparatus
JP2007298796A (en) Osd data processing system, projector and osd data processing method
JP4780126B2 (en) Image processing apparatus, image forming apparatus, and program
JP2007121839A (en) Display controller
JP6981215B2 (en) Multifunction device, screen display method, and computer program
JP7413673B2 (en) Image forming device and display control method
JP5575261B2 (en) Drawing apparatus, drawing method and program
JP2008059452A (en) Image processor and image processing method
JP6202991B2 (en) Image display apparatus, control method thereof, and program
JP2006343511A (en) Controller for electronic equipment and display control method for liquid crystal display apparatus
JP6234301B2 (en) Display data creation system, display data creation method, and computer program for display data creation

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: 20110510