JP7350620B2 - Video converter and display device with touch panel - Google Patents

Video converter and display device with touch panel Download PDF

Info

Publication number
JP7350620B2
JP7350620B2 JP2019195301A JP2019195301A JP7350620B2 JP 7350620 B2 JP7350620 B2 JP 7350620B2 JP 2019195301 A JP2019195301 A JP 2019195301A JP 2019195301 A JP2019195301 A JP 2019195301A JP 7350620 B2 JP7350620 B2 JP 7350620B2
Authority
JP
Japan
Prior art keywords
fifo
video data
start trigger
value
video
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.)
Active
Application number
JP2019195301A
Other languages
Japanese (ja)
Other versions
JP2021069087A (en
Inventor
広樹 岡田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alpine Electronics Inc
Original Assignee
Alpine Electronics Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alpine Electronics Inc filed Critical Alpine Electronics Inc
Priority to JP2019195301A priority Critical patent/JP7350620B2/en
Publication of JP2021069087A publication Critical patent/JP2021069087A/en
Application granted granted Critical
Publication of JP7350620B2 publication Critical patent/JP7350620B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Television Signal Processing For Recording (AREA)

Description

本発明は、ビデオのレートを変換するビデオ変換装置に関するものである。 The present invention relates to a video conversion device that converts the rate of video.

ビデオのレートを変換するビデオ変換装置としては、ビデオの画素レートや水平レートを変換して表示パネルに供給することにより、水平同期信号に同期して行われるタッチパネルの検出タイミングを、外乱ノイズの影響を受けないように変更する技術が知られている(たとえば、特許文献1)。 As a video conversion device that converts the video rate, by converting the video pixel rate and horizontal rate and supplying the converted video to the display panel, the detection timing of the touch panel, which is performed in synchronization with the horizontal synchronization signal, is controlled by the influence of disturbance noise. There is a known technique for changing the structure so that it is not affected (for example, Patent Document 1).

また、変換前のビデオのビデオデータをラインバッファやフレームバッファなどのFIFOとして機能するメモリに格納し、メモリからビデオデータを変換後のレートで読み出すことにより、ビデオのレートの変換を行う技術が広く用いられている(たとえば、特許文献2、3)。 In addition, a widely used technology is to convert the video rate by storing the video data of the video before conversion in a memory that functions as a FIFO, such as a line buffer or frame buffer, and reading the video data from the memory at the rate after conversion. (For example, Patent Documents 2 and 3).

特開2015-122125号公報JP2015-122125A 特開2005-250457号公報Japanese Patent Application Publication No. 2005-250457 特開平10-075423号公報Japanese Patent Application Publication No. 10-075423

FIFOとして機能するメモリを用いてビデオのレートの変換を行う場合、メモリへのビデオデータの格納を開始した時点に対するビデオデータの読み出しを開始するタイミングを、メモリのオーバーフローやアンダーフローが生じないように定めた所定量のビデオデータがメモリに蓄積されたタイミングとする必要がある。 When converting the video rate using a memory that functions as a FIFO, the timing of starting reading out video data relative to the point in time when storing video data in the memory starts so that memory overflow or underflow does not occur. It is necessary to set the timing at which a predetermined amount of video data is stored in the memory.

一方で、変換前のビデオを出力する機器であるビデオソース毎に、ビデオの規格レートに対する異なる誤差や、ブランキング期間長の違いなどがあり、ビデオデータの読み出しを開始するタイミングを定める上述したビデオデータの所定量を固定すると、メモリのオーバーフローやアンダーフローが生じてしまうことがある。 On the other hand, each video source, which is a device that outputs the video before conversion, has different errors with respect to the standard video rate, differences in blanking period length, etc., and the above-mentioned video Fixing a predetermined amount of data may result in memory overflow or underflow.

そこで、本発明は、FIFOとして機能するメモリを用いたビデオのレートの変換を、メモリのオーバーフローやアンダーフローが生じないように行うことができるビデオ変換装置を提供することを課題とする。 SUMMARY OF THE INVENTION It is therefore an object of the present invention to provide a video conversion device that can perform video rate conversion using a memory that functions as a FIFO without overflowing or underflowing the memory.

前記課題達成のために、本発明は、ビデオデータのレートを変換するビデオ変換装置に、FIFOと、第1のレートのビデオデータの前記FIFOへの書き込みと、前記FIFOからの第2のレートでのビデオデータの読み出しを行うW/R制御動作を行うFIFO制御手段と、スタートトリガ制御値を設定するスタートトリガ設定手段とを設けたものである。ここで、前記FIFO制御手段は、前記W/R制御動作において、ビデオデータの前記FIFOへの書き込みを開始した後に、前記FIFOに格納されているビデオデータの残量が、前記スタートトリガ制御値に達したならば、前記FIFOからのビデオデータの読み出しを開始する。また、前記スタートトリガ設定手段は、当該ビデオ変換装置の起動時に、前記FIFO制御手段に、k(但し、kは1以上の整数)フレーム分のビデオデータの前記FIFOへの書込と読み出しを行う前記W/R制御動作を行わせる共に、当該W/R制御動作によって前記FIFOに書き込んだビデオデータ量から前記FIFOから読み出したビデオデータ量を減じた値を監視し、当該値の最大値が所定の適正範囲の上限より大きい場合に前記スタートトリガ制御値を減少し、当該値の最小値が前記適正範囲の下限より小さい場合に前記スタートトリガ制御値を増加するスタートトリガ制御値更新動作を、当該値の最大値と最小値が前記適正範囲内となるまで繰り返し行うスタートトリガ制御値調整処理を行う。 To achieve the above object, the present invention provides a video conversion device that converts the rate of video data, including a FIFO, writing video data at a first rate to the FIFO, and writing video data at a second rate from the FIFO. The apparatus is provided with FIFO control means for performing a W/R control operation for reading out video data, and start trigger setting means for setting a start trigger control value. Here, in the W/R control operation, the FIFO control means may cause the remaining amount of video data stored in the FIFO to reach the start trigger control value after starting writing video data to the FIFO. Once the FIFO is reached, reading of video data from the FIFO is started. Further, the start trigger setting means causes the FIFO control means to write and read video data for k frames (where k is an integer of 1 or more) into and from the FIFO when the video conversion apparatus is started. While performing the W/R control operation, a value obtained by subtracting the amount of video data read from the FIFO from the amount of video data written to the FIFO by the W/R control operation is monitored, and the maximum value of the value is determined to be a predetermined value. The start trigger control value update operation is performed such that the start trigger control value is decreased when the value is larger than the upper limit of the appropriate range, and the start trigger control value is increased when the minimum value of the value is smaller than the lower limit of the appropriate range. Start trigger control value adjustment processing is repeated until the maximum and minimum values fall within the appropriate range.

このようなビデオ変換装置によれば、起動時に、FIFOへのビデオデータの書き込みと読み出しを試験的に行って、FIFOに書き込んだビデオデータ量から前記FIFOから読み出したビデオデータ量を減じた値の最大値と最小値として表される前記FIFOのビデオデータの残量の変動範囲が適正範囲内となったかどうかに応じてスタートトリガ制御値を調整する処理を、FIFOのビデオデータの残量の変動範囲が適正範囲内の範囲となるまで繰り返し行うことにより、その時点で入力しているビデオデータに対してFIFOのビデオデータの残量の変動範囲を適正範囲内とすることのできるスタートトリガ制御値を設定するので、入力するビデオデータのレートやブランキング期間長の変動によらずに、FIFOのオーバーフローやアンダーフローの発生を抑止できる。 According to such a video conversion device, upon startup, video data is written to and read from the FIFO on a trial basis, and a value obtained by subtracting the amount of video data read from the FIFO from the amount of video data written to the FIFO is calculated. The process of adjusting the start trigger control value according to whether the variation range of the remaining amount of video data in the FIFO, expressed as the maximum value and minimum value, is within an appropriate range. A start trigger control value that allows the fluctuation range of the remaining amount of FIFO video data to be within the appropriate range for the video data that is being input at that point by repeating this until the range is within the appropriate range. is set, it is possible to suppress the occurrence of FIFO overflow or underflow regardless of changes in the input video data rate or blanking period length.

ここで、このようなビデオ変換装置は、前記適正範囲は、前記FIFOのオーバーフローとアンダーフローとの双方が発生しない範囲としてもよい。
また、以上のビデオ変換装置は、前記スタートトリガ設定手段が、前記スタートトリガ制御値更新動作において、当該値の最大値が所定の適正範囲の上限より大きい場合に、当該最大値と前記適正範囲の上限との差が大きいほど減少量が大きくなるように前記スタートトリガ制御値を減少し、当該値の最小値と前記適正範囲の下限との差が大きいほど増加量が大きくなるように前記スタートトリガ制御値を増加するように構成してもよい。
Here, in such a video conversion device, the appropriate range may be a range in which neither overflow nor underflow of the FIFO occurs.
Further, in the above video conversion device, in the start trigger control value updating operation, when the maximum value of the value is larger than the upper limit of the predetermined appropriate range, the start trigger setting means sets the maximum value and the appropriate range. The start trigger control value is decreased so that the greater the difference from the upper limit, the greater the decrease amount, and the greater the difference between the minimum value of the value and the lower limit of the appropriate range, the greater the increase amount. It may be configured to increase the control value.

また、前記課題達成のために、本発明は、ビデオデータのレートを変換するビデオ変換装置に、FIFOと、第1のレートのビデオデータの前記FIFOへの書き込みと、前記FIFOからの第2のレートでのビデオデータの読み出しを行うW/R制御動作を行うFIFO制御手段と、スタートトリガ制御値を設定するスタートトリガ設定手段とを設けたものである。ここで、前記FIFO制御手段は、前記W/R制御動作において、ビデオデータの前記FIFOへの書き込みを開始した後に、前記FIFOに格納されているビデオデータの残量が、前記スタートトリガ制御値に達したならば、前記FIFOからのビデオデータの読み出しを開始し、前記スタートトリガ設定手段は、当該ビデオ変換装置の起動時に、前記FIFO制御手段に、k(但し、kは1以上の整数)フレーム分のビデオデータの前記FIFOへの書込と読み出しを行う前記W/R制御動作を行わせる共に、当該W/R制御動作によって前記FIFOのオーバーフローが発生したかどうかと前記FIFOのアンダーフローが発生したかどうかを監視し、オーバーフローが発生した場合に前記スタートトリガ制御値を減少し、アンダーフローが発生した場合に前記スタートトリガ制御値を増加するスタートトリガ制御値更新動作を、前記FIFOのオーバーフローとアンダーフローの双方が発生しなくなるまで繰り返し行うスタートトリガ制御値調整処理を行う。 In order to achieve the above object, the present invention provides a video conversion device that converts the rate of video data, including a FIFO, writing of video data of a first rate to the FIFO, and writing of a second rate of video data from the FIFO. This device is provided with FIFO control means for performing a W/R control operation for reading video data at a fixed rate, and start trigger setting means for setting a start trigger control value. Here, in the W/R control operation, the FIFO control means may cause the remaining amount of video data stored in the FIFO to reach the start trigger control value after starting writing video data to the FIFO. If the video data reaches the FIFO, the start trigger setting means starts reading out the video data from the FIFO, and the start trigger setting means sends k (k is an integer of 1 or more) frames to the FIFO control means when starting the video conversion apparatus. The W/R control operation is performed to write and read video data for minutes into and from the FIFO, and the W/R control operation determines whether an overflow of the FIFO has occurred and whether an underflow of the FIFO has occurred. The start trigger control value update operation is performed to monitor whether the FIFO has overflowed, to decrease the start trigger control value when an overflow occurs, and to increase the start trigger control value when an underflow occurs. Start trigger control value adjustment processing is repeated until both underflows no longer occur.

このようなビデオ変換装置によれば、起動時に、FIFOへのビデオデータの書き込みと読み出しを試験的に行って、FIFOのオーバーフローやアンダーフローの発生の有無に応じてスタートトリガ制御値を調整する処理を、FIFOのオーバーフローとアンダーフローの双方が発生しなくなるまで繰り返し、その時点で入力しているビデオデータに対してFIFOのオーバーフローとアンダーフローの双方が発生しないスタートトリガ制御値を設定するので、入力するビデオデータのレートやブランキング期間長の変動によらずに、FIFOのオーバーフローやアンダーフローの発生を抑止できる。 According to such a video conversion device, at startup, video data is written to and read from the FIFO on a trial basis, and the start trigger control value is adjusted depending on whether overflow or underflow of the FIFO occurs. Repeat this until both FIFO overflow and underflow no longer occur, and set a start trigger control value that will prevent both FIFO overflow and underflow from occurring for the video data that is being input at that point. FIFO overflow and underflow can be prevented from occurring regardless of changes in the video data rate or blanking period length.

ここで、以上のビデオ変換装置は、前記スタートトリガ設定手段において、当該ビデオ変換装置の起動時に加え、前記FIFOに書き込むビデオデータの当該ビデオ変換装置への出力元が変化したときにも、前記スタートトリガ制御値調整処理を行うように構成してもよい。 Here, in the above-mentioned video conversion device, the start trigger setting means is configured to start the start trigger not only when the video conversion device starts up but also when the output source of the video data to be written to the FIFO changes to the video conversion device. It may be configured to perform trigger control value adjustment processing.

このようにすることにより、起動後に、ビデオデータの当該ビデオ変換装置への出力元が変化して当該ビデオ変換装置に入力するビデオデータのレートやブランキング期間長が変動した場合にも、FIFOのオーバーフローやアンダーフローの発生を抑止することができる。 By doing this, even if the output source of video data to the video conversion device changes after startup and the rate or blanking period length of the video data input to the video conversion device changes, the FIFO It is possible to suppress the occurrence of overflow or underflow.

また、併せて本発明は、以上のビデオ変換装置と、タッチパネルと、表示装置と、前記タッチパネルの被検出体の接触もしくは接近の有無を走査する動作であるスキャン動作を制御するタッチパネル制御部とを備えたタッチパネル付表示装置を提供する。ただし、このようなタッチパネル付表示装置において、前記ビデオ変換装置は、前記FIFOに書き込むビデオデータである入力ビデオデータのフレーム周期と等しい時間長の周期であって、1周期が、垂直ブランキング期間と、入力ビデオデータのライン数と同数の、入力ビデオデータの水平周期よりも時間長の短い表示更新用水平期間と、前後の期間が前記表示更新用水平期間である表示更新中断期間とよりなる周期であるフレーム更新周期の各々の、各表示更新用水平期間において、前記FIFOから1ライン分のビデオデータを読み出して表示装置に出力することにより、表示装置に表示映像の各ラインの表示を順次更新させ、表示更新中断期間において、前記FIFOからのビデオデータの読み出しと表示装置への出力を中断して表示装置に表示映像の更新を中断させる。また、前記タッチパネル制御部は、少なくとも、各フレーム更新周期の前記垂直ブランキング期間と前記表示更新中断期間に前記タッチパネルにスキャン動作を行わせると共に、前記表示更新用水平期間中の前記表示装置に表示映像のラインの表示を更新させている期間には前記タッチパネルのスキャン動作を停止する。 In addition, the present invention also provides the above-mentioned video conversion device, a touch panel, a display device, and a touch panel control unit that controls a scanning operation that is an operation of scanning the touch panel for the presence or absence of contact or approach of a detected object. A display device with a touch panel is provided. However, in such a display device with a touch panel, the video conversion device has a cycle having a time length equal to the frame cycle of input video data that is video data to be written into the FIFO, and one cycle is a vertical blanking period. , a period consisting of a display update horizontal period whose time length is shorter than the horizontal period of the input video data, the same number as the number of lines of input video data, and a display update interruption period whose preceding and succeeding periods are the display update horizontal periods. In each display update horizontal period of each frame update period, one line of video data is read from the FIFO and output to the display device, thereby sequentially updating the display of each line of the displayed video on the display device. Then, during the display update interruption period, the reading of video data from the FIFO and the output to the display device are interrupted to cause the display device to interrupt updating of the displayed image. Further, the touch panel control unit causes the touch panel to perform a scanning operation at least during the vertical blanking period and the display update interruption period of each frame update period, and causes the display device to perform a scan operation during the horizontal period for display update. The scanning operation of the touch panel is stopped during the period when the display of the video line is being updated.

以上のように、本発明によれば、FIFOとして機能するメモリを用いたビデオのレートの変換を、メモリのオーバーフローやアンダーフローが生じないように行うことができる。 As described above, according to the present invention, video rate conversion using a memory functioning as a FIFO can be performed without overflowing or underflowing the memory.

本発明の実施形態に係るタッチパネル付表示装置の構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of a display device with a touch panel according to an embodiment of the present invention. 本発明の実施形態に係るタイミングジェネレータの構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of a timing generator according to an embodiment of the present invention. 本発明の実施形態に係るFIFOのライト/リードのタイミングを示す図である。FIG. 2 is a diagram showing write/read timing of FIFO according to an embodiment of the present invention. 本発明の実施形態に係るスタートシーケンス制御処理を示すフローチャートである。It is a flowchart which shows start sequence control processing concerning an embodiment of the present invention.

以下、本発明の実施形態について説明する。
図1に、本実施形態に係るタッチパネル付表示装置1の構成を示す。
図示するように、タッチパネル付表示装置1は、LCD11(液晶ディスプレイ11)、静電容量式のタッチパネル12、LCD11の表示動作を制御するLCDコントローラ13、タッチパネル12の座標検出動作を制御するタッチパネルコントローラ14、インタフェース15(IF15)、タッチパネル付表示装置1の全体の制御を行うコントローラ16を備えている。
Embodiments of the present invention will be described below.
FIG. 1 shows the configuration of a display device 1 with a touch panel according to this embodiment.
As illustrated, the display device 1 with a touch panel includes an LCD 11 (liquid crystal display 11), a capacitive touch panel 12, an LCD controller 13 that controls the display operation of the LCD 11, and a touch panel controller 14 that controls the coordinate detection operation of the touch panel 12. , an interface 15 (IF15), and a controller 16 that controls the entire display device 1 with a touch panel.

タッチパネル付表示装置1のインタフェース15は、タッチパネル付表示装置1を表示と座標入力に用いる装置であるホスト装置2と接続している。
そして、インタフェース15は、ホスト装置2から入力する映像データVをLCDコントローラ13に送る。
タッチパネルコントローラ14は、タッチパネル12のスキャン動作を行わせて、ユーザの指がタッチもしくは接近したタッチパネル12上の座標を検出し、検出した座標をコントローラ16に送る。タッチパネル12のスキャン動作とは、水平方向または垂直方向に並べた駆動線を順次駆動しながら、駆動した駆動線上の容量変化の分布を、駆動線と垂直方向に並べた検出線で検出する動作を、全駆動線について行う動作であり、タッチパネルコントローラ14は、スキャン動作で得られたタッチパネル12上の容量変化の2次元分布より、ユーザの指がタッチもしくは接近したタッチパネル12上の座標を検出する。
An interface 15 of the display device 1 with a touch panel connects the display device 1 with a touch panel to a host device 2 that is a device used for display and coordinate input.
The interface 15 then sends the video data V input from the host device 2 to the LCD controller 13.
The touch panel controller 14 causes the touch panel 12 to perform a scanning operation, detects the coordinates on the touch panel 12 touched or approached by the user's finger, and sends the detected coordinates to the controller 16 . The scanning operation of the touch panel 12 is an operation of sequentially driving drive lines arranged horizontally or vertically and detecting the distribution of capacitance changes on the driven drive lines using detection lines arranged perpendicularly to the drive lines. , is an operation performed for all drive lines, and the touch panel controller 14 detects the coordinates on the touch panel 12 that the user's finger touches or approaches from the two-dimensional distribution of capacitance changes on the touch panel 12 obtained by the scanning operation.

そして、コントローラ16はタッチパネルコントローラ14から受け取った座標のデータDをインタフェース15を介してホスト装置2に送信する。
LCDコントローラ13は、LCD11の表示動作に必要な同期タイミング信号を生成すると共に、当該同期タイミング信号に同期して、映像データVに含まれるビデオデータのレートを変換したビデオデータをLCD11に供給することにより、LCD11に表示動作を行わせる。
Then, the controller 16 transmits the coordinate data D received from the touch panel controller 14 to the host device 2 via the interface 15.
The LCD controller 13 generates a synchronization timing signal necessary for the display operation of the LCD 11, and in synchronization with the synchronization timing signal, supplies the LCD 11 with video data in which the rate of video data included in the video data V is converted. This causes the LCD 11 to perform a display operation.

LCDコントローラ13は、ビデオIF131、映像処理部132、FIFO133、タイミングジェネレータ134を備えている。
ビデオIF131は、映像データVから、垂直同期タイミング等の各種同期タイミングを抽出し、タイミングジェネレータ134に送ると共に、映像データVに含まれるビデオデータを映像処理部132に送る。
The LCD controller 13 includes a video IF 131, a video processing section 132, a FIFO 133, and a timing generator 134.
The video IF 131 extracts various synchronization timings such as vertical synchronization timing from the video data V and sends them to the timing generator 134, and also sends the video data included in the video data V to the video processing unit 132.

映像処理部132は、入力するビデオデータに、輝度や色調の調整処理などの予めコントローラ16から設定された映像処理を施す。
タイミングジェネレータ134は、映像処理部132が映像処理を施したビデオデータのFIFO133への書込を制御する。
ここで、FIFO133には、Lライン(Lはたとえば60)分のビデオデータを格納することができる。
また、タイミングジェネレータ134は、上述したLCD11の表示動作に必要な同期タイミング信号を生成すると共に、同期タイミング信号に同期したFIFO133からのビデオデータの読み出しを制御する。
The video processing unit 132 subjects the input video data to video processing set in advance by the controller 16, such as brightness and color tone adjustment processing.
The timing generator 134 controls writing of video data subjected to video processing by the video processing unit 132 to the FIFO 133 .
Here, the FIFO 133 can store video data for L lines (L is 60, for example).
Further, the timing generator 134 generates a synchronization timing signal necessary for the display operation of the LCD 11 described above, and controls reading of video data from the FIFO 133 in synchronization with the synchronization timing signal.

そして、タイミングジェネレータ134が生成した同期タイミング信号と、FIFO133から読み出されたビデオデータがLCD11に供給される。
また、タイミングジェネレータ134は、スキャン制御信号VDEを生成し、タッチパネルコントローラ14に出力する。
そして、タッチパネルコントローラ14は、スキャン制御信号VDEが、スキャン実行期間を示している期間に、タッチパネル12にスキャン動作を行わせる。
次に、図2に、タイミングジェネレータ134の構成を示す。
図示するように、タイミングジェネレータ134は、FIFO133の書込/読み出しを制御するW/R制御部1341、W/R制御部1341によってFIFO133に書き込まれたビデオデータ量からW/R制御部1341によってFIFO133から読み出されたビデオデータ量を減じた値であるW/R差分を検出するW/R差分検出部1342、スタートトリガ検出部1343、タイミング信号生成部1344、スタートシーケンス制御部1345を備えている。
なお、W/R差分は、W/R制御部1341がアドレスを指定してビデオデータの書き込みや読み出しを行うものである場合には、書込アドレスと読み出しアドレスの差分を監視することにより求めることができる。また、W/R制御部1341がアドレスを指定せずに書込タイミングや読み出しタイミングをのみを制御することにより、ビデオデータの書き込みや読み出しを行うものである場合には、W/R差分は、W/R制御部1341の書込回数と読み出し回数の差を監視することにより求めることができる。
Then, the synchronization timing signal generated by the timing generator 134 and the video data read from the FIFO 133 are supplied to the LCD 11.
Additionally, the timing generator 134 generates a scan control signal VDE and outputs it to the touch panel controller 14.
Then, the touch panel controller 14 causes the touch panel 12 to perform a scan operation during a period in which the scan control signal VDE indicates a scan execution period.
Next, FIG. 2 shows the configuration of the timing generator 134.
As shown in the figure, the timing generator 134 controls the W/R control section 1341 that controls writing/reading of the FIFO 133, and the amount of video data written to the FIFO 133 by the W/R control section 1341. It includes a W/R difference detection section 1342 that detects a W/R difference that is a value obtained by subtracting the amount of video data read from , a start trigger detection section 1343, a timing signal generation section 1344, and a start sequence control section 1345. .
Note that if the W/R control unit 1341 specifies an address to write or read video data, the W/R difference can be obtained by monitoring the difference between the write address and the read address. Can be done. Furthermore, if the W/R control unit 1341 writes and reads video data by controlling only the write timing and read timing without specifying an address, the W/R difference is This can be determined by monitoring the difference between the number of writes and the number of reads by the W/R control unit 1341.

スタートトリガ検出部1343には、スタートシーケンス制御部1345によってトリガ制御値STが設定されており、W/R制御部1341によるFIFO133へのビデオデータの書き込み動作開始後に、最初にW/R差分検出部1342が検出したW/R差分がトリガ制御値STと一致したときに、スタートトリガ検出信号を生成し、W/R制御部1341とタイミング信号生成部1344に出力する。 A trigger control value ST is set in the start trigger detection unit 1343 by the start sequence control unit 1345, and after the W/R control unit 1341 starts writing video data to the FIFO 133, the W/R difference detection unit When the W/R difference detected by 1342 matches the trigger control value ST, a start trigger detection signal is generated and output to the W/R control section 1341 and timing signal generation section 1344.

そして、W/R制御部1341は、スタートトリガ検出信号に従ったタイミングで、ビデオIF131から入力する同期タイミングSYNCに同期した、FIFO133からのビデオデータの読み出し動作を開始する。 Then, the W/R control unit 1341 starts reading video data from the FIFO 133 in synchronization with the synchronization timing SYNC input from the video IF 131 at a timing according to the start trigger detection signal.

また、タイミング信号生成部1344は、スタートトリガ検出信号に従ったタイミングで、ビデオIF131から入力する同期タイミングSYNCに同期した、スキャン制御信号VDEとLCD11に出力する同期タイミング信号LCD_SYNCの生成動作を開始する。 Further, the timing signal generation unit 1344 starts generating the scan control signal VDE and the synchronization timing signal LCD_SYNC to be output to the LCD 11 in synchronization with the synchronization timing SYNC input from the video IF 131 at a timing according to the start trigger detection signal. .

ここで、W/R制御部1341によって、ビデオIF131から入力する同期タイミングSYNCに同期して映像処理部132から出力されるビデオデータWDが、当該出力のタイミングでFIFO133に書き込まれる。図3aは、ビデオIF131から入力する垂直同期タイミングSYNC(V)と、FIFO133に書き込まれるビデオデータWDの関係を示しており、垂直同期タイミングSYNC(V)が示す各フレーム期間Fにおいて、フレーム期間F中の垂直ブランキング期間を除く期間である非垂直ブランキング期間T中に、画像フレームを形成するnライン分のビデオデータがFIFO133に書き込まれる。 Here, the W/R control unit 1341 writes the video data WD output from the video processing unit 132 in synchronization with the synchronization timing SYNC input from the video IF 131 to the FIFO 133 at the timing of the output. FIG. 3a shows the relationship between the vertical synchronization timing SYNC(V) input from the video IF 131 and the video data WD written to the FIFO 133. In each frame period F indicated by the vertical synchronization timing SYNC(V), the frame period F During the non-vertical blanking period T, which is a period excluding the vertical blanking period, n lines of video data forming an image frame are written to the FIFO 133.

次に、図3bは、タイミング信号生成部1344が生成するスキャン制御信号VDEと、LCD11に出力する垂直同期タイミング信号LCD_SYNC(V)と、W/R制御部1341によってFIFO133から読み出されるビデオデータRDの関係を示している。 Next, FIG. 3b shows the scan control signal VDE generated by the timing signal generation section 1344, the vertical synchronization timing signal LCD_SYNC (V) outputted to the LCD 11, and the video data RD read out from the FIFO 133 by the W/R control section 1341. It shows a relationship.

LCD11に出力する垂直同期タイミングLCD_SYNC(V)が示す、FIFO133から読み出されるビデオデータRDのフレーム期間Fの時間長や非垂直ブランキング期間Tの時間長は、FIFO133に書き込まれるビデオデータWDのフレーム期間Fや非垂直ブランキング期間Tの時間長と等しい。 The time length of the frame period F of the video data RD read from the FIFO 133 and the time length of the non-vertical blanking period T, which are indicated by the vertical synchronization timing LCD_SYNC(V) output to the LCD 11, are the frame period of the video data WD written to the FIFO 133. F and the time length of the non-vertical blanking period T.

一方、本実施形態では、非垂直ブランキング期間T中に、FIFO133からビデオデータRDを読み出しを行わない表示停止ライン期間TXを設けており、非垂直ブランキング期間T中の期間TXを除く期間T1、T2において、1フレーム分のビデオデータのFIFO133からの読み出しを行う。そして、このために、W/R制御部1341は、1フレーム分のビデオデータWDの書き込みを行う期間Tの時間長の、1フレーム分のビデオデータRDの読み出しを行う期間T1と期間T2の時間長の和に対する比の分、期間T1、T2におけるビデオデータRDの水平レートや画素レートを、FIFO133に書き込まれるビデオデータWDの水平レートや画素レートよりも大きくして、FIFO133からのビデオデータRDの読み出しを行う。 On the other hand, in this embodiment, during the non-vertical blanking period T, a display stop line period TX is provided during which video data RD is not read from the FIFO 133, and a period T1 excluding the period TX during the non-vertical blanking period T is provided. , T2, one frame of video data is read from the FIFO 133. For this purpose, the W/R control unit 1341 has a period T for writing one frame of video data WD, a period T1 for reading one frame of video data RD, and a period T2 for reading one frame of video data RD. The horizontal rate and pixel rate of the video data RD in periods T1 and T2 are made larger than the horizontal rate and pixel rate of the video data WD written to the FIFO 133 by the ratio to the sum of lengths, and the video data RD from the FIFO 133 is Perform reading.

また、タイミング信号生成部1344は、垂直同期タイミングLCD_SYNC(V)が示す垂直ブランキング期間と、非垂直ブランキング期間T中の表示停止ライン期間TXとに、スキャン実行期間を表すスキャン制御信号VDEをタッチパネルコントローラ14に出力する。そして、上述のように、タッチパネルコントローラ14はスキャン制御信号VDがスキャン実行期間を表している期間中、タッチパネル12のスキャン動作を実行する。 The timing signal generation unit 1344 also generates a scan control signal VDE representing a scan execution period in the vertical blanking period indicated by the vertical synchronization timing LCD_SYNC(V) and the display stop line period TX in the non-vertical blanking period T. Output to the touch panel controller 14. Then, as described above, the touch panel controller 14 executes the scan operation of the touch panel 12 during the period in which the scan control signal VD represents the scan execution period.

したがって、本実施形態では、フレームレートを維持してフレームレートの低化による映像品質の劣化を排除しつつ、非垂直ブランキング期間T中に表示停止ライン期間TXを設けることによって、タッチパネル12の検出動作とLCD11の表示動作との相互間のノイズの影響を受けない期間を拡張して、タッチパネル12のスキャン動作の実行期間を拡大することができる。 Therefore, in this embodiment, the touch panel 12 can be detected by providing the display stop line period TX during the non-vertical blanking period T while maintaining the frame rate and eliminating deterioration of video quality due to a decrease in the frame rate. By extending the period during which the operation and the display operation of the LCD 11 are not affected by noise, it is possible to extend the execution period of the scan operation of the touch panel 12.

さて、上述のように、W/R制御部1341は、スタートトリガ検出信号に従ったタイミングで、FIFO133からのビデオデータRDの読み出し動作を開始するので、図3aに示す各フレームのビデオデータWDのFIFO133への書込タイミングに対する、図3bに示す各フレームのビデオデータRDのFIFO133からの読み出しの遅延時間Tdは、スタートトリガ検出部1343に設定されるトリガ制御値STによって制御される。 Now, as described above, since the W/R control unit 1341 starts reading out the video data RD from the FIFO 133 at the timing according to the start trigger detection signal, the W/R control unit 1341 starts reading out the video data RD of each frame shown in FIG. The delay time Td of reading out the video data RD of each frame from the FIFO 133 shown in FIG.

以下、このトリガ制御値STを設定するために、スタートシーケンス制御部1345が行うスタートシーケンス制御処理について説明する。
スタートシーケンス制御部1345は、パワーオン時などのタッチパネル付表示装置1の起動時にスタートシーケンス制御処理を実行する。また、スタートシーケンス制御部1345は、タッチパネル付表示装置1にビデオデータDを出力するホスト装置2が変更されたときにも、スタートシーケンス制御処理を実行する。
The start sequence control process performed by the start sequence control unit 1345 in order to set the trigger control value ST will be described below.
The start sequence control unit 1345 executes a start sequence control process when the touch panel display device 1 is started up, such as when the power is turned on. The start sequence control unit 1345 also executes the start sequence control process when the host device 2 that outputs the video data D to the touch panel display device 1 is changed.

図4に、このスタートシーケンス制御処理の手順を示す。
図示するように、このスタートシーケンス制御処理では、まず、予め定めたディフォルト値をトリガ制御値STとしてスタートトリガ検出部1343に設定する(ステップ402)。
FIG. 4 shows the procedure of this start sequence control process.
As shown in the figure, in this start sequence control process, first, a predetermined default value is set as the trigger control value ST in the start trigger detection section 1343 (step 402).

ここで、このディフォルト値は、たとえば、FIFO133の容量の半分の値とする。すなわち、FIFO133がLライン分のビデオデータを格納できるものである場合には、L/2ライン分のビデオデータのデータ量をディフォルト値とする。 Here, this default value is, for example, half the capacity of the FIFO 133. That is, if the FIFO 133 can store video data for L lines, the amount of video data for L/2 lines is set as the default value.

または、このディフォルト値は、ホスト装置2から入力する映像データVのビデオデータのレートやブランキング期間長の変動によらずに、FIFO133のオーバーフローやアンダーフローが発生しないことが最も期待できる値とする。 Alternatively, this default value is the value that is most expected to prevent overflow or underflow of the FIFO 133, regardless of fluctuations in the video data rate or blanking period length of the video data V input from the host device 2. .

そして、次に、FIFO133とW/R制御部1341をリセットする(ステップ404)。
また、W/R差分検出部1342で検出しているW/R差分の最大値と最小値を監視するW/R差分監視を開始すると共に(ステップ406)、W/R制御部1341に、FIFO133への書込と読み出しの動作であるW/R動作の実行を開始させる(ステップ408)。
Then, the FIFO 133 and the W/R control unit 1341 are reset (step 404).
In addition, W/R difference monitoring is started to monitor the maximum and minimum values of the W/R difference detected by the W/R difference detection unit 1342 (step 406), and the W/R difference detection unit 1341 has the FIFO 133 A W/R operation, which is a write and read operation, is started (step 408).

W/R動作の実行を開始したW/R制御部1341は、図3a、bに示した動作を行う。ただし、FIFO133へのビデオデータWDの書込は、フレームの先頭のビデオデータから行う。また、W/R制御部1341は、kフレーム分のビデオデータのFIFO133からの読み出しを完了したら、その旨をスタートシーケンス制御部1345に通知する。ここで、kは1以上の任意の整数である。 The W/R control unit 1341 that has started executing the W/R operation performs the operations shown in FIGS. 3a and 3b. However, the video data WD is written into the FIFO 133 starting from the video data at the beginning of the frame. Furthermore, when the W/R control unit 1341 completes reading k frames of video data from the FIFO 133, the W/R control unit 1341 notifies the start sequence control unit 1345 of this fact. Here, k is any integer greater than or equal to 1.

また、スタートシーケンス制御処理は、kフレーム分のビデオデータのFIFO133からの読み出しの完了を通知されたならば(ステップ410)、ステップ406で開始した、W/R差分監視を終了する(ステップ412)。 Furthermore, when the start sequence control process is notified of the completion of reading k frames of video data from the FIFO 133 (step 410), it ends the W/R difference monitoring started in step 406 (step 412). .

そして、W/R差分監視によって取得したkフレーム間のW/R差分の最大値が、書込ビデオデータ量が読み出しビデオデータ量に対して過大であるR不足であることを表していれば(ステップ414)、スタートトリガ検出部1343に設定されているトリガ制御値STをmラインのビデオデータ量分減少した上で(ステップ416)、ステップ404からの処理に戻る。 Then, if the maximum value of the W/R difference between k frames obtained by W/R difference monitoring indicates that the amount of written video data is excessive relative to the amount of read video data, that is, R is insufficient ( Step 414), the trigger control value ST set in the start trigger detection unit 1343 is decreased by the amount of video data of m lines (step 416), and the process returns to step 404.

ここで、ステップ414では、W/R差分の最大値が、FIFO133のオーバーフローが発生したことを表しているときに、R不足であると判定する。ただし、ステップ414では、W/R差分の最大値が、FIFO133のオーバーフローが発生したことを表しているか、W/R差分の最大値が表す、FIFO133の残ビデオデータ量の最大値が、予め設定したビデオデータ量の適正範囲の最大値より多いときに、R不足であると判定するようにしてもよい。 Here, in step 414, when the maximum value of the W/R difference indicates that an overflow of the FIFO 133 has occurred, it is determined that R is insufficient. However, in step 414, the maximum value of the W/R difference indicates that an overflow of the FIFO 133 has occurred, or the maximum value of the remaining video data amount of the FIFO 133, which is represented by the maximum value of the W/R difference, is set in advance. It may be determined that R is insufficient when the video data amount exceeds the maximum value of the appropriate range.

また、ステップ416において、たとえば、mは1としてもよい。
または、mを、W/R差分の最大値が表すFIFO133への書込ビデオデータ量から読み出しビデオデータ量を減じた値の最大値が大きくなるほど大きくなる値としてもよい。このようにすることにより、R不足を解消する値へのトリガ制御値STの収束を早めることができる。
Further, in step 416, m may be set to 1, for example.
Alternatively, m may be a value that increases as the maximum value of the value obtained by subtracting the read video data amount from the write video data amount to the FIFO 133, which is represented by the maximum value of the W/R difference, increases. By doing so, it is possible to hasten the convergence of the trigger control value ST to a value that eliminates the R shortage.

一方、取得したW/R差分の最小値が、FIFO133への書込ビデオデータ量に対してFIFO133からの読み出しビデオデータ量が過大であるW不足であることを表していれば(ステップ418)、スタートトリガ検出部1343に設定されているトリガ制御値STをmラインのビデオデータ量分増加した上で(ステップ420)、ステップ404からの処理に戻る。 On the other hand, if the minimum value of the obtained W/R difference indicates that the amount of video data read from the FIFO 133 is excessive compared to the amount of video data written to the FIFO 133, that is, W is insufficient (step 418), After increasing the trigger control value ST set in the start trigger detection unit 1343 by the amount of video data of m lines (step 420), the process returns to step 404.

ここで、ステップ418では、W/R差分の最小値が、FIFO133のアンダーフローが発生したことを表しているときに、W不足であると判定する。
ただし、ステップ418では、W/R差分の最小値が、FIFO133のアンダーフローが発生したことを表しているか、W/R差分の最小値が表す、FIFO133の残ビデオデータ量の最小値が、予め設定したビデオデータ量の適正範囲の最小値より小さいときに、W不足であると判定するようにしてもよい。
Here, in step 418, when the minimum value of the W/R difference indicates that an underflow has occurred in the FIFO 133, it is determined that there is a shortage of W.
However, in step 418, the minimum value of the W/R difference indicates that an underflow of the FIFO 133 has occurred, or the minimum value of the amount of remaining video data in the FIFO 133, which is represented by the minimum value of the W/R difference, is determined in advance. It may be determined that W is insufficient when the amount of video data is smaller than the minimum value of the set appropriate range.

また、ステップ420においても、mは1としてもよい。
または、mを、W/R差分の最小値が表すFIFO133への書込ビデオデータ量から読み出しビデオデータ量を減じた値の最小値が小さくなるほど大きくなる値としてもよい。このようにすることにより、W不足を解消する値へのトリガ制御値STの収束を早めることができる。
Also, in step 420, m may be set to 1.
Alternatively, m may be a value that increases as the minimum value of the value obtained by subtracting the read video data amount from the write video data amount to the FIFO 133, which is represented by the minimum value of the W/R difference, becomes smaller. By doing so, it is possible to hasten the convergence of the trigger control value ST to a value that eliminates the W shortage.

そして、W/R差分がR不足でも、W不足でもないことを表していれば(ステップ414、418)、一旦、FIFO133とW/R制御部1341をリセットした上で(ステップ422)、スタートトリガ検出部1343に設定されているトリガ制御値STを最後に設定した値に維持した状態のままで、W/R制御部1341にW/R動作の実行を開始させ(ステップ424)、スタートシーケンス制御処理を終了する。 If the W/R difference indicates that neither R nor W is insufficient (steps 414, 418), the FIFO 133 and W/R control unit 1341 are reset (step 422), and the start trigger is activated. While maintaining the trigger control value ST set in the detection unit 1343 at the last set value, the W/R control unit 1341 starts executing the W/R operation (step 424), and the start sequence control is performed. Finish the process.

以上、本発明の実施形態について説明した。
このように本実施形態によれば、起動時や、タッチパネル付表示装置1にビデオデータDを出力するホスト装置2が変更されたときに、FIFO133に書き込んだビデオデータ量から前記FIFO133から読み出したビデオデータ量を減じた値の最大値と最小値として表される前記FIFO133のビデオデータの残量の変動範囲が適正範囲内の範囲となるまで、または、FIFO133のオーバーフローやアンダーフローが生じなくなるまで、試験的に、FIFO133へのビデオデータの書き込みと読み出しを行いながらトリガ制御値STを調整する処理を繰り返し行うことにより、その時点で入力しているビデオデータに対してFIFO133のビデオデータの残量の変動範囲を適正範囲内とできる、または、その時点で入力しているビデオデータに対してオーバーフローやアンダーフローの発生を排除できるFIFO133スタートトリガ制御値STを設定するので、入力するビデオデータのレートやブランキング期間長の変動によらずに、FIFO133のオバーフローやアンダーフローの発生を抑止できる。
The embodiments of the present invention have been described above.
As described above, according to the present embodiment, at startup or when the host device 2 that outputs the video data D to the display device 1 with a touch panel is changed, the video read from the FIFO 133 is determined based on the amount of video data written to the FIFO 133. Until the fluctuation range of the remaining amount of video data in the FIFO 133, expressed as the maximum and minimum values of the data amount subtracted values, falls within the appropriate range, or until the FIFO 133 no longer overflows or underflows. As a trial, by repeating the process of adjusting the trigger control value ST while writing and reading video data to and from the FIFO 133, the remaining amount of video data in the FIFO 133 can be adjusted based on the video data that is being input at that time. The FIFO 133 start trigger control value ST is set so that the fluctuation range can be kept within the appropriate range, or the occurrence of overflow or underflow can be eliminated for the video data that is being input at that time. The occurrence of overflow or underflow in the FIFO 133 can be suppressed regardless of changes in the blanking period length.

1…タッチパネル付表示装置、2…ホスト装置、11…LCD、12…タッチパネル、13…LCDコントローラ、14…タッチパネルコントローラ、15…インタフェース、16…コントローラ、131…ビデオIF、132…映像処理部、133…FIFO、134…タイミングジェネレータ、1343…スタートトリガ検出部、1344…タイミング信号生成部、1345…スタートシーケンス制御部、1341…W/R制御部、1342…W/R差分検出部。 DESCRIPTION OF SYMBOLS 1... Display device with touch panel, 2... Host device, 11... LCD, 12... Touch panel, 13... LCD controller, 14... Touch panel controller, 15... Interface, 16... Controller, 131... Video IF, 132... Video processing unit, 133 ...FIFO, 134...timing generator, 1343...start trigger detection section, 1344...timing signal generation section, 1345...start sequence control section, 1341...W/R control section, 1342...W/R difference detection section.

Claims (6)

ビデオデータのレートを変換するビデオ変換装置であって、
FIFOと、
第1のレートのビデオデータの前記FIFOへの書き込みと、前記FIFOからの第2のレートでのビデオデータの読み出しを行うW/R制御動作を行うFIFO制御手段と、
スタートトリガ制御値を設定するスタートトリガ設定手段とを有し、
前記FIFO制御手段は、前記W/R制御動作において、ビデオデータの前記FIFOへの書き込みを開始した後に、前記FIFOに格納されているビデオデータの残量が、前記スタートトリガ制御値に達したならば、前記FIFOからのビデオデータの読み出しを開始し、
前記スタートトリガ設定手段は、当該ビデオ変換装置の起動時に、前記FIFO制御手段に、k(但し、kは1以上の整数)フレーム分のビデオデータの前記FIFOへの書込と読み出しを行う前記W/R制御動作を行わせる共に、当該W/R制御動作によって前記FIFOに書き込んだビデオデータ量から前記FIFOから読み出したビデオデータ量を減じた値を監視し、当該値の最大値が所定の適正範囲の上限より大きい場合に前記スタートトリガ制御値を減少し、当該値の最小値が前記適正範囲の下限より小さい場合に前記スタートトリガ制御値を増加するスタートトリガ制御値更新動作を、当該値の最大値と最小値が前記適正範囲内となるまで繰り返し行うスタートトリガ制御値調整処理を行うことを特徴とするビデオ変換装置。
A video conversion device that converts the rate of video data,
FIFO and
FIFO control means for performing a W/R control operation of writing video data at a first rate into the FIFO and reading video data at a second rate from the FIFO;
and a start trigger setting means for setting a start trigger control value,
In the W/R control operation, the FIFO control means is configured to control, in the W/R control operation, if the remaining amount of video data stored in the FIFO reaches the start trigger control value after starting writing of video data to the FIFO. For example, start reading video data from the FIFO,
The start trigger setting means causes the FIFO control means to write and read video data for k (k is an integer of 1 or more) frames into and from the FIFO when the video conversion apparatus is started. /R control operation is performed, and the value obtained by subtracting the amount of video data read from the FIFO from the amount of video data written to the FIFO by the W/R control operation is monitored, and the maximum value of the value is determined to be a predetermined appropriate value. A start trigger control value update operation is performed in which the start trigger control value is decreased when the value is larger than the upper limit of the range, and the start trigger control value is increased when the minimum value of the value is smaller than the lower limit of the appropriate range. A video conversion device characterized in that a start trigger control value adjustment process is performed repeatedly until a maximum value and a minimum value fall within the appropriate range.
請求項1記載のビデオ変換装置であって、
前記適正範囲は、前記FIFOのオーバーフローとアンダーフローとの双方が発生しない範囲であることを特徴とするビデオ変換装置。
The video conversion device according to claim 1,
The video conversion apparatus is characterized in that the appropriate range is a range in which neither overflow nor underflow of the FIFO occurs.
請求項1または2記載のビデオ変換装置であって、
前記スタートトリガ設定手段は、前記スタートトリガ制御値更新動作において、当該値の最大値が所定の適正範囲の上限より大きい場合に、当該最大値と前記適正範囲の上限との差が大きいほど減少量が大きくなるように前記スタートトリガ制御値を減少し、当該値の最小値と前記適正範囲の下限との差が大きいほど増加量が大きくなるように前記スタートトリガ制御値を増加することを特徴とするビデオ変換装置。
The video conversion device according to claim 1 or 2,
In the start trigger control value updating operation, when the maximum value of the start trigger control value is larger than the upper limit of a predetermined appropriate range, the start trigger setting means increases the amount of decrease as the difference between the maximum value and the upper limit of the appropriate range increases. The start trigger control value is decreased so that the start trigger control value becomes larger, and the start trigger control value is increased so that the larger the difference between the minimum value of the value and the lower limit of the appropriate range, the larger the increase amount becomes. video conversion device.
ビデオデータのレートを変換するビデオ変換装置であって、
FIFOと、
第1のレートのビデオデータの前記FIFOへの書き込みと、前記FIFOからの第2のレートでのビデオデータの読み出しを行うW/R制御動作を行うFIFO制御手段と、
スタートトリガ制御値を設定するスタートトリガ設定手段とを有し、
前記FIFO制御手段は、前記W/R制御動作において、ビデオデータの前記FIFOへの書き込みを開始した後に、前記FIFOに格納されているビデオデータの残量が、前記スタートトリガ制御値に達したならば、前記FIFOからのビデオデータの読み出しを開始し、
前記スタートトリガ設定手段は、当該ビデオ変換装置の起動時に、前記FIFO制御手段に、k(但し、kは1以上の整数)フレーム分のビデオデータの前記FIFOへの書込と読み出しを行う前記W/R制御動作を行わせる共に、当該W/R制御動作によって前記FIFOのオーバーフローが発生したかどうかと前記FIFOのアンダーフローが発生したかどうかを監視し、オーバーフローが発生した場合に前記スタートトリガ制御値を減少し、アンダーフローが発生した場合に前記スタートトリガ制御値を増加するスタートトリガ制御値更新動作を、前記FIFOのオーバーフローとアンダーフローの双方が発生しなくなるまで繰り返し行うスタートトリガ制御値調整処理を行うことを特徴とするビデオ変換装置。
A video conversion device that converts the rate of video data,
FIFO and
FIFO control means for performing a W/R control operation of writing video data at a first rate into the FIFO and reading video data at a second rate from the FIFO;
and a start trigger setting means for setting a start trigger control value,
In the W/R control operation, the FIFO control means is configured to control, in the W/R control operation, if the remaining amount of video data stored in the FIFO reaches the start trigger control value after starting writing of video data to the FIFO. For example, start reading video data from the FIFO,
The start trigger setting means causes the FIFO control means to write and read video data for k (k is an integer of 1 or more) frames into and from the FIFO when the video conversion apparatus is started. In addition to performing the /R control operation, it also monitors whether an overflow of the FIFO occurs and an underflow of the FIFO due to the W/R control operation, and when an overflow occurs, the start trigger control is performed. A start trigger control value adjustment process that repeatedly performs a start trigger control value update operation of decreasing a value and increasing the start trigger control value when an underflow occurs until both overflow and underflow of the FIFO no longer occur. A video conversion device characterized by performing the following.
請求項1、2、3または4記載のビデオ変換装置であって、
前記スタートトリガ設定手段は、当該ビデオ変換装置の起動時に加え、前記FIFOに書き込むビデオデータの当該ビデオ変換装置への出力元が変化したときにも、前記スタートトリガ制御値調整処理を行うことを特徴とするビデオ変換装置。
The video conversion device according to claim 1, 2, 3 or 4,
The start trigger setting means performs the start trigger control value adjustment process not only when the video conversion device is started, but also when the source of output of video data written to the FIFO to the video conversion device changes. video conversion device.
請求項1、2、3、4または5記載のビデオ変換装置と、タッチパネルと、表示装置と、前記タッチパネルの被検出体の接触もしくは接近の有無を走査する動作であるスキャン動作を制御するタッチパネル制御部とを備えたタッチパネル付表示装置であって、
前記ビデオ変換装置は、前記FIFOに書き込むビデオデータである入力ビデオデータのフレーム周期と等しい時間長の周期であって、1周期が、垂直ブランキング期間と、入力ビデオデータのライン数と同数の、入力ビデオデータの水平周期よりも時間長の短い表示更新用水平期間と、前後の期間が前記表示更新用水平期間である表示更新中断期間とよりなる周期であるフレーム更新周期の各々の、各表示更新用水平期間において、前記FIFOから1ライン分のビデオデータを読み出して表示装置に出力することにより、表示装置に表示映像の各ラインの表示を順次更新させ、表示更新中断期間において、前記FIFOからのビデオデータの読み出しと表示装置への出力を中断して表示装置に表示映像の更新を中断させ、
前記タッチパネル制御部は、少なくとも、各フレーム更新周期の前記垂直ブランキング期間と前記表示更新中断期間に前記タッチパネルにスキャン動作を行わせると共に、前記表示更新用水平期間中の前記表示装置に表示映像のラインの表示を更新させている期間には前記タッチパネルのスキャン動作を停止することを特徴とするタッチパネル付表示装置。
6. The video conversion device according to claim 1, 2, 3, 4, or 5, a touch panel, a display device, and a touch panel control for controlling a scanning operation that is an operation of scanning the touch panel for presence or absence of contact or approach of a detected object. A display device with a touch panel, comprising:
The video conversion device has a cycle having a time length equal to a frame cycle of input video data that is video data to be written into the FIFO, and one cycle has a vertical blanking period and the same number of lines as the input video data. Each display has a frame update cycle, which is a cycle consisting of a display update horizontal period whose time length is shorter than the horizontal cycle of input video data, and a display update interruption period whose preceding and following periods are the display update horizontal period. During the update horizontal period, one line of video data is read from the FIFO and output to the display device, thereby causing the display device to sequentially update the display of each line of the displayed video, and during the display update interruption period, the video data is read from the FIFO and output to the display device. interrupts the reading of the video data and the output to the display device, causing the display device to interrupt updating the displayed image,
The touch panel control unit causes the touch panel to perform a scanning operation at least during the vertical blanking period and the display update interruption period of each frame update period, and controls the display device to perform a display image during the horizontal display update period. A display device with a touch panel, characterized in that a scanning operation of the touch panel is stopped during a period when a line display is being updated.
JP2019195301A 2019-10-28 2019-10-28 Video converter and display device with touch panel Active JP7350620B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019195301A JP7350620B2 (en) 2019-10-28 2019-10-28 Video converter and display device with touch panel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019195301A JP7350620B2 (en) 2019-10-28 2019-10-28 Video converter and display device with touch panel

Publications (2)

Publication Number Publication Date
JP2021069087A JP2021069087A (en) 2021-04-30
JP7350620B2 true JP7350620B2 (en) 2023-09-26

Family

ID=75638663

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019195301A Active JP7350620B2 (en) 2019-10-28 2019-10-28 Video converter and display device with touch panel

Country Status (1)

Country Link
JP (1) JP7350620B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114205486B (en) * 2022-01-27 2024-05-17 卡莱特云科技股份有限公司 Video file real-time scaling method based on Scaler and video processor

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003536285A (en) 1999-03-31 2003-12-02 テラロジック・インコーポレーテッド Method and apparatus for down conversion of video data
JP2007157249A (en) 2005-12-06 2007-06-21 Matsushita Electric Ind Co Ltd Disk recording and reproducing apparatus
US20080198153A1 (en) 2007-02-15 2008-08-21 Parade Technologies, Ltd. Method and Apparatus of Generating or Reconstructing Display Streams in Video Interface Systems
JP2009509203A (en) 2005-09-20 2009-03-05 エヌエックスピー ビー ヴィ Apparatus and method for storing, resampling, or reformatting frame rate of video stream
JP2014529835A (en) 2011-09-07 2014-11-13 シナプティクス インコーポレイテッド Capacitive detection during hidden update time
JP2015141555A (en) 2014-01-29 2015-08-03 シナプティクス・ディスプレイ・デバイス合同会社 Detection circuit and semiconductor integrated circuit including the same
JP2017198892A (en) 2016-04-28 2017-11-02 シナプティクス・ジャパン合同会社 Drive control device and electronic apparatus
JP2018045283A (en) 2016-09-12 2018-03-22 株式会社ジャパンディスプレイ Touch detection function-attached display device and control method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003536285A (en) 1999-03-31 2003-12-02 テラロジック・インコーポレーテッド Method and apparatus for down conversion of video data
JP2009509203A (en) 2005-09-20 2009-03-05 エヌエックスピー ビー ヴィ Apparatus and method for storing, resampling, or reformatting frame rate of video stream
JP2007157249A (en) 2005-12-06 2007-06-21 Matsushita Electric Ind Co Ltd Disk recording and reproducing apparatus
US20080198153A1 (en) 2007-02-15 2008-08-21 Parade Technologies, Ltd. Method and Apparatus of Generating or Reconstructing Display Streams in Video Interface Systems
JP2014529835A (en) 2011-09-07 2014-11-13 シナプティクス インコーポレイテッド Capacitive detection during hidden update time
JP2015141555A (en) 2014-01-29 2015-08-03 シナプティクス・ディスプレイ・デバイス合同会社 Detection circuit and semiconductor integrated circuit including the same
JP2017198892A (en) 2016-04-28 2017-11-02 シナプティクス・ジャパン合同会社 Drive control device and electronic apparatus
JP2018045283A (en) 2016-09-12 2018-03-22 株式会社ジャパンディスプレイ Touch detection function-attached display device and control method

Also Published As

Publication number Publication date
JP2021069087A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
KR100497725B1 (en) Apparatus and method for processing signal for display
US10318052B2 (en) Display control and touch detection device, semiconductor integrated circuit
KR101622207B1 (en) Display drive ic, display drive system and display drive method
TWI449030B (en) Automatic mode detection circuit
JPH05216617A (en) Display driving device and information processing system
JP7350620B2 (en) Video converter and display device with touch panel
JP6612021B2 (en) Display driving device and display device
KR100363174B1 (en) Apparatus for controlling image display and method thereof
JP2011061323A (en) Synchronization signal control circuit and display device
CN113805831B (en) Image data transmission method, device, terminal and medium
CN116635929A (en) Performing asynchronous memory clock changes on a multi-display system
TWI527008B (en) Display apparatus and control method thereof
US9159287B2 (en) Image display apparatus and image display method
US11132957B2 (en) Method and apparatus for performing display control of an electronic device with aid of dynamic refresh-rate adjustment
KR102315890B1 (en) Display device and electronic including the same
JP2001083928A (en) Display device and method for converting frame rate
JP5625266B2 (en) Video processing device and video display device
TW201432514A (en) Method and apparatus for touch detection
US10212316B2 (en) Video processing apparatus
JP2019200341A (en) Display controller and display control method
JP6362897B2 (en) Image display device and image display control method
JP2021033966A (en) Touch panel-fitted display device and control method for touch panel-fitted display device
US11688031B2 (en) Resynchronization of a display system and GPU after panel self refresh
JP3515441B2 (en) Display device
TWI838183B (en) Timing control method and related timing control circuit

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20220921

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230831

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20230912

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230913

R150 Certificate of patent or registration of utility model

Ref document number: 7350620

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150