JP2009177303A - Video signal processor, and video signal processing method - Google Patents

Video signal processor, and video signal processing method Download PDF

Info

Publication number
JP2009177303A
JP2009177303A JP2008011383A JP2008011383A JP2009177303A JP 2009177303 A JP2009177303 A JP 2009177303A JP 2008011383 A JP2008011383 A JP 2008011383A JP 2008011383 A JP2008011383 A JP 2008011383A JP 2009177303 A JP2009177303 A JP 2009177303A
Authority
JP
Japan
Prior art keywords
video signal
value
packets
transport
time interval
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.)
Granted
Application number
JP2008011383A
Other languages
Japanese (ja)
Other versions
JP4874272B2 (en
Inventor
Toshihiro Takashima
稔弘 高島
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.)
Sumitomo Electric Industries Ltd
Sumitomo Electric Networks Inc
Original Assignee
Sumitomo Electric Industries Ltd
Sumitomo Electric Networks Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sumitomo Electric Industries Ltd, Sumitomo Electric Networks Inc filed Critical Sumitomo Electric Industries Ltd
Priority to JP2008011383A priority Critical patent/JP4874272B2/en
Publication of JP2009177303A publication Critical patent/JP2009177303A/en
Application granted granted Critical
Publication of JP4874272B2 publication Critical patent/JP4874272B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a video signal processor which can enhance stability of clock recovery. <P>SOLUTION: A receive buffer 1 stores received TS packets. A GAP restore section 2 restores time interval between time points when the TS packets stored in a receive buffer means are transferred. A control section 3 calculates the interval between time points when the TS packets stored in the receive buffer 1 are transferred, from a PCR value included in the TS packet and the number of TS packets included between the PCRs, and controls transfer of TS packets at the GAP restore section 2. Consequently, transfer rate of TS packets can be made constant substantially, and stability of clock recovery can be enhanced. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、トランスポートストリーム(TS)を受けて映像信号を処理する技術に関し、特に、PCR(Program Clock Reference:プログラム時刻基準参照値)によるクロックリカバリの安定度を向上させて映像信号を処理する映像信号処理装置および映像信号処理方法に関する。   The present invention relates to a technique for processing a video signal by receiving a transport stream (TS), and more particularly, processes a video signal by improving the stability of clock recovery by PCR (Program Clock Reference). The present invention relates to a video signal processing apparatus and a video signal processing method.

近年、インターネット網を介して映像信号を送受信するシステムが普及してきている。このようなシステムで用いられるセットトップボックス(STB)においては、映像信号の送受信にMPEG(Moving Picture Experts Group)2−TS(Transport Stream)を使用した通信プロトコルが利用されることが多い。   In recent years, systems for transmitting and receiving video signals via the Internet network have become widespread. In a set top box (STB) used in such a system, a communication protocol using MPEG (Moving Picture Experts Group) 2-TS (Transport Stream) is often used for transmission and reception of video signals.

図5は、MPEG2−TSのパケット構成を示す図である。MPEG2−TSは、複数のトランスポートパケット(以下、TSパケットとも呼ぶ。)によって構成される。TSパケットはそれぞれ、188バイトまたは204バイトのサイズを有しており、アダプテーション・フィールド制御およびアダプテーション・フィールドを含んでいる。   FIG. 5 is a diagram showing a packet structure of MPEG2-TS. MPEG2-TS is composed of a plurality of transport packets (hereinafter also referred to as TS packets). Each TS packet has a size of 188 bytes or 204 bytes and includes an adaptation field control and an adaptation field.

アダプテーション・フィールド制御は、そのTSパケットがアダプテーション・フィールドを含むか否かを示す情報である。したがって、アダプテーション・フィールド制御の情報によっては、アダプテーション・フィールドを含まないTSパケットもある。   The adaptation field control is information indicating whether or not the TS packet includes an adaptation field. Therefore, depending on the information of the adaptation field control, some TS packets do not include the adaptation field.

アダプテーション・フィールドには、対応するTSパケットの付加情報などが格納される。このアダプテーション・フィールドは、PCRフラグおよびオプショナル・フィールドを含んでいる。このPCRフラグは、オプショナル・フィールドにPCRが含まれるか否かを示す情報である。   In the adaptation field, additional information of the corresponding TS packet is stored. This adaptation field includes a PCR flag and an optional field. This PCR flag is information indicating whether or not PCR is included in the optional field.

PCRフラグが“1”の場合には、オプショナル・フィールドにPCRが含まれることを示している。また、PCRフラグが“0”の場合には、オプショナル・フィールドにPCRが含まれないことを示している。したがって、PCRフラグの値によっては、オプショナル・フィールドにPCRを含まないアダプテーション・フィールドもある。   When the PCR flag is “1”, it indicates that the optional field includes PCR. When the PCR flag is “0”, it indicates that the optional field does not include PCR. Therefore, depending on the value of the PCR flag, there is an adaptation field that does not include PCR in the optional field.

PCRは、トランスポートストリームを生成した符号装置のシステムクロックを、当該トランスポートストリームを受信する復号装置でリカバリするための時刻情報である。また、PCRは、トランスポートストリームを生成した符号装置のシステムクロックの周波数と、当該トランスポートストリームを受信する復号装置が生成するシステムクロックの周波数とを一致させるためのクロック調整値でもある。   The PCR is time information for recovering the system clock of the encoding device that has generated the transport stream by the decoding device that receives the transport stream. The PCR is also a clock adjustment value for matching the frequency of the system clock of the encoding device that generated the transport stream with the frequency of the system clock generated by the decoding device that receives the transport stream.

すなわち、トランスポートストリームを生成した符号装置のシステムクロックの周波数と、当該トランスポートストリームを受信する復号装置のシステムクロックとは厳密には一致しない。そのため、符号装置で生成したフレーム枚数と同じフレーム枚数を、復号装置でデコードするためには、復号装置において、符号装置のシステムクロックをリカバリして一致させる必要がある。   That is, the frequency of the system clock of the encoding device that generated the transport stream does not exactly match the system clock of the decoding device that receives the transport stream. Therefore, in order for the decoding device to decode the same number of frames as the number of frames generated by the encoding device, it is necessary for the decoding device to recover and match the system clock of the encoding device.

符号装置は、トランスポートストリームの送信時に、送信するトランスポートストリームに含まれる複数のTSパケットのうち所定の時間間隔のTSパケットに、符号装置のシステムクロックによりカウントされるカウンタ値をPCRとして付加する。復号装置側で、このPCRを用いて符号装置のシステムクロックをリカバリする。   When transmitting a transport stream, the encoding device adds a counter value counted by the system clock of the encoding device as a PCR to a TS packet at a predetermined time interval among a plurality of TS packets included in the transport stream to be transmitted. . On the decoding device side, the system clock of the encoding device is recovered using this PCR.

MPEG2の規格においては、復号装置側でPCRの到着時刻と、PCR間に受信したトランスポートストリームのビット数とから符号装置側のクロックレートを算出する方法が用いられる。具体的には、復号装置のシステムクロックを用いて生成されたタイムスタンプ値と、符号装置から受信したPCR値とを比較し、その差が0となるように復号装置側のシステムクロックを制御する。これに関連する技術として、下記の特許文献1〜3に開示された発明がある。   In the MPEG2 standard, a method of calculating the clock rate on the encoding device side from the arrival time of the PCR on the decoding device side and the number of bits of the transport stream received between the PCRs is used. Specifically, the time stamp value generated using the system clock of the decoding device is compared with the PCR value received from the encoding device, and the system clock on the decoding device side is controlled so that the difference becomes zero. . As technologies related to this, there are inventions disclosed in the following Patent Documents 1 to 3.

特許文献1に開示された遅延ゆらぎ吸収方法において、受信装置から供給された時系列のパケットはバッファに順次格納されると同時に基準時刻情報検出器に供給され、また入力バイトカウンタに1バイト単位で加算される。基準時刻情報検出器はバイト値aを読み込むとともにパケットデータから基準時刻情報bを検出し、これらを基準時刻・位置記憶器に格納する。出力タイミング制御器はバッファのパケットを、バイト値a、基準時刻情報b、出力バイトカウンタのバイト値Bn、送出時刻Cn、当該パケットのパケット長で決まる間隔でデコーダへ供給する。   In the delay fluctuation absorbing method disclosed in Patent Document 1, time-series packets supplied from a receiving apparatus are sequentially stored in a buffer and simultaneously supplied to a reference time information detector, and also input to an input byte counter in units of 1 byte. Is added. The reference time information detector reads the byte value a, detects reference time information b from the packet data, and stores them in the reference time / position memory. The output timing controller supplies the buffer packets to the decoder at intervals determined by the byte value a, the reference time information b, the output byte counter byte value Bn, the transmission time Cn, and the packet length of the packet.

特許文献2に開示された発明は、入力ディジタル信号に含まれる時間情報のジッタを低減するジッタ抑圧装置であって、入力ディジタル信号から時間情報を抽出する時間情報抽出手段と、時間情報抽出手段によって抽出した時間情報を蓄えるための時間情報記憶手段と、入力ディジタル信号を蓄えるためのデータ記憶手段と、クロック発生手段と、クロック発生手段からのクロックを計測するクロック計測手段と、入力ディジタル信号に多重するデータ生成手段と、データ記憶手段に記憶した入力ディジタル信号とデータ生成手段によって生成されたデータとを多重する多重化手段と、多重化手段によって多重化された多重データに含まれる時間情報を補正する時間情報補正手段と、時間情報記憶手段、データ記憶手段、多重化手段および時間情報補正手段を制御する制御手段とを備える。   The invention disclosed in Patent Document 2 is a jitter suppression device that reduces jitter of time information included in an input digital signal, and includes a time information extraction unit that extracts time information from the input digital signal, and a time information extraction unit. Time information storage means for storing the extracted time information, data storage means for storing the input digital signal, clock generation means, clock measurement means for measuring the clock from the clock generation means, multiplexed to the input digital signal Data generating means, multiplexing means for multiplexing the input digital signal stored in the data storage means and the data generated by the data generating means, and correcting time information contained in the multiplexed data multiplexed by the multiplexing means Time information correction means, time information storage means, data storage means, multiplexing means and time And control means for controlling the information correction means.

特許文献3に開示されたクロック再生回路においては、所定期間Taに出力されたエラー信号の総和Σeの絶対値とジッタ幅Jとの関係に基づき、入力信号と再生クロックとが同期状態にあるか否かを判別し、同期状態にある場合にはジッタ幅Jに対する安定ゲインGaを目標値としてゲインを変更し、同期状態にない場合にはジッタ幅Jに対する許容ゲインGbを目標値としてゲインを変更する。
特開2002−152273号公報 特開2005−277816号公報 特開2001−028537号公報
In the clock recovery circuit disclosed in Patent Document 3, based on the relationship between the absolute value of the sum Σe of error signals output during a predetermined period Ta and the jitter width J, is the input signal and the recovery clock synchronized? If it is in the synchronized state, the gain is changed with the stable gain Ga for the jitter width J as a target value, and if not, the gain is changed with the allowable gain Gb for the jitter width J as the target value. To do.
JP 2002-152273 A JP 2005-277816 A JP 2001-028537 A

IPパケットによってTSパケットを配信する場合、IPパケットに複数のトランスポートストリームを格納すること、符号装置側のIPパケット送出レートがばらつくことなどにより、復号装置側におけるTSパケットの受信時刻のばらつきが大きくなる。   When TS packets are distributed using IP packets, the reception time of TS packets on the decoding device side varies greatly due to storage of multiple transport streams in the IP packet and variations in the IP packet transmission rate on the encoding device side. Become.

そのため、上述の復号装置のシステムクロックを用いて生成されたタイムスタンプ値と、符号装置から受信したPCR値とを比較して符号装置側のクロックをリカバリする方法では、到着時刻のばらつき(ジッタ)が大きいほど、制御の引き込みレンジを上げて、すなわちクロックの変化する範囲を広げて追従する必要がある。したがって、リカバリしたクロックの安定度が低く、リカバリしたクロックから生成される映像用の同期信号の変動が大きくなる。   Therefore, in the method of comparing the time stamp value generated using the system clock of the decoding device described above and the PCR value received from the coding device to recover the clock on the coding device side, the arrival time variation (jitter) The larger the is, the higher the control pull-in range, that is, the wider the range in which the clock changes must be followed. Therefore, the stability of the recovered clock is low, and the fluctuation of the video synchronization signal generated from the recovered clock increases.

PCRを用いつつリカバリしたクロックの安定度を上げるためには、受信したTSパケットを一旦バッファに格納し、元の間隔でデコーダに送出する方法が用いられる場合もある。たとえば、符号装置側でTSパケットに別途送出時のタイムスタンプを格納し、復号装置側でそのタイムスタンプを参照し、そのタイミングでTSパケットを取り出す。   In order to increase the stability of the recovered clock using PCR, a method of temporarily storing the received TS packet in a buffer and sending it to the decoder at the original interval may be used. For example, the time stamp at the time of transmission is separately stored in the TS packet on the encoding device side, the time stamp is referred to on the decoding device side, and the TS packet is extracted at that timing.

このような方法を用いた場合、符号装置側でタイムスタンプを別途付加し、復号装置側で付加されたタイムスタンプを抽出してTSパケットを取り出すタイミングを制御する機構が必要となる。このようなタイムスタンプを別途付加することなく、リカバリしたクロックの安定度を上げることが望ましい。しかしながら、上述の特許文献1〜3に開示された発明を用いたとしても、これを実現することは難しい。   When such a method is used, a mechanism for adding a time stamp separately on the encoding device side, extracting the time stamp added on the decoding device side, and controlling the timing for extracting the TS packet is required. It is desirable to increase the stability of the recovered clock without adding such a time stamp separately. However, even if the inventions disclosed in Patent Documents 1 to 3 described above are used, it is difficult to realize this.

本発明は、上記問題点を解決するためになされたものであり、その目的は、クロックリカバリの安定度を向上させることが可能な映像信号処理装置および映像信号処理方法を提供することである。   The present invention has been made to solve the above-described problems, and an object thereof is to provide a video signal processing apparatus and a video signal processing method capable of improving the stability of clock recovery.

本発明のある局面に従えば、映像信号処理装置は、受信したトランスポートパケットを蓄積する受信バッファ手段と、受信バッファ手段に蓄積されたトランスポートパケットの転送時における時間間隔を復元する復元手段と、受信バッファ手段に蓄積されたトランスポートパケット転送の時間間隔を算出して復元手段におけるトランスポートパケットの転送を制御する制御手段と、復元手段から転送されたトランスポートパケットに基づいて映像信号を復号するデコード手段とを含む。   According to an aspect of the present invention, the video signal processing device includes a reception buffer unit that accumulates received transport packets, and a restoration unit that restores a time interval at the time of transfer of the transport packets accumulated in the reception buffer unit. The control means for controlling the transfer of transport packets in the restoration means by calculating the time interval of transport packet transfer accumulated in the reception buffer means, and the video signal is decoded based on the transport packets transferred from the restoration means Decoding means.

制御手段は、受信バッファ手段に蓄積されたトランスポートパケット転送の時間間隔を算出して復元手段におけるトランスポートパケットの転送を制御するので、トランスポートパケットの転送速度をほぼ一定とすることができ、クロックリカバリの安定度を向上させることが可能となる。   The control means calculates the transport packet transfer time interval accumulated in the reception buffer means and controls the transport packet transfer in the restoration means, so that the transfer rate of the transport packet can be made substantially constant, It is possible to improve the stability of clock recovery.

好ましくは、制御手段は、トランスポートパケットに含まれるプログラム時刻基準参照値と、プログラム時刻基準参照値を有するトランスポートパケット間に配置されるトランスポートパケットの個数とからトランスポートパケット転送の時間間隔を算出して復元手段におけるトランスポートパケットの転送を制御する。   Preferably, the control means determines the time interval of transport packet transfer from the program time base reference value included in the transport packet and the number of transport packets arranged between the transport packets having the program time base reference value. Calculate and control transport packet transfer in the restoration means.

したがって、トランスポートパケット転送の時間間隔を容易に算出することが可能となる。   Therefore, the time interval for transport packet transfer can be easily calculated.

さらに好ましくは、復元手段は、制御手段によって算出された時間間隔が設定され、クロック信号に応じてカウントを行なうカウント手段と、カウント手段の値に応じて、受信バッファ手段から出力される1個分のトランスポートパケットをデコード手段に転送するゲート手段とを含み、制御手段は、受信バッファ手段におけるトランスポートパケットの蓄積量と所定値との差分値が0となるようにクロック信号の周波数を制御してカウント手段に出力する。   More preferably, the restoring means sets a time interval calculated by the control means and counts according to the clock signal, and one unit output from the reception buffer means according to the value of the counting means. Gate means for transferring the transport packet to the decoding means, and the control means controls the frequency of the clock signal so that the difference value between the transport packet accumulation amount in the reception buffer means and the predetermined value becomes zero. Output to the counting means.

したがって、トランスポートパケットの転送速度を安定させることができ、クロックリカバリの安定度を向上させることが可能となる。   Therefore, the transfer rate of the transport packet can be stabilized, and the stability of clock recovery can be improved.

さらに好ましくは、復元手段は、制御手段によって算出された時間間隔が設定され、クロック信号に応じてカウントを行なうカウント手段と、カウント手段の値に応じて、受信バッファ手段から出力される1個分のトランスポートパケットをデコード手段に転送するゲート手段とを含み、制御手段は、受信バッファ手段におけるトランスポートパケットの蓄積量と所定値との差分値が0となるように時間間隔を増減してカウント手段に出力する。   More preferably, the restoring means sets a time interval calculated by the control means and counts according to the clock signal, and one unit output from the reception buffer means according to the value of the counting means. Gate means for transferring the transport packet to the decoding means, and the control means counts by increasing / decreasing the time interval so that the difference value between the storage amount of the transport packets in the reception buffer means and the predetermined value becomes zero. Output to the means.

したがって、トランスポートパケットの転送速度を安定させることができ、クロックリカバリの安定度を向上させることが可能となる。   Therefore, the transfer rate of the transport packet can be stabilized, and the stability of clock recovery can be improved.

本発明の別の局面に従えば、映像信号処理方法は、受信したトランスポートパケットを蓄積するステップと、蓄積されたトランスポートパケットの転送時における時間間隔を算出するステップと、算出された時間間隔でトランスポートパケットを転送するステップと、転送されたトランスポートパケットに基づいて映像信号を復号するステップとを含む。   According to another aspect of the present invention, a video signal processing method includes a step of storing a received transport packet, a step of calculating a time interval at the time of transfer of the stored transport packet, and a calculated time interval. And transferring the transport packet, and decoding the video signal based on the transferred transport packet.

算出された時間間隔でトランスポートパケットを転送するので、トランスポートパケットの転送速度をほぼ一定とすることができ、クロックリカバリの安定度を向上させることが可能となる。   Since the transport packet is transferred at the calculated time interval, the transfer rate of the transport packet can be made substantially constant, and the stability of clock recovery can be improved.

本発明のある局面によれば、制御手段が、受信バッファ手段に蓄積されたトランスポートパケット転送の時間間隔を算出して復元手段におけるトランスポートパケットの転送を制御するので、トランスポートパケットの転送速度をほぼ一定とすることができ、クロックリカバリの安定度を向上させることが可能となる。   According to an aspect of the present invention, the control means calculates the transport packet transfer time interval accumulated in the reception buffer means and controls the transport packet transfer in the restoration means. Can be made substantially constant, and the stability of clock recovery can be improved.

(第1の実施の形態)
図1は、本発明の第1の実施の形態における映像信号処理装置の概略構成を示すブロック図である。この映像信号処理装置は、受信バッファ1と、GAP復元部2と、制御部3と、デコーダ4と、PCRクロックリカバリ部5と、映像信号制御部6とを含む。
(First embodiment)
FIG. 1 is a block diagram showing a schematic configuration of a video signal processing apparatus according to the first embodiment of the present invention. The video signal processing device includes a reception buffer 1, a GAP restoration unit 2, a control unit 3, a decoder 4, a PCR clock recovery unit 5, and a video signal control unit 6.

受信バッファ1は、インターネットなどのネットワークを介して受信したTSパケットを順次格納し、そのパケット蓄積量をバッファレベル値として制御部3に出力する。また、受信バッファ1は、TSパケットに含まれるPCRを抽出して制御部3に出力するとともに、PCR間に含まれるTSパケットの個数Nを算出して制御部3に出力する。また、受信バッファ1は、GAP復元部2からの要求に応じて蓄積したTSパケットを順次GAP復元部2を介してデコーダ4に転送する。   The reception buffer 1 sequentially stores TS packets received via a network such as the Internet, and outputs the packet accumulation amount to the control unit 3 as a buffer level value. In addition, the reception buffer 1 extracts the PCR included in the TS packet and outputs it to the control unit 3, calculates the number N of TS packets included between the PCRs, and outputs it to the control unit 3. In addition, the reception buffer 1 sequentially transfers the TS packets stored in response to the request from the GAP restoration unit 2 to the decoder 4 via the GAP restoration unit 2.

GAP復元部2は、制御部3から出力されるpackets gap値およびクロック信号を受け、受信バッファ1に蓄積されたTSパケットの転送タイミングを制御する。このGAP復元部2の詳細は後述する。   The GAP restoration unit 2 receives the packets gap value and the clock signal output from the control unit 3 and controls the transfer timing of the TS packets accumulated in the reception buffer 1. Details of the GAP restoration unit 2 will be described later.

制御部3は、受信バッファ1から受けたPCR値およびPCR間に含まれるTSパケットの個数からpackets gap値を算出してGAP復元部2に出力する。このpackets gap値とは、TSパケット1個分のPCRカウンタ値、すなわち各TSパケットの時間間隔が制御部3で生成されるクロックの何クロック分に相当するかを示す値であり、次式によって算出される。   The control unit 3 calculates a packets gap value from the PCR value received from the reception buffer 1 and the number of TS packets included between the PCRs, and outputs the packet gap value to the GAP restoration unit 2. The packet gap value is a PCR counter value for one TS packet, that is, a value indicating how many clocks of the clock generated by the control unit 3 correspond to each TS packet. Calculated.

packets gap値=(1st PCR値−2nd PCR値)/N …(1)
また、制御部3は、受信バッファ1から受けたバッファレベル値を参照し、クロック信号を制御してGAP復元部2に出力する。この制御部3の詳細は後述する。
packets gap value = (1st PCR value−2nd PCR value) / N (1)
In addition, the control unit 3 refers to the buffer level value received from the reception buffer 1, controls the clock signal, and outputs it to the GAP restoration unit 2. Details of the control unit 3 will be described later.

デコーダ4は、PCRクロックリカバリ部5から出力されるシステムクロックに同期してTSパケットに含まれる映像信号および音声信号を復号して映像信号制御部6に出力する。   The decoder 4 decodes the video signal and the audio signal included in the TS packet in synchronization with the system clock output from the PCR clock recovery unit 5 and outputs the decoded video signal and audio signal to the video signal control unit 6.

PCRクロックリカバリ部5は、システムクロックを用いて生成されたタイムスタンプ値と、GAP復元部2から受けたPCRの値とを比較し、その差が0となるようにシステムクロックを制御してデコーダ4および映像信号制御部6に出力する。   The PCR clock recovery unit 5 compares the time stamp value generated using the system clock with the PCR value received from the GAP restoration unit 2, and controls the system clock so that the difference becomes 0, and the decoder 4 and the video signal control unit 6.

映像信号制御部6は、デコーダ4によって復号された映像信号を受け、PCRクロックリカバリ部5から出力されたシステムクロックに同期してCVBS(Composite Video Base band Signal)の水平同期(Hsync)信号、垂直同期(Vsync)信号、ビデオ(S_video)信号、HDMI(High-Definition Multimedia Interface)の各種制御信号を生成して出力する。   The video signal control unit 6 receives the video signal decoded by the decoder 4, and synchronizes with the system clock output from the PCR clock recovery unit 5 in the horizontal sync (Hsync) signal of the CVBS (Composite Video Base Band Signal), the vertical It generates and outputs various control signals for synchronization (Vsync) signal, video (S_video) signal, and HDMI (High-Definition Multimedia Interface).

図2は、図1に示すGAP復元部2の内部構成の一例を示す図である。GAP復元部2は、デクリメントカウンタ21と、ゲート22とを含む。デクリメントカウンタ21は、初期設定時に制御部3から与えられるpackets gap値をロードし、制御部3からのclock信号に同期してデクリメントを開始する。このとき、ゲート22は閉じられている。   FIG. 2 is a diagram illustrating an example of an internal configuration of the GAP restoration unit 2 illustrated in FIG. The GAP restoration unit 2 includes a decrement counter 21 and a gate 22. The decrement counter 21 loads a packets gap value given from the control unit 3 at the time of initial setting, and starts decrementing in synchronization with the clock signal from the control unit 3. At this time, the gate 22 is closed.

デクリメントカウンタ21の値が“0”となったときに、ゲート22を開いて1個分のTSパケットをデコーダ4に転送するとともに、デクリメントカウンタ21に再度packets gap値をロードしてデクリメントを開始する。以上の処理を繰り返して、packets gap値に対応する周期でN個分のTSパケットを順次デコーダ4に転送する。   When the value of the decrement counter 21 becomes “0”, the gate 22 is opened to transfer one TS packet to the decoder 4 and the decrement counter 21 is loaded with the packets gap value again to start decrementing. . The above process is repeated, and N TS packets are sequentially transferred to the decoder 4 in a cycle corresponding to the packets gap value.

図3は、図1に示す制御部3の内部構成の一例を示す図である。制御部3は、加算器31と、DAC(Digital Analog Converter)32と、LPF(Low Pass Filter)33と、VCO(Voltage Control Oscillator)34とを含む。加算器31は、バッファレベル値と、(−INIT_buf_level値)とを加算することにより差分値を算出する。INIT_buf_level値は予め定められた値であり、たとえば受信バッファ1の容量の半分の値が設定される。   FIG. 3 is a diagram illustrating an example of an internal configuration of the control unit 3 illustrated in FIG. 1. The controller 3 includes an adder 31, a DAC (Digital Analog Converter) 32, an LPF (Low Pass Filter) 33, and a VCO (Voltage Control Oscillator) 34. The adder 31 calculates a difference value by adding the buffer level value and (−INIT_buf_level value). The INIT_buf_level value is a predetermined value, for example, a value that is half the capacity of the reception buffer 1 is set.

受信バッファ1に常にこのINIT_buf_level値の分だけTSパケットが蓄積されるように制御が行なわれる。すなわち、加算器31によって算出された差分値が“0”となるようにclock信号の周波数が制御される。   Control is performed so that TS packets are always accumulated in the reception buffer 1 by the value of the INIT_buf_level value. That is, the frequency of the clock signal is controlled so that the difference value calculated by the adder 31 becomes “0”.

DAC32は、加算器31から出力される差分値に応じた電圧値のアナログ信号を生成してLPF33に出力する。たとえば、加算器31から出力される差分値が“0”のとき、DAC32は1Vの電圧を出力する。加算器31から出力される差分値が正の値のとき、DAC32はその値に応じて1Vよりも大きい電圧を出力する。また、加算器31から出力される差分値が負の値のとき、DAC32はその値に応じて1Vよりも小さい電圧を出力する。   The DAC 32 generates an analog signal having a voltage value corresponding to the difference value output from the adder 31 and outputs the analog signal to the LPF 33. For example, when the difference value output from the adder 31 is “0”, the DAC 32 outputs a voltage of 1V. When the difference value output from the adder 31 is a positive value, the DAC 32 outputs a voltage larger than 1 V according to the value. When the difference value output from the adder 31 is a negative value, the DAC 32 outputs a voltage smaller than 1 V according to the value.

LPF33は、DAC32から出力されるアナログ信号の高周波成分を除去し、DAC32から出力されるアナログ信号の低周波成分のみを出力する。   The LPF 33 removes the high frequency component of the analog signal output from the DAC 32 and outputs only the low frequency component of the analog signal output from the DAC 32.

VCO34は、LPF33から出力されるアナログ信号の電圧値に応じた周波数のclock信号を生成して出力する。上述のように加算器31から出力される差分値が“0”のとき、DAC32から1Vの電圧が出力されるのであれば、そのときVCO34は所定周波数のclock信号を生成して出力する。DAC32から1Vよりも大きな値の電圧が出力されれば、その値に応じて所定周波数よりも大きな周波数のclock信号を生成して出力する。また、DAC32から1Vよりも小さな値の電圧が出力されれば、その値に応じて所定周波数よりも小さい周波数のclock信号を生成して出力する。   The VCO 34 generates and outputs a clock signal having a frequency corresponding to the voltage value of the analog signal output from the LPF 33. As described above, when the difference value output from the adder 31 is “0”, if a voltage of 1 V is output from the DAC 32, then the VCO 34 generates and outputs a clock signal of a predetermined frequency. When a voltage having a value larger than 1V is output from the DAC 32, a clock signal having a frequency higher than a predetermined frequency is generated and output according to the value. Further, when a voltage having a value smaller than 1V is output from the DAC 32, a clock signal having a frequency smaller than a predetermined frequency is generated and output according to the value.

このようにして、受信バッファ1の蓄積量が所定値よりも大きくなると、TSパケットの転送が速くなるようにclock信号の周波数を高くし、受信バッファ1の蓄積量が所定値よりも小さくなると、TSパケットの転送が遅くなるようにclock信号の周波数を低くして、TSパケットの転送速度がほぼ一定となるように制御を行なっている。   In this way, when the accumulation amount of the reception buffer 1 becomes larger than the predetermined value, the frequency of the clock signal is increased so that the transfer of the TS packet becomes faster, and when the accumulation amount of the reception buffer 1 becomes smaller than the predetermined value, Control is performed so that the frequency of the clock signal is lowered so that the transfer of the TS packet becomes slow, and the transfer rate of the TS packet becomes almost constant.

以上説明したように、本実施の形態における映像信号処理装置によれば、制御部3がTSパケットに含まれるPCRの値に応じてpackets gap値を算出してGAP復元部2に与え、受信バッファ1におけるTSパケットの蓄積量が一定となるようにclock信号を生成してGAP復元部2に出力するようにしたので、TSパケットの到着時刻のばらつき(ジッタ)を抑制することができ、PCRクロックリカバリ部5におけるクロックリカバリの安定度を向上させることが可能となった。   As described above, according to the video signal processing apparatus in the present embodiment, the control unit 3 calculates the packet gap value according to the PCR value included in the TS packet, and provides the packet gap value to the GAP restoration unit 2 to receive the reception buffer. Since the clock signal is generated and output to the GAP restoration unit 2 so that the accumulated amount of TS packets in 1 is constant, the variation (jitter) in the arrival time of TS packets can be suppressed, and the PCR clock The stability of clock recovery in the recovery unit 5 can be improved.

(第2の実施の形態)
本発明の第2の実施の形態における映像信号処理装置の概略構成およびGAP復元部の内部構成は、図1および図2に示す第1の実施の形態における映像信号処理装置の概略構成およびGAP復元部2の内部構成と同様である。したがって、重複する構成および機能の詳細な説明は繰り返さない。
(Second Embodiment)
The schematic configuration of the video signal processing apparatus and the internal configuration of the GAP restoration unit in the second embodiment of the present invention are the schematic configuration of the video signal processing apparatus and the GAP restoration in the first embodiment shown in FIGS. The internal configuration of the unit 2 is the same. Therefore, detailed description of overlapping configurations and functions will not be repeated.

本発明の第1の実施に形態においては、packets gap値を一定とし、clock信号の周波数を変化させることによりPCRクロックリカバリ部5におけるクロックリカバリの安定度を向上させるものであった。本発明の第2の実施の形態においては、clock信号の周波数を一定とし、packets gap値を変化させることによりPCRクロックリカバリ部5におけるクロックリカバリの安定度を向上させるものである。   In the first embodiment of the present invention, the stability of the clock recovery in the PCR clock recovery unit 5 is improved by keeping the packets gap value constant and changing the frequency of the clock signal. In the second embodiment of the present invention, the stability of clock recovery in the PCR clock recovery unit 5 is improved by making the frequency of the clock signal constant and changing the packets gap value.

図4は、本発明の第2の実施の形態における制御部3の内部構成の一例を示す図である。制御部3は、加算器31と、アップダウンカウンタ35とを含む。加算器31は、INIT_buf_level値と、(−バッファレベル値)とを加算することにより差分値を算出する。INIT_buf_level値は予め定められた値であり、たとえば受信バッファ1の容量の半分の値が設定される。   FIG. 4 is a diagram illustrating an example of an internal configuration of the control unit 3 according to the second embodiment of the present invention. The control unit 3 includes an adder 31 and an up / down counter 35. The adder 31 calculates a difference value by adding the INIT_buf_level value and (−buffer level value). The INIT_buf_level value is a predetermined value, for example, a value that is half the capacity of the reception buffer 1 is set.

受信バッファ1に常にこのINIT_buf_level値の分だけTSパケットが蓄積されるように制御が行なわれる。すなわち、加算器31によって算出された差分値が“0”となるようにアップダウンカウンタ35の値が増減される。   Control is performed so that TS packets are always accumulated in the reception buffer 1 by the value of the INIT_buf_level value. That is, the value of the up / down counter 35 is increased or decreased so that the difference value calculated by the adder 31 becomes “0”.

アップダウンカウンタ35は、初期設定時に式(1)に示すpackets gap値を設定する。そして、所定周期で以下のようにアップダウンカウンタ35の値が更新される。加算器31から出力される差分値が正の値のとき、アップダウンカウンタ35は保持している値をインクリメントする。また、加算器31から出力される差分値が負の値のとき、アップダウンカウンタ35は保持している値をデクリメントする。   The up / down counter 35 sets a packets gap value shown in Expression (1) at the time of initial setting. Then, the value of the up / down counter 35 is updated at a predetermined cycle as follows. When the difference value output from the adder 31 is a positive value, the up / down counter 35 increments the held value. When the difference value output from the adder 31 is a negative value, the up / down counter 35 decrements the held value.

このようにして、受信バッファ1の蓄積量が所定値よりも大きくなると、TSパケットの転送が速くなるようにpackets gap値を小さくし、受信バッファ1の蓄積量が所定値よりも小さくなると、TSパケットの転送が遅くなるようにpackets gap値を大きくして、TSパケットの転送速度がほぼ一定となるように制御を行なっている。   In this way, when the accumulation amount of the reception buffer 1 becomes larger than the predetermined value, the packets gap value is decreased so that the transfer of the TS packet becomes faster, and when the accumulation amount of the reception buffer 1 becomes smaller than the predetermined value, the TS The packet gap value is increased so that packet transfer is delayed, and control is performed so that the transfer rate of TS packets is substantially constant.

以上説明したように、本実施の形態における映像信号処理装置によれば、制御部3が受信バッファ1におけるTSパケットの蓄積量が一定となるようにpackets gap値を増減してGAP復元部2に出力するようにしたので、TSパケットの到着時刻のばらつき(ジッタ)を抑制することができ、PCRクロックリカバリ部5におけるクロックリカバリの安定度を向上させることが可能となった。   As described above, according to the video signal processing device of the present embodiment, the control unit 3 increases or decreases the packets gap value so that the accumulated amount of TS packets in the reception buffer 1 is constant, and the GAP restoration unit 2 As a result of the output, the variation (jitter) in the arrival time of TS packets can be suppressed, and the stability of clock recovery in the PCR clock recovery unit 5 can be improved.

今回開示された実施の形態は、すべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

本発明の第1の実施の形態における映像信号処理装置の概略構成を示すブロック図である。It is a block diagram which shows schematic structure of the video signal processing apparatus in the 1st Embodiment of this invention. 図1に示すGAP復元部2の内部構成の一例を示す図である。It is a figure which shows an example of an internal structure of the GAP decompression | restoration part 2 shown in FIG. 図1に示す制御部3の内部構成の一例を示す図である。It is a figure which shows an example of the internal structure of the control part 3 shown in FIG. 本発明の第2の実施の形態における制御部3の内部構成の一例を示す図である。It is a figure which shows an example of the internal structure of the control part 3 in the 2nd Embodiment of this invention. MPEG2−TSのパケット構成を示す図である。It is a figure which shows the packet structure of MPEG2-TS.

符号の説明Explanation of symbols

1 受信バッファ、2 GAP復元部、3 制御部、4 デコーダ、5 PCRクロックリカバリ部、6 映像信号制御部、21 デクリメントカウンタ、22 ゲート、31 加算器、32 DAC、33 LPF、34 VCO、35 アップダウンカウンタ。   1 reception buffer, 2 GAP restoration unit, 3 control unit, 4 decoder, 5 PCR clock recovery unit, 6 video signal control unit, 21 decrement counter, 22 gate, 31 adder, 32 DAC, 33 LPF, 34 VCO, 35 up Down counter.

Claims (5)

受信したトランスポートパケットを蓄積する受信バッファ手段と、
前記受信バッファ手段に蓄積されたトランスポートパケットの転送時における時間間隔を復元する復元手段と、
前記受信バッファ手段に蓄積されたトランスポートパケット転送の時間間隔を算出して前記復元手段におけるトランスポートパケットの転送を制御する制御手段と、
前記復元手段から転送されたトランスポートパケットに基づいて映像信号を復号するデコード手段とを含む映像信号処理装置。
Receiving buffer means for storing received transport packets;
Restoring means for restoring a time interval at the time of transfer of transport packets stored in the reception buffer means;
Control means for calculating a time interval of transport packet transfer accumulated in the reception buffer means and controlling transport packet transfer in the restoration means;
A video signal processing apparatus including decoding means for decoding the video signal based on the transport packet transferred from the restoration means;
前記制御手段は、トランスポートパケットに含まれるプログラム時刻基準参照値と、プログラム時刻基準参照値を有するトランスポートパケット間に配置されるトランスポートパケットの個数とからトランスポートパケット転送の時間間隔を算出して前記復元手段におけるトランスポートパケットの転送を制御する、請求項1記載の映像信号処理装置。   The control means calculates a transport packet transfer time interval from a program time base reference value included in the transport packet and the number of transport packets arranged between transport packets having the program time base reference value. The video signal processing apparatus according to claim 1, wherein transfer of transport packets in said restoration means is controlled. 前記復元手段は、前記制御手段によって算出された時間間隔が設定され、クロック信号に応じてカウントを行なうカウント手段と、
前記カウント手段の値に応じて、前記受信バッファ手段から出力される1個分のトランスポートパケットを前記デコード手段に転送するゲート手段とを含み、
前記制御手段は、前記受信バッファ手段におけるトランスポートパケットの蓄積量と所定値との差分値が0となるように前記クロック信号の周波数を制御して前記カウント手段に出力する、請求項2記載の映像信号処理装置。
The restoration means has a time interval calculated by the control means, and count means for counting according to a clock signal;
Gate means for transferring one transport packet output from the reception buffer means to the decoding means in accordance with the value of the counting means,
3. The control means according to claim 2, wherein the control means controls the frequency of the clock signal so that a difference value between a storage amount of transport packets in the reception buffer means and a predetermined value becomes 0 and outputs the clock signal to the counting means. Video signal processing device.
前記復元手段は、前記制御手段によって算出された時間間隔が設定され、クロック信号に応じてカウントを行なうカウント手段と、
前記カウント手段の値に応じて、前記受信バッファ手段から出力される1個分のトランスポートパケットを前記デコード手段に転送するゲート手段とを含み、
前記制御手段は、前記受信バッファ手段におけるトランスポートパケットの蓄積量と所定値との差分値が0となるように前記時間間隔を増減して前記カウント手段に出力する、請求項2記載の映像信号処理装置。
The restoration means includes a counting means for setting a time interval calculated by the control means and counting according to a clock signal;
Gate means for transferring one transport packet output from the reception buffer means to the decoding means in accordance with the value of the counting means,
3. The video signal according to claim 2, wherein the control means outputs the video signal to the counting means by increasing or decreasing the time interval so that a difference value between an accumulation amount of transport packets in the reception buffer means and a predetermined value becomes 0. 4. Processing equipment.
受信したトランスポートパケットを蓄積するステップと、
前記蓄積されたトランスポートパケットの転送時における時間間隔を算出するステップと、
前記算出された時間間隔でトランスポートパケットを転送するステップと、
前記転送されたトランスポートパケットに基づいて映像信号を復号するステップとを含む映像信号処理方法。
Accumulating received transport packets;
Calculating a time interval during transfer of the accumulated transport packet;
Transferring transport packets at the calculated time interval;
Decoding a video signal based on the transferred transport packet.
JP2008011383A 2008-01-22 2008-01-22 Video signal processing apparatus and video signal processing method Expired - Fee Related JP4874272B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008011383A JP4874272B2 (en) 2008-01-22 2008-01-22 Video signal processing apparatus and video signal processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008011383A JP4874272B2 (en) 2008-01-22 2008-01-22 Video signal processing apparatus and video signal processing method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2011228852A Division JP2012016066A (en) 2011-10-18 2011-10-18 Video signal processor, and video signal processing method

Publications (2)

Publication Number Publication Date
JP2009177303A true JP2009177303A (en) 2009-08-06
JP4874272B2 JP4874272B2 (en) 2012-02-15

Family

ID=41031977

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008011383A Expired - Fee Related JP4874272B2 (en) 2008-01-22 2008-01-22 Video signal processing apparatus and video signal processing method

Country Status (1)

Country Link
JP (1) JP4874272B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011234166A (en) * 2010-04-28 2011-11-17 Mitsubishi Electric Corp Video signal transmission terminal, video signal reception terminal, and communication system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005151463A (en) * 2003-11-19 2005-06-09 Pioneer Electronic Corp Device and method for receiving stream data
WO2005067252A1 (en) * 2004-01-07 2005-07-21 Matsushita Electric Industrial Co., Ltd. Data reception device
JP2006186580A (en) * 2004-12-27 2006-07-13 Toshiba Corp Reproducing device and decoding control method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005151463A (en) * 2003-11-19 2005-06-09 Pioneer Electronic Corp Device and method for receiving stream data
WO2005067252A1 (en) * 2004-01-07 2005-07-21 Matsushita Electric Industrial Co., Ltd. Data reception device
JP2006186580A (en) * 2004-12-27 2006-07-13 Toshiba Corp Reproducing device and decoding control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011234166A (en) * 2010-04-28 2011-11-17 Mitsubishi Electric Corp Video signal transmission terminal, video signal reception terminal, and communication system

Also Published As

Publication number Publication date
JP4874272B2 (en) 2012-02-15

Similar Documents

Publication Publication Date Title
JP3925311B2 (en) Data distribution system
EP2506570B1 (en) Method and system for playing video information, and video information content
US6493832B1 (en) Communication apparatus which handles a time stamp
US20010004366A1 (en) Communication apparatus, communication method and storage medium
JP2007535245A (en) Rate limiting control mechanism of MPEGPCR dejittering
US20150030088A1 (en) Clock recovery for media stream in bursty network channel
JP5041844B2 (en) PCR correction circuit
US9591376B2 (en) Method and system for synchronizing signals in a communication system
JP3906712B2 (en) Data stream processing device
JP4081936B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND RECORDING MEDIUM
EP1528724A1 (en) Information processing device and method, recording medium, and program
JP4874272B2 (en) Video signal processing apparatus and video signal processing method
JP5632711B2 (en) Transmitting apparatus, receiving apparatus and transmission system
JP2012016066A (en) Video signal processor, and video signal processing method
JP4192766B2 (en) Receiving apparatus and method, recording medium, and program
WO2011158640A1 (en) Output rate control device and output rate control method
JP6259227B2 (en) Clock reproduction control device and video signal receiving device
JP5149404B2 (en) Video receiver
JP5958008B2 (en) Stream processing apparatus, stream processing method, and stream processing program
US20080025345A1 (en) Methods and Systems for Buffer Management
JP2002152273A (en) Delay fluctuation absorbing method and packet arrangement adjustment device
JP4026556B2 (en) Data transmission device
JP4224749B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND RECORDING MEDIUM
JP2008067179A (en) Receiver and coded data reproduction method
KR100663565B1 (en) Amending Apparatus and Amending Method of PCR and Data rate

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110826

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110830

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111018

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20111115

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20111122

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

Free format text: PAYMENT UNTIL: 20141202

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees