JPH08322043A - Video encoder/decoder - Google Patents

Video encoder/decoder

Info

Publication number
JPH08322043A
JPH08322043A JP12645995A JP12645995A JPH08322043A JP H08322043 A JPH08322043 A JP H08322043A JP 12645995 A JP12645995 A JP 12645995A JP 12645995 A JP12645995 A JP 12645995A JP H08322043 A JPH08322043 A JP H08322043A
Authority
JP
Japan
Prior art keywords
signal
video
synchronization
timing
decoding
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
JP12645995A
Other languages
Japanese (ja)
Other versions
JP2738342B2 (en
Inventor
Toshiaki Kitsuki
俊明 橘木
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP12645995A priority Critical patent/JP2738342B2/en
Publication of JPH08322043A publication Critical patent/JPH08322043A/en
Application granted granted Critical
Publication of JP2738342B2 publication Critical patent/JP2738342B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Television Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE: To perform AV synchronization control with high accuracy regardless of the execution/non-execution of frame rate conversion by checking AV synchronization by a synchronization check timing signal generated in replying to a system clock. CONSTITUTION: A video timing control part 3 generates a display timing signal TH replying to the supply of a video synchronizing signal Y, and supplies it to a picture code part 6, and also, generates a decode timing signal TD, and supplies it to a decode control part 4 and a frame conversion control part 2A. The check signal generation circuit 20 of the frame conversion control part 2A generates a synchronization check timing signal TC representing a decoding timing in the case that no frame conversion is performed according to the frame rate of video code data DV in replying to the supply of the system clock SC, and supplies it to an AV synchronization control part 1A. The check circuit 11 of the AV synchronization control part 1A checks the AV synchronization in replying to the supply of the synchronization check timing signal TC after a decoding start timing.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はビデオ符号復号化装置に
関し、特にMPEG規格によりエンコードされたビデオ
データをオーディオデータと同期してデコードするビデ
オ符号復号化装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a video code decoding apparatus, and more particularly to a video code decoding apparatus for decoding video data encoded according to the MPEG standard in synchronization with audio data.

【0002】[0002]

【従来の技術】テレビジョン等のビデオ信号のフレーム
間予測符号化方式として、ISO/IEC,JTC1/
SC2/WG8で標準化検討されたMPEG(Movi
ngPicture Expert Group)にお
ける規格案が知られている。これら規格には、ビデオ符
号データのデコーダについて規定したMPEG1があ
る。また、画像に音声を付加するための音声信号の符号
化方式としてサブバンド符号化を利用して、音声信号の
情報量を減らし音声データ(オーディオ符号データ)を
伝送または蓄積する音声符号化復号化技術に対するMP
EGオーディオ規格がある。さらに、これら、ビデオ符
号データとオーディオ符号データの多重化方式として、
MPEGシステム規格がある。
2. Description of the Related Art ISO / IEC, JTC1 / are used as interframe predictive coding systems for video signals of televisions and the like.
MPEG (Movi) standardized by SC2 / WG8
ngPicture Expert Group) is known. Among these standards is MPEG1 which defines a video code data decoder. In addition, audio coding / decoding in which subband coding is used as an audio signal coding method for adding audio to an image to reduce the information amount of the audio signal and to transmit or store audio data (audio coded data) MP for technology
There is an EG audio standard. Furthermore, as a multiplexing method of these video code data and audio code data,
There is an MPEG system standard.

【0003】MPEGシステム規格では、パケットによ
る多重化方式を用いる。この方式は、ビデオ符号および
オーディオ符号をそれぞれ適当な長さのビットストリー
ムに分割し、各々の先頭にビデオデータとオーディオデ
ータとの識別用の付加情報を付加してそれぞれビデオパ
ケット,オーディオパケットを生成し、これらビデオパ
ケット,オーディオパケットを適当に切替えることによ
りビデオ符号とオーディオ符号とを多重化する。
The MPEG system standard uses a packet multiplexing system. In this method, a video code and an audio code are divided into bit streams of appropriate lengths, and additional information for identifying video data and audio data is added to the beginning of each to generate a video packet and an audio packet, respectively. Then, the video code and the audio code are multiplexed by appropriately switching these video packets and audio packets.

【0004】デコード処理では、オーディオ符号とビデ
オ符号を分離し、オーディオ符号はオーディオ符号復号
化装置で復号化してオーディオ信号を出力する。ビデオ
符号はビデオ符号復号化装置で復号化してビデオ信号を
出力する。このときに、これらオーディオ信号とビデオ
信号との出力同期のために、同期制御を行う必要があ
る。
In the decoding process, an audio code and a video code are separated, and an audio code is decoded by an audio code decoding device to output an audio signal. The video code is decoded by the video code decoding device and a video signal is output. At this time, it is necessary to perform synchronization control in order to synchronize the outputs of the audio signal and the video signal.

【0005】MPEGシステム規格では、オーディオ信
号とビデオ信号との同期のために、パケットの付加情報
としてそれらのデータの出力タイミングとデコードタイ
ミングを示すスタンプ情報を付加する。
According to the MPEG system standard, in order to synchronize an audio signal and a video signal, stamp information indicating output timing and decoding timing of the data is added as additional information of the packet.

【0006】タイムスタンプは、アクセスユニットと呼
ばれる復号化単位に対するタイミングを指定する。この
アクセスユニットは、ビデオでは1ピクチャであり、オ
ーディオでは1オーディオフレームと呼ばれる復号再生
の単位である。
The time stamp specifies the timing for a decoding unit called an access unit. This access unit is a unit of decoding reproduction called one picture for video and one audio frame for audio.

【0007】これらのタイムスタンプは、アクセスユニ
ットの先頭が入ったパケットの先頭部分に付加され、そ
のアクセスユニットの出力タイミングを指定する。パケ
ット内に複数のアクセスユニットの先頭がある場合に
は、最初のアクセスユニットに対応するタイムスタンプ
のみが付加される。
These time stamps are added to the head portion of the packet containing the head of the access unit and specify the output timing of the access unit. When there are a plurality of access units at the beginning in the packet, only the time stamp corresponding to the first access unit is added.

【0008】AV同期制御では、ビデオおよびオーディ
オのそれぞれのアクセスユニットを、時刻基準タイマで
あるSTC(システムタイムクロック)とそのアクセス
ユニットの対応するタイムスタンプとがほぼ一致したと
きに出力するように制御する。
In the AV synchronization control, the video and audio access units are controlled to be output when the time reference timer STC (system time clock) and the corresponding time stamp of the access unit substantially match. To do.

【0009】STCは、システム符号に多重化されたS
CR(システム時刻基準参照値)によって、符号化装置
の意図した値に設定・校正され、一定間隔でカウントア
ップされる。
STC is an S code multiplexed on a system code.
The value is set and calibrated to a value intended by the encoder by CR (system time reference value), and counted up at regular intervals.

【0010】従来のAV同期制御およびフレームレート
変換が可能なビデオ符号復号化装置をブロックで示す図
4を参照すると、この従来のビデオ符号復号化装置は、
システム時刻管理機能とAV同期チェック機能とを有す
るAV同期制御部1と、デコードタイミング信号TDの
供給に応答してピクチャのリピート要求信号RPあるい
はピクチャのスキップ要求信号RSをデコード制御部4
に出力するフレームレート変換制御部2と、ビデオ同期
信号SYの供給に応答して表示タイミング信号THとデ
コードタイミング信号TDとを発生するビデオタイミン
グ生成部3と、デコードタイミング信号TDの供給に応
答して通常デコード時には同一タイミングのデコード開
始信号DSをピクチャーデコード部6に供給するデコー
ド制御部4と、入力されるビデオ符号データDVを一時
的に格納しピクチャデコード部6に順次ビデオ符号デー
タDVを供給するビデオ符号バッファ5と、デコード開
始信号DSの供給に応答して1ピクチャ分のビデオ符号
データDVをデコードしピクチャスキップ信号PSの供
給に応答して1ピクチャ分のビデオ符号データをデコー
ドせずに読飛ばすピクチャデコード部6とを備える。
Referring to FIG. 4, which shows a block diagram of a conventional video coding / decoding apparatus capable of AV synchronization control and frame rate conversion, the conventional video coding / decoding apparatus is
An AV synchronization control unit 1 having a system time management function and an AV synchronization check function, and a decoding control unit 4 for transmitting a picture repeat request signal RP or a picture skip request signal RS in response to the supply of a decode timing signal TD.
In response to the supply of the video synchronization signal SY, the video timing generation unit 3 for generating the display timing signal TH and the decode timing signal TD, and the supply of the decode timing signal TD. During normal decoding, the decoding control section 4 that supplies the decoding start signal DS at the same timing to the picture decoding section 6 and the input video code data DV are temporarily stored and the video decoding data 6 are sequentially supplied to the picture decoding section 6. The video code buffer 5 for decoding, and the video code data DV for one picture in response to the supply of the decoding start signal DS, and the video code data for one picture without decoding in response to the supply of the picture skip signal PS. And a picture decoding unit 6 for skipping.

【0011】次に、図4を参照して、従来のビデオ符号
復号化装置の動作について説明すると、まず、ビデオタ
イミング制御部3はビデオ同期信号SYの供給に応答し
て表示タイミング信号THとデコードタイミング信号T
Dとをそれぞれ発生し、信号THをピクチャデコード部
6に、信号TDをフレームレート変換制御部2にそれぞ
れ供給する。フレームレート変換制御部2は、デコード
タイミング信号の供給に応答してビデオ符号データD
V,出力ビデオ信号Vの各々のフレームレートが異なる
場合に両フレームレートを一致させるよう変換するため
に、一定ピクチャ数毎にピクチャリピート要求信号PR
あるいはピクチャスキップ要求信号RSをデコード制御
部4に出力する。AV同期制御部1のシステム時刻管理
機能では、システム時刻をシステムクロックSCの供給
に応答してカウントアップするとともに、時々入力され
るシステムクロック参照パラメータCRに応答して設定
・校正する。次に、AV同期チエック機能では、タイム
スタンプとその対応ピクチャの対応を管理し、デコード
開始信号DSの供給を受けてピクチャデコード部6で処
理中の対応ピクチャのデコード開始タイミングにおける
システム時刻とビデオタイムスタンプとの時間差が所定
範囲内かの判定を行う。上記時間差が上記範囲を越えシ
ステム時刻の方が大きい場合はピクチャデコード処理が
遅すぎることを示すので、ピクチャスキップ要求信号R
Sを、システム時刻の方が小さい場合はピクチャデコー
ド処理が早すぎることを示すので、ピクチャリピート要
求信号PRをそれぞれデコード制御部4に出力する。
Next, referring to FIG. 4, the operation of the conventional video code decoding apparatus will be described. First, the video timing control unit 3 decodes the display timing signal TH in response to the supply of the video synchronization signal SY. Timing signal T
D and D, respectively, and supplies the signal TH to the picture decoding unit 6 and the signal TD to the frame rate conversion control unit 2. The frame rate conversion control unit 2 responds to the supply of the decode timing signal by the video code data D.
V and the output video signal V have different frame rates, in order to convert the frame rates so that they match each other, a picture repeat request signal PR is generated for every fixed number of pictures.
Alternatively, the picture skip request signal RS is output to the decoding control unit 4. The system time management function of the AV synchronization control unit 1 counts up the system time in response to the supply of the system clock SC, and sets / calibrates it in response to the system clock reference parameter CR which is sometimes input. Next, in the AV synchronization check function, the correspondence between the time stamp and its corresponding picture is managed, and the system time and the video time at the decoding start timing of the corresponding picture being processed by the picture decoding unit 6 in response to the supply of the decoding start signal DS. It is determined whether the time difference from the stamp is within a predetermined range. If the above time difference exceeds the above range and the system time is larger, it indicates that the picture decoding process is too late. Therefore, the picture skip request signal R
If S is smaller than the system time, it indicates that the picture decoding process is too early. Therefore, the picture repeat request signal PR is output to each decoding control unit 4.

【0012】デコード制御部4は、デコードタイミング
信号TDの供給に応答して通常デコード時には同一タイ
ミングでデコード開始信号DSをピクチャデコード部6
に出力する。また、AV同期制御部1とフレームレート
変換制御部2とからそれぞれピクチャスキップ要求信号
RS,ピクチャリピート要求信号PRを入力されたとき
には、これら信号RS,PRにしたがいピクチャのスキ
ップ/リピートを実行する。ピクチャスキップはピクチ
ャスキップ信号PSをピクチャデコード部6に出力し、
ピクチャデコード部6で1ピクチャ分のビデオ符号デー
タDVを読飛ばすように制御することにより行う。ピク
チャリピートは、デコードタイミング信号DTの1パル
スを無視して対応のデコード開始信号DSを出力しない
ことにより、デコード処理を1ピクチャ期間行なわない
よう制御することにより行う。ビデオ符号バッファ5
は、入力ビデオ符号データDVを一時的に格納し、ピク
チャデコード部6に順次読出したビデオ符号データDV
を供給する。ピクチャデコード部6は、デコード開始信
号DSの供給に応答して、1ピクチャ分のビデオ符号デ
ータDVをデコードし、ピクチャスキップ信号PSが供
給されると、上述のように1ピクチャ分のビデオ符号デ
ータをデコードせずに読飛ばす。また、表示タイミング
信号THの供給に応答して復元ピクチャのデータをビデ
オ信号Vとして出力する。
In response to the supply of the decode timing signal TD, the decode control section 4 sends the decode start signal DS at the same timing during normal decoding, and the picture decode section 6
Output to. Further, when the picture skip request signal RS and the picture repeat request signal PR are input from the AV synchronization control unit 1 and the frame rate conversion control unit 2, respectively, the skip / repeat of the picture is executed according to these signals RS and PR. The picture skip outputs the picture skip signal PS to the picture decoding unit 6,
This is performed by controlling the picture decoding unit 6 to skip the video code data DV for one picture. The picture repeat is performed by ignoring one pulse of the decode timing signal DT and not outputting the corresponding decode start signal DS, so that the decoding process is controlled not to be performed for one picture period. Video code buffer 5
Is the video code data DV that has temporarily stored the input video code data DV and has been sequentially read by the picture decoding unit 6.
Supply. In response to the supply of the decoding start signal DS, the picture decoding unit 6 decodes the video code data DV for one picture, and when the picture skip signal PS is supplied, the video code data for one picture as described above. Skip without decoding. In addition, the data of the restored picture is output as the video signal V in response to the supply of the display timing signal TH.

【0013】次に、フレームレート変換制御部2におけ
るピクチャリピート要求信号PRと、ピクチャスキップ
要求信号RSの各々の発生について説明する。説明の便
宜上、ピクチャリピート信号発生については25フレー
ム/秒のビデオ符号を30フレーム/秒で表示する場合
を例として、ピクチャスキップ信号発生については30
フレーム/秒のビデオ符号を25フレーム/秒で表示す
る場合を例としてそれぞれ説明する。
Next, the generation of each of the picture repeat request signal PR and the picture skip request signal RS in the frame rate conversion control unit 2 will be described. For convenience of explanation, as an example, a case where a video code of 25 frames / sec is displayed at 30 frames / sec for picture repeat signal generation, and 30 for picture skip signal generation.
A case where a video code of frames / second is displayed at 25 frames / second will be described as an example.

【0014】まず、25フレーム/秒のビデオ符号を3
0フレーム/秒で表示する場合は、5ピクチャ分のビデ
オ符号データ毎に1ピクチャ分リピートすることにより
6ピクチャを表示するようにすればよいので、6デコー
ドタイミング信号毎にピクチャリピート要求信号PRを
出力するように制御する。
First, the video code of 25 frames / second is set to 3
When displaying at 0 frames / sec, 6 pictures may be displayed by repeating 1 picture for each video code data for 5 pictures, so that the picture repeat request signal PR is provided for every 6 decoding timing signals. Control to output.

【0015】また、30フレーム/秒のビデオ符号を2
5フレーム/秒で表示する場合は、5ピクチャ分の表示
期間毎に1ピクチャ分のビデオ符号データをデコードせ
ず破棄することにより5ピクチャ表示期間に6ピクチャ
分のビデオ符号データを消費するようにすればよいの
で、5デコードタイミング信号毎にピクチャスキップ要
求信号RSを出力するように制御する。
In addition, the video code of 30 frames / second is 2
When displaying at 5 frames / second, the video code data for one picture is discarded without decoding for every display period for five pictures, so that the video code data for six pictures is consumed during the display period for five pictures. Therefore, the picture skip request signal RS is controlled to be output every five decode timing signals.

【0016】以上、説明した従来のビデオ符号復号化装
置では、AV同期制御部でのビデオタイムスタンプとシ
ステム時刻の比較をタイムスタンプ対応ピクチャのデコ
ード開始タイミングで行なうため、フレームレート変換
時においては上記対応ピクチャのデコードタイミングが
本来のフレームレート変換しないときのデコードタイミ
ングと異なるため、AV同期チェックタイミングに半ピ
クチャ期間以上の誤差を生じる可能性がある。そのた
め、従来のビデオ符号復号化装置では、フレームレート
変換を行うときに、AV同期判定時のシステム時刻とタ
イムスタンプとの差の許容範囲を上記誤差分を含めて広
めることで、その誤差に起因する誤タイミングでのAV
同期チェックで生ずるピクチャスキップ/リピートを防
止するというものであった。
In the conventional video encoding / decoding apparatus described above, the video time stamp and the system time are compared in the AV synchronization control unit at the decoding start timing of the time stamp corresponding picture. Since the decoding timing of the corresponding picture is different from the decoding timing when the original frame rate conversion is not performed, there is a possibility that an error of half a picture period or more occurs in the AV synchronization check timing. Therefore, in the conventional video encoding / decoding device, when the frame rate conversion is performed, the allowable range of the difference between the system time and the time stamp at the time of AV synchronization determination is widened including the above-mentioned error. AV at the wrong timing
It was to prevent the picture skip / repeat caused by the synchronization check.

【0017】[0017]

【発明が解決しようとする課題】上述した従来のビデオ
符号復号化装置は、フレームレート変換時においては、
AV同期チェックタイミングに、半ピクチャ期間以上の
誤差を生じる可能性があり、この誤差に誤差に起因する
誤タイミングでのAV同期チェックで生ずるピクチャス
キップ/リピートを防止するため、システム時刻とタイ
ムスタンプの差の許容範囲を半ピクチャ期間分広げる必
要が有り、精度の高いAV同期制御が実施できないとい
う欠点があった。
The above-described conventional video coding / decoding apparatus, at the time of frame rate conversion,
There is a possibility that an error of half a picture period or more will occur in the AV synchronization check timing, and in order to prevent picture skip / repeat that occurs in the AV synchronization check at the wrong timing due to the error, the system time and the time stamp are set. It is necessary to widen the allowable range of the difference by a half picture period, and there is a drawback that highly accurate AV synchronization control cannot be performed.

【0018】[0018]

【課題を解決するための手段】本発明のビデオ符号復号
化装置は、ビデオ同期信号の供給に応答して表示タイミ
ング信号とデコードタイミング信号とを出力するビデオ
タイミング生成手段と、ビデオ符号データを一時保持す
るビデオ符号バッファ手段と、ピクチャ毎に前記表示タ
イミング信号の供給に応答して前記ビデオ符号バッファ
から読出した前記ビデオ符号データをデコードしビデオ
信号を出力するビデオデコード手段と、システムクロッ
クの供給に応答してシステム時刻を管理するとともに前
記ビデオ符号データのデコード開始タイミングが前記ビ
デオ符号データに同期して供給されるビデオタイムスタ
ンプより予め定めた時間差範囲を超えて早い場合には前
記ピクチャのリピート要求信号を遅い場合は前記ピクチ
ャのスキップ要求信号をそれぞれ出力することによりA
V同期のチエックを行うAV同期制御手段と、前記ビデ
オ符号データの第1のフレームレートがビデオ出力信号
の第2のフレームレートと異なる場合に前記リピート要
求信号とスキップ要求信号とのいずれか一方を選択的に
出力し所要のビデオ符号データ量を前記第1のフレーム
レートと一致させるように制御するフレームレート変換
制御手段と、前記AV同期制御手段および前記フレーム
レート変換制御手段の各々から供給される前記リピート
要求信号および前記スキップ要求信号に応答して前記ピ
クチャデコード部に1ピクチャ分のデコード開始信号と
1ピクチャ分の符号の読飛ばしを指示するスキップ信号
とのいずれか一方を選択的に出力するデコード制御手段
とを備えるビデオ符号復号化装置において、前記フレー
ムレート変換制御手段が前記システムクロックの供給に
応答してフレームレート変換を行わない場合の前記デコ
ードタイミングを示す同期チエックタイミング信号を生
成するチエック信号発生回路を備え、前記AV同期制御
手段が前記デコード開始タイミング後に前記同期チエッ
クタイミング信号の供給に応答して前記AV同期のチエ
ックを行うチエック回路をを備えて構成されている。
A video code decoding apparatus according to the present invention temporarily outputs video code data, and video timing generating means for outputting a display timing signal and a decode timing signal in response to the supply of a video synchronization signal. A video code buffer means for holding, a video decoding means for decoding the video code data read from the video code buffer and outputting a video signal in response to the supply of the display timing signal for each picture, and for supplying a system clock. In response to managing the system time, if the decoding start timing of the video code data is earlier than a video time stamp supplied in synchronization with the video code data by a predetermined time difference range, a repeat request of the picture is requested. If the signal is slow, skip request for the picture A by outputting No. respectively
One of the repeat request signal and the skip request signal when the first frame rate of the video code data is different from the second frame rate of the video output signal It is supplied from each of the frame rate conversion control means for selectively outputting and controlling the required video code data amount to match the first frame rate, the AV synchronization control means and the frame rate conversion control means. In response to the repeat request signal and the skip request signal, either one of a decoding start signal for one picture and a skip signal for instructing skip of the code for one picture is selectively output to the picture decoding unit. In the video code decoding device including decoding control means, the frame rate conversion control Each stage includes a check signal generation circuit for generating a synchronous check timing signal indicating the decode timing when the frame rate conversion is not performed in response to the supply of the system clock, and the AV synchronization control means is provided after the decode start timing. It comprises a check circuit for checking the AV synchronization in response to the supply of the synchronization check timing signal.

【0019】[0019]

【実施例】次に、本発明の実施例を図3と共通の構成要
素には共通の参照文字/数字を付して同様にブロックで
示す図1を参照すると、この図に示す本実施例のビデオ
符号復号化装置は、従来と共通のビデオタイミング生成
部3と、ビデオ符号バッファ5と、デコード制御部4
と、ピクチャデコード部6とに加えて、AV同期制御部
1の代りに従来と同様のシステム時刻管理機能に加えて
同期チエックタイミング信号TCの供給に応答してAV
同期のチエックを行うチエック回路11を含むAV同期
判定機能を有するAV同期制御部1Aと、フレームレー
ト変換制御部2の代りに従来と同様のフレーム変換機能
に加えてシステムクロックSCの供給に応答してフレー
ム変換を行わない場合の本来のデコードタイミングを示
す同期チエックタイミング信号TCを生成するチエック
信号発生回路20を含むフレームレート変換制御部2A
とを備える。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT Next, referring to FIG. 1, which is a block diagram in which components common to those of FIG. 3 are designated by common reference characters / numerals, the embodiment of this invention shown in FIG. The video coding / decoding apparatus of the present invention has a video timing generation unit 3, a video code buffer 5, and a decoding control unit 4 which are common to the conventional ones.
In addition to the picture decoding unit 6, the AV synchronization control unit 1 has the same system time management function as the conventional one, and in addition to the AV signal in response to the supply of the synchronization check timing signal TC.
Instead of the AV synchronization control unit 1A having an AV synchronization determination function including the check circuit 11 for performing the synchronization check, and the frame rate conversion control unit 2 in addition to the conventional frame conversion function, in response to the supply of the system clock SC. A frame rate conversion control unit 2A including a check signal generation circuit 20 for generating a synchronous check timing signal TC indicating the original decoding timing when frame conversion is not performed.
With.

【0020】次に、図1を参照して本実施例の動作につ
いて説明すると、従来と同様に、ビデオタイミング制御
部3はビデオ同期信号SYの供給に応答して表示タイミ
ング信号THを生成しピクチャデコード部6に供給する
とともに、デードタイミング信号TDを生成しデコード
制御部4とフレームレート変換部2Aとに供給する。
Next, the operation of the present embodiment will be described with reference to FIG. 1. As in the conventional case, the video timing control section 3 generates the display timing signal TH in response to the supply of the video synchronization signal SY, and outputs the picture. The dead timing signal TD is generated and supplied to the decoding control unit 4 and the frame rate conversion unit 2A while being supplied to the decoding unit 6.

【0021】フレームレート変換制御部2Aは、デコー
ドタイミング信号TDの供給に応答して、従来と同様
に、ビデオ符号データDVのフレームレートと出力ビデ
オ信号Vのフレームレートが相違する場合に対応のピク
チャリピート要求信号PR/ピクチャスキップ信号RS
をデコード制御部4に出力する。また、チエック信号発
生回路20はシステムクロックSCの供給に応答してビ
デオ符号データDVのフレームレートにしたがいフレー
ムレート変換を行わない場合の本来のデコードタイミン
グを示す同期チェックタイミング信号TCを生成し、A
V同期制御部1Aに供給する。
In response to the supply of the decode timing signal TD, the frame rate conversion control unit 2A responds to the supply of the decode timing signal TD and, as in the conventional case, the picture corresponding to the case where the frame rate of the video code data DV and the frame rate of the output video signal V are different. Repeat request signal PR / picture skip signal RS
Is output to the decoding control unit 4. In addition, the check signal generation circuit 20 generates the synchronization check timing signal TC indicating the original decoding timing when the frame rate conversion is not performed according to the frame rate of the video code data DV in response to the supply of the system clock SC, and A
It is supplied to the V synchronization control unit 1A.

【0022】AV同期制御部1Aは従来と同様のシステ
ム時刻管理と、従来の判定内容に加えてチエック回路1
1において同期チエックタイミング信号TCを用いるA
V同期判定とを行なう。すなわち、AV同期チエックで
は、タイムスタンプとその対応ピクチャの対応を管理
し、デコード開始信号DSの供給に応答してデコード処
理開始後、チエック回路11で供給された同期チェック
タイミング信号TCの入力タイミングにおけるシステム
時刻とビデオタイムスタンプとの時間差が所定範囲内か
の判定を行う。従来と同様に、上記時間差が上記範囲を
越える場合のシステム時刻のタイムスタンプに対する大
小に対応してピクチャスキップ要求信号RSまたはピク
チャリピート要求信号PRをデコード制御部4に出力す
る。
The AV synchronization control unit 1A has the same system time management as the conventional one, and the check circuit 1 in addition to the contents of the conventional determination.
A using the synchronous check timing signal TC at 1
V synchronization determination is performed. That is, in the AV synchronization check, the correspondence between the time stamp and its corresponding picture is managed, and after the decoding process is started in response to the supply of the decoding start signal DS, the input timing of the synchronization check timing signal TC supplied by the check circuit 11 is determined. It is determined whether the time difference between the system time and the video time stamp is within a predetermined range. As in the conventional case, the picture skip request signal RS or the picture repeat request signal PR is output to the decoding control unit 4 in correspondence with the magnitude of the system time stamp when the time difference exceeds the range.

【0023】以下、デコード制御部4以降の動作は従来
と同様であるので、説明を省略する。
Since the operation of the decoding control section 4 and the subsequent steps is the same as the conventional one, the description thereof will be omitted.

【0024】次に、フレームレート変換制御部2Aのチ
エック信号発生回路20の構成をブロックで示す図2を
参照すると、このチエック信号発生回路20は、デコー
ドタイミング信号TDの供給に応答してカウントアップ
しカウント値Nを出力するピクチャカウンタ21と、カ
ウント値Nが0の時″H″を出力する0検出回路22
と、信号TDと0検出回路22の出力との論理積値を出
力するAND回路23と、システムクロック信号SCの
供給に応答してカウントアップし1/25秒相当の1フ
レーム期間のカウント値NPを出力するピクチャ期間カ
ウンタ24と、カウント値NPと1フレーム期間値Fと
の一致を検出し一致パルス信号を出力する一致検出回路
25と、上記論理積値と一致パルス信号との論理和値を
同期チェックタイミング信号TCとして出力するOR回
路26とを備える。
Next, referring to FIG. 2, which shows a block diagram of the configuration of the check signal generating circuit 20 of the frame rate conversion control unit 2A, the check signal generating circuit 20 counts up in response to the supply of the decode timing signal TD. Then, a picture counter 21 that outputs a count value N and a 0 detection circuit 22 that outputs "H" when the count value N is 0
And an AND circuit 23 that outputs a logical product value of the signal TD and the output of the 0 detection circuit 22, and a count value NP for one frame period that corresponds to 1/25 second and counts up in response to the supply of the system clock signal SC. , A picture period counter 24 that outputs a coincidence detection circuit 25 that detects the coincidence between the count value NP and the one frame period value F and outputs a coincidence pulse signal, and a logical sum value of the logical product value and the coincidence pulse signal. An OR circuit 26 that outputs the synchronization check timing signal TC is provided.

【0025】図2および動作を示すタイムチャートであ
る図3を参照してこの回路の動作について説明すると、
まず、図3(A)は25フレーム/秒のビデオ符号を3
0フレーム/秒で表示する場合であり、ピクチャカウン
タ21のカウント値Nは、デコードタイミング信号TD
の供給に応答してカウントアップし、カウント値Nが5
の後に0に戻るように制御される。0検出回路22は、
カウント値Nが0の時″H″を出力し、AND回路23
はこの出力信号の″H″とデコード同期信号TDとの論
理積を生成する。このAND回路23の出力論理積値は
OR回路26に供給され、OR回路26は同期チェック
タイミング信号TCを生成する。また、ピクチャ期間カ
ウンタ24のカウント値NPはシステムクロックSCの
供給に応答してカウントアップし、1/25秒相当の1
フレーム期間値後に0に戻る。この場合はシステムクロ
ックを90KHzと想定しているため、1フレーム期間
値は3599となる。一致検出回路25は、カウント値
NPが上記1フレーム期間値(3599)に一致した時
に一致パルス信号を発生する。この一致パルス信号はO
R回路26に供給され、OR回路26は同期チェックタ
イミング信号TCを生成する。図3(A)において、デ
コードタイミング信号TDおよび、同期チェックタイミ
ング信号TCの各々のパルスに付記したP0〜P6はそ
のパルス信号対応のピクチャを示す。
The operation of this circuit will be described with reference to FIG. 2 and FIG. 3 which is a time chart showing the operation.
First, in FIG. 3A, a video code of 25 frames / sec is set to 3
The display value is 0 frame / second, and the count value N of the picture counter 21 is the decode timing signal TD.
Counts up in response to the supply of
Is controlled to return to 0 after. The 0 detection circuit 22 is
When the count value N is 0, "H" is output and the AND circuit 23
Generates a logical product of "H" of this output signal and the decode synchronization signal TD. The output logical product value of the AND circuit 23 is supplied to the OR circuit 26, and the OR circuit 26 generates the synchronization check timing signal TC. Further, the count value NP of the picture period counter 24 is counted up in response to the supply of the system clock SC, and is 1 corresponding to 1/25 second.
It returns to 0 after the frame period value. In this case, since the system clock is assumed to be 90 KHz, the one frame period value is 3599. The coincidence detection circuit 25 generates a coincidence pulse signal when the count value NP coincides with the one frame period value (3599). This coincidence pulse signal is O
The OR circuit 26 is supplied to the R circuit 26 and generates the synchronization check timing signal TC. In FIG. 3A, P0 to P6 added to the respective pulses of the decode timing signal TD and the synchronization check timing signal TC indicate pictures corresponding to the pulse signal.

【0026】次に、図3(B)は30フレーム/秒のビ
デオ符号を25フレーム/秒で表示する場合であり、図
3(A)の場合との相違点はピクチャカウンタ21のカ
ウント値Nが4の後で0になることと、1フレーム期間
値Fが2999であることとであり、それ以外は同様に
動作することで、同期チェックタイミング信号TCを生
成する。
Next, FIG. 3B shows a case where a video code of 30 frames / sec is displayed at 25 frames / sec. The difference from the case of FIG. 3A is that the count value N of the picture counter 21 is N. Becomes 0 after 4 and the 1-frame period value F is 2999, and otherwise the same operation is performed to generate the synchronization check timing signal TC.

【0027】以上説明したように、本実施例のビデオ符
号復号化装置では、フレームレート変換時においても、
AV同期制御部におけるビデオタイムスタンプとシステ
ム時刻の比較を、ピクチャのデコード開始タイミングで
なくフレームレート非変換時のデコードタイミング相当
の同期チェックタイミング信号入力タイミングで行なう
ため正確にAV同期判定が行なわれる。
As described above, in the video coding / decoding apparatus of this embodiment, even during frame rate conversion,
Since the video time stamp and the system time are compared in the AV synchronization control unit not at the decoding start timing of the picture but at the synchronization check timing signal input timing corresponding to the decoding timing when the frame rate is not converted, the AV synchronization determination is accurately performed.

【0028】[0028]

【発明の効果】以上説明したように、本発明のビデオ符
号復号化装置は、フレームレート変換制御手段がフレー
ムレート非変換時のデコードタイミングを示す同期チエ
ックタイミング信号を生成するチエック信号発生回路を
備え、AV同期制御手段がデコード開始タイミング後に
上記同期チエックタイミング信号の供給に応答してAV
同期のチエックを行うチエック回路を備えるので、AV
同期制御部において、上記同期チェックタイミング信号
にしたがってピクチャタイムスタンプとシステム時刻と
の比較を行なうことにより、フレームレート変換の実行
非実行と関係なく正確にAV同期チェックが行なえると
いうという効果がある。
As described above, the video code decoding apparatus of the present invention comprises the check signal generating circuit for generating the synchronous check timing signal indicating the decoding timing when the frame rate conversion control means does not convert the frame rate. The AV synchronization control means responds to the supply of the synchronization check timing signal after the decoding start timing by the AV synchronization control means.
Since it has a check circuit for checking synchronization, AV
The synchronization control unit compares the picture time stamp with the system time in accordance with the synchronization check timing signal, so that the AV synchronization check can be accurately performed regardless of whether the frame rate conversion is executed or not.

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

【図1】本発明のビデオ符号復号化装置の一実施例を示
すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a video encoding / decoding apparatus of the present invention.

【図2】図1のチエック信号発生回路の構成を示すブロ
ック図である。
FIG. 2 is a block diagram showing a configuration of a check signal generation circuit of FIG.

【図3】図2のチエック信号発生回路の動作を示すタイ
ムチャートである。
FIG. 3 is a time chart showing the operation of the check signal generation circuit of FIG.

【図4】従来のビデオ符号復号化装置の一例を示すブロ
ック図である。
FIG. 4 is a block diagram showing an example of a conventional video code decoding apparatus.

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

1,1A AV同期制御部 2,2A フレームレート変換制御部 3 ビデオタイミング生成部 4 出コード制御部 5 ビデオ符号バッファ 6 ピクチャデコード部 20 チエック信号発生回路 11 チエック回路 21 ピクチャカウンタ 22 0検出回路 23 AND回路 24 ピクチャ期間カウンタ 25 一致検出回路 26 OR回路 1, 1A AV synchronization control unit 2, 2A frame rate conversion control unit 3 video timing generation unit 4 output code control unit 5 video code buffer 6 picture decoding unit 20 check signal generation circuit 11 check circuit 21 picture counter 22 0 detection circuit 23 AND Circuit 24 Picture period counter 25 Match detection circuit 26 OR circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ビデオ同期信号の供給に応答して表示タ
イミング信号とデコードタイミング信号とを出力するビ
デオタイミング生成手段と、ビデオ符号データを一時保
持するビデオ符号バッファ手段と、ピクチャ毎に前記表
示タイミング信号の供給に応答して前記ビデオ符号バッ
ファから読出した前記ビデオ符号データをデコードしビ
デオ信号を出力するビデオデコード手段と、システムク
ロックの供給に応答してシステム時刻を管理するととも
に前記ビデオ符号データのデコード開始タイミングが前
記ビデオ符号データに同期して供給されるビデオタイム
スタンプより予め定めた時間差範囲を超えて早い場合に
は前記ピクチャのリピート要求信号を遅い場合は前記ピ
クチャのスキップ要求信号をそれぞれ出力することによ
りAV同期のチエックを行うAV同期制御手段と、前記
ビデオ符号データの第1のフレームレートがビデオ出力
信号の第2のフレームレートと異なる場合に前記リピー
ト要求信号とスキップ要求信号とのいずれか一方を選択
的に出力し所要のビデオ符号データ量を前記第1のフレ
ームレートと一致させるように制御するフレームレート
変換制御手段と、前記AV同期制御手段および前記フレ
ームレート変換制御手段の各々から供給される前記リピ
ート要求信号および前記スキップ要求信号に応答して前
記ピクチャデコード部に1ピクチャ分のデコード開始信
号と1ピクチャ分の符号の読飛ばしを指示するスキップ
信号とのいずれか一方を選択的に出力するデコード制御
手段とを備えるビデオ符号復号化装置において、 前記フレームレート変換制御手段が前記システムクロッ
クの供給に応答してフレームレート変換を行わない場合
の前記デコードタイミングを示す同期チエックタイミン
グ信号を生成するチエック信号発生回路を備え、 前記AV同期制御手段が前記デコード開始タイミング後
に前記同期チエックタイミング信号の供給に応答して前
記AV同期のチエックを行うチエック回路を備えること
を特徴とするビデオ符号復号化装置。
1. A video timing generation means for outputting a display timing signal and a decode timing signal in response to the supply of a video synchronization signal, a video code buffer means for temporarily holding video code data, and the display timing for each picture. Video decoding means for decoding the video code data read out from the video code buffer in response to the supply of a signal and outputting a video signal; and managing the system time in response to the supply of a system clock and storing the video code data. If the decoding start timing is earlier than the video time stamp supplied in synchronization with the video code data by a predetermined time difference range, the repeat request signal of the picture is output, and if it is late, the skip request signal of the picture is output. By doing AV synchronization And an AV synchronization control unit that performs a clock, and selectively selects one of the repeat request signal and the skip request signal when the first frame rate of the video code data is different from the second frame rate of the video output signal. Frame rate conversion control means for controlling the output and required video code data amount so as to match the first frame rate, and the repeat request supplied from each of the AV synchronization control means and the frame rate conversion control means. A decoding control means for selectively outputting to the picture decoding section either one of a decoding start signal for one picture and a skip signal for instructing skipping of the code for one picture in response to the signal and the skip request signal. In the video coding / decoding apparatus including: A check signal generating circuit for generating a synchronous check timing signal indicating the decode timing when the frame rate conversion is not performed in response to the supply of the system clock, wherein the AV synchronization control means performs the synchronous check timing after the decode start timing. A video encoding / decoding device comprising a check circuit for performing the AV synchronization check in response to the supply of a signal.
【請求項2】 前記チエック信号発生回路が、前記デコ
ードタイミング信号の供給に応答してカウントアップし
第1のカウント値を出力する第1のカウンタと、 供給を受けた前記第1のカウント値の0に応答して0検
出信号を出力する0検出回路と、 前記デコードタイミング信号と前記0検出信号との論理
積値を出力する第1の論理回路と、 前記システムクロック信号の供給に応答してカウントア
ップし第2のカウント値を出力する第2のカウンタと、 前記第2のカウント値と1フレーム期間対応のフレーム
設定値との一致を検出し一致パルス信号を出力する一致
検出回路と、 前記論理積値と一致パルス信号との論理和値を前記同期
チェックタイミング信号として出力する第2の論理回路
とを備えることを特徴とする請求項1記載のビデオ符号
復号化装置。
2. A first counter, wherein the check signal generation circuit counts up and outputs a first count value in response to the supply of the decode timing signal, and a first counter of the supplied first count value. A 0 detection circuit which outputs a 0 detection signal in response to 0, a first logic circuit which outputs a logical product value of the decode timing signal and the 0 detection signal, and in response to supply of the system clock signal A second counter that counts up and outputs a second count value; a match detection circuit that detects a match between the second count value and a frame set value corresponding to one frame period and outputs a match pulse signal; 2. A video circuit according to claim 1, further comprising a second logic circuit which outputs a logical sum value of a logical product value and a coincidence pulse signal as the synchronization check timing signal. No. decoding apparatus.
JP12645995A 1995-05-25 1995-05-25 Video codec Expired - Fee Related JP2738342B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP12645995A JP2738342B2 (en) 1995-05-25 1995-05-25 Video codec

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP12645995A JP2738342B2 (en) 1995-05-25 1995-05-25 Video codec

Publications (2)

Publication Number Publication Date
JPH08322043A true JPH08322043A (en) 1996-12-03
JP2738342B2 JP2738342B2 (en) 1998-04-08

Family

ID=14935753

Family Applications (1)

Application Number Title Priority Date Filing Date
JP12645995A Expired - Fee Related JP2738342B2 (en) 1995-05-25 1995-05-25 Video codec

Country Status (1)

Country Link
JP (1) JP2738342B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6337883B1 (en) 1998-06-10 2002-01-08 Nec Corporation Method and apparatus for synchronously reproducing audio data and video data
US7522821B2 (en) 2002-09-06 2009-04-21 Funai Electric Co., Ltd. Optical disc apparatus
CN102184081A (en) * 2011-05-10 2011-09-14 广东威创视讯科技股份有限公司 Method, device and system for synchronous output of display cards
CN114120466A (en) * 2021-11-22 2022-03-01 浙江嘉科电子有限公司 Coding and decoding device and method for polling information exchange

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6337883B1 (en) 1998-06-10 2002-01-08 Nec Corporation Method and apparatus for synchronously reproducing audio data and video data
US7522821B2 (en) 2002-09-06 2009-04-21 Funai Electric Co., Ltd. Optical disc apparatus
CN102184081A (en) * 2011-05-10 2011-09-14 广东威创视讯科技股份有限公司 Method, device and system for synchronous output of display cards
CN114120466A (en) * 2021-11-22 2022-03-01 浙江嘉科电子有限公司 Coding and decoding device and method for polling information exchange

Also Published As

Publication number Publication date
JP2738342B2 (en) 1998-04-08

Similar Documents

Publication Publication Date Title
US5396497A (en) Synchronization of audio/video information
CN2927556Y (en) Video and audio re-player, outputting-time converter
US5808722A (en) Apparatus for extending and reproducing video and audio data and a video and audio synchronization controller
EP0618728B1 (en) Synchronization of audio/video information
US20050259946A1 (en) Video editing apparatus and video editing method
US5677980A (en) Decoder for compressed digital signal
US6731658B1 (en) Data recording method and data recording apparatus
JP3644995B2 (en) Time stamp value calculation method in coded transmission system
US7218841B2 (en) Method and apparatus for synchronously reproducing audio and video data
JP2738342B2 (en) Video codec
US5771009A (en) Method and apparatus for transmitting and receiving data
JP2003259315A (en) Apparatus and method for transmitting image
JP2872104B2 (en) Time stamp adding apparatus and method, and moving image compression / expansion transmission system and method using the same
JP2500579B2 (en) Video and audio synchronization system
JPH08116532A (en) Image decoding system and device therefor
JP3556380B2 (en) Video code timing estimation method, video decoding device, and MPEG system multiplexing device
GB2350249A (en) MPEG decoder
JPH10271482A (en) Synchronous reproduction control method and system for coded video
US6459736B1 (en) Moving picture decoding apparatus and method
GB2314479A (en) Special to normal moving picture reproduction mode transition
JP2838985B2 (en) Audio video code decoding apparatus and audio video code decoding method
JPH10210483A (en) Dynamic image reproducing device and method thereof
JPH08181688A (en) Time information coder-decoder, and coder and decoder
JP2001320704A (en) Image decoder and image decoding method
JPH11127435A (en) Device for decoding compression-encoded video and voice signal

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19971216

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

Free format text: PAYMENT UNTIL: 20080116

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090116

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20100116

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees