JP2012015722A - Semiconductor integrated circuit and operation method of the same - Google Patents

Semiconductor integrated circuit and operation method of the same Download PDF

Info

Publication number
JP2012015722A
JP2012015722A JP2010149251A JP2010149251A JP2012015722A JP 2012015722 A JP2012015722 A JP 2012015722A JP 2010149251 A JP2010149251 A JP 2010149251A JP 2010149251 A JP2010149251 A JP 2010149251A JP 2012015722 A JP2012015722 A JP 2012015722A
Authority
JP
Japan
Prior art keywords
interface
pes
reception
header
packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2010149251A
Other languages
Japanese (ja)
Inventor
Tetsuji Tsuda
哲治 津田
Isamu Mochizuki
勇 望月
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.)
Renesas Electronics Corp
Original Assignee
Renesas Electronics 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 Renesas Electronics Corp filed Critical Renesas Electronics Corp
Priority to JP2010149251A priority Critical patent/JP2012015722A/en
Publication of JP2012015722A publication Critical patent/JP2012015722A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a semiconductor integrated circuit and an operation method of the same which saves memory capacity of an external memory in which moving image data is stored.SOLUTION: A semiconductor integrated circuit 1 comprises: a reception interface 11 for receiving TS packets of MPEG; a CPU 13; an MPEG decoder 18; a memory interface 17; a bus 15; and a DMAC 12. The TSIF 11 comprises: a buffer 111; a reception interval calculation section 114 and a PES header detection section 116. In the buffer 111, TS packets are accumulated, the calculation section 114 calculates reception intervals of the TS packets. The detection section 116 detects the PES header. The DMAC 12 executes DMA transfer of the PES header and the first section of a PES payload in response to detection of the PES header by the detection section 116. The DMAC 12 executes DMA transfer of subsequent sections in response to calculation of the reception intervals by the calculation section 114.

Description

本発明は、半導体集積回路およびその動作方法に関し、特に動画像データを格納する外部メモリのメモリ容量を節約するのに有効な技術に関するものである。   The present invention relates to a semiconductor integrated circuit and an operating method thereof, and more particularly to a technique effective for saving the memory capacity of an external memory for storing moving image data.

2006年4月1日、日本国内で移動端末等を主たる対象とした地上デジタルテレビ放送の1セグメント部分受信サービス「ワンセグ」が開始された。ワンセグでは、地上デジタルテレビ放送の13チャンネル〜62チャンネルまでの物理チャンネルの1チャンネル当たりの周波数帯域6MHzを13セグメントに分割した1つのセグメントを使用して放送することで、情報量を必要最小限に制限している。従って、移動端末等の情報処理能力が比較的小さな端末でも、適切な受信が可能とされる。特徴としては、映像、音声以外にデータ放送を同時に受信可能なものである。   On April 1, 2006, a one-segment partial reception service “One Seg” for digital terrestrial television broadcasting, which mainly targets mobile terminals in Japan, was started. In 1Seg, the amount of information is minimized by broadcasting using one segment obtained by dividing the frequency band of 6 MHz of physical channels from 13 channels to 62 channels of digital terrestrial television broadcasting into 13 segments. Restricted. Therefore, even a terminal having a relatively small information processing capability such as a mobile terminal can be appropriately received. As a feature, data broadcasting can be received simultaneously in addition to video and audio.

ISDB−Tmmと呼ばれる次世代ワンセグ放送は、ワンセグよりも、高画質・高音質のストリーム放送だけではなく、映像コンテンツのダウンロード・サービス等の新しいサービスの実現を目指している。尚、ISDB−Tmmは、Integrated Service Digital Broadcasting-Terrestrial for mobile multimediaの略である。   Next-generation one-segment broadcasting called ISDB-Tmm aims to realize new services such as video content download and services, as well as high-quality and high-quality stream broadcasting, compared to one-segment broadcasting. ISDB-Tmm is an abbreviation for Integrated Service Digital Broadcasting-Terrestrial for mobile multimedia.

移動端末向けの地上デジタル・テレビ放送では動画像符号化の国際規格MPEG−2に準拠したトランスポートストリームTS(Transport Steam)が使用されて、このMPEG−2に準拠したトランスポートストリームTSの1つのパケットは188バイトのビットストリームデータによって構成される。   In digital terrestrial television broadcasting for mobile terminals, a transport stream TS (Transport Steam) compliant with the MPEG-2 international standard for moving picture coding is used, and one of the transport streams TS compliant with MPEG-2 is used. The packet is composed of 188-byte bit stream data.

一方、下記非特許文献1に記載されているように、オーディオ信号とビデオ信号とはオーディオ・エンコーダとビデオ・エンコーダとによってオーディオ・エレメンタリ・ストリームとビデオ・エレメンタリ・ストリームとにそれぞれ変換される。オーディオ・エレメンタリ・ストリームとビデオ・エレメンタリ・ストリームとは、オーディオのパケッタイザとビデオのパケッタイザによってオーディオのパケッタイズド・エレメンタリ・ストリームとビデオのパケッタイズド・エレメンタリ・ストリームとにそれぞれ変換される。オーディオのパケッタイズド・エレメンタリ・ストリームとビデオのパケッタイズド・エレメンタリ・ストリームとがトランスポートストリームマルチプレクサの2つの入力に供給されることによって、トランスポートストリームマルチプレクサの出力からトランスポートストリームTSが生成される。オーディオのパケッタイズド・エレメンタリ・ストリームとビデオのパケッタイズド・エレメンタリ・ストリームとがプログラムストリームマルチプレクサの2つの入力に供給されることによって、プログラムストリームマルチプレクサの出力からプログラムストリームPSが生成される。   On the other hand, as described in Non-Patent Document 1 below, an audio signal and a video signal are converted into an audio elementary stream and a video elementary stream by an audio encoder and a video encoder, respectively. The audio elementary stream and the video elementary stream are respectively converted into an audio packetized elementary stream and a video packetized elementary stream by an audio packetizer and a video packetizer. An audio packetized elementary stream and a video packetized elementary stream are supplied to two inputs of the transport stream multiplexer, thereby generating a transport stream TS from the output of the transport stream multiplexer. An audio packetized elementary stream and a video packetized elementary stream are supplied to two inputs of the program stream multiplexer, thereby generating a program stream PS from the output of the program stream multiplexer.

プログラムストリーム(PS:Program Stream)はエラーの発生しない環境でのデータの伝送・蓄積に適用されることを想定しており、冗長度を小さくできることからDVD等の強力な誤り訂正符号を利用するディジタルストレージメディアで使用されている。一方、トランスポートストリーム(TS:Transport Stream)は放送や通信ネットワーク等のデータの伝送エラーが発生する環境に適用されることを想定しており、冗長度はプログラムストリームPSよりも大きくなっている。トランスポートストリームは、1本のストリーム中に複数のプログラムを構成できるので放送等にも対応することができる。プログラムストリームは可変のレートが可能であるのに対して、トランスポートストリームは固定の伝送レートの通信経路で使用される。   Program stream (PS) is assumed to be applied to data transmission and storage in an error-free environment, and since the redundancy can be reduced, digital using a powerful error correction code such as DVD Used in storage media. On the other hand, a transport stream (TS) is assumed to be applied to an environment in which data transmission errors occur, such as broadcasting and communication networks, and the redundancy is higher than that of the program stream PS. Since the transport stream can configure a plurality of programs in one stream, it can also cope with broadcasting. The program stream can have a variable rate, whereas the transport stream is used in a communication path with a fixed transmission rate.

一方、MPEG−2システムを構成するトランスポートストリームTSとプログラムストリームPSとの2種類のストリームを構成する基本要素であり、相互の変換を可能とするための中間的な状態がパケッタイズド・エレメンタリ・ストリーム(PES:Packetized Elementary Stream)パケットである。このPESパケットは、単一のメディア情報をあるプレゼンテーションの単位でパケット化したもので、メディア再生の時間管理を実行する単位となる。例えば、ビデオの場合には、1枚の画像フレーム分の符号化データを1個のPESパケットとすることが多い。PESパケットは可変長のパケットで、PESヘッダ情報にPESパケット長、PESヘッダデータ長、タイムスタンプ、スクランブル情報、著作権情報、巡回冗長チェック(CRC:Cyclic Redundancy Check)等が含まれている。タイムスタンプにはデコーディングタイムスタンプ (DTS:Decoding Time Stamp)とプレゼンテーションタイムスタンプ(PTS:Presentation Time Stamp)がある。デコーディングタイムスタンプDTSは復号動作を行う時刻情報であり、プレゼンテーションタイムスタンプPTSは再生を行う時刻情報である。   On the other hand, a packetized elementary stream is a basic element constituting two types of streams, a transport stream TS and a program stream PS constituting the MPEG-2 system, and an intermediate state for enabling mutual conversion. (PES: Packetized Elementary Stream) packet. The PES packet is a packet of single media information in a certain presentation unit, and is a unit for executing time management of media playback. For example, in the case of video, encoded data for one image frame is often used as one PES packet. The PES packet is a variable-length packet, and the PES header information includes a PES packet length, a PES header data length, a time stamp, scramble information, copyright information, a cyclic redundancy check (CRC), and the like. The time stamp includes a decoding time stamp (DTS) and a presentation time stamp (PTS). The decoding time stamp DTS is time information for performing a decoding operation, and the presentation time stamp PTS is time information for performing reproduction.

PESパケットは可変長のパケットであるのに対して、デジタル放送等のリアルタイム伝送・通信方式で利用されるトランスポートストリームTSは、188バイトの固定長のTSパケットから構成されている。各TSパケットは4バイト固定のヘッダを持ち、残りの184バイトはアダプテーションフィールドとペイロードとで構成される。トランスポートストリームTSの4バイトのパケットヘッダの最も重要な情報は、パケット識別子(PID:Packet Identifier)であり、13ビットフィールドによって略8000タイプのパケットの識別を可能とする。パケット識別子PIDの値が0、1または2であるTSパケットは、番組特定情報(PSI:Program Specific Information)を含む特殊なパケットである。番組特定情報PSIには、番組を構成する番組を構成する複数ストリームのパケット識別子PIDを示す番組マップテーブル(PMT:Program Map Table)、番組番号と番組マップテーブルPMTとの対応を示す番組関連テーブル(PAT: Program Association Table)、限定受信情報を示す限定アクセステーブル(PAT:Conditional Access Table)等が含まれる。   A PES packet is a variable-length packet, whereas a transport stream TS used in a real-time transmission / communication system such as digital broadcasting is composed of 188-byte fixed-length TS packets. Each TS packet has a fixed header of 4 bytes, and the remaining 184 bytes are composed of an adaptation field and a payload. The most important information of the 4-byte packet header of the transport stream TS is a packet identifier (PID), which enables identification of approximately 8000 type packets by a 13-bit field. A TS packet having a packet identifier PID value of 0, 1, or 2 is a special packet including program specific information (PSI). The program specifying information PSI includes a program map table (PMT: Program Map Table) indicating packet identifiers PID of a plurality of streams constituting the program, and a program related table (corresponding to the program number and the program map table PMT). A PAT (Program Association Table), a limited access table (PAT) indicating limited reception information, and the like are included.

転送されるべき可変長の1個のPESパケットは、同一のパケット識別子PIDの値を有する複数のTSパケットに分割される。PESパケットの開始は、ペイロードユニットスタートインディケイタ(payload unit start indicator)のビットが“1”に設定されたTSパケットのペイロードセクションの開始と一致する。TSパケットは4バイト固定パケットのヘッダに、2ビットのアダプテーションフィールド制御(Adaptation filed control)の信号が含まれている。2ビットのアダプテーションフィールド制御の値“00”と値“01”と値“10”と値“11”は、それぞれ「将来使用のため予約済み」と「残りの184バイトはペイロードのみ」と「残りの184バイトはアダプテーションフィールドのみ」と「残りの184バイトはアダプテーションフィールドとペイロード」とを意味している。   One variable-length PES packet to be transferred is divided into a plurality of TS packets having the same packet identifier PID value. The start of the PES packet coincides with the start of the payload section of the TS packet in which the payload unit start indicator bit is set to “1”. The TS packet includes a 2-bit adaptation field control signal in the header of a 4-byte fixed packet. 2-bit adaptation field control values “00”, “01”, “10”, and “11” are “reserved for future use”, “remaining 184 bytes are payload only”, and “remaining”, respectively. 184 bytes of "only the adaptation field" means "the remaining 184 bytes are the adaptation field and payload".

アダプテーションフィールドには、プログラム時刻基準参照値(PCR:Program Clock Reference)とスタッフィングバイト(Stuffing byte)とが含まれている。プログラム時刻基準参照値PCRは、MPEG−2の送信機と受信機との時刻同期のための基準となるクロックである。例えば、受信機側のクロックよりも送信機側のクロックよりも速い場合には、受信機側の一次記憶バッファにデータのオーバーフローが発生して、受信データの欠落が発生する。逆に、送信機側のクロックよりも受信機側のクロックよりも速い場合には、受信機側の一次記憶バッファにデータのアンダーフローが発生して受信機側での滑らかな再生動作が不可能となる。   The adaptation field includes a program clock reference (PCR) and a stuffing byte. The program time base reference value PCR is a clock that serves as a reference for time synchronization between the MPEG-2 transmitter and the receiver. For example, when it is faster than the clock on the transmitter side than the clock on the receiver side, data overflow occurs in the primary storage buffer on the receiver side, resulting in a lack of received data. Conversely, if the clock on the receiver side is faster than the clock on the receiver side, data underflow occurs in the primary storage buffer on the receiver side, and smooth playback operation on the receiver side is impossible. It becomes.

Toshihro Yoshimura, “Overview of MPEG−2 Systems”, Technology and Servicses on Broadcasting (5), Broadcast Tecnology no.11, Summer 2002. PP.16−23. (C)NHK STRLhttp://www.nhk.or.jp/strl/publica/bt/en/le0011.pdf[平成22年05月23日検索]Toshihiro Yoshimura, “Overview of MPEG-2 Systems”, Technology and Services on Broadcasting (5), Broadcast Technology no. 11, Summer 2002. PP. 16-23. (C) NHK STRLhttp: // www. nhk. or. jp / strl / publica / bt / en / le0011. pdf [Search May 23, 2010]

本発明者等は、本発明に先立って、上述したISDB−Tmmと呼ばれる次世代ワンセグ放送を受信可能な携帯電話機端末に搭載されるアプリケーションプロセッサと呼ばれる半導体集積回路の開発に従事した。   Prior to the present invention, the present inventors engaged in the development of a semiconductor integrated circuit called an application processor mounted on a mobile phone terminal capable of receiving the next-generation one-segment broadcasting called ISDB-Tmm described above.

このISDB−Tmmと呼ばれる次世代ワンセグ放送では、映像コンテンツのダウンロード・サービスに対応することが必要なことから、標準ワンセグ放送と比較して、次世代ワンセグ放送のMPEG2−TSのビットレートが非常に高くなることが予想された。   In the next-generation one-seg broadcasting called ISDB-Tmm, it is necessary to support a video content download service. Therefore, compared to standard one-seg broadcasting, the bit rate of MPEG2-TS for next-generation one-seg broadcasting is very high. Expected to be higher.

一方、本発明に先立った開発において本発明者等によって検討されたアプリケーションプロセッサでは、ダイレクトメモリアクセスコントローラ(DMAC)の内蔵が検討された。この内蔵のDMACは、外部デジタルテレビチューナーと外部メモリとの間のデータ転送を内蔵CPUの低い負荷状態で実行するものである。MPEG2−TSの1つのパケットの外部デジタルテレビチューナーから外部メモリへのデータ転送が完了した時点で、DMAC転送完了割り込みをダイレクトメモリアクセスコントローラ(DMAC)が内蔵CPUに供給する。従って、DMAC転送完了割り込みに内蔵CPUが応答して、内蔵CPUは外部メモリに格納された受信データのトランスポートストリームの解析処理を開始するものである。このように、内蔵CPUは外部デジタルテレビチューナーと外部メモリとの間のデータ転送の負担から開放されるので、内蔵CPUの負荷が軽減されることが可能となる。   On the other hand, in the application processor studied by the present inventors in the development prior to the present invention, the incorporation of a direct memory access controller (DMAC) was studied. The built-in DMAC executes data transfer between the external digital TV tuner and the external memory in a low load state of the built-in CPU. When data transfer of one MPEG2-TS packet from the external digital television tuner to the external memory is completed, a direct memory access controller (DMAC) supplies a DMAC transfer completion interrupt to the built-in CPU. Therefore, the built-in CPU responds to the DMAC transfer completion interrupt, and the built-in CPU starts the analysis process of the transport stream of the received data stored in the external memory. In this way, the built-in CPU is freed from the burden of data transfer between the external digital TV tuner and the external memory, so the load on the built-in CPU can be reduced.

一方、標準ワンセグ放送と比較して次世代ワンセグ放送のMPEG2−TSのビットレートが非常に高くなることによって、外部メモリに格納される受信データ量が著しく増大すると言う問題が本発明者等による検討によって明らかとされた。   On the other hand, since the bit rate of MPEG2-TS of next-generation one-seg broadcasting becomes very high compared to standard one-seg broadcasting, the present inventors have studied the problem that the amount of received data stored in the external memory is remarkably increased. It was revealed by

すなわち、外部メモリに格納される受信データで、テレビ放送のオーディオ信号とビデオ信号と字幕等のペイロードデータはテレビ放送の再生に必要な情報である。しかし、ペイロードユニットスタートインディケイタのビットが“1”に設定されたTSパケットのペイロードデータを外部メモリを格納した後に、ペイロードユニットスタートインディケイタを含まない後続の多数のTSパケットの4バイト固定の多数のTSヘッダを外部メモリに格納することは無駄なメモリと消費電力の消費であることが判明した。   That is, in the received data stored in the external memory, the audio data, video signal, and payload data such as captions of the television broadcast are information necessary for reproducing the television broadcast. However, after storing the payload data of the TS packet in which the payload unit start indicator bit is set to “1” in the external memory, the fixed number of 4 bytes of the subsequent TS packets not including the payload unit start indicator are fixed. It has been found that storing the TS header in external memory is wasteful memory and power consumption.

本発明は、以上のような本発明に先立った本発明者等による検討の結果、なされたものである。   The present invention has been made as a result of the examination by the present inventors prior to the present invention as described above.

従って、本発明の目的とするところは、動画像データを格納する外部メモリのメモリ容量を節約することにある。   Accordingly, an object of the present invention is to save the memory capacity of an external memory for storing moving image data.

本発明の前記ならびにその他の目的と新規な特徴は、本明細書の記述および添付図面から明らかになるであろう。   The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

本願において開示される発明のうちの代表的なものについて簡単に説明すれば下記のとおりである。   A typical one of the inventions disclosed in the present application will be briefly described as follows.

すなわち、本発明の代表的な実施の形態による半導体集積回路(1)は、受信インターフェース(11)、中央処理ユニット(13)、MPEGデコーダ(18)、メモリインターフェース(17)、バス(15)、ダイレクトメモリアクセスコントローラ(12)を具備する。   That is, a semiconductor integrated circuit (1) according to a typical embodiment of the present invention includes a reception interface (11), a central processing unit (13), an MPEG decoder (18), a memory interface (17), a bus (15), A direct memory access controller (12) is provided.

前記バス(15)に、前記受信インターフェース(11)と前記中央処理ユニット(13)と前記MPEGデコーダ(18)と前記メモリインターフェース(17)と前記ダイレクトメモリアクセスコントローラ(12)とが接続される。   The reception interface (11), the central processing unit (13), the MPEG decoder (18), the memory interface (17), and the direct memory access controller (12) are connected to the bus (15).

前記メモリインターフェース(17)は、外部メモリ(7)と接続される。   The memory interface (17) is connected to an external memory (7).

前記受信インターフェース(11)は、MPEGトランスポートストリームに含まれる多数のTSパケットを受信して、前記多数のTSパケットは同一のバケット識別子(PID)を有する複数のTSパケットを含み、前記同一のバケット識別子(PID)を有する前記複数のTSパケットは1個のパケッタイズドエレメンタリストリームパケットを構成する。   The receiving interface (11) receives a number of TS packets included in an MPEG transport stream, the number of TS packets including a plurality of TS packets having the same bucket identifier (PID), and the same bucket The plurality of TS packets having an identifier (PID) constitute one packetized elementary stream packet.

前記受信インターフェース(11)は、バッファ(111)と受信間隔算出部(113)とPESヘッダー検出部(116)を含み、前記バッファは前記複数のTSパケットに含まれる少なくとも1個のTSパケットを蓄積して、前記受信間隔算出部は前記受信インターフェースによって受信される前記複数のTSパケットの受信間隔を算出して、前記PESヘッダー検出部は前記1個のパケッタイズドエレメンタリストリームパケットに含まれるPESヘッダーを検出する。   The reception interface (11) includes a buffer (111), a reception interval calculation unit (113), and a PES header detection unit (116), and the buffer stores at least one TS packet included in the plurality of TS packets. The reception interval calculation unit calculates reception intervals of the plurality of TS packets received by the reception interface, and the PES header detection unit calculates the PES included in the one packetized elementary stream packet. Detect headers.

前記バッファに前記複数のTSパケットの最初のTSパケットが蓄積され、前記PESヘッダー検出部(116)による前記PESヘッダーの検出に応答して、前記受信インターフェースは前記ダイレクトメモリアクセスコントローラ(12)に最初のDMA転送を要求する。   First TS packets of the plurality of TS packets are stored in the buffer, and in response to the detection of the PES header by the PES header detection unit (116), the reception interface first transmits to the direct memory access controller (12). Request DMA transfer.

前記ダイレクトメモリアクセスコントローラによる前記最初のDMA転送によって、前記受信インターフェースの前記バッファ(111)から前記PESヘッダーのデータと前記PESヘッダーの後続のPESペイロードの最初のセクションのデータとが、前記バス(15)と前記メモリインターフェース(17)とを介して前記外部メモリ(7)に転送される。   By the first DMA transfer by the direct memory access controller, the data of the PES header and the data of the first section of the PES payload subsequent to the PES header are transferred from the buffer (111) of the reception interface to the bus (15 ) And the memory interface (17) to the external memory (7).

前記バッファに前記複数のTSパケットの後続のTSパケットが蓄積され、前記受信間隔算出部(113)による前記受信間隔の算出に応答して、前記受信インターフェースは前記ダイレクトメモリアクセスコントローラ(12)に後続のDMA転送を要求する。   Subsequent TS packets of the plurality of TS packets are accumulated in the buffer, and in response to the calculation of the reception interval by the reception interval calculation unit (113), the reception interface follows the direct memory access controller (12). Request DMA transfer.

前記ダイレクトメモリアクセスコントローラによる前記後続のDMA転送によって、前記受信インターフェースの前記バッファから前記PESペイロードの前記最初のセクションの後続のセクションのデータが、前記バスと前記メモリインターフェースとを介して前記外部メモリ(7)に転送可能とされるたことを特徴とするものである(図2参照)。   Due to the subsequent DMA transfer by the direct memory access controller, data of the subsequent section of the first section of the PES payload from the buffer of the receiving interface is transferred to the external memory (via the bus and the memory interface). 7), which can be transferred (see FIG. 2).

本願において開示される発明のうち代表的なものによって得られる効果を簡単に説明すれば下記の通りである。   The effects obtained by the representative ones of the inventions disclosed in the present application will be briefly described as follows.

すなわち、本発明によれば、動画像データを格納する外部メモリのメモリ容量を節約することができる。   That is, according to the present invention, the memory capacity of the external memory for storing moving image data can be saved.

図1は、本発明の実施の形態1による半導体集積回路としてアプリケーションプロセッサの構成を示す図である。FIG. 1 is a diagram showing a configuration of an application processor as a semiconductor integrated circuit according to the first embodiment of the present invention. 図2は、図1に示したアプリケーションプロセッサ1に含まれるトランスポートストリームインターフェース(TSIF)11の構成を示す図である。FIG. 2 is a diagram showing a configuration of the transport stream interface (TSIF) 11 included in the application processor 1 shown in FIG. 図3は、図1に示した本発明の実施の形態1による半導体集積回路として構成されたアプリケーションプロセッサ1に含まれるTSIF11とDMAC12とによって実行されるDMA転送の動作を説明する図である。FIG. 3 is a diagram for explaining the DMA transfer operation executed by TSIF 11 and DMAC 12 included in application processor 1 configured as the semiconductor integrated circuit according to the first embodiment of the present invention shown in FIG. 図4は、図2に示したTSIF11のTSヘッダー解析部118によって解析される4バイトの固定長のヘッダーを含むMPEG−2のトランスポートストリームTSのTSパケットの構成を示す図である。FIG. 4 is a diagram showing a structure of a TS packet of the MPEG-2 transport stream TS including a 4-byte fixed-length header analyzed by the TS header analysis unit 118 of the TSIF 11 shown in FIG. 図5は、図2に示したTSIF11のPESヘッダー検出部116によって検出されるPESヘッダーを含むMPEG−2のPESパケットの構成を示す図である。FIG. 5 is a diagram showing a configuration of an MPEG-2 PES packet including a PES header detected by the PES header detection unit 116 of the TSIF 11 shown in FIG. 図6は、図1に示した本発明の実施の形態1による半導体集積回路としてのアプリケーションプロセッサ1に含まれたTSIF11に供給されるMPEG2−TSのデータレートを測定するためのPESヘッダー検出部116の構成を示す図である。FIG. 6 shows a PES header detector 116 for measuring the data rate of MPEG2-TS supplied to the TSIF 11 included in the application processor 1 as the semiconductor integrated circuit according to the first embodiment of the present invention shown in FIG. FIG. 図7は、図1に示した本発明の実施の形態1によるアプリケーションプロセッサ1を搭載した本発明の実施の形態2による携帯電話の構成を示す図である。FIG. 7 is a diagram showing a configuration of a mobile phone according to the second embodiment of the present invention on which the application processor 1 according to the first embodiment of the present invention shown in FIG. 1 is mounted.

1.実施の形態の概要
まず、本願において開示される発明の代表的な実施の形態について概要を説明する。代表的な実施の形態についての概要説明で括弧を付して参照する図面の参照符号は、それが付された構成要素の概念に含まれるものを例示するに過ぎない。
1. First, an outline of a typical embodiment of the invention disclosed in the present application will be described. Reference numerals in the drawings referred to with parentheses in the outline description of the representative embodiments merely exemplify what are included in the concept of the components to which the reference numerals are attached.

〔1〕本発明の代表的な実施の形態は、受信インターフェース(11)と、中央処理ユニット(13)と、MPEGデコーダ(18)と、メモリインターフェース(17)と、バス(15)と、ダイレクトメモリアクセスコントローラ(12)とを具備する半導体集積回路(1)である。   [1] A typical embodiment of the present invention includes a reception interface (11), a central processing unit (13), an MPEG decoder (18), a memory interface (17), a bus (15), a direct A semiconductor integrated circuit (1) including a memory access controller (12).

前記バス(15)には、前記受信インターフェース(11)と前記中央処理ユニット(13)と前記MPEGデコーダ(18)と前記メモリインターフェース(17)と前記ダイレクトメモリアクセスコントローラ(12)とが接続されている。   The bus (15) is connected to the receiving interface (11), the central processing unit (13), the MPEG decoder (18), the memory interface (17), and the direct memory access controller (12). Yes.

前記メモリインターフェース(17)は、外部メモリ(7)と接続可能とされる。   The memory interface (17) can be connected to an external memory (7).

前記受信インターフェース(11)は、MPEGトランスポートストリームに含まれる多数のTSパケットを受信可能とされ、前記多数のTSパケットは同一のバケット識別子(PID)を有する複数のTSパケットを含み、前記同一のバケット識別子(PID)を有する前記複数のTSパケットは1個のパケッタイズドエレメンタリストリームパケットを構成可能なものである。   The reception interface (11) is capable of receiving a number of TS packets included in an MPEG transport stream, and the number of TS packets includes a plurality of TS packets having the same bucket identifier (PID). The plurality of TS packets having a bucket identifier (PID) can constitute one packetized elementary stream packet.

前記受信インターフェース(11)は、バッファ(111)と受信間隔算出部(113)とPESヘッダー検出部(116)を含み、前記バッファは前記複数のTSパケットに含まれる少なくとも1個のTSパケットを蓄積可能とされ、前記受信間隔算出部は前記受信インターフェースによって受信される前記複数のTSパケットの受信間隔を算出可能とされ、前記PESヘッダー検出部は前記1個のパケッタイズドエレメンタリストリームパケットに含まれるPESヘッダーを検出可能とされる。   The reception interface (11) includes a buffer (111), a reception interval calculation unit (113), and a PES header detection unit (116), and the buffer stores at least one TS packet included in the plurality of TS packets. The reception interval calculation unit can calculate reception intervals of the plurality of TS packets received by the reception interface, and the PES header detection unit is included in the one packetized elementary stream packet. Detected PES header.

前記受信インターフェースの前記バッファに前記複数のTSパケットの最初のTSパケットが蓄積され、前記受信インターフェースの前記PESヘッダー検出部(116)が前記PESヘッダーを検出したことに応答して、前記受信インターフェースは前記ダイレクトメモリアクセスコントローラ(12)に最初のDMA転送を要求する。   In response to the first TS packet of the plurality of TS packets being stored in the buffer of the reception interface and the PES header detection unit (116) of the reception interface detecting the PES header, the reception interface Request the first DMA transfer to the direct memory access controller (12).

前記ダイレクトメモリアクセスコントローラによる前記最初のDMA転送によって、前記受信インターフェースの前記バッファ(111)から前記PESヘッダーのデータと前記PESヘッダーの後続のPESペイロードの最初のセクションのデータとが、前記バス(15)と前記メモリインターフェース(17)とを介して前記外部メモリ(7)に転送可能とされる。   By the first DMA transfer by the direct memory access controller, the data of the PES header and the data of the first section of the PES payload subsequent to the PES header are transferred from the buffer (111) of the reception interface to the bus (15 And the memory interface (17) can be transferred to the external memory (7).

前記受信インターフェースの前記バッファに前記複数のTSパケットの後続のTSパケットが蓄積され、前記受信インターフェース(11)の前記受信間隔算出部(113)が前記受信間隔を算出したことに応答して、前記受信インターフェースは前記ダイレクトメモリアクセスコントローラ(12)に後続のDMA転送を要求する。   Subsequent TS packets of the plurality of TS packets are accumulated in the buffer of the reception interface, and in response to the reception interval calculation unit (113) of the reception interface (11) calculating the reception interval, The reception interface requests the direct memory access controller (12) for a subsequent DMA transfer.

前記ダイレクトメモリアクセスコントローラによる前記後続のDMA転送によって、前記受信インターフェースの前記バッファから前記PESペイロードの前記最初のセクションの後続のセクションのデータが、前記バスと前記メモリインターフェースとを介して前記外部メモリ(7)に転送可能とされるたことを特徴とするものである(図2参照)。   Due to the subsequent DMA transfer by the direct memory access controller, data of the subsequent section of the first section of the PES payload from the buffer of the receiving interface is transferred to the external memory (via the bus and the memory interface). 7), which can be transferred (see FIG. 2).

前記実施の形態によれば、動画像データを格納する外部メモリのメモリ容量を節約することができる。   According to the embodiment, it is possible to save the memory capacity of the external memory that stores moving image data.

好適な実施の形態では、前記受信インターフェース(11)は、前記受信インターフェースによって受信される前記複数のTSパケットにそれぞれ複数の受信タイムスタンプを付加するタイムスタンプ付加部(113)を更に含むものである。   In a preferred embodiment, the reception interface (11) further includes a time stamp adding unit (113) for adding a plurality of reception time stamps to the plurality of TS packets received by the reception interface.

前記受信間隔算出部(113)が前記複数のTSパケットに付加された前記複数の受信タイムスタンプの差分を検出することによって、前記受信間隔を算出することを特徴とする(図2参照)。   The reception interval calculation unit (113) calculates the reception interval by detecting a difference between the plurality of reception time stamps added to the plurality of TS packets (see FIG. 2).

他の好適な実施の形態では、前記ダイレクトメモリアクセスコントローラによる前記最初のDMA転送の完了の後に、前記中央処理ユニット(13)は前記バス(15)と前記メモリインターフェース(17)とを介して前記外部メモリ(7)をアクセス可能とされる。   In another preferred embodiment, after the completion of the first DMA transfer by the direct memory access controller, the central processing unit (13) passes the bus (15) and the memory interface (17) through the memory interface (17). The external memory (7) can be accessed.

前記アクセスによって、前記中央処理ユニットは、前記PESヘッダーに含まれるデコーディングタイムスタンプ(DTS)の情報とプレゼンテーションタイムスタンプ(PTS)の情報とを前記外部メモリから取得可能とされたことを特徴とするものである(図1参照)。   The access enables the central processing unit to obtain decoding time stamp (DTS) information and presentation time stamp (PTS) information included in the PES header from the external memory. (See FIG. 1).

更に他の好適な実施の形態では、前記中央処理ユニットは前記外部メモリから取得した前記デコーディングタイムスタンプの前記情報を前記MPEGデコーダ(18)に供給可能とされたことを特徴とするものである(図1参照)。   In still another preferred embodiment, the central processing unit can supply the information of the decoding time stamp obtained from the external memory to the MPEG decoder (18). (See Figure 1).

より好適な実施の形態による半導体集積回路(1)は、前記バス(15)と接続された画像表示制御部(14)と音声出力制御部(19)とを更に具備する。   The semiconductor integrated circuit (1) according to a more preferred embodiment further comprises an image display control unit (14) and an audio output control unit (19) connected to the bus (15).

前記中央処理ユニットは前記外部メモリから取得した前記プレゼンテーションタイムスタンプの前記情報を前記画像表示制御部と前記音声出力制御部とに供給可能とされたことを特徴とするものである(図1参照)。   The central processing unit can supply the information of the presentation time stamp acquired from the external memory to the image display control unit and the audio output control unit (see FIG. 1). .

他のより好適な実施の形態では、前記受信インターフェース(11)は、前記多数のTSパケットを受信可能とされたTSヘッダー解析部(118)を更に含む。   In another more preferred embodiment, the reception interface (11) further includes a TS header analysis unit (118) capable of receiving the multiple TS packets.

前記受信インターフェースの前記TSヘッダー解析部は、前記多数のTSパケットの各TSヘッダーにペイロードユニットスタートインディケイタが含まれるか否かを検出可能とされる。   The TS header analysis unit of the reception interface can detect whether or not a payload unit start indicator is included in each TS header of the multiple TS packets.

前記TSヘッダー解析部が前記ペイロードユニットスタートインディケイタを検出したことに応答して、前記TSヘッダー解析部は前記PESヘッダー検出部(116)による前記PESヘッダーの検出動作の開始することを特徴とするものである。   In response to the detection of the payload unit start indicator by the TS header analysis unit, the TS header analysis unit starts the detection operation of the PES header by the PES header detection unit (116). Is.

更に他のより好適な実施の形態では、前記受信インターフェースの前記TSヘッダー解析部は、検出した前記ペイロードユニットスタートインディケイタを含む1個のTSパケットのTSヘッダーに含まれるパケット識別子(PID)の値を記憶可能とされる。   In still another more preferred embodiment, the TS header analysis unit of the reception interface includes a value of a packet identifier (PID) included in a TS header of one TS packet including the detected payload unit start indicator. Can be stored.

前記受信インターフェースの前記TSヘッダー解析部は、前記ペイロードユニットスタートインディケイタを含んだ前記1個のTSパケットの後続のTSパケットの後続のTSヘッダーに含まれる後続のパケット識別子と記憶された前記パケット識別子の前記値とを比較可能とされる。   The TS header analysis unit of the reception interface includes a subsequent packet identifier included in a subsequent TS header of a subsequent TS packet of the one TS packet including the payload unit start indicator and the stored packet identifier. Can be compared with the above value.

前記受信インターフェースの前記TSヘッダー解析部は、記憶された前記パケット識別子の前記値と前記後続のTSパケットの前記後続のパケット識別子とが一致すると、PID一致検出出力信号を生成可能とされる。   The TS header analysis unit of the reception interface can generate a PID match detection output signal when the stored value of the packet identifier matches the subsequent packet identifier of the subsequent TS packet.

前記TSヘッダー解析部から生成される前記PID一致検出出力信号と前記受信間隔算出部によって算出された前記受信間隔とに応答して、前記受信インターフェースは前記ダイレクトメモリアクセスコントローラ(12)に前記後続のDMA転送を要求することを特徴とするものである。   In response to the PID match detection output signal generated from the TS header analysis unit and the reception interval calculated by the reception interval calculation unit, the reception interface sends the direct memory access controller (12) the subsequent It is characterized by requesting DMA transfer.

具体的な実施の形態では、前記受信インターフェースの前記PESヘッダー検出部(116)は、前記PESヘッダーに含まれるPESヘッダーデータ長を検出可能とされる。   In a specific embodiment, the PES header detection unit (116) of the reception interface can detect the PES header data length included in the PES header.

前記PESヘッダー検出部によって検出された前記PESヘッダーデータ長を有する前記PESヘッダーの前記PESヘッダー検出部による検出動作が完了した後に、前記PESヘッダー検出部はスリープ状態に制御されることを特徴とするものである。   The PES header detection unit is controlled to be in a sleep state after the detection operation by the PES header detection unit of the PES header having the PES header data length detected by the PES header detection unit is completed. Is.

より具体的な実施の形態では、前記受信インターフェースの前記PESヘッダー検出部(116)は、前記PESヘッダーに含まれるPESパケット長を検出可能とされる。   In a more specific embodiment, the PES header detection unit (116) of the reception interface can detect the PES packet length included in the PES header.

前記PESヘッダー検出部によって検出された前記PESパケット長に基づき、前記PESヘッダー検出部は前記PESペイロードの前記最初のセクションの前記データから前記後続のセクションの前記データの転送に必要なDMA転送回数が算出されることを特徴とするものである。   Based on the PES packet length detected by the PES header detection unit, the PES header detection unit determines the number of DMA transfers necessary for transferring the data of the subsequent section from the data of the first section of the PES payload. It is characterized by being calculated.

最も具体的な実施の形態では、前記メモリインターフェース(17)は、前記外部メモリ(7)としてのDRAMと接続可能とされ、前記半導体集積回路(1)の半導体チップと前記DRAMの半導体チップとは、システムインパッケージもしくはマルチチップモジュールの封止パッケージ内部に内蔵されたことを特徴とするものである。   In the most specific embodiment, the memory interface (17) can be connected to a DRAM as the external memory (7). The semiconductor chip of the semiconductor integrated circuit (1) and the semiconductor chip of the DRAM are It is characterized in that it is built in a system-in package or a sealed package of a multi-chip module.

〔2〕本発明の別の観点の代表的な実施の形態は、受信インターフェース(11)と、中央処理ユニット(13)と、MPEGデコーダ(18)と、メモリインターフェース(17)と、バス(15)と、ダイレクトメモリアクセスコントローラ(12)とを具備する半導体集積回路(1)の動作方法である。   [2] A typical embodiment according to another aspect of the present invention includes a reception interface (11), a central processing unit (13), an MPEG decoder (18), a memory interface (17), and a bus (15 ) And a direct memory access controller (12).

前記バス(15)には、前記受信インターフェース(11)と前記中央処理ユニット(13)と前記MPEGデコーダ(18)と前記メモリインターフェース(17)と前記ダイレクトメモリアクセスコントローラ(12)とが接続されている。   The bus (15) is connected to the receiving interface (11), the central processing unit (13), the MPEG decoder (18), the memory interface (17), and the direct memory access controller (12). Yes.

前記メモリインターフェース(17)は、外部メモリ(7)と接続可能とされる。   The memory interface (17) can be connected to an external memory (7).

前記受信インターフェース(11)は、MPEGトランスポートストリームに含まれる多数のTSパケットを受信可能とされ、前記多数のTSパケットは同一のバケット識別子(PID)を有する複数のTSパケットを含み、前記同一のバケット識別子(PID)を有する前記複数のTSパケットは1個のパケッタイズドエレメンタリストリームパケットを構成可能なものである。   The reception interface (11) is capable of receiving a number of TS packets included in an MPEG transport stream, and the number of TS packets includes a plurality of TS packets having the same bucket identifier (PID). The plurality of TS packets having a bucket identifier (PID) can constitute one packetized elementary stream packet.

前記受信インターフェース(11)は、バッファ(111)と受信間隔算出部(113)とPESヘッダー検出部(116)を含み、前記バッファは前記複数のTSパケットに含まれる少なくとも1個のTSパケットを蓄積可能とされ、前記受信間隔算出部は前記受信インターフェースによって受信される前記複数のTSパケットの受信間隔を算出可能とされ、前記PESヘッダー検出部は前記1個のパケッタイズドエレメンタリストリームパケットに含まれるPESヘッダーを検出可能とされる。   The reception interface (11) includes a buffer (111), a reception interval calculation unit (113), and a PES header detection unit (116), and the buffer stores at least one TS packet included in the plurality of TS packets. The reception interval calculation unit can calculate reception intervals of the plurality of TS packets received by the reception interface, and the PES header detection unit is included in the one packetized elementary stream packet. Detected PES header.

前記受信インターフェースの前記バッファに前記複数のTSパケットの最初のTSパケットが蓄積され、前記受信インターフェースの前記PESヘッダー検出部(116)が前記PESヘッダーを検出したことに応答して、前記受信インターフェースは前記ダイレクトメモリアクセスコントローラ(12)に最初のDMA転送を要求する。   In response to the first TS packet of the plurality of TS packets being stored in the buffer of the reception interface and the PES header detection unit (116) of the reception interface detecting the PES header, the reception interface Request the first DMA transfer to the direct memory access controller (12).

前記ダイレクトメモリアクセスコントローラによる前記最初のDMA転送によって、前記受信インターフェースの前記バッファ(111)から前記PESヘッダーのデータと前記PESヘッダーの後続のPESペイロードの最初のセクションのデータとが、前記バス(15)と前記メモリインターフェース(17)とを介して前記外部メモリ(7)に転送可能とされる。   By the first DMA transfer by the direct memory access controller, the data of the PES header and the data of the first section of the PES payload subsequent to the PES header are transferred from the buffer (111) of the reception interface to the bus (15 And the memory interface (17) can be transferred to the external memory (7).

前記受信インターフェースの前記バッファに前記複数のTSパケットの後続のTSパケットが蓄積され、前記受信インターフェース(11)の前記受信間隔算出部(113)が前記受信間隔を算出したことに応答して、前記受信インターフェースは前記ダイレクトメモリアクセスコントローラ(12)に後続のDMA転送を要求する。   Subsequent TS packets of the plurality of TS packets are accumulated in the buffer of the reception interface, and in response to the reception interval calculation unit (113) of the reception interface (11) calculating the reception interval, The reception interface requests the direct memory access controller (12) for a subsequent DMA transfer.

前記ダイレクトメモリアクセスコントローラによる前記後続のDMA転送によって、前記受信インターフェースの前記バッファから前記PESペイロードの前記最初のセクションの後続のセクションのデータが、前記バスと前記メモリインターフェースとを介して前記外部メモリ(7)に転送可能とされるたことを特徴とするものである(図2参照)。   Due to the subsequent DMA transfer by the direct memory access controller, data of the subsequent section of the first section of the PES payload from the buffer of the receiving interface is transferred to the external memory (via the bus and the memory interface). 7), which can be transferred (see FIG. 2).

前記実施の形態によれば、動画像データを格納する外部メモリのメモリ容量を節約することができる。   According to the embodiment, it is possible to save the memory capacity of the external memory that stores moving image data.

2.実施の形態の詳細
次に、実施の形態について更に詳述する。尚、発明を実施するための最良の形態を説明するための全図において、前記の図と同一の機能を有する部品には同一の符号を付して、その繰り返しの説明は省略する。
2. Details of Embodiment Next, the embodiment will be described in more detail. In all the drawings for explaining the best mode for carrying out the invention, components having the same functions as those in the above-mentioned drawings are denoted by the same reference numerals, and repeated description thereof is omitted.

[実施の形態1]
《半導体集積回路の構成》
図1は、本発明の実施の形態1による半導体集積回路としてアプリケーションプロセッサの構成を示す図である。
[Embodiment 1]
<Configuration of semiconductor integrated circuit>
FIG. 1 is a diagram showing a configuration of an application processor as a semiconductor integrated circuit according to the first embodiment of the present invention.

図1に示したアプリケーションプロセッサ1は、トランスポートストリームインターフェース(以下、TSIFと言う)11、ダイレクトメモリアクセスコントローラ(以下、DMACと言う)12、中央処理ユニット(以下、CPUと言う)13、液晶表示(以下、LCDと言う)制御部14、データバス15、タイマ16、メモリインターフェース17、MPEGデコーダ18、音声出力制御部19を含んでいる。   1 includes a transport stream interface (hereinafter referred to as TSIF) 11, a direct memory access controller (hereinafter referred to as DMAC) 12, a central processing unit (hereinafter referred to as CPU) 13, and a liquid crystal display. A control unit 14 (hereinafter referred to as LCD), a data bus 15, a timer 16, a memory interface 17, an MPEG decoder 18, and an audio output control unit 19 are included.

図1に示すように、アプリケーションプロセッサ1が搭載される携帯電話端末には、デジタルテレビアンテナ2とデジタルテレビチューナー3とシステムクロック発生器4と液晶表示装置(以下、LCDと言う)5とスピーカ6と外部メモリ7とが搭載されている。   As shown in FIG. 1, a mobile phone terminal equipped with an application processor 1 includes a digital TV antenna 2, a digital TV tuner 3, a system clock generator 4, a liquid crystal display (hereinafter referred to as LCD) 5, and a speaker 6. And an external memory 7 are mounted.

デジタルテレビアンテナ2によってISDB−Tmmの次世代ワンセグ放送が受信されて、外部デジタルテレビチューナー3の出力端子からアプリケーションプロセッサ1のTSIF11の入力端子にMPEG2−TSのパケットデータが供給される。また更に、TSIF11には、システムクロック発生器4から基準クロックとしてのシステムクロック信号が供給される。   Next-generation one-segment broadcasting of ISDB-Tmm is received by the digital television antenna 2, and MPEG2-TS packet data is supplied from the output terminal of the external digital television tuner 3 to the input terminal of the TSIF 11 of the application processor 1. Furthermore, a system clock signal as a reference clock is supplied from the system clock generator 4 to the TSIF 11.

TSIF11に供給されたMPEG2−TSのパケットデータは、内蔵DMAC12によって実行されるDMA転送によってデータバス15とメモリインターフェース17とを介して外部のメモリ7に転送される。外部メモリ7としては、高速・大容量の同期DRAMが使用可能である。   The MPEG2-TS packet data supplied to the TSIF 11 is transferred to the external memory 7 via the data bus 15 and the memory interface 17 by DMA transfer executed by the built-in DMAC 12. As the external memory 7, a high-speed and large-capacity synchronous DRAM can be used.

内蔵CPU13は、アプリケーションプロセッサ1の内部動作の制御を実行する。内蔵CPU13によるデマルチプレックス(DEMUX)処理の制御によって、外部メモリ7に蓄積されたMPEG2−TSのパケットデータは、映像エレメンタリー・ストリームと音声エレメンタリー・ストリームとに分離される。分離された映像エレメンタリー・ストリームと音声エレメンタリー・ストリームとは、MPEGデコーダ18によって映像再生信号と音声再生信号とに復号化される。映像再生信号の出力同期がLCD制御部14で実行され、音声再生信号の出力同期が音声出力制御部19で実行され、LCD5とスピーカ6によって映像表示と音声出力とが可能となる。   The built-in CPU 13 controls the internal operation of the application processor 1. The MPEG2-TS packet data stored in the external memory 7 is separated into a video elementary stream and an audio elementary stream by controlling the demultiplexing (DEMUX) processing by the built-in CPU 13. The separated video elementary stream and audio elementary stream are decoded by the MPEG decoder 18 into a video reproduction signal and an audio reproduction signal. Output synchronization of the video reproduction signal is executed by the LCD control unit 14, and output synchronization of the audio reproduction signal is executed by the audio output control unit 19, and the video display and the audio output can be performed by the LCD 5 and the speaker 6.

《TSIFの構成》
図2は、図1に示したアプリケーションプロセッサ1に含まれるトランスポートストリームインターフェース(TSIF)11の構成を示す図である。
<< Structure of TSIF >>
FIG. 2 is a diagram showing a configuration of the transport stream interface (TSIF) 11 included in the application processor 1 shown in FIG.

図2に示すTSIF11は、タイムスタンプ付加部110と、TS(トランスポートストリーム)バッファ111と、DMAC制御部112と、タイムスタンプバッファ113と、受信間隔算出部114と、受信間隔バッファ115と、PESヘッダー検出部116と、PESヘッダー長算出部117と、TSヘッダー解析部118とによって構成されている。   2 includes a time stamp adding unit 110, a TS (transport stream) buffer 111, a DMAC control unit 112, a time stamp buffer 113, a reception interval calculation unit 114, a reception interval buffer 115, and a PES. The header detection unit 116, the PES header length calculation unit 117, and the TS header analysis unit 118 are configured.

図2に示すTSIF11のタイムスタンプ付加部110は、デジタルテレビチューナー3の出力端子から供給されるMPEG2−TSのパケットデータにシステムクロック発生器4から供給される基準クロックとしてのシステムクロック信号から生成したタイムスタンプを付加する動作を実行する。タイムスタンプ付加部110の一方の出力端子から生成されるタイムスタンプはタイムスタンプバッファ113に格納され、更に受信間隔算出部114の一方の入力端子に供給される。一方、タイムスタンプバッファ113の出力端子から受信間隔算出部114の他方の入力端子には1個以前のタイムスタンプが供給されるので、受信間隔算出部114は一方の入力端子の現時点のタイムスタンプと他方の入力端子の1個以前のタイムスタンプとの差分を計算することで、MPEG2のTSパケットの受信間隔を算出する。受信間隔算出部114の出力端子から生成されるTSパケット受信間隔情報は、受信間隔バッファ115を介してDMAC制御部112の一方の入力端子に供給される。   The time stamp adding unit 110 of the TSIF 11 shown in FIG. 2 is generated from the system clock signal as the reference clock supplied from the system clock generator 4 to the MPEG2-TS packet data supplied from the output terminal of the digital television tuner 3. An operation for adding a time stamp is executed. The time stamp generated from one output terminal of the time stamp adding unit 110 is stored in the time stamp buffer 113 and further supplied to one input terminal of the reception interval calculation unit 114. On the other hand, since the previous time stamp is supplied from the output terminal of the time stamp buffer 113 to the other input terminal of the reception interval calculation unit 114, the reception interval calculation unit 114 is connected to the current time stamp of one input terminal. The reception interval of the MPEG2 TS packet is calculated by calculating a difference from the previous time stamp of the other input terminal. TS packet reception interval information generated from the output terminal of the reception interval calculation unit 114 is supplied to one input terminal of the DMAC control unit 112 via the reception interval buffer 115.

更に図2に示すTSIF11では、デジタルテレビチューナー3の出力端子から供給されるMPEG2−TSのパケットデータはPESヘッダー検出部116の入力端子に供給されるので、PESヘッダー検出部116はMPEG2−TSのパケットデータに含まれるPESヘッダーの検出が可能とされている。また、PESヘッダー検出部116は、PESヘッダーに含まれるPESパケット長とPESヘッダーデータ長との検出も可能とされている。更に、PESヘッダー長算出部117は、PESヘッダー検出部116から供給されるPESパケット長とPESヘッダーデータ長との差を計算することによって、PESペイロード長を算出することも可能とされている。PESヘッダー検出部116によるPESヘッダー検出出力信号は、PESヘッダー長算出部117を介して、DMAC制御部112の他方の入力端子に供給される。DMAC制御部112の他方の入力端子には、下記に説明するようにTS解析部118から生成されるTSパケットのPID一致検出信号も供給される。その結果、DMAC制御部112は一方の入力端子に供給されるTSパケット受信間隔情報と他方の入力端子に供給されるPESヘッダー検出出力信号およびTSパケットのPID一致検出信号の情報とに応答して、DMA転送サイズが184バイトのDMA転送要求出力を生成してDMAC制御部112に出力する。   Further, in the TSIF 11 shown in FIG. 2, the MPEG2-TS packet data supplied from the output terminal of the digital television tuner 3 is supplied to the input terminal of the PES header detection unit 116. The PES header included in the packet data can be detected. Further, the PES header detection unit 116 can detect the PES packet length and the PES header data length included in the PES header. Further, the PES header length calculation unit 117 can calculate the PES payload length by calculating the difference between the PES packet length supplied from the PES header detection unit 116 and the PES header data length. The PES header detection output signal from the PES header detection unit 116 is supplied to the other input terminal of the DMAC control unit 112 via the PES header length calculation unit 117. The other input terminal of the DMAC control unit 112 is also supplied with a PID match detection signal of a TS packet generated from the TS analysis unit 118 as described below. As a result, the DMAC control unit 112 responds to the TS packet reception interval information supplied to one input terminal, the PES header detection output signal supplied to the other input terminal, and the PID match detection signal information of the TS packet. Then, a DMA transfer request output having a DMA transfer size of 184 bytes is generated and output to the DMAC control unit 112.

また図2に示すTSIF11では、TSヘッダー解析部118はデジタルテレビチューナー3の出力端子から供給されるMPEG2のTSパケットのTSヘッダーに含まれるペイロードユニットスタートインディケイタとパケット識別子PIDとを解析する。TSヘッダー解析部118がTSヘッダーに含まれたビットが“1”に設定されたペイロードユニットスタートインディケイタを検出すると、TSヘッダー解析部118の出力信号に応答してPESヘッダー検出部116はMPEG2−TSのパケットデータに含まれるPESヘッダーの検出動作を開始する。更にTSヘッダー解析部118は、ペイロードユニットスタートインディケイタのビットが“1”に設定されたTSパケットのTSヘッダーに含まれるパケット識別子PIDの値を記憶する。その後、ビットが“1”に設定されたペイロードユニットスタートインディケイタを含まない後続の多数のTSパケットのTSヘッダーに含まれるパケット識別子PIDの値がTSヘッダー解析部118に記憶されたパケット識別子PIDの値と一致すると、TSヘッダー解析部118のPID一致検出出力信号はPESヘッダー長算出部117を介してDMAC制御部112の他方の入力端子に供給する。   In the TSIF 11 shown in FIG. 2, the TS header analysis unit 118 analyzes the payload unit start indicator and the packet identifier PID included in the TS header of the MPEG2 TS packet supplied from the output terminal of the digital television tuner 3. When the TS header analysis unit 118 detects a payload unit start indicator in which the bit included in the TS header is set to “1”, the PES header detection unit 116 responds to the output signal of the TS header analysis unit 118 and the MPEG2- The detection operation of the PES header included in the TS packet data is started. Further, the TS header analysis unit 118 stores the value of the packet identifier PID included in the TS header of the TS packet in which the bit of the payload unit start indicator is set to “1”. Thereafter, the value of the packet identifier PID included in the TS header of a number of subsequent TS packets not including the payload unit start indicator whose bit is set to “1” is stored in the TS header analysis unit 118. When the values match, the PID match detection output signal of the TS header analysis unit 118 is supplied to the other input terminal of the DMAC control unit 112 via the PES header length calculation unit 117.

図2に示したTSIF11のタイムスタンプ付加部110において付加されるタイムスタンプは、例えば4バイトのタイムスタンプ情報である。従って、タイムスタンプ付加部110の一方の出力端子からタイムスタンプが供給されるタイムスタンプバッファ113のメモリ容量は、4バイトとされている。一方、デジタルテレビチューナー3の出力端子から供給されるMPEG2のTSパケットは、188バイトで構成されている。従って、TSバッファ111は、188バイトのTSパケットと4バイトのタイムスタンプを合計した192バイトのメモリ容量とされる。好適な実施の形態では、TSバッファ111は、192バイトのメモリ容量の2面の内蔵RAMにより構成される。2面の内蔵RAMはインターリーブ動作を実行することで、192バイトのメモリ容量の第1面の内蔵RAMにデータ書き込みが実行されている間に192バイトのメモリ容量の第2面の内蔵RAMからデータ読み出しが可能となる。次のタイミングでは、192バイトのメモリ容量の第1面の内蔵RAMからデータ読み出しが実行されている間に、192バイトのメモリ容量の第2面の内蔵RAMにデータ書き込みが実行可能となる。より好適な実施の形態では、TSバッファ111は、インターリーブ動作を実行可能な192バイトのメモリ容量の4面もしくはそれ以上の内蔵RAMによって構成される。   The time stamp added by the time stamp adding unit 110 of the TSIF 11 shown in FIG. 2 is, for example, 4-byte time stamp information. Therefore, the memory capacity of the time stamp buffer 113 to which the time stamp is supplied from one output terminal of the time stamp adding unit 110 is 4 bytes. On the other hand, the MPEG2 TS packet supplied from the output terminal of the digital TV tuner 3 is composed of 188 bytes. Accordingly, the TS buffer 111 has a memory capacity of 192 bytes, which is a total of 188-byte TS packets and 4-byte time stamps. In the preferred embodiment, the TS buffer 111 is composed of two internal RAMs with a memory capacity of 192 bytes. The two internal RAMs perform an interleaving operation so that data is written from the internal RAM on the second surface with a 192-byte memory capacity while data is being written to the internal RAM on the first surface with a 192-byte memory capacity. Reading is possible. At the next timing, while data is being read from the internal RAM on the first surface having a memory capacity of 192 bytes, data can be written to the internal RAM on the second surface having a memory capacity of 192 bytes. In a more preferred embodiment, the TS buffer 111 is constituted by four or more built-in RAMs having a memory capacity of 192 bytes capable of executing an interleave operation.

《DMA転送の動作》
図3は、図1に示した本発明の実施の形態1による半導体集積回路として構成されたアプリケーションプロセッサ1に含まれるTSIF11とDMAC12とによって実行されるDMA転送の動作を説明する図である。
<< DMA transfer operation >>
FIG. 3 is a diagram for explaining the DMA transfer operation executed by TSIF 11 and DMAC 12 included in application processor 1 configured as the semiconductor integrated circuit according to the first embodiment of the present invention shown in FIG.

図3の上部に示したように、デジタルテレビチューナー3の出力端子から供給されるMPEG2の188バイトの固定長のTSパケットは、4バイトの固定長のTSヘッダー(TS header)を含んでいる。複数のTSパケットの各TSヘッダーはパケット識別子PIDを含み、同一のパケット識別子PIDの値を有する複数のTSパケットで最初にペイロードユニットセクションを含むTSパケットのTSヘッダーにはビットが“1”に設定されたペイロードユニットスタートインディケイタ(Payload unit start indicator)が含まれる。   As shown in the upper part of FIG. 3, the MPEG2 188-byte fixed-length TS packet supplied from the output terminal of the digital television tuner 3 includes a 4-byte fixed-length TS header (TS header). Each TS header of a plurality of TS packets includes a packet identifier PID, and a bit is set to “1” in the TS header of a TS packet including a payload unit section first in a plurality of TS packets having the same packet identifier PID value. A payload unit start indicator is included.

図3の中間部に示したように、図2に示したTSIF11のタイムスタンプ付加部110において各TSパケットのTSヘッダーの先頭にタイムスタンプ(Time stamp)の情報が付加されている。すなわち、各TSパケットのTSヘッダーの先頭に付加されたタイムスタンプの情報は、各TSパケットのTSIF11での受信タイミングを示すものである。このように、各TSバケットの184バイトの固定長のTSペイロード(TS payload)の先頭には、4バイトの固定長のタイムスタンプと4バイトの固定長のTSヘッダーとが付加されている。   As shown in the middle part of FIG. 3, time stamp information is added to the head of the TS header of each TS packet in the time stamp adding part 110 of the TSIF 11 shown in FIG. That is, the time stamp information added to the head of the TS header of each TS packet indicates the reception timing of each TS packet at the TSIF 11. Thus, a 4-byte fixed-length time stamp and a 4-byte fixed-length TS header are added to the head of each 184-byte fixed-length TS payload (TS payload).

従って、複数のTSパケットのTSヘッダーの先頭のタイムスタンプの差分(Time stamp difference)は、TSパケットの受信間隔となる。このTSパケット受信間隔は、図2に示したTSIF11の受信間隔算出部114で算出されることが可能とされている。   Therefore, the difference between the time stamps at the beginning of the TS headers of a plurality of TS packets is the TS packet reception interval. This TS packet reception interval can be calculated by the reception interval calculation unit 114 of the TSIF 11 shown in FIG.

図3の下部には、図2に示したTSIF11のTSバッファ111に一次格納された後に、図1の本発明の実施の形態1による半導体集積回路として構成されたアプリケーションプロセッサ1に含まれるTSIF11とDMAC12とによって実行されるDMA転送の動作により外部メモリ7に転送される1個のPESパケットが示されている。   3, the TSIF 11 included in the application processor 1 configured as a semiconductor integrated circuit according to the first embodiment of the present invention shown in FIG. 1 after being temporarily stored in the TS buffer 111 of the TSIF 11 shown in FIG. One PES packet transferred to the external memory 7 by the DMA transfer operation executed by the DMAC 12 is shown.

1個のPESパケットに含まれるPESペイロード(PES payload)の先頭には、PESヘッダー(PES header)が付加されている。このPESヘッダーには、デコーディングタイムスタンプDTSとプレゼンテーションタイムスタンプPTSとの重要な情報が含まれる。すなわち、デコーディングタイムスタンプDTSは、図1のアプリケーションプロセッサ1に含まれるMPEGデコーダ18におけるビデオ復号動作とオーディオ復号動作のタイミングを決定する。またプレゼンテーションタイムスタンプPTSは、図1のアプリケーションプロセッサ1に含まれるLCD制御部14のビデオ出力と音声出力制御部19のオーディオ出力のタイミングを決定する。また、1個のPESパケット中に含まれるPESヘッダー(PES header)の情報とPESペイロード(PES payload)の最初のセクションの合計184バイトの情報は、ビットが“1”に設定されたペイロードユニットスタートインディケイタを含んだ最初のTSパケットの184バイトの固定長のTSペイロード(TS payload)の情報から生成される。   A PES header is added to the head of the PES payload included in one PES packet. This PES header includes important information of the decoding time stamp DTS and the presentation time stamp PTS. That is, the decoding time stamp DTS determines the timing of the video decoding operation and the audio decoding operation in the MPEG decoder 18 included in the application processor 1 of FIG. The presentation time stamp PTS determines the timing of the video output of the LCD control unit 14 and the audio output of the audio output control unit 19 included in the application processor 1 of FIG. Also, the information of the PES header (PES header) and the first section of the PES payload (PES payload) included in one PES packet is a total of 184 bytes, and the payload unit start with the bit set to “1” It is generated from the information of a fixed-length TS payload of 184 bytes of the first TS packet including the indicator.

《DMAによる第1回目のPESパケットの転送》
上述したように、TSヘッダー解析部118がTSヘッダーに含まれたビットが“1”に設定されたペイロードユニットスタートインディケイタを検出すると、PESヘッダー検出部116はTSヘッダー解析部118の出力信号に応答して最初のTSパケットのペイロードデータに含まれるPESヘッダーの検出動作を開始している。従って、PESヘッダー検出部116はPESパケットに含まれたPESヘッダーを検出して、PESパケット検出出力信号はPESヘッダー長算出部117を介してDMAC制御部112の他方の入力端子に供給される。尚、PESヘッダー検出部116にて検出されるPESヘッダーデータ長を有するPESヘッダーのPESヘッダー検出部による検出動作が完了すると、その後にPESヘッダー検出部116はスリープ状態とされ、図2に示したTSIF11の消費電力が削減される。
<< First PES packet transfer by DMA >>
As described above, when the TS header analysis unit 118 detects the payload unit start indicator in which the bit included in the TS header is set to “1”, the PES header detection unit 116 outputs the output signal of the TS header analysis unit 118 to the output signal. In response, the PES header detection operation included in the payload data of the first TS packet is started. Accordingly, the PES header detection unit 116 detects the PES header included in the PES packet, and the PES packet detection output signal is supplied to the other input terminal of the DMAC control unit 112 via the PES header length calculation unit 117. When the detection operation of the PES header having the PES header data length detected by the PES header detection unit 116 is completed by the PES header detection unit, the PES header detection unit 116 is set in the sleep state after that, as shown in FIG. The power consumption of the TSIF 11 is reduced.

その結果、DMAC制御部112は、図1に示したアプリケーションプロセッサ1に含まれた内蔵DMAC12に第1回目のDMA転送要求出力を供給する。すなわち、この第1回目のDMA転送要求出力により、1個のPESパケット中に含まれる合計184バイトのPESヘッダー(PES header)の情報とPESペイロード(PES payload)の最初のセクションの情報が、図2に示したTSIF11のTSバッファ111からデータバス15とメモリインターフェース17とを介して外部のメモリ7に内蔵DMAC12によって転送される。従って、内蔵DMAC12による第1回目のPESパケットのDMA転送によって、デコーディングタイムスタンプDTSとプレゼンテーションタイムスタンプPTSの重要な情報が含むPESヘッダー(PES header)とビデオ情報やオーディオ情報を含むPESペイロード(PES payload)の最初のセクションの情報が、TSIF11のTSバッファ111から外部メモリ7に内蔵DMAC12によってDMA転送されるものとなる。   As a result, the DMAC control unit 112 supplies the first DMA transfer request output to the built-in DMAC 12 included in the application processor 1 shown in FIG. That is, by the first DMA transfer request output, the information of the PES header (PES header) and the information of the first section of the PES payload included in one PES packet are shown in FIG. The data is transferred from the TS buffer 111 of the TSIF 11 shown in FIG. 2 to the external memory 7 via the data bus 15 and the memory interface 17 by the built-in DMAC 12. Therefore, by the first DMA transfer of the PES packet by the built-in DMAC 12, the PES header (PES header) including important information of the decoding time stamp DTS and the presentation time stamp PTS and the PES payload (PES payload including the video information and audio information) are stored. information of the first section of the payload) is DMA-transferred from the TS buffer 111 of the TSIF 11 to the external memory 7 by the built-in DMAC 12.

《DMAによる第2回目以降のPESパケットの転送》
上述したように、図2に示すTSIF11の受信間隔算出部114は、第1個目のタイムスタンプと第2個目のタイムスタンプとの差分を検出することによって、最初のTSパケットの受信タイミングと後続の2番目のTSパケットの受信タイミングとの間の受信間隔を算出している。受信間隔算出部114により算出された受信間隔情報は、DMAC制御部112の一方の入力端子に供給される。
<< Transfer of PES packet for the second and subsequent times by DMA >>
As described above, the reception interval calculation unit 114 of the TSIF 11 shown in FIG. 2 detects the difference between the first time stamp and the second time stamp, thereby obtaining the reception timing of the first TS packet. A reception interval is calculated between the reception timing of the subsequent second TS packet. The reception interval information calculated by the reception interval calculation unit 114 is supplied to one input terminal of the DMAC control unit 112.

一方、後続の2番目のTSパケットのTSヘッダーに含まれるパケット識別子PIDの値がTSヘッダー解析部118に記憶されたパケット識別子PIDの値と一致すると、TSヘッダー解析部118からPID一致検出出力信号が生成されてDMAC制御部112の他方の入力端子に供給される。   On the other hand, when the value of the packet identifier PID included in the TS header of the subsequent second TS packet matches the value of the packet identifier PID stored in the TS header analysis unit 118, the TS header analysis unit 118 outputs a PID match detection output signal. Is generated and supplied to the other input terminal of the DMAC control unit 112.

その結果、DMAC制御部112は受信間隔情報とPID一致検出出力信号とに応答して、図1に示したアプリケーションプロセッサ1に含まれた内蔵DMAC12に第2回目のDMA転送要求出力を供給する。すなわち、この第2回目のDMA転送要求出力により、受信間隔算出部114によって算出された受信間隔のタイミングから4バイトのタイムスタンプ情報と4バイトの固定長のTSヘッダーを含まない合計184バイトのPESペイロード(PES payload)の2番目のセクションの情報のみのデータが、図2に示したTSIF11のTSバッファ111からデータバス15とメモリインターフェース17とを介して外部メモリ7に内蔵DMAC12によって転送される。従って、第1回目のDMA転送により転送されたPESヘッダー(PES header)およびPESペイロード(PES payload)の最初のセクションのデータと第2回目のDMA転送によって転送されるPESペイロード(PES payload)の2番目のセクションのデータとの間には、不必要な4バイトの固定長のTSヘッダーの情報やPESヘッダー(PES header)の情報が含まれなくなる。このようにして、外部メモリ7における不必要なメモリと消費電力の消費が、回避されることが可能となる。   As a result, the DMAC control unit 112 supplies the second DMA transfer request output to the built-in DMAC 12 included in the application processor 1 shown in FIG. 1 in response to the reception interval information and the PID match detection output signal. That is, by the second DMA transfer request output, a total of 184 bytes of PES not including the 4-byte time stamp information and the 4-byte fixed-length TS header from the timing of the reception interval calculated by the reception interval calculation unit 114. Data of only the information of the second section of the payload (PES payload) is transferred from the TS buffer 111 of the TSIF 11 shown in FIG. 2 to the external memory 7 via the data bus 15 and the memory interface 17 by the built-in DMAC 12. Accordingly, the data of the first section of the PES header (PES header) and the PES payload (PES payload) transferred by the first DMA transfer and the PES payload (PES payload) of 2 transferred by the second DMA transfer. There is no need to include unnecessary 4-byte fixed-length TS header information or PES header (PES header) information between the data of the second section. In this way, unnecessary memory and power consumption in the external memory 7 can be avoided.

同様に、第2回目のDMA転送により転送されたPESペイロードの2番目のセクションのデータと第3回目のDMA転送によって転送されるPESペイロードの3番目のセクションのデータとの間には、不必要な4バイトの固定長のTSヘッダーの情報やPESヘッダーの情報が含まれなくなる。以下、同様にして、第N回目のDMA転送によって転送されたPESペイロードのN番目のセクションのデータと第N+1回目のDMA転送によって転送されるPESペイロードのN+1番目のセクションのデータとの間には、不必要な4バイトの固定長のTSヘッダーの情報やPESヘッダーの情報が含まれなくなる。   Similarly, there is no need between the data in the second section of the PES payload transferred by the second DMA transfer and the data in the third section of the PES payload transferred by the third DMA transfer. 4 bytes of fixed-length TS header information and PES header information are not included. Similarly, between the data of the Nth section of the PES payload transferred by the Nth DMA transfer and the data of the N + 1th section of the PES payload transferred by the (N + 1) th DMA transfer, Unnecessary 4-byte fixed-length TS header information and PES header information are not included.

《ビデオとオーディオのデコード動作》
内蔵DMAC12による第1回目のPESパケットのTSIF11のTSバッファ111から外部メモリ7への転送動作が完了すると、内蔵DMAC12から生成されるDMAC転送完了割り込み信号が内蔵CPU13に供給される。DMAC転送完了割り込み信号に応答して内蔵CPU13は、外部メモリ7に格納されたPESヘッダーのデコーディングタイムスタンプDTSとプレゼンテーションタイムスタンプPTS等のビデオとオーディオのデコード動作に重要な情報を取得する。
《Video and audio decoding operation》
When the transfer operation of the first PES packet from the TS buffer 111 of the TSIF 11 to the external memory 7 by the internal DMAC 12 is completed, a DMAC transfer completion interrupt signal generated from the internal DMAC 12 is supplied to the internal CPU 13. In response to the DMAC transfer completion interrupt signal, the built-in CPU 13 acquires information important for video and audio decoding operations such as the decoding time stamp DTS and presentation time stamp PTS of the PES header stored in the external memory 7.

デコーディングタイムスタンプDTSのタイミングでMPEGデコーダ18のビデオまたはオーディオのデコード動作が実行されるように、内蔵CPU13は第1回目のDMA転送によって転送されたPESペイロードの最初のセクションから第N+1回目のDMA転送によって転送されたPESペイロードのN+1番目のセクションまでのデータを外部メモリ7からMPEGデコーダ18にDMA転送することを内蔵DMAC12に指示する。従って、内蔵DMAC12はN+1回のDMA転送によってPESペイロードの最初のセクションからN+1番目のセクションまでのデータを、外部メモリ7からMPEGデコーダ18にDMA転送するものである。このようにして、MPEGデコーダ18は、内蔵CPU13から供給されるデコーディングタイムスタンプDTSのタイミングで、ビデオまたはオーディオのデコード動作を正確に実行することが可能となる。   The built-in CPU 13 performs the (N + 1) th DMA from the first section of the PES payload transferred by the first DMA transfer so that the video or audio decoding operation of the MPEG decoder 18 is executed at the timing of the decoding time stamp DTS. The built-in DMAC 12 is instructed to DMA-transfer data from the external memory 7 to the MPEG decoder 18 up to the (N + 1) th section of the PES payload transferred. Accordingly, the built-in DMAC 12 DMA-transfers data from the first section to the N + 1-th section of the PES payload from the external memory 7 to the MPEG decoder 18 by N + 1 DMA transfers. In this way, the MPEG decoder 18 can accurately execute the video or audio decoding operation at the timing of the decoding time stamp DTS supplied from the built-in CPU 13.

プレゼンテーションタイムスタンプPTSのタイミングでLCD制御部14もしくは音声出力制御部19が映像表示もしくは音声出力を実行するように、内蔵CPU13はバス15を介して取得したプレゼンテーションタイムスタンプPTSの情報を事前にLCD制御部14もしくは音声出力制御部19に供給する。   The built-in CPU 13 performs LCD control in advance on the presentation time stamp PTS information acquired via the bus 15 so that the LCD control unit 14 or the audio output control unit 19 executes video display or audio output at the timing of the presentation time stamp PTS. To the unit 14 or the audio output control unit 19.

《TSパケットの構成》
図4は、図2に示したTSIF11のTSヘッダー解析部118によって解析される4バイトの固定長のヘッダーを含むMPEG−2のトランスポートストリームTSのTSパケットの構成を示す図である。
<< Configuration of TS packet >>
FIG. 4 is a diagram showing a structure of a TS packet of the MPEG-2 transport stream TS including a 4-byte fixed-length header analyzed by the TS header analysis unit 118 of the TSIF 11 shown in FIG.

図4に示すように、188バイトの固定長のTSパケットは4バイトの固定長のパケットヘッダー(Packet header)と残り184バイトのアダプテーションフィールド(Adaptation filed)および/またはペイロード(payload)とで構成される。   As shown in FIG. 4, a 188-byte fixed-length TS packet is composed of a 4-byte fixed-length packet header, a remaining 184-byte adaptation field (Adaptation filed) and / or a payload (payload). The

4バイト固定長のパケットヘッダには、8ビットの同期バイト(Synchronization byte)、1ビットの転送エラーインディケイタ(Transport error indicator)、1ビットのペイロードユニットスタートインディケイタ(payload unit start indicator)、1ビットの転送優先度(Transport priority)、13ビットのパケット識別子PID、2ビットの転送スクランブリング制御(Transport scrambling control)、2ビットのアダプテーションフィールド制御(Adaptation filed control)、4ビットの連続性指数(Continuity index)が含まれる。   The packet header with a fixed length of 4 bytes includes an 8-bit synchronization byte, a 1-bit transport error indicator, a 1-bit payload unit start indicator, and 1 bit. Transport priority, 13-bit packet identifier PID, 2-bit transfer scrambling control, 2-bit adaptation field control, 4-bit continuity index ) Is included.

上述のように、2ビットのアダプテーションフィールド制御の値“00”と値“01”と値“10”と値“11”は、それぞれ「将来使用のため予約済み」と「残りの184バイトはペイロードのみ」と「残りの184バイトはアダプテーションフィールドのみ」と「残りの184バイトはアダプテーションフィールドとペイロード」とを意味している。更にこのアダプテーションフィールドには、プログラム時刻基準参照値PCRが含まれている。   As described above, the value “00”, the value “01”, the value “10”, and the value “11” of the 2-bit adaptation field control are “reserved for future use” and “remaining 184 bytes are payloads”, respectively. "Only", "remaining 184 bytes are adaptation field only" and "remaining 184 bytes are adaptation field and payload". Further, the adaptation field includes a program time base reference value PCR.

《TSパケットの構成》
図5は、図2に示したTSIF11のPESヘッダー検出部116によって検出されるPESヘッダーを含むMPEG−2のPESパケットの構成を示す図である。
<< Configuration of TS packet >>
FIG. 5 is a diagram showing a configuration of an MPEG-2 PES packet including a PES header detected by the PES header detection unit 116 of the TSIF 11 shown in FIG.

図5に示すように、可変長のPESパケットは、PESヘッダー(PES header)とPESペイロード(PES payload)を含む。また、PESペイロード(PES payload)は、上述のように複数のセクションを含んでいる。上述のように1個のPESパケットに含まれたPESペイロードの最初のセクションの先頭にのみ、PESヘッダーが付加されている。   As shown in FIG. 5, the variable-length PES packet includes a PES header (PES header) and a PES payload. The PES payload includes a plurality of sections as described above. As described above, the PES header is added only to the head of the first section of the PES payload included in one PES packet.

PESヘッダーに、24ビットのパケットスタートコードプレフィックス (Packet start code prefix)、8ビットのストリームID(Stream ID)、16ビットのPESパケット長(PES packet length)、PESヘッダーオプション(PES header option)、スタッフィングバイト(Stuffing byte)が含まれている。このPESヘッダーで、重要なのは、16ビットのPESパケット長(PES packet length)である。   PES header includes 24-bit packet start code prefix, 8-bit stream ID, 16-bit PES packet length, PES header option, stuffing Contains a byte (Stuffing byte). What is important in this PES header is the 16-bit PES packet length.

PESヘッダーのPESヘッダーオプション(PES header option)には種々な情報が含まれているが、重要なのはPESヘッダーデータ長(PES header data length)である。更に、PESヘッダーのPESヘッダーオプション(PES header option)のオプションフィールド(Option field)にも種々な情報が含まれるが、重要なのはデコーディングタイムスタンプDTSとプレゼンテーションタイムスタンプPTSの情報である。
また、図2に示したTSIF11に含まれたPESヘッダー検出部116は、図5に示したPESヘッダー(PES header)に含まれるPESパケット長(PES packet length)を検出することによって、図3の下部に示す1個のPESパケットに含まれる全データの外部メモリ7へのDMAデータ転送に必要なDMA転送回数を算出することが可能とされている。すなわち、PESヘッダー検出部116によるPESヘッダーの検出の際に、PESヘッダーに含まれるPESパケット長が検出され、PESヘッダー検出部116によって算出されたDMA転送回数が図2に示したTSIF11のDMAC制御部112に設定されるものである。
Although various information is included in the PES header option of the PES header, what is important is the PES header data length. Furthermore, various information is also included in the option field of the PES header option (PES header option) of the PES header. What is important is information on the decoding time stamp DTS and the presentation time stamp PTS.
Further, the PES header detection unit 116 included in the TSIF 11 shown in FIG. 2 detects the PES packet length included in the PES header (PES header) shown in FIG. It is possible to calculate the number of DMA transfers necessary for DMA data transfer of all data included in one PES packet shown in the lower part to the external memory 7. That is, when the PES header is detected by the PES header detection unit 116, the length of the PES packet included in the PES header is detected, and the number of DMA transfers calculated by the PES header detection unit 116 is the DMAC control of the TSIF 11 shown in FIG. The unit 112 is set.

《PESヘッダー検出部の構成》
図6は、図1に示した本発明の実施の形態1による半導体集積回路としてのアプリケーションプロセッサ1に含まれたTSIF11に供給されるMPEG2−TSのデータレートを測定するためのPESヘッダー検出部116の構成を示す図である。
<< Configuration of PES Header Detection Unit >>
FIG. 6 shows a PES header detector 116 for measuring the data rate of MPEG2-TS supplied to the TSIF 11 included in the application processor 1 as the semiconductor integrated circuit according to the first embodiment of the present invention shown in FIG. FIG.

例えば、ワンセグ放送の動画像が1秒間に15枚の画像フレームを含むと想定すれば、1枚の画像フレーム分の符号化データが1個のPESパケットに対応するので、1秒間に15個のPESパケットがTSIF11に供給されるものとなる。   For example, if it is assumed that a moving image of one-segment broadcasting includes 15 image frames per second, the encoded data for one image frame corresponds to one PES packet, so 15 frames per second. The PES packet is supplied to the TSIF 11.

従って、図6に示したPESヘッダー検出部116のレジスタ1161は15個のメモリ領域を含むものである。PESヘッダー検出部116のレジスタ1161の15個のメモリ領域の各メモリ領域には、図5に示したPESパケットのPESヘッダーに含まれた16ビット(2バイト)のPESパケット長(PES packet length)の値が示されている。   Therefore, the register 1161 of the PES header detection unit 116 shown in FIG. 6 includes 15 memory areas. In each memory area of the 15 memory areas of the register 1161 of the PES header detection unit 116, a 16-bit (2 bytes) PES packet length (PES packet length) included in the PES header of the PES packet shown in FIG. The value of is shown.

第1番目の値PES packet length 0と第2番目の値PES packet length 1と……第14番目の値PES packet length 13と第15番目の値PES packet length 14とは、1秒間に含まれた15枚の画像フレームの1枚目の画像フレームに対応するPESパケットの長さと2枚目の画像フレームに対応するPESパケットの長さと…14枚目の画像フレームに対応するPESパケットの長さと15枚目の画像フレームに対応するPESパケットの長さとをそれぞれ示している。   The first value PES packet length 0, the second value PES packet length 1, ... the fourteenth value PES packet length 13 and the fifteenth value PES packet length 14 were included in one second. The length of the PES packet corresponding to the first image frame of the 15 image frames, the length of the PES packet corresponding to the second image frame, and the length of the PES packet corresponding to the 14th image frame are 15 The PES packet length corresponding to the first image frame is shown.

レジスタ1161の15個のメモリ領域に格納された15個のPESパケット長の値が加算器1164の15個の入力端子に供給されることによって、加算器1164の出力端子1163からは1秒間に含まれる15枚の画像フレームに対応する15個のPESパケットのデータ長の総和値が生成されるものである。   The 15 PES packet length values stored in the 15 memory areas of the register 1161 are supplied to the 15 input terminals of the adder 1164, so that they are included in 1 second from the output terminal 1163 of the adder 1164. A total value of data lengths of 15 PES packets corresponding to 15 image frames is generated.

ISDB−Tmmと呼ばれる次世代ワンセグ放送のMPEG2に準拠したトランスポートストリームTSのビットレートは非常に高いので、この場合のPESヘッダー検出部116の加算器1164の出力端子1163から生成されるPESパケット長の総和値は大きな値となる。従って、PESパケット長の総和値の大きな値が所定のしきい値を超過することに応答して、図1に示した本発明の実施の形態1によるアプリケーションプロセッサ1の動作モードは、第1の動作モードに設定される。第1の動作モードにアプリケーションプロセッサ1の動作モードが設定されることによって、図3の下部に示したように、第1回目のDMA転送と第2回目のDMA転送との間と、第2回目のDMA転送と第3回目のDMA転送との間と、第N回目のDMA転送と第N+1回目のDMA転送との間とで、それぞれ不必要な情報が含まれなくなる。   Since the bit rate of the transport stream TS compliant with MPEG2 of next-generation one-segment broadcasting called ISDB-Tmm is very high, the PES packet length generated from the output terminal 1163 of the adder 1164 of the PES header detection unit 116 in this case The total value of becomes a large value. Therefore, in response to the large value of the total sum of the PES packet lengths exceeding the predetermined threshold, the operation mode of the application processor 1 according to the first embodiment of the present invention shown in FIG. The operation mode is set. By setting the operation mode of the application processor 1 to the first operation mode, as shown in the lower part of FIG. 3, between the first DMA transfer and the second DMA transfer, Unnecessary information is not included between the first DMA transfer and the third DMA transfer, and between the Nth DMA transfer and the (N + 1) th DMA transfer.

一方、ISDB−Tmmと呼ばれる次世代ワンセグ放送のトランスポートストリームTSのビットレートよりも極めて低いビットレートを持つワンセグ放送のトランスポートストリームTSが受信される場合には、PESヘッダー検出部116の加算器1164の出力端子1163から生成されるPESパケット長の総和値は小さな値となる。従って、PESパケット長の総和値の小さな値が所定のしきい値を超過しないことに応答して、図1に示した本発明の実施の形態1によるアプリケーションプロセッサ1の動作モードは第2の動作モードに設定される。従って、第2の動作モードにアプリケーションプロセッサ1の動作モードが設定されることによって、複数のPESペイロードのための複数回のDMA転送の中間期間に4バイトのTSヘッダーの情報やPESヘッダーの情報等やその他の情報をDMA転送することが可能となる。   On the other hand, when a one-segment broadcast transport stream TS having a bit rate lower than the bit rate of the next-generation one-segment broadcast transport stream TS called ISDB-Tmm is received, the adder of the PES header detection unit 116 The total value of the PES packet lengths generated from the output terminal 1163 of 1164 is a small value. Accordingly, in response to the fact that the small sum of the PES packet lengths does not exceed the predetermined threshold, the operation mode of the application processor 1 according to the first embodiment of the present invention shown in FIG. Set to mode. Accordingly, when the operation mode of the application processor 1 is set as the second operation mode, information on the 4-byte TS header, information on the PES header, and the like in the intermediate period of a plurality of DMA transfers for a plurality of PES payloads. And other information can be DMA-transferred.

[実施の形態2]
《アプリケーションプロセッサを搭載した携帯電話》
図7は、図1に示した本発明の実施の形態1によるアプリケーションプロセッサ1を搭載した本発明の実施の形態2による携帯電話の構成を示す図である。
[Embodiment 2]
《Mobile phone with application processor》
FIG. 7 is a diagram showing a configuration of a mobile phone according to the second embodiment of the present invention on which the application processor 1 according to the first embodiment of the present invention shown in FIG. 1 is mounted.

すなわち、図7に示す本発明の実施の形態2による携帯電話は、図1に説明した本発明の実施の形態1によるアプリケーションプロセッサ1を搭載したものである。   That is, the cellular phone according to the second embodiment of the present invention shown in FIG. 7 is one in which the application processor 1 according to the first embodiment of the present invention described in FIG. 1 is installed.

図7の携帯電話は、携帯電話の機能を実現するために、アンテナ40、デュプレクサ50、RFアナログ信号処理集積回路60、RF電力増幅器70、ベースバンド・プロセッサ80、アプリケーションプロセッサ300を含んでいる。実際には、図7に示したアプリケーションプロセッサ300に含まれたメディアプロセッサ33が、図1に示した本発明の実施の形態1によるアプリケーションプロセッサ1に対応するものである。   The mobile phone of FIG. 7 includes an antenna 40, a duplexer 50, an RF analog signal processing integrated circuit 60, an RF power amplifier 70, a baseband processor 80, and an application processor 300 in order to realize the functions of the mobile phone. Actually, the media processor 33 included in the application processor 300 shown in FIG. 7 corresponds to the application processor 1 according to the first embodiment of the present invention shown in FIG.

また、図7の携帯電話は、ワンセグ地上波デジタル放送の視聴と外部不揮発性半導体記憶装置への録画を可能とするために、ロッドアンテナ100、ワンセグ地上波デジタル放送/チューナーモジュール200、アプリケーションプロセッサ300を含んでいる。すなわち、ワンセグ地上波デジタル放送/チューナーモジュール200は、ワンセグ地上波デジタル放送を受信するものである。   In addition, the mobile phone of FIG. 7 has a rod antenna 100, a one-segment terrestrial digital broadcast / tuner module 200, and an application processor 300 in order to enable one-seg terrestrial digital broadcast viewing and recording to an external nonvolatile semiconductor storage device. Is included. In other words, the one-segment terrestrial digital broadcast / tuner module 200 receives the one-segment terrestrial digital broadcast.

更に、アプリケーションプロセッサ300に接続されたLCD表示装置116とベースバンド・プロセッサ80に接続されたオーディオ集積回路119とは、携帯電話の機能とワンセグ地上波デジタル放送の視聴とを可能とするため使用される。   Further, the LCD display device 116 connected to the application processor 300 and the audio integrated circuit 119 connected to the baseband processor 80 are used to enable the function of a mobile phone and the viewing of one-segment digital terrestrial broadcasting. The

図示されてはいないが、アプリケーションプロセッサ300には操作キーや操作ボタンを有する操作デバイスが接続され、エンドユーザーが操作デバイスを操作することによって携帯電話による通話やワンセグ地上波デジタル放送の視聴および予約録画が可能となる。   Although not shown, an operation device having operation keys and operation buttons is connected to the application processor 300, so that an end user operates the operation device to make a call using a mobile phone, watch a one-segment terrestrial digital broadcast, and make a reservation recording. Is possible.

《携帯電話の機能》
エンドユーザーが操作デバイスを操作することによって、携帯電話による通話が開始される。アンテナ40により受信された基地局からのRF受信信号はデュプレクサ50を介して、RFIC60内部の受信信号処理部に供給される。RF受信信号はRFIC60の受信信号処理部でアナログ受信ベースバンド信号にダウンコンバートされ、アナログ受信ベースバンド信号はRFIC60内部のA/D変換器(図示せず)によってデジタル受信ベースバンド信号に変換される。
《Mobile phone functions》
When the end user operates the operation device, a mobile phone call is started. The RF reception signal from the base station received by the antenna 40 is supplied to the reception signal processing unit inside the RFIC 60 via the duplexer 50. The RF reception signal is down-converted into an analog reception baseband signal by the reception signal processing unit of the RFIC 60, and the analog reception baseband signal is converted into a digital reception baseband signal by an A / D converter (not shown) inside the RFIC 60. .

RFIC60のA/D変換器(図示せず)から供給されるデジタル受信ベースバンド信号は、ベースバンド・プロセッサ80で復調信号処理を受け、D/A変換器82によるD/A変換によって受信音声出力信号が生成される。受信音声出力信号は、オーディオIC119で増幅された後、スピーカー110に供給される。   A digital reception baseband signal supplied from an A / D converter (not shown) of the RFIC 60 is subjected to demodulated signal processing by a baseband processor 80, and received audio output by D / A conversion by a D / A converter 82. A signal is generated. The received audio output signal is amplified by the audio IC 119 and then supplied to the speaker 110.

マイクロフォン111の送信音声入力信号はオーディオIC119で増幅された後、ベースバンド・プロセッサ80のA/D変換器83によるA/D変換によってデジタル信号に変換され更にベースバンド・プロセッサ80の変調信号処理を受けて、デジタル送信ベースバンド信号に変換される。このデジタル送信ベースバンド信号は、RFIC60のD/A変換器(図示せず)によるD/A変換によってアナログ送信ベースバンド信号に変換され、アナログ送信ベースバンド信号はRFIC60の受信信号処理部でRF送信信号にアップコンバートされる。RF送信信号はRF電力増幅器70で増幅された後、デュプレクサ50とアンテナ40とを介して基地局に送信される。   The transmission audio input signal of the microphone 111 is amplified by the audio IC 119 and then converted into a digital signal by A / D conversion by the A / D converter 83 of the baseband processor 80, and further the modulation signal processing of the baseband processor 80 is performed. Then, it is converted into a digital transmission baseband signal. This digital transmission baseband signal is converted into an analog transmission baseband signal by D / A conversion by a D / A converter (not shown) of the RFIC 60, and the analog transmission baseband signal is RF-transmitted by the reception signal processing unit of the RFIC 60. Upconverted to signal. The RF transmission signal is amplified by the RF power amplifier 70 and then transmitted to the base station via the duplexer 50 and the antenna 40.

ワンセグ地上波デジタル放送/チューナーモジュール200と、ベースバンド・プロセッサ80と、オーディオIC119には、アプリケーションプロセッサ300が接続されている。   An application processor 300 is connected to the one-segment digital terrestrial broadcast / tuner module 200, the baseband processor 80, and the audio IC 119.

《アプリケーションプロセッサの構成》
アプリケーションプロセッサ300は、中央処理ユニット(CPU)31、外部メモリインターフェースユニット32、メディアプロセッサ33、LCDコントローラ14により構成されている。
<Application processor configuration>
The application processor 300 includes a central processing unit (CPU) 31, an external memory interface unit 32, a media processor 33, and the LCD controller 14.

CPU31は、CPUコア311、命令キャッシュメモリ312、データキャッシュメモリ313、内蔵SRAM314を含んでいる。   The CPU 31 includes a CPU core 311, an instruction cache memory 312, a data cache memory 313, and a built-in SRAM 314.

外部メモリインターフェースユニット32は、第1外部不揮発性半導体記憶装置112としてのフラッシュメモリに接続される第1外部メモリインターフェース322と、第1外部揮発性記憶装置113としての同期型ダイナミックランダムアクセスメモリに接続される第2外部メモリインターフェース323とを含んでいる。   The external memory interface unit 32 is connected to a first external memory interface 322 connected to a flash memory as the first external nonvolatile semiconductor storage device 112 and a synchronous dynamic random access memory as the first external volatile storage device 113. The second external memory interface 323 is included.

フラッシュメモリ112にはモバイル端末としての携帯電話の基本的な動作のためのオペレーティングシステム(OS)のソフトウェアが格納可能であり、SDRAM113には携帯電話の動作中およびワンセグ地上波デジタル放送の視聴動作もしくは録画を可能とする受信機の種々のデータが格納可能である。   The flash memory 112 can store operating system (OS) software for the basic operation of a mobile phone as a mobile terminal, and the SDRAM 113 can operate during the operation of the mobile phone and to view and listen to a one-segment terrestrial digital broadcast. Various data of the receiver that enables recording can be stored.

外部メモリインターフェースユニット32は、更に第2外部不揮発性半導体記憶装置114としてのフラッシュメモリに接続される第3外部メモリインターフェース324、拡張外部不揮発性半導体記憶装置115としてのモバイル端末としての携帯電話に挿入接続されるフラッシュメモリカードに接続される拡張外部メモリインターフェース325を含んでいる。   The external memory interface unit 32 is further inserted into a mobile phone as a mobile terminal as a third external memory interface 324 connected to a flash memory as the second external nonvolatile semiconductor memory device 114 and an extended external nonvolatile semiconductor memory device 115. An extended external memory interface 325 connected to the connected flash memory card is included.

フラッシュメモリ114には、フラッシュメモリ112に格納されたOS上に構築可能な携帯電話およびワンセグ地上波デジタル放送受信機の種々のアプリケーションプログラムのソフトウェアが、格納可能である。フラッシュメモリカード115には、携帯電話およびワンセグ地上波デジタル放送受信機の動作に関連して、エンドユーザーが不揮発記憶を指定して不揮発記憶する種々のデータおよびコンテンツが、格納可能である。   The flash memory 114 can store software for various application programs of a mobile phone and a one-segment terrestrial digital broadcast receiver that can be constructed on the OS stored in the flash memory 112. The flash memory card 115 can store various data and contents that the end user designates non-volatile storage and stores in a non-volatile manner in relation to the operation of the mobile phone and the one-segment terrestrial digital broadcast receiver.

メディアプロセッサ33は、トランスポートストリームインターフェース331、MPEGデコーダ332によって構成されている。特に、メディアプロセッサ33に内蔵されたトランスポートストリームインターフェース331とMPEGデコーダ332とは、図1に示した本発明の実施の形態1によるアプリケーションプロセッサ1に内蔵されたTSIF11とMPEGデコーダ18に対応するものである。   The media processor 33 includes a transport stream interface 331 and an MPEG decoder 332. In particular, the transport stream interface 331 and the MPEG decoder 332 built in the media processor 33 correspond to the TSIF 11 and the MPEG decoder 18 built in the application processor 1 according to Embodiment 1 of the present invention shown in FIG. It is.

一方、ワンセグ地上波デジタル放送/チューナーモジュール200からのトランスポートストリームTSは、チューナーモジュール200受信されたデジタル放送番組のデジタル化され多重化されMPEGの圧縮形式の映像情報、音声情報および付随伝送情報を含んでいる。付随情報には、番組特定情報または番組配列情報として、番組毎に開始時間、番組長、番組名、出演者、番組のジャンル等を記述したイベント情報テーブルが含まれている。   On the other hand, the transport stream TS from the one-segment terrestrial digital broadcasting / tuner module 200 is digitized and multiplexed of the digital broadcasting program received by the tuner module 200, and includes MPEG compressed video information, audio information, and accompanying transmission information. Contains. The accompanying information includes an event information table in which start time, program length, program name, performer, program genre, and the like are described for each program as program identification information or program arrangement information.

《ワンセグ地上波デジタル放送の番組の視聴》
視聴の前に、LCD表示装置116でのイベント情報テーブルの表示を見ながらエンドユーザーが操作デバイスを操作することによってワンセグ地上波デジタル放送の番組を選択することができる。
《Viewing 1Seg digital terrestrial broadcast programs》
Before viewing, a one-segment digital terrestrial broadcast program can be selected by the end user operating the operation device while viewing the display of the event information table on the LCD display device 116.

ワンセグ地上波デジタル放送の番組視聴は、フラッシュメモリ112の格納OS上に構築可能なアプリケーションプログラムの1つである放送番組視聴プログラムのアプリケーションプロセッサ300による実行によって可能となる。放送番組視聴の設定に応答してアプリケーションプロセッサ300のCPU31は、ワンセグ地上波デジタル放送/チューナーモジュール200に視聴を選択したワンセグ地上波デジタル放送の番組のトランスポートストリームの受信を指示する。   One-seg terrestrial digital broadcast program viewing is enabled by execution of the broadcast program viewing program, which is one of the application programs that can be built on the OS stored in the flash memory 112, by the application processor 300. In response to the broadcast program viewing setting, the CPU 31 of the application processor 300 instructs the one-segment digital terrestrial broadcast / tuner module 200 to receive a transport stream of the one-segment digital terrestrial broadcast program selected to be viewed.

番組の選択によって受信が開始されたワンセグ地上波デジタル放送のトランスポートストリームTSは、ワンセグ地上波デジタル放送/チューナーモジュール200からトランスポートストリームインターフェース331を介してMPEGデコーダ332に供給される。MPEGデコーダ332でトランスポートストリームTSの動画復号処理が行われ、復号動画データはLCDコントローラ14を介してLCD表示装置116に供給され、復号音声データは音声インターフェース19とオーディオIC119とを介してスピーカー110に供給される。このようにして、エンドユーザーは、ワンセグ地上波デジタル放送の番組を視聴することができる。   The transport stream TS of the one seg terrestrial digital broadcast that has been received by the selection of the program is supplied from the one seg terrestrial digital broadcast / tuner module 200 to the MPEG decoder 332 via the transport stream interface 331. The moving picture decoding process of the transport stream TS is performed by the MPEG decoder 332, the decoded moving picture data is supplied to the LCD display device 116 via the LCD controller 14, and the decoded voice data is supplied to the speaker 110 via the voice interface 19 and the audio IC 119. To be supplied. In this way, the end user can view a one-segment terrestrial digital broadcast program.

《外部不揮発性半導体記憶装置へのワンセグ地上波デジタル放送の予約録画》
外部不揮発性半導体記憶装置へのワンセグ地上波デジタル放送の録画の予約は、LCD表示装置116でのイベント情報テーブルの表示を見ながらのエンドユーザーによる操作デバイスの操作による予約録画するワンセグ地上波デジタル放送の番組の決定で可能となる。このワンセグ地上波デジタル放送の予約録画も、フラッシュメモリ112の格納OS上に構築可能なアプリケーションプログラムの1つである予約録画プログラムのアプリケーションプロセッサ300による実行により可能となる。
《One-segment digital terrestrial broadcast recording to external non-volatile semiconductor storage device》
Reserving recording of one-segment digital terrestrial broadcasting to an external non-volatile semiconductor storage device is one-segment digital terrestrial broadcasting in which recording is performed by operating an operation device by an end user while viewing the display of the event information table on the LCD display 116. It becomes possible by determining the program. This one-segment digital terrestrial broadcast reservation recording can also be performed by the application processor 300 executing a reservation recording program that is one of the application programs that can be constructed on the OS stored in the flash memory 112.

録画予約が設定されると、プログラム実行中のアプリケーションプロセッサ300のCPU31のCPUコア311の図示しないウオッチドックタイマを利用することにより、録画予約が設定された番組の開始時間の到達を知ることができる。   When the recording reservation is set, the arrival of the start time of the program for which the recording reservation is set can be known by using a watchdog timer (not shown) of the CPU core 311 of the CPU 31 of the application processor 300 that is executing the program. .

録画予約が設定された番組の開始時間に到達すると、CPU31はワンセグ地上波デジタル放送/チューナーモジュール200に録画予約が設定された番組のワンセグ地上波デジタル放送の受信開始トランスポートストリームインターフェース331にTSデータの受信開始とを指示する。それと同時に、CPU31は、トランスポートストリームインターフェース331に録画予約が設定された番組のトランスポートストリームの拡張外部メモリインターフェース325を介してフラッシュメモリカード115への不揮発記憶の開始を指示する。フラッシュメモリカード115への不揮発記憶の開始により、予約録画の動作が開始される。   When the start time of the program for which the recording reservation is set is reached, the CPU 31 starts the reception of the one-seg terrestrial digital broadcast of the program for which the recording reservation is set in the one-segment terrestrial digital broadcasting / tuner module 200, and sends TS data to the transport stream interface 331. To start receiving. At the same time, the CPU 31 instructs the start of nonvolatile storage to the flash memory card 115 via the extended external memory interface 325 of the transport stream of the program whose recording reservation is set in the transport stream interface 331. With the start of non-volatile storage in the flash memory card 115, the reservation recording operation is started.

予約録画の動作が開始された後、プログラム実行によりアプリケーションプロセッサ300のCPU31のCPUコア311の図示しないウオッチドックタイマには録画予約が設定された番組の終了時間が設定される。番組の終了時間は、CPU31によるイベント情報テーブルの開始時間と番組長との加算により算出される。録画予約が設定された番組の終了時間に到達した後、CPU31はワンセグ地上波デジタル放送/チューナーモジュール200に録画予約が設定された番組のワンセグ地上波デジタル放送の受信終了とトランスポートストリームインターフェース331にTSデータの受信終了とを指示する。それと同時に、CPU31は、トランスポートストリームインターフェース331に拡張外部メモリインターフェース325を介してのフラッシュメモリカード115への書き込みデータの不揮発記憶の終了を指示する。   After the reserved recording operation is started, the end time of the program for which recording reservation is set is set in a watchdog timer (not shown) of the CPU core 311 of the CPU 31 of the application processor 300 by executing the program. The program end time is calculated by adding the start time of the event information table and the program length by the CPU 31. After reaching the end time of the program for which the recording reservation is set, the CPU 31 ends the reception of the one-segment terrestrial digital broadcast of the program for which the recording reservation is set in the one-segment terrestrial digital broadcasting / tuner module 200 and the transport stream interface 331. Instructs the end of reception of TS data. At the same time, the CPU 31 instructs the transport stream interface 331 to end nonvolatile storage of the write data to the flash memory card 115 via the extended external memory interface 325.

また、予約録画が完了した後に、フラッシュメモリカード115は拡張外部メモリインターフェース325から引き抜かれ、携帯電話外部のパーソナルコンピュータ等のメモリスロットに挿入されることによって、パーソナルコンピュータ等の大型表示画面を利用して動画像を視聴することができる。   In addition, after the scheduled recording is completed, the flash memory card 115 is pulled out from the extended external memory interface 325 and inserted into a memory slot of a personal computer or the like outside the mobile phone, thereby using a large display screen of a personal computer or the like. You can watch videos.

以上、本発明者によってなされた発明を種々の実施の形態に基づいて具体的に説明したが、本発明はそれに限定されるものではなく、その要旨を逸脱しない範囲において種々変更可能であることは言うまでもない。   As mentioned above, the invention made by the present inventor has been specifically described based on various embodiments. However, the present invention is not limited thereto, and various modifications can be made without departing from the scope of the invention. Needless to say.

例えば、図1に示したアプリケーションプロセッサ1のシステムLSIの半導体チップと外部メモリ7としてのSDRAMの半導体チップは、システムインパッケージ(SIP)もしくはマルチチップモジュール(MCP)の封止パッケージ内部に内蔵されることが可能である。   For example, the system LSI semiconductor chip of the application processor 1 and the SDRAM semiconductor chip of the external memory 7 shown in FIG. 1 are incorporated in a sealed package of a system-in-package (SIP) or multi-chip module (MCP). It is possible.

更に図7に示した携帯電話で、ベースバンド・プロセッサ80とアプリケーションプロセッサ300とは、単一の統合型シングルチップの超大規模半導体集積回路に集積化されることが可能である。   Further, in the mobile phone shown in FIG. 7, the baseband processor 80 and the application processor 300 can be integrated in a single integrated single-chip ultra large-scale semiconductor integrated circuit.

1…アプリケーションプロセッサ
2…デジタルテレビアンテナ
3…外部デジタルテレビチューナー
11…トランスポートストリームインターフェース
12…ダイレクトメモリアクセスコントローラ(DMAC)
13…中央処理ユニット(CPU)
14…LCD制御部
15…データバス
16…タイマ
17…メモリインターフェース
18…MPEGデコーダ
19…音声出力制御部
110…タイムスタンプ付加部
111…TS(トランスポートストリーム)バッファ
112…DMAC制御部
113…タイムスタンプバッファ
114…受信間隔算出部
115…受信間隔バッファ
116…ESヘッダー検出部
117…PESヘッダー長算出部
118…TSヘッダー解析部
DESCRIPTION OF SYMBOLS 1 ... Application processor 2 ... Digital television antenna 3 ... External digital television tuner 11 ... Transport stream interface 12 ... Direct memory access controller (DMAC)
13. Central processing unit (CPU)
DESCRIPTION OF SYMBOLS 14 ... LCD control part 15 ... Data bus 16 ... Timer 17 ... Memory interface 18 ... MPEG decoder 19 ... Audio | voice output control part 110 ... Time stamp addition part 111 ... TS (transport stream) buffer 112 ... DMAC control part 113 ... Time stamp Buffer 114: Reception interval calculation unit 115 ... Reception interval buffer 116 ... ES header detection unit 117 ... PES header length calculation unit 118 ... TS header analysis unit

Claims (20)

受信インターフェースと、中央処理ユニットと、MPEGデコーダと、メモリインターフェースと、バスと、ダイレクトメモリアクセスコントローラとを具備する半導体集積回路であって、
前記バスには、前記受信インターフェースと前記中央処理ユニットと前記MPEGデコーダと前記メモリインターフェースと前記ダイレクトメモリアクセスコントローラとが接続され、
前記メモリインターフェースは、外部メモリと接続可能とされ、
前記受信インターフェースは、MPEGトランスポートストリームに含まれる多数のTSパケットを受信可能とされ、前記多数のTSパケットは同一のバケット識別子を有する複数のTSパケットを含み、前記同一のバケット識別子を有する前記複数のTSパケットは1個のパケッタイズドエレメンタリストリームパケットを構成可能なものであり、
前記受信インターフェースは、バッファと受信間隔算出部とPESヘッダー検出部を含み、前記バッファは前記複数のTSパケットに含まれる少なくとも1個のTSパケットを蓄積可能とされ、前記受信間隔算出部は前記受信インターフェースによって受信される前記複数のTSパケットの受信間隔を算出可能とされ、前記PESヘッダー検出部は前記1個のパケッタイズドエレメンタリストリームパケットに含まれるPESヘッダーを検出可能とされ、
前記受信インターフェースの前記バッファに前記複数のTSパケットの最初のTSパケットが蓄積され、前記受信インターフェースの前記PESヘッダー検出部が前記PESヘッダーを検出したことに応答して、前記受信インターフェースは前記ダイレクトメモリアクセスコントローラに最初のDMA転送を要求して、
前記ダイレクトメモリアクセスコントローラによる前記最初のDMA転送によって、前記受信インターフェースの前記バッファから前記PESヘッダーのデータと前記PESヘッダーの後続のPESペイロードの最初のセクションのデータとが、前記バスと前記メモリインターフェースとを介して前記外部メモリに転送可能とされ、
前記受信インターフェースの前記バッファに前記複数のTSパケットの後続のTSパケットが蓄積され、前記受信インターフェースの前記受信間隔算出部が前記受信間隔を算出したことに応答して、前記受信インターフェースは前記ダイレクトメモリアクセスコントローラに後続のDMA転送を要求して、
前記ダイレクトメモリアクセスコントローラによる前記後続のDMA転送によって、前記受信インターフェースの前記バッファから前記PESペイロードの前記最初のセクションの後続のセクションのデータが、前記バスと前記メモリインターフェースとを介して前記外部メモリに転送可能とされるたことを特徴とする半導体集積回路。
A semiconductor integrated circuit comprising a receiving interface, a central processing unit, an MPEG decoder, a memory interface, a bus, and a direct memory access controller,
The bus is connected to the reception interface, the central processing unit, the MPEG decoder, the memory interface, and the direct memory access controller.
The memory interface can be connected to an external memory,
The reception interface is capable of receiving a large number of TS packets included in an MPEG transport stream, the multiple TS packets including a plurality of TS packets having the same bucket identifier, and the plurality of TS packets having the same bucket identifier. The TS packet can constitute one packetized elementary stream packet,
The reception interface includes a buffer, a reception interval calculation unit, and a PES header detection unit. The buffer is capable of storing at least one TS packet included in the plurality of TS packets, and the reception interval calculation unit is configured to receive the reception interval. The reception interval of the plurality of TS packets received by the interface can be calculated, and the PES header detection unit can detect a PES header included in the one packetized elementary stream packet,
In response to the first TS packet of the plurality of TS packets being accumulated in the buffer of the reception interface and the PES header detection unit of the reception interface detecting the PES header, the reception interface Request the first DMA transfer to the access controller,
By the first DMA transfer by the direct memory access controller, the data of the PES header and the data of the first section of the PES payload following the PES header from the buffer of the receiving interface are transferred to the bus and the memory interface. Can be transferred to the external memory via
In response to the fact that TS packets subsequent to the plurality of TS packets are accumulated in the buffer of the reception interface, and the reception interval calculation unit of the reception interface calculates the reception interval, the reception interface receives the direct memory. Request the access controller for a subsequent DMA transfer,
By the subsequent DMA transfer by the direct memory access controller, the data of the subsequent section of the first section of the PES payload from the buffer of the receiving interface is transferred to the external memory through the bus and the memory interface. A semiconductor integrated circuit characterized in that transfer is possible.
請求項1において、
前記受信インターフェースは、前記受信インターフェースによって受信される前記複数のTSパケットにそれぞれ複数の受信タイムスタンプを付加するタイムスタンプ付加部を更に含むものであり、
前記受信間隔算出部が前記複数のTSパケットに付加された前記複数の受信タイムスタンプの差分を検出することによって、前記受信間隔を算出することを特徴とする半導体集積回路。
In claim 1,
The reception interface further includes a time stamp adding unit that adds a plurality of reception time stamps to the plurality of TS packets received by the reception interface,
The semiconductor integrated circuit, wherein the reception interval calculation unit calculates the reception interval by detecting a difference between the plurality of reception time stamps added to the plurality of TS packets.
請求項2において、
前記ダイレクトメモリアクセスコントローラによる前記最初のDMA転送の完了の後に、前記中央処理ユニットは前記バスと前記メモリインターフェースとを介して前記外部メモリをアクセス可能とされ、
前記アクセスによって、前記中央処理ユニットは、前記PESヘッダーに含まれるデコーディングタイムスタンプの情報とプレゼンテーションタイムスタンプの情報とを前記外部メモリから取得可能とされたことを特徴とする半導体集積回路。
In claim 2,
After completion of the first DMA transfer by the direct memory access controller, the central processing unit is allowed to access the external memory via the bus and the memory interface;
The semiconductor integrated circuit according to claim 1, wherein the access enables the central processing unit to acquire information on a decoding time stamp and information on a presentation time stamp included in the PES header from the external memory.
請求項3において、
前記中央処理ユニットは前記外部メモリから取得した前記デコーディングタイムスタンプの前記情報を前記MPEGデコーダに供給可能とされたことを特徴とする半導体集積回路。
In claim 3,
The semiconductor integrated circuit according to claim 1, wherein the central processing unit can supply the information of the decoding time stamp acquired from the external memory to the MPEG decoder.
請求項4において、
前記半導体集積回路は、前記バスと接続された画像表示制御部と音声出力制御部とを更に具備して、
前記中央処理ユニットは前記外部メモリから取得した前記プレゼンテーションタイムスタンプの前記情報を前記画像表示制御部と前記音声出力制御部とに供給可能とされたことを特徴とする半導体集積回路。
In claim 4,
The semiconductor integrated circuit further comprises an image display control unit and an audio output control unit connected to the bus,
The semiconductor integrated circuit according to claim 1, wherein the central processing unit can supply the information of the presentation time stamp acquired from the external memory to the image display control unit and the audio output control unit.
請求項5において、
前記受信インターフェースは、前記多数のTSパケットを受信可能とされたTSヘッダー解析部を更に含み、
前記受信インターフェースの前記TSヘッダー解析部は、前記多数のTSパケットの各TSヘッダーにペイロードユニットスタートインディケイタが含まれるか否かを検出可能とされ、
前記TSヘッダー解析部が前記ペイロードユニットスタートインディケイタを検出したことに応答して、前記TSヘッダー解析部は前記PESヘッダー検出部による前記PESヘッダーの検出動作の開始することを特徴とする半導体集積回路。
In claim 5,
The reception interface further includes a TS header analysis unit capable of receiving the multiple TS packets,
The TS header analysis unit of the reception interface can detect whether or not a payload unit start indicator is included in each TS header of the multiple TS packets.
In response to detection of the payload unit start indicator by the TS header analysis unit, the TS header analysis unit starts detection of the PES header by the PES header detection unit. .
請求項6において、
前記受信インターフェースの前記TSヘッダー解析部は、検出した前記ペイロードユニットスタートインディケイタを含む1個のTSパケットのTSヘッダーに含まれるパケット識別子の値を記憶可能とされ、
前記受信インターフェースの前記TSヘッダー解析部は、前記ペイロードユニットスタートインディケイタを含んだ前記1個のTSパケットの後続のTSパケットの後続のTSヘッダーに含まれる後続のパケット識別子と記憶された前記パケット識別子の前記値とを比較可能とされ、
前記受信インターフェースの前記TSヘッダー解析部は、記憶された前記パケット識別子の前記値と前記後続のTSパケットの前記後続のパケット識別子とが一致すると、PID一致検出出力信号を生成可能とされ、
前記TSヘッダー解析部から生成される前記PID一致検出出力信号と前記受信間隔算出部によって算出された前記受信間隔とに応答して、前記受信インターフェースは前記ダイレクトメモリアクセスコントローラに前記後続のDMA転送を要求することを特徴とする半導体集積回路。
In claim 6,
The TS header analysis unit of the reception interface can store a value of a packet identifier included in a TS header of one TS packet including the detected payload unit start indicator,
The TS header analysis unit of the reception interface includes a subsequent packet identifier included in a subsequent TS header of a subsequent TS packet of the one TS packet including the payload unit start indicator and the stored packet identifier. Can be compared with the value of
The TS header analysis unit of the reception interface can generate a PID match detection output signal when the stored value of the packet identifier matches the subsequent packet identifier of the subsequent TS packet,
In response to the PID match detection output signal generated from the TS header analysis unit and the reception interval calculated by the reception interval calculation unit, the reception interface performs the subsequent DMA transfer to the direct memory access controller. A semiconductor integrated circuit characterized by the demand.
請求項7において、
前記受信インターフェースの前記PESヘッダー検出部は、前記PESヘッダーに含まれるPESヘッダーデータ長を検出可能とされ、
前記PESヘッダー検出部によって検出された前記PESヘッダーデータ長を有する前記PESヘッダーの前記PESヘッダー検出部による検出動作が完了した後に、前記PESヘッダー検出部はスリープ状態に制御されることを特徴とする半導体集積回路。
In claim 7,
The PES header detection unit of the reception interface can detect a PES header data length included in the PES header,
The PES header detection unit is controlled to be in a sleep state after the detection operation by the PES header detection unit of the PES header having the PES header data length detected by the PES header detection unit is completed. Semiconductor integrated circuit.
請求項7において、
前記受信インターフェースの前記PESヘッダー検出部は、前記PESヘッダーに含まれるPESパケット長を検出可能とされ、
前記PESヘッダー検出部によって検出された前記PESパケット長に基づき、前記PESヘッダー検出部は前記PESペイロードの前記最初のセクションの前記データから前記後続のセクションの前記データの転送に必要なDMA転送回数が算出されることを特徴とする半導体集積回路。
In claim 7,
The PES header detection unit of the reception interface is capable of detecting a PES packet length included in the PES header;
Based on the PES packet length detected by the PES header detection unit, the PES header detection unit determines the number of DMA transfers necessary for transferring the data of the subsequent section from the data of the first section of the PES payload. A semiconductor integrated circuit characterized by being calculated.
請求項6において、
前記メモリインターフェースは、前記外部メモリとしてのDRAMと接続可能とされ、
前記半導体集積回路の半導体チップと前記DRAMの半導体チップとは、システムインパッケージもしくはマルチチップモジュールの封止パッケージ内部に内蔵されたことを特徴とする半導体集積回路。
In claim 6,
The memory interface can be connected to a DRAM as the external memory,
A semiconductor integrated circuit, wherein the semiconductor chip of the semiconductor integrated circuit and the semiconductor chip of the DRAM are built in a system-in-package or a sealed package of a multi-chip module.
受信インターフェースと、中央処理ユニットと、MPEGデコーダと、メモリインターフェースと、バスと、ダイレクトメモリアクセスコントローラとを具備する半導体集積回路の動作方法であって、
前記バスには、前記受信インターフェースと前記中央処理ユニットと前記MPEGデコーダと前記メモリインターフェースと前記ダイレクトメモリアクセスコントローラとが接続され、
前記メモリインターフェースは、外部メモリと接続可能とされ、
前記受信インターフェースは、MPEGトランスポートストリームに含まれる多数のTSパケットを受信可能とされ、前記多数のTSパケットは同一のバケット識別子を有する複数のTSパケットを含み、前記同一のバケット識別子を有する前記複数のTSパケットは1個のパケッタイズドエレメンタリストリームパケットを構成可能なものであり、
前記受信インターフェースは、バッファと受信間隔算出部とPESヘッダー検出部を含み、前記バッファは前記複数のTSパケットに含まれる少なくとも1個のTSパケットを蓄積可能とされ、前記受信間隔算出部は前記受信インターフェースによって受信される前記複数のTSパケットの受信間隔を算出可能とされ、前記PESヘッダー検出部は前記1個のパケッタイズドエレメンタリストリームパケットに含まれるPESヘッダーを検出可能とされ、
前記受信インターフェースの前記バッファに前記複数のTSパケットの最初のTSパケットが蓄積され、前記受信インターフェースの前記PESヘッダー検出部が前記PESヘッダーを検出したことに応答して、前記受信インターフェースは前記ダイレクトメモリアクセスコントローラに最初のDMA転送を要求して、
前記ダイレクトメモリアクセスコントローラによる前記最初のDMA転送によって、前記受信インターフェースの前記バッファから前記PESヘッダーのデータと前記PESヘッダーの後続のPESペイロードの最初のセクションのデータとが、前記バスと前記メモリインターフェースとを介して前記外部メモリに転送可能とされ、
前記受信インターフェースの前記バッファに前記複数のTSパケットの後続のTSパケットが蓄積され、前記受信インターフェースの前記受信間隔算出部が前記受信間隔を算出したことに応答して、前記受信インターフェースは前記ダイレクトメモリアクセスコントローラに後続のDMA転送を要求して、
前記ダイレクトメモリアクセスコントローラによる前記後続のDMA転送によって、前記受信インターフェースの前記バッファから前記PESペイロードの前記最初のセクションの後続のセクションのデータが、前記バスと前記メモリインターフェースとを介して前記外部メモリに転送可能とされるたことを特徴とする半導体集積回路の動作方法。
A method of operating a semiconductor integrated circuit comprising a receiving interface, a central processing unit, an MPEG decoder, a memory interface, a bus, and a direct memory access controller,
The bus is connected to the reception interface, the central processing unit, the MPEG decoder, the memory interface, and the direct memory access controller.
The memory interface can be connected to an external memory,
The reception interface is capable of receiving a large number of TS packets included in an MPEG transport stream, the multiple TS packets including a plurality of TS packets having the same bucket identifier, and the plurality of TS packets having the same bucket identifier. The TS packet can constitute one packetized elementary stream packet,
The reception interface includes a buffer, a reception interval calculation unit, and a PES header detection unit. The buffer is capable of storing at least one TS packet included in the plurality of TS packets, and the reception interval calculation unit is configured to receive the reception interval. The reception interval of the plurality of TS packets received by the interface can be calculated, and the PES header detection unit can detect a PES header included in the one packetized elementary stream packet,
In response to the first TS packet of the plurality of TS packets being accumulated in the buffer of the reception interface and the PES header detection unit of the reception interface detecting the PES header, the reception interface Request the first DMA transfer to the access controller,
By the first DMA transfer by the direct memory access controller, the data of the PES header and the data of the first section of the PES payload following the PES header from the buffer of the receiving interface are transferred to the bus and the memory interface. Can be transferred to the external memory via
In response to the fact that TS packets subsequent to the plurality of TS packets are accumulated in the buffer of the reception interface, and the reception interval calculation unit of the reception interface calculates the reception interval, the reception interface receives the direct memory. Request the access controller for a subsequent DMA transfer,
By the subsequent DMA transfer by the direct memory access controller, the data of the subsequent section of the first section of the PES payload from the buffer of the receiving interface is transferred to the external memory through the bus and the memory interface. A method for operating a semiconductor integrated circuit, wherein transfer is possible.
請求項11において、
前記受信インターフェースは、前記受信インターフェースによって受信される前記複数のTSパケットにそれぞれ複数の受信タイムスタンプを付加するタイムスタンプ付加部を更に含むものであり、
前記受信間隔算出部が前記複数のTSパケットに付加された前記複数の受信タイムスタンプの差分を検出することによって、前記受信間隔を算出することを特徴とする半導体集積回路の動作方法。
In claim 11,
The reception interface further includes a time stamp adding unit that adds a plurality of reception time stamps to the plurality of TS packets received by the reception interface,
The operation method of a semiconductor integrated circuit, wherein the reception interval calculation unit calculates the reception interval by detecting a difference between the plurality of reception time stamps added to the plurality of TS packets.
請求項12において、
前記ダイレクトメモリアクセスコントローラによる前記最初のDMA転送の完了の後に、前記中央処理ユニットは前記バスと前記メモリインターフェースとを介して前記外部メモリをアクセス可能とされ、
前記アクセスによって、前記中央処理ユニットは、前記PESヘッダーに含まれるデコーディングタイムスタンプの情報とプレゼンテーションタイムスタンプの情報とを前記外部メモリから取得可能とされたことを特徴とする半導体集積回路の動作方法。
In claim 12,
After completion of the first DMA transfer by the direct memory access controller, the central processing unit is allowed to access the external memory via the bus and the memory interface;
The operation method of a semiconductor integrated circuit, wherein the access enables the central processing unit to acquire information on a decoding time stamp and information on a presentation time stamp included in the PES header from the external memory. .
請求項13において、
前記中央処理ユニットは前記外部メモリから取得した前記デコーディングタイムスタンプの前記情報を前記MPEGデコーダに供給可能とされたことを特徴とする半導体集積回路の動作方法。
In claim 13,
The method of operating a semiconductor integrated circuit, wherein the central processing unit can supply the information of the decoding time stamp acquired from the external memory to the MPEG decoder.
請求項14において、
前記半導体集積回路は、前記バスと接続された画像表示制御部と音声出力制御部とを更に具備して、
前記中央処理ユニットは前記外部メモリから取得した前記プレゼンテーションタイムスタンプの前記情報を前記画像表示制御部と前記音声出力制御部とに供給可能とされたことを特徴とする半導体集積回路の動作方法。
In claim 14,
The semiconductor integrated circuit further comprises an image display control unit and an audio output control unit connected to the bus,
The operation method of a semiconductor integrated circuit, wherein the central processing unit can supply the information of the presentation time stamp acquired from the external memory to the image display control unit and the audio output control unit.
請求項15において、
前記受信インターフェースは、前記多数のTSパケットを受信可能とされたTSヘッダー解析部を更に含み、
前記受信インターフェースの前記TSヘッダー解析部は、前記多数のTSパケットの各TSヘッダーにペイロードユニットスタートインディケイタが含まれるか否かを検出可能とされ、
前記TSヘッダー解析部が前記ペイロードユニットスタートインディケイタを検出したことに応答して、前記TSヘッダー解析部は前記PESヘッダー検出部による前記PESヘッダーの検出動作の開始することを特徴とする半導体集積回路の動作方法。
In claim 15,
The reception interface further includes a TS header analysis unit capable of receiving the multiple TS packets,
The TS header analysis unit of the reception interface can detect whether or not a payload unit start indicator is included in each TS header of the multiple TS packets.
In response to detection of the payload unit start indicator by the TS header analysis unit, the TS header analysis unit starts detection of the PES header by the PES header detection unit. How it works.
請求項16において、
前記受信インターフェースの前記TSヘッダー解析部は、検出した前記ペイロードユニットスタートインディケイタを含む1個のTSパケットのTSヘッダーに含まれるパケット識別子の値を記憶可能とされ、
前記受信インターフェースの前記TSヘッダー解析部は、前記ペイロードユニットスタートインディケイタを含んだ前記1個のTSパケットの後続のTSパケットの後続のTSヘッダーに含まれる後続のパケット識別子と記憶された前記パケット識別子の前記値とを比較可能とされ、
前記受信インターフェースの前記TSヘッダー解析部は、記憶された前記パケット識別子の前記値と前記後続のTSパケットの前記後続のパケット識別子とが一致すると、PID一致検出出力信号を生成可能とされ、
前記TSヘッダー解析部から生成される前記PID一致検出出力信号と前記受信間隔算出部によって算出された前記受信間隔とに応答して、前記受信インターフェースは前記ダイレクトメモリアクセスコントローラに前記後続のDMA転送を要求することを特徴とする半導体集積回路の動作方法。
In claim 16,
The TS header analysis unit of the reception interface can store a value of a packet identifier included in a TS header of one TS packet including the detected payload unit start indicator,
The TS header analysis unit of the reception interface includes a subsequent packet identifier included in a subsequent TS header of a subsequent TS packet of the one TS packet including the payload unit start indicator and the stored packet identifier. Can be compared with the value of
The TS header analysis unit of the reception interface can generate a PID match detection output signal when the stored value of the packet identifier matches the subsequent packet identifier of the subsequent TS packet,
In response to the PID match detection output signal generated from the TS header analysis unit and the reception interval calculated by the reception interval calculation unit, the reception interface performs the subsequent DMA transfer to the direct memory access controller. A method for operating a semiconductor integrated circuit, comprising:
請求項17において、
前記受信インターフェースの前記PESヘッダー検出部は、前記PESヘッダーに含まれるPESヘッダーデータ長を検出可能とされ、
前記PESヘッダー検出部によって検出された前記PESヘッダーデータ長を有する前記PESヘッダーの前記PESヘッダー検出部による検出動作が完了した後に、前記PESヘッダー検出部はスリープ状態に制御されることを特徴とする半導体集積回路の動作方法。
In claim 17,
The PES header detection unit of the reception interface can detect a PES header data length included in the PES header,
The PES header detection unit is controlled to be in a sleep state after the detection operation by the PES header detection unit of the PES header having the PES header data length detected by the PES header detection unit is completed. A method of operating a semiconductor integrated circuit.
請求項17において、
前記受信インターフェースの前記PESヘッダー検出部は、前記PESヘッダーに含まれるPESパケット長を検出可能とされ、
前記PESヘッダー検出部によって検出された前記PESパケット長に基づき、前記PESヘッダー検出部は前記PESペイロードの前記最初のセクションの前記データから前記後続のセクションの前記データの転送に必要なDMA転送回数が算出されることを特徴とする半導体集積回路の動作方法。
In claim 17,
The PES header detection unit of the reception interface is capable of detecting a PES packet length included in the PES header;
Based on the PES packet length detected by the PES header detection unit, the PES header detection unit determines the number of DMA transfers necessary for transferring the data of the subsequent section from the data of the first section of the PES payload. A method for operating a semiconductor integrated circuit, characterized by being calculated.
請求項17において、
前記メモリインターフェースは、前記外部メモリとしてのDRAMと接続可能とされ、
前記半導体集積回路の半導体チップと前記DRAMの半導体チップとは、システムインパッケージもしくはマルチチップモジュールの封止パッケージ内部に内蔵されたことを特徴とする半導体集積回路の動作方法。
In claim 17,
The memory interface can be connected to a DRAM as the external memory,
A method of operating a semiconductor integrated circuit, wherein the semiconductor chip of the semiconductor integrated circuit and the semiconductor chip of the DRAM are built in a system-in-package or a sealed package of a multi-chip module.
JP2010149251A 2010-06-30 2010-06-30 Semiconductor integrated circuit and operation method of the same Withdrawn JP2012015722A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010149251A JP2012015722A (en) 2010-06-30 2010-06-30 Semiconductor integrated circuit and operation method of the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010149251A JP2012015722A (en) 2010-06-30 2010-06-30 Semiconductor integrated circuit and operation method of the same

Publications (1)

Publication Number Publication Date
JP2012015722A true JP2012015722A (en) 2012-01-19

Family

ID=45601651

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010149251A Withdrawn JP2012015722A (en) 2010-06-30 2010-06-30 Semiconductor integrated circuit and operation method of the same

Country Status (1)

Country Link
JP (1) JP2012015722A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9288648B2 (en) 2012-07-11 2016-03-15 Samsung Electronics Co., Ltd. Transport stream packet generation device and method of generating transport stream packet thereof
CN113141520A (en) * 2020-01-17 2021-07-20 北京达佳互联信息技术有限公司 Video stream transmission method and device, electronic equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9288648B2 (en) 2012-07-11 2016-03-15 Samsung Electronics Co., Ltd. Transport stream packet generation device and method of generating transport stream packet thereof
CN113141520A (en) * 2020-01-17 2021-07-20 北京达佳互联信息技术有限公司 Video stream transmission method and device, electronic equipment and storage medium
CN113141520B (en) * 2020-01-17 2022-04-01 北京达佳互联信息技术有限公司 Video stream transmission method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
TWI395481B (en) Method and apparatus for receiving, storing, and presenting multimedia programming without indexing prior to storage
US7889864B2 (en) Data processing system and method
US8031743B2 (en) Apparatuses and method for multiplexing elementary streams based on a multiplexing pattern indicating an order of types of data to be multiplexed
KR101204513B1 (en) Digital multimedia reproduction apparatus and method for providing digital multimedia broadcasting thereof
JP2010109529A (en) Multiplexing controller
JP2004208305A (en) Method and apparatus of decoding audio/video signal, video driver circuit and decoder box incorporating the same
US20050163226A1 (en) Video buffer control apparatus for dual video decoding and digital broadcasting receiver thereof
JP2009545906A (en) Method and apparatus for transferring a multimedia signal to a computer system for display
US8238440B2 (en) Semiconductor integrated circuit
US20090187745A1 (en) Information processing system and method of executing firmware
JP2012015722A (en) Semiconductor integrated circuit and operation method of the same
JP2006309819A (en) Video recording and reproducing device
US8509598B1 (en) Electronic apparatus and index generation method
TWI357263B (en) Method and related device for converting transport
JP4366038B2 (en) Television broadcast processing apparatus and control method for television broadcast processing apparatus
JP2009135747A (en) Semiconductor integrated circuit and operation method thereof
US8213778B2 (en) Recording device, reproducing device, recording medium, recording method, and LSI
US10306298B2 (en) Image processing apparatus and control method thereof
JP4902258B2 (en) Data receiving apparatus and computer-readable storage medium
JP4075360B2 (en) Data transfer control device and electronic device
JP2006332821A (en) Digital broadcasting receiver and digital broadcast receiving method
KR100755849B1 (en) The display device for recording the compressed data formats of other types and method for controlling the same
JP2008135133A (en) Bit stream reproducing device
JP2010028447A (en) Digital broadcast receiving apparatus
JP4538161B2 (en) Video / audio processor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20130903