JP2007178850A - Image output driver ic - Google Patents
Image output driver ic Download PDFInfo
- Publication number
- JP2007178850A JP2007178850A JP2005379090A JP2005379090A JP2007178850A JP 2007178850 A JP2007178850 A JP 2007178850A JP 2005379090 A JP2005379090 A JP 2005379090A JP 2005379090 A JP2005379090 A JP 2005379090A JP 2007178850 A JP2007178850 A JP 2007178850A
- Authority
- JP
- Japan
- Prior art keywords
- image data
- image
- line
- compressed image
- bits
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Landscapes
- Compression Or Coding Systems Of Tv Signals (AREA)
- Compression Of Band Width Or Redundancy In Fax (AREA)
- Controls And Circuits For Display Device (AREA)
- Storing Facsimile Image Data (AREA)
Abstract
Description
本発明は、液晶、プラズマ、有機ELディスプレス等の表示装置やプリンタ等に用いられる画像出力ドライバICに関する。 The present invention relates to an image output driver IC used for a display device such as liquid crystal, plasma, and organic EL display, a printer, and the like.
例えば、携帯電話機の液晶表示装置を例に挙げれば、近年、高精細な表示を行なうために、ディスプレス上の画素数が増大し、一画素あたりの階調数も増大している。現在主流のQVGA(240×320ドット)から、VGA(480×640ドット)またはWVGA(480×800ドット)への移行が予定され、QVGAの時には一画素あたりの階調値が16ビットまたは18ビットであったのが、VGAまたはWVGAでは18ビットまたは24ビットへと高階調化される。 For example, taking a liquid crystal display device of a mobile phone as an example, the number of pixels on a display has increased in recent years and the number of gradations per pixel has also increased in order to perform high-definition display. The current mainstream QVGA (240 x 320 dots) will be shifted to VGA (480 x 640 dots) or WVGA (480 x 800 dots). In QVGA, the gradation value per pixel is 16 bits or 18 bits. However, with VGA or WVGA, the gradation is increased to 18 bits or 24 bits.
画素数と階調値の増大は、フレームメモリ容量の増大とに深刻に影響する。 The increase in the number of pixels and the gradation value seriously affects the increase in the frame memory capacity.
フレームメモリの増大は、RAM内蔵ドライバICを根本的に考え直さないと、解決策は見当たらない。例えばQVGA→VGAの変更でメモリ面積は4倍に増大し、RAM内蔵ドライバICの面積も著しく増大する。その場合、ガラス基板上にCOG(Chip On Grass)実装されるRAM内蔵ドライバICは、ドライバIC搭載のためだけに液晶パネルのガラス基板面積を増大させ、製造基板から分断される時のパネル取り枚数が減少する。そればかりか、ガラス基板の短辺を長手軸とする長方形状の従来型ドライバICの形状は維持できなくなる。もはやCOG実装は無理であり、全面的にCOF(Chip On Film)に変更しなければならない。 The increase in the frame memory cannot be found unless the driver IC with built-in RAM is fundamentally reconsidered. For example, by changing from QVGA to VGA, the memory area increases four times, and the area of the driver IC with a built-in RAM also increases remarkably. In that case, a driver IC with a built-in RAM mounted on a glass substrate by COG (Chip On Grass) increases the glass substrate area of the liquid crystal panel only for mounting the driver IC, and the number of panels to be taken when divided from the manufacturing substrate. Decrease. In addition, the shape of the rectangular conventional driver IC whose long axis is the short side of the glass substrate cannot be maintained. COG mounting is no longer possible, and it must be completely changed to COF (Chip On Film).
上述の問題は、液晶表示装置に限らず、画像を受信または生成する画像出力源となる集積回路と、表示部またはプリンタを駆動する集積回路との間で、高精細な画像データを転送する場合に、共通している。
本発明の目的は、画像供給側ICから転送を受ける画像データ量が増大しても、フレームメモリ容量を縮小して小型化できる画像出力ドライバICを提供することにある。 An object of the present invention is to provide an image output driver IC capable of reducing the frame memory capacity and reducing the size even if the amount of image data received from the image supply side IC increases.
本発明の一態様は、画像供給側ICからデータバスを介して転送される非圧縮画象データを符号化する画像符号化装置と、前記画像符号化装置からの圧縮画像データを格納する圧縮画像データメモリと、前記圧縮画像データメモリからの前記圧縮画像データを復号する画像復号装置と、前記画像復号装置にて復号された画像データに基づいて、画像を出力駆動するドライバ部と、を有することを特徴とする。 One aspect of the present invention is an image encoding device that encodes uncompressed image data transferred from an image supply side IC via a data bus, and a compressed image that stores compressed image data from the image encoding device. A data memory; an image decoding device that decodes the compressed image data from the compressed image data memory; and a driver unit that outputs and drives an image based on the image data decoded by the image decoding device. It is characterized by.
高精細な画像出力が求められると、画像データ量は増大してしまう。本発明では、画像出力ドライバICが画像符号化装置を搭載しており、圧縮画像データを記憶するので、圧縮画像データメモリの記憶容量は小さくて済み、画像出力ドライバICの小型化を維持できる。 When high-definition image output is required, the amount of image data increases. In the present invention, the image output driver IC includes the image encoding device and stores the compressed image data. Therefore, the storage capacity of the compressed image data memory can be small, and the downsizing of the image output driver IC can be maintained.
本発明の一態様では、前記画像符号化装置は、一フレーム分の各フレームの前記画像データを規定圧縮率以上の実圧縮率にて符号化することを保障することができる。あるいはこの画像符号化装置は、一ライン分の各ラインの前記画像データを規定圧縮率以上の実圧縮率にて符号化することを保障することができる。ここで、例えば規定圧縮率を50%としたとき、規定圧縮率以上の実圧縮率とは、50%、40%、30%などの圧縮率をいい、50%を越えない高圧縮となる実際の圧縮率を意味する(%を示す数値が小さいほど圧縮率は高く、数値が大きいほど圧縮率は低い関係にある)。 In one aspect of the present invention, the image encoding device can ensure that the image data of each frame for one frame is encoded at an actual compression rate equal to or higher than a specified compression rate. Alternatively, this image encoding device can ensure that the image data of each line for one line is encoded at an actual compression rate equal to or higher than a specified compression rate. Here, for example, when the specified compression rate is 50%, the actual compression rate equal to or higher than the specified compression rate means a compression rate such as 50%, 40%, 30%, etc., and the actual high compression does not exceed 50%. (The smaller the numerical value indicating%, the higher the compression rate, and the larger the numerical value, the lower the compression rate).
本発明の一態様では、非圧縮の画像データのデータ量をMビットとし、前記規定圧縮率をα(α<1)とし、前記圧縮画像データメモリの有効記憶容量をSビットとしたとき、M>S>M×αが成立する。よって、圧縮画像データメモリの有効記憶容量を下限に近づけることで、高精細な画像出力が求められても、メモリサイズ、ひいては画像出力ドライバICのサイズを大型化することがない。 In one aspect of the present invention, when the amount of uncompressed image data is M bits, the specified compression rate is α (α <1), and the effective storage capacity of the compressed image data memory is S bits, M > S> M × α is established. Therefore, even if high-definition image output is required by bringing the effective storage capacity of the compressed image data memory close to the lower limit, the memory size and thus the size of the image output driver IC are not increased.
本発明の一態様では、前記画像符号化装置の前段に、一画素についての第1の色信号を、前記第1の色信号のビット数よりも少ないビット数の第2の色信号に変換する色信号変換回路をさらに有し、前記色信号変換回路で達成される圧縮率をk(k<1)とし、非圧縮画像データのデータ量をMビットとし、前記規定圧縮率をα(α<1)とし、前記圧縮画像データメモリの有効記憶容量をSビットとしたとき、M>S>M×α×kが成立する。 In one aspect of the present invention, the first color signal for one pixel is converted into a second color signal having a smaller number of bits than the number of bits of the first color signal before the image encoding device. A color signal conversion circuit, wherein the compression rate achieved by the color signal conversion circuit is k (k <1), the amount of uncompressed image data is M bits, and the specified compression rate is α (α < 1) and when the effective storage capacity of the compressed image data memory is S bits, M> S> M × α × k holds.
このように、画像符号化装置による圧縮と色信号変換による圧縮とを組み合わせることで、高圧縮率を実現でき、メモリサイズ、ひいては画像出力ドライバICのサイズを小型に維持できる。 In this way, by combining the compression by the image encoding device and the compression by the color signal conversion, a high compression rate can be realized, and the memory size, and hence the size of the image output driver IC can be kept small.
本発明の一態様では、画像符号化装置が一ライン毎に規定圧縮率以上の圧縮率を保障する場合には、非圧縮画像データの1ライン分のデータ量をMLビットとし、前記規定圧縮率をα(α<1)とし、前記圧縮画像データメモリの一ライン上の有効記憶容量をSLビットとしたとき、ML>SL>ML×αが成立する。 In one aspect of the present invention, when the image encoding device guarantees a compression rate equal to or higher than the specified compression rate for each line, the data amount for one line of uncompressed image data is set to ML bits, and the specified compression rate is set. Is α (α <1), and the effective storage capacity on one line of the compressed image data memory is SL bits, ML> SL> ML × α holds.
このように、圧縮画像データメモリの一ライン方向でダウンサイジングでき、レイアウトの自由度が高まる。 In this way, downsizing can be performed in one line direction of the compressed image data memory, and the degree of layout freedom is increased.
画像符号化装置が一ライン毎に規定圧縮率以上の圧縮率を保障しかつ、画像符号化装置の前段に、一画素についての第1の色信号を、前記第1の色信号のビット数よりも少ないビット数の第2の色信号に変換する色信号変換回路をさらに有する場合には、前記色信号変換回路で達成される圧縮率をk(k<1)とし、非圧縮の画像データの1ライン分のデータ量をMLビットとし、前記規定圧縮率をα(α<1)とし、前記圧縮画像データメモリの一ライン上の有効記憶容量をSビットとしたとき、ML>SL>ML×α×kが成立する。 The image encoding device guarantees a compression rate equal to or higher than the specified compression rate for each line, and the first color signal for one pixel is determined from the number of bits of the first color signal before the image encoding device. When the color signal conversion circuit further converts the second color signal having a smaller number of bits, the compression rate achieved by the color signal conversion circuit is k (k <1), and the uncompressed image data When the data amount for one line is ML bits, the specified compression rate is α (α <1), and the effective storage capacity on one line of the compressed image data memory is S bits, ML> SL> ML × α × k is established.
このように、圧縮画像データメモリの一ライン方向についても、画像符号化装置による圧縮と色信号変換による圧縮とを組み合わせることで、ダウンサイジングの効果が大きい。 As described above, the downsizing effect is great also in one line direction of the compressed image data memory by combining the compression by the image encoding device and the compression by the color signal conversion.
また、圧縮画像データメモリの一ライン方向についてダウンサイジングされても、前記圧縮画像データメモリは、各ラインの圧縮画像データの先頭データを、前記画像圧縮メモリの各ラインの同一アドレス上の記憶素子に記憶させることができる。 Even if the compressed image data memory is downsized in one line direction, the compressed image data memory stores the head data of the compressed image data of each line in a storage element at the same address of each line of the image compressed memory. It can be memorized.
本発明の一態様では、前記画像出力ドライバICは、垂直同期信号に同期した書き込み開始信号を前記画像供給側ICに送出し、前記画像符号化装置は、前記書き込み開始信号に基づいて前記画像供給側ICから転送された前記非圧縮画像データを圧縮して、前記圧縮画像データを前記圧縮画像データメモリに転送する。前記書き込み開始信号に基づいて前記圧縮画像データメモリに書き込み開始されるタイミングが、前記圧縮画像データメモリに対する読み出し開始タイミングよりも先行していると、リードアドレスをライトアドレスが追い抜く事態を防止できる。 In one aspect of the present invention, the image output driver IC sends a write start signal synchronized with a vertical synchronization signal to the image supply side IC, and the image encoding device supplies the image supply based on the write start signal. The uncompressed image data transferred from the side IC is compressed, and the compressed image data is transferred to the compressed image data memory. If the timing at which writing starts to the compressed image data memory based on the writing start signal precedes the read start timing for the compressed image data memory, it is possible to prevent the write address from overtaking the read address.
本発明の一態様では、前記画像出力ドライバICは、前記圧縮画像データメモリの前段に設けられた第1のラインバッファと、前記圧縮画像データメモリと前記画像復号装置の間に設けられた第2のラインバッファとをさらに有することができる。この場合、前記第1のラインバッファから一ライン分の前記圧縮画像データが前記圧縮画像データメモリに同時に書き込まれ、前記圧縮画像データメモリより一ライン分の圧縮画像データが同時に出力されて前記第2のラインバッファに格納される。これに代えて、前記第2の集積回路は、前記圧縮画像データメモリと前記画像復号装置の間に、第1,第2のリードラインバッファをさらに有することができる。この場合、前記圧縮画像データメモリより読み出される一ライン分の前記圧縮画像データは、前記第1,第2のリードラインバッファに交互に格納され、交互に読み出される。 In one aspect of the present invention, the image output driver IC includes a first line buffer provided in a preceding stage of the compressed image data memory, and a second line provided between the compressed image data memory and the image decoding device. A line buffer. In this case, the compressed image data for one line is simultaneously written into the compressed image data memory from the first line buffer, and the compressed image data for one line is simultaneously output from the compressed image data memory, so that the second Stored in the line buffer. Alternatively, the second integrated circuit may further include first and second read line buffers between the compressed image data memory and the image decoding device. In this case, the compressed image data for one line read from the compressed image data memory is alternately stored in the first and second read line buffers and is alternately read.
こうすると、圧縮画像データメモリへの書き込み開始時期を制限しなくても、リードアドレスをライトアドレスが追い抜く事態は生じない。 In this way, even if the start time of writing to the compressed image data memory is not limited, a situation in which the write address overtakes the read address does not occur.
本発明の一態様では、前記画像復号装置にて復号エラーが生じた時に、前記画像復号装置より前記画像符号化装置に割込み信号が供給され、前記割込み信号を受信した前記画像符号化装置は、前記復号エラーが生じたラインのみ、もしくは前記復号エラーが生じたラインを含む1フレームすべての前記圧縮画像データを再転送することができる。 In one aspect of the present invention, when a decoding error occurs in the image decoding device, an interrupt signal is supplied from the image decoding device to the image encoding device, and the image encoding device that has received the interrupt signal is Only the line where the decoding error has occurred or all the compressed image data of one frame including the line where the decoding error has occurred can be retransmitted.
非圧縮画像データとは異なり、圧縮画像データの復号エラーは、後続の圧縮画像データの復号に関係するため、影響が大きい。上述の制御により、復号エラーに伴う影響を最小限に止めることができる。 Unlike uncompressed image data, the decoding error of compressed image data has a great influence because it relates to decoding of subsequent compressed image data. With the above-described control, it is possible to minimize the influence accompanying the decoding error.
以下、本発明に係るドライバICの実施形態について、図面を参照して具体的に説明する。 Embodiments of a driver IC according to the present invention will be specifically described below with reference to the drawings.
1.画像出力ドライバIC
1.1.液晶表示装置の概要
図1は、本発明を携帯電話機に適用した実施形態を示している。図1において、ベースバンドエンジン(BBE:広義には画像供給側IC)1は携帯電話機の基本機能を司るLSI(Large Scale Integrated Circuit)であり、インターネット経由で受信した動画や静止画、カメラで撮影した自然画、携帯電話機の操作上で必要なメニュー画面、アイコンなどの文字・図形情報等の各種画像データの出力源である。
1. Image output driver IC
1.1. Overview of Liquid Crystal Display Device FIG. 1 shows an embodiment in which the present invention is applied to a mobile phone. In FIG. 1, a baseband engine (BBE: image supply side IC in a broad sense) 1 is an LSI (Large Scale Integrated Circuit) that controls the basic functions of a mobile phone, and is taken by a video, still image, or camera received via the Internet. This is an output source of various image data such as a natural image, a menu screen necessary for operation of a mobile phone, and character / graphic information such as icons.
図1において、携帯電話機のディスプレイとして液晶パネル2が設けられている。この液晶パネル2は、2枚のガラス基板3,4間に液晶を封入したものである。大きなガラス基板3は例えばアクティブマトリクス基板であり、各画素にアクティブ素子であるTFT(Thin Film Transistor)が設けられている。各画素のTFTのドレイン端子に透明画素電極が、ソース端子にデータ線であるソース線が、ゲート端子に走査線であるゲート線がそれぞれ接続されている。このガラス基板3と対向するガラス基板4には透明電極が設けられている。ガラス基板3上には、ガラス基板3の短辺に沿って、液晶パネル2を駆動する液晶ドライバIC(広義には画像出力ドライバIC))5がCOG実装されている。ドライバIC5は、液晶パネル2のゲート線に走査信号を、ソース線にデータ信号を供給して液晶パネル2を表示駆動する。
In FIG. 1, a
ベースバンドエンジン1とドライバIC5とは、複数本のバスライン6で接続され、画像データ、水平・垂直同期信号、クロック信号、各種コマンドが転送される。
The
本実施形態では、図2に示すように、ドライバIC5に、画像符号化装置(エンコーダともいう)10と、圧縮画像データメモリ20と、画像復号装置(デコーダともいう)30と、エンコードされた画像データに基づいて液晶パネル2を駆動するドライバ部40とが搭載されている。
In the present embodiment, as shown in FIG. 2, the
ベースバンドエンジン1からの非圧縮画像データを圧縮するエンコーダ10は、一フレーム分の各フレームの画像データを規定圧縮率(例えば50%)以上の圧縮率で圧縮して符号化することが保障されており、その詳細については後述する。このエンコーダ10は、一ライン分の各ラインの画像データを規定圧縮率以上の圧縮率で圧縮して符号化することも保障できる。
The
ドライバIC5に搭載された圧縮画像データメモリ20は、エンコーダ10にて符号化された圧縮画像データを格納するものであり、デコーダ30は、圧縮画像データメモリ20からの圧縮画像データを復号するものであり、その詳細についても後述する。
The compressed
1.2.圧縮画像データメモリ
本実施形態では、ドライバIC5に設けた圧縮画像データメモリ20は、ドライバICのエンコーダ10にて圧縮された後の画像データを記憶するので、記憶容量を小さくできる。そして、高精細な表示態様となっても、圧縮画像データメモリ20の小型化が図れるので、ドライバICのサイズを従来のRAM内蔵ドライバ程度の大きさに維持することができる。このため、図1に示すように、ガラス基板2の短辺に沿って長方形状のドライバIC5をCOG実装することができる。
1.2. Compressed image data memory In this embodiment, the compressed
1.2.1.圧縮画像データメモリの有効記憶容量
図3に示すように、エンコーダ10でのエンコード前の非圧縮の画像データのデータ量をMビットとし、エンコーダ10に設定された規定圧縮率をα(α<1)とし、圧縮画像データメモリ20の有効記憶容量(冗長メモリは含まない)をSビットとしたとき、M>S>M×αが成立する。つまり、エンコーダ10は、規定圧縮率α以上の圧縮率で非圧縮画像データを圧縮することが保障されており、規定圧縮率αを下回ることがない。よって、圧縮画像データメモリ20の記憶容量Sとして、上記不等号式の下限に近いメモリ容量として設計すれば圧縮画像データメモリ20の小サイズ化が達成でき、ドライバIC50も小サイズに維持でき、COG実装が可能となる。
1.2.1. Effective storage capacity of compressed image data memory
As shown in FIG. 3, the data amount of uncompressed image data before encoding in the
1.2.2.色信号変換による高圧縮時の圧縮画像データメモリの有効記憶容量
エンコーダ10は、後述する通り、非圧縮画像データがRGB信号であっても、YUV信号であっても、その色信号をそのまま圧縮することができる。液晶表示パネル2はRGB色フィルターを有するので、最終的にはRGB信号に変換するとしても、圧縮・伸張の段階では色信号の区別はとはない。
1.2.2. The effective storage capacity of the compressed image data memory at the time of high compression by color signal conversion As will be described later, the
ただし、非圧縮画像データをさらに高圧縮するために、図4または図5に示すように色信号を変換しても良い。 However, in order to further compress the uncompressed image data, the color signal may be converted as shown in FIG. 4 or FIG.
図4は、ドライバIC5のエンコーダ10の前段に、RGB−YUV変換回路(広義には色信号変換回路)50を設けている。また、ドライバIC5のデコーダ30の後段に、YUV−RGB変換回路51を設けている。ここで、RGB−YUV変換回路50は、一画素についてのRGB信号を、そのRGB信号のビット数よりも少ないビット数のYUV信号に変換するものである。
In FIG. 4, an RGB-YUV conversion circuit (color signal conversion circuit in a broad sense) 50 is provided before the
一例として、RGB−YUV変換回路50が、RGBの各サブビクセルを8ビットとするRGB888(24ビット)を、YUV422(16ビット)に変換すると、その変換により67%(100×16/24)のデータ圧縮が達成される。従って、エンコーダ10での規定圧縮率または実圧縮率をα(α<1)とし、色信号変換による圧縮率をk(k<1)とすると、α×kのトータル圧縮率を達成できる。
As an example, when the RGB-
他の例として、RGB−YUV変換回路50が、RGB888(24ビット)を、YUV420(12ビット)に変換すると、その変換によりk=50%(100×12/24)のデータ圧縮が達成され、トータル圧縮率α×k=0.25と高圧縮率となる。
As another example, when the RGB-
さらに他の例として、RGB−YUV変換回路40が、RGB565(16ビット)を、YUV420(12ビット)に変換すると、その変換によりk=75%(100×12/16)のデータ圧縮が達成され、トータル圧縮率α×k=0.385と高圧縮率となる。
As another example, when the RGB-
図5では、ドライバIC5のエンコーダ10の前段に、UVサンプリング変換回路(広義には色信号変換回路)52を設けている。また、ドライバIC5のデコーダ30の後段に、UV補間回路53を設けている。この場合も、UVサンプリング変換回路52は、一画素についてのYUV信号を、そのYUV信号のビット数よりも少ないビット数のYUV信号に変換するものである。
In FIG. 5, a UV sampling conversion circuit (color signal conversion circuit in a broad sense) 52 is provided before the
一例として、UVサンプリング変換回路52が、YUV444(24ビット)を、YUV422(16ビット)に変換すると、その変換により67%(100×16/24)のデータ圧縮が達成され、トータル圧縮率α×k=0.335と高圧縮率となる。
As an example, when the UV
他の例として、UVサンプリング変換回路52が、YUV444(24ビット)を、YUV420(12ビット)に変換すると、その変換によりk=50%(100×12/24)のデータ圧縮が達成され、トータル圧縮率α×k=0.25と高圧縮率となる。
As another example, when the UV
さらに他の例として、UVサンプリング変換回路52が、YUV422(16ビット)を、YUV420(12ビット)に変換すると、その変換によりk=75%(100×12/16)のデータ圧縮が達成され、トータル圧縮率α×k=0.385と高圧縮率となる。
As yet another example, when the UV
図4または図5のように色信号変換回路50,52を有する場合は、図6に示すように、その色信号変換回路50,52で達成される圧縮率をk(k<1)とし、非圧縮画像データのデータ量をMビットとし、規定圧縮率をα(α<1)とし、圧縮画像データメモリの有効記憶容量をSビットとしたとき、M>S>M×α×kが成立する。よって、圧縮画像データメモリ20の容量はさらに小さくて済む。
When the color
1.2.3.圧縮画像データメモリの一ライン上の有効記憶容量
エンコーダ10は、一ライン分の各ラインの画像データを規定圧縮率以上の実圧縮率にて符号化することが保障することができる。この場合は、図7に示すように、非圧縮の画像データの1ライン分のデータ量をMLビットとし、規定圧縮率をα(α<1)とし、圧縮画像データメモリ20の一ライン上の有効記憶容量をSLビットとしたとき、ML>SL>ML×αが成立することになる。つまり、圧縮画像データメモリ20が例えばSRAMであれば、ワード線方向のサイズが短縮されることを意味する。
1.2.3. Effective storage capacity on one line of the compressed image data memory The
このような圧縮画像データメモリ20では、図7に示すように、各ラインの圧縮画像データの先頭データが、画像圧縮メモリの各ラインの同一アドレス上の記憶素子に記憶される。こうすると、各ラインの先頭アドレスを容易に検出できる。
In such a compressed
図7の例において、図4または図5に示すような色信号変換回路50,52を設けた場合には、色信号変換回路50,52で達成される圧縮率をk(k<1)とし、非圧縮の画像データの1ライン分のデータ量をMLビットとし、規定圧縮率をα(α<1)とし、圧縮画像データメモリ20の一ライン上の有効記憶容量をSビットとしたとき、ML>SL>ML×α×kが成立する。これにより、圧縮画像データメモリ20の例えばワード線方向のサイズはより縮小される。
In the example of FIG. 7, when the color
1.3.非圧縮/圧縮切換え
ベースバンドエンジン1は、データバスを介して非圧縮画像データまたは圧縮画像データを切換えて転送することができる。この場合、非圧縮/圧縮切換え信号を、非圧縮画像データまたは圧縮画像データの転送時に送信される垂直同期信号Vsyncに同期させて送出することが好ましい。なお、非圧縮画像を転送する場合には、画像圧縮データメモリ20の容量S=Mとなる。
1.3. Non-compression / compression switching The
図8は、図8(A)の一垂直期間Vsync毎に、図8(B)に示すように非圧縮データ→圧縮データ→圧縮データ…と転送する状況を示している。 FIG. 8 shows a situation in which non-compressed data → compressed data → compressed data as shown in FIG. 8B is transferred every vertical period Vsync in FIG. 8A.
ここで、図9に示すように、ドライバIC5のインターフェースには、24個のデータ端子、垂直同期信号Vsyncの入力端子、水平同期信号Hsyncの入力端子、クロックCLKの入力端子、データイネーブル(DE)端子、シリアル入出力端子SIOが設けられている。
Here, as shown in FIG. 9, the interface of the
図9に示すシリアル入出力端子SIOを有するドライバIC5の場合、ベースバンドエンジン1より図8(C)に示す非圧縮/圧縮切換えコマンドCmdが、先頭の圧縮画像データが転送される垂直走査期間Tnの前の垂直走査期間Tn−1にて受信されている。これにより、ドライバIC5は、受信された圧縮画像データをデコーダ30にて復号することができる。これに限らず、図8(D)に示すように、垂直走査期間Tnに同期してアクティブとなる圧縮イネーブル信号CEをベースバンドエンジン1よりドライバIC5に送信しても良い。この場合、ドライバIC5は圧縮イネーブル信号の受信端子を有する。
In the case of the
1.4.復号エラー対策
画像出力ドライバIC5のデコーダ30では、あるフレームFnのあるラインLn途中にてエラーが発生すると、エラー発生位置よりも下流の同一ラインLnのデータは復号不可能となる。非圧縮画像データであれば一点のエラーで済み、視覚上問題は深刻でないが、圧縮画像データの場合はエラー発生位置以降の復号ができなくなるので対策が必要である。
1.4. Decoding error countermeasure In the
本実施形態では、画像出力ドライバIC5のデコーダ30にて復号エラーが生じた時に、デコーダ30からエンコーダ10に割込み信号供給される。割込み信号を受信したエンコーダ10は、復号エラーが生じたラインLnから、または復号エラーが生じたフレームFnの先頭から、圧縮画像データを再転送する。これにより、復号エラーに起因した画質の低下を最小限に止めている。
In the present embodiment, when a decoding error occurs in the
つまり、非圧縮画像データとは異なり、圧縮画像データの復号エラーは、後続の圧縮画像データの復号に関係するため、圧縮画像データメモリ20からの圧縮画像データを送りつづけると、表示への悪影響が大きい。上述の制御により、復号エラーに伴う影響を最小限に止めることができる。
That is, unlike the uncompressed image data, the decoding error of the compressed image data is related to the decoding of the subsequent compressed image data. Therefore, if the compressed image data from the compressed
1.5.圧縮画像データメモリでのリード・ライト
図2に示す圧縮画像データメモリ20からは、例えば、液晶パネル2を駆動するための水平同期信号に同期して、一ラインずつ圧縮画像データが読み出される。一方、圧縮画像データメモリ20へのデータ書き込みは、その上流側のベースバンドエンジン1からの非圧縮画像データの転送に従って高速書込みされる。よって、読み出し速度は書き込み速度よりも遅い。この場合、図10に示すように、圧縮画像データメモリ20の同一ラインLn上で、書き込みアドレスが読み出しアドレスを追い越してしまう事態が生じ得る。この時点で、ラインLn上での読み出しアドレス以降のアドレスには新データが書き込まれるので、ノイズ表示となる。これを防止するために、下記のような対策を実施している。
1.5. Read / Write in Compressed Image Data Memory From the compressed
1.5.1.書き込みタイミング設定
リードアドレスをライトアドレスが追い越さないための対策を図11を参照して説明する。ドライバIC5は、垂直同期信号Vsyncに同期した書き込み開始信号RS(図12参照)をベースバンドエンジン1に送出する。この書き込み開始信号RSに基づいて圧縮画像データメモリ20に書き込み開始されるタイミングT1を、圧縮画像データメモリ20に対する読み出し開始タイミングT2よりも常に先行させる。こうして、先行して高速書き込みを実施することで、図10に示す弊害を防止できる。
1.5.1. Write Timing Setting A measure for preventing the write address from overtaking the read address will be described with reference to FIG. The
なお、ドライバIC5のドライバ部40は、図11に示すように、デコーダ30の後段に、第1段及び第2段のラインバッファ41,42を有する。第1段ラインバッファ41にて、デコーダ30からの画像データが順次記憶される。第1段ラインバッファ41に一ライン分の画像データが揃った後に、第2段ラインバッファ42にて一ライン分の画像データがラッチされ、第2段ラインバッファ42より一ライン分の画像データがパラレル出力される。
As shown in FIG. 11, the
1.5.2.ラインバッファの追加
図13では、図12での書き込み開始信号RSは用いずに、代りに、圧縮画像データメモリ20の前後に、第1,第2のラインバッファ65,66を有する。第1のラインバッファ65からは、1回のアクセスで一ライン分の圧縮画像データが圧縮画像データメモリ20に同時に書き込まれる。一方、圧縮画像データメモリ20からは、一ライン分の圧縮画像データが、1アクセスにて同時に出力されて第2のラインバッファ66に格納される。そして、第2のラインバッファ66より順次圧縮画像データがデコーダ30に出力される。こうすると、書き込みタイミングを調整しなくても、圧縮画像データメモリ61に対して一ライン分の圧縮画像データが、1アクセスにて同時にライト・リードされるので、図10に示す弊害を防止できる。
1.5.2. In FIG. 13, the write start signal RS in FIG. 12 is not used, but instead, the first and second line buffers 65 and 66 are provided before and after the compressed
図14では、圧縮画像データメモリ20とデコーダ30との間に、一ライン分の圧縮画像データが交互に順次格納され、交互に順次読み出される第1,第2のリードラインバッファ67,68を有する。例えば、第1のリードラインバッファ67に一ライン分の圧縮画像データが格納された後に、次の一ラインの圧縮画像データを順次、第2のリードラインバッファ68に読み出して格納する状態を想定する。この時、同一ラインについて新たな圧縮画像データの書き込みが開始されたとする。この場合、第2のリードラインバッファ68への読み出しは、同一ラインに対する書き込みが終了するまで待機される。第2のリードラインメモリ68に対する圧縮画像データの格納は、書き込みが終わったラインの先頭アドレスからやり直しても良いし、書き込み停止したアドレスから再開しても良い。この間、第1のリードラインバッファ67から圧縮画像データがデコーダ30に供給されるので、表示データがアンダーフローすることはない。
In FIG. 14, between the compressed
2.画像符号化装置(エンコーダ)
以下、上述の実施形態に用いられる画像符号化装置(エンコーダ)10の実施形態について具体的に説明する。以下の実施形態は、保障される規定圧縮率を例えば50%とし、常に規定圧縮率以上の高圧縮率で画素データを符号化することを保障するものである。
2. Image encoder (encoder)
Hereinafter, an embodiment of the image encoding device (encoder) 10 used in the above-described embodiment will be specifically described. In the following embodiment, the guaranteed specified compression rate is, for example, 50%, and it is guaranteed that the pixel data is always encoded at a high compression rate equal to or higher than the specified compression rate.
2.1.画像入力部
図15は、画像符号化装置10のブロック図である。画像入力部100は、画素データをシリアルに入力し、一ライン上で隣り合う複数例えば4つの画素P,X,A,Bの各画素データをパラレルに出力する。ここで、図16に示すように、画素Xが符号化対象画素であり、画素Pは符号化対象画素Xの先行画素であり、画素Aは符号化対象画素Xの1番目の後続画素であり、画素Bは符号化対象画素Xの2番目の後続画素である。各画素のデータは、R,G,B画素データでも、YUV(輝度信号+色差信号)画素データのいずれであっても良い。本実施形態では、各画素データは、サブビクセルが各8ビットのR,G,Bで構成された計24ビットのデータとする。
2.1. Image Input Unit FIG. 15 is a block diagram of the
2.2.予測符号化部(非可逆符号化部)
非可逆符号化部の一例である予測符号化部110は、非可逆モードに(Lossyモードともいう)て、符号化対象画素Xの画素データ(24ビットデータ)を規定圧縮率(例えば50%)で固定長データ(例えば12ビットデータ)に符号化する。この予測符号化部110は、隣接する画素間の差分をPCM符号化するDPCM(Differential Pulse Code Modulation)符号化するもので、特許文献2の予測符号器と同様にルックアップテーブルを用いてソフトウェアにて実現することもできるが、本実施形態では図17に示すようにハードウェアにて構成している。ただし、特許文献2の予測符号器はハフマン符号のような可変長符号化を実施したが、本実施形態では、規定圧縮率を担保するために、可変長符号化は採用しない。
2.2. Predictive coding unit (lossy coding unit)
The
図17は、図15に示す予測符号化部110のブロック図である。符号化対象画素Xを構成するサブピクセルR,G,Bのデータは、差分器111にて先行画素PのR,G,Bデータが差し引かれる。この差分データが、非線形量子化部112にて量子化されて符号化される(詳細は後述)。符号化データは出力される一方で、非線形量子化部112とは逆の操作を行なう非線形逆量子化部113にてR,G,B毎に逆量子化される。逆量子化されたR,G,Bデータは、加算器114にて先行画素PのR,G,Bデータと加算され、一画素遅延用レジスタ115R,115G,114Bに記憶される。この一画素遅延用レジスタ115R,115G,115Bに記憶されたデータは、次の符号化対象画素Xに対する先行画差Pの画素データとして用いられる。つまり、スイッチ116を切り換えることで、次の符号化対象画素XのサブビクセルR,G,B毎に、先行画素PのR,G,Bデータが差分器111にて差し引かれる。
FIG. 17 is a block diagram of the
非線形量子化部111では、9ビット(-256〜255)の差分値(1ビットはプラス・マイナス符号)を4ビットに非線形量子化する。但し、「1111」は符号化モード遷移コード(可逆モード→非可逆モード)として用いるため、量子化値として割り当てられるコードは、0〜14までの15通りとなる。なお、非可逆モードから可逆モードへの符号化モード遷移コードは、図15に示す符号化制御部150からの信号に基づいて選択される。各8ビットのR,G,Bデータはそれぞれ4ビットに量子化され、画素単位では24ビットデータが12ビットデータ(4ビット×3)に符号化されるので、必ず規定圧縮率(50%)で符号化されている。
The nonlinear quantization unit 111 nonlinearly quantizes a 9-bit (-256 to 255) difference value (1 bit is a plus / minus sign) to 4 bits. However, since “1111” is used as an encoding mode transition code (reversible mode → irreversible mode), 15 codes from 0 to 14 are assigned as quantization values. Note that the coding mode transition code from the irreversible mode to the reversible mode is selected based on a signal from the
非線形量子化部111は、複数種の量子化テーブルを備え、符号化対象画素Xの直前の値(予測値)に応じて、使用する量子化テーブルを変更する。これは、予測値によってその予測誤差(入力値との差分)の範囲がある範囲に限定されるため、その範囲のみに量子化代表値を配置して、限られた符号化コードを有効に使うための工夫である。つまり、入力されるR,G,Bデータは8ビット(0〜255)であり、先行画素Pの値である予測値が分かっているので、入力値と予測値との差である予測誤差が取り得る範囲は、予測値によって限られる。一例として、予測値が0であれば、入力値と予測値との差分である予測誤差はマイナスとはならないので、プラス領域(0〜255)の範囲を量子化テーブルとすればよい。 The nonlinear quantization unit 111 includes a plurality of types of quantization tables, and changes the quantization table to be used according to the value (predicted value) immediately before the encoding target pixel X. Since the range of the prediction error (difference from the input value) is limited to a certain range depending on the predicted value, the quantized representative value is arranged only in the range and the limited encoded code is used effectively. It is a device for. That is, the input R, G, B data is 8 bits (0 to 255), and the predicted value that is the value of the preceding pixel P is known, so that the prediction error that is the difference between the input value and the predicted value is The possible range is limited by the predicted value. As an example, if the predicted value is 0, the prediction error that is the difference between the input value and the predicted value does not become negative, so the range of the positive region (0 to 255) may be used as the quantization table.
非線形量子化テーブルの具体的な例を下記に示す。 A specific example of the nonlinear quantization table is shown below.
1)予測値が96以上160未満の場合
この場合、取り得る予測誤差の範囲は、−159〜159である。したがって、図18に示すように、量子化コードを割り当てる。
1) When predicted value is 96 or more and less than 160 In this case, the range of possible prediction errors is -159 to 159. Therefore, a quantization code is assigned as shown in FIG.
ここで、線形量子化とは、符号化対象画素Xと先行画素Pとを引き算した結果の予測誤差(9ビット、1ビットは符号)が、0に近い値ほど(符号化対象画素Xと先行画素Pとの差が小さいほど)細かく量子化している。これは、僅かな色の違いでも顕著に把握するためである。一方、予測誤差が0から遠いほど(符号化対象画素Xと先行画素Pとの前の画素との差が大きいほど)、粗く量子化している。これは、輝度成分の差が大きい時には、色の微妙な差が検知され難いからである。このように、予測誤差の大きさによって、線形でなく非線形で量子化するのが、非線形量子化である。図18においても、予測誤差が0付近では細かく、予測誤差の絶対値が大きくなるほど粗く量子化している。図18から明らかなように、非線形量子化部112にて量子化されたデータは、非可逆データである。
Here, linear quantization means that the prediction error (9 bits, 1 bit is a sign) as a result of subtracting the encoding target pixel X and the preceding pixel P is closer to 0 (the encoding target pixel X and the preceding pixel P are preceded). The smaller the difference from the pixel P, the smaller the quantization. This is because a slight difference in color is clearly recognized. On the other hand, the further the prediction error is from 0 (the larger the difference between the encoding target pixel X and the preceding pixel P and the preceding pixel P), the coarser the quantization. This is because it is difficult to detect a subtle difference in color when the difference in luminance components is large. In this way, non-linear quantization that is not linear but non-linear depending on the magnitude of the prediction error is non-linear quantization. In FIG. 18 as well, the prediction error is fine near zero, and is quantized coarsely as the absolute value of the prediction error increases. As is apparent from FIG. 18, the data quantized by the
2)予測値が64以上96未満の場合
取り得る予測誤差の範囲は、−95〜191である。したがって、図19に示すように、量子化コードを割り当てる。
2) When the predicted value is 64 or more and less than 96 The range of possible prediction errors is -95 to 191. Therefore, a quantization code is assigned as shown in FIG.
3)予測値が160以上192未満の場合
取り得る予測誤差の範囲は、−191〜95である。したがって、図20に示すように、量子化コードを割り当てる。
3) When the predicted value is 160 or more and less than 192 The range of possible prediction errors is -191 to 95. Therefore, a quantization code is assigned as shown in FIG.
4)予測値が32以上64未満の場合
取り得る予測誤差の範囲は、−63〜223である。したがって、図21に示すように、量子化コードを割り当てる。
4) When the predicted value is 32 or more and less than 64 The range of possible prediction errors is -63 to 223. Accordingly, a quantization code is assigned as shown in FIG.
5)予測値が192以上224未満の場合
取り得る予測誤差の範囲は、−223〜63である。したがって、図22に示すように、量子化コードを割り当てる。
5) When the predicted value is 192 or more and less than 224 The range of possible prediction errors is -223 to 63. Accordingly, a quantization code is assigned as shown in FIG.
線形逆量子化部113は、上述の線形量子化部112での操作とし逆の操作を実施すればよく、この際も直前の画素値に応じて逆量子化テーブルを切換えればよい。
The linear
2.3.先頭移動辞書符号化部(可逆符号化部)
可逆モード(Losslessモードともいう)で符号化する可逆符号化部の一例である先頭移動辞書符号化部120は、R,G,B形式の画素データ(24ビット)をそのまま1つの非圧縮データとして扱い、完全に復号可能な可逆データとして符号化する。先頭移動辞書による符号化の方法自体は、特許文献2(特開2001-257888)と基本的に同じである。但し、本実施形態では、ハフマン符号のような可変長符号化は行わない。規定圧縮率を保証できないためである。
2.3. First moving dictionary encoding unit (lossless encoding unit)
The leading movement
この実施の形態では、画素値の辞書を、符号化と復号化で共有し、先頭移動による辞書の更新を行っている。したがって、使用頻度の高い画素値は、辞書の最初の方に置かれることになる。辞書サイズは、0から7の8個のインデックスから成る。このインデックスを可変長符号化することによって、符号化を行うことができる。 In this embodiment, a dictionary of pixel values is shared between encoding and decoding, and the dictionary is updated by moving the head. Accordingly, pixel values that are frequently used are placed at the beginning of the dictionary. The dictionary size consists of 8 indexes from 0 to 7. Encoding can be performed by variable-length encoding this index.
図23の左欄は、例えば初期化された辞書に記憶される7色を示している。初期化の例は一例であり、他の色であっても良いし、同一食であっても良い。図23は、入力した色が赤の場合に、辞書の配置換えを左欄から右欄に示すように行う様子を示している。入力した画素の色が赤の場合には、インデックス2を辞書の先頭に移動させる。そして、白および黒を後ろにずらす。一方、入力した画素の色(たとえば、X)が辞書にない場合には、新たに登録するX(24ビット)を出力する。この場合、インデックス8のエスケープ・コードを含む条件(図25の条件1〜3)を符号化し、Xを辞書の先頭に登録し、元々登録されている色は、後ろにずれる。この結果、元々インデックス7に登録されていた色は、辞書から失われる。
The left column of FIG. 23 shows, for example, seven colors stored in the initialized dictionary. An example of initialization is an example, and other colors may be used, or the same meal may be used. FIG. 23 shows how the dictionary is rearranged from the left column to the right column when the input color is red. If the color of the input pixel is red,
辞書に登録された位置を示すインデックス値、辞書に存在しない場合に可逆符号化する条件別コード、および可逆モードから非可逆モードの遷移を示すコードは、すべて、一画素24ビットを1/6に圧縮した4ビットの固定長符号で表現される。4ビットのコードの意味付けは、図24に示す通りである。 The index value indicating the position registered in the dictionary, the conditional code that performs lossless encoding when it does not exist in the dictionary, and the code that indicates the transition from the lossless mode to the lossy mode are all reduced to 1/6 of 24 bits per pixel. It is expressed as a compressed 4-bit fixed length code. The meaning of the 4-bit code is as shown in FIG.
図24の左欄は可逆モード継続中のコードであり、図24の右欄は非可逆モードから可逆モードに遷移した直後のコードである。図24の左欄と右欄とでは、符号化対象画素の画素データXが辞書に存在しない時の符号化動作が異なっている。なお、図24に示す符号化モード遷移コードは、非可逆モードから可逆モードへの遷移を意味し、このコードは図15に示す符号化制御部150からの信号に基づいて、先頭移動辞書符号化部120より出力される。
The left column in FIG. 24 is a code in which the reversible mode is continued, and the right column in FIG. 24 is a code immediately after the transition from the non-reversible mode to the reversible mode. The left column and the right column in FIG. 24 differ in the encoding operation when the pixel data X of the encoding target pixel does not exist in the dictionary. Note that the coding mode transition code shown in FIG. 24 means a transition from the irreversible mode to the reversible mode, and this code is coded based on the head movement dictionary based on the signal from the
ここで、図24に示す符号化内容においては、2画素(X,A)または3画素(X,A,B)をまとめて符号化する態様が示されている。このために、図15に示すように、周辺画素値評価部130が設けられている。
Here, the encoded content shown in FIG. 24 shows a mode in which 2 pixels (X, A) or 3 pixels (X, A, B) are encoded together. For this purpose, as shown in FIG. 15, a peripheral pixel
2.4.周辺画素値評価部
図15に周辺画素値評価部130は、画素入力部110からパラレルに入力される例えば4画素(P,X,A,B:図2参照)の各画素データの関係を評価するものである。本実施形態では、周辺画素値評価部130は4画素のうちの3画素または2画素が一定の関係を有するか否かを評価している。具体的には、図25または図26に示すように、3画素または2画素の画素データが同一であるか否かを評価している。
2.4. Peripheral Pixel Value Evaluation Unit In FIG. 15, the peripheral pixel
ここで、本実施形態では、24ビットの画素データ同士が等しいことを条件としているが、例えば一画素を構成する3つのサブピクセル少なくとも一つの上位ビットが複数画素間で一致し、最下位ビットまたは最下位側の下位ビット群のみが異なるもの、つまり実質的同一とみなせる範囲を同一と定義しても良い。 Here, in the present embodiment, the condition is that the 24-bit pixel data is equal to each other. For example, at least one upper bit of at least three subpixels constituting one pixel matches among the plurality of pixels, and the least significant bit or Only the lowest bit group on the least significant side is different, that is, ranges that can be regarded as substantially the same may be defined as the same.
2.5.余剰符号カウンタ
図15に示す余剰符号カウンタ140は、規定圧縮率(例えば50%)を達成する上で余る符号ビット(余剰符号)をカウントアップし、消費される余剰ビットをカウントダウンするものである。余剰カウンタ140の累積カウント値が初期値(例えば0=規定圧縮率を意味する)を下回らなければ(例えば、マイナス値にならなければ)、規定圧縮率が達成でき、本実施形態では余剰カウンタ140の累積カウント値が初期値を下回らないように制御している。この結果、可逆モードでの符号化は余剰カウンタでの制御により必ず規定圧縮率以上の高圧縮率が保障される。非可逆モードでの符号化は、規定圧縮率となる固定長符号で符号化を実施しているので、可逆・非可逆モードでのトータル圧縮率としても、規定圧縮率以上の高圧縮率を常に保障できる。
2.5. Surplus Code Counter The
具体的には、可逆モードでは、Xが辞書に存在した場合は、一画素データ24ビットを4ビットの固定長符号で符号化できる時には、圧縮率50%(12ビット目標)に対して8ビットの余剰が生まれる(このとき、8ビットを余剰符号という)。余剰符号カウンタ140は、一画素当り12ビット未満で符号化できた際に生じた余剰ビットを計数するためのカウンタである。また、余剰符号カウンタ140は、符号化対象画素の画素データX(24ビット)をそのまま符号出力した場合など、余剰ビットを消費した場合は、その分のカウントダウンを行う。なお、カウント値1ポイントは、4ビットの余剰符号を示すものとする。また、本実施形態では、余剰符号カウンタ140は可逆モード時のみカウントのアップ・ダウンを実施し、非可逆モードではカウントしない。非可逆モードでは全て、一画素当り12ビット(一サブビクセルあたり4ビット)の固定長符号で符号化され、常に圧縮率50%となって余剰符号が生じないし、余剰符号が消費されることもないからである。
Specifically, in the reversible mode, if X is present in the dictionary, 8 bits for a compression rate of 50% (12-bit target) when 24 bits of one pixel data can be encoded with a fixed length code of 4 bits. (In this case, 8 bits are referred to as a surplus code). The
なお、この余剰カウンタ140は、一ラインの全画素の符号化が終了するごとにリセットすることができる。周辺画素値評価部130は一ライン上の画素についての関係を評価しているので、本実施形態は画素毎に圧縮しているとはいえ、一ライン毎に画素間の相関を見ながら画素データを符号化している。よって、余剰カウンタ140がリセット後の初期値(つまり規定圧縮率と等しい値)を下回らないための管理は、一ライン毎に行なえばよい。こうすると、画素データを符号化した後の符号を記憶するメモリは、画面の一ライン上の画素データの全ビット数をNLとし、それらをメモリの一ライン上のML個の有効メモリ素子に記憶する場合にあっては、メモリの一ライン上の有効メモリ素子の最大数MLは、規定圧縮率をα(α<1)としたとは、NL×α<ML<NLとなり、メモリの一ライン方向の寸法を小さくできる。
The
ただし、この余剰カウンタ140は、一ラインの全画素の符号化が終了するごとにリセットしてもよい。一画面全体として、余剰カウンタ140がリセット後の初期値(つまり規定圧縮率と等しい値)を下回らないようにしてもよい。この場合、画素データを符号化した後の符号を記憶するメモリは、一画面を構成する全画素データのトータルビット数をNとし、それらをメモリ内のM個の有効メモリ素子に記憶する場合にあっては、メモリ内の有効メモリ素子の最大数Mは、規定圧縮率をα(α<1)としたときは、N×α<M<Nとなり、メモリサイズを小さくできる。
However, the
2.6.符号化制御部
図15に示す符号化制御部150は、先頭移動辞書符号化部120、周辺画素値評価部130及び余剰符号カウンタ140からの出力に基づいて、可逆モードと非可逆モードとの間の遷移条件と、可逆モードの継続条件との充足を判断して、遷移・継続を決定するとともに、その判断に従って、予測符号化部110、先頭移動辞書符号化部120、余剰符号カウンタ140及び符号化多重部160を制御するものである。
2.6. Encoding Control Unit The encoding
具体的には、符号化制御部150は、図25に示す非可逆モードから可逆モードへのいずれかの遷移条件を充足するか否かを、先頭移動辞書符号化部120、周辺画素値評価部130及び余剰符号カウンタ140からの出力に基づいて判断する。符号化制御部150は、図25に示す条件のうち、まず、符号化対象画素の画像データXが、図23に示す辞書に登録されているか否かを優先的に判断する。符号化対象画素の画像データXが辞書に未登録の場合には、符号化制御部150は、図25に示す条件1,2,3をその順で判断する。そして、符号化制御部150が、図25に示す非可逆モードから可逆モードへのいずれかの遷移条件を充足したと判断した時には、予測符号化部110を制御して、図25に示すように、非可逆モードから可逆モードへの遷移を固定長符号(4ビット)で表す符号化モード遷移コードを出力させる。また、図25に示すように、符号化対象画素の画像データXが、図23に示す辞書に登録されている場合には、先頭移動辞書符号化部120より辞書インデックス(4ビット)が出力される。図25に示すように、符号化対象画素の画像データXが、図23に示す辞書に登録されていない場合であって、条件1〜3のいずれかを充足する場合には、符号化制御部150は先頭移動辞書符号化部140を制御して、各条件を固定長符号(4ビット)で表す符合を出力させる。このとき、先頭移動辞書符号化部140は、符号化対象画素の画像データXを、図23に示すようにして辞書の先頭に登録する。さらに、符号化制御部150は、図25に示す条件2,3に該当する時には、必要なポイントを余剰符号カウンタ140にてカウントダウンさせる。
Specifically, the
符号化制御部150が、図25に示す非可逆モードから可逆モードへのいずれの遷移条件も充足しないと判断した時のみ、非可逆モードが継続され、非可逆符号化部110にて固定長符号(4ビット)で表された非線形量子化データが出力される。
Only when the
さらに符号化制御部150は、図26に示す可逆モードを維持する条件を充足するか否かを、先頭移動辞書符号化部120、周辺画素値評価部130及び余剰符号カウンタ140からの出力に基づいて判断する。
Furthermore, the
規定圧縮率(50%)以上の高圧縮率を達成するには、符号化制御部150は、余剰カウンタ140のカウント値が規定圧縮率よりも低圧縮率を示す値とならない範囲で、先頭移動辞書符号化部120での符号化動作を継続させることが重要である。なぜなら、予測符号化部110では規定圧縮率と等しい圧縮率しか実現できず、しかも、可逆モードと非可逆モード間で遷移させるには、固定長符号で表された符号化モード遷移コードを出力することで符号が消費されるからである。また、予測符号化部110では非可逆モードで圧縮するので、完全に元の画素データに復号できないからである。
In order to achieve a high compression rate equal to or higher than the specified compression rate (50%), the
図26において、符号化対象画素の画像データXが、図23に示す辞書に登録されている場合には、符号化対象画素の画素データXの単独圧縮率が規定圧縮率(50%,12ビット)よりも高い圧縮率となる時であり、固定長符号(4ビット)の辞書インデックスのみ出力すればよい。これが、先頭移動辞書符号化部120による第1優先順位の処理である。第1優先順位の処理を実施することで、余剰符号カウンタ140は2ポイント(8ビットをカウントアップできる。
In FIG. 26, when the image data X of the encoding target pixel is registered in the dictionary shown in FIG. 23, the single compression rate of the pixel data X of the encoding target pixel is the specified compression rate (50%, 12 bits). ), And only a fixed-length code (4-bit) dictionary index needs to be output. This is the first priority processing performed by the head movement
図26において、符号化対象画素の画像データXが、図23に示す辞書に登録されていない場合であって、周辺画素値評価部130からの画素間の関係が条件4〜7のいずれかの関係を満たす場合には、まとめて符号化される複数画素の画素データの平均圧縮率が規定圧縮率よりも高い圧縮率となる。この態様が先頭移動辞書符号化部120による第2優先処理順位の処理であり、複数画素の各画素データが関連付けて符号化される。図26に示す第2優先処理順位の項目の中でも、条件4〜7のうち番号の若い条件から順に判断される。第2優先順位の処理を実施することで、余剰符号カウンタ140は2ポイント(8ビットをカウントアップできる。
26, the image data X of the encoding target pixel is not registered in the dictionary shown in FIG. 23, and the relationship between the pixels from the peripheral pixel
図26において、符号化対象画素の画像データXが、図23に示す辞書に登録されていない場合であって、周辺画素値評価部130からの画素間の関係と余剰符号カウンタ140にてカウントされた累計の余剰符号とが条件8〜10のいずれかの関係を満たす場合には、符号化対象画素の単独圧縮率(図26の条件10)、あるいは、まとめて符号化される複数画素の画素データの見掛け上の平均圧縮率(図26の条件8,9)が、規定圧縮率と等しくなる。ここで、見掛け上の単独圧縮率または平均圧縮率とは、本来符号化に必要な符号から予剰符号の累計の一部又は全部を差し引いて算出した一画素当たりの圧縮率である。図26の条件8の例では、2画素に本来符号化に必要な符号(28ビット)から余剰符号(4ビット)を差し引いて算出した一画素当たりの平均圧縮率は、100×(28−4)÷(2×24)=50%となって、規定圧縮率と等しくなる。ただし、この場合は、余剰符号を4ビット消費するため、余剰符号カウンタ140にて1ポイント(4ビット)だけカウントダウンされる。条件8が成立しない場合は、条件9,10の順で判断され、消費された余剰符号は余剰カウンタ140にてカウントダウンされる。
In FIG. 26, the image data X of the encoding target pixel is not registered in the dictionary shown in FIG. 23, and is counted by the relationship between the pixels from the peripheral pixel
符号化制御部150は、図26に示す条件を優先処理順位の順に判断し、図26に示すいずれかの条件を充足する場合には、可逆モードを継続して、規定圧縮率(50%)よりも高圧縮できる機会を増やして、余剰符号を蓄えるように制御する。そして、図26に示すいずれの条件も充足しない場合に限り、符号化制御部150は予測符号化部110に信号を出力して、コード番号15に相当する符号化モード遷移コード(可逆モード→非可逆モード)を出力させる。
The
符号化制御部150は、上述した制御結果の信号が、図15に示す符号多重化部160にて出力されるように、符号多重化部160を制御する。つまり、符号化制御部150は、予測符号化部110からの非線形量子化データ(4ビット、可逆モード→非可逆モードへのモード遷移コード含む)と、画像入力部100からの符号化対象画素の画素データX(24ビット)、先頭移動辞書符号化部120からの辞書インデックス、条件符号、非可逆モード→可逆モードへのモード遷移コード等のいずれのコードを出力するかを制御する信号を、符号化多重化部160に出力する。
The
2.7.符号多重化制御部
図27は、符号化制御部150の制御に従って動作する符号多重化制御部160の動作を説明するための図である。
2.7. Code Multiplexing Control Unit FIG. 27 is a diagram for explaining the operation of the code
まず、最初の符号化対象画素の画素データXが画像入力部100に入力されると、例えば最初の画素データXは、予測符号化部110にて符号化される。つまり、画像データXを構成するR,G,Bのサブピクセルデータが非線形量子化され、規定圧縮率(50%)で圧縮された12ビットの非線形量子化符号が、符号多重化部160より出力される。
First, when the pixel data X of the first encoding target pixel is input to the
もし仮に、全ての画素データXが、図25の非可逆モード→可逆モードへの遷移条件を充足しない場合、全ての画素データXは図27に示す非可逆符号化モードループで符号化され、圧縮率は50%となって、規定圧縮率(50%)が達成される。 If all the pixel data X do not satisfy the transition condition from the lossy mode to the lossless mode in FIG. 25, all the pixel data X are encoded by the lossy coding mode loop shown in FIG. 27 and compressed. The rate is 50%, and the specified compression rate (50%) is achieved.
ただし、そのようなケースは稀であり、いずれかの画像データXまたはその周辺画素の画像データは、図25に非可逆モード→可逆モードへの遷移条件を充足する。この場合には、図25に示す条件に従って組み合わされた符号が、符号多重化部160より出力される。例えば、符号化対象画素の画像データXが、図23に示す辞書に登録されている場合では、符号化モード遷移コード(4ビット)+辞書インデックス(4ビット)の計8ビットが符号多重化部160より出力される。符号化対象画素の画像データXが、図23に示す辞書に登録されていない場合であって、例えば図25に示す条件1を充足するのであれば、符号化モード遷移コード(4ビット)+条件1を示すコード(4ビット)+画素データX(24ビット)の計32ビットが、符号多重化部160より出力される。
However, such a case is rare, and any of the image data X or the image data of the surrounding pixels satisfies the transition condition from the irreversible mode to the reversible mode in FIG. In this case, the code combined according to the conditions shown in FIG. For example, when the image data X of the encoding target pixel is registered in the dictionary shown in FIG. 23, a total of 8 bits of the encoding mode transition code (4 bits) + dictionary index (4 bits) is the code multiplexing unit. 160 is output. If the image data X of the pixel to be encoded is not registered in the dictionary shown in FIG. 23 and, for example, the
最後の符号化対象画素の画素データXが図25に示す条件を満足した場合には、先頭移動辞書符号化部120での符号化によって全ての処理が終了する。
When the pixel data X of the last pixel to be encoded satisfies the condition shown in FIG. 25, all the processing is completed by the encoding in the head movement
そうでない場合には、図27に示す可逆符号化モードループに移行する。ここでは、図26に示す条件のいずれかを充足する限り、そのループでの処理が継続される。この場合、符号多重化部160からの出力は、図26に示す通りとなる。例えば、符号化対象画素の画像データXが、図23に示す辞書に登録されている場合では、辞書インデックス(4ビット)のみが符号多重化部160より出力される。符号化対象画素の画像データXが、図23に示す辞書に登録されていない場合であって、例えば図26に示す条件4を充足するのであれば、三画素の画素データX,A,Bを関連付けた符号として、条件4を示すコード(4ビット)+画素データX(24ビット)の計28ビットが、符号多重化部160より出力される。
Otherwise, the process proceeds to the lossless encoding mode loop shown in FIG. Here, as long as one of the conditions shown in FIG. 26 is satisfied, the processing in the loop is continued. In this case, the output from the
3.画像復号装置(デコーダ)
図28は、上述の実施形態にて用いられた画像復号装置(デコーダ)30を示し、上述した画像符号化装置(エンコーダ)10での図27に示す符号化シンタクッスに基づいて、符号を読み取り、デコード(復号)して画素データを出力するものである。画像復号装置30は、図28に示すように、符号分離制御部200、予測復号部210、先頭移動辞書復号部220及び画素出力制御部230を有する。
3. Image decoding device (decoder)
FIG. 28 shows the image decoding device (decoder) 30 used in the above-described embodiment, and reads a code based on the coding syntax shown in FIG. 27 in the above-described image coding device (encoder) 10. The pixel data is output after decoding. As illustrated in FIG. 28, the
3.1.符合分離制御部
符号分離制御部200での動作は、上述した画像符号化装置での最初の画素データ、非可逆モード時、非可逆モードから可逆モードへの遷移時、可逆モード時で異なる。符号分離制御部200は、符号化モード遷移コードにより、受信コードがどの態様で符号化されたかが分かるので、上述の4つの態様に分けて制御している。
3.1. Code Separation Control Unit The operation of the code
3.1.1.デコード開始時
図27にて説明したように、デコード開始時にあっては、符号多重化部160から出力される圧縮ストリーム中に、画素データが埋め込まれている。したがって、符号分離制御部200は、24ビットの画素データを直接に画像出力制御部230に送出する。
3.1.1. When decoding is started As described with reference to FIG. 27, when decoding is started, pixel data is embedded in the compressed stream output from the
3.1.2.非可逆符号化モード時
非可逆モードでは、符号分離制御部200は、図18〜図22等に示す成分毎の量子化値を圧縮ストリームから読み込み、予測復号部210に送出する。
3.1.2. In the lossy encoding mode In the lossy mode, the code
3.1.3.非可逆モードから可逆モードへの遷移時
符号分離制御部200が、図25に示す符号化モード遷移を示すコードを受信すると、非可逆モードから可逆モードへ復号化モードを変える。具体的には、符号分離制御部200は、符号化モード遷移を示すコードに続く4ビットを見て、辞書インデックスなのか、あるいは条件1、2、3を示すコードなのかを判断する。符号分離制御部200は、受信コードが辞書インデックスの場合は、先頭移動辞書復号部220に送り、そうでない場合は、24ビットの画素データを抽出して、直接、画素出力制御部230に送るとともに、条件符号に基づく制御信号を画素出力制御部230に送る。
3.1.3. At the time of transition from the irreversible mode to the reversible mode When the code
3.1.4.可逆モード時
可逆モードでは、符号分離制御部200は、図26に示す4ビットの符号を見て、辞書インデックスなのか、条件4−10のいずれなのかを判断する。符号分離制御部200は、受信コードが辞書インデックスの場合は、先頭移動辞書復号部220に送り、そうでない場合は、24ビットの画素データを抽出して、直接、画素出力制御部230に送るとともに、条件符号に基づく制御信号を画素出力制御部230に送る。
3.1.4. In the reversible mode In the reversible mode, the code
3.2.予測復号部及び先頭移動辞書復号部
予測復号部210は、図15に示す予測符号化部110とは逆操作を行なうことで、非可逆にて画素データを復号する。先頭移動辞書復号部220は、先頭移動辞書符号化部120と同様に、図23に示すものと同等の辞書を有する。そして、辞書登録されていない画素データが入力されたら、図23と同様にして辞書登録する。一方、辞書インデックスを受信したら、その辞書中の登録位置にある画素データを画素出力制御部230に出力する。
3.2. Prediction decoding unit and head moving dictionary decoding unit The
3.3.画素出力制御部
画素出力制御部230は、符号分離制御部200からの画素データ、予測復号部210にて復号された画素データ、先頭移動辞書復号部220にて復号された画素データ、さらに符号分離制御部200からの制御信号に基づいて、復号された画素データを出力制御するものである。
3.3. Pixel Output Control Unit The pixel
画素出力制御部230は、図29に示すように、3つのマルチプレクサMUX0〜MUX2と、3つのレジスタR0〜R2と、制御回路232とを有する。制御回路232は、符号分離制御部200より分離された制御信号に基づいて、マルチプレクサMUX0〜MUX2を制御する。
As illustrated in FIG. 29, the pixel
この画素出力制御部230もまた、上述した画像符号化装置での最初の画素データ、非可逆モード時、非可逆モードから可逆モードへの遷移時、可逆モード時で異なる。
The pixel
3.3.1.先頭画素
先頭画素の画素データは、図28の符号分離制御部200にて分離された後に、直接、制御回路232により制御されるマルチプレクサMUX0を介してレジスタR0に格納され、次のサイクルで出力される。
3.3.1. First Pixel The pixel data of the first pixel is separated by the code
3.3.2.非可逆モード
非可逆モード時は、予測復号部210より供給される画素データをマルチプレクサMUX0経由でレジスタR0に格納し、1サイクル後に出力される。
3.3.2. Non-reversible mode In the non-reversible mode, the pixel data supplied from the
3.3.3.可逆モード
図26に示す符号化時の条件に従って、下記の通り出力制御される。
3.3.3. Lossless mode Output control is performed as follows according to the encoding conditions shown in FIG.
3.3.3.1.画素データXが辞書に登録されていた時
先頭移動辞書復号部220にて辞書インデックスに示す登録位置の画素データを辞書より読み出し、マルチプレクサMPU0経由でレジスタR0に格納し、1サイクル後に出力する。
3.3.3.1. When the pixel data X is registered in the dictionary, the top movement
3.3.3.2.図26の条件4に合致した時
符号分離制御部200に取り込まれた画素データXを、図29のマルチプレクサMUX0経由でレジスタR0に格納するとともに、マルチプレクサMUX1,2を経由して、同じ値XをレジスタR1,R2にも格納する。すなわち、レジスタR12,R2すべてに、画素データXが格納される(条件4は、X=A=B)。そして、3サイクルかけて、同一の画素データXが順次出力される。なお、同一の画素データXが出力される間には、新たな符号の取り込みは抑止される。
3.3.3.2. When the
3.3.3.3.図26の条件5に合致した時
符号分離制御部200に取り込まれた画素データXを、制御回路232により制御されるマルチプレクサMUX0経由でレジスタR0に格納するとともに、レジスタR0に直前まで格納されていた画素データPをマルチプレクサMUX1,2を経由して、レジスタR1,R2にも格納する(条件5は、P=A=B)、そして、3サイクルかけて、画素データX,P,Pを順次出力する。この間も、新たな符号の取り込みは抑止される。
3.3.3.3. When the
3.3.3.4.図26の条件6に合致した時
符号分離制御部200に取り込まれた画素データXを、制御回路232により制御されるMUX0経由でレジスタR0に格納するとともに、マルチプレクサMUX1を経由してレジスタR1にも格納する(条件6はX=Aが要件の一つ)。また、レジスタR0に直前まで格納されていた画素データPをマルチプレクサMUX2を経由してレジスタR2に格納する(条件6は、P=BTが要件の他の一つ)。そして、3サイクルかけて、画素データX,X,Pを順次出力する。この間も、新たな符号の取り込みは抑止される。
3.3.3.4. When the
3.3.3.5.図26の条件7に合致した時
符号分離制御部200に取り込まれた画素データXを、制御回路232により制御されるマルチプレクサMUX0経由でレジスタR0に格納するとともに、マルチプレクサMU2を経由してレジスタR2にも格納する(条件7は、X=Bが要件の一つ)。また、レジスタR0に直前まで格納されていた画素データPをマルチプレクサMUX1を経由してレジスタR1に格納する(条件7は、P=Aが要件の他の一つ)。そして、3サイクルかけて、画素データX,P,Xが順次出力される。この間も、新たな符号の取り込みは抑止される)。
3.3.3.5. When the
3.3.3.6.図26の条件8に合致した時
符号分離制御部200に取り込まれた画素データXを、制御回路232により制御されるマルチプレクサMUX0経由でレジスタR0に格納するとともに、レジスタR0に直前まで格納されていた画素データPをマルチプレクサMUX1を経由してレジスタR1に格納する(条件8は、P=Aが要件)。そして、2サイクルかけて、画素データX,Pが順次出力される。この間も、新たな符号の取り込みは抑止される)。
3.3.3.6. When the
3.3.3.7.図26の条件9に合致した時
符号分離制御部200に取り込まれた画素データXを、制御回路232により制御されるマルチプレクサMUX0経由でレジスタR0に格納するとともに、マルチプレクサMU2を経由してレジスタR2にも格納する(条件9は、X=Aが要件)。そして、2サイクルかけて、画素データX,Xが順次出力される。この間も、新たな符号の取り込みは抑止される)。
3.3.3.7. When the
3.3.3.8.図26の条件10に合致した時
符号分離制御部200に取り込まれた画素データXを、制御回路232により制御されるマルチプレクサMUX0経由でレジスタR0に格納し、次サイクルで出力する。
3.3.3.8. When the
3.4.非可逆モードから可逆モードへのモード遷移時
条件1の符号を受信した時には、上述の条件4の時の動作と同じであり、条件2の符号を受信した時には、上述の条件9の時の動作と同じであり、条件3の符号を受信した時には、上述の条件10の時の動作と同じである。
3.4. When the mode transition from the irreversible mode to the reversible mode When the code of the
このような、画像符号化装置にて画素データを符号化し、それを画像復号装置にて復号して、液晶表示装置に表示して、画像圧縮せずに直接表示したものと画質を比較してみたところ、肉眼では識別できなかった。 The image data is encoded by the image encoding device, decoded by the image decoding device, displayed on the liquid crystal display device, and compared with the image directly displayed without image compression. Apparently, it could not be identified with the naked eye.
なお、本発明は上述した実施形態に限定されるものではなく、本発明の要旨の範囲内で種々の変形実施が可能である。 In addition, this invention is not limited to embodiment mentioned above, A various deformation | transformation implementation is possible within the range of the summary of this invention.
上述の実施形態は、携帯電話機の液晶表示を例に挙げて説明したが、画像データの供給を受けて出力ドライブ制御する画像出力ドライバICであれば、他の表示装置、あるいはプリンタ等の画像出力ドライバICに適用できることは言うまでもない。 In the above-described embodiment, the liquid crystal display of the mobile phone has been described as an example. However, as long as the image output driver IC performs output drive control by receiving image data, the image output from another display device or printer Needless to say, it can be applied to a driver IC.
1 ベースバンドエンジン(画像供給側IC)、2 液晶パネル、5 画像出力ドライバIC、10 画像符号化装置(エンコーダ)、20 圧縮画像データメモリ、21 ラインバッファ、30 画像復号装置(デコーダ)、40 ドライバ部、50,52 色信号変換回路、100 画像入力部、110 予測符号化部(非可逆符号化部)、111 減算器、112非線形量子化部、113 非線形逆量子化部、114 加算器、115R〜115B レジスタ、120 先頭移動辞書符号化部(可逆符号化部)、130 周辺画素値評価部、140 余剰符号カウンタ、150 符号化制御部、160 符号多重化部、200 符号分離制御部、210 予測復号部、220 先頭移動辞書復号部、230 画素出力制御部、232 制御回路、R0−R2 レジスタ、MUX0−MUX2 マルチプレクサ
1 baseband engine (image supply side IC), 2 liquid crystal panel, 5 image output driver IC, 10 image encoding device (encoder), 20 compressed image data memory, 21 line buffer, 30 image decoding device (decoder), 40
Claims (12)
前記画像符号化装置からの圧縮画像データを格納する圧縮画像データメモリと、
前記圧縮画像データメモリからの前記圧縮画像データを復号する画像復号装置と、
前記画像復号装置にて復号された画像データに基づいて、画像を出力駆動するドライバ部と、
を有することを特徴とする画像出力ドライバIC。 An image encoding device for encoding uncompressed image data transferred from the image supply side IC via the data bus;
A compressed image data memory for storing compressed image data from the image encoding device;
An image decoding device for decoding the compressed image data from the compressed image data memory;
Based on the image data decoded by the image decoding device, a driver unit that outputs and drives an image;
An image output driver IC comprising:
前記画像符号化装置は、一フレーム分の各フレームの前記画像データを規定圧縮率以上の実圧縮率にて符号化することが保障されていることを特徴とする画像出力ドライバIC。 In claim 1,
An image output driver IC, wherein the image encoding device is guaranteed to encode the image data of each frame for one frame at an actual compression rate equal to or higher than a specified compression rate.
前記画像符号化装置は、一ライン分の各ラインの前記画像データを規定圧縮率以上の実圧縮率にて符号化することが保障されていることを特徴とする画像出力ドライバIC。 In claim 1,
An image output driver IC, wherein the image encoding device is guaranteed to encode the image data of each line for one line at an actual compression rate equal to or higher than a specified compression rate.
前記非圧縮画像データのデータ量をMビットとし、前記規定圧縮率をα(α<1)とし、前記圧縮画像データメモリの有効記憶容量をSビットとしたとき、M>S>M×αが成立することを特徴とする画像出力ドライバIC。 In claim 2 or 3,
When the data amount of the uncompressed image data is M bits, the specified compression rate is α (α <1), and the effective storage capacity of the compressed image data memory is S bits, M>S> M × α An image output driver IC characterized by being established.
前記画像符号化装置の前段に、一画素についての第1の色信号を、前記第1の色信号のビット数よりも少ないビット数の第2の色信号に変換する色信号変換回路をさらに有し、
前記色信号変換回路で達成される圧縮率をk(k<1)とし、非圧縮画像データのデータ量をMビットとし、前記規定圧縮率をα(α<1)とし、前記圧縮画像データメモリの有効記憶容量をSビットとしたとき、M>S>M×α×kが成立することを特徴とする画像出力ドライバIC。 In claim 2 or 3,
A color signal conversion circuit for converting a first color signal for one pixel into a second color signal having a number of bits smaller than the number of bits of the first color signal is further provided in a previous stage of the image encoding device. And
The compression rate achieved by the color signal conversion circuit is k (k <1), the data amount of uncompressed image data is M bits, the specified compression rate is α (α <1), and the compressed image data memory An image output driver IC, wherein M>S> M × α × k is satisfied when the effective storage capacity of S is S bits.
前記非圧縮画像データの1ライン分のデータ量をMLビットとし、前記規定圧縮率をα(α<1)とし、前記圧縮画像データメモリの一ライン上の有効記憶容量をSLビットとしたとき、ML>SL>ML×αが成立することを特徴とする画像出力ドライバIC。 In claim 3,
When the data amount for one line of the uncompressed image data is ML bits, the specified compression rate is α (α <1), and the effective storage capacity on one line of the compressed image data memory is SL bits, An image output driver IC, wherein ML>SL> ML × α is satisfied.
前記画像符号化装置の前段に、一画素についての第1の色信号を、前記第1の色信号のビット数よりも少ないビット数の第2の色信号に変換する色信号変換回路をさらに有し、
前記色信号変換回路で達成される圧縮率をk(k<1)とし、非圧縮の画像データの1ライン分のデータ量をMLビットとし、前記規定圧縮率をα(α<1)とし、前記圧縮画像データメモリの一ライン上の有効記憶容量をSビットとしたとき、ML>SL>ML×α×kが成立することを特徴とする画像出力ドライバIC。 In claim 3,
A color signal conversion circuit for converting a first color signal for one pixel into a second color signal having a number of bits smaller than the number of bits of the first color signal is further provided in a previous stage of the image encoding device. And
The compression rate achieved by the color signal conversion circuit is k (k <1), the data amount of one line of uncompressed image data is ML bits, and the specified compression rate is α (α <1). An image output driver IC, wherein ML>SL> ML × α × k is satisfied when the effective storage capacity on one line of the compressed image data memory is S bits.
前記圧縮画像データメモリは、各ラインの圧縮画像データの先頭データが、前記画像圧縮メモリの各ラインの同一アドレス上の記憶素子に記憶されていることを特徴とする画像出力ドライバIC。 In claim 3, 6 or 7,
The compressed image data memory is characterized in that the head data of the compressed image data of each line is stored in a storage element at the same address of each line of the image compression memory.
前記画像出力ドライバICは、垂直同期信号に同期した書き込み開始信号を前記画像供給側ICに送出し、
前記画像符号化装置は、前記書き込み開始信号に基づいて前記画像供給側ICから転送された前記非圧縮画像データを圧縮して、前記圧縮画像データを前記圧縮画像データメモリに転送し、
前記書き込み開始信号に基づいて前記圧縮画像データメモリに書き込み開始されるタイミングが、前記圧縮画像データメモリに対する読み出し開始タイミングよりも先行していることを特徴とする画像出力ドライバIC。 In any one of Claims 1 thru | or 8.
The image output driver IC sends a write start signal synchronized with a vertical synchronization signal to the image supply side IC,
The image encoding device compresses the uncompressed image data transferred from the image supply side IC based on the write start signal, and transfers the compressed image data to the compressed image data memory.
The image output driver IC, wherein a timing at which writing to the compressed image data memory is started based on the write start signal precedes a read start timing with respect to the compressed image data memory.
前記圧縮画像データメモリの前段に設けられた第1のラインバッファと、
前記圧縮画像データメモリと前記画像復号装置の間に設けられた第2のラインバッファと、
をさらに有し、前記第1のラインバッファから一ライン分の前記圧縮画像データが前記圧縮画像データメモリに同時に書き込まれ、前記圧縮画像データメモリより一ライン分の圧縮画像データが同時に出力されて前記第2のラインバッファに格納されることを特徴とする画像出力ドライバIC。 In any one of Claims 1 thru | or 9,
A first line buffer provided in a preceding stage of the compressed image data memory;
A second line buffer provided between the compressed image data memory and the image decoding device;
The compressed image data for one line is simultaneously written from the first line buffer to the compressed image data memory, and the compressed image data for one line is simultaneously output from the compressed image data memory to An image output driver IC stored in a second line buffer.
前記圧縮画像データメモリと前記画像復号装置の間に、第1,第2のリードラインバッファをさらに有し、
前記圧縮画像データメモリより読み出される一ライン分の前記圧縮画像データは、前記第1,第2のリードラインバッファに交互に格納され、交互に読み出されることを特徴とする画像出力ドライバIC。 In any one of Claims 1 thru | or 9,
A first read line buffer and a second read line buffer between the compressed image data memory and the image decoding device;
The image output driver IC, wherein the compressed image data for one line read from the compressed image data memory is alternately stored in the first and second read line buffers and is read alternately.
前記画像復号装置にて復号エラーが生じた時に、前記画像復号装置より前記画像符号化装置に割込み信号が供給され、前記割込み信号を受信した前記画像符号化装置は、前記復号エラーが生じたラインのみ、もしくは前記復号エラーが生じたラインを含む1フレームすべての前記圧縮画像データを再転送することを特徴とする画像出力ドライバIC。 In any one of Claims 1 thru | or 11,
When a decoding error occurs in the image decoding apparatus, an interrupt signal is supplied from the image decoding apparatus to the image encoding apparatus, and the image encoding apparatus that has received the interrupt signal receives the line in which the decoding error has occurred. An image output driver IC that re-transfers the compressed image data of all the frames including only the line in which the decoding error has occurred or only one frame.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005379090A JP2007178850A (en) | 2005-12-28 | 2005-12-28 | Image output driver ic |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005379090A JP2007178850A (en) | 2005-12-28 | 2005-12-28 | Image output driver ic |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007178850A true JP2007178850A (en) | 2007-07-12 |
Family
ID=38304082
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005379090A Withdrawn JP2007178850A (en) | 2005-12-28 | 2005-12-28 | Image output driver ic |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007178850A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007178851A (en) * | 2005-12-28 | 2007-07-12 | Seiko Epson Corp | Image controls ic |
JP2007181052A (en) * | 2005-12-28 | 2007-07-12 | Seiko Epson Corp | Image output system |
JP2007184977A (en) * | 2007-03-19 | 2007-07-19 | Seiko Epson Corp | Picture output system |
JP2009129448A (en) * | 2007-11-20 | 2009-06-11 | Seiko Epson Corp | Data processing apparatus, data processing method, and data processing system |
US8270747B2 (en) | 2008-03-28 | 2012-09-18 | Seiko Epson Corporation | Image encoding device, image decoding device, and integrated circuit |
JP2013026661A (en) * | 2011-07-15 | 2013-02-04 | Axell Corp | Image data encoding method |
CN103310722A (en) * | 2012-03-09 | 2013-09-18 | 乐金显示有限公司 | Display device and method for controlling panel self refresh operation thereof |
CN103310723A (en) * | 2012-03-09 | 2013-09-18 | 乐金显示有限公司 | Display device and method for controlling panel self refresh operation thereof |
US9936211B2 (en) | 2013-11-27 | 2018-04-03 | Samsung Display Co., Ltd. | Compression device and compression method |
Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05252353A (en) * | 1992-03-05 | 1993-09-28 | Sony Corp | Image reader |
JPH09281941A (en) * | 1996-04-15 | 1997-10-31 | Fuji Photo Film Co Ltd | Image display device |
JPH10301841A (en) * | 1997-04-30 | 1998-11-13 | Nec Corp | Memory integrated circuit, main memory system using the same and graphics memory system |
JP2001022553A (en) * | 1999-07-07 | 2001-01-26 | Nec Corp | Frame buffer device provided with digital image input- output and image display device |
JP2002108316A (en) * | 2000-09-29 | 2002-04-10 | Seiko Epson Corp | Display control method, display controller, display unit and electronic equipment |
JP2003167555A (en) * | 2001-11-29 | 2003-06-13 | Hitachi Ltd | Display control device, and display device provided therewith |
JP2005055824A (en) * | 2003-08-07 | 2005-03-03 | Seiko Epson Corp | Image display device, image display method and image display program |
JP2005316369A (en) * | 2004-04-26 | 2005-11-10 | Chunghwa Picture Tubes Ltd | Image processing method of tft-lcd |
JP2006338028A (en) * | 2005-06-04 | 2006-12-14 | Samsung Electronics Co Ltd | Display driving device and method |
JP2007072157A (en) * | 2005-09-07 | 2007-03-22 | Daio Denki Kk | Memory reduction method of driver for color flat panel display with built-in memory, and circuit |
JP2007108439A (en) * | 2005-10-13 | 2007-04-26 | Renesas Technology Corp | Display driving circuit |
JP2007181052A (en) * | 2005-12-28 | 2007-07-12 | Seiko Epson Corp | Image output system |
JP2007178851A (en) * | 2005-12-28 | 2007-07-12 | Seiko Epson Corp | Image controls ic |
JP2007184977A (en) * | 2007-03-19 | 2007-07-19 | Seiko Epson Corp | Picture output system |
JP2008532083A (en) * | 2005-02-28 | 2008-08-14 | エヌエックスピー ビー ヴィ | New compression format and apparatus using new compression format for temporarily storing image data in frame memory |
-
2005
- 2005-12-28 JP JP2005379090A patent/JP2007178850A/en not_active Withdrawn
Patent Citations (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05252353A (en) * | 1992-03-05 | 1993-09-28 | Sony Corp | Image reader |
JPH09281941A (en) * | 1996-04-15 | 1997-10-31 | Fuji Photo Film Co Ltd | Image display device |
JPH10301841A (en) * | 1997-04-30 | 1998-11-13 | Nec Corp | Memory integrated circuit, main memory system using the same and graphics memory system |
JP2001022553A (en) * | 1999-07-07 | 2001-01-26 | Nec Corp | Frame buffer device provided with digital image input- output and image display device |
JP2002108316A (en) * | 2000-09-29 | 2002-04-10 | Seiko Epson Corp | Display control method, display controller, display unit and electronic equipment |
JP2003167555A (en) * | 2001-11-29 | 2003-06-13 | Hitachi Ltd | Display control device, and display device provided therewith |
JP2005055824A (en) * | 2003-08-07 | 2005-03-03 | Seiko Epson Corp | Image display device, image display method and image display program |
JP2005316369A (en) * | 2004-04-26 | 2005-11-10 | Chunghwa Picture Tubes Ltd | Image processing method of tft-lcd |
JP2008532083A (en) * | 2005-02-28 | 2008-08-14 | エヌエックスピー ビー ヴィ | New compression format and apparatus using new compression format for temporarily storing image data in frame memory |
JP2006338028A (en) * | 2005-06-04 | 2006-12-14 | Samsung Electronics Co Ltd | Display driving device and method |
JP2007072157A (en) * | 2005-09-07 | 2007-03-22 | Daio Denki Kk | Memory reduction method of driver for color flat panel display with built-in memory, and circuit |
JP2007108439A (en) * | 2005-10-13 | 2007-04-26 | Renesas Technology Corp | Display driving circuit |
JP2007181052A (en) * | 2005-12-28 | 2007-07-12 | Seiko Epson Corp | Image output system |
JP2007178851A (en) * | 2005-12-28 | 2007-07-12 | Seiko Epson Corp | Image controls ic |
JP2007184977A (en) * | 2007-03-19 | 2007-07-19 | Seiko Epson Corp | Picture output system |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007178851A (en) * | 2005-12-28 | 2007-07-12 | Seiko Epson Corp | Image controls ic |
JP2007181052A (en) * | 2005-12-28 | 2007-07-12 | Seiko Epson Corp | Image output system |
JP2007184977A (en) * | 2007-03-19 | 2007-07-19 | Seiko Epson Corp | Picture output system |
JP2009129448A (en) * | 2007-11-20 | 2009-06-11 | Seiko Epson Corp | Data processing apparatus, data processing method, and data processing system |
JP4609568B2 (en) * | 2007-11-20 | 2011-01-12 | セイコーエプソン株式会社 | Data processing apparatus, data processing method, and data processing system |
US8270747B2 (en) | 2008-03-28 | 2012-09-18 | Seiko Epson Corporation | Image encoding device, image decoding device, and integrated circuit |
JP2013026661A (en) * | 2011-07-15 | 2013-02-04 | Axell Corp | Image data encoding method |
CN103310722A (en) * | 2012-03-09 | 2013-09-18 | 乐金显示有限公司 | Display device and method for controlling panel self refresh operation thereof |
CN103310723A (en) * | 2012-03-09 | 2013-09-18 | 乐金显示有限公司 | Display device and method for controlling panel self refresh operation thereof |
CN103310722B (en) * | 2012-03-09 | 2015-12-23 | 乐金显示有限公司 | Display device and the method for controlling its panel self refresh operation |
CN103310723B (en) * | 2012-03-09 | 2016-05-11 | 乐金显示有限公司 | The method of the panel self refresh operation of display device and this display device of control |
US9936211B2 (en) | 2013-11-27 | 2018-04-03 | Samsung Display Co., Ltd. | Compression device and compression method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5082240B2 (en) | Image control IC | |
JP2007178850A (en) | Image output driver ic | |
US8248339B2 (en) | Display controller and display | |
US20070080971A1 (en) | Method and apparatus of image buffer compression for display device | |
JP4725321B2 (en) | Image coding apparatus and image coding method | |
US6975309B2 (en) | Display driver, and display unit and electronic instrument using the same | |
JP2000284755A (en) | Liquid crystal display device | |
US7057638B1 (en) | Stereoscopic image display apparatus | |
JP2007184977A (en) | Picture output system | |
US8233003B2 (en) | Image processing device, image processing method, and electronic instrument | |
US11151924B2 (en) | Display device displaying an image by decoding a compressed image bitstream, and method of operating the display device | |
TW201817232A (en) | Image processing method and related apparatus | |
US7761685B2 (en) | Compressing and decompressing image data without introducing artifacts | |
JP2007181052A (en) | Image output system | |
US8625677B2 (en) | Apparatus processing video stream | |
JP4835236B2 (en) | Movie display system, movie data output device, display device, and program | |
JP2001359091A (en) | Digital image output device, digital image decoder and digital image coder | |
EP1638074A2 (en) | Image display circuitry and mobile electronic device | |
US20080226164A1 (en) | Image data decoding device, image data encoding device, image processing device, and electronic instrument | |
KR100852958B1 (en) | Apparatus and control method for display driver by sub-pixel rendering and data compression | |
JP2011077970A (en) | Image processor, image display system, electronic device and image processing method | |
JP4735572B2 (en) | Image data encoding apparatus, image data decoding apparatus, image processing apparatus, and electronic apparatus | |
JP5157419B2 (en) | Image processing apparatus, image processing method, and electronic apparatus | |
US8036476B2 (en) | Image encoding/decoding device and method thereof with data blocks in a determined order | |
JP2006163201A (en) | Apparatus and method for transferring data, and image display apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20080627 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20081119 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20081119 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20081119 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110329 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110530 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120508 |
|
A761 | Written withdrawal of application |
Free format text: JAPANESE INTERMEDIATE CODE: A761 Effective date: 20120706 |