JP3192913B2 - YUV / RGB converter - Google Patents

YUV / RGB converter

Info

Publication number
JP3192913B2
JP3192913B2 JP09098295A JP9098295A JP3192913B2 JP 3192913 B2 JP3192913 B2 JP 3192913B2 JP 09098295 A JP09098295 A JP 09098295A JP 9098295 A JP9098295 A JP 9098295A JP 3192913 B2 JP3192913 B2 JP 3192913B2
Authority
JP
Japan
Prior art keywords
data
yuv
circuit
signal
rgb
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.)
Expired - Fee Related
Application number
JP09098295A
Other languages
Japanese (ja)
Other versions
JPH08289312A (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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP09098295A priority Critical patent/JP3192913B2/en
Publication of JPH08289312A publication Critical patent/JPH08289312A/en
Application granted granted Critical
Publication of JP3192913B2 publication Critical patent/JP3192913B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、複数の異なるフォーマ
ットのYUV形式データを入力し、このデータをRGB
形式のデータに変換するYUV/RGB変換器に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for inputting a plurality of different formats of YUV format data,
The present invention relates to a YUV / RGB converter for converting data into a format.

【0002】[0002]

【従来の技術】一般に、MPEGビデオデコーダやCD
−Gデコーダからは、RGBデータが出力データとして
送出されることが多いが、輝度信号Yと色差信号U(B
−Y),V(R−Y)からなるYUV形式のデータが出
力されることもある。通常、RGBデータが入力された
場合は、RGBエンコーダ内のマトリクス回路におい
て、入力されたRGBデータを輝度信号と色信号に変換
するようにしているが、YUVデータは上述したように
輝度信号と色差信号よりなるために、従来は、このよう
なYUVデータが入力されたときは、マトリクス回路に
よる変換を行うことなく、そのまま処理を行うことで十
分であった。
2. Description of the Related Art Generally, MPEG video decoders and CDs are used.
In many cases, RGB data is transmitted as output data from the -G decoder, but the luminance signal Y and the color difference signal U (B
−Y) and V (R−Y) in the YUV format may be output. Normally, when RGB data is input, the input RGB data is converted into a luminance signal and a chrominance signal in a matrix circuit in the RGB encoder, but the YUV data is converted into a luminance signal and a chrominance signal as described above. Conventionally, when such YUV data is input because it is composed of signals, it is sufficient to perform the processing without conversion by a matrix circuit.

【0003】また、MPEGビデオデコーダやCD−G
デコーダからのビデオデータに、文字等を表示するため
のOSD信号を挿入する場合は、従来は、輝度信号と色
信号を加算した信号に対し、OSD信号を挿入するよう
にしていた。
In addition, MPEG video decoders and CD-G
When an OSD signal for displaying characters or the like is inserted into video data from a decoder, an OSD signal is conventionally inserted into a signal obtained by adding a luminance signal and a chrominance signal.

【0004】[0004]

【発明が解決しようとする課題】従来は、上述したよう
に、MPEGビデオデコーダやCD−GデコーダからY
UV形式のデータが入力されたときは何ら変換を行う必
要がなかったが、このようなビデオデータにOSD信号
を挿入する場合、輝度信号と色信号を加算した後に、O
SD信号を挿入するようにしていたので、白黒の輝度成
分をもつ色しか表示できず、いわゆるカラー文字表示は
できなかった。勿論、無理にカラー表示を行うことは可
能であったが、この場合は、色信号の位相合わせ等が非
常に難しく、回路が複雑にならざるを得なかった。
Conventionally, as described above, the MPEG video decoder and the CD-G decoder
There was no need to perform any conversion when UV format data was input. However, when inserting an OSD signal into such video data, after adding a luminance signal and a chrominance signal,
Since an SD signal is inserted, only colors having a luminance component of black and white can be displayed, and so-called color character display cannot be performed. Of course, it was possible to forcibly perform color display, but in this case, it was very difficult to adjust the phase of the color signals, and the circuit had to be complicated.

【0005】そこで、YUV形式のデータを一旦RGB
データに変換し、この状態でRGB対応のOSD信号を
挿入することが考えられるが、YUV形式のデータに
は、Y,U,Vのデータがマルチプレクスされていない
第1フォーマット(以下、Y−U−Vデータと呼ぶ)、
U,Vのデータがマルチプレクスされている第2フォー
マット(以下、Y−UVデータと呼ぶ)、Y,U,Vの
全てのデータがマルチプレクスされている第3フォーマ
ット(以下、Y−UVデータと呼ぶ)というように、複
数の異なるフォーマットが存在する。従って、これらの
いずれのフォーマットにも対応できるようにするために
は、複雑な回路構成を取らざるを得なかった。
[0005] Therefore, the data of YUV format is once converted into RGB data.
It is conceivable to convert the data into data and insert an OSD signal corresponding to RGB in this state. However, in the YUV format data, Y, U, and V data are not multiplexed in a first format (hereinafter, Y-format). U-V data),
A second format in which U and V data are multiplexed (hereinafter referred to as Y-UV data), and a third format in which all Y, U and V data are multiplexed (hereinafter Y-UV data) There are a plurality of different formats. Therefore, in order to be able to cope with any of these formats, a complicated circuit configuration has to be adopted.

【0006】[0006]

【課題を解決するための手段】本発明は、上記課題を解
決するために、複数の異なるフォーマットのYUV形式
データを入力可能なデータ入力端子と、該入力端子に入
力されたYUV形式のデータを順次遅延させる複数段の
遅延回路と、該遅延回路を通して得られたYUVの各デ
ータを合成してRGBの各データを生成する合成回路
と、前記複数のフォーマットに対応した切換信号を入力
し、入力データがいずれのフォーマットであるかを識別
する識別回路と、入力データの開始を示すブランク信号
に応じてカウントを開始するカウンタと、前記複数段の
遅延回路の間に挿入され、前記識別回路の出力及び前記
カウンタの内容に応じて、いずれの遅延回路の出力を次
段の遅延回路に送出するかを選択する複数のセレクタと
を備え、マルチプレクスされていないフォーマットのY
UV形式データとマルチプレクスされているフォーマッ
トのYUV形式データとを共に、RGBデータに変換可
能としたことを特徴とする。
SUMMARY OF THE INVENTION In order to solve the above problems, the present invention provides a data input terminal capable of inputting a plurality of different formats of YUV format data, and a YUV format data input to the input terminal. A multi-stage delay circuit for sequentially delaying, a synthesizing circuit for synthesizing each data of YUV obtained through the delay circuit to generate each data of RGB, and inputting a switching signal corresponding to the plurality of formats; An identification circuit that identifies which format the data is; a counter that starts counting in response to a blank signal indicating the start of input data; and an output circuit of the identification circuit that is inserted between the delay circuits of the plurality of stages. And a plurality of selectors for selecting which output of the delay circuit is to be sent to the next-stage delay circuit in accordance with the contents of the counter. Y of the scan that has not been formatted
It is characterized in that both UV format data and multiplexed YUV format data can be converted into RGB data.

【0007】また、本発明は、更に、前記合成回路から
出力されるRGBの各データを遅延させる遅延回路を有
し、YUVの全てのデータがマルチプレクスされている
フォーマットのデータが入力された場合のみ、該合成回
路の後段の遅延回路を迂回させるようにしたことを特徴
とする。また、本発明では、前記データ入力端子はRG
Bデータを入力可能であって、前記切換信号としてRG
Bデータを示す切換信号が入力されたときは、前記遅延
回路を通して得られたYUVの各データを前記合成回路
を迂回させてそのまま出力することを特徴とする。
Further, the present invention further comprises a delay circuit for delaying each of the RGB data output from the synthesizing circuit, wherein a data in a format in which all the YUV data are multiplexed is input. Only the delay circuit at the subsequent stage of the synthesizing circuit is bypassed. In the present invention, the data input terminal is RG
B data can be input, and RG is used as the switching signal.
When a switching signal indicating the B data is input, each of the YUV data obtained through the delay circuit is output as it is, bypassing the synthesizing circuit.

【0008】[0008]

【作用】本発明では、入力されたYUV形式のデータを
順次遅延させる複数段の遅延回路を設けると共に、これ
ら複数段の遅延手段の間にセレクタを挿入し、このセレ
クタによって、YUV形式の入力データフォーマットを
識別する識別回路の出力と、入力データの開始を示すブ
ランク信号に応じてカウントを開始するカウンタの内容
に応じて、いずれの遅延手段の出力を次段の遅延手段に
送出するかが選択されるので、マルチプレクスされてい
ない第1フォーマットのYUV形式データが入力された
ときは、入力されたYUVの各データが単純に遅延され
てそのまま出力され、マルチプレクスされている第2及
び第3のフォーマットのYUV形式データが入力された
ときは、複数段の遅延回路によって、入力されたYUV
データがデマルチプレクスされてY,U,Vの各データ
が出力されることとなる。そして、これらのデータは合
成回路によって、RGBの各データの変換される。
According to the present invention, a plurality of stages of delay circuits for sequentially delaying input YUV format data are provided, and a selector is inserted between these plurality of stages of delay means. According to the output of the identification circuit for identifying the format and the contents of the counter that starts counting in response to the blank signal indicating the start of the input data, the output of which delay unit is sent to the delay unit of the next stage is selected. Therefore, when the unmultiplexed YUV format data of the first format is input, the input YUV data is simply delayed and output as it is, and the multiplexed second and third data are output. When the YUV format data of the input format is input, the input YUV
The data is demultiplexed, and each of the Y, U, and V data is output. These data are converted into RGB data by the combining circuit.

【0009】[0009]

【実施例】図6は、本発明の実施例としてのYUV/R
GB変換器を含むデジタルRGBエンコーダLSI1の
全体ブロック図であり、2,3,4はMPEGデコーダ
もしくはCD−Gデコーダから複数の異なるフォーマッ
トのYUV形式ビデオデータもしくはRGBビデオデー
タを入力するビデオデータ入力端子、5,6はYUV形
式データの複数のフォーマットに対応した2ビットの切
換信号SEL1,SEL2を入力する切換信号入力端
子、7は入力ビデオデータの存在期間を表すブランク信
号BLANKを入力するブランク信号入力端子、8は入
力端子2,3,4に入力されたYUV形式のビデオデー
タをRGB各8ビットのビデオデータに変換するYUV
/RGB変換器、9,10,11はOSD信号としての
各1ビットのOSDRGBデータOSR,OSG,OS
Bを各々入力するOSD信号入力端子、12はOSD信
号の存在期間を表すOSDブランク信号OSBLKを入
力するOSDブランク信号入力端子、13は予め複数の
RGBレベルが設定され、YUV/RGB変換器8から
のRGBビデオデータと、入力されるOSDRGBデー
タ及びOSDブランク信号とを入力し、OSD信号が無
いときは変換されたRGBデータRGBデータを出力
し、OSD信号が有るときはOSD信号に対応する設定
されたRGBデータを出力するOSD信号挿入回路、1
4はOSD信号挿入回路9から出力されたRGBデータ
を輝度信号及び色信号を表すデジタルデータに変換する
マトリクス回路である。
FIG. 6 shows a YUV / R as an embodiment of the present invention.
FIG. 1 is an overall block diagram of a digital RGB encoder LSI1 including a GB converter. Reference numerals 2, 3, and 4 denote video data input terminals for inputting a plurality of different formats of YUV format video data or RGB video data from an MPEG decoder or a CD-G decoder. , 5, and 6 are switching signal input terminals for inputting 2-bit switching signals SEL1 and SEL2 corresponding to a plurality of formats of YUV format data, and 7 is a blank signal input for inputting a blank signal BLANK representing the existence period of input video data. A terminal 8 is a YUV for converting the YUV format video data input to the input terminals 2, 3, and 4 into RGB 8-bit video data.
/ RGB converters, 9, 10, and 11 denote 1-bit OSDRGB data OSR, OSG, and OSD as OSD signals.
B, an OSD signal input terminal for inputting B, an OSD blank signal input terminal 12 for inputting an OSD blank signal OSBLK indicating an existence period of the OSD signal, a plurality of RGB levels set in advance, and a YUV / RGB converter 8 RGB video data and OSDRGB data and an OSD blank signal to be input are input. When there is no OSD signal, converted RGB data and RGB data are output, and when there is an OSD signal, settings corresponding to the OSD signal are made. OSD signal insertion circuit for outputting RGB data
Reference numeral 4 denotes a matrix circuit that converts the RGB data output from the OSD signal insertion circuit 9 into digital data representing a luminance signal and a chrominance signal.

【0010】又、15はバースト信号発生回路、16は
輝度信号処理回路、17は色信号処理回路、18及び1
9はDA変換器、20はタイミング発生回路、21,2
2,23,24,25は各々外部サブキャリアクロック
FSCIN,水平同期信号HSYNC,コンポジット同
期信号CSYNC,色信号/コンポジット映像信号切換
信号CCSEL,外部サブキャリアクロックFSCIN
の4倍の周波数のシステムクロック信号CLKINを入
力する信号入力端子である。
Reference numeral 15 denotes a burst signal generation circuit, 16 denotes a luminance signal processing circuit, 17 denotes a color signal processing circuit, and 18 and 1
9 is a DA converter, 20 is a timing generation circuit,
Reference numerals 2, 23, 24, and 25 denote an external subcarrier clock FSCIN, a horizontal synchronization signal HSYNC, a composite synchronization signal CSYNC, a color signal / composite video signal switching signal CCSEL, and an external subcarrier clock FSCIN, respectively.
This is a signal input terminal for inputting a system clock signal CLKIN having a frequency four times that of the above.

【0011】図1は、本実施例におけるYUV/RGB
変換器8の具体構成を示す回路図であり、30,31は
2ビットの切換信号SEL1,SEL2を各々入力する
Dフリップフロップ、32はDフリップフロップ30,
31の出力をデコードしてデコード信号DCS0〜DC
S3を出力するデコーダであり、これらによって、入力
データのフォーマットを識別する識別回路を構成してい
る。そして、切換信号SEL1,SEL2が、「0
0」,「01」,「10」,「11」のときは、データ
フォーマットは、各々、RGBデータ,Y−U−Vデー
タ,Y−UVデータ,YUVデータに対応し、この際、
デコード信号DCS0,DCS1,DCS2,DCS3
が各々出力される。
FIG. 1 shows YUV / RGB in this embodiment.
FIG. 3 is a circuit diagram showing a specific configuration of the converter 8, wherein 30 and 31 are D flip-flops for inputting 2-bit switching signals SEL1 and SEL2, respectively, and 32 is a D flip-flop 30;
31 and decode signals DCS0 to DCS
S3 is a decoder that outputs S3, and these constitute an identification circuit that identifies the format of the input data. Then, the switching signals SEL1 and SEL2 become “0”.
When the data format is "0", "01", "10", or "11", the data formats correspond to RGB data, YUV data, YUV data, and YUV data, respectively.
Decode signals DCS0, DCS1, DCS2, DCS3
Are respectively output.

【0012】33は2ビットのカウンタであり、入力さ
れたブランク信号BLANKの立ち下がりを検出するD
フリップフロップ34の出力によりリセットがかけられ
ることによって、ブランク信号BLANKの立ち下がり
に同期してカウントを開始し、カウント内容はデコーダ
35によりデコードされる。また、36,37,38
は、Y,U,Vの各データを入力し、所定の演算式に従
ってR,G,Bの各データを合成するR合成回路,G合
成回路,B合成回路であり、R合成回路36と入力端子
2との間には、3段のDフリップフロップ360,36
1,362からなる遅延回路が配置され、G合成回路3
7と入力端子3との間には、3段のDフリップフロップ
370,371,372からなる遅延回路が配置され、
B合成回路38と入力端子4との間には、3段のDフリ
ップフロップ380,381,382からなる遅延回路
が配置されている。そして、これら遅延回路を構成する
Dフリップフロップ間には、デコーダ32及びデコーダ
35からのデコード信号に応じて、いずれのDフリップ
フロップの出力を次段のDフリップフロップに送出する
かを選択するためのセレクタ363,364,373,
374,384が挿入されている。これらの各セレクタ
には、すぐ後のDフリップフロップ361,362,3
71,372,382の出力が、帰還されている。
Reference numeral 33 denotes a 2-bit counter which detects a falling edge of the input blank signal BLANK.
By being reset by the output of the flip-flop 34, counting is started in synchronization with the fall of the blank signal BLANK, and the count contents are decoded by the decoder 35. 36, 37, 38
Are an R combining circuit, a G combining circuit, and a B combining circuit that input each data of Y, U, and V and combine each data of R, G, and B according to a predetermined arithmetic expression. A three-stage D flip-flop 360, 36
1, 362 and a G synthesizing circuit 3
7 and an input terminal 3, a delay circuit composed of three stages of D flip-flops 370, 371 and 372 is arranged.
A delay circuit including three-stage D flip-flops 380, 381, and 382 is arranged between the B combining circuit 38 and the input terminal 4. Then, between the D flip-flops constituting these delay circuits, in order to select which output of the D flip-flop is to be sent to the next D flip-flop in accordance with the decode signal from the decoder 32 and the decoder 35. Selectors 363, 364, 373,
374 and 384 are inserted. Each of these selectors has a D flip-flop 361, 362, 3
Outputs of 71, 372 and 382 are fed back.

【0013】更に、R合成回路36とRデータの出力端
子365の間にも、セレクタ366、Dフリップフロッ
プ367、セレクタ368が順に接続されており、同様
に、G合成回路37とGデータの出力端子375の間に
も、セレクタ376、Dフリップフロップ377、セレ
クタ378が順に接続され、B合成回路38とBデータ
の出力端子385の間にも、セレクタ386、Dフリッ
プフロップ387、セレクタ388が順に接続されてい
る。尚、各Dフリップフロップ及びカウンタは、全て同
一のクロック信号CLKINに同期して動作する。
Further, a selector 366, a D flip-flop 367, and a selector 368 are sequentially connected between the R synthesizing circuit 36 and the R data output terminal 365. Similarly, the G synthesizing circuit 37 and the G data output terminal are connected. A selector 376, a D flip-flop 377, and a selector 378 are also connected between the terminals 375 in order. A selector 386, a D flip-flop 387, and a selector 388 are also connected between the B synthesizing circuit 38 and the B data output terminal 385. It is connected. The D flip-flops and counters all operate in synchronization with the same clock signal CLKIN.

【0014】以下、本実施例の動作を詳細に説明する。
まず、第1フォーマットのY−U−Vデータが入力され
たときは、切換信号SEL1,SEL2として「01」
が入力されるので、デコーダ32からデコード信号DC
S1が出力される。この信号DCS1が出力されると、
遅延回路段に挿入された全てのセレクタ363,36
4,373,374,384は、YUVの各々の遅延段
において前段の遅延回路の出力を選択するので、入力端
子2,3,4に各々入力されたY,U,Vデータは全て
3段の遅延回路によって3クロック分遅延されて、R,
G,Bの合成回路36,37,38に入力される。
Hereinafter, the operation of this embodiment will be described in detail.
First, when YUV data of the first format is input, "01" is set as the switching signals SEL1 and SEL2.
Is input, the decoder 32 outputs the decode signal DC
S1 is output. When this signal DCS1 is output,
All selectors 363 and 36 inserted in the delay circuit stage
4, 373, 374, and 384 select the output of the preceding delay circuit in each of the delay stages of YUV, so that the Y, U, and V data input to the input terminals 2, 3, and 4 are all three stages. Delayed by three clocks by the delay circuit,
G and B are input to the synthesis circuits 36, 37 and 38.

【0015】また、この場合は、セレクタ366,37
6,386は各合成回路の出力を選択し、セレクタ36
8,378,388は直前のDフリップフロップ36
7,377,387の出力を選択するので、出力端子3
65,375,385には、合成回路36,37,38
から各々出力されたR,G,Bの各データを1クロック
遅延させたデータが、各々出力されることとなる。
In this case, the selectors 366, 37
6, 386 select the output of each synthesis circuit and
8, 378 and 388 are the D flip-flop 36 immediately before.
7, 377 and 387 are selected.
65, 375, and 385 include synthesis circuits 36, 37, and 38, respectively.
, The data obtained by delaying the R, G, and B data output by one clock, respectively, are output.

【0016】一方、RGB形式のデータが入力されたと
きは、切換信号SEL1,SEL2として「00」が入
力されるので、デコーダ32からデコード信号DCS0
が出力される。この信号DCS0が出力されると、遅延
回路段に挿入された全てのセレクタ363,364,3
73,374,384は、Y−U−Vデータの場合と同
様RGBの各々の遅延段において前段の遅延回路の出力
を選択するので、入力端子2,3,4に各々入力された
R,G,Bデータは全て3段の遅延回路によって3クロ
ック分遅延される。しかしながら、この場合には、セレ
クタ366,376,386がR,G,Bの各合成回路
36,37,38の出力ではなく入力を選択するので、
この入力がDフリップフロップ367,377,387
に印加される。そして、セレクタ368,378,38
8はこのDフリップフロップ367,377,387の
出力を選択するので、出力端子365,375,385
には、結局、入力端子2,3,4に入力されたR,G,
Bの各データが4クロック遅延されて各々出力されるこ
ととなる。
On the other hand, when RGB format data is input, "00" is input as switching signals SEL1 and SEL2.
Is output. When this signal DCS0 is output, all the selectors 363, 364, 3
73, 374, and 384 select the output of the preceding delay circuit in each of the RGB delay stages as in the case of the YUV data, so that R and G input to the input terminals 2, 3, and 4, respectively. , B data are all delayed by three clocks by a three-stage delay circuit. However, in this case, the selectors 366, 376, and 386 select the inputs, not the outputs, of the R, G, and B combining circuits 36, 37, and 38.
This input is a D flip-flop 367, 377, 387
Is applied to Then, the selectors 368, 378, 38
8 selects the outputs of the D flip-flops 367, 377, 387, so that the output terminals 365, 375, 385
In the end, R, G, input to the input terminals 2, 3, 4
Each data of B is output after being delayed by four clocks.

【0017】次に、マルチプレクスされた第2フォーマ
ットのY−UVデータを入力する場合は、Yデータが入
力端子2に印加され、UデータとVデータがマルチプレ
クスされたUVデータが入力端子4に入力される。そし
て、切換信号SEL1,SEL2としては「10」が入
力され、デコーダ32からデコード信号DCS2が出力
される。この信号DCS2が出力されると、遅延回路段
に挿入されたセレクタのうちセレクタ363,364は
各々前段のDフリップフロップ360、361の出力を
選択し、セレクタ373はUVデータが入力されたDフ
リップフロップ380の出力を選択するので、結局、図
2に示すような接続状態となる。以下、図2及び図4の
タイミングチャートを参照しながら、動作の詳細を説明
する。
Next, when the multiplexed Y-UV data of the second format is input, the Y data is applied to the input terminal 2 and the UV data obtained by multiplexing the U data and the V data is input to the input terminal 4. Is input to Then, “10” is input as the switching signals SEL1 and SEL2, and the decoder 32 outputs the decode signal DCS2. When this signal DCS2 is output, the selectors 363 and 364 among the selectors inserted into the delay circuit stage select the outputs of the D flip-flops 360 and 361 of the preceding stage, respectively, and the selector 373 sets the D flip-flop to which the UV data is input. Since the output of the loop 380 is selected, the connection state finally becomes as shown in FIG. Hereinafter, the operation will be described in detail with reference to the timing charts of FIGS.

【0018】入力されたYデータは、Dフリップフロッ
プ360によって図4イに示すように1クロック分遅延
されてaとなり、更に後段の2段のDフリップフロップ
361,362によって、図4サに示すように合計3ク
ロック分遅延されて、後段の合成回路36,37,38
に送出される。カウンタ33はブランク信号BLANK
(図4エ)の立ち下がりに応じて、カウントを開始し、
そのビット数が2ビットであるため、図4オに示すよう
にカウント内容cntは「0」,「1」,「2」,
「3」を順次繰り返す。そして、セレクタ374,38
4は、カウンタ33の内容cntが「1」,「3」とい
う奇数のときのみ、各々、Dフリップフロップ371,
380の出力を選択し、カウンタ33の内容が「0」,
「2」という偶数のときは、共に後段のDフリップフロ
ップ372,382の帰還出力を選択するので、セレク
タ374の出力dとしては、図4カのマルチプレクスさ
れたUVデータcのうち、カウント値が奇数であるとき
のUデータのみが図4キの如く取り出され、カウント値
が偶数のときは取り出されたUデータがそのまま保持さ
れる。また、セレクタ384の出力eとしては、図4ウ
のマルチプレクスされたUVデータbのうち、カウント
値が奇数であるときのVデータのみが図4ケの如く取り
出され、カウント値が偶数のときは取り出されたVデー
タがそのまま保持される。従って、Dフリップフロップ
372,382からは、各々図4ク,コに示すように、
図4キ,ケのデータd,eを1クロック分遅延させたU
データ,Vデータが出力されることとなる。これらの
U,Vデータの遅延量はYデータ同様3クロック分であ
る。
The input Y data is delayed by one clock as shown in FIG. 4A by a D flip-flop 360 to become a, and is further shown by two subsequent D flip-flops 361 and 362 as shown in FIG. Thus, the signal is delayed by a total of three clocks, and the synthesis circuits 36, 37,
Sent to The counter 33 has a blank signal BLANK.
Counting is started in response to the falling edge of FIG.
Since the number of bits is 2 bits, the count content cnt is “0”, “1”, “2”,
"3" is sequentially repeated. And selectors 374, 38
4 are the D flip-flops 371 and 171 only when the content cnt of the counter 33 is an odd number of “1” and “3”, respectively.
380 output is selected, and the content of the counter 33 is "0",
When the even number “2” is selected, the feedback output of the D flip-flops 372 and 382 at the subsequent stage is selected, so that the output d of the selector 374 is the count value of the multiplexed UV data c of FIG. Only when the count value is an odd number, only the U data is extracted as shown in FIG. 4, and when the count value is an even number, the extracted U data is held as it is. As the output e of the selector 384, only the V data when the count value is an odd number is extracted as shown in FIG. 4 from the multiplexed UV data b in FIG. Holds the extracted V data as it is. Accordingly, from the D flip-flops 372 and 382, as shown in FIGS.
FIG. 4 U in which data d and e of FIG.
Data and V data are output. The amount of delay of these U and V data is three clocks like Y data.

【0019】最後に、マルチプレクスされた第3フォー
マットのYUVデータを入力する場合は、このマルチプ
レクスされたYUVデータが入力端子4に入力される。
そして、切換信号SEL1,SEL2としては「11」
が入力され、デコーダ32からデコード信号DCS3が
出力される。この信号DCS3が出力されたときは、遅
延回路段に挿入された全てのセレクタはカウンタ33の
内容に応じて選択を行い、実質的には、図3に示すよう
な接続状態となる。以下、図3及び図5のタイミングチ
ャートを参照しながら動作の詳細を説明する。
Finally, when inputting the multiplexed YUV data in the third format, the multiplexed YUV data is input to the input terminal 4.
The switching signals SEL1 and SEL2 are "11".
And the decoder 32 outputs a decode signal DCS3. When this signal DCS3 is output, all the selectors inserted in the delay circuit stage make selection according to the contents of the counter 33, and the connection state is substantially as shown in FIG. Hereinafter, the details of the operation will be described with reference to the timing charts of FIGS.

【0020】まず、セレクタ363は、カウンタ33の
内容cntが「1」,「3」という奇数のときのみ、前
段のDフリップフロップ360の出力aを選択し、
「0」,「2」という偶数のときは後段のDフリップフ
ロップ361の帰還出力を選択するので、その出力bは
図5オに示すように、カウント値が奇数であるときのY
データのみが取り出され、カウント値が偶数のときは取
り出されたYデータがそのまま保持される。次のセレク
タ364は、カウンタ33の内容cntが偶数のときの
み前段のDフリップフロップ361の出力を選択し、奇
数のときは後段のDフリップフロップ362の帰還出力
を選択するので、その出力cは図5カに示すように、カ
ウント値が偶数であるときは図5オのYデータbが1ク
ロック遅延されたYデータが選択され、カウント値が奇
数のときはDフリップフロップ362の帰還出力が選択
される。そして、次段のDフリップフロップ362によ
って更に1クロック分遅延され、図5キの如きYデータ
のみデマルチプレクスされて出力される。但し、この場
合、出力されるYデータは、入力されたデータに比べ4
クロック分遅延されている。
First, the selector 363 selects the output a of the preceding D flip-flop 360 only when the content cnt of the counter 33 is an odd number of "1" and "3".
When the even value of "0" or "2" is selected, the feedback output of the subsequent D flip-flop 361 is selected. Therefore, as shown in FIG.
Only the data is extracted, and when the count value is an even number, the extracted Y data is held as it is. The next selector 364 selects the output of the preceding D flip-flop 361 only when the content cnt of the counter 33 is an even number, and selects the feedback output of the succeeding D flip-flop 362 when the content cnt of the counter 33 is an odd number. As shown in FIG. 5, when the count value is an even number, Y data obtained by delaying the Y data b in FIG. 5 by one clock is selected, and when the count value is an odd number, the feedback output of the D flip-flop 362 is selected. Selected. Then, the data is further delayed by one clock by the next D flip-flop 362, and only the Y data as shown in FIG. 5 is demultiplexed and output. However, in this case, the output Y data is 4 times smaller than the input data.
Delayed by clock.

【0021】一方、セレクタ373は、カウンタ33の
内容cntが「0」,「2」という偶数のときのみ、D
フリップフロップ360の出力を選択し、「1」,
「3」という奇数のときは後段のDフリップフロップ3
71の帰還出力を選択するので、その出力dは図5クに
示すように、カウント値が偶数であるときのUデータ及
びVデータが取り出され、カウント値が偶数のときは取
り出されたデータがそのまま保持される。そして、次段
のDフリップフロップ371によって更に1クロック分
遅延され、図5ケの如きUVデータeが得られる。次の
セレクタ374は、カウンタ33の内容が「2」のとき
のみ前段のDフリップフロップ371の出力を選択し、
それ以外では後段のDフリップフロップ372の帰還出
力を選択するので、その出力fは図5コに示すように、
カウント値が「2」であるときのUデータのみが取り出
され、カウント値が「2」以外のときは取り出されたU
データが保持される。そして、次段のDフリップフロッ
プ372によって更に1クロック分遅延され、図5サの
如きUデータのみが得られる。
On the other hand, only when the content cnt of the counter 33 is an even number “0” or “2”, the selector
The output of the flip-flop 360 is selected, and "1",
If the odd number is "3", the subsequent D flip-flop 3
As shown in FIG. 5C, U and V data when the count value is an even number are taken out, and when the count value is an even number, the taken out data is taken out. It is kept as it is. Then, the data is further delayed by one clock by the next-stage D flip-flop 371 to obtain UV data e as shown in FIG. The next selector 374 selects the output of the preceding D flip-flop 371 only when the content of the counter 33 is “2”,
Otherwise, since the feedback output of the subsequent D flip-flop 372 is selected, its output f is, as shown in FIG.
Only the U data when the count value is “2” is extracted, and when the count value is other than “2”, the extracted U data
Data is retained. Then, the data is further delayed by one clock by the next-stage D flip-flop 372, and only U data as shown in FIG. 5 is obtained.

【0022】また、セレクタ384は、カウンタ33の
内容cntが「2」のときのみDフリップフロップ36
0の出力を選択し、それ以外では後段のDフリップフロ
ップ382の帰還出力を選択するので、その出力gは図
5シに示すように、カウント値が「2」であるときのV
データのみが取り出され、カウント値が「2」以外のと
きは取り出されたVデータが保持される。そして、次段
のDフリップフロップ382によって更に1クロック分
遅延され、図5スの如きVデータのみが得られる。
The selector 384 operates the D flip-flop 36 only when the content cnt of the counter 33 is "2".
Since the output of 0 is selected and the feedback output of the subsequent D flip-flop 382 is selected in other cases, the output g thereof is V when the count value is "2" as shown in FIG.
Only data is taken out, and when the count value is other than "2", the taken out V data is held. Then, the data is further delayed by one clock by the next-stage D flip-flop 382 to obtain only V data as shown in FIG.

【0023】但し、この場合もYデータ同様、Uデータ
及びVデータは入力されたデータに比べ4クロック分遅
延される。このように、YUVデータのデマルチプレク
スは実現されるが、得られたY,U,Vの各データの遅
延量は4クロック分と、他のフォーマットの場合に比べ
1クロック分多いので、最終段のセレクタ368,37
8,388では、Dフリップフロップ367,378,
388の出力ではなく、RGBの各合成回路36,3
7,38の出力をそのまま出力端子365,375,3
85に出力するようにして、遅延量を合わせるようにし
ている。
However, in this case, similarly to the Y data, the U data and the V data are delayed by four clocks as compared with the input data. As described above, the demultiplexing of the YUV data is realized, but the delay amount of each of the obtained Y, U, and V data is four clocks, which is one clock longer than in the other formats. Stage selectors 368, 37
8, 388, D flip-flops 367, 378,
Each of the RGB synthesizing circuits 36, 3
Outputs 365, 375, 3 of output terminals 7, 38 as they are
85 to adjust the amount of delay.

【0024】以上のようにしてRGBデータが得られた
後は、これらデータはOSD信号挿入回路13に入力さ
れ、ここで、入力端子9,10,11に入力されたRG
B対応のOSD信号がOSDブランク信号に基づき挿入
される。即ち、OSD信号が存在しないときは、YUV
/RGB変換器8からのRGBデータがそのまま出力さ
れ、OSD信号が存在するときはその内容に応じた所定
の設定されたRGBデータが出力される。そして、これ
らのRGBデータがマトリクス回路14によって、輝度
信号Y及び色信号Cに変換され、変換された輝度信号Y
及び色信号Cは、輝度信号処理回路16及び色信号処理
回路17に各々入力される。
After the RGB data is obtained as described above, these data are input to the OSD signal insertion circuit 13, where the RGB data input to the input terminals 9, 10, 11 are input.
The OSD signal corresponding to B is inserted based on the OSD blank signal. That is, when there is no OSD signal, YUV
The RGB data from the / RGB converter 8 is output as it is, and when an OSD signal exists, predetermined RGB data according to the content of the OSD signal is output. The RGB data is converted by the matrix circuit 14 into a luminance signal Y and a chrominance signal C, and the converted luminance signal Y
And the chrominance signal C are input to the luminance signal processing circuit 16 and the chrominance signal processing circuit 17, respectively.

【0025】輝度信号処理回路16には、コンポジット
同期信号CSYNC及びブランク信号BLANKが入力
されており、回路内でタイミング信号に基づきこれら同
期信号と同期がとられ、同期した輝度信号がDA変換器
18に入力され、ここで、アナログ信号に変換されて出
力される。バースト信号発生回路15は、外部からのサ
ブキャリアクロックFSCIN,水平同期信号HSYN
C,システムクロック信号CLKINからバースト信号
を生成して色信号処理回路17に出力し、色信号処理回
路17はマトリクス回路14からの色信号Cにバースト
信号を付加する処理を行う。又、この色信号処理回路1
7は、色信号とコンポジット映像信号とを切り換えて出
力する機能を有しており、切換信号CCSELがHレベ
ルのときはバースト信号を付加した色信号をDA変換器
19に出力し、切換信号CCSELがLレベルのとき
は、コンポジットブランク信号BLANK及びタイミン
グ信号に基づき、バースト信号を付加した色信号に更に
輝度信号を付加してコンポジット映像信号を生成し、こ
の信号をDA変換器19に出力する。そして、DA変換
器でこれら信号はアナログ信号に変換され出力される。
The luminance signal processing circuit 16 receives a composite synchronizing signal CSYNC and a blank signal BLANK. The luminance signal processing circuit 16 synchronizes with the synchronizing signal based on a timing signal in the circuit. , Where it is converted to an analog signal and output. The burst signal generation circuit 15 is provided with a subcarrier clock FSCIN and a horizontal synchronization signal HSYN from outside.
C, a burst signal is generated from the system clock signal CLKIN and output to the color signal processing circuit 17. The color signal processing circuit 17 performs a process of adding the burst signal to the color signal C from the matrix circuit 14. Also, this color signal processing circuit 1
Reference numeral 7 has a function of switching and outputting a color signal and a composite video signal. When the switching signal CCSEL is at an H level, the switching signal CCSEL outputs a color signal to which a burst signal is added to the DA converter 19, and the switching signal CCSEL Is low, a luminance signal is further added to the color signal to which the burst signal has been added based on the composite blank signal BLANK and the timing signal to generate a composite video signal, and this signal is output to the DA converter 19. These signals are converted into analog signals by a DA converter and output.

【0026】以上のようにして、デジタルRGBエンコ
ード処理が実行される。
As described above, the digital RGB encoding process is executed.

【0027】[0027]

【発明の効果】本発明によれば、マルチプレクスされて
いないフォーマットのYUV形式データとマルチプレク
スされているフォーマットのYUV形式データという異
なる複数のフォーマットのYUV形式データを、回路構
成を複雑にすることなく且つ確実にRGBデータに変換
できるようになる。更には、1個のLSIによってわず
かの構成の付加により、RGBデータをも入力できるよ
うにすることが可能となる。
According to the present invention, the circuit configuration of the YUV format data in a plurality of different formats, that is, the YUV format data in a non-multiplexed format and the YUV format data in a multiplexed format, is complicated. It can be converted to RGB data without any need. Further, it is possible to input RGB data by adding a small configuration with one LSI.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施例としてのYUV/RGB変換器
の構成を示す回路図である。
FIG. 1 is a circuit diagram showing a configuration of a YUV / RGB converter as an embodiment of the present invention.

【図2】実施例においてY−UVデータを入力する場合
の構成を示す回路図である。
FIG. 2 is a circuit diagram showing a configuration when inputting Y-UV data in the embodiment.

【図3】実施例においてYUVデータを入力する場合の
構成を示す回路図である。
FIG. 3 is a circuit diagram showing a configuration when inputting YUV data in the embodiment.

【図4】実施例においてY−UVデータを入力する場合
のタイミングチャートを示す図である。
FIG. 4 is a diagram showing a timing chart when inputting Y-UV data in the embodiment.

【図5】実施例においてYUVデータを入力する場合の
タイミングチャートを示す図である。
FIG. 5 is a diagram showing a timing chart when inputting YUV data in the embodiment.

【図6】実施例としてのYUV/RGB変換器を含むデ
ジタルRGBエンコーダLSIの全体ブロック図であ
る。
FIG. 6 is an overall block diagram of a digital RGB encoder LSI including a YUV / RGB converter as an embodiment.

【符号の説明】[Explanation of symbols]

2,3,4 データ入力端子 5,6 切換信号入力端子 7 ブランク信号入力端子 8 YUV/RGB変換器 9,10,11 OSD信号入力端子 12 OSDブランク信号入力端子 13 OSD信号挿入回路 14 マトリクス回路 15 バースト信号発生回路 16 輝度信号処理回路 17 色信号処理回路 18,19 DA変換器 32,35 デコーダ 33 カウンタ 36 R合成回路 37 G合成回路 38 B合成回路 360,361,362,367 Dフリップフロップ 370,371,372,377 Dフリップフロップ 380,381,382,387 Dフリップフロップ 363,364,366,368 セレクタ 373,374,376,378 セレクタ 384,386,388 セレクタ 2, 3, 4 Data input terminal 5, 6 Switching signal input terminal 7 Blank signal input terminal 8 YUV / RGB converter 9, 10, 11 OSD signal input terminal 12 OSD blank signal input terminal 13 OSD signal insertion circuit 14 Matrix circuit 15 Burst signal generation circuit 16 Luminance signal processing circuit 17 Color signal processing circuit 18, 19 DA converter 32, 35 Decoder 33 Counter 36 R synthesis circuit 37 G synthesis circuit 38 B synthesis circuit 360, 361, 362, 367 D flip-flop 370, 371,372,377 D flip-flop 380,381,382,387 D flip-flop 363,364,366,368 selector 373,374,376,378 selector 384,386,388 selector

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04N 9/67 ──────────────────────────────────────────────────続 き Continued on front page (58) Field surveyed (Int.Cl. 7 , DB name) H04N 9/67

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数の異なるフォーマットのYUV形式
データを入力可能なデータ入力端子と、該入力端子に入
力されたYUV形式のデータを順次遅延させる複数段の
遅延回路と、該遅延回路を通して得られたYUVの各デ
ータを合成してRGBの各データを生成する合成回路
と、前記複数のフォーマットに対応した切換信号を入力
し、入力データがいずれのフォーマットであるかを識別
する識別回路と、入力データの開始を示すブランク信号
に応じてカウントを開始するカウンタと、前記複数段の
遅延回路の間に挿入され、前記識別回路の出力及び前記
カウンタの内容に応じて、いずれの遅延回路の出力を次
段の遅延回路に送出するかを選択する複数のセレクタと
を備え、マルチプレクスされていないフォーマットのY
UV形式データとマルチプレクスされているフォーマッ
トのYUV形式データとを共に、RGBデータに変換可
能としたことを特徴とするYUV/RGB変換器。
1. A data input terminal capable of inputting a plurality of YUV format data in different formats, a multi-stage delay circuit for sequentially delaying YUV format data input to the input terminal, and a delay circuit obtained through the delay circuit. A synthesizing circuit for synthesizing the respective YUV data to generate RGB data, an identification circuit for inputting a switching signal corresponding to the plurality of formats and identifying which format the input data is; A counter that starts counting in response to a blank signal indicating the start of data, and a counter that is inserted between the delay circuits of the plurality of stages and outputs any one of the delay circuits according to the output of the identification circuit and the content of the counter. A plurality of selectors for selecting whether to send the signal to a delay circuit of the next stage, and a Y signal of a format which is not multiplexed.
A YUV / RGB converter wherein both UV format data and multiplexed YUV format data can be converted to RGB data.
【請求項2】 請求項1記載のYUV/RGB変換器
は、更に、前記合成回路から出力されるRGBの各デー
タを遅延させる遅延回路を有し、YUVの全てのデータ
がマルチプレクスされているフォーマットのデータが入
力された場合のみ、該合成回路の後段の遅延回路を迂回
させるようにしたことを特徴とするYUV/RGB変換
器。
2. The YUV / RGB converter according to claim 1, further comprising a delay circuit for delaying each of the RGB data output from said synthesizing circuit, wherein all the YUV data are multiplexed. A YUV / RGB converter characterized in that a delay circuit at a subsequent stage of the synthesizing circuit is bypassed only when format data is input.
【請求項3】 請求項1記載のYUV/RGB変換器に
おいて、前記データ入力端子はRGBデータを入力可能
であって、前記切換信号としてRGBデータを示す切換
信号が入力されたときは、前記遅延回路を通して得られ
たRGBの各データを前記合成回路を迂回させてそのま
ま出力することを特徴としたYUV/RGB変換器。
3. The YUV / RGB converter according to claim 1, wherein said data input terminal is capable of inputting RGB data, and said delay is provided when a switching signal indicating RGB data is input as said switching signal. A YUV / RGB converter characterized in that RGB data obtained through a circuit is output as it is, bypassing the synthesizing circuit.
JP09098295A 1995-04-17 1995-04-17 YUV / RGB converter Expired - Fee Related JP3192913B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP09098295A JP3192913B2 (en) 1995-04-17 1995-04-17 YUV / RGB converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP09098295A JP3192913B2 (en) 1995-04-17 1995-04-17 YUV / RGB converter

Publications (2)

Publication Number Publication Date
JPH08289312A JPH08289312A (en) 1996-11-01
JP3192913B2 true JP3192913B2 (en) 2001-07-30

Family

ID=14013732

Family Applications (1)

Application Number Title Priority Date Filing Date
JP09098295A Expired - Fee Related JP3192913B2 (en) 1995-04-17 1995-04-17 YUV / RGB converter

Country Status (1)

Country Link
JP (1) JP3192913B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100374567B1 (en) 2000-09-29 2003-03-04 삼성전자주식회사 Device for driving color display of mobile phone having color display
KR100410401B1 (en) * 2001-04-25 2003-12-18 주식회사 하이닉스반도체 Method for conversion of Red, Green, Blue signal and apparatus using the same

Also Published As

Publication number Publication date
JPH08289312A (en) 1996-11-01

Similar Documents

Publication Publication Date Title
FI80181B (en) FILTERSYSTEM FOER EN VIDEOBILD AV REDUCERAD RESOLUTION.
JP5414797B2 (en) Transmitting apparatus, receiving apparatus, system, and method used therein
JPS61224577A (en) Display unit
US4612568A (en) Burst-to-line-locked clock digital video signal sample rate conversion apparatus
JP2762287B2 (en) Television receiver with switching signal in memory
US4656516A (en) Vertical subsampling and memory synchronization system for a picture within a picture television receiver
JP3192913B2 (en) YUV / RGB converter
US5631713A (en) Video processor with field memory for exclusively storing picture information
JP2008236725A (en) Video output device, video output method and video output program, video processing system, video processing device, video processing method and video processing program
JPS63316584A (en) Large vertical/horizontal ratio display forming equipment
US20020118957A1 (en) Apparatus and method for playing back video
JPH08289313A (en) Digital rgb encoder
JP2000152030A (en) Video signal processing circuit
KR970010396B1 (en) A color compensation circuit for picture in picture on television screen
JPH08137444A (en) Liquid crystal multiscan displaying method and device therefor
US7295246B2 (en) Picture signal processing circuit
KR0150965B1 (en) The signal process circuit of wide tv
KR100251854B1 (en) The apparatus for picture in picture(pip) process
KR910007543B1 (en) Input data changing circuit
JP2943195B2 (en) Integrated circuit for storing small screen information
KR0186137B1 (en) Brightness and color signal separating circuit of image signal controller
US6052154A (en) Image processing device with expander minimizing memory requirements for obtaining multiple sub window image data
JPS6333074A (en) Character signal inserting device
JP2003029691A (en) Pixel number converting device
KR20040037595A (en) Apparatus and method of outputting rgb signal

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080525

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090525

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090525

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100525

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110525

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120525

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees