JP2004104518A - Decoding device and method - Google Patents

Decoding device and method Download PDF

Info

Publication number
JP2004104518A
JP2004104518A JP2002264441A JP2002264441A JP2004104518A JP 2004104518 A JP2004104518 A JP 2004104518A JP 2002264441 A JP2002264441 A JP 2002264441A JP 2002264441 A JP2002264441 A JP 2002264441A JP 2004104518 A JP2004104518 A JP 2004104518A
Authority
JP
Japan
Prior art keywords
time information
stream data
stc
synchronization signal
image stream
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
JP2002264441A
Other languages
Japanese (ja)
Other versions
JP4366912B2 (en
Inventor
Kimiyoshi Mizuno
水野 公嘉
Yoshiji Karimoto
加里本 誉司
Masanari Miyata
宮田 勝成
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2002264441A priority Critical patent/JP4366912B2/en
Publication of JP2004104518A publication Critical patent/JP2004104518A/en
Application granted granted Critical
Publication of JP4366912B2 publication Critical patent/JP4366912B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Television Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To output all organized channels that are multiplexed and transmitted onto the same screen at the time of multichannel broadcasting. <P>SOLUTION: A decoding device is provided with a time information extracting part 12 for respectively extracting time information of m pieces of image stream data from a multiplexed stream, a count increasing part 28 for increasing a count value of the extracted time information on the basis of the clock of a second synchronizing signal, and a control part 14 which compares the time information whose count values are respectively increased with time stamp information respectively included in the m image streams, controls decoding processing of m decoding parts 17a, 17b and 17c in accordance with their coincidence, reads decoded image data stored in the image data storing parts 17a, 17b and 17c, arranges the decoded image data on the same screen and outputs the decoded image data. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、デジタルテレビジョン放送に関するものであり、詳しくは、マルチチャンネル放送の編成チャンネルを同時に復号して出力する復号装置及び復号方法に関する。
【0002】
【従来の技術】
高品質な番組の提供、多チャンネルによる番組の提供といった特徴を備えた放送サービスを可能とするデジタル放送サービスは、放送衛星(BS:Broadcasting Satellite)、通信衛星(CS:Communications Satellite)を介した放送として実現されている。
【0003】
デジタル放送サービスでは、デジタルハイビジョン放送(HDTV:High Definition Television)がサービスの中心となっているが、例えば、BSデジタル放送サービスにおいては、デジタルハイビジョン放送を行わない時間帯には、マルチビュー放送、マルチチャンネル放送と呼ばれる標準テレビジョン放送(SDTV:Standard Definition Television)を提供するマルチ放送サービスを行うことが考案されている。
【0004】
マルチビュー放送とは図12に示すように、デジタルハイビジョン放送を3つのチャンネル、例えば、主番組、副番組1、副番組2というように分割し、1番組内で関連する内容を従来の標準テレビジョン放送(SDTV:Standard Definition Television)で同時に放送するというサービスである。マルチビュー放送を受信すると、例えば、スポーツ番組や、劇場中継などにおいて、同一番組中での3つのカメラアングルからの映像を同時に視聴したり、好みのアングルからの映像のみを視聴したりできる。マルチビュー放送を視聴するには、マルチビュー放送を受信する受信装置で受信した全てのデジタル標準テレビジョン放送をデコード処理する必要がある。
【0005】
マルチチャンネル放送とは、図13に示すようにデジタルハイビジョン放送の枠を3つの標準テレビジョン放送(SDTV:Standard Definition Television)に分割して同時に放送するサービスである。マルチチャンネル放送では、異なる内容の番組、例えば、映画、スポーツ番組、音楽番組が同一時間帯に送信されることになる。マルチチャンネル放送を視聴する場合、上述したマルチビュー放送とは異なり、マルチチャンネル放送を受信する受信装置で1つのデジタル標準テレビジョン放送だけ選択されデコード処理される。
【0006】
このように、デジタル放送サービスでは、1つのキャリア周波数に複数の編成チャンネルを多重化して送信することで、上述したマルチ放送サービスを実現することができる。
【0007】
【発明が解決しようとする課題】
ところで、従来、地上波で実施されてきたアナログ放送サービスでは、1つのキャリア周波数で、1つの編成チャンネルだけを送信している。つまり、キャリア周波数と、編成チャンネルとは1対1の関係が成り立っていた。
【0008】
したがって、アナログ放送サービスにおいて、ユーザは、所望の番組を選択するには、キャリア周波数を選択するという操作をするだけでよかった。また、アナログ放送サービスでは、国営放送を除き、1つの放送局に1つのキャリア周波数が割り当てられているため、ユーザには、”所望の番組を選択する”=”キャリア周波数を選択する”=”放送局を選択する”という概念が浸透している。
【0009】
デジタル放送サービスにおいても、受信装置のリモートコントローラには、放送局を指定するボタンが備えられており、ユーザは、このボタンを押下することで、所望の放送局、つまり、所望の番組を選択することができるようになっている。
【0010】
しかし、上述したように、デジタル放送サービスにおいては、1つのキャリア周波数に複数の編成チャンネルが多重化されて送信される場合もあり、特にマルチチャンネル放送においては、1つの放送局から送信される編成チャンネルが2つ、又は、3つであったとしても1度に復号されて出力表示される編成チャンネルは1つである。
【0011】
したがって、デジタル放送サービスのマルチチャンネル放送時には、編成チャンネル単位でしかチャンネルの切り替えができないということになるため、アナログ放送サービスによってユーザに浸透している放送局を選択する操作を反映させることができない。そのため、マルチチャンネル放送が実施されるたびに選択可能な編成チャンネルが増加したりするなど、チャンネル選択操作がユーザにとって非常に分かりにくくなってしまうといった問題がある。
【0012】
そこで、本発明は、デジタル放送サービスのマルチチャンネル放送時において、多重化されて送信された全ての編成チャンネルを同一画面上に出力可能とする復号装置及び復号方法を提供することを目的とする。
【0013】
【課題を解決するための手段】
上述の目的を達成するために、本発明に係る復号装置は、所定の周波数の第1の同期信号のクロック数をカウントしたカウント値を所定の間隔で抽出して生成される複数の時刻情報と、上記所定の周波数の第1の同期信号のクロック数をカウントしたカウント値であり、復号及び出力のタイミングを指定するタイムスタンプ情報とをそれぞれ含むm(mは自然数)本の画像ストリームデータが多重化された多重化ストリームを入力する入力手段と、上記入力手段によって入力された上記多重化ストリームをm本の画像ストリームデータに分離する分離手段と、上記分離手段によって分離された上記m本の画像ストリームデータをm個の画像データにそれぞれ復号するm個の復号手段と、上記m個の復号手段によって復号された画像データを記憶するm個の画像データ記憶手段と、上記入力手段によって入力された多重化ストリームから上記m本の画像ストリームデータの上記時刻情報をそれぞれ抽出する時刻情報抽出手段と、上記分離手段によって分離された上記m本の画像ストリームデータのうちの任意の1本の画像ストリームデータに含まれ、上記時刻情報抽出手段によって抽出される上記時刻情報に基づいて、上記所定の周波数の第1の同期信号と同期する第2の同期信号を生成する同期信号生成手段と、上記時刻情報抽出手段によって上記m本の画像ストリームデータ毎に抽出された上記時刻情報のカウント値を上記同期信号生成手段によって生成された上記第2の同期信号のクロックに基づいてそれぞれ増加させるカウント増加手段と、上記カウント増加手段によってカウント値がそれぞれ増加された上記m本の画像ストリームデータそれぞれの時刻情報と、上記m本の画像ストリームのそれぞれに含まれる上記タイムスタンプ情報とを比較する比較手段と、上記比較手段による比較によって上記時刻情報が、上記タイムスタンプ情報に一致したことに応じて、上記m個の復号手段の復号処理を制御し、上記m個の画像データ記憶手段に記憶された画像データを読み出して、同一画面上に配置して出力するよう制御する制御手段とを備えることを特徴とする。
【0014】
また、上述の目的を達成するために、本発明に係る復号方法は、所定の周波数の第1の同期信号のクロック数をカウントしたカウント値を所定の間隔で抽出して生成される複数の時刻情報と、上記所定の周波数の第1の同期信号のクロック数をカウントしたカウント値であり、復号及び出力のタイミングを指定するタイムスタンプ情報とをそれぞれ含むm(mは自然数)本の画像ストリームデータが多重化された多重化ストリームを入力する入力工程と、上記入力工程によって入力された上記多重化ストリームをm本の画像ストリームデータに分離する分離工程と、上記分離工程によって分離された上記m本の画像ストリームデータをm個の画像データにそれぞれ復号するm個の復号工程と、上記m個の復号工程によって復号された画像データをm個の画像データ記憶手段に記憶する画像データ記憶工程と、上記入力工程によって入力された多重化ストリームから上記m本の画像ストリームデータの上記時刻情報をそれぞれ抽出する時刻情報抽出工程と、上記分離工程によって分離された上記m本の画像ストリームデータのうちの任意の1本の画像ストリームデータに含まれ、上記時刻情報抽出工程によって抽出される上記時刻情報に基づいて、上記所定の周波数の第1の同期信号と同期する第2の同期信号を生成する同期信号生成工程と、上記時刻情報抽出工程によって上記m本の画像ストリームデータ毎に抽出された上記時刻情報のカウント値を上記同期信号生成工程によって生成された上記第2の同期信号のクロックに基づいてそれぞれ増加させるカウント増加工程と、上記カウント増加工程によってカウント値がそれぞれ増加された上記m本の画像ストリームデータそれぞれの時刻情報と、上記m本の画像ストリームのそれぞれに含まれる上記タイムスタンプ情報とを比較する比較工程と、上記比較工程による比較によって上記時刻情報が、上記タイムスタンプ情報に一致したことに応じて、上記m個の復号工程の復号処理を制御し、上記m個の画像データ記憶手段に記憶された画像データを読み出して、同一画面上に配置して出力するよう制御する制御工程とを備えることを特徴とする。
【0015】
【発明の実施の形態】
以下、本発明に係る復号装置及び復号方法の実施の形態を図面を参照にして詳細に説明する。
【0016】
本発明は、図1に外観を示す記録再生装置100に適用される。図1に示すように記録再生装置100は、テレビジョン受像機200と接続されている。
【0017】
テレビジョン受像機200は、地上波を受信可能な地上波チューナー、BS(Broadcasting Satellite)チューナー、BSデジタルチューナー、CS(Communications Satellite)チューナー、CSデジタルチューナーを内蔵していてもよい。
【0018】
また、記録再生装置100の各種機能は、リモートコントローラ300によって遠隔操作可能である。また、このリモートコントローラ300は、テレビジョン受像機200の各種機能も、遠隔操作可能である。
【0019】
本発明を適用した記録再生装置100は、記録媒体にデジタルハイビジョン放送を圧縮なしで、映像信号、音声信号、各種データを記録することが可能な記録再生装置である。また記録再生装置100は、後述するようにデジタルチューナーを内蔵しており、例えば、BSデジタル放送で提供されるデジタルハイビジョン放送を受信し、受信したデジタルハイビジョン放送を上述したように記録媒体に記録することができる。
【0020】
図2を用いて、記録再生装置100の要部構成について説明をする。記録再生装置100は、地上波チューナー1と、入力切替回路2と、YC分離回路3と、入力切替回路4と、NTSC(National Television System Standard Committee)デコーダ5と、同期制御回路6と、プリ映像信号処理回路7と、MPEG(Moving Picture Experts Group)ビデオエンコーダ8と、音声A/D変換器9と、MPEGオーディオエンコーダ10と、デジタルチューナー11、多重/分離回路(MUX/DMX)12と、記録/再生処理部13と、ホストCPU14と、SDRAM(Synchronous Dynamic Random Access Memory)15と、ROM(Read Only Memory)16と、MPEGビデオデコーダ17a,17b,17cと、加算器17dと、ポスト映像信号処理回路18と、OSD(On Screen Display)19と、NTSCエンコーダ20と、MPEGオーディオデコーダ21と、切替回路22と、音声D/A変換器23と、デジタルIN/OUT24、デジタルインターフェース回路25と、地上波EPG用チューナー26と、データスライサ27と、STC(System Time Clock)生成部28とを備える。
【0021】
地上波チューナー1は、地上波放送を受信し、受信した放送のコンポジット映像信号と音声信号を入力切替回路2に供給する。
【0022】
入力切替回路2は、地上波チューナー1からコンポジット映像信号と音声信号が供給され、外部装置からコンポジット映像信号と音声信号が供給される。入力切替回路2は、ホストCPU14からの指示に従い、地上波チューナー1から供給されるコンポジット映像信号と音声信号、又は、外部装置から供給されるコンポジット映像信号と音声信号のどちらかを選択する。入力切替回路2は、選択したコンポジット映像信号をYC分離回路3に、音声信号を音声A/D変換器9にそれぞれ出力する。
【0023】
YC分離回路3は、入力切替回路2から入力されたコンポジット映像信号をYC分離し、入力切替回路4に供給する。
【0024】
入力切替回路4は、ホストCPU14からの指示に従い、外部S映像入力、又は、YC分離回路3からの出力を選択し、選択した信号をNTSCデコーダ5に供給する。
【0025】
NTSCデコーダ5は、入力された映像信号にA/D変換、クロマエンコードの処理を施し、デジタルコンポーネントビデオ信号(以下、画像データという)に変換して、プリ映像信号処理回路7に供給する。また、NTSCデコーダ5は、入力映像信号の水平同期信号を基準に生成したクロックと、同期分離して得た水平同期信号、垂直同期信号、フィールド判別信号を同期制御回路6に供給する。
【0026】
同期制御回路6では、水平同期信号、垂直同期信号、フィールド判別信号を基準とし、後述する各ブロックに必要なタイミングに変換したクロック、同期信号を生成し、記録再生装置100を構成する各ブロックに供給する。
【0027】
プリ映像信号処理回路7では、NTSCデコーダ5から供給された画像データにプリフィルター等の各種映像信号処理を施し、MPEGビデオエンコーダ8と、ポスト映像信号処理回路18に供給する。
【0028】
MPEGビデオエンコーダ8は、プリ映像信号処理回路7から供給された画像データにブロックDCT(Discrete Cosine Transform:離散コサイン変換)等の符号化処理を施し、画像のES(Elementary Stream)を生成し、多重/分離回路12に供給する。なお、本実施例では圧縮方式としてMPEGを採用しているが、他の圧縮方式でも、非圧縮でも構わない。
【0029】
音声A/D変換器9は、入力切替回路2で選択された音声信号をデジタル音声信号に変換し、MPEGオーディオエンコーダ10に供給する。
【0030】
MPEGオーディオエンコーダ10は、供給されたデジタル音声信号をMPEGフォーマットに従い圧縮した後、音声のESを生成し、映像信号同様に、多重/分離回路12に供給する。なお、本実施例では圧縮方式としてMPEGを採用しているが、他の圧縮方式でも、非圧縮でも構わない。
【0031】
デジタルチューナー11は、BSデジタル放送、CSデジタル放送、地上波デジタル放送を受信する受信機である。BSデジタル放送は、デジタルハイビジョン放送を中心としたサービスであるが、標準テレビジョン放送も提供される。
【0032】
例えば、BSデジタル放送は、デジタルハイビジョン放送の枠を3つの標準テレビジョン放送に分割して同時に放送するマルチチャンネル放送や、同じくデジタルハイビジョン放送を3つのチャンネルに分割して1番組内で関連している内容を標準テレビジョン放送で同時に放送するマルチビュー放送を提供しているものとする。
【0033】
ここで、BSデジタル放送で採用しているデジタル放送の伝送方式の1つであるMPEG2トランスポートストリーム(以下、TSとも呼ぶ)について説明をする。
【0034】
TSとは、MPEG2方式で圧縮符号化された映像信号や音声信号、データなどのコンテンツを1つのストリームとしてまとめて伝送するために定められた規格である。
【0035】
TSは、188バイトの固定長のトランスポート・パケット(以下、TSパケットとも呼ぶ)を多重伝送することで番組の多重編成(HDTV放送1チャンネルやSDTV複数チャンネルの放送)や番組内の編成(HDTV放送1チャンネル+データ放送1チャンネルやSDTV放送2チャンネル+データ放送3チャンネル)を変更したり、衛星や地上波の放送から特定のチャンネルを抜き出し新たなチャンネルを多重してケーブルTVで再配信したりすることを劣化なく柔軟に実現できる。
【0036】
TSで多重化される188バイトの固定長のTSパケットは、図3に示すように4バイトのパケットヘッダ領域(TSヘッダ)と、184バイトのペイロード領域(TSペイロード)とを備えている。
【0037】
TSパケットのパケットヘッダ領域には、パケットの先頭を示す同期バイトや、当該TSパケットを識別するためのID番号であるPID(Packet Identification)といったパケットの性質を規定する情報が記述されている。
【0038】
パケットヘッダに続く、ペイロード領域には、映像PES(Packetized Elementary Stream)や、音声PES、また、セクションデータが記述される。
【0039】
映像PES、音声PESは、映像信号、音声信号をそれぞれエンコードして生成される映像ES(Elementary Stream)、音声ESを分割し、PESヘッダを付加したパケットである。映像PES、音声PESといったPESパケットのPESヘッダには、再生出力の時刻管理情報であるPTS(Presentation Time Stamp)や、復号の時刻管理情報であるDTS(Decoding Time Stamp)が記述されている。
【0040】
TSパケットのペイロード領域に記述されるセクションデータには、番組の選択をするためのデータ、送受信間の同期をするためのデータや、データコンテンツ、ファームウェアのバージョンアップ用データなど様々な種類のデータがある。
【0041】
特にPSI(Program Specific Information)と呼ばれるセクションデータは、多数の映像データ、音声データを多重化して伝送するTSにおいて、複数の編成チャンネルの中からどの編成チャンネルを選択し、どのパケットを取り出して、どのように復号すればよいかなどの情報を保持している。
【0042】
PSIには、1本のTSに収容されている全編成チャンネルに関する総合的な情報を保持するPAT(Program Association Table)と、TSに収容されている各編成チャンネルそれぞれに関する情報を保持するPMT(Program Mapped Table)と、ネットワーク内のサービスリストと伝送路パラメータを示すNIT(Network Information Table)と、有料放送の契約情報のPIDを示すCAT(Conditional Access Table)とがある。
【0043】
PATは、PIDが”0x0000”のTSパケットに記述されており、各編成チャンネル毎に用意され、編成チャンネルに関する情報を管理しているPMTのPIDを全て保持している。
【0044】
PMTは、当該編成チャンネルで伝送する映像PESが格納されているTSパケットのPIDと、当該編成チャンネルで伝送する音声PESが格納されているTSパケットのPIDと、当該編成チャンネルのクロック情報であるPCR(Program Clock Reference)が格納されているTSパケットのPIDとを管理している。
【0045】
ここで、編成チャンネルのクロック情報であるPCRについて説明をする。デジタルチューナー11で受信するデジタル放送、つまり、MEPG2トランスポートストリームでは、アナログ放送において送信されるビデオの同期信号に相当する信号が伝送されないため、受信機側と、送信機側のシステム・クロック(27MHz)を合わせるためにクロック情報としてPCRを用意している。
【0046】
PCRは、送信機側の基本クロックによる42ビットのカウンタ値であるSTC(System Time Clock)値を保持しており、送信機側から送信されるTSの独立したTSパケットや、映像PES又は音声PESに格納されたTSパケットに一定の周期で含まれて受信機に送信される。
【0047】
PCR中のSTC値は、上述したように送信機のシステム・クロックと同期する受信機側のシステム・クロックの生成に用いられる他、いつ復号再生すべきかを示すタイムスタンプであるPTS、DTSとの比較基準値にもなる。
【0048】
上述したように各編成チャンネル毎に用意されたPMTに記述されているPCRのPIDを参照することで、TS中の各編成チャンネル毎のPCRを取得することができる。
【0049】
マルチビュー放送の場合、TSに多重化される編成チャンネルのPCRに含まれるSTC値は、全ての編成チャンネルで同一であるが、マルチチャンネル放送の場合、STC値は、多重化される編成チャンネル毎に異なる値となる。したがって、マルチチャンネル放送では、多重化された編成チャンネル毎にPCRを取得する必要がある。
【0050】
再び、図2に戻り、記録再生装置100の要部構成について説明をする。多重/分離回路12では、後述する記録媒体50への記録時には映像ESと音声ES及び各種制御信号の多重化処理を施す。多重/分離回路12は、入力されたMPEG映像ESと、MPEG音声ESと、各種制御信号と合わせ、多重化処理(たとえばMPEGシステムのトランスポートストリームの生成)、バッファ制御処理を施し、記録/再生処理部13に出力する。
【0051】
バッファ制御処理とは、連続的に入力されるTSを、後段の記録/再生処理部13に断続的に送る為の制御を行うことである。例えば、記録/再生処理部13が記録媒体50のシーク動作を行っている時は、TSの書き込みができないので、バッファにTSを一時的に蓄え、書き込みが可能な時は、入力のレートより高いレートで書き込みを行うことにより、連続的に入力されるTSを途切れることなく記録する。
【0052】
多重/分離回路12は、デジタルチューナー11でのデジタル放送受信時には、デジタルチューナー11から供給されるTSのデジタル放送特有のスクランブルを解いた後、供給されるTSからPESを抽出し、映像PESと音声PESに分離した後、それぞれをMPEGビデオデコーダ17a,17b,17c、MPEGオーディオデコーダ21に供給する。
【0053】
具体的には、多重/分離回路12は、図4に示すようにセクション形式でTSに多重化されたPSIを取得し、解析するPSI解析部12aと、PSI解析部12aで解析されPMTから取得された映像PES、音声PES、PCRが格納されているTSパケットのPIDを設定し、設定したPIDに基づいて該当するTSパケットを分離、抽出するPIDフィルタ部12bとを備えている。
【0054】
PSI解析部12aは、PAT及びPMTからTSに多重化されている編成チャンネルそれぞれについての映像PESが格納されているTSパケットのPID、音声PESが格納されているTSパケットのPID、PCRが格納されているTSパケットのPIDを取得する。PSI解析部12aは、取得したPIDをPIDフィルタ部12bに供給する。
【0055】
PIDフィルタ部12bは、PSI解析部12aから供給された各編成チャンネルの映像PESが格納されているTSパケットのPID、音声PESが格納されているTSパケットのPID、PCRが格納されているTSパケットのPIDをそれぞれ設定する。
【0056】
PIDフィルタ部12bは、デジタルチューナー11からTS信号が供給されると、設定したPIDに基づいて、映像PES、音声PES、PCRがそれぞれ格納されているTSパケットを分離して抽出し、それぞれ、MPEGビデオデコーダ17a,17b,17c、MPEGオーディオデコーダ21、STC生成部28に供給する。
【0057】
PIDフィルタ部12bは、映像PES用のフィルタを3つ、音声PES用のフィルタを1つ備えている。PCR用のフィルタは、マルチチャンネル放送においては、多重化された編成チャンネル毎にPCRが異なっているため、編成チャンネル分用意する場合と、1つのフィルタで設定するPIDを切り替えて使用する場合などがある。
【0058】
再び、図2に戻り、記録再生装置100の要部構成について説明をする。多重/分離回路12は、記録媒体50の再生時には、上述したデジタルチューナー11によるデジタル放送受信時と同様に、記録/再生処理部13で再生され断続的に供給されるTSを、連続的になるようバッファ制御を行った後、分離処理を行う。多重/分離回路12の分離処理では、TSからPESを抽出し、さらに映像PESと音声PESに分離した後、MPEGビデオデコーダ17a,17b,17cと、MPEGオーディオデコーダ21に供給する。
【0059】
また、多重/分離回路12は、当該多重/分離回路12に内蔵された各種情報のパージング機能により、BS信号に挿入されている電子番組情報(EPG)を抜き出し、ホストCPU14に供給する。ホストCPU14では、このEPG信号の解析を行い、GUI上に番組情報の表示等を行う。
【0060】
記録/再生処理部13は、記録媒体50へのデータ記録処理、記録媒体50に記録されたデータの再生処理を行う。記録媒体50は、図示しない当該記録再生装置の装着部に装着可能な光ディスク、光磁気ディスク、固体メモリなどや、あらかじめ当該記録再生装置に搭載されたHDD(Hard Disk Drive)などである。記録/再生処理部13は、多重/分離回路12から供給されるTSを記録媒体50に記録し、記録媒体50から再生したTSを多重/分離回路12に出力する。
【0061】
ホストCPU14は、当該記録再生装置100の全ての機能ブロックを統括的に制御する。また、ホストCPU14は、ホストバスを介し、SDRAM15、ROM16に必要に応じてアクセスしシステム全体の制御を行う。
【0062】
MPEGビデオデコーダ17a,17b,17cは、入力された映像PESに復号処理を施し、ベースバンドの画像データを取得し、ビデオミキサー17dに供給する。
【0063】
続いて、図5を用いて、MPEGビデオデコーダ17a,17b,17cの構成について説明をする。なお、MPEGビデオデコーダ17a,17b,17cの構成は全て同じであるため、MPEGビデオデコーダ17aの構成についてのみ説明をする。
【0064】
MPEGビデオデコーダ17aは、コードバッファ31と、デコードコア32と、フレームメモリ33と、ディスプレイ部34とを備えている。
【0065】
コードバッファ31は、多重/分離回路12から供給された映像PESを一時的に蓄積する。
【0066】
デコードコア32は、STC生成部28から出力されるSTC値に基づいてコードバッファ31に蓄積された映像PESを読み出し、PESヘッダの解析後、PTS、DTSとともにデコード処理をして画像データを生成する。デコードコア32は、生成された画像データをフレームメモリ33へ書き込む。
【0067】
デコードコア32は、フレームメモリ33への画像データ書き込み時において、ピクチャヘッダに記述されたDTS値とSTC生成部28から供給されるSTC値とを比較し、遅れのあるBピクチャを捨てる。
【0068】
フレームメモリ33は、所定の記憶容量を備えたメモリであり、デコードコア32によってデコード処理された画像データをフレーム単位で記憶する。
【0069】
ディスプレイ部34は、PTSと、STC生成部28から供給されるSTC値とを比較し、STC値より小さいPTS値を持つピクチャは捨て、最もSTC値に近いPTS値を持つピクチャを表示するようにフレームメモリ33に記憶された画像データを選択する。
【0070】
したがって、STC値が増加するにしたがい、順次表示するピクチャを切り換えていくことで、STC値に同期した画像データが出力表示されることになる。
【0071】
再び、図2に戻り、記録再生装置100の要部構成について説明をする。
【0072】
ビデオミキサー17dは、MPEGビデオデコーダ17a,17b,17cからそれぞれ供給された画像データをミックスして、後段のポスト映像信号処理回路18に供給する。
【0073】
ポスト映像信号処理回路18は、図示しない切替回路、フィールド巡回型ノイズリデューサー、動き検出、映像信号補間処理回路で構成されており、ビデオミキサー17dから供給される画像データと、プリ映像信号処理回路7から供給される画像データとを切替えた後、各種処理を施し、OSD19に画像データを供給する。
【0074】
OSD19は、画面表示用のグラフィックッス等の生成を行い、画像データに重ねたり、部分的に表示する等の処理を施し、NTSCエンコーダ20に供給する。
【0075】
NTSCエンコーダ20は、入力された画像データ(コンポーネントデジタル信号)をYC信号に変換した後、D/A変換を行い、アナログのコンポジット映像信号とS映像信号を取得し、テレビジョン受像機200に備えられた映像入力端子に入力する。
【0076】
MPEGオーディオデコーダ21は、多重/分離回路12から供給された音声ES信号を複合処理してベースバンド音声信号を取得し、切替回路22に供給する。
【0077】
切替回路22は、MPEGオーディオデコーダ21から供給される音声データと、音声A/D変換器9から供給される音声データの選択を行い、選択した音声データを音声D/A変換器23に出力する。
【0078】
音声D/A変換器23は、音声データをアナログ音声信号に変換し、変換したアナログ音声信号をテレビジョン受像機200に備えられた音声入力端子に入力する。
【0079】
次に、デジタルIN/OUT24から供給、出力される信号について説明する。例えば、外部のIRD(Integrated Receiver Decoder)から、IEEE1394のようなデジタルインターフェースであるデジタルIN/OUT24を介して入力された信号を記録する場合、デジタル信号はデジタルインターフェース回路25に入力される。
【0080】
デジタルインターフェース回路25では、本方式に適合するよう、フォーマット変換等の処理を施し、TSを生成し多重/分離回路12に供給する。多重/分離回路12では、更に制御信号等の解析や生成を行い、本方式に適応するTSに変換する。
【0081】
また、これと同時に多重/分離回路12にて、分離処理を行い、MPEGビデオデコーダ17に映像ES、MPEGオーディオデコーダ21に音声ESをそれぞれ供給することにより、アナログの映像、音声信号を得ることができる。
【0082】
記録媒体50を記録/再生処理部13で再生した場合、再生されたTSは、上述したように多重/分離回路12に入力される。多重/分離回路12に入力されたTSは、必要に応じ、制御信号の解析、生成を行い、デジタルインターフェース回路25に供給する。デジタルインターフェース回路25では、記録時とは逆の変換を行い、外部のIRDに適合するデジタル信号に変換し、デジタルIN/OUT24を介し出力する。
【0083】
また、これと同時に多重/分離回路12にて、分離処理を行い、MPEGビデオデコーダ17a,17b,17c、MPEGオーディオデコーダ21にPESを供給することにより、アナログの映像、音声信号を得ることができる。
【0084】
本実施例では、IRDとの接続について述べたが、TV等のAV機器や、パーソナルコンピュータと接続することも可能である。
【0085】
地上波EPG用チューナー26は、ホストCPU14により制御され、EPGが重畳されているCHを受信し、受信したビデオ信号をデータスライサ27に供給する。
【0086】
データスライサ27では、入力されたビデオ信号からEPGデータを抽出し、ホストCPU14に供給する。ホストCPU14では、このEPG信号の解析を行い、GUI上に番組情報の表示等を行う。BSデジタルや地上波放送から取得したEPGデータは、番組表の表示のみならず、タイマー記録や記録済番組のタイトル表示の情報として使用される。
【0087】
STC生成部28は、多重/分離回路12から供給されるPCRのSTC値に基づいて、送信機側のシステム・クロックに同期したSTC値を生成し、MPEGビデオデコーダ17a,17b,17cやMPEGオーディオデコーダ21などに出力する。以下の説明では、PCRのSTC値をSTC_pcrとし、STC生成部28によって生成される値をSTC値として区別をする。
【0088】
図6に、STC生成部28の構成を示す。図6には、STC生成部28の他に、デジタルチューナー11、多重/分離回路12、MPEGビデオデコーダ17a,17b,17c、ビデオミキサー17d、MPEGビデオデコーダ21も示してある。
【0089】
例えば、デジタルチューナー11からチャンネル0,1,2として識別される編成チャンネル(SDTV)が多重化されたTSが多重/分離回路12に供給されたとすると、図4で示した多重/分離回路12のPIDフィルタ部12bには、上記チャンネル0,1,2に対応した映像PESのPIDがそれぞれv_PID[0],v_PID[1],v_PID[2]と設定され、音声PESのPIDがa_PIDと設定され、PCRのPIDがPCR_PID[0],PCR_PID[1],PCR_PID[2]として設定される。
【0090】
PIDフィルタ部12bに設定されたv_PID[0]によってチャンネル0の映像PESが分離されてMPEGビデオデコーダ17aに供給され、v_PID[1]によってチャンネル1の映像PESが分離されてMPEGビデオデコーダ17bに供給され、v_PID[2]によってチャンネル2の映像PESが分離されてMPEGビデオデコーダ17cに供給される。
【0091】
図6に示すようにSTC生成部28は、STCカウンタ28a,28b,28cと、オーディオSTCセレクタ28dとを備えている。PIDフィルタ部12bに設定されたPCR_PID[0]によってチャンネル0のSTC_pcr[0]がSTCカウンタ28aに供給され、PCR_PID[1]によってチャンネル1のSTC_pcr[1]がSTCカウンタ28bに供給され、PCR_PID[2]によってチャンネル2のSTC_pcr[2]がSTCカウンタ28cに供給される。
【0092】
図6に示したSTC生成部28が備えるSTCカウンタ28a,28b,28cのいずれか1つは、図7に示すようなPLL(Phase−Locked Loop)回路40を構成する。図7に示すようにSTCカウンタ28a,28b又は28cを含んだPLL回路40は、比較部41と、デジタル/アナログ変換器(DAC:Digitalto Analog Converter)42と、ローパス・フィルタ43と、電圧制御発信器(VCO:Voltage Controlled Oscillator)44とを備えている。
【0093】
以下の説明では、STCカウンタ28aを用いてPLL回路40が構成されているとする。また、STCカウンタ28aに供給されるSTC_pcrをSTC_pcr[0]とする。
【0094】
多重/分離回路12から送られてくるSTC_pcr[0]が、PLL回路40のSTCカウンタ28aにセットされると、電圧制御発信器44から出力される27MHzのクロックによって、当該STCカウンタ28aは、自動的に増加して自走する。
【0095】
STCカウンタ28aで自走したカウント値であるSTC値は、比較部41で次に供給されるSTC_pcr[0]と比較され、差分が0となるように電圧制御発信器44に印加する電圧が制御されることで、送信機側のシステム・クロックに対して所定の範囲内の精度で同期したシステム・クロックが得られることになる。PLL回路40で生成されたシステム・クロックは、カウンタ28b,カウンタ28cなどに供給され、当該記録再生装置100における基本クロックとして使用される。
【0096】
一方、PLLを構成していない、STCカウンタ28b,28cには、多重分離回路からSTC_pcr[1]、STC_pcr[2]がそれぞれ供給され、供給されたSTC_pcrをカウンタ値として設定する。
【0097】
STCカウンタ28b,28cは、PLL回路40からシステム・クロックが供給されると、当該システム・クロックに同期して、設定されたSTC_pcr[1],STC_pcr[2]がカウントアップを始め自走を開始する。
【0098】
このようにして、STCカウンタ28a,28b,28cは、それぞれ異なるSTC_pcrをカウントアップさせることでSTC値を生成する。STCカウンタ28a,28b,28cで得られるSTC値は、MPEGビデオデコーダ17a,17b,17cに供給され再生出力の時刻管理情報であるPTS、復号の時刻管理情報であるDTSとの比較基準値として用いられる。
【0099】
また、STCカウンタ28a,28b,28cでそれぞれ生成された各STC値は、オーディオSTCセレクタ28dにも供給される。オーディオSTCセレクタ28dは、STCカウンタ28a,28b,28cからそれぞれ供給されたSTC値から、ホストCPU14の制御に応じて、MPEGオーディオデコーダ21に供給された音声PESとアクセスユニットとなっている映像PESのSTC値を選択し、MPEGオーディオデコーダ21に供給する。
【0100】
ところで、多重/分離回路12のPIDフィルタ部12bにおいて、PCR取得用のフィルタを1つだけしか用意できなかった場合は、STC生成部28に換えて、図8に示すSTC生成部28’によってSTC値を生成するようにしてもよい。
【0101】
図8に示すようにSTC生成部28’は、上述したSTCカウンタ28a,28b,28c、オーディオSTCセレクタ28dに加え、さらにPCRセレクタ28eとを備える。
【0102】
STCカウンタ28a,28b,28cのいずれか1つは、STC生成部28で説明したように図7に示したPLL回路40を構成している。STCカウンタ28a,28b,28c、オーディオSTCセレクタ28d、PLL回路40に関しては、図6、図7を用いて説明をしたので省略をし、PCRセレクタ28eについて説明をする。
【0103】
PCRセレクタ28eは、多重/分離回路12のPIDフィルタ12bから供給されるSTC_pcrをSTCカウンタ28a,28b,28cに振り分けて供給するセレクタである。
【0104】
PCRセレクタ28eは、PIDフィルタ12bのPCR用のフィルタに設定されたPCR_PIDの違いに応じてホストCPU14によってセレクタを制御されることで送信経路が切り換えられる。
【0105】
PCRセレクタ28eは、ホストCPU14によって、例えば、PCR_PID[0]がPCRフィルタ12bに設定され、STC_pcr[0]が取得された場合には、MPEGビデオデコーダ17aにSTC値を出力するSTCカウンタ28aに供給されるように送信経路が制御される。
【0106】
このようにして、STC生成部28’は、PCRセレクタを備えることで、PIDフィルタ12bにPCR用のフィルタが1つしかない場合でも 、STCカウンタ28a,28b,28cにSTC_pcrを供給することができる。
【0107】
さらに、STC生成部28’において、STCカウンタが1つだけしか用意できなかった場合は、STC生成部28’に換えて、図9に示すSTC生成部28’’によってSTC値を生成するようにしてもよい。
【0108】
図9に示すようにSTC生成部28’’は、上述したSTCカウンタ28a、オーディオSTCセレクタ28d、PCRセレクタ28eに加え、さらに差分STCカウンタ60,70と備える。
【0109】
STCカウンタ28a,オーディオSTCセレクタ28d,PCRセレクタ28eに関しては図8に示したSTC生成部28’において説明をしたので省略をし、差分STCカウンタ60,70について説明をする。
【0110】
差分STCカウンタ60,70は、それぞれMPEGビデオデコーダ17b,17cに供給するSTC値を生成する。
【0111】
差分STCカウンタ60は、STC_pcr[1]が供給される毎に、STCカウンタ28aで生成されたSTC値との差分をとる加算器61と、加算器61で演算された差分値STC_diff[1]を一時的に格納するメモリ62と、STCカウンタ28aで生成されるシステム・クロックが供給される毎にメモリ62からSTC_diff[1]を読み出し、自走しているSTCカウンタ28aのSTC値を加算してMPEGオーディオデコーダ17bに出力する加算器63とを備えている。
【0112】
差分STCカウンタ70は、STC_pcr[2]が供給される毎に、STCカウンタ28aで生成されたSTC値との差分をとる加算器71と、加算器71で演算された差分値STC_diff[2]を一時的に格納するメモリ72と、STCカウンタ28aで生成されるシステム・クロックが供給される毎にメモリ72からSTC_diff[2]を読み出し、自走しているSTCカウンタ28aのSTC値を加算してMPEGオーディオデコーダ17cに出力する加算器73とを備えている。
【0113】
このようにして、STC生成部28’’は、自走してSTC値を生成するカウンタとしてSTCカウンタ28aしか備えていなくても、MPEGビデオデコーダ17a,17b,17cのそれぞれにSTC値を供給することができる。
【0114】
続いて、上述したように、多重/分離回路12のPIDフィルタ部12bのPCR用フィルタが1つであった場合に対応したSTC生成部28’,28’’のSTC_pcr取得方法について説明をする。
【0115】
まず、図10に示すフローチャートを用いて、STC_pcrを取得する第1の動作について説明をする。
【0116】
まず、ステップS1において、多重/分離回路12のPSI解析部12aは、PIDが”0x0000”であるTSパケットよりPATを取得する。
【0117】
PATが取得されることで、当該多重/分離回路12に供給されたTS信号に多重化されている編成チャンネルの種別、編成チャンネルの数などが分かる。
【0118】
ホストCPU14は、このステップS1において、多重化された編成チャンネルの数、つまり多重化されたストリームの数をnum_of_sdとして管理する。例えば、TS信号に3つの編成チャンネルが多重化されている場合は、ストリームの数、num_of_sd=3となる。
【0119】
なお、以下の説明では、多重化されて送信される編成チャンネルにチャンネル番号としてパラメータ”i”を与え、”0”から始まる連続する番号で識別をする。例えば、TSに3つの編成チャンネルが多重化されている場合は、各編成チャンネルにはそれぞれチャンネル番号として、i=0、i=1、i=2が与えられる。
【0120】
また、システム・クロックを生成するSTC_pcrを備える編成チャンネルをマスターチャンネルとし、ステップS1において、マスターチャンネルをpll_stc_noとして決定する。
【0121】
本フローチャートにおいては、マスターチャンネルとなる編成チャンネルのチャンネル番号を”0”としpll_stc_no=0とする。なお、pll_stc_noとして決定されるチャンネルはどのチャンネルでもよく、マスターチャンネルとして選択されるとPLLを構成するカウンタにSTC_pcrが供給されることになる。
【0122】
マスターチャンネル以外の編成チャンネルは、マスターチャンネルのSTC_pcrによって生成されるシステム・クロックに同期するので、スレーブチャンネルと呼ぶ。本フローチャートにおいては、スレーブチャンネルは、チャンネル番号i=1、i=2として識別される編成チャンネルである。
【0123】
ステップS2において、ホストCPU14は、パラメータ”i”をi=0とし、チャンネル番号”0”として識別される編成チャンネルの処理に入る。
【0124】
ステップS3において、PSI解析部12aは、ホストCPU14の制御によって、取得したPATを参照し、ステップS1で与えたパラメータ”i”で識別される編成チャンネルのPMT[i]を取得する。ホストCPU14は、パラメータ”i”の値を1つだけインクリメント(1++)する。
【0125】
ステップS4において、ホストCPU14は、多重化されたストリームの数num_of_sdと、編成チャンネルに与えられたパラメータ”i”とを比較して、i<num_of_sdであった場合は、工程をステップS3へと戻し、i<num_of_sdでなかった場合は、工程をステップS5へと進める。
【0126】
PSI解析部12aは、ステップS3及びステップS4によるループによって、TSに多重化された全編成チャンネルのPMTを取得する。例えば、編成チャンネルがi=0,1,2で識別される3つの編成チャンネルであるとすると、PMTは、PMT[0]、PMT[1]、PMT[2]の3つが取得される。
【0127】
ステップS5において、ホストCPU14は、パラメータ”i”をi=0とし、チャンネル番号”0”として識別される編成チャンネルの処理に入る。
【0128】
ステップS6において、ホストCPU14は、PSI解析部12aで取得したPMT[i]を参照し、STC_pcr[i]のPIDであるPCR_PID[i]を多重/分離回路12のPIDフィルタ部12bに設定する。
【0129】
また、ホストCPU14は、PIDフィルタ部12bにPCR_PID[i]が設定されたことに応じて、PCRセレクタ28eを制御して、STCカウンタにSTC_pcr[i]を供給する経路を設定する。
【0130】
例えば、STC生成部28’において、PIDフィルタ部12bにPCR_PID[0]が設定されると、PCRセレクタ28eは、STCカウンタ28aにSTC_pcrが供給されるようにスイッチを切り換え、PCR_PID[1]が設定されると、PCRセレクタ28eは、STCカウンタ28bにSTC_pcrが供給されるようにスイッチを切換、PCR_PID[2]が設定されるとPCRセレクタ28eは、STCカウンタ28cにSTC_pcrを供給されるようにスイッチを切り換える。
【0131】
また、STC生成部28’’において、PIDフィルタ部12bにPCR_PID[0]が設定されると、PCRセレクタ28eは、STCカウンタ28aにSTC_pcrが供給されるようにスイッチを切り換え、PCR_PID[1]が設定されると、PCRセレクタ28eは、差分STCカウンタ60にSTC_pcrが供給されるようにスイッチを切り換え、PCR_PID[2]が設定されるとPCRセレクタ28eは、差分STCカウンタ70にSTC_pcrが供給されるようにスイッチを切り換える。
【0132】
ステップS7において、PIDフィルタ部12bは、PCR_PID[i]のTSパケットに格納されているSTC_pcr[i]の取得待機状態となる。
【0133】
ステップS8において、ホストCPU14は、多重/分離回路12のPIDフィルタ部12bで初めて取得されたSTC_pcr[i]をSTC生成部28’の場合は、各STCカウンタ28a,28b,28cに設定し、STC生成部28’’の場合は、差分STCカウンタ60,70、STCカウンタ28aに設定をする。
【0134】
ステップS9において、STC_pcrが設定されたことで、STC生成部28’では、STCカウンタ28a,28b,28cが、STC生成部28’ではSTCカウンタ28aが27MHzのクロックにより自動的に増加して自走し始める。ホストCPU14は、パラメータ”i”の値を1つだけインクリメント(i++)し、次の編成チャンネルに処理を移す。
【0135】
ステップS10において、ホストCPU14は、多重化されたストリームの数num_of_sdと、編成チャンネルに与えられたパラメータ”i”とを比較して、i<num_of_sdであった場合は、工程をステップS6へと戻し、i<num_of_sdでなかった場合は、工程をステップS11へと進める。
【0136】
ステップS6〜ステップS10のループによって各STCカウンタ全てにSTC_PCRが一度設定され、各STCカウンタが自走を開始する。
【0137】
ステップS11において、ホストCPU14は、パラメータ”i”をi=0とし、チャンネル番号”0”として識別される編成チャンネルの処理に入る。
【0138】
ステップS12において、ホストCPU14は、PSI解析部12aで取得したPMT[i]を参照し、PCR_PID[i]を多重/分離回路12のPIDフィルタ部12bに設定する。
【0139】
ステップS13において、PIDフィルタ部12bは、PCR_PID[i]のTSパケットに格納されているSTC_pcr[i]の取得待機状態となる。
【0140】
ステップS14において、ステップS1でマスターチャンネルとして決定したpll_stc_noと、現在処理中の編成チャンネルを識別するパラメータ”i”とを比較し、現在処理中の編成チャンネルがマスターチャンネルであった場合は工程をステップS15へと進め、スレーブチャンネルであった場合は工程ステップS16へと進める。
【0141】
本フローチャートではpll_stc_no=0としたので、パラメータ”i”=0であった場合は工程をステップS15へと進め、パラメータ”i”≠0の場合は工程をステップS16へと進める。
【0142】
ステップS15において、ホストCPU14は、現在処理中の編成チャンネルがマスターチャンネルであったことに応じて、STCカウンタのSTC値と、STC_pcr[i]との差分をとり電圧制御発信器44の制御をし、PLL制御をする。
【0143】
図8に示すSTC生成部28’、図9に示すSTC生成部28’’ともにSTCカウンタ28aがPLL回路40を構成しているため、STCカウンタ28aのSTC値と、STC_pcr[0]との差分がとられPLL制御される。
【0144】
ステップS16において、ホストCPU14は、現在処理中の編成チャンネルがスレーブチャンネルであったことに応じて、STCカウンタにSTC_pcr[i]を設定する。
【0145】
図8に示すSTC生成部28’では、STCカウンタ28bにSTC_pcr[1]が設定され、STCカウンタ28cにSTC_pcr[2]が設定される。
【0146】
図9に示すSTC生成部28’’では、差分STCカウンタ60にSTC_pcr[1]が供給され、差分STCカウンタ70にSTC_pcr[2]が供給される。
【0147】
ステップS17において、ホストCPU14は、パラメータ”i”の値を1つだけインクリメント(i++)し、次の編成チャンネルに処理を移す。
【0148】
ステップS18において、ホストCPU14は、多重化されたストリームの数num_of_sdと、編成チャンネルに与えられたパラメータ”i”とを比較して、i<num_of_sdであった場合は、工程をステップS11へと戻し、i<num_of_sdでなかった場合は、工程をステップS12へと戻す。
【0149】
このように、図10のフローチャートで示すSTC_pcrを取得する第1の動作では、各編成チャンネルのSTC_pcr[i]を順番に取得していき、各STCカウンタに設定している。
【0150】
続いて、図11に示すフローチャートを用いて、STC_pcrを取得する第2の動作について説明をする。
【0151】
まず、ステップS21において、多重/分離回路12のPSI解析部12aは、PIDが”0x0000”であるTSパケットよりPATを取得する。
【0152】
PATが取得されることで、当該多重/分離回路12に供給されたTS信号に多重化されている編成チャンネルの種別、編成チャンネルの数などが分かる。
【0153】
ホストCPU14は、このステップS1において、多重化された編成チャンネルの数、つまり多重化されたストリームの数をnum_of_sdとして管理する。例えば、TS信号に3つの編成チャンネルが多重化されている場合は、ストリームの数、num_of_sd=3となる。
【0154】
なお、以下の説明では、多重化されて送信される編成チャンネルにチャンネル番号としてパラメータ”i”を与え、”0”から始まる連続する番号で識別をする。例えば、TSに3つの編成チャンネルが多重化されている場合は、各編成チャンネルにはそれぞれチャンネル番号として、i=0、i=1、i=2が与えられる。
【0155】
図10に示したフローチャートにおいては、PATを取得したステップS1において、マスターチャンネルを決定する工程を設けているが、図11に示した本フローチャートにおいては、説明が煩雑になるのを避けるためマスターチャンネルは、パラメータ”i”=0として識別される編成チャンネルに固定する。
【0156】
したがって、スレーブチャンネルは、チャンネル番号i=1、i=2として識別される編成チャンネルである。
【0157】
もちろん、ステップS21においてもpll_stc_noを決定する工程を設けても構わない。
【0158】
ステップS22において、ホストCPU14は、パラメータ”i”をi=0とし、チャンネル番号”0”として識別される編成チャンネルの処理に入る。
【0159】
ステップS23において、PSI解析部12aは、ホストCPU14の制御によって、取得したPATを参照し、ステップS21で与えたパラメータ”i”で識別される編成チャンネルのPMT[i]を取得する。ホストCPU14は、パラメータ”i”の値を1つだけインクリメント(i++)する。
【0160】
ステップS24において、ホストCPU14は、多重化されたストリームの数num_of_sdと、編成チャンネルに与えられたパラメータ”i”とを比較して、i<num_of_sdであった場合は、工程をステップS23へと戻し、i<num_of_sdでなかった場合は、工程をステップS25へと進める。
【0161】
PSI解析部12aは、ステップS23及びステップS24によるループによって、TSに多重化された全編成チャンネルのPMTを取得する。例えば、編成チャンネルがi=0,1,2で識別される3つの編成チャンネルであるとすると、PMTは、PMT[0]、PMT[1]、PMT[2]の3つが取得される。
【0162】
ステップS25において、ホストCPU14は、パラメータ”i”をi=0とし、チャンネル番号”0”として識別される編成チャンネルの処理に入る。
【0163】
ステップS26において、ホストCPU14は、PSI解析部12aで取得したPMT[i]を参照し、STC_pcr[i]のPIDであるPCR_PID[i]を多重/分離回路12のPIDフィルタ部12bに設定する。
【0164】
また、ホストCPU14は、PIDフィルタ部12bにPCR_PID[i]が設定されたことに応じて、PCRセレクタ28eを制御して、STCカウンタにSTC_pcr[i]を供給する経路を設定する。
【0165】
例えば、STC生成部28’において、PIDフィルタ部12bにPCR_PID[0]が設定されると、PCRセレクタ28eは、STCカウンタ28aにSTC_pcrが供給されるようにスイッチを切り換え、PCR_PID[1]が設定されると、PCRセレクタ28eは、STCカウンタ28bにSTC_pcrが供給されるようにスイッチを切換、PCR_PID[2]が設定されるとPCRセレクタ28eは、STCカウンタ28cにSTC_pcrを供給されるようにスイッチを切り換える。
【0166】
また、STC生成部28’’において、PIDフィルタ部12bにPCR_PID[0]が設定されると、PCRセレクタ28eは、STCカウンタ28aにSTC_pcrが供給されるようにスイッチを切り換え、PCR_PID[1]が設定されると、PCRセレクタ28eは、差分STCカウンタ60にSTC_pcrが供給されるようにスイッチを切り換え、PCR_PID[2]が設定されるとPCRセレクタ28eは、差分STCカウンタ70にSTC_pcrを供給されるようにスイッチを切り換える。
【0167】
ステップS27において、PIDフィルタ部12bは、PCR_PID[i]のTSパケットに格納されているSTC_pcr[i]の取得待機状態となる。
【0168】
ステップS28において、ホストCPU14は、多重/分離回路12のPIDフィルタ部12bで初めて取得されたSTC_pcr[i]をSTC生成部28’の場合は、各STCカウンタ28a,28b,28cに設定し、STC生成部28’’の場合は、差分STCカウンタ60,70、STCカウンタ28aに設定をする。
【0169】
ステップS29において、STC_pcrが設定されたことで、STC生成部28’では、STCカウンタ28a,28b,28cが、STC生成部28’ではSTCカウンタ28aが27MHzのクロックにより自動的に増加して自走し始める。ホストCPU14は、パラメータ”i”の値を1つだけインクリメント(i++)し、次の編成チャンネルに処理を移す。
【0170】
ステップS30において、ホストCPU14は、多重化されたストリームの数num_of_sdと、編成チャンネルに与えられたパラメータ”i”とを比較して、i<num_of_sdであった場合は、工程をステップS6へと戻し、i<num_of_sdでなかった場合は、工程をステップS31へと進める。
【0171】
ステップS26〜ステップS30のループによって各STCカウンタ全てにSTC_PCRが一度設定され、各STCカウンタが自走を開始する。
【0172】
ステップS31において、ホストCPU14は、スレーブチャンネルのチャンネル番号のパラメータを”rr”に変更し、rr=1とする。
【0173】
ステップS32において、ホストCPU14は、PSI解析部12aで取得したPMT[0]を参照し、PCRのPIDであるPCR_PID[0]を多重/分離回路12のPIDフィルタ部12bに設定する。
【0174】
また、ホストCPU14は、PIDフィルタ部12bにPCR_PID[0]が設定されたことに応じて、PCRセレクタ28eを制御して、STCカウンタ28aにSTC_pcr[0]を供給する経路を設定する。
【0175】
ステップS33において、PIDフィルタ部12bは、PCR_PID[0]のTSパケットに格納されているSTC_pcr[0]の取得待機状態となる。
【0176】
ステップS34において、ホストCPU14は、STC_pcr[0]が取得されると、STCカウンタ28aのSTC値と、取得したSTC_pcr[0]との差分とり電圧制御発信器44の制御をし、PLL制御をする。
【0177】
ステップS35において、ホストCPU14は、前回のSTC_pcr[0]が取得された時間と、ステップS34でSTC_pcr[0]が取得された時間との差pcr0_intervalを算出する。
【0178】
ステップS36において、ホストCPU14は、PSI解析部12aで取得したPMT[rr]を参照し、PCRのPIDであるPCR_PID[rr]を多重/分離回路12のPIDフィルタ12bに設定する。
【0179】
また、ホストCPU14は、PIDフィルタ部12bにPCR_PID[rr]が設定されたことに応じて、PCRセレクタ28eを制御して、STCカウンタ28b、又は、STCカウンタ28cにSTC_pcr[rr]を供給する経路を設定する。
【0180】
ステップS37において、ホストCPU14は、PCR_PID[rr]のTSパケットに格納されているSTC_pcr[rr]の取得待機状態となる。
【0181】
ステップS38において、上記ステップS35で決定されたpcr0_intervalだけ時間が経過したかどうかを判断する。pcr0_intervalだけ時間が経過した場合は、タイムアウト(Time Out)となって工程をステップS32へと戻し、pcr0_interval経過していない場合は工程をステップS39へと進める。
【0182】
ステップS39において、ホストCPU14は、現在処理中のスレーブチャンネルである編成チャンネルのSTC_pcr[rr]をSTCカウンタ28b、又は、STCカウンタ28cに設定する。
【0183】
ステップS40において、ホストCPU14は、パラメータ”rr”の値を1つだけインクリメント(rr++)し、次の編成チャンネルに処理を移す。
【0184】
ステップS41において、ホストCPU14は、ホストCPU14は、多重化されたストリームの数num_of_sdと、編成チャンネルに与えられたパラメータ”rr”とを比較して、rr<num_of_sdであった場合は、工程をステップS31へと戻し、rr<num_of_sdでなかった場合は、工程をステップS32へと戻す。
【0185】
このように、図11のフローチャートで示すSTC_pcrを取得する第2の動作では、VCO制御をするチャンネル、つまりマスターチャンネル(このフローチャートでは、一例として0チャンネルに固定)のSTC_pcrを主に取得するようにしている。スレーブチャンネルのSTC_pcrは、マスターチャンネルのSTC_pcrを取得するインターバル間に取得可能であれば取得をする動作となっている。
【0186】
このように、記録再生装置100は、デジタルチューナー11でマルチチャンネル放送(多重化された3本のSDTV)を受信したことに応じて、多重/分離回路12のPSI解析部12a、PIDフィルタ部12bで、各編成チャンネルのSTC_pcrを取得し、STC生成部28、28’又は28’’に供給することで、MPEGビデオデコーダ17a,17b,17c、MPEGオーディオデコーダ21に供給するSTC値を各編成チャンネル毎に取得することができるため、マルチチャンネル放送のデコード処理を確実に実行することができる。
【0187】
【発明の効果】
以上の説明からも明らかなように、本発明の復号装置は、入力されるm本の画像ストリームデータが多重化された多重化ストリームに含まれる複数の時刻情報をそれぞれ抽出し、抽出した時刻情報のカウント値を第1の同期信号と同期する第2の同期信号に基づいて増加させる。
【0188】
さらに、第2の同期信号に基づいて増加される抽出した時刻情報のカウント値と、復号及び出力のタイミングを指定するタイムスタンプ情報とを比較し、一致したことに応じて、m個の復号手段の復号処理タイミング、復号処理後、画像データ記憶手段に記憶された画像データを同一画面上に配置して出力する出力タイミングを制御することで、マルチチャンネル放送において、多重化されて送信された全てのチャンネルの画像データをマルチビュー放送のごとく同一画面上に表示させることを可能とする。
【0189】
以上の説明からも明らかなように、本発明の復号方法は、入力されるm本の画像ストリームデータが多重化された多重化ストリームに含まれる複数の時刻情報をそれぞれ抽出し、抽出した時刻情報のカウント値を第1の同期信号と同期する第2の同期信号に基づいて増加させる。
【0190】
さらに、第2の同期信号に基づいて増加される抽出した時刻情報のカウント値と、復号及び出力のタイミングを指定するタイムスタンプ情報とを比較し一致したことに応じて、m個の復号工程の復号処理タイミング、復号処理後、画像データ記憶手段に記憶された画像データを同一画面上に配置して出力する出力タイミングを制御することで、マルチチャンネル放送において、多重化されて送信された全てのチャンネルの画像データをマルチビュー放送のごとく同一画面上に表示させることを可能とする。
【図面の簡単な説明】
【図1】本発明の実施の形態として示す記録再生装置の使用形態を示した図である。
【図2】同記録再生装置において、当該記録再生装置の要部構成を説明するためのブロック図である。
【図3】MPEG(Moving Picture Experts Group)2トランスポートストリームについて説明するための図である。
【図4】本発明の実施の形態として示す記録再生装置の多重/分離回路の要部構成について説明するための図である。
【図5】同記録再生装置において、MPEGビデオデコーダの要部構成について説明するための図である。
【図6】同記録再生装置において、第1のSTC(System Time Clock)生成部の要部構成について説明するための図である。
【図7】同記録再生装置において、PLL(Phase−Locked Loop)回路について説明するための図である。
【図8】同記録再生装置において、第2のSTC生成部の要部構成について説明するための図である。
【図9】同記録再生装置において、第3のSTC生成部の要部構成について説明するための図である。
【図10】同記録再生装置において、STC_pcr取得の第1の動作について説明するためのフローチャートである。
【図11】同記録再生装置において、STC_pcr取得の第2の動作について説明するためのフローチャートである。
【図12】マルチビュー放送について説明するための図である。
【図13】マルチチャンネル放送について説明するための図である。
【符号の説明】
11 デジタルチューナー、12 多重/分離回路(MUX/DMX)、14ホストCPU、17a,17b,17c MPEG(Moving Picture ExpertsGroup)ビデオデコーダ、17d ビデオミキサー、28,28’,28’’ STC(System Time Clock)生成部、28a,28b,28c STCカウンタ、28d オーディオSTCセレクタ、40 PLL(Phase−Locked Loop)回路、100 記録再生装置
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to digital television broadcasting, and more particularly, to a decoding device and a decoding method for simultaneously decoding and outputting organized channels of a multi-channel broadcast.
[0002]
[Prior art]
2. Description of the Related Art Digital broadcasting services that enable broadcasting services having features such as provision of high-quality programs and provision of programs on multiple channels include broadcasting via a broadcasting satellite (BS) and a communication satellite (CS: Communications Satellite). It has been realized as.
[0003]
In digital broadcasting services, digital high-definition broadcasting (HDTV: High Definition Television) is the main service. For example, in BS digital broadcasting services, multi-view broadcasting, multi-view broadcasting, It has been devised to provide a multi-broadcasting service for providing standard television broadcasting (SDTV: Standard Definition Television) called channel broadcasting.
[0004]
As shown in FIG. 12, a multi-view broadcast divides a digital high-definition broadcast into three channels, for example, a main program, a sub-program 1, and a sub-program 2. It is a service that simultaneously broadcasts by John Broadcasting (SDTV: Standard Definition Television). When the multi-view broadcast is received, for example, in a sports program or a theater broadcast, it is possible to simultaneously watch images from three camera angles in the same program, or view only images from a favorite angle. In order to view the multi-view broadcast, it is necessary to decode all the digital standard television broadcasts received by the receiving device that receives the multi-view broadcast.
[0005]
The multi-channel broadcast is a service in which a frame of a digital high-definition broadcast is divided into three standard television broadcasts (SDTV: Standard Definition Television) and broadcast simultaneously, as shown in FIG. In multi-channel broadcasting, programs of different contents, for example, movies, sports programs, and music programs are transmitted in the same time zone. When viewing a multi-channel broadcast, unlike the multi-view broadcast described above, only one digital standard television broadcast is selected and decoded by a receiving device that receives the multi-channel broadcast.
[0006]
As described above, in the digital broadcasting service, the above-described multi-broadcasting service can be realized by multiplexing and transmitting a plurality of organization channels on one carrier frequency.
[0007]
[Problems to be solved by the invention]
By the way, in the analog broadcasting service conventionally implemented by terrestrial broadcasting, only one organization channel is transmitted at one carrier frequency. That is, a one-to-one relationship was established between the carrier frequency and the composition channel.
[0008]
Therefore, in the analog broadcasting service, the user only has to perform an operation of selecting a carrier frequency in order to select a desired program. In the analog broadcasting service, one carrier frequency is assigned to one broadcasting station except for the national broadcasting, so that the user can select “select a desired program” = “select a carrier frequency” = ” The concept of "selecting a broadcast station" has permeated.
[0009]
Also in the digital broadcasting service, the remote controller of the receiving device is provided with a button for specifying a broadcasting station, and the user selects a desired broadcasting station, that is, a desired program by pressing this button. You can do it.
[0010]
However, as described above, in a digital broadcasting service, a plurality of organization channels may be multiplexed on one carrier frequency and transmitted. In particular, in a multi-channel broadcasting, an organization transmitted from one broadcasting station may be transmitted. Even if the number of channels is two or three, there is one knitting channel which is decoded and output and displayed at one time.
[0011]
Therefore, at the time of the multi-channel broadcasting of the digital broadcasting service, the channel can be switched only in the unit of the organization channel, so that the operation of selecting the broadcasting station that has become popular with the user by the analog broadcasting service cannot be reflected. Therefore, there is a problem that the channel selection operation becomes very difficult for the user to understand, such as the number of selectable channels increases each time multi-channel broadcasting is performed.
[0012]
Accordingly, it is an object of the present invention to provide a decoding device and a decoding method capable of outputting all multiplexed and transmitted channels on the same screen during multi-channel broadcasting of a digital broadcasting service.
[0013]
[Means for Solving the Problems]
In order to achieve the above object, a decoding device according to the present invention includes a plurality of time information generated by extracting a count value obtained by counting the number of clocks of a first synchronization signal having a predetermined frequency at predetermined intervals. M (m is a natural number) image stream data, each of which is a count value obtained by counting the number of clocks of the first synchronization signal having the predetermined frequency, and includes time stamp information for specifying decoding and output timings. Input means for inputting the multiplexed stream thus converted, separating means for separating the multiplexed stream input by the input means into m image stream data, and the m images separated by the separating means The m decoding means for decoding the stream data into m image data, and the image data decoded by the m decoding means are described. M image data storage means, time information extraction means for respectively extracting the time information of the m image stream data from the multiplexed stream inputted by the input means, and the time information separated by the separation means Based on the time information included in any one of the m pieces of image stream data and extracted by the time information extracting means, it synchronizes with the first synchronization signal of the predetermined frequency. A synchronizing signal generating means for generating a second synchronizing signal; and a count value of the time information extracted for each of the m image stream data by the time information extracting means. Count increasing means for respectively increasing based on the clock of the second synchronization signal; Comparing means for comparing the time information of each of the m image stream data with the incremented print value with the time stamp information included in each of the m image streams; In response to the time information being coincident with the time stamp information, the decoding control of the m decoding means is controlled, and the image data stored in the m image data storage means is read out and read on the same screen. And control means for controlling output so as to be arranged in the printer.
[0014]
In addition, in order to achieve the above object, a decoding method according to the present invention provides a decoding method, comprising: M (m is a natural number) image stream data, each of which is a count value obtained by counting the number of clocks of the first synchronization signal having the predetermined frequency, and includes time stamp information that specifies decoding and output timings. An input step of inputting a multiplexed stream obtained by multiplexing, a separating step of separating the multiplexed stream input by the inputting step into m image stream data, and the m separating streams separated by the separating step. M decoding processes respectively for decoding the image stream data of m to m image data, and the image data decoded by the m decoding processes. An image data storing step of storing the time information of the m pieces of image stream data from the multiplexed stream input by the input step, Based on the time information included in any one of the m image stream data separated by the separation step and extracted by the time information extraction step, the predetermined frequency A synchronizing signal generating step of generating a second synchronizing signal synchronized with the first synchronizing signal; and a synchronizing signal generating step of calculating the count value of the time information extracted for each of the m image stream data by the time information extracting step. A step of increasing the count based on the clock of the second synchronization signal generated by the step; A comparing step of comparing time information of each of the m image stream data whose count value has been increased by the count increasing step with the time stamp information included in each of the m image streams; In response to the fact that the time information coincides with the time stamp information as a result of the comparison, the decoding processing of the m decoding steps is controlled, and the image data stored in the m image data storage means is read out. And a control step of controlling the output to be arranged and output on the same screen.
[0015]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of a decoding device and a decoding method according to the present invention will be described in detail with reference to the drawings.
[0016]
The present invention is applied to a recording / reproducing apparatus 100 whose appearance is shown in FIG. As shown in FIG. 1, the recording / reproducing apparatus 100 is connected to a television receiver 200.
[0017]
The television receiver 200 may include a terrestrial tuner capable of receiving terrestrial waves, a BS (Broadcasting Satellite) tuner, a BS digital tuner, a CS (Communications Satellite) tuner, and a CS digital tuner.
[0018]
Various functions of the recording / reproducing apparatus 100 can be remotely controlled by a remote controller 300. The remote controller 300 can remotely control various functions of the television receiver 200.
[0019]
A recording / reproducing apparatus 100 to which the present invention is applied is a recording / reproducing apparatus capable of recording a video signal, an audio signal, and various data on a recording medium without compressing a digital Hi-Vision broadcast. Further, the recording / reproducing apparatus 100 has a built-in digital tuner as described later, for example, receives a digital Hi-Vision broadcast provided by BS digital broadcast, and records the received digital Hi-Vision broadcast on a recording medium as described above. be able to.
[0020]
The configuration of the main part of the recording / reproducing apparatus 100 will be described with reference to FIG. The recording / reproducing apparatus 100 includes a terrestrial tuner 1, an input switching circuit 2, a YC separation circuit 3, an input switching circuit 4, an NTSC (National Television System Standard Committee) decoder 5, a synchronization control circuit 6, a pre-video. A signal processing circuit 7, an MPEG (Moving Picture Experts Group) video encoder 8, an audio A / D converter 9, an MPEG audio encoder 10, a digital tuner 11, a multiplexing / demultiplexing circuit (MUX / DMX) 12, and recording. / Reproduction processing unit 13, host CPU 14, SDRAM (Synchronous Dynamic Random Access Memory) 15, ROM (Read Only Memory) 16, and MPEG video deco. Coder 17a, 17b, 17c, adder 17d, post video signal processing circuit 18, OSD (On Screen Display) 19, NTSC encoder 20, MPEG audio decoder 21, switching circuit 22, audio D / D An A-converter 23, a digital IN / OUT 24, a digital interface circuit 25, a terrestrial EPG tuner 26, a data slicer 27, and an STC (System Time Clock) generator 28 are provided.
[0021]
The terrestrial tuner 1 receives a terrestrial broadcast and supplies a composite video signal and an audio signal of the received broadcast to the input switching circuit 2.
[0022]
The input switching circuit 2 is supplied with a composite video signal and an audio signal from the terrestrial tuner 1 and is supplied with a composite video signal and an audio signal from an external device. The input switching circuit 2 selects one of a composite video signal and an audio signal supplied from the terrestrial tuner 1 or a composite video signal and an audio signal supplied from an external device in accordance with an instruction from the host CPU 14. The input switching circuit 2 outputs the selected composite video signal to the YC separation circuit 3 and outputs the audio signal to the audio A / D converter 9.
[0023]
The YC separation circuit 3 separates the composite video signal input from the input switching circuit 2 into YC signals and supplies the composite video signal to the input switching circuit 4.
[0024]
The input switching circuit 4 selects an external S video input or an output from the YC separation circuit 3 according to an instruction from the host CPU 14 and supplies the selected signal to the NTSC decoder 5.
[0025]
The NTSC decoder 5 performs A / D conversion and chroma encoding on the input video signal, converts the input video signal into a digital component video signal (hereinafter, referred to as image data), and supplies the digital video signal to the pre-video signal processing circuit 7. In addition, the NTSC decoder 5 supplies a clock generated based on the horizontal synchronization signal of the input video signal and a horizontal synchronization signal, a vertical synchronization signal, and a field determination signal obtained by synchronizing and separating to the synchronization control circuit 6.
[0026]
The synchronization control circuit 6 generates a clock and a synchronization signal, which are converted into timings necessary for each block described later, based on the horizontal synchronization signal, the vertical synchronization signal, and the field discrimination signal. Supply.
[0027]
The pre-video signal processing circuit 7 performs various video signal processes such as a pre-filter on the image data supplied from the NTSC decoder 5 and supplies the processed video data to the MPEG video encoder 8 and the post video signal processing circuit 18.
[0028]
The MPEG video encoder 8 performs an encoding process such as a block DCT (Discrete Cosine Transform) on the image data supplied from the pre-video signal processing circuit 7, generates an ES (Elementary Stream) of the image, and multiplexes the image. / Separation circuit 12. In the present embodiment, MPEG is adopted as a compression method, but other compression methods or non-compression may be used.
[0029]
The audio A / D converter 9 converts the audio signal selected by the input switching circuit 2 into a digital audio signal and supplies the digital audio signal to the MPEG audio encoder 10.
[0030]
The MPEG audio encoder 10 compresses the supplied digital audio signal according to the MPEG format, generates an audio ES, and supplies it to the multiplexing / demultiplexing circuit 12 in the same manner as the video signal. In the present embodiment, MPEG is adopted as a compression method, but other compression methods or non-compression may be used.
[0031]
The digital tuner 11 is a receiver that receives BS digital broadcast, CS digital broadcast, and terrestrial digital broadcast. BS digital broadcasting is a service centered on digital high-definition broadcasting, but standard television broadcasting is also provided.
[0032]
For example, in BS digital broadcasting, a digital high-definition broadcast is divided into three standard television broadcasts and is simultaneously broadcast by multi-channel broadcasting. Similarly, a digital high-definition broadcast is divided into three channels and related within one program. It is assumed that a multi-view broadcast is provided which simultaneously broadcasts the contents of the standard television broadcast.
[0033]
Here, an MPEG2 transport stream (hereinafter, also referred to as TS), which is one of the digital broadcast transmission methods adopted in BS digital broadcast, will be described.
[0034]
TS is a standard defined for transmitting contents such as video signals, audio signals, and data compressed and encoded by the MPEG2 system as one stream.
[0035]
The TS multiplexes a 188-byte fixed-length transport packet (hereinafter, also referred to as a TS packet) by multiplex transmission, thereby multiplexing a program (broadcasting one channel of HDTV broadcasting or a plurality of channels of SDTV) or organizing a program (HDTV broadcasting). Change 1 channel of broadcast + 1 channel of data broadcast or 2 channels of SDTV broadcast + 3 channels of data broadcast) or extract a specific channel from satellite or terrestrial broadcast, multiplex a new channel and redistribute it on cable TV Can be flexibly realized without deterioration.
[0036]
As shown in FIG. 3, the 188-byte fixed-length TS packet multiplexed by the TS includes a 4-byte packet header area (TS header) and a 184-byte payload area (TS payload).
[0037]
In the packet header area of the TS packet, information defining the characteristics of the packet such as a synchronization byte indicating the head of the packet and a PID (Packet Identification) which is an ID number for identifying the TS packet is described.
[0038]
In a payload area following the packet header, a video PES (Packetized Elementary Stream), an audio PES, and section data are described.
[0039]
The video PES and the audio PES are packets to which a video ES (Elementary Stream) and an audio ES generated by encoding a video signal and an audio signal, respectively, are divided, and a PES header is added. In a PES header of a PES packet such as a video PES or an audio PES, a PTS (Presentation Time Stamp) which is time management information of reproduction output and a DTS (Decoding Time Stamp) which is time management information of decoding are described.
[0040]
The section data described in the payload area of the TS packet includes various types of data such as data for selecting a program, data for synchronizing between transmission and reception, data content, and data for upgrading the firmware. is there.
[0041]
In particular, section data called PSI (Program Specific Information) is a TS for multiplexing and transmitting a large number of video data and audio data, which is selected from a plurality of organization channels, which packet is extracted, and which packet is extracted. And information such as whether to perform decoding.
[0042]
The PSI includes a PAT (Program Association Table) that holds comprehensive information on all the channels included in one TS, and a PMT (Program) that holds information on each of the channels included in the TS. There are a mapped table (NIT) indicating a service list and transmission path parameters in a network, and a CAT (Conditional Access Table) indicating a PID of contract information of pay broadcasting.
[0043]
The PAT is described in a TS packet having a PID of “0x0000”, is prepared for each organization channel, and holds all PIDs of the PMT that manages information on the organization channel.
[0044]
The PMT is a PID of a TS packet storing a video PES transmitted on the organization channel, a PID of a TS packet storing an audio PES transmitted on the organization channel, and PCR which is clock information of the organization channel. (Program Clock Reference) is managed with the PID of the TS packet stored therein.
[0045]
Here, the PCR that is the clock information of the organization channel will be described. In the digital broadcast received by the digital tuner 11, that is, in the MPEG-2 transport stream, a signal corresponding to a video synchronization signal transmitted in an analog broadcast is not transmitted. Therefore, a system clock (27 MHz) of the receiver and the transmitter is used. The PCR is prepared as clock information in order to match ()).
[0046]
The PCR holds an STC (System Time Clock) value, which is a 42-bit counter value based on a basic clock on the transmitter side, and includes an independent TS packet of a TS transmitted from the transmitter side, a video PES or an audio PES. Is transmitted to the receiver while being included in the TS packet stored at a fixed cycle.
[0047]
The STC value in the PCR is used for generating a system clock on the receiver side which is synchronized with the system clock of the transmitter as described above, and in addition to PTS and DTS which are time stamps indicating when decoding and reproduction are to be performed. It also serves as a comparison reference value.
[0048]
As described above, by referring to the PID of the PCR described in the PMT prepared for each organization channel, the PCR for each organization channel in the TS can be obtained.
[0049]
In the case of multi-view broadcasting, the STC value included in the PCR of the organization channel multiplexed to the TS is the same for all the organization channels, but in the case of multi-channel broadcasting, the STC value is Will be different. Therefore, in multi-channel broadcasting, it is necessary to acquire a PCR for each multiplexed composition channel.
[0050]
Returning to FIG. 2 again, the main configuration of the recording / reproducing apparatus 100 will be described. The multiplexing / demultiplexing circuit 12 performs multiplexing processing of the video ES, the audio ES, and various control signals during recording on the recording medium 50 described later. The multiplexing / demultiplexing circuit 12 performs multiplexing processing (for example, generation of a transport stream of an MPEG system), buffer control processing, and recording / reproduction together with the input MPEG video ES, MPEG audio ES, and various control signals. Output to the processing unit 13.
[0051]
The buffer control process is to perform control for intermittently sending a continuously input TS to the subsequent recording / reproducing processing unit 13. For example, when the recording / reproducing processing unit 13 is performing the seek operation of the recording medium 50, the TS cannot be written. Therefore, the TS is temporarily stored in the buffer. By performing writing at a rate, continuously input TSs are recorded without interruption.
[0052]
The multiplexing / demultiplexing circuit 12 extracts the PES from the supplied TS after descrambling the TS supplied from the digital tuner 11 at the time of receiving the digital broadcast, and extracts the PES from the supplied TS. After being separated into PES, they are supplied to MPEG video decoders 17a, 17b, 17c and MPEG audio decoder 21, respectively.
[0053]
Specifically, the multiplexing / demultiplexing circuit 12 acquires the PSI multiplexed in the TS in the section format as shown in FIG. 4, and analyzes the PSI analyzed by the PSI analyzer 12a, and acquires from the PMT analyzed by the PSI analyzer 12a. A PID filter unit 12b for setting a PID of a TS packet storing the video PES, the audio PES, and the PCR, and separating and extracting the corresponding TS packet based on the set PID.
[0054]
The PSI analysis unit 12a stores the PID of the TS packet storing the video PES, the PID of the TS packet storing the audio PES, and the PCR for each of the organization channels multiplexed from the PAT and PMT to the TS. The PID of the existing TS packet is acquired. The PSI analysis unit 12a supplies the obtained PID to the PID filter unit 12b.
[0055]
The PID filter unit 12b includes a PID of a TS packet storing the video PES of each composition channel supplied from the PSI analysis unit 12a, a PID of a TS packet storing an audio PES, and a TS packet storing a PCR. Are set respectively.
[0056]
When the TS signal is supplied from the digital tuner 11, the PID filter unit 12b separates and extracts TS packets in which the video PES, the audio PES, and the PCR are stored based on the set PID. The video decoders 17a, 17b, and 17c, the MPEG audio decoder 21, and the STC generator 28 are supplied.
[0057]
The PID filter unit 12b includes three filters for video PES and one filter for audio PES. In a multi-channel broadcast, since the PCR for PCR is different for each multiplexed composition channel, there are cases where a filter for PCR is prepared and a case where a PID set by one filter is switched and used. is there.
[0058]
Returning to FIG. 2 again, the main configuration of the recording / reproducing apparatus 100 will be described. When reproducing the recording medium 50, the multiplexing / demultiplexing circuit 12 makes the TS reproduced and output intermittently by the recording / reproduction processing unit 13 continuous, as in the case of receiving the digital broadcast by the digital tuner 11 described above. After performing the buffer control as described above, the separation process is performed. In the demultiplexing process of the multiplexing / demultiplexing circuit 12, the PES is extracted from the TS, further separated into the video PES and the audio PES, and supplied to the MPEG video decoders 17a, 17b, 17c and the MPEG audio decoder 21.
[0059]
The multiplexing / demultiplexing circuit 12 extracts electronic program information (EPG) inserted in the BS signal by using a function of purging various information built in the multiplexing / demultiplexing circuit 12 and supplies the electronic program information (EPG) to the host CPU 14. The host CPU 14 analyzes the EPG signal and displays program information on the GUI.
[0060]
The recording / reproducing processing unit 13 performs a process of recording data on the recording medium 50 and a process of reproducing data recorded on the recording medium 50. The recording medium 50 is, for example, an optical disk, a magneto-optical disk, a solid-state memory, or the like that can be mounted on a mounting portion of the recording / reproducing device (not shown), or an HDD (Hard Disk Drive) pre-mounted on the recording / reproducing device. The recording / reproduction processing unit 13 records the TS supplied from the multiplexing / demultiplexing circuit 12 on the recording medium 50, and outputs the TS reproduced from the recording medium 50 to the multiplexing / demultiplexing circuit 12.
[0061]
The host CPU 14 controls all functional blocks of the recording / reproducing apparatus 100 in an integrated manner. The host CPU 14 accesses the SDRAM 15 and the ROM 16 via the host bus as necessary, and controls the entire system.
[0062]
The MPEG video decoders 17a, 17b, and 17c perform decoding processing on the input video PES, acquire baseband image data, and supply the video data to the video mixer 17d.
[0063]
Next, the configuration of the MPEG video decoders 17a, 17b, and 17c will be described with reference to FIG. Since the configurations of the MPEG video decoders 17a, 17b, and 17c are all the same, only the configuration of the MPEG video decoder 17a will be described.
[0064]
The MPEG video decoder 17a includes a code buffer 31, a decode core 32, a frame memory 33, and a display unit.
[0065]
The code buffer 31 temporarily stores the video PES supplied from the multiplexing / demultiplexing circuit 12.
[0066]
The decode core 32 reads the video PES stored in the code buffer 31 based on the STC value output from the STC generation unit 28, analyzes the PES header, and performs a decoding process together with the PTS and DTS to generate image data. . The decode core 32 writes the generated image data to the frame memory 33.
[0067]
When writing image data to the frame memory 33, the decode core 32 compares the DTS value described in the picture header with the STC value supplied from the STC generation unit 28, and discards a delayed B picture.
[0068]
The frame memory 33 is a memory having a predetermined storage capacity, and stores image data decoded by the decode core 32 in frame units.
[0069]
The display unit 34 compares the PTS with the STC value supplied from the STC generation unit 28, discards a picture having a PTS value smaller than the STC value, and displays a picture having a PTS value closest to the STC value. The image data stored in the frame memory 33 is selected.
[0070]
Therefore, by sequentially switching the pictures to be displayed as the STC value increases, image data synchronized with the STC value is output and displayed.
[0071]
Returning to FIG. 2 again, the main configuration of the recording / reproducing apparatus 100 will be described.
[0072]
The video mixer 17d mixes the image data supplied from the MPEG video decoders 17a, 17b, and 17c, and supplies the resulting data to the post-video signal processing circuit 18 at the subsequent stage.
[0073]
The post video signal processing circuit 18 includes a switching circuit (not shown), a field recursive noise reducer, a motion detection, and a video signal interpolation processing circuit, and includes image data supplied from the video mixer 17d and the pre-video signal processing circuit 7. After switching the image data supplied from the OSD 19, various processes are performed, and the image data is supplied to the OSD 19.
[0074]
The OSD 19 generates graphics for screen display or the like, performs processing such as superimposition on image data or partial display, and supplies the processed data to the NTSC encoder 20.
[0075]
The NTSC encoder 20 converts the input image data (component digital signal) into a YC signal, performs D / A conversion, acquires an analog composite video signal and an S video signal, and prepares the television receiver 200. To the video input terminal.
[0076]
The MPEG audio decoder 21 performs composite processing on the audio ES signal supplied from the multiplexing / demultiplexing circuit 12 to obtain a baseband audio signal, and supplies the baseband audio signal to the switching circuit 22.
[0077]
The switching circuit 22 selects audio data supplied from the MPEG audio decoder 21 and audio data supplied from the audio A / D converter 9, and outputs the selected audio data to the audio D / A converter 23. .
[0078]
The audio D / A converter 23 converts the audio data into an analog audio signal, and inputs the converted analog audio signal to an audio input terminal provided in the television receiver 200.
[0079]
Next, signals supplied and output from the digital IN / OUT 24 will be described. For example, when recording a signal input from an external IRD (Integrated Receiver Decoder) via a digital IN / OUT 24 which is a digital interface such as IEEE1394, the digital signal is input to the digital interface circuit 25.
[0080]
In the digital interface circuit 25, processing such as format conversion is performed so as to conform to the present system, a TS is generated, and the TS is supplied to the multiplex / demultiplex circuit 12. The multiplexing / demultiplexing circuit 12 further analyzes and generates a control signal and the like, and converts the signal into a TS suitable for the present system.
[0081]
At the same time, the multiplexing / demultiplexing circuit 12 performs a demultiplexing process, and supplies the video ES to the MPEG video decoder 17 and the audio ES to the MPEG audio decoder 21, thereby obtaining analog video and audio signals. it can.
[0082]
When the recording / reproduction processing unit 13 reproduces the recording medium 50, the reproduced TS is input to the multiplexing / demultiplexing circuit 12 as described above. The TS input to the multiplexing / demultiplexing circuit 12 analyzes and generates a control signal as necessary, and supplies the control signal to the digital interface circuit 25. The digital interface circuit 25 performs a reverse conversion to that during recording, converts the digital signal into a digital signal conforming to an external IRD, and outputs the digital signal via the digital IN / OUT 24.
[0083]
At the same time, the multiplexing / demultiplexing circuit 12 performs a demultiplexing process and supplies the PES to the MPEG video decoders 17a, 17b, 17c and the MPEG audio decoder 21 to obtain analog video and audio signals. .
[0084]
In this embodiment, the connection with the IRD has been described. However, the connection with an AV device such as a TV or a personal computer is also possible.
[0085]
The terrestrial EPG tuner 26 is controlled by the host CPU 14, receives the CH on which the EPG is superimposed, and supplies the received video signal to the data slicer 27.
[0086]
The data slicer 27 extracts EPG data from the input video signal and supplies it to the host CPU 14. The host CPU 14 analyzes the EPG signal and displays program information on the GUI. EPG data obtained from BS digital or terrestrial broadcasting is used not only for display of a program table, but also for information of timer recording and title display of recorded programs.
[0087]
The STC generation unit 28 generates an STC value synchronized with the system clock of the transmitter on the basis of the STC value of the PCR supplied from the multiplexing / demultiplexing circuit 12, and outputs the MPEG video decoders 17a, 17b, 17c and the MPEG audio Output to the decoder 21 and the like. In the following description, the STC value of the PCR is set to STC_pcr, and the value generated by the STC generation unit 28 is distinguished as the STC value.
[0088]
FIG. 6 shows the configuration of the STC generation unit 28. FIG. 6 also shows the digital tuner 11, the multiplexing / demultiplexing circuit 12, the MPEG video decoders 17a, 17b, 17c, the video mixer 17d, and the MPEG video decoder 21 in addition to the STC generating unit 28.
[0089]
For example, assuming that a TS multiplexed from the digital tuner 11 on the knitting channels (SDTV) identified as channels 0, 1, and 2 is supplied to the multiplexing / demultiplexing circuit 12, the multiplexing / demultiplexing circuit 12 shown in FIG. In the PID filter unit 12b, the PIDs of the video PESs corresponding to the channels 0, 1, and 2 are set as v_PID [0], v_PID [1], and v_PID [2], respectively, and the PID of the audio PES is set as a_PID. , PCR PID are set as PCR_PID [0], PCR_PID [1], and PCR_PID [2].
[0090]
The video PES of channel 0 is separated by v_PID [0] set in the PID filter unit 12b and supplied to the MPEG video decoder 17a, and the video PES of channel 1 is separated by v_PID [1] and supplied to the MPEG video decoder 17b. Then, the video PES of channel 2 is separated by v_PID [2] and supplied to the MPEG video decoder 17c.
[0091]
As shown in FIG. 6, the STC generation unit 28 includes STC counters 28a, 28b, 28c and an audio STC selector 28d. The STC_pcr [0] of channel 0 is supplied to the STC counter 28a by PCR_PID [0] set in the PID filter unit 12b, the STC_pcr [1] of channel 1 is supplied to the STC counter 28b by PCR_PID [1], and the PCR_PID [ 2], the STC_pcr [2] of channel 2 is supplied to the STC counter 28c.
[0092]
One of the STC counters 28a, 28b, and 28c included in the STC generation unit 28 illustrated in FIG. 6 configures a PLL (Phase-Locked Loop) circuit 40 illustrated in FIG. As shown in FIG. 7, the PLL circuit 40 including the STC counters 28a, 28b or 28c includes a comparison unit 41, a digital / analog converter (DAC) 42, a low-pass filter 43, and a voltage-controlled transmission. (VCO: Voltage Controlled Oscillator) 44.
[0093]
In the following description, it is assumed that the PLL circuit 40 is configured using the STC counter 28a. Also, STC_pcr supplied to the STC counter 28a is set to STC_pcr [0].
[0094]
When STC_pcr [0] sent from the multiplexing / demultiplexing circuit 12 is set in the STC counter 28a of the PLL circuit 40, the STC counter 28a is automatically activated by the 27 MHz clock output from the voltage control transmitter 44. Self-propelled.
[0095]
The STC value, which is the count value that is self-propelled by the STC counter 28a, is compared with STC_pcr [0] supplied next by the comparing unit 41, and the voltage applied to the voltage control transmitter 44 is controlled so that the difference becomes 0. As a result, a system clock synchronized with the system clock on the transmitter side with an accuracy within a predetermined range can be obtained. The system clock generated by the PLL circuit 40 is supplied to a counter 28b, a counter 28c, and the like, and is used as a basic clock in the recording / reproducing apparatus 100.
[0096]
On the other hand, STC_pcr [1] and STC_pcr [2] are supplied from the demultiplexing circuit to the STC counters 28b and 28c which do not constitute the PLL, respectively, and the supplied STC_pcr is set as a counter value.
[0097]
When a system clock is supplied from the PLL circuit 40, the set STC counters 28b and 28c start counting up and the self-running of the set STC_pcr [1] and STC_pcr [2] in synchronization with the system clock. I do.
[0098]
In this way, the STC counters 28a, 28b, 28c generate STC values by counting up different STC_pcrs. The STC values obtained by the STC counters 28a, 28b, and 28c are supplied to the MPEG video decoders 17a, 17b, and 17c and used as comparison reference values for PTS, which is time management information for reproduction output, and DTS, which is time management information for decoding. Can be
[0099]
Each STC value generated by the STC counters 28a, 28b, 28c is also supplied to an audio STC selector 28d. The audio STC selector 28d, based on the STC values supplied from the STC counters 28a, 28b, 28c, respectively, controls the audio PES supplied to the MPEG audio decoder 21 and the video PES serving as an access unit under the control of the host CPU 14. The STC value is selected and supplied to the MPEG audio decoder 21.
[0100]
By the way, when only one PCR acquisition filter can be prepared in the PID filter unit 12b of the multiplexing / demultiplexing circuit 12, the STC generation unit 28 'shown in FIG. A value may be generated.
[0101]
As shown in FIG. 8, the STC generation unit 28 'includes a PCR selector 28e in addition to the above-described STC counters 28a, 28b, 28c and audio STC selector 28d.
[0102]
One of the STC counters 28a, 28b, 28c constitutes the PLL circuit 40 shown in FIG. 7 as described in the STC generator 28. The STC counters 28a, 28b, 28c, the audio STC selector 28d, and the PLL circuit 40 have been described with reference to FIGS. 6 and 7, and thus are omitted, and the PCR selector 28e will be described.
[0103]
The PCR selector 28e is a selector that distributes the STC_pcr supplied from the PID filter 12b of the multiplexing / demultiplexing circuit 12 to the STC counters 28a, 28b, 28c.
[0104]
The transmission path is switched by controlling the selector of the PCR selector 28e by the host CPU 14 according to the difference in PCR_PID set in the PCR filter of the PID filter 12b.
[0105]
For example, when the PCR_PID [0] is set in the PCR filter 12b and the STC_pcr [0] is obtained by the host CPU 14, the PCR selector 28e supplies the STC counter 28a which outputs the STC value to the MPEG video decoder 17a. The transmission path is controlled in such a manner as to be performed.
[0106]
Thus, the STC generation unit 28 'can supply the STC_pcr to the STC counters 28a, 28b, and 28c even when the PID filter 12b has only one PCR filter by including the PCR selector. .
[0107]
Further, when only one STC counter can be prepared in the STC generation unit 28 ', the STC value is generated by the STC generation unit 28 "shown in FIG. 9 instead of the STC generation unit 28'. You may.
[0108]
As shown in FIG. 9, the STC generation unit 28 ″ includes differential STC counters 60 and 70 in addition to the above-described STC counter 28a, audio STC selector 28d, and PCR selector 28e.
[0109]
The STC counter 28a, the audio STC selector 28d, and the PCR selector 28e have been described in the STC generation unit 28 'shown in FIG. 8, and thus are omitted, and the difference STC counters 60 and 70 will be described.
[0110]
The difference STC counters 60 and 70 generate STC values to be supplied to the MPEG video decoders 17b and 17c, respectively.
[0111]
Each time STC_pcr [1] is supplied, the difference STC counter 60 calculates an adder 61 that calculates a difference from the STC value generated by the STC counter 28a, and a difference value STC_diff [1] calculated by the adder 61. The STC_diff [1] is read from the memory 62 for temporarily storing and the STC_diff [1] each time the system clock generated by the STC counter 28a is supplied, and the STC_diff [1] of the self-running STC counter 28a is added. And an adder 63 for outputting to the MPEG audio decoder 17b.
[0112]
Each time STC_pcr [2] is supplied, the difference STC counter 70 calculates an adder 71 that calculates a difference from the STC value generated by the STC counter 28a, and a difference value STC_diff [2] calculated by the adder 71. The STC_diff [2] is read from the memory 72 that is temporarily stored and the STC_diff [2] every time the system clock generated by the STC counter 28a is supplied, and the STC_diff [2] of the self-running STC counter 28a is added. And an adder 73 for outputting to the MPEG audio decoder 17c.
[0113]
Thus, the STC generation unit 28 ″ supplies the STC value to each of the MPEG video decoders 17a, 17b, and 17c, even if the STC generation unit 28 ″ includes only the STC counter 28a as a counter that runs and generates the STC value. be able to.
[0114]
Next, as described above, a method of obtaining the STC_pcr by the STC generation units 28 ′ and 28 ″ corresponding to the case where the number of PCR filters in the PID filter unit 12b of the multiplexing / demultiplexing circuit 12 is one will be described.
[0115]
First, a first operation for acquiring STC_pcr will be described with reference to the flowchart shown in FIG.
[0116]
First, in step S1, the PSI analysis unit 12a of the multiplexing / demultiplexing circuit 12 acquires a PAT from a TS packet whose PID is “0x0000”.
[0117]
By acquiring the PAT, the type of the composition channel multiplexed in the TS signal supplied to the multiplexing / demultiplexing circuit 12 and the number of the composition channels can be known.
[0118]
In this step S1, the host CPU 14 manages the number of multiplexed organization channels, that is, the number of multiplexed streams as num_of_sd. For example, when three composition channels are multiplexed in the TS signal, the number of streams, num_of_sd = 3.
[0119]
In the following description, a parameter “i” is given as a channel number to a channel multiplexed and transmitted, and the channel is identified by a continuous number starting from “0”. For example, when three organization channels are multiplexed in the TS, i = 0, i = 1, and i = 2 are assigned to each organization channel as a channel number.
[0120]
Further, a knitting channel including STC_pcr for generating a system clock is set as a master channel, and in step S1, the master channel is determined as pll_stc_no.
[0121]
In this flowchart, the channel number of the organization channel serving as the master channel is set to “0”, and pll_stc_no = 0. The channel determined as pll_stc_no may be any channel, and when it is selected as the master channel, STC_pcr is supplied to the counter that constitutes the PLL.
[0122]
The organization channels other than the master channel are called slave channels because they are synchronized with the system clock generated by the master channel STC_pcr. In the present flowchart, the slave channels are the organization channels identified as channel numbers i = 1 and i = 2.
[0123]
In step S2, the host CPU 14 sets the parameter “i” to i = 0, and starts the processing of the knitting channel identified as the channel number “0”.
[0124]
In step S3, the PSI analysis unit 12a refers to the acquired PAT under the control of the host CPU 14 and acquires the PMT [i] of the knitting channel identified by the parameter “i” given in step S1. The host CPU 14 increments the value of the parameter “i” by one (1 ++).
[0125]
In step S4, the host CPU 14 compares the number num_of_sd of the multiplexed stream with the parameter “i” given to the composition channel, and if i <num_of_sd, returns the process to step S3. , I <num_of_sd, the process proceeds to step S5.
[0126]
The PSI analysis unit 12a obtains the PMTs of all the channels multiplexed in the TS by the loop of steps S3 and S4. For example, assuming that the knitting channels are three knitting channels identified by i = 0, 1, 2, three PMTs, PMT [0], PMT [1], and PMT [2], are acquired.
[0127]
In step S5, the host CPU 14 sets the parameter “i” to i = 0, and enters the processing of the knitting channel identified as the channel number “0”.
[0128]
In step S6, the host CPU 14 refers to the PMT [i] acquired by the PSI analysis unit 12a, and sets the PCR_PID [i], which is the PID of the STC_pcr [i], in the PID filter unit 12b of the multiplexing / demultiplexing circuit 12.
[0129]
Further, in response to the PCR_PID [i] being set in the PID filter unit 12b, the host CPU 14 controls the PCR selector 28e to set a path for supplying STC_pcr [i] to the STC counter.
[0130]
For example, when PCR_PID [0] is set in the PID filter unit 12b in the STC generation unit 28 ', the PCR selector 28e switches the switch so that STC_pcr is supplied to the STC counter 28a, and sets PCR_PID [1]. Then, the PCR selector 28e switches the switch so that STC_pcr is supplied to the STC counter 28b. When PCR_PID [2] is set, the PCR selector 28e switches so that STC_pcr is supplied to the STC counter 28c. Switch.
[0131]
Also, when PCR_PID [0] is set in the PID filter unit 12b in the STC generation unit 28 ″, the PCR selector 28e switches so that STC_pcr is supplied to the STC counter 28a, and the PCR_PID [1] When set, the PCR selector 28e switches the switch so that STC_pcr is supplied to the differential STC counter 60. When PCR_PID [2] is set, the PCR selector 28e supplies STC_pcr to the differential STC counter 70. Switch as follows.
[0132]
In step S7, the PID filter unit 12b enters a standby state for obtaining STC_pcr [i] stored in the TS packet of PCR_PID [i].
[0133]
In step S8, the host CPU 14 sets the STC_pcr [i] obtained by the PID filter unit 12b of the multiplexing / demultiplexing circuit 12 for the first time in the STC generation unit 28 'in each of the STC counters 28a, 28b, 28c, In the case of the generation unit 28 ″, the setting is made to the difference STC counters 60 and 70 and the STC counter 28a.
[0134]
In step S9, the STC_pcr is set, so that the STC counters 28a, 28b, and 28c in the STC generation unit 28 'and the STC counter 28a in the STC generation unit 28' are automatically increased by a 27 MHz clock to be free running. Begin to. The host CPU 14 increments the value of the parameter “i” by one (i ++), and shifts the processing to the next composition channel.
[0135]
In step S10, the host CPU 14 compares the number num_of_sd of the multiplexed streams with the parameter “i” given to the composition channel, and if i <num_of_sd, returns the process to step S6. , I <num_of_sd, the process proceeds to step S11.
[0136]
The STC_PCR is set once in all the STC counters by the loop of steps S6 to S10, and each STC counter starts self-running.
[0137]
In step S11, the host CPU 14 sets the parameter “i” to i = 0, and starts the processing of the knitting channel identified as the channel number “0”.
[0138]
In step S12, the host CPU 14 sets the PCR_PID [i] in the PID filter unit 12b of the multiplexing / demultiplexing circuit 12 with reference to the PMT [i] obtained by the PSI analysis unit 12a.
[0139]
In step S13, the PID filter unit 12b enters a standby state for acquiring STC_pcr [i] stored in the TS packet of PCR_PID [i].
[0140]
In step S14, the pll_stc_no determined as the master channel in step S1 is compared with the parameter "i" for identifying the currently processed knitting channel. If the knitting channel currently being processed is the master channel, the process proceeds to step S14. Proceed to S15, and if it is a slave channel, proceed to process step S16.
[0141]
In this flowchart, since pl_stc_no = 0, if the parameter “i” = 0, the process proceeds to step S15. If the parameter “i” ≠ 0, the process proceeds to step S16.
[0142]
In step S15, the host CPU 14 controls the voltage control transmitter 44 by taking the difference between the STC value of the STC counter and STC_pcr [i] in accordance with the fact that the composition channel currently being processed is the master channel. , And PLL control.
[0143]
Since the STC counter 28a in both the STC generator 28 'shown in FIG. 8 and the STC generator 28 "shown in FIG. 9 constitute the PLL circuit 40, the difference between the STC value of the STC counter 28a and STC_pcr [0] And PLL control is performed.
[0144]
In step S16, the host CPU 14 sets STC_pcr [i] in the STC counter according to the fact that the composition channel currently being processed is the slave channel.
[0145]
In the STC generation unit 28 'shown in FIG. 8, STC_pcr [1] is set in the STC counter 28b, and STC_pcr [2] is set in the STC counter 28c.
[0146]
In the STC generation unit 28 ″ shown in FIG. 9, STC_pcr [1] is supplied to the differential STC counter 60, and STC_pcr [2] is supplied to the differential STC counter 70.
[0147]
In step S17, the host CPU 14 increments the value of the parameter "i" by one (i ++), and shifts the processing to the next composition channel.
[0148]
In step S18, the host CPU 14 compares the number of multiplexed streams num_of_sd with the parameter “i” given to the composition channel, and if i <num_of_sd, returns the process to step S11. , I <num_of_sd, the process returns to step S12.
[0149]
As described above, in the first operation of acquiring the STC_pcr shown in the flowchart of FIG. 10, the STC_pcr [i] of each composition channel is acquired in order, and is set in each STC counter.
[0150]
Next, a second operation of acquiring STC_pcr will be described using the flowchart shown in FIG.
[0151]
First, in step S21, the PSI analysis unit 12a of the multiplexing / demultiplexing circuit 12 acquires a PAT from a TS packet whose PID is "0x0000".
[0152]
By acquiring the PAT, the type of the composition channel multiplexed in the TS signal supplied to the multiplexing / demultiplexing circuit 12 and the number of the composition channels can be known.
[0153]
In this step S1, the host CPU 14 manages the number of multiplexed organization channels, that is, the number of multiplexed streams as num_of_sd. For example, when three composition channels are multiplexed in the TS signal, the number of streams, num_of_sd = 3.
[0154]
In the following description, a parameter “i” is given as a channel number to a channel multiplexed and transmitted, and the channel is identified by a continuous number starting from “0”. For example, when three organization channels are multiplexed in the TS, i = 0, i = 1, and i = 2 are assigned to each organization channel as a channel number.
[0155]
In the flowchart shown in FIG. 10, a step of determining the master channel is provided in step S1 where the PAT is acquired. However, in the present flowchart shown in FIG. Is fixed to the organization channel identified as the parameter “i” = 0.
[0156]
Therefore, the slave channel is a knitting channel identified as channel numbers i = 1 and i = 2.
[0157]
Needless to say, a step of determining pll_stc_no may be provided also in step S21.
[0158]
In step S22, the host CPU 14 sets the parameter “i” to i = 0, and enters the processing of the knitting channel identified as the channel number “0”.
[0159]
In step S23, the PSI analysis unit 12a refers to the acquired PAT under the control of the host CPU 14 and acquires the PMT [i] of the knitting channel identified by the parameter “i” given in step S21. The host CPU 14 increments the value of the parameter “i” by one (i ++).
[0160]
In step S24, the host CPU 14 compares the number of multiplexed streams num_of_sd with the parameter “i” given to the composition channel, and if i <num_of_sd, returns the process to step S23. , I <num_of_sd, the process proceeds to step S25.
[0161]
The PSI analysis unit 12a acquires the PMTs of all the channels multiplexed in the TS by the loop of steps S23 and S24. For example, assuming that the knitting channels are three knitting channels identified by i = 0, 1, 2, three PMTs, PMT [0], PMT [1], and PMT [2], are acquired.
[0162]
In step S25, the host CPU 14 sets the parameter “i” to i = 0, and enters the processing of the knitting channel identified as the channel number “0”.
[0163]
In step S26, the host CPU 14 sets the PCR_PID [i], which is the PID of the STC_pcr [i], in the PID filter unit 12b of the multiplexing / demultiplexing circuit 12, with reference to the PMT [i] obtained by the PSI analyzing unit 12a.
[0164]
Further, in response to the PCR_PID [i] being set in the PID filter unit 12b, the host CPU 14 controls the PCR selector 28e to set a path for supplying STC_pcr [i] to the STC counter.
[0165]
For example, when PCR_PID [0] is set in the PID filter unit 12b in the STC generation unit 28 ', the PCR selector 28e switches the switch so that STC_pcr is supplied to the STC counter 28a, and sets PCR_PID [1]. Then, the PCR selector 28e switches the switch so that STC_pcr is supplied to the STC counter 28b. When PCR_PID [2] is set, the PCR selector 28e switches so that STC_pcr is supplied to the STC counter 28c. Switch.
[0166]
Also, when PCR_PID [0] is set in the PID filter unit 12b in the STC generation unit 28 ″, the PCR selector 28e switches so that STC_pcr is supplied to the STC counter 28a, and the PCR_PID [1] When set, the PCR selector 28e switches so that STC_pcr is supplied to the differential STC counter 60. When PCR_PID [2] is set, the PCR selector 28e is supplied with STC_pcr to the differential STC counter 70. Switch as follows.
[0167]
In step S27, the PID filter unit 12b enters a standby state for obtaining STC_pcr [i] stored in the TS packet of PCR_PID [i].
[0168]
In step S28, the host CPU 14 sets the STC_pcr [i] obtained for the first time by the PID filter unit 12b of the multiplexing / demultiplexing circuit 12 in the STC counters 28a, 28b, 28c in the case of the STC generation unit 28 ', and In the case of the generation unit 28 ″, the setting is made to the difference STC counters 60 and 70 and the STC counter 28a.
[0169]
In step S29, the STC_pcr is set, so that the STC counters 28a, 28b, and 28c in the STC generation unit 28 'and the STC counter 28a in the STC generation unit 28' are automatically increased by a 27 MHz clock and are free running. Begin to. The host CPU 14 increments the value of the parameter “i” by one (i ++), and shifts the processing to the next composition channel.
[0170]
In step S30, the host CPU 14 compares the number num_of_sd of the multiplexed streams with the parameter “i” given to the organization channel, and if i <num_of_sd, returns the process to step S6. , I <num_of_sd, the process proceeds to step S31.
[0171]
The STC_PCR is set once in all the STC counters by the loop of steps S26 to S30, and each STC counter starts self-running.
[0172]
In step S31, the host CPU 14 changes the parameter of the channel number of the slave channel to “rr”, and sets rr = 1.
[0173]
In step S32, the host CPU 14 refers to the PMT [0] acquired by the PSI analysis unit 12a and sets the PCR_PID [0], which is the PID of the PCR, in the PID filter unit 12b of the multiplexing / demultiplexing circuit 12.
[0174]
Further, in response to the setting of PCR_PID [0] in the PID filter unit 12b, the host CPU 14 controls the PCR selector 28e to set a path for supplying STC_pcr [0] to the STC counter 28a.
[0175]
In step S33, the PID filter unit 12b enters a standby state for acquiring STC_pcr [0] stored in the TS packet of PCR_PID [0].
[0176]
In step S34, when STC_pcr [0] is obtained, the host CPU 14 controls the voltage control transmitter 44 to obtain the difference between the STC value of the STC counter 28a and the obtained STC_pcr [0], and performs PLL control. .
[0177]
In step S35, the host CPU 14 calculates a difference pcr0_interval between the time when the previous STC_pcr [0] was obtained and the time when STC_pcr [0] was obtained in step S34.
[0178]
In step S36, the host CPU 14 refers to the PMT [rr] obtained by the PSI analysis unit 12a and sets the PCR_PID [rr], which is the PID of the PCR, in the PID filter 12b of the multiplexing / demultiplexing circuit 12.
[0179]
In addition, the host CPU 14 controls the PCR selector 28e according to the setting of the PCR_PID [rr] in the PID filter unit 12b, and supplies the STC_pcr [rr] to the STC counter 28b or the STC counter 28c. Set.
[0180]
In step S37, the host CPU 14 enters a standby state for acquiring STC_pcr [rr] stored in the TS packet of PCR_PID [rr].
[0181]
In step S38, it is determined whether or not time has elapsed by pcr0_interval determined in step S35. If the time has elapsed by pcr0_interval, a timeout (Time Out) occurs and the process returns to step S32. If the pcr0_interval has not elapsed, the process proceeds to step S39.
[0182]
In step S39, the host CPU 14 sets the STC_pcr [rr] of the composition channel that is the slave channel currently being processed in the STC counter 28b or the STC counter 28c.
[0183]
In step S40, the host CPU 14 increments the value of the parameter "rr" by one (rr ++), and shifts the processing to the next composition channel.
[0184]
In step S41, the host CPU 14 compares the number num_of_sd of the multiplexed streams with the parameter “rr” given to the composition channel, and if rr <num_of_sd, the host CPU 14 proceeds to step S41. The process returns to S31, and if rr <num_of_sd is not satisfied, the process returns to step S32.
[0185]
As described above, in the second operation for acquiring the STC_pcr shown in the flowchart of FIG. 11, the channel for performing the VCO control, that is, the STC_pcr of the master channel (in this flowchart, fixed to 0 channel as an example) is mainly acquired. ing. If the STC_pcr of the slave channel can be acquired during the interval for acquiring the STC_pcr of the master channel, the STC_pcr is acquired.
[0186]
As described above, the recording / reproducing apparatus 100 responds to the reception of the multi-channel broadcast (the multiplexed three SDTVs) by the digital tuner 11, and the PSI analysis unit 12a and the PID filter unit 12b of the multiplexing / demultiplexing circuit 12. Then, the STC_pcr of each organization channel is obtained and supplied to the STC generation unit 28, 28 ′ or 28 ″, so that the STC value supplied to the MPEG video decoders 17a, 17b, 17c and the MPEG audio decoder 21 is obtained for each organization channel. Since it can be acquired every time, the decoding process of the multi-channel broadcast can be executed reliably.
[0187]
【The invention's effect】
As is apparent from the above description, the decoding apparatus of the present invention extracts a plurality of pieces of time information included in a multiplexed stream obtained by multiplexing m pieces of input image stream data, and extracts the extracted time information. Is increased based on the second synchronization signal synchronized with the first synchronization signal.
[0188]
Further, the count value of the extracted time information, which is increased based on the second synchronization signal, is compared with the time stamp information specifying the decoding and output timings. By controlling the output timing of arranging and outputting the image data stored in the image data storage means on the same screen after the decoding processing, all of the multiplexed and transmitted Channel image data can be displayed on the same screen as in multi-view broadcasting.
[0189]
As is apparent from the above description, the decoding method of the present invention extracts a plurality of pieces of time information included in a multiplexed stream obtained by multiplexing m pieces of input image stream data, and extracts the extracted time information. Is increased based on the second synchronization signal synchronized with the first synchronization signal.
[0190]
Further, the count value of the extracted time information, which is increased based on the second synchronization signal, is compared with the time stamp information that specifies the timing of decoding and output. Decoding processing timing, after decoding processing, by controlling the output timing of arranging and outputting the image data stored in the image data storage means on the same screen, all the multiplexed and transmitted It is possible to display channel image data on the same screen as a multi-view broadcast.
[Brief description of the drawings]
FIG. 1 is a diagram showing a use form of a recording / reproducing apparatus shown as an embodiment of the present invention.
FIG. 2 is a block diagram for explaining a main configuration of the recording / reproducing apparatus.
FIG. 3 is a diagram for describing an MPEG (Moving Picture Experts Group) 2 transport stream.
FIG. 4 is a diagram for explaining a main configuration of a multiplexing / demultiplexing circuit of the recording / reproducing apparatus shown as an embodiment of the present invention.
FIG. 5 is a diagram for explaining a main configuration of an MPEG video decoder in the recording / reproducing apparatus.
FIG. 6 is a diagram for explaining a main configuration of a first STC (System Time Clock) generating unit in the recording / reproducing apparatus.
FIG. 7 is a diagram for explaining a PLL (Phase-Locked Loop) circuit in the recording / reproducing apparatus.
FIG. 8 is a diagram for describing a main configuration of a second STC generation unit in the recording / reproducing apparatus.
FIG. 9 is a diagram for explaining a main configuration of a third STC generation unit in the recording / reproducing apparatus.
FIG. 10 is a flowchart for explaining a first operation of STC_pcr acquisition in the recording / reproducing apparatus.
FIG. 11 is a flowchart for describing a second operation of acquiring STC_pcr in the recording / reproducing apparatus.
FIG. 12 is a diagram for describing multi-view broadcasting.
FIG. 13 is a diagram for describing multi-channel broadcasting.
[Explanation of symbols]
Reference Signs List 11 digital tuner, 12 multiplexing / demultiplexing circuit (MUX / DMX), 14 host CPU, 17a, 17b, 17c MPEG (Moving Picture Experts Group) video decoder, 17d video mixer, 28, 28 ', 28''STC (System Time Clock) ) Generator, 28a, 28b, 28c STC counter, 28d audio STC selector, 40 PLL (Phase-Locked Loop) circuit, 100 recording / reproducing device

Claims (18)

所定の周波数の第1の同期信号のクロック数をカウントしたカウント値を所定の間隔で抽出して生成される複数の時刻情報と、上記所定の周波数の第1の同期信号のクロック数をカウントしたカウント値であり、復号及び出力のタイミングを指定するタイムスタンプ情報とをそれぞれ含むm(mは自然数)本の画像ストリームデータが多重化された多重化ストリームを入力する入力手段と、
上記入力手段によって入力された上記多重化ストリームをm本の画像ストリームデータに分離する分離手段と、
上記分離手段によって分離された上記m本の画像ストリームデータをm個の画像データにそれぞれ復号するm個の復号手段と、
上記m個の復号手段によって復号された画像データを記憶するm個の画像データ記憶手段と、
上記入力手段によって入力された多重化ストリームから上記m本の画像ストリームデータの上記時刻情報をそれぞれ抽出する時刻情報抽出手段と、
上記分離手段によって分離された上記m本の画像ストリームデータのうちの任意の1本の画像ストリームデータに含まれ、上記時刻情報抽出手段によって抽出される上記時刻情報に基づいて、上記所定の周波数の第1の同期信号と同期する第2の同期信号を生成する同期信号生成手段と、
上記時刻情報抽出手段によって上記m本の画像ストリームデータ毎に抽出された上記時刻情報のカウント値を上記同期信号生成手段によって生成された上記第2の同期信号のクロックに基づいてそれぞれ増加させるカウント増加手段と、
上記カウント増加手段によってカウント値がそれぞれ増加された上記m本の画像ストリームデータそれぞれの時刻情報と、上記m本の画像ストリームのそれぞれに含まれる上記タイムスタンプ情報とを比較する比較手段と、
上記比較手段による比較によって上記時刻情報が、上記タイムスタンプ情報に一致したことに応じて、上記m個の復号手段の復号処理を制御し、上記m個の画像データ記憶手段に記憶された画像データを読み出して、同一画面上に配置して出力するよう制御する制御手段とを備えること
を特徴とする復号装置。
A plurality of pieces of time information generated by extracting a count value obtained by counting the number of clocks of the first synchronization signal having a predetermined frequency at predetermined intervals and the number of clocks of the first synchronization signal having the predetermined frequency are counted. Input means for inputting a multiplexed stream obtained by multiplexing m (m is a natural number) pieces of image stream data, each of which is a count value and includes time stamp information specifying timing of decoding and output
Separating means for separating the multiplexed stream input by the input means into m image stream data;
M decoding means for respectively decoding the m image stream data separated by the separation means into m image data;
M image data storage means for storing the image data decoded by the m decoding means,
Time information extracting means for respectively extracting the time information of the m image stream data from the multiplexed stream input by the input means;
Based on the time information included in any one of the m pieces of image stream data separated by the separating means and extracted by the time information extracting means, the predetermined frequency Synchronization signal generation means for generating a second synchronization signal synchronized with the first synchronization signal;
Count increase for increasing the count value of the time information extracted for each of the m image stream data by the time information extraction means based on the clock of the second synchronization signal generated by the synchronization signal generation means. Means,
Comparing means for comparing the time information of each of the m image stream data whose count value has been respectively increased by the count increasing means with the time stamp information included in each of the m image streams;
When the time information matches the time stamp information as a result of the comparison by the comparing means, the decoding processing of the m decoding means is controlled, and the image data stored in the m image data storage means is controlled. And a control unit for reading out and outputting the data on the same screen.
上記時刻情報抽出手段は、上記m本の画像ストリームデータの上記時刻情報を、一度に1つだけ抽出すること
を特徴とする請求項1記載の復号装置。
2. The decoding apparatus according to claim 1, wherein the time information extracting means extracts the time information of the m pieces of image stream data only one at a time.
上記時刻情報抽出手段は、上記m本の画像ストリームデータの上記時刻情報を各画像ストリームデータから順番に1つずつ抽出すること
を特徴とする請求項2記載の復号装置。
3. The decoding device according to claim 2, wherein the time information extracting means extracts the time information of the m pieces of image stream data one by one from each image stream data in order.
上記時刻情報抽出手段は、上記同期信号生成手段が上記第2の同期信号を生成するために用いる上記任意の1本の画像ストリームデータに含まれる時刻情報を、上記時刻情報が前回抽出された時刻と、前々回抽出された時刻との差で決定されるインターバル時間毎に抽出し、
上記任意の1本の画像ストリームデータ以外の(m−1)本の画像ストリームデータに含まれる時刻情報を上記インターバル時間の間に抽出すること
を特徴とする請求項2記載の復号装置。
The time information extracting means extracts the time information included in the arbitrary one of the image stream data used by the synchronization signal generating means to generate the second synchronization signal, the time at which the time information was previously extracted. And extracted every interval time determined by the difference between the time extracted two times before and
3. The decoding apparatus according to claim 2, wherein time information included in (m-1) pieces of image stream data other than the arbitrary one piece of image stream data is extracted during the interval time.
上記カウント増加手段は、1個のメインカウント増加手段と、(m−1)個のサブカウント増加手段とを備え、
上記1個のメインカウント増加手段は、上記同期信号生成手段によって生成された上記第2の同期信号のクロックに基づいて、上記任意の1本の画像ストリームデータの時刻情報のカウント値を増加させ、
上記(m−1)個のサブカウント増加手段は、上記同期信号生成手段によって生成された上記第2の同期信号に基づいて、上記時刻情報抽出手段によってそれぞれ抽出された時刻情報のカウント値と、上記時刻情報抽出手段によって抽出された上記任意の1本の画像ストリームデータの時刻情報のカウント値との差分をとり、差分値として記憶し、上記1個のメインカウント増加手段で増加された上記任意の1本の画像ストリームデータの時刻情報のカウント値と上記記憶した差分値とを加算することで、上記(m−1)本の画像ストリームデータの時刻情報のカウント値を増加させること
を特徴とする請求項1記載の復号装置。
The count increasing means includes one main count increasing means and (m-1) sub count increasing means,
The one main count increasing unit increases a count value of time information of the arbitrary one image stream data based on a clock of the second synchronization signal generated by the synchronization signal generation unit;
The (m-1) sub-count increasing means includes a count value of the time information respectively extracted by the time information extracting means based on the second synchronization signal generated by the synchronization signal generating means; The difference between the count value of the time information of the arbitrary one image stream data extracted by the time information extracting means and the count value of the time information is stored as a difference value, and the arbitrary value increased by the one main count increasing means is obtained. Adding the count value of the time information of one piece of image stream data to the stored difference value to increase the count value of the time information of the (m-1) pieces of image stream data. The decoding device according to claim 1, wherein
所定の周波数の第1の同期信号のクロック数をカウントしたカウント値を所定の間隔で抽出して生成される複数の時刻情報と、上記所定の周波数の第1の同期信号のクロック数をカウントしたカウント値であり、復号及び出力のタイミングを指定するタイムスタンプ情報とをそれぞれ含むm(mは自然数)本の画像ストリームデータが多重化され、所定の周波数に変調されて送信された多重化ストリームを受信する受信手段を備え、
上記入力手段は、上記受信手段で受信された上記m本の画像ストリームデータが多重化された多重化ストリームを入力すること
を特徴とする請求項1記載の復号装置。
A plurality of pieces of time information generated by extracting a count value obtained by counting the number of clocks of the first synchronization signal having a predetermined frequency at predetermined intervals and the number of clocks of the first synchronization signal having the predetermined frequency are counted. M (m is a natural number) pieces of image stream data, each of which is a count value and includes time stamp information designating decoding and output timings, are multiplexed, and the multiplexed stream is modulated to a predetermined frequency and transmitted. A receiving means for receiving,
2. The decoding apparatus according to claim 1, wherein the input unit inputs a multiplexed stream in which the m pieces of image stream data received by the receiving unit are multiplexed.
上記受信手段で受信した多重化ストリームを記録媒体に記録する記録手段を備えること
を特徴とする請求項1記載の復号装置。
2. The decoding apparatus according to claim 1, further comprising recording means for recording the multiplexed stream received by said receiving means on a recording medium.
上記記録手段によって上記記録媒体に記録された多重化ストリームを再生する再生手段を備え、
上記入力手段は、上記再生手段によって再生された多重化ストリームを入力すること
を特徴とする請求項7記載の復号装置。
Reproducing means for reproducing the multiplexed stream recorded on the recording medium by the recording means,
8. The decoding device according to claim 7, wherein said input means inputs a multiplexed stream reproduced by said reproduction means.
m本の画像ストリームデータが多重化された多重化ストリームを記録した記録媒体を装着する装着手段を備え、
上記再生手段は、上記装着手段に装着された上記記録媒体に記録されている多重化ストリームを再生すること
を特徴とする請求項8記載の復号装置。
a mounting unit for mounting a recording medium on which a multiplexed stream in which m image stream data are multiplexed is provided;
9. The decoding apparatus according to claim 8, wherein said reproducing means reproduces a multiplexed stream recorded on said recording medium mounted on said mounting means.
所定の周波数の第1の同期信号のクロック数をカウントしたカウント値を所定の間隔で抽出して生成される複数の時刻情報と、上記所定の周波数の第1の同期信号のクロック数をカウントしたカウント値であり、復号及び出力のタイミングを指定するタイムスタンプ情報とをそれぞれ含むm(mは自然数)本の画像ストリームデータが多重化された多重化ストリームを入力する入力工程と、
上記入力工程によって入力された上記多重化ストリームをm本の画像ストリームデータに分離する分離工程と、
上記分離工程によって分離された上記m本の画像ストリームデータをm個の画像データにそれぞれ復号するm個の復号工程と、
上記m個の復号工程によって復号された画像データをm個の画像データ記憶手段に記憶する画像データ記憶工程と、
上記入力工程によって入力された多重化ストリームから上記m本の画像ストリームデータの上記時刻情報をそれぞれ抽出する時刻情報抽出工程と、
上記分離工程によって分離された上記m本の画像ストリームデータのうちの任意の1本の画像ストリームデータに含まれ、上記時刻情報抽出工程によって抽出される上記時刻情報に基づいて、上記所定の周波数の第1の同期信号と同期する第2の同期信号を生成する同期信号生成工程と、
上記時刻情報抽出工程によって上記m本の画像ストリームデータ毎に抽出された上記時刻情報のカウント値を上記同期信号生成工程によって生成された上記第2の同期信号のクロックに基づいてそれぞれ増加させるカウント増加工程と、
上記カウント増加工程によってカウント値がそれぞれ増加された上記m本の画像ストリームデータそれぞれの時刻情報と、上記m本の画像ストリームのそれぞれに含まれる上記タイムスタンプ情報とを比較する比較工程と、
上記比較工程による比較によって上記時刻情報が、上記タイムスタンプ情報に一致したことに応じて、上記m個の復号工程の復号処理を制御し、上記m個の画像データ記憶手段に記憶された画像データを読み出して、同一画面上に配置して出力するよう制御する制御工程とを備えること
を特徴とする復号方法。
A plurality of pieces of time information generated by extracting a count value obtained by counting the number of clocks of the first synchronization signal having a predetermined frequency at predetermined intervals and the number of clocks of the first synchronization signal having the predetermined frequency are counted. An input step of inputting a multiplexed stream in which m (m is a natural number) pieces of image stream data, each of which is a count value and includes time stamp information specifying decoding and output timings,
A separating step of separating the multiplexed stream input by the input step into m image stream data;
M decoding steps for respectively decoding the m image stream data separated by the separation step into m image data;
An image data storage step of storing the image data decoded by the m decoding steps in the m image data storage means;
A time information extracting step of extracting the time information of the m image stream data from the multiplexed stream input by the input step,
Based on the time information included in any one of the m image stream data separated by the separation step and extracted by the time information extraction step, the predetermined frequency A synchronization signal generating step of generating a second synchronization signal synchronized with the first synchronization signal;
A count increase for increasing the count value of the time information extracted for each of the m image stream data in the time information extracting step based on the clock of the second synchronization signal generated in the synchronization signal generating step. Process and
A comparing step of comparing the time information of each of the m image stream data whose count value has been increased by the count increasing step with the time stamp information included in each of the m image streams;
When the time information coincides with the time stamp information as a result of the comparison in the comparison step, the decoding processing in the m decoding steps is controlled, and the image data stored in the m image data storage means is controlled. And a control step of reading the data and arranging them on the same screen for output.
上記時刻情報抽出工程は、上記m本の画像ストリームデータの上記時刻情報を、一度に1つだけ抽出すること
を特徴とする請求項10記載の復号方法。
11. The decoding method according to claim 10, wherein the time information extracting step extracts the time information of the m pieces of image stream data one at a time.
上記時刻情報抽出工程は、上記m本の画像ストリームデータの上記時刻情報を各画像ストリームデータから順番に1つずつ抽出すること
を特徴とする請求項11記載の復号方法。
The decoding method according to claim 11, wherein the time information extracting step extracts the time information of the m pieces of image stream data one by one from each image stream data in order.
上記時刻情報抽出工程は、上記同期信号生成工程が上記第2の同期信号を生成するために用いる上記任意の1本の画像ストリームデータに含まれる時刻情報を、上記時刻情報が前回抽出された時刻と、前々回抽出された時刻との差で決定されるインターバル時間毎に抽出し、
上記任意の1本の画像ストリームデータ以外の(m−1)本の画像ストリームデータに含まれる時刻情報を上記インターバル時間の間に抽出すること
を特徴とする請求項11記載の復号方法。
The time information extracting step includes a step of extracting the time information included in the arbitrary one image stream data used by the synchronization signal generating step to generate the second synchronization signal, the time when the time information was previously extracted. And extracted every interval time determined by the difference between the time extracted two times before and
12. The decoding method according to claim 11, wherein time information included in (m-1) image stream data other than the arbitrary one image stream data is extracted during the interval time.
上記カウント増加工程は、1個のメインカウント増加工程と、(m−1)個のサブカウント増加工程とを備え、
上記1個のメインカウント増加工程は、上記同期信号生成工程によって生成された上記第2の同期信号のクロックに基づいて、上記任意の1本の画像ストリームデータの時刻情報のカウント値を増加させ、
上記(m−1)個のサブカウント増加工程は、上記同期信号生成工程によって生成された上記第2の同期信号に基づいて、上記時刻情報抽出工程によってそれぞれ抽出された時刻情報のカウント値と、上記時刻情報抽出工程によって抽出された上記任意の1本の画像ストリームデータの時刻情報のカウント値との差分をとり、差分値として記憶し、上記1個のメインカウント増加工程で増加された上記任意の1本の画像ストリームデータの時刻情報のカウント値と上記記憶した差分値とを加算することで、上記(m−1)本の画像ストリームデータの時刻情報のカウント値を増加させること
を特徴とする請求項11記載の復号方法。
The count increasing step includes one main count increasing step and (m-1) sub count increasing steps,
The one main count increasing step increases a count value of time information of the arbitrary one image stream data based on a clock of the second synchronization signal generated in the synchronization signal generation step;
The (m-1) sub-count increasing steps include: a count value of the time information extracted by the time information extracting step based on the second synchronization signal generated by the synchronization signal generating step; The difference between the count value of the time information of the arbitrary one image stream data extracted in the time information extracting step and the count value of the time information is stored as a difference value, and the arbitrary value increased in the one main count increasing step is obtained. Adding the count value of the time information of one piece of image stream data to the stored difference value to increase the count value of the time information of the (m-1) pieces of image stream data. The decoding method according to claim 11, wherein
所定の周波数の第1の同期信号のクロック数をカウントしたカウント値を所定の間隔で抽出して生成される複数の時刻情報と、上記所定の周波数の第1の同期信号のクロック数をカウントしたカウント値であり、復号及び出力のタイミングを指定するタイムスタンプ情報とをそれぞれ含むm(mは自然数)本の画像ストリームデータが多重化され、所定の周波数に変調されて送信された多重化ストリームを受信する受信工程を備え、
上記入力工程は、上記受信工程で受信された上記m本の画像ストリームデータが多重化された多重化ストリームを入力すること
を特徴とする請求項11記載の復号方法。
A plurality of pieces of time information generated by extracting a count value obtained by counting the number of clocks of the first synchronization signal having a predetermined frequency at predetermined intervals and the number of clocks of the first synchronization signal having the predetermined frequency are counted. M (m is a natural number) image stream data, each of which is a count value and includes time stamp information specifying decoding and output timings, is multiplexed, and the multiplexed stream is transmitted after being modulated to a predetermined frequency and transmitted. Including a receiving step of receiving,
12. The decoding method according to claim 11, wherein in the inputting step, a multiplexed stream obtained by multiplexing the m pieces of image stream data received in the receiving step is input.
上記受信工程で受信した多重化ストリームを記録媒体に記録する記録工程を備えること
を特徴とする請求項10記載の復号方法。
The decoding method according to claim 10, further comprising a recording step of recording the multiplexed stream received in the receiving step on a recording medium.
上記記録工程によって上記記録媒体に記録された多重化ストリームを再生する再生工程を備え、
上記入力工程は、上記再生工程によって再生された多重化ストリームを入力すること
を特徴とする請求項10記載の復号方法。
A reproducing step of reproducing the multiplexed stream recorded on the recording medium by the recording step,
11. The decoding method according to claim 10, wherein said inputting step inputs a multiplexed stream reproduced by said reproducing step.
m本の画像ストリームデータが多重化された多重化ストリームを記録した記録媒体を装着する装着工程を備え、
上記再生工程は、上記装着工程に装着された上記記録媒体に記録されている多重化ストリームを再生すること
を特徴とする請求項11記載の復号方法。
A mounting step of mounting a recording medium on which a multiplexed stream in which m pieces of image stream data are multiplexed is provided,
The decoding method according to claim 11, wherein the reproducing step reproduces a multiplexed stream recorded on the recording medium mounted in the mounting step.
JP2002264441A 2002-09-10 2002-09-10 Decoding device and decoding method Expired - Fee Related JP4366912B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002264441A JP4366912B2 (en) 2002-09-10 2002-09-10 Decoding device and decoding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002264441A JP4366912B2 (en) 2002-09-10 2002-09-10 Decoding device and decoding method

Publications (2)

Publication Number Publication Date
JP2004104518A true JP2004104518A (en) 2004-04-02
JP4366912B2 JP4366912B2 (en) 2009-11-18

Family

ID=32263886

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002264441A Expired - Fee Related JP4366912B2 (en) 2002-09-10 2002-09-10 Decoding device and decoding method

Country Status (1)

Country Link
JP (1) JP4366912B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006001481A1 (en) * 2004-06-29 2006-01-05 Kyocera Corporation Digital broadcast receiving apparatus
JP2006054039A (en) * 2004-07-29 2006-02-23 Microsoft Corp Method and system for packet multiplexing multi-channel audio
JPWO2006033338A1 (en) * 2004-09-24 2008-05-15 Necパーソナルプロダクツ株式会社 Broadcast processing system
JP4855472B2 (en) * 2005-10-14 2012-01-18 サムスン エレクトロニクス カンパニー リミテッド Method and apparatus for controlling multi-channel scene configuration for mobile terminal screen display in mobile broadcast system and system thereof
JP2017228906A (en) * 2016-06-21 2017-12-28 サイレックス・テクノロジー株式会社 Reproducer, reproduction system, control method of reproducer, and control method of reproduction system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006001481A1 (en) * 2004-06-29 2006-01-05 Kyocera Corporation Digital broadcast receiving apparatus
US8781288B2 (en) 2004-06-29 2014-07-15 Kyocera Corporation Digital broadcast receiving apparatus
JP2006054039A (en) * 2004-07-29 2006-02-23 Microsoft Corp Method and system for packet multiplexing multi-channel audio
JPWO2006033338A1 (en) * 2004-09-24 2008-05-15 Necパーソナルプロダクツ株式会社 Broadcast processing system
JP4855472B2 (en) * 2005-10-14 2012-01-18 サムスン エレクトロニクス カンパニー リミテッド Method and apparatus for controlling multi-channel scene configuration for mobile terminal screen display in mobile broadcast system and system thereof
US8442121B2 (en) 2005-10-14 2013-05-14 Samsung Electronics Co., Ltd. Method, apparatus and system for controlling a scene structure of multiple channels to be displayed on a mobile terminal in a mobile broadcast system
JP2017228906A (en) * 2016-06-21 2017-12-28 サイレックス・テクノロジー株式会社 Reproducer, reproduction system, control method of reproducer, and control method of reproduction system

Also Published As

Publication number Publication date
JP4366912B2 (en) 2009-11-18

Similar Documents

Publication Publication Date Title
US6477204B1 (en) Video image decoding method and apparatus
TW454417B (en) Method for updating software in a digital television receiver using recorded data
KR100793458B1 (en) The storage of interactive video programming
US6931071B2 (en) Apparatus and method for synchronizing video and audio MPEG streams in a video playback device
US7533402B2 (en) Satellite set-top box decoder for simultaneously servicing multiple independent programs for display on independent display device
US7230987B2 (en) Multiple time-base clock for processing multiple satellite signals
JP4536653B2 (en) Data processing apparatus and method
US20070110105A1 (en) Apparatus and a method for receiving a multiplexed broadcast signal carrying a plurality of services
JPH11205696A (en) Video transmitting device and video transmitting method
JP4725104B2 (en) Decoding device and decoding method
JP2003523103A (en) Seamless video switching system for compressed digital data
US7865064B2 (en) Recording/output apparatus and recording/output method
JP4257478B2 (en) Recording / playback device
JP4403404B2 (en) Decoding device and decoding method
JP4366912B2 (en) Decoding device and decoding method
JP2004193673A (en) Receiving apparatus and method, reproducing apparatus and method, and recording and reproducing apparatus and method
US20060153323A1 (en) Clock generation device and clock generation method
JP3830645B2 (en) Image decoding method and apparatus
KR20100039717A (en) Personal recorder and control method of the same
JP2003348489A (en) Broadcast receiver
JP2004040579A (en) Digital broadcast reception device and synchronous reproduction method for digital broadcast
JP2002135729A (en) Recording and reproducing device, and its variable speed reproducing method
KR100708377B1 (en) Decoder for multiple video on receiving digital broadcasting
JP3736092B2 (en) Frame synchronization method and decoding apparatus
KR20170093625A (en) Image processing apparatus and control method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050907

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090113

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090312

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: 20090804

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: 20090817

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

Free format text: PAYMENT UNTIL: 20120904

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees