JP2008005123A - Video data transmission device, video data receiving device, and video data transmission system - Google Patents
Video data transmission device, video data receiving device, and video data transmission system Download PDFInfo
- Publication number
- JP2008005123A JP2008005123A JP2006171421A JP2006171421A JP2008005123A JP 2008005123 A JP2008005123 A JP 2008005123A JP 2006171421 A JP2006171421 A JP 2006171421A JP 2006171421 A JP2006171421 A JP 2006171421A JP 2008005123 A JP2008005123 A JP 2008005123A
- Authority
- JP
- Japan
- Prior art keywords
- time information
- video data
- synchronization signal
- unit
- packet
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/236—Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
- H04N21/23602—Multiplexing isochronously with the video sync, e.g. according to bit-parallel or bit-serial interface formats, as SDI
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/242—Synchronization processes, e.g. processing of PCR [Program Clock References]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/434—Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
- H04N21/4342—Demultiplexing isochronously with video sync, e.g. according to bit-parallel or bit-serial interface formats, as SDI
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Synchronisation In Digital Transmission Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Description
本発明は、映像データ送信装置、映像データ受信装置および映像データ伝送システムに関するものであり、特に、IEEE1394−1995等の通信方式で、映像データを送信する映像データ送信装置、映像データを受信する映像データ受信装置および映像データを伝送する映像データ伝送システムに関するものである。 The present invention relates to a video data transmission device, a video data reception device, and a video data transmission system, and in particular, a video data transmission device that transmits video data and a video that receives video data by a communication method such as IEEE 1394-1995. The present invention relates to a data receiving apparatus and a video data transmission system for transmitting video data.
ケーブルで直結された映像送信装置とモニタにおいて、映像データの伝送は映像データの各画素に同期した画素クロックと共に行なわれる。これに対して、IEEE1394−1995(以後、単にIEEE1394とも言う)等の通信方式で映像データを伝送する場合には、ビデオクロック自体やビデオクロック周波数の情報は伝送されない。この場合、映像送信装置とモニタなどの映像受信装置のシステムごとに独自のクロック周波数で映像データの表示処理がなされることとなる。このため、例えば、映像送信装置と映像受信装置とにおいて、同一の周波数を有するビデオクロックを与えて表示処理をしたとしても、各々のビデオクロックにおける周波数偏差やジッタなどにより、映像受信装置において再生する映像に同期ずれが発生してしまうおそれが生じていた。 In a video transmission apparatus and a monitor directly connected by a cable, transmission of video data is performed together with a pixel clock synchronized with each pixel of the video data. On the other hand, when video data is transmitted by a communication method such as IEEE 1394-1995 (hereinafter also simply referred to as IEEE 1394), information on the video clock itself and video clock frequency is not transmitted. In this case, video data display processing is performed at a unique clock frequency for each system of the video transmission device and the video reception device such as the monitor. For this reason, for example, even if a video clock having the same frequency is given to the video transmission device and the video reception device for display processing, the video reception device reproduces the video due to frequency deviation or jitter in each video clock. There was a risk that the video would be out of sync.
このような問題を解決するための技術として、特許文献1の技術が開示されている。
図9は、特許文献1の通信装置を示すブロック図である。この通信装置では、映像データを入力する端子101とは別に映像データのフレームの同期信号を入力する端子102と、伝送路を介して接続された複数の機器に略共通する時間を計時するサイクルタイマ107と、入力された同期信号と計時された時間とに基づいて時間データを生成するラッチ109とを設け、伝送路を介して接続された複数の機器において略共通に計時される時間と、映像データの正確な同期のタイミングを示すフレームの同期信号とに基づいて時間データを生成するようにすることにより、映像データのフレームの同期のタイミングを受信側に正確に伝送することができる。
FIG. 9 is a block diagram showing the communication device of
しかしながら、特許文献1の伝送装置では、映像データのフレームごとの同期ずれを補正することはできるが、ライン単位でのずれを補正することができず問題である。
However, although the transmission apparatus of
本発明は前記背景技術に鑑みなされたものであり、映像データの伝送、特にIEEE1394等の伝送方式で映像データを伝送するのに当り、ライン単位での映像ずれを補正することができる送信装置、受信装置および伝送システムを提供することを目的とする。 The present invention has been made in view of the above-described background art, and in transmitting video data, particularly transmitting video data by a transmission method such as IEEE 1394, a transmission device capable of correcting a video shift in line units, An object is to provide a receiving apparatus and a transmission system.
その解決手段は、映像データを送信する映像データ送信装置であって、時間情報を発生する時間情報発生部と、前記映像データの水平同期信号をトリガとして、前記時間情報生成部から発生される前記時間情報に応じて、同期信号時間情報を生成する同期信号時間情報生成部と、前記映像データに前記同期信号時間情報が付加されたパケットを送信するパケット送信部と、を備えることを特徴とする映像データ送信装置である。 The solution is a video data transmitting device for transmitting video data, the time information generating unit generating time information, and the time information generating unit triggered by a horizontal synchronization signal of the video data A synchronization signal time information generation unit that generates synchronization signal time information according to time information, and a packet transmission unit that transmits a packet in which the synchronization signal time information is added to the video data. A video data transmission device.
また、他の解決手段は、映像データを受信する映像データ受信装置であって、受信されたパケットから前記映像データおよび同期信号時間情報を取り出すパケット受信部と、時間情報を発生する時間情報発生部と、前記同期信号時間情報および前記時間情報の一致に応じて、水平同期信号を生成する水平同期信号生成部と、を備えることを特徴とする映像データ受信装置である。 Another solution is a video data receiving device that receives video data, a packet receiving unit that extracts the video data and synchronization signal time information from a received packet, and a time information generating unit that generates time information And a horizontal synchronization signal generation unit that generates a horizontal synchronization signal according to the synchronization signal time information and the coincidence of the time information.
さらに、他の解決手段は、映像データを伝送する映像データ伝送システムであって、送信部と、受信部と、を備え、前記送信部は、送信部側の時間情報である第1時間情報を発生する第1時間情報発生部と、前記映像データの水平同期信号をトリガとして、前記第1時間情報発生部から発生される前記第1時間情報に応じて、同期信号時間情報を生成する同期信号時間情報生成部と、前記映像データに前記同期信号時間情報が付加されたパケットを送信するパケット送信部と、を含み、前記受信部は、受信された前記パケットから前記映像データおよび前記同期信号時間情報を取り出すパケット受信部と、前記第1時間情報と同一にされた第2時間情報を発生する第2時間情報発生部と、前記同期信号時間情報および前記第2時間情報の一致に応じて、水平同期信号を生成する水平同期信号生成部と、を含むことを特徴とする映像データ伝送システムである。 Furthermore, another solution is a video data transmission system for transmitting video data, comprising a transmission unit and a reception unit, wherein the transmission unit receives first time information which is time information on a transmission unit side. A first time information generating unit that generates, and a synchronization signal that generates synchronization signal time information according to the first time information generated from the first time information generating unit, triggered by a horizontal synchronization signal of the video data A time information generation unit; and a packet transmission unit that transmits a packet in which the synchronization signal time information is added to the video data, and the reception unit receives the video data and the synchronization signal time from the received packet. A packet receiving unit for extracting information; a second time information generating unit for generating second time information that is the same as the first time information; and a match between the synchronization signal time information and the second time information. In response, the video data transmission system includes a horizontal synchronization signal generation unit that generates a horizontal synchronization signal.
本発明の映像データ送信装置、映像データ受信装置および映像データ伝送システムでは、映像データ送信装置または映像データ伝送システムの送信部(以後、送信側装置とも言う)において、映像データの水平同期信号をトリガとして、時間情報または第1時間情報に応じて、同期信号情報が生成される。この同期信号情報はパケットに付加されて、映像データ受信装置または映像データ伝送システムの受信部(以後、受信側装置とも言う)に伝送される。受信側装置では、パケットに付加された同期信号時間情報が取り出される。この同期信号時間情報が、時間情報または第2時間情報に一致するとき、受信側の水平同期信号が生成される。 In the video data transmission device, video data reception device, and video data transmission system of the present invention, the horizontal synchronization signal of the video data is triggered in the video data transmission device or the transmission unit of the video data transmission system (hereinafter also referred to as a transmission side device). As described above, the synchronization signal information is generated according to the time information or the first time information. This synchronization signal information is added to the packet and transmitted to the video data receiving device or the receiving unit of the video data transmission system (hereinafter also referred to as a receiving side device). The receiving side apparatus extracts the synchronization signal time information added to the packet. When the synchronization signal time information coincides with the time information or the second time information, a receiving side horizontal synchronization signal is generated.
これにより、送信側装置の映像クロックと受信側装置の映像クロックとの間にクロックずれが生じたとしても、送信側装置の水平同期信号のタイミングに受信側装置の水平同期信号のタイミングを合致させることができる。従って、画素の一ライン単位での映像ずれを補正することが可能となる。 As a result, even when a clock shift occurs between the video clock of the transmission side device and the video clock of the reception side device, the timing of the horizontal synchronization signal of the reception side device is matched with the timing of the horizontal synchronization signal of the transmission side device. be able to. Therefore, it is possible to correct a video shift in one line unit of the pixel.
本発明によれば、映像データの伝送、特にIEEE1394等の伝送方式で映像データを伝送するのに当り、ライン単位での映像ずれを補正することができる送信装置、受信装置および伝送システムを提供することが可能となる。 According to the present invention, there are provided a transmission device, a reception device, and a transmission system capable of correcting a video shift in line units when transmitting video data, in particular, video data using a transmission method such as IEEE 1394. It becomes possible.
以下、本発明の増幅器について具体化した実施形態を図1〜図8に基づき図面を参照しつつ詳細に説明する。 DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the amplifier according to the present invention will be described below in detail with reference to FIGS.
図1は、本実施形態にかかる伝送システム1の構成を示すブロック図である。伝送システム1は、送信部2および受信部3より構成されており、送信部2に入力される映像データGDTを、伝送路TFRを介して、受信部3に伝送するシステムである。
FIG. 1 is a block diagram showing a configuration of a
送信部2は、第1時間情報発生部4と、同期信号時間情報生成部5と、パケット送信部6とを備えている。第1時間情報発生部4は、IEEE1394では送信側のサイクルタイマに相当する部分であり、実時間に応じた時間情報を出力する。第1時間情報発生部4では、‘0000’h〜‘FFFE’hの範囲でトグルされる第1時間情報TM1が出力される。なお、後述の受信部3が備える第2時間情報発生部7から出力される第2時間情報TM2は、プロトコルによって、この第1時間情報TM1と略同一の値に設定されている。
The
同期信号時間情報生成部5は、外部から入力される映像データの水平同期信号HSYNC1をトリガとして、第1時間情報発生部4から生成される第1時間情報TM1に応じて、同期信号時間情報値TMSを生成する部分である。図2は、同期信号時間情報生成部5の構成を示すブロック図である。
The synchronization signal time
同期信号時間情報生成部5は、オフセット値設定レジスタ51と、無効パケットコード出力部52と、加算部53と、保持部54と、ラインカウンタ55と、ライン数比較部56と、同期信号時間情報選択部57とを備えている。
The synchronization signal time
オフセット値設定レジスタ51では、図示しないCPUにより、映像データの伝送に要する時間よりも長い時間が設定され、オフセット値OFSが出力されている。加算部53では、第1時間情報TM1に、オフセット値設定レジスタ51から出力されるオフセット値OFSが加算される。
In the offset
保持部54では、加算部53からの出力がD端子に接続され、水平同期信号HSYNC1がクロック端子(図中“>”記号)に接続されている。これにより、水平同期信号HSYNC1の立ち上がりエッジで加算部53からの出力が保持される。
In the
ラインカウンタ55では、水平同期信号HSYNC1がクロック端子に接続する。これにより、ラインカウンタ55では、水平同期信号HSYNC1の立ち上がりエッジでカウント出力LCT1の値が1つずつ計数されることとなる。また、ラインカウンタ55は、図示していないが送信部2側の垂直同期信号VSYNC1が活性化されるごとに初期化される。ライン数比較部56では、所定ライン数kごとに選択信号SELがハイレベルに活性化される。
In the
無効パケットコード出力部52では、常に無効パケットコードIVC(値は、‘FFFF’h)が出力されている。後述するように、受信部3では、この無効パケットコードIVCの値‘FFFF’hが同期信号時間情報値TMSとして受け取った場合には、無効として判定され、同期信号時間情報値TMSとして取り出されないこととなる。
The invalid packet
同期信号時間情報選択部57では、ライン数比較部56からの選択信号SELに応じて、無効パケットコード出力部52からの無効パケットコードIVCと、保持部54からの同期信号時間情報保持値TMSLとのいずれか一方から選択され、同期信号時間情報値TMSに出力される。具体的には、選択信号SELがローレベルの場合には、無効パケットコードIVCが選択され、選択信号SELがハイレベルの場合には、同期信号時間情報保持値TMSLが選択される。
In the synchronization signal time
次いで、同期信号時間情報生成部5の動作について図3を参照して説明する。図3は、同期信号時間情報生成部5の動作を示すタイミングチャートである。
Next, the operation of the synchronization signal time
(1)において、水平同期信号HSYNC1の立ち上がりエッジで第1時間情報TM1およびオフセット値OFSの加算値であるn+mが同期信号時間情報保持値TMSLに保持される。 In (1), at the rising edge of the horizontal synchronization signal HSYNC1, n + m, which is the added value of the first time information TM1 and the offset value OFS, is held in the synchronization signal time information holding value TMSL.
(2)において、水平同期信号HSYNC1の立ち上がりエッジでラインカウンタ55の値がインクリメントされる。これにより、ラインカウンタ55からのカウント出力LCT1はk−1からkへと変化することとなる。
In (2), the value of the
(3)において、ラインカウンタ55からのカウント出力LCT1がkに達するため、ライン数比較部56では、選択信号SELにハイレベルが出力される。
In (3), since the count output LCT1 from the
(4)において、ライン数比較部56からの選択信号SELがハイレベルに変化すると、無効パケットコードIVC(値は‘FFFF’h)に代わり、同期信号時間情報保持値TMSL(値はm+n)が選択されて、同期信号時間情報値TMSに出力されることとなる。
In (4), when the selection signal SEL from the line
(5)において、再び水平同期信号HSYNC1が立ち上がると、ラインカウンタ55からのカウント出力LCT1の値はkからk+1に変化することとなる。
In (5), when the horizontal synchronization signal HSYNC1 rises again, the value of the count output LCT1 from the
(6)において、ラインカウンタ55からのカウント出力LCT1の値がk+1に変化すると、ライン数比較部56では、選択信号SELにローレベルが出力される。
In (6), when the value of the count output LCT1 from the
(7)において、ライン数比較部56からの選択信号SELがローレベルに変化すると、同期信号時間情報保持値TMSL(値はm+n)に代わり、無効パケットコードIVC(値は‘FFFF’h)が選択されて、同期信号時間情報値TMSに出力されることとなる。
In (7), when the selection signal SEL from the line
以上、説明したとおり、水平同期信号HSYNC1がk回ごとに第1時間情報TM1にオフセット値OFSを加算した同期信号時間情報保持値TMSLが出力されることとなる。 As described above, the synchronization signal time information holding value TMSL obtained by adding the offset value OFS to the first time information TM1 is output every k times for the horizontal synchronization signal HSYNC1.
パケット送信部6は、同期信号時間情報値TMSおよび映像データGDTを入力とし、映像データGDTをパケットに変換し、さらに、同期信号時間情報値TMSをそのパケットに付加する。伝送路TFRには、パケット送信部6から変換されたパケットが送出される。
The
次いで、受信部3について説明する。受信部3は、第2時間情報発生部7と、同期信号生成部8と、パケット受信部9とを備えている。第2時間情報発生部7は、IEEE1394では、受信側のサイクルタイマに相当する部分であり、実時間に応じた時間情報を出力する。第2時間情報発生部7では、‘0000’h〜‘FFFE’hの範囲でトグルされる第2時間情報TM2が出力される。前述したように、第2時間情報TM2は、プロトコルにより、送信側のサイクルタイマである第1時間情報発生部4から出力される第1時間情報TM1と略同一の値に設定されている。
Next, the receiving
パケット受信部9は、伝送路TFRを介して伝送されたパケットを受信し、映像データGDTおよび同期信号時間情報値TMSを分離して出力する。この分離の際に、同期信号時間情報値TMSとされる値が‘FFFF’hの値をとる場合には、無効なパケットとして処理され、同期信号時間情報値TMSは出力されない。
The
同期信号生成部8は、同期信号時間情報値TMSおよび第2時間情報TM2の一致に応じて、水平同期信号HSYNC2および垂直同期信号VSYNC2を生成する部分である。図4は、同期信号生成部8の構成を示すブロック図である。
The
同期信号生成部8は、画素カウンタ81と、画素数比較部82と、ライン検出信号選択部83と、水平同期信号生成部84と、同期信号時間情報一致検出部85と、ラインカウンタ86と、ライン数比較部87と、垂直同期信号生成部88とを備えている。
The synchronization
画素カウンタ81では、外部から入力される画素クロックPCLKがクロック端子(図中では“>”記号)に入力され、ライン検出信号選択部83から出力される信号がクリア端子CLRに入力されている。これにより、画素クロックPCLKの立ち上がりエッジごとに計数され、ライン検出信号選択部83からの出力によりその内容が初期化されることとなる。また、図示していないが垂直同期信号VSYNC2が活性状態になる場合もその内容が初期化される。
In the
画素数比較部82では、画素カウンタ81からの画素カウント値PCNTが入力され、1ライン当りの画素数m−1と比較される。画素カウント値PCNTがm−1である場合には、出力に活性信号が出力される。
The pixel
同期信号時間情報一致検出部85では、第2時間情報TM2と、同期信号時間情報値TMSとが比較される。比較の結果、第2時間情報TM2と、同期信号時間情報値TMSが一致する場合には、一致出力信号TCMPには、画素クロックPCLK1周期分の正パルス信号が出力される。
The synchronization signal time information
ラインカウンタ86では、水平同期信号生成部84の出力である水平同期信号HSYNC2がクロック端子(図中では“>”記号)に、垂直同期信号生成部88の出力である垂直同期信号VSYNC2がクリア端子CLRに入力されている。これにより、水平同期信号生成部84からの水平同期信号HSYNC2の立ち上がりエッジごとに計数されて、ラインカウント値LCNTに出力される。また、ラインカウンタ86は、垂直同期信号VSYNC2の出力ごとに初期化されることとなる。
In the
ライン数比較部87では、ラインカウンタ86からのラインカウント値LCNTが入力され、所定ライン数k−1の整数倍であるか否かが比較される。ラインカウント値LCNTがk−1の整数倍である場合には、出力が活性状態となる。
In the line
ライン検出信号選択部83では、ライン数比較部87の出力に応じて、画素数比較部82の出力と、同期信号時間情報一致検出部85からの一致出力信号TCMPとのいずれか一方から選択される。具体的にはライン数比較部87の出力が活性状態の場合には、同期信号時間情報一致検出部85からの一致出力信号TCMPが選択され、ライン数比較部87の出力が非活性状態の場合には、画素数比較部82の出力が選択される。すなわち、ラインカウント値LCNTが、所定ライン数k−1の整数倍の場合のみ、一致出力信号TCMPが選択され、ライン検出信号選択部83から出力されることとなる。
The line detection
水平同期信号生成部84では、ライン検出信号選択部83の出力に応じて、水平同期信号HSYNC2が生成される。具体的には、ライン検出信号選択部83の出力がハイレベルである場合に、次の画素クロックPCLKの立ち上がりから画素クロックPCLK1周期分だけハイレベルが出力される。
In the horizontal synchronization
垂直同期信号生成部88では、ライン検出信号選択部83の出力に応じて垂直同期信号VSYNC2が生成される。具体的には、ライン検出信号選択部83の立ち上がりエッジ数が1フレームにおけるライン数に達した場合に、所定の画素クロックPCLK分だけ活性化した次のフレームの垂直同期信号VSYNC2が出力される。
In the vertical synchronization
次いで、図5を参照して同期信号生成部8のフロー動作について説明する。図5は同期信号生成部8の制御手順を示すフローチャートである。
ステップS1において、前のフレームの垂直同期信号生成部88のシーケンスに基づいて、垂直同期信号生成部88から垂直同期信号VSYNC2が出力され、フレームにおけるラインの処理が開始される。
Next, the flow operation of the
In step S1, a vertical synchronization signal VSYNC2 is output from the vertical synchronization
ステップS2において、垂直同期信号生成部88からの垂直同期信号VSYNC2の出力に応じて、画素カウンタ81およびラインカウンタ86が初期化される。
In step S2, the
ステップS3において、第2時間情報TM2と、同期信号時間情報値TMSとを比較するラインか否かが判定される。具体的には、ライン数比較部87においてラインカウント値LCNTが所定ライン数k−1の整数倍であるか否かが比較され、ラインカウント値LCNTが所定ライン数k−1の整数倍である場合には、ステップS6に進み、そうでない場合には、ステップS4に進む。
In step S3, it is determined whether or not the second time information TM2 is a line for comparing the synchronization signal time information value TMS. Specifically, the line
ステップS4において、画素カウンタ81からの画素カウント値PCNTが規定数、すなわち、1ライン当りの画素数に達しているか否かが判定される。具体的には、画素数比較部82において、画素カウンタ81からの画素カウント値PCNTが画素数m−1に達しているかが判定され、画素カウント値PCNTが画素数m−1に達している場合には、ステップS8に進み、そうでない場合にはステップS5に進む。
In step S4, it is determined whether or not the pixel count value PCNT from the
ステップS5において、画素カウンタ81の内容がインクリメントされる。その後、ステップS4に戻る。
In step S5, the contents of the
ステップS6において、第2時間情報TM2が同期信号時間情報値TMSに等しいか否かが判定される。具体的には、同期信号時間情報一致検出部85において、第2時間情報TM2および同期信号時間情報値TMSが比較される。第2時間情報TM2が同期信号時間情報値TMSに等しい場合には、ステップS8に進み、そうでない場合にはステップS7に進む。
In step S6, it is determined whether or not the second time information TM2 is equal to the synchronization signal time information value TMS. Specifically, the synchronization signal time information
ステップS7において、画素カウンタ81の内容がインクリメントされる。その後、ステップS6に戻る。
In step S7, the contents of the
ステップS8において、水平同期信号HSYNC2が出力され、次ラインの処理を開始する。具体的には、ステップS3において、第2時間情報TM2おおよび同期信号時間情報値TMSの一致検出を行なわないラインである場合には、画素数比較部82からの出力に基づき水平同期信号生成部84が水平同期信号HSYNC2を出力し、第2時間情報TM2および同期信号時間情報値TMSの一致検出を行なうラインである場合には、同期信号時間情報一致検出部85からの一致出力信号TCMPに基づき水平同期信号生成部84が水平同期信号HSYNC2を出力する。
In step S8, the horizontal synchronization signal HSYNC2 is output, and processing of the next line is started. Specifically, in the case where the line does not detect coincidence between the second time information TM2 and the synchronization signal time information value TMS in step S3, the horizontal synchronization signal generation unit is based on the output from the pixel
ステップS9において、ラインカウンタ86の内容がインクリメントされ、画素カウンタ81の内容が初期化される。その後、ステップS10に進む。
In step S9, the contents of the
ステップS10において、映像のライン数が1フレームを構成する規定数に達したか否かが判定される。映像のライン数が規定数に達したと判定される場合には1フレームの処理を終了し、そうでない場合にはステップS3に戻る。 In step S10, it is determined whether or not the number of video lines has reached a specified number constituting one frame. If it is determined that the number of video lines has reached the specified number, the processing for one frame is terminated, and if not, the process returns to step S3.
次いで、図6〜図8を参照して同期信号生成部8の動作について説明する。図6は、送信部2の画素クロックと受信部3の画素クロックPCLKとの間にクロックずれがない場合のタイミングチャートである。
(1A)において、画素カウンタ81からの画素カウント値PCNTがm−1に達すると画素数比較部82およびライン検出信号選択部83を介して、水平同期信号生成部84から水平同期信号HSYNC2が出力される。
Next, the operation of the synchronization
In (1A), when the pixel count value PCNT from the
(2A)において、水平同期信号HSYNC2の立ち上がりエッジでラインカウンタ86がインクリメントされ、ラインカウント値LCNTがk−2からk−1に変化する。従って、ライン数比較部87の出力が活性状態に遷移してライン検出信号選択部83では同期信号時間情報一致検出部85からの一致出力信号TCMPが選択されることとなる。
In (2A), the
(3A)において、一致出力信号TCMPがハイレベルであるため、次の画素クロックPCLKの立ち上がりで水平同期信号生成部84から水平同期信号HSYNC2が出力される。また、それに伴い画素カウント値PCNTが初期化されて0にされる。
In (3A), since the coincidence output signal TCMP is at the high level, the horizontal synchronization signal HSYNC2 is output from the horizontal synchronization
(4A)において、水平同期信号HSYNC2の立ち上がりエッジにより、ラインカウンタ86がインクリメントされ、ラインカウント値LCNTの値がk−1からkに変化する。
In (4A), the
本タイミングでは、送信部2の画素クロックと受信部3の画素クロックPCLKとの間にクロックずれがないため、画素カウンタ81からの画素カウント値PCNTがm−1のタイミングで水平同期信号HSYNC2が出力されることとなる。
At this timing, since there is no clock shift between the pixel clock of the
図7は、送信部2の画素クロックが受信部3の画素クロックPCLKよりも進んでいる場合のタイミングチャートである。
(1B)において、画素カウンタ81からの画素カウント値PCNTがm−1に達すると画素数比較部82およびライン検出信号選択部83を介して、水平同期信号生成部84から水平同期信号HSYNC2が出力される。
FIG. 7 is a timing chart when the pixel clock of the
In (1B), when the pixel count value PCNT from the
(2B)において、水平同期信号HSYNC2の立ち上がりエッジでラインカウンタ86がインクリメントされ、ラインカウント値LCNTがk−2からk−1に変化する。従って、ライン数比較部87の出力が活性状態に遷移してライン検出信号選択部83では同期信号時間情報一致検出部85からの一致出力信号TCMPが選択されることとなる。
In (2B), the
(3B)において、一致出力信号TCMPがハイレベルであるため、次の画素クロックPCLKの立ち上がりで水平同期信号生成部84から水平同期信号HSYNC2が出力される。また、それに伴い画素カウント値PCNTが初期化されて0にされる。
In (3B), since the coincidence output signal TCMP is at the high level, the horizontal synchronization signal HSYNC2 is output from the horizontal synchronization
(4B)において、水平同期信号HSYNC2の立ち上がりエッジにより、ラインカウンタ86がインクリメントされ、ラインカウント値LCNTの値がk−1からkに変化する。
In (4B), the
本タイミングでは、送信部2の画素クロックが受信部3の画素クロックPCLKよりも進んでいるため、画素カウンタ81からの画素カウント値PCNTがm−3のタイミングで水平同期信号HSYNC2が出力されることとなる。
At this timing, since the pixel clock of the
図8は、送信部2の画素クロックが受信部3の画素クロックPCLKよりも遅れている場合のタイミングチャートである。
(1C)において、画素カウンタ81からの画素カウント値PCNTがm−1に達すると画素数比較部82およびライン検出信号選択部83を介して、水平同期信号生成部84から水平同期信号HSYNC2が出力される。
FIG. 8 is a timing chart when the pixel clock of the
In (1C), when the pixel count value PCNT from the
(2C)において、水平同期信号HSYNC2の立ち上がりエッジでラインカウンタ86がインクリメントされ、ラインカウント値LCNTがk−2からk−1に変化する。従って、ライン数比較部87の出力が活性状態に遷移してライン検出信号選択部83では同期信号時間情報一致検出部85からの一致出力信号TCMPが選択されることとなる。
In (2C), the
(3C)において、一致出力信号TCMPがハイレベルであるため、次の画素クロックPCLKの立ち上がりで水平同期信号生成部84から水平同期信号HSYNC2が出力される。また、それに伴い画素カウント値PCNTが初期化されて0にされる。
In (3C), since the coincidence output signal TCMP is at the high level, the horizontal synchronization signal HSYNC2 is output from the horizontal synchronization
(4C)において、水平同期信号HSYNC2の立ち上がりエッジにより、ラインカウンタ86がインクリメントされ、ラインカウント値LCNTの値がk−1からkに変化する。
In (4C), the
本タイミングでは、送信部2の画素クロックが受信部3の画素クロックPCLKよりも遅れているため、画素カウンタ81からの画素カウント値PCNTがmのタイミングで水平同期信号HSYNC2が出力されることとなる。
At this timing, since the pixel clock of the
以上の説明の通り、送信部2の画素クロックと、受信部3の画素クロックPCLKとの間に進みや遅れがあったとしても、所定ライン数kごとに同期信号時間情報一致検出部85において第2時間情報TM2および同期信号時間情報値TMSが比較された一致出力信号TCMPにより、水平同期信号HSYNC2が補正される。これにより、IEEE1394の伝送方式で映像データを伝送するのに当り、ライン単位での映像ずれを補正することができる伝送システム1とすることができる。
As described above, even if there is a progress or delay between the pixel clock of the
なお、本発明は前記実施形態に限定されるものではなく、本発明の趣旨を逸脱しない範囲内で種々の改良、変形が可能であることは言うまでもない。
例えば、本実施形態においては、IEEE1394方式による伝送を行う伝送システムについて説明したが、他のパケット通信方式により伝送を行う伝送システムの場合にも本発明を適用することができる。
Note that the present invention is not limited to the above-described embodiment, and it goes without saying that various improvements and modifications can be made without departing from the spirit of the present invention.
For example, in the present embodiment, a transmission system that performs transmission using the IEEE 1394 method has been described. However, the present invention can also be applied to a transmission system that performs transmission using another packet communication method.
なお、第1時間情報発生部4は映像データ送信装置における時間情報発生部の一例、オフセット値OFSはオフセット時間の一例、加算部53はオフセット時間加算部の一例、第2時間情報発生部7は映像データ受信装置における時間情報発生部の一例である。
The first time
1 伝送システム
2 送信部
3 受信部
4 第1時間情報発生部
5 同期信号時間情報生成部
6 パケット送信部
7 第2時間情報発生部
8 同期信号生成部
9 パケット受信部
DESCRIPTION OF
Claims (10)
時間情報を発生する時間情報発生部と、
前記映像データの水平同期信号をトリガとして、前記時間情報生成部から発生される前記時間情報に応じて、同期信号時間情報を生成する同期信号時間情報生成部と、
前記映像データに前記同期信号時間情報が付加されたパケットを送信するパケット送信部と、
を備えることを特徴とする映像データ送信装置。 A video data transmission device for transmitting video data,
A time information generator for generating time information;
A synchronization signal time information generation unit that generates synchronization signal time information according to the time information generated from the time information generation unit using a horizontal synchronization signal of the video data as a trigger,
A packet transmission unit for transmitting a packet in which the synchronization signal time information is added to the video data;
A video data transmitting apparatus comprising:
前記同期信号時間情報生成部は、前記時間情報に、所定のオフセット時間を加算するオフセット時間加算部を含む
ことを特徴とする映像データ送信装置。 The video data transmitting device according to claim 1,
The video signal transmitting apparatus, wherein the synchronization signal time information generating unit includes an offset time adding unit that adds a predetermined offset time to the time information.
前記所定のオフセット時間は、前記映像データの伝送に要する時間よりも長い時間である
ことを特徴とする映像データ送信装置。 The video data transmitting device according to claim 2,
The predetermined offset time is a time longer than a time required for transmission of the video data.
前記パケット送信部から伝送される前記パケットは、IEEE1394−1995に準拠したパケットである
ことを特徴とする映像データ送信装置。 The video data transmitting device according to claim 1,
The video data transmitting apparatus, wherein the packet transmitted from the packet transmitting unit is a packet conforming to IEEE 1394-1995.
受信されたパケットから前記映像データおよび同期信号時間情報を取り出すパケット受信部と、
時間情報を発生する時間情報発生部と、
前記同期信号時間情報および前記時間情報の一致に応じて、水平同期信号を生成する水平同期信号生成部と、
を備えることを特徴とする映像データ受信装置。 A video data receiving device for receiving video data,
A packet receiver that extracts the video data and the synchronization signal time information from the received packet;
A time information generator for generating time information;
A horizontal synchronization signal generating unit that generates a horizontal synchronization signal in accordance with the coincidence of the synchronization signal time information and the time information;
A video data receiving apparatus comprising:
前記パケット受信部で受信される前記パケットは、IEEE1394−1995に準拠したパケットである
ことを特徴とする映像データ受信装置。 The video data receiving device according to claim 5,
The video data receiving apparatus according to claim 1, wherein the packet received by the packet receiving unit is a packet conforming to IEEE 1394-1995.
送信部と、
受信部と、
を備え、
前記送信部は、
送信部側の時間情報である第1時間情報を発生する第1時間情報発生部と、
前記映像データの水平同期信号をトリガとして、前記第1時間情報発生部から発生される前記第1時間情報に応じて、同期信号時間情報を生成する同期信号時間情報生成部と、
前記映像データに前記同期信号時間情報が付加されたパケットを送信するパケット送信部と、
を含み、
前記受信部は、
受信された前記パケットから前記映像データおよび前記同期信号時間情報を取り出すパケット受信部と、
前記第1時間情報と同一にされた第2時間情報を発生する第2時間情報発生部と、
前記同期信号時間情報および前記第2時間情報の一致に応じて、水平同期信号を生成する水平同期信号生成部と、
を含む
ことを特徴とする映像データ伝送システム。 A video data transmission system for transmitting video data,
A transmission unit;
A receiver,
With
The transmitter is
A first time information generating unit that generates first time information that is time information on the transmission side;
A synchronization signal time information generation unit that generates synchronization signal time information according to the first time information generated from the first time information generation unit using a horizontal synchronization signal of the video data as a trigger,
A packet transmission unit for transmitting a packet in which the synchronization signal time information is added to the video data;
Including
The receiver is
A packet receiver that extracts the video data and the synchronization signal time information from the received packet;
A second time information generating unit for generating second time information that is the same as the first time information;
A horizontal synchronization signal generating unit that generates a horizontal synchronization signal in accordance with a match between the synchronization signal time information and the second time information;
A video data transmission system comprising:
前記同期信号時間情報生成部は、前記第1時間情報に、所定のオフセット時間を加算するオフセット時間加算部を含む
ことを特徴とする映像データ伝送システム。 The video data transmission system according to claim 7,
The video data transmission system, wherein the synchronization signal time information generation unit includes an offset time addition unit that adds a predetermined offset time to the first time information.
前記所定のオフセット時間は、前記映像データの伝送に要する時間よりも長い時間である
ことを特徴とする映像データ伝送システム。 The video data transmission system according to claim 8, wherein
The video data transmission system, wherein the predetermined offset time is longer than a time required for transmission of the video data.
前記パケット送信部から伝送される前記パケットは、IEEE1394−1995に準拠したパケットであることを特徴とする映像データ伝送システム。 The video data transmission system according to claim 7,
The video data transmission system, wherein the packet transmitted from the packet transmission unit is a packet conforming to IEEE 1394-1995.
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006171421A JP2008005123A (en) | 2006-06-21 | 2006-06-21 | Video data transmission device, video data receiving device, and video data transmission system |
PCT/JP2006/320554 WO2007148419A1 (en) | 2006-06-21 | 2006-10-16 | Image data transmitting apparatus, image data receiving apparatus, and image data transfer system |
TW095138391A TW200803387A (en) | 2006-06-21 | 2006-10-18 | Image data transmitting apparatus, image data receiving apparatus, and image data transfer system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006171421A JP2008005123A (en) | 2006-06-21 | 2006-06-21 | Video data transmission device, video data receiving device, and video data transmission system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008005123A true JP2008005123A (en) | 2008-01-10 |
Family
ID=38833169
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006171421A Pending JP2008005123A (en) | 2006-06-21 | 2006-06-21 | Video data transmission device, video data receiving device, and video data transmission system |
Country Status (3)
Country | Link |
---|---|
JP (1) | JP2008005123A (en) |
TW (1) | TW200803387A (en) |
WO (1) | WO2007148419A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010098519A (en) * | 2008-10-16 | 2010-04-30 | Oki Electric Ind Co Ltd | Clock reproducing system and method |
CN103686254A (en) * | 2012-09-17 | 2014-03-26 | 公共电视公司 | Automatic localization of advertisements |
US10387949B2 (en) | 2003-12-23 | 2019-08-20 | Roku, Inc. | System and method for providing interactive advertisement |
US10387920B2 (en) | 2003-12-23 | 2019-08-20 | Roku, Inc. | System and method for offering and billing advertisement opportunities |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103702013B (en) * | 2013-11-28 | 2017-02-01 | 北京航空航天大学 | Frame synchronization method for multiple channels of real-time videos |
CN105187883B (en) * | 2015-09-11 | 2018-05-29 | 广东威创视讯科技股份有限公司 | A kind of data processing method and client device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10164104A (en) * | 1996-12-04 | 1998-06-19 | Canon Inc | Equipment and method for communication |
JP2000174738A (en) * | 1998-12-04 | 2000-06-23 | Toshiba Corp | Picture data transfer device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07327032A (en) * | 1994-05-31 | 1995-12-12 | Matsushita Electric Ind Co Ltd | Transmitter and receiver |
JP3825848B2 (en) * | 1996-12-04 | 2006-09-27 | キヤノン株式会社 | Communication device |
JP2001345964A (en) * | 2000-06-05 | 2001-12-14 | Fuji Xerox Co Ltd | Device and method for image data transmission |
JP2003087599A (en) * | 2001-09-11 | 2003-03-20 | Sony Corp | Clock synchronizing device of video signal and the like |
-
2006
- 2006-06-21 JP JP2006171421A patent/JP2008005123A/en active Pending
- 2006-10-16 WO PCT/JP2006/320554 patent/WO2007148419A1/en active Application Filing
- 2006-10-18 TW TW095138391A patent/TW200803387A/en unknown
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10164104A (en) * | 1996-12-04 | 1998-06-19 | Canon Inc | Equipment and method for communication |
JP2000174738A (en) * | 1998-12-04 | 2000-06-23 | Toshiba Corp | Picture data transfer device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10387949B2 (en) | 2003-12-23 | 2019-08-20 | Roku, Inc. | System and method for providing interactive advertisement |
US10387920B2 (en) | 2003-12-23 | 2019-08-20 | Roku, Inc. | System and method for offering and billing advertisement opportunities |
JP2010098519A (en) * | 2008-10-16 | 2010-04-30 | Oki Electric Ind Co Ltd | Clock reproducing system and method |
CN103686254A (en) * | 2012-09-17 | 2014-03-26 | 公共电视公司 | Automatic localization of advertisements |
Also Published As
Publication number | Publication date |
---|---|
TW200803387A (en) | 2008-01-01 |
WO2007148419A1 (en) | 2007-12-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109699199B (en) | Message processing method and network equipment | |
JP2008005123A (en) | Video data transmission device, video data receiving device, and video data transmission system | |
US8842793B2 (en) | Communication circuit and method of adjusting sampling clock signal | |
JP2007282093A (en) | Apparatus and method for clock signal generation | |
JP2010098561A (en) | Serial signal receiving apparatus, serial transmission system and serial transmission method | |
US20110016232A1 (en) | Time stamping apparatus and method for network timing synchronization | |
US7116739B1 (en) | Auto baud system and method and single pin communication interface | |
US20130016762A1 (en) | Data communication system, method of optimizing preamble length, and communication apparatus | |
US10057524B2 (en) | Image capturing apparatus | |
JP2003179584A (en) | Synchronous method of network system | |
JP2008278459A (en) | Communication system, transmitter, receiving apparatus and communication method, and semiconductor device | |
JP4665100B2 (en) | Radar apparatus, false image detection method, false image detection program, and recording medium recording the program | |
JP6163895B2 (en) | Receive clock extraction circuit | |
JP2006003255A (en) | Jitter measuring method and jitter measuring device | |
JP2004247856A (en) | Data receiving apparatus and data transmission/ reception method | |
JP5383856B2 (en) | Transmitter circuit | |
KR102225619B1 (en) | High-speed serial data receiving apparatus | |
JP2006303688A (en) | Serial data transmitting device and serial data receiving device | |
JPH05244134A (en) | Data synchronizing circuit | |
JP6607591B2 (en) | Phase information transfer system, phase information transmitter, phase information receiver, phase information transfer method, and program | |
CN118556383A (en) | Communication device, communication method, and program | |
JP2001352317A (en) | Phase synchronization circuit | |
JP2010213204A (en) | Data transmitting/receiving method | |
KR100684564B1 (en) | Frame synchronization method and apparatus therefor | |
JPH05102953A (en) | Bit synchronizing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20080728 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090227 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110517 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20110927 |