JP2008092180A - Digital broadcast receiver and receiving program - Google Patents

Digital broadcast receiver and receiving program Download PDF

Info

Publication number
JP2008092180A
JP2008092180A JP2006269417A JP2006269417A JP2008092180A JP 2008092180 A JP2008092180 A JP 2008092180A JP 2006269417 A JP2006269417 A JP 2006269417A JP 2006269417 A JP2006269417 A JP 2006269417A JP 2008092180 A JP2008092180 A JP 2008092180A
Authority
JP
Japan
Prior art keywords
start time
packet
decoding
unit
time
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
JP2006269417A
Other languages
Japanese (ja)
Inventor
Takayoshi Abe
孝義 阿部
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co Ltd
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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP2006269417A priority Critical patent/JP2008092180A/en
Publication of JP2008092180A publication Critical patent/JP2008092180A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Circuits Of Receivers In General (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a digital broadcast receiver and a receiving program, reducing a load of a CPU in outputting a PES packet to a decoding part while suppressing delay of the PES packet from the time of reproduction start. <P>SOLUTION: The digital broadcast receiver 100 determines an individual output individually outputting an AU when reception of a PES packet is not completed before decoding start time. While a collective output collectively outputting a plurality of AUs is determined when the reception of the PES packet is completed before the decoding start time. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、パケットを復号する復号部を備えるデジタル放送受信機及び受信プログラムに関する。   The present invention relates to a digital broadcast receiver including a decoding unit that decodes a packet and a reception program.

地上デジタル放送における携帯端末向け放送や地上デジタル音声放送では、H.264/AVCで符号化された映像及び音声は、PES(Packetized Elementary Stream)パケットに格納され、各々のPESパケットは、番組時刻基準値情報(Program Clock Reference:PCR)などとTS(Transport Stream)に多重されて伝送される。PESパケットのヘッダに、当該PESパケットの再生を開始すべき時刻を示す再生開始時刻が記述される(例えば、特許文献1)。PESパケットのペイロードには、複数のアクセスユニットAU(Access Unit)が格納される。図1は、H.264/AVCのES(Elementary Stream)が、PESパケットにパケット化される様子を模式的に示している。   In terrestrial digital broadcasting for mobile terminals and terrestrial digital audio broadcasting, Video and audio encoded by H.264 / AVC are stored in PES (Packetized Elementary Stream) packets, and each PES packet is stored in program time reference value information (Program Clock Reference: PCR) and TS (Transport Stream). Multiplexed and transmitted. In the header of the PES packet, a reproduction start time indicating a time at which reproduction of the PES packet should be started is described (for example, Patent Document 1). A plurality of access units AU (Access Units) are stored in the payload of the PES packet. FIG. 2 schematically shows a state where an H.264 / AVC ES (Elementary Stream) is packetized into PES packets.

図2に示す、従来のデジタル放送受信機は、映像復号部及び音声復号部へのPESパケットの出力を、AUを個別に出力する個別出力形式により行う。
特開2005−347919号公報
The conventional digital broadcast receiver shown in FIG. 2 outputs the PES packet to the video decoding unit and the audio decoding unit in an individual output format for individually outputting AU.
JP 2005-347919 A

従って、PESパケットの出力では、PESパケットからAUを一つずつ復号部に出力するために、AUの先頭を示すAUデリミッタを順次検索する必要があり、CPUに対する負荷が増大する。   Therefore, when outputting a PES packet, it is necessary to sequentially search for an AU delimiter indicating the head of the AU in order to output the AU from the PES packet to the decoding unit one by one, increasing the load on the CPU.

ここで、複数のAUを一括して出力する一括出力形式によりPESパケットの出力を行うことで、AUデリミッタの検索を省略し、CPUに対する負荷を軽減することができるとも考えられる。   Here, it can be considered that the PES packet is output in a batch output format in which a plurality of AUs are output at once, thereby omitting the search for the AU delimiter and reducing the load on the CPU.

しかしながら、一括出力形式により出力を行う場合、PESパケットの受信が完了するのを待つ必要があるため、PESパケットの受信を完了する時刻が、復号開始時刻を経過するおそれがある。ここで、復号開始時刻とは、PESパケットの復号処理を開始すべき時刻、即ち、復号部へPESパケットを出力するための動作を開始すべき時刻である。従って、復号開始時刻は、AUデリミッタの検索や復号等に要する所定時間を、再生開始時刻から減算することにより算出される。   However, when outputting in the batch output format, it is necessary to wait for the completion of reception of the PES packet, and therefore, the time for completing the reception of the PES packet may elapse from the decoding start time. Here, the decoding start time is the time at which the decoding process of the PES packet should be started, that is, the time at which the operation for outputting the PES packet to the decoding unit should be started. Therefore, the decoding start time is calculated by subtracting a predetermined time required for AU delimiter search and decoding from the reproduction start time.

図3は、PESパケットの受信を完了する時刻が、復号開始時刻を経過する様子を示す模式図である。PESパケットの受信完了時刻が、PESパケットに含まれるAU毎に算出される復号開始時刻を経過した場合、復号開始時刻を経過したAUに格納された映像又は音声は、再生開始時刻から遅延して再生される。   FIG. 3 is a schematic diagram showing how the time to complete the reception of the PES packet passes the decoding start time. When the reception completion time of the PES packet has passed the decoding start time calculated for each AU included in the PES packet, the video or audio stored in the AU that has passed the decoding start time is delayed from the reproduction start time. Played.

このように、個別出力形式により出力を行うとCPUに対する負荷が増大する一方、一括出力形式により出力を行うとPESパケットの再生が再生開始時刻から遅延するおそれがあるという問題があった。   As described above, when the output is performed in the individual output format, the load on the CPU is increased. On the other hand, when the output is performed in the batch output format, the reproduction of the PES packet may be delayed from the reproduction start time.

そこで、本発明は、上記問題に鑑みてなされたものであり、PESパケットの再生開始時刻からの遅延を抑制しつつ、PESパケットの復号部への出力におけるCPUの負荷を軽減することができるデジタル放送受信機を提供することを目的とする。   Therefore, the present invention has been made in view of the above problems, and can reduce the load on the CPU in outputting the PES packet to the decoding unit while suppressing the delay from the reproduction start time of the PES packet. An object is to provide a broadcast receiver.

本発明の第1の特徴に係るデジタル放送受信機は、符号化データが格納されたアクセスユニットを複数含むパケットを復号する復号部を備えるデジタル放送受信機であって、前記パケットの再生を開始すべき時刻を示す再生開始時刻に基づいて、前記パケットの復号処理を開始すべき時刻を示し、前記再生開始時刻より前である復号開始時刻を算出する復号開始時刻算出部と、基準時刻が、算出された前記復号開始時刻に達する前に、前記パケットの受信が完了したか否かを判定する判定部と、前記パケットを前記復号部に出力する形式を決定する出力形式決定部とを備え、前記出力形式決定部は、前記基準時刻が、前記復号開始時刻に達する前に、前記パケットの受信が完了しなかった場合には、前記パケットに含まれる前記アクセスユニットを個別に前記復号部に出力する個別出力形式による出力を決定し、前記基準時刻が、前記復号開始時刻に達する前に、前記パケットの受信が完了した場合には、前記パケットに含まれる全ての前記アクセスユニットを一括して前記復号部に出力する一括出力形式による出力を決定することを要旨とする。   A digital broadcast receiver according to a first aspect of the present invention is a digital broadcast receiver including a decoding unit that decodes a packet including a plurality of access units in which encoded data is stored, and starts reproduction of the packet. A decoding start time calculation unit that calculates a decoding start time that indicates a time to start decoding the packet and calculates a decoding start time that is earlier than the reproduction start time based on a reproduction start time indicating a power time; A determination unit that determines whether or not reception of the packet is completed before reaching the decoding start time, and an output format determination unit that determines a format for outputting the packet to the decoding unit, When the reception of the packet is not completed before the reference time reaches the decoding start time, the output format determination unit determines the access unit included in the packet. If the reception of the packet is completed before the reference time reaches the decoding start time, all of the packets included in the packet are all output. The output is determined in a batch output format in which the access units are collectively output to the decoding unit.

本発明の第1の特徴に係るデジタル放送受信機によれば、基準時刻がPESパケットの(先頭のAUの)復号開始時刻limit(k)に達する前に、PESパケットの受信が完了したか否かにより、一括出力形式による出力を行うのか、又は、個別出力形式による出力を行うのかが決定される。即ち、PESパケットの先頭に格納されたAUの復号開始時刻limit(k)までにPESパケットの受信が完了する限りは、PESに格納された全てのAUを一括出力形式により出力するため、パケットの再生開始時刻からの遅延を抑制しつつ、PESパケットの復号部への出力におけるAUデリミッタ検索によるCPU負荷を軽減することができる。   According to the digital broadcast receiver of the first feature of the present invention, whether or not reception of the PES packet is completed before the reference time reaches the decoding start time limit (k) of the PES packet (first AU). Thus, it is determined whether to output in a batch output format or to output in an individual output format. That is, as long as reception of the PES packet is completed by the decoding start time limit (k) of the AU stored at the head of the PES packet, all AUs stored in the PES are output in a batch output format. The CPU load due to the AU delimiter search in the output of the PES packet to the decoding unit can be reduced while suppressing the delay from the reproduction start time.

本発明の第2の特徴は、前記第1の特徴に係り、前記復号開始時刻算出部は、前記再生開始時刻に基づいて、前記パケットに含まれる前記アクセスユニットの前記復号開始時刻を、前記アクセスユニット毎に算出し、前記判定部は、前記基準時刻が、算出された前記アクセスユニットの前記復号開始時刻に達する前に、前記パケットの受信が完了したか否かを判定し、前記出力形式決定部は、前記基準時刻が、前記アクセスユニットの前記復号開始時刻に達する前に、前記パケットの受信が完了しなかった場合には、前記復号開始時刻に達した前記パケットに含まれる前記アクセスユニットについて、前記個別出力形式による出力を決定し、前記基準時刻が、前記アクセスユニットの前記復号開始時刻に達する前に、前記パケットの受信が完了した場合には、前記パケットに含まれる未復号の前記アクセスユニットについて、前記一括出力形式による出力を決定することを要旨とする。   A second feature of the present invention relates to the first feature, wherein the decoding start time calculation unit calculates the decoding start time of the access unit included in the packet based on the reproduction start time. Calculated for each unit, and the determination unit determines whether reception of the packet is completed before the reference time reaches the calculated decoding start time of the access unit, and determines the output format. The unit, when the reception of the packet is not completed before the reference time reaches the decoding start time of the access unit, the access unit included in the packet that has reached the decoding start time And determining the output in the individual output format, and the reception of the packet is completed before the reference time reaches the decoding start time of the access unit. When, for the access unit of undecoded included in the packet, and summarized in that determining an output by said collective output format.

本発明の第3の特徴は、前記第1又は第2の特徴に係り、前記復号開始時刻算出部は、前記再生開始時刻に、前記パケットの再生の遅延が許容される範囲内の時間である遅延許容時間を加えた時刻に基づいて前記復号開始時刻を算出することを要旨とする。   A third feature of the present invention relates to the first feature or the second feature, wherein the decoding start time calculation unit is a time within a range in which a delay in reproduction of the packet is allowed at the reproduction start time. The gist is to calculate the decoding start time based on the time to which the delay allowable time is added.

本発明の第4の特徴は、前記復号開始時刻算出部は、少なくとも、前記再生開始時刻と、前記アクセスユニットに格納され、前記アクセスユニットの先頭を示すアクセスユニットデリミッタを検索するために要する検索時間とに基づいて前記復号開始時刻を算出することを要旨とする。   According to a fourth aspect of the present invention, the decoding start time calculation unit includes at least the reproduction start time and a search stored in the access unit and required for searching for an access unit delimiter indicating the head of the access unit. The gist is to calculate the decoding start time based on time.

本発明の第5の特徴に係るプログラムは、符号化データが格納されたアクセスユニットを複数含むパケットを復号するプログラムであって、コンピュータに、前記パケットの再生を開始すべき時刻を示す再生開始時刻に基づいて、前記パケットの復号処理を開始すべき時刻を示し、前記再生開始時刻より前である復号開始時刻を算出するステップAと、前記基準時刻が、算出された前記復号開始時刻に達する前に、前記パケットの受信が完了したか否かを判定するステップBと、前記パケットを出力する形式を決定するステップCとを実行させ、前記ステップCでは、前記基準時刻が、前記復号開始時刻に達する前に、前記パケットの受信が完了しなかった場合には、前記パケットに含まれる前記アクセスユニットを個別に出力する個別出力形式による出力を決定し、前記基準時刻が、前記復号開始時刻に達する前に、前記パケットの受信が完了した場合には、前記パケットに含まれる全ての前記アクセスユニットを一括して出力する一括出力形式による出力を決定することを要旨とする。   A program according to the fifth aspect of the present invention is a program for decoding a packet including a plurality of access units in which encoded data is stored, and a reproduction start time indicating a time at which the reproduction of the packet should be started to the computer Based on the step A for calculating a decoding start time that is earlier than the reproduction start time, indicating a time at which the decoding process of the packet should be started, and before the reference time reaches the calculated decoding start time. The step B for determining whether or not the reception of the packet is completed and the step C for determining the format for outputting the packet are executed. In the step C, the reference time is set to the decoding start time. An individual output that individually outputs the access unit included in the packet if reception of the packet is not completed before reaching Batch output that determines all the output units included in the packet when the packet reception is completed before the reference time reaches the decoding start time. The gist is to determine the output by format.

本発明によれば、PESパケットの復号処理におけるCPUの負荷を軽減しつつ、PESパケットの再生開始時刻からの遅延を抑制することができるデジタル放送受信機及び受信プログラムを提供する。   According to the present invention, it is possible to provide a digital broadcast receiver and a reception program capable of suppressing a delay from the reproduction start time of a PES packet while reducing the load on the CPU in the decoding process of the PES packet.

[第1実施形態]
次に、本発明の第1実施形態について説明する。尚、以下の図面の記載において、同一又は類似の部分には、同一又は類似の符号を付している。ただし、図面は模式的なものであり、各寸法の比率等は現実のものとは異なることに留意すべきである。
[First embodiment]
Next, a first embodiment of the present invention will be described. In the following description of the drawings, the same or similar parts are denoted by the same or similar reference numerals. However, it should be noted that the drawings are schematic and ratios of dimensions and the like are different from actual ones.

従って、具体的な寸法等は以下の説明を参酌して判断すべきものである。又、図面相互間においても互いの寸法の関係や比率が異なる部分が含まれていることは勿論である。   Accordingly, specific dimensions and the like should be determined in consideration of the following description. Moreover, it is a matter of course that portions having different dimensional relationships and ratios are included between the drawings.

《デジタル放送受信機100の概説ブロック構成》
本発明に係るデジタル放送受信機100は、符号化データが格納されたAUを複数含むPESパケットが多重されたTSを受信して復号する。
<< Outline Block Configuration of Digital Broadcasting Receiver 100 >>
The digital broadcast receiver 100 according to the present invention receives and decodes a TS in which PES packets including a plurality of AUs in which encoded data are stored are multiplexed.

図4は、本実施形態に係るデジタル放送受信機の概略ブロック構成図である。本実施形態に係るデジタル放送受信機100は、DEMUX処理部102、映像PES解析部104a、再生開始時刻算出部106a、復号開始時刻算出部108a、判定部110a、出力形式決定部111a、出力制御部112a、映像復号部118a、音声PES解析部104b、再生開始時刻算出部106b、復号開始時刻算出部108b、判定部110b、出力形式決定部111b、出力制御部112b、音声復号部118b及び同期制御部120とから構成される。尚、以下は、本発明と関連のある主要な部分についての概説であるため、デジタル放送受信機100は、図示しない又は説明を省略する必須ブロック(例えば、電源部)を備える場合があることに留意されたい。   FIG. 4 is a schematic block diagram of the digital broadcast receiver according to this embodiment. The digital broadcast receiver 100 according to this embodiment includes a DEMUX processing unit 102, a video PES analysis unit 104a, a reproduction start time calculation unit 106a, a decoding start time calculation unit 108a, a determination unit 110a, an output format determination unit 111a, and an output control unit. 112a, video decoding unit 118a, audio PES analysis unit 104b, reproduction start time calculation unit 106b, decoding start time calculation unit 108b, determination unit 110b, output format determination unit 111b, output control unit 112b, audio decoding unit 118b, and synchronization control unit 120. In addition, since the following is the outline | summary about the main parts relevant to this invention, the digital broadcast receiver 100 may be provided with the essential block (for example, power supply part) which is not illustrated or abbreviate | omits description. Please keep in mind.

DEMUX処理部102は、チューナ/復調部において高周波数(RF)信号から復元されたTS(Transport Stream)を、映像PES、音声PES及び、番組を伝送する送信機の基準時刻(System Time Clock:STC)を所定の間隔でサンプリングした値が格納されたPCRに分離する。DEMUX処理部102から出力される映像PES、音声PESには、AUがそれぞれを格納されている。図5に示すように、H.264/AVCにおけるAUは、IDR(Instanteneous Decoder Refresh)−AUと、非IDR−AUに分類される。IDR−AUのデータサイズは、復号開始情報等を含むため、非IDR−AUのデータサイズに比べて大きい。尚、AUの先頭には、AUデリミッタ(Access Unit Delimiter)が配置され、当該AUデリミッタを検索することにより、AU間の切れ目を検出することができる。   The DEMUX processing unit 102 uses the TS (Transport Stream) restored from the high frequency (RF) signal in the tuner / demodulation unit, the video PES, the audio PES, and the reference time (System Time Clock: STC) of the transmitter that transmits the program. ) Are separated into PCRs in which values sampled at predetermined intervals are stored. The video PES and audio PES output from the DEMUX processing unit 102 store AUs. As shown in FIG. The AU in H.264 / AVC is classified into IDR (Instanteneous Decoder Refresh) -AU and non-IDR-AU. Since the data size of IDR-AU includes decoding start information and the like, it is larger than the data size of non-IDR-AU. An AU delimiter (Access Unit Delimiter) is arranged at the head of the AU, and a break between AUs can be detected by searching for the AU delimiter.

映像PES解析部104aは、映像データに係るAUを出力制御部112aに順次出力するとともに、映像PESパケットのヘッダに記述されている表示時刻情報(Presentation Time Stamp:PTS)を再生開始時刻算出部106aに出力する。ここで、表示時刻情報とは、PESパケットの再生処理を開始すべき時刻、即ち、ペイロードの先頭に格納されたAUの再生処理を開始すべき時刻を示す再生開始時刻PTS(k)を示す。   The video PES analysis unit 104a sequentially outputs AUs related to the video data to the output control unit 112a, and also displays the display time information (Presentation Time Stamp: PTS) described in the header of the video PES packet as the playback start time calculation unit 106a. Output to. Here, the display time information indicates a reproduction start time PTS (k) indicating a time at which the reproduction process of the PES packet should be started, that is, a time at which the reproduction process of the AU stored at the head of the payload should be started.

又、映像PES解析部104aは、新たなPESパケットのヘッダを検出した場合には、その旨を判定部110aに通知する。   When the video PES analysis unit 104a detects a header of a new PES packet, the video PES analysis unit 104a notifies the determination unit 110a to that effect.

再生開始時刻算出部106aは、PESパケットの先頭に格納されたAUの再生開始時刻PTS(k)を、表示時刻情報から取得する。又、再生開始時刻算出部106aは、PESパケットの2番目以降に格納されたAUの再生開始時刻PTSk(i)を、表示時刻情報とAUのパラメータ情報とに基づいて順次算出する。再生開始時刻PTSk(i)を算出する方法(ARIB TR−B14規格)は、可変フレームレートである場合には、バッファリング期間(Buffering period)SEI、ピクチャタイミング(Picture timing)SEI及びVUI(Video Usability Information)パラメータに基づいて算出され、固定フレームレートの場合には、VUIパラメータに基づいて算出される。   The reproduction start time calculation unit 106a acquires the reproduction start time PTS (k) of the AU stored at the head of the PES packet from the display time information. The reproduction start time calculation unit 106a sequentially calculates the AU reproduction start times PTSk (i) stored in the second and subsequent PES packets based on the display time information and the AU parameter information. The method of calculating the playback start time PTSk (i) (ARIB TR-B14 standard) is a buffering period SEI, picture timing SEI, and VUI (Video Usability) when the frame rate is variable. Information) parameter, and in the case of a fixed frame rate, it is calculated based on the VUI parameter.

復号開始時刻算出部108aは、再生開始時刻PTS(k)に基づいて、PESパケットの復号開始時刻limit(k)を算出する。具体的には、再生開始時刻PTS(k)に、PESパケットの再生の遅延が許容される範囲内の時間である遅延許容時間を加算し、かつ、AUデリミッタの検索や復号等に要する時間である処理遅延時間を減算することにより復号開始時刻limit(k)を算出する。   The decoding start time calculation unit 108a calculates the decoding start time limit (k) of the PES packet based on the reproduction start time PTS (k). More specifically, the delay start time PTS (k) is added with a delay allowable time which is a time within a range in which the delay of the playback of the PES packet is allowed, and the time required for searching or decoding the AU delimiter The decoding start time limit (k) is calculated by subtracting a certain processing delay time.

ここで、遅延許容時間は、映像又は音声の再生が遅延しても、視聴者が違和感を覚えない程度の時間に設定されていればよく、一般的には数百ミリ秒程度が適切である。処理遅延時間は、IDR−AUの平均的なデータ量に基づいて設定でき、又、実測値をフィードバックして更新することもできる。   Here, it is sufficient that the allowable delay time is set to such a time that the viewer does not feel uncomfortable even if the playback of the video or audio is delayed. Generally, the allowable delay time is about several hundred milliseconds. . The processing delay time can be set based on the average data amount of IDR-AU, and can be updated by feeding back an actual measurement value.

判定部110aは、同期制御部120から取得する基準時刻が、復号開始時刻算出部108aから取得する復号開始時刻limit(k)に達する前に、PESパケットの受信が完了したか否かを判定する。PESパケットの受信が完了したことは、次のPESパケットのヘッダを新たに検出した旨の通知を、映像PES解析部104aから受信することにより認識される。換言すれば、判定部110aは、基準時刻がPESパケットの先頭に格納されたAUの復号開始時刻limit(k)に達するまでの間に、映像PES解析部104aからの通知を受信したか否かを判定する。   The determination unit 110a determines whether or not the reception of the PES packet is completed before the reference time acquired from the synchronization control unit 120 reaches the decoding start time limit (k) acquired from the decoding start time calculation unit 108a. . The completion of reception of the PES packet is recognized by receiving a notification from the video PES analysis unit 104a that a header of the next PES packet has been newly detected. In other words, whether or not the determination unit 110a has received a notification from the video PES analysis unit 104a before the reference time reaches the decoding start time limit (k) of the AU stored at the head of the PES packet. Determine.

出力形式決定部111aは、基準時刻が復号開始時刻limit(k)に達する前に、PESパケットの受信が完了しなかった場合には、AUを個別に映像復号部118aに出力する個別出力形式により出力すべきことを決定し、出力制御部112aに当該決定を通知する。一方、出力形式決定部111aは、基準時刻が復号開始時刻limit(k)に達する前に、PESパケットの受信が完了した場合には、複数のAUを一括して映像復号部118aに出力する一括出力形式により出力すべきことを決定し、出力制御部112aに当該決定を通知する。   If the reception of the PES packet is not completed before the reference time reaches the decoding start time limit (k), the output format determination unit 111a uses an individual output format that individually outputs AU to the video decoding unit 118a. It determines that it should output, and notifies the said determination to the output control part 112a. On the other hand, when the reception of the PES packet is completed before the reference time reaches the decoding start time limit (k), the output format determination unit 111a collectively outputs a plurality of AUs to the video decoding unit 118a. The output format is determined to be output, and the output control unit 112a is notified of the determination.

出力制御部112aは、SEL114a及びAU抽出部116aから構成される。   The output control unit 112a includes a SEL 114a and an AU extraction unit 116a.

SEL114aは、映像PES解析部104aから入力される映像データに係るAUを順次受信し一時的に保持する。SEL114aは、出力形式決定部111aの決定に応じて、PESパケットに含まれる全てのAUを一括出力形式により映像復号部118aに出力する。   The SEL 114a sequentially receives and temporarily holds AUs related to video data input from the video PES analysis unit 104a. In response to the determination by the output format determination unit 111a, the SEL 114a outputs all AUs included in the PES packet to the video decoding unit 118a in a batch output format.

AU抽出部116aは、出力形式決定部111aの指示に応じて、SEL114aに保持されている各AUのAUデリミッタを順次検索することによりAU間の切れ目を検出し、各AUを個別出力形式により映像復号部118aに出力する。   The AU extraction unit 116a detects a break between AUs by sequentially searching the AU delimiters of the AUs held in the SEL 114a in accordance with an instruction from the output format determination unit 111a, and images each AU in an individual output format. It outputs to the decoding part 118a.

このように、本実施形態では、PESパケットの先頭に格納されたAUの復号開始時刻limit(k)までにPESパケットの受信が完了したか否かのみにより、一括出力形式をするのか、個別出力形式をするのかが1回的に決められる。   As described above, according to the present embodiment, whether the batch output format is used or not based on whether or not the reception of the PES packet is completed by the decoding start time limit (k) of the AU stored at the head of the PES packet. The format will be decided once.

映像復号部118aは、出力制御部112aから入力されるAUを復号する。復号されたAUは、それぞれの再生開始時刻に応じて出力される。   The video decoding unit 118a decodes the AU input from the output control unit 112a. The decrypted AU is output according to each reproduction start time.

一方、DEMUX処理部102から出力される音声データを格納するAUは、ADTSフレーム形式である。音声PESパケットは、ADTSフレームを複数格納しているため、上述した映像PESパケットと同様に処理できる。従って、本実施形態では、音声PESパケットについての説明を省略する。   On the other hand, the AU that stores the audio data output from the DEMUX processing unit 102 is in the ADTS frame format. Since the audio PES packet stores a plurality of ADTS frames, it can be processed in the same manner as the video PES packet described above. Therefore, in the present embodiment, description of the voice PES packet is omitted.

同期制御部120は、PCRの受信タイミングとPCR値とに基づいて、送信機の基準時刻(System Time Clock:STC)を生成する。具体的には、同期制御部120が持つ自走カウンタを、PCR受信の都度、PCR値で補正することで基準時刻を得ることができる。また、一般的に知られている、PLL(Phase Locked Loop)を用いる方法で、自走カウンタを補正し、基準時刻を得ても良い。ここで、基準時刻とは、送信機において映像及び音声を符号化した時の、システムの基準時刻である。   The synchronization control unit 120 generates a transmitter reference time (System Time Clock: STC) based on the PCR reception timing and the PCR value. Specifically, the reference time can be obtained by correcting the self-running counter of the synchronization control unit 120 with the PCR value every time the PCR is received. Further, the reference time may be obtained by correcting the self-running counter by a generally known method using PLL (Phase Locked Loop). Here, the reference time is the reference time of the system when video and audio are encoded in the transmitter.

同期制御部120は、生成した基準時刻と、再生開始時刻算出部106aから入力される再生開始時刻PTS(k)を映像復号部118aに出力する。映像復号部118aでは、復号時に抽出されるAUのパラメータ情報とから、当該映像PESに含まれる各AUの再生開始時刻を計算し、基準時刻が再生開始時刻に達した時に、復号された当該AUを出力する。   The synchronization control unit 120 outputs the generated reference time and the reproduction start time PTS (k) input from the reproduction start time calculation unit 106a to the video decoding unit 118a. The video decoding unit 118a calculates the playback start time of each AU included in the video PES from the AU parameter information extracted at the time of decoding, and when the reference time reaches the playback start time, the decoded AU Is output.

音声に関しても同様に、同期制御部120は、生成した基準時刻と、再生開始時刻算出部106bから入力される再生開始時刻PTS(k)を音声復号部118bに出力する。音声復号部118bでは、復号時に抽出されるAUのパラメータ情報とから、当該音声PESに含まれる各AUの再生開始時刻を計算し、基準時刻が再生開始時刻に達した時に、復号された当該AUを出力する。   Similarly for the audio, the synchronization control unit 120 outputs the generated reference time and the reproduction start time PTS (k) input from the reproduction start time calculation unit 106b to the audio decoding unit 118b. The audio decoding unit 118b calculates the reproduction start time of each AU included in the audio PES from the AU parameter information extracted at the time of decoding. When the reference time reaches the reproduction start time, the decoded AU Is output.

これにより、対応する映像と音声とが、ずれを生じることなく再生される。   As a result, the corresponding video and audio are reproduced without any deviation.

《デジタル放送受信機100の動作》
次に、デジタル放送受信機100の動作について説明する。図6は、PESパケットの映像復号部118aへの出力フローを示す。尚、上述の通り、音声PESパケットについても同様に行うことができるため説明を省略する。
<< Operation of Digital Broadcasting Receiver 100 >>
Next, the operation of the digital broadcast receiver 100 will be described. FIG. 6 shows an output flow of the PES packet to the video decoding unit 118a. Note that, as described above, the voice PES packet can be performed in the same manner, and thus the description thereof is omitted.

図6に示すように、ステップS101において、復号開始時刻算出部108aは、再生開始時刻PTS(k)に、遅延許容時間の加算及び処理遅延時間の減算をして、PESパケットの先頭に格納されたAUの復号開始時刻limit(k)を算出する。   As shown in FIG. 6, in step S101, the decoding start time calculation unit 108a adds the allowable delay time and subtracts the processing delay time to the reproduction start time PTS (k) and stores it at the head of the PES packet. The AU decoding start time limit (k) is calculated.

ステップS102において、判定部110aは、基準時刻が復号開始時刻limit(k)に達する前に、PESパケットの受信が完了したか否かを判定する。PESパケットの受信完了は、映像PES解析部104aからの、新たなPESパケットのヘッダを検出した旨の通知により知ることができる。   In step S102, the determination unit 110a determines whether reception of the PES packet is completed before the reference time reaches the decoding start time limit (k). The completion of the reception of the PES packet can be known by notification from the video PES analysis unit 104a that a new PES packet header has been detected.

基準時刻が復号開始時刻limit(k)に達する前に、PESパケットの受信が完了した場合には、ステップS103において、SEL114aは、PESパケットに含まれる全てのAUを一括出力形式により映像復号部118aに出力する。   If the reception of the PES packet is completed before the reference time reaches the decoding start time limit (k), in step S103, the SEL 114a displays all AUs included in the PES packet in a batch output format in the video decoding unit 118a. Output to.

基準時刻が復号開始時刻limit(k)に達する前に、PESパケットの受信が完了しなかった場合には、ステップS104において、AU抽出部116aは、SEL114aに一時的に保持されているPESパケットの2番目に格納されたAUのAUデリミッタを検索して、先頭に格納されたAUを個別出力形式により映像復号部118aに出力する。このようにして、PESパケットの先頭に格納されたAUの個別出力形式による出力が行われる。   If the reception of the PES packet is not completed before the reference time reaches the decoding start time limit (k), in step S104, the AU extraction unit 116a determines the PES packet temporarily held in the SEL 114a. The AU delimiter of the AU stored second is searched, and the AU stored at the head is output to the video decoding unit 118a in the individual output format. In this way, output is performed in the AU individual output format stored at the head of the PES packet.

ステップS106において、AU抽出部116aは、PESパケットに含まれる全てのAUを映像復号部118aに出力したか否かを判断する。AU抽出部116aは、新たなPESパケットのヘッダを検出することにより、又は、出力形式決定部111aからの指示に応じて、PESパケットの受信が完了したことを知ることができる。   In step S106, the AU extraction unit 116a determines whether all AUs included in the PES packet have been output to the video decoding unit 118a. The AU extraction unit 116a can detect that the reception of the PES packet has been completed by detecting the header of the new PES packet or in response to an instruction from the output format determination unit 111a.

次に、AU抽出部116aは、PESパケットの2番目に格納されたAUのAUデリミッタが検出されたことにより、PESパケットは完成していないと判断し、PESパケットの2番目のAUについてS104からの動作を行う。   Next, the AU extraction unit 116a determines that the PES packet is not completed when the AU delimiter of the AU stored in the second PES packet is detected, and the second AU of the PES packet is determined from S104. Perform the operation.

AU抽出部116aは、PESパケットの最後に格納されたAUの出力が完了するまで、個別出力形式による出力を繰り返し行う。   The AU extraction unit 116a repeatedly performs output in the individual output format until the output of the AU stored at the end of the PES packet is completed.

以上のように、復号開始時刻limit(k)までにPESパケットの受信が完了した場合には、全てのAUについて一括出力形式による出力がなされる一方、完了しなかった場合には、全てのAUについて個別出力形式による出力がされる。   As described above, when the reception of the PES packet is completed by the decoding start time limit (k), all the AUs are output in the batch output format. On the other hand, when the reception is not completed, all the AUs are output. Is output in the individual output format.

《作用・効果》
本実施形態に係るデジタル放送受信機によれば、基準時刻がPESパケットの(先頭のAUの)復号開始時刻limit(k)に達する前に、PESパケットの受信が完了したか否かにより、一括出力形式による出力を行うのか、又は、個別出力形式による出力を行うのかが決定される。即ち、PESパケットの先頭に格納されたAUの復号開始時刻limit(k)までにPESパケットの受信が完了する限りは、PESに格納された全てのAUを一括出力形式により出力する。
《Action ・ Effect》
According to the digital broadcast receiver according to the present embodiment, depending on whether or not the reception of the PES packet is completed before the reference time reaches the decoding start time limit (k) of the PES packet (first AU). It is determined whether to output in the output format or to output in the individual output format. That is, as long as reception of the PES packet is completed by the decoding start time limit (k) of the AU stored at the head of the PES packet, all the AUs stored in the PES are output in a batch output format.

従って、PESパケットの再生開始時刻からの遅延を抑制しつつ、PESパケットの復号部への出力におけるAUデリミッタ検索によるCPU負荷を軽減することができる。又、CPU負荷が軽減されることにより、デジタル放送受信機100のユーザに対するレスポンススピードの向上が実現される。   Therefore, it is possible to reduce the CPU load due to the AU delimiter search in the output of the PES packet to the decoding unit while suppressing the delay from the reproduction start time of the PES packet. Further, by reducing the CPU load, the response speed for the user of the digital broadcast receiver 100 can be improved.

又、図8に示すような優先順位にてCPUにタスクを割当てることにより、Sleepタスクへの移行、つまり、CPUのIDLE検知が可能となる。CPU負荷の軽減により、Sleepタスクへの移行が容易に行われるため、低速CPUクロックでの動作(パワーセーブモード)を行うことができ、省電力携帯端末型のデジタル放送受信機が実現される。   Further, by assigning tasks to the CPUs in the priority order as shown in FIG. 8, it is possible to shift to the sleep task, that is, to detect the CPU IDLE. Because the CPU load is reduced, the transition to the sleep task is easily performed, so that an operation with a low-speed CPU clock (power save mode) can be performed, and a power-saving portable terminal type digital broadcast receiver is realized.

又、本実施形態に係るデジタル放送受信機によれば、再生開始時刻PTS(k)に、PESパケットの再生の遅延が許容される範囲内の時間である遅延許容時間を加算されて復号開始時刻limit(k)が算出される。これにより、視聴者には再生の遅延による違和感を覚えさせることなく、一括出力形式により出力されるPESパケット数を増加させることができるため、さらなるCPU負荷の軽減が実現される。   Further, according to the digital broadcast receiver according to the present embodiment, the decoding start time is obtained by adding the allowable delay time, which is the time within the allowable range of the reproduction delay of the PES packet, to the reproduction start time PTS (k). limit (k) is calculated. As a result, the number of PES packets output in the batch output format can be increased without causing the viewer to feel uncomfortable due to a delay in playback, thereby further reducing the CPU load.

又、本実施形態に係るデジタル放送受信機によれば、再生開始時刻PTS(k)と、AUデリミッタの検索や復号等に要する時間である処理遅延時間とに基づいて、復号開始時刻limit(k)が算出される。これにより、AUデリミッタの検索時間を考慮した復号開始時刻limit(k)が算出されるため、PESパケットの出力処理を開始する時刻を正確に算出することができる。   Further, according to the digital broadcast receiver according to the present embodiment, the decoding start time limit (k) is based on the reproduction start time PTS (k) and the processing delay time that is the time required for AU delimiter search and decoding. ) Is calculated. As a result, the decoding start time limit (k) considering the search time of the AU delimiter is calculated, so that the time for starting the output process of the PES packet can be accurately calculated.

[第2実施形態]
次に、本発明の第2実施形態について説明する。本実施形態に係るデジタル放送受信機100は、AUごとに復号開始時刻limit(k)を順次更新しながら個別出力形式による出力を行い、PESパケットの受信が完了した時点で、一括出力形式による出力を行う。
[Second Embodiment]
Next, a second embodiment of the present invention will be described. The digital broadcast receiver 100 according to the present embodiment performs output in the individual output format while sequentially updating the decoding start time limit (k) for each AU, and outputs in the batch output format when reception of the PES packet is completed. I do.

以下、上述した本発明の第1実施形態に係るデジタル放送受信機100と異なる部分について主に説明し、同様の部分については説明を省略する。   In the following, the different parts from the digital broadcast receiver 100 according to the first embodiment of the present invention will be mainly described, and the description of the same parts will be omitted.

《デジタル放送受信機100のブロック構成》
本実施形態に係るデジタル放送受信機100は、第1実施形態と同様のブロックから構成される。以下、図4を参照して説明する。
<< Block Configuration of Digital Broadcast Receiver 100 >>
The digital broadcast receiver 100 according to the present embodiment is composed of the same blocks as in the first embodiment. Hereinafter, a description will be given with reference to FIG.

本実施形態において、DEMUX処理部102、映像PES解析部104a、再生開始時刻算出部106a、映像復号部118a及び同期制御部120は、第1実施形態における各ブロックと同様の機能を果たす。又、本実施形態においても、音声PESパケットの音声復号部118bへの出力は、映像PESパケットの復号処理と同様であるため説明を省略する。   In the present embodiment, the DEMUX processing unit 102, the video PES analysis unit 104a, the reproduction start time calculation unit 106a, the video decoding unit 118a, and the synchronization control unit 120 perform the same functions as the blocks in the first embodiment. Also in this embodiment, the output of the audio PES packet to the audio decoding unit 118b is the same as the decoding process of the video PES packet, and thus the description thereof is omitted.

復号開始時刻算出部108aは、再生開始時刻PTS(k)に基づいて、PESパケットの復号開始時刻limit(k)を算出する。復号開始時刻算出部108aは、一括出力形式による出力を行うことができなかった場合、再生開始時刻算出部106aから取得する再生開始時刻PTSk(i)とAUのパラメータ情報とに基づいて、次に出力すべきAUの復号開始時刻limitk(i)を算出する。又、復号開始時刻算出部108aは、limitk(i)=limit(k)として、復号開始時刻limit(k)を更新する。   The decoding start time calculation unit 108a calculates the decoding start time limit (k) of the PES packet based on the reproduction start time PTS (k). When the decoding start time calculation unit 108a cannot output in the batch output format, the decoding start time calculation unit 108a next performs the following based on the reproduction start time PTSk (i) acquired from the reproduction start time calculation unit 106a and the AU parameter information. The decoding start time limitk (i) of the AU to be output is calculated. In addition, the decoding start time calculation unit 108a updates the decoding start time limit (k) as limit (i) = limit (k).

判定部110aは、同期制御部120から取得する基準時刻が、復号開始時刻算出部108aから取得する復号開始時刻limit(k)に達する前に、PESパケットの受信が完了したか否かを判定する。PESパケットの受信が完了したことは、次のPESパケットのヘッダを新たに検出した旨の通知を、映像PES解析部104aから受信することにより認識される。   The determination unit 110a determines whether or not the reception of the PES packet is completed before the reference time acquired from the synchronization control unit 120 reaches the decoding start time limit (k) acquired from the decoding start time calculation unit 108a. . The completion of reception of the PES packet is recognized by receiving a notification from the video PES analysis unit 104a that a header of the next PES packet has been newly detected.

出力形式決定部111aは、基準時刻が復号開始時刻limit(k)に達する前に、PESパケットの受信が完了しなかった場合には、復号開始時刻limit(k)に達したAUについて、個別出力形式により出力すべきことを決定する。一方、出力形式決定部111aは、復号開始時刻limit(k)に達する前に、PESパケットの受信が完了した場合には、PESパケットに含まれる未復号のAUについて一括出力形式により出力すべきことを決定する。   If the reception of the PES packet is not completed before the reference time reaches the decoding start time limit (k), the output format determination unit 111a individually outputs the AU that has reached the decoding start time limit (k). Decide what to output by format. On the other hand, if the reception of the PES packet is completed before the decoding start time limit (k) is reached, the output format determination unit 111a should output the undecoded AU included in the PES packet in a batch output format. To decide.

出力制御部112aは、SEL114a及びAU抽出部116aから構成される。   The output control unit 112a includes a SEL 114a and an AU extraction unit 116a.

SEL114aは、映像PES解析部104aから出力される映像データに係るAUを順次受信し一時的に保持する。SEL114aは、出力形式決定部111aの決定に応じて、PESパケットに含まれる未復号のAUを一括出力形式により映像復号部118aに出力する。   The SEL 114a sequentially receives and temporarily holds AUs related to video data output from the video PES analysis unit 104a. The SEL 114a outputs the undecoded AU included in the PES packet to the video decoding unit 118a in a batch output format in response to the determination by the output format determination unit 111a.

AU抽出部116aは、出力形式決定部111aの指示に応じて、SEL114aに保持されている各AUのAUデリミッタを順次検索することによりAU間の切れ目を検出し、各AUを個別出力形式により映像復号部118aに出力する。   The AU extraction unit 116a detects a break between AUs by sequentially searching the AU delimiters of the AUs held in the SEL 114a in accordance with an instruction from the output format determination unit 111a, and images each AU in an individual output format. It outputs to the decoding part 118a.

このように、本実施形態では、第1実施形態と異なり、出力形式決定部111aは、AUの復号開始時刻limit(k)を随時更新しながら、PESパケットの受信が完了するのを待ち、PESパケットの受信が完了した時点で、PESパケットに含まれる未復号のAUについて一括出力形式による復号処理を指示する。   As described above, in the present embodiment, unlike the first embodiment, the output format determination unit 111a updates the AU decoding start time limit (k) as needed and waits for the reception of the PES packet to be completed. When the reception of the packet is completed, a decoding process in the batch output format is instructed for the undecoded AU included in the PES packet.

《デジタル放送受信機100の動作》
次に、デジタル放送受信機100の動作について説明する。図7は、PESパケットの映像復号部118aへの出力フローを示す。尚、上述の通り、音声PESパケットについても同様に行うことができるため説明を省略する。
<< Operation of Digital Broadcasting Receiver 100 >>
Next, the operation of the digital broadcast receiver 100 will be described. FIG. 7 shows an output flow of the PES packet to the video decoding unit 118a. Note that, as described above, the voice PES packet can be performed in the same manner, and thus the description thereof is omitted.

図7に示すように、ステップS201において、復号開始時刻算出部108aは、再生開始時刻PTS(k)に、遅延許容時間の加算及び処理遅延時間の減算をして、PESパケットの先頭に格納されたAUの復号開始時刻limit(k)を算出する。   As shown in FIG. 7, in step S201, the decoding start time calculation unit 108a adds the allowable delay time and subtracts the processing delay time to the reproduction start time PTS (k) and stores it at the head of the PES packet. The AU decoding start time limit (k) is calculated.

ステップS202において、判定部110aは、基準時刻が復号開始時刻limit(k)に達する前に、PESパケットの受信が完了したか否かを判定する。PESパケットの受信完了は、映像PES解析部104aからの、新たなPESパケットのヘッダを検出した旨の通知により知ることができる。   In step S202, the determination unit 110a determines whether reception of the PES packet is completed before the reference time reaches the decoding start time limit (k). The completion of the reception of the PES packet can be known by notification from the video PES analysis unit 104a that a new PES packet header has been detected.

復号開始時刻limit(k)に達する前に、PESパケットの受信が完了した場合には、ステップS203において、SEL114aは、PESパケットに含まれる全てのAUを一括出力形式により映像復号部118aに出力する。   If reception of the PES packet is completed before the decoding start time limit (k) is reached, in step S203, the SEL 114a outputs all AUs included in the PES packet to the video decoding unit 118a in a batch output format. .

復号開始時刻limit(k)に達する前に、PESパケットの受信が完了しなかった場合には、ステップS204において、AU抽出部116aは、SEL114aに一時的に保持されているPESパケットの2番目に格納されたAUのAUデリミッタを検索する。   If reception of the PES packet is not completed before the decoding start time limit (k) is reached, in step S204, the AU extraction unit 116a selects the second PES packet temporarily held in the SEL 114a. The AU delimiter of the stored AU is searched.

ステップS205において、AU抽出部116aは、PESパケットの先頭に格納されたAUを個別出力形式により映像復号部118aに出力する。又、ステップS205では、PESパケットの先頭に格納されたAUが映像復号部118aに入力された旨の通知を受けた再生開始時刻算出部106aは、PESパケットの2番目のAUの再生開始時刻PTSk(i)を算出する。   In step S205, the AU extraction unit 116a outputs the AU stored at the head of the PES packet to the video decoding unit 118a in the individual output format. In step S205, the reproduction start time calculation unit 106a that has received the notification that the AU stored at the head of the PES packet has been input to the video decoding unit 118a, the reproduction start time PTSk of the second AU of the PES packet. (I) is calculated.

ステップS206において、復号開始時刻算出部108aは、ペイロードの2番目に格納されたAUの復号開始時刻limitk(i)を算出し、復号開始時刻limit(k)=limitk(i)とすることにより、復号開始時刻limit(k)を更新する。   In step S206, the decoding start time calculation unit 108a calculates the decoding start time limit (i) of the AU stored in the second payload, and sets the decoding start time limit (k) = limitk (i). The decoding start time limit (k) is updated.

その後、再度、ステップS202に戻り、基準時刻が更新された復号開始時刻limit(k)に達する前に、PESパケットの受信が完了するか否かが判定される。
以上の動作は、PESパケットの受信が完了するまで繰り返し行われ、PESパケットの受信が完了した時点で、PESパケットに含まれる未復号のAUは一括出力形式による出力が行われる。
Thereafter, the process returns to step S202 again, and it is determined whether or not the reception of the PES packet is completed before reaching the decoding start time limit (k) with the updated reference time.
The above operation is repeated until reception of the PES packet is completed, and when reception of the PES packet is completed, undecoded AU included in the PES packet is output in a batch output format.

《作用・効果》
本実施形態に係るデジタル放送受信機によれば、PESパケットのペイロードに格納されるAU毎の復号開始時刻に達する前にPESパケットの受信が完了したか否かを判定し、PESパケットの受信が完了した時点で、複数のAUを一括して出力する一括出力形式による出力が決定されるため、AUを個別に出力する個別出力形式による出力を必要最低限の回数まで減少させることができる。これにより、パケットの再生開始時刻からの遅延を抑制しつつ、AUデリミッタ検索によるCPU負荷をさらに軽減することができる。
《Action ・ Effect》
The digital broadcast receiver according to the present embodiment determines whether or not the reception of the PES packet is completed before reaching the decoding start time for each AU stored in the payload of the PES packet. When the output is completed, the output in the batch output format for outputting a plurality of AUs at a time is determined. Therefore, the output in the individual output format for outputting AUs individually can be reduced to the minimum necessary number. Thereby, it is possible to further reduce the CPU load due to the AU delimiter search while suppressing delay from the packet reproduction start time.

[その他の実施形態]
本発明は上記の実施形態によって記載したが、この開示の一部をなす論述及び図面はこの発明を限定するものであると理解すべきではない。この開示から当業者には様々な代替実施形態、実施例及び運用技術が明らかとなろう。
[Other Embodiments]
Although the present invention has been described according to the above-described embodiments, it should not be understood that the descriptions and drawings constituting a part of this disclosure limit the present invention. From this disclosure, various alternative embodiments, examples and operational techniques will be apparent to those skilled in the art.

例えば、上記実施形態では、再生開始時刻PTS(k)又は再生開始時刻PTSk(i)に、遅延許容時間を加えた時刻に基づいて、復号開始時刻limit(k)を算出することとしたが、遅延許容時間は必ずしも加えなくてもよい。  For example, in the above embodiment, the decoding start time limit (k) is calculated based on the reproduction start time PTS (k) or the reproduction start time PTSk (i) plus a delay allowable time. The allowable delay time is not necessarily added.

又、上記実施形態では、音声PESパケットについて、映像PESパケットと同様の復号処理をすることとしたが、音声PESパケットについては、個別出力形式による出力のみを行うこととしてもよい。この場合、音声データを格納するAUは、フレーム自体にフレーム長が記述されているADTSフレームであるため、AUデリミッタを検索する必要がなくCPUへの負荷も小さい。  In the above embodiment, the audio PES packet is decoded in the same manner as the video PES packet. However, the audio PES packet may be output only in the individual output format. In this case, since the AU storing the audio data is an ADTS frame in which the frame length is described in the frame itself, it is not necessary to search for the AU delimiter and the load on the CPU is small.

映像に係るESのパケット化を示す模式図である。It is a schematic diagram which shows packetization of ES which concerns on an image | video. 従来のデジタル放送受信機の概略ブロック構成図である。It is a schematic block block diagram of the conventional digital broadcast receiver. PESパケットの受信時刻と復号開始時刻との関係を示す模式図である。It is a schematic diagram which shows the relationship between the reception time of a PES packet, and a decoding start time. 本発明の実施形態に係るデジタル放送受信機のブロック構成図である。It is a block block diagram of the digital broadcast receiver which concerns on embodiment of this invention. 映像に係るAUのデータ構成を示す図である。It is a figure which shows the data structure of AU which concerns on an image | video. 本発明の第1実施形態に係るデジタル放送受信機の動作フロー図である。It is an operation | movement flowchart of the digital broadcast receiver which concerns on 1st Embodiment of this invention. 本発明の第2実施形態に係るデジタル放送受信機の動作フロー図である。It is an operation | movement flowchart of the digital broadcast receiver which concerns on 2nd Embodiment of this invention. パワーセーブモードへの移行判定を実現するタスクの優先順位付けを示す図である。It is a figure which shows the prioritization of the task which implement | achieves the transfer determination to power saving mode.

符号の説明Explanation of symbols

100…デジタル放送受信機、102…DEMUX処理部、104a…解析部、104b…解析部、106a…再生開始時刻算出部、106b…再生開始時刻算出部、108a…復号開始時刻算出部、108b…復号開始時刻算出部、110a…判定部、110b…判定部、111a…出力形式決定部、111b…出力形式決定部、112a…出力制御部、112b…出力制御部、114a…SEL、116a…AU抽出部、118a…映像復号部、118b…音声復号部、120…同期制御部 DESCRIPTION OF SYMBOLS 100 ... Digital broadcast receiver, 102 ... DEMUX processing part, 104a ... Analysis part, 104b ... Analysis part, 106a ... Reproduction start time calculation part, 106b ... Reproduction start time calculation part, 108a ... Decoding start time calculation part, 108b ... Decoding Start time calculation unit, 110a ... determination unit, 110b ... determination unit, 111a ... output format determination unit, 111b ... output format determination unit, 112a ... output control unit, 112b ... output control unit, 114a ... SEL, 116a ... AU extraction unit 118a ... Video decoding unit, 118b ... Audio decoding unit, 120 ... Synchronization control unit

Claims (5)

符号化データが格納されたアクセスユニットを複数含むパケットを復号する復号部を備えるデジタル放送受信機であって、
前記パケットの再生を開始すべき時刻を示す再生開始時刻に基づいて、前記パケットの復号処理を開始すべき時刻を示し、前記再生開始時刻より前である復号開始時刻を算出する復号開始時刻算出部と、
基準時刻が、算出された前記復号開始時刻に達する前に、前記パケットの受信が完了したか否かを判定する判定部と、
前記パケットを前記復号部に出力する形式を決定する出力形式決定部と
を備え、
前記出力形式決定部は、
前記基準時刻が、前記復号開始時刻に達する前に、前記パケットの受信が完了しなかった場合には、前記パケットに含まれる前記アクセスユニットを個別に前記復号部に出力する個別出力形式による出力を決定し、
前記基準時刻が、前記復号開始時刻に達する前に、前記パケットの受信が完了した場合には、前記パケットに含まれる全ての前記アクセスユニットを一括して前記復号部に出力する一括出力形式による出力を決定する
ことを特徴とするデジタル放送受信機。
A digital broadcast receiver including a decoding unit that decodes a packet including a plurality of access units in which encoded data is stored,
A decoding start time calculation unit that indicates a time at which decoding processing of the packet should be started based on a reproduction start time indicating a time at which reproduction of the packet should be started, and calculates a decoding start time that is before the reproduction start time When,
A determination unit that determines whether reception of the packet is completed before a reference time reaches the calculated decoding start time;
An output format determining unit that determines a format for outputting the packet to the decoding unit;
The output format determination unit
If reception of the packet is not completed before the reference time reaches the decoding start time, an output in an individual output format for individually outputting the access unit included in the packet to the decoding unit is performed. Decide
When the reception of the packet is completed before the reference time reaches the decoding start time, all the access units included in the packet are output to the decoding unit in a batch output format. A digital broadcast receiver characterized by determining.
前記復号開始時刻算出部は、前記再生開始時刻に基づいて、前記パケットに含まれる前記アクセスユニットの前記復号開始時刻を、前記アクセスユニット毎に算出し、
前記判定部は、前記基準時刻が、算出された前記アクセスユニットの前記復号開始時刻に達する前に、前記パケットの受信が完了したか否かを判定し、
前記出力形式決定部は、
前記基準時刻が、前記アクセスユニットの前記復号開始時刻に達する前に、前記パケットの受信が完了しなかった場合には、前記復号開始時刻に達した前記パケットに含まれる前記アクセスユニットについて、前記個別出力形式による出力を決定し、
前記基準時刻が、前記アクセスユニットの前記復号開始時刻に達する前に、前記パケットの受信が完了した場合には、前記パケットに含まれる未復号の前記アクセスユニットについて、前記一括出力形式による出力を決定する
ことを特徴とする請求項1に記載のデジタル放送受信機。
The decoding start time calculation unit calculates, based on the reproduction start time, the decoding start time of the access unit included in the packet for each access unit,
The determination unit determines whether the reception of the packet is completed before the reference time reaches the calculated decoding start time of the access unit;
The output format determination unit
If reception of the packet is not completed before the reference time reaches the decoding start time of the access unit, the individual access unit included in the packet that has reached the decoding start time Determine the output format,
If reception of the packet is completed before the reference time reaches the decoding start time of the access unit, output in the batch output format is determined for the undecoded access unit included in the packet. The digital broadcast receiver according to claim 1, wherein:
前記復号開始時刻算出部は、前記再生開始時刻に、前記パケットの再生の遅延が許容される範囲内の時間である遅延許容時間を加えた時刻に基づいて前記復号開始時刻を算出する
ことを特徴とする請求項1又は2に記載のデジタル放送受信機。
The decoding start time calculation unit calculates the decoding start time based on a time obtained by adding a delay allowable time that is a time within a range in which the packet reproduction delay is allowed to the reproduction start time. The digital broadcast receiver according to claim 1 or 2.
前記復号開始時刻算出部は、少なくとも、前記再生開始時刻と、前記アクセスユニットに格納され、前記アクセスユニットの先頭を示すアクセスユニットデリミッタを検索するために要する検索時間とに基づいて前記復号開始時刻を算出する
ことを特徴とする請求項1乃至3のいずれかに記載のデジタル放送受信機。
The decoding start time calculation unit is based on at least the reproduction start time and a search time stored in the access unit and required for searching for an access unit delimiter indicating the head of the access unit. The digital broadcast receiver according to claim 1, wherein the digital broadcast receiver is calculated.
符号化データが格納されたアクセスユニットを複数含むパケットを復号するプログラムであって、コンピュータに、
前記パケットの再生を開始すべき時刻を示す再生開始時刻に基づいて、前記パケットの復号処理を開始すべき時刻を示し、前記再生開始時刻より前である復号開始時刻を算出するステップAと、
前記基準時刻が、算出された前記復号開始時刻に達する前に、前記パケットの受信が完了したか否かを判定するステップBと、
前記パケットを出力する形式を決定するステップCと
を実行させ、
前記ステップCでは、
前記基準時刻が、前記復号開始時刻に達する前に、前記パケットの受信が完了しなかった場合には、前記パケットに含まれる前記アクセスユニットを個別に出力する個別出力形式による出力を決定し、
前記基準時刻が、前記復号開始時刻に達する前に、前記パケットの受信が完了した場合には、前記パケットに含まれる全ての前記アクセスユニットを一括して出力する一括出力形式による出力を決定する
ことを特徴とするプログラム。
A program for decoding a packet including a plurality of access units in which encoded data is stored,
A step A for indicating a time to start decoding the packet based on a reproduction start time indicating a time to start reproduction of the packet, and calculating a decoding start time that is earlier than the reproduction start time;
Determining whether the reception of the packet is completed before the reference time reaches the calculated decoding start time; and
Performing step C for determining a format for outputting the packet;
In step C,
If the reception of the packet is not completed before the reference time reaches the decoding start time, determine an output in an individual output format for individually outputting the access unit included in the packet;
If the reception of the packet is completed before the reference time reaches the decoding start time, the output in a batch output format for collectively outputting all the access units included in the packet is determined. A program characterized by
JP2006269417A 2006-09-29 2006-09-29 Digital broadcast receiver and receiving program Withdrawn JP2008092180A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006269417A JP2008092180A (en) 2006-09-29 2006-09-29 Digital broadcast receiver and receiving program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006269417A JP2008092180A (en) 2006-09-29 2006-09-29 Digital broadcast receiver and receiving program

Publications (1)

Publication Number Publication Date
JP2008092180A true JP2008092180A (en) 2008-04-17

Family

ID=39375860

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006269417A Withdrawn JP2008092180A (en) 2006-09-29 2006-09-29 Digital broadcast receiver and receiving program

Country Status (1)

Country Link
JP (1) JP2008092180A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016163134A (en) * 2015-02-27 2016-09-05 沖電気工業株式会社 Moving image playback device and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016163134A (en) * 2015-02-27 2016-09-05 沖電気工業株式会社 Moving image playback device and program

Similar Documents

Publication Publication Date Title
JP6737922B2 (en) Transmission method, reception method, transmission device, and reception device
US20110116722A1 (en) Coded stream reproduction device and coded stream reproduction method
US10200741B2 (en) Content output device and program
JP2005123789A (en) Av synchronization system
JP2009111932A (en) Moving image decoding device
JP2009200938A (en) Buffer controller and receiver
US8238446B2 (en) Method and apparatus for reproducing digital broadcasting
US20240064359A1 (en) Transmitting method, receiving method, transmitting device, and receiving device
US20040151213A1 (en) Receiver, CPU and decoder with improved signal decoding
JP2008141277A (en) Decoding circuit
KR100640885B1 (en) Video buffer controlling apparatus for dual video decoding
JP5848872B2 (en) Broadcast receiver
JP2008092180A (en) Digital broadcast receiver and receiving program
JP5032179B2 (en) Stream reproducing apparatus and media data decoding method
US20150101001A1 (en) Display apparatus and method for channel changing
US20060257108A1 (en) Multimedia reproduction apparatus
US10306298B2 (en) Image processing apparatus and control method thereof
JP4902258B2 (en) Data receiving apparatus and computer-readable storage medium
US20080091438A1 (en) Audio signal decoder and resource access control method
JP2009017014A (en) Device, method and program for decoding video and device for receiving broadcasting signal
JP4552200B2 (en) Digital broadcast receiver
JP2007110494A (en) Digital broadcasting receiver
KR100499518B1 (en) Method for Controlling Audio Lip-Synchronization
JP2008283300A (en) Reception device
JP5161514B2 (en) Digital broadcast receiving apparatus and digital broadcast receiving method

Legal Events

Date Code Title Description
RD03 Notification of appointment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7423

Effective date: 20080118

RD13 Notification of appointment of power of sub attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7433

Effective date: 20080201

A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20091201