JP2006330564A - Image display controller and image display device - Google Patents

Image display controller and image display device Download PDF

Info

Publication number
JP2006330564A
JP2006330564A JP2005157134A JP2005157134A JP2006330564A JP 2006330564 A JP2006330564 A JP 2006330564A JP 2005157134 A JP2005157134 A JP 2005157134A JP 2005157134 A JP2005157134 A JP 2005157134A JP 2006330564 A JP2006330564 A JP 2006330564A
Authority
JP
Japan
Prior art keywords
window
image
read
output
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005157134A
Other languages
Japanese (ja)
Inventor
Toshiyuki Maekawa
俊行 前川
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.)
Schneider Electric Japan Holdings Ltd
Original Assignee
Digital Electronics 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 Digital Electronics Corp filed Critical Digital Electronics Corp
Priority to JP2005157134A priority Critical patent/JP2006330564A/en
Publication of JP2006330564A publication Critical patent/JP2006330564A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Digital Computer Display Output (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To lighten a burden of a CPU by constituting processing for displaying a video image read from a memory to a window of the optional shape with hardware. <P>SOLUTION: A display pixel position detection part 1 detects whether or not pixels of the video image displayed on a display device 12 is present in the respective rectangle areas set according to a plurality of window patterns WP (pattern) ("1" at the time of presence). An AND gate part 4 individually outputs AND between each output of the display pixel position detection part 1 and data (binary) of the plurality of patterns read from a window pattern memory 2. A read window number determination part 6 determines a window number provided to a pattern whose AND output is "1" according to priority of patterns. An address selector 8 selects one of a plurality of reading addresses corresponding to the respective window numbers generated by a reading address generation part 7 in order to read the video image from a video memory 9 by the window numbers. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、入力された画像を特定のパターンのウインドウに表示する画像表示制御装置および画像表示装置に関するものである。   The present invention relates to an image display control apparatus and an image display apparatus that display an input image on a window having a specific pattern.

従来、外部から入力されるビデオ信号を表示する表示装置においては、入力された画像を任意のウインドウ内に表示する機能を有するものがある。このような機能によれば、入力画像がウインドウ内の領域に部分的に表示され、視覚的な面白さを表現することができる。   2. Description of the Related Art Conventionally, some display devices that display a video signal input from the outside have a function of displaying an input image in an arbitrary window. According to such a function, the input image is partially displayed in the area in the window, and the visual fun can be expressed.

例えば、特許文献1には、メモリに記憶されたビットマップのデザインと同じにウインドウのデザインを自動的に自己変更する構成が開示されている。また、特許文献2には、携帯電話機に表示される画面を任意の形状で表示する構成が開示されている。また、特許文献3には、任意の形でトリミング画像を表示するトリミングウインドウを用いる構成が開示されている。
特開2001−242975号公報(2001年9月7日公開) 特開2001−14133号公報(2001年1月19日公開) 特開2001−14479号公報(2001年1月19日公開)
For example, Patent Document 1 discloses a configuration in which a window design is automatically changed in the same manner as a bitmap design stored in a memory. Further, Patent Document 2 discloses a configuration for displaying a screen displayed on a mobile phone in an arbitrary shape. Patent Document 3 discloses a configuration using a trimming window that displays a trimmed image in an arbitrary form.
JP 2001-242975 A (published on September 7, 2001) Japanese Patent Laid-Open No. 2001-14133 (published on January 19, 2001) JP 2001-14479 A (published January 19, 2001)

ところが、上記のいずれの方法でも、任意形状のウインドウに画像を表示する処理をソフトウエア的に行っているため、性能の低いCPUを用いた場合、動画を入力画像として表示することができない。また、高速で高価なCPUを用いると、動画を入力画像として表示することができるものの、表示処理がCPUに与える負荷が大きく、システム全体の処理速度を低下させてしまう。   However, in any of the above methods, since processing for displaying an image in a window having an arbitrary shape is performed by software, a moving image cannot be displayed as an input image when a low-performance CPU is used. If a high-speed and expensive CPU is used, a moving image can be displayed as an input image, but the load of display processing on the CPU is large, and the processing speed of the entire system is reduced.

本発明は、上記の問題点に鑑みてなされたものであり、その目的は、任意形状のウインドウにメモリから読み出したビデオ画像を表示する処理をハードウエアで構成することによって、画像表示処理をソフトウエア的に行うことによる上記の不都合を回避することにある。   The present invention has been made in view of the above-mentioned problems, and an object of the present invention is to configure the image display processing by software by configuring the processing for displaying the video image read from the memory in an arbitrary-shaped window with hardware. This is to avoid the above-mentioned inconvenience caused by the wear.

本発明に係る画像表示制御装置は、画像メモリに格納された画像を表示装置に表示するために読み出す画像表示制御装置において、前記画像メモリから読み出されて表示装置に表示されるべき画像を構成する画素データの表示位置が特定の矩形領域内に存在しているか否かを2値で判定する表示画素位置判定回路と、予め設定された形状(パターン)の2値データで表されるウインドウ画像を格納するウインドウ画像メモリと、前記表示画素位置判定回路の出力と前記ウインドウ画像メモリから読み出されたウインドウ画像のデータとの論理積を出力する論理積回路と、前記画像メモリから前記画像を読み出すための読み出す画素データの格納領域を指定する読出アドレスを発生する読出アドレス発生回路と、前記論理積回路の出力が“1”である期間に前記読出アドレスを出力するアドレス出力制御回路とを備えていることを特徴としている。   An image display control device according to the present invention is an image display control device that reads an image stored in an image memory for display on the display device, and constitutes an image to be read from the image memory and displayed on the display device. A display pixel position determination circuit for determining whether or not a display position of pixel data to be present exists within a specific rectangular area, and a window image represented by binary data of a preset shape (pattern) A window image memory for storing the image, a logical product circuit for outputting a logical product of the output of the display pixel position determination circuit and the data of the window image read from the window image memory, and reading the image from the image memory A read address generating circuit for generating a read address for designating a storage area of pixel data to be read, and the output of the AND circuit is "1" It is characterized by comprising an address output control circuit for outputting the read address in a period of time.

上記の構成において、表示画素位置判定回路によって、表示装置に表示されるべき画像の画素が複数のウインドウ画像に応じて設定された各矩形領域内に存在するかが判定される(存在時“1”)。すると、論理積回路によって、表示画素位置判定回路の出力とウインドウ画像メモリから読み出されたウインドウ画像データ(2値データ)との論理積が出力される。そして、アドレス出力制御回路によって、論理積回路の出力が“1”である期間に読出アドレス発生回路からの読出アドレスが出力される。これによって、画像メモリから読み出される画像は、論理積回路の出力が“1”である期間、すなわち矩形領域内、かつウインドウ画像内に存在する画素データのみが読み出されることになる。   In the above configuration, the display pixel position determination circuit determines whether or not the pixel of the image to be displayed on the display device exists in each rectangular area set in accordance with the plurality of window images (when present, “1”). "). Then, the logical product outputs the logical product of the output of the display pixel position determination circuit and the window image data (binary data) read from the window image memory. Then, the address output control circuit outputs the read address from the read address generation circuit during the period when the output of the AND circuit is “1”. As a result, for the image read from the image memory, only the pixel data existing in the period during which the output of the AND circuit is “1”, that is, in the rectangular area and in the window image is read.

このように、ウインドウ画像の形状に画像を読み出す処理をハードウエアで行うことにより、CPUの負担を軽減することができる。   In this way, by performing the process of reading an image in the shape of the window image with hardware, the burden on the CPU can be reduced.

前記画像表示制御装置において、前記ウインドウ画像メモリは、複数のウインドウ画像を格納しており、前記表示画素位置検出手段は、前記ウインドウ画像のそれぞれに対応して設定された複数の矩形領域について画素データの表示位置が特定の矩形領域内に存在しているか否かを判定し、前記論理積回路は、各ウインドウ画像について、前記表示画素位置判定回路の出力と前記ウインドウ画像メモリから読み出されたウインドウ画像のデータとの論理積を出力し、前記読出アドレス発生回路は、各ウインドウ画像について読出アドレスを発生し、前記画像表示制御装置は、各ウインドウ画像に付与された優先順位にしたがって、各ウインドウ画像についての論理積回路からの各出力が“1”となるウインドウ画像を判定するウインドウ画像判定回路を備え、前記アドレス出力制御回路は、論理積回路からの出力が“1”となると判定されたウインドウ画像に対応する前記読出アドレスを出力することが好ましい。   In the image display control device, the window image memory stores a plurality of window images, and the display pixel position detecting means performs pixel data for a plurality of rectangular areas set corresponding to the window images, respectively. For each window image, the logical product circuit determines, for each window image, the output of the display pixel position determination circuit and the window read from the window image memory. A logical product with the image data is output, and the read address generation circuit generates a read address for each window image, and the image display control device outputs each window image according to the priority assigned to each window image. A window image for determining a window image in which each output from the AND circuit for “1” is “1” Comprises a constant circuit, said address output control circuit preferably outputs the read address output corresponding to the determined window image with a "1" from the AND circuit.

この構成では、ウインドウ画像を複数用意したために、どのウインドウ画像を用いて画像を表示するかを決定する必要がある。このため、表示画素位置検出手段、論理積回路、読出アドレス発生回路および読出アドレス制御回路は、前記のように構成される、前記画像表示制御装置は、上記の決定のために、ウインドウ画像判定回路を備えている。   In this configuration, since a plurality of window images are prepared, it is necessary to determine which window image is used to display an image. For this reason, the display pixel position detecting means, the logical product circuit, the read address generating circuit, and the read address control circuit are configured as described above. The image display control device uses the window image determination circuit for the above determination. It has.

まず、表示画素位置判定回路によって、表示装置に表示されるデオ画像の画素が複数のウインドウ画像に応じて設定された各矩形領域内に存在するかが判定される。また、論理積回路によって、表示画素位置判定回路の各出力とウインドウ画像メモリから読み出された複数のウインドウ画像データとの論理積が個々に出力される。すると、ウインドウ画像判定回路によって、ウインドウ画像の優先順位にしたがって、論理積回路の出力が“1”であるウインドウ画像が判定される。そして、読出アドレス出力によって、読出アドレス発生回路で発生した各ウインドウ画像に対応した読出アドレスから、上記のように判定されたウインドウ画像に対応する読出アドレスが選択されると、この読出アドレスで画像メモリから画像が読み出される。   First, the display pixel position determination circuit determines whether or not a pixel of a video image displayed on the display device is present in each rectangular area set in accordance with a plurality of window images. The logical product circuit individually outputs the logical product of each output of the display pixel position determination circuit and a plurality of window image data read from the window image memory. Then, the window image determination circuit determines a window image whose output from the AND circuit is “1” according to the priority order of the window images. When a read address corresponding to the window image determined as described above is selected from the read addresses corresponding to the window images generated by the read address generation circuit by the read address output, the image memory is used with the read address. The image is read out from.

これにより、複数の異なるウインドウ画像のうち、表示すべき画素が矩形領域内かつウインドウ画像内に存在する最も優先順位の高いウインドウ画像を用いて画像が表示される。これにより、ウインドウ画像の優先順位を適宜設定することにより、所望の形状で画像を表示することができる。   Thereby, an image is displayed using the highest priority window image in which the pixel which should be displayed exists in a rectangular area and a window image among several different window images. Thus, the image can be displayed in a desired shape by appropriately setting the priority order of the window images.

本発明の画像表示装置は、前記表示装置と、前記画像表示制御装置とを備えることにより、ハードウエア構成で任意のウインドウ画像で特定される領域に画像メモリからの画像を表示することができる。それゆえ、画像表示装置におけるCPUの負担を軽減することができる。   The image display device of the present invention includes the display device and the image display control device, so that an image from the image memory can be displayed in an area specified by an arbitrary window image with a hardware configuration. Therefore, the burden on the CPU in the image display apparatus can be reduced.

本発明に係る画像表示制御装置は、以上のように、画像メモリから読み出されて表示装置に表示されるべき画像を構成する画素データの表示位置が特定の矩形領域内に存在しているか否かを2値で判定する表示画素位置判定回路と、予め設定された形状の2値データで表されるウインドウ画像を格納するウインドウ画像メモリと、前記表示画素位置判定回路の出力と前記ウインドウ画像メモリから読み出されたウインドウ画像のデータとの論理積を出力する論理積回路と、前記画像メモリから前記画像を読み出すための読み出す画素データの格納領域を指定する読出アドレスを発生する読出アドレス発生回路と、前記論理積回路の出力が“1”である期間に前記読出アドレスを出力するアドレス出力制御回路とを備えることによって、任意の形状を有するウインドウ画像で特定される領域にビデオ画像を表示する表示処理がハードウエアで実現される。それゆえ、CPUの負担を大幅に軽減することができ、低速のCPUを用いることも可能となる。したがって、画像表示制御装置およびそれを備える画像表示装置のコスト低減を図ることが可能になる。   The image display control device according to the present invention, as described above, determines whether or not the display position of the pixel data constituting the image that is read from the image memory and displayed on the display device exists within a specific rectangular area. A display pixel position determination circuit for determining whether or not by binary, a window image memory for storing a window image represented by binary data having a preset shape, an output of the display pixel position determination circuit, and the window image memory A logical product circuit that outputs a logical product of the window image data read from the image memory, and a read address generation circuit that generates a read address that specifies a storage area of pixel data to be read for reading the image from the image memory; An address output control circuit that outputs the read address during a period when the output of the logical product circuit is “1”. Display processing of displaying the video image in the region specified by the window image having Jo is implemented in hardware. Therefore, the burden on the CPU can be greatly reduced, and a low-speed CPU can be used. Therefore, it is possible to reduce the cost of the image display control device and the image display device including the image display control device.

本発明の一実施形態について図1ないし図3に基づいて説明すると、以下の通りである。   An embodiment of the present invention will be described with reference to FIGS. 1 to 3 as follows.

本実施形態に係る画像表示装置は、入力されたビデオ画像を予め用意された複数のパターンのウインドウ内に表示するために構成されている。この画像表示装置は、図1に示すように、表示画素位置検出部1、ウインドウパターンメモリ2、読出制御部3、ANDゲート部4、ウインドウプライオリティレジスタ5、読出ウインドウ番号判定部6、読出アドレス発生部7、アドレスセレクタ8、ビデオメモリ9、メモリコントローラ10、表示タイミング発生器11およびディスプレイデバイス12を備えている。また、本画像表示装置において、表示画素位置検出部1、ウインドウパターンメモリ2、読出制御部3、ANDゲート部4、ウインドウプライオリティレジスタ5、読出ウインドウ番号判定部6、読出アドレス発生部7、アドレスセレクタ8、メモリコントローラ10および表示タイミング発生器11によって画像表示制御装置101が構成されている。   The image display apparatus according to the present embodiment is configured to display an input video image in a plurality of patterns of windows prepared in advance. As shown in FIG. 1, this image display device includes a display pixel position detection unit 1, a window pattern memory 2, a read control unit 3, an AND gate unit 4, a window priority register 5, a read window number determination unit 6, a read address generator. Unit 7, an address selector 8, a video memory 9, a memory controller 10, a display timing generator 11, and a display device 12. In the present image display device, the display pixel position detection unit 1, the window pattern memory 2, the read control unit 3, the AND gate unit 4, the window priority register 5, the read window number determination unit 6, the read address generation unit 7, the address selector 8. The memory controller 10 and the display timing generator 11 constitute an image display control device 101.

表示画素位置判定回路としての表示画素位置検出部1は、ビデオメモリ9から読み出されたビデオ画像がディスプレイデバイス12で表示されるときのビデオ画像の画素データの、特定の矩形領域における位置(画素位置)を画素データの表示順に検出する。   The display pixel position detection unit 1 as a display pixel position determination circuit is a position (pixel) of pixel data of a video image when the video image read from the video memory 9 is displayed on the display device 12 in a specific rectangular area. Position) is detected in the display order of the pixel data.

表示画素位置検出部1は、画素位置カウンタSPCを有している。   The display pixel position detection unit 1 has a pixel position counter SPC.

画素位置カウンタSPCは、水平位置カウンタHSPCと垂直位置カウンタVSPCとからなっている。   The pixel position counter SPC includes a horizontal position counter HSPC and a vertical position counter VSPC.

水平位置カウンタHSPCは、画素の水平方向の位置を検出するために、ディスプレイデバイス12に表示されるビデオ画像の画素データの入力タイミングに同期する表示タイミング発生器11からの画素クロックPCLKをカウントすることにより、そのカウント値で表示ビデオ画像における現在の水平画素の位置(画面の左上端を基準(走査開始位置)とする)を検出して、水平画素位置データとして出力する。また、水平位置カウンタHSPCは、1ラインの全画素について画素クロックPCLKのカウントが終了するとキャリー(桁上げ)信号を出力し、水平同期信号HSYNCによりリセットされる。また、水平位置カウンタHSPCは、表示タイミング発生器11から出力されるフレーム開始信号FRS(“H”レベル)をイネーブル端子ENBにカウントイネーブル信号として受けることによって、カウントを開始する。   The horizontal position counter HSPC counts the pixel clock PCLK from the display timing generator 11 synchronized with the input timing of the pixel data of the video image displayed on the display device 12 in order to detect the horizontal position of the pixel. Thus, the current horizontal pixel position in the display video image is detected with the count value (the upper left corner of the screen is used as a reference (scanning start position)) and is output as horizontal pixel position data. Further, the horizontal position counter HSPC outputs a carry (carry) signal when the counting of the pixel clock PCLK is completed for all pixels in one line, and is reset by the horizontal synchronization signal HSYNC. The horizontal position counter HSPC starts counting by receiving the frame start signal FRS (“H” level) output from the display timing generator 11 at the enable terminal ENB as a count enable signal.

垂直位置カウンタVSPCは、画素の垂直方向の位置を検出するために、水平位置カウンタHSPCからの上記のキャリー信号をカウントして、そのカウント値を垂直画素位置データとして出力する。また、垂直位置カウンタVSPCは、垂直同期信号VSYNCによりリセットされる。   The vertical position counter VSPC counts the carry signal from the horizontal position counter HSPC and outputs the count value as vertical pixel position data in order to detect the vertical position of the pixel. The vertical position counter VSPC is reset by the vertical synchronization signal VSYNC.

画素位置データが大きくなるほど、水平位置については画素の表示位置が表示画面の右側に位置し、垂直位置については画素の表示位置が表示画面の下側に位置する。
また、表示画素位置検出部1は、ウインドウパターンメモリ2に格納される各ウインドウ(ウインドウ番号)のn個ウインドウパターンWP0〜WPn−1(ウインドウ画像)に対応して、画素位置を検出する部分を有している。ウインドウパターンWP0〜WPn−1は、パーソナルコンピュータに全画面表示される壁紙のようにベース画面として表示されるウインドウパターンWP0、すなわちベースウインドウ(ウインドウ番号0)を含めてn個用意されている。
As the pixel position data increases, the pixel display position is positioned on the right side of the display screen for the horizontal position, and the pixel display position is positioned on the lower side of the display screen for the vertical position.
The display pixel position detection unit 1 detects a pixel position corresponding to n window patterns WP0 to WPn-1 (window images) of each window (window number) stored in the window pattern memory 2. Have. There are n window patterns WP0 to WPn-1 including a window pattern WP0 that is displayed as a base screen, such as wallpaper displayed on a full screen on a personal computer, that is, a base window (window number 0).

例えば、表示画素位置検出部1は、ウインドウ番号1のウインドウパターンWP1に対応して、水平始点レジスタHSPR1、垂直始点レジスタVSPR1、水平終点レジスタHEPR1、垂直終点レジスタVEPR1、水平始点コンパレータHSCMP1、垂直始点コンパレータVSCMP1、水平終点コンパレータHECMP1、垂直終点コンパレータVECMP1およびANDゲートG1を有している。また、表示画素位置検出部1は、ウインドウ番号n−2のウインドウパターンWPn−2に対応して、水平始点レジスタHSPRn−2、垂直始点レジスタVSPRn−2、水平終点レジスタHEPRn−2、垂直終点レジスタVEPRn−2、水平始点コンパレータHSCMPn−2、垂直始点コンパレータVSCMPn−2、水平終点コンパレータHECMPn−2、垂直終点コンパレータVECMPn−2およびANDゲートGn−2を有している。また、表示画素位置検出部1は、ウインドウ番号n−1のウインドウパターンWPn−1に対応して、水平始点レジスタHSPRn−1、垂直始点レジスタVSPRn−1、水平終点レジスタHEPRn−1、垂直終点レジスタVEPRn−1、水平始点コンパレータHSCMPn−1、垂直始点コンパレータVSCMPn−1、水平終点コンパレータHECMPn−1、垂直終点コンパレータVECMPn−1およびANDゲートGn−1を有している。   For example, the display pixel position detection unit 1 corresponds to the window pattern WP1 of window number 1 and corresponds to the horizontal start point register HSPR1, the vertical start point register VSPR1, the horizontal end point register HEPR1, the vertical end point register VEPR1, the horizontal start point comparator HSCM1, and the vertical start point comparator. It has VSCMP1, horizontal end point comparator HECMP1, vertical end point comparator VECMP1, and AND gate G1. Further, the display pixel position detection unit 1 corresponds to the window pattern WPn-2 of the window number n-2, the horizontal start point register HSPRn-2, the vertical start point register VSPRn-2, the horizontal end point register HEPRn-2, and the vertical end point register. VEPRn-2, horizontal start point comparator HSCMPn-2, vertical start point comparator VSCMPn-2, horizontal end point comparator HECMn-2, vertical end point comparator VECMPn-2, and AND gate Gn-2. Further, the display pixel position detection unit 1 corresponds to the window pattern WPn-1 of the window number n-1, corresponding to the horizontal start point register HSPRn-1, the vertical start point register VSPRn-1, the horizontal end point register HEPRn-1, and the vertical end point register. It has a VEPRn-1, a horizontal start point comparator HSCMPn-1, a vertical start point comparator VSCMPn-1, a horizontal end point comparator HECMn-1, a vertical end point comparator VECMPn-1, and an AND gate Gn-1.

なお、図示はしないが、表示画素位置検出部1は、ウインドウ番号2〜n−3のウインドウパターンWP2〜WPn−3に対しても、同様な画素位置を検出する部分を有している。   Although not shown, the display pixel position detection unit 1 has a portion for detecting similar pixel positions for the window patterns WP2 to WPn-3 of the window numbers 2 to n-3.

ここでは、各ウインドウパターンWP1〜WPn−1に対応する画素位置検出部分は同様に構成されているため、ウインドウ番号を特定しない(1,…n−2,n−1の符号を付記しない)ウインドウパターンWPに対応する画素位置検出部分として説明する。   Here, since the pixel position detection portion corresponding to each of the window patterns WP1 to WPn-1 is configured in the same manner, a window number is not specified (a symbol of 1,... N-2, n-1 is not added). The pixel position detection portion corresponding to the pattern WP will be described.

水平始点レジスタHSPRは、ディスプレイデバイス12に表示される表示画面S(図2(a)ないし(c)参照)における所望の矩形領域R(R1〜Rn)の左上端に位置する画像水平開始位置データHSP(10ビット)を格納している。垂直始点レジスタVSPRは、上記の矩形領域の左上端に位置する画像垂直開始位置データVSP(10ビット)を格納している。水平終点レジスタHEPRは、上記の矩形領域の右下端に位置する画像水平終了位置データHEP(10ビット)を格納している。垂直終点レジスタVEPR1は、上記の矩形領域の左上端に位置する画像垂直終了位置データVEP(10ビット)を格納している。   The horizontal start point register HSPR is image horizontal start position data located at the upper left end of a desired rectangular area R (R1 to Rn) on the display screen S (see FIGS. 2A to 2C) displayed on the display device 12. HSP (10 bits) is stored. The vertical start point register VSPR stores image vertical start position data VSP (10 bits) located at the upper left end of the rectangular area. The horizontal end point register HEPR stores image horizontal end position data HEP (10 bits) located at the lower right end of the rectangular area. The vertical end point register VEPR1 stores image vertical end position data VEP (10 bits) located at the upper left end of the rectangular area.

例えば、ウインドウ番号1に対しては、図2(a)に示すように、矩形領域R1について、左上端に水平開始位置データHSP1および垂直開始位置データVSP1が設定され、右下端に水平終了位置データHEP1および垂直終了位置データVEP1が設定される。また、ウインドウ番号n−1に対しては、図2(b)に示すように、矩形領域Rn−2について、左上端に水平開始位置データHSPn−2および垂直開始位置データVSPn−2が設定され、右下端に水平終了位置データHEPn−2および垂直終了位置データVEPn−2が設定される。また、ウインドウ番号n−1に対しては、図2(c)に示すように、矩形領域Rn−1について、左上端に水平開始位置データHSPn−1および垂直開始位置データVSPn−1が設定され、右下端に水平終了位置データHEPn−1および垂直終了位置データVEPn−1が設定される。   For example, for window number 1, as shown in FIG. 2A, for rectangular area R1, horizontal start position data HSP1 and vertical start position data VSP1 are set at the upper left corner, and horizontal end position data at the lower right corner. HEP1 and vertical end position data VEP1 are set. For window number n-1, as shown in FIG. 2B, horizontal start position data HSPn-2 and vertical start position data VSPn-2 are set at the upper left corner of rectangular area Rn-2. In the lower right corner, horizontal end position data HEPn-2 and vertical end position data VEPn-2 are set. For window number n-1, as shown in FIG. 2C, horizontal start position data HSPn-1 and vertical start position data VSPn-1 are set at the upper left corner of rectangular area Rn-1. In the lower right corner, horizontal end position data HEPn-1 and vertical end position data VEPn-1 are set.

水平始点コンパレータHSCMPは、水平始点レジスタHSPRから出力される画像水平開始位置データHSP(A入力)と水平位置カウンタHSPCから出力される水平画素位置データ(B入力)とを順次比較する。この水平始点コンパレータHSCMPは、B入力がA入力以上となったときに(B>=A)出力を“1”とする。   The horizontal start point comparator HSCMP sequentially compares the image horizontal start position data HSP (A input) output from the horizontal start point register HSPR and the horizontal pixel position data (B input) output from the horizontal position counter HSPC. The horizontal start point comparator HSCMP sets the output to “1” when the B input becomes equal to or higher than the A input (B> = A).

垂直始点コンパレータVSCMPは、垂直始点レジスタVSPRから出力される画像垂直開始位置データVSP(A入力)と垂直位置カウンタVSPCから出力される垂直画素位置データ(B入力)とを順次比較する。この垂直始点コンパレータVSCMPは、B入力がA入力以上となったときに(B>=A)出力を“1”とする。   The vertical start point comparator VSCMP sequentially compares the image vertical start position data VSP (A input) output from the vertical start point register VSPR and the vertical pixel position data (B input) output from the vertical position counter VSPC. The vertical start point comparator VSCMP sets the output to “1” when the B input becomes equal to or higher than the A input (B> = A).

水平終点コンパレータHECMPは、水平終点レジスタHEPRから出力される画像水平終了位置データHEP(A入力)と水平位置カウンタHSPCから出力される水平画素位置データ(B入力)とを順次比較する。この水平終点コンパレータHECMPは、B入力がA入力以下となったときに(B<=A)出力を“1”とする。   The horizontal end point comparator HECMP sequentially compares the image horizontal end position data HEP (A input) output from the horizontal end point register HEPR and the horizontal pixel position data (B input) output from the horizontal position counter HSPC. The horizontal end point comparator HECMP sets the output to “1” when the B input becomes equal to or lower than the A input (B <= A).

垂直終点コンパレータVECMPは、垂直終点レジスタVEPRから出力される画像垂直終了位置データVEP(A入力)と垂直位置カウンタVSPCから出力される垂直画素位置データ(B入力)とを順次比較する。この垂直終点コンパレータVECMPは、B入力がA入力以下となったときに(B<=A)出力を“1”とする。   The vertical end point comparator VECMP sequentially compares the image vertical end position data VEP (A input) output from the vertical end point register VEPR and the vertical pixel position data (B input) output from the vertical position counter VSPC. The vertical end point comparator VECMP sets the output to “1” when the B input becomes equal to or lower than the A input (B <= A).

ANDゲートGは、水平始点コンパレータHSCMP、垂直始点コンパレータVSCMP、水平終点コンパレータHECMP、垂直終点コンパレータVECMPの各出力の論理積を出力する。   The AND gate G outputs a logical product of the outputs of the horizontal start point comparator HSCMP, the vertical start point comparator VSCMP, the horizontal end point comparator HECMP, and the vertical end point comparator VECMP.

上記のように構成される各ウインドウパターンWPに対応する画素位置検出部分は、表示画面Sに表示される表示ビデオ画像の現在の画素位置が矩形領域R内に存在しているときに、各コンパレータCMPから“1”を出力するので、ANDゲートGが“1”を出力する。また、画素位置検出部分は、表示画面Sに表示される表示ビデオ画像の現在の画素位置が矩形領域R内に存在していないときに、各コンパレータCMPのいずれか1つでも“0”を出力するので、ANDゲートGが“0”を出力する。これにより、連続して表示される画素の位置が矩形領域R内に存在し続けている間は、画素位置検出部分から“1”の出力が維持される。   The pixel position detection portion corresponding to each window pattern WP configured as described above is provided with each comparator when the current pixel position of the display video image displayed on the display screen S exists in the rectangular region R. Since “1” is output from the CMP, the AND gate G outputs “1”. In addition, the pixel position detection portion outputs “0” in any one of the comparators CMP when the current pixel position of the display video image displayed on the display screen S does not exist in the rectangular region R. Therefore, the AND gate G outputs “0”. As a result, while the positions of continuously displayed pixels continue to exist in the rectangular region R, the output of “1” is maintained from the pixel position detection portion.

ウインドウ画像メモリとしてのウインドウパターンメモリ2は、ウインドウ番号1〜n−1が付与された任意形状のウインドウパターンWP1〜WPn−1のデータが少なくとも格納されている。各ウインドウパターンWP1〜WPn−1のデータは、ビットマップ形式(2値)で形成されている。このウインドウパターンメモリ2は、ディスプレイデバイス12の表示タイミングに対応する必要があるので、高速にウインドウパターンデータを読み出し可能とするSRAMなどで構成される。   The window pattern memory 2 as the window image memory stores at least data of arbitrary-shaped window patterns WP1 to WPn-1 assigned with window numbers 1 to n-1. The data of each of the window patterns WP1 to WPn-1 is formed in a bitmap format (binary). Since the window pattern memory 2 needs to correspond to the display timing of the display device 12, the window pattern memory 2 is configured by an SRAM or the like that can read window pattern data at high speed.

読出制御部3は、ウインドウパターンメモリ2からの各ウインドウパターンデータの読み出しを制御するために、読出開始位置レジスタRSPR1〜RSPRn−1と、読出位置カウンタRPC1〜RPCn−1とを有している。以降、読出開始位置レジスタRSPR1〜RSPRn−1と、読出位置カウンタRPC1〜RPCn−1とをそれぞれ代表して説明する場合は、読出開始位置レジスタRSPRと、読出位置カウンタRPCとする。   The read control unit 3 includes read start position registers RSPR1 to RSPRn-1 and read position counters RPC1 to RPCn-1 in order to control reading of each window pattern data from the window pattern memory 2. Hereinafter, when the reading start position registers RSPR1 to RSPRn-1 and the reading position counters RPC1 to RPCn-1 are described as representatives, they are referred to as a reading start position register RSPR and a reading position counter RPC.

読出開始位置レジスタRSPRは、水平読出開始位置レジスタHRSPR(HRSPR1〜HRSPRn−1)と、垂直読出開始位置レジスタVRSPR(VRSPR1〜VRSPRn−1)とからなっている。水平読出開始位置レジスタHRSPRは、ウインドウパターンデータの読み出しを開始する水平方向の画素位置のデータ(水平読出開始位置データHRS)を格納しており、このデータはウインドウパターンWPの始点である左上端からの水平方向の画素数として表される。垂直読出開始位置レジスタVRSPRは、ウインドウパターンデータの読み出しを開始する垂直方向の画素位置のデータ(垂直読出開始位置データVRS)を格納しており、このデータは上記の左上端からの垂直方向の画素数として表される。   The read start position register RSPR includes a horizontal read start position register HRSPR (HRSPR1 to HRSPRn-1) and a vertical read start position register VRSPR (VRSPR1 to VRSPRn-1). The horizontal reading start position register HRSPR stores horizontal pixel position data (horizontal reading start position data HRS) at which reading of the window pattern data is started, and this data is received from the upper left end that is the starting point of the window pattern WP. It is expressed as the number of pixels in the horizontal direction. The vertical read start position register VRSPR stores vertical pixel position data (vertical read start position data VRS) at which reading of the window pattern data is started, and this data is the vertical pixel from the upper left end. Expressed as a number.

読出位置カウンタRPCは、水平読出位置カウンタHRPC(HRPC1〜HRPCn−1)と、垂直読出位置カウンタVRPC(VRPC1〜VRPCn−1)とからなっている。   The reading position counter RPC includes a horizontal reading position counter HRPC (HRPC1 to HRPCn-1) and a vertical reading position counter VRPC (VRPC1 to VRPCn-1).

水平読出位置カウンタHRPCは、表示タイミング発生器11から出力されるフレーム開始信号FRSによって水平読出開始位置レジスタHRSPRからの水平読出開始位置データHRSをロードし、その水平読出開始位置データHRSの値から前述の画素クロックPCLKをカウントしていく。また、水平読出位置カウンタHRPCは、1ラインの画素についての画素クロックPCLKのカウントが終了するとキャリー(桁上げ)信号を出力し、水平同期信号HSYNCによりリセットされる。   The horizontal readout position counter HRPC loads the horizontal readout start position data HRS from the horizontal readout start position register HRSPR by the frame start signal FRS output from the display timing generator 11, and determines the value from the value of the horizontal readout start position data HRS. The pixel clock PCLK is counted. Further, the horizontal readout position counter HRPC outputs a carry (carry) signal when the counting of the pixel clock PCLK for one line of pixels is completed, and is reset by the horizontal synchronization signal HSYNC.

垂直読出位置カウンタVRPCは、フレーム開始信号FRSによって垂直読出開始位置レジスタVRSPRからの垂直読出開始位置データVRSをロードし、その垂直読出開始位置データVRSの値から水平読出位置カウンタHRPCからの上記のキャリー信号をカウントする。   The vertical read position counter VRPC loads the vertical read start position data VRS from the vertical read start position register VRSPR by the frame start signal FRS, and the above carry from the horizontal read position counter HRPC from the value of the vertical read start position data VRS. Count the signal.

ウインドウパターンメモリ2から対応するウインドウパターンデータを読み出すための読出アドレスは、水平読出位置カウンタHRPCから出力されるカウント値と、垂直読出位置カウンタVRACから出力されるカウント値との組み合わせによって構成される。   The read address for reading the corresponding window pattern data from the window pattern memory 2 is composed of a combination of a count value output from the horizontal read position counter HRPC and a count value output from the vertical read position counter VRAC.

ANDゲート部4は、表示画素位置検出部1の各ANDゲートG1〜Gn−1(論理積回路)からの出力と、ウインドウパターンメモリ2から読み出された各ウインドウパターンWP1〜WPn−1の画素データ(ウインドウパターンデータ)との論理積をそれぞれ画素単位で出力するANDゲートAG1〜AGn−1からなっている。ANDゲートAG1〜AGn−1から出力される“1”は、各矩形領域R1〜Rn−1内にそれぞれ存在するウインドウパターンデータのパターン部分(“1”の値)の画素データを示している。また、ANDゲートAG1〜AGn−1の出力(ANDゲート出力)は、表示画面Sに表示されるべき画素データ(2値)を示しているともいえる。つまり、ANDゲート出力が“1”であるときは表示すべき画素データが存在し、ANDゲート出力が“0”であるときは表示すべき画素データが存在していないということである。   The AND gate unit 4 outputs from the AND gates G1 to Gn-1 (logical product circuit) of the display pixel position detection unit 1 and the pixels of the window patterns WP1 to WPn-1 read from the window pattern memory 2. It consists of AND gates AG1 to AGn-1 that output logical products with data (window pattern data) in units of pixels. “1” output from the AND gates AG1 to AGn−1 indicates pixel data of a pattern portion (value of “1”) of the window pattern data existing in each of the rectangular regions R1 to Rn−1. It can also be said that the outputs (AND gate outputs) of the AND gates AG1 to AGn-1 indicate pixel data (binary) to be displayed on the display screen S. That is, when the AND gate output is “1”, there is pixel data to be displayed, and when the AND gate output is “0”, there is no pixel data to be displayed.

ウインドウプライオリティレジスタ5は、ディスプレイデバイス12の表示画面S上にビデオ画像を表示するウインドウとして用いるウインドウパターンWPの優先順位を決定するために、ベースウインドウ(ウインドウパターンWP0)を除くウインドウパターンWP1〜WPn−1と同数の格納領域を有している。各格納領域には、優先順位にしたがってウインドウ番号が格納される。具体的には、図中左端の格納領域に最も優先順位の高いウインドウ番号が格納され、右端に近い格納領域ほど優先順位の低いウインドウ番号が格納される。また、各格納領域に格納されるウインドウ番号のデータは、nを表現できるkビットで表される(kは2k ≧n>2k-1 を満たす)。例えば、n=8の場合、ウインドウ番号のデータは3ビットで表される。3ビットの場合、ウインドウ番号“1”〜“7”は、それぞれ“001”〜“111”と表され、ベースウインドウのウインドウ番号“0”は“000”で表される。 The window priority register 5 determines the priority order of the window pattern WP used as a window for displaying a video image on the display screen S of the display device 12, and the window patterns WP1 to WPn− except for the base window (window pattern WP0). There are as many storage areas as one. In each storage area, window numbers are stored according to priority. Specifically, the window number with the highest priority is stored in the leftmost storage area in the figure, and the window number with the lower priority is stored in the storage area closer to the right end. The window number data stored in each storage area is represented by k bits that can represent n ( k satisfies 2 k ≧ n> 2 k−1 ). For example, when n = 8, the window number data is represented by 3 bits. In the case of 3 bits, window numbers “1” to “7” are represented as “001” to “111”, respectively, and the window number “0” of the base window is represented as “000”.

ウインドウ画像判定部としての読出ウインドウ番号判定部6は、ANDゲート部4の各ANDゲートAG1〜AGn−1からの出力と、ウインドウプライオリティレジスタ5の各格納領域に優先順位別に格納されているウインドウ番号のデータとに基づいて、読み出すべきウインドウパターンWPのウインドウ番号を出力する。ここで、読出ウインドウ番号判定部6の詳細について図3を参照して説明する。図3は、n=8の場合の読出ウインドウ番号判定部6の構成を示している。   The read window number determination unit 6 as the window image determination unit includes outputs from the AND gates AG1 to AGn-1 of the AND gate unit 4 and window numbers stored in the respective storage areas of the window priority register 5 according to priority. The window number of the window pattern WP to be read out is output based on the data. Here, details of the readout window number determination unit 6 will be described with reference to FIG. FIG. 3 shows the configuration of the readout window number determination unit 6 when n = 8.

図3に示すように、読出ウインドウ番号判定部6は、セレクタSEL1〜SEL7と、ANDゲートRG1〜RG7と、複数のインバータINVと、ORゲートOGとを有している。   As shown in FIG. 3, the read window number determination unit 6 includes selectors SEL1 to SEL7, AND gates RG1 to RG7, a plurality of inverters INV, and an OR gate OG.

セレクタSEL1〜SEL7は、ANDゲートAG1〜AG7からの出力がそれぞれ入力されるデータ入力端子D1〜D7と、ウインドウプライオリティレジスタ5からのウインドウ番号のデータが個別に入力されるデータセレクト端子DSとを有している。各データセレクト端子DSには、セレクタSEL1〜SEL7の順に優先順位の高いウインドウ番号データが入力される。セレクタSEL1〜SEL7は、データ入力端子D1〜D7がそれぞれウインドウ番号1〜7に対応しており、ANDゲートAG1〜AG7の出力から、データセレクト端子DSに入力されるウインドウ番号データに対応する1つを選択して出力する。   The selectors SEL1 to SEL7 have data input terminals D1 to D7 to which outputs from the AND gates AG1 to AG7 are input, respectively, and a data select terminal DS to which window number data from the window priority register 5 is individually input. is doing. Window number data with higher priority is input to each data select terminal DS in the order of selectors SEL1 to SEL7. In the selectors SEL1 to SEL7, the data input terminals D1 to D7 correspond to the window numbers 1 to 7, respectively, and one corresponding to the window number data input to the data select terminal DS from the outputs of the AND gates AG1 to AG7. Select to output.

ANDゲートRG1は、セレクタSEL1の出力端子OUTから選択出力されるANDゲート出力とセレクタSEL1に入力されるウインドウ番号データ(3ビット)との論理積を出力する。ANDゲートRG2は、セレクタSEL1からのANDゲート出力のインバータINVによる反転出力と、セレクタSEL2の出力端子OUTから選択出力されるANDゲート出力と、セレクタSEL2に入力されるウインドウ番号データとの論理積を出力する。また、ANDゲートRG7は、セレクタSEL1〜SEL6からの各ANDゲート出力の個別のインバータINVによる反転出力(6個)と、セレクタSEL7の出力端子OUTから選択出力されるANDゲート出力と、セレクタSEL7に入力されるウインドウ番号データとの論理積を出力する。このように、ANDゲートRG2〜RG7は、対応するセレクタSEL2〜SEL7からのANDゲート出力と、セレクタSEL2〜SEL7に入力されるウインドウ番号データと、ANDゲートRG2〜RG7に対応するセレクタSEL2〜SEL7より前段の全てのセレクタSEL(SEL1,SEL1・2,…,SEL1〜SEL6)からのANDゲート出力のインバータINVによる反転出力との論理積を出力する。   The AND gate RG1 outputs a logical product of the AND gate output selected and output from the output terminal OUT of the selector SEL1 and the window number data (3 bits) input to the selector SEL1. The AND gate RG2 performs a logical product of the inverted output of the AND gate output from the selector SEL1 by the inverter INV, the AND gate output selected and output from the output terminal OUT of the selector SEL2, and the window number data input to the selector SEL2. Output. Further, the AND gate RG7 outputs the inverted outputs (six) of the AND gate outputs from the selectors SEL1 to SEL6 by the individual inverter INV, the AND gate output selected from the output terminal OUT of the selector SEL7, and the selector SEL7. The logical product with the input window number data is output. As described above, the AND gates RG2 to RG7 have AND gate outputs from the corresponding selectors SEL2 to SEL7, window number data input to the selectors SEL2 to SEL7, and selectors SEL2 to SEL7 corresponding to the AND gates RG2 to RG7. A logical product of AND gate outputs from all selectors SEL (SEL1, SEL1,..., SEL1 to SEL6) in the preceding stage and an inverted output by the inverter INV is output.

上記のように構成される読出ウインドウ判定部6においては、まず、ANDゲートAG1〜AG7の出力から、セレクタSEL1によって優先順位の最も高いウインドウ番号に対応する1つが出力される。セレクタSEL1からのANDゲート出力が“1”である場合、そのウインドウ番号データがANDゲートRG1から出力され、さらにORゲートOGを介して選択ウインドウ番号WNとして出力される。セレクタSEL1からのANDゲート出力が“0”である場合、そのウインドウ番号データがANDゲートRG1から出力されず、ANDゲートRG2にセレクタSEL1からのANDゲート出力の反転出力“1”が入力される。このとき、セレクタSEL2からのANDゲート出力が“1”である場合、セレクタSEL2に入力されるウインドウ番号データがANDゲートRG2から出力され、さらにORゲートOGを介して選択ウインドウ番号WNとして出力される。   In the readout window determination unit 6 configured as described above, first, one corresponding to the window number with the highest priority is output from the outputs of the AND gates AG1 to AG7 by the selector SEL1. When the AND gate output from the selector SEL1 is “1”, the window number data is output from the AND gate RG1, and further output as the selected window number WN via the OR gate OG. When the AND gate output from the selector SEL1 is “0”, the window number data is not output from the AND gate RG1, and the inverted output “1” of the AND gate output from the selector SEL1 is input to the AND gate RG2. At this time, if the AND gate output from the selector SEL2 is “1”, the window number data input to the selector SEL2 is output from the AND gate RG2, and further output as the selected window number WN via the OR gate OG. .

同様に、セレクタSEL1〜SEL6からのANDゲート出力が全て“0”である場合、ANDゲートRG7にセレクタSEL1〜SEL6からのANDゲート出力の全ての反転出力“1”が入力される。このとき、セレクタSEL7からのANDゲート出力が“1”である場合、セレクタSEL7に入力されるウインドウ番号データがANDゲートRG7から、ANDゲート出力が“1”である期間に出力され、さらにORゲートOGを介して選択ウインドウ番号WNとして出力される。また、逆に、セレクタSEL7からのANDゲート出力が“0”である場合、セレクタSEL7に入力されるウインドウ番号データがANDゲートRG7から出力されないので、ORゲートOGからはベースウインドウを示す“0”(3ビットでは“000”)が選択ウインドウ番号WNとして出力される。   Similarly, when the AND gate outputs from the selectors SEL1 to SEL6 are all “0”, all the inverted outputs “1” of the AND gate outputs from the selectors SEL1 to SEL6 are input to the AND gate RG7. At this time, if the AND gate output from the selector SEL7 is “1”, the window number data input to the selector SEL7 is output from the AND gate RG7 during the period in which the AND gate output is “1”, and further the OR gate. The selected window number WN is output via OG. Conversely, when the AND gate output from the selector SEL7 is “0”, the window number data input to the selector SEL7 is not output from the AND gate RG7, so that the OR gate OG indicates “0” indicating the base window. (“000” in 3 bits) is output as the selected window number WN.

このように、読出ウインドウ判定部6は、ANDゲートAG1〜AG7からの出力を、各セレクタSEL1〜SEL7で選択順位の高いものから順次選択出力していき、“1”であるANDゲート出力を出力するセレクタSELに入力されるウインドウ番号データのみを出力する。これにより、表示されるべき画素データが存在する最も優先順位の高いウインドウパターンWPのウインドウ番号データが出力される。   As described above, the readout window determination unit 6 sequentially selects and outputs the outputs from the AND gates AG1 to AG7 in descending order of selection by the selectors SEL1 to SEL7, and outputs an AND gate output that is “1”. Only the window number data input to the selector SEL to be output is output. As a result, the window number data of the highest priority window pattern WP in which pixel data to be displayed exists is output.

読出アドレス発生回路としての読出アドレス発生部7は、各ウインドウパターンデータに対応した読出アドレスを発生するために、ウインドウ番号0〜n−1に対応して、読出開始アドレスレジスタRSAR0〜RSARn−1と、読出アドレスカウンタRAC0〜RACn−1とを有している。   Read address generator 7 serving as a read address generating circuit generates read addresses corresponding to the respective window pattern data, corresponding to window numbers 0 to n-1, and read start address registers RSAR0 to RSARn-1. Read address counters RAC0 to RACn-1.

読出開始アドレスレジスタRSAR0〜RSARn−1は、それぞれ対応するウインドウパターンWP0〜WPn−1でビデオ画像をディスプレイデバイス12に表示するとき、ビデオメモリ9からのビデオ画像の読み出しを開始する読出開始アドレス(最初に読み出すビデオ画像の画素データを格納している領域を指定するためのアドレス)を格納している。読出アドレスカウンタRAC0〜RACn−1は、対応する読出開始アドレスレジスタRSAR0〜RSARn−1からの読出開始アドレスから画素クロックPCLKをカウントすることにより、ビデオメモリ9からビデオ画像の画素データを1つずつ読み出すための読出アドレスを出力する。   The read start address registers RSAR0 to RSARn-1 are read start addresses (first to start reading video images from the video memory 9 when displaying video images on the display device 12 with the corresponding window patterns WP0 to WPn-1, respectively. The address for designating the area storing the pixel data of the video image to be read is stored. The read address counters RAC0 to RACn-1 read pixel data of a video image one by one from the video memory 9 by counting the pixel clock PCLK from the read start addresses from the corresponding read start address registers RSAR0 to RSARn-1. The read address for output is output.

アドレス出力制御回路としてのアドレスセレクタ8は、読出アドレスカウンタRAC0〜RACn−1からの各読出アドレスがそれぞれ入力されるデータ入力端子D0〜Dn−1と、読出ウインドウ判定部6からのウインドウ番号データが入力されるデータセレクト端子DSとを有している。アドレスセレクタ8は、読出アドレスカウンタRAC0〜RACn−1からの各読出アドレスのうち、データセレクト端子DSに入力されるウインドウ番号データに対応する1つの読出アドレスをウインドウ番号データが入力されている期間(前述の選択ウインドウ番号WNを決定したANDゲート出力が“1”を維持している期間)選択して出力端子OUTから出力する。   The address selector 8 serving as an address output control circuit receives data input terminals D0 to Dn-1 to which read addresses from the read address counters RAC0 to RACn-1 are respectively input, and window number data from the read window determination unit 6. It has a data select terminal DS to be input. The address selector 8 is a period in which the window number data is input as one read address corresponding to the window number data input to the data select terminal DS among the read addresses from the read address counters RAC0 to RACn−1 ( The AND gate output for which the selection window number WN has been determined remains “1”) and is output from the output terminal OUT.

画像メモリとしてのビデオメモリ9は、ディスプレイデバイス12の表示画面Sに表示されるビデオ画像データ(画素データ)を有しており、例えば、DRAMによって構成される。このビデオメモリ9は、図示しないCPUによる制御でソフトウエア的にビデオ画像(動画)が書き込まれている。   The video memory 9 as an image memory has video image data (pixel data) displayed on the display screen S of the display device 12, and is constituted by a DRAM, for example. In the video memory 9, a video image (moving image) is written by software under the control of a CPU (not shown).

メモリコントローラ10は、上記のようにビデオ画像の書き込みを制御する一方、アドレスセレクタ8から出力される読出アドレスでビデオメモリ9に格納されているビデオ画像の画素データを1つずつ読み出す制御を行う。また、メモリコントローラ10は、ビデオ画像の読み出しの合間に入力ビデオ画像の書き込みを行う。   The memory controller 10 controls the writing of the video image as described above, and controls the pixel data of the video image stored in the video memory 9 one by one with the read address output from the address selector 8. In addition, the memory controller 10 writes the input video image between reading of the video image.

表示タイミング発生器11は、表示に必要な水平同期信号HSYNCや垂直同期信号VSYNCなどの表示に必要なタイミング信号を発生する。また、表示タイミング信号11は、前述の画素クロックPCLKやフレーム開始信号FRSも発生する。   The display timing generator 11 generates timing signals necessary for display such as a horizontal synchronization signal HSYNC and a vertical synchronization signal VSYNC necessary for display. The display timing signal 11 also generates the pixel clock PCLK and the frame start signal FRS described above.

続いて、上記のように構成される表示装置によるビデオ画像の表示動作について説明する。   Next, a video image display operation by the display device configured as described above will be described.

まず、表示画素位置検出部1は、ディスプレイデバイス12に表示されるべきビデオ画像の画素が、各ウインドウに応じて設定された各矩形領域(R1〜Rn−1)内に存在するか否かを検出する。画素が各矩形領域内に存在するときは各ANDゲートG1〜Gn−1から“1”が出力され、画素が各矩形領域内に存在しないときは各ANDゲートG1〜Gn−1から“0”が出力される。一方、ウインドウパターンメモリ2からは、読出制御部3からの読出アドレスに基づいて各ウインドウパターンデータ(2値データ)が読み出される。ウインドウパターンデータは、ウインドウパターンWPのパターン内部領域を“1”で表し、ウインドウパターンWPの外部領域を“0”で表している。   First, the display pixel position detection unit 1 determines whether or not a pixel of a video image to be displayed on the display device 12 exists in each rectangular area (R1 to Rn-1) set according to each window. To detect. When the pixel exists in each rectangular area, “1” is output from each AND gate G1 to Gn−1. When the pixel does not exist in each rectangular area, “0” is output from each AND gate G1 to Gn−1. Is output. On the other hand, each window pattern data (binary data) is read from the window pattern memory 2 based on the read address from the read control unit 3. In the window pattern data, the pattern internal area of the window pattern WP is represented by “1”, and the external area of the window pattern WP is represented by “0”.

ANDゲート部4では、各ANDゲートAG1〜AGn−1から、表示画素位置検出部1の各出力(検出結果)と、ウインドウパターンメモリ2から読み出された各ウインドウパターンデータとの論理積が出力される。この論理積出力は、表示される画素が各矩形領域内と各ウインドウパターンWPのパターン内部領域とに存在するときのみ“1”となる。   In the AND gate unit 4, each AND gate AG <b> 1 to AGn−1 outputs a logical product of each output (detection result) of the display pixel position detection unit 1 and each window pattern data read from the window pattern memory 2. Is done. This logical product output is “1” only when the displayed pixel exists in each rectangular area and the pattern internal area of each window pattern WP.

続いて、読出ウインドウ番号判定部6では、ウインドウプライオリティレジスタ5に格納されたウインドウ番号データの優先順位の最高位から順に、論理積出力が“1”であるウインドウパターンWPのウインドウ番号を判定する。この結果選択されたウインドウ番号データは、選択ウインドウ番号WNとして出力される。   Subsequently, the readout window number determination unit 6 determines the window number of the window pattern WP whose logical product output is “1” in order from the highest priority of the window number data stored in the window priority register 5. The window number data selected as a result is output as the selected window number WN.

アドレスセレクタ8では、上記の選択ウインドウ番号WNによって、読出アドレス発生部7で発生した各ウインドウパターンWPに対応した読出アドレスから1つの読出アドレスが前述の選択ウインドウ番号WNを決定したANDゲート出力が“1”を維持している期間に選択されて出力される。ビデオメモリ9に書き込まれたビデオ画像のデータは、メモリコントローラ10によって上記の読出アドレスで指定された画素のデータが読み出される。そして、読み出された画素データがディスプレイデバイス12に表示される。ここで、上記の読出アドレスは、上記の期間にアドレスセレクタ8から出力されることにより、選択ウインドウ番号WNのウインドウパターンWPの内部領域に対応する画素をビデオメモリ9から読み出すための読出アドレスとなっている。これにより、ディスプレイデバイス12には、選択されたウインドウパターンWPの内部領域にのみビデオ画像が表示される。これにより、ウインドウプライオリティレジスタ5におけるウインドウ番号の優先順位を適宜設定することにより、所望のウインドウパターンWPを用いてビデオ画像を表示することができる。   In the address selector 8, an AND gate output in which one read address determines the selected window number WN from the read address corresponding to each window pattern WP generated by the read address generating unit 7 based on the selected window number WN is “ It is selected and output during the period in which 1 ″ is maintained. The video image data written in the video memory 9 is read by the memory controller 10 at the pixel designated by the read address. Then, the read pixel data is displayed on the display device 12. Here, the above read address is output from the address selector 8 during the above period, so that a pixel corresponding to the internal area of the window pattern WP of the selected window number WN is read out from the video memory 9. ing. Thereby, the video image is displayed on the display device 12 only in the internal area of the selected window pattern WP. Thus, by appropriately setting the priority order of the window numbers in the window priority register 5, a video image can be displayed using a desired window pattern WP.

例えば、ウインドウ番号n−1が選択された場合、図2(b)に示す矩形領域Rn−1内に存在するビデオ画像が表示される。このとき、ウインドウ番号のn−1のウインドウパターンWPn−1がハート形であれば、図2(d)に示すように、ディスプレイデバイス12に表示される表示画面Sにおいてはハート形の領域にビデオ画像が表示されることになる。   For example, when the window number n-1 is selected, a video image existing in the rectangular area Rn-1 shown in FIG. 2B is displayed. At this time, if the window pattern WPn-1 of the window number n-1 is heart-shaped, the video is displayed in the heart-shaped area on the display screen S displayed on the display device 12, as shown in FIG. An image will be displayed.

このように、本実施の形態の画像表示装置は、ディスプレイデバイス12に表示されるビデオ画像の画素が複数のウインドウに応じて設定された各矩形領域内に存在するかを検出する表示画素位置検出部1と、複数のウインドウパターンデータ(2値データ)を格納するウインドウパターンメモリ2と、表示画素位置検出部1の各出力とウインドウパターンメモリ2から読み出された複数のウインドウパターンデータとの論理積を個々に出力するANDゲート部4と、ウインドウパターンWPの優先順位にしたがって論理積出力が“1”であるウインドウパターンWPのウインドウ番号を判定する読出ウインドウ番号判定部6と、そのウインドウ番号によって読出アドレス発生部7で発生した各ウインドウパターンWPに対応した読出アドレスを選択するアドレスセレクタ8と、この読出アドレスでビデオメモリ9からビデオ画像を読み出すメモリコントローラ10とを備えている。これにより、任意パターン(形状)を有するウインドウにビデオ画像を表示することができる。また、上記の表示処理がハードウエアで実現されるので、同じ処理をソフトウエアで実現することに比べてCPUの負担を大幅に軽減することができる。したがって、その処理を行う回路をチップ化でき、かつ低速CPUでも対応することができることから、画像表示装置のコスト低減を図ることが可能になる。   As described above, the image display apparatus according to the present embodiment detects the display pixel position that detects whether the pixel of the video image displayed on the display device 12 exists in each rectangular area set in accordance with a plurality of windows. Part 1, a window pattern memory 2 for storing a plurality of window pattern data (binary data), each output of the display pixel position detection unit 1, and a plurality of window pattern data read from the window pattern memory 2 An AND gate unit 4 that individually outputs products, a read window number determination unit 6 that determines a window number of a window pattern WP whose logical product output is “1” according to the priority order of the window pattern WP, and the window number Read address corresponding to each window pattern WP generated by the read address generator 7 An address selector 8 to select a, and a memory controller 10 to read out the video image from the video memory 9 by the read address. Thereby, a video image can be displayed on a window having an arbitrary pattern (shape). In addition, since the above display process is realized by hardware, the burden on the CPU can be greatly reduced as compared with the case where the same process is realized by software. Therefore, the circuit for performing the processing can be made into a chip and can be handled by a low-speed CPU, so that the cost of the image display apparatus can be reduced.

また、表示画素位置検出部1で予め設定される矩形領域は、水平始点レジスタHSPR、垂直始点レジスタVSPR、水平終点レジスタHEPRおよび垂直終点レジスタVEPRに格納されるデータを適宜設定することにより、表示する領域を所望に設定することができる。また、読出制御部3における読出開始位置レジスタRSPRに格納するデータを適宜変更することにより、ビデオ画像を表示させるウインドウパターンの一部のみ表示させることができる。例えば、ウインドウパターンWPの読み出しを後半部分の画素から行うように読出開始位置レジスタRSPRに格納するデータを設定すれば、図2(d)に示すハート形の下半分だけ画像表示させることも可能である。   The rectangular area set in advance by the display pixel position detection unit 1 is displayed by appropriately setting data stored in the horizontal start point register HSPR, vertical start point register VSPR, horizontal end point register HEPR, and vertical end point register VEPR. The area can be set as desired. In addition, by appropriately changing the data stored in the read start position register RSPR in the read control unit 3, only a part of the window pattern for displaying the video image can be displayed. For example, if the data stored in the read start position register RSPR is set so that the window pattern WP is read from the pixels in the latter half, it is possible to display only the lower half of the heart shape shown in FIG. is there.

なお、本実施の形態では、ビデオ画像をディスプレイデバイス12に表示する構成について説明したが、静止画像を同様にディスプレイデバイス12に表示する構成も本発明に含まれる。   In the present embodiment, a configuration for displaying a video image on the display device 12 has been described. However, a configuration for displaying a still image on the display device 12 is also included in the present invention.

本発明は上述した実施形態に限定されるものではなく、請求項に示した範囲で種々の変更が可能である。すなわち、請求項に示した範囲で適宜変更した技術的手段を組み合わせて得られる実施形態についても本発明の技術的範囲に含まれる。   The present invention is not limited to the above-described embodiments, and various modifications can be made within the scope shown in the claims. That is, embodiments obtained by combining technical means appropriately modified within the scope of the claims are also included in the technical scope of the present invention.

本発明の画像表示制御装置は、メモリに格納されたビデオ画像を所定のパターンのウインドウに読み出して表示する処理をハードウエアで行うことにより、CPUの負担が軽減されるので、各種のパターンのウインドウによって多様な形態でビデオ画像を表示する用途に好適に利用できる。   The image display control apparatus according to the present invention reduces the burden on the CPU by performing a process of reading and displaying a video image stored in a memory in a window having a predetermined pattern, so that the window of various patterns can be reduced. Therefore, the present invention can be suitably used for displaying video images in various forms.

本発明の実施の一形態を示す画像表示装置の構成を示すブロック図である。It is a block diagram which shows the structure of the image display apparatus which shows one Embodiment of this invention. (a)ないし(c)は上記画像表示装置における表示画素位置検出部によって表示画面において指定された矩形領域を示す図であり、(d)は選択されたウインドウにビデオ画像を表示した状態を示す図である。(A) thru | or (c) is a figure which shows the rectangular area designated on the display screen by the display pixel position detection part in the said image display apparatus, (d) shows the state which displayed the video image on the selected window. FIG. 上記画像表示装置における読出ウインドウ番号判定部の構成を示す論理回路図である。It is a logic circuit diagram showing a configuration of a readout window number determination unit in the image display device.

符号の説明Explanation of symbols

1 表示画素位置検出部(表示画素位置判定回路)
2 ウインドウパターンメモリ(ウインドウ画像メモリ)
3 読出制御部
4 ANDゲート部
5 ウインドウプライオリティレジスタ
6 読出ウインドウ番号判定部(ウインドウ画像判定回路)
7 読出アドレス発生部(読出アドレス発生回路)
8 アドレスセレクタ(アドレス出力制御回路)
9 ビデオメモリ(画像メモリ)
10 メモリコントローラ
11 表示タイミング発生器
12 ディスプレイデバイス(表示装置)
101 画像表示制御装置
AG1〜AGn−1 ANDゲート(論理積回路)
WP0〜WPn−1 ウインドウパターン(ウインドウ画像)
1 Display pixel position detector (display pixel position determination circuit)
2 Window pattern memory (window image memory)
3 Reading control section 4 AND gate section 5 Window priority register 6 Reading window number determination section (window image determination circuit)
7 Read address generator (read address generator)
8 Address selector (address output control circuit)
9 Video memory (image memory)
10 Memory Controller 11 Display Timing Generator 12 Display Device (Display Device)
101 Image display control devices AG1 to AGn-1 AND gate (logical product circuit)
WP0 to WPn-1 Window pattern (window image)

Claims (3)

画像メモリに格納された画像を表示装置に表示するために読み出す画像表示制御装置において、
前記画像メモリから読み出されて表示装置に表示されるべき画像を構成する画素データの表示位置が特定の矩形領域内に存在しているか否かを2値で判定する表示画素位置判定回路と、
予め設定された形状の2値データで表されるウインドウ画像を格納するウインドウ画像メモリと、
前記表示画素位置判定回路の出力と前記ウインドウ画像メモリから読み出されたウインドウ画像のデータとの論理積を出力する論理積回路と、
前記画像メモリから前記画像を読み出すための読み出す画素データの格納領域を指定する読出アドレスを発生する読出アドレス発生回路と、
前記論理積回路の出力が“1”である期間に前記読出アドレスを出力するアドレス出力制御回路とを備えていることを特徴とする画像表示制御装置。
In an image display control device that reads an image stored in an image memory for display on a display device,
A display pixel position determination circuit that binaryly determines whether or not a display position of pixel data constituting an image to be read from the image memory and displayed on a display device exists in a specific rectangular area;
A window image memory for storing a window image represented by binary data having a preset shape;
A logical product circuit that outputs a logical product of the output of the display pixel position determination circuit and the data of the window image read from the window image memory;
A read address generating circuit for generating a read address for designating a storage area of pixel data to be read for reading the image from the image memory;
An image display control apparatus comprising: an address output control circuit that outputs the read address during a period in which the output of the logical product circuit is “1”.
前記ウインドウ画像メモリは、複数のウインドウ画像を格納しており、
前記表示画素位置検出手段は、前記ウインドウ画像のそれぞれに対応して設定された複数の矩形領域について画素データの表示位置が特定の矩形領域内に存在しているか否かを判定し、
前記論理積回路は、各ウインドウ画像について、前記表示画素位置判定回路の出力と前記ウインドウ画像メモリから読み出されたウインドウ画像のデータとの論理積を出力し、
前記読出アドレス発生回路は、各ウインドウ画像について読出アドレスを発生し、
前記画像表示制御装置は、各ウインドウ画像に付与された優先順位にしたがって、各ウインドウ画像についての論理積回路からの各出力が“1”となるウインドウ画像を判定するウインドウ画像判定回路を備え、
前記アドレス出力制御回路は、論理積回路からの出力が“1”となると判定されたウインドウ画像に対応する前記読出アドレスを出力することを特徴とする請求項1に記載の画像表示制御装置。
The window image memory stores a plurality of window images,
The display pixel position detecting means determines whether or not the display position of the pixel data exists in a specific rectangular area for a plurality of rectangular areas set corresponding to each of the window images,
The logical product circuit outputs, for each window image, a logical product of the output of the display pixel position determination circuit and the window image data read from the window image memory,
The read address generation circuit generates a read address for each window image,
The image display control device includes a window image determination circuit that determines a window image in which each output from the AND circuit for each window image is “1” in accordance with the priority order given to each window image,
2. The image display control apparatus according to claim 1, wherein the address output control circuit outputs the read address corresponding to a window image determined to have an output from the AND circuit of “1”.
前記表示装置と、
請求項1または2に記載の画像表示制御装置とを備えていることを特徴とする画像表示装置。
The display device;
An image display device comprising the image display control device according to claim 1.
JP2005157134A 2005-05-30 2005-05-30 Image display controller and image display device Pending JP2006330564A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005157134A JP2006330564A (en) 2005-05-30 2005-05-30 Image display controller and image display device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005157134A JP2006330564A (en) 2005-05-30 2005-05-30 Image display controller and image display device

Publications (1)

Publication Number Publication Date
JP2006330564A true JP2006330564A (en) 2006-12-07

Family

ID=37552284

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005157134A Pending JP2006330564A (en) 2005-05-30 2005-05-30 Image display controller and image display device

Country Status (1)

Country Link
JP (1) JP2006330564A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161992A (en) * 2016-08-30 2016-11-23 厦门视诚科技有限公司 The window abnormity display device of Table top type Video processing control platform and display packing
CN116016789A (en) * 2020-03-03 2023-04-25 精工爱普生株式会社 Image reading apparatus, image reading control method, and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0242490A (en) * 1988-02-11 1990-02-13 Du Pont Pixel Syst Ltd Image processing apparatus and method
JPH0916160A (en) * 1995-06-29 1997-01-17 Seiko Epson Corp Computer system
JP2001014479A (en) * 1999-07-01 2001-01-19 Dainippon Printing Co Ltd Image allocating device
JP2001242975A (en) * 2000-02-28 2001-09-07 Toshiba Tec Corp Method of changing designs of windows and the system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0242490A (en) * 1988-02-11 1990-02-13 Du Pont Pixel Syst Ltd Image processing apparatus and method
JPH0916160A (en) * 1995-06-29 1997-01-17 Seiko Epson Corp Computer system
JP2001014479A (en) * 1999-07-01 2001-01-19 Dainippon Printing Co Ltd Image allocating device
JP2001242975A (en) * 2000-02-28 2001-09-07 Toshiba Tec Corp Method of changing designs of windows and the system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106161992A (en) * 2016-08-30 2016-11-23 厦门视诚科技有限公司 The window abnormity display device of Table top type Video processing control platform and display packing
CN106161992B (en) * 2016-08-30 2023-03-17 厦门视诚科技有限公司 Window special-shaped display device and display method of desktop type video processing console
CN116016789A (en) * 2020-03-03 2023-04-25 精工爱普生株式会社 Image reading apparatus, image reading control method, and storage medium

Similar Documents

Publication Publication Date Title
JPH0269799A (en) Display controller
JP2000214831A (en) Display processor and information processor
CN109783043B (en) Method and device for displaying frequency of display and display
JP2006330564A (en) Image display controller and image display device
US9542721B2 (en) Display control device and data processing system
JP2666739B2 (en) Display control device
JP2000350168A (en) Method and device for image signal processing
JP2018191154A (en) Image processing apparatus, image processing method, and program
US10853919B2 (en) Image processing apparatus, image processing method, and program
JP3729187B2 (en) Image display device
JP4216848B2 (en) Video signal processing circuit, video signal processing circuit control method, and integrated circuit
JP4599945B2 (en) IC tester
WO2010086914A1 (en) Video signal processing device, video signal processing system, and video signal processing method
JPH0773096A (en) Picture processor
JPS6022184A (en) Display control system
JP2013195963A (en) Image processing device, integrated circuit apparatus, and image display system
JP4400866B2 (en) Pattern generator
JPS5835592A (en) Display picture divider
JP2001243446A (en) Device and method for image input processing
JP5892618B2 (en) Drawing display apparatus and drawing display method
KR101035591B1 (en) image resizing device
KR100240866B1 (en) Graphics controller of supporting high resolution
JPH03211675A (en) Cad drawing display system
JPH045688A (en) Self-diagnostic system for display controller
JPS6352178A (en) Emulation avoiding circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071220

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110111

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20110705